@cortexkit/opencode-antigravity-auth 3.0.35 → 3.0.37

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 (55) hide show
  1. package/dist/cli.js +6 -1
  2. package/dist/cli.js.map +2 -2
  3. package/dist/cli.meta.json +11 -11
  4. package/dist/index.js +12 -7
  5. package/dist/index.js.map +2 -2
  6. package/dist/index.meta.json +29 -13
  7. package/dist/server.js +624 -581
  8. package/dist/server.js.map +4 -4
  9. package/dist/server.meta.json +1 -1
  10. package/dist/src/common-auth-embedded/claustrum/availability.d.ts +1 -0
  11. package/dist/src/common-auth-embedded/claustrum/availability.js +2 -0
  12. package/dist/src/common-auth-embedded/claustrum/index.d.ts +1 -1
  13. package/dist/src/common-auth-embedded/claustrum/index.js +1 -1
  14. package/dist/src/common-auth-embedded/routing-accessor/cache-policy.d.ts +51 -0
  15. package/dist/src/common-auth-embedded/routing-accessor/cache-policy.js +186 -0
  16. package/dist/src/common-auth-embedded/routing-accessor/index.d.ts +2 -1
  17. package/dist/src/common-auth-embedded/routing-accessor/index.js +1 -0
  18. package/dist/src/common-auth-embedded/source-output.json +41 -25
  19. package/dist/src/ga/server/auth.js +1 -1
  20. package/dist/src/ga/server/auth.js.map +1 -1
  21. package/dist/src/ga/server/index.js +1 -1
  22. package/dist/src/ga/server/index.js.map +1 -1
  23. package/dist/src/ga/tui/host-ga.d.ts +21 -58
  24. package/dist/src/ga/tui/host-ga.d.ts.map +1 -1
  25. package/dist/src/ga/tui/host-ga.js +122 -230
  26. package/dist/src/ga/tui/host-ga.js.map +1 -1
  27. package/dist/src/plugin/__fixtures__/verified-store.js +2 -2
  28. package/dist/src/plugin/ga-location-services.d.ts +1 -0
  29. package/dist/src/plugin/ga-location-services.d.ts.map +1 -1
  30. package/dist/src/plugin/ga-location-services.js +88 -52
  31. package/dist/src/plugin/ga-location-services.js.map +1 -1
  32. package/dist/src/plugin/vault-custody.js +6 -6
  33. package/dist/src/plugin/vault-custody.js.map +1 -1
  34. package/dist/src/setup.js +1 -1
  35. package/dist/src/setup.js.map +1 -1
  36. package/dist/tui-build-map.json +1 -1
  37. package/dist/tui-ga-build-map.json +5 -5
  38. package/dist/types/src/common-auth-embedded/claustrum/availability.d.ts +1 -0
  39. package/dist/types/src/common-auth-embedded/claustrum/index.d.ts +1 -1
  40. package/dist/types/src/common-auth-embedded/routing-accessor/cache-policy.d.ts +51 -0
  41. package/dist/types/src/common-auth-embedded/routing-accessor/index.d.ts +2 -1
  42. package/dist/types/src/plugin/ga-location-services.d.ts +1 -0
  43. package/dist/types/src/plugin/ga-location-services.d.ts.map +1 -1
  44. package/package.json +4 -4
  45. package/src/common-auth-embedded/claustrum/availability.d.ts +1 -0
  46. package/src/common-auth-embedded/claustrum/availability.js +2 -0
  47. package/src/common-auth-embedded/claustrum/index.d.ts +1 -1
  48. package/src/common-auth-embedded/claustrum/index.js +1 -1
  49. package/src/common-auth-embedded/routing-accessor/cache-policy.d.ts +51 -0
  50. package/src/common-auth-embedded/routing-accessor/cache-policy.js +186 -0
  51. package/src/common-auth-embedded/routing-accessor/index.d.ts +2 -1
  52. package/src/common-auth-embedded/routing-accessor/index.js +1 -0
  53. package/src/common-auth-embedded/source-output.json +41 -25
  54. package/src/tui-ga-compiled/host-ga.js +122 -238
  55. package/src/tui-ga-raw/host-ga.tsx +189 -306
package/dist/cli.js CHANGED
@@ -15548,6 +15548,8 @@ var init_availability = __esm({
15548
15548
  unavailable: "unreachable",
15549
15549
  timeout: "unreachable",
15550
15550
  route_closed: "unreachable",
15551
+ // The daemon refused before forwarding, so the vault never saw the request.
15552
+ route_busy: "unreachable",
15551
15553
  daemon_draining: "unreachable",
15552
15554
  connection_closed: "unreachable",
15553
15555
  connection_dropped: "unreachable",
@@ -21713,6 +21715,7 @@ __export(claustrum_exports, {
21713
21715
  enrollmentAuthority: () => enrollmentAuthority,
21714
21716
  enrollmentName: () => enrollmentName,
21715
21717
  getClaustrumEnrollmentPaths: () => getClaustrumEnrollmentPaths,
21718
+ hasVaultHost: () => hasVaultHost,
21716
21719
  hostEnrollmentPaths: () => hostEnrollmentPaths,
21717
21720
  isCustodyPlaceholder: () => isCustodyPlaceholder,
21718
21721
  isCustodyPlaceholderValue: () => isCustodyPlaceholderValue,
@@ -29330,6 +29333,8 @@ var VAULT_FAILURE_CLASSES2 = Object.freeze({
29330
29333
  unavailable: "unreachable",
29331
29334
  timeout: "unreachable",
29332
29335
  route_closed: "unreachable",
29336
+ // The daemon refused before forwarding, so the vault never saw the request.
29337
+ route_busy: "unreachable",
29333
29338
  daemon_draining: "unreachable",
29334
29339
  connection_closed: "unreachable",
29335
29340
  connection_dropped: "unreachable",
@@ -31819,7 +31824,7 @@ Setup has not completed the OpenCode 2 native Google connection.
31819
31824
  }
31820
31825
  async function runPluginSetup(argv, deps, migrateOpenCode, io = {}) {
31821
31826
  const claustrum = await loadCommonAuthClaustrum();
31822
- if (process.env.CORTEXKIT_VAULT_HOST === "thalamus")
31827
+ if (claustrum.hasVaultHost())
31823
31828
  throw new Error(claustrum.VAULT_HOST_CONNECT_REFUSAL);
31824
31829
  const plugin = await createSetupPlugin(
31825
31830
  deps,