@cortexkit/opencode-antigravity-auth 1.1.0 → 2.0.1
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/README.md +225 -569
- package/dist/cli.js +4017 -0
- package/dist/cli.js.map +7 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20742 -14586
- package/dist/index.js.map +4 -4
- package/dist/src/antigravity/oauth.d.ts +1 -1
- package/dist/src/antigravity/oauth.js +1 -1
- package/dist/src/cli.d.ts +21 -0
- package/dist/src/cli.d.ts.map +1 -0
- package/dist/src/cli.js +237 -0
- package/dist/src/cli.js.map +1 -0
- package/dist/src/constants.d.ts +1 -1
- package/dist/src/constants.js +1 -1
- package/dist/src/hooks/auto-update-checker/cache.d.ts.map +1 -1
- package/dist/src/hooks/auto-update-checker/cache.js +13 -13
- package/dist/src/hooks/auto-update-checker/cache.js.map +1 -1
- package/dist/src/hooks/auto-update-checker/checker.d.ts +1 -1
- package/dist/src/hooks/auto-update-checker/checker.d.ts.map +1 -1
- package/dist/src/hooks/auto-update-checker/checker.js +75 -51
- package/dist/src/hooks/auto-update-checker/checker.js.map +1 -1
- package/dist/src/hooks/auto-update-checker/constants.d.ts.map +1 -1
- package/dist/src/hooks/auto-update-checker/constants.js +12 -12
- package/dist/src/hooks/auto-update-checker/constants.js.map +1 -1
- package/dist/src/hooks/auto-update-checker/index.d.ts +6 -6
- package/dist/src/hooks/auto-update-checker/index.d.ts.map +1 -1
- package/dist/src/hooks/auto-update-checker/index.js +17 -17
- package/dist/src/hooks/auto-update-checker/index.js.map +1 -1
- package/dist/src/hooks/auto-update-checker/logging.js +2 -2
- package/dist/src/hooks/auto-update-checker/logging.js.map +1 -1
- package/dist/src/hooks/auto-update-checker/types.d.ts.map +1 -1
- package/dist/src/plugin/account-access.d.ts +99 -0
- package/dist/src/plugin/account-access.d.ts.map +1 -0
- package/dist/src/plugin/account-access.js +480 -0
- package/dist/src/plugin/account-access.js.map +1 -0
- package/dist/src/plugin/account-command-oauth.d.ts +34 -0
- package/dist/src/plugin/account-command-oauth.d.ts.map +1 -0
- package/dist/src/plugin/account-command-oauth.js +156 -0
- package/dist/src/plugin/account-command-oauth.js.map +1 -0
- package/dist/src/plugin/accounts.d.ts +7 -256
- package/dist/src/plugin/accounts.d.ts.map +1 -1
- package/dist/src/plugin/accounts.js +31 -1367
- package/dist/src/plugin/accounts.js.map +1 -1
- package/dist/src/plugin/agy-request-metadata.d.ts +1 -1
- package/dist/src/plugin/agy-request-metadata.js +1 -1
- package/dist/src/plugin/agy-transport.d.ts +1 -1
- package/dist/src/plugin/agy-transport.js +1 -1
- package/dist/src/plugin/auth-doctor.d.ts +6 -6
- package/dist/src/plugin/auth-doctor.d.ts.map +1 -1
- package/dist/src/plugin/auth-doctor.js +74 -66
- package/dist/src/plugin/auth-doctor.js.map +1 -1
- package/dist/src/plugin/auth-drift.d.ts +4 -4
- package/dist/src/plugin/auth-drift.d.ts.map +1 -1
- package/dist/src/plugin/auth-drift.js +15 -15
- package/dist/src/plugin/auth-drift.js.map +1 -1
- package/dist/src/plugin/auth-loader.d.ts +50 -0
- package/dist/src/plugin/auth-loader.d.ts.map +1 -0
- package/dist/src/plugin/auth-loader.js +225 -0
- package/dist/src/plugin/auth-loader.js.map +1 -0
- package/dist/src/plugin/auth.d.ts +1 -1
- package/dist/src/plugin/auth.js +1 -1
- package/dist/src/plugin/background-quota-refresh.d.ts +146 -0
- package/dist/src/plugin/background-quota-refresh.d.ts.map +1 -0
- package/dist/src/plugin/background-quota-refresh.js +347 -0
- package/dist/src/plugin/background-quota-refresh.js.map +1 -0
- package/dist/src/plugin/cache/index.d.ts +1 -1
- package/dist/src/plugin/cache/index.d.ts.map +1 -1
- package/dist/src/plugin/cache/index.js +1 -1
- package/dist/src/plugin/cache/index.js.map +1 -1
- package/dist/src/plugin/cache/signature-cache.d.ts +1 -1
- package/dist/src/plugin/cache/signature-cache.d.ts.map +1 -1
- package/dist/src/plugin/cache/signature-cache.js +23 -24
- package/dist/src/plugin/cache/signature-cache.js.map +1 -1
- package/dist/src/plugin/cache.d.ts +6 -5
- package/dist/src/plugin/cache.d.ts.map +1 -1
- package/dist/src/plugin/cache.js +21 -7
- package/dist/src/plugin/cache.js.map +1 -1
- package/dist/src/plugin/catalog.d.ts +23 -0
- package/dist/src/plugin/catalog.d.ts.map +1 -0
- package/dist/src/plugin/catalog.js +60 -0
- package/dist/src/plugin/catalog.js.map +1 -0
- package/dist/src/plugin/cli.d.ts +7 -7
- package/dist/src/plugin/cli.d.ts.map +1 -1
- package/dist/src/plugin/cli.js +62 -55
- package/dist/src/plugin/cli.js.map +1 -1
- package/dist/src/plugin/command-data.d.ts +329 -0
- package/dist/src/plugin/command-data.d.ts.map +1 -0
- package/dist/src/plugin/command-data.js +517 -0
- package/dist/src/plugin/command-data.js.map +1 -0
- package/dist/src/plugin/commands.d.ts +154 -0
- package/dist/src/plugin/commands.d.ts.map +1 -0
- package/dist/src/plugin/commands.js +746 -0
- package/dist/src/plugin/commands.js.map +1 -0
- package/dist/src/plugin/config/index.d.ts +2 -2
- package/dist/src/plugin/config/index.d.ts.map +1 -1
- package/dist/src/plugin/config/index.js +2 -2
- package/dist/src/plugin/config/index.js.map +1 -1
- package/dist/src/plugin/config/loader.d.ts +1 -1
- package/dist/src/plugin/config/loader.d.ts.map +1 -1
- package/dist/src/plugin/config/loader.js +18 -16
- package/dist/src/plugin/config/loader.js.map +1 -1
- package/dist/src/plugin/config/models.d.ts +2 -2
- package/dist/src/plugin/config/models.d.ts.map +1 -1
- package/dist/src/plugin/config/models.js +1 -1
- package/dist/src/plugin/config/models.js.map +1 -1
- package/dist/src/plugin/config/operator-settings-schema.d.ts +29 -0
- package/dist/src/plugin/config/operator-settings-schema.d.ts.map +1 -0
- package/dist/src/plugin/config/operator-settings-schema.js +28 -0
- package/dist/src/plugin/config/operator-settings-schema.js.map +1 -0
- package/dist/src/plugin/config/schema.d.ts +23 -2
- package/dist/src/plugin/config/schema.d.ts.map +1 -1
- package/dist/src/plugin/config/schema.js +109 -25
- package/dist/src/plugin/config/schema.js.map +1 -1
- package/dist/src/plugin/config/updater.d.ts.map +1 -1
- package/dist/src/plugin/config/updater.js +15 -15
- package/dist/src/plugin/config/updater.js.map +1 -1
- package/dist/src/plugin/config/writer.d.ts +34 -0
- package/dist/src/plugin/config/writer.d.ts.map +1 -0
- package/dist/src/plugin/config/writer.js +81 -0
- package/dist/src/plugin/config/writer.js.map +1 -0
- package/dist/src/plugin/core/streaming/index.d.ts +1 -1
- package/dist/src/plugin/core/streaming/index.d.ts.map +1 -1
- package/dist/src/plugin/core/streaming/index.js +1 -1
- package/dist/src/plugin/core/streaming/index.js.map +1 -1
- package/dist/src/plugin/core/streaming/transformer.d.ts.map +1 -1
- package/dist/src/plugin/core/streaming/transformer.js +85 -44
- package/dist/src/plugin/core/streaming/transformer.js.map +1 -1
- package/dist/src/plugin/core/streaming/types.d.ts.map +1 -1
- package/dist/src/plugin/debug.d.ts +10 -3
- package/dist/src/plugin/debug.d.ts.map +1 -1
- package/dist/src/plugin/debug.js +110 -47
- package/dist/src/plugin/debug.js.map +1 -1
- package/dist/src/plugin/dependencies.d.ts +129 -0
- package/dist/src/plugin/dependencies.d.ts.map +1 -0
- package/dist/src/plugin/dependencies.js +107 -0
- package/dist/src/plugin/dependencies.js.map +1 -0
- package/dist/src/plugin/errors.d.ts +27 -0
- package/dist/src/plugin/errors.d.ts.map +1 -1
- package/dist/src/plugin/errors.js +29 -3
- package/dist/src/plugin/errors.js.map +1 -1
- package/dist/src/plugin/event-handler.d.ts +53 -0
- package/dist/src/plugin/event-handler.d.ts.map +1 -0
- package/dist/src/plugin/event-handler.js +101 -0
- package/dist/src/plugin/event-handler.js.map +1 -0
- package/dist/src/plugin/fetch/retry-state.d.ts +61 -0
- package/dist/src/plugin/fetch/retry-state.d.ts.map +1 -0
- package/dist/src/plugin/fetch/retry-state.js +248 -0
- package/dist/src/plugin/fetch/retry-state.js.map +1 -0
- package/dist/src/plugin/fetch/warmup.d.ts +30 -0
- package/dist/src/plugin/fetch/warmup.d.ts.map +1 -0
- package/dist/src/plugin/fetch/warmup.js +76 -0
- package/dist/src/plugin/fetch/warmup.js.map +1 -0
- package/dist/src/plugin/fetch-interceptor.d.ts +59 -0
- package/dist/src/plugin/fetch-interceptor.d.ts.map +1 -0
- package/dist/src/plugin/fetch-interceptor.js +1399 -0
- package/dist/src/plugin/fetch-interceptor.js.map +1 -0
- package/dist/src/plugin/fetch-routing.d.ts +26 -0
- package/dist/src/plugin/fetch-routing.d.ts.map +1 -0
- package/dist/src/plugin/fetch-routing.js +99 -0
- package/dist/src/plugin/fetch-routing.js.map +1 -0
- package/dist/src/plugin/fingerprint.d.ts +1 -1
- package/dist/src/plugin/fingerprint.js +1 -1
- package/dist/src/plugin/gemini-dump.d.ts +5 -5
- package/dist/src/plugin/gemini-dump.d.ts.map +1 -1
- package/dist/src/plugin/gemini-dump.js +109 -55
- package/dist/src/plugin/gemini-dump.js.map +1 -1
- package/dist/src/plugin/google-search-tool.d.ts +9 -0
- package/dist/src/plugin/google-search-tool.d.ts.map +1 -0
- package/dist/src/plugin/google-search-tool.js +56 -0
- package/dist/src/plugin/google-search-tool.js.map +1 -0
- package/dist/src/plugin/image-saver.d.ts.map +1 -1
- package/dist/src/plugin/image-saver.js +16 -16
- package/dist/src/plugin/image-saver.js.map +1 -1
- package/dist/src/plugin/index.d.ts +30 -0
- package/dist/src/plugin/index.d.ts.map +1 -0
- package/dist/src/plugin/index.js +411 -0
- package/dist/src/plugin/index.js.map +1 -0
- package/dist/src/plugin/killswitch.d.ts +94 -0
- package/dist/src/plugin/killswitch.d.ts.map +1 -0
- package/dist/src/plugin/killswitch.js +197 -0
- package/dist/src/plugin/killswitch.js.map +1 -0
- package/dist/src/plugin/lifecycle.d.ts +40 -0
- package/dist/src/plugin/lifecycle.d.ts.map +1 -0
- package/dist/src/plugin/lifecycle.js +73 -0
- package/dist/src/plugin/lifecycle.js.map +1 -0
- package/dist/src/plugin/logger.d.ts +10 -1
- package/dist/src/plugin/logger.d.ts.map +1 -1
- package/dist/src/plugin/logger.js +38 -12
- package/dist/src/plugin/logger.js.map +1 -1
- package/dist/src/plugin/logging-utils.d.ts +35 -1
- package/dist/src/plugin/logging-utils.d.ts.map +1 -1
- package/dist/src/plugin/logging-utils.js +98 -15
- package/dist/src/plugin/logging-utils.js.map +1 -1
- package/dist/src/plugin/model-registry.d.ts +1 -1
- package/dist/src/plugin/model-registry.js +1 -1
- package/dist/src/plugin/oauth-login.d.ts +22 -0
- package/dist/src/plugin/oauth-login.d.ts.map +1 -0
- package/dist/src/plugin/oauth-login.js +37 -0
- package/dist/src/plugin/oauth-login.js.map +1 -0
- package/dist/src/plugin/oauth-methods.d.ts +42 -0
- package/dist/src/plugin/oauth-methods.d.ts.map +1 -0
- package/dist/src/plugin/oauth-methods.js +1276 -0
- package/dist/src/plugin/oauth-methods.js.map +1 -0
- package/dist/src/plugin/operator-settings.d.ts +40 -0
- package/dist/src/plugin/operator-settings.d.ts.map +1 -0
- package/dist/src/plugin/operator-settings.js +148 -0
- package/dist/src/plugin/operator-settings.js.map +1 -0
- package/dist/src/plugin/persist-account-pool.d.ts +37 -0
- package/dist/src/plugin/persist-account-pool.d.ts.map +1 -0
- package/dist/src/plugin/persist-account-pool.js +142 -0
- package/dist/src/plugin/persist-account-pool.js.map +1 -0
- package/dist/src/plugin/project.d.ts +1 -1
- package/dist/src/plugin/project.js +1 -1
- package/dist/src/plugin/prompt-context.d.ts.map +1 -1
- package/dist/src/plugin/prompt-context.js +11 -11
- package/dist/src/plugin/prompt-context.js.map +1 -1
- package/dist/src/plugin/quota.d.ts +138 -41
- package/dist/src/plugin/quota.d.ts.map +1 -1
- package/dist/src/plugin/quota.js +417 -285
- package/dist/src/plugin/quota.js.map +1 -1
- package/dist/src/plugin/recovery/constants.d.ts.map +1 -1
- package/dist/src/plugin/recovery/constants.js +24 -15
- package/dist/src/plugin/recovery/constants.js.map +1 -1
- package/dist/src/plugin/recovery/index.d.ts +3 -3
- package/dist/src/plugin/recovery/index.d.ts.map +1 -1
- package/dist/src/plugin/recovery/index.js +3 -3
- package/dist/src/plugin/recovery/index.js.map +1 -1
- package/dist/src/plugin/recovery/storage.d.ts +1 -1
- package/dist/src/plugin/recovery/storage.d.ts.map +1 -1
- package/dist/src/plugin/recovery/storage.js +31 -39
- package/dist/src/plugin/recovery/storage.js.map +1 -1
- package/dist/src/plugin/recovery/types.d.ts +12 -12
- package/dist/src/plugin/recovery/types.d.ts.map +1 -1
- package/dist/src/plugin/recovery.d.ts +3 -3
- package/dist/src/plugin/recovery.d.ts.map +1 -1
- package/dist/src/plugin/recovery.js +62 -58
- package/dist/src/plugin/recovery.js.map +1 -1
- package/dist/src/plugin/refresh-queue.d.ts +5 -2
- package/dist/src/plugin/refresh-queue.d.ts.map +1 -1
- package/dist/src/plugin/refresh-queue.js +37 -15
- package/dist/src/plugin/refresh-queue.js.map +1 -1
- package/dist/src/plugin/request-helpers.d.ts +1 -1
- package/dist/src/plugin/request-helpers.d.ts.map +1 -1
- package/dist/src/plugin/request-helpers.js +451 -352
- package/dist/src/plugin/request-helpers.js.map +1 -1
- package/dist/src/plugin/request.d.ts +7 -7
- package/dist/src/plugin/request.d.ts.map +1 -1
- package/dist/src/plugin/request.js +622 -384
- package/dist/src/plugin/request.js.map +1 -1
- package/dist/src/plugin/rotation.d.ts +1 -168
- package/dist/src/plugin/rotation.d.ts.map +1 -1
- package/dist/src/plugin/rotation.js +1 -327
- package/dist/src/plugin/rotation.js.map +1 -1
- package/dist/src/plugin/search.d.ts.map +1 -1
- package/dist/src/plugin/search.js +39 -35
- package/dist/src/plugin/search.js.map +1 -1
- package/dist/src/plugin/server.d.ts +1 -1
- package/dist/src/plugin/server.d.ts.map +1 -1
- package/dist/src/plugin/server.js +42 -37
- package/dist/src/plugin/server.js.map +1 -1
- package/dist/src/plugin/session-context.d.ts +2 -1
- package/dist/src/plugin/session-context.d.ts.map +1 -1
- package/dist/src/plugin/session-context.js +11 -7
- package/dist/src/plugin/session-context.js.map +1 -1
- package/dist/src/plugin/storage.d.ts +59 -120
- package/dist/src/plugin/storage.d.ts.map +1 -1
- package/dist/src/plugin/storage.js +140 -485
- package/dist/src/plugin/storage.js.map +1 -1
- package/dist/src/plugin/stores/signature-store.d.ts.map +1 -1
- package/dist/src/plugin/stores/signature-store.js.map +1 -1
- package/dist/src/plugin/thinking-recovery.d.ts.map +1 -1
- package/dist/src/plugin/thinking-recovery.js +35 -33
- package/dist/src/plugin/thinking-recovery.js.map +1 -1
- package/dist/src/plugin/token.d.ts +2 -2
- package/dist/src/plugin/token.d.ts.map +1 -1
- package/dist/src/plugin/token.js +30 -21
- package/dist/src/plugin/token.js.map +1 -1
- package/dist/src/plugin/transform/cross-model-sanitizer.d.ts +1 -1
- package/dist/src/plugin/transform/cross-model-sanitizer.js +1 -1
- package/dist/src/plugin/transform/index.d.ts +1 -1
- package/dist/src/plugin/transform/index.js +1 -1
- package/dist/src/plugin/transform/model-resolver.d.ts +1 -1
- package/dist/src/plugin/transform/model-resolver.js +1 -1
- package/dist/src/plugin/transform/types.d.ts +1 -1
- package/dist/src/plugin/transform/types.js +1 -1
- package/dist/src/plugin/types.d.ts +25 -69
- package/dist/src/plugin/types.d.ts.map +1 -1
- package/dist/src/plugin/ui/ansi.d.ts.map +1 -1
- package/dist/src/plugin/ui/ansi.js.map +1 -1
- package/dist/src/plugin/ui/auth-menu.d.ts +1 -1
- package/dist/src/plugin/ui/auth-menu.d.ts.map +1 -1
- package/dist/src/plugin/ui/auth-menu.js +84 -35
- package/dist/src/plugin/ui/auth-menu.js.map +1 -1
- package/dist/src/plugin/ui/confirm.d.ts.map +1 -1
- package/dist/src/plugin/ui/confirm.js.map +1 -1
- package/dist/src/plugin/ui/model-status.d.ts +3 -3
- package/dist/src/plugin/ui/model-status.d.ts.map +1 -1
- package/dist/src/plugin/ui/model-status.js +3 -3
- package/dist/src/plugin/ui/model-status.js.map +1 -1
- package/dist/src/plugin/ui/quota-status.d.ts +4 -4
- package/dist/src/plugin/ui/quota-status.d.ts.map +1 -1
- package/dist/src/plugin/ui/quota-status.js +49 -49
- package/dist/src/plugin/ui/quota-status.js.map +1 -1
- package/dist/src/plugin/ui/select.d.ts.map +1 -1
- package/dist/src/plugin/ui/select.js +22 -12
- package/dist/src/plugin/ui/select.js.map +1 -1
- package/dist/src/plugin/version.d.ts +1 -1
- package/dist/src/plugin/version.js +1 -1
- package/dist/src/rpc/notifications.d.ts +6 -0
- package/dist/src/rpc/notifications.d.ts.map +1 -0
- package/dist/src/rpc/notifications.js +46 -0
- package/dist/src/rpc/notifications.js.map +1 -0
- package/dist/src/rpc/port-file.d.ts +13 -0
- package/dist/src/rpc/port-file.d.ts.map +1 -0
- package/dist/src/rpc/port-file.js +109 -0
- package/dist/src/rpc/port-file.js.map +1 -0
- package/dist/src/rpc/protocol.d.ts +22 -0
- package/dist/src/rpc/protocol.d.ts.map +1 -0
- package/dist/src/rpc/protocol.js +1 -0
- package/dist/src/rpc/protocol.js.map +1 -0
- package/dist/src/rpc/rpc-client.d.ts +10 -0
- package/dist/src/rpc/rpc-client.d.ts.map +1 -0
- package/dist/src/rpc/rpc-client.js +58 -0
- package/dist/src/rpc/rpc-client.js.map +1 -0
- package/dist/src/rpc/rpc-dir.d.ts +4 -0
- package/dist/src/rpc/rpc-dir.d.ts.map +1 -0
- package/dist/src/rpc/rpc-dir.js +19 -0
- package/dist/src/rpc/rpc-dir.js.map +1 -0
- package/dist/src/rpc/rpc-server.d.ts +13 -0
- package/dist/src/rpc/rpc-server.d.ts.map +1 -0
- package/dist/src/rpc/rpc-server.js +231 -0
- package/dist/src/rpc/rpc-server.js.map +1 -0
- package/dist/src/sidebar-state.d.ts +357 -0
- package/dist/src/sidebar-state.d.ts.map +1 -0
- package/dist/src/sidebar-state.js +680 -0
- package/dist/src/sidebar-state.js.map +1 -0
- package/dist/src/tui/command-dialogs.d.ts +61 -0
- package/dist/src/tui/command-dialogs.d.ts.map +1 -0
- package/dist/src/tui/command-dialogs.js +595 -0
- package/dist/src/tui/command-dialogs.js.map +1 -0
- package/dist/src/tui/file-logger.d.ts +41 -0
- package/dist/src/tui/file-logger.d.ts.map +1 -0
- package/dist/src/tui/file-logger.js +114 -0
- package/dist/src/tui/file-logger.js.map +1 -0
- package/dist/src/tui-preferences.d.ts +40 -0
- package/dist/src/tui-preferences.d.ts.map +1 -0
- package/dist/src/tui-preferences.js +328 -0
- package/dist/src/tui-preferences.js.map +1 -0
- package/dist/src/tui.d.ts +68 -0
- package/dist/src/tui.d.ts.map +1 -0
- package/dist/src/tui.js +697 -0
- package/dist/src/tui.js.map +1 -0
- package/package.json +46 -22
- package/src/plugin/command-data.ts +931 -0
- package/src/rpc/port-file.ts +143 -0
- package/src/rpc/protocol.ts +31 -0
- package/src/rpc/rpc-client.ts +102 -0
- package/src/rpc/rpc-dir.ts +24 -0
- package/src/sidebar-state.ts +991 -0
- package/src/tui/command-dialogs.tsx +832 -0
- package/src/tui/entry.mjs +74 -0
- package/src/tui/file-logger.ts +145 -0
- package/src/tui-compiled/plugin/command-data.ts +931 -0
- package/src/tui-compiled/rpc/port-file.ts +143 -0
- package/src/tui-compiled/rpc/protocol.ts +31 -0
- package/src/tui-compiled/rpc/rpc-client.ts +102 -0
- package/src/tui-compiled/rpc/rpc-dir.ts +24 -0
- package/src/tui-compiled/sidebar-state.ts +991 -0
- package/src/tui-compiled/tui/command-dialogs.tsx +779 -0
- package/src/tui-compiled/tui/file-logger.ts +145 -0
- package/src/tui-compiled/tui-preferences.ts +416 -0
- package/src/tui-compiled/tui.tsx +1193 -0
- package/src/tui-preferences.ts +416 -0
- package/src/tui.tsx +1171 -0
- package/dist/src/plugin.d.ts +0 -48
- package/dist/src/plugin.d.ts.map +0 -1
- package/dist/src/plugin.js +0 -3311
- package/dist/src/plugin.js.map +0 -1
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Privacy-safe data service for the data-first slash-command dialogs.
|
|
3
|
+
*
|
|
4
|
+
* `/antigravity-quota` (this task) and the future `/antigravity-account`
|
|
5
|
+
* dialogs (Tasks 10-11) read from a single shared service so they
|
|
6
|
+
* never touch raw account storage, never see the email PII field, and
|
|
7
|
+
* never run quota network I/O during the dialog's open path — the
|
|
8
|
+
* Refresh action is the only path that performs a live fetch.
|
|
9
|
+
*
|
|
10
|
+
* Why this is a separate module:
|
|
11
|
+
*
|
|
12
|
+
* - `commands.ts` owns the slash-command orchestration; mixing the row
|
|
13
|
+
* projection + quota refresh logic in there would balloon the surface
|
|
14
|
+
* for what is fundamentally a small read/refresh service.
|
|
15
|
+
* - The row type (`CommandAccountRow`) is the projection that crosses
|
|
16
|
+
* the PII firewall into the dialog payload. Defining it here (next
|
|
17
|
+
* to the code that constructs it) keeps the firewall reviewable.
|
|
18
|
+
* - Tests can pin the read-vs-refresh boundary, the email redaction, and
|
|
19
|
+
* the refresh-token-keyed persistence in one file rather than chasing
|
|
20
|
+
* them across the dispatcher + RPC + apply layers.
|
|
21
|
+
*
|
|
22
|
+
* Cache-only opening contract (Task 9 operator requirement):
|
|
23
|
+
*
|
|
24
|
+
* `listAccounts()` is a pure read of the live AccountManager view
|
|
25
|
+
* the auth-loader materialized at session start. It performs
|
|
26
|
+
* ZERO quota manager calls — opening the dialog must be instant even
|
|
27
|
+
* when the network is unreachable, and quota refresh must remain an
|
|
28
|
+
* explicit user-driven action so the cached percentages never quietly
|
|
29
|
+
* rewrite themselves behind the user's back.
|
|
30
|
+
*
|
|
31
|
+
* Refresh-token-keyed persistence (Task 9 plan trap):
|
|
32
|
+
*
|
|
33
|
+
* `refreshQuota()` runs the shared quota manager across every enabled
|
|
34
|
+
* account and folds the results back into the live AccountManager +
|
|
35
|
+
* storage. Concurrent OAuth can renumber the flat `accounts[]` array
|
|
36
|
+
* between read and write, so we re-read under the lock and key the
|
|
37
|
+
* update by `refreshToken` (the canonical identity) rather than the
|
|
38
|
+
* array index. This way a successful OAuth add that lands between
|
|
39
|
+
* the read and the write cannot cause the refresh to overwrite the
|
|
40
|
+
* wrong account.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Local copies of the few core types the data service touches.
|
|
44
|
+
*
|
|
45
|
+
* The shipped TUI tree cannot depend on the `@cortexkit/antigravity-auth-core`
|
|
46
|
+
* barrel (only subpath imports like `./file-lock` are allowed) — the
|
|
47
|
+
* compiled `command-data.ts` is copied verbatim into `tui-compiled/`,
|
|
48
|
+
* and the type-import would otherwise leak the full core surface into
|
|
49
|
+
* the dialog render path. Declaring the structural shape locally keeps
|
|
50
|
+
* the compiled tree free of the barrel while preserving duck-typed
|
|
51
|
+
* compatibility with the production quota manager.
|
|
52
|
+
*/
|
|
53
|
+
type CommandDataAccountMetadata = {
|
|
54
|
+
email?: string;
|
|
55
|
+
refreshToken: string;
|
|
56
|
+
projectId?: string;
|
|
57
|
+
managedProjectId?: string;
|
|
58
|
+
addedAt: number;
|
|
59
|
+
lastUsed: number;
|
|
60
|
+
enabled?: boolean;
|
|
61
|
+
label?: string;
|
|
62
|
+
cachedQuota?: Partial<Record<CommandDataQuotaGroup, CommandDataQuotaGroupSummary>>;
|
|
63
|
+
cachedQuotaUpdatedAt?: number;
|
|
64
|
+
cachedQuotaAccountId?: string;
|
|
65
|
+
accountIneligible?: boolean;
|
|
66
|
+
};
|
|
67
|
+
type CommandDataQuotaGroup = 'gemini' | 'non-gemini';
|
|
68
|
+
type CommandDataQuotaGroupSummary = {
|
|
69
|
+
remainingFraction?: number;
|
|
70
|
+
resetTime?: string;
|
|
71
|
+
modelCount: number;
|
|
72
|
+
windows?: Array<{
|
|
73
|
+
window: 'weekly' | '5h';
|
|
74
|
+
remainingFraction: number;
|
|
75
|
+
resetTime: string;
|
|
76
|
+
}>;
|
|
77
|
+
};
|
|
78
|
+
type CommandDataAccountQuotaResult = {
|
|
79
|
+
index: number;
|
|
80
|
+
status: 'ok' | 'disabled' | 'error';
|
|
81
|
+
error?: string;
|
|
82
|
+
disabled?: boolean;
|
|
83
|
+
quota?: {
|
|
84
|
+
groups: Partial<Record<CommandDataQuotaGroup, CommandDataQuotaGroupSummary>>;
|
|
85
|
+
perModel?: Array<{
|
|
86
|
+
modelId: string;
|
|
87
|
+
displayName?: string;
|
|
88
|
+
group: CommandDataQuotaGroup | null;
|
|
89
|
+
remainingFraction: number;
|
|
90
|
+
resetTime?: string;
|
|
91
|
+
}>;
|
|
92
|
+
modelCount: number;
|
|
93
|
+
error?: string;
|
|
94
|
+
};
|
|
95
|
+
updatedAccount?: CommandDataAccountMetadata;
|
|
96
|
+
};
|
|
97
|
+
export interface CommandDataAccountStorage {
|
|
98
|
+
version: 4;
|
|
99
|
+
activeIndex: number;
|
|
100
|
+
activeIndexByFamily?: {
|
|
101
|
+
claude?: number;
|
|
102
|
+
gemini?: number;
|
|
103
|
+
};
|
|
104
|
+
accounts: CommandDataAccountMetadata[];
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Privacy-safe per-account row shown in `/antigravity-*` data-first
|
|
108
|
+
* dialogs. Carries the cached quota percentages and the labels the
|
|
109
|
+
* dialog needs, but NEVER the email — the email stays in private
|
|
110
|
+
* account storage and is invisible to the sidebar and the dialog.
|
|
111
|
+
*
|
|
112
|
+
* `index` is the position in the live account array at the time of
|
|
113
|
+
* projection. It is informational only and is NOT a stable identity
|
|
114
|
+
* across refreshes — concurrent OAuth can renumber the array between
|
|
115
|
+
* the dialog opening and a refresh.
|
|
116
|
+
*/
|
|
117
|
+
export interface CommandAccountRow {
|
|
118
|
+
/** Stable identity for dialog keying (`acct-<index>`). */
|
|
119
|
+
id: string;
|
|
120
|
+
/** Position in the live account array at projection time. */
|
|
121
|
+
index: number;
|
|
122
|
+
/** Privacy-safe ordinal display label (for example, `Account 1`). */
|
|
123
|
+
label: string;
|
|
124
|
+
enabled: boolean;
|
|
125
|
+
/** `true` when this row matches the harness-active account. */
|
|
126
|
+
current: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Absolute timestamp (ms) until which this account is rate-limited.
|
|
129
|
+
* Carried on the row so the sidebar refresher can match cooldowns
|
|
130
|
+
* without relying on unstable numeric indices.
|
|
131
|
+
*/
|
|
132
|
+
coolingDownUntil?: number;
|
|
133
|
+
/** Health score in [0, 100], forwarded from the live tracker. */
|
|
134
|
+
healthScore?: number;
|
|
135
|
+
quota: Array<{
|
|
136
|
+
key: 'gemini' | 'non-gemini';
|
|
137
|
+
label: string;
|
|
138
|
+
remainingPercent: number | null;
|
|
139
|
+
resetAt?: number;
|
|
140
|
+
windows?: Array<{
|
|
141
|
+
window: 'weekly' | '5h';
|
|
142
|
+
remainingPercent: number;
|
|
143
|
+
resetAt?: number;
|
|
144
|
+
}>;
|
|
145
|
+
}>;
|
|
146
|
+
/** Captured plan tier. Absent when unknown; never defaulted. */
|
|
147
|
+
tier?: {
|
|
148
|
+
id: string;
|
|
149
|
+
capturedAt: number;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
interface LiveAccountSnapshot {
|
|
153
|
+
index: number;
|
|
154
|
+
refreshToken: string;
|
|
155
|
+
label?: string;
|
|
156
|
+
enabled: boolean;
|
|
157
|
+
active: boolean;
|
|
158
|
+
cachedQuota?: Partial<Record<CommandDataQuotaGroup, CommandDataQuotaGroupSummary>>;
|
|
159
|
+
cachedQuotaUpdatedAt?: number;
|
|
160
|
+
cachedQuotaAccountId?: string;
|
|
161
|
+
accountIneligible?: boolean;
|
|
162
|
+
coolingDownUntil?: number;
|
|
163
|
+
healthScore?: number;
|
|
164
|
+
/** Captured plan tier from the most recent loadCodeAssist response. */
|
|
165
|
+
capturedTierId?: string;
|
|
166
|
+
/** Captured paid-tier ID from the most recent loadCodeAssist response. */
|
|
167
|
+
capturedPaidTierId?: string;
|
|
168
|
+
/** Epoch ms when capturedTierId was last recorded. */
|
|
169
|
+
capturedTierAt?: number;
|
|
170
|
+
}
|
|
171
|
+
export declare function projectCommandAccountRows(storage: CommandDataAccountStorage | null | undefined): CommandAccountRow[];
|
|
172
|
+
/**
|
|
173
|
+
* Live AccountManager view the data service needs.
|
|
174
|
+
*
|
|
175
|
+
* - `getAccounts()` returns the in-memory snapshot — used for cache-only
|
|
176
|
+
* reads during dialog open and for re-reading the post-mutation state.
|
|
177
|
+
* `getAccountsForQuotaCheck()` returns the freshest `AccountMetadataV3`
|
|
178
|
+
* (the canonical shape the quota manager expects).
|
|
179
|
+
* - `updateQuotaCache(index, groups)` + `requestSaveToDisk()` fold the
|
|
180
|
+
* refreshed quota back into the live view and persist it. The service
|
|
181
|
+
* calls them together after the network fetch resolves.
|
|
182
|
+
* - `setAccountEnabled`, `setAccountCurrent`, `removeAccountByIndex`
|
|
183
|
+
* mirror the CLI menu's mutation primitives — the dialog actions
|
|
184
|
+
* (Task 10) reuse them so the TUI never invents its own mutation
|
|
185
|
+
* logic. Each method returns `true` when the live view changed.
|
|
186
|
+
* - `getRefreshTokenAt(index)` lets the service identify the canonical
|
|
187
|
+
* account identity before it reaches the locked storage mutator; a
|
|
188
|
+
* concurrent OAuth could renumber the flat array between the dialog
|
|
189
|
+
* opening and the apply, so keying by refresh token is mandatory.
|
|
190
|
+
* - `flushSaveToDisk()` drains the AccountManager's debounced save so a
|
|
191
|
+
* dialog-triggered mutation lands on disk before the dialog's response
|
|
192
|
+
* returns. Without it, the dialog could toast "Account removed" while
|
|
193
|
+
* the file still carries the old pool.
|
|
194
|
+
*/
|
|
195
|
+
export interface CommandDataAccountManagerView {
|
|
196
|
+
getAccounts(): LiveAccountSnapshot[];
|
|
197
|
+
getAccountsForQuotaCheck(): CommandDataAccountMetadata[];
|
|
198
|
+
updateQuotaCache(index: number, groups: Partial<Record<CommandDataQuotaGroup, CommandDataQuotaGroupSummary>>, expectedRefreshToken?: string): void;
|
|
199
|
+
requestSaveToDisk(): void;
|
|
200
|
+
flushSaveToDisk(): Promise<void>;
|
|
201
|
+
/**
|
|
202
|
+
* Per-family live cursor. Used by the remove path so the persisted
|
|
203
|
+
* `activeIndexByFamily` follows each model's currently-active account
|
|
204
|
+
* independently — collapsing both families to a single index would
|
|
205
|
+
* silently unelect one family on every restart.
|
|
206
|
+
*/
|
|
207
|
+
getActiveIndexByFamily(): {
|
|
208
|
+
claude: number;
|
|
209
|
+
gemini: number;
|
|
210
|
+
};
|
|
211
|
+
/** Enable/disable the account at `index`. Returns true when it changed. */
|
|
212
|
+
setAccountEnabled(index: number, enabled: boolean): boolean;
|
|
213
|
+
/** Pin `index` as the active account for every family the dialog cares about. */
|
|
214
|
+
setAccountCurrent(index: number): boolean;
|
|
215
|
+
/** Remove the account at `index` from the live view. Returns true when it changed. */
|
|
216
|
+
removeAccountByIndex(index: number): boolean;
|
|
217
|
+
/** Canonical refresh token for the account at `index`, or undefined. */
|
|
218
|
+
getRefreshTokenAt(index: number): string | undefined;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Storage adapter the data service uses for re-read-under-lock writes.
|
|
222
|
+
* `mutate` runs the supplied callback against the latest snapshot under
|
|
223
|
+
* the file lock — the callback receives the current storage and may
|
|
224
|
+
* return a replacement; returning the input unchanged is a no-op.
|
|
225
|
+
*
|
|
226
|
+
* The promise resolves with the (possibly mutated) storage snapshot so
|
|
227
|
+
* the data service can await it. A rejected promise signals a failed
|
|
228
|
+
* write — `AccountStorageUnreadableError`, lock contention, or any
|
|
229
|
+
* other I/O failure — which the data service surfaces to the dialog
|
|
230
|
+
* as a friendly error toast.
|
|
231
|
+
*/
|
|
232
|
+
export interface CommandDataStorage {
|
|
233
|
+
mutate(mutator: (current: CommandDataAccountStorage) => CommandDataAccountStorage | undefined | Promise<CommandDataAccountStorage | undefined>): Promise<CommandDataAccountStorage | undefined> | undefined;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Options for `createCommandDataService`. Each field is required so
|
|
237
|
+
* production wiring is explicit — a missing dependency is a startup
|
|
238
|
+
* error, not a silent no-op at dialog-open time.
|
|
239
|
+
*/
|
|
240
|
+
export interface CommandDataServiceOptions {
|
|
241
|
+
accountManagerView: CommandDataAccountManagerView;
|
|
242
|
+
quotaManager: {
|
|
243
|
+
refreshAccounts(accounts: CommandDataAccountMetadata[], options: {
|
|
244
|
+
indexFor?: (account: CommandDataAccountMetadata) => number;
|
|
245
|
+
force?: boolean;
|
|
246
|
+
}): Promise<CommandDataAccountQuotaResult[]>;
|
|
247
|
+
};
|
|
248
|
+
/** Path to the label-only sidebar state file. */
|
|
249
|
+
sidebarStateFile: string;
|
|
250
|
+
/**
|
|
251
|
+
* Optional storage adapter. When provided, the service persists the
|
|
252
|
+
* refreshed quota to disk via the lock-held mutator (best-effort —
|
|
253
|
+
* a lock contention never breaks the dialog response). When omitted,
|
|
254
|
+
* the service still folds results into the live AccountManager view;
|
|
255
|
+
* the auth-loader is responsible for the on-disk write.
|
|
256
|
+
*/
|
|
257
|
+
storage?: CommandDataStorage;
|
|
258
|
+
/** Clock for `cachedQuotaUpdatedAt`. Tests inject a fixed clock. */
|
|
259
|
+
now?: () => number;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Public surface of the command-data service. Each method is the
|
|
263
|
+
* smallest possible projection so the dialog layer never has to know
|
|
264
|
+
* how the underlying quota manager or storage adapter is wired.
|
|
265
|
+
*/
|
|
266
|
+
export interface CommandDataService {
|
|
267
|
+
/**
|
|
268
|
+
* Cache-only snapshot. Performs zero quota manager calls — safe to
|
|
269
|
+
* call as part of the dialog's open path.
|
|
270
|
+
*/
|
|
271
|
+
listAccounts(): Promise<CommandAccountRow[]>;
|
|
272
|
+
/**
|
|
273
|
+
* Force-refresh quota through the shared quota manager, persist by
|
|
274
|
+
* refresh token, bump `cachedQuotaUpdatedAt`, and push a label-only
|
|
275
|
+
* sidebar snapshot. Returns the freshly persisted rows so the
|
|
276
|
+
* dialog can re-render in place.
|
|
277
|
+
*
|
|
278
|
+
* Bypass flag is intentional: explicit user-triggered refreshes
|
|
279
|
+
* ("Refresh" button, direct slash-command with `refresh` argument)
|
|
280
|
+
* must always fetch, even if the quota manager has backed off.
|
|
281
|
+
*/
|
|
282
|
+
refreshQuota(): Promise<CommandAccountRow[]>;
|
|
283
|
+
/**
|
|
284
|
+
* Non-forced quota check that RESPECTS the quota manager's per-account
|
|
285
|
+
* backoff. Used by the dialog OPEN path — which is a VIEW, not a user
|
|
286
|
+
* request to fetch. Accounts already fresh (or in backoff) are skipped;
|
|
287
|
+
* the result is discarded (the sidebar poller carries the freshness
|
|
288
|
+
* guarantee for idle accounts).
|
|
289
|
+
*/
|
|
290
|
+
refreshQuotaRespectingBackoff(): Promise<void>;
|
|
291
|
+
/**
|
|
292
|
+
* Pin `index` as the active account for every family the dialog
|
|
293
|
+
* tracks (claude + gemini). Mutates the live AccountManager AND the
|
|
294
|
+
* locked storage so the new active index survives a restart. Returns
|
|
295
|
+
* the freshly projected rows so the dialog can re-render in place.
|
|
296
|
+
* Returns `null` when the index is out of range or the account has
|
|
297
|
+
* no refresh token — the dialog surfaces the null as a toast.
|
|
298
|
+
*/
|
|
299
|
+
setCurrentAccount(index: number): Promise<CommandAccountRow[] | null>;
|
|
300
|
+
/**
|
|
301
|
+
* Flip the `enabled` flag on the account at `index`. Mirrors the CLI
|
|
302
|
+
* menu's "manage" toggle so the on-disk state matches what the CLI
|
|
303
|
+
* would produce. Returns the freshly projected rows (or `null` when
|
|
304
|
+
* the index is invalid or the account is ineligible).
|
|
305
|
+
*/
|
|
306
|
+
toggleAccountEnabled(index: number): Promise<CommandAccountRow[] | null>;
|
|
307
|
+
/**
|
|
308
|
+
* Remove the account at `index` from both the live view and the
|
|
309
|
+
* locked storage. Removal renumbers the flat `accounts[]` array so
|
|
310
|
+
* the returned rows use the freshest indices; callers MUST re-key
|
|
311
|
+
* their transient dialog IDs (`acct-${index}`) by the row's `id`
|
|
312
|
+
* field after this method returns.
|
|
313
|
+
*
|
|
314
|
+
* Returns `null` when the index is out of range — the dialog
|
|
315
|
+
* surfaces the null as a toast.
|
|
316
|
+
*/
|
|
317
|
+
removeAccount(index: number): Promise<CommandAccountRow[] | null>;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Build the data service.
|
|
321
|
+
*
|
|
322
|
+
* The factory form (instead of a module-level singleton) keeps the
|
|
323
|
+
* service unit-testable: each test constructs its own dependencies
|
|
324
|
+
* (storage stub, quota manager stub, fixed clock) without touching
|
|
325
|
+
* the production quota path.
|
|
326
|
+
*/
|
|
327
|
+
export declare function createCommandDataService(options: CommandDataServiceOptions): CommandDataService;
|
|
328
|
+
export {};
|
|
329
|
+
//# sourceMappingURL=command-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-data.d.ts","sourceRoot":"","sources":["../../../src/plugin/command-data.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAYH;;;;;;;;;;GAUG;AACH,KAAK,0BAA0B,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CACnB,MAAM,CAAC,qBAAqB,EAAE,4BAA4B,CAAC,CAC5D,CAAA;IACD,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AAED,KAAK,qBAAqB,GAAG,QAAQ,GAAG,YAAY,CAAA;AAEpD,KAAK,4BAA4B,GAAG;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IA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