@cortexkit/opencode-antigravity-auth 3.0.5 → 3.0.7
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 +38 -352
- package/dist/cli.js +13757 -12857
- package/dist/cli.js.map +4 -4
- package/dist/cli.meta.json +1362 -1056
- package/dist/index.js +16038 -16162
- package/dist/index.js.map +4 -4
- package/dist/index.meta.json +1447 -1375
- package/dist/server.js +11254 -10921
- package/dist/server.js.map +4 -4
- package/dist/server.meta.json +1 -1
- package/dist/src/auth-method-labels.d.ts +3 -0
- package/dist/src/auth-method-labels.d.ts.map +1 -0
- package/dist/src/auth-method-labels.js +5 -0
- package/dist/src/auth-method-labels.js.map +1 -0
- package/dist/src/cli.d.ts +3 -1
- package/dist/src/cli.d.ts.map +1 -1
- package/dist/src/cli.js +98 -12
- package/dist/src/cli.js.map +1 -1
- package/dist/src/common-auth-embedded/claustrum/consumer.d.ts +44 -4
- package/dist/src/common-auth-embedded/claustrum/consumer.js +134 -2
- package/dist/src/common-auth-embedded/claustrum/custody.d.ts +33 -1
- package/dist/src/common-auth-embedded/claustrum/custody.js +17 -0
- package/dist/src/common-auth-embedded/claustrum/enrollment.d.ts +6 -1
- package/dist/src/common-auth-embedded/claustrum/enrollment.js +6 -1
- package/dist/src/common-auth-embedded/claustrum/index.d.ts +3 -2
- package/dist/src/common-auth-embedded/claustrum/index.js +5 -3
- package/dist/src/common-auth-embedded/claustrum/insula.d.ts +69 -0
- package/dist/src/common-auth-embedded/claustrum/insula.js +152 -0
- package/dist/src/common-auth-embedded/claustrum/roster.d.ts +13 -0
- package/dist/src/common-auth-embedded/claustrum/roster.js +33 -3
- package/dist/src/common-auth-embedded/fs/refresh-file-lock.d.ts +8 -2
- package/dist/src/common-auth-embedded/fs/refresh-file-lock.js +26 -12
- package/dist/src/common-auth-embedded/pi-slot/lock.js +7 -3
- package/dist/src/common-auth-embedded/quota/codec.d.ts +2 -0
- package/dist/src/common-auth-embedded/quota/codec.js +2 -1
- package/dist/src/common-auth-embedded/quota/format.d.ts +40 -3
- package/dist/src/common-auth-embedded/quota/format.js +196 -43
- package/dist/src/common-auth-embedded/quota/index.d.ts +4 -4
- package/dist/src/common-auth-embedded/quota/index.js +2 -2
- package/dist/src/common-auth-embedded/quota/map.d.ts +11 -0
- package/dist/src/common-auth-embedded/quota/map.js +36 -1
- package/dist/src/common-auth-embedded/quota/merge.d.ts +3 -1
- package/dist/src/common-auth-embedded/quota/merge.js +21 -5
- package/dist/src/common-auth-embedded/quota/projection.d.ts +2 -1
- package/dist/src/common-auth-embedded/quota/projection.js +3 -1
- package/dist/src/common-auth-embedded/setup/command-error.d.ts +32 -0
- package/dist/src/common-auth-embedded/setup/command-error.js +79 -0
- package/dist/src/common-auth-embedded/setup/command-runner.js +143 -0
- package/dist/src/common-auth-embedded/setup/command.d.ts +3 -0
- package/dist/src/common-auth-embedded/setup/command.js +271 -0
- package/dist/src/common-auth-embedded/setup/config-write.js +60 -0
- package/dist/src/common-auth-embedded/setup/detect.d.ts +6 -0
- package/dist/src/common-auth-embedded/setup/detect.js +224 -0
- package/dist/src/common-auth-embedded/setup/enroll.js +82 -0
- package/dist/src/common-auth-embedded/setup/index.d.ts +6 -0
- package/dist/src/common-auth-embedded/setup/index.js +5 -0
- package/dist/src/common-auth-embedded/setup/paths.js +33 -0
- package/dist/src/common-auth-embedded/setup/process-fence.d.ts +43 -0
- package/dist/src/common-auth-embedded/setup/process-fence.js +270 -0
- package/dist/src/common-auth-embedded/setup/prompts.js +26 -0
- package/dist/src/common-auth-embedded/setup/register.d.ts +11 -0
- package/dist/src/common-auth-embedded/setup/register.js +136 -0
- package/dist/src/common-auth-embedded/setup/types.d.ts +150 -0
- package/dist/src/common-auth-embedded/source-output.json +265 -101
- package/dist/src/common-auth-embedded/store/pool.d.ts +1 -1
- package/dist/src/common-auth-embedded/store/pool.js +0 -1
- package/dist/src/common-auth-embedded/store/refresh-lock.d.ts +0 -1
- package/dist/src/common-auth-embedded/store/refresh-lock.js +0 -1
- package/dist/src/common-auth-embedded/store/schema.d.ts +2 -0
- package/dist/src/common-auth-embedded/store/schema.js +3 -2
- package/dist/src/ga/rpc/protocol.d.ts +4 -7
- package/dist/src/ga/rpc/protocol.d.ts.map +1 -1
- package/dist/src/ga/rpc/protocol.js +5 -13
- package/dist/src/ga/rpc/protocol.js.map +1 -1
- package/dist/src/ga/server/auth.d.ts +8 -3
- package/dist/src/ga/server/auth.d.ts.map +1 -1
- package/dist/src/ga/server/auth.js +25 -9
- package/dist/src/ga/server/auth.js.map +1 -1
- package/dist/src/ga/server/index.d.ts +39 -12
- package/dist/src/ga/server/index.d.ts.map +1 -1
- package/dist/src/ga/server/index.js +218 -55
- package/dist/src/ga/server/index.js.map +1 -1
- package/dist/src/ga/server/pool-login.d.ts +22 -0
- package/dist/src/ga/server/pool-login.d.ts.map +1 -0
- package/dist/src/ga/server/pool-login.js +150 -0
- package/dist/src/ga/server/pool-login.js.map +1 -0
- package/dist/src/ga/tui/host-ga.d.ts +2 -5
- package/dist/src/ga/tui/host-ga.d.ts.map +1 -1
- package/dist/src/ga/tui/host-ga.js +54 -52
- package/dist/src/ga/tui/host-ga.js.map +1 -1
- package/dist/src/plugin/accounts.d.ts +1 -1
- package/dist/src/plugin/accounts.d.ts.map +1 -1
- package/dist/src/plugin/accounts.js +1 -0
- package/dist/src/plugin/accounts.js.map +1 -1
- package/dist/src/plugin/background-vault-quota-refresh.d.ts +2 -0
- package/dist/src/plugin/background-vault-quota-refresh.d.ts.map +1 -1
- package/dist/src/plugin/background-vault-quota-refresh.js +125 -10
- package/dist/src/plugin/background-vault-quota-refresh.js.map +1 -1
- package/dist/src/plugin/command-apply.d.ts +2 -2
- package/dist/src/plugin/command-apply.d.ts.map +1 -1
- package/dist/src/plugin/command-apply.js +3 -10
- package/dist/src/plugin/command-apply.js.map +1 -1
- package/dist/src/plugin/commands.d.ts +1 -0
- package/dist/src/plugin/commands.d.ts.map +1 -1
- package/dist/src/plugin/commands.js +2 -2
- package/dist/src/plugin/commands.js.map +1 -1
- package/dist/src/plugin/config/operator-settings-schema.d.ts +0 -4
- package/dist/src/plugin/config/operator-settings-schema.d.ts.map +1 -1
- package/dist/src/plugin/config/operator-settings-schema.js +0 -5
- package/dist/src/plugin/config/operator-settings-schema.js.map +1 -1
- package/dist/src/plugin/config/schema.d.ts +0 -7
- package/dist/src/plugin/config/schema.d.ts.map +1 -1
- package/dist/src/plugin/config/schema.js +2 -44
- package/dist/src/plugin/config/schema.js.map +1 -1
- package/dist/src/plugin/config/writer.d.ts +1 -1
- package/dist/src/plugin/config/writer.js +1 -1
- package/dist/src/plugin/fetch/retry-state.d.ts +19 -3
- package/dist/src/plugin/fetch/retry-state.d.ts.map +1 -1
- package/dist/src/plugin/fetch/retry-state.js +0 -6
- package/dist/src/plugin/fetch/retry-state.js.map +1 -1
- package/dist/src/plugin/fetch-interceptor.d.ts.map +1 -1
- package/dist/src/plugin/fetch-interceptor.js +0 -3
- package/dist/src/plugin/fetch-interceptor.js.map +1 -1
- package/dist/src/plugin/fetch-routing.d.ts +0 -16
- package/dist/src/plugin/fetch-routing.d.ts.map +1 -1
- package/dist/src/plugin/fetch-routing.js +0 -49
- package/dist/src/plugin/fetch-routing.js.map +1 -1
- package/dist/src/plugin/ga-location-services.d.ts +14 -9
- package/dist/src/plugin/ga-location-services.d.ts.map +1 -1
- package/dist/src/plugin/ga-location-services.js +124 -43
- package/dist/src/plugin/ga-location-services.js.map +1 -1
- package/dist/src/plugin/gemini-dump.d.ts.map +1 -1
- package/dist/src/plugin/gemini-dump.js +2 -5
- package/dist/src/plugin/gemini-dump.js.map +1 -1
- package/dist/src/plugin/google-origin.d.ts +7 -0
- package/dist/src/plugin/google-origin.d.ts.map +1 -0
- package/dist/src/plugin/google-origin.js +14 -0
- package/dist/src/plugin/google-origin.js.map +1 -0
- package/dist/src/plugin/index.d.ts.map +1 -1
- package/dist/src/plugin/index.js +18 -7
- package/dist/src/plugin/index.js.map +1 -1
- package/dist/src/plugin/logging-utils.d.ts.map +1 -1
- package/dist/src/plugin/logging-utils.js +2 -5
- package/dist/src/plugin/logging-utils.js.map +1 -1
- package/dist/src/plugin/oauth-methods.d.ts.map +1 -1
- package/dist/src/plugin/oauth-methods.js +0 -33
- package/dist/src/plugin/oauth-methods.js.map +1 -1
- package/dist/src/plugin/operator-settings.d.ts +1 -1
- package/dist/src/plugin/operator-settings.d.ts.map +1 -1
- package/dist/src/plugin/operator-settings.js +1 -8
- package/dist/src/plugin/operator-settings.js.map +1 -1
- package/dist/src/plugin/quota.d.ts +11 -7
- package/dist/src/plugin/quota.d.ts.map +1 -1
- package/dist/src/plugin/quota.js +128 -102
- package/dist/src/plugin/quota.js.map +1 -1
- package/dist/src/plugin/request.d.ts +6 -5
- package/dist/src/plugin/request.d.ts.map +1 -1
- package/dist/src/plugin/request.js +95 -180
- package/dist/src/plugin/request.js.map +1 -1
- package/dist/src/plugin/server.d.ts.map +1 -1
- package/dist/src/plugin/server.js +60 -53
- package/dist/src/plugin/server.js.map +1 -1
- package/dist/src/plugin/shared/advisory-repository.d.ts +20 -0
- package/dist/src/plugin/shared/advisory-repository.d.ts.map +1 -0
- package/dist/src/plugin/shared/advisory-repository.js +91 -0
- package/dist/src/plugin/shared/advisory-repository.js.map +1 -0
- package/dist/src/plugin/shared/request-services.d.ts +27 -26
- package/dist/src/plugin/shared/request-services.d.ts.map +1 -1
- package/dist/src/plugin/shared/request-services.js +244 -245
- package/dist/src/plugin/shared/request-services.js.map +1 -1
- package/dist/src/plugin/shared/runtime.js +4 -2
- package/dist/src/plugin/shared/runtime.js.map +1 -1
- package/dist/src/plugin/shared/vault-request-credentials.d.ts +16 -4
- package/dist/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
- package/dist/src/plugin/shared/vault-request-credentials.js +44 -7
- package/dist/src/plugin/shared/vault-request-credentials.js.map +1 -1
- package/dist/src/plugin/storage.d.ts +2 -2
- package/dist/src/plugin/storage.d.ts.map +1 -1
- package/dist/src/plugin/storage.js.map +1 -1
- package/dist/src/plugin/vault-custody.d.ts +14 -1
- package/dist/src/plugin/vault-custody.d.ts.map +1 -1
- package/dist/src/plugin/vault-custody.js +203 -44
- package/dist/src/plugin/vault-custody.js.map +1 -1
- package/dist/src/plugin/vault-quota-outcome.d.ts +19 -0
- package/dist/src/plugin/vault-quota-outcome.d.ts.map +1 -0
- package/dist/src/plugin/vault-quota-outcome.js +47 -0
- package/dist/src/plugin/vault-quota-outcome.js.map +1 -0
- package/dist/src/quota-presentation.d.ts +29 -1
- package/dist/src/quota-presentation.d.ts.map +1 -1
- package/dist/src/quota-presentation.js +52 -17
- package/dist/src/quota-presentation.js.map +1 -1
- package/dist/src/setup.d.ts +15 -0
- package/dist/src/setup.d.ts.map +1 -0
- package/dist/src/setup.js +320 -0
- package/dist/src/setup.js.map +1 -0
- package/dist/src/sidebar-projection.d.ts +5 -1
- package/dist/src/sidebar-projection.d.ts.map +1 -1
- package/dist/src/sidebar-projection.js +6 -2
- package/dist/src/sidebar-projection.js.map +1 -1
- package/dist/src/sidebar-state.d.ts +1 -1
- package/dist/src/sidebar-state.d.ts.map +1 -1
- package/dist/src/sidebar-state.js +19 -1
- package/dist/src/sidebar-state.js.map +1 -1
- package/dist/src/tui/quota-layout.d.ts +94 -0
- package/dist/src/tui/quota-layout.d.ts.map +1 -0
- package/dist/src/tui/quota-layout.js +139 -0
- package/dist/src/tui/quota-layout.js.map +1 -0
- package/dist/src/tui/route-layout.d.ts +8 -0
- package/dist/src/tui/route-layout.d.ts.map +1 -0
- package/dist/src/tui/route-layout.js +36 -0
- package/dist/src/tui/route-layout.js.map +1 -0
- package/dist/src/tui.d.ts.map +1 -1
- package/dist/src/tui.js +120 -127
- package/dist/src/tui.js.map +1 -1
- package/dist/tui-build-map.json +66 -37
- package/dist/tui-ga-build-map.json +66 -37
- package/dist/types/src/auth-method-labels.d.ts +3 -0
- package/dist/types/src/auth-method-labels.d.ts.map +1 -0
- package/dist/types/src/cli.d.ts +3 -1
- package/dist/types/src/cli.d.ts.map +1 -1
- package/dist/types/src/common-auth-embedded/auth-menu/terminal.d.ts +43 -0
- package/dist/types/src/common-auth-embedded/claustrum/consumer.d.ts +142 -0
- package/dist/types/src/common-auth-embedded/claustrum/custody.d.ts +207 -0
- package/dist/types/src/common-auth-embedded/claustrum/enrollment.d.ts +164 -0
- package/dist/types/src/common-auth-embedded/claustrum/errors.d.ts +16 -0
- package/dist/types/src/common-auth-embedded/claustrum/host-slot.d.ts +39 -0
- package/dist/types/src/common-auth-embedded/claustrum/index.d.ts +19 -0
- package/dist/types/src/common-auth-embedded/claustrum/insula.d.ts +69 -0
- package/dist/types/src/common-auth-embedded/claustrum/interlock.d.ts +27 -0
- package/dist/types/src/common-auth-embedded/claustrum/roster.d.ts +221 -0
- package/dist/types/src/common-auth-embedded/fs/refresh-file-lock.d.ts +8 -2
- package/dist/types/src/common-auth-embedded/opencode2/errors.d.ts +25 -0
- package/dist/types/src/common-auth-embedded/opencode2/index.d.ts +8 -0
- package/dist/types/src/common-auth-embedded/opencode2/install.d.ts +55 -0
- package/dist/types/src/common-auth-embedded/opencode2/integration.d.ts +112 -0
- package/dist/types/src/common-auth-embedded/opencode2/sse.d.ts +12 -0
- package/dist/types/src/common-auth-embedded/opencode2/types.d.ts +413 -0
- package/dist/types/src/common-auth-embedded/quota/codec.d.ts +2 -0
- package/dist/types/src/common-auth-embedded/quota/format.d.ts +40 -3
- package/dist/types/src/common-auth-embedded/quota/index.d.ts +4 -4
- package/dist/types/src/common-auth-embedded/quota/map.d.ts +11 -0
- package/dist/types/src/common-auth-embedded/quota/merge.d.ts +3 -1
- package/dist/types/src/common-auth-embedded/quota/projection.d.ts +2 -1
- package/dist/types/src/common-auth-embedded/routing/admission.d.ts +93 -0
- package/dist/types/src/common-auth-embedded/routing/index.d.ts +8 -0
- package/dist/types/src/common-auth-embedded/routing/ordered.d.ts +47 -0
- package/dist/types/src/common-auth-embedded/routing/pins.d.ts +22 -0
- package/dist/types/src/common-auth-embedded/routing/sticky.d.ts +158 -0
- package/dist/types/src/common-auth-embedded/setup/command-error.d.ts +32 -0
- package/dist/types/src/common-auth-embedded/setup/command.d.ts +3 -0
- package/dist/types/src/common-auth-embedded/setup/detect.d.ts +6 -0
- package/dist/types/src/common-auth-embedded/setup/index.d.ts +6 -0
- package/dist/types/src/common-auth-embedded/setup/process-fence.d.ts +43 -0
- package/dist/types/src/common-auth-embedded/setup/register.d.ts +11 -0
- package/dist/types/src/common-auth-embedded/setup/types.d.ts +150 -0
- package/dist/types/src/common-auth-embedded/store/pool.d.ts +1 -1
- package/dist/types/src/common-auth-embedded/store/refresh-lock.d.ts +0 -1
- package/dist/types/src/common-auth-embedded/store/schema.d.ts +2 -0
- package/dist/types/src/ga/rpc/protocol.d.ts +4 -7
- package/dist/types/src/ga/rpc/protocol.d.ts.map +1 -1
- package/dist/types/src/ga/server/auth.d.ts +8 -3
- package/dist/types/src/ga/server/auth.d.ts.map +1 -1
- package/dist/types/src/ga/server/index.d.ts +39 -12
- package/dist/types/src/ga/server/index.d.ts.map +1 -1
- package/dist/types/src/ga/server/pool-login.d.ts +22 -0
- package/dist/types/src/ga/server/pool-login.d.ts.map +1 -0
- package/dist/types/src/plugin/accounts.d.ts +1 -1
- package/dist/types/src/plugin/accounts.d.ts.map +1 -1
- package/dist/types/src/plugin/background-vault-quota-refresh.d.ts +2 -0
- package/dist/types/src/plugin/background-vault-quota-refresh.d.ts.map +1 -1
- package/dist/types/src/plugin/command-apply.d.ts +2 -2
- package/dist/types/src/plugin/command-apply.d.ts.map +1 -1
- package/dist/types/src/plugin/commands.d.ts +1 -0
- package/dist/types/src/plugin/commands.d.ts.map +1 -1
- package/dist/types/src/plugin/config/operator-settings-schema.d.ts +0 -4
- package/dist/types/src/plugin/config/operator-settings-schema.d.ts.map +1 -1
- package/dist/types/src/plugin/config/schema.d.ts +0 -7
- package/dist/types/src/plugin/config/schema.d.ts.map +1 -1
- package/dist/types/src/plugin/config/writer.d.ts +1 -1
- package/dist/types/src/plugin/fetch/retry-state.d.ts +19 -3
- package/dist/types/src/plugin/fetch/retry-state.d.ts.map +1 -1
- package/dist/types/src/plugin/fetch-interceptor.d.ts.map +1 -1
- package/dist/types/src/plugin/fetch-routing.d.ts +0 -16
- package/dist/types/src/plugin/fetch-routing.d.ts.map +1 -1
- package/dist/types/src/plugin/ga-location-services.d.ts +14 -9
- package/dist/types/src/plugin/ga-location-services.d.ts.map +1 -1
- package/dist/types/src/plugin/gemini-dump.d.ts.map +1 -1
- package/dist/types/src/plugin/google-origin.d.ts +7 -0
- package/dist/types/src/plugin/google-origin.d.ts.map +1 -0
- package/dist/types/src/plugin/index.d.ts.map +1 -1
- package/dist/types/src/plugin/logging-utils.d.ts.map +1 -1
- package/dist/types/src/plugin/oauth-methods.d.ts.map +1 -1
- package/dist/types/src/plugin/operator-settings.d.ts +1 -1
- package/dist/types/src/plugin/operator-settings.d.ts.map +1 -1
- package/dist/types/src/plugin/quota.d.ts +11 -7
- package/dist/types/src/plugin/quota.d.ts.map +1 -1
- package/dist/types/src/plugin/request.d.ts +6 -5
- package/dist/types/src/plugin/request.d.ts.map +1 -1
- package/dist/types/src/plugin/server.d.ts.map +1 -1
- package/dist/types/src/plugin/shared/advisory-repository.d.ts +20 -0
- package/dist/types/src/plugin/shared/advisory-repository.d.ts.map +1 -0
- package/dist/types/src/plugin/shared/request-services.d.ts +27 -26
- package/dist/types/src/plugin/shared/request-services.d.ts.map +1 -1
- package/dist/types/src/plugin/shared/vault-request-credentials.d.ts +16 -4
- package/dist/types/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
- package/dist/types/src/plugin/storage.d.ts +2 -2
- package/dist/types/src/plugin/storage.d.ts.map +1 -1
- package/dist/types/src/plugin/vault-custody.d.ts +14 -1
- package/dist/types/src/plugin/vault-custody.d.ts.map +1 -1
- package/dist/types/src/plugin/vault-quota-outcome.d.ts +19 -0
- package/dist/types/src/plugin/vault-quota-outcome.d.ts.map +1 -0
- package/dist/types/src/setup.d.ts +15 -0
- package/dist/types/src/setup.d.ts.map +1 -0
- package/dist/types/src/sidebar-state.d.ts +1 -1
- package/dist/types/src/sidebar-state.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/common-auth-embedded/claustrum/consumer.d.ts +44 -4
- package/src/common-auth-embedded/claustrum/consumer.js +134 -2
- package/src/common-auth-embedded/claustrum/custody.d.ts +33 -1
- package/src/common-auth-embedded/claustrum/custody.js +17 -0
- package/src/common-auth-embedded/claustrum/enrollment.d.ts +6 -1
- package/src/common-auth-embedded/claustrum/enrollment.js +6 -1
- package/src/common-auth-embedded/claustrum/index.d.ts +3 -2
- package/src/common-auth-embedded/claustrum/index.js +5 -3
- package/src/common-auth-embedded/claustrum/insula.d.ts +69 -0
- package/src/common-auth-embedded/claustrum/insula.js +152 -0
- package/src/common-auth-embedded/claustrum/roster.d.ts +13 -0
- package/src/common-auth-embedded/claustrum/roster.js +33 -3
- package/src/common-auth-embedded/fs/refresh-file-lock.d.ts +8 -2
- package/src/common-auth-embedded/fs/refresh-file-lock.js +26 -12
- package/src/common-auth-embedded/pi-slot/lock.js +7 -3
- package/src/common-auth-embedded/quota/codec.d.ts +2 -0
- package/src/common-auth-embedded/quota/codec.js +2 -1
- package/src/common-auth-embedded/quota/format.d.ts +40 -3
- package/src/common-auth-embedded/quota/format.js +196 -43
- package/src/common-auth-embedded/quota/index.d.ts +4 -4
- package/src/common-auth-embedded/quota/index.js +2 -2
- package/src/common-auth-embedded/quota/map.d.ts +11 -0
- package/src/common-auth-embedded/quota/map.js +36 -1
- package/src/common-auth-embedded/quota/merge.d.ts +3 -1
- package/src/common-auth-embedded/quota/merge.js +21 -5
- package/src/common-auth-embedded/quota/projection.d.ts +2 -1
- package/src/common-auth-embedded/quota/projection.js +3 -1
- package/src/common-auth-embedded/setup/command-error.d.ts +32 -0
- package/src/common-auth-embedded/setup/command-error.js +79 -0
- package/src/common-auth-embedded/setup/command-runner.js +143 -0
- package/src/common-auth-embedded/setup/command.d.ts +3 -0
- package/src/common-auth-embedded/setup/command.js +271 -0
- package/src/common-auth-embedded/setup/config-write.js +60 -0
- package/src/common-auth-embedded/setup/detect.d.ts +6 -0
- package/src/common-auth-embedded/setup/detect.js +224 -0
- package/src/common-auth-embedded/setup/enroll.js +82 -0
- package/src/common-auth-embedded/setup/index.d.ts +6 -0
- package/src/common-auth-embedded/setup/index.js +5 -0
- package/src/common-auth-embedded/setup/paths.js +33 -0
- package/src/common-auth-embedded/setup/process-fence.d.ts +43 -0
- package/src/common-auth-embedded/setup/process-fence.js +270 -0
- package/src/common-auth-embedded/setup/prompts.js +26 -0
- package/src/common-auth-embedded/setup/register.d.ts +11 -0
- package/src/common-auth-embedded/setup/register.js +136 -0
- package/src/common-auth-embedded/setup/types.d.ts +150 -0
- package/src/common-auth-embedded/source-output.json +265 -101
- package/src/common-auth-embedded/store/pool.d.ts +1 -1
- package/src/common-auth-embedded/store/pool.js +0 -1
- package/src/common-auth-embedded/store/refresh-lock.d.ts +0 -1
- package/src/common-auth-embedded/store/refresh-lock.js +0 -1
- package/src/common-auth-embedded/store/schema.d.ts +2 -0
- package/src/common-auth-embedded/store/schema.js +3 -2
- package/src/sidebar-state.ts +19 -2
- package/src/tui-compiled/common-auth-embedded/quota/codec.js +2 -1
- package/src/tui-compiled/common-auth-embedded/quota/format.js +196 -43
- package/src/tui-compiled/common-auth-embedded/quota/index.js +2 -2
- package/src/tui-compiled/common-auth-embedded/quota/map.js +36 -1
- package/src/tui-compiled/common-auth-embedded/quota/merge.js +21 -5
- package/src/tui-compiled/common-auth-embedded/quota/projection.js +3 -1
- package/src/tui-compiled/quota-presentation.js +42 -9
- package/src/tui-compiled/sidebar-state.js +15 -1
- package/src/tui-compiled/tui/quota-layout.js +378 -0
- package/src/tui-compiled/tui/route-layout.js +30 -0
- package/src/tui-compiled/tui.js +271 -371
- package/src/tui-ga-compiled/host-ga.js +93 -90
- package/src/tui-ga-compiled/shared/1ff34afa7c42d196-projection.js +3 -1
- package/src/tui-ga-compiled/shared/6ca47cd4ec33fe72-route-layout.js +30 -0
- package/src/tui-ga-compiled/shared/77138df80c7ae006-map.js +36 -1
- package/src/tui-ga-compiled/shared/8ae1927e5910ea81-sidebar-projection.js +2 -2
- package/src/tui-ga-compiled/shared/98cc0c186c46c42d-quota-presentation.js +42 -9
- package/src/tui-ga-compiled/shared/aef2402f8fc342f0-format.js +196 -43
- package/src/tui-ga-compiled/shared/bf17cbee28e58197-index.js +2 -2
- package/src/tui-ga-compiled/shared/ca21dc417b36dc5d-codec.js +2 -1
- package/src/tui-ga-compiled/shared/dd4c9e1a907f8ef0-quota-layout.js +378 -0
- package/src/tui-ga-compiled/shared/ecc214300932dfb6-merge.js +21 -5
- package/src/tui-ga-raw/host-ga.tsx +102 -92
- package/src/tui-ga-raw/shared/1ff34afa7c42d196-projection.js +3 -1
- package/src/tui-ga-raw/shared/6ca47cd4ec33fe72-route-layout.js +30 -0
- package/src/tui-ga-raw/shared/77138df80c7ae006-map.js +36 -1
- package/src/tui-ga-raw/shared/8ae1927e5910ea81-sidebar-projection.js +2 -2
- package/src/tui-ga-raw/shared/98cc0c186c46c42d-quota-presentation.js +42 -9
- package/src/tui-ga-raw/shared/aef2402f8fc342f0-format.js +196 -43
- package/src/tui-ga-raw/shared/bf17cbee28e58197-index.js +2 -2
- package/src/tui-ga-raw/shared/ca21dc417b36dc5d-codec.js +2 -1
- package/src/tui-ga-raw/shared/dd4c9e1a907f8ef0-quota-layout.tsx +391 -0
- package/src/tui-ga-raw/shared/ecc214300932dfb6-merge.js +21 -5
- package/src/tui-raw/common-auth-embedded/quota/codec.js +2 -1
- package/src/tui-raw/common-auth-embedded/quota/format.js +196 -43
- package/src/tui-raw/common-auth-embedded/quota/index.js +2 -2
- package/src/tui-raw/common-auth-embedded/quota/map.js +36 -1
- package/src/tui-raw/common-auth-embedded/quota/merge.js +21 -5
- package/src/tui-raw/common-auth-embedded/quota/projection.js +3 -1
- package/src/tui-raw/quota-presentation.js +42 -9
- package/src/tui-raw/sidebar-state.js +15 -1
- package/src/tui-raw/tui/quota-layout.tsx +391 -0
- package/src/tui-raw/tui/route-layout.js +30 -0
- package/src/tui-raw/tui.tsx +218 -272
- package/src/tui.tsx +218 -272
- package/dist/src/tui/vault-setup.d.ts +0 -98
- package/dist/src/tui/vault-setup.d.ts.map +0 -1
- package/dist/src/tui/vault-setup.js +0 -198
- package/dist/src/tui/vault-setup.js.map +0 -1
- package/dist/types/src/plugin/transform/model-resolver.d.ts +0 -2
- package/dist/types/src/plugin/transform/model-resolver.d.ts.map +0 -1
- package/dist/types/src/quota-presentation.d.ts +0 -18
- package/dist/types/src/quota-presentation.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"package": "@cortexkit/common-auth",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"artifactStatus": "
|
|
4
|
+
"version": "0.19.0",
|
|
5
|
+
"artifactStatus": "published",
|
|
6
6
|
"publicRoots": {
|
|
7
7
|
"./rpc": {
|
|
8
8
|
"types": "./dist/rpc/index.d.ts",
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
"types": "./dist/claustrum/index.d.ts",
|
|
33
33
|
"import": "./dist/claustrum/index.js"
|
|
34
34
|
},
|
|
35
|
+
"./setup": {
|
|
36
|
+
"types": "./dist/setup/index.d.ts",
|
|
37
|
+
"import": "./dist/setup/index.js"
|
|
38
|
+
},
|
|
35
39
|
"./commands": {
|
|
36
40
|
"types": "./dist/commands/index.d.ts",
|
|
37
41
|
"import": "./dist/commands/index.js"
|
|
@@ -57,15 +61,15 @@
|
|
|
57
61
|
"import": "./dist/opencode2/index.js"
|
|
58
62
|
}
|
|
59
63
|
},
|
|
60
|
-
"input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.
|
|
61
|
-
"tarballSha256": "
|
|
62
|
-
"sri": "sha512-
|
|
63
|
-
"canonicalFiles":
|
|
64
|
-
"canonicalBytes":
|
|
64
|
+
"input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.19.0.tgz",
|
|
65
|
+
"tarballSha256": "dd32b53e849a7d98ed861a5f9d3d81645b31169350257ef1732f7827b8684885",
|
|
66
|
+
"sri": "sha512-p7oy26dBllFF6mkQinsyyqqFP8FKoyVvHyt/aQWEGTljn0AbVRj++Co5Mict4ffQUPrujlQwThilUoPn/AsB8Q==",
|
|
67
|
+
"canonicalFiles": 178,
|
|
68
|
+
"canonicalBytes": 962914,
|
|
65
69
|
"generator": {
|
|
66
70
|
"path": "packages/opencode/scripts/embed-common-auth.ts",
|
|
67
71
|
"version": 3,
|
|
68
|
-
"sha256": "
|
|
72
|
+
"sha256": "c701471b1c52e731528039f0ed121c9cfa4328f533fe9023c0a49eecca17ba2b"
|
|
69
73
|
},
|
|
70
74
|
"files": [
|
|
71
75
|
{
|
|
@@ -231,49 +235,49 @@
|
|
|
231
235
|
{
|
|
232
236
|
"source": "package/dist/claustrum/consumer.d.ts",
|
|
233
237
|
"output": "claustrum/consumer.d.ts",
|
|
234
|
-
"bytes":
|
|
235
|
-
"sourceSha256": "
|
|
236
|
-
"outputSha256": "
|
|
238
|
+
"bytes": 7516,
|
|
239
|
+
"sourceSha256": "5bd8eae33d4d0098376fe5b6d6d0171eb6041ba1d0ae9ef5da40e569a36897bd",
|
|
240
|
+
"outputSha256": "5bd8eae33d4d0098376fe5b6d6d0171eb6041ba1d0ae9ef5da40e569a36897bd",
|
|
237
241
|
"transform": "verbatim"
|
|
238
242
|
},
|
|
239
243
|
{
|
|
240
244
|
"source": "package/dist/claustrum/consumer.js",
|
|
241
245
|
"output": "claustrum/consumer.js",
|
|
242
|
-
"bytes":
|
|
243
|
-
"sourceSha256": "
|
|
244
|
-
"outputSha256": "
|
|
246
|
+
"bytes": 18272,
|
|
247
|
+
"sourceSha256": "82726ae5b1f14f5bb3a19d1e9a9d312dd8f8339f837f1efbecd65e8195f3c01c",
|
|
248
|
+
"outputSha256": "82726ae5b1f14f5bb3a19d1e9a9d312dd8f8339f837f1efbecd65e8195f3c01c",
|
|
245
249
|
"transform": "verbatim"
|
|
246
250
|
},
|
|
247
251
|
{
|
|
248
252
|
"source": "package/dist/claustrum/custody.d.ts",
|
|
249
253
|
"output": "claustrum/custody.d.ts",
|
|
250
|
-
"bytes":
|
|
251
|
-
"sourceSha256": "
|
|
252
|
-
"outputSha256": "
|
|
254
|
+
"bytes": 10126,
|
|
255
|
+
"sourceSha256": "053619f193ea68739125624cf1bcb078c78cb38e506c7009894d92c672f88b88",
|
|
256
|
+
"outputSha256": "053619f193ea68739125624cf1bcb078c78cb38e506c7009894d92c672f88b88",
|
|
253
257
|
"transform": "verbatim"
|
|
254
258
|
},
|
|
255
259
|
{
|
|
256
260
|
"source": "package/dist/claustrum/custody.js",
|
|
257
261
|
"output": "claustrum/custody.js",
|
|
258
|
-
"bytes":
|
|
259
|
-
"sourceSha256": "
|
|
260
|
-
"outputSha256": "
|
|
262
|
+
"bytes": 15835,
|
|
263
|
+
"sourceSha256": "ba5c42a9ad00f66b4e33ae8e810d1b0e8a57c433179dec7c939706c682e49a8f",
|
|
264
|
+
"outputSha256": "ba5c42a9ad00f66b4e33ae8e810d1b0e8a57c433179dec7c939706c682e49a8f",
|
|
261
265
|
"transform": "verbatim"
|
|
262
266
|
},
|
|
263
267
|
{
|
|
264
268
|
"source": "package/dist/claustrum/enrollment.d.ts",
|
|
265
269
|
"output": "claustrum/enrollment.d.ts",
|
|
266
|
-
"bytes":
|
|
267
|
-
"sourceSha256": "
|
|
268
|
-
"outputSha256": "
|
|
270
|
+
"bytes": 7743,
|
|
271
|
+
"sourceSha256": "7503e56a09f94e77a94a7ae15fd616f149ec9f675ec7c79bdea4a014ca014143",
|
|
272
|
+
"outputSha256": "7503e56a09f94e77a94a7ae15fd616f149ec9f675ec7c79bdea4a014ca014143",
|
|
269
273
|
"transform": "verbatim"
|
|
270
274
|
},
|
|
271
275
|
{
|
|
272
276
|
"source": "package/dist/claustrum/enrollment.js",
|
|
273
277
|
"output": "claustrum/enrollment.js",
|
|
274
|
-
"bytes":
|
|
275
|
-
"sourceSha256": "
|
|
276
|
-
"outputSha256": "
|
|
278
|
+
"bytes": 33520,
|
|
279
|
+
"sourceSha256": "eeac604495c093503007478ab803c05b6e0bce8bf281f8bf9bbfee44c8ff85f1",
|
|
280
|
+
"outputSha256": "eeac604495c093503007478ab803c05b6e0bce8bf281f8bf9bbfee44c8ff85f1",
|
|
277
281
|
"transform": "verbatim"
|
|
278
282
|
},
|
|
279
283
|
{
|
|
@@ -311,17 +315,33 @@
|
|
|
311
315
|
{
|
|
312
316
|
"source": "package/dist/claustrum/index.d.ts",
|
|
313
317
|
"output": "claustrum/index.d.ts",
|
|
314
|
-
"bytes":
|
|
315
|
-
"sourceSha256": "
|
|
316
|
-
"outputSha256": "
|
|
318
|
+
"bytes": 2939,
|
|
319
|
+
"sourceSha256": "cd2f374dec9e06a7962d2c262c08c965213610107ff1f4f972c2c76c35fe8254",
|
|
320
|
+
"outputSha256": "cd2f374dec9e06a7962d2c262c08c965213610107ff1f4f972c2c76c35fe8254",
|
|
317
321
|
"transform": "verbatim"
|
|
318
322
|
},
|
|
319
323
|
{
|
|
320
324
|
"source": "package/dist/claustrum/index.js",
|
|
321
325
|
"output": "claustrum/index.js",
|
|
322
|
-
"bytes":
|
|
323
|
-
"sourceSha256": "
|
|
324
|
-
"outputSha256": "
|
|
326
|
+
"bytes": 2141,
|
|
327
|
+
"sourceSha256": "33dc58809d432ea7bbe3f3d4425fe575589a018854444b63e0874f917981ab19",
|
|
328
|
+
"outputSha256": "33dc58809d432ea7bbe3f3d4425fe575589a018854444b63e0874f917981ab19",
|
|
329
|
+
"transform": "verbatim"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"source": "package/dist/claustrum/insula.d.ts",
|
|
333
|
+
"output": "claustrum/insula.d.ts",
|
|
334
|
+
"bytes": 2489,
|
|
335
|
+
"sourceSha256": "21a92525f04810a15a877e1c1ff9d7cf2fc2eb4ffe8a6aa408db22da6337d30f",
|
|
336
|
+
"outputSha256": "21a92525f04810a15a877e1c1ff9d7cf2fc2eb4ffe8a6aa408db22da6337d30f",
|
|
337
|
+
"transform": "verbatim"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"source": "package/dist/claustrum/insula.js",
|
|
341
|
+
"output": "claustrum/insula.js",
|
|
342
|
+
"bytes": 6097,
|
|
343
|
+
"sourceSha256": "1db6a99b9db96635bbf846e58ab54eaaa1892bf8939801a181741022d47ce428",
|
|
344
|
+
"outputSha256": "1db6a99b9db96635bbf846e58ab54eaaa1892bf8939801a181741022d47ce428",
|
|
325
345
|
"transform": "verbatim"
|
|
326
346
|
},
|
|
327
347
|
{
|
|
@@ -343,17 +363,17 @@
|
|
|
343
363
|
{
|
|
344
364
|
"source": "package/dist/claustrum/roster.d.ts",
|
|
345
365
|
"output": "claustrum/roster.d.ts",
|
|
346
|
-
"bytes":
|
|
347
|
-
"sourceSha256": "
|
|
348
|
-
"outputSha256": "
|
|
366
|
+
"bytes": 9932,
|
|
367
|
+
"sourceSha256": "7c5684ff5c3f66d418f3624d07565a08556662f445cb96a7575a270851fab9c3",
|
|
368
|
+
"outputSha256": "7c5684ff5c3f66d418f3624d07565a08556662f445cb96a7575a270851fab9c3",
|
|
349
369
|
"transform": "verbatim"
|
|
350
370
|
},
|
|
351
371
|
{
|
|
352
372
|
"source": "package/dist/claustrum/roster.js",
|
|
353
373
|
"output": "claustrum/roster.js",
|
|
354
|
-
"bytes":
|
|
355
|
-
"sourceSha256": "
|
|
356
|
-
"outputSha256": "
|
|
374
|
+
"bytes": 25106,
|
|
375
|
+
"sourceSha256": "e6ac8f59dab51db4756ccbaa89fc73acd213a7a4795fdf5a7c7e4f653455fe94",
|
|
376
|
+
"outputSha256": "e6ac8f59dab51db4756ccbaa89fc73acd213a7a4795fdf5a7c7e4f653455fe94",
|
|
357
377
|
"transform": "verbatim"
|
|
358
378
|
},
|
|
359
379
|
{
|
|
@@ -519,17 +539,17 @@
|
|
|
519
539
|
{
|
|
520
540
|
"source": "package/dist/fs/refresh-file-lock.d.ts",
|
|
521
541
|
"output": "fs/refresh-file-lock.d.ts",
|
|
522
|
-
"bytes":
|
|
523
|
-
"sourceSha256": "
|
|
524
|
-
"outputSha256": "
|
|
542
|
+
"bytes": 2125,
|
|
543
|
+
"sourceSha256": "ec643f4e081c108c1b42ceb17a83cf3e7e9997a4c75e1a61ffc33b5b44ccd414",
|
|
544
|
+
"outputSha256": "ec643f4e081c108c1b42ceb17a83cf3e7e9997a4c75e1a61ffc33b5b44ccd414",
|
|
525
545
|
"transform": "verbatim"
|
|
526
546
|
},
|
|
527
547
|
{
|
|
528
548
|
"source": "package/dist/fs/refresh-file-lock.js",
|
|
529
549
|
"output": "fs/refresh-file-lock.js",
|
|
530
|
-
"bytes":
|
|
531
|
-
"sourceSha256": "
|
|
532
|
-
"outputSha256": "
|
|
550
|
+
"bytes": 29704,
|
|
551
|
+
"sourceSha256": "5c52aad573e84e8065dcf06259ecf38345e8b5a2c401029a23d942f28c7a8521",
|
|
552
|
+
"outputSha256": "5c52aad573e84e8065dcf06259ecf38345e8b5a2c401029a23d942f28c7a8521",
|
|
533
553
|
"transform": "verbatim"
|
|
534
554
|
},
|
|
535
555
|
{
|
|
@@ -719,9 +739,9 @@
|
|
|
719
739
|
{
|
|
720
740
|
"source": "package/dist/pi-slot/lock.js",
|
|
721
741
|
"output": "pi-slot/lock.js",
|
|
722
|
-
"bytes":
|
|
723
|
-
"sourceSha256": "
|
|
724
|
-
"outputSha256": "
|
|
742
|
+
"bytes": 7385,
|
|
743
|
+
"sourceSha256": "68b0c7c764b88391e466f3b9fa172df176bf21529399606bf84475f3b920db8b",
|
|
744
|
+
"outputSha256": "68b0c7c764b88391e466f3b9fa172df176bf21529399606bf84475f3b920db8b",
|
|
725
745
|
"transform": "verbatim"
|
|
726
746
|
},
|
|
727
747
|
{
|
|
@@ -743,97 +763,97 @@
|
|
|
743
763
|
{
|
|
744
764
|
"source": "package/dist/quota/codec.d.ts",
|
|
745
765
|
"output": "quota/codec.d.ts",
|
|
746
|
-
"bytes":
|
|
747
|
-
"sourceSha256": "
|
|
748
|
-
"outputSha256": "
|
|
766
|
+
"bytes": 585,
|
|
767
|
+
"sourceSha256": "8289f7c656a2eedd444cddb83c412dd24bf726421e7706bf19df93b55877db06",
|
|
768
|
+
"outputSha256": "8289f7c656a2eedd444cddb83c412dd24bf726421e7706bf19df93b55877db06",
|
|
749
769
|
"transform": "verbatim"
|
|
750
770
|
},
|
|
751
771
|
{
|
|
752
772
|
"source": "package/dist/quota/codec.js",
|
|
753
773
|
"output": "quota/codec.js",
|
|
754
|
-
"bytes":
|
|
755
|
-
"sourceSha256": "
|
|
756
|
-
"outputSha256": "
|
|
774
|
+
"bytes": 491,
|
|
775
|
+
"sourceSha256": "4e496ce03a8a23536b467168f1dc6a7ceffb06d00ae80cb8a8868f311b2f3a8a",
|
|
776
|
+
"outputSha256": "4e496ce03a8a23536b467168f1dc6a7ceffb06d00ae80cb8a8868f311b2f3a8a",
|
|
757
777
|
"transform": "verbatim"
|
|
758
778
|
},
|
|
759
779
|
{
|
|
760
780
|
"source": "package/dist/quota/format.d.ts",
|
|
761
781
|
"output": "quota/format.d.ts",
|
|
762
|
-
"bytes":
|
|
763
|
-
"sourceSha256": "
|
|
764
|
-
"outputSha256": "
|
|
782
|
+
"bytes": 4260,
|
|
783
|
+
"sourceSha256": "f76541a2f0e1e04782ee8b61a3d0f6b3ba3c156bc0e57bfcbd427e00baf279b4",
|
|
784
|
+
"outputSha256": "f76541a2f0e1e04782ee8b61a3d0f6b3ba3c156bc0e57bfcbd427e00baf279b4",
|
|
765
785
|
"transform": "verbatim"
|
|
766
786
|
},
|
|
767
787
|
{
|
|
768
788
|
"source": "package/dist/quota/format.js",
|
|
769
789
|
"output": "quota/format.js",
|
|
770
|
-
"bytes":
|
|
771
|
-
"sourceSha256": "
|
|
772
|
-
"outputSha256": "
|
|
790
|
+
"bytes": 12897,
|
|
791
|
+
"sourceSha256": "69e546dbc935300ff3b01294479844177be3e288626e5edf0341e820a20c5580",
|
|
792
|
+
"outputSha256": "69e546dbc935300ff3b01294479844177be3e288626e5edf0341e820a20c5580",
|
|
773
793
|
"transform": "verbatim"
|
|
774
794
|
},
|
|
775
795
|
{
|
|
776
796
|
"source": "package/dist/quota/index.d.ts",
|
|
777
797
|
"output": "quota/index.d.ts",
|
|
778
|
-
"bytes":
|
|
779
|
-
"sourceSha256": "
|
|
780
|
-
"outputSha256": "
|
|
798
|
+
"bytes": 1047,
|
|
799
|
+
"sourceSha256": "1ed8a3feaf208860182d738c2ba732fbaa61b6613c1e0e14442418a76d743663",
|
|
800
|
+
"outputSha256": "1ed8a3feaf208860182d738c2ba732fbaa61b6613c1e0e14442418a76d743663",
|
|
781
801
|
"transform": "verbatim"
|
|
782
802
|
},
|
|
783
803
|
{
|
|
784
804
|
"source": "package/dist/quota/index.js",
|
|
785
805
|
"output": "quota/index.js",
|
|
786
|
-
"bytes":
|
|
787
|
-
"sourceSha256": "
|
|
788
|
-
"outputSha256": "
|
|
806
|
+
"bytes": 511,
|
|
807
|
+
"sourceSha256": "691e7db4bf6025770991f98adda82ca4cb9be45eeefa3709b114fb2decfdf66e",
|
|
808
|
+
"outputSha256": "691e7db4bf6025770991f98adda82ca4cb9be45eeefa3709b114fb2decfdf66e",
|
|
789
809
|
"transform": "verbatim"
|
|
790
810
|
},
|
|
791
811
|
{
|
|
792
812
|
"source": "package/dist/quota/map.d.ts",
|
|
793
813
|
"output": "quota/map.d.ts",
|
|
794
|
-
"bytes":
|
|
795
|
-
"sourceSha256": "
|
|
796
|
-
"outputSha256": "
|
|
814
|
+
"bytes": 2901,
|
|
815
|
+
"sourceSha256": "28ba151926d76d45051065b243032ae4f698a3c4f94b44f32341c97467c7faf6",
|
|
816
|
+
"outputSha256": "28ba151926d76d45051065b243032ae4f698a3c4f94b44f32341c97467c7faf6",
|
|
797
817
|
"transform": "verbatim"
|
|
798
818
|
},
|
|
799
819
|
{
|
|
800
820
|
"source": "package/dist/quota/map.js",
|
|
801
821
|
"output": "quota/map.js",
|
|
802
|
-
"bytes":
|
|
803
|
-
"sourceSha256": "
|
|
804
|
-
"outputSha256": "
|
|
822
|
+
"bytes": 5669,
|
|
823
|
+
"sourceSha256": "95339af4c80684b4e462f5ba32affeaa5f8b5885db599dc5e8ac1ffd1890d729",
|
|
824
|
+
"outputSha256": "95339af4c80684b4e462f5ba32affeaa5f8b5885db599dc5e8ac1ffd1890d729",
|
|
805
825
|
"transform": "verbatim"
|
|
806
826
|
},
|
|
807
827
|
{
|
|
808
828
|
"source": "package/dist/quota/merge.d.ts",
|
|
809
829
|
"output": "quota/merge.d.ts",
|
|
810
|
-
"bytes":
|
|
811
|
-
"sourceSha256": "
|
|
812
|
-
"outputSha256": "
|
|
830
|
+
"bytes": 1775,
|
|
831
|
+
"sourceSha256": "3531d738712f40b79415cd58940c55bf4cce6827c500fc3912368ff012e31f25",
|
|
832
|
+
"outputSha256": "3531d738712f40b79415cd58940c55bf4cce6827c500fc3912368ff012e31f25",
|
|
813
833
|
"transform": "verbatim"
|
|
814
834
|
},
|
|
815
835
|
{
|
|
816
836
|
"source": "package/dist/quota/merge.js",
|
|
817
837
|
"output": "quota/merge.js",
|
|
818
|
-
"bytes":
|
|
819
|
-
"sourceSha256": "
|
|
820
|
-
"outputSha256": "
|
|
838
|
+
"bytes": 7439,
|
|
839
|
+
"sourceSha256": "64440806fd70d214eb6a6f4c98f3a6ba442ca48d39762395a202c25fbf08a23e",
|
|
840
|
+
"outputSha256": "64440806fd70d214eb6a6f4c98f3a6ba442ca48d39762395a202c25fbf08a23e",
|
|
821
841
|
"transform": "verbatim"
|
|
822
842
|
},
|
|
823
843
|
{
|
|
824
844
|
"source": "package/dist/quota/projection.d.ts",
|
|
825
845
|
"output": "quota/projection.d.ts",
|
|
826
|
-
"bytes":
|
|
827
|
-
"sourceSha256": "
|
|
828
|
-
"outputSha256": "
|
|
846
|
+
"bytes": 2975,
|
|
847
|
+
"sourceSha256": "65a1b13db0a4d21f8b4136af65888494c6d8a7e117e80879c96f75fc0b763ad9",
|
|
848
|
+
"outputSha256": "65a1b13db0a4d21f8b4136af65888494c6d8a7e117e80879c96f75fc0b763ad9",
|
|
829
849
|
"transform": "verbatim"
|
|
830
850
|
},
|
|
831
851
|
{
|
|
832
852
|
"source": "package/dist/quota/projection.js",
|
|
833
853
|
"output": "quota/projection.js",
|
|
834
|
-
"bytes":
|
|
835
|
-
"sourceSha256": "
|
|
836
|
-
"outputSha256": "
|
|
854
|
+
"bytes": 5640,
|
|
855
|
+
"sourceSha256": "be7012f1df5845a1f3377b148f35ffe029583c1b9b5426f70a7ba96f7b49a150",
|
|
856
|
+
"outputSha256": "be7012f1df5845a1f3377b148f35ffe029583c1b9b5426f70a7ba96f7b49a150",
|
|
837
857
|
"transform": "verbatim"
|
|
838
858
|
},
|
|
839
859
|
{
|
|
@@ -1028,6 +1048,150 @@
|
|
|
1028
1048
|
"outputSha256": "7a7bb67f11f072e2fd655694445458295c5461579bc4e73b11559c9d18d3c93d",
|
|
1029
1049
|
"transform": "verbatim"
|
|
1030
1050
|
},
|
|
1051
|
+
{
|
|
1052
|
+
"source": "package/dist/setup/command-error.d.ts",
|
|
1053
|
+
"output": "setup/command-error.d.ts",
|
|
1054
|
+
"bytes": 1498,
|
|
1055
|
+
"sourceSha256": "fd447696460a03cb04842a5984e9801797c09e1789da1f006f7f8e0943bd7d60",
|
|
1056
|
+
"outputSha256": "fd447696460a03cb04842a5984e9801797c09e1789da1f006f7f8e0943bd7d60",
|
|
1057
|
+
"transform": "verbatim"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"source": "package/dist/setup/command-error.js",
|
|
1061
|
+
"output": "setup/command-error.js",
|
|
1062
|
+
"bytes": 3307,
|
|
1063
|
+
"sourceSha256": "2ead4c487c2dfc6e25cdc56362650ed294d1422fe9b705fbcc842ad1aac0ab10",
|
|
1064
|
+
"outputSha256": "2ead4c487c2dfc6e25cdc56362650ed294d1422fe9b705fbcc842ad1aac0ab10",
|
|
1065
|
+
"transform": "verbatim"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"source": "package/dist/setup/command-runner.js",
|
|
1069
|
+
"output": "setup/command-runner.js",
|
|
1070
|
+
"bytes": 5843,
|
|
1071
|
+
"sourceSha256": "d7f745555acbdd67a63049efcdb59e3daed7c7f68302baa65403315a14e2da6b",
|
|
1072
|
+
"outputSha256": "d7f745555acbdd67a63049efcdb59e3daed7c7f68302baa65403315a14e2da6b",
|
|
1073
|
+
"transform": "verbatim"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"source": "package/dist/setup/command.d.ts",
|
|
1077
|
+
"output": "setup/command.d.ts",
|
|
1078
|
+
"bytes": 340,
|
|
1079
|
+
"sourceSha256": "65205bfcb3b240600a89c917b48154314115f5abef6ba1840024f2ca9711c79c",
|
|
1080
|
+
"outputSha256": "65205bfcb3b240600a89c917b48154314115f5abef6ba1840024f2ca9711c79c",
|
|
1081
|
+
"transform": "verbatim"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"source": "package/dist/setup/command.js",
|
|
1085
|
+
"output": "setup/command.js",
|
|
1086
|
+
"bytes": 13180,
|
|
1087
|
+
"sourceSha256": "ed9ff680ea01e09b9d443018b1d4746cb2e54200970165d3ddd76104f631bf12",
|
|
1088
|
+
"outputSha256": "ed9ff680ea01e09b9d443018b1d4746cb2e54200970165d3ddd76104f631bf12",
|
|
1089
|
+
"transform": "verbatim"
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"source": "package/dist/setup/config-write.js",
|
|
1093
|
+
"output": "setup/config-write.js",
|
|
1094
|
+
"bytes": 2368,
|
|
1095
|
+
"sourceSha256": "7f1561a53100f33cbc37fe6807035ca9bc3ade6250b8ee39cb7aba3431e93717",
|
|
1096
|
+
"outputSha256": "7f1561a53100f33cbc37fe6807035ca9bc3ade6250b8ee39cb7aba3431e93717",
|
|
1097
|
+
"transform": "verbatim"
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"source": "package/dist/setup/detect.d.ts",
|
|
1101
|
+
"output": "setup/detect.d.ts",
|
|
1102
|
+
"bytes": 498,
|
|
1103
|
+
"sourceSha256": "81e4f3d636f69d1d7e19f8db90cb6e3b7efe5434c26d8f6354033e03b59ee584",
|
|
1104
|
+
"outputSha256": "81e4f3d636f69d1d7e19f8db90cb6e3b7efe5434c26d8f6354033e03b59ee584",
|
|
1105
|
+
"transform": "verbatim"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"source": "package/dist/setup/detect.js",
|
|
1109
|
+
"output": "setup/detect.js",
|
|
1110
|
+
"bytes": 8226,
|
|
1111
|
+
"sourceSha256": "025b5f7b429978cc3842cc72240b8bc154a86859ceb2ad3b5ad8636ab334e649",
|
|
1112
|
+
"outputSha256": "025b5f7b429978cc3842cc72240b8bc154a86859ceb2ad3b5ad8636ab334e649",
|
|
1113
|
+
"transform": "verbatim"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"source": "package/dist/setup/enroll.js",
|
|
1117
|
+
"output": "setup/enroll.js",
|
|
1118
|
+
"bytes": 4022,
|
|
1119
|
+
"sourceSha256": "233b36d6422c93e7de0f7e73d1c09fdac54d8ae4090b15b91e1b99160e1ad0fa",
|
|
1120
|
+
"outputSha256": "233b36d6422c93e7de0f7e73d1c09fdac54d8ae4090b15b91e1b99160e1ad0fa",
|
|
1121
|
+
"transform": "verbatim"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"source": "package/dist/setup/index.d.ts",
|
|
1125
|
+
"output": "setup/index.d.ts",
|
|
1126
|
+
"bytes": 842,
|
|
1127
|
+
"sourceSha256": "43b22470cb458058db2bc628e6502f4cd55184deff519c86213dd8d0e3e0000e",
|
|
1128
|
+
"outputSha256": "43b22470cb458058db2bc628e6502f4cd55184deff519c86213dd8d0e3e0000e",
|
|
1129
|
+
"transform": "verbatim"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"source": "package/dist/setup/index.js",
|
|
1133
|
+
"output": "setup/index.js",
|
|
1134
|
+
"bytes": 517,
|
|
1135
|
+
"sourceSha256": "4b00ca576b580ce54b53c2ef6c2a03d1e00c3fde9d3174328cd7458edd38ec79",
|
|
1136
|
+
"outputSha256": "4b00ca576b580ce54b53c2ef6c2a03d1e00c3fde9d3174328cd7458edd38ec79",
|
|
1137
|
+
"transform": "verbatim"
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"source": "package/dist/setup/paths.js",
|
|
1141
|
+
"output": "setup/paths.js",
|
|
1142
|
+
"bytes": 1194,
|
|
1143
|
+
"sourceSha256": "d87c664a34c81fe5b3515bc32821b8bbfee751e998e61f589986603b64e0ad20",
|
|
1144
|
+
"outputSha256": "d87c664a34c81fe5b3515bc32821b8bbfee751e998e61f589986603b64e0ad20",
|
|
1145
|
+
"transform": "verbatim"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"source": "package/dist/setup/process-fence.d.ts",
|
|
1149
|
+
"output": "setup/process-fence.d.ts",
|
|
1150
|
+
"bytes": 1615,
|
|
1151
|
+
"sourceSha256": "9eda9454a17fb7f8482746d9e8cf0e04a81f752d3ccff07a77880966a3550e7d",
|
|
1152
|
+
"outputSha256": "9eda9454a17fb7f8482746d9e8cf0e04a81f752d3ccff07a77880966a3550e7d",
|
|
1153
|
+
"transform": "verbatim"
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"source": "package/dist/setup/process-fence.js",
|
|
1157
|
+
"output": "setup/process-fence.js",
|
|
1158
|
+
"bytes": 10923,
|
|
1159
|
+
"sourceSha256": "e2db85ab7ae29b99e9801787c0bb4f0bf58acc5b8c231a0c4acef30cde812747",
|
|
1160
|
+
"outputSha256": "e2db85ab7ae29b99e9801787c0bb4f0bf58acc5b8c231a0c4acef30cde812747",
|
|
1161
|
+
"transform": "verbatim"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"source": "package/dist/setup/prompts.js",
|
|
1165
|
+
"output": "setup/prompts.js",
|
|
1166
|
+
"bytes": 1023,
|
|
1167
|
+
"sourceSha256": "a0b1479c53ff444c73d72b3bfb001faa3834544869958729b0b524837f7ce056",
|
|
1168
|
+
"outputSha256": "a0b1479c53ff444c73d72b3bfb001faa3834544869958729b0b524837f7ce056",
|
|
1169
|
+
"transform": "verbatim"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"source": "package/dist/setup/register.d.ts",
|
|
1173
|
+
"output": "setup/register.d.ts",
|
|
1174
|
+
"bytes": 744,
|
|
1175
|
+
"sourceSha256": "7a3a2dcfa6a459c307673516b692ba526aa6b3c1e2259ec8320a17055343e8c1",
|
|
1176
|
+
"outputSha256": "7a3a2dcfa6a459c307673516b692ba526aa6b3c1e2259ec8320a17055343e8c1",
|
|
1177
|
+
"transform": "verbatim"
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"source": "package/dist/setup/register.js",
|
|
1181
|
+
"output": "setup/register.js",
|
|
1182
|
+
"bytes": 6178,
|
|
1183
|
+
"sourceSha256": "65171657a6b2b5788bc3dea16729a045b70c73b0f6d37ada0f1864c889450dfe",
|
|
1184
|
+
"outputSha256": "65171657a6b2b5788bc3dea16729a045b70c73b0f6d37ada0f1864c889450dfe",
|
|
1185
|
+
"transform": "verbatim"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"source": "package/dist/setup/types.d.ts",
|
|
1189
|
+
"output": "setup/types.d.ts",
|
|
1190
|
+
"bytes": 5535,
|
|
1191
|
+
"sourceSha256": "69f8ee1e9345d72dec1e04bb5ce9fa38e6cc77339f53ad042b625c636c415068",
|
|
1192
|
+
"outputSha256": "69f8ee1e9345d72dec1e04bb5ce9fa38e6cc77339f53ad042b625c636c415068",
|
|
1193
|
+
"transform": "verbatim"
|
|
1194
|
+
},
|
|
1031
1195
|
{
|
|
1032
1196
|
"source": "package/dist/store/attribution.d.ts",
|
|
1033
1197
|
"output": "store/attribution.d.ts",
|
|
@@ -1127,17 +1291,17 @@
|
|
|
1127
1291
|
{
|
|
1128
1292
|
"source": "package/dist/store/pool.d.ts",
|
|
1129
1293
|
"output": "store/pool.d.ts",
|
|
1130
|
-
"bytes":
|
|
1131
|
-
"sourceSha256": "
|
|
1132
|
-
"outputSha256": "
|
|
1294
|
+
"bytes": 10785,
|
|
1295
|
+
"sourceSha256": "192ea359d2ce746b31693cf06795a281f2e06804c567975f127ea05fa6fb4aef",
|
|
1296
|
+
"outputSha256": "192ea359d2ce746b31693cf06795a281f2e06804c567975f127ea05fa6fb4aef",
|
|
1133
1297
|
"transform": "verbatim"
|
|
1134
1298
|
},
|
|
1135
1299
|
{
|
|
1136
1300
|
"source": "package/dist/store/pool.js",
|
|
1137
1301
|
"output": "store/pool.js",
|
|
1138
|
-
"bytes":
|
|
1139
|
-
"sourceSha256": "
|
|
1140
|
-
"outputSha256": "
|
|
1302
|
+
"bytes": 5671,
|
|
1303
|
+
"sourceSha256": "8dc0d27b37204c2c3229296e8efbbfac6bcb30538b39d8d95771267487a06292",
|
|
1304
|
+
"outputSha256": "8dc0d27b37204c2c3229296e8efbbfac6bcb30538b39d8d95771267487a06292",
|
|
1141
1305
|
"transform": "verbatim"
|
|
1142
1306
|
},
|
|
1143
1307
|
{
|
|
@@ -1191,17 +1355,17 @@
|
|
|
1191
1355
|
{
|
|
1192
1356
|
"source": "package/dist/store/refresh-lock.d.ts",
|
|
1193
1357
|
"output": "store/refresh-lock.d.ts",
|
|
1194
|
-
"bytes":
|
|
1195
|
-
"sourceSha256": "
|
|
1196
|
-
"outputSha256": "
|
|
1358
|
+
"bytes": 2419,
|
|
1359
|
+
"sourceSha256": "50401b2e9b69b73592e0a4391fc1992a380539360b7cabfe5fce6d35fb29c648",
|
|
1360
|
+
"outputSha256": "50401b2e9b69b73592e0a4391fc1992a380539360b7cabfe5fce6d35fb29c648",
|
|
1197
1361
|
"transform": "verbatim"
|
|
1198
1362
|
},
|
|
1199
1363
|
{
|
|
1200
1364
|
"source": "package/dist/store/refresh-lock.js",
|
|
1201
1365
|
"output": "store/refresh-lock.js",
|
|
1202
|
-
"bytes":
|
|
1203
|
-
"sourceSha256": "
|
|
1204
|
-
"outputSha256": "
|
|
1366
|
+
"bytes": 4655,
|
|
1367
|
+
"sourceSha256": "f2a316af681d1a14254873b9dc2d608a76919b7ba930636ee9f266c99195fb67",
|
|
1368
|
+
"outputSha256": "f2a316af681d1a14254873b9dc2d608a76919b7ba930636ee9f266c99195fb67",
|
|
1205
1369
|
"transform": "verbatim"
|
|
1206
1370
|
},
|
|
1207
1371
|
{
|
|
@@ -1263,17 +1427,17 @@
|
|
|
1263
1427
|
{
|
|
1264
1428
|
"source": "package/dist/store/schema.d.ts",
|
|
1265
1429
|
"output": "store/schema.d.ts",
|
|
1266
|
-
"bytes":
|
|
1267
|
-
"sourceSha256": "
|
|
1268
|
-
"outputSha256": "
|
|
1430
|
+
"bytes": 22290,
|
|
1431
|
+
"sourceSha256": "51a47144ee965680e517e8ec91210742908336f6b781f8be2026124d6d0a6bbf",
|
|
1432
|
+
"outputSha256": "51a47144ee965680e517e8ec91210742908336f6b781f8be2026124d6d0a6bbf",
|
|
1269
1433
|
"transform": "verbatim"
|
|
1270
1434
|
},
|
|
1271
1435
|
{
|
|
1272
1436
|
"source": "package/dist/store/schema.js",
|
|
1273
1437
|
"output": "store/schema.js",
|
|
1274
|
-
"bytes":
|
|
1275
|
-
"sourceSha256": "
|
|
1276
|
-
"outputSha256": "
|
|
1438
|
+
"bytes": 31533,
|
|
1439
|
+
"sourceSha256": "ae55f6f875ff8a9e9a09795eac1bedfd4bf795bd6802e8de37b52586b61208d0",
|
|
1440
|
+
"outputSha256": "ae55f6f875ff8a9e9a09795eac1bedfd4bf795bd6802e8de37b52586b61208d0",
|
|
1277
1441
|
"transform": "verbatim"
|
|
1278
1442
|
},
|
|
1279
1443
|
{
|
|
@@ -42,7 +42,7 @@ export interface OpenPoolStoreOptions {
|
|
|
42
42
|
requireCredentialStamps?: boolean;
|
|
43
43
|
/** Require an exact secret fingerprint for every roster-publication removal. */
|
|
44
44
|
requireRemovedFingerprint?: boolean;
|
|
45
|
-
/**
|
|
45
|
+
/** Logical clock for refresh stamps and `addedAt`; filesystem leases always use wall time. */
|
|
46
46
|
now?: () => number;
|
|
47
47
|
/**
|
|
48
48
|
* Ordered store-lock list held across every read-modify-write. Defaults to
|
|
@@ -57,7 +57,6 @@ export function openPoolStore(options) {
|
|
|
57
57
|
],
|
|
58
58
|
lockDefaults,
|
|
59
59
|
lockEnv: {
|
|
60
|
-
now: options.now ?? Date.now,
|
|
61
60
|
...(options.onLockEvent ? { onLockEvent: options.onLockEvent } : {}),
|
|
62
61
|
...(options.onLockStep ? { onLockStep: options.onLockStep } : {}),
|
|
63
62
|
...(options.onRenewalTimer
|
|
@@ -49,6 +49,8 @@ export type StoredCredential = (OAuthCredential & {
|
|
|
49
49
|
/** Quota codec supplied by `/quota`: the store never interprets the map itself. */
|
|
50
50
|
export interface QuotaCodec {
|
|
51
51
|
validate(value: unknown): boolean;
|
|
52
|
+
/** Normalize persisted quota before validation, when the codec supports it. */
|
|
53
|
+
decode?(value: unknown): unknown;
|
|
52
54
|
merge(stored: unknown | undefined, observation: unknown): unknown;
|
|
53
55
|
}
|
|
54
56
|
/**
|
|
@@ -420,7 +420,8 @@ function parseEntry(raw, codec) {
|
|
|
420
420
|
return undefined;
|
|
421
421
|
if ('disabledReason' in raw && typeof raw.disabledReason !== 'string')
|
|
422
422
|
return undefined;
|
|
423
|
-
|
|
423
|
+
const quota = 'quota' in raw && codec.decode ? codec.decode(raw.quota) : raw.quota;
|
|
424
|
+
if ('quota' in raw && !codec.validate(quota))
|
|
424
425
|
return undefined;
|
|
425
426
|
if ('staged' in raw && !parseReservation(raw.staged))
|
|
426
427
|
return undefined;
|
|
@@ -430,7 +431,7 @@ function parseEntry(raw, codec) {
|
|
|
430
431
|
...(typeof raw.disabledReason === 'string'
|
|
431
432
|
? { disabledReason: raw.disabledReason }
|
|
432
433
|
: {}),
|
|
433
|
-
...('quota' in raw ? { quota
|
|
434
|
+
...('quota' in raw ? { quota } : {}),
|
|
434
435
|
};
|
|
435
436
|
}
|
|
436
437
|
function credentialFor(raw, stateEntry) {
|