@oked/claude-code 0.6.17 → 0.6.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hook.js +3 -2
- package/package.json +2 -2
package/dist/hook.js
CHANGED
|
@@ -140,9 +140,10 @@ async function main() {
|
|
|
140
140
|
respond("deny", `OKed: the approval receipt did not verify (${err.problems.join(", ")}); action denied`, failed);
|
|
141
141
|
}
|
|
142
142
|
else if (err instanceof OKedAuthError) {
|
|
143
|
-
// Auth misconfig is not an outage - always deny.
|
|
143
|
+
// Auth misconfig is not an outage - always deny. A deleted account ends
|
|
144
|
+
// here too, so name the way out as well as the way back.
|
|
144
145
|
log(`Invalid API key (HTTP ${err.status}) - action denied`);
|
|
145
|
-
respond("deny", `OKed: invalid API key (HTTP ${err.status}). Run \`oked init\` to pair again.`, failed);
|
|
146
|
+
respond("deny", `OKed: invalid API key (HTTP ${err.status}). Run \`oked init\` to pair again, or \`oked uninstall\` to remove OKed.`, failed);
|
|
146
147
|
}
|
|
147
148
|
else if (err instanceof OKedTooManyPendingError) {
|
|
148
149
|
// Not an outage: the backend works, and too many approvals wait.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oked/claude-code",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.18",
|
|
4
4
|
"description": "OKed for Claude Code - zero-code human approval for sensitive actions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@oked/sdk": "0.6.
|
|
47
|
+
"@oked/sdk": "0.6.18"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"typescript": "^5.6.0"
|