@openrig/cli 0.7.21 → 0.7.23
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/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 +1 -1
- package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/plugin.json +1 -1
- 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/hooks/claude.json +22 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +23 -0
- package/daemon/assets/plugins/openrig-core/hooks/scripts/compaction-restore-bridge.cjs +82 -9
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +138 -20
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +110 -35
- 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 +7 -5
- package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +32 -6
- package/daemon/assets/skills/rigs/SKILL.md +27 -6
- package/daemon/context-packs/help/help.md +12 -0
- 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 +27 -7
- package/daemon/context-packs/reference/acp-agents.md +2 -1
- package/daemon/context-packs/reference/getting-started.md +129 -13
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +210 -7
- package/daemon/context-packs/reference/tmux-servers.md +46 -2
- package/daemon/context-packs/reference/whats-new.md +167 -5
- 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 +138 -20
- package/daemon/context-packs/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +110 -35
- 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/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 +7 -5
- 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 +32 -6
- 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 +14 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +98 -23
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +3 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +35 -11
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/claude-settings-transport.d.ts +10 -0
- package/daemon/dist/adapters/claude-settings-transport.d.ts.map +1 -0
- package/daemon/dist/adapters/claude-settings-transport.js +95 -0
- package/daemon/dist/adapters/claude-settings-transport.js.map +1 -0
- package/daemon/dist/adapters/codex-activity-relay.d.ts +6 -0
- package/daemon/dist/adapters/codex-activity-relay.d.ts.map +1 -0
- package/daemon/dist/adapters/codex-activity-relay.js +29 -0
- package/daemon/dist/adapters/codex-activity-relay.js.map +1 -0
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +2 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +30 -17
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +19 -4
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-recovery-rpc.d.ts +17 -0
- package/daemon/dist/adapters/pi-recovery-rpc.d.ts.map +1 -0
- package/daemon/dist/adapters/pi-recovery-rpc.js +94 -0
- package/daemon/dist/adapters/pi-recovery-rpc.js.map +1 -0
- package/daemon/dist/adapters/pi-runner-protocol.d.ts +6 -0
- package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts +77 -0
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +644 -43
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts +6 -0
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.js +11 -0
- package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-runtime-recovery.d.ts +10 -0
- package/daemon/dist/adapters/pi-runtime-recovery.d.ts.map +1 -0
- package/daemon/dist/adapters/pi-runtime-recovery.js +82 -0
- package/daemon/dist/adapters/pi-runtime-recovery.js.map +1 -0
- package/daemon/dist/adapters/replace-file.d.ts +5 -2
- package/daemon/dist/adapters/replace-file.d.ts.map +1 -1
- package/daemon/dist/adapters/replace-file.js +6 -3
- package/daemon/dist/adapters/replace-file.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-exec.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-exec.js +4 -2
- package/daemon/dist/adapters/tmux-exec.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +78 -13
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +361 -82
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- 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 +18 -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 +24 -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_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/domain/activity-taxonomy.d.ts +14 -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 +61 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +261 -48
- 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 +6 -0
- package/daemon/dist/domain/agent-manifest.js.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +14 -3
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +58 -2
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +142 -9
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.d.ts +3 -2
- package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.js +12 -11
- package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
- package/daemon/dist/domain/codex-thread-id.d.ts +20 -2
- package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
- package/daemon/dist/domain/codex-thread-id.js +69 -4
- package/daemon/dist/domain/codex-thread-id.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts +14 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +174 -19
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.js +20 -3
- package/daemon/dist/domain/context-packs/seat-recap-store.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 +12 -0
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +4 -0
- 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/expected-conversation.js +2 -2
- package/daemon/dist/domain/expected-conversation.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +3 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +56 -11
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts +1 -4
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +17 -5
- package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/notice-content-dedup.d.ts +23 -0
- package/daemon/dist/domain/gateway/slack/notice-content-dedup.d.ts.map +1 -0
- package/daemon/dist/domain/gateway/slack/notice-content-dedup.js +87 -0
- package/daemon/dist/domain/gateway/slack/notice-content-dedup.js.map +1 -0
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts +7 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -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 +17 -3
- package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +0 -17
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +10 -40
- package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +3 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +21 -7
- 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-passive-ceremony.d.ts.map +1 -1
- package/daemon/dist/domain/health-passive-ceremony.js +3 -2
- package/daemon/dist/domain/health-passive-ceremony.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 +3 -2
- package/daemon/dist/domain/hosts/read-through.js.map +1 -1
- package/daemon/dist/domain/hosts/remote-daemon-http.d.ts +2 -0
- package/daemon/dist/domain/hosts/remote-daemon-http.d.ts.map +1 -1
- package/daemon/dist/domain/hosts/remote-daemon-http.js +1 -1
- package/daemon/dist/domain/hosts/remote-daemon-http.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/install-planner.d.ts +8 -0
- package/daemon/dist/domain/install-planner.d.ts.map +1 -1
- package/daemon/dist/domain/install-planner.js +26 -6
- package/daemon/dist/domain/install-planner.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/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 +39 -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 +29 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/model-divergence/current-generation-record.d.ts +4 -1
- package/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/current-generation-record.js +18 -2
- package/daemon/dist/domain/model-divergence/current-generation-record.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 +13 -3
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +54 -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 +59 -0
- package/daemon/dist/domain/network/network-requests.d.ts.map +1 -0
- package/daemon/dist/domain/network/network-requests.js +476 -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 +93 -9
- package/daemon/dist/domain/node-inventory.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/package-install-service.d.ts +1 -0
- package/daemon/dist/domain/package-install-service.d.ts.map +1 -1
- package/daemon/dist/domain/package-install-service.js +1 -0
- package/daemon/dist/domain/package-install-service.js.map +1 -1
- package/daemon/dist/domain/parked-owner-escalation.d.ts +16 -0
- package/daemon/dist/domain/parked-owner-escalation.d.ts.map +1 -0
- package/daemon/dist/domain/parked-owner-escalation.js +53 -0
- package/daemon/dist/domain/parked-owner-escalation.js.map +1 -0
- 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 +20 -7
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/permission-stop-observation.d.ts +8 -1
- package/daemon/dist/domain/permission-stop-observation.d.ts.map +1 -1
- package/daemon/dist/domain/permission-stop-observation.js +19 -2
- package/daemon/dist/domain/permission-stop-observation.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +13 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +24 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts +15 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.js +31 -8
- package/daemon/dist/domain/policies/seat-pool.js.map +1 -1
- package/daemon/dist/domain/process-census.d.ts +5 -1
- package/daemon/dist/domain/process-census.d.ts.map +1 -1
- package/daemon/dist/domain/process-census.js +20 -11
- package/daemon/dist/domain/process-census.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/proof/judgments.d.ts +10 -0
- package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
- package/daemon/dist/domain/proof/judgments.js +31 -11
- 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/provider/codex-limit-banner.d.ts +17 -1
- package/daemon/dist/domain/provider/codex-limit-banner.d.ts.map +1 -1
- package/daemon/dist/domain/provider/codex-limit-banner.js +38 -5
- package/daemon/dist/domain/provider/codex-limit-banner.js.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +17 -1
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +41 -6
- package/daemon/dist/domain/ps-projection.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-read-wait.d.ts +12 -0
- package/daemon/dist/domain/queue-read-wait.d.ts.map +1 -0
- package/daemon/dist/domain/queue-read-wait.js +43 -0
- package/daemon/dist/domain/queue-read-wait.js.map +1 -0
- 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 +143 -8
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +689 -59
- 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 +10 -4
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +169 -21
- 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 +156 -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.js +3 -3
- package/daemon/dist/domain/queue-wake-ladder.d.ts +20 -3
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +299 -41
- 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/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 +3 -2
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +70 -14
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +429 -107
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/return-route.d.ts +9 -2
- package/daemon/dist/domain/return-route.d.ts.map +1 -1
- package/daemon/dist/domain/return-route.js +22 -1
- package/daemon/dist/domain/return-route.js.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
- package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +38 -3
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +95 -3
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +22 -7
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +108 -24
- 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 +32 -3
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +135 -29
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +4 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +9 -1
- 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/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/runtime-adapter.d.ts +2 -0
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-recovery.d.ts +41 -0
- package/daemon/dist/domain/runtime-recovery.d.ts.map +1 -0
- package/daemon/dist/domain/runtime-recovery.js +2 -0
- package/daemon/dist/domain/runtime-recovery.js.map +1 -0
- package/daemon/dist/domain/seat-activity-service.d.ts +37 -1
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +160 -7
- 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 +149 -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-identity-reconciler.d.ts +43 -0
- package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-reconciler.js +109 -23
- 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 +2 -0
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +9 -1
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +17 -0
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +180 -23
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-pool-executor.d.ts +116 -0
- package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -0
- package/daemon/dist/domain/seat-pool-executor.js +565 -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 +42 -0
- package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.js +51 -0
- package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts +10 -0
- package/daemon/dist/domain/seat-pool-spec.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.js +22 -2
- package/daemon/dist/domain/seat-pool-spec.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +17 -0
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +57 -4
- 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/session-registry.d.ts +25 -3
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +47 -6
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +28 -1
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +80 -33
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.d.ts +59 -0
- package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.js +288 -63
- package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
- package/daemon/dist/domain/slow-op-recorder.d.ts +3 -1
- package/daemon/dist/domain/slow-op-recorder.d.ts.map +1 -1
- package/daemon/dist/domain/slow-op-recorder.js +7 -1
- package/daemon/dist/domain/slow-op-recorder.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +75 -23
- 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 +2 -0
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +31 -3
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/stream-intake.d.ts +10 -1
- package/daemon/dist/domain/stream-intake.d.ts.map +1 -1
- package/daemon/dist/domain/stream-intake.js +27 -0
- package/daemon/dist/domain/stream-intake.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +7 -0
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +5 -3
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.d.ts +13 -0
- package/daemon/dist/domain/terminal/herdr-follow-view.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-follow-view.js +126 -3
- package/daemon/dist/domain/terminal/herdr-follow-view.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-viewer.d.ts +10 -0
- package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-viewer.js +38 -12
- package/daemon/dist/domain/terminal/herdr-viewer.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 +22 -0
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +71 -0
- 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/terminal-server-reachability.d.ts +14 -7
- package/daemon/dist/domain/terminal-server-reachability.d.ts.map +1 -1
- package/daemon/dist/domain/terminal-server-reachability.js +29 -11
- package/daemon/dist/domain/terminal-server-reachability.js.map +1 -1
- package/daemon/dist/domain/terminal-server-seats.d.ts +1 -1
- package/daemon/dist/domain/terminal-server-seats.d.ts.map +1 -1
- package/daemon/dist/domain/terminal-server-seats.js +4 -1
- package/daemon/dist/domain/terminal-server-seats.js.map +1 -1
- package/daemon/dist/domain/topology/remote-up-leaf.d.ts.map +1 -1
- package/daemon/dist/domain/topology/remote-up-leaf.js +41 -2
- package/daemon/dist/domain/topology/remote-up-leaf.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-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 -14
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js +3 -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 +6 -2
- 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 +26 -0
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts +11 -3
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js +23 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts +35 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +99 -23
- package/daemon/dist/domain/watchdog-policy-engine.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-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 +4 -0
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +45 -14
- 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-catalog.d.ts +7 -0
- package/daemon/dist/domain/workspace/project-catalog.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-catalog.js +20 -3
- package/daemon/dist/domain/workspace/project-catalog.js.map +1 -1
- package/daemon/dist/domain/workspace/project-read.d.ts +12 -0
- package/daemon/dist/domain/workspace/project-read.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-read.js +37 -5
- package/daemon/dist/domain/workspace/project-read.js.map +1 -1
- package/daemon/dist/index.d.ts +2 -2
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +40 -4
- 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 +9 -1
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +79 -3
- 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 +7 -2
- 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/missions.js +4 -4
- package/daemon/dist/routes/missions.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/packages.js +2 -0
- package/daemon/dist/routes/packages.js.map +1 -1
- package/daemon/dist/routes/ps.js +13 -2
- package/daemon/dist/routes/ps.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts +22 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +250 -69
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/daemon/dist/routes/require-sender-identity.js +6 -3
- 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 +12 -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 +16 -2
- 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 +9 -0
- 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/watchdog.d.ts +1 -1
- package/daemon/dist/routes/watchdog.d.ts.map +1 -1
- package/daemon/dist/routes/watchdog.js +7 -2
- package/daemon/dist/routes/watchdog.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +9 -3
- 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 +8 -0
- 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 +226 -17
- 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/tmux-server-start.d.ts +18 -0
- package/daemon/dist/tmux-server-start.d.ts.map +1 -1
- package/daemon/dist/tmux-server-start.js +29 -0
- package/daemon/dist/tmux-server-start.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/docs/reference/acp-agents.md +2 -1
- package/daemon/docs/reference/agent-spec.md +3 -1
- package/daemon/docs/reference/agent-startup-guide.md +3 -1
- package/daemon/docs/reference/agent-state-taxonomy.md +39 -1
- package/daemon/docs/reference/author-contracts.md +4 -0
- 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/agy/agy-plain.yaml +28 -0
- package/daemon/docs/reference/community-harness-examples/agy/agy.yaml +27 -0
- package/daemon/docs/reference/community-harness-examples/agy/openrig-agy-launch +81 -0
- package/daemon/docs/reference/community-harness-examples/agy/openrig-agy-runner.mjs +667 -0
- package/daemon/docs/reference/community-harness-presets.md +78 -0
- package/daemon/docs/reference/daemon-http-clients.md +133 -20
- package/daemon/docs/reference/gateway-participants.md +6 -0
- package/daemon/docs/reference/getting-started.md +129 -13
- package/daemon/docs/reference/harness-runner-contract.md +7 -5
- package/daemon/docs/reference/help.md +12 -0
- package/daemon/docs/reference/hosted-members.md +163 -2
- package/daemon/docs/reference/inventory-request-diagnostics.md +22 -0
- package/daemon/docs/reference/network-connector.md +112 -4
- package/daemon/docs/reference/project-workspace.md +19 -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 +5 -2
- package/daemon/docs/reference/rig-bundle.md +1 -1
- package/daemon/docs/reference/rig-spec.md +210 -7
- package/daemon/docs/reference/rosters.md +18 -3
- package/daemon/docs/reference/sdlc-conventions.md +6 -2
- package/daemon/docs/reference/seat-delivery.md +41 -7
- package/daemon/docs/reference/seat-pools.md +116 -0
- package/daemon/docs/reference/terminal-sessions.md +57 -11
- package/daemon/docs/reference/tmux-servers.md +46 -2
- package/daemon/docs/reference/whats-new.md +167 -5
- package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +1 -1
- package/dist/build-info.js +3 -3
- package/dist/bundle-behaviour.d.ts +1 -1
- package/dist/client.d.ts +2 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +3 -2
- package/dist/client.js.map +1 -1
- package/dist/commands/broadcast.d.ts.map +1 -1
- package/dist/commands/broadcast.js +89 -8
- package/dist/commands/broadcast.js.map +1 -1
- package/dist/commands/bundle.js +1 -1
- 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 +9 -2
- package/dist/commands/chatroom.js.map +1 -1
- package/dist/commands/config-init-workspace.d.ts +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +4 -2
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +24 -19
- package/dist/commands/daemon.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/export.d.ts.map +1 -1
- package/dist/commands/export.js +5 -1
- package/dist/commands/export.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/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +4 -2
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +54 -1
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/package.d.ts.map +1 -1
- package/dist/commands/package.js +10 -0
- package/dist/commands/package.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/project-jev.d.ts +1 -1
- package/dist/commands/project-worker.d.ts +3 -3
- 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 +12 -1
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +43 -10
- 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 +1 -1
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +56 -1
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/restore.d.ts.map +1 -1
- package/dist/commands/restore.js +51 -8
- package/dist/commands/restore.js.map +1 -1
- package/dist/commands/roster.d.ts +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 +26 -2
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +24 -8
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/slack.d.ts +1 -1
- package/dist/commands/snapshot.d.ts.map +1 -1
- package/dist/commands/snapshot.js +29 -10
- package/dist/commands/snapshot.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 +203 -110
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/stream-outcome.d.ts +96 -32
- package/dist/commands/stream-outcome.d.ts.map +1 -1
- package/dist/commands/stream-outcome.js +25 -2
- package/dist/commands/stream-outcome.js.map +1 -1
- package/dist/commands/up.d.ts +2 -4
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +35 -3
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/watchdog.js +2 -2
- package/dist/commands/watchdog.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +8 -1
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +3 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +27 -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 +9 -3
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +109 -37
- 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/daemon-transport.d.ts +10 -0
- package/dist/daemon-transport.d.ts.map +1 -0
- package/dist/daemon-transport.js +89 -0
- package/dist/daemon-transport.js.map +1 -0
- package/dist/decisions/stream-consumer.d.ts +2 -2
- package/dist/lib/bundle-source.d.ts.map +1 -1
- package/dist/lib/bundle-source.js +2 -1
- package/dist/lib/bundle-source.js.map +1 -1
- package/dist/lib/codex-auth.d.ts +1 -1
- package/dist/lib/context-git.d.ts.map +1 -1
- package/dist/lib/context-git.js +8 -3
- package/dist/lib/context-git.js.map +1 -1
- package/dist/lib/scope/progress-edit.d.ts.map +1 -1
- package/dist/lib/scope/progress-edit.js +10 -0
- package/dist/lib/scope/progress-edit.js.map +1 -1
- package/dist/lib/scope/scope-fs.d.ts.map +1 -1
- package/dist/lib/scope/scope-fs.js +13 -10
- package/dist/lib/scope/scope-fs.js.map +1 -1
- 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/lib/work-install.d.ts +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/long-request-fetch.d.ts +2 -1
- package/dist/long-request-fetch.d.ts.map +1 -1
- package/dist/long-request-fetch.js +39 -35
- package/dist/long-request-fetch.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 +48 -5
- package/dist/mcp-http.d.ts.map +1 -1
- package/dist/mcp-http.js +303 -61
- package/dist/mcp-http.js.map +1 -1
- package/dist/mcp-server.d.ts +31 -3
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +191 -58
- package/dist/mcp-server.js.map +1 -1
- package/dist/mcp-surface.d.ts +8 -0
- package/dist/mcp-surface.d.ts.map +1 -0
- package/dist/mcp-surface.js +5 -0
- package/dist/mcp-surface.js.map +1 -0
- 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 +14 -2
- package/dist/release-surface/extract-surface.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/snapshot-rig-handle.d.ts +12 -0
- package/dist/snapshot-rig-handle.d.ts.map +1 -0
- package/dist/snapshot-rig-handle.js +39 -0
- package/dist/snapshot-rig-handle.js.map +1 -0
- package/mcp.d.ts +1 -0
- package/mcp.js +1 -0
- package/package.json +8 -5
- package/scripts/check-abi.mjs +15 -0
- package/tui/dist/attention/attention-model.d.ts +1 -1
- 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/attention/source-continuity.d.ts +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/execution/execution-model.d.ts +2 -0
- package/tui/dist/execution/execution-model.d.ts.map +1 -1
- package/tui/dist/execution/execution-model.js +27 -5
- package/tui/dist/execution/execution-model.js.map +1 -1
- package/tui/dist/execution/workflow-model.d.ts.map +1 -1
- package/tui/dist/execution/workflow-model.js +2 -1
- package/tui/dist/execution/workflow-model.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +4 -2
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/main.js +26 -9
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/print-for-copy.d.ts +7 -1
- package/tui/dist/print-for-copy.d.ts.map +1 -1
- package/tui/dist/print-for-copy.js +10 -3
- package/tui/dist/print-for-copy.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 +75 -19
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/socket-copy.d.ts +6 -0
- package/tui/dist/socket-copy.d.ts.map +1 -0
- package/tui/dist/socket-copy.js +13 -0
- package/tui/dist/socket-copy.js.map +1 -0
- package/tui/dist/terminal-safe-text.d.ts +39 -0
- package/tui/dist/terminal-safe-text.d.ts.map +1 -0
- package/tui/dist/terminal-safe-text.js +44 -0
- package/tui/dist/terminal-safe-text.js.map +1 -0
- package/tui/dist/topology/host-label.js +5 -5
- package/tui/dist/topology/host-label.js.map +1 -1
- package/tui/dist/types.d.ts +3 -3
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
+
import { createInterface } from "node:readline";
|
|
5
6
|
import { spawnSync } from "node:child_process";
|
|
6
7
|
import crypto from "node:crypto";
|
|
7
8
|
|
|
@@ -30,14 +31,22 @@ function parseArgs(argv) {
|
|
|
30
31
|
out: DEFAULT_OUT,
|
|
31
32
|
cwd: process.cwd(),
|
|
32
33
|
json: false,
|
|
34
|
+
tailBytes: 0,
|
|
35
|
+
untilByte: null,
|
|
33
36
|
};
|
|
34
37
|
|
|
35
38
|
for (let i = 0; i < argv.length; i += 1) {
|
|
36
39
|
const arg = argv[i];
|
|
37
40
|
if (arg === "--jsonl") args.jsonl = argv[++i];
|
|
38
41
|
else if (arg === "--out") args.out = argv[++i];
|
|
42
|
+
else if (arg === "--tail-bytes") {
|
|
43
|
+
args.tailBytes = Number(argv[++i]);
|
|
44
|
+
if (!Number.isInteger(args.tailBytes) || args.tailBytes <= 0) throw new Error("--tail-bytes needs a whole number of bytes");
|
|
45
|
+
}
|
|
39
46
|
else if (arg === "--cwd") args.cwd = argv[++i];
|
|
40
47
|
else if (arg === "--json") args.json = true;
|
|
48
|
+
// Read only the first N bytes: the transcript as it was when the PreCompact hook ran, before compaction appends to it.
|
|
49
|
+
else if (arg === "--until-byte") args.untilByte = Number(argv[++i]);
|
|
41
50
|
else if (!arg.startsWith("-") && !args.jsonl) args.jsonl = arg;
|
|
42
51
|
else throw new Error(`unknown argument: ${arg}`);
|
|
43
52
|
}
|
|
@@ -45,18 +54,54 @@ function parseArgs(argv) {
|
|
|
45
54
|
return args;
|
|
46
55
|
}
|
|
47
56
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
// The transcript is read a line at a time: a long-lived seat's JSONL runs to gigabytes, past the longest string Node can
|
|
58
|
+
// make (about 512 MB), so the whole file is never read into one string.
|
|
59
|
+
// From a byte offset (a tail packet), the stream starts one byte early and drops its first line: that's the rest of the
|
|
60
|
+
// line the cut fell in, or empty when the cut falls at a line start. It ends at the size recorded when the tail was
|
|
61
|
+
// chosen, so lines appended while it reads stay out of the packet and out of the range its coverage line names.
|
|
62
|
+
async function* readJsonLines(file, start = 0, untilByte = null) {
|
|
63
|
+
if (untilByte === 0) return; // an explicit bound of 0 is an empty prefix; an absent one reads the whole file
|
|
64
|
+
const bounded = Number.isInteger(untilByte) && untilByte > 0 ? { end: untilByte - 1 } : {};
|
|
65
|
+
const range = start ? { start: start - 1, ...bounded } : bounded;
|
|
66
|
+
const lines = createInterface({ input: fs.createReadStream(file, { encoding: "utf8", ...range }), crlfDelay: Infinity });
|
|
67
|
+
let index = 0;
|
|
68
|
+
let skip = start > 0;
|
|
69
|
+
for await (const line of lines) {
|
|
70
|
+
if (skip) {
|
|
71
|
+
skip = false;
|
|
72
|
+
continue;
|
|
73
|
+
}
|
|
74
|
+
if (!line) continue;
|
|
75
|
+
index += 1;
|
|
76
|
+
let record;
|
|
77
|
+
try {
|
|
78
|
+
record = JSON.parse(line);
|
|
79
|
+
} catch (error) {
|
|
80
|
+
record = { type: "parse-error", line: index, error: String(error), raw: line };
|
|
81
|
+
}
|
|
82
|
+
yield record;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// The reconstructed transcript and narrative go to their files as they're built, joined with newlines as before, so
|
|
87
|
+
// neither becomes one string either. close() returns the text's length, which sizes the read budget. writeFileSync on
|
|
88
|
+
// the descriptor appends at its position and retries until every byte is written; one writeSync can write fewer.
|
|
89
|
+
function createTextSink(file) {
|
|
90
|
+
const fd = fs.openSync(file, "w");
|
|
91
|
+
let count = 0;
|
|
92
|
+
let length = 0;
|
|
93
|
+
return {
|
|
94
|
+
push(text) {
|
|
95
|
+
fs.writeFileSync(fd, count ? `\n${text}` : text);
|
|
96
|
+
length += text.length + (count ? 1 : 0);
|
|
97
|
+
count += 1;
|
|
98
|
+
},
|
|
99
|
+
close(placeholder) {
|
|
100
|
+
if (!count) fs.writeFileSync(fd, placeholder);
|
|
101
|
+
fs.closeSync(fd);
|
|
102
|
+
return length;
|
|
103
|
+
},
|
|
104
|
+
};
|
|
60
105
|
}
|
|
61
106
|
|
|
62
107
|
function findLatestJsonl(cwd) {
|
|
@@ -250,16 +295,19 @@ function discoverDocs(cwd) {
|
|
|
250
295
|
return [...docs].sort();
|
|
251
296
|
}
|
|
252
297
|
|
|
253
|
-
function analyze(jsonlPath, cwd) {
|
|
254
|
-
const records = readJsonLines(jsonlPath);
|
|
298
|
+
async function analyze(jsonlPath, cwd, staging, start = 0, untilByte = null) {
|
|
255
299
|
const registry = createRegistry();
|
|
256
|
-
const transcript =
|
|
257
|
-
const narrative =
|
|
300
|
+
const transcript = createTextSink(path.join(staging, "transcript.txt"));
|
|
301
|
+
const narrative = createTextSink(path.join(staging, "transcript-narrative.txt")); // R4: message-turns only (assistant/user text), no tool bodies
|
|
258
302
|
const readTargets = new Map(); // R1: tool_use_id -> file_path for Read calls
|
|
259
303
|
const cwdCounts = new Map();
|
|
260
304
|
let sessionId = null;
|
|
305
|
+
let records = 0;
|
|
306
|
+
let firstTimestamp = null;
|
|
261
307
|
|
|
262
|
-
for (const record of
|
|
308
|
+
for await (const record of readJsonLines(jsonlPath, start, untilByte)) {
|
|
309
|
+
records += 1;
|
|
310
|
+
if (!firstTimestamp && typeof record.timestamp === "string") firstTimestamp = record.timestamp;
|
|
263
311
|
registry.tick();
|
|
264
312
|
if (record.sessionId || record.session_id) sessionId = record.sessionId ?? record.session_id;
|
|
265
313
|
if (record.cwd) {
|
|
@@ -332,19 +380,19 @@ function analyze(jsonlPath, cwd) {
|
|
|
332
380
|
const cwdRanked = [...cwdCounts.entries()].sort((a, b) => b[1] - a[1]);
|
|
333
381
|
const effectiveCwd = cwdRanked[0]?.[0] ?? cwd;
|
|
334
382
|
|
|
335
|
-
const
|
|
336
|
-
const
|
|
383
|
+
const transcriptLength = transcript.close("(no message transcript reconstructed)\n");
|
|
384
|
+
const narrativeLength = narrative.close("(no narrative reconstructed)\n");
|
|
337
385
|
return {
|
|
338
386
|
sessionId,
|
|
339
387
|
jsonlPath,
|
|
340
388
|
cwd: effectiveCwd,
|
|
341
|
-
records
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
transcriptTokens: Math.round(transcriptText.length / 4),
|
|
345
|
-
narrativeTokens: Math.round(narrativeText.length / 4),
|
|
389
|
+
records,
|
|
390
|
+
transcriptTokens: Math.round(transcriptLength / 4),
|
|
391
|
+
narrativeTokens: Math.round(narrativeLength / 4),
|
|
346
392
|
files: rankedFiles,
|
|
347
393
|
docs: discoverDocs(effectiveCwd),
|
|
394
|
+
// Only a tail packet says what it covers, so a whole-session packet's summary is unchanged.
|
|
395
|
+
...(start ? { coverage: { fromByte: start, bytes: untilByte - start, firstTimestamp } } : {}),
|
|
348
396
|
};
|
|
349
397
|
}
|
|
350
398
|
|
|
@@ -387,6 +435,10 @@ function restoreInstructions(summary, outputPaths) {
|
|
|
387
435
|
lines.push(`- Narrative companion (READ THIS FIRST): \`${outputPaths.narrative}\` (~${summary.narrativeTokens ?? "?"} tokens — message turns only, no tool bodies)`);
|
|
388
436
|
lines.push(`- Touched-file triage: \`${outputPaths.touchedFiles}\``);
|
|
389
437
|
lines.push(`- Working directory inferred: \`${summary.cwd}\``);
|
|
438
|
+
if (summary.coverage) {
|
|
439
|
+
const { fromByte, bytes, firstTimestamp } = summary.coverage;
|
|
440
|
+
lines.push(`- **Coverage: this packet is built from the JSONL's last ${bytes} bytes only** (from byte ${fromByte}${firstTimestamp ? `, first timed record at ${firstTimestamp}` : ""}). Earlier history is in the JSONL itself. Touched files and their counts come from this tail, and a Read whose call is before the cut has no file path. For a whole-session packet, run restore-from-jsonl.mjs without --tail-bytes.`);
|
|
441
|
+
}
|
|
390
442
|
lines.push("");
|
|
391
443
|
lines.push("## Read budget (the restore must leave room for the work)");
|
|
392
444
|
lines.push("");
|
|
@@ -431,7 +483,7 @@ function nowIso() {
|
|
|
431
483
|
return typeof injected === "string" && injected.trim().length > 0 ? injected : new Date().toISOString();
|
|
432
484
|
}
|
|
433
485
|
|
|
434
|
-
function writeOutputs(summary, outRoot) {
|
|
486
|
+
function writeOutputs(summary, outRoot, staging) {
|
|
435
487
|
const stamp = nowIso().replace(/[:.]/g, "-");
|
|
436
488
|
const base = path.join(outRoot, `${summary.sessionId ?? "unknown-session"}-${stamp}`);
|
|
437
489
|
fs.mkdirSync(base, { recursive: true });
|
|
@@ -445,24 +497,49 @@ function writeOutputs(summary, outRoot) {
|
|
|
445
497
|
summary: path.join(base, "restore-summary.json"),
|
|
446
498
|
};
|
|
447
499
|
|
|
448
|
-
fs.
|
|
449
|
-
fs.
|
|
500
|
+
fs.renameSync(path.join(staging, "transcript.txt"), outputPaths.transcript);
|
|
501
|
+
fs.renameSync(path.join(staging, "transcript-narrative.txt"), outputPaths.narrative);
|
|
450
502
|
fs.writeFileSync(outputPaths.touchedFiles, markdownFileList(summary.files));
|
|
451
503
|
fs.writeFileSync(outputPaths.instructions, restoreInstructions(summary, outputPaths));
|
|
452
|
-
fs.writeFileSync(outputPaths.summary, JSON.stringify({ ...summary,
|
|
504
|
+
fs.writeFileSync(outputPaths.summary, JSON.stringify({ ...summary, outputPaths }, null, 2));
|
|
453
505
|
|
|
454
506
|
return outputPaths;
|
|
455
507
|
}
|
|
456
508
|
|
|
457
|
-
function main() {
|
|
509
|
+
async function main() {
|
|
458
510
|
const args = parseArgs(process.argv.slice(2));
|
|
459
511
|
const cwd = path.resolve(args.cwd);
|
|
460
512
|
const jsonlPath = args.jsonl ? path.resolve(args.jsonl) : findLatestJsonl(cwd);
|
|
461
513
|
if (!jsonlPath) throw new Error("could not find a Claude JSONL transcript; pass one explicitly");
|
|
462
514
|
if (!fs.existsSync(jsonlPath)) throw new Error(`JSONL transcript not found: ${jsonlPath}`);
|
|
463
515
|
|
|
464
|
-
|
|
465
|
-
|
|
516
|
+
// The two text files are written while the transcript is read, before the packet's folder is named (its session id
|
|
517
|
+
// comes from the transcript), so they start in a staging folder beside it. Packet readers match `<session id>-*`.
|
|
518
|
+
const outRoot = path.resolve(args.out);
|
|
519
|
+
fs.mkdirSync(outRoot, { recursive: true });
|
|
520
|
+
// A handled stop part way still removes the staging folder: SIGTERM (the PreCompact hook's time limit) exits 143, and
|
|
521
|
+
// SIGINT (a person's Ctrl-C on the manual route) exits 130. A stop that can't be handled (SIGKILL) or a failed removal
|
|
522
|
+
// can still leave it.
|
|
523
|
+
let staging = null;
|
|
524
|
+
const removeStagingOn = (signal, code) => process.once(signal, () => {
|
|
525
|
+
if (staging) fs.rmSync(staging, { recursive: true, force: true });
|
|
526
|
+
process.exit(code);
|
|
527
|
+
});
|
|
528
|
+
removeStagingOn("SIGTERM", 143);
|
|
529
|
+
removeStagingOn("SIGINT", 130);
|
|
530
|
+
staging = fs.mkdtempSync(path.join(outRoot, ".partial-"));
|
|
531
|
+
let summary;
|
|
532
|
+
let outputPaths;
|
|
533
|
+
// --tail-bytes N reads only the transcript's last N bytes (the PreCompact hook asks for it on a large transcript),
|
|
534
|
+
// counted back from --until-byte when one is given.
|
|
535
|
+
const size = Number.isInteger(args.untilByte) && args.untilByte >= 0 ? args.untilByte : fs.statSync(jsonlPath).size;
|
|
536
|
+
const start = args.tailBytes && args.tailBytes < size ? size - args.tailBytes : 0;
|
|
537
|
+
try {
|
|
538
|
+
summary = await analyze(jsonlPath, cwd, staging, start, start ? size : args.untilByte);
|
|
539
|
+
outputPaths = writeOutputs(summary, outRoot, staging);
|
|
540
|
+
} finally {
|
|
541
|
+
fs.rmSync(staging, { recursive: true, force: true });
|
|
542
|
+
}
|
|
466
543
|
const result = {
|
|
467
544
|
ok: true,
|
|
468
545
|
jsonlPath,
|
|
@@ -487,9 +564,7 @@ function main() {
|
|
|
487
564
|
}
|
|
488
565
|
}
|
|
489
566
|
|
|
490
|
-
|
|
491
|
-
main();
|
|
492
|
-
} catch (error) {
|
|
567
|
+
main().catch((error) => {
|
|
493
568
|
console.error(`claude-compaction-restore failed: ${error.message}`);
|
|
494
569
|
process.exit(1);
|
|
495
|
-
}
|
|
570
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: messaging-the-human
|
|
3
|
-
description: "Use when project policy calls for a human decision or update, a human delivery is pending or failed, or a reply must resume the right work."
|
|
3
|
+
description: "Use when you're about to ask a person something (a question, a choice or an approval), before you use your harness's own question prompt, which shows only in your terminal; and when project policy calls for a human decision or update, a human delivery is pending or failed, or a reply must resume the right work."
|
|
4
4
|
metadata:
|
|
5
5
|
cli_surfaces_referenced:
|
|
6
6
|
- gateway human list
|
|
@@ -1634,15 +1634,16 @@ rig specs rename <name-or-id> <new-name> [--json]
|
|
|
1634
1634
|
```bash
|
|
1635
1635
|
rig mcp serve [--port <daemon-port>] # stdio: a local app starts the server itself
|
|
1636
1636
|
rig mcp serve --http [--bind <host:port>] # Streamable HTTP at /mcp (default 127.0.0.1:7437)
|
|
1637
|
-
rig mcp token add <name> --seat <session> [--rig <name>...] [--root <name>...] [--workspace] [--owner]
|
|
1637
|
+
rig mcp token add <name> --seat <session> [--rig <name>...] [--root <name>...] [--workspace] [--owner] [--person <entity_id>]
|
|
1638
1638
|
rig mcp token list [--json]
|
|
1639
1639
|
rig mcp token revoke <name>
|
|
1640
1640
|
```
|
|
1641
1641
|
|
|
1642
1642
|
The 39 shipped tools fall into four groups. Over stdio, and over HTTP with no grants, every tool but the person tools is
|
|
1643
1643
|
offered. An HTTP grant offers the work tools; the workspace tools with `--workspace` or `--owner`; and the owner tools only
|
|
1644
|
-
with `--owner`, which offers every tool but the person tools. Only a grant
|
|
1645
|
-
|
|
1644
|
+
with `--owner`, which offers every tool but the person tools. Only a grant bound to a person offers the person tools: a
|
|
1645
|
+
grant service's grant that names its person, or a token-file grant added with `--person`. A local caller and an unbound
|
|
1646
|
+
grant never get them.
|
|
1646
1647
|
- **Work (20):** orientation, communication and the durable work loop.
|
|
1647
1648
|
- `rig_whoami`: the seat the server acts as (rig, pod, peers, edges) and the `caller`: authenticated (an HTTP
|
|
1648
1649
|
credential, with its principal) or declared (`OPENRIG_SESSION_NAME` where the server was configured, which nothing
|
|
@@ -1674,8 +1675,9 @@ the person tools.
|
|
|
1674
1675
|
of event metadata), and:
|
|
1675
1676
|
- `rig_restore`, which starts a restore and returns its attempt;
|
|
1676
1677
|
- `rig_restore_status`, that attempt's receipt.
|
|
1677
|
-
- **Person (2):** `rig_question_list` and `rig_question_answer`, offered only on a grant
|
|
1678
|
-
|
|
1678
|
+
- **Person (2):** `rig_question_list` and `rig_question_answer`, offered only on a grant bound to the person who owns
|
|
1679
|
+
the connection: a grant service's grant that names them (`person.entity_id`, with the `question` pair), or a token-file
|
|
1680
|
+
grant added with `--person <entity_id>`. They list the team's questions waiting on
|
|
1679
1681
|
that person, as Steering shows them, and record that person's own answer, given through the connection: `answer` for an
|
|
1680
1682
|
ask, which returns their words to the asker, and `resolve` for a park. `docs/reference/hosted-members.md` has the
|
|
1681
1683
|
contract.
|
|
@@ -6,6 +6,7 @@ import datetime
|
|
|
6
6
|
import json
|
|
7
7
|
import os
|
|
8
8
|
import re
|
|
9
|
+
import shlex
|
|
9
10
|
import shutil
|
|
10
11
|
import subprocess
|
|
11
12
|
import sys
|
|
@@ -577,6 +578,20 @@ def render_held_and_next(evidence):
|
|
|
577
578
|
return "\n".join(output)
|
|
578
579
|
|
|
579
580
|
|
|
581
|
+
def selected_project_missions(entry, project):
|
|
582
|
+
"""The daemon's listing of the selected project's missions, used only when its missions root is inside that project."""
|
|
583
|
+
if not isinstance(entry, dict) or not isinstance(entry.get("missionsRoot"), str) or not entry["missionsRoot"]:
|
|
584
|
+
return None
|
|
585
|
+
names = entry.get("names")
|
|
586
|
+
if not isinstance(names, list) or not all(isinstance(name, str) for name in names):
|
|
587
|
+
return None
|
|
588
|
+
missions_root = Path(entry["missionsRoot"]).expanduser().resolve()
|
|
589
|
+
if not under_root(missions_root, Path(project).expanduser().resolve()):
|
|
590
|
+
return None
|
|
591
|
+
return {"project": str(entry.get("project") or Path(project).name), "missionsRoot": str(missions_root),
|
|
592
|
+
"names": names, "truncated": bool(entry.get("truncated"))}
|
|
593
|
+
|
|
594
|
+
|
|
580
595
|
def render_candidates(evidence, root, depth, failures, extra_roots=(), project=None, project_unknown=None):
|
|
581
596
|
"""The work section from labelled queue evidence. One direct, resolved tag is shown as the
|
|
582
597
|
work with its source; anything less certain lists every candidate and asks the agent."""
|
|
@@ -594,6 +609,20 @@ def render_candidates(evidence, root, depth, failures, extra_roots=(), project=N
|
|
|
594
609
|
return "\n".join([head, *notes, rest])
|
|
595
610
|
|
|
596
611
|
missions_root = evidence.get("missionsRoot") or str(root / "missions")
|
|
612
|
+
names = evidence.get("missionsOnHost") or []
|
|
613
|
+
names_cut = evidence.get("missionsOnHostTruncated")
|
|
614
|
+
listing = "Missions on this host"
|
|
615
|
+
start_root, extra_root = missions_root, ""
|
|
616
|
+
# Orienting from the selected project, name its missions under its own root, not workspace.root's. A daemon that
|
|
617
|
+
# predates the field, or an entry whose root isn't inside this project, keeps workspace.root's listing.
|
|
618
|
+
selected = (selected_project_missions(evidence.get("projectMissions"), project)
|
|
619
|
+
if not candidates and not unknown and project else None)
|
|
620
|
+
if selected:
|
|
621
|
+
missions_root, names, names_cut = selected["missionsRoot"], selected["names"], selected["truncated"]
|
|
622
|
+
listing = f"Missions in the selected project ({selected['project']})"
|
|
623
|
+
# The next call is the agent's own, with none of this run's --work-root: name the project root so it can ascend.
|
|
624
|
+
start_root = shlex.quote(missions_root)
|
|
625
|
+
extra_root = f" --work-root {shlex.quote(str(Path(project).expanduser().resolve()))}"
|
|
597
626
|
output = ["## WORK — name it"]
|
|
598
627
|
if not candidates and not unknown:
|
|
599
628
|
output.append("No in-progress queue row names your work. If you are working from messages, "
|
|
@@ -610,13 +639,10 @@ def render_candidates(evidence, root, depth, failures, extra_roots=(), project=N
|
|
|
610
639
|
for row in unknown:
|
|
611
640
|
(summary,), pointer = row_fields(row, ("summary", "no summary"))
|
|
612
641
|
output.append(f"- {row.get('qitemId') or 'a row'} — {summary}: {row.get('reason')}{pointer}")
|
|
613
|
-
if not candidates:
|
|
614
|
-
|
|
615
|
-
if names:
|
|
616
|
-
listing = ", ".join(names) + (", …" if evidence.get("missionsOnHostTruncated") else "")
|
|
617
|
-
output.append(f"Missions on this host: {listing}")
|
|
642
|
+
if not candidates and names:
|
|
643
|
+
output.append(f"{listing}: " + ", ".join(names) + (", …" if names_cut else ""))
|
|
618
644
|
output.append("Then read that mission's current intent as text:")
|
|
619
|
-
output.append(f" python3 {Path(__file__).resolve()} --trees work --packet --work-start {
|
|
645
|
+
output.append(f" python3 {Path(__file__).resolve()} --trees work --packet{extra_root} --work-start {start_root}/<mission>")
|
|
620
646
|
# Nothing in progress: orient from the seat's selected project, which may live outside
|
|
621
647
|
# workspace.root (#3320), or say why none was selected. Held and next work stay evidence only.
|
|
622
648
|
orient_root = root
|
|
@@ -57,9 +57,18 @@ even when setup was skipped or `runtime.codex.hooks_enabled` is false. That sett
|
|
|
57
57
|
writes. These settings can reach their other sessions using the same Codex home. Reuse a yes that already covered
|
|
58
58
|
these writes; an explicit project-only request doesn't cover them. If they decline, don't launch that same path or
|
|
59
59
|
remove the writes afterwards as a substitute for consent. Explain that setup has no project-only mode. A git worktree
|
|
60
|
-
or project `.codex/config.toml` doesn't redirect these writes.
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
or project `.codex/config.toml` doesn't redirect these writes.
|
|
61
|
+
|
|
62
|
+
**Keep their own login:** a team runs on the person's existing login through the home that holds it (`~/.codex` or
|
|
63
|
+
their `CODEX_HOME`; for Claude Code, `~/.claude` or their `CLAUDE_CONFIG_DIR`). Keeping that home and asking once about
|
|
64
|
+
these writes is how someone who wants changes kept in their project still gets a working team. Don't make a new
|
|
65
|
+
`CODEX_HOME` or `CLAUDE_CONFIG_DIR` to avoid the writes, inside the project or anywhere else: a new home has no login,
|
|
66
|
+
and the team can't start until someone signs it in. Never copy credentials into a new home or the project. A separate
|
|
67
|
+
home helps only if they already have one that is signed in; it keeps that home's config, login and sessions together
|
|
68
|
+
and doesn't relocate `~/.tmux.conf`. If they decline the writes and have no such home, say plainly that the team can't
|
|
69
|
+
start here without their yes to the writes or a sign-in they choose to do, and let them choose. Don't offer a route
|
|
70
|
+
that needs a new sign-in, or a large download such as a local model, without saying so first. Carry the person's scope
|
|
71
|
+
constraint to the operator.
|
|
63
72
|
|
|
64
73
|
**Codex individual approvals:** explain before installation that even reads may ask repeatedly during setup and
|
|
65
74
|
follow-up, separately from the team's permissions. Use plain, separate commands so each request is readable.
|
|
@@ -269,7 +278,9 @@ commands; if the two ever differ, this step is right.
|
|
|
269
278
|
> clearly pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything,
|
|
270
279
|
> and never pick a "don't ask again" choice they didn't pick. Their answer covers only the prompt it answered: a
|
|
271
280
|
> later prompt, even one like it, is a new question to me. Check the effect, and never send again while it's
|
|
272
|
-
> unknown.
|
|
281
|
+
> unknown. To give this work to another seat, hand this item itself on (`rig queue handoff <this id> --to <seat>`), so
|
|
282
|
+
> my return address goes with it, and don't close it as a duplicate of a new item. If you hand this item on or give
|
|
283
|
+
> this work to another seat, copy this paragraph into the new item. When
|
|
273
284
|
> you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
|
|
274
285
|
> evidence ref.
|
|
275
286
|
|
|
@@ -282,6 +293,16 @@ commands; if the two ever differ, this step is right.
|
|
|
282
293
|
this work again. If the outcome is unknown, repeat the same command with
|
|
283
294
|
`--id` and the ID from its `Queue create request ID:` line, which it prints before it sends: the same task keeps the
|
|
284
295
|
same address.
|
|
296
|
+
- **Get woken when a task arrives at your address:** right after the handover, start this wait with your shell tool's
|
|
297
|
+
background option (in Claude Code versions that wake you when a background command ends), with your address in place
|
|
298
|
+
of `<address>`:
|
|
299
|
+
|
|
300
|
+
until OPENRIG_SESSION_NAME='<address>' rig queue list --owned --state pending --json 2>/dev/null | grep -q '"qitemId"'; do sleep 20; done
|
|
301
|
+
|
|
302
|
+
It runs only `rig` and `sleep`, so it spends no model tokens while it waits, and it reads the same in bash and zsh.
|
|
303
|
+
When it ends, claim each pending task at once (claiming isn't answering: it stays open until the person answers),
|
|
304
|
+
handle what's waiting (below), then start the wait again, so it ends only on new work. A harness with no background
|
|
305
|
+
wake (Codex, for one) keeps the check whenever the person talks to you.
|
|
285
306
|
- **When a question arrives at your address as a task,** list the pending work with
|
|
286
307
|
`OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`. Read each in full
|
|
287
308
|
(`rig queue show <id> --full`) and show the person the whole question in the team's words. Record only what they
|
|
@@ -305,8 +326,8 @@ commands; if the two ever differ, this step is right.
|
|
|
305
326
|
rendered in the seat's pane) or `claimed` (picked up); `delivered-ack-pending` (sent, render unconfirmed: not
|
|
306
327
|
proof it was woken); `retained` (the seat's typing guard held the wake, the task is still there to read, and it
|
|
307
328
|
isn't retried automatically: wake the task's destination once its input is free with
|
|
308
|
-
`rig send <destination> "task <id> is yours"`); `failed` (the wake
|
|
309
|
-
|
|
329
|
+
`rig send <destination> "task <id> is yours"`); `failed` (the wake wasn't delivered, and the task still needs
|
|
330
|
+
doing: wake it the same way); `indeterminate` or `still-pending` (unknown, neither failed nor delivered: check
|
|
310
331
|
before you wake it again). A pending task with no wake isn't lost or done.
|
|
311
332
|
- **Nothing wakes this chat** when the team asks or finishes: while its work is open, start each of your turns by
|
|
312
333
|
listing your address's tasks (above), before anything else, including when the person talks to you and when they
|
|
@@ -123,6 +123,18 @@ specific prompt or sandbox restriction. Work within the user's chosen permission
|
|
|
123
123
|
to unrestricted access to clear one prompt.
|
|
124
124
|
For a `403` naming `untrusted_host` or `browser_origin_refused`, see [Browser access and allowed addresses](browser-access.md).
|
|
125
125
|
|
|
126
|
+
Inside Claude Code's Bash sandbox, CLI daemon requests use the supplied HTTP(S) proxy for the configured daemon
|
|
127
|
+
endpoint, including when the sandbox's loopback `NO_PROXY` would select a direct connection. The proxy's host and
|
|
128
|
+
port permissions still apply. OpenRig does not change `NO_PROXY`, the endpoint or sandbox settings, and a refused
|
|
129
|
+
request is not retried directly. This works on Node 22 without enabling Node's global environment-proxy support.
|
|
130
|
+
HTTPS daemon URLs use `HTTPS_PROXY` and HTTP daemon URLs use `HTTP_PROXY` (lowercase forms take precedence).
|
|
131
|
+
If the matching variable is absent, or its URL is invalid, the request keeps the caller's existing transport; an
|
|
132
|
+
invalid URL warns without printing its value. HTTP daemon request headers cross the supplied proxy inside its CONNECT
|
|
133
|
+
tunnel; HTTPS daemon headers are protected by the daemon's TLS connection. A non-200 CONNECT response is a sandbox
|
|
134
|
+
proxy connection error, not a daemon reply. A refused or unreachable proxy leaves daemon status unverified.
|
|
135
|
+
The route covers `DaemonClient` (including identity and long requests), lifecycle health/kernel probes and
|
|
136
|
+
`rig chatroom watch`. The separate SSE paths for `rig stream` and workflow following retain their existing routing.
|
|
137
|
+
|
|
126
138
|
### A seat shows attention, waiting or a failed restore
|
|
127
139
|
|
|
128
140
|
Start with the [startup and restart symptom table](getting-started.md#incomplete-setup-and-restart). Read `rig status`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent help: the single troubleshooting and escalation guide (docs/reference/help.md).
|
|
2
2
|
name: help
|
|
3
|
-
version: "0.7.
|
|
3
|
+
version: "0.7.23"
|
|
4
4
|
taxonomy: world
|
|
5
5
|
purpose: "What an agent does when its user says OpenRig isn't working: diagnose, fix within permissions, verify, and escalate to OpenRig support."
|
|
6
6
|
files:
|
|
@@ -425,7 +425,10 @@ your context, your compaction and your replacement — and it is the only thing
|
|
|
425
425
|
and a close with `--resolution "<outcome>"` stores the outcome on the row; `--state done
|
|
426
426
|
--evidence-ref <path>` also keeps the artifact's pointer on it. To accept a re-estimate,
|
|
427
427
|
`--closure-required-at <iso>` on an in-progress row moves its deadline and keeps the claim,
|
|
428
|
-
recording the old and new time and who accepted it.
|
|
428
|
+
recording the old and new time and who accepted it. A caller that acts on a state it read earlier
|
|
429
|
+
(a closer that isn't the claimant) adds `--expect-state <state>`: the update applies only if the
|
|
430
|
+
row is still in that state, checked in the same transaction, and otherwise writes nothing and
|
|
431
|
+
fails with `qitem_state_changed` and the current state, so a claim that landed in between stays.
|
|
429
432
|
Since 0.7.16 an otherwise-admitted state-changing park or close stores its supplied non-blank
|
|
430
433
|
`--summary` or `--evidence-ref`, instead of refusing the whole update; note-append and
|
|
431
434
|
re-estimate rules are unchanged, and the receipt names a requested field the stored row doesn't
|
|
@@ -784,6 +787,13 @@ not have to tear one down to change it, and you rarely have to start from nothin
|
|
|
784
787
|
seat in the rig is paused or being typed in, and it takes a seat's session name, including an
|
|
785
788
|
adopted seat's raw tmux name; ambiguous names aren't launched, and the other unambiguous
|
|
786
789
|
selections are handled normally.
|
|
790
|
+
- **`keep_alive: true`** (rig spec member, or an AgentSpec's `lifecycle.keep_alive`; off by default)
|
|
791
|
+
— the daemon relaunches that seat through the same one-seat launch when it falls while the daemon
|
|
792
|
+
runs, and leaves it down after `rig seat stop` or `rig down`, which record the stop before stopping
|
|
793
|
+
anything. A daemon stop changes no seat's desired state. Each fall gets 2 attempts, counted durably;
|
|
794
|
+
when they run out the seat reads `attention_required` (`keepAliveIncident` in
|
|
795
|
+
`rig ps --nodes --json --full`) until you start it with `rig launch`. Not for seats attached from
|
|
796
|
+
outside (`docs/reference/rig-spec.md`, "Keep a seat running").
|
|
787
797
|
- **`rig seat launch <seat> --fresh --reason <why>`** — deliberately create a blank occupant for
|
|
788
798
|
exactly one existing seat. It uses no resume, fork, rebuild, snapshot, or restore packet;
|
|
789
799
|
siblings and durable work stay put, and unmanaged ambiguity refuses. With `--stop`, a seat with a
|
|
@@ -798,8 +808,7 @@ not have to tear one down to change it, and you rarely have to start from nothin
|
|
|
798
808
|
Codex seat OpenRig launched, in a single pane, with a conversation it can prove and unchanged
|
|
799
809
|
running settings. `--plan` runs every check and stops nothing; `--verify --expect-account
|
|
800
810
|
<account>` reports `moved` only when a tool turn has completed in the same conversation since
|
|
801
|
-
the restart and Codex's status names that account.
|
|
802
|
-
request that reaches the running-process check refuses before stopping the seat.
|
|
811
|
+
the restart and Codex's status names that account.
|
|
803
812
|
An adopted seat (one OpenRig didn't launch) refuses with `claimed_session`. "A conversation it
|
|
804
813
|
can prove" means the stored conversation matches the one the running Codex's command line names
|
|
805
814
|
(or, when it names none, the only one Codex has logged since it started); OpenRig can't tell
|
|
@@ -879,7 +888,8 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
879
888
|
distinct no-op, and a timeout never proves down. Use command help for exact limits and recovery.
|
|
880
889
|
Since 0.7.15 start gives the child it started a 180-second readiness budget, with a progress
|
|
881
890
|
line about every 20 s: let it finish rather than starting again. Synchronous work can run past
|
|
882
|
-
the budget, and it isn't a cure for a slow start.
|
|
891
|
+
the budget, and it isn't a cure for a slow start. `rig config set daemon.start_readiness_wait_seconds <seconds>`
|
|
892
|
+
(whole seconds, or `OPENRIG_DAEMON_START_READINESS_WAIT_SECONDS`) sets that budget for later starts.
|
|
883
893
|
When the daemon stalls, read `$OPENRIG_HOME/logs/slow-operations.jsonl` before guessing: it names
|
|
884
894
|
slow synchronous steps by site, since 0.7.15 including three queue sites and three selected steps
|
|
885
895
|
of an ordinary nodes read (`nodes.inventory.build`, `nodes.inventory.activity_sync`,
|
|
@@ -896,11 +906,21 @@ version, from checking the environment to a useful report to the OpenRig team.
|
|
|
896
906
|
database another live daemon already holds (the default, `warn`, only warns), and
|
|
897
907
|
`rig daemon start --allow-db-conflict` allows one deliberate start. A start still in progress reads
|
|
898
908
|
`Daemon starting: launch reserved by pid N since T; not listening yet` in `rig daemon status`, not stopped.
|
|
899
|
-
A start reservation left from an earlier boot
|
|
900
|
-
|
|
909
|
+
A start reservation left from an earlier boot, or one whose recorded launcher and child are both
|
|
910
|
+
gone in the same pid namespace, is archived by the next start. One that `rig daemon stop` retained
|
|
911
|
+
after a shutdown it couldn't verify stays until someone inspects the shutdown receipt and daemon.log
|
|
912
|
+
and archives it, as the stop and start errors say; otherwise don't clear it by hand.
|
|
901
913
|
- **`rig config set daemon.seat_poll_interval_ms <1000-2000>`** slows how often the daemon reads each seat's
|
|
902
914
|
activity (default 1000), trading activity freshness for daemon CPU on a large fleet. It's read at daemon start,
|
|
903
915
|
so restart the daemon to apply it. Near 2000, a slow tmux read can let a working Codex seat briefly read idle.
|
|
916
|
+
- **`rig config set daemon.identity_poll_interval_ms <5000-30000>`** slows the seat identity sweep (default 5000),
|
|
917
|
+
which checks that each seat's pane still runs its agent. It's read at daemon start, so restart the daemon to apply
|
|
918
|
+
it. A longer interval can delay noticing a stopped seat or a changed pane process, updating its identity verdict and
|
|
919
|
+
revoking its activity grants, and a seat `rig up` just launched answers expected-identity sends with
|
|
920
|
+
`expected_identity_unavailable` until a sweep verifies it. The value caps the cadence of sweep attempts (the first
|
|
921
|
+
scheduled one comes one interval after daemon start), not how stale a verdict can get: a sweep still reading skips
|
|
922
|
+
the ticks that come due, and a change seen after a sweep began waits for a later one, so verification or revocation
|
|
923
|
+
can take longer than one interval.
|
|
904
924
|
- **A busy daemon isn't a down one.** The CLI refuses only when the daemon is confirmed down
|
|
905
925
|
(stopped, stale, a refused probe), its probe is blocked, or it's a sibling home; a busy daemon
|
|
906
926
|
gets the real request. A write that then times out says its outcome is **unknown**: check its
|
|
@@ -1656,7 +1676,7 @@ your circumstances is configuration, and the ones that are not, another agent ca
|
|
|
1656
1676
|
ignored and shown. `rig up --env` leaves both names out. A conversation saved under an earlier home
|
|
1657
1677
|
doesn't resume in the new one, and live usage refresh still reads only the daemon's own logins.
|
|
1658
1678
|
- **`rig provider precheck --seat <seat> --to-account <name>`**, then **`rig provider switch --seat
|
|
1659
|
-
<seat> --to-account <name>`** — move one Codex seat (Linux
|
|
1679
|
+
<seat> --to-account <name>`** — move one Codex seat (Linux or macOS) to a login saved in its Codex home
|
|
1660
1680
|
(`rig auth save`), on the same conversation: it saves the outgoing login, activates the chosen one,
|
|
1661
1681
|
restarts the seat in place and prints a restart command for every peer on that home. For a Claude
|
|
1662
1682
|
seat, `--to-account <label> --token-file <absolute path>` moves it to its own subscription token
|
|
@@ -145,13 +145,14 @@ the run's log file, not on the row.
|
|
|
145
145
|
|
|
146
146
|
## Running it in the background: `rig exec`
|
|
147
147
|
|
|
148
|
-
`rig exec` runs the same single turn on a named harness, `claude` or `codex`,
|
|
148
|
+
`rig exec` runs the same single turn on a named harness, `claude` or `codex`, or on an explicit ACP command after `--`, in a
|
|
149
149
|
connector that outlives the command:
|
|
150
150
|
|
|
151
151
|
```sh
|
|
152
152
|
rig exec harnesses # the adapter and native versions installed here, and how each differs
|
|
153
153
|
rig exec run <row> --harness claude --plan # what would run, with versions; starts nothing
|
|
154
154
|
rig exec run <row> --harness claude [--wait] # start it; --wait waits here for the outcome
|
|
155
|
+
rig exec run <row> --cwd /workspace -- cursor-agent acp
|
|
155
156
|
rig exec status <runId|row> # state, outcome, usage and cost, and what still runs
|
|
156
157
|
rig exec cancel <runId>
|
|
157
158
|
```
|