@oked/claude-code 0.6.17 → 0.6.19

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/cli.js CHANGED
@@ -170,7 +170,8 @@ async function pair(clientType) {
170
170
  }
171
171
  console.log(` ${code.verification_uri_complete}`);
172
172
  console.log("");
173
- console.log(` (Or visit ${code.verification_uri} and enter the code above.)`);
173
+ console.log(` (Or visit ${code.verification_uri} and enter the code above,`);
174
+ console.log(" or enter it in the OKed app on your iPhone.)");
174
175
  console.log("");
175
176
  console.log(" Waiting for confirmation...");
176
177
  const deadline = Date.now() + code.expires_in * 1000;
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.17",
3
+ "version": "0.6.19",
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.17"
47
+ "@oked/sdk": "0.6.19"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "^5.6.0"