@cortexkit/opencode-anthropic-auth 2.0.2 → 2.0.3

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.
Files changed (53) hide show
  1. package/README.md +35 -845
  2. package/dist/cli-failure.d.ts +6 -5
  3. package/dist/cli.js +55 -101
  4. package/dist/custody-mode.d.ts +1 -0
  5. package/dist/{index-1tbpt45x.js → index-5hyennzm.js} +1 -1
  6. package/dist/{index-fn0zqnnw.js → index-fncp6r0j.js} +1 -1
  7. package/dist/index-jmjevtm1.js +2 -0
  8. package/dist/index-kd89hcr3.js +2 -0
  9. package/dist/index-mdpyfkv3.js +464 -0
  10. package/dist/index-nfcp0m1t.js +42 -0
  11. package/dist/index-qttfa42y.js +2 -0
  12. package/dist/{index-mge0rw54.js → index-rftced5v.js} +1 -1
  13. package/dist/{index-74r84r5f.js → index-vjehtqnb.js} +1 -1
  14. package/dist/index.js +1 -1
  15. package/dist/quota-preflight.d.ts +1 -0
  16. package/dist/rpc/port-file.js +1 -1
  17. package/dist/rpc/protocol.js +1 -1
  18. package/dist/rpc/rpc-client.js +1 -1
  19. package/dist/rpc/rpc-dir.js +1 -1
  20. package/dist/setup/command.d.ts +5 -14
  21. package/dist/setup/native-activation.d.ts +14 -6
  22. package/dist/setup/native-enrollment.d.ts +15 -0
  23. package/dist/setup/native-local.d.ts +31 -1
  24. package/dist/setup/process-fence.d.ts +0 -6
  25. package/dist/setup/types.d.ts +9 -0
  26. package/dist/sidebar-state.d.ts +20 -2
  27. package/dist/sidebar-state.js +1 -1
  28. package/dist/tui-preferences.js +1 -1
  29. package/dist/tui.d.ts +0 -2
  30. package/dist/v2/activation.d.ts +2 -0
  31. package/dist/v2/adapter.d.ts +5 -0
  32. package/dist/v2/cachekeep.d.ts +19 -0
  33. package/dist/v2/menu.d.ts +2 -1
  34. package/dist/v2/server.js +4 -4
  35. package/dist/v2/setup.d.ts +2 -0
  36. package/dist/v2/source.d.ts +1 -0
  37. package/dist/v2/tui.js +1 -1
  38. package/package.json +2 -2
  39. package/src/sidebar-state.ts +165 -29
  40. package/src/tui-compiled/sidebar-state.ts +165 -29
  41. package/src/tui-compiled/tui.tsx +363 -239
  42. package/src/tui.tsx +149 -48
  43. package/dist/index-227rsmfv.js +0 -42
  44. package/dist/index-b3mxpp4w.js +0 -2
  45. package/dist/index-j0wsgy54.js +0 -449
  46. package/dist/index-jc8p0tkv.js +0 -2
  47. package/dist/setup/activation.d.ts +0 -7
  48. package/dist/setup/command.test.d.ts +0 -1
  49. package/dist/setup/detect.d.ts +0 -8
  50. package/dist/setup/host-executable.d.ts +0 -3
  51. package/dist/setup/jsonc.d.ts +0 -9
  52. package/dist/setup/opencode-config.d.ts +0 -18
  53. package/dist/setup/pi.d.ts +0 -18
@@ -20,11 +20,12 @@ export declare const CLI_FAILURE_OMITTED = "[output beyond the diagnostic limit
20
20
  export declare const CLI_FAILURE_WITHHELD = "[output withheld: no line break within the inspected window]";
21
21
  export declare const CLI_FAILURE_SECRETS_UNREADABLE = "[detail withheld: the known credentials could not be read safely]";
22
22
  /**
23
- * The text to show for a known failure, or undefined when the thrown value is
24
- * not one. A message counts only when it equals a text in CLOSED_MESSAGES,
25
- * equals "OAuth metadata read failed: <status>" for its own integer HTTP
26
- * `status`, or equals what `new ProcessFenceViolationError(activeHosts)`
27
- * produces from its own validated `activeHosts`.
23
+ * Returns display text, '' when the runner already printed its process-inspection
24
+ * refusal, or undefined to fall through to reportThrownFailure. Runner errors
25
+ * cross a bundle boundary, so only own data properties classify them.
26
+ * Display text must be a fixed remedy, the runner's unknown-argument message,
27
+ * an OAuth metadata error matching its own integer HTTP status (100–599), or
28
+ * a running-host list rebuilt from validated own host names and PIDs.
28
29
  */
29
30
  export declare function knownFailureMessage(error: unknown): string | undefined;
30
31
  /**