You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return{ready: false,status: 'unauthenticated',reason: 'ZCode CLI model provider is not configured.',remedy: 'Configure an API-key provider in ZCode CLI, then run $zcode:setup again.'};
168
169
}
169
-
return{ready: false,status: 'unauthenticated',reason: 'ZCode session/create could not prove model authentication.',remedy: 'Authenticate with ZCode, then run $zcode:setup again.'};
170
+
if(error?.code==='ZCODE_REQUEST_FAILED'){
171
+
return{ready: false,status: 'unauthenticated',reason: 'ZCode session/create could not prove model authentication.',remedy: 'Authenticate with ZCode, then run $zcode:setup again.'};
return{ready: false,status: 'incompatible',reason: 'ZCode session/create returned a snapshot incompatible with the setup probe contract.',remedy: 'Upgrade ZCode to a compatible protocol version, then run $zcode:setup again.'};
175
+
}
176
+
return{ready: false,status: 'incompatible',reason: 'ZCode session/create could not be verified by the setup authentication probe.',remedy: 'Check the ZCode CLI protocol and rerun $zcode:setup.'};
return{ready: false,status: 'unauthenticated',reason: 'ZCode CLI model provider is not configured.',remedy: 'Configure an API-key provider in ZCode CLI, then run $zcode:setup again.'};
168
169
}
169
-
return{ready: false,status: 'unauthenticated',reason: 'ZCode session/create could not prove model authentication.',remedy: 'Authenticate with ZCode, then run $zcode:setup again.'};
170
+
if(error?.code==='ZCODE_REQUEST_FAILED'){
171
+
return{ready: false,status: 'unauthenticated',reason: 'ZCode session/create could not prove model authentication.',remedy: 'Authenticate with ZCode, then run $zcode:setup again.'};
return{ready: false,status: 'incompatible',reason: 'ZCode session/create returned a snapshot incompatible with the setup probe contract.',remedy: 'Upgrade ZCode to a compatible protocol version, then run $zcode:setup again.'};
175
+
}
176
+
return{ready: false,status: 'incompatible',reason: 'ZCode session/create could not be verified by the setup authentication probe.',remedy: 'Check the ZCode CLI protocol and rerun $zcode:setup.'};
0 commit comments