@openrig/cli 0.7.22 → 0.7.24
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 +7 -7
- package/daemon/assets/claude-hook-bridge.cjs +575 -6
- package/daemon/assets/claude-hook-bridge.d.cts +5 -0
- package/daemon/assets/claude-permission-policies.cjs +4 -3
- package/daemon/assets/guidance/openrig-context-entry.md +1 -0
- package/daemon/assets/onboarding/01-world-and-purpose.md +2 -1
- package/daemon/assets/onboarding/02-self-and-competent-action.md +6 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +4 -3
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +3 -2
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/README.md +64 -9
- package/daemon/assets/plugins/openrig/hooks/claude.json +39 -0
- package/daemon/assets/plugins/openrig/hooks/codex.json +27 -0
- package/daemon/assets/plugins/openrig/hooks/scripts/claude-hook-bridge.cjs +715 -0
- package/daemon/assets/plugins/openrig/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/scripts/run-rig.cjs +30 -0
- package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +71 -9
- package/daemon/assets/plugins/openrig-codex/.agents/plugins/marketplace.json +15 -0
- package/daemon/assets/plugins/openrig-codex/.codex-plugin/plugin.json +42 -0
- package/daemon/assets/plugins/openrig-codex/LICENSE +200 -0
- package/daemon/assets/plugins/openrig-codex/assets/logo.svg +1 -0
- package/daemon/assets/plugins/openrig-codex/hooks/codex.json +27 -0
- package/daemon/assets/plugins/openrig-codex/hooks/scripts/claude-hook-bridge.cjs +715 -0
- package/daemon/assets/plugins/openrig-codex/skills/working-with-an-openrig-team/SKILL.md +175 -0
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/README.md +10 -2
- package/daemon/assets/plugins/openrig-core/hooks/claude.json +9 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +50 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/compaction-restore-bridge.cjs +3 -1
- package/daemon/assets/plugins/openrig-core/hooks/scripts/permission-answer.cjs +270 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +24 -6
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +11 -8
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +76 -10
- package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +4 -2
- package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +191 -25
- package/daemon/assets/skills/rigs/SKILL.md +136 -26
- package/daemon/context-packs/help/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +128 -18
- package/daemon/context-packs/reference/acp-agents.md +11 -3
- package/daemon/context-packs/reference/getting-started.md +144 -13
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +201 -3
- package/daemon/context-packs/reference/tmux-servers.md +43 -2
- package/daemon/context-packs/reference/whats-new.md +186 -12
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/scripts/precompact-hook.mjs +11 -8
- package/daemon/context-packs/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +76 -10
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +3 -3
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +71 -9
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
- package/daemon/context-packs/skills/openrig-user/SKILL.md +4 -2
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
- package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +191 -25
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
- package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
- package/daemon/context-packs/world-example/manifest.yaml +1 -1
- package/daemon/context-packs/world-public/manifest.yaml +1 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts +24 -2
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +312 -45
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume-launch.d.ts +3 -0
- package/daemon/dist/adapters/claude-resume-launch.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume-launch.js +5 -0
- package/daemon/dist/adapters/claude-resume-launch.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +66 -24
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +22 -0
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +72 -20
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-community-runtime-adapter.d.ts +9 -0
- package/daemon/dist/adapters/pi-community-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-community-runtime-adapter.js +6 -0
- package/daemon/dist/adapters/pi-community-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts +3 -0
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.js +9 -3
- package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/seat-slice.d.ts +19 -0
- package/daemon/dist/adapters/seat-slice.d.ts.map +1 -0
- package/daemon/dist/adapters/seat-slice.js +29 -0
- package/daemon/dist/adapters/seat-slice.js.map +1 -0
- package/daemon/dist/adapters/shell-quote.d.ts +1 -0
- package/daemon/dist/adapters/shell-quote.d.ts.map +1 -1
- package/daemon/dist/adapters/shell-quote.js +6 -0
- package/daemon/dist/adapters/shell-quote.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +84 -17
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +355 -78
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/conversation-key-surface.d.ts +2 -0
- package/daemon/dist/conversation-key-surface.d.ts.map +1 -0
- package/daemon/dist/conversation-key-surface.js +5 -0
- package/daemon/dist/conversation-key-surface.js.map +1 -0
- package/daemon/dist/daemon-shutdown.d.ts +8 -0
- package/daemon/dist/daemon-shutdown.d.ts.map +1 -1
- package/daemon/dist/daemon-shutdown.js +15 -2
- package/daemon/dist/daemon-shutdown.js.map +1 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +32 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrate.d.ts +15 -1
- package/daemon/dist/db/migrate.d.ts.map +1 -1
- package/daemon/dist/db/migrate.js +41 -6
- package/daemon/dist/db/migrate.js.map +1 -1
- package/daemon/dist/db/migrations/179_community_harness_runtime_switches.d.ts +14 -0
- package/daemon/dist/db/migrations/179_community_harness_runtime_switches.d.ts.map +1 -0
- package/daemon/dist/db/migrations/179_community_harness_runtime_switches.js +54 -0
- package/daemon/dist/db/migrations/179_community_harness_runtime_switches.js.map +1 -0
- package/daemon/dist/db/migrations/179_remote_control_observations.d.ts +10 -0
- package/daemon/dist/db/migrations/179_remote_control_observations.d.ts.map +1 -0
- package/daemon/dist/db/migrations/179_remote_control_observations.js +20 -0
- package/daemon/dist/db/migrations/179_remote_control_observations.js.map +1 -0
- package/daemon/dist/db/migrations/180_session_stop_attempt.d.ts +5 -0
- package/daemon/dist/db/migrations/180_session_stop_attempt.d.ts.map +1 -0
- package/daemon/dist/db/migrations/180_session_stop_attempt.js +7 -0
- package/daemon/dist/db/migrations/180_session_stop_attempt.js.map +1 -0
- package/daemon/dist/db/migrations/181_node_keep_alive.d.ts +8 -0
- package/daemon/dist/db/migrations/181_node_keep_alive.d.ts.map +1 -0
- package/daemon/dist/db/migrations/181_node_keep_alive.js +26 -0
- package/daemon/dist/db/migrations/181_node_keep_alive.js.map +1 -0
- package/daemon/dist/db/migrations/182_queue_items_blocked_on_index.d.ts +7 -0
- package/daemon/dist/db/migrations/182_queue_items_blocked_on_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/182_queue_items_blocked_on_index.js +11 -0
- package/daemon/dist/db/migrations/182_queue_items_blocked_on_index.js.map +1 -0
- package/daemon/dist/db/migrations/183_queue_items_scan_indexes.d.ts +8 -0
- package/daemon/dist/db/migrations/183_queue_items_scan_indexes.d.ts.map +1 -0
- package/daemon/dist/db/migrations/183_queue_items_scan_indexes.js +13 -0
- package/daemon/dist/db/migrations/183_queue_items_scan_indexes.js.map +1 -0
- package/daemon/dist/db/migrations/184_network_requests.d.ts +11 -0
- package/daemon/dist/db/migrations/184_network_requests.d.ts.map +1 -0
- package/daemon/dist/db/migrations/184_network_requests.js +32 -0
- package/daemon/dist/db/migrations/184_network_requests.js.map +1 -0
- package/daemon/dist/db/migrations/185_seat_cold_starts.d.ts +9 -0
- package/daemon/dist/db/migrations/185_seat_cold_starts.d.ts.map +1 -0
- package/daemon/dist/db/migrations/185_seat_cold_starts.js +19 -0
- package/daemon/dist/db/migrations/185_seat_cold_starts.js.map +1 -0
- package/daemon/dist/db/migrations/186_queue_relayed_answers.d.ts +3 -0
- package/daemon/dist/db/migrations/186_queue_relayed_answers.d.ts.map +1 -0
- package/daemon/dist/db/migrations/186_queue_relayed_answers.js +5 -0
- package/daemon/dist/db/migrations/186_queue_relayed_answers.js.map +1 -0
- package/daemon/dist/db/migrations/189_rig_seat_slice.d.ts +5 -0
- package/daemon/dist/db/migrations/189_rig_seat_slice.d.ts.map +1 -0
- package/daemon/dist/db/migrations/189_rig_seat_slice.js +7 -0
- package/daemon/dist/db/migrations/189_rig_seat_slice.js.map +1 -0
- package/daemon/dist/db/migrations/190_queue_transfer_staging.d.ts +3 -0
- package/daemon/dist/db/migrations/190_queue_transfer_staging.d.ts.map +1 -0
- package/daemon/dist/db/migrations/190_queue_transfer_staging.js +20 -0
- package/daemon/dist/db/migrations/190_queue_transfer_staging.js.map +1 -0
- package/daemon/dist/db/migrations/191_network_binding_providers.d.ts +3 -0
- package/daemon/dist/db/migrations/191_network_binding_providers.d.ts.map +1 -0
- package/daemon/dist/db/migrations/191_network_binding_providers.js +27 -0
- package/daemon/dist/db/migrations/191_network_binding_providers.js.map +1 -0
- package/daemon/dist/db/migrations/194_workflow_run_title.d.ts +4 -0
- package/daemon/dist/db/migrations/194_workflow_run_title.d.ts.map +1 -0
- package/daemon/dist/db/migrations/194_workflow_run_title.js +6 -0
- package/daemon/dist/db/migrations/194_workflow_run_title.js.map +1 -0
- package/daemon/dist/db/migrations/195_workflow_start_operations.d.ts +4 -0
- package/daemon/dist/db/migrations/195_workflow_start_operations.d.ts.map +1 -0
- package/daemon/dist/db/migrations/195_workflow_start_operations.js +13 -0
- package/daemon/dist/db/migrations/195_workflow_start_operations.js.map +1 -0
- package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.d.ts +5 -0
- package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.d.ts.map +1 -0
- package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.js +7 -0
- package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.js.map +1 -0
- package/daemon/dist/db/migrations/199_queue_items_native_permission_index.d.ts +9 -0
- package/daemon/dist/db/migrations/199_queue_items_native_permission_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/199_queue_items_native_permission_index.js +14 -0
- package/daemon/dist/db/migrations/199_queue_items_native_permission_index.js.map +1 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts +3 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +17 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +101 -45
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
- package/daemon/dist/domain/agent-manifest.js +14 -0
- package/daemon/dist/domain/agent-manifest.js.map +1 -1
- package/daemon/dist/domain/background-process-evidence.d.ts +23 -0
- package/daemon/dist/domain/background-process-evidence.d.ts.map +1 -0
- package/daemon/dist/domain/background-process-evidence.js +81 -0
- package/daemon/dist/domain/background-process-evidence.js.map +1 -0
- package/daemon/dist/domain/chat-repository.d.ts +1 -1
- package/daemon/dist/domain/chat-repository.d.ts.map +1 -1
- package/daemon/dist/domain/chat-repository.js +2 -2
- package/daemon/dist/domain/chat-repository.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +46 -8
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +66 -20
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.d.ts +35 -0
- package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.js +106 -1
- package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
- package/daemon/dist/domain/community-harness-presets.d.ts +9 -0
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +25 -1
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts +12 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +130 -2
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
- package/daemon/dist/domain/continuity-policy-materializer.d.ts.map +1 -1
- package/daemon/dist/domain/continuity-policy-materializer.js +11 -3
- package/daemon/dist/domain/continuity-policy-materializer.js.map +1 -1
- package/daemon/dist/domain/core-app-job.d.ts +4 -4
- package/daemon/dist/domain/core-app-job.d.ts.map +1 -1
- package/daemon/dist/domain/core-app-job.js +4 -59
- package/daemon/dist/domain/core-app-job.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +43 -4
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +52 -3
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/escalation-owner.d.ts +3 -0
- package/daemon/dist/domain/escalation-owner.d.ts.map +1 -1
- package/daemon/dist/domain/escalation-owner.js +9 -3
- package/daemon/dist/domain/escalation-owner.js.map +1 -1
- package/daemon/dist/domain/execution-candidate-reader.d.ts +3 -0
- package/daemon/dist/domain/execution-candidate-reader.d.ts.map +1 -1
- package/daemon/dist/domain/execution-candidate-reader.js +8 -2
- package/daemon/dist/domain/execution-candidate-reader.js.map +1 -1
- package/daemon/dist/domain/existing-rig-restore.d.ts +2 -0
- package/daemon/dist/domain/existing-rig-restore.d.ts.map +1 -1
- package/daemon/dist/domain/existing-rig-restore.js +11 -1
- package/daemon/dist/domain/existing-rig-restore.js.map +1 -1
- package/daemon/dist/domain/feed/attention-aggregator.d.ts +5 -5
- package/daemon/dist/domain/feed/attention-aggregator.d.ts.map +1 -1
- package/daemon/dist/domain/feed/attention-aggregator.js +10 -4
- package/daemon/dist/domain/feed/attention-aggregator.js.map +1 -1
- package/daemon/dist/domain/files/path-safety.d.ts +7 -0
- package/daemon/dist/domain/files/path-safety.d.ts.map +1 -1
- package/daemon/dist/domain/files/path-safety.js +23 -0
- package/daemon/dist/domain/files/path-safety.js.map +1 -1
- package/daemon/dist/domain/frontmatter.d.ts.map +1 -1
- package/daemon/dist/domain/frontmatter.js +4 -2
- package/daemon/dist/domain/frontmatter.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +3 -0
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +9 -0
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/human-quiet-windows.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-quiet-windows.js +2 -1
- package/daemon/dist/domain/gateway/human-quiet-windows.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +6 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +53 -9
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts +4 -4
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +20 -7
- package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +4 -0
- package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/outbound-driver.js +1 -0
- package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts +9 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +2 -0
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/settled-asks.js +15 -2
- package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +10 -19
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +64 -40
- package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +3 -13
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +70 -22
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/harness-not-started-notice.d.ts +5 -2
- package/daemon/dist/domain/harness-not-started-notice.d.ts.map +1 -1
- package/daemon/dist/domain/harness-not-started-notice.js +46 -15
- package/daemon/dist/domain/harness-not-started-notice.js.map +1 -1
- package/daemon/dist/domain/health-detectors.d.ts +4 -0
- package/daemon/dist/domain/health-detectors.d.ts.map +1 -1
- package/daemon/dist/domain/health-detectors.js +4 -1
- package/daemon/dist/domain/health-detectors.js.map +1 -1
- package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
- package/daemon/dist/domain/health-diagnosis.js +14 -9
- package/daemon/dist/domain/health-diagnosis.js.map +1 -1
- package/daemon/dist/domain/health-passive-ceremony.d.ts +2 -0
- package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
- package/daemon/dist/domain/health-passive-ceremony.js +71 -13
- package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
- package/daemon/dist/domain/history-query.d.ts +1 -1
- package/daemon/dist/domain/history-query.d.ts.map +1 -1
- package/daemon/dist/domain/history-query.js +1 -2
- package/daemon/dist/domain/history-query.js.map +1 -1
- package/daemon/dist/domain/hosts/read-through.d.ts +1 -1
- package/daemon/dist/domain/hosts/read-through.d.ts.map +1 -1
- package/daemon/dist/domain/hosts/read-through.js +9 -2
- package/daemon/dist/domain/hosts/read-through.js.map +1 -1
- package/daemon/dist/domain/hot-potato-enforcer.d.ts +3 -3
- package/daemon/dist/domain/hot-potato-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/hot-potato-enforcer.js +2 -2
- package/daemon/dist/domain/hot-potato-enforcer.js.map +1 -1
- package/daemon/dist/domain/human-questions.d.ts +1 -1
- package/daemon/dist/domain/human-questions.d.ts.map +1 -1
- package/daemon/dist/domain/human-questions.js +2 -0
- package/daemon/dist/domain/human-questions.js.map +1 -1
- package/daemon/dist/domain/input-read-diagnostic.js +1 -1
- package/daemon/dist/domain/input-read-diagnostic.js.map +1 -1
- package/daemon/dist/domain/keep-alive-supervisor.d.ts +178 -0
- package/daemon/dist/domain/keep-alive-supervisor.d.ts.map +1 -0
- package/daemon/dist/domain/keep-alive-supervisor.js +523 -0
- package/daemon/dist/domain/keep-alive-supervisor.js.map +1 -0
- package/daemon/dist/domain/managed-restore-read-access.d.ts +18 -0
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.js +41 -1
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.d.ts +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.js +3 -6
- package/daemon/dist/domain/mission-control/audit-browse.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.d.ts +6 -0
- package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.js +38 -9
- package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js +50 -5
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/mutation-trace.d.ts +28 -0
- package/daemon/dist/domain/mutation-trace.d.ts.map +1 -0
- package/daemon/dist/domain/mutation-trace.js +38 -0
- package/daemon/dist/domain/mutation-trace.js.map +1 -0
- package/daemon/dist/domain/native-resume-probe.d.ts +35 -3
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +84 -17
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/network/hub-client.d.ts +30 -1
- package/daemon/dist/domain/network/hub-client.d.ts.map +1 -1
- package/daemon/dist/domain/network/hub-client.js +62 -9
- package/daemon/dist/domain/network/hub-client.js.map +1 -1
- package/daemon/dist/domain/network/network-bindings.d.ts +52 -2
- package/daemon/dist/domain/network/network-bindings.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-bindings.js +217 -23
- package/daemon/dist/domain/network/network-bindings.js.map +1 -1
- package/daemon/dist/domain/network/network-connector.d.ts +9 -1
- package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-connector.js +95 -7
- package/daemon/dist/domain/network/network-connector.js.map +1 -1
- package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-installations.js +22 -7
- package/daemon/dist/domain/network/network-installations.js.map +1 -1
- package/daemon/dist/domain/network/network-provider-removal.d.ts +9 -0
- package/daemon/dist/domain/network/network-provider-removal.d.ts.map +1 -0
- package/daemon/dist/domain/network/network-provider-removal.js +75 -0
- package/daemon/dist/domain/network/network-provider-removal.js.map +1 -0
- package/daemon/dist/domain/network/network-requests.d.ts +60 -0
- package/daemon/dist/domain/network/network-requests.d.ts.map +1 -0
- package/daemon/dist/domain/network/network-requests.js +502 -0
- package/daemon/dist/domain/network/network-requests.js.map +1 -0
- package/daemon/dist/domain/node-inventory.d.ts +26 -0
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +87 -7
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +2 -2
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +9 -7
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/occupant-invalidator.d.ts +1 -1
- package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
- package/daemon/dist/domain/occupant-invalidator.js +1 -1
- package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
- package/daemon/dist/domain/outbox-handler.d.ts +11 -0
- package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
- package/daemon/dist/domain/outbox-handler.js +20 -0
- package/daemon/dist/domain/outbox-handler.js.map +1 -1
- package/daemon/dist/domain/pane-cutover.d.ts +36 -9
- package/daemon/dist/domain/pane-cutover.d.ts.map +1 -1
- package/daemon/dist/domain/pane-cutover.js +82 -13
- package/daemon/dist/domain/pane-cutover.js.map +1 -1
- package/daemon/dist/domain/parked-query.d.ts +6 -0
- package/daemon/dist/domain/parked-query.d.ts.map +1 -1
- package/daemon/dist/domain/parked-query.js +14 -4
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts +13 -0
- package/daemon/dist/domain/policies/seat-pool.d.ts.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.js +18 -3
- package/daemon/dist/domain/policies/seat-pool.js.map +1 -1
- package/daemon/dist/domain/profile-resolver.d.ts +7 -1
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +7 -0
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/progress/progress-indexer.d.ts.map +1 -1
- package/daemon/dist/domain/progress/progress-indexer.js +11 -0
- package/daemon/dist/domain/progress/progress-indexer.js.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.js +4 -1
- package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
- package/daemon/dist/domain/projection-planner.d.ts +17 -3
- package/daemon/dist/domain/projection-planner.d.ts.map +1 -1
- package/daemon/dist/domain/projection-planner.js +9 -1
- package/daemon/dist/domain/projection-planner.js.map +1 -1
- package/daemon/dist/domain/proof/judgments.d.ts +3 -0
- package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
- package/daemon/dist/domain/proof/judgments.js +13 -3
- package/daemon/dist/domain/proof/judgments.js.map +1 -1
- package/daemon/dist/domain/proof/source-watch.js +4 -4
- package/daemon/dist/domain/proof/source-watch.js.map +1 -1
- package/daemon/dist/domain/provider/claude-interruption.d.ts +6 -0
- package/daemon/dist/domain/provider/claude-interruption.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-interruption.js +18 -0
- package/daemon/dist/domain/provider/claude-interruption.js.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +8 -1
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +11 -3
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-destination-check.d.ts +8 -0
- package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
- package/daemon/dist/domain/queue-destination-check.js +17 -4
- package/daemon/dist/domain/queue-destination-check.js.map +1 -1
- package/daemon/dist/domain/queue-erasure.d.ts +3 -0
- package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
- package/daemon/dist/domain/queue-erasure.js +2 -2
- package/daemon/dist/domain/queue-erasure.js.map +1 -1
- package/daemon/dist/domain/queue-owner.d.ts +5 -0
- package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
- package/daemon/dist/domain/queue-owner.js +16 -8
- package/daemon/dist/domain/queue-owner.js.map +1 -1
- package/daemon/dist/domain/queue-recorded-graph.d.ts +32 -0
- package/daemon/dist/domain/queue-recorded-graph.d.ts.map +1 -0
- package/daemon/dist/domain/queue-recorded-graph.js +84 -0
- package/daemon/dist/domain/queue-recorded-graph.js.map +1 -0
- package/daemon/dist/domain/queue-repository.d.ts +94 -5
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +491 -39
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-retention.d.ts +1 -1
- package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/daemon/dist/domain/queue-retention.js +4 -0
- package/daemon/dist/domain/queue-retention.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +23 -3
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +661 -22
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-export.d.ts +75 -0
- package/daemon/dist/domain/queue-transfer-export.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-export.js +158 -0
- package/daemon/dist/domain/queue-transfer-export.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-format.d.ts +15 -0
- package/daemon/dist/domain/queue-transfer-format.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-format.js +32 -0
- package/daemon/dist/domain/queue-transfer-format.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-parse.d.ts +40 -0
- package/daemon/dist/domain/queue-transfer-parse.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-parse.js +131 -0
- package/daemon/dist/domain/queue-transfer-parse.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-review.d.ts +22 -0
- package/daemon/dist/domain/queue-transfer-review.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-review.js +81 -0
- package/daemon/dist/domain/queue-transfer-review.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-staging.d.ts +79 -0
- package/daemon/dist/domain/queue-transfer-staging.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-staging.js +67 -0
- package/daemon/dist/domain/queue-transfer-staging.js.map +1 -0
- package/daemon/dist/domain/queue-transition-log.d.ts +6 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +1 -1
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js +7 -0
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +4 -0
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +181 -24
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/reconciler.d.ts +27 -2
- package/daemon/dist/domain/reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/reconciler.js +184 -16
- package/daemon/dist/domain/reconciler.js.map +1 -1
- package/daemon/dist/domain/refusal-trace.d.ts +15 -0
- package/daemon/dist/domain/refusal-trace.d.ts.map +1 -0
- package/daemon/dist/domain/refusal-trace.js +23 -0
- package/daemon/dist/domain/refusal-trace.js.map +1 -0
- package/daemon/dist/domain/rehydrate-eligibility.d.ts +8 -0
- package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
- package/daemon/dist/domain/rehydrate-eligibility.js +61 -9
- package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
- package/daemon/dist/domain/relayed-answers.d.ts +80 -0
- package/daemon/dist/domain/relayed-answers.d.ts.map +1 -0
- package/daemon/dist/domain/relayed-answers.js +8 -0
- package/daemon/dist/domain/relayed-answers.js.map +1 -0
- package/daemon/dist/domain/remote-control-observations.d.ts +50 -0
- package/daemon/dist/domain/remote-control-observations.d.ts.map +1 -0
- package/daemon/dist/domain/remote-control-observations.js +72 -0
- package/daemon/dist/domain/remote-control-observations.js.map +1 -0
- package/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -1
- package/daemon/dist/domain/restore-attempt-receipt.js +8 -2
- package/daemon/dist/domain/restore-attempt-receipt.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +5 -2
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +70 -6
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +387 -51
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/return-route.d.ts +13 -2
- package/daemon/dist/domain/return-route.d.ts.map +1 -1
- package/daemon/dist/domain/return-route.js +30 -1
- package/daemon/dist/domain/return-route.js.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.d.ts +1 -0
- package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.js +27 -3
- package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/rig-mode/operating-posture.d.ts.map +1 -1
- package/daemon/dist/domain/rig-mode/operating-posture.js +23 -4
- package/daemon/dist/domain/rig-mode/operating-posture.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +21 -3
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +67 -2
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +52 -9
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +184 -32
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +12 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts +14 -0
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +56 -14
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +34 -3
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +195 -40
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +26 -3
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +30 -4
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/roster-ready-notice.d.ts +11 -0
- package/daemon/dist/domain/roster-ready-notice.d.ts.map +1 -0
- package/daemon/dist/domain/roster-ready-notice.js +35 -0
- package/daemon/dist/domain/roster-ready-notice.js.map +1 -0
- package/daemon/dist/domain/rosters.d.ts +1 -0
- package/daemon/dist/domain/rosters.d.ts.map +1 -1
- package/daemon/dist/domain/rosters.js +5 -4
- package/daemon/dist/domain/rosters.js.map +1 -1
- package/daemon/dist/domain/runner-permissions.d.ts +140 -5
- package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/runner-permissions.js +593 -16
- package/daemon/dist/domain/runner-permissions.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +3 -1
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-exit.d.ts +79 -0
- package/daemon/dist/domain/runtime-exit.d.ts.map +1 -0
- package/daemon/dist/domain/runtime-exit.js +301 -0
- package/daemon/dist/domain/runtime-exit.js.map +1 -0
- package/daemon/dist/domain/runtime-switch-materials.d.ts +4 -1
- package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-switch-materials.js +66 -13
- package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
- package/daemon/dist/domain/scope/attestation-lineage.generated.js +2 -2
- package/daemon/dist/domain/scope/attestation-lineage.generated.js.map +1 -1
- package/daemon/dist/domain/scope/logical-checkbox.d.ts.map +1 -1
- package/daemon/dist/domain/scope/logical-checkbox.js +18 -0
- package/daemon/dist/domain/scope/logical-checkbox.js.map +1 -1
- package/daemon/dist/domain/scope/scaffold-placeholder.js +2 -2
- package/daemon/dist/domain/scope/scaffold-placeholder.js.map +1 -1
- package/daemon/dist/domain/seat-activity-service.d.ts +4 -0
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +24 -5
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts +7 -0
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +152 -65
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-cold-start.d.ts +150 -0
- package/daemon/dist/domain/seat-cold-start.d.ts.map +1 -0
- package/daemon/dist/domain/seat-cold-start.js +371 -0
- package/daemon/dist/domain/seat-cold-start.js.map +1 -0
- package/daemon/dist/domain/seat-delivery-guard.d.ts +11 -2
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +34 -6
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.d.ts +5 -2
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +30 -6
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.d.ts +31 -0
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +218 -29
- package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-identity-store.d.ts +5 -3
- package/daemon/dist/domain/seat-identity-store.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-store.js +7 -3
- package/daemon/dist/domain/seat-identity-store.js.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts +8 -0
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +37 -5
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +54 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +220 -30
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-pool-executor.d.ts +174 -0
- package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -0
- package/daemon/dist/domain/seat-pool-executor.js +1241 -0
- package/daemon/dist/domain/seat-pool-executor.js.map +1 -0
- package/daemon/dist/domain/seat-pool-registration.d.ts +93 -0
- package/daemon/dist/domain/seat-pool-registration.d.ts.map +1 -0
- package/daemon/dist/domain/seat-pool-registration.js +149 -0
- package/daemon/dist/domain/seat-pool-registration.js.map +1 -0
- package/daemon/dist/domain/seat-pool-slots.d.ts +66 -0
- package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.js +101 -0
- package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +15 -0
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +54 -2
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-home-record.d.ts +8 -0
- package/daemon/dist/domain/seat-runtime-home-record.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-home-record.js +1 -1
- package/daemon/dist/domain/seat-runtime-home-record.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +2 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +68 -20
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +22 -3
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +38 -6
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +18 -2
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +73 -39
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
- package/daemon/dist/domain/skill-catalog.js +24 -10
- package/daemon/dist/domain/skill-catalog.js.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.d.ts +55 -0
- package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.js +259 -50
- package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +6 -2
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +118 -30
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-proof.d.ts +6 -0
- package/daemon/dist/domain/startup-proof.d.ts.map +1 -1
- package/daemon/dist/domain/startup-proof.js +11 -0
- package/daemon/dist/domain/startup-proof.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +3 -0
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +36 -3
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/stream-reader-actions.d.ts +23 -0
- package/daemon/dist/domain/stream-reader-actions.d.ts.map +1 -1
- package/daemon/dist/domain/stream-reader-actions.js +43 -0
- package/daemon/dist/domain/stream-reader-actions.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +24 -3
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +54 -23
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach-0723.d.ts +2 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0723.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0723.js +48 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0723.js.map +1 -0
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +2 -0
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +2 -0
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/rex-agent-status.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/rex-agent-status.js +5 -2
- package/daemon/dist/domain/terminal/rex-agent-status.js.map +1 -1
- package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts +2 -1
- package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/scope-task-terminal-view.js +80 -38
- package/daemon/dist/domain/terminal/scope-task-terminal-view.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +2 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts +3 -0
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +30 -26
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts +31 -3
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +95 -4
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/terminal/view-composer.d.ts +2 -0
- package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/view-composer.js +4 -2
- package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
- package/daemon/dist/domain/topology-trace.d.ts +40 -0
- package/daemon/dist/domain/topology-trace.d.ts.map +1 -0
- package/daemon/dist/domain/topology-trace.js +106 -0
- package/daemon/dist/domain/topology-trace.js.map +1 -0
- package/daemon/dist/domain/transcript-redaction.d.ts +10 -8
- package/daemon/dist/domain/transcript-redaction.d.ts.map +1 -1
- package/daemon/dist/domain/transcript-redaction.js +51 -22
- package/daemon/dist/domain/transcript-redaction.js.map +1 -1
- package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
- package/daemon/dist/domain/transcript-store.js +12 -1
- package/daemon/dist/domain/transcript-store.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +111 -9
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js +6 -2
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-browser.js +2 -0
- package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +13 -0
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts +5 -3
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js +6 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts +8 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +6 -2
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/whoami-service.d.ts +11 -0
- package/daemon/dist/domain/whoami-service.d.ts.map +1 -1
- package/daemon/dist/domain/whoami-service.js +13 -0
- package/daemon/dist/domain/whoami-service.js.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.d.ts +2 -0
- package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-instance-store.js +11 -2
- package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
- package/daemon/dist/domain/workflow-projector.d.ts +3 -1
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +58 -10
- package/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-reconciliation.js +9 -0
- package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
- package/daemon/dist/domain/workflow-run-title.d.ts +4 -0
- package/daemon/dist/domain/workflow-run-title.d.ts.map +1 -0
- package/daemon/dist/domain/workflow-run-title.js +5 -0
- package/daemon/dist/domain/workflow-run-title.js.map +1 -0
- package/daemon/dist/domain/workflow-runtime.d.ts +3 -0
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +48 -3
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.d.ts +2 -2
- package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-spec-cache.js +20 -1
- package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
- package/daemon/dist/domain/workflow-types.d.ts +15 -0
- package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-types.js +4 -0
- package/daemon/dist/domain/workflow-types.js.map +1 -1
- package/daemon/dist/domain/workspace/project-read.d.ts +10 -0
- package/daemon/dist/domain/workspace/project-read.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-read.js +34 -2
- package/daemon/dist/domain/workspace/project-read.js.map +1 -1
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +7 -1
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/queue-transfer-export-surface.d.ts +33 -0
- package/daemon/dist/queue-transfer-export-surface.d.ts.map +1 -0
- package/daemon/dist/queue-transfer-export-surface.js +13 -0
- package/daemon/dist/queue-transfer-export-surface.js.map +1 -0
- package/daemon/dist/queue-transfer-staging-surface.d.ts +86 -0
- package/daemon/dist/queue-transfer-staging-surface.d.ts.map +1 -0
- package/daemon/dist/queue-transfer-staging-surface.js +91 -0
- package/daemon/dist/queue-transfer-staging-surface.js.map +1 -0
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +105 -2
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/compaction.d.ts.map +1 -1
- package/daemon/dist/routes/compaction.js +33 -11
- package/daemon/dist/routes/compaction.js.map +1 -1
- package/daemon/dist/routes/context-packs.d.ts.map +1 -1
- package/daemon/dist/routes/context-packs.js +23 -1
- package/daemon/dist/routes/context-packs.js.map +1 -1
- package/daemon/dist/routes/events.js +7 -4
- package/daemon/dist/routes/events.js.map +1 -1
- package/daemon/dist/routes/network.d.ts +2 -0
- package/daemon/dist/routes/network.d.ts.map +1 -1
- package/daemon/dist/routes/network.js +62 -1
- package/daemon/dist/routes/network.js.map +1 -1
- package/daemon/dist/routes/ps.js +12 -1
- package/daemon/dist/routes/ps.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +219 -77
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/require-sender-identity.d.ts +15 -0
- package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/daemon/dist/routes/require-sender-identity.js +57 -8
- package/daemon/dist/routes/require-sender-identity.js.map +1 -1
- package/daemon/dist/routes/rigs.js +2 -0
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +18 -5
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.d.ts.map +1 -1
- package/daemon/dist/routes/sessions.js +14 -0
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/slices.d.ts.map +1 -1
- package/daemon/dist/routes/slices.js +16 -7
- package/daemon/dist/routes/slices.js.map +1 -1
- package/daemon/dist/routes/startup.d.ts.map +1 -1
- package/daemon/dist/routes/startup.js +49 -4
- package/daemon/dist/routes/startup.js.map +1 -1
- package/daemon/dist/routes/stream.d.ts.map +1 -1
- package/daemon/dist/routes/stream.js +28 -1
- package/daemon/dist/routes/stream.js.map +1 -1
- package/daemon/dist/routes/terminal-ws.js +28 -2
- package/daemon/dist/routes/terminal-ws.js.map +1 -1
- package/daemon/dist/routes/terminal.d.ts.map +1 -1
- package/daemon/dist/routes/terminal.js +3 -2
- package/daemon/dist/routes/terminal.js.map +1 -1
- package/daemon/dist/routes/transport.d.ts.map +1 -1
- package/daemon/dist/routes/transport.js +14 -2
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/routes/up.js +2 -0
- package/daemon/dist/routes/up.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +57 -44
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/server.d.ts +7 -0
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +25 -1
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts +3 -0
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +166 -12
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.d.ts +10 -0
- package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.js +63 -4
- package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
- package/daemon/dist/topology-trace-surface.d.ts +2 -0
- package/daemon/dist/topology-trace-surface.d.ts.map +1 -0
- package/daemon/dist/topology-trace-surface.js +2 -0
- package/daemon/dist/topology-trace-surface.js.map +1 -0
- package/daemon/dist/transcript-redaction-surface.d.ts +2 -0
- package/daemon/dist/transcript-redaction-surface.d.ts.map +1 -0
- package/daemon/dist/transcript-redaction-surface.js +2 -0
- package/daemon/dist/transcript-redaction-surface.js.map +1 -0
- package/daemon/docs/reference/acp-agents.md +11 -3
- package/daemon/docs/reference/agent-spec.md +25 -2
- package/daemon/docs/reference/agent-startup-guide.md +13 -1
- package/daemon/docs/reference/agent-state-taxonomy.md +35 -1
- package/daemon/docs/reference/checked-seat-stop.md +11 -1
- package/daemon/docs/reference/claude-status-line.md +7 -0
- package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +3 -1
- package/daemon/docs/reference/community-harness-presets.md +27 -2
- package/daemon/docs/reference/daemon-http-clients.md +177 -18
- package/daemon/docs/reference/developing.md +3 -2
- package/daemon/docs/reference/gateway-participants.md +6 -0
- package/daemon/docs/reference/getting-started.md +144 -13
- package/daemon/docs/reference/harness-runner-contract.md +72 -0
- package/daemon/docs/reference/hosted-members.md +133 -0
- package/daemon/docs/reference/inventory-request-diagnostics.md +22 -0
- package/daemon/docs/reference/network-connector.md +141 -4
- package/daemon/docs/reference/project-workspace.md +11 -2
- package/daemon/docs/reference/queue-erasure.md +1 -1
- package/daemon/docs/reference/queue-transfer-export.md +38 -0
- package/daemon/docs/reference/queue-transfer-staging.md +39 -0
- package/daemon/docs/reference/quickstart.md +4 -4
- package/daemon/docs/reference/refocus-channel.md +53 -2
- package/daemon/docs/reference/rig-bundle.md +11 -1
- package/daemon/docs/reference/rig-spec.md +201 -3
- package/daemon/docs/reference/rosters.md +18 -3
- package/daemon/docs/reference/sdlc-conventions.md +1 -1
- package/daemon/docs/reference/seat-delivery.md +21 -4
- package/daemon/docs/reference/seat-node-targeting.md +10 -0
- package/daemon/docs/reference/seat-pools.md +182 -0
- package/daemon/docs/reference/slack-app-setup.md +15 -0
- package/daemon/docs/reference/terminal-sessions.md +127 -13
- package/daemon/docs/reference/tmux-servers.md +43 -2
- package/daemon/docs/reference/whats-new.md +186 -12
- package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +1 -1
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +71 -9
- package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +4 -1
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +2 -1
- package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +4 -1
- package/dist/bin-wrapper.d.ts.map +1 -1
- package/dist/bin-wrapper.js +24 -5
- package/dist/bin-wrapper.js.map +1 -1
- package/dist/build-info.js +3 -3
- package/dist/client.d.ts +6 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +7 -1
- package/dist/client.js.map +1 -1
- package/dist/commands/add.js +1 -1
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/agent.js +1 -1
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/broadcast.d.ts.map +1 -1
- package/dist/commands/broadcast.js +87 -8
- package/dist/commands/broadcast.js.map +1 -1
- package/dist/commands/bundle.d.ts.map +1 -1
- package/dist/commands/bundle.js +18 -4
- package/dist/commands/bundle.js.map +1 -1
- package/dist/commands/chatroom.d.ts +3 -0
- package/dist/commands/chatroom.d.ts.map +1 -1
- package/dist/commands/chatroom.js +7 -1
- package/dist/commands/chatroom.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +2 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/create.js +6 -2
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +18 -15
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +12 -1
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/commands/exec.js +22 -13
- package/dist/commands/exec.js.map +1 -1
- package/dist/commands/expand.js +1 -1
- package/dist/commands/expand.js.map +1 -1
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +5 -1
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/fork.js +1 -1
- package/dist/commands/fork.js.map +1 -1
- package/dist/commands/gateway.d.ts +4 -0
- package/dist/commands/gateway.d.ts.map +1 -1
- package/dist/commands/gateway.js +37 -0
- package/dist/commands/gateway.js.map +1 -1
- package/dist/commands/grow.d.ts.map +1 -1
- package/dist/commands/grow.js +9 -4
- package/dist/commands/grow.js.map +1 -1
- package/dist/commands/import.js +1 -1
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +57 -22
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/network.d.ts +2 -3
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +102 -4
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/parked.d.ts.map +1 -1
- package/dist/commands/parked.js +12 -6
- package/dist/commands/parked.js.map +1 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +3 -2
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/ps.d.ts +13 -1
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +65 -29
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue-export.d.ts +3 -0
- package/dist/commands/queue-export.d.ts.map +1 -0
- package/dist/commands/queue-export.js +67 -0
- package/dist/commands/queue-export.js.map +1 -0
- package/dist/commands/queue-import.d.ts +4 -0
- package/dist/commands/queue-import.d.ts.map +1 -0
- package/dist/commands/queue-import.js +47 -0
- package/dist/commands/queue-import.js.map +1 -0
- package/dist/commands/queue.d.ts +3 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +79 -7
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/reconcile-session.js +1 -1
- package/dist/commands/reconcile-session.js.map +1 -1
- package/dist/commands/restore.js +1 -1
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/rig.js +2 -2
- package/dist/commands/rig.js.map +1 -1
- package/dist/commands/roster.js +1 -1
- package/dist/commands/roster.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +30 -18
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +75 -18
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +15 -3
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/skill.js +1 -1
- package/dist/commands/skill.js.map +1 -1
- package/dist/commands/start.d.ts +14 -0
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +57 -7
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +20 -4
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +2 -1
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/whoami.d.ts.map +1 -1
- package/dist/commands/whoami.js +6 -0
- package/dist/commands/whoami.js.map +1 -1
- package/dist/commands/workflow-follow.d.ts.map +1 -1
- package/dist/commands/workflow-follow.js +37 -34
- package/dist/commands/workflow-follow.js.map +1 -1
- package/dist/commands/workflow-render.d.ts +1 -1
- package/dist/commands/workflow-render.d.ts.map +1 -1
- package/dist/commands/workflow-render.js +2 -7
- package/dist/commands/workflow-render.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +26 -2
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +2 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +14 -1
- package/dist/config-store.js.map +1 -1
- package/dist/cross-host-executor.d.ts +3 -0
- package/dist/cross-host-executor.d.ts.map +1 -1
- package/dist/cross-host-executor.js +5 -0
- package/dist/cross-host-executor.js.map +1 -1
- package/dist/daemon-auto-start.d.ts.map +1 -1
- package/dist/daemon-auto-start.js +1 -0
- package/dist/daemon-auto-start.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +30 -1
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +135 -38
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/daemon-start-lock.d.ts +38 -3
- package/dist/daemon-start-lock.d.ts.map +1 -1
- package/dist/daemon-start-lock.js +201 -48
- package/dist/daemon-start-lock.js.map +1 -1
- package/dist/lib/bundle-source.d.ts +4 -0
- package/dist/lib/bundle-source.d.ts.map +1 -1
- package/dist/lib/bundle-source.js +14 -2
- package/dist/lib/bundle-source.js.map +1 -1
- package/dist/lib/context-git.js +2 -2
- package/dist/lib/context-git.js.map +1 -1
- package/dist/lib/frontmatter.d.ts.map +1 -1
- package/dist/lib/frontmatter.js +4 -2
- package/dist/lib/frontmatter.js.map +1 -1
- package/dist/lib/scope/attestation-lineage.js +2 -2
- package/dist/lib/scope/attestation-lineage.js.map +1 -1
- package/dist/lib/scope/logical-checkbox.d.ts.map +1 -1
- package/dist/lib/scope/logical-checkbox.js +18 -0
- package/dist/lib/scope/logical-checkbox.js.map +1 -1
- package/dist/lib/scope/progress-edit.d.ts.map +1 -1
- package/dist/lib/scope/progress-edit.js +11 -1
- package/dist/lib/scope/progress-edit.js.map +1 -1
- package/dist/lib/scope/scaffold-placeholder.js +2 -2
- package/dist/lib/scope/scaffold-placeholder.js.map +1 -1
- package/dist/lib/terminal-cell.d.ts +5 -0
- package/dist/lib/terminal-cell.d.ts.map +1 -0
- package/dist/lib/terminal-cell.js +22 -0
- package/dist/lib/terminal-cell.js.map +1 -0
- package/dist/lib/topology-trace.d.ts +3 -34
- package/dist/lib/topology-trace.d.ts.map +1 -1
- package/dist/lib/topology-trace.js +3 -97
- package/dist/lib/topology-trace.js.map +1 -1
- package/dist/local-db.d.ts +2 -0
- package/dist/local-db.d.ts.map +1 -1
- package/dist/local-db.js +14 -11
- package/dist/local-db.js.map +1 -1
- package/dist/mcp-caller-resolver.d.ts +36 -0
- package/dist/mcp-caller-resolver.d.ts.map +1 -0
- package/dist/mcp-caller-resolver.js +82 -0
- package/dist/mcp-caller-resolver.js.map +1 -0
- package/dist/mcp-http.d.ts +44 -3
- package/dist/mcp-http.d.ts.map +1 -1
- package/dist/mcp-http.js +228 -48
- package/dist/mcp-http.js.map +1 -1
- package/dist/mcp-server.d.ts +28 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +219 -52
- package/dist/mcp-server.js.map +1 -1
- package/dist/mcp-surface.d.ts +3 -2
- package/dist/mcp-surface.d.ts.map +1 -1
- package/dist/node-support.d.ts.map +1 -1
- package/dist/node-support.js +10 -0
- package/dist/node-support.js.map +1 -1
- package/dist/release-surface/extract-surface.d.ts.map +1 -1
- package/dist/release-surface/extract-surface.js +38 -20
- package/dist/release-surface/extract-surface.js.map +1 -1
- package/dist/release-surface/generate.d.ts.map +1 -1
- package/dist/release-surface/generate.js +3 -0
- package/dist/release-surface/generate.js.map +1 -1
- package/dist/release-surface/surface-diff.d.ts +1 -0
- package/dist/release-surface/surface-diff.d.ts.map +1 -1
- package/dist/release-surface/surface-diff.js +19 -18
- package/dist/release-surface/surface-diff.js.map +1 -1
- package/dist/remote-host-ops.d.ts +3 -0
- package/dist/remote-host-ops.d.ts.map +1 -1
- package/dist/remote-host-ops.js +15 -1
- package/dist/remote-host-ops.js.map +1 -1
- package/dist/restore-packet/redaction.d.ts +4 -26
- package/dist/restore-packet/redaction.d.ts.map +1 -1
- package/dist/restore-packet/redaction.js +19 -63
- package/dist/restore-packet/redaction.js.map +1 -1
- package/dist/terminal-orca.d.ts +7 -0
- package/dist/terminal-orca.d.ts.map +1 -0
- package/dist/terminal-orca.js +239 -0
- package/dist/terminal-orca.js.map +1 -0
- package/package.json +3 -3
- package/scripts/check-abi.mjs +15 -0
- package/tui/dist/attention/attention-model.d.ts.map +1 -1
- package/tui/dist/attention/attention-model.js +8 -4
- package/tui/dist/attention/attention-model.js.map +1 -1
- package/tui/dist/connected-assistants.d.ts +1 -1
- package/tui/dist/connected-assistants.d.ts.map +1 -1
- package/tui/dist/connected-assistants.js +3 -1
- package/tui/dist/connected-assistants.js.map +1 -1
- package/tui/dist/crash-cart/start-daemon.d.ts +20 -0
- package/tui/dist/crash-cart/start-daemon.d.ts.map +1 -1
- package/tui/dist/crash-cart/start-daemon.js +56 -0
- package/tui/dist/crash-cart/start-daemon.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +4 -0
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +12 -8
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/health/health-model.d.ts.map +1 -1
- package/tui/dist/health/health-model.js +2 -0
- package/tui/dist/health/health-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts +3 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +44 -27
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/live.d.ts +5 -1
- package/tui/dist/live.d.ts.map +1 -1
- package/tui/dist/live.js +20 -2
- package/tui/dist/live.js.map +1 -1
- package/tui/dist/main.js +29 -10
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/pulse/pulse-model.d.ts.map +1 -1
- package/tui/dist/pulse/pulse-model.js +3 -2
- package/tui/dist/pulse/pulse-model.js.map +1 -1
- package/tui/dist/render.d.ts +2 -0
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +47 -14
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/types.d.ts +10 -4
- package/tui/dist/types.d.ts.map +1 -1
- package/ui/dist/assets/index-Chh-NS8Z.css +32 -0
- package/ui/dist/assets/index-DG_7XFcL.js +628 -0
- package/ui/dist/index.html +2 -2
- package/ui/dist/assets/index-B-sMy02c.js +0 -623
- package/ui/dist/assets/index-DiN7RwWg.css +0 -32
|
@@ -43,7 +43,10 @@ Setup and launch are separate: declining `rig setup` avoids its `~/.tmux.conf` c
|
|
|
43
43
|
still write workspace trust and selected MCP/config fragments. `runtime.codex.hooks_enabled=false` controls hooks;
|
|
44
44
|
it isn't a no-global-config option. Setup has no project-only mode. Trusted project `.codex/config.toml` settings
|
|
45
45
|
don't redirect OpenRig's home-config writes. A separate selected `CODEX_HOME` keeps Codex config, login and sessions
|
|
46
|
-
together in that home; it needs its own working sign-in and doesn't relocate `~/.tmux.conf`.
|
|
46
|
+
together in that home; it needs its own working sign-in and doesn't relocate `~/.tmux.conf`. A new home, such as one
|
|
47
|
+
made inside a project to avoid these writes, has no login, so a team can't start on it until it's signed in. To keep
|
|
48
|
+
your existing login, keep your home (`~/.codex`, or `~/.claude` for Claude Code) and accept these few writes there.
|
|
49
|
+
Don't copy credentials into a project to get around them.
|
|
47
50
|
|
|
48
51
|
> **What OpenRig changes on your machine**
|
|
49
52
|
> - **Install:** `@openrig/cli` goes in globally with npm.
|
|
@@ -130,7 +133,9 @@ layer sets `sandbox_workspace_write.network_access` and no managed requirement
|
|
|
130
133
|
could restrict it; if Codex can't be asked or doesn't answer in time, the launch
|
|
131
134
|
is left unchanged. To keep it off, set `network_access = false` under
|
|
132
135
|
`[sandbox_workspace_write]` in your Codex configuration. If Codex does not answer
|
|
133
|
-
within a few seconds, the seat starts without it.
|
|
136
|
+
within a few seconds, the seat starts without it. The workspace-write sandbox limits the seat's direct file edits;
|
|
137
|
+
with network access on, it isn't isolation from the trusted OpenRig service or the agents the seat works with.
|
|
138
|
+
A command allowance does not
|
|
134
139
|
change general sandbox/network settings. The starter's `profile: default` selects OpenRig resources, not a native
|
|
135
140
|
permission profile.
|
|
136
141
|
Agent-guided setup [recommends keeping the team default](#have-your-agent-configure-permissions)
|
|
@@ -153,8 +158,7 @@ before-install view explain that access before you choose it.
|
|
|
153
158
|
|
|
154
159
|
WSL2 is the Windows route OpenRig supports. OpenRig's automated tests don't run on
|
|
155
160
|
it yet; this is one user's working setup.
|
|
156
|
-
|
|
157
|
-
[ran OpenRig 0.6.6 under WSL2](https://github.com/mvschwarz/openrig/issues/88#issuecomment-6043925546)
|
|
161
|
+
Wu Shuwen ran OpenRig 0.6.6 under WSL2
|
|
158
162
|
on Ubuntu 24.04, with Node.js 24.14.1, tmux 3.4, Codex CLI 0.161.0 and Pi
|
|
159
163
|
(`@earendil-works/pi-coding-agent`) 1.0.4, headless, as the distribution's root
|
|
160
164
|
user.
|
|
@@ -189,15 +193,15 @@ agent doing the setup. These use this release's tag:
|
|
|
189
193
|
|
|
190
194
|
```sh
|
|
191
195
|
# Claude Code
|
|
192
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
196
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.24/skills/rigs" --skill rigs --agent claude-code
|
|
193
197
|
|
|
194
198
|
# Codex
|
|
195
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
199
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.24/skills/rigs" --skill rigs --agent codex
|
|
196
200
|
# OMP (Oh My Pi): the pi target installs to .agents/skills, which OMP reads
|
|
197
|
-
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.
|
|
201
|
+
npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.24/skills/rigs" --skill rigs --agent pi
|
|
198
202
|
```
|
|
199
203
|
|
|
200
|
-
**OMP:** this pin installs the shared skill only. The `v0.7.
|
|
204
|
+
**OMP:** this pin installs the shared skill only. The `v0.7.24` skill includes OMP attachment guidance (`rig attach --self … --runtime omp`),
|
|
201
205
|
but complete setup from OMP has not been verified. OMP isn't a kernel provider; Claude Code or Codex must still be
|
|
202
206
|
signed in. To invoke the skill in OMP, type `/skill:rigs`; if OMP was already open when you installed it, type
|
|
203
207
|
`/reload-plugins` first.
|
|
@@ -218,11 +222,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
|
|
|
218
222
|
script will do and changes nothing:
|
|
219
223
|
|
|
220
224
|
```sh
|
|
221
|
-
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
225
|
+
curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.24/scripts/install.sh | sh -s -- --dry-run
|
|
222
226
|
```
|
|
223
227
|
|
|
224
228
|
The same command without `--dry-run`,
|
|
225
|
-
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.
|
|
229
|
+
`curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.24/scripts/install.sh | sh`, installs the
|
|
226
230
|
latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check if the installed checker is
|
|
227
231
|
present (otherwise it reports the check skipped), then runs `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
|
|
228
232
|
Codex and may install a missing one, as described below. A failed step prints
|
|
@@ -362,6 +366,9 @@ reboot. It does not detect a reboot as such. It uses the same restore as
|
|
|
362
366
|
until the seats are ready. A kernel stopped with `rig down kernel`, including
|
|
363
367
|
one whose seats were already detached, stays down on later starts; start it again
|
|
364
368
|
with `rig up kernel --existing`. A seat you stopped or unclaimed also stays down.
|
|
369
|
+
Other rigs aren't restored at daemon start; only their seats that declare
|
|
370
|
+
`keep_alive` and are gone come back, one seat at a time, once the daemon runs
|
|
371
|
+
([Keep a seat running](rig-spec.md#keep-a-seat-running-keep_alive)).
|
|
365
372
|
While the kernel's other seats are running, `rig up kernel --existing` refuses
|
|
366
373
|
(it restores only a kernel with no live session), so start one stopped seat with
|
|
367
374
|
`rig launch kernel <logical id>` (`--plan` first). It restores that seat from the
|
|
@@ -376,10 +383,12 @@ waiting for a decision, not as started.
|
|
|
376
383
|
with no continuity source: use it only when you want a fresh occupant, since the
|
|
377
384
|
seat's earlier conversation isn't carried.
|
|
378
385
|
When the tmux server is gone, an explicit `rig down` of any rig can start an
|
|
379
|
-
empty server and probe again. It records the stop
|
|
386
|
+
empty server and probe again. It records the stop request on each selected seat
|
|
387
|
+
before it stops anything, and confirms the stop and clears eligible bindings
|
|
380
388
|
only after confirming the sessions are absent. This can leave an empty tmux
|
|
381
389
|
server running; it never launches an agent or provider session. Unreadable or
|
|
382
|
-
permission results and changed occupants leave the stop
|
|
390
|
+
permission results and changed occupants leave the stop unconfirmed; the
|
|
391
|
+
request recorded on the session `rig down` selected stays.
|
|
383
392
|
|
|
384
393
|
While that automatic restore runs, `rig start` continues to your other rigs and
|
|
385
394
|
says the kernel is still restoring (`kernelRestore.state: "restoring"` with
|
|
@@ -404,6 +413,27 @@ leaves the rig down. `--last` never selects the kernel. Under `--no-kernel`
|
|
|
404
413
|
(`OPENRIG_NO_KERNEL=1`) the daemon skips the kernel's automatic restore too;
|
|
405
414
|
bring it back with `rig up kernel --existing`.
|
|
406
415
|
|
|
416
|
+
A rig the daemon has nothing to restore from is left out and named with the
|
|
417
|
+
daemon's reason and, when it sends them, the blockers that kept its saved state
|
|
418
|
+
from standing in. With `--json` these rigs are listed under `leftOut`, each with
|
|
419
|
+
its `code`, `message` and `blockers`; `neverLaunched` marks a rig none of whose
|
|
420
|
+
seats has ever run. A preview that failed outright stays under `previewErrors`.
|
|
421
|
+
Left-out rigs don't change the exit code.
|
|
422
|
+
|
|
423
|
+
Under the default restore policy (`resume_if_possible`), a seat with neither
|
|
424
|
+
saved startup context nor a resume token doesn't hold back the rest of its rig
|
|
425
|
+
when OpenRig can still tell which session is that seat's current one. The other
|
|
426
|
+
seats resume their own conversations, and that seat isn't started: it reads
|
|
427
|
+
`awaiting-decision`, and the run exits 1 as for any seat awaiting a decision.
|
|
428
|
+
Without saved startup context it can't be started fresh, so no fresh start is
|
|
429
|
+
offered; restore its original session by hand. For a Claude Code, Codex, Pi or
|
|
430
|
+
OMP seat whose session is the newest one under its name, the reason also names
|
|
431
|
+
the command that records that session's resume token: pipe the token to
|
|
432
|
+
`rig seat set-resume-token <session> --token-stdin --reason "<why>"`. A seat
|
|
433
|
+
whose current session has no resume token waits the same way even with saved
|
|
434
|
+
startup context. A seat set to start fresh still leaves the rig out, as does a rig
|
|
435
|
+
where every seat lacks both, or where which session is current is unclear.
|
|
436
|
+
|
|
407
437
|
Restore requests run one at a time by default. To keep up to two requests
|
|
408
438
|
outstanding, for example, use `rig start --last --concurrency 2`. A request that
|
|
409
439
|
times out can keep running in the daemon, so more than two restores can still be
|
|
@@ -868,6 +898,14 @@ login. A source account override or Claude token is cleared only at commit;
|
|
|
868
898
|
credentials are never converted between runtimes. Pi-to-Pi account changes keep
|
|
869
899
|
Pi settings, but cross-runtime switches resolve settings afresh for the target.
|
|
870
900
|
|
|
901
|
+
A runtime listed by `rig community-harness list` can be the target too: pass its
|
|
902
|
+
name, for example `--runtime cursor`. The switch needs that harness's preset
|
|
903
|
+
installed on the daemon, and refuses with `runtime_target_unavailable` when it
|
|
904
|
+
isn't. A community harness places no guidance, skills or startup files, so a
|
|
905
|
+
switch to one doesn't project the seat's skill loadout and says so in its notes.
|
|
906
|
+
Moving the other way works the same: a seat on a community harness can switch to
|
|
907
|
+
a built-in runtime while its own preset is still installed.
|
|
908
|
+
|
|
871
909
|
A configured `launch_wrapper` carries across runtime switches among Pi, Codex
|
|
872
910
|
and Claude Code. It must support each successor executable and preserve that
|
|
873
911
|
runtime's credential environment. A wrapped Pi seat cannot switch to Claude
|
|
@@ -929,6 +967,12 @@ after its own session ends. Check each result before calling the shutdown done.
|
|
|
929
967
|
|
|
930
968
|
`rig daemon stop` stops only the background service and preserves agent tmux
|
|
931
969
|
sessions. If you also want that service stopped, run it after stopping the rigs.
|
|
970
|
+
A daemon stop isn't a stop of the seats: it changes no seat's desired state, so a
|
|
971
|
+
seat that declares `keep_alive` and is gone when the daemon starts again is
|
|
972
|
+
relaunched. To keep a seat or rig down, stop it with `rig seat stop` or
|
|
973
|
+
`rig down`; each records the stop before it stops anything, so the seat stays
|
|
974
|
+
down even if the daemon dies midway
|
|
975
|
+
([Keep a seat running](rig-spec.md#keep-a-seat-running-keep_alive)).
|
|
932
976
|
If the operator is handling this full shutdown and kernel is included, it gives you this
|
|
933
977
|
last step before running `rig down kernel`: once kernel is down, run
|
|
934
978
|
`rig daemon stop` in your own shell and check the result. The operator's session
|
|
@@ -945,6 +989,7 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
|
|
|
945
989
|
| A restored seat still counts as needing attention after its prompt was answered | After a full restore of a Claude or Codex seat, the daemon clears this by itself once the seat reads running or idle and passes its check. If it still counts, check its `restoreOutcome` in `rig ps --nodes --json` (the RESTORE column): when it is `attention_required`, run `rig seat clear-attention <seat>`, which says which check failed; answering the prompt again or running `rig seat continue` doesn't change it. For a partial restore, submit any startup text left in the input box without sending it again, and wait for the agent to respond before clearing attention. See [After a restored seat's prompt](agent-startup-guide.md#after-a-restored-seats-prompt). |
|
|
946
990
|
| "Readiness timeout after 30s — harness did not become interactive" | The harness took longer than the readiness window. Raise it for the next launch with `rig config set runtime.readiness_timeout_seconds <1-600>`, then relaunch that seat. |
|
|
947
991
|
| "Claude resume did not finish within Ns; Claude may still be starting, so the launch was kept" | A restored Claude seat was not interactive when the wait ended. Its pane and resume token are kept. Look at the pane; once Claude is up, run `rig seat clear-attention <seat>`. The wait is about `runtime.readiness_timeout_seconds` in total for each seat (default 30 s), counting the first 3.2 s, and the time adds up seat by seat in a restore. Raising the setting for slow fresh launches lengthens it. For a long restore, choose a caller budget for the whole operation, for example `rig up <rig> --existing --timeout 900` (positive whole seconds; default 120). This also works with `--host` and `--plan`, and changes neither per-seat readiness nor retry behavior. If the caller's wait expires, that is not a rollback: check `rig ps` before running it again. `rig launch` still uses a 120 s caller wait. |
|
|
992
|
+
| The daemon exits with code 69 after one `OPENRIG_LISTEN_FAILED <errno> <host:port> <guidance>` line | Its listener couldn't bind that address, so the daemon didn't start; it writes no shutdown receipt and records no stop. For `EADDRINUSE`, inspect what holds the port before stopping it, or run `rig daemon start --port <unused-port>`. A supervisor should treat exit 69 as needing a look before another start, not as a crash to restart. |
|
|
948
993
|
| Daemon is healthy, kernel is still starting | Read `rig status` and `rig ps --nodes --rig kernel`; kernel readiness is separate. |
|
|
949
994
|
| `rig status`, `rig terminal open` or `rig daemon start --wait-for-kernel` says a seat "needs attention" or "is waiting on a person" | The daemon flags that seat, and the line gives its recorded reason: a startup that failed or stopped at a sign-in, trust or other gate, a held message, a missing required file, or a question. "Is waiting on a person" means the daemon sees a live question you can answer in that seat's terminal. Look at it with `rig capture <seat>` or in its tile, then follow the row above that matches its message. "Couldn't check" means the check itself failed; it says nothing either way. |
|
|
950
995
|
| A Codex seat, including the kernel's operator, answers every turn with a model error such as "… not supported when using Codex with a ChatGPT account" | Its Codex sign-in works, but that account can't run the model; the kernel picks its runtimes from the providers chosen at setup and their sign-ins, not from which models an account can run. If Claude Code is signed in, move just that seat: `rig seat set-runtime <seat> --runtime claude-code --reason "<model> isn't available to this Codex account"` (`--dry-run` first). Otherwise give it a model the account can run with `rig seat set-model <seat> --model <id> --reason "…"`, then start it again with `rig seat launch <seat> --fresh --stop --reason "…"` and check the model it reports. |
|
|
@@ -952,7 +997,7 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
|
|
|
952
997
|
| Shared terminal is absent | Check the kernel's `operator.human` terminal separately from its agents; recover only that seat as described below. Standalone `rig tui` remains available while resolving it. |
|
|
953
998
|
| Viewing terminal was closed | Open the conversations again with `rig terminal open saved:kernel --window`; `rig tui --shared` is only the dashboard fallback if that window cannot open. Do not relaunch the team. |
|
|
954
999
|
| Daemon restarted but tmux survived | Re-read `rig status` and the existing queue; a daemon restart is not a fresh project. |
|
|
955
|
-
| Host reboot lost tmux sessions | Starting the daemon restores the kernel by itself when that start finds all of its seats lost; a kernel that was already down before the reboot stays down, and `rig start` names `rig up kernel --existing`. Check `rig status`, and if it reports the restore failed, run `rig up kernel --existing`. For other rigs, open `rig`, start the daemon if needed (press **S** if it opens on the work views), and select the existing rig and seats. Resume is the default; a fresh conversation needs a separate decision. |
|
|
1000
|
+
| Host reboot lost tmux sessions | Starting the daemon restores the kernel by itself when that start finds all of its seats lost; a kernel that was already down before the reboot stays down, and `rig start` names `rig up kernel --existing`. Check `rig status`, and if it reports the restore failed, run `rig up kernel --existing`. For other rigs, open `rig`, start the daemon if needed (press **S** if it opens on the work views), and select the existing rig and seats. Resume is the default; a fresh conversation needs a separate decision. Seats that declare `keep_alive` and weren't stopped on purpose come back by themselves once the daemon runs; one whose attempts ran out reads `attention_required`. |
|
|
956
1001
|
| OpenRig's home moved (a new `HOME`, account or machine), and restoring an existing rig reports that no rig was found | A shell that exports `OPENRIG_HOME` (legacy `RIGGED_HOME`) or `OPENRIG_DB` still points `rig` and any daemon it starts at the old home, and a daemon started there makes an empty home at that path. Run `rig daemon stop` from that shell first. Then point `OPENRIG_HOME` at the new home folder and `OPENRIG_DB` at the database file in it, or unset them (an unset `OPENRIG_HOME` follows `HOME`), and start the daemon again. A seat whose saved folder isn't on this machine starts in another folder, which the restore names when it can read the seat's terminal; to choose the folder, run `rig up <rig> --existing --cwd <dir>`. |
|
|
957
1002
|
| Launch reports no usable snapshot | Inspect the existing rig and retained project files, then follow the same-seat recovery below. |
|
|
958
1003
|
| Work is waiting on a prompt or decision | Read the row, transition and named prompt; preserve the obligation until the missing decision arrives. |
|
|
@@ -1092,6 +1137,50 @@ there. If a fresh start paused before context delivery, **c** finishes that
|
|
|
1092
1137
|
delivery to the same occupant (from a shell, `rig seat continue <seat>` does the
|
|
1093
1138
|
same). **r** reads actual state again; **d** expands details.
|
|
1094
1139
|
|
|
1140
|
+
## Run the daemon under a supervisor
|
|
1141
|
+
|
|
1142
|
+
A supervisor such as launchd or systemd keeps the daemon running. These are the
|
|
1143
|
+
facts it needs.
|
|
1144
|
+
|
|
1145
|
+
- **Start it through the CLI** (`rig daemon start`), not by running the daemon
|
|
1146
|
+
entry directly: the start reservation, the port checks and the readiness check
|
|
1147
|
+
of the child run only in the CLI's start. `rig daemon start` returns once the
|
|
1148
|
+
daemon is ready and leaves it running detached, so watch the daemon's PID or
|
|
1149
|
+
`rig status --json`, not the exit of that command.
|
|
1150
|
+
- **Give the start time.** `rig daemon start` waits up to
|
|
1151
|
+
`daemon.start_readiness_wait_seconds` (default 180) for its child. Allow the
|
|
1152
|
+
supervisor's own timeout for that command at least that wait plus 19 seconds.
|
|
1153
|
+
When the wait runs out and the child is still alive, the start ends pending: the
|
|
1154
|
+
child keeps running and the reservation is kept. Don't start again; check the
|
|
1155
|
+
state first.
|
|
1156
|
+
- **Check liveness with `rig status --json`.** Its exit code doesn't say whether the
|
|
1157
|
+
daemon is up (it is 1 only when the rig summary can't be read), so read its
|
|
1158
|
+
`daemon` object. `state: "running"` is up, also with `healthy: false`, which means
|
|
1159
|
+
busy. `reachable: null` isn't proof that it is down. `stopped` and `stale` mean
|
|
1160
|
+
no daemon answers for `daemon.json`, but a start that is still pending can read
|
|
1161
|
+
`stale` too, since it doesn't write `daemon.json` until it's ready: a new
|
|
1162
|
+
`rig daemon start` then refuses with `Daemon startup is already reserved`, which
|
|
1163
|
+
is that start, not a failure to retry. Don't use a short `/healthz` timeout of
|
|
1164
|
+
your own as a death check: a busy daemon can take longer to answer.
|
|
1165
|
+
- **Restart after the process has exited.** After `rig daemon stop` or a SIGTERM,
|
|
1166
|
+
wait until the PID is gone and the port refuses connections, not for a fixed
|
|
1167
|
+
delay. The shutdown budget is 10 seconds, and `rig daemon stop` waits 12.
|
|
1168
|
+
- **Don't relaunch on a held port.** A start that finds the port in use stops with
|
|
1169
|
+
the `EADDRINUSE` guidance before it spawns a child. A daemon whose listener can't
|
|
1170
|
+
bind writes one `OPENRIG_LISTEN_FAILED <errno> <host:port> <guidance>` line and
|
|
1171
|
+
exits with status 69, and `rig daemon start` puts that line in its error. Either
|
|
1172
|
+
way `rig daemon start` exits non-zero with the port named: have the wrapper stop
|
|
1173
|
+
relaunching on that error and find what holds the port first, rather than retrying
|
|
1174
|
+
in a loop. `rig daemon start` exits 1 on every failure, so its exit code doesn't
|
|
1175
|
+
tell failures apart; only the daemon's own bind failure has a status of its own,
|
|
1176
|
+
69, and only a supervisor that runs the daemon process itself sees it (for
|
|
1177
|
+
example, `RestartPreventExitStatus=69` in a systemd unit).
|
|
1178
|
+
- **Don't let the supervisor clear `daemon-start.lock`.** A reservation from an
|
|
1179
|
+
earlier boot is archived by the next start, and so is one whose recorded launcher
|
|
1180
|
+
and child are both gone in the same pid namespace, unless `rig daemon stop`
|
|
1181
|
+
retained it. Any other reservation stays; a person reads the start error, which
|
|
1182
|
+
says what to inspect and when the reservation can be archived.
|
|
1183
|
+
|
|
1095
1184
|
## Kernel framing (what `rig setup` does and does not do)
|
|
1096
1185
|
|
|
1097
1186
|
Explicit CLI daemon startup retains its automatic kernel behavior. The TUI
|
|
@@ -1129,6 +1218,31 @@ with `rig workflow instantiate-lifecycle`. Compilation alone does not start work
|
|
|
1129
1218
|
[OpenRig Software Factory](../../packages/daemon/specs/agents/shared/skills/core/openrig-software-factory/SKILL.md)
|
|
1130
1219
|
shows a small reviewed example and how to retain custody through a genuine wait.
|
|
1131
1220
|
|
|
1221
|
+
### Check a workflow start after a lost response
|
|
1222
|
+
|
|
1223
|
+
If the connection drops after you request a workflow start, the daemon may have
|
|
1224
|
+
already created the instance and its entry packet. Repeating an ordinary
|
|
1225
|
+
`rig workflow instantiate` can create another run.
|
|
1226
|
+
|
|
1227
|
+
For ordinary starts, choose and save a unique tag for each intended run before
|
|
1228
|
+
calling `instantiate`. For example, add `--tags request:review-20261123-01` and
|
|
1229
|
+
look for that tag on the same daemon before deciding whether to retry.
|
|
1230
|
+
|
|
1231
|
+
```bash
|
|
1232
|
+
rig workflow list --name review-flow --tag request:review-20261123-01 --json
|
|
1233
|
+
rig queue list --all --all-rigs --tag instance:INSTANCE_ID --json
|
|
1234
|
+
```
|
|
1235
|
+
|
|
1236
|
+
Use the `instanceId` from the matching run in the second command to list its
|
|
1237
|
+
queue packets. The first packet is tagged `entry`, or `gate` if the run starts
|
|
1238
|
+
with a gate. Its queue and pickup state tell you what happened after creation.
|
|
1239
|
+
A tag helps you find the request's effects. It can match multiple runs if reused, and an
|
|
1240
|
+
empty result can still mean a request is in flight, so recheck before retrying.
|
|
1241
|
+
|
|
1242
|
+
For `rig workflow instantiate-lifecycle`, keep the original `--operation-key`.
|
|
1243
|
+
Run `rig workflow operation <key>` on the same daemon to look up the committed
|
|
1244
|
+
instance and entry packet. If you retry the original command, reuse that key.
|
|
1245
|
+
|
|
1132
1246
|
## Have your agent configure permissions
|
|
1133
1247
|
|
|
1134
1248
|
For a team with no permission policy, your agent recommends keeping the
|
|
@@ -1426,6 +1540,23 @@ Separate instances should use separate databases; the check is a startup observa
|
|
|
1426
1540
|
not a lock against later concurrent starts. Changing the setting applies on the next
|
|
1427
1541
|
daemon start.
|
|
1428
1542
|
|
|
1543
|
+
## Daemon start wait
|
|
1544
|
+
|
|
1545
|
+
`rig daemon start` waits up to 180 seconds for the child it started to answer on its
|
|
1546
|
+
listeners. `rig config set daemon.start_readiness_wait_seconds <seconds>` (an integer from
|
|
1547
|
+
1 up to 2147464, the longest a Node timer can hold for the TUI's call) or
|
|
1548
|
+
`OPENRIG_DAEMON_START_READINESS_WAIT_SECONDS` sets that wait for later starts:
|
|
1549
|
+
`rig daemon start`, `rig start`, the auto-start of `rig up` and `rig context add`, and the
|
|
1550
|
+
TUI's start, which allows its own call that wait plus the probe, cleanup and a margin
|
|
1551
|
+
(when it can't read the setting, it allows the longest accepted wait).
|
|
1552
|
+
A running daemon isn't affected.
|
|
1553
|
+
When the wait runs out and the child is still alive, the start ends pending as before:
|
|
1554
|
+
the child is left running and the start reservation is kept, so inspect before retrying.
|
|
1555
|
+
A wait shorter than the host needs only makes the start end pending sooner; it doesn't
|
|
1556
|
+
stop the child.
|
|
1557
|
+
Set the wait to what the host and its supervisor expect. A longer wait doesn't make a slow
|
|
1558
|
+
start faster.
|
|
1559
|
+
|
|
1429
1560
|
## Custom settings and precedence
|
|
1430
1561
|
|
|
1431
1562
|
- **OpenRig:** member `permission_policy` overrides rig `permission_policy`.
|
|
@@ -587,6 +587,78 @@ its pane. That covers:
|
|
|
587
587
|
- **A person's answer is recorded on the ask itself,** and a default permit as the stream item above. That item lasts as
|
|
588
588
|
long as stream retention keeps it. A permit the runner decides on its own is in its pane only.
|
|
589
589
|
|
|
590
|
+
### A seat's own Claude Code prompt (native asks)
|
|
591
|
+
|
|
592
|
+
A Claude Code seat that loads the `openrig-core` plugin answers its own permission prompt through the same route. The
|
|
593
|
+
plugin's `permission-answer.cjs` is a synchronous `PermissionRequest` hook, separate from the passive relay. It submits
|
|
594
|
+
the prompt as a native ask (`"nativeHook": "claude-code"`, with the tool and its exact input as `action`) and waits for an
|
|
595
|
+
answer for as long as the prompt is open, up to 24 hours.
|
|
596
|
+
|
|
597
|
+
Claude Code's own dialog stays open in the terminal the whole time (checked on Claude Code 2.1.330), and whichever answer
|
|
598
|
+
comes first counts. So waiting costs the person at the terminal nothing, and a person's answer to a prompt that's still
|
|
599
|
+
open is carried however long it took to reach them. The hook ends sooner whenever the prompt does (below), and when the
|
|
600
|
+
Claude Code that started it is gone. Claude Code 2.1.330 caps a hook's `timeout` only at 2^31-1 ms (about 24 days); the
|
|
601
|
+
plugin's is 24 hours and 30 seconds. A native ask differs from a runner's request only where a default would decide for
|
|
602
|
+
the person:
|
|
603
|
+
|
|
604
|
+
| Situation | What happens |
|
|
605
|
+
|---|---|
|
|
606
|
+
| **Someone can be asked** | In order: the person chosen for the seat (`rig seat set-permissions-to`); else the return route of the work the seat is running (the person's own conversation, as `rig queue create --return-route auto` issued it): the one route its open work carries or, when that work comes from several conversations, the route of its newest in-progress work, else of its newest open work, when that route is on this host; else the default person. The reply is `{"ok": true, "askId", "created", "askedOf", "answerBy"}`. |
|
|
607
|
+
| **No one can be asked**, or the seat chose `--deny` | `{"ok": true, "state": "not_asked", "reason"}`. Nothing is decided: no permit, no refusal, and the prompt carries on in the terminal. |
|
|
608
|
+
| **A person picks an offered option, or replies just yes or no** (Feed, Steering's Approve or Deny, the TUI, Slack) | Their own answer. It closes the ask as theirs, with no receiving agent in between and no second confirmation. |
|
|
609
|
+
| **A person answers in other words** | The receiving agent judges the exact action against them, as for a runner: allow when it meets them, deny with their words when it doesn't, recorded as its judgment, not their no. Words it can't read are asked back. |
|
|
610
|
+
| **The person's own conversation owns the ask** | Its agent shows them the exact action, then runs `rig seat decide-permission <askId> --option allow\|deny` (or calls the MCP tool `rig_seat_decide_permission`, which takes the same answer), never typing into the seat for it. A plain yes or no takes `--relay --person-said "<their words>"` and is recorded as relayed by that agent, with their words as it reports them: unconfirmed, since OpenRig didn't get that answer from the person. Words or a condition take `--reason` and `--person-said`, and are recorded as the agent's judgment. The decider is the conversation's address: `OPENRIG_SESSION_NAME=<address>` in a shell, and, through the MCP tool with no seat, the address OpenRig issued under that conversation's own key. |
|
|
611
|
+
| **Closed without an answer** | `unanswered`: never a permit. A queue close is never an approval. |
|
|
612
|
+
| **The prompt is answered in the terminal** | A No or Esc ends the hook, which withdraws the ask (`answered_in_terminal`). A Yes lets the tool run; when its exact call completes (the relay's `PostToolBatch` fingerprints), the ask is withdrawn the same way. A later answer through OpenRig reads as too late. |
|
|
613
|
+
| **The window ends, or the seat restarts** | After 24 hours the hook withdraws the ask (`answer_window_ended`), and the prompt waits in the terminal. A Claude Code that's gone without ending the hook (killed, say) makes it withdraw the ask as `answered_in_terminal`. An earlier occupant's ask reads `stale`. An answer after either is too late, and nothing is sent. |
|
|
614
|
+
| **The hook was killed outright** (an OOM kill, say) while Claude Code lives on | Nothing withdraws the ask, so it stays open until its window ends, and nothing takes an answer to the prompt. An answer is still recorded, and nothing is refused, but the reply says plainly that it hasn't reached the prompt (`native.notReached`), because the hook hasn't read the ask for a minute. The prompt may still be open in the terminal: check the seat. |
|
|
615
|
+
|
|
616
|
+
- **The first answer wins.** A second `rig seat decide-permission` on an answered ask returns it as it is, with
|
|
617
|
+
`native.unchanged: true`, and writes nothing.
|
|
618
|
+
- **What reaches Claude Code:** `allow` for Allow once, or `deny` with a one-line `message`. The message says whose answer
|
|
619
|
+
it is (a relay reads unconfirmed) and whose words it carries. A remembered choice ("don't ask again") is only in the terminal. The hook never
|
|
620
|
+
sends `updatedPermissions`, `updatedInput`, `interrupt` or a mode change, and it has no `onFailure`.
|
|
621
|
+
- **The exact action** is shown on the ask before anything is stored. A command appears as its text, any other tool's
|
|
622
|
+
input as JSON. Text matching the transcript route's credential patterns is shown as `[REDACTED]`, and the display is cut
|
|
623
|
+
at 4000 characters, with the ask saying so when either happens. The request Claude Code runs is unchanged.
|
|
624
|
+
- **The record keeps four things apart:**
|
|
625
|
+
- the answer (the decision on the ask);
|
|
626
|
+
- the hook taking it (`runner-permission-taken-by-hook`, recorded before the hook returns it);
|
|
627
|
+
- Claude Code applying it, which OpenRig doesn't see;
|
|
628
|
+
- the tool call completing (`runner-permission-tool-completed`).
|
|
629
|
+
|
|
630
|
+
A completion is matched by content: the conversation, the actor, the tool and the exact input. Claude Code's permission
|
|
631
|
+
request has no tool-call id, so an identical call in the same conversation can't be told apart.
|
|
632
|
+
- **A read** of a native ask adds `native`, which can hold:
|
|
633
|
+
- `hook`;
|
|
634
|
+
- `answeredAs` and `by`, who decided. `person` is the person's own answer as OpenRig received it from them (Feed,
|
|
635
|
+
Steering, the TUI, Slack). `relayed` is an agent's `--relay`: its report that this is the person's answer, which
|
|
636
|
+
OpenRig didn't get from them, so it stays unconfirmed. `agent` is an agent's judgment on their words. Neither `--relay`
|
|
637
|
+
nor the caller's session (attribution, not proof of a person) ever makes an answer read `person`, and a relay of an
|
|
638
|
+
answer already recorded changes nothing. An ask closed as denied any other way has no `answeredAs`, only who closed it;
|
|
639
|
+
- `said`, the person's words as OpenRig received them, and `reported`, the words the deciding agent says they gave
|
|
640
|
+
(`--person-said`), kept apart when they differ;
|
|
641
|
+
- `message`, what a deny tells Claude;
|
|
642
|
+
- `why`, why it ended;
|
|
643
|
+
- `taken` and `toolCompleted`;
|
|
644
|
+
- on an answer the hook hasn't taken, `hookLastRead`, when the hook last read the ask (it reads again at least every
|
|
645
|
+
25 seconds while it waits), and, once it hasn't for a minute, `notReached`: the plain words saying the answer hasn't
|
|
646
|
+
reached the prompt. `rig seat decide-permission` prints them, the MCP tool returns them, and a person's own answer
|
|
647
|
+
in Steering or the TUI gets them in its receipt. The daemon notes the reads in memory, so a restarted daemon knows
|
|
648
|
+
only those since it started.
|
|
649
|
+
- **While a native ask is taking an answer** (up to 24 hours), the wake ladder holds that seat's permission-prompt alert
|
|
650
|
+
and its relay task to the routed conversation. The ask is already that conversation's question about the prompt. The
|
|
651
|
+
alert's relay would put the same question there a second time, with text telling it to type keys into the seat, and
|
|
652
|
+
keys typed there answer the prompt in the terminal and end the ask. Once the ask ends (its prompt ended in the
|
|
653
|
+
terminal, the seat restarted, an agent decided on the person's words, or 24 hours passed), they go on as before. An
|
|
654
|
+
ask handed on to someone who hasn't decided yet, on this host or another, still holds them. A hook killed outright
|
|
655
|
+
leaves its ask open, so the hold lasts until the window ends; an answer meanwhile says it hasn't reached the prompt.
|
|
656
|
+
- **A conversation that isn't listening:** an ask to the person's own conversation reaches it through the `openrig`
|
|
657
|
+
plugin's waiter, which listens for about two hours after each of its turns (its hooks' 7200-second timeout). A prompt
|
|
658
|
+
after that waits for the person's next turn there, with the seat's prompt alert held, until they come back or the ask's
|
|
659
|
+
24 hours end. The prompt stays open in the seat's terminal throughout.
|
|
660
|
+
- **Runner and ACP requests are unchanged:** their defaults, reads and decisions are exactly as above.
|
|
661
|
+
|
|
590
662
|
## 8. Resume: exactly the same conversation, or say honestly that you couldn't
|
|
591
663
|
|
|
592
664
|
- On a resume, OpenRig passes the conversation to reopen in `OPENRIG_RESUME_REF`. Use the method your agent
|
|
@@ -209,6 +209,139 @@ is the documented entry.
|
|
|
209
209
|
This entry exposes the current endpoint options. It does not add a resolver-module loader or promise
|
|
210
210
|
additional adapter callbacks that those options do not implement.
|
|
211
211
|
|
|
212
|
+
### Add an introduction and static references
|
|
213
|
+
|
|
214
|
+
Pass `instructions` to `startMcpHttpServer` to add endpoint-owned guidance. Its exported type is
|
|
215
|
+
`McpInstructionExtension`:
|
|
216
|
+
|
|
217
|
+
```js
|
|
218
|
+
const instructions = {
|
|
219
|
+
introduction: "The team guide is available at team://reference/guide.",
|
|
220
|
+
resources: [{
|
|
221
|
+
uri: "team://reference/guide",
|
|
222
|
+
name: "team-guide",
|
|
223
|
+
mimeType: "text/markdown",
|
|
224
|
+
text: "# Team guide\nUse this team's documented workflow.",
|
|
225
|
+
}],
|
|
226
|
+
};
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
Core keeps its existing caller-scoped instructions and appends the introduction. Static resources
|
|
230
|
+
use the SDK's `resources/list` and `resources/read` protocol. The built-in
|
|
231
|
+
`openrig://reference/coordination` resource always serves Core's generic guidance for the current
|
|
232
|
+
caller, including read-only and offered-tool filtering. It is available without an extension and
|
|
233
|
+
with local token-file grants as well as a resolver or grant service. Its URI is reserved for Core.
|
|
234
|
+
|
|
235
|
+
Configured introduction and resource text belong to the endpoint and are delivered to callers admitted by that
|
|
236
|
+
endpoint; use separate endpoint configurations when the content differs. They do not grant Core tools
|
|
237
|
+
or object access. Resources contain the supplied text, not a file path or a loader callback. Duplicate
|
|
238
|
+
resource URIs follow the SDK's existing registration error behavior. Without an introduction, the
|
|
239
|
+
existing initialization instructions remain unchanged.
|
|
240
|
+
|
|
241
|
+
### Handle provider removal separately from work grants
|
|
242
|
+
|
|
243
|
+
An embedding can supply `onBindingLeave(request, signal)` to `startMcpHttpServer`. It handles
|
|
244
|
+
`POST /mcp/bindings/leave` independently of ordinary MCP grant resolution. `request` includes the opaque
|
|
245
|
+
removal `token`, `bindingId`, `hubSeat`, `provider` references and `removalRevision`. The provider owns
|
|
246
|
+
checking that removal-only capability and performing idempotent cleanup. It must not accept a work
|
|
247
|
+
credential as a removal capability or grant work access to a removal credential.
|
|
248
|
+
|
|
249
|
+
Return `{ removalRevision, removedAt }`, `{ removalRevision, alreadyRemoved: true }`, or
|
|
250
|
+
`{ removalRevision, superseded: true }`. To refuse, return `{ refused: true, code }` with a fixed diagnostic
|
|
251
|
+
code, not names or credentials. Core echoes the original references in a successful receipt; a mismatched
|
|
252
|
+
revision or ambiguous result is unavailable. The existing `resolverTimeoutMs` budget (default 5,000 ms)
|
|
253
|
+
bounds body reading and this hook, and the signal is canceled on disconnect or timeout. No provider hook
|
|
254
|
+
means the endpoint remains absent. Your connector retries pending removals after lost replies;
|
|
255
|
+
a superseded receipt never means the newer credential was removed.
|
|
256
|
+
|
|
257
|
+
### Supply a caller resolver
|
|
258
|
+
|
|
259
|
+
An embedding can pass `resolver` and `resolverTimeoutMs` to `startMcpHttpServer`. The supported
|
|
260
|
+
`@openrig/cli/mcp.js` entry exports the `CallerResolver` and `CallerResolution` types. There is no module loader:
|
|
261
|
+
your application supplies the function and owns its credential authority.
|
|
262
|
+
|
|
263
|
+
The resolver receives `{ bearer, instance, methods, signal }` on each request. `instance` is this daemon's
|
|
264
|
+
reported instance id, not a client parameter. `methods` lists the JSON-RPC methods in message order; it is empty
|
|
265
|
+
for non-POST requests or an unreadable body. It is operation metadata, not permission to run those methods.
|
|
266
|
+
The POST body is read within the shared bounded budget before the resolver decides; authentication refusals
|
|
267
|
+
take precedence over parse errors, not over reading the body.
|
|
268
|
+
A successful result has this shape:
|
|
269
|
+
|
|
270
|
+
```ts
|
|
271
|
+
{
|
|
272
|
+
ok: true,
|
|
273
|
+
principal: { source: "example-authority", id: "guest-42" },
|
|
274
|
+
seat: "guest@team",
|
|
275
|
+
access: {
|
|
276
|
+
principal: "guest-42", owner: false, workspace: false, rigs: [], roots: [],
|
|
277
|
+
external: {
|
|
278
|
+
objects: { queue: ["create", "show", "list"], team: ["list"] },
|
|
279
|
+
peerSeats: ["lead@team", "helper@team"]
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
The exact seat must already exist in this daemon, including a materialized seat that has not launched.
|
|
286
|
+
Core does not create or start it during resolution. The principal's opaque `source` and `id`, with optional
|
|
287
|
+
`grant`, `version` and `label`, are attribution, never credentials. `access.principal` is normalized to that id.
|
|
288
|
+
`external.objects` uses the existing object/action capability evaluator. With `external.peerSeats`, only those
|
|
289
|
+
exact peers are in scope for destinations, rows and team members; rig selection follows the named seat addresses.
|
|
290
|
+
The `rigs` list is ignored when `peerSeats` is supplied.
|
|
291
|
+
Without `peerSeats`, the existing rig-scoped rule remains. Without peers or rigs, only the caller's own rows are
|
|
292
|
+
in scope. An external work profile has `owner: false` and `workspace: false`.
|
|
293
|
+
A non-external result can instead be an owner or workspace caller, carrying the embedding's full authority;
|
|
294
|
+
the embedding owns that choice.
|
|
295
|
+
|
|
296
|
+
A result may also reduce the profile with `readOnly: true`, or set `newWorkRetryAfterMs`. Read-only connections
|
|
297
|
+
are offered only read operations and cannot invoke hidden writes. Backoff holds only new creates, returns a
|
|
298
|
+
retryable result with the same request id, and leaves reads, claims, updates and already-landed same-id retries
|
|
299
|
+
available. The existing backoff range is 1–600 seconds for a positive delay; zero means no backoff.
|
|
300
|
+
A delay that isn't a whole number of seconds rounds up to the next whole second. The token-file field
|
|
301
|
+
`newWorkRetryAfterSeconds` feeds the same evaluator: for example, `1001` milliseconds or `1.001` seconds
|
|
302
|
+
returns a two-second delay. The resolver may set its delay on the result or on `access`; the result field
|
|
303
|
+
takes precedence when both are supplied. These fields need no service payload or service-shaped caller id.
|
|
304
|
+
|
|
305
|
+
If an earlier create with the supplied `qitemId` cannot be read, the retryable result says
|
|
306
|
+
`earlierAttempt: "unknown"` and creates nothing in this call. Read that id before retrying; an unavailable
|
|
307
|
+
read is not evidence that the earlier attempt was absent. A confirmed existing id remains a retry and
|
|
308
|
+
goes through the usual reuse check, so changed content is not silently accepted.
|
|
309
|
+
|
|
310
|
+
A refusal is `{ ok: false, refusal }`. `unknown`, `revoked`, `expired` and `wrong_instance` return HTTP 401 with a
|
|
311
|
+
Bearer challenge; `malformed` and `unavailable` return 503. A thrown error, unusable result, missing instance or
|
|
312
|
+
unavailable seat is also unavailable. A negative or non-finite resolver delay makes the whole request unavailable
|
|
313
|
+
(503), including reads and settlement; an invalid token-file delay instead holds new work for 600 seconds with a
|
|
314
|
+
warning. Resolver exceptions are not echoed or logged. No result falls back to the token file or the process's seat.
|
|
315
|
+
A resolver and a grant service cannot both be selected.
|
|
316
|
+
|
|
317
|
+
The default 5000 ms budget covers reading the body, looking up the instance, calling the resolver and checking
|
|
318
|
+
the seat. The signal aborts on that deadline or a disconnected client. Core bounds its wait even when the returned
|
|
319
|
+
promise ignores the signal, and ignores late completion. Authentication refusals take precedence over JSON
|
|
320
|
+
parse errors; an authenticated malformed body still gets 400, and a body over 4 MiB gets 413. OAuth resource
|
|
321
|
+
metadata and the configured task destination can also be used with a resolver.
|
|
322
|
+
|
|
323
|
+
### Use the same profile in a local token file
|
|
324
|
+
|
|
325
|
+
Use `--allow` with `rig mcp token add` to limit a grant to specific object actions. Repeat the option to add more actions.
|
|
326
|
+
|
|
327
|
+
```sh
|
|
328
|
+
rig mcp token add voice --seat voice@team --rig team --allow queue:create,show,list --allow team:list
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
The server offers only the tools that those actions authorize, including in `--front-door` mode. The same scope limits tool calls. This scoped profile takes precedence over `--owner` and `--workspace`. Run `rig mcp token list --json` to inspect the stored action map.
|
|
332
|
+
|
|
333
|
+
A token-file entry can optionally carry `objects`, `peerSeats`, `readOnly` and `newWorkRetryAfterSeconds`.
|
|
334
|
+
`objects` selects the scoped work profile above; `peerSeats` requires `objects`. An entry without these fields
|
|
335
|
+
keeps its existing rig, workspace and owner behavior. The read-only reduction and new-work delay also work on
|
|
336
|
+
ordinary local grants. Rotation preserves the optional fields. A malformed field gets a warning naming the
|
|
337
|
+
field and its repair, and a conservative reading: `readOnly` becomes true, invalid peers become an empty list,
|
|
338
|
+
and invalid object actions are disabled while valid object limits remain. A peer list without `objects` allows
|
|
339
|
+
no object actions. These cases never restore owner, workspace or unrestricted legacy access.
|
|
340
|
+
|
|
341
|
+
An unusable `newWorkRetryAfterSeconds` uses the bounded 600-second new-work delay with a warning. Reads,
|
|
342
|
+
existing-work settlement and landed same-ID retries remain usable; the authenticated token does not become
|
|
343
|
+
unavailable. Other grants are unaffected. No service or service-shaped principal id is needed.
|
|
344
|
+
|
|
212
345
|
## Assistants connected through a grant service
|
|
213
346
|
|
|
214
347
|
With `rig mcp serve --http --grant-service <url>`, an outside service answers each connection's key with its grant
|
|
@@ -73,3 +73,25 @@ The new format contains no payloads, auth or raw identity headers, URL parameter
|
|
|
73
73
|
SQL text, bind values, native identifiers or raw exception messages. Legacy
|
|
74
74
|
slow-operation records keep their existing format: their `outcome: ok` indicates
|
|
75
75
|
completion of the observed operation and is not an HTTP-success assertion.
|
|
76
|
+
|
|
77
|
+
## Trace of state-changing requests (opt-in)
|
|
78
|
+
|
|
79
|
+
Start the daemon with `OPENRIG_MUTATION_TRACE=1` in its environment to record a line
|
|
80
|
+
for `POST`, `PUT`, `PATCH` and `DELETE` requests on its main port. The line is offered
|
|
81
|
+
once the request's handling has finished and its response is prepared: a request still
|
|
82
|
+
being handled has no line yet, and a daemon stopped before then writes none. The
|
|
83
|
+
variable is read once at startup; any other value, or none, leaves the trace off. There
|
|
84
|
+
is no `rig config` key for it. The optional guest activity port isn't traced.
|
|
85
|
+
|
|
86
|
+
Records use `schema: openrig.mutation-trace/v1` in the same `logs/slow-operations.jsonl`
|
|
87
|
+
under the OpenRig home. Each carries `at`, `method`, `path` (without the query string),
|
|
88
|
+
the response `status`, `sender` and the writer `coverage` counters described above.
|
|
89
|
+
Unlike the request-phase format, `sender` records a header value: the
|
|
90
|
+
`X-OpenRig-Session` the caller sent, or null.
|
|
91
|
+
|
|
92
|
+
`status` is the status the daemon prepared for the response, not proof the client
|
|
93
|
+
received it. A record is a request and that status, not a committed change, and
|
|
94
|
+
`sender` is what the request carried, not a verified identity. The trace uses the same writer and
|
|
95
|
+
limits as the diagnostics above: nothing is written on the request path, a record that
|
|
96
|
+
doesn't fit is dropped and counted while the request goes on, and a failure to record
|
|
97
|
+
never changes the response.
|