@openrig/cli 0.7.24 → 0.7.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/daemon/assets/claude-hook-bridge.cjs +151 -37
- package/daemon/assets/claude-hook-bridge.d.cts +9 -2
- package/daemon/assets/claude-permission-policies.cjs +22 -1
- package/daemon/assets/claude-permission-policies.d.cts +2 -0
- package/daemon/assets/claude-statusline-context.cjs +14 -0
- package/daemon/assets/claude-team-permissions.cjs +54 -6
- package/daemon/assets/guidance/openrig-context-entry.md +4 -5
- package/daemon/assets/guidance/openrig-start.md +3 -0
- package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +2 -2
- 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/README.md +33 -18
- package/daemon/assets/plugins/openrig/hooks/scripts/claude-hook-bridge.cjs +151 -37
- package/daemon/assets/plugins/openrig/plugin.json +1 -1
- package/daemon/assets/plugins/openrig/scripts/run-rig.cjs +16 -13
- package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +32 -19
- package/daemon/assets/plugins/openrig-codex/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-codex/hooks/scripts/claude-hook-bridge.cjs +151 -37
- package/daemon/assets/plugins/openrig-codex/skills/working-with-an-openrig-team/SKILL.md +32 -19
- 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/scripts/permission-answer.cjs +3 -2
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +47 -14
- package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +5 -2
- package/daemon/assets/skills/rigs/SKILL.md +99 -34
- package/daemon/assets/skills/rigs/references/installing-for-someone.md +1 -1
- package/daemon/context-packs/help/help.md +9 -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 +179 -25
- package/daemon/context-packs/reference/getting-started.md +73 -11
- package/daemon/context-packs/reference/manifest.yaml +1 -1
- package/daemon/context-packs/reference/rig-spec.md +218 -23
- package/daemon/context-packs/reference/whats-new.md +190 -14
- 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/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/SKILL.md +9 -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/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +32 -19
- 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 +47 -14
- 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/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/SKILL.md +5 -2
- 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.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +25 -8
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +2 -0
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +44 -8
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts +3 -0
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +7 -3
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +49 -4
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +238 -25
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +12 -5
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +15 -5
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts +2 -2
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +5 -3
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +9 -0
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/pi-session-cwd.d.ts +26 -0
- package/daemon/dist/adapters/pi-session-cwd.d.ts.map +1 -0
- package/daemon/dist/adapters/pi-session-cwd.js +89 -0
- package/daemon/dist/adapters/pi-session-cwd.js.map +1 -0
- package/daemon/dist/adapters/shell-quote.d.ts +2 -0
- package/daemon/dist/adapters/shell-quote.d.ts.map +1 -1
- package/daemon/dist/adapters/shell-quote.js +43 -0
- package/daemon/dist/adapters/shell-quote.js.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.d.ts +15 -2
- package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-credential-env.js +82 -2
- package/daemon/dist/adapters/tmux-credential-env.js.map +1 -1
- package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-exec.js +2 -6
- package/daemon/dist/adapters/tmux-exec.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +31 -1
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +104 -8
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/attention-surface.d.ts +5 -0
- package/daemon/dist/attention-surface.d.ts.map +1 -1
- package/daemon/dist/attention-surface.js.map +1 -1
- package/daemon/dist/bind-plan-surface.d.ts +3 -0
- package/daemon/dist/bind-plan-surface.d.ts.map +1 -0
- package/daemon/dist/bind-plan-surface.js +5 -0
- package/daemon/dist/bind-plan-surface.js.map +1 -0
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/all-migrations.d.ts +4 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +30 -393
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/187_provider_account_refs.d.ts +8 -0
- package/daemon/dist/db/migrations/187_provider_account_refs.d.ts.map +1 -0
- package/daemon/dist/db/migrations/187_provider_account_refs.js +25 -0
- package/daemon/dist/db/migrations/187_provider_account_refs.js.map +1 -0
- package/daemon/dist/db/migrations/188_provider_account_assignments.d.ts +14 -0
- package/daemon/dist/db/migrations/188_provider_account_assignments.d.ts.map +1 -0
- package/daemon/dist/db/migrations/188_provider_account_assignments.js +45 -0
- package/daemon/dist/db/migrations/188_provider_account_assignments.js.map +1 -0
- package/daemon/dist/db/migrations/191_queue_transfer_activation.d.ts +3 -0
- package/daemon/dist/db/migrations/191_queue_transfer_activation.d.ts.map +1 -0
- package/daemon/dist/db/migrations/191_queue_transfer_activation.js +49 -0
- package/daemon/dist/db/migrations/191_queue_transfer_activation.js.map +1 -0
- package/daemon/dist/db/migrations/191_seat_reap_state.d.ts +3 -0
- package/daemon/dist/db/migrations/191_seat_reap_state.d.ts.map +1 -0
- package/daemon/dist/db/migrations/191_seat_reap_state.js +19 -0
- package/daemon/dist/db/migrations/191_seat_reap_state.js.map +1 -0
- package/daemon/dist/db/migrations/197_session_agent_activity_hooks.d.ts +3 -0
- package/daemon/dist/db/migrations/197_session_agent_activity_hooks.d.ts.map +1 -0
- package/daemon/dist/db/migrations/197_session_agent_activity_hooks.js +9 -0
- package/daemon/dist/db/migrations/197_session_agent_activity_hooks.js.map +1 -0
- package/daemon/dist/db/migrations/200_context_configured_budget.d.ts +3 -0
- package/daemon/dist/db/migrations/200_context_configured_budget.d.ts.map +1 -0
- package/daemon/dist/db/migrations/200_context_configured_budget.js +5 -0
- package/daemon/dist/db/migrations/200_context_configured_budget.js.map +1 -0
- package/daemon/dist/db/migrations/200_seat_cold_start_standby_stop.d.ts +3 -0
- package/daemon/dist/db/migrations/200_seat_cold_start_standby_stop.d.ts.map +1 -0
- package/daemon/dist/db/migrations/200_seat_cold_start_standby_stop.js +5 -0
- package/daemon/dist/db/migrations/200_seat_cold_start_standby_stop.js.map +1 -0
- package/daemon/dist/db/migrations/200_sessions_earlier_handover_origin.d.ts +11 -0
- package/daemon/dist/db/migrations/200_sessions_earlier_handover_origin.d.ts.map +1 -0
- package/daemon/dist/db/migrations/200_sessions_earlier_handover_origin.js +34 -0
- package/daemon/dist/db/migrations/200_sessions_earlier_handover_origin.js.map +1 -0
- package/daemon/dist/db/migrations/201_queue_transitions_archive_actor_index.d.ts +7 -0
- package/daemon/dist/db/migrations/201_queue_transitions_archive_actor_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/201_queue_transitions_archive_actor_index.js +12 -0
- package/daemon/dist/db/migrations/201_queue_transitions_archive_actor_index.js.map +1 -0
- package/daemon/dist/db/migrations/201_roster_event_index.d.ts +4 -0
- package/daemon/dist/db/migrations/201_roster_event_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/201_roster_event_index.js +9 -0
- package/daemon/dist/db/migrations/201_roster_event_index.js.map +1 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.d.ts +4 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.js +10 -0
- package/daemon/dist/db/migrations/202_network_requester_questions.js.map +1 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts +3 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts.map +1 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js +22 -0
- package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js.map +1 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts +16 -5
- package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.js +30 -5
- package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +4 -0
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +21 -0
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-destination.d.ts +15 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.d.ts.map +1 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.js +79 -0
- package/daemon/dist/domain/agent-images/agent-image-destination.js.map +1 -0
- package/daemon/dist/domain/agent-images/agent-image-library-service.d.ts.map +1 -1
- package/daemon/dist/domain/agent-images/agent-image-library-service.js +9 -1
- package/daemon/dist/domain/agent-images/agent-image-library-service.js.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts +4 -3
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +55 -11
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/bundle-content-routing.d.ts +7 -0
- package/daemon/dist/domain/bundle-content-routing.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-content-routing.js +20 -15
- package/daemon/dist/domain/bundle-content-routing.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +40 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +101 -11
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.d.ts +19 -2
- package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-continuation-launch.js +143 -3
- package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.d.ts +22 -5
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +41 -5
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts +3 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.js +8 -7
- package/daemon/dist/domain/claude-permission-rules.js.map +1 -1
- package/daemon/dist/domain/claude-seat-token.d.ts +25 -1
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -1
- package/daemon/dist/domain/claude-seat-token.js +56 -9
- package/daemon/dist/domain/claude-seat-token.js.map +1 -1
- package/daemon/dist/domain/codex-auth.d.ts +34 -0
- package/daemon/dist/domain/codex-auth.d.ts.map +1 -1
- package/daemon/dist/domain/codex-auth.js +212 -0
- package/daemon/dist/domain/codex-auth.js.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.d.ts +17 -0
- package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/codex-member-permissions.js +80 -0
- package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.d.ts +9 -0
- package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-launch-result.js +14 -2
- package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
- package/daemon/dist/domain/community-harness-presets.d.ts +15 -0
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +82 -48
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts +33 -5
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.js +221 -48
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts +1 -0
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +34 -3
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/crash-cart-detect.d.ts +7 -0
- package/daemon/dist/domain/crash-cart-detect.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-detect.js +10 -5
- package/daemon/dist/domain/crash-cart-detect.js.map +1 -1
- package/daemon/dist/domain/crash-cart-discovery.d.ts +9 -16
- package/daemon/dist/domain/crash-cart-discovery.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-discovery.js +22 -40
- package/daemon/dist/domain/crash-cart-discovery.js.map +1 -1
- package/daemon/dist/domain/crash-cart-emit.d.ts +1 -1
- package/daemon/dist/domain/crash-cart-emit.d.ts.map +1 -1
- package/daemon/dist/domain/crash-cart-emit.js +4 -0
- package/daemon/dist/domain/crash-cart-emit.js.map +1 -1
- package/daemon/dist/domain/current-park-arm.d.ts +2 -0
- package/daemon/dist/domain/current-park-arm.d.ts.map +1 -1
- package/daemon/dist/domain/current-park-arm.js +5 -0
- package/daemon/dist/domain/current-park-arm.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +16 -4
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +3 -6
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/cwd-resolution.d.ts +12 -1
- package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
- package/daemon/dist/domain/cwd-resolution.js +39 -2
- package/daemon/dist/domain/cwd-resolution.js.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.d.ts +17 -2
- package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.js +98 -9
- package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
- package/daemon/dist/domain/draft-held-reoffer.d.ts +61 -0
- package/daemon/dist/domain/draft-held-reoffer.d.ts.map +1 -0
- package/daemon/dist/domain/draft-held-reoffer.js +143 -0
- package/daemon/dist/domain/draft-held-reoffer.js.map +1 -0
- package/daemon/dist/domain/execution-view.d.ts +20 -0
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +50 -16
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.d.ts +10 -2
- package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/destination-resolver.js +26 -3
- package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +5 -4
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/generated-file-hygiene.d.ts.map +1 -1
- package/daemon/dist/domain/generated-file-hygiene.js +35 -2
- package/daemon/dist/domain/generated-file-hygiene.js.map +1 -1
- package/daemon/dist/domain/graph-projection.d.ts +7 -1
- package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
- package/daemon/dist/domain/graph-projection.js +2 -0
- package/daemon/dist/domain/graph-projection.js.map +1 -1
- package/daemon/dist/domain/health-context-samples.d.ts +23 -0
- package/daemon/dist/domain/health-context-samples.d.ts.map +1 -0
- package/daemon/dist/domain/health-context-samples.js +113 -0
- package/daemon/dist/domain/health-context-samples.js.map +1 -0
- package/daemon/dist/domain/health-detectors.d.ts +3 -0
- package/daemon/dist/domain/health-detectors.d.ts.map +1 -1
- package/daemon/dist/domain/health-detectors.js +8 -7
- package/daemon/dist/domain/health-detectors.js.map +1 -1
- package/daemon/dist/domain/home-isolation.d.ts.map +1 -1
- package/daemon/dist/domain/home-isolation.js +21 -8
- package/daemon/dist/domain/home-isolation.js.map +1 -1
- package/daemon/dist/domain/hook-bridge.d.ts +7 -5
- package/daemon/dist/domain/hook-bridge.d.ts.map +1 -1
- package/daemon/dist/domain/hook-bridge.js +12 -11
- package/daemon/dist/domain/hook-bridge.js.map +1 -1
- package/daemon/dist/domain/kernel-boot-tracker.d.ts +7 -5
- package/daemon/dist/domain/kernel-boot-tracker.d.ts.map +1 -1
- package/daemon/dist/domain/kernel-boot-tracker.js +11 -6
- package/daemon/dist/domain/kernel-boot-tracker.js.map +1 -1
- package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
- package/daemon/dist/domain/kernel-boot.js +6 -2
- package/daemon/dist/domain/kernel-boot.js.map +1 -1
- package/daemon/dist/domain/kernel-hook-review.d.ts +10 -2
- package/daemon/dist/domain/kernel-hook-review.d.ts.map +1 -1
- package/daemon/dist/domain/kernel-hook-review.js +18 -4
- package/daemon/dist/domain/kernel-hook-review.js.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.d.ts +6 -2
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.js +35 -4
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/audit-browse.js +1 -0
- package/daemon/dist/domain/mission-control/audit-browse.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts +3 -1
- package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-action-log.js +7 -0
- package/daemon/dist/domain/mission-control/mission-control-action-log.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +3 -0
- 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 +56 -13
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts +8 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts.map +1 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.js +17 -0
- package/daemon/dist/domain/mission-control/notification-adapter-from-env.js.map +1 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts +12 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts.map +1 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.js +19 -0
- package/daemon/dist/domain/model-divergence/codex-thread-homes.js.map +1 -0
- package/daemon/dist/domain/native-process-arguments.d.ts +6 -3
- package/daemon/dist/domain/native-process-arguments.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-arguments.js +56 -23
- package/daemon/dist/domain/native-process-arguments.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts +9 -0
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +15 -1
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/network/hub-client.d.ts +14 -4
- package/daemon/dist/domain/network/hub-client.d.ts.map +1 -1
- package/daemon/dist/domain/network/hub-client.js +26 -9
- package/daemon/dist/domain/network/hub-client.js.map +1 -1
- package/daemon/dist/domain/network/network-connector.d.ts +2 -0
- package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-connector.js +162 -16
- package/daemon/dist/domain/network/network-connector.js.map +1 -1
- package/daemon/dist/domain/network/network-requests.d.ts +4 -1
- package/daemon/dist/domain/network/network-requests.d.ts.map +1 -1
- package/daemon/dist/domain/network/network-requests.js +141 -14
- package/daemon/dist/domain/network/network-requests.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +47 -0
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +270 -158
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +1 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +13 -5
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/outbox-handler.d.ts +66 -0
- package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
- package/daemon/dist/domain/outbox-handler.js +117 -8
- package/daemon/dist/domain/outbox-handler.js.map +1 -1
- package/daemon/dist/domain/pane-cutover.d.ts +6 -2
- package/daemon/dist/domain/pane-cutover.d.ts.map +1 -1
- package/daemon/dist/domain/pane-cutover.js +14 -4
- package/daemon/dist/domain/pane-cutover.js.map +1 -1
- package/daemon/dist/domain/parked-owner-escalation.d.ts +1 -0
- package/daemon/dist/domain/parked-owner-escalation.d.ts.map +1 -1
- package/daemon/dist/domain/parked-owner-escalation.js +3 -1
- package/daemon/dist/domain/parked-owner-escalation.js.map +1 -1
- package/daemon/dist/domain/parked-query.js +1 -1
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/permission-account.d.ts.map +1 -1
- package/daemon/dist/domain/permission-account.js +20 -1
- package/daemon/dist/domain/permission-account.js.map +1 -1
- package/daemon/dist/domain/policies/idle-gate-qitem.d.ts +1 -0
- package/daemon/dist/domain/policies/idle-gate-qitem.d.ts.map +1 -1
- package/daemon/dist/domain/policies/idle-gate-qitem.js +1 -0
- package/daemon/dist/domain/policies/idle-gate-qitem.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +21 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +185 -26
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts +2 -1
- package/daemon/dist/domain/policies/seat-pool.d.ts.map +1 -1
- package/daemon/dist/domain/policies/seat-pool.js.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts +1 -0
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.js +4 -1
- package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
- package/daemon/dist/domain/profile-resolver.d.ts +2 -0
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +10 -4
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
- package/daemon/dist/domain/project-lifecycle-compiler.js +35 -1
- package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
- package/daemon/dist/domain/proof/judgments.d.ts +7 -0
- package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
- package/daemon/dist/domain/proof/judgments.js +18 -10
- package/daemon/dist/domain/proof/judgments.js.map +1 -1
- package/daemon/dist/domain/provider/assignment-apply.d.ts +85 -0
- package/daemon/dist/domain/provider/assignment-apply.d.ts.map +1 -0
- package/daemon/dist/domain/provider/assignment-apply.js +270 -0
- package/daemon/dist/domain/provider/assignment-apply.js.map +1 -0
- package/daemon/dist/domain/provider/assignment-plan.d.ts +150 -0
- package/daemon/dist/domain/provider/assignment-plan.d.ts.map +1 -0
- package/daemon/dist/domain/provider/assignment-plan.js +218 -0
- package/daemon/dist/domain/provider/assignment-plan.js.map +1 -0
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.js +37 -6
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -1
- package/daemon/dist/domain/provider/provider-account-assignments.d.ts +64 -0
- package/daemon/dist/domain/provider/provider-account-assignments.d.ts.map +1 -0
- package/daemon/dist/domain/provider/provider-account-assignments.js +75 -0
- package/daemon/dist/domain/provider/provider-account-assignments.js.map +1 -0
- package/daemon/dist/domain/provider/provider-account-refs.d.ts +91 -0
- package/daemon/dist/domain/provider/provider-account-refs.d.ts.map +1 -0
- package/daemon/dist/domain/provider/provider-account-refs.js +164 -0
- package/daemon/dist/domain/provider/provider-account-refs.js.map +1 -0
- package/daemon/dist/domain/provider/provider-collect.d.ts +3 -1
- package/daemon/dist/domain/provider/provider-collect.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-collect.js +2 -0
- package/daemon/dist/domain/provider/provider-collect.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts +43 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.js +376 -20
- package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +82 -6
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-types.d.ts +40 -1
- package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.js +13 -1
- package/daemon/dist/domain/provider/usage-across-hosts.js.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +5 -3
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +10 -3
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-display.d.ts +7 -0
- package/daemon/dist/domain/queue-display.d.ts.map +1 -0
- package/daemon/dist/domain/queue-display.js +20 -0
- package/daemon/dist/domain/queue-display.js.map +1 -0
- package/daemon/dist/domain/queue-owner.d.ts +4 -2
- package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
- package/daemon/dist/domain/queue-owner.js +7 -5
- package/daemon/dist/domain/queue-owner.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +104 -24
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +600 -89
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +4 -0
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +1890 -1817
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-activation.d.ts +28 -0
- package/daemon/dist/domain/queue-transfer-activation.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-activation.js +187 -0
- package/daemon/dist/domain/queue-transfer-activation.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-mapping.d.ts +31 -0
- package/daemon/dist/domain/queue-transfer-mapping.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-mapping.js +33 -0
- package/daemon/dist/domain/queue-transfer-mapping.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-operation.d.ts +24 -0
- package/daemon/dist/domain/queue-transfer-operation.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-operation.js +41 -0
- package/daemon/dist/domain/queue-transfer-operation.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-parse.d.ts +8 -0
- package/daemon/dist/domain/queue-transfer-parse.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transfer-parse.js +16 -6
- package/daemon/dist/domain/queue-transfer-parse.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-records.d.ts +160 -0
- package/daemon/dist/domain/queue-transfer-records.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-records.js +94 -0
- package/daemon/dist/domain/queue-transfer-records.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-recovery.d.ts +40 -0
- package/daemon/dist/domain/queue-transfer-recovery.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-recovery.js +136 -0
- package/daemon/dist/domain/queue-transfer-recovery.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-relinquish.d.ts +70 -0
- package/daemon/dist/domain/queue-transfer-relinquish.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-relinquish.js +204 -0
- package/daemon/dist/domain/queue-transfer-relinquish.js.map +1 -0
- package/daemon/dist/domain/queue-transfer-review.d.ts +1 -0
- package/daemon/dist/domain/queue-transfer-review.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transfer-review.js +15 -13
- package/daemon/dist/domain/queue-transfer-review.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-staging.d.ts +14 -0
- package/daemon/dist/domain/queue-transfer-staging.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transfer-staging.js +9 -1
- package/daemon/dist/domain/queue-transfer-staging.js.map +1 -1
- package/daemon/dist/domain/queue-transfer-write.d.ts +14 -0
- package/daemon/dist/domain/queue-transfer-write.d.ts.map +1 -0
- package/daemon/dist/domain/queue-transfer-write.js +42 -0
- package/daemon/dist/domain/queue-transfer-write.js.map +1 -0
- package/daemon/dist/domain/queue-transition-log.d.ts +8 -0
- package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
- package/daemon/dist/domain/queue-transition-log.js +27 -14
- package/daemon/dist/domain/queue-transition-log.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts +10 -1
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js +20 -14
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts +10 -3
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +60 -23
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts +1 -0
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +21 -19
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/receiver-context.d.ts +3 -2
- package/daemon/dist/domain/receiver-context.d.ts.map +1 -1
- package/daemon/dist/domain/receiver-context.js +5 -4
- package/daemon/dist/domain/receiver-context.js.map +1 -1
- package/daemon/dist/domain/reconciler.d.ts +2 -0
- package/daemon/dist/domain/reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/reconciler.js +17 -1
- package/daemon/dist/domain/reconciler.js.map +1 -1
- package/daemon/dist/domain/relayed-answers.d.ts +1 -0
- package/daemon/dist/domain/relayed-answers.d.ts.map +1 -1
- package/daemon/dist/domain/relayed-answers.js.map +1 -1
- package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
- package/daemon/dist/domain/restore-check-service.js +9 -3
- package/daemon/dist/domain/restore-check-service.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +7 -0
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +54 -14
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/return-route.d.ts +4 -0
- package/daemon/dist/domain/return-route.d.ts.map +1 -1
- package/daemon/dist/domain/return-route.js +13 -0
- package/daemon/dist/domain/return-route.js.map +1 -1
- package/daemon/dist/domain/rig-mode/operating-posture.d.ts +3 -0
- package/daemon/dist/domain/rig-mode/operating-posture.d.ts.map +1 -1
- package/daemon/dist/domain/rig-mode/operating-posture.js +27 -8
- package/daemon/dist/domain/rig-mode/operating-posture.js.map +1 -1
- package/daemon/dist/domain/rig-status-compose.d.ts +3 -0
- package/daemon/dist/domain/rig-status-compose.d.ts.map +1 -1
- package/daemon/dist/domain/rig-status-compose.js +4 -1
- package/daemon/dist/domain/rig-status-compose.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +3 -2
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts +2 -0
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +38 -2
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +4 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +32 -13
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +3 -0
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +25 -7
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/roster-ready-notice.d.ts +1 -1
- package/daemon/dist/domain/roster-ready-notice.d.ts.map +1 -1
- package/daemon/dist/domain/roster-ready-notice.js +2 -1
- package/daemon/dist/domain/roster-ready-notice.js.map +1 -1
- package/daemon/dist/domain/runner-permissions.d.ts +3 -2
- package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
- package/daemon/dist/domain/runner-permissions.js +30 -19
- package/daemon/dist/domain/runner-permissions.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-adapter.js.map +1 -1
- package/daemon/dist/domain/scope/manifest-editor.d.ts +35 -0
- package/daemon/dist/domain/scope/manifest-editor.d.ts.map +1 -0
- package/daemon/dist/domain/scope/manifest-editor.js +197 -0
- package/daemon/dist/domain/scope/manifest-editor.js.map +1 -0
- package/daemon/dist/domain/scope/mission-frontmatter.d.ts +9 -0
- package/daemon/dist/domain/scope/mission-frontmatter.d.ts.map +1 -0
- package/daemon/dist/domain/scope/mission-frontmatter.js +36 -0
- package/daemon/dist/domain/scope/mission-frontmatter.js.map +1 -0
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +53 -20
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-cold-start.d.ts +8 -2
- package/daemon/dist/domain/seat-cold-start.d.ts.map +1 -1
- package/daemon/dist/domain/seat-cold-start.js +75 -19
- package/daemon/dist/domain/seat-cold-start.js.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts +6 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +23 -2
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-evidence.d.ts +13 -0
- package/daemon/dist/domain/seat-evidence.d.ts.map +1 -0
- package/daemon/dist/domain/seat-evidence.js +29 -0
- package/daemon/dist/domain/seat-evidence.js.map +1 -0
- package/daemon/dist/domain/seat-handover-service.d.ts +5 -1
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +49 -35
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +26 -6
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +108 -17
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts +28 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts.map +1 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.js +123 -0
- package/daemon/dist/domain/seat-pool-dispatch-guard.js.map +1 -0
- package/daemon/dist/domain/seat-pool-executor.d.ts +64 -3
- package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-executor.js +993 -102
- package/daemon/dist/domain/seat-pool-executor.js.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.d.ts +90 -2
- package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-slots.js +88 -3
- package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts +4 -1
- package/daemon/dist/domain/seat-pool-spec.d.ts.map +1 -1
- package/daemon/dist/domain/seat-pool-spec.js +14 -2
- package/daemon/dist/domain/seat-pool-spec.js.map +1 -1
- package/daemon/dist/domain/seat-reaper-eligibility.d.ts +34 -0
- package/daemon/dist/domain/seat-reaper-eligibility.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-eligibility.js +30 -0
- package/daemon/dist/domain/seat-reaper-eligibility.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-events.d.ts +31 -0
- package/daemon/dist/domain/seat-reaper-events.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-events.js +2 -0
- package/daemon/dist/domain/seat-reaper-events.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-service.d.ts +59 -0
- package/daemon/dist/domain/seat-reaper-service.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-service.js +311 -0
- package/daemon/dist/domain/seat-reaper-service.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-settings.d.ts +14 -0
- package/daemon/dist/domain/seat-reaper-settings.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-settings.js +32 -0
- package/daemon/dist/domain/seat-reaper-settings.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-store.d.ts +19 -0
- package/daemon/dist/domain/seat-reaper-store.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-store.js +45 -0
- package/daemon/dist/domain/seat-reaper-store.js.map +1 -0
- package/daemon/dist/domain/seat-reaper-workspace.d.ts +4 -0
- package/daemon/dist/domain/seat-reaper-workspace.d.ts.map +1 -0
- package/daemon/dist/domain/seat-reaper-workspace.js +43 -0
- package/daemon/dist/domain/seat-reaper-workspace.js.map +1 -0
- package/daemon/dist/domain/seat-restart-in-place.d.ts +11 -3
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +39 -48
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-runtime-switch-service.js +5 -7
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
- package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -1
- package/daemon/dist/domain/seat-skill-storage.js +27 -5
- package/daemon/dist/domain/seat-skill-storage.js.map +1 -1
- package/daemon/dist/domain/seat-standby.d.ts +13 -0
- package/daemon/dist/domain/seat-standby.d.ts.map +1 -0
- package/daemon/dist/domain/seat-standby.js +21 -0
- package/daemon/dist/domain/seat-standby.js.map +1 -0
- package/daemon/dist/domain/seat-startup-text.d.ts +159 -0
- package/daemon/dist/domain/seat-startup-text.d.ts.map +1 -0
- package/daemon/dist/domain/seat-startup-text.js +200 -0
- package/daemon/dist/domain/seat-startup-text.js.map +1 -0
- package/daemon/dist/domain/seat-status-service.d.ts +18 -0
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +25 -5
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.d.ts +7 -0
- package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.js +16 -1
- package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +15 -3
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +52 -5
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +12 -5
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +129 -18
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/shared-conversation.d.ts.map +1 -1
- package/daemon/dist/domain/shared-conversation.js +3 -1
- package/daemon/dist/domain/shared-conversation.js.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.d.ts +2 -2
- package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
- package/daemon/dist/domain/slices/slice-indexer.js +4 -15
- package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
- package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
- package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-capture.js +14 -18
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/daemon/dist/domain/snapshot-repository.d.ts +37 -0
- package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-repository.js +68 -0
- package/daemon/dist/domain/snapshot-repository.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +8 -20
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +94 -27
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +4 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +12 -1
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +9 -5
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +17 -6
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts +2 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js +54 -0
- package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js.map +1 -0
- package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +28 -3
- package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-app-provider.js +216 -52
- package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-app-state.d.ts +7 -2
- package/daemon/dist/domain/terminal/herdr-app-state.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-app-state.js.map +1 -1
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +17 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts +4 -4
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.js +14 -8
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +71 -4
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/usage-samples-store.d.ts.map +1 -1
- package/daemon/dist/domain/usage-samples-store.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 +45 -2
- package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
- package/daemon/dist/domain/view-projector.d.ts.map +1 -1
- package/daemon/dist/domain/view-projector.js +5 -2
- package/daemon/dist/domain/view-projector.js.map +1 -1
- package/daemon/dist/domain/watchdog-delivery.d.ts +3 -0
- package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-delivery.js +26 -4
- package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
- package/daemon/dist/domain/watchdog-history-log.d.ts +10 -0
- package/daemon/dist/domain/watchdog-history-log.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-history-log.js +35 -1
- package/daemon/dist/domain/watchdog-history-log.js.map +1 -1
- package/daemon/dist/domain/watchdog-job-update.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-job-update.js +29 -4
- package/daemon/dist/domain/watchdog-job-update.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +4 -1
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.d.ts +4 -0
- package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-scheduler.js +14 -0
- package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
- package/daemon/dist/domain/workflow-role-context.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-role-context.js +1 -0
- package/daemon/dist/domain/workflow-role-context.js.map +1 -1
- package/daemon/dist/domain/workflow-role-resolver.d.ts +3 -0
- package/daemon/dist/domain/workflow-role-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-role-resolver.js +12 -6
- package/daemon/dist/domain/workflow-role-resolver.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 +16 -9
- package/daemon/dist/domain/workspace/project-catalog.js.map +1 -1
- package/daemon/dist/domain/workspace/project-registration.d.ts +5 -1
- package/daemon/dist/domain/workspace/project-registration.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-registration.js +11 -7
- package/daemon/dist/domain/workspace/project-registration.js.map +1 -1
- package/daemon/dist/index.d.ts +3 -0
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +14 -4
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/middleware/auth-bearer-token.d.ts +8 -12
- package/daemon/dist/middleware/auth-bearer-token.d.ts.map +1 -1
- package/daemon/dist/middleware/auth-bearer-token.js +18 -36
- package/daemon/dist/middleware/auth-bearer-token.js.map +1 -1
- package/daemon/dist/queue-transfer-records-surface.d.ts +6 -0
- package/daemon/dist/queue-transfer-records-surface.d.ts.map +1 -0
- package/daemon/dist/queue-transfer-records-surface.js +6 -0
- package/daemon/dist/queue-transfer-records-surface.js.map +1 -0
- package/daemon/dist/rig-lookup-surface.d.ts +2 -0
- package/daemon/dist/rig-lookup-surface.d.ts.map +1 -0
- package/daemon/dist/rig-lookup-surface.js +5 -0
- package/daemon/dist/rig-lookup-surface.js.map +1 -0
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +4 -3
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/attention.d.ts.map +1 -1
- package/daemon/dist/routes/attention.js +3 -1
- package/daemon/dist/routes/attention.js.map +1 -1
- package/daemon/dist/routes/compaction.d.ts.map +1 -1
- package/daemon/dist/routes/compaction.js +2 -0
- package/daemon/dist/routes/compaction.js.map +1 -1
- package/daemon/dist/routes/mission-control.d.ts.map +1 -1
- package/daemon/dist/routes/mission-control.js +2 -1
- package/daemon/dist/routes/mission-control.js.map +1 -1
- package/daemon/dist/routes/missions.d.ts +3 -6
- package/daemon/dist/routes/missions.d.ts.map +1 -1
- package/daemon/dist/routes/missions.js +42 -76
- package/daemon/dist/routes/missions.js.map +1 -1
- package/daemon/dist/routes/network.d.ts.map +1 -1
- package/daemon/dist/routes/network.js +19 -1
- package/daemon/dist/routes/network.js.map +1 -1
- package/daemon/dist/routes/provider.d.ts.map +1 -1
- package/daemon/dist/routes/provider.js +156 -5
- package/daemon/dist/routes/provider.js.map +1 -1
- package/daemon/dist/routes/queue-transfer.d.ts +9 -0
- package/daemon/dist/routes/queue-transfer.d.ts.map +1 -0
- package/daemon/dist/routes/queue-transfer.js +109 -0
- package/daemon/dist/routes/queue-transfer.js.map +1 -0
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +80 -51
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/rigs.js +3 -0
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/rigspec.d.ts.map +1 -1
- package/daemon/dist/routes/rigspec.js +4 -0
- package/daemon/dist/routes/rigspec.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +19 -3
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/terminal-ws.d.ts +0 -5
- package/daemon/dist/routes/terminal-ws.d.ts.map +1 -1
- package/daemon/dist/routes/terminal-ws.js +0 -6
- package/daemon/dist/routes/terminal-ws.js.map +1 -1
- package/daemon/dist/routes/transport.js +1 -1
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/scope-manifest-surface.d.ts +4 -0
- package/daemon/dist/scope-manifest-surface.d.ts.map +1 -0
- package/daemon/dist/scope-manifest-surface.js +4 -0
- package/daemon/dist/scope-manifest-surface.js.map +1 -0
- package/daemon/dist/server.d.ts +2 -1
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +6 -6
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +126 -61
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-startup-guide.md +26 -4
- package/daemon/docs/reference/agent-state-taxonomy.md +22 -1
- package/daemon/docs/reference/claude-status-line.md +28 -0
- package/daemon/docs/reference/community-harness-examples/hermes/hermes.yaml +3 -0
- package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +10 -0
- package/daemon/docs/reference/community-harness-presets.md +79 -8
- package/daemon/docs/reference/daemon-http-clients.md +49 -2
- package/daemon/docs/reference/getting-started.md +73 -11
- package/daemon/docs/reference/harness-runner-contract.md +12 -4
- package/daemon/docs/reference/help.md +9 -0
- package/daemon/docs/reference/herdr-app.md +45 -4
- package/daemon/docs/reference/hosted-members.md +1 -1
- package/daemon/docs/reference/network-connector.md +66 -1
- package/daemon/docs/reference/pi-tool-selection-recovery.md +13 -29
- package/daemon/docs/reference/queue-transfer-activation.md +89 -0
- package/daemon/docs/reference/queue-transfer-staging.md +1 -1
- package/daemon/docs/reference/quickstart.md +4 -4
- package/daemon/docs/reference/refocus-channel.md +21 -0
- package/daemon/docs/reference/rig-bundle.md +25 -0
- package/daemon/docs/reference/rig-spec.md +218 -23
- package/daemon/docs/reference/scoped-operating-posture.md +6 -1
- package/daemon/docs/reference/sdlc-conventions.md +10 -4
- package/daemon/docs/reference/seat-delivery.md +108 -12
- package/daemon/docs/reference/seat-node-targeting.md +2 -2
- package/daemon/docs/reference/seat-pools.md +181 -18
- package/daemon/docs/reference/seat-scaling.md +137 -0
- package/daemon/docs/reference/whats-new.md +190 -14
- package/daemon/specs/agents/development/implementer/guidance/role.md +11 -0
- package/daemon/specs/agents/development/qa/guidance/role.md +5 -0
- package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +9 -1
- package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +32 -19
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +8 -3
- package/dist/build-info.js +3 -3
- package/dist/cli-error.d.ts +2 -0
- package/dist/cli-error.d.ts.map +1 -1
- package/dist/cli-error.js +25 -8
- package/dist/cli-error.js.map +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +13 -0
- package/dist/client.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +52 -1
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +3 -0
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/crash-cart.d.ts.map +1 -1
- package/dist/commands/crash-cart.js +65 -17
- package/dist/commands/crash-cart.js.map +1 -1
- package/dist/commands/daemon.d.ts +7 -20
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +117 -46
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/doctor.d.ts +26 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +148 -2
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/import.d.ts +5 -0
- package/dist/commands/import.d.ts.map +1 -1
- package/dist/commands/import.js +24 -4
- package/dist/commands/import.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 +4 -0
- package/dist/commands/network.d.ts.map +1 -1
- package/dist/commands/network.js +78 -10
- package/dist/commands/network.js.map +1 -1
- package/dist/commands/provider.d.ts +5 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +427 -17
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/ps.d.ts +16 -1
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +35 -4
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue-transfer.d.ts +10 -0
- package/dist/commands/queue-transfer.d.ts.map +1 -0
- package/dist/commands/queue-transfer.js +140 -0
- package/dist/commands/queue-transfer.js.map +1 -0
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +20 -6
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +258 -17
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +132 -23
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/setup.d.ts +34 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +111 -18
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/terminal.d.ts +11 -0
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +10 -7
- package/dist/commands/terminal.js.map +1 -1
- package/dist/config-store.d.ts +9 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +46 -0
- package/dist/config-store.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +53 -2
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +500 -192
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/daemon-reachability.js +2 -2
- package/dist/daemon-reachability.js.map +1 -1
- package/dist/daemon-start-lock.d.ts +28 -0
- package/dist/daemon-start-lock.d.ts.map +1 -1
- package/dist/daemon-start-lock.js +107 -13
- package/dist/daemon-start-lock.js.map +1 -1
- package/dist/lib/seat-activity.d.ts +4 -1
- package/dist/lib/seat-activity.d.ts.map +1 -1
- package/dist/lib/seat-activity.js +4 -3
- package/dist/lib/seat-activity.js.map +1 -1
- package/dist/mcp-server.d.ts +2 -2
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +126 -27
- package/dist/mcp-server.js.map +1 -1
- package/dist/process-liveness.d.ts +21 -0
- package/dist/process-liveness.d.ts.map +1 -0
- package/dist/process-liveness.js +43 -0
- package/dist/process-liveness.js.map +1 -0
- package/dist/remote-host-ops.d.ts +1 -1
- package/dist/remote-host-ops.d.ts.map +1 -1
- package/dist/remote-host-ops.js +3 -14
- package/dist/remote-host-ops.js.map +1 -1
- package/dist/system-preflight.d.ts +9 -0
- package/dist/system-preflight.d.ts.map +1 -1
- package/dist/system-preflight.js +27 -8
- package/dist/system-preflight.js.map +1 -1
- package/dist/tmux-health.d.ts +10 -1
- package/dist/tmux-health.d.ts.map +1 -1
- package/dist/tmux-health.js +31 -2
- package/dist/tmux-health.js.map +1 -1
- package/package.json +4 -2
- package/scripts/check-abi.mjs +18 -2
- 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 +6 -0
- package/tui/dist/attention/attention-model.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +21 -2
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +36 -5
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +6 -2
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/main.js +11 -8
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/terminals/open-window.d.ts +9 -3
- package/tui/dist/terminals/open-window.d.ts.map +1 -1
- package/tui/dist/terminals/open-window.js +22 -4
- package/tui/dist/terminals/open-window.js.map +1 -1
- package/tui/dist/terminals/terminal-model.d.ts +3 -0
- package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
- package/tui/dist/terminals/terminal-model.js +6 -1
- package/tui/dist/terminals/terminal-model.js.map +1 -1
- package/tui/dist/topology/glyphs.d.ts.map +1 -1
- package/tui/dist/topology/glyphs.js +11 -1
- package/tui/dist/topology/glyphs.js.map +1 -1
- package/tui/dist/topology/graph-types.d.ts +8 -0
- package/tui/dist/topology/graph-types.d.ts.map +1 -1
- package/tui/dist/types.d.ts +3 -2
- package/tui/dist/types.d.ts.map +1 -1
- package/ui/dist/assets/{index-DG_7XFcL.js → index-D7OUklzs.js} +148 -148
- package/ui/dist/index.html +1 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { accountHomePlanMatches } from "../lib/account-home-switch.js";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import { Command } from "commander";
|
|
4
|
-
import { DaemonClient, DaemonTimeoutError } from "../client.js";
|
|
4
|
+
import { DaemonClient, DaemonConnectionError, DaemonTimeoutError } from "../client.js";
|
|
5
|
+
import { shellQuote } from "../cross-host-executor.js";
|
|
6
|
+
import { requestMayHaveArrived } from "../remote-host-ops.js";
|
|
5
7
|
import { getDaemonStatus, getDaemonUrl, daemonStatusGuard } from "../daemon-lifecycle.js";
|
|
6
8
|
import { realDeps } from "./daemon.js";
|
|
9
|
+
import { localSelfHostId, originFor, runOnSshHost } from "../lib/run-on-host.js";
|
|
7
10
|
// Slice-04 (OPR.0.5.0.4) — the `rig provider` CLI verb surface (packet 3ffa3c22 §3), grammar per
|
|
8
11
|
// the auth.ts precedent (conventions/cli-read-command-grammar). Daemon-backed: reads/precheck go
|
|
9
12
|
// through the DaemonClient to the daemon's four-block read model + precheck; switch POSTs the
|
|
@@ -17,6 +20,7 @@ export const USAGE_ACROSS_HOSTS_READ_TIMEOUT_MS = 20_000;
|
|
|
17
20
|
// The refresh answers after its slowest leg (Codex 50 s; all legs run at once), with the same view by its 15 s
|
|
18
21
|
// deadline: 50 s + 15 s + a 10 s margin = 75 s.
|
|
19
22
|
export const USAGE_ACROSS_HOSTS_REFRESH_TIMEOUT_MS = 75_000;
|
|
23
|
+
const VALID_ACCOUNT_PROVIDERS = ["claude", "codex"];
|
|
20
24
|
// A switch waits as long as `rig seat restart` does: the seat's in-place restart runs inside it.
|
|
21
25
|
const SWITCH_TIMEOUT_MS = 120_000;
|
|
22
26
|
function printSeat(seat) {
|
|
@@ -52,8 +56,8 @@ function printClaude(claude) {
|
|
|
52
56
|
console.log(`not checked (the seat's /status shows what it uses): ${claude.notChecked.join("; ")}`);
|
|
53
57
|
}
|
|
54
58
|
/** Build provider views and account switches; an isolated-home switch first requires the daemon to acknowledge its plan. */
|
|
55
|
-
export function providerCommand(depsOverride) {
|
|
56
|
-
const cmd = new Command("provider").description("Provider accounts and usage signals, and moving one
|
|
59
|
+
export function providerCommand(depsOverride, remote = {}) {
|
|
60
|
+
const cmd = new Command("provider").description("Provider accounts and usage signals, and moving seats to another account: one seat with switch, a whole rig with assign");
|
|
57
61
|
const getDeps = () => depsOverride ?? { lifecycleDeps: realDeps(), clientFactory: (url) => new DaemonClient(url) };
|
|
58
62
|
async function getClient(deps) {
|
|
59
63
|
const status = await getDaemonStatus(deps.lifecycleDeps);
|
|
@@ -161,6 +165,18 @@ export function providerCommand(depsOverride) {
|
|
|
161
165
|
renderUsage(m["usage"]);
|
|
162
166
|
if (Array.isArray(m["seatAccounts"]))
|
|
163
167
|
renderSeatAccounts(m["seatAccounts"]);
|
|
168
|
+
// #3625 — without the seat accounts (usage windows off), the seats with an assignment or a result print on their own.
|
|
169
|
+
else {
|
|
170
|
+
const assigned = bindings.filter((b) => assignmentLines(b).length > 0);
|
|
171
|
+
if (assigned.length) {
|
|
172
|
+
console.log("ASSIGNMENTS (configured account against the rig's assignment; not proof of the login a running session uses)");
|
|
173
|
+
for (const b of assigned) {
|
|
174
|
+
console.log(` ${b["seatSession"]} ${b["runtime"]} ${configuredText((b["configured"] ?? {}), follows(b))}`);
|
|
175
|
+
for (const line of assignmentLines(b))
|
|
176
|
+
console.log(line);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
164
180
|
}
|
|
165
181
|
// Slice 01 — each seat's configured account and its source (present only while provider.usage_windows is on).
|
|
166
182
|
// Configuration, never an observed account: the allowance stays unlinked, with the reason.
|
|
@@ -169,19 +185,66 @@ export function providerCommand(depsOverride) {
|
|
|
169
185
|
function failureText(f) {
|
|
170
186
|
return `${f["reason"] ?? "no reason given"}${f["detail"] !== undefined ? ` (${f["detail"]})` : ""}`;
|
|
171
187
|
}
|
|
188
|
+
// #3625: who set a rig's assignment. A request from outside any seat (e.g. rig run from a plain shell) stores none.
|
|
189
|
+
function setBy(requestedBy) { return typeof requestedBy === "string" && requestedBy ? requestedBy : "a caller that isn't a seat"; }
|
|
190
|
+
// A seat that follows its rig's assignment has that account in its own file or home: worded as the assignment, not as a
|
|
191
|
+
// choice of its own.
|
|
192
|
+
function configuredText(c, follows = false) {
|
|
193
|
+
return c["source"] === "registry"
|
|
194
|
+
? `configured: profile ${c["profileRef"]} (registry, recorded ${c["recordedAt"]}${c["profileSaved"] === false ? "; profile not saved on this host" : c["profileSaved"] === null ? "; whether the profile is saved: unknown" : ""})`
|
|
195
|
+
: c["source"] === "claude_token"
|
|
196
|
+
? `configured: ${c["kind"] === "api-key" ? "API key" : "token"} ${c["label"]} (${follows ? "its credential file, as the rig is assigned" : "the seat's own credential file"})`
|
|
197
|
+
: c["source"] === "default_login" && c["homeFrom"]
|
|
198
|
+
? `configured: ${follows ? "the seat's home" : "the seat's own home"} (${c["home"]}, from its ${c["homeFrom"]} env${follows ? ", as the rig is assigned" : ""})`
|
|
199
|
+
: c["source"] === "default_login"
|
|
200
|
+
? `configured: default login${c["home"] ? ` (${c["home"]})` : ""}`
|
|
201
|
+
: `configured: unknown (${c["reason"]})`;
|
|
202
|
+
}
|
|
203
|
+
// #3625 slice 4 — a seat against its rig's assignment: what the rig is assigned, where this seat's configuration stands
|
|
204
|
+
// against it, and its last applied result. Configuration and stored results, never the login a session uses. Nothing
|
|
205
|
+
// prints for a seat whose rig has no assignment and that has no result.
|
|
206
|
+
// A seat not on its rig's assignment, worded from its last result: none, one that moved it to an earlier assignment, an
|
|
207
|
+
// unknown one (which may have moved it), or one that didn't move it.
|
|
208
|
+
function notAppliedText(intended, applied) {
|
|
209
|
+
if (!applied)
|
|
210
|
+
return "not applied to this seat yet";
|
|
211
|
+
if (applied["kind"] === "unknown")
|
|
212
|
+
return "this seat isn't known to be configured as assigned: its last result is unknown and may have moved it (see its recovery)";
|
|
213
|
+
if ((applied["kind"] === "switched" || applied["kind"] === "pending_successor") && applied["label"] !== intended?.["label"]) {
|
|
214
|
+
return `this seat isn't configured as assigned yet: its last result moved it to ${applied["label"]}, an earlier assignment`;
|
|
215
|
+
}
|
|
216
|
+
return "this seat isn't configured as assigned: its last result didn't move it";
|
|
217
|
+
}
|
|
218
|
+
const follows = (r) => r["assignment"]?.["state"] === "follows";
|
|
219
|
+
function assignmentLines(r) {
|
|
220
|
+
const a = r["assignment"];
|
|
221
|
+
if (!a || (a["state"] === "no_assignment" && !a["applied"]))
|
|
222
|
+
return [];
|
|
223
|
+
const intended = a["intended"];
|
|
224
|
+
const applied = a["applied"];
|
|
225
|
+
const standing = a["state"] === "follows" ? (a["asApplied"] ? `this seat is still as the apply of ${intended?.["label"]} left its home` : "this seat is configured as assigned")
|
|
226
|
+
: a["state"] === "override" ? `this seat is configured with its own choice: ${a["override"] ?? "another account"}`
|
|
227
|
+
: a["state"] === "not_applied" ? notAppliedText(intended, applied)
|
|
228
|
+
: "";
|
|
229
|
+
const lines = [intended
|
|
230
|
+
? ` assignment: rig ${r["rigName"]}'s ${a["provider"]} seats to ${intended["label"]} (${intended["reference"]}), set ${intended["at"]} by ${setBy(intended["requestedBy"])}; ${standing}`
|
|
231
|
+
: ` assignment: none for rig ${r["rigName"]}'s ${a["provider"]} seats`];
|
|
232
|
+
if (intended && a["referenceMissing"]) {
|
|
233
|
+
lines.push(` reference missing: ${intended["label"]} was removed from this daemon's ${a["provider"]} accounts, so this seat is compared only `
|
|
234
|
+
+ `with what an apply left it; add the label again or assign another account`);
|
|
235
|
+
}
|
|
236
|
+
if (applied) {
|
|
237
|
+
lines.push(` last applied: ${String(applied["kind"]).replace(/_/g, "-")} (${applied["label"]}, ${applied["at"]}): ${applied["detail"]}`);
|
|
238
|
+
if (applied["recovery"])
|
|
239
|
+
lines.push(` recovery: ${applied["recovery"]}`);
|
|
240
|
+
}
|
|
241
|
+
return lines;
|
|
242
|
+
}
|
|
172
243
|
function renderSeatAccounts(rows, where = "") {
|
|
173
244
|
console.log(`SEATS${where} (configured account; not proof of the login a running session uses)`);
|
|
174
245
|
for (const r of rows) {
|
|
175
246
|
const c = (r["configured"] ?? {});
|
|
176
|
-
const configured = c
|
|
177
|
-
? `configured: profile ${c["profileRef"]} (registry, recorded ${c["recordedAt"]}${c["profileSaved"] === false ? "; profile not saved on this host" : c["profileSaved"] === null ? "; whether the profile is saved: unknown" : ""})`
|
|
178
|
-
: c["source"] === "claude_token"
|
|
179
|
-
? `configured: ${c["kind"] === "api-key" ? "API key" : "token"} ${c["label"]} (the seat's own credential file)`
|
|
180
|
-
: c["source"] === "default_login" && c["homeFrom"]
|
|
181
|
-
? `configured: the seat's own home (${c["home"]}, from its ${c["homeFrom"]} env)`
|
|
182
|
-
: c["source"] === "default_login"
|
|
183
|
-
? `configured: default login${c["home"] ? ` (${c["home"]})` : ""}`
|
|
184
|
-
: `configured: unknown (${c["reason"]})`;
|
|
247
|
+
const configured = configuredText(c, follows(r));
|
|
185
248
|
const allowance = (r["allowance"] ?? {});
|
|
186
249
|
console.log(` ${r["seatSession"]} ${r["runtime"]} ${configured} · allowance not linked`);
|
|
187
250
|
if (c["source"] === "default_login" && c["homeNote"])
|
|
@@ -205,6 +268,8 @@ export function providerCommand(depsOverride) {
|
|
|
205
268
|
console.log(` observed: ${observed["note"]}`);
|
|
206
269
|
if (allowance["reason"])
|
|
207
270
|
console.log(` allowance not linked: ${allowance["reason"]}`);
|
|
271
|
+
for (const line of assignmentLines(r))
|
|
272
|
+
console.log(line);
|
|
208
273
|
}
|
|
209
274
|
}
|
|
210
275
|
function windowName(w) {
|
|
@@ -427,7 +492,13 @@ export function providerCommand(depsOverride) {
|
|
|
427
492
|
}
|
|
428
493
|
cmd
|
|
429
494
|
.command("status")
|
|
430
|
-
.description("The whole four-block provider read model (accounts, bindings, signals)")
|
|
495
|
+
.description("The whole four-block provider read model (accounts, bindings, signals), with each seat's account assignment")
|
|
496
|
+
.addHelpText("after", `
|
|
497
|
+
Each Claude and Codex seat whose rig has an assignment (rig provider assign) is shown against it: follows (configured as
|
|
498
|
+
the assigned account, or still as its apply left it), override (its own choice of another account), or not applied yet,
|
|
499
|
+
with its last applied result. In --json this is assignment on each bindings row, and on each seatAccounts row when usage
|
|
500
|
+
windows are on. Configured and applied are what the seat's next launch uses and what an apply reported, not proof of the
|
|
501
|
+
login a running session uses.`)
|
|
431
502
|
.option("--json", "Output as parseable JSON")
|
|
432
503
|
.option("--refresh", "First read the Codex login's usage windows and the Claude login's identity natively (up to 35 s here, 75 s with --all-hosts/--hosts; provider.usage_windows is off by default: rig config set provider.usage_windows true)")
|
|
433
504
|
.option("--provider <p>", "With --refresh, read only this provider (codex|claude)")
|
|
@@ -435,6 +506,7 @@ export function providerCommand(depsOverride) {
|
|
|
435
506
|
.option("--credential-label <label>", "Operator label for the selected Claude token file; not provider-observed account identity")
|
|
436
507
|
.option("--all-hosts", "Usage windows across every registered host, as each host already holds them (off by default: rig config set provider.usage_windows true)")
|
|
437
508
|
.option("--hosts <ids>", "Like --all-hosts, for these registered hosts (comma-separated); this host is always included, so --hosts b --refresh also reads this daemon")
|
|
509
|
+
.option("--host <id>", "Run this status on that registered machine over its SSH entry, with the same output and --json")
|
|
438
510
|
.action(async (opts) => {
|
|
439
511
|
if (opts.provider !== undefined && opts.provider !== "codex" && opts.provider !== "claude") {
|
|
440
512
|
console.error(`--provider must be codex or claude (got ${opts.provider})`);
|
|
@@ -447,6 +519,16 @@ export function providerCommand(depsOverride) {
|
|
|
447
519
|
process.exitCode = 1;
|
|
448
520
|
return;
|
|
449
521
|
}
|
|
522
|
+
if (opts.host !== undefined) {
|
|
523
|
+
if (opts.allHosts || opts.hosts !== undefined || tokenSelected) {
|
|
524
|
+
console.error("--host runs status on one machine: drop --all-hosts, --hosts and the token probe, or run them without --host.");
|
|
525
|
+
process.exitCode = 1;
|
|
526
|
+
return;
|
|
527
|
+
}
|
|
528
|
+
// A read: a lost connection is a plain failure, since it changes nothing there.
|
|
529
|
+
return onHost(opts.host, ["provider", "status", ...(opts.refresh ? ["--refresh"] : []), ...(opts.provider ? ["--provider", opts.provider] : []),
|
|
530
|
+
...(opts.json ? ["--json"] : [])], { json: opts.json });
|
|
531
|
+
}
|
|
450
532
|
if (tokenSelected)
|
|
451
533
|
console.error("Claude token usage refresh spends one model turn; timeout or refusal does not prove no allowance was consumed.");
|
|
452
534
|
const client = await getClient(getDeps());
|
|
@@ -619,17 +701,27 @@ conversation. Then, holding the seat so no other stop, launch or switch runs on
|
|
|
619
701
|
relaunches the seat from that snapshot in its own pane: Claude ends there, the pane and its scrollback stay, and restore
|
|
620
702
|
resumes the same conversation in it. Work in flight when it stopped doesn't carry over. Only a refusal before Claude was
|
|
621
703
|
touched reads as unchanged; a relaunch that doesn't report a resumed conversation reads unknown, with the snapshot's recovery
|
|
622
|
-
command, and isn't retried.
|
|
704
|
+
command, and isn't retried. A resumed seat's report says whether the token took effect (tokenApplied in --json): false
|
|
705
|
+
when the launch couldn't apply the file, so Claude runs on whatever credential it would otherwise receive (the config dir's
|
|
706
|
+
stored login, a token the daemon gives every seat, or one in the seat's env:), which may be another account; null when
|
|
707
|
+
OpenRig couldn't tell, with the reason. Null doesn't mean the token failed: the seat's pane shows OpenRig's notice when it
|
|
708
|
+
didn't take effect.
|
|
709
|
+
The relaunch uses the seat's own effort choice (rig seat set-effort) when there is one; otherwise
|
|
623
710
|
it asks to keep the running effort, and uses the seat's saved effort when it can't. The report's effort line says which.
|
|
624
711
|
A stopped seat isn't relaunched, and no snapshot is taken: the reference is saved only when the seat's next launch would
|
|
625
712
|
resume its conversation, and the report prints that launch (rig launch <rig> <seat> --snapshot-id <id>, or a plain rig launch
|
|
626
713
|
when restore's periodic carry resumes it). Otherwise it refuses and nothing changes.
|
|
714
|
+
A seat that has never launched (materialized, with no session yet) has no conversation to resume: the reference is saved for
|
|
715
|
+
its first launch, in the same write that checks the seat still hasn't launched, with a record naming who asked, and the
|
|
716
|
+
report prints rig launch <rig> <seat>. A first launch that started meanwhile is left as it is; run the switch again.
|
|
627
717
|
Seats sharing the config dir keep their own login: Claude Code reads the token from that one process's environment and doesn't
|
|
628
718
|
save it. That environment is Claude's, so the tools, hooks and MCP servers it starts inherit the token, and one that prints its
|
|
629
719
|
environment writes it into the transcript. A token-authenticated seat can make model requests but can't use claude.ai
|
|
630
720
|
connectors or Remote Control; its local MCP servers still work. --stored-login moves it back to the config dir's stored login;
|
|
631
|
-
a CLAUDE_CODE_OAUTH_TOKEN the seat still receives outranks that login
|
|
632
|
-
|
|
721
|
+
a CLAUDE_CODE_OAUTH_TOKEN the seat still receives outranks that login. The report names one the switch's check finds (the
|
|
722
|
+
daemon's environment, the seat's env: or its settings files); one the pane shell exports isn't checked or named. Claude
|
|
723
|
+
doesn't report which account a token belongs to (claude auth status says only that a token is set), so the label is yours,
|
|
724
|
+
not an observed account.
|
|
633
725
|
For Claude API billing use --to-account <label> --api-key-file <absolute path to a 0600 file>. The key reaches only the
|
|
634
726
|
resumed child's environment, never command arguments. API credentials fail closed if their file is unavailable. Existing
|
|
635
727
|
model, permissions, config home and conversation are retained; in-flight work is interrupted. Claude may require native
|
|
@@ -808,7 +900,8 @@ CLAUDE_CONFIG_DIR and are not isolated by an account home; check them before rel
|
|
|
808
900
|
}
|
|
809
901
|
else if (seat) {
|
|
810
902
|
console.log(`Claude ${seat.credentialKind === "api-key" ? "API key" : "token"}: ${seat.tokenFile ? `"${seat.account}", read from ${seat.tokenFile}` : "the config dir's stored login"}${seat.loginChanged
|
|
811
|
-
? seat.tokenApplied === false ? " (reference saved; the token didn't take effect)"
|
|
903
|
+
? seat.tokenApplied === false ? " (reference saved; the token didn't take effect)"
|
|
904
|
+
: seat.tokenApplied === null ? " (reference saved; whether the token took effect is unknown)" : " (set)" : ""}`);
|
|
812
905
|
for (const warning of seat.warnings ?? [])
|
|
813
906
|
console.log(`warning: ${warning}`);
|
|
814
907
|
if (seat.effort)
|
|
@@ -931,6 +1024,323 @@ switch or restart because a report was refused.`)
|
|
|
931
1024
|
handleHttpError(res, "move report");
|
|
932
1025
|
}
|
|
933
1026
|
});
|
|
1027
|
+
const describeRef = (a) => a.kind === "codex_saved_login" ? `the login ${a.login} saved in ${a.codexHome}`
|
|
1028
|
+
: `the ${a.kind === "claude_api_key_file" ? "API-key" : "token"} file ${a.file}`;
|
|
1029
|
+
const onHost = async (hostId, argv, opts) => {
|
|
1030
|
+
const env = remote.env ?? process.env;
|
|
1031
|
+
const seat = (env.OPENRIG_SESSION_NAME ?? env.RIGGED_SESSION_NAME)?.trim() || undefined;
|
|
1032
|
+
const origin = await originFor(seat, remote.host?.selfHostId ?? (() => localSelfHostId(realDeps())));
|
|
1033
|
+
await runOnSshHost(hostId, argv.slice(0, 3).filter((a) => !a.startsWith("-")).join(" "), argv, {
|
|
1034
|
+
origin, ...(opts.json ? { json: true } : {}), ...(opts.changes ? { changes: { check: opts.changes } } : {}),
|
|
1035
|
+
}, remote.host);
|
|
1036
|
+
};
|
|
1037
|
+
const refusal = (message) => { console.error(message); process.exitCode = 1; };
|
|
1038
|
+
const providerProblem = (provider, required) => provider === undefined ? (required ? "Name the provider: --provider claude or --provider codex." : null)
|
|
1039
|
+
: VALID_ACCOUNT_PROVIDERS.includes(provider) ? null : `--provider must be claude or codex, not ${provider}.`;
|
|
1040
|
+
const account = cmd
|
|
1041
|
+
.command("account")
|
|
1042
|
+
.description("Accounts this daemon knows by your label: a Claude token or API-key file, or a Codex login saved in a Codex home")
|
|
1043
|
+
.addHelpText("after", `
|
|
1044
|
+
Each account is your label and a reference on the daemon's own machine: the absolute path of a file holding a Claude
|
|
1045
|
+
subscription token or API key, or a Codex home and the name of a login saved there (rig auth list --codex-home <home>
|
|
1046
|
+
lists them). Only the reference is kept: the file isn't read or copied, and no credential passes through OpenRig. Adding
|
|
1047
|
+
one checks it first, as rig provider switch does: the file exists, is a regular file and isn't empty (an API-key file
|
|
1048
|
+
must also be private, 0600 or 0400; a token file others can read is added with a warning), or the login is saved in
|
|
1049
|
+
that home. A refusal says why and stores nothing. A label is unique per provider, and the same label can name
|
|
1050
|
+
a Claude and a Codex account. A label is your name for a reference, not proof of the login a running seat uses.
|
|
1051
|
+
|
|
1052
|
+
With --host, the command runs on that registered machine over its SSH entry, as this seat, and the reference is a path on
|
|
1053
|
+
that machine. Only the command and its output cross the connection.`);
|
|
1054
|
+
account
|
|
1055
|
+
.command("add <label>")
|
|
1056
|
+
.description("Add an account by label, after checking its reference on the daemon's machine")
|
|
1057
|
+
.option("--provider <p>", "claude or codex")
|
|
1058
|
+
.option("--token-file <path>", "Claude: the absolute path of a file holding a subscription token (0600 or 0400 recommended)")
|
|
1059
|
+
.option("--api-key-file <path>", "Claude: the absolute path of a 0600 or 0400 file holding an API key")
|
|
1060
|
+
.option("--codex-home <dir>", "Codex: the Codex home the login is saved in")
|
|
1061
|
+
.option("--login <name>", "Codex: the saved login's name in that home")
|
|
1062
|
+
.option("--host <id>", "Add it on this registered machine instead, over its SSH entry; the paths are on that machine")
|
|
1063
|
+
.option("--json", "Output as parseable JSON")
|
|
1064
|
+
.action(async (label, opts) => {
|
|
1065
|
+
const problem = providerProblem(opts.provider, true) ?? (opts.provider === "claude"
|
|
1066
|
+
? (opts.codexHome !== undefined || opts.login !== undefined ? "A Claude account is a --token-file or --api-key-file, not --codex-home or --login."
|
|
1067
|
+
: (opts.tokenFile === undefined) === (opts.apiKeyFile === undefined) ? "A Claude account needs one of --token-file <path> or --api-key-file <path>." : null)
|
|
1068
|
+
: opts.tokenFile !== undefined || opts.apiKeyFile !== undefined ? "A Codex account is --codex-home and --login, not a token or API-key file."
|
|
1069
|
+
: opts.codexHome === undefined || opts.login === undefined ? "A Codex account needs --codex-home <dir> and --login <name>." : null);
|
|
1070
|
+
if (problem)
|
|
1071
|
+
return refusal(`${problem} Nothing was stored.`);
|
|
1072
|
+
const fields = [["--token-file", opts.tokenFile], ["--api-key-file", opts.apiKeyFile], ["--codex-home", opts.codexHome], ["--login", opts.login]];
|
|
1073
|
+
if (opts.host) {
|
|
1074
|
+
return onHost(opts.host, ["provider", "account", "add", label, "--provider", opts.provider,
|
|
1075
|
+
...fields.flatMap(([flag, value]) => value === undefined ? [] : [flag, value]), ...(opts.json ? ["--json"] : [])], { json: opts.json, changes: `rig provider account list --host ${opts.host} --provider ${opts.provider}` });
|
|
1076
|
+
}
|
|
1077
|
+
const client = await getClient(getDeps());
|
|
1078
|
+
if (!client) {
|
|
1079
|
+
process.exitCode = 1;
|
|
1080
|
+
return;
|
|
1081
|
+
}
|
|
1082
|
+
const res = await client.post("/api/provider/account-refs", {
|
|
1083
|
+
provider: opts.provider, label,
|
|
1084
|
+
...(opts.tokenFile !== undefined ? { tokenFile: opts.tokenFile } : {}), ...(opts.apiKeyFile !== undefined ? { apiKeyFile: opts.apiKeyFile } : {}),
|
|
1085
|
+
...(opts.codexHome !== undefined ? { codexHome: opts.codexHome } : {}), ...(opts.login !== undefined ? { login: opts.login } : {}),
|
|
1086
|
+
});
|
|
1087
|
+
if (opts.json) {
|
|
1088
|
+
console.log(JSON.stringify(res.data));
|
|
1089
|
+
if (res.status >= 400)
|
|
1090
|
+
process.exitCode = res.status >= 500 ? 2 : 1;
|
|
1091
|
+
return;
|
|
1092
|
+
}
|
|
1093
|
+
if (handleHttpError(res, "account add"))
|
|
1094
|
+
return;
|
|
1095
|
+
const added = res.data.account;
|
|
1096
|
+
console.log(`Added the ${added.provider} account ${added.label}: ${describeRef(added)}.`);
|
|
1097
|
+
console.log(added.kind === "codex_saved_login" ? "Checked that the login is saved there; nothing was read or copied."
|
|
1098
|
+
: added.kind === "claude_api_key_file" ? "Checked that the file exists, is private and isn't empty; it wasn't read."
|
|
1099
|
+
: "Checked that the file exists and isn't empty; it wasn't read.");
|
|
1100
|
+
for (const warning of res.data.warnings ?? [])
|
|
1101
|
+
console.log(`Warning: ${warning}.`);
|
|
1102
|
+
});
|
|
1103
|
+
account
|
|
1104
|
+
.command("list")
|
|
1105
|
+
.description("The accounts this daemon knows, by provider and label, with each one's reference")
|
|
1106
|
+
.option("--provider <p>", "Only claude or only codex")
|
|
1107
|
+
.option("--host <id>", "List that registered machine's accounts instead, over its SSH entry")
|
|
1108
|
+
.option("--json", "Output as parseable JSON")
|
|
1109
|
+
.action(async (opts) => {
|
|
1110
|
+
const problem = providerProblem(opts.provider, false);
|
|
1111
|
+
if (problem)
|
|
1112
|
+
return refusal(problem);
|
|
1113
|
+
if (opts.host) {
|
|
1114
|
+
return onHost(opts.host, ["provider", "account", "list", ...(opts.provider ? ["--provider", opts.provider] : []), ...(opts.json ? ["--json"] : [])], { json: opts.json });
|
|
1115
|
+
}
|
|
1116
|
+
const client = await getClient(getDeps());
|
|
1117
|
+
if (!client) {
|
|
1118
|
+
process.exitCode = 1;
|
|
1119
|
+
return;
|
|
1120
|
+
}
|
|
1121
|
+
const res = await client.get(`/api/provider/account-refs${opts.provider ? `?provider=${opts.provider}` : ""}`);
|
|
1122
|
+
if (handleHttpError(res, "account list"))
|
|
1123
|
+
return;
|
|
1124
|
+
if (opts.json) {
|
|
1125
|
+
console.log(JSON.stringify(res.data));
|
|
1126
|
+
return;
|
|
1127
|
+
}
|
|
1128
|
+
if (res.data.accounts.length === 0) {
|
|
1129
|
+
console.log("No accounts on this daemon. Add one with rig provider account add <label> --provider claude|codex (rig provider account --help).");
|
|
1130
|
+
return;
|
|
1131
|
+
}
|
|
1132
|
+
for (const a of res.data.accounts)
|
|
1133
|
+
console.log(`${a.provider} ${a.label} ${describeRef(a)}`);
|
|
1134
|
+
});
|
|
1135
|
+
account
|
|
1136
|
+
.command("remove <label>")
|
|
1137
|
+
.description("Remove an account's label; its file or saved login, and any rig assigned to it, are left as they are")
|
|
1138
|
+
.option("--provider <p>", "claude or codex")
|
|
1139
|
+
.option("--host <id>", "Remove it on that registered machine instead, over its SSH entry")
|
|
1140
|
+
.option("--json", "Output as parseable JSON")
|
|
1141
|
+
.action(async (label, opts) => {
|
|
1142
|
+
const problem = providerProblem(opts.provider, true);
|
|
1143
|
+
if (problem)
|
|
1144
|
+
return refusal(`${problem} Nothing changed.`);
|
|
1145
|
+
if (opts.host) {
|
|
1146
|
+
return onHost(opts.host, ["provider", "account", "remove", label, "--provider", opts.provider, ...(opts.json ? ["--json"] : [])], { json: opts.json, changes: `rig provider account list --host ${opts.host} --provider ${opts.provider}` });
|
|
1147
|
+
}
|
|
1148
|
+
const client = await getClient(getDeps());
|
|
1149
|
+
if (!client) {
|
|
1150
|
+
process.exitCode = 1;
|
|
1151
|
+
return;
|
|
1152
|
+
}
|
|
1153
|
+
const res = await client.delete(`/api/provider/account-refs/${opts.provider}/${encodeURIComponent(label)}`);
|
|
1154
|
+
if (opts.json) {
|
|
1155
|
+
console.log(JSON.stringify(res.data));
|
|
1156
|
+
if (res.status >= 400)
|
|
1157
|
+
process.exitCode = res.status >= 500 ? 2 : 1;
|
|
1158
|
+
return;
|
|
1159
|
+
}
|
|
1160
|
+
if (handleHttpError(res, "account remove"))
|
|
1161
|
+
return;
|
|
1162
|
+
console.log(`Removed the ${opts.provider} account ${label}. Its ${res.data.account?.kind === "codex_saved_login" ? "saved login" : "file"} is left as it is, and seats already switched to it keep their own reference.`);
|
|
1163
|
+
if (res.data.warning)
|
|
1164
|
+
console.log(`Warning: ${res.data.warning}`);
|
|
1165
|
+
});
|
|
1166
|
+
const kindWords = (kind) => kind.replace(/_/g, "-");
|
|
1167
|
+
const printPlan = (plan, again) => {
|
|
1168
|
+
console.log(`Plan ${plan.digest} on ${plan.daemon}: rig ${plan.rig}'s ${plan.provider} seats to ${plan.account.label} (${plan.account.reference})`
|
|
1169
|
+
+ `${plan.accountHome ? `, as fresh successors on ${plan.accountHome}` : ""}.`);
|
|
1170
|
+
if (plan.intent) {
|
|
1171
|
+
console.log(`The rig's ${plan.provider} assignment: ${plan.intent.label} (${plan.intent.reference}), applied ${plan.intent.at} by ${setBy(plan.intent.requestedBy)}.`);
|
|
1172
|
+
}
|
|
1173
|
+
for (const row of plan.rows) {
|
|
1174
|
+
const last = row.lastResult ? ` last applied: ${kindWords(row.lastResult.kind)} (${row.lastResult.label}, ${row.lastResult.at}): ${row.lastResult.detail}` : null;
|
|
1175
|
+
if (row.effect === "not_affected") {
|
|
1176
|
+
console.log(`${row.seat}: not affected (${(row.notes ?? []).join("; ")})`);
|
|
1177
|
+
continue;
|
|
1178
|
+
}
|
|
1179
|
+
if (row.effect === "unchanged") {
|
|
1180
|
+
// A seat on a home this plan switches restarts with it (its note says so): what it's doing shows, as for a seat that
|
|
1181
|
+
// changes.
|
|
1182
|
+
const restarts = row.precheck !== undefined;
|
|
1183
|
+
console.log((row.asApplied ? `${row.seat}: unchanged: still as the apply of ${plan.account.label} left its home`
|
|
1184
|
+
: `${row.seat}: unchanged, already on ${plan.account.label}`) + (restarts ? `; activity ${row.activity}` : ""));
|
|
1185
|
+
for (const note of row.notes ?? [])
|
|
1186
|
+
console.log(` ${note}`);
|
|
1187
|
+
// A seat that restarts with its switched home: its restart was checked.
|
|
1188
|
+
if (row.precheck && !row.precheck.safe) {
|
|
1189
|
+
console.log(` precheck UNSAFE: ${row.precheck.reasons.join(", ")}`);
|
|
1190
|
+
if (row.precheck.message)
|
|
1191
|
+
console.log(` ${row.precheck.message}`);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
else if (row.effect === "kept_override")
|
|
1195
|
+
console.log(`${row.seat}: kept (seat override): ${row.override}; --include-overrides moves it too`);
|
|
1196
|
+
else {
|
|
1197
|
+
const check = row.precheck?.safe ? "precheck safe" : `precheck UNSAFE: ${(row.precheck?.reasons ?? []).join(", ")}`;
|
|
1198
|
+
console.log(`${row.seat}: from ${row.current}; ${check}; ${row.continuity}; activity ${row.activity}`);
|
|
1199
|
+
if (row.override)
|
|
1200
|
+
console.log(` overrides ${row.override}`);
|
|
1201
|
+
if (row.precheck?.message)
|
|
1202
|
+
console.log(` ${row.precheck.message}`);
|
|
1203
|
+
for (const note of row.notes ?? [])
|
|
1204
|
+
console.log(` ${note}`);
|
|
1205
|
+
}
|
|
1206
|
+
if (last)
|
|
1207
|
+
console.log(last);
|
|
1208
|
+
}
|
|
1209
|
+
for (const group of plan.codexHomes) {
|
|
1210
|
+
console.log(`Codex home ${group.home}: one switch; every seat on it:`);
|
|
1211
|
+
for (const peer of group.seats)
|
|
1212
|
+
console.log(` ${peer.seat} (rig ${peer.rig}): ${peer.effect}`);
|
|
1213
|
+
}
|
|
1214
|
+
console.log(`A plan only: nothing was changed. Apply exactly this plan with: ${again} --apply --plan ${plan.digest}`);
|
|
1215
|
+
};
|
|
1216
|
+
const printApply = (report) => {
|
|
1217
|
+
console.log(`Applied plan ${report.digest} on ${report.daemon}: rig ${report.rig}'s ${report.provider} seats to ${report.account.label} (${report.account.reference}).`);
|
|
1218
|
+
for (const r of report.results) {
|
|
1219
|
+
console.log(`${r.seat}: ${kindWords(r.kind)}: ${r.detail}`);
|
|
1220
|
+
// Only a seat the apply relaunched or restarted, or may have, lost what it was doing.
|
|
1221
|
+
const restarted = r.kind === "switched" || r.kind === "pending_successor" || r.kind === "unknown";
|
|
1222
|
+
if (restarted && (r.activity === "running" || r.activity === "needs_input")) {
|
|
1223
|
+
console.log(` it was ${r.activity === "running" ? "working" : "waiting for input"} when it was reached: work in flight, including background commands, `
|
|
1224
|
+
+ `${r.kind === "unknown" ? "may not have carried over" : "didn't carry over"}`);
|
|
1225
|
+
}
|
|
1226
|
+
if (r.recovery)
|
|
1227
|
+
console.log(` recovery: ${r.recovery}`);
|
|
1228
|
+
}
|
|
1229
|
+
for (const p of report.otherRigPeers) {
|
|
1230
|
+
console.log(`${p.seat} (rig ${p.rig}): not restarted; it shares ${p.home}, so ${p.command ? `restart it yourself: ${p.command}` : `restart it yourself. ${p.why ?? ""}`.trim()}`);
|
|
1231
|
+
}
|
|
1232
|
+
console.log("Each result is reported on its own: nothing was rolled back or retried.");
|
|
1233
|
+
};
|
|
1234
|
+
cmd
|
|
1235
|
+
.command("assign <rig>")
|
|
1236
|
+
.description("Plan moving a rig's seats of one provider to an account this daemon knows by label, then apply that plan")
|
|
1237
|
+
.option("--provider <p>", "claude or codex: a mixed rig gets one assignment per provider")
|
|
1238
|
+
.option("--account <label>", "The account's label (rig provider account list)")
|
|
1239
|
+
.option("--include-overrides", "Also move seats with their own choice of account; by default they're kept and shown")
|
|
1240
|
+
.option("--account-home <dir>", "Codex: move the seats not on the account yet to this prepared home as fresh successors with a handover, instead of in place")
|
|
1241
|
+
.option("--apply", "Carry out the plan, one seat at a time; needs --plan with the digest the plan showed")
|
|
1242
|
+
.option("--plan <digest>", "The digest of the plan you reviewed: apply acts only while the plan is still the same")
|
|
1243
|
+
.option("--host <id>", "Plan or apply on that registered machine instead, over its SSH entry; the rig and account are that daemon's")
|
|
1244
|
+
.option("--json", "Output as parseable JSON")
|
|
1245
|
+
.addHelpText("after", `
|
|
1246
|
+
The daemon that runs the rig computes the plan from what it already has, and changes nothing: one row per seat, with its
|
|
1247
|
+
configured account, whether it has its own choice of account (kept unless --include-overrides), the switch's precheck
|
|
1248
|
+
verdict, whether it keeps its conversation, and what it's doing now. A busy seat is noted, not refused.
|
|
1249
|
+
A Claude seat is relaunched in place on the same conversation; a stopped one picks the account up at its next launch.
|
|
1250
|
+
A Codex seat switches in place only on Linux and macOS, by changing its Codex home's active login, so every seat on that home moves
|
|
1251
|
+
with it: the plan lists each one, in this rig ("would restart") or not ("not restarted; needs rig seat restart <seat>").
|
|
1252
|
+
Elsewhere it reads "unsupported in place"; name a prepared home with --account-home to move it as a fresh successor
|
|
1253
|
+
with a handover instead. Nothing falls back to that by itself.
|
|
1254
|
+
A configured account is what a seat's next launch uses, not proof of the login a running session uses.
|
|
1255
|
+
|
|
1256
|
+
--apply --plan <digest> computes the plan again and refuses, changing nothing, unless it's the one you reviewed. It then
|
|
1257
|
+
moves each seat through the existing switch, one at a time, reporting each result as unchanged, switched,
|
|
1258
|
+
pending-successor, unsupported, failed-before-effect or unknown. A failure doesn't stop the other seats; nothing is
|
|
1259
|
+
rolled back or retried, and an unknown result names its recovery command. When a Codex home's own switch ends unknown,
|
|
1260
|
+
that home's other seats are skipped. Seats in other rigs on a switched home are listed, never restarted.
|
|
1261
|
+
The rig's assignment is stored with the first seat that's on the account or may be, so an apply where every seat was
|
|
1262
|
+
refused leaves the earlier one. Afterwards the plan shows the assignment and each seat's last result, and rig provider
|
|
1263
|
+
status shows each seat against it. It exits 1 when any seat failed or is unknown.`)
|
|
1264
|
+
.action(async (rig, opts) => {
|
|
1265
|
+
const problem = providerProblem(opts.provider, true) ?? (opts.account ? null : "Name the account: --account <label> (rig provider account list).")
|
|
1266
|
+
?? (opts.accountHome !== undefined && opts.provider !== "codex" ? "--account-home is for Codex seats." : null)
|
|
1267
|
+
?? (opts.apply && !opts.plan ? "--apply needs --plan <digest>: the digest the plan showed. Run the plan first and review it." : null)
|
|
1268
|
+
?? (opts.plan !== undefined && !opts.apply ? "--plan names the plan to apply: add --apply." : null)
|
|
1269
|
+
?? (opts.plan !== undefined && !/^[0-9a-f]{12}$/.test(opts.plan) ? "--plan is the 12-character digest the plan showed." : null);
|
|
1270
|
+
if (problem)
|
|
1271
|
+
return refusal(`${problem} Nothing changed.`);
|
|
1272
|
+
// The printed command is copied into a shell: a value with a space or a quote in it is quoted.
|
|
1273
|
+
const arg = (value) => /^[\w@%+=:,./-]+$/.test(value) ? value : shellQuote(value);
|
|
1274
|
+
const again = `rig provider assign ${arg(rig)} --provider ${arg(opts.provider)} --account ${arg(opts.account)}${opts.includeOverrides ? " --include-overrides" : ""}`
|
|
1275
|
+
+ `${opts.accountHome !== undefined ? ` --account-home ${arg(opts.accountHome)}` : ""}`;
|
|
1276
|
+
if (opts.host) {
|
|
1277
|
+
const host = opts.host;
|
|
1278
|
+
await onHost(host, ["provider", "assign", rig, "--provider", opts.provider, "--account", opts.account,
|
|
1279
|
+
...(opts.includeOverrides ? ["--include-overrides"] : []), ...(opts.accountHome !== undefined ? ["--account-home", opts.accountHome] : []),
|
|
1280
|
+
...(opts.apply ? ["--apply", "--plan", opts.plan] : []), ...(opts.json ? ["--json"] : [])], { json: opts.json, ...(opts.apply ? { changes: `${again} --host ${arg(host)} (its plan shows each seat's last result)` } : {}) });
|
|
1281
|
+
// The plan printed there names its apply command as that machine runs it; from here it needs --host too.
|
|
1282
|
+
if (!opts.apply && !opts.json && !process.exitCode) {
|
|
1283
|
+
console.log(`This plan is on ${host}. To apply it from this machine: ${again} --host ${arg(host)} --apply --plan <the digest above>`);
|
|
1284
|
+
}
|
|
1285
|
+
return;
|
|
1286
|
+
}
|
|
1287
|
+
const client = await getClient(getDeps());
|
|
1288
|
+
if (!client) {
|
|
1289
|
+
process.exitCode = 1;
|
|
1290
|
+
return;
|
|
1291
|
+
}
|
|
1292
|
+
const qs = new URLSearchParams({ rig, provider: opts.provider, account: opts.account,
|
|
1293
|
+
...(opts.includeOverrides ? { includeOverrides: "1" } : {}), ...(opts.accountHome !== undefined ? { accountHome: opts.accountHome } : {}) });
|
|
1294
|
+
const res = await client.get(`/api/provider/assignment-plan?${qs.toString()}`);
|
|
1295
|
+
if (!opts.apply) {
|
|
1296
|
+
if (opts.json) {
|
|
1297
|
+
console.log(JSON.stringify(res.data));
|
|
1298
|
+
if (res.status >= 400)
|
|
1299
|
+
process.exitCode = res.status >= 500 ? 2 : 1;
|
|
1300
|
+
return;
|
|
1301
|
+
}
|
|
1302
|
+
if (handleHttpError(res, "assignment plan"))
|
|
1303
|
+
return;
|
|
1304
|
+
printPlan(res.data.plan, again);
|
|
1305
|
+
return;
|
|
1306
|
+
}
|
|
1307
|
+
// The plan is read first only to size the wait: the daemon checks the digest itself. Each seat that changes takes a
|
|
1308
|
+
// switch, and so does each other seat of this rig on a Codex home that switches, since it restarts on it.
|
|
1309
|
+
const shown = res.data.plan;
|
|
1310
|
+
const changing = shown ? new Set([...shown.rows.filter((r) => r.effect === "change").map((r) => r.seat),
|
|
1311
|
+
...shown.codexHomes.flatMap((h) => h.seats.filter((s) => (shown.rigId ? s.rigId === shown.rigId : s.rig === shown.rig)).map((s) => s.seat))]).size : 1;
|
|
1312
|
+
let applied;
|
|
1313
|
+
try {
|
|
1314
|
+
applied = await client.post("/api/provider/assignment-apply", { rig, provider: opts.provider, account: opts.account,
|
|
1315
|
+
plan: opts.plan, ...(opts.includeOverrides ? { includeOverrides: true } : {}), ...(opts.accountHome !== undefined ? { accountHome: opts.accountHome } : {}) }, { timeoutMs: SWITCH_TIMEOUT_MS * Math.max(1, changing) + 30_000 });
|
|
1316
|
+
}
|
|
1317
|
+
catch (err) {
|
|
1318
|
+
// A connection that failed before the request left is a plain failure; once it may have arrived, the daemon may be
|
|
1319
|
+
// applying it, so the outcome is unknown.
|
|
1320
|
+
if (!(err instanceof DaemonConnectionError) || !requestMayHaveArrived(err))
|
|
1321
|
+
throw err;
|
|
1322
|
+
const lost = err instanceof DaemonTimeoutError ? "The CLI timed out waiting for the daemon" : "The CLI lost the connection to the daemon before its answer";
|
|
1323
|
+
if (opts.json)
|
|
1324
|
+
console.log(JSON.stringify({ ok: false, code: "apply_outcome_unknown", digest: opts.plan, check: again,
|
|
1325
|
+
message: `${lost}; the apply may still be running. Don't run it again: each seat's result shows in the plan as it lands.` }));
|
|
1326
|
+
console.error(`${lost}. The apply may still be running, seat by seat, so don't run it again: `
|
|
1327
|
+
+ `a second apply to the rig is refused while one runs. Each seat's result shows in the plan as it lands: ${again}`);
|
|
1328
|
+
process.exitCode = 1;
|
|
1329
|
+
return;
|
|
1330
|
+
}
|
|
1331
|
+
if (opts.json) {
|
|
1332
|
+
console.log(JSON.stringify(applied.data));
|
|
1333
|
+
if (applied.status >= 400)
|
|
1334
|
+
process.exitCode = applied.status >= 500 ? 2 : 1;
|
|
1335
|
+
}
|
|
1336
|
+
else {
|
|
1337
|
+
if (handleHttpError(applied, "assignment apply"))
|
|
1338
|
+
return;
|
|
1339
|
+
printApply(applied.data.report);
|
|
1340
|
+
}
|
|
1341
|
+
if (applied.data.report?.results.some((r) => r.kind === "failed_before_effect" || r.kind === "unknown"))
|
|
1342
|
+
process.exitCode = 1;
|
|
1343
|
+
});
|
|
934
1344
|
return cmd;
|
|
935
1345
|
}
|
|
936
1346
|
//# sourceMappingURL=provider.js.map
|