@intentic/sandbox-contract 1.429.0 → 1.431.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/README.md +12 -2
- package/dist/app-routes/app-pages.d.ts +1 -0
- package/dist/app-routes/app-pages.d.ts.map +1 -1
- package/dist/app-routes/app-pages.js +1 -0
- package/dist/app-routes/app-pages.js.map +1 -1
- package/dist/app-routes/index.d.ts +1 -0
- package/dist/app-routes/index.d.ts.map +1 -1
- package/dist/app-routes/index.js +1 -0
- package/dist/app-routes/index.js.map +1 -1
- package/dist/app-routes/return-path.d.ts +2 -0
- package/dist/app-routes/return-path.d.ts.map +1 -0
- package/dist/app-routes/return-path.js +8 -0
- package/dist/app-routes/return-path.js.map +1 -0
- package/dist/contracts/accounts.contract.d.ts +7 -0
- package/dist/contracts/accounts.contract.d.ts.map +1 -1
- package/dist/contracts/accounts.contract.js +2 -0
- package/dist/contracts/accounts.contract.js.map +1 -1
- package/dist/contracts/agent.contract.d.ts +381 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +3297 -1568
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js +35 -5
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/automations.contract.d.ts +31 -0
- package/dist/contracts/automations.contract.d.ts.map +1 -1
- package/dist/contracts/automations.contract.js +1 -0
- package/dist/contracts/automations.contract.js.map +1 -1
- package/dist/contracts/bookmarks.contract.d.ts +101 -0
- package/dist/contracts/bookmarks.contract.d.ts.map +1 -0
- package/dist/contracts/bookmarks.contract.js +51 -0
- package/dist/contracts/bookmarks.contract.js.map +1 -0
- package/dist/contracts/browser.contract.d.ts +176 -0
- package/dist/contracts/browser.contract.d.ts.map +1 -0
- package/dist/contracts/browser.contract.js +150 -0
- package/dist/contracts/browser.contract.js.map +1 -0
- package/dist/contracts/capabilities.contract.d.ts +48 -0
- package/dist/contracts/capabilities.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.js +3 -1
- package/dist/contracts/capabilities.contract.js.map +1 -1
- package/dist/contracts/device-ci-runners.contract.d.ts +108 -0
- package/dist/contracts/device-ci-runners.contract.d.ts.map +1 -0
- package/dist/contracts/device-ci-runners.contract.js +56 -0
- package/dist/contracts/device-ci-runners.contract.js.map +1 -0
- package/dist/contracts/device.contract.d.ts +87 -0
- package/dist/contracts/device.contract.d.ts.map +1 -1
- package/dist/contracts/device.contract.js +4 -0
- package/dist/contracts/device.contract.js.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +1 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/extensions.contract.js +1 -1
- package/dist/contracts/extensions.contract.js.map +1 -1
- package/dist/contracts/git.contract.d.ts +7 -0
- package/dist/contracts/git.contract.d.ts.map +1 -1
- package/dist/contracts/issues.contract.d.ts +11 -0
- package/dist/contracts/issues.contract.d.ts.map +1 -1
- package/dist/contracts/needs.contract.d.ts +408 -0
- package/dist/contracts/needs.contract.d.ts.map +1 -1
- package/dist/contracts/offload.contract.d.ts +4 -0
- package/dist/contracts/offload.contract.d.ts.map +1 -1
- package/dist/contracts/ports.contract.d.ts +8 -0
- package/dist/contracts/ports.contract.d.ts.map +1 -1
- package/dist/contracts/ports.contract.js +6 -5
- package/dist/contracts/ports.contract.js.map +1 -1
- package/dist/contracts/remote.contract.d.ts +121 -0
- package/dist/contracts/remote.contract.d.ts.map +1 -0
- package/dist/contracts/remote.contract.js +80 -0
- package/dist/contracts/remote.contract.js.map +1 -0
- package/dist/contracts/runner.contract.d.ts +716 -15
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.js +49 -2
- package/dist/contracts/runner.contract.js.map +1 -1
- package/dist/contracts/runners.contract.d.ts +16 -0
- package/dist/contracts/runners.contract.d.ts.map +1 -0
- package/dist/contracts/runners.contract.js +15 -0
- package/dist/contracts/runners.contract.js.map +1 -0
- package/dist/contracts/safety.contract.d.ts.map +1 -1
- package/dist/contracts/safety.contract.js +1 -0
- package/dist/contracts/safety.contract.js.map +1 -1
- package/dist/contracts/seal.contract.d.ts +105 -0
- package/dist/contracts/seal.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.js +6 -0
- package/dist/contracts/secrets.contract.js.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +48 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +28 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.js +1 -0
- package/dist/contracts/settings.contract.js.map +1 -1
- package/dist/contracts/skills.contract.d.ts +6 -0
- package/dist/contracts/skills.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +482 -4
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +70 -3
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/contracts/translator.contract.d.ts +7 -0
- package/dist/contracts/translator.contract.d.ts.map +1 -1
- package/dist/contracts/usage.contract.d.ts +3 -0
- package/dist/contracts/usage.contract.d.ts.map +1 -1
- package/dist/events/agent-events.d.ts +194 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js +2 -2
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/agent-transcript.d.ts +48 -0
- package/dist/events/agent-transcript.d.ts.map +1 -1
- package/dist/events/agent-words.d.ts +5 -0
- package/dist/events/agent-words.d.ts.map +1 -1
- package/dist/events/agent-words.js +20 -1
- package/dist/events/agent-words.js.map +1 -1
- package/dist/events/failure-rows.d.ts +2 -2
- package/dist/events/failure-rows.d.ts.map +1 -1
- package/dist/events/failure-rows.js +13 -13
- package/dist/events/failure-rows.js.map +1 -1
- package/dist/events/refusal-incidents.d.ts +1 -0
- package/dist/events/refusal-incidents.d.ts.map +1 -1
- package/dist/events/refusal-incidents.js +42 -19
- package/dist/events/refusal-incidents.js.map +1 -1
- package/dist/events/resume.d.ts.map +1 -1
- package/dist/events/resume.js +12 -12
- package/dist/events/resume.js.map +1 -1
- package/dist/events/sandbox-notice.d.ts.map +1 -1
- package/dist/events/sandbox-notice.js.map +1 -1
- package/dist/events/system-events.d.ts +102 -0
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/transcript.d.ts +240 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/ids/conversation-ids.d.ts +1 -0
- package/dist/ids/conversation-ids.d.ts.map +1 -1
- package/dist/ids/conversation-ids.js +2 -1
- package/dist/ids/conversation-ids.js.map +1 -1
- package/dist/ids/project-id.d.ts.map +1 -1
- package/dist/ids/project-id.js +4 -4
- package/dist/ids/project-id.js.map +1 -1
- package/dist/ids/run-row-ids.d.ts +8 -0
- package/dist/ids/run-row-ids.d.ts.map +1 -0
- package/dist/ids/run-row-ids.js +32 -0
- package/dist/ids/run-row-ids.js.map +1 -0
- package/dist/index.d.ts +12 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -4
- package/dist/index.js.map +1 -1
- package/dist/models/agent-catalog.d.ts.map +1 -1
- package/dist/models/agent-catalog.js +3 -2
- package/dist/models/agent-catalog.js.map +1 -1
- package/dist/models/agent-lanes.d.ts.map +1 -1
- package/dist/models/agent-lanes.js +4 -1
- package/dist/models/agent-lanes.js.map +1 -1
- package/dist/models/agent-runtimes.d.ts.map +1 -1
- package/dist/models/agent-runtimes.js +2 -2
- package/dist/models/agent-runtimes.js.map +1 -1
- package/dist/models/agent-standing.d.ts +6 -1
- package/dist/models/agent-standing.d.ts.map +1 -1
- package/dist/models/agent-standing.js +1 -0
- package/dist/models/agent-standing.js.map +1 -1
- package/dist/models/providers/provider-traits.d.ts +215 -0
- package/dist/models/providers/provider-traits.d.ts.map +1 -0
- package/dist/models/providers/provider-traits.js +60 -0
- package/dist/models/providers/provider-traits.js.map +1 -0
- package/dist/netd/browser-wire.d.ts +58 -1
- package/dist/netd/browser-wire.d.ts.map +1 -1
- package/dist/netd/browser-wire.js +27 -0
- package/dist/netd/browser-wire.js.map +1 -1
- package/dist/netd/generated/browser-wire.d.ts +135 -0
- package/dist/netd/generated/browser-wire.d.ts.map +1 -1
- package/dist/netd/generated/wire.d.ts +56 -1
- package/dist/netd/generated/wire.d.ts.map +1 -1
- package/dist/policy/admin/admin-grant.d.ts +21 -0
- package/dist/policy/admin/admin-grant.d.ts.map +1 -0
- package/dist/policy/admin/admin-grant.js +41 -0
- package/dist/policy/admin/admin-grant.js.map +1 -0
- package/dist/policy/capabilities/capability-kinds.d.ts +268 -0
- package/dist/policy/capabilities/capability-kinds.d.ts.map +1 -0
- package/dist/policy/capabilities/capability-kinds.js +47 -0
- package/dist/policy/capabilities/capability-kinds.js.map +1 -0
- package/dist/policy/command-classes.d.ts.map +1 -1
- package/dist/policy/command-classes.js +3 -1
- package/dist/policy/command-classes.js.map +1 -1
- package/dist/policy/device-programs.d.ts +79 -2
- package/dist/policy/device-programs.d.ts.map +1 -1
- package/dist/policy/device-programs.js +15 -16
- package/dist/policy/device-programs.js.map +1 -1
- package/dist/policy/reserved-servers.d.ts.map +1 -1
- package/dist/policy/reserved-servers.js +5 -1
- package/dist/policy/reserved-servers.js.map +1 -1
- package/dist/policy/role-capability.d.ts.map +1 -1
- package/dist/policy/role-capability.js +2 -1
- package/dist/policy/role-capability.js.map +1 -1
- package/dist/policy/shell/command-normalise.d.ts +10 -0
- package/dist/policy/shell/command-normalise.d.ts.map +1 -0
- package/dist/policy/shell/command-normalise.js +153 -0
- package/dist/policy/shell/command-normalise.js.map +1 -0
- package/dist/protocol/doors/listener-protocol.d.ts +4 -0
- package/dist/protocol/doors/listener-protocol.d.ts.map +1 -1
- package/dist/protocol/doors/listener-protocol.js +4 -0
- package/dist/protocol/doors/listener-protocol.js.map +1 -1
- package/dist/protocol/doors/loopback-proof.d.ts +8 -0
- package/dist/protocol/doors/loopback-proof.d.ts.map +1 -0
- package/dist/protocol/doors/loopback-proof.js +11 -0
- package/dist/protocol/doors/loopback-proof.js.map +1 -0
- package/dist/protocol/doors/pass-scopes.d.ts +4 -0
- package/dist/protocol/doors/pass-scopes.d.ts.map +1 -0
- package/dist/protocol/doors/pass-scopes.js +3 -0
- package/dist/protocol/doors/pass-scopes.js.map +1 -0
- package/dist/protocol/doors/runner-protocol.d.ts +187 -0
- package/dist/protocol/doors/runner-protocol.d.ts.map +1 -1
- package/dist/protocol/doors/runner-protocol.js +48 -1
- package/dist/protocol/doors/runner-protocol.js.map +1 -1
- package/dist/protocol/doors/sandbox-pass.d.ts +19 -2
- package/dist/protocol/doors/sandbox-pass.d.ts.map +1 -1
- package/dist/protocol/doors/sandbox-pass.js +42 -10
- package/dist/protocol/doors/sandbox-pass.js.map +1 -1
- package/dist/protocol/member-reach.d.ts +6 -0
- package/dist/protocol/member-reach.d.ts.map +1 -1
- package/dist/protocol/member-reach.js +24 -0
- package/dist/protocol/member-reach.js.map +1 -1
- package/dist/protocol/peer-mcp-server.d.ts +2 -0
- package/dist/protocol/peer-mcp-server.d.ts.map +1 -1
- package/dist/protocol/peer-mcp-server.js +1 -0
- package/dist/protocol/peer-mcp-server.js.map +1 -1
- package/dist/protocol/raw/raw-json-routes.d.ts +518 -0
- package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -1
- package/dist/protocol/raw/raw-json-routes.js +26 -2
- package/dist/protocol/raw/raw-json-routes.js.map +1 -1
- package/dist/protocol/raw/raw-routes.d.ts +182 -2
- package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
- package/dist/protocol/raw/raw-routes.js +67 -35
- package/dist/protocol/raw/raw-routes.js.map +1 -1
- package/dist/protocol/route-meta.d.ts.map +1 -1
- package/dist/protocol/route-meta.js.map +1 -1
- package/dist/schemas/account-routes.d.ts +176 -0
- package/dist/schemas/account-routes.d.ts.map +1 -0
- package/dist/schemas/account-routes.js +73 -0
- package/dist/schemas/account-routes.js.map +1 -0
- package/dist/schemas/activity.d.ts.map +1 -1
- package/dist/schemas/activity.js.map +1 -1
- package/dist/schemas/agent-background.d.ts +48 -0
- package/dist/schemas/agent-background.d.ts.map +1 -0
- package/dist/schemas/agent-background.js +63 -0
- package/dist/schemas/agent-background.js.map +1 -0
- package/dist/schemas/agent-land.d.ts +7 -0
- package/dist/schemas/agent-land.d.ts.map +1 -1
- package/dist/schemas/agent-land.js +11 -0
- package/dist/schemas/agent-land.js.map +1 -1
- package/dist/schemas/agent.d.ts +16 -0
- package/dist/schemas/agent.d.ts.map +1 -1
- package/dist/schemas/agent.js +3 -4
- package/dist/schemas/agent.js.map +1 -1
- package/dist/schemas/agents-list.d.ts +42 -0
- package/dist/schemas/agents-list.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +668 -17
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +16 -41
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/auto-approve.d.ts +12 -0
- package/dist/schemas/auto-approve.d.ts.map +1 -0
- package/dist/schemas/auto-approve.js +12 -0
- package/dist/schemas/auto-approve.js.map +1 -0
- package/dist/schemas/automations.d.ts +83 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/automations.js +11 -1
- package/dist/schemas/automations.js.map +1 -1
- package/dist/schemas/bookmarks.d.ts +85 -0
- package/dist/schemas/bookmarks.d.ts.map +1 -0
- package/dist/schemas/bookmarks.js +56 -0
- package/dist/schemas/bookmarks.js.map +1 -0
- package/dist/schemas/bridge-heads.d.ts +57 -0
- package/dist/schemas/bridge-heads.d.ts.map +1 -0
- package/dist/schemas/bridge-heads.js +22 -0
- package/dist/schemas/bridge-heads.js.map +1 -0
- package/dist/schemas/browser-tools.d.ts +167 -0
- package/dist/schemas/browser-tools.d.ts.map +1 -0
- package/dist/schemas/browser-tools.js +121 -0
- package/dist/schemas/browser-tools.js.map +1 -0
- package/dist/schemas/browsing.d.ts +139 -0
- package/dist/schemas/browsing.d.ts.map +1 -0
- package/dist/schemas/browsing.js +83 -0
- package/dist/schemas/browsing.js.map +1 -0
- package/dist/schemas/capabilities.d.ts +57 -0
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +9 -0
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/checkout-hooks.d.ts +24 -0
- package/dist/schemas/checkout-hooks.d.ts.map +1 -0
- package/dist/schemas/checkout-hooks.js +23 -0
- package/dist/schemas/checkout-hooks.js.map +1 -0
- package/dist/schemas/ci-fleet.d.ts +216 -0
- package/dist/schemas/ci-fleet.d.ts.map +1 -0
- package/dist/schemas/ci-fleet.js +87 -0
- package/dist/schemas/ci-fleet.js.map +1 -0
- package/dist/schemas/connection-hub.d.ts +3 -1
- package/dist/schemas/connection-hub.d.ts.map +1 -1
- package/dist/schemas/connection-hub.js +2 -1
- package/dist/schemas/connection-hub.js.map +1 -1
- package/dist/schemas/context-continues.d.ts.map +1 -1
- package/dist/schemas/context-continues.js +2 -2
- package/dist/schemas/context-continues.js.map +1 -1
- package/dist/schemas/context-trim.js +3 -3
- package/dist/schemas/context-trim.js.map +1 -1
- package/dist/schemas/device-remote.d.ts +84 -0
- package/dist/schemas/device-remote.d.ts.map +1 -0
- package/dist/schemas/device-remote.js +54 -0
- package/dist/schemas/device-remote.js.map +1 -0
- package/dist/schemas/devices.d.ts +64 -0
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js +6 -1
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/environment.d.ts +1 -0
- package/dist/schemas/environment.d.ts.map +1 -1
- package/dist/schemas/environment.js +1 -0
- package/dist/schemas/environment.js.map +1 -1
- package/dist/schemas/extension-updates.d.ts +2 -0
- package/dist/schemas/extension-updates.d.ts.map +1 -1
- package/dist/schemas/extension-updates.js +4 -0
- package/dist/schemas/extension-updates.js.map +1 -1
- package/dist/schemas/git/git.d.ts +13 -0
- package/dist/schemas/git/git.d.ts.map +1 -1
- package/dist/schemas/git/git.js +7 -7
- package/dist/schemas/git/git.js.map +1 -1
- package/dist/schemas/git/index-run.d.ts +1 -0
- package/dist/schemas/git/index-run.d.ts.map +1 -1
- package/dist/schemas/host-power.d.ts +54 -0
- package/dist/schemas/host-power.d.ts.map +1 -0
- package/dist/schemas/host-power.js +46 -0
- package/dist/schemas/host-power.js.map +1 -0
- package/dist/schemas/hosts.d.ts +145 -0
- package/dist/schemas/hosts.d.ts.map +1 -1
- package/dist/schemas/hosts.js +15 -1
- package/dist/schemas/hosts.js.map +1 -1
- package/dist/schemas/issues.d.ts +44 -0
- package/dist/schemas/issues.d.ts.map +1 -1
- package/dist/schemas/issues.js +12 -0
- package/dist/schemas/issues.js.map +1 -1
- package/dist/schemas/keep-warm.d.ts.map +1 -1
- package/dist/schemas/keep-warm.js +2 -3
- package/dist/schemas/keep-warm.js.map +1 -1
- package/dist/schemas/keyring-native.d.ts.map +1 -1
- package/dist/schemas/keyring-native.js +3 -1
- package/dist/schemas/keyring-native.js.map +1 -1
- package/dist/schemas/keyring.d.ts +1 -0
- package/dist/schemas/keyring.d.ts.map +1 -1
- package/dist/schemas/keyring.js +3 -1
- package/dist/schemas/keyring.js.map +1 -1
- package/dist/schemas/members.d.ts.map +1 -1
- package/dist/schemas/members.js +2 -14
- package/dist/schemas/members.js.map +1 -1
- package/dist/schemas/metrics.d.ts +8 -0
- package/dist/schemas/metrics.d.ts.map +1 -1
- package/dist/schemas/metrics.js +8 -0
- package/dist/schemas/metrics.js.map +1 -1
- package/dist/schemas/needs.d.ts +349 -1
- package/dist/schemas/needs.d.ts.map +1 -1
- package/dist/schemas/needs.js +45 -5
- package/dist/schemas/needs.js.map +1 -1
- package/dist/schemas/offload.d.ts +9 -0
- package/dist/schemas/offload.d.ts.map +1 -1
- package/dist/schemas/offload.js +2 -1
- package/dist/schemas/offload.js.map +1 -1
- package/dist/schemas/ports.d.ts +4 -0
- package/dist/schemas/ports.d.ts.map +1 -1
- package/dist/schemas/ports.js +3 -0
- package/dist/schemas/ports.js.map +1 -1
- package/dist/schemas/providers/capacity.d.ts +6 -0
- package/dist/schemas/providers/capacity.d.ts.map +1 -1
- package/dist/schemas/providers/handoff.d.ts.map +1 -1
- package/dist/schemas/providers/handoff.js +11 -11
- package/dist/schemas/providers/handoff.js.map +1 -1
- package/dist/schemas/providers/provider-oauth.d.ts +14 -0
- package/dist/schemas/providers/provider-oauth.d.ts.map +1 -1
- package/dist/schemas/providers/provider-oauth.js +6 -2
- package/dist/schemas/providers/provider-oauth.js.map +1 -1
- package/dist/schemas/providers/refusals.d.ts +12 -0
- package/dist/schemas/providers/refusals.d.ts.map +1 -1
- package/dist/schemas/providers/refusals.js +4 -0
- package/dist/schemas/providers/refusals.js.map +1 -1
- package/dist/schemas/providers/switched.js +1 -1
- package/dist/schemas/providers/switched.js.map +1 -1
- package/dist/schemas/queued-trial-retry.d.ts +7 -0
- package/dist/schemas/queued-trial-retry.d.ts.map +1 -0
- package/dist/schemas/queued-trial-retry.js +8 -0
- package/dist/schemas/queued-trial-retry.js.map +1 -0
- package/dist/schemas/remote-access.d.ts +138 -0
- package/dist/schemas/remote-access.d.ts.map +1 -0
- package/dist/schemas/remote-access.js +72 -0
- package/dist/schemas/remote-access.js.map +1 -0
- package/dist/schemas/run-targets.d.ts.map +1 -1
- package/dist/schemas/run-targets.js +2 -1
- package/dist/schemas/run-targets.js.map +1 -1
- package/dist/schemas/runner-views.d.ts +24 -0
- package/dist/schemas/runner-views.d.ts.map +1 -0
- package/dist/schemas/runner-views.js +16 -0
- package/dist/schemas/runner-views.js.map +1 -0
- package/dist/schemas/sandbox-reach.d.ts +157 -0
- package/dist/schemas/sandbox-reach.d.ts.map +1 -0
- package/dist/schemas/sandbox-reach.js +112 -0
- package/dist/schemas/sandbox-reach.js.map +1 -0
- package/dist/schemas/seal.d.ts +1 -1
- package/dist/schemas/seal.d.ts.map +1 -1
- package/dist/schemas/seal.js +1 -1
- package/dist/schemas/seal.js.map +1 -1
- package/dist/schemas/settings.d.ts +44 -0
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +24 -1
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/system.d.ts +19 -0
- package/dist/schemas/system.d.ts.map +1 -1
- package/dist/schemas/system.js +9 -0
- package/dist/schemas/system.js.map +1 -1
- package/dist/schemas/terminal.d.ts +182 -0
- package/dist/schemas/terminal.d.ts.map +1 -1
- package/dist/schemas/terminal.js +60 -1
- package/dist/schemas/terminal.js.map +1 -1
- package/dist/state/auth-state.d.ts.map +1 -1
- package/dist/state/auth-state.js +2 -0
- package/dist/state/auth-state.js.map +1 -1
- package/dist/state/definition.d.ts +64 -0
- package/dist/state/definition.d.ts.map +1 -1
- package/dist/state/runtime-state.d.ts +4 -1
- package/dist/state/runtime-state.d.ts.map +1 -1
- package/dist/state/runtime-state.js +2 -1
- package/dist/state/runtime-state.js.map +1 -1
- package/dist/state/workspace-state.d.ts +1 -1
- package/dist/state/workspace-state.d.ts.map +1 -1
- package/dist/state/workspace-state.js +1 -1
- package/dist/state/workspace-state.js.map +1 -1
- package/dist/sync/workspace-sync-ignores.d.ts +4 -0
- package/dist/sync/workspace-sync-ignores.d.ts.map +1 -0
- package/dist/sync/workspace-sync-ignores.js +75 -0
- package/dist/sync/workspace-sync-ignores.js.map +1 -0
- package/dist/text/land-rows.d.ts.map +1 -1
- package/dist/text/land-rows.js +13 -17
- package/dist/text/land-rows.js.map +1 -1
- package/dist/text/notice-rows.js +6 -6
- package/dist/text/notice-rows.js.map +1 -1
- package/dist/text/pages.d.ts.map +1 -1
- package/dist/text/pages.js +17 -4
- package/dist/text/pages.js.map +1 -1
- package/dist/text/transcript-fold.js +2 -2
- package/dist/text/transcript-fold.js.map +1 -1
- package/package.json +5 -5
- package/src/app-routes/app-pages.ts +3 -0
- package/src/app-routes/index.ts +1 -0
- package/src/app-routes/return-path.ts +16 -0
- package/src/contracts/accounts.contract.ts +3 -0
- package/src/contracts/agents.contract.ts +41 -5
- package/src/contracts/automations.contract.ts +2 -0
- package/src/contracts/bookmarks.contract.ts +66 -0
- package/src/contracts/browser.contract.ts +181 -0
- package/src/contracts/capabilities.contract.ts +7 -2
- package/src/contracts/device-ci-runners.contract.ts +81 -0
- package/src/contracts/device.contract.ts +15 -0
- package/src/contracts/extensions.contract.ts +1 -1
- package/src/contracts/ports.contract.ts +6 -6
- package/src/contracts/remote.contract.ts +104 -0
- package/src/contracts/runner.contract.ts +117 -3
- package/src/contracts/runners.contract.ts +19 -0
- package/src/contracts/safety.contract.ts +2 -0
- package/src/contracts/secrets.contract.ts +12 -0
- package/src/contracts/settings.contract.ts +2 -0
- package/src/contracts/system.contract.ts +98 -3
- package/src/events/agent-events.ts +3 -2
- package/src/events/agent-words.test.ts +19 -1
- package/src/events/agent-words.ts +33 -1
- package/src/events/failure-rows.ts +13 -14
- package/src/events/refusal-incidents.ts +60 -19
- package/src/events/resume.test.ts +3 -3
- package/src/events/resume.ts +12 -18
- package/src/events/sandbox-notice.ts +2 -0
- package/src/ids/conversation-ids.test.ts +3 -1
- package/src/ids/conversation-ids.ts +6 -4
- package/src/ids/project-dir.test.ts +1 -1
- package/src/ids/project-dir.ts +1 -1
- package/src/ids/project-id.test.ts +14 -0
- package/src/ids/project-id.ts +6 -4
- package/src/ids/run-row-ids.test.ts +38 -0
- package/src/ids/run-row-ids.ts +49 -0
- package/src/index.ts +18 -6
- package/src/models/agent-catalog.test.ts +7 -4
- package/src/models/agent-catalog.ts +3 -2
- package/src/models/agent-lanes.ts +8 -1
- package/src/models/agent-runtimes.ts +7 -6
- package/src/models/agent-standing.ts +13 -0
- package/src/models/provider-specs.test.ts +2 -2
- package/src/models/providers/provider-traits.test.ts +71 -0
- package/src/models/providers/provider-traits.ts +144 -0
- package/src/netd/browser-wire.ts +97 -0
- package/src/netd/generated/browser-wire.json +904 -0
- package/src/netd/generated/browser-wire.ts +62 -3
- package/src/netd/generated/netd-wire.json +299 -1
- package/src/netd/generated/wire.ts +27 -6
- package/src/netd/wire-manifests.test.ts +92 -1
- package/src/policy/admin/admin-grant.ts +69 -0
- package/src/policy/capabilities/capability-kinds.test.ts +112 -0
- package/src/policy/capabilities/capability-kinds.ts +110 -0
- package/src/policy/command-classes.ts +5 -3
- package/src/policy/credential-material.ts +1 -1
- package/src/policy/device-programs.ts +29 -20
- package/src/policy/overlay-lint.ts +1 -1
- package/src/policy/reserved-servers.ts +5 -1
- package/src/policy/role-capability.ts +3 -1
- package/src/policy/shell/command-normalise.test.ts +72 -0
- package/src/policy/shell/command-normalise.ts +212 -0
- package/src/policy/tests/admin-grant.test.ts +35 -0
- package/src/policy/tests/command-classes.test.ts +41 -0
- package/src/protocol/doors/listener-protocol.ts +18 -1
- package/src/protocol/doors/loopback-proof.ts +34 -0
- package/src/protocol/doors/pass-scopes.ts +12 -0
- package/src/protocol/doors/runner-protocol.ts +133 -4
- package/src/protocol/doors/sandbox-pass.test.ts +33 -1
- package/src/protocol/doors/sandbox-pass.ts +92 -16
- package/src/protocol/ingress-contract.fixture.json +9 -1
- package/src/protocol/member-reach.test.ts +40 -1
- package/src/protocol/member-reach.ts +40 -0
- package/src/protocol/peer-mcp-server.ts +6 -0
- package/src/protocol/raw/raw-json-routes.ts +48 -1
- package/src/protocol/raw/raw-routes.ts +99 -36
- package/src/protocol/route-meta.ts +4 -1
- package/src/schemas/account-routes.ts +126 -0
- package/src/schemas/activity.ts +4 -3
- package/src/schemas/agent-background.ts +104 -0
- package/src/schemas/agent-land.ts +21 -2
- package/src/schemas/agent.ts +3 -4
- package/src/schemas/agents.ts +26 -65
- package/src/schemas/auto-approve.ts +31 -0
- package/src/schemas/automations.ts +26 -1
- package/src/schemas/bookmarks.ts +79 -0
- package/src/schemas/bridge-heads.ts +33 -0
- package/src/schemas/browser-tools.ts +164 -0
- package/src/schemas/browsing.ts +129 -0
- package/src/schemas/capabilities.ts +32 -0
- package/src/schemas/checkout-hooks.ts +44 -0
- package/src/schemas/ci-fleet.ts +180 -0
- package/src/schemas/compose-overlay.test.ts +1 -1
- package/src/schemas/compose-overlay.ts +1 -1
- package/src/schemas/connection-hub.ts +4 -2
- package/src/schemas/context-continues.ts +6 -3
- package/src/schemas/context-trim.test.ts +6 -6
- package/src/schemas/context-trim.ts +3 -3
- package/src/schemas/data-protection.ts +1 -1
- package/src/schemas/device-remote.ts +106 -0
- package/src/schemas/device-swaps.test.ts +1 -1
- package/src/schemas/devices.ts +19 -1
- package/src/schemas/egress-private.test.ts +1 -1
- package/src/schemas/environment.ts +4 -0
- package/src/schemas/extension-updates.ts +8 -0
- package/src/schemas/git/git.ts +14 -14
- package/src/schemas/host-power.ts +79 -0
- package/src/schemas/hosts.ts +37 -2
- package/src/schemas/intentic-os.ts +2 -2
- package/src/schemas/issues.ts +14 -0
- package/src/schemas/keep-warm.test.ts +1 -1
- package/src/schemas/keep-warm.ts +2 -3
- package/src/schemas/keyring-native.test.ts +11 -3
- package/src/schemas/keyring-native.ts +3 -1
- package/src/schemas/keyring.ts +6 -1
- package/src/schemas/members.ts +4 -16
- package/src/schemas/metrics.test.ts +9 -1
- package/src/schemas/metrics.ts +8 -0
- package/src/schemas/needs.ts +68 -5
- package/src/schemas/offload.ts +6 -3
- package/src/schemas/ports.ts +5 -0
- package/src/schemas/providers/handoff.test.ts +8 -10
- package/src/schemas/providers/handoff.ts +11 -12
- package/src/schemas/providers/provider-oauth.ts +10 -2
- package/src/schemas/providers/refusals.ts +9 -0
- package/src/schemas/providers/switched.test.ts +6 -6
- package/src/schemas/providers/switched.ts +1 -1
- package/src/schemas/queued-trial-retry.ts +14 -0
- package/src/schemas/remote-access.ts +143 -0
- package/src/schemas/run-targets.ts +2 -1
- package/src/schemas/runner-views.ts +27 -0
- package/src/schemas/sandbox-reach.ts +161 -0
- package/src/schemas/seal.ts +2 -1
- package/src/schemas/settings.test.ts +5 -4
- package/src/schemas/settings.ts +54 -10
- package/src/schemas/state-plan.test.ts +1 -1
- package/src/schemas/state-plan.ts +2 -2
- package/src/schemas/system.ts +16 -1
- package/src/schemas/terminal.ts +87 -1
- package/src/schemas/updates.test.ts +1 -1
- package/src/schemas/updates.ts +1 -1
- package/src/state/auth-state.ts +6 -0
- package/src/state/runtime-state.test.ts +3 -2
- package/src/state/runtime-state.ts +7 -1
- package/src/state/update-probation.ts +1 -1
- package/src/state/ways-back.test.ts +1 -1
- package/src/state/workspace-state.test.ts +2 -0
- package/src/state/workspace-state.ts +4 -4
- package/src/sync/workspace-sync-ignores.test.ts +48 -0
- package/src/sync/workspace-sync-ignores.ts +143 -0
- package/src/text/land-rows.ts +13 -18
- package/src/text/notice-rows.ts +6 -6
- package/src/text/pages.ts +34 -7
- package/src/text/transcript-fold.test.ts +77 -39
- package/src/text/transcript-fold.ts +2 -2
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { procedure } from "../protocol/route-meta.js";
|
|
2
|
+
import {
|
|
3
|
+
CiFleetSchema,
|
|
4
|
+
CiRunnerLogsSchema,
|
|
5
|
+
CiRunnerOpResultSchema,
|
|
6
|
+
DeviceCiFleetInputSchema,
|
|
7
|
+
DeviceCiRunnerLogsInputSchema,
|
|
8
|
+
DeviceCiRunnerOpInputSchema,
|
|
9
|
+
DeviceCiRunnerRegisterInputSchema,
|
|
10
|
+
DeviceCiRunnerRemoveInputSchema,
|
|
11
|
+
} from "../schemas/ci-fleet.js";
|
|
12
|
+
|
|
13
|
+
// THE SELF-HOSTED CI RUNNERS ON A CONNECTED COMPUTER (schemas/ci-fleet.ts): what the Pipelines view's Runners section
|
|
14
|
+
// reads and drives. Relayed to the machine's own tools, which check its switches and ask its root fleet service for what
|
|
15
|
+
// needs root; the daemon adds GitHub's side, minting the token a registration or a removal takes through the workspace's
|
|
16
|
+
// GitHub connection and never keeping it. Part of the system contract (system.contract.ts spreads these in), kept in a
|
|
17
|
+
// module of their own as the device boards grow.
|
|
18
|
+
|
|
19
|
+
// The box itself, as every system route: no control token reaches these whatever the floor.
|
|
20
|
+
const systemRoute = procedure.meta({ control: "never" });
|
|
21
|
+
|
|
22
|
+
export const deviceCiRunnerRoutes = {
|
|
23
|
+
deviceCiFleet: systemRoute
|
|
24
|
+
.route({
|
|
25
|
+
method: "GET",
|
|
26
|
+
path: "/system/devices/{id}/ci-runners",
|
|
27
|
+
summary: "The CI runners on one of your devices",
|
|
28
|
+
description:
|
|
29
|
+
"Every self-hosted GitHub Actions runner on a computer you connected: its systemd unit, whether it is running a job and which, whether it is held down and why, and what it is registered to; with the machine's CI fleet service, its shared caches, the test-memory slots it holds for sandboxes and the last pass of its keeper, janitor and prune. Without the fleet service a computer still lists its runners. Needs that computer's \"Run commands\" switch.",
|
|
30
|
+
})
|
|
31
|
+
.meta({ floor: "maintainer", panel: false })
|
|
32
|
+
.input(DeviceCiFleetInputSchema)
|
|
33
|
+
.output(CiFleetSchema),
|
|
34
|
+
// Start, stop, drain, or restart (a drain, then a start); a runner stopped here is held down until a start.
|
|
35
|
+
deviceCiRunnerOp: systemRoute
|
|
36
|
+
.route({
|
|
37
|
+
method: "POST",
|
|
38
|
+
path: "/system/devices/{id}/ci-runners/{name}/ops/{op}",
|
|
39
|
+
summary: "Start, stop, drain or restart a CI runner on one of your devices",
|
|
40
|
+
description:
|
|
41
|
+
"Drives one runner's systemd unit on a computer you connected: `start` and `stop` act now, and `stop` refuses a runner that is running a job; `drain` stops it the moment its job ends, and `restart` drains it and starts it again. A runner stopped from here stays down until it is started from here: the machine's keeper leaves it. Needs that computer's \"Run commands\" switch.",
|
|
42
|
+
})
|
|
43
|
+
.meta({ panel: false })
|
|
44
|
+
.input(DeviceCiRunnerOpInputSchema)
|
|
45
|
+
.output(CiRunnerOpResultSchema),
|
|
46
|
+
// Floored like the actions, though it only reads: a runner's log names the jobs it ran and what they printed.
|
|
47
|
+
deviceCiRunnerLogs: systemRoute
|
|
48
|
+
.route({
|
|
49
|
+
method: "GET",
|
|
50
|
+
path: "/system/devices/{id}/ci-runners/{name}/logs",
|
|
51
|
+
summary: "The recent log of a CI runner on one of your devices",
|
|
52
|
+
description: "The last lines one runner's service printed, oldest first.",
|
|
53
|
+
})
|
|
54
|
+
.meta({ floor: "maintainer", panel: false })
|
|
55
|
+
.input(DeviceCiRunnerLogsInputSchema)
|
|
56
|
+
.output(CiRunnerLogsSchema),
|
|
57
|
+
// The token is minted here for the repository's GitHub remote, handed to the machine and dropped.
|
|
58
|
+
registerDeviceCiRunner: systemRoute
|
|
59
|
+
.route({
|
|
60
|
+
method: "POST",
|
|
61
|
+
path: "/system/devices/{id}/ci-runners",
|
|
62
|
+
summary: "Add a CI runner to one of your devices",
|
|
63
|
+
description:
|
|
64
|
+
"Registers a new self-hosted GitHub Actions runner on a computer you connected, for the GitHub repository a workspace repository's remote names, with the given name and labels. The registration token is minted through this sandbox's GitHub connection, which needs admin on that repository, and is never kept. The computer downloads the runner release, checks it, configures it as the account its other runners run as and starts its unit; this takes minutes. Needs that computer's \"Run commands\" switch and its CI fleet service.",
|
|
65
|
+
})
|
|
66
|
+
.meta({ panel: false })
|
|
67
|
+
.input(DeviceCiRunnerRegisterInputSchema)
|
|
68
|
+
.output(CiRunnerOpResultSchema),
|
|
69
|
+
// Read off the runner's own registration first, so its removal token is minted for the repository it serves.
|
|
70
|
+
removeDeviceCiRunner: systemRoute
|
|
71
|
+
.route({
|
|
72
|
+
method: "DELETE",
|
|
73
|
+
path: "/system/devices/{id}/ci-runners/{name}",
|
|
74
|
+
summary: "Remove a CI runner from one of your devices",
|
|
75
|
+
description:
|
|
76
|
+
"Takes a runner off GitHub and off a computer you connected: the runner is unregistered and its service removed, with a removal token minted through this sandbox's GitHub connection for the repository or organisation the runner is registered to, never kept. Refused while the runner is running a job. Needs that computer's \"Run commands\" switch and its CI fleet service.",
|
|
77
|
+
})
|
|
78
|
+
.meta({ panel: false })
|
|
79
|
+
.input(DeviceCiRunnerRemoveInputSchema)
|
|
80
|
+
.output(CiRunnerOpResultSchema),
|
|
81
|
+
};
|
|
@@ -9,6 +9,7 @@ import { OkSchema } from "../schemas/shared.js";
|
|
|
9
9
|
import { ProjectDeliveryResultSchema, ProjectDeliverySchema } from "../schemas/project-delivery.js";
|
|
10
10
|
import { DialLoopbackSchema, StageArtifactResultSchema, StageArtifactSchema } from "../schemas/device-artifacts.js";
|
|
11
11
|
import { CopyFileResultSchema, CopyFileSchema } from "../schemas/device-files.js";
|
|
12
|
+
import { RemoteServiceInputSchema, RemoteServiceResultSchema, RemoteStartInputSchema, RemoteStartResultSchema } from "../schemas/device-remote.js";
|
|
12
13
|
import {
|
|
13
14
|
KeyringCaptureItemSchema,
|
|
14
15
|
KeyringCaptureResultSchema,
|
|
@@ -98,4 +99,18 @@ export const deviceContract = {
|
|
|
98
99
|
// The owner's phone, paired with this computer's keyring and filling its autofill, carried by this sandbox.
|
|
99
100
|
keyringPhonePair: oc.input(KeyringPhoneKeysSchema).output(KeyringPhonePairResultSchema),
|
|
100
101
|
keyringPhoneFill: oc.input(SignedKeyringPhoneFillSchema).output(KeyringPhoneFillResultSchema),
|
|
102
|
+
// People's remote desktop and terminals on this computer (2026-11-20, schemas/device-remote.ts), served by
|
|
103
|
+
// intentic-remoted, which the machine starts and keeps. Only the daemon calls these, never a tool, and only on an agent
|
|
104
|
+
// advertising `remote`. `remoteStart` hands over this link's uplink token and media key and answers once remoted's
|
|
105
|
+
// uplink to this sandbox is up; the machine refuses it (FORBIDDEN, naming the switches) while "Let people see the
|
|
106
|
+
// screen", "Let people use the mouse and keyboard" and "Let people open terminals" are all off on this link.
|
|
107
|
+
// `remoteStop` drops this link's uplink, and remoted with it when no other link holds one.
|
|
108
|
+
remoteStart: oc.input(RemoteStartInputSchema).output(RemoteStartResultSchema),
|
|
109
|
+
remoteStop: oc.output(OkSchema),
|
|
110
|
+
// Windows' lock screen and administrator prompts for people's remote access (2026-11-20, schemas/device-remote.ts):
|
|
111
|
+
// intentic-remoted's own Windows service read, installed or removed, the last two through one UAC prompt on the
|
|
112
|
+
// computer, which this call waits on (ten minutes at most). Only the daemon calls it, for a person with Full access,
|
|
113
|
+
// and only on an agent advertising `remote-service`; the machine refuses an install (FORBIDDEN) while all three people
|
|
114
|
+
// switches are off on this link.
|
|
115
|
+
remoteService: oc.input(RemoteServiceInputSchema).output(RemoteServiceResultSchema),
|
|
101
116
|
};
|
|
@@ -103,7 +103,7 @@ export const extensionsContract = {
|
|
|
103
103
|
path: "/extensions/{id}/approve",
|
|
104
104
|
summary: "Let a workspace extension run",
|
|
105
105
|
description:
|
|
106
|
-
"Approves an extension written in this workspace with the powers it declares now: its background processes start, its backend loads, and what it contributes is wired from the next turn. Editing its code keeps the approval; declaring a power it did not have puts it back in the pending list. Owner and maintainers only.",
|
|
106
|
+
"Approves an extension written in this workspace with the powers it declares now: its background processes start, its backend loads, and what it contributes is wired from the next turn. Editing its code keeps the approval; declaring a power it did not have puts it back in the pending list. A land approves the extensions it carries by itself, so this is for one written straight into the workspace. Owner and maintainers only.",
|
|
107
107
|
})
|
|
108
108
|
.meta({ panel: false, control: "never" })
|
|
109
109
|
.input(ExtensionApproveInputSchema)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { procedure } from "../protocol/route-meta.js";
|
|
2
2
|
import {
|
|
3
|
+
PortForwardInputSchema,
|
|
3
4
|
PortForwardResultSchema,
|
|
4
|
-
PortParamSchema,
|
|
5
|
-
PortsListSchema,
|
|
6
5
|
PreviewGuardSchema,
|
|
7
6
|
PreviewPassRequestSchema,
|
|
8
7
|
PreviewPassSchema,
|
|
9
8
|
} from "../schemas/ports.js";
|
|
10
9
|
import { OkSchema } from "../schemas/shared.js";
|
|
10
|
+
import { SyncPortsListSchema } from "../schemas/bridge-heads.js";
|
|
11
11
|
|
|
12
12
|
// Listening TCP ports in the sandbox + explicit forwarding through the preview proxy (see the ports section in
|
|
13
13
|
// schemas/ports.ts). `forward` is idempotent, re-forwarding a port returns its existing slot's URL; `unforward`
|
|
@@ -23,16 +23,16 @@ export const portsContract = {
|
|
|
23
23
|
// The desktop-sync watcher's poll, and the machine's check-in; and `devices ports`, an agent's answer to whose
|
|
24
24
|
// server holds which port.
|
|
25
25
|
.meta({ sync: "poll", agent: true })
|
|
26
|
-
.output(
|
|
26
|
+
.output(SyncPortsListSchema),
|
|
27
27
|
forward: procedure
|
|
28
28
|
.route({
|
|
29
29
|
method: "POST",
|
|
30
30
|
path: "/ports/forward",
|
|
31
31
|
summary: "Make a port reachable",
|
|
32
32
|
description:
|
|
33
|
-
"Gives one port an address on the outside. Asking twice is harmless: the second call hands back the address the first one made.",
|
|
33
|
+
"Gives one port an address on the outside. Asking twice is harmless: the second call hands back the address the first one made. Naming a runner forwards that runner's own port, for a conversation that runs there.",
|
|
34
34
|
})
|
|
35
|
-
.input(
|
|
35
|
+
.input(PortForwardInputSchema)
|
|
36
36
|
.output(PortForwardResultSchema),
|
|
37
37
|
unforward: procedure
|
|
38
38
|
.route({
|
|
@@ -41,7 +41,7 @@ export const portsContract = {
|
|
|
41
41
|
summary: "Stop exposing a port",
|
|
42
42
|
description: "Frees the slot at once. The address keeps resolving; it simply stops leading anywhere.",
|
|
43
43
|
})
|
|
44
|
-
.input(
|
|
44
|
+
.input(PortForwardInputSchema)
|
|
45
45
|
.output(OkSchema),
|
|
46
46
|
// The owner's guard on previews (schemas/ports.ts): any member reads it, since the editor asks for a pass only where
|
|
47
47
|
// it is on; only the owner changes it, like the passkey policy.
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { procedure } from "../protocol/route-meta.js";
|
|
2
|
+
import { OkSchema } from "../schemas/shared.js";
|
|
3
|
+
import {
|
|
4
|
+
RemoteDeviceInputSchema,
|
|
5
|
+
RemoteOpenScreenInputSchema,
|
|
6
|
+
RemoteOpenTerminalInputSchema,
|
|
7
|
+
RemoteScreenSchema,
|
|
8
|
+
RemoteServiceChangeInputSchema,
|
|
9
|
+
RemoteServiceSchema,
|
|
10
|
+
RemoteSessionInputSchema,
|
|
11
|
+
RemoteStatusSchema,
|
|
12
|
+
RemoteTerminalOpenedSchema,
|
|
13
|
+
RemoteTokenSchema,
|
|
14
|
+
} from "../schemas/remote-access.js";
|
|
15
|
+
|
|
16
|
+
// A person's remote screen and terminals on one of the owner's connected computers (schemas/remote-access.ts). Each
|
|
17
|
+
// answer is a socket's path and the token it opens with; the socket itself is netd's to carry and the computer's
|
|
18
|
+
// remoted to answer. Withheld from the panel and control tokens: a person opens these, never a program.
|
|
19
|
+
const remoteRoute = procedure.meta({ panel: false, control: "never" });
|
|
20
|
+
|
|
21
|
+
// Watching, which a member below Full access may do, read-only: floored at viewer, the handler deciding how far.
|
|
22
|
+
const watchRoute = procedure.meta({ panel: false, control: "never", floor: "viewer" });
|
|
23
|
+
|
|
24
|
+
export const remoteContract = {
|
|
25
|
+
status: watchRoute
|
|
26
|
+
.route({
|
|
27
|
+
method: "GET",
|
|
28
|
+
path: "/system/devices/{device}/remote",
|
|
29
|
+
summary: "Whether a remote screen or terminal can be opened on a device",
|
|
30
|
+
description:
|
|
31
|
+
"What the device's switches allow, its monitors and terminal environments, and the terminals open there now. Starts nothing: a device whose remote access has not run since it connected names no monitors yet.",
|
|
32
|
+
})
|
|
33
|
+
.input(RemoteDeviceInputSchema)
|
|
34
|
+
.output(RemoteStatusSchema),
|
|
35
|
+
openScreen: watchRoute
|
|
36
|
+
.route({
|
|
37
|
+
method: "POST",
|
|
38
|
+
path: "/system/devices/{device}/remote/screen",
|
|
39
|
+
summary: "Open a device's screen",
|
|
40
|
+
description:
|
|
41
|
+
"Starts the device's remote access if it is not running and answers where its media socket opens, with a token. Read-only unless the caller has Full access and the device allows control. Recorded in the audit log.",
|
|
42
|
+
})
|
|
43
|
+
.input(RemoteOpenScreenInputSchema)
|
|
44
|
+
.output(RemoteScreenSchema),
|
|
45
|
+
openTerminal: remoteRoute
|
|
46
|
+
.route({
|
|
47
|
+
method: "POST",
|
|
48
|
+
path: "/system/devices/{device}/remote/terminals",
|
|
49
|
+
summary: "Open a terminal on a device",
|
|
50
|
+
description:
|
|
51
|
+
"Starts the device's remote access if it is not running, opens a new terminal there and answers where its socket opens, with a token. Full access only, and only where the device allows terminals. Recorded in the audit log.",
|
|
52
|
+
})
|
|
53
|
+
.input(RemoteOpenTerminalInputSchema)
|
|
54
|
+
.output(RemoteTerminalOpenedSchema),
|
|
55
|
+
attachTerminal: remoteRoute
|
|
56
|
+
.route({
|
|
57
|
+
method: "POST",
|
|
58
|
+
path: "/system/devices/{device}/remote/terminals/{session}/attach",
|
|
59
|
+
summary: "Attach to a terminal open on a device",
|
|
60
|
+
description: "A fresh token for a terminal the device still holds. Not found once the terminal or the device's remote access has ended.",
|
|
61
|
+
})
|
|
62
|
+
.input(RemoteSessionInputSchema)
|
|
63
|
+
.output(RemoteTerminalOpenedSchema),
|
|
64
|
+
refresh: watchRoute
|
|
65
|
+
.route({
|
|
66
|
+
method: "POST",
|
|
67
|
+
path: "/system/devices/{device}/remote/sessions/{session}/token",
|
|
68
|
+
summary: "A fresher token for an open screen or terminal",
|
|
69
|
+
description: "For the open socket's `token` message, before the one it holds lapses. Read-only as the caller's first token was.",
|
|
70
|
+
})
|
|
71
|
+
.input(RemoteSessionInputSchema)
|
|
72
|
+
.output(RemoteTokenSchema),
|
|
73
|
+
closeTerminal: remoteRoute
|
|
74
|
+
.route({
|
|
75
|
+
method: "DELETE",
|
|
76
|
+
path: "/system/devices/{device}/remote/terminals/{session}",
|
|
77
|
+
summary: "Close a terminal on a device",
|
|
78
|
+
description: "Ends the terminal and every socket attached to it. Recorded in the audit log.",
|
|
79
|
+
})
|
|
80
|
+
.input(RemoteSessionInputSchema)
|
|
81
|
+
.output(OkSchema),
|
|
82
|
+
// Windows' lock screen and administrator prompts (schemas/device-remote.ts): read by anyone who can see the device,
|
|
83
|
+
// changed only with Full access.
|
|
84
|
+
service: watchRoute
|
|
85
|
+
.route({
|
|
86
|
+
method: "GET",
|
|
87
|
+
path: "/system/devices/{device}/remote/service",
|
|
88
|
+
summary: "Whether a Windows computer's lock screen and administrator prompts can be reached remotely",
|
|
89
|
+
description:
|
|
90
|
+
"Whether remote access's own Windows service is installed on the computer, its state and version, and whether it is older than the computer's agent. Without it a remote screen cannot show or use the sign-in and lock screen, Ctrl+Alt+Del or administrator prompts. Changes nothing.",
|
|
91
|
+
})
|
|
92
|
+
.input(RemoteDeviceInputSchema)
|
|
93
|
+
.output(RemoteServiceSchema),
|
|
94
|
+
changeService: remoteRoute
|
|
95
|
+
.route({
|
|
96
|
+
method: "POST",
|
|
97
|
+
path: "/system/devices/{device}/remote/service",
|
|
98
|
+
summary: "Set up, update or remove a Windows computer's lock-screen service",
|
|
99
|
+
description:
|
|
100
|
+
"Installs (or updates) or removes remote access's own Windows service on the computer. Windows asks the person at that computer for an administrator's yes, and this waits for the answer, up to ten minutes; a no comes back as `declined` with nothing changed. Full access only. Recorded in the audit log.",
|
|
101
|
+
})
|
|
102
|
+
.input(RemoteServiceChangeInputSchema)
|
|
103
|
+
.output(RemoteServiceSchema),
|
|
104
|
+
};
|
|
@@ -9,6 +9,10 @@ import {
|
|
|
9
9
|
RunnerDefinitionAppliedSchema,
|
|
10
10
|
RunnerFactsSchema,
|
|
11
11
|
RunnerHeldTurnSchema,
|
|
12
|
+
RunnerFeedFrameSchema,
|
|
13
|
+
RunnerPresentationSchema,
|
|
14
|
+
RunnerRevokeSchema,
|
|
15
|
+
RunnerStoppedSchema,
|
|
12
16
|
RunnerSyncLineSchema,
|
|
13
17
|
RunnerSyncSchema,
|
|
14
18
|
RunnerTurnSchema,
|
|
@@ -16,6 +20,17 @@ import {
|
|
|
16
20
|
import { EditorContextSchema } from "../schemas/agent.js";
|
|
17
21
|
import { AgentReplySchema } from "../schemas/providers/plan-limits.js";
|
|
18
22
|
import { OkSchema } from "../schemas/shared.js";
|
|
23
|
+
import {
|
|
24
|
+
BrowserPageActionInputSchema,
|
|
25
|
+
MoveBrowserPageInputSchema,
|
|
26
|
+
ReopenBrowserPageInputSchema,
|
|
27
|
+
BrowserNameParamSchema,
|
|
28
|
+
BrowserPageParamSchema, BrowsersListSchema, DesktopStateSchema, OpenBrowserInputSchema, OpenBrowserResultSchema } from "../schemas/terminal.js";
|
|
29
|
+
import { PortParamSchema } from "../schemas/ports.js";
|
|
30
|
+
import { TurnErrandSchema } from "../schemas/speaker.js";
|
|
31
|
+
|
|
32
|
+
// Files a message names, as bytes: the runner resolves no path of the parent's. `path` is workspace-relative.
|
|
33
|
+
const RunnerFilesSchema = z.array(z.object({ path: z.string().min(1), bytesBase64: z.string() }));
|
|
19
34
|
|
|
20
35
|
// What a runner can be asked, over the socket it opened; same inversion as deviceContract, the runner is the oRPC server,
|
|
21
36
|
// the parent the client. No `.route()`: the procedure path is the address. Typed throughout, unlike deviceContract's
|
|
@@ -37,9 +52,64 @@ export const runnerContract = {
|
|
|
37
52
|
// How many of the held turn's frames the parent has, said every few seconds while it relays them: the count a parent
|
|
38
53
|
// that restarted mid-turn reads on from (`heldTurn().acked`), since its own count died with it.
|
|
39
54
|
ackTurn: oc.input(RunnerAttachSchema).output(OkSchema),
|
|
40
|
-
//
|
|
41
|
-
|
|
42
|
-
//
|
|
55
|
+
// A page a turn here showed (`show_page`), by the workspace path its `page` frame names: the page is filed in the
|
|
56
|
+
// runner's own workspace, and the parent files a copy at the same path before relaying the frame, so the chat, which
|
|
57
|
+
// reads pages from the parent, can draw it. NOT_FOUND for a path that is not a stored page; an older runner lacks the
|
|
58
|
+
// procedure, and its pages stay on the runner.
|
|
59
|
+
readPage: oc.input(z.object({ path: z.string().min(1) })).output(z.object({ html: z.string() })),
|
|
60
|
+
// A picture a turn here showed (a screenshot, a generated image), by the workspace path its tool card names, read from
|
|
61
|
+
// the runner's artifacts folder: the parent files a copy before relaying the card, as it does a page, since the chat
|
|
62
|
+
// reads every picture from the parent and neither the relay nor the branch's push carries that folder. `have` is the
|
|
63
|
+
// sha256 of a file the parent already holds at that path; the answer then carries no bytes when the runner's file is
|
|
64
|
+
// the same. NOT_FOUND for a path outside the artifacts folder or no file there, PAYLOAD_TOO_LARGE past the cap; an
|
|
65
|
+
// older runner lacks the procedure, and its pictures stay on the runner.
|
|
66
|
+
// `conversationId` asks for a file in that conversation's checkout instead (a picture a turn Read from its own tree,
|
|
67
|
+
// `path` relative to the checkout), which the parent files under the artifacts folder's `runner/<id>/`; an older runner
|
|
68
|
+
// ignores it and answers NOT_FOUND, the path being outside its artifacts folder. `offset` and `length` ask for one
|
|
69
|
+
// piece of a file past a socket frame (up to 512 MiB in all), answered with the whole file's `size`; an older runner
|
|
70
|
+
// ignores them and answers the whole file, or PAYLOAD_TOO_LARGE. `have` is compared with the whole file either way.
|
|
71
|
+
// The first piece (offset 0) carries the whole file's `sha256`, which the parent checks the assembled copy against.
|
|
72
|
+
readArtifact: oc
|
|
73
|
+
.input(
|
|
74
|
+
z.object({
|
|
75
|
+
path: z.string().min(1),
|
|
76
|
+
have: z.string().optional(),
|
|
77
|
+
conversationId: z.string().min(1).optional(),
|
|
78
|
+
offset: z.number().int().nonnegative().optional(),
|
|
79
|
+
length: z.number().int().positive().optional(),
|
|
80
|
+
}),
|
|
81
|
+
)
|
|
82
|
+
.output(z.object({ bytesBase64: z.string().optional(), size: z.number().optional(), sha256: z.string().optional() })),
|
|
83
|
+
// The files in the runner's artifacts folder modified within the last `withinMs` (a duration, so neither machine's
|
|
84
|
+
// clock is read against the other's), the person's uploads and pages left out: what a turn here left there (a PDF, a
|
|
85
|
+
// video, a trace), swept home by the parent before it relays the turn's `done` and fetched with `readArtifact`. An
|
|
86
|
+
// older runner lacks the procedure (NOT_FOUND), and those files stay on the runner.
|
|
87
|
+
listArtifacts: oc
|
|
88
|
+
.input(z.object({ withinMs: z.number().int().positive() }))
|
|
89
|
+
.output(z.object({ files: z.array(z.object({ path: z.string().min(1), size: z.number(), mtimeMs: z.number() })) })),
|
|
90
|
+
// One piece of the `index`th video or audio file a stored page here streams (`show_page` media, agent/pages/page-media.ts),
|
|
91
|
+
// served only while the page's manifest verifies under this runner's own key and the file is still the one shown. The
|
|
92
|
+
// parent copies each into its artifacts folder and re-signs the manifest for its copies before filing the page.
|
|
93
|
+
// NOT_FOUND for anything else; an older runner lacks the procedure, and its pages' media plays nowhere, as before.
|
|
94
|
+
readPageMedia: oc
|
|
95
|
+
.input(
|
|
96
|
+
z.object({
|
|
97
|
+
page: z.string().min(1),
|
|
98
|
+
index: z.number().int().nonnegative(),
|
|
99
|
+
offset: z.number().int().nonnegative(),
|
|
100
|
+
length: z.number().int().positive(),
|
|
101
|
+
}),
|
|
102
|
+
)
|
|
103
|
+
// The first piece (offset 0) carries the file's `sha256`, as `readArtifact` does.
|
|
104
|
+
.output(z.object({ bytesBase64: z.string(), size: z.number(), sha256: z.string().optional() })),
|
|
105
|
+
// Returns `applied` rather than throwing: a missing id is an ordinary race, same as local NOT_FOUND. `files` carries
|
|
106
|
+
// the bytes of the files an answer attaches (a question's own-words answer), written at their workspace paths before
|
|
107
|
+
// the answer applies, since the runner resolves no path of the parent's; an older runner ignores it.
|
|
108
|
+
reply: oc.input(AgentReplySchema.and(z.object({ files: RunnerFilesSchema.optional() }))).output(z.object({ applied: z.boolean() })),
|
|
109
|
+
// Attachments/editor context travel uncomposed: the note must build against the runner's own workspace root. `files`
|
|
110
|
+
// carries the bytes of what attachments and mentions name, written before the steer applies. `voice` (default
|
|
111
|
+
// "person"), `outside` and `errand` say whose words they are when not the person's: an agent's message to a working
|
|
112
|
+
// child, a wake, a page's error report. An older runner ignores all four, and takes every steer as the person's.
|
|
43
113
|
steer: oc
|
|
44
114
|
.input(
|
|
45
115
|
z.object({
|
|
@@ -48,11 +118,19 @@ export const runnerContract = {
|
|
|
48
118
|
attachments: z.array(z.string()).optional(),
|
|
49
119
|
mentions: z.array(z.string()).optional(),
|
|
50
120
|
editorContext: EditorContextSchema.optional(),
|
|
121
|
+
voice: z.enum(["person", "sandbox", "agent"]).optional(),
|
|
122
|
+
outside: z.string().optional(),
|
|
123
|
+
errand: TurnErrandSchema.optional(),
|
|
124
|
+
files: RunnerFilesSchema.optional(),
|
|
51
125
|
}),
|
|
52
126
|
)
|
|
53
127
|
.output(z.object({ applied: z.boolean(), invalid: z.string().optional() })),
|
|
54
128
|
// REPLACE semantics: a key the definition omits returns to its default, unlike the owner apply's merge-beside.
|
|
55
129
|
applyDefinition: oc.input(z.object({ toml: z.string() })).output(RunnerDefinitionAppliedSchema),
|
|
130
|
+
// What the runner calls itself on its machine and whose it is, said on every connect and after a rename; the runner
|
|
131
|
+
// keeps it where its machine's `ic sandbox list` reads a sandbox's name. An older runner lacks it (NOT_FOUND), and
|
|
132
|
+
// stays listed by its slug.
|
|
133
|
+
present: oc.input(RunnerPresentationSchema).output(OkSchema),
|
|
56
134
|
// Stop the running turn; the parent's stop button reaching through.
|
|
57
135
|
interrupt: oc.input(RunnerTurnSchema.pick({ conversationId: true })).output(OkSchema),
|
|
58
136
|
// One shell line the parent offloaded (settings `offload`), run against a snapshot of the parent's tree; its output
|
|
@@ -63,4 +141,40 @@ export const runnerContract = {
|
|
|
63
141
|
cancelCommand: oc.input(RunnerCommandSchema.pick({ runId: true })).output(OkSchema),
|
|
64
142
|
// Liveness driven by the parent: keepalive and gone-detection in one.
|
|
65
143
|
ping: oc.output(OkSchema),
|
|
144
|
+
// LIVE VIEWS (2026-11-23): what the parent's editor shows of a conversation running here, beside the views netd carries
|
|
145
|
+
// down the uplink (a terminal, a browser's or the desktop's picture). Each degrades on an older runner, which lacks the
|
|
146
|
+
// procedure (NOT_FOUND): the parent then shows what it has, as before.
|
|
147
|
+
// The stream the parent opens each time this runner connects: every conversation's jobs and watches, then each change,
|
|
148
|
+
// and a word when the browsers or the desktop changed (runner-protocol.ts RunnerFeedFrameSchema).
|
|
149
|
+
feed: oc.output(streamOf(RunnerFeedFrameSchema)),
|
|
150
|
+
// This runner's browser windows, as its own `system.browsers` lists them; the parent namespaces their names.
|
|
151
|
+
browsers: oc.output(BrowsersListSchema),
|
|
152
|
+
// The window acts the parent's browser routes forward for one of this runner's windows, by the runner's own name.
|
|
153
|
+
openBrowser: oc.input(OpenBrowserInputSchema).output(OpenBrowserResultSchema),
|
|
154
|
+
closeBrowser: oc.input(BrowserNameParamSchema).output(OkSchema),
|
|
155
|
+
closeBrowserPage: oc.input(BrowserPageParamSchema).output(OkSchema),
|
|
156
|
+
// This runner's desktop, as its own `system.desktop` says; starts nothing.
|
|
157
|
+
desktop: oc.output(DesktopStateSchema),
|
|
158
|
+
// A person's stops on a runner conversation's card, applied here where the job or watch lives; `stopped` false when
|
|
159
|
+
// nothing was left to stop. Naming no watch disarms them all.
|
|
160
|
+
stopJob: oc.input(z.object({ conversationId: z.string().min(1), jobId: z.string().min(1) })).output(RunnerStoppedSchema),
|
|
161
|
+
stopWatching: oc.input(z.object({ conversationId: z.string().min(1), watchId: z.string().optional() })).output(RunnerStoppedSchema),
|
|
162
|
+
// Whether a port here may be previewed through the parent: something listens on it, reachable on loopback, and it is
|
|
163
|
+
// not a browser's DevTools port. A refusal is answered, with the reason the parent's own forward would give, never
|
|
164
|
+
// thrown: a NOT_FOUND is only ever an older runner without the door.
|
|
165
|
+
vetPort: oc.input(PortParamSchema).output(z.object({ refused: z.string().optional() })),
|
|
166
|
+
// The parent revoked a member's access (or everyone's): the picture sockets and tokens this runner's castd holds are
|
|
167
|
+
// ended, as the parent's own are; the parent's netd already closed every view it carried for them.
|
|
168
|
+
revoke: oc.input(RunnerRevokeSchema).output(OkSchema),
|
|
169
|
+
// A tab's own menu and the strip's drag on one of this runner's windows, by its own name (`system.reopenBrowserPage`,
|
|
170
|
+
// `moveBrowserPage`, `browserPageAction` there): answers the tab acted on or opened, nothing for a move.
|
|
171
|
+
browserTab: oc
|
|
172
|
+
.input(
|
|
173
|
+
z.union([
|
|
174
|
+
ReopenBrowserPageInputSchema.extend({ op: z.literal("reopen") }),
|
|
175
|
+
MoveBrowserPageInputSchema.extend({ op: z.literal("move") }),
|
|
176
|
+
BrowserPageActionInputSchema.extend({ op: z.literal("action") }),
|
|
177
|
+
]),
|
|
178
|
+
)
|
|
179
|
+
.output(OpenBrowserResultSchema.partial()),
|
|
66
180
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { procedure } from "../protocol/route-meta.js";
|
|
2
|
+
import { RunnerOpenViewInputSchema, RunnerViewSchema } from "../schemas/runner-views.js";
|
|
3
|
+
|
|
4
|
+
// What the editor asks about a conversation that runs on one of this sandbox's runners (schemas/runner-views.ts); the
|
|
5
|
+
// runner's own procedures are runner.contract.ts, which only this daemon calls. Withheld from the panel and control
|
|
6
|
+
// tokens: a person opens a view, never a program.
|
|
7
|
+
export const runnersContract = {
|
|
8
|
+
openView: procedure
|
|
9
|
+
.route({
|
|
10
|
+
method: "POST",
|
|
11
|
+
path: "/system/conversations/{conversationId}/runner-view",
|
|
12
|
+
summary: "Open a live view of a conversation's runner",
|
|
13
|
+
description:
|
|
14
|
+
"Where a socket opens onto the terminal, a browser window or the desktop of the runner a conversation runs on, with a one-shot ticket. Maintainers only, for a conversation they may read, while its runner is connected.",
|
|
15
|
+
})
|
|
16
|
+
.meta({ panel: false, control: "never" })
|
|
17
|
+
.input(RunnerOpenViewInputSchema)
|
|
18
|
+
.output(RunnerViewSchema),
|
|
19
|
+
};
|
|
@@ -24,6 +24,8 @@ export const safetyContract = {
|
|
|
24
24
|
description:
|
|
25
25
|
"Replaces the document whole. Nothing in it can widen what the sandbox is structurally allowed to do: it decides which of the things an agent may already do are worth interrupting you about.",
|
|
26
26
|
})
|
|
27
|
+
// The policy the command judge reads: never a panel process's to rewrite.
|
|
28
|
+
.meta({ panel: false })
|
|
27
29
|
.input(z.object({ text: z.string().describe("The policy, as you want it written.") }))
|
|
28
30
|
.output(OkSchema),
|
|
29
31
|
// Verdicts teach the owner which policy line to add next; answers why you weren't asked about something.
|
|
@@ -47,6 +47,8 @@ export const secretsContract = {
|
|
|
47
47
|
description:
|
|
48
48
|
"Writes one name and value into the sandbox's own secret store, where the agent's references resolve it, without a restart.",
|
|
49
49
|
})
|
|
50
|
+
// A value put in place of the owner's: withheld from the panel token every panel process holds.
|
|
51
|
+
.meta({ panel: false })
|
|
50
52
|
.input(SecretSetSchema)
|
|
51
53
|
.output(OkSchema),
|
|
52
54
|
generate: secretRoute
|
|
@@ -69,6 +71,8 @@ export const secretsContract = {
|
|
|
69
71
|
description:
|
|
70
72
|
"Replaces the value of a secret a person set here (not a connection's or a computer's) with a random one, for a value too short to hide from the model. Answers the name and its length, never the value. Whatever checks the old value (a server, an account) has to be given the new one, or it stops working.",
|
|
71
73
|
})
|
|
74
|
+
// Replaces a stored value, breaking whatever checks the old one: the owner's, never a panel process's.
|
|
75
|
+
.meta({ panel: false })
|
|
72
76
|
.input(SecretRegenerateSchema)
|
|
73
77
|
.output(SecretGeneratedSchema),
|
|
74
78
|
list: secretRoute
|
|
@@ -86,6 +90,8 @@ export const secretsContract = {
|
|
|
86
90
|
summary: "Delete a secret",
|
|
87
91
|
description: "Removes one by name.",
|
|
88
92
|
})
|
|
93
|
+
// Removing a stored value is the owner's, never a panel process's.
|
|
94
|
+
.meta({ panel: false })
|
|
89
95
|
.input(SecretKeyParamSchema)
|
|
90
96
|
.output(OkSchema),
|
|
91
97
|
inventory: secretRoute
|
|
@@ -129,6 +135,8 @@ export const secretsContract = {
|
|
|
129
135
|
description:
|
|
130
136
|
"Names exactly who may release one secret or one connected account, and how far a single release goes. The owner's call alone. A signed-in browser or a mounted server cannot be released for one use, so those are always for the rest of the conversation.",
|
|
131
137
|
})
|
|
138
|
+
// Who may release a credential is the owner's to say, never a panel process's.
|
|
139
|
+
.meta({ panel: false })
|
|
132
140
|
.input(CredentialGateSchema)
|
|
133
141
|
.output(OkSchema),
|
|
134
142
|
removeGate: secretRoute
|
|
@@ -138,6 +146,8 @@ export const secretsContract = {
|
|
|
138
146
|
summary: "Stop requiring approval for a credential",
|
|
139
147
|
description: "Removes one gate, so the agent can use that credential the way it uses any other. The owner's call alone.",
|
|
140
148
|
})
|
|
149
|
+
// Lifting a gate is the owner's, never a panel process's.
|
|
150
|
+
.meta({ panel: false })
|
|
141
151
|
.input(CredentialGuardSubjectParamSchema)
|
|
142
152
|
.output(OkSchema),
|
|
143
153
|
// The host guard, the gate's second half: kept beside the gates, off the agent-editable config for the same reason. The
|
|
@@ -264,6 +274,8 @@ export const secretsContract = {
|
|
|
264
274
|
description:
|
|
265
275
|
"The owner's alone, and never the agent's: handing the agent the credential itself, or replacing what the gateway lets it do, is a decision about the credential, not a use of it.",
|
|
266
276
|
})
|
|
277
|
+
// Hands the agent a credential or rewrites its rules: never a panel process's.
|
|
278
|
+
.meta({ panel: false })
|
|
267
279
|
.input(CredentialPolicySetSchema)
|
|
268
280
|
.output(CredentialPolicySchema),
|
|
269
281
|
request: secretRoute
|
|
@@ -58,6 +58,8 @@ export const settingsContract = {
|
|
|
58
58
|
summary: "Change the sandbox settings",
|
|
59
59
|
description: "Writes the settings whole, so send the complete object rather than the fields you changed.",
|
|
60
60
|
})
|
|
61
|
+
// The command judge, auto-approval and the rest of what holds the agent back: never a panel process's to change.
|
|
62
|
+
.meta({ panel: false })
|
|
61
63
|
.input(SandboxSettingsWriteSchema)
|
|
62
64
|
.output(OkSchema),
|
|
63
65
|
savings: procedure
|