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
{{ message }}
Repository navigation
Commit a5f1db4
Browse filesBrowse the repository at this point in the historyBrowse files
A machine's own OpenCode sign-in its provider refuses stands on the machine's row, with its fix
The Mac's own OpenCode Anthropic sign-in answered "401 OAuth access token
is invalid", and nothing said so until a delegate on anthropic/… failed. A
machine's sign-in faults stand on its row (426dfc1).
- Core: HarnessReport.signInFaults (provider, words, at) and
opencodeSignInFaultWords, the one sentence every surface shows:
"OpenCode's own Anthropic sign-in on <machine> was refused: 401 …. Run
`opencode auth login` on <machine> and pick Anthropic."
- Agent: a session on the machine's own OpenCode server reports each turn's
end on its provider (its last step's). A `provider.auth` failure is the
sign-in's fault when the machine's own OpenCode holds an active credential
for that provider (Zen's keyless free tier refusing is no sign-in's); the
next turn that answers on that provider clears it. Kept across a restart
(cawco-sign-in-faults.json), in the OpenCode report, and sent on the next
beat when it moves. The provider is named as the held catalog names it.
- Web (signInWarning, exceptionOf) and the Apple app (MachineHealth): the
machine's row says OpenCode's words too, and every harness's sign-in
words together: pi's no longer hides OpenCode's (it did on both).
- Where CawCo reads an execution's end: a note that OpenCode 2.0.28 settles
a failure before the first model step as succeeded
(anomalyco/opencode#34839, fixed by #45959, unreleased in 2.0.29), to
check on the upgrade that carries it.
- scratch-fleet: a mock reply can refuse with a status (Reply.deny).
- OpenAPI regenerated (SignInFault).
Proof: scripts/probe-kit/specs/web/opencode-sign-in-fault.ts (scratch
fleet, the machine's own anthropic credential, the mock answering 401 then
200): ALL PASS. The Apple app's change is not built here (no Xcode in this
workspace).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: apps/apple/Packages/CawCoKit/Sources/CawCoAPI/openapi.json
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32888,6 +32888,13 @@
32888
32888
"$ref": "#/components/schemas/ModelInfo"
32889
32889
}
32890
32890
},
32891
+
"signInFaults": {
32892
+
"description": "OpenCode only: each of the machine's own OpenCode sign-ins (not a CawCo\naccount) whose provider refused it the last time a session here used\nit, until a turn on that provider succeeds. The home says each on the\nmachine's row, with the fix ({@link opencodeSignInFaultWords}).",
32893
+
"type": "array",
32894
+
"items": {
32895
+
"$ref": "#/components/schemas/SignInFault"
32896
+
}
32897
+
},
32891
32898
"version": {
32892
32899
"description": "The CLI/SDK version, when it can be read.",
32893
32900
"type": "string"
@@ -33108,6 +33115,29 @@
33108
33115
"xhigh"
33109
33116
]
33110
33117
},
33118
+
"SignInFault": {
33119
+
"description": "One of a machine's own sign-ins its provider refused ({@link HarnessReport.signInFaults}).",
33120
+
"type": "object",
33121
+
"properties": {
33122
+
"at": {
33123
+
"description": "When the refusal came, epoch ms.",
33124
+
"type": "number"
33125
+
},
33126
+
"provider": {
33127
+
"description": "The provider's id in the harness (`anthropic`).",
33128
+
"type": "string"
33129
+
},
33130
+
"words": {
33131
+
"description": "What the home says, whole: what was refused, and the fix ({@link opencodeSignInFaultWords}).",
0 commit comments