@cuna_labs/cli 0.1.0
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/LICENSE +201 -0
- package/NOTICE +9 -0
- package/README.md +169 -0
- package/THIRD_PARTY_NOTICES.md +29 -0
- package/dist/api/capability-evidence.d.ts +19 -0
- package/dist/api/capability-evidence.d.ts.map +1 -0
- package/dist/api/capability-evidence.js +38 -0
- package/dist/api/capability-evidence.js.map +1 -0
- package/dist/api/client.d.ts +167 -0
- package/dist/api/client.d.ts.map +1 -0
- package/dist/api/client.js +937 -0
- package/dist/api/client.js.map +1 -0
- package/dist/api/contracts.d.ts +345 -0
- package/dist/api/contracts.d.ts.map +1 -0
- package/dist/api/contracts.js +976 -0
- package/dist/api/contracts.js.map +1 -0
- package/dist/api/execution-workspaces.d.ts +17 -0
- package/dist/api/execution-workspaces.d.ts.map +1 -0
- package/dist/api/execution-workspaces.js +46 -0
- package/dist/api/execution-workspaces.js.map +1 -0
- package/dist/api/http.d.ts +76 -0
- package/dist/api/http.d.ts.map +1 -0
- package/dist/api/http.js +838 -0
- package/dist/api/http.js.map +1 -0
- package/dist/api/managed-executions.d.ts +37 -0
- package/dist/api/managed-executions.d.ts.map +1 -0
- package/dist/api/managed-executions.js +80 -0
- package/dist/api/managed-executions.js.map +1 -0
- package/dist/api/observer-v2-schema.d.ts +206 -0
- package/dist/api/observer-v2-schema.d.ts.map +1 -0
- package/dist/api/observer-v2-schema.js +264 -0
- package/dist/api/observer-v2-schema.js.map +1 -0
- package/dist/api/observer-v2.d.ts +33 -0
- package/dist/api/observer-v2.d.ts.map +1 -0
- package/dist/api/observer-v2.js +60 -0
- package/dist/api/observer-v2.js.map +1 -0
- package/dist/api/owner-observe-grants-v2-schema.d.ts +678 -0
- package/dist/api/owner-observe-grants-v2-schema.d.ts.map +1 -0
- package/dist/api/owner-observe-grants-v2-schema.js +887 -0
- package/dist/api/owner-observe-grants-v2-schema.js.map +1 -0
- package/dist/api/owner-observe-grants-v2.d.ts +268 -0
- package/dist/api/owner-observe-grants-v2.d.ts.map +1 -0
- package/dist/api/owner-observe-grants-v2.js +604 -0
- package/dist/api/owner-observe-grants-v2.js.map +1 -0
- package/dist/api/provider-v2-schema.d.ts +293 -0
- package/dist/api/provider-v2-schema.d.ts.map +1 -0
- package/dist/api/provider-v2-schema.js +381 -0
- package/dist/api/provider-v2-schema.js.map +1 -0
- package/dist/api/provider-v2.d.ts +55 -0
- package/dist/api/provider-v2.d.ts.map +1 -0
- package/dist/api/provider-v2.js +54 -0
- package/dist/api/provider-v2.js.map +1 -0
- package/dist/api/remote-workspace.d.ts +29 -0
- package/dist/api/remote-workspace.d.ts.map +1 -0
- package/dist/api/remote-workspace.js +62 -0
- package/dist/api/remote-workspace.js.map +1 -0
- package/dist/api/supervisor-live-update.d.ts +248 -0
- package/dist/api/supervisor-live-update.d.ts.map +1 -0
- package/dist/api/supervisor-live-update.js +434 -0
- package/dist/api/supervisor-live-update.js.map +1 -0
- package/dist/api/terminal-reason.d.ts +5 -0
- package/dist/api/terminal-reason.d.ts.map +1 -0
- package/dist/api/terminal-reason.js +12 -0
- package/dist/api/terminal-reason.js.map +1 -0
- package/dist/auth/browser-handoff.d.ts +59 -0
- package/dist/auth/browser-handoff.d.ts.map +1 -0
- package/dist/auth/browser-handoff.js +33 -0
- package/dist/auth/browser-handoff.js.map +1 -0
- package/dist/auth/browser.d.ts +11 -0
- package/dist/auth/browser.d.ts.map +1 -0
- package/dist/auth/browser.js +47 -0
- package/dist/auth/browser.js.map +1 -0
- package/dist/auth/human-client.d.ts +39 -0
- package/dist/auth/human-client.d.ts.map +1 -0
- package/dist/auth/human-client.js +66 -0
- package/dist/auth/human-client.js.map +1 -0
- package/dist/auth/human-contracts.d.ts +52 -0
- package/dist/auth/human-contracts.d.ts.map +1 -0
- package/dist/auth/human-contracts.js +229 -0
- package/dist/auth/human-contracts.js.map +1 -0
- package/dist/auth/human-session.d.ts +48 -0
- package/dist/auth/human-session.d.ts.map +1 -0
- package/dist/auth/human-session.js +902 -0
- package/dist/auth/human-session.js.map +1 -0
- package/dist/auth/onboarding-state.d.ts +31 -0
- package/dist/auth/onboarding-state.d.ts.map +1 -0
- package/dist/auth/onboarding-state.js +52 -0
- package/dist/auth/onboarding-state.js.map +1 -0
- package/dist/auth/pkce.d.ts +15 -0
- package/dist/auth/pkce.d.ts.map +1 -0
- package/dist/auth/pkce.js +19 -0
- package/dist/auth/pkce.js.map +1 -0
- package/dist/bin/cuna.d.ts +3 -0
- package/dist/bin/cuna.d.ts.map +1 -0
- package/dist/bin/cuna.js +4 -0
- package/dist/bin/cuna.js.map +1 -0
- package/dist/build-identity.d.ts +20 -0
- package/dist/build-identity.d.ts.map +1 -0
- package/dist/build-identity.js +77 -0
- package/dist/build-identity.js.map +1 -0
- package/dist/cli/command-help.d.ts +9 -0
- package/dist/cli/command-help.d.ts.map +1 -0
- package/dist/cli/command-help.js +324 -0
- package/dist/cli/command-help.js.map +1 -0
- package/dist/cli/help.d.ts +40 -0
- package/dist/cli/help.d.ts.map +1 -0
- package/dist/cli/help.js +256 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/output.d.ts +28 -0
- package/dist/cli/output.d.ts.map +1 -0
- package/dist/cli/output.js +95 -0
- package/dist/cli/output.js.map +1 -0
- package/dist/cli/parser.d.ts +65 -0
- package/dist/cli/parser.d.ts.map +1 -0
- package/dist/cli/parser.js +294 -0
- package/dist/cli/parser.js.map +1 -0
- package/dist/cli/process-entrypoint.d.ts +18 -0
- package/dist/cli/process-entrypoint.d.ts.map +1 -0
- package/dist/cli/process-entrypoint.js +26 -0
- package/dist/cli/process-entrypoint.js.map +1 -0
- package/dist/cli/run.d.ts +114 -0
- package/dist/cli/run.d.ts.map +1 -0
- package/dist/cli/run.js +1969 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/commands/commands.d.ts +74 -0
- package/dist/commands/commands.d.ts.map +1 -0
- package/dist/commands/commands.js +2814 -0
- package/dist/commands/commands.js.map +1 -0
- package/dist/config/config.d.ts +86 -0
- package/dist/config/config.d.ts.map +1 -0
- package/dist/config/config.js +323 -0
- package/dist/config/config.js.map +1 -0
- package/dist/config/infra-contract-witness.d.ts +29 -0
- package/dist/config/infra-contract-witness.d.ts.map +1 -0
- package/dist/config/infra-contract-witness.js +30 -0
- package/dist/config/infra-contract-witness.js.map +1 -0
- package/dist/core/browser-url.d.ts +2 -0
- package/dist/core/browser-url.d.ts.map +1 -0
- package/dist/core/browser-url.js +20 -0
- package/dist/core/browser-url.js.map +1 -0
- package/dist/core/deployed-wire-compatibility.d.ts +15 -0
- package/dist/core/deployed-wire-compatibility.d.ts.map +1 -0
- package/dist/core/deployed-wire-compatibility.js +15 -0
- package/dist/core/deployed-wire-compatibility.js.map +1 -0
- package/dist/core/errors.d.ts +59 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +82 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/exit-codes.d.ts +68 -0
- package/dist/core/exit-codes.d.ts.map +1 -0
- package/dist/core/exit-codes.js +84 -0
- package/dist/core/exit-codes.js.map +1 -0
- package/dist/core/instant.d.ts +60 -0
- package/dist/core/instant.d.ts.map +1 -0
- package/dist/core/instant.js +90 -0
- package/dist/core/instant.js.map +1 -0
- package/dist/core/namespace.d.ts +171 -0
- package/dist/core/namespace.d.ts.map +1 -0
- package/dist/core/namespace.js +227 -0
- package/dist/core/namespace.js.map +1 -0
- package/dist/core/observation-budget.d.ts +185 -0
- package/dist/core/observation-budget.d.ts.map +1 -0
- package/dist/core/observation-budget.js +209 -0
- package/dist/core/observation-budget.js.map +1 -0
- package/dist/core/product-web.d.ts +81 -0
- package/dist/core/product-web.d.ts.map +1 -0
- package/dist/core/product-web.js +87 -0
- package/dist/core/product-web.js.map +1 -0
- package/dist/core/validation.d.ts +90 -0
- package/dist/core/validation.d.ts.map +1 -0
- package/dist/core/validation.js +199 -0
- package/dist/core/validation.js.map +1 -0
- package/dist/credentials/contracts.d.ts +82 -0
- package/dist/credentials/contracts.d.ts.map +1 -0
- package/dist/credentials/contracts.js +2 -0
- package/dist/credentials/contracts.js.map +1 -0
- package/dist/credentials/errors.d.ts +19 -0
- package/dist/credentials/errors.d.ts.map +1 -0
- package/dist/credentials/errors.js +16 -0
- package/dist/credentials/errors.js.map +1 -0
- package/dist/credentials/index.d.ts +6 -0
- package/dist/credentials/index.d.ts.map +1 -0
- package/dist/credentials/index.js +6 -0
- package/dist/credentials/index.js.map +1 -0
- package/dist/credentials/local-session.d.ts +101 -0
- package/dist/credentials/local-session.d.ts.map +1 -0
- package/dist/credentials/local-session.js +839 -0
- package/dist/credentials/local-session.js.map +1 -0
- package/dist/credentials/secret-material.d.ts +17 -0
- package/dist/credentials/secret-material.d.ts.map +1 -0
- package/dist/credentials/secret-material.js +49 -0
- package/dist/credentials/secret-material.js.map +1 -0
- package/dist/credentials/vault.d.ts +41 -0
- package/dist/credentials/vault.d.ts.map +1 -0
- package/dist/credentials/vault.js +719 -0
- package/dist/credentials/vault.js.map +1 -0
- package/dist/daemon/endpoint.d.ts +29 -0
- package/dist/daemon/endpoint.d.ts.map +1 -0
- package/dist/daemon/endpoint.js +66 -0
- package/dist/daemon/endpoint.js.map +1 -0
- package/dist/daemon/journal.d.ts +62 -0
- package/dist/daemon/journal.d.ts.map +1 -0
- package/dist/daemon/journal.js +299 -0
- package/dist/daemon/journal.js.map +1 -0
- package/dist/daemon/lease.d.ts +25 -0
- package/dist/daemon/lease.d.ts.map +1 -0
- package/dist/daemon/lease.js +94 -0
- package/dist/daemon/lease.js.map +1 -0
- package/dist/daemon/lifecycle.d.ts +14 -0
- package/dist/daemon/lifecycle.d.ts.map +1 -0
- package/dist/daemon/lifecycle.js +29 -0
- package/dist/daemon/lifecycle.js.map +1 -0
- package/dist/daemon/protocol.d.ts +65 -0
- package/dist/daemon/protocol.d.ts.map +1 -0
- package/dist/daemon/protocol.js +194 -0
- package/dist/daemon/protocol.js.map +1 -0
- package/dist/daemon/supervisor.d.ts +29 -0
- package/dist/daemon/supervisor.d.ts.map +1 -0
- package/dist/daemon/supervisor.js +87 -0
- package/dist/daemon/supervisor.js.map +1 -0
- package/dist/daemon/views.d.ts +31 -0
- package/dist/daemon/views.d.ts.map +1 -0
- package/dist/daemon/views.js +86 -0
- package/dist/daemon/views.js.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +38 -0
- package/dist/index.js.map +1 -0
- package/dist/journey/api-effects.d.ts +59 -0
- package/dist/journey/api-effects.d.ts.map +1 -0
- package/dist/journey/api-effects.js +386 -0
- package/dist/journey/api-effects.js.map +1 -0
- package/dist/journey/derived-identity.d.ts +91 -0
- package/dist/journey/derived-identity.d.ts.map +1 -0
- package/dist/journey/derived-identity.js +123 -0
- package/dist/journey/derived-identity.js.map +1 -0
- package/dist/journey/index.d.ts +6 -0
- package/dist/journey/index.d.ts.map +1 -0
- package/dist/journey/index.js +6 -0
- package/dist/journey/index.js.map +1 -0
- package/dist/journey/intent.d.ts +36 -0
- package/dist/journey/intent.d.ts.map +1 -0
- package/dist/journey/intent.js +191 -0
- package/dist/journey/intent.js.map +1 -0
- package/dist/journey/orchestrator.d.ts +140 -0
- package/dist/journey/orchestrator.d.ts.map +1 -0
- package/dist/journey/orchestrator.js +415 -0
- package/dist/journey/orchestrator.js.map +1 -0
- package/dist/journey/provider-launch-intent.d.ts +12 -0
- package/dist/journey/provider-launch-intent.d.ts.map +1 -0
- package/dist/journey/provider-launch-intent.js +40 -0
- package/dist/journey/provider-launch-intent.js.map +1 -0
- package/dist/journey/remote-workspace.d.ts +34 -0
- package/dist/journey/remote-workspace.d.ts.map +1 -0
- package/dist/journey/remote-workspace.js +91 -0
- package/dist/journey/remote-workspace.js.map +1 -0
- package/dist/journey/root-entry.d.ts +56 -0
- package/dist/journey/root-entry.d.ts.map +1 -0
- package/dist/journey/root-entry.js +19 -0
- package/dist/journey/root-entry.js.map +1 -0
- package/dist/journey/selection.d.ts +165 -0
- package/dist/journey/selection.d.ts.map +1 -0
- package/dist/journey/selection.js +565 -0
- package/dist/journey/selection.js.map +1 -0
- package/dist/journey/session-failure.d.ts +4 -0
- package/dist/journey/session-failure.d.ts.map +1 -0
- package/dist/journey/session-failure.js +28 -0
- package/dist/journey/session-failure.js.map +1 -0
- package/dist/journey/workspace-effects.d.ts +30 -0
- package/dist/journey/workspace-effects.d.ts.map +1 -0
- package/dist/journey/workspace-effects.js +348 -0
- package/dist/journey/workspace-effects.js.map +1 -0
- package/dist/local-actions/broker.d.ts +32 -0
- package/dist/local-actions/broker.d.ts.map +1 -0
- package/dist/local-actions/broker.js +400 -0
- package/dist/local-actions/broker.js.map +1 -0
- package/dist/local-actions/browser-action.d.ts +78 -0
- package/dist/local-actions/browser-action.d.ts.map +1 -0
- package/dist/local-actions/browser-action.js +307 -0
- package/dist/local-actions/browser-action.js.map +1 -0
- package/dist/local-actions/callback-relay.d.ts +45 -0
- package/dist/local-actions/callback-relay.d.ts.map +1 -0
- package/dist/local-actions/callback-relay.js +265 -0
- package/dist/local-actions/callback-relay.js.map +1 -0
- package/dist/local-actions/clipboard.d.ts +3 -0
- package/dist/local-actions/clipboard.d.ts.map +1 -0
- package/dist/local-actions/clipboard.js +18 -0
- package/dist/local-actions/clipboard.js.map +1 -0
- package/dist/local-actions/contracts.d.ts +63 -0
- package/dist/local-actions/contracts.d.ts.map +1 -0
- package/dist/local-actions/contracts.js +18 -0
- package/dist/local-actions/contracts.js.map +1 -0
- package/dist/local-actions/desktop-presentation.d.ts +141 -0
- package/dist/local-actions/desktop-presentation.d.ts.map +1 -0
- package/dist/local-actions/desktop-presentation.js +253 -0
- package/dist/local-actions/desktop-presentation.js.map +1 -0
- package/dist/local-actions/device-selection.d.ts +43 -0
- package/dist/local-actions/device-selection.d.ts.map +1 -0
- package/dist/local-actions/device-selection.js +154 -0
- package/dist/local-actions/device-selection.js.map +1 -0
- package/dist/local-actions/executor.d.ts +49 -0
- package/dist/local-actions/executor.d.ts.map +1 -0
- package/dist/local-actions/executor.js +329 -0
- package/dist/local-actions/executor.js.map +1 -0
- package/dist/local-actions/file-transfers.d.ts +141 -0
- package/dist/local-actions/file-transfers.d.ts.map +1 -0
- package/dist/local-actions/file-transfers.js +446 -0
- package/dist/local-actions/file-transfers.js.map +1 -0
- package/dist/local-actions/foreground-notifications.d.ts +45 -0
- package/dist/local-actions/foreground-notifications.d.ts.map +1 -0
- package/dist/local-actions/foreground-notifications.js +163 -0
- package/dist/local-actions/foreground-notifications.js.map +1 -0
- package/dist/local-actions/git-signing.d.ts +39 -0
- package/dist/local-actions/git-signing.d.ts.map +1 -0
- package/dist/local-actions/git-signing.js +135 -0
- package/dist/local-actions/git-signing.js.map +1 -0
- package/dist/local-actions/index.d.ts +19 -0
- package/dist/local-actions/index.d.ts.map +1 -0
- package/dist/local-actions/index.js +19 -0
- package/dist/local-actions/index.js.map +1 -0
- package/dist/local-actions/local-service-actions.d.ts +87 -0
- package/dist/local-actions/local-service-actions.d.ts.map +1 -0
- package/dist/local-actions/local-service-actions.js +347 -0
- package/dist/local-actions/local-service-actions.js.map +1 -0
- package/dist/local-actions/loopback.d.ts +5 -0
- package/dist/local-actions/loopback.d.ts.map +1 -0
- package/dist/local-actions/loopback.js +15 -0
- package/dist/local-actions/loopback.js.map +1 -0
- package/dist/local-actions/policy-store.d.ts +7 -0
- package/dist/local-actions/policy-store.d.ts.map +1 -0
- package/dist/local-actions/policy-store.js +70 -0
- package/dist/local-actions/policy-store.js.map +1 -0
- package/dist/local-actions/policy.d.ts +21 -0
- package/dist/local-actions/policy.d.ts.map +1 -0
- package/dist/local-actions/policy.js +43 -0
- package/dist/local-actions/policy.js.map +1 -0
- package/dist/local-actions/private-port-forward.d.ts +36 -0
- package/dist/local-actions/private-port-forward.d.ts.map +1 -0
- package/dist/local-actions/private-port-forward.js +154 -0
- package/dist/local-actions/private-port-forward.js.map +1 -0
- package/dist/local-actions/provider-mcp-config.d.ts +101 -0
- package/dist/local-actions/provider-mcp-config.d.ts.map +1 -0
- package/dist/local-actions/provider-mcp-config.js +166 -0
- package/dist/local-actions/provider-mcp-config.js.map +1 -0
- package/dist/local-actions/providers.d.ts +12 -0
- package/dist/local-actions/providers.d.ts.map +1 -0
- package/dist/local-actions/providers.js +42 -0
- package/dist/local-actions/providers.js.map +1 -0
- package/dist/local-actions/schemas.d.ts +4 -0
- package/dist/local-actions/schemas.d.ts.map +1 -0
- package/dist/local-actions/schemas.js +314 -0
- package/dist/local-actions/schemas.js.map +1 -0
- package/dist/local-actions/sensitive-consent.d.ts +32 -0
- package/dist/local-actions/sensitive-consent.d.ts.map +1 -0
- package/dist/local-actions/sensitive-consent.js +47 -0
- package/dist/local-actions/sensitive-consent.js.map +1 -0
- package/dist/machines/command-launch.d.ts +17 -0
- package/dist/machines/command-launch.d.ts.map +1 -0
- package/dist/machines/command-launch.js +52 -0
- package/dist/machines/command-launch.js.map +1 -0
- package/dist/machines/execution-receipt.d.ts +18 -0
- package/dist/machines/execution-receipt.d.ts.map +1 -0
- package/dist/machines/execution-receipt.js +87 -0
- package/dist/machines/execution-receipt.js.map +1 -0
- package/dist/machines/executions-screen.d.ts +6 -0
- package/dist/machines/executions-screen.d.ts.map +1 -0
- package/dist/machines/executions-screen.js +410 -0
- package/dist/machines/executions-screen.js.map +1 -0
- package/dist/machines/explorer.d.ts +75 -0
- package/dist/machines/explorer.d.ts.map +1 -0
- package/dist/machines/explorer.js +1726 -0
- package/dist/machines/explorer.js.map +1 -0
- package/dist/machines/live-supervisor-update.d.ts +325 -0
- package/dist/machines/live-supervisor-update.d.ts.map +1 -0
- package/dist/machines/live-supervisor-update.js +513 -0
- package/dist/machines/live-supervisor-update.js.map +1 -0
- package/dist/machines/machine-first.d.ts +123 -0
- package/dist/machines/machine-first.d.ts.map +1 -0
- package/dist/machines/machine-first.js +119 -0
- package/dist/machines/machine-first.js.map +1 -0
- package/dist/machines/opencode-supervisor.d.ts +51 -0
- package/dist/machines/opencode-supervisor.d.ts.map +1 -0
- package/dist/machines/opencode-supervisor.js +124 -0
- package/dist/machines/opencode-supervisor.js.map +1 -0
- package/dist/machines/pagination.d.ts +4 -0
- package/dist/machines/pagination.d.ts.map +1 -0
- package/dist/machines/pagination.js +7 -0
- package/dist/machines/pagination.js.map +1 -0
- package/dist/machines/provider-availability.d.ts +42 -0
- package/dist/machines/provider-availability.d.ts.map +1 -0
- package/dist/machines/provider-availability.js +82 -0
- package/dist/machines/provider-availability.js.map +1 -0
- package/dist/machines/provider-screen.d.ts +12 -0
- package/dist/machines/provider-screen.d.ts.map +1 -0
- package/dist/machines/provider-screen.js +129 -0
- package/dist/machines/provider-screen.js.map +1 -0
- package/dist/machines/session-actionability.d.ts +86 -0
- package/dist/machines/session-actionability.d.ts.map +1 -0
- package/dist/machines/session-actionability.js +125 -0
- package/dist/machines/session-actionability.js.map +1 -0
- package/dist/machines/session-visibility.d.ts +139 -0
- package/dist/machines/session-visibility.d.ts.map +1 -0
- package/dist/machines/session-visibility.js +109 -0
- package/dist/machines/session-visibility.js.map +1 -0
- package/dist/platform/adapter.d.ts +62 -0
- package/dist/platform/adapter.d.ts.map +1 -0
- package/dist/platform/adapter.js +240 -0
- package/dist/platform/adapter.js.map +1 -0
- package/dist/platform/support.d.ts +12 -0
- package/dist/platform/support.d.ts.map +1 -0
- package/dist/platform/support.js +25 -0
- package/dist/platform/support.js.map +1 -0
- package/dist/pty/contracts.d.ts +45 -0
- package/dist/pty/contracts.d.ts.map +1 -0
- package/dist/pty/contracts.js +2 -0
- package/dist/pty/contracts.js.map +1 -0
- package/dist/pty/evidence-gate.d.ts +14 -0
- package/dist/pty/evidence-gate.d.ts.map +1 -0
- package/dist/pty/evidence-gate.js +35 -0
- package/dist/pty/evidence-gate.js.map +1 -0
- package/dist/pty/index.d.ts +5 -0
- package/dist/pty/index.d.ts.map +1 -0
- package/dist/pty/index.js +5 -0
- package/dist/pty/index.js.map +1 -0
- package/dist/pty/node-host-terminal.d.ts +14 -0
- package/dist/pty/node-host-terminal.d.ts.map +1 -0
- package/dist/pty/node-host-terminal.js +173 -0
- package/dist/pty/node-host-terminal.js.map +1 -0
- package/dist/pty/node-process.d.ts +26 -0
- package/dist/pty/node-process.d.ts.map +1 -0
- package/dist/pty/node-process.js +102 -0
- package/dist/pty/node-process.js.map +1 -0
- package/dist/runtime/api-terminal-control-plane.d.ts +7 -0
- package/dist/runtime/api-terminal-control-plane.d.ts.map +1 -0
- package/dist/runtime/api-terminal-control-plane.js +95 -0
- package/dist/runtime/api-terminal-control-plane.js.map +1 -0
- package/dist/runtime/backoff.d.ts +17 -0
- package/dist/runtime/backoff.d.ts.map +1 -0
- package/dist/runtime/backoff.js +61 -0
- package/dist/runtime/backoff.js.map +1 -0
- package/dist/runtime/boundary.d.ts +171 -0
- package/dist/runtime/boundary.d.ts.map +1 -0
- package/dist/runtime/boundary.js +1858 -0
- package/dist/runtime/boundary.js.map +1 -0
- package/dist/runtime/capability-gate.d.ts +25 -0
- package/dist/runtime/capability-gate.d.ts.map +1 -0
- package/dist/runtime/capability-gate.js +77 -0
- package/dist/runtime/capability-gate.js.map +1 -0
- package/dist/runtime/contracts.d.ts +25 -0
- package/dist/runtime/contracts.d.ts.map +1 -0
- package/dist/runtime/contracts.js +66 -0
- package/dist/runtime/contracts.js.map +1 -0
- package/dist/runtime/errors.d.ts +20 -0
- package/dist/runtime/errors.d.ts.map +1 -0
- package/dist/runtime/errors.js +22 -0
- package/dist/runtime/errors.js.map +1 -0
- package/dist/runtime/index.d.ts +9 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +9 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/node-foreground-session.d.ts +50 -0
- package/dist/runtime/node-foreground-session.d.ts.map +1 -0
- package/dist/runtime/node-foreground-session.js +431 -0
- package/dist/runtime/node-foreground-session.js.map +1 -0
- package/dist/runtime/node-websocket-connector.d.ts +6 -0
- package/dist/runtime/node-websocket-connector.d.ts.map +1 -0
- package/dist/runtime/node-websocket-connector.js +344 -0
- package/dist/runtime/node-websocket-connector.js.map +1 -0
- package/dist/runtime/observer-screen.d.ts +6 -0
- package/dist/runtime/observer-screen.d.ts.map +1 -0
- package/dist/runtime/observer-screen.js +144 -0
- package/dist/runtime/observer-screen.js.map +1 -0
- package/dist/runtime/owner-grant-operations.d.ts +136 -0
- package/dist/runtime/owner-grant-operations.d.ts.map +1 -0
- package/dist/runtime/owner-grant-operations.js +216 -0
- package/dist/runtime/owner-grant-operations.js.map +1 -0
- package/dist/runtime/owner-grants-screen.d.ts +40 -0
- package/dist/runtime/owner-grants-screen.d.ts.map +1 -0
- package/dist/runtime/owner-grants-screen.js +987 -0
- package/dist/runtime/owner-grants-screen.js.map +1 -0
- package/dist/runtime/terminal-transport.d.ts +85 -0
- package/dist/runtime/terminal-transport.d.ts.map +1 -0
- package/dist/runtime/terminal-transport.js +152 -0
- package/dist/runtime/terminal-transport.js.map +1 -0
- package/dist/sync/continuous-sync-supervisor.d.ts +107 -0
- package/dist/sync/continuous-sync-supervisor.d.ts.map +1 -0
- package/dist/sync/continuous-sync-supervisor.js +1117 -0
- package/dist/sync/continuous-sync-supervisor.js.map +1 -0
- package/dist/sync/index.d.ts +9 -0
- package/dist/sync/index.d.ts.map +1 -0
- package/dist/sync/index.js +9 -0
- package/dist/sync/index.js.map +1 -0
- package/dist/sync/journal.d.ts +57 -0
- package/dist/sync/journal.d.ts.map +1 -0
- package/dist/sync/journal.js +685 -0
- package/dist/sync/journal.js.map +1 -0
- package/dist/sync/revisions.d.ts +118 -0
- package/dist/sync/revisions.d.ts.map +1 -0
- package/dist/sync/revisions.js +364 -0
- package/dist/sync/revisions.js.map +1 -0
- package/dist/sync/supervisor.d.ts +107 -0
- package/dist/sync/supervisor.d.ts.map +1 -0
- package/dist/sync/supervisor.js +246 -0
- package/dist/sync/supervisor.js.map +1 -0
- package/dist/sync/workspace-sync-client.d.ts +18 -0
- package/dist/sync/workspace-sync-client.d.ts.map +1 -0
- package/dist/sync/workspace-sync-client.js +150 -0
- package/dist/sync/workspace-sync-client.js.map +1 -0
- package/dist/sync/workspace-sync-coordinator.d.ts +76 -0
- package/dist/sync/workspace-sync-coordinator.d.ts.map +1 -0
- package/dist/sync/workspace-sync-coordinator.js +621 -0
- package/dist/sync/workspace-sync-coordinator.js.map +1 -0
- package/dist/sync/workspace-sync-product-service.d.ts +79 -0
- package/dist/sync/workspace-sync-product-service.d.ts.map +1 -0
- package/dist/sync/workspace-sync-product-service.js +398 -0
- package/dist/sync/workspace-sync-product-service.js.map +1 -0
- package/dist/sync/workspace-sync-protocol.d.ts +145 -0
- package/dist/sync/workspace-sync-protocol.d.ts.map +1 -0
- package/dist/sync/workspace-sync-protocol.js +347 -0
- package/dist/sync/workspace-sync-protocol.js.map +1 -0
- package/dist/terminal/appbar.d.ts +40 -0
- package/dist/terminal/appbar.d.ts.map +1 -0
- package/dist/terminal/appbar.js +55 -0
- package/dist/terminal/appbar.js.map +1 -0
- package/dist/terminal/cell-width.d.ts +3 -0
- package/dist/terminal/cell-width.d.ts.map +1 -0
- package/dist/terminal/cell-width.js +53 -0
- package/dist/terminal/cell-width.js.map +1 -0
- package/dist/terminal/codec.d.ts +107 -0
- package/dist/terminal/codec.d.ts.map +1 -0
- package/dist/terminal/codec.js +538 -0
- package/dist/terminal/codec.js.map +1 -0
- package/dist/terminal/foreground.d.ts +135 -0
- package/dist/terminal/foreground.d.ts.map +1 -0
- package/dist/terminal/foreground.js +2097 -0
- package/dist/terminal/foreground.js.map +1 -0
- package/dist/terminal/generated/terminal-wire-v1.d.ts +26 -0
- package/dist/terminal/generated/terminal-wire-v1.d.ts.map +1 -0
- package/dist/terminal/generated/terminal-wire-v1.js +27 -0
- package/dist/terminal/generated/terminal-wire-v1.js.map +1 -0
- package/dist/terminal/mode.d.ts +33 -0
- package/dist/terminal/mode.d.ts.map +1 -0
- package/dist/terminal/mode.js +99 -0
- package/dist/terminal/mode.js.map +1 -0
- package/dist/terminal/passthrough.d.ts +47 -0
- package/dist/terminal/passthrough.d.ts.map +1 -0
- package/dist/terminal/passthrough.js +666 -0
- package/dist/terminal/passthrough.js.map +1 -0
- package/dist/terminal/resume.d.ts +58 -0
- package/dist/terminal/resume.d.ts.map +1 -0
- package/dist/terminal/resume.js +185 -0
- package/dist/terminal/resume.js.map +1 -0
- package/dist/terminal/viewport.d.ts +93 -0
- package/dist/terminal/viewport.d.ts.map +1 -0
- package/dist/terminal/viewport.js +266 -0
- package/dist/terminal/viewport.js.map +1 -0
- package/dist/terminal/workbench.d.ts +32 -0
- package/dist/terminal/workbench.d.ts.map +1 -0
- package/dist/terminal/workbench.js +316 -0
- package/dist/terminal/workbench.js.map +1 -0
- package/dist/terminal/xterm-vte.d.ts +49 -0
- package/dist/terminal/xterm-vte.d.ts.map +1 -0
- package/dist/terminal/xterm-vte.js +602 -0
- package/dist/terminal/xterm-vte.js.map +1 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +3 -0
- package/dist/version.js.map +1 -0
- package/dist/workspace/binding-path.d.ts +17 -0
- package/dist/workspace/binding-path.d.ts.map +1 -0
- package/dist/workspace/binding-path.js +91 -0
- package/dist/workspace/binding-path.js.map +1 -0
- package/dist/workspace/binding-store.d.ts +107 -0
- package/dist/workspace/binding-store.d.ts.map +1 -0
- package/dist/workspace/binding-store.js +783 -0
- package/dist/workspace/binding-store.js.map +1 -0
- package/dist/workspace/binding.d.ts +35 -0
- package/dist/workspace/binding.d.ts.map +1 -0
- package/dist/workspace/binding.js +70 -0
- package/dist/workspace/binding.js.map +1 -0
- package/dist/workspace/errors.d.ts +4 -0
- package/dist/workspace/errors.d.ts.map +1 -0
- package/dist/workspace/errors.js +19 -0
- package/dist/workspace/errors.js.map +1 -0
- package/dist/workspace/exclusion.d.ts +21 -0
- package/dist/workspace/exclusion.d.ts.map +1 -0
- package/dist/workspace/exclusion.js +243 -0
- package/dist/workspace/exclusion.js.map +1 -0
- package/dist/workspace/index.d.ts +8 -0
- package/dist/workspace/index.d.ts.map +1 -0
- package/dist/workspace/index.js +8 -0
- package/dist/workspace/index.js.map +1 -0
- package/dist/workspace/lifecycle.d.ts +56 -0
- package/dist/workspace/lifecycle.d.ts.map +1 -0
- package/dist/workspace/lifecycle.js +94 -0
- package/dist/workspace/lifecycle.js.map +1 -0
- package/dist/workspace/manifest.d.ts +47 -0
- package/dist/workspace/manifest.d.ts.map +1 -0
- package/dist/workspace/manifest.js +243 -0
- package/dist/workspace/manifest.js.map +1 -0
- package/dist/workspace/paths.d.ts +14 -0
- package/dist/workspace/paths.d.ts.map +1 -0
- package/dist/workspace/paths.js +67 -0
- package/dist/workspace/paths.js.map +1 -0
- package/dist/workspace/schema.d.ts +15 -0
- package/dist/workspace/schema.d.ts.map +1 -0
- package/dist/workspace/schema.js +33 -0
- package/dist/workspace/schema.js.map +1 -0
- package/dist/workspace/selection-screen.d.ts +4 -0
- package/dist/workspace/selection-screen.d.ts.map +1 -0
- package/dist/workspace/selection-screen.js +216 -0
- package/dist/workspace/selection-screen.js.map +1 -0
- package/dist/workspace/selection-service.d.ts +16 -0
- package/dist/workspace/selection-service.d.ts.map +1 -0
- package/dist/workspace/selection-service.js +65 -0
- package/dist/workspace/selection-service.js.map +1 -0
- package/node_modules/@xterm/headless/README.md +31 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.js +2 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.js.map +1 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.mjs +46 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.mjs.map +7 -0
- package/node_modules/@xterm/headless/package.json +29 -0
- package/node_modules/@xterm/headless/typings/xterm-headless.d.ts +1385 -0
- package/package.json +75 -0
|
@@ -0,0 +1,887 @@
|
|
|
1
|
+
/* oxlint-disable unicorn/no-thenable -- JSON Schema conditional keyword */
|
|
2
|
+
// Generated by scripts/project-owner-observe-grants-v2.mjs from contracts/infra/cuna-api.openapi.json; SHA256 f4c2d396b94f296b22df276435dc04ecf1da48807efa1e819c4cbff9ea59a83e
|
|
3
|
+
export const ownerObserveGrantSchemas = {
|
|
4
|
+
"ListProjectObserversV2Request": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"version"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"version": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "2"
|
|
14
|
+
},
|
|
15
|
+
"after_principal_id": {
|
|
16
|
+
"type": [
|
|
17
|
+
"string",
|
|
18
|
+
"null"
|
|
19
|
+
],
|
|
20
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
|
|
21
|
+
"default": null
|
|
22
|
+
},
|
|
23
|
+
"limit": {
|
|
24
|
+
"type": "integer",
|
|
25
|
+
"minimum": 1,
|
|
26
|
+
"maximum": 100,
|
|
27
|
+
"default": 50
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"ProjectObserversV2Receipt": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"required": [
|
|
35
|
+
"version",
|
|
36
|
+
"kind",
|
|
37
|
+
"project_id",
|
|
38
|
+
"authority_epoch",
|
|
39
|
+
"items",
|
|
40
|
+
"next_after_principal_id"
|
|
41
|
+
],
|
|
42
|
+
"properties": {
|
|
43
|
+
"version": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"const": "2"
|
|
46
|
+
},
|
|
47
|
+
"kind": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"const": "project_observers"
|
|
50
|
+
},
|
|
51
|
+
"project_id": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
54
|
+
},
|
|
55
|
+
"authority_epoch": {
|
|
56
|
+
"type": "integer",
|
|
57
|
+
"minimum": 1,
|
|
58
|
+
"maximum": 9007199254740991
|
|
59
|
+
},
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"maxItems": 100,
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"required": [
|
|
67
|
+
"principal_id",
|
|
68
|
+
"membership_revision",
|
|
69
|
+
"recipient_email"
|
|
70
|
+
],
|
|
71
|
+
"properties": {
|
|
72
|
+
"principal_id": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
75
|
+
},
|
|
76
|
+
"membership_revision": {
|
|
77
|
+
"type": "integer",
|
|
78
|
+
"minimum": 1,
|
|
79
|
+
"maximum": 9007199254740991
|
|
80
|
+
},
|
|
81
|
+
"recipient_email": {
|
|
82
|
+
"type": [
|
|
83
|
+
"string",
|
|
84
|
+
"null"
|
|
85
|
+
],
|
|
86
|
+
"format": "email",
|
|
87
|
+
"maxLength": 254
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"next_after_principal_id": {
|
|
93
|
+
"type": [
|
|
94
|
+
"string",
|
|
95
|
+
"null"
|
|
96
|
+
],
|
|
97
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"CreateSessionObserveGrantV2Request": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"additionalProperties": false,
|
|
104
|
+
"required": [
|
|
105
|
+
"version",
|
|
106
|
+
"operation_id",
|
|
107
|
+
"subject_principal_id",
|
|
108
|
+
"expected_membership_revision",
|
|
109
|
+
"expires_at_ms"
|
|
110
|
+
],
|
|
111
|
+
"properties": {
|
|
112
|
+
"version": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"const": "2"
|
|
115
|
+
},
|
|
116
|
+
"operation_id": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
119
|
+
},
|
|
120
|
+
"subject_principal_id": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
123
|
+
},
|
|
124
|
+
"expected_membership_revision": {
|
|
125
|
+
"type": "integer",
|
|
126
|
+
"minimum": 1,
|
|
127
|
+
"maximum": 9007199254740991
|
|
128
|
+
},
|
|
129
|
+
"expires_at_ms": {
|
|
130
|
+
"type": "integer",
|
|
131
|
+
"minimum": 0,
|
|
132
|
+
"maximum": 253402300799999
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"InspectSessionObserveGrantV2Request": {
|
|
137
|
+
"type": "object",
|
|
138
|
+
"additionalProperties": false,
|
|
139
|
+
"required": [
|
|
140
|
+
"version"
|
|
141
|
+
],
|
|
142
|
+
"properties": {
|
|
143
|
+
"version": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"const": "2"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"RevokeSessionObserveGrantV2Request": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"additionalProperties": false,
|
|
152
|
+
"required": [
|
|
153
|
+
"version",
|
|
154
|
+
"operation_id",
|
|
155
|
+
"expected_revision"
|
|
156
|
+
],
|
|
157
|
+
"properties": {
|
|
158
|
+
"version": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"const": "2"
|
|
161
|
+
},
|
|
162
|
+
"operation_id": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
165
|
+
},
|
|
166
|
+
"expected_revision": {
|
|
167
|
+
"type": "integer",
|
|
168
|
+
"minimum": 1,
|
|
169
|
+
"maximum": 9007199254740991
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"SessionObserveGrantV2Receipt": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"additionalProperties": false,
|
|
176
|
+
"required": [
|
|
177
|
+
"version",
|
|
178
|
+
"kind",
|
|
179
|
+
"grant_id",
|
|
180
|
+
"revision",
|
|
181
|
+
"owner_principal_id",
|
|
182
|
+
"subject_principal_id",
|
|
183
|
+
"agent_session_id",
|
|
184
|
+
"session_incarnation",
|
|
185
|
+
"project_id",
|
|
186
|
+
"authority_epoch",
|
|
187
|
+
"membership_revision",
|
|
188
|
+
"state",
|
|
189
|
+
"expires_at",
|
|
190
|
+
"revocation_state"
|
|
191
|
+
],
|
|
192
|
+
"properties": {
|
|
193
|
+
"version": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"const": "2"
|
|
196
|
+
},
|
|
197
|
+
"kind": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"const": "session_observe_grant"
|
|
200
|
+
},
|
|
201
|
+
"grant_id": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
204
|
+
},
|
|
205
|
+
"revision": {
|
|
206
|
+
"type": "integer",
|
|
207
|
+
"minimum": 1,
|
|
208
|
+
"maximum": 9007199254740991
|
|
209
|
+
},
|
|
210
|
+
"owner_principal_id": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
213
|
+
},
|
|
214
|
+
"subject_principal_id": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
217
|
+
},
|
|
218
|
+
"agent_session_id": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
221
|
+
},
|
|
222
|
+
"session_incarnation": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
225
|
+
},
|
|
226
|
+
"project_id": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
229
|
+
},
|
|
230
|
+
"authority_epoch": {
|
|
231
|
+
"type": "integer",
|
|
232
|
+
"minimum": 1,
|
|
233
|
+
"maximum": 9007199254740991
|
|
234
|
+
},
|
|
235
|
+
"membership_revision": {
|
|
236
|
+
"type": "integer",
|
|
237
|
+
"minimum": 1,
|
|
238
|
+
"maximum": 9007199254740991
|
|
239
|
+
},
|
|
240
|
+
"state": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"enum": [
|
|
243
|
+
"active",
|
|
244
|
+
"revoking",
|
|
245
|
+
"revoked",
|
|
246
|
+
"expired"
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
"expires_at": {
|
|
250
|
+
"type": "integer",
|
|
251
|
+
"minimum": 0,
|
|
252
|
+
"maximum": 253402300799999
|
|
253
|
+
},
|
|
254
|
+
"revocation_state": {
|
|
255
|
+
"type": [
|
|
256
|
+
"string",
|
|
257
|
+
"null"
|
|
258
|
+
],
|
|
259
|
+
"enum": [
|
|
260
|
+
"effective_pending",
|
|
261
|
+
"effective",
|
|
262
|
+
null
|
|
263
|
+
]
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"allOf": [
|
|
267
|
+
{
|
|
268
|
+
"if": {
|
|
269
|
+
"properties": {
|
|
270
|
+
"state": {
|
|
271
|
+
"const": "active"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"then": {
|
|
276
|
+
"properties": {
|
|
277
|
+
"revocation_state": {
|
|
278
|
+
"type": "null"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"else": {
|
|
283
|
+
"properties": {
|
|
284
|
+
"revocation_state": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"enum": [
|
|
287
|
+
"effective_pending",
|
|
288
|
+
"effective"
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
"PrepareSessionAudienceV2Request": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"additionalProperties": false,
|
|
299
|
+
"required": [
|
|
300
|
+
"version",
|
|
301
|
+
"operation_id",
|
|
302
|
+
"action"
|
|
303
|
+
],
|
|
304
|
+
"properties": {
|
|
305
|
+
"version": {
|
|
306
|
+
"const": "2"
|
|
307
|
+
},
|
|
308
|
+
"operation_id": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
311
|
+
},
|
|
312
|
+
"action": {
|
|
313
|
+
"enum": [
|
|
314
|
+
"publish",
|
|
315
|
+
"private"
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"PrepareSessionAudienceV2Receipt": {
|
|
321
|
+
"type": "object",
|
|
322
|
+
"additionalProperties": false,
|
|
323
|
+
"required": [
|
|
324
|
+
"state",
|
|
325
|
+
"response"
|
|
326
|
+
],
|
|
327
|
+
"properties": {
|
|
328
|
+
"state": {
|
|
329
|
+
"const": "observed"
|
|
330
|
+
},
|
|
331
|
+
"response": {
|
|
332
|
+
"$ref": "#/components/schemas/ObservedSessionAudienceResponseV2"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"ObservedSessionAudienceResponseV2": {
|
|
337
|
+
"type": "object",
|
|
338
|
+
"additionalProperties": false,
|
|
339
|
+
"required": [
|
|
340
|
+
"type",
|
|
341
|
+
"version",
|
|
342
|
+
"request_id",
|
|
343
|
+
"action",
|
|
344
|
+
"agent_session_id",
|
|
345
|
+
"session_incarnation",
|
|
346
|
+
"process_epoch",
|
|
347
|
+
"runtime_lease_id",
|
|
348
|
+
"logical_terminal_id",
|
|
349
|
+
"process_start_identity",
|
|
350
|
+
"expected_generation",
|
|
351
|
+
"result"
|
|
352
|
+
],
|
|
353
|
+
"properties": {
|
|
354
|
+
"type": {
|
|
355
|
+
"const": "session_audience_response_v2"
|
|
356
|
+
},
|
|
357
|
+
"version": {
|
|
358
|
+
"const": "2"
|
|
359
|
+
},
|
|
360
|
+
"request_id": {
|
|
361
|
+
"type": "string",
|
|
362
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
363
|
+
},
|
|
364
|
+
"action": {
|
|
365
|
+
"enum": [
|
|
366
|
+
"publish",
|
|
367
|
+
"private"
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
"agent_session_id": {
|
|
371
|
+
"type": "string",
|
|
372
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
373
|
+
},
|
|
374
|
+
"session_incarnation": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
377
|
+
},
|
|
378
|
+
"process_epoch": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
381
|
+
},
|
|
382
|
+
"runtime_lease_id": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
385
|
+
},
|
|
386
|
+
"logical_terminal_id": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
389
|
+
},
|
|
390
|
+
"process_start_identity": {
|
|
391
|
+
"type": "string",
|
|
392
|
+
"pattern": "^[1-9][0-9]{0,31}$"
|
|
393
|
+
},
|
|
394
|
+
"expected_generation": {
|
|
395
|
+
"type": "string",
|
|
396
|
+
"pattern": "^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$"
|
|
397
|
+
},
|
|
398
|
+
"result": {
|
|
399
|
+
"anyOf": [
|
|
400
|
+
{
|
|
401
|
+
"type": "object",
|
|
402
|
+
"additionalProperties": false,
|
|
403
|
+
"required": [
|
|
404
|
+
"status",
|
|
405
|
+
"state",
|
|
406
|
+
"stream_id",
|
|
407
|
+
"generation",
|
|
408
|
+
"first_sequence"
|
|
409
|
+
],
|
|
410
|
+
"properties": {
|
|
411
|
+
"status": {
|
|
412
|
+
"const": "observed"
|
|
413
|
+
},
|
|
414
|
+
"state": {
|
|
415
|
+
"const": "public"
|
|
416
|
+
},
|
|
417
|
+
"stream_id": {
|
|
418
|
+
"type": "string",
|
|
419
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
420
|
+
},
|
|
421
|
+
"generation": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"pattern": "^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$"
|
|
424
|
+
},
|
|
425
|
+
"first_sequence": {
|
|
426
|
+
"const": "1"
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"type": "object",
|
|
432
|
+
"additionalProperties": false,
|
|
433
|
+
"required": [
|
|
434
|
+
"status",
|
|
435
|
+
"state",
|
|
436
|
+
"generation"
|
|
437
|
+
],
|
|
438
|
+
"properties": {
|
|
439
|
+
"status": {
|
|
440
|
+
"const": "observed"
|
|
441
|
+
},
|
|
442
|
+
"state": {
|
|
443
|
+
"const": "private"
|
|
444
|
+
},
|
|
445
|
+
"generation": {
|
|
446
|
+
"type": "string",
|
|
447
|
+
"pattern": "^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
]
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"ReadSessionAudienceStateV2Request": {
|
|
456
|
+
"type": "object",
|
|
457
|
+
"additionalProperties": false,
|
|
458
|
+
"required": [
|
|
459
|
+
"version",
|
|
460
|
+
"operation_id"
|
|
461
|
+
],
|
|
462
|
+
"description": "Reads the current audience. Never publishes and never admits an observer. Supply reconcile_operation_id to also receive what one earlier transition is recorded to have done.",
|
|
463
|
+
"properties": {
|
|
464
|
+
"version": {
|
|
465
|
+
"const": "2"
|
|
466
|
+
},
|
|
467
|
+
"operation_id": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
470
|
+
},
|
|
471
|
+
"reconcile_operation_id": {
|
|
472
|
+
"type": "string",
|
|
473
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"SessionAudienceStateV2Receipt": {
|
|
478
|
+
"type": "object",
|
|
479
|
+
"additionalProperties": false,
|
|
480
|
+
"required": [
|
|
481
|
+
"state",
|
|
482
|
+
"current"
|
|
483
|
+
],
|
|
484
|
+
"properties": {
|
|
485
|
+
"state": {
|
|
486
|
+
"const": "reconciled"
|
|
487
|
+
},
|
|
488
|
+
"current": {
|
|
489
|
+
"$ref": "#/components/schemas/ObservedSessionAudienceStateV2"
|
|
490
|
+
},
|
|
491
|
+
"operation": {
|
|
492
|
+
"$ref": "#/components/schemas/SessionAudienceOperationV2"
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
"ObservedSessionAudienceStateV2": {
|
|
497
|
+
"type": "object",
|
|
498
|
+
"additionalProperties": false,
|
|
499
|
+
"description": "A fresh fence-bound reading of the live runtime. The generation is the runtime's own; after a publication whose acknowledgement was lost it is ahead of every recorded transition. No first_sequence is present because a reading opens no stream.",
|
|
500
|
+
"required": [
|
|
501
|
+
"type",
|
|
502
|
+
"version",
|
|
503
|
+
"request_id",
|
|
504
|
+
"agent_session_id",
|
|
505
|
+
"session_incarnation",
|
|
506
|
+
"process_epoch",
|
|
507
|
+
"runtime_lease_id",
|
|
508
|
+
"logical_terminal_id",
|
|
509
|
+
"process_start_identity",
|
|
510
|
+
"expected_generation",
|
|
511
|
+
"result",
|
|
512
|
+
"action"
|
|
513
|
+
],
|
|
514
|
+
"properties": {
|
|
515
|
+
"type": {
|
|
516
|
+
"const": "session_audience_response_v2"
|
|
517
|
+
},
|
|
518
|
+
"version": {
|
|
519
|
+
"const": "2"
|
|
520
|
+
},
|
|
521
|
+
"request_id": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
524
|
+
},
|
|
525
|
+
"agent_session_id": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
528
|
+
},
|
|
529
|
+
"session_incarnation": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
532
|
+
},
|
|
533
|
+
"process_epoch": {
|
|
534
|
+
"type": "string",
|
|
535
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
536
|
+
},
|
|
537
|
+
"runtime_lease_id": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
540
|
+
},
|
|
541
|
+
"logical_terminal_id": {
|
|
542
|
+
"type": "string",
|
|
543
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
544
|
+
},
|
|
545
|
+
"process_start_identity": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"pattern": "^[1-9][0-9]{0,31}$"
|
|
548
|
+
},
|
|
549
|
+
"expected_generation": {
|
|
550
|
+
"type": "string",
|
|
551
|
+
"pattern": "^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$"
|
|
552
|
+
},
|
|
553
|
+
"action": {
|
|
554
|
+
"const": "observe"
|
|
555
|
+
},
|
|
556
|
+
"result": {
|
|
557
|
+
"anyOf": [
|
|
558
|
+
{
|
|
559
|
+
"type": "object",
|
|
560
|
+
"additionalProperties": false,
|
|
561
|
+
"required": [
|
|
562
|
+
"status",
|
|
563
|
+
"state",
|
|
564
|
+
"stream_id",
|
|
565
|
+
"generation"
|
|
566
|
+
],
|
|
567
|
+
"properties": {
|
|
568
|
+
"status": {
|
|
569
|
+
"const": "observed"
|
|
570
|
+
},
|
|
571
|
+
"state": {
|
|
572
|
+
"const": "public"
|
|
573
|
+
},
|
|
574
|
+
"stream_id": {
|
|
575
|
+
"type": "string",
|
|
576
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
577
|
+
},
|
|
578
|
+
"generation": {
|
|
579
|
+
"type": "string",
|
|
580
|
+
"pattern": "^(?:[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$"
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"type": "object",
|
|
586
|
+
"additionalProperties": false,
|
|
587
|
+
"required": [
|
|
588
|
+
"status",
|
|
589
|
+
"state",
|
|
590
|
+
"generation"
|
|
591
|
+
],
|
|
592
|
+
"properties": {
|
|
593
|
+
"status": {
|
|
594
|
+
"const": "observed"
|
|
595
|
+
},
|
|
596
|
+
"state": {
|
|
597
|
+
"const": "private"
|
|
598
|
+
},
|
|
599
|
+
"generation": {
|
|
600
|
+
"type": "string",
|
|
601
|
+
"pattern": "^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$"
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"SessionAudienceOperationV2": {
|
|
610
|
+
"description": "What one earlier operation is recorded to have done. status=expired_unrecorded means its deadline passed with no recorded response: the effect is unknown and expiry is not an acknowledgement. status=unknown means no such operation was ever issued.",
|
|
611
|
+
"oneOf": [
|
|
612
|
+
{
|
|
613
|
+
"type": "object",
|
|
614
|
+
"additionalProperties": false,
|
|
615
|
+
"description": "No such operation was ever issued for this session.",
|
|
616
|
+
"required": [
|
|
617
|
+
"version",
|
|
618
|
+
"kind",
|
|
619
|
+
"operation_id",
|
|
620
|
+
"status"
|
|
621
|
+
],
|
|
622
|
+
"properties": {
|
|
623
|
+
"version": {
|
|
624
|
+
"const": "2"
|
|
625
|
+
},
|
|
626
|
+
"kind": {
|
|
627
|
+
"const": "session_audience_operation"
|
|
628
|
+
},
|
|
629
|
+
"operation_id": {
|
|
630
|
+
"type": "string",
|
|
631
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
632
|
+
},
|
|
633
|
+
"status": {
|
|
634
|
+
"const": "unknown"
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"type": "object",
|
|
640
|
+
"additionalProperties": false,
|
|
641
|
+
"description": "The operation has a durable answer. It is history, not a statement about now.",
|
|
642
|
+
"required": [
|
|
643
|
+
"version",
|
|
644
|
+
"kind",
|
|
645
|
+
"operation_id",
|
|
646
|
+
"status",
|
|
647
|
+
"agent_session_id",
|
|
648
|
+
"action",
|
|
649
|
+
"request_revision",
|
|
650
|
+
"issued_at_ms",
|
|
651
|
+
"deadline_ms",
|
|
652
|
+
"response"
|
|
653
|
+
],
|
|
654
|
+
"properties": {
|
|
655
|
+
"version": {
|
|
656
|
+
"const": "2"
|
|
657
|
+
},
|
|
658
|
+
"kind": {
|
|
659
|
+
"const": "session_audience_operation"
|
|
660
|
+
},
|
|
661
|
+
"operation_id": {
|
|
662
|
+
"type": "string",
|
|
663
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
664
|
+
},
|
|
665
|
+
"status": {
|
|
666
|
+
"const": "recorded"
|
|
667
|
+
},
|
|
668
|
+
"agent_session_id": {
|
|
669
|
+
"type": "string",
|
|
670
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
671
|
+
},
|
|
672
|
+
"action": {
|
|
673
|
+
"enum": [
|
|
674
|
+
"publish",
|
|
675
|
+
"private",
|
|
676
|
+
"observe"
|
|
677
|
+
]
|
|
678
|
+
},
|
|
679
|
+
"request_revision": {
|
|
680
|
+
"type": "string",
|
|
681
|
+
"pattern": "^[1-9][0-9]{0,15}$"
|
|
682
|
+
},
|
|
683
|
+
"issued_at_ms": {
|
|
684
|
+
"type": "integer",
|
|
685
|
+
"minimum": 0,
|
|
686
|
+
"maximum": 9007199254740991
|
|
687
|
+
},
|
|
688
|
+
"deadline_ms": {
|
|
689
|
+
"type": "integer",
|
|
690
|
+
"minimum": 0,
|
|
691
|
+
"maximum": 9007199254740991
|
|
692
|
+
},
|
|
693
|
+
"response": {
|
|
694
|
+
"oneOf": [
|
|
695
|
+
{
|
|
696
|
+
"$ref": "#/components/schemas/ObservedSessionAudienceResponseV2"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"$ref": "#/components/schemas/ObservedSessionAudienceStateV2"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"$ref": "#/components/schemas/RefusedSessionAudienceResponseV2"
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"type": "object",
|
|
710
|
+
"additionalProperties": false,
|
|
711
|
+
"description": "The operation has no recorded answer: still inside its deadline, or past it with the effect unknown. Expiry is not an acknowledgement.",
|
|
712
|
+
"required": [
|
|
713
|
+
"version",
|
|
714
|
+
"kind",
|
|
715
|
+
"operation_id",
|
|
716
|
+
"status",
|
|
717
|
+
"agent_session_id",
|
|
718
|
+
"action",
|
|
719
|
+
"request_revision",
|
|
720
|
+
"issued_at_ms",
|
|
721
|
+
"deadline_ms",
|
|
722
|
+
"response"
|
|
723
|
+
],
|
|
724
|
+
"properties": {
|
|
725
|
+
"version": {
|
|
726
|
+
"const": "2"
|
|
727
|
+
},
|
|
728
|
+
"kind": {
|
|
729
|
+
"const": "session_audience_operation"
|
|
730
|
+
},
|
|
731
|
+
"operation_id": {
|
|
732
|
+
"type": "string",
|
|
733
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
734
|
+
},
|
|
735
|
+
"status": {
|
|
736
|
+
"enum": [
|
|
737
|
+
"pending",
|
|
738
|
+
"expired_unrecorded"
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
"agent_session_id": {
|
|
742
|
+
"type": "string",
|
|
743
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
744
|
+
},
|
|
745
|
+
"action": {
|
|
746
|
+
"enum": [
|
|
747
|
+
"publish",
|
|
748
|
+
"private",
|
|
749
|
+
"observe"
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
"request_revision": {
|
|
753
|
+
"type": "string",
|
|
754
|
+
"pattern": "^[1-9][0-9]{0,15}$"
|
|
755
|
+
},
|
|
756
|
+
"issued_at_ms": {
|
|
757
|
+
"type": "integer",
|
|
758
|
+
"minimum": 0,
|
|
759
|
+
"maximum": 9007199254740991
|
|
760
|
+
},
|
|
761
|
+
"deadline_ms": {
|
|
762
|
+
"type": "integer",
|
|
763
|
+
"minimum": 0,
|
|
764
|
+
"maximum": 9007199254740991
|
|
765
|
+
},
|
|
766
|
+
"response": {
|
|
767
|
+
"type": "null"
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
]
|
|
772
|
+
},
|
|
773
|
+
"RefusedSessionAudienceResponseV2": {
|
|
774
|
+
"type": "object",
|
|
775
|
+
"additionalProperties": false,
|
|
776
|
+
"description": "A durable record that the runtime refused to answer one request. It says nothing about the audience: it names no state, no stream and no generation.",
|
|
777
|
+
"required": [
|
|
778
|
+
"type",
|
|
779
|
+
"version",
|
|
780
|
+
"request_id",
|
|
781
|
+
"action",
|
|
782
|
+
"agent_session_id",
|
|
783
|
+
"session_incarnation",
|
|
784
|
+
"process_epoch",
|
|
785
|
+
"runtime_lease_id",
|
|
786
|
+
"logical_terminal_id",
|
|
787
|
+
"process_start_identity",
|
|
788
|
+
"expected_generation",
|
|
789
|
+
"result"
|
|
790
|
+
],
|
|
791
|
+
"properties": {
|
|
792
|
+
"type": {
|
|
793
|
+
"const": "session_audience_response_v2"
|
|
794
|
+
},
|
|
795
|
+
"version": {
|
|
796
|
+
"const": "2"
|
|
797
|
+
},
|
|
798
|
+
"request_id": {
|
|
799
|
+
"type": "string",
|
|
800
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
801
|
+
},
|
|
802
|
+
"agent_session_id": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
805
|
+
},
|
|
806
|
+
"session_incarnation": {
|
|
807
|
+
"type": "string",
|
|
808
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
809
|
+
},
|
|
810
|
+
"process_epoch": {
|
|
811
|
+
"type": "string",
|
|
812
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
813
|
+
},
|
|
814
|
+
"runtime_lease_id": {
|
|
815
|
+
"type": "string",
|
|
816
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
817
|
+
},
|
|
818
|
+
"logical_terminal_id": {
|
|
819
|
+
"type": "string",
|
|
820
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
821
|
+
},
|
|
822
|
+
"process_start_identity": {
|
|
823
|
+
"type": "string",
|
|
824
|
+
"pattern": "^[1-9][0-9]{0,31}$"
|
|
825
|
+
},
|
|
826
|
+
"expected_generation": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"pattern": "^(?:0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]{1}|1844674407370955161[0-4]|18446744073709551615)$"
|
|
829
|
+
},
|
|
830
|
+
"action": {
|
|
831
|
+
"enum": [
|
|
832
|
+
"publish",
|
|
833
|
+
"private",
|
|
834
|
+
"observe"
|
|
835
|
+
]
|
|
836
|
+
},
|
|
837
|
+
"result": {
|
|
838
|
+
"type": "object",
|
|
839
|
+
"additionalProperties": false,
|
|
840
|
+
"required": [
|
|
841
|
+
"status",
|
|
842
|
+
"reason"
|
|
843
|
+
],
|
|
844
|
+
"properties": {
|
|
845
|
+
"status": {
|
|
846
|
+
"const": "unavailable"
|
|
847
|
+
},
|
|
848
|
+
"reason": {
|
|
849
|
+
"enum": [
|
|
850
|
+
"session_unavailable",
|
|
851
|
+
"audience_stale",
|
|
852
|
+
"deadline_expired",
|
|
853
|
+
"runtime_unavailable"
|
|
854
|
+
]
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
};
|
|
861
|
+
export const ownerObserveGrantOperations = {
|
|
862
|
+
"listProjectObserversV2": {
|
|
863
|
+
"path": "/v1/collaboration/2/projects/{id}/observers",
|
|
864
|
+
"method": "POST"
|
|
865
|
+
},
|
|
866
|
+
"createSessionObserveGrantV2": {
|
|
867
|
+
"path": "/v1/collaboration/2/agent-sessions/{id}/observe-grants",
|
|
868
|
+
"method": "POST"
|
|
869
|
+
},
|
|
870
|
+
"inspectSessionObserveGrantV2": {
|
|
871
|
+
"path": "/v1/collaboration/2/observe-grants/{id}/inspect",
|
|
872
|
+
"method": "POST"
|
|
873
|
+
},
|
|
874
|
+
"revokeSessionObserveGrantV2": {
|
|
875
|
+
"path": "/v1/collaboration/2/observe-grants/{id}/revoke",
|
|
876
|
+
"method": "POST"
|
|
877
|
+
},
|
|
878
|
+
"prepareSessionAudienceV2": {
|
|
879
|
+
"path": "/v1/collaboration/2/agent-sessions/{id}/audience",
|
|
880
|
+
"method": "POST"
|
|
881
|
+
},
|
|
882
|
+
"readSessionAudienceStateV2": {
|
|
883
|
+
"path": "/v1/collaboration/2/agent-sessions/{id}/audience-state",
|
|
884
|
+
"method": "POST"
|
|
885
|
+
}
|
|
886
|
+
};
|
|
887
|
+
//# sourceMappingURL=owner-observe-grants-v2-schema.js.map
|