@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
package/daemon/dist/startup.js
CHANGED
|
@@ -10,7 +10,7 @@ import { EnvironmentPlatform } from "./domain/environment-platform.js";
|
|
|
10
10
|
import { OpenShellDriver } from "./adapters/openshell-driver.js";
|
|
11
11
|
import { isBoundTerminalSeat } from "./domain/terminal-seat.js";
|
|
12
12
|
import { seatRuntimeHomeBySession, seatAccountHome, effectiveRuntimeHome } from "./domain/seat-runtime-home.js";
|
|
13
|
-
import { reportPreparationFailure, reportRestoreDeliveryFailure, reportRestoreUptakeUnknown, seatNameCarried, settleCompactionNotices, wireCompactionNoticeSeatRemoval } from "./domain/compaction-restore-notice.js";
|
|
13
|
+
import { recheckHeldNotices, recordedRecoveryInability, reportPreparationFailure, reportRestoreDeliveryFailure, reportRestoreUptakeUnknown, seatNameCarried, settleCompactionNotices, wireCompactionNoticeSeatRemoval } from "./domain/compaction-restore-notice.js";
|
|
14
14
|
import { ClaudeTokenUsage, claudeTokenUsageReader } from "./domain/provider/claude-token-usage.js";
|
|
15
15
|
import { TerminalPolicyStore } from "./domain/terminal-policy.js";
|
|
16
16
|
import { daemonDatabaseWarnings } from "./daemon-db-path.js";
|
|
@@ -113,6 +113,7 @@ import { readClaudeSelfReportEvidence, verifiedSelfReportPid } from "./adapters/
|
|
|
113
113
|
import { replaceFile } from "./adapters/replace-file.js";
|
|
114
114
|
import { stageCodexActivityRelay } from "./adapters/codex-activity-relay.js";
|
|
115
115
|
import { SeatStructuralActivityService } from "./domain/seat-structural-activity-service.js";
|
|
116
|
+
import { attachDraftHeldReoffer } from "./domain/draft-held-reoffer.js";
|
|
116
117
|
import { deriveSelfHostIdSource, SeatIdentityReconciler, reconcileSelfHostIdentity } from "./domain/seat-identity-reconciler.js";
|
|
117
118
|
import { SeatIdentityStore, SelfHostIdentityStore } from "./domain/seat-identity-store.js";
|
|
118
119
|
import { DaemonLifecycleStore } from "./domain/daemon-lifecycle-store.js";
|
|
@@ -126,7 +127,7 @@ import { TranscriptStore } from "./domain/transcript-store.js";
|
|
|
126
127
|
import { resumeRunningTranscriptCaptures, wireTranscriptCaptureStops } from "./domain/transcript-capture.js";
|
|
127
128
|
import { probeSessionActivity, SessionTransport, inspectComposerInput, draftDeliveryAllows, readDraftDeliverySetting } from "./domain/session-transport.js";
|
|
128
129
|
import { AgentActivityStore } from "./domain/agent-activity-store.js";
|
|
129
|
-
import {
|
|
130
|
+
import { nodeExecutorConfirmedStopped, readCurrentSeatActivity, readSeatActivityAsRigPs } from "./domain/node-inventory.js";
|
|
130
131
|
import { HistoryQuery } from "./domain/history-query.js";
|
|
131
132
|
import { AskService } from "./domain/ask-service.js";
|
|
132
133
|
import { WakeResolveService, WAKE_SESSIONS_SQL } from "./domain/wake-resolve-service.js";
|
|
@@ -137,6 +138,7 @@ import { SlowOpRecorder } from "./domain/slow-op-recorder.js";
|
|
|
137
138
|
import { configureSyncSiteRecorder } from "./domain/sync-site-wrap.js";
|
|
138
139
|
import { RequestPhaseObserver } from "./domain/request-phase-observer.js";
|
|
139
140
|
import { QueueRepository, isBlockerLive } from "./domain/queue-repository.js";
|
|
141
|
+
import { issuedConversationTeaching } from "./domain/gateway/destination-resolver.js";
|
|
140
142
|
import { describeDefaultReceiver, permissionDeciderFor } from "./domain/default-receiver.js";
|
|
141
143
|
import { createWorkflowFrontierPredicate } from "./domain/workflow-frontier-guard.js";
|
|
142
144
|
import { InboxHandler } from "./domain/inbox-handler.js";
|
|
@@ -151,17 +153,20 @@ import { WatchdogAutoRegistration } from "./domain/watchdog-auto-registration.js
|
|
|
151
153
|
import { WatchdogHistoryLog } from "./domain/watchdog-history-log.js";
|
|
152
154
|
import { WatchdogPolicyEngine, } from "./domain/watchdog-policy-engine.js";
|
|
153
155
|
import { WatchdogScheduler } from "./domain/watchdog-scheduler.js";
|
|
156
|
+
import { SeatReaperService } from "./domain/seat-reaper-service.js";
|
|
157
|
+
import { deriveResumeToken } from "./domain/resume-token-capture.js";
|
|
154
158
|
import { KeepAliveSupervisor } from "./domain/keep-alive-supervisor.js";
|
|
155
159
|
import { ContinuityPolicyMaterializer, createContinuityCutoverBaton, findClaudeTranscriptByToken, recordManagedWidthReceipt, } from "./domain/continuity-policy-materializer.js";
|
|
156
160
|
import { WorkflowRuntime } from "./domain/workflow-runtime.js";
|
|
157
161
|
import { resolveWorkflowHumanDestination } from "./domain/workflow-human-destination.js";
|
|
158
162
|
import { makeWorkflowKeepalivePolicy } from "./domain/policies/workflow-keepalive.js";
|
|
159
163
|
import { makeIdleGateQitemPolicy } from "./domain/policies/idle-gate-qitem.js";
|
|
160
|
-
import { makeParkedOwnerConsumerPolicy, makeRigAnchor, PARKED_OWNER_POLICY_NAME } from "./domain/policies/parked-owner-consumer.js";
|
|
164
|
+
import { makeParkedOwnerConsumerPolicy, makeRigAnchor, PARKED_OWNER_POLICY_NAME, parkedOwnerSpecYaml } from "./domain/policies/parked-owner-consumer.js";
|
|
161
165
|
import { makeSeatPoolPolicy } from "./domain/policies/seat-pool.js";
|
|
162
166
|
import { SeatPoolSlotsRepository } from "./domain/seat-pool-slots.js";
|
|
163
167
|
import { escalateUnclaimedReminder } from "./domain/parked-owner-escalation.js";
|
|
164
168
|
import { makeSeatPoolExecutor, seatPoolQueueEffects } from "./domain/seat-pool-executor.js";
|
|
169
|
+
import { runSeatPoolDispatchGuard } from "./domain/seat-pool-dispatch-guard.js";
|
|
165
170
|
import { SeatLifecycleService } from "./domain/seat-lifecycle-service.js";
|
|
166
171
|
import { convergeOp } from "./domain/topology-converge.js";
|
|
167
172
|
import { diagnoseRigParked } from "./domain/parked-query.js";
|
|
@@ -198,8 +203,7 @@ import { MissionControlReadLayer } from "./domain/mission-control/mission-contro
|
|
|
198
203
|
import { MissionControlFleetCliCapability, makeLocalCliCapabilityProbe, } from "./domain/mission-control/mission-control-fleet-cli-capability.js";
|
|
199
204
|
import { MissionControlAuditBrowse } from "./domain/mission-control/audit-browse.js";
|
|
200
205
|
import { MissionControlNotificationDispatcher } from "./domain/mission-control/notification-dispatcher.js";
|
|
201
|
-
import {
|
|
202
|
-
import { WebhookNotificationAdapter } from "./domain/mission-control/notification-adapter-webhook.js";
|
|
206
|
+
import { notificationAdapterFromEnv } from "./domain/mission-control/notification-adapter-from-env.js";
|
|
203
207
|
import { OPENRIG_HOME } from "./openrig-compat.js";
|
|
204
208
|
import { homeIsolationAdvisory } from "./domain/home-isolation.js";
|
|
205
209
|
import { materializeBuiltinPolicyReference } from "./domain/builtin-policy-reference.js";
|
|
@@ -455,6 +459,13 @@ export async function createDaemon(opts) {
|
|
|
455
459
|
if (queueRepoInstance.isHostedMember(sessionRef)) {
|
|
456
460
|
return status("hosted", `${sessionRef} is a hosted member; it reads the queue when its owner starts a session. No pane is required. Send work as a queue item.`);
|
|
457
461
|
}
|
|
462
|
+
// An address issued to a person's own conversation (queue create --return-route auto) is right, not a missing seat:
|
|
463
|
+
// that conversation reads its queue. Said as the resolver says it, with no successor notice (it isn't a seat).
|
|
464
|
+
if (queueRepoInstance.isIssuedConversation(sessionRef)) {
|
|
465
|
+
return { code: "destination_status", status: "conversation", destinationSession: sessionRef,
|
|
466
|
+
availableDestinations: [],
|
|
467
|
+
message: `${issuedConversationTeaching(sessionRef)} A direct send can't reach a conversation; send work there as a queue item.` };
|
|
468
|
+
}
|
|
458
469
|
const humans = loadHumanRegistry();
|
|
459
470
|
if (humans.ok && resolveRegisteredHumanAddress(sessionRef, humans.entities))
|
|
460
471
|
return null;
|
|
@@ -656,7 +667,7 @@ export async function createDaemon(opts) {
|
|
|
656
667
|
if (runtime === "claude-code" && activity.state === "needs_input"
|
|
657
668
|
&& !["permission_prompt", "selection_prompt"].includes(activity.reason))
|
|
658
669
|
return null;
|
|
659
|
-
return activity.state === "needs_input" && ["permission_prompt", "selection_prompt"].includes(activity.reason);
|
|
670
|
+
return activity.state === "needs_input" && ["permission_prompt", "selection_prompt", "hook_trust_gate"].includes(activity.reason);
|
|
660
671
|
},
|
|
661
672
|
permissionPromptChanged: (sessionName, confirmed, runtime) => {
|
|
662
673
|
const latest = agentActivityStore.getLatestForNode({ sessionName });
|
|
@@ -687,13 +698,8 @@ export async function createDaemon(opts) {
|
|
|
687
698
|
// the attention reconciler exists, so a reading before then waits for the next change.
|
|
688
699
|
let restoredSeatActivity;
|
|
689
700
|
let rexSeatActivity;
|
|
690
|
-
const currentSeatActivity = (sessionName) => {
|
|
691
|
-
|
|
692
|
-
const structural = seatStructuralActivityService.getStructuralActivity(sessionName);
|
|
693
|
-
const resolved = hookOrPaneActivity(agentActivityStore.getLatestForNode({ sessionName,
|
|
694
|
-
order: runtime === "claude-code" ? "source" : "arrival" }), structural, false, runtime);
|
|
695
|
-
return { activity: resolved?.activity ?? null, runtime, structural };
|
|
696
|
-
};
|
|
701
|
+
const currentSeatActivity = (sessionName) => readCurrentSeatActivity({ hooks: agentActivityStore,
|
|
702
|
+
structural: seatStructuralActivityService, runtimeOf: (s) => sessionRegistry.findResumeContextByName(s)?.runtime ?? null }, sessionName);
|
|
697
703
|
const retryPromptWakes = (sessionName) => {
|
|
698
704
|
const { activity, runtime, structural } = currentSeatActivity(sessionName);
|
|
699
705
|
const state = activity?.state;
|
|
@@ -705,10 +711,17 @@ export async function createDaemon(opts) {
|
|
|
705
711
|
// An idle seat may have cleared the draft its draft-aware guard held a wake for (#48).
|
|
706
712
|
void queueRepoInstance.retryDraftHeldWakesOnIdle(sessionName, state)
|
|
707
713
|
.catch(error => console.warn(`Draft-held wake retry: ${error instanceof Error ? error.name : typeof error}`));
|
|
714
|
+
// A plain message held only for that draft goes then too, in order, each through the same guarded delivery.
|
|
715
|
+
void queueRepoInstance.deliverDraftHeldMessagesOnIdle(sessionName, state)
|
|
716
|
+
.catch(error => console.warn(`Draft-held message delivery: ${error instanceof Error ? error.name : typeof error}`));
|
|
708
717
|
restoredSeatActivity?.(sessionName, state);
|
|
709
718
|
rexSeatActivity?.(sessionName, { activity, runtime });
|
|
710
719
|
};
|
|
711
720
|
seatStructuralActivityService.attachActivityChanged(retryPromptWakes);
|
|
721
|
+
// A held message whose last try met the person's recent typing, a drain or a restore is offered again from the same
|
|
722
|
+
// per-tick sweep, even when the seat's state stays the same (#3991). No capture or delivery path of its own.
|
|
723
|
+
attachDraftHeldReoffer(seatStructuralActivityService, queueRepoInstance, sessionName => currentSeatActivity(sessionName).activity?.state, { onError: error => console.warn(`Draft-held message re-offer: ${error instanceof Error ? error.name : typeof error}`),
|
|
724
|
+
quietUntil: sessionName => deliveryGuard.inputQuietUntil(sessionName) });
|
|
712
725
|
eventBus.subscribe(event => { if (event.type === "agent.activity")
|
|
713
726
|
retryPromptWakes(event.sessionName); });
|
|
714
727
|
// #3315 — whether the daemon reaches its tmux server is state of its own (terminal-server-seats.ts): recorded once
|
|
@@ -856,8 +869,12 @@ export async function createDaemon(opts) {
|
|
|
856
869
|
// The compaction settings a managed restore reads, at each launch, so the launch grants those files too (#1940).
|
|
857
870
|
const restoreReadPolicy = () => {
|
|
858
871
|
try {
|
|
859
|
-
const
|
|
860
|
-
|
|
872
|
+
const settings = new ContextPackSettingsStore();
|
|
873
|
+
const policy = settings.resolveClaudeCompactionPolicy();
|
|
874
|
+
// The work and topology trees whose chain files the restore reads.
|
|
875
|
+
const root = (key) => { const value = settings.resolveOne(key).value; return typeof value === "string" && value.trim() ? value : null; };
|
|
876
|
+
return { extraInstructionFile: policy.messageFilePath || null, preparationRoot: policy.preparationRoot || null,
|
|
877
|
+
workspaceRoot: root("workspace.root"), topologyRoot: root("topology.root") };
|
|
861
878
|
}
|
|
862
879
|
catch {
|
|
863
880
|
return null;
|
|
@@ -878,7 +895,18 @@ export async function createDaemon(opts) {
|
|
|
878
895
|
catch {
|
|
879
896
|
return false;
|
|
880
897
|
} };
|
|
881
|
-
|
|
898
|
+
// #3385: a restore's resume completes an openrig-core upgrade waiting in its home. The seat is its newest session of that
|
|
899
|
+
// name, so its own (stopped) Codex isn't counted.
|
|
900
|
+
const upgradeCorePluginForRestore = async (session, home) => {
|
|
901
|
+
try {
|
|
902
|
+
const row = db.prepare("SELECT node_id FROM sessions WHERE session_name = ? ORDER BY created_at DESC, id DESC LIMIT 1").get(session);
|
|
903
|
+
await codexAdapter.upgradeCorePluginForResume(row?.node_id, home);
|
|
904
|
+
}
|
|
905
|
+
catch (err) {
|
|
906
|
+
console.error(`[openrig] runtime setup warning: ${err.message}`);
|
|
907
|
+
}
|
|
908
|
+
};
|
|
909
|
+
const codexResume = new CodexResumeAdapter(tmuxAdapter, { ensureManagedConfig: async (home) => { await codexAdapter.ensureManagedConfig(home); }, upgradeCorePlugin: upgradeCorePluginForRestore, prepareTeamWorkspace, prepareSeatFolder, resolveGitAddDirs: resolveCodexGitAddDirs, seatLaunchEnvironment, codexHome: configuredCodexHome, launchPath: process.env.PATH, detectDaemonSupport: codexDaemonSupportProbe(process.env.PATH, undefined, configuredCodexHome), readNetworkDefault: readCodexNetworkDefault, codexLoginShell: readCodexLoginShell });
|
|
882
910
|
// OPR.0.4.6.PI1 — the Pi seat-state root + the compiled runner entry (daemon
|
|
883
911
|
// dist). Shared by the Pi runtime adapter, the resume adapter, and the
|
|
884
912
|
// resume-token capture sidecar reader.
|
|
@@ -964,13 +992,14 @@ export async function createDaemon(opts) {
|
|
|
964
992
|
const seatColdStarter = new SeatColdStarter({
|
|
965
993
|
deliveryGuard,
|
|
966
994
|
db,
|
|
967
|
-
launchSingleNode: (rigId, logicalId) => coldStartLaunch
|
|
968
|
-
? coldStartLaunch(rigId, logicalId)
|
|
995
|
+
launchSingleNode: (rigId, logicalId, standby) => coldStartLaunch
|
|
996
|
+
? coldStartLaunch(rigId, logicalId, standby)
|
|
969
997
|
: Promise.resolve({ ok: false, code: "launcher_not_ready", message: "cold-start launcher is not ready" }),
|
|
970
998
|
probeSession: (sessionName) => tmuxAdapter.probeSession(sessionName),
|
|
971
999
|
getNodeLaunchRecipe: (nodeId) => rigRepo.getNodeLaunchRecipe(nodeId),
|
|
972
1000
|
});
|
|
973
1001
|
queueRepoInstance.attachWakeWithoutReceiverNotifier((destination, pass) => seatColdStarter.notify(destination, pass));
|
|
1002
|
+
queueRepoInstance.attachStandbyWake((destination, owed) => seatColdStarter.wakeStandby(destination, owed));
|
|
974
1003
|
// Connect to cmux at startup — degrades gracefully if absent
|
|
975
1004
|
await cmuxAdapter.connect();
|
|
976
1005
|
// Reconcile all managed rigs — marks stale sessions as detached.
|
|
@@ -1140,7 +1169,7 @@ export async function createDaemon(opts) {
|
|
|
1140
1169
|
w(nodePath.join(d, e.name), nodePath.join(pre, e.name));
|
|
1141
1170
|
else
|
|
1142
1171
|
r.push(pre ? nodePath.join(pre, e.name) : e.name);
|
|
1143
|
-
} } w(dir, ""); return r; }, statMode: (p) => fs.statSync(p).mode, chmod: (p, m) => fs.chmodSync(p, m), homedir: daemonHome }, codexHome: configuredCodexHome, seatHome: (nodeId, ignoreAccountHome) => seatRuntimeHome(db, nodeId, "codex", ignoreAccountHome).home, launchPath: process.env.PATH, detectDaemonSupport: codexDaemonSupportProbe(process.env.PATH, undefined, configuredCodexHome), readNetworkDefault: readCodexNetworkDefault, codexLoginShell: readCodexLoginShell, activityRelayPath: codexActivityRelayPath ?? nodePath.resolve(import.meta.dirname, "../assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs"), resolveCorePluginDir: () => vendoredCorePluginDir(), resolveCorePluginSelected: (nodeId) => Boolean(seatCodexCorePluginDir({ id: nodeId, runtime: "codex" }, db)), resolveHooksEnabled: async () => {
|
|
1172
|
+
} } w(dir, ""); return r; }, statMode: (p) => fs.statSync(p).mode, chmod: (p, m) => fs.chmodSync(p, m), homedir: daemonHome }, codexHome: configuredCodexHome, seatHome: (nodeId, ignoreAccountHome) => seatRuntimeHome(db, nodeId, "codex", ignoreAccountHome).home, launchPath: process.env.PATH, detectDaemonSupport: codexDaemonSupportProbe(process.env.PATH, undefined, configuredCodexHome), readNetworkDefault: readCodexNetworkDefault, codexLoginShell: readCodexLoginShell, activityRelayPath: codexActivityRelayPath ?? nodePath.resolve(import.meta.dirname, "../assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs"), resolveCorePluginDir: () => vendoredCorePluginDir(), resolveCorePluginSelected: (nodeId) => Boolean(seatCodexCorePluginDir({ id: nodeId, runtime: "codex" }, db)), listCodexSeats: () => db.prepare("SELECT n.id AS nodeId, b.tmux_session AS tmuxSession FROM nodes n LEFT JOIN bindings b ON b.node_id = n.id WHERE n.runtime = 'codex'").all(), resolveHooksEnabled: async () => {
|
|
1144
1173
|
const { SettingsStore } = await import("./domain/user-settings/settings-store.js");
|
|
1145
1174
|
return new SettingsStore().resolveOne("runtime.codex.hooks_enabled").value;
|
|
1146
1175
|
}, resolveManagedConfigSettings: async () => {
|
|
@@ -1261,7 +1290,8 @@ export async function createDaemon(opts) {
|
|
|
1261
1290
|
console.error(`[openrig] plugin vendor setup warning: ${err.message}`);
|
|
1262
1291
|
}
|
|
1263
1292
|
// After vendoring, so Codex installs the openrig-core version this daemon ships: only when some Codex seat's resolved
|
|
1264
|
-
// selection includes it (a daemon whose Codex seats didn't select it never installs it).
|
|
1293
|
+
// selection includes it (a daemon whose Codex seats didn't select it never installs it). An upgrade waits while a Codex
|
|
1294
|
+
// seat runs in that home, and the warning names the seats (#3385).
|
|
1265
1295
|
try {
|
|
1266
1296
|
const codexNodes = db.prepare("SELECT id FROM nodes WHERE runtime = 'codex'").all();
|
|
1267
1297
|
await codexAdapter.ensureCodexCorePluginAtBoot(codexNodes.some(({ id }) => Boolean(seatCodexCorePluginDir({ id, runtime: "codex" }, db))));
|
|
@@ -1423,7 +1453,8 @@ export async function createDaemon(opts) {
|
|
|
1423
1453
|
serviceOrchestrator, rigRepo,
|
|
1424
1454
|
// A bundle's packs land in context.root before its seats launch; rescan
|
|
1425
1455
|
// so the live library serves them on the first turn.
|
|
1426
|
-
routeBundleContents: (bundlePath) => routeBundleContents(bundlePath, {
|
|
1456
|
+
routeBundleContents: (bundlePath, opts) => routeBundleContents(bundlePath, {
|
|
1457
|
+
...opts,
|
|
1427
1458
|
onContextPacksRouted: () => contextPackLibrary.scan(),
|
|
1428
1459
|
}),
|
|
1429
1460
|
});
|
|
@@ -1456,10 +1487,11 @@ export async function createDaemon(opts) {
|
|
|
1456
1487
|
// #2829 slice 1 — the cold-start launcher, now that the runtime adapters exist:
|
|
1457
1488
|
// a resume needs its adapter to verify continuity and relaunch the harness (the
|
|
1458
1489
|
// door fails closed to awaiting-decision without one), as the HTTP launch routes do.
|
|
1459
|
-
coldStartLaunch = (rigId, logicalId) => restoreOrchestrator.launchSingleNode(rigId, logicalId, {
|
|
1490
|
+
coldStartLaunch = (rigId, logicalId, standby) => restoreOrchestrator.launchSingleNode(rigId, logicalId, {
|
|
1460
1491
|
adapters: runtimeAdaptersMap,
|
|
1461
1492
|
fsOps: { exists: (path) => fs.existsSync(path) },
|
|
1462
1493
|
requireCurrentOccupant: true,
|
|
1494
|
+
...(standby ? { standby } : {}),
|
|
1463
1495
|
});
|
|
1464
1496
|
let kernelBootTracker;
|
|
1465
1497
|
try {
|
|
@@ -1552,6 +1584,7 @@ export async function createDaemon(opts) {
|
|
|
1552
1584
|
const { CurrentModelReader } = await import("./domain/model-divergence/current-model-reader.js");
|
|
1553
1585
|
const { ProcessCensus: ModelProcessCensus } = await import("./domain/process-census.js");
|
|
1554
1586
|
const { CodexThreadIdResolver: ModelThreadResolver } = await import("./domain/codex-thread-id.js");
|
|
1587
|
+
const { readThreadIdAcrossHomes } = await import("./domain/model-divergence/codex-thread-homes.js");
|
|
1555
1588
|
const modelCensus = new ModelProcessCensus();
|
|
1556
1589
|
const modelThreads = new ModelThreadResolver({ defaultHome: daemonHome, codexHome: configuredCodexHome });
|
|
1557
1590
|
// A seat with its own CODEX_HOME logs its threads there. The read is gated by the process's identity, so after the
|
|
@@ -1572,15 +1605,7 @@ export async function createDaemon(opts) {
|
|
|
1572
1605
|
native: {
|
|
1573
1606
|
getPanePid: async (target) => tmuxAdapter.getPanePid ? tmuxAdapter.getPanePid(target) : null,
|
|
1574
1607
|
listProcesses: () => modelCensus.list(),
|
|
1575
|
-
readThreadIdByPid: async (pid, identity) =>
|
|
1576
|
-
const resolvers = [modelThreads, ...declaredRuntimeHomes(db, "codex").filter(home => home !== configuredCodexHome).map(modelThreadsFor)];
|
|
1577
|
-
for (const resolver of resolvers) {
|
|
1578
|
-
const threadId = identity === undefined ? await resolver.resolveUngatedLegacy(pid) : await resolver.resolve(pid, identity);
|
|
1579
|
-
if (threadId)
|
|
1580
|
-
return threadId;
|
|
1581
|
-
}
|
|
1582
|
-
return undefined;
|
|
1583
|
-
},
|
|
1608
|
+
readThreadIdByPid: async (pid, identity) => readThreadIdAcrossHomes([modelThreads, ...declaredRuntimeHomes(db, "codex").filter(home => home !== configuredCodexHome).map(modelThreadsFor)], pid, identity),
|
|
1584
1609
|
},
|
|
1585
1610
|
codexRollout: (threadId, sessionName, reporting) => reporting
|
|
1586
1611
|
? contextUsageStore.readCodexTranscriptPath(threadId)
|
|
@@ -1716,6 +1741,10 @@ export async function createDaemon(opts) {
|
|
|
1716
1741
|
listRigs: () => rigRepo.listRigs(),
|
|
1717
1742
|
collectClaudeSignals: () => collectClaudeSignalsFromProviderUsageDirectory(providerUsageDirectory(OPENRIG_HOME), undefined, legacyProviderUsageDirectory(OPENRIG_HOME)),
|
|
1718
1743
|
agentActivityStore,
|
|
1744
|
+
// #3625: the plan and apply read each seat's activity as rig ps shows it: a live hook, else the cached pane reading,
|
|
1745
|
+
// with fresh terminal motion lifting idle or unknown to running.
|
|
1746
|
+
seatActivity: (sessionName) => readSeatActivityAsRigPs({ hooks: agentActivityStore, structural: seatStructuralActivityService,
|
|
1747
|
+
motion: seatActivityService, runtimeOf: (s) => sessionRegistry.findResumeContextByName(s)?.runtime ?? null }, sessionName),
|
|
1719
1748
|
// A Claude seat switch checks what would outrank the seat's own token before it stops anything.
|
|
1720
1749
|
claudePrecedence: (nodeId, opts) => claudeManagedLaunch.credentialPrecedence(nodeId, opts),
|
|
1721
1750
|
// Slice 01: Codex and Claude usage windows, off unless provider.usage_windows is on (read per call). The native
|
|
@@ -1830,6 +1859,9 @@ export async function createDaemon(opts) {
|
|
|
1830
1859
|
return true;
|
|
1831
1860
|
}
|
|
1832
1861
|
});
|
|
1862
|
+
// The previous process's deliveries are settled first: the sweep below is the first thing in this process that can
|
|
1863
|
+
// take a claim, and it starts before the server binds, so a later recovery could overwrite a live claim's result.
|
|
1864
|
+
t.guardedDelivery?.recover();
|
|
1833
1865
|
// Slice 13: messages queued for a hook bridge that has no live arm are typed after the bound; claimed batches whose
|
|
1834
1866
|
// waiter is gone without an ack become indeterminate.
|
|
1835
1867
|
setInterval(() => { void t.sweepHookBridge().catch(() => { }); }, 5_000).unref();
|
|
@@ -2155,30 +2187,19 @@ export async function createDaemon(opts) {
|
|
|
2155
2187
|
// at route mount time (not per-request).
|
|
2156
2188
|
deps.missionControlBearerToken = opts?.bearerToken ?? null;
|
|
2157
2189
|
deps.terminalBearerToken = terminalBearerToken;
|
|
2158
|
-
// Notification dispatcher: chosen mechanism via env config
|
|
2159
|
-
// OPENRIG_NOTIFICATIONS_MECHANISM
|
|
2160
|
-
// OPENRIG_NOTIFICATIONS_TARGET
|
|
2190
|
+
// Notification dispatcher: chosen mechanism via env config
|
|
2191
|
+
// (notificationAdapterFromEnv: OPENRIG_NOTIFICATIONS_MECHANISM and
|
|
2192
|
+
// OPENRIG_NOTIFICATIONS_TARGET).
|
|
2161
2193
|
// OPENRIG_NOTIFICATIONS_INCLUDE_VERB_COMPLETION=1 to opt into the
|
|
2162
2194
|
// verb-completion trigger (default off; only human-gate arrivals
|
|
2163
2195
|
// trigger by default per planner brief).
|
|
2164
2196
|
// No legacy alias for these env vars (new in Phase B).
|
|
2165
|
-
const mechanism = process.env.OPENRIG_NOTIFICATIONS_MECHANISM ?? "none";
|
|
2166
|
-
const target = process.env.OPENRIG_NOTIFICATIONS_TARGET ?? "";
|
|
2167
2197
|
const missionControlBaseUrl = process.env.OPENRIG_MISSION_CONTROL_BASE_URL ??
|
|
2168
2198
|
process.env.OPENRIG_URL ??
|
|
2169
2199
|
process.env.RIGGED_URL;
|
|
2170
2200
|
const includeVerbCompletion = process.env.OPENRIG_NOTIFICATIONS_INCLUDE_VERB_COMPLETION === "1";
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
if (mechanism === "ntfy") {
|
|
2174
|
-
adapter = new NtfyNotificationAdapter({ topicUrl: target });
|
|
2175
|
-
}
|
|
2176
|
-
else if (mechanism === "webhook") {
|
|
2177
|
-
adapter = new WebhookNotificationAdapter({ endpointUrl: target });
|
|
2178
|
-
}
|
|
2179
|
-
else {
|
|
2180
|
-
throw new Error(`OPENRIG_NOTIFICATIONS_MECHANISM='${mechanism}' is not recognized; supported: ntfy | webhook | none`);
|
|
2181
|
-
}
|
|
2201
|
+
const adapter = notificationAdapterFromEnv();
|
|
2202
|
+
if (adapter) {
|
|
2182
2203
|
if (adapter.disabled) {
|
|
2183
2204
|
// Target URL failed validation; warning was logged and daemon starts with notifications disabled.
|
|
2184
2205
|
}
|
|
@@ -2547,8 +2568,10 @@ export async function createDaemon(opts) {
|
|
|
2547
2568
|
// policy to additionalPolicies and calls the registration on launch, re-apply and daemon start. The policy hands each
|
|
2548
2569
|
// evaluation to the executor, composed with the queue, the outbox's held messages, the delivery guard's custody,
|
|
2549
2570
|
// the seats' activity and the rig's events, the drain's effects (the delivery guard's lifecycle lease, the
|
|
2550
|
-
// `auto-rehydrate` capture and the checked seat stop),
|
|
2551
|
-
// member add of `rig add` (convergeOp over this daemon's instantiator)
|
|
2571
|
+
// `auto-rehydrate` capture and the checked seat stop), the add: the model member as the export writes it, and the
|
|
2572
|
+
// member add of `rig add` (convergeOp over this daemon's instantiator), and the comeback: the snapshot selection for
|
|
2573
|
+
// a retained node and the restore orchestrator's launchSingleNode with that explicit snapshotId, this daemon's
|
|
2574
|
+
// runtime adapters and the filesystem, and the dispatch guard's runner; it runs only through the policy.
|
|
2552
2575
|
const seatPoolSlots = new SeatPoolSlotsRepository(db);
|
|
2553
2576
|
const seatPoolStops = new SeatLifecycleService({ db, rigRepo, sessionRegistry, eventBus, tmuxAdapter });
|
|
2554
2577
|
const seatPoolExecutor = makeSeatPoolExecutor({
|
|
@@ -2581,6 +2604,16 @@ export async function createDaemon(opts) {
|
|
|
2581
2604
|
converge: (rigId, op, rigRoot, opts) => convergeOp({ instantiator: podInstantiator }, rigId, op, rigRoot, opts),
|
|
2582
2605
|
makeFolder: (folder) => { fs.mkdirSync(folder, { recursive: true }); },
|
|
2583
2606
|
},
|
|
2607
|
+
comeback: {
|
|
2608
|
+
select: (rigId, nodeId, logicalId) => snapshotRepo.selectComebackSnapshot(rigId, nodeId, logicalId),
|
|
2609
|
+
launch: (rigId, logicalId, { snapshotId }) => restoreOrchestrator.launchSingleNode(rigId, logicalId, {
|
|
2610
|
+
snapshotId,
|
|
2611
|
+
adapters: runtimeAdaptersMap,
|
|
2612
|
+
fsOps: { exists: (path) => fs.existsSync(path) },
|
|
2613
|
+
}),
|
|
2614
|
+
},
|
|
2615
|
+
// #4061: the block's `dispatch_guard`, run as an argv with a short timeout, once per planned move.
|
|
2616
|
+
dispatchGuard: runSeatPoolDispatchGuard,
|
|
2584
2617
|
});
|
|
2585
2618
|
const seatPoolPolicy = makeSeatPoolPolicy({ cycle: (job) => seatPoolExecutor.cycle(job) });
|
|
2586
2619
|
void seatPoolPolicy;
|
|
@@ -2592,6 +2625,7 @@ export async function createDaemon(opts) {
|
|
|
2592
2625
|
deliver: makeWatchdogDeliver({
|
|
2593
2626
|
sessionTransport,
|
|
2594
2627
|
outbox: outboxHandlerInstance,
|
|
2628
|
+
wakeStandby: (destination, owed) => seatColdStarter.wakeStandby(destination, owed),
|
|
2595
2629
|
readUsageLimitState,
|
|
2596
2630
|
isTerminalSeat: (sessionName) => isBoundTerminalSeat(db, sessionName),
|
|
2597
2631
|
hasPendingPostCompactStage: (sessionName) => deps.compactionEnforcer?.hasPendingPostCompactStage(sessionName) ?? false,
|
|
@@ -2602,6 +2636,8 @@ export async function createDaemon(opts) {
|
|
|
2602
2636
|
createQueueRow: (row) => queueRepoInstance.create({ ...row, sourceSession: "watchdog@system", nudge: false, wakeTrigger: "openrig" })
|
|
2603
2637
|
.then(({ qitemId, state }) => ({ qitemId, state })),
|
|
2604
2638
|
resolveParkedRows: ({ jobId, targetSession }) => queueRepoInstance.parkedRowsOwnedBy(jobId, targetSession),
|
|
2639
|
+
notificationCurrent: jobId => !queueRepoInstance.watchdogReminderSuperseded(jobId),
|
|
2640
|
+
resolveSharedParkReminder: jobId => queueRepoInstance.resolveSharedParkReminder(jobId),
|
|
2605
2641
|
noteParkedRows: ({ owner, notes }) => queueRepoInstance.noteParkedRows(owner, notes),
|
|
2606
2642
|
noteQueuedRow: ({ jobId, destinationSession, note }) => queueRepoInstance.noteOpenWatchdogRow(jobId, destinationSession, note),
|
|
2607
2643
|
}),
|
|
@@ -2636,13 +2672,14 @@ export async function createDaemon(opts) {
|
|
|
2636
2672
|
additionalPolicies: [
|
|
2637
2673
|
makeWorkflowKeepalivePolicy({
|
|
2638
2674
|
db,
|
|
2675
|
+
isFenced: id => !!queueRepoInstance.transferFence(id),
|
|
2639
2676
|
// OPR.0.4.6.WF5 FR-2 class (b): detection-time exception items,
|
|
2640
2677
|
// dedup by occurrence; dial resolved via the runtime's cached
|
|
2641
2678
|
// spec (registered-human selection inside the helper).
|
|
2642
2679
|
ensureStuckExceptionItem: workflowExceptionEnsurer,
|
|
2643
2680
|
reconcileStuckExceptions: (id) => workflowRuntime?.reconcileStuckExceptions(id) ?? 0,
|
|
2644
2681
|
}),
|
|
2645
|
-
makeIdleGateQitemPolicy({ db, seatActivity: seatActivityService, isQueueOnlySeat: isQueueOnlyGuardSeat }),
|
|
2682
|
+
makeIdleGateQitemPolicy({ db, seatActivity: seatActivityService, isQueueOnlySeat: isQueueOnlyGuardSeat, isFenced: id => !!queueRepoInstance.transferFence(id) }),
|
|
2646
2683
|
// OPR.0.5.6.24 F-14: the parked-owner consumer — the WHOLE shipped
|
|
2647
2684
|
// parked diagnosis (diagnoseRigParked over the arbitrated oracle +
|
|
2648
2685
|
// destination-scoped obligations + wake status; the same derivation
|
|
@@ -2672,15 +2709,17 @@ export async function createDaemon(opts) {
|
|
|
2672
2709
|
history: {
|
|
2673
2710
|
listForJob: (jobId, limit) => watchdogHistoryLogInstance.listForJob(jobId, limit),
|
|
2674
2711
|
countForJob: (jobId) => watchdogHistoryLogInstance.countForJob(jobId),
|
|
2712
|
+
latestAcceptedSendTo: (jobId, targetSession, occupantGeneration) => watchdogHistoryLogInstance.latestAcceptedSendTo(jobId, targetSession, occupantGeneration),
|
|
2713
|
+
refusedAttemptSince: (jobId, targetSession, afterHistoryId, occupantGeneration) => watchdogHistoryLogInstance.refusedAttemptSince(jobId, targetSession, afterHistoryId, occupantGeneration),
|
|
2675
2714
|
},
|
|
2676
2715
|
// Best-effort attempt reporting; actual prompt and failure recovery still use the existing ladder.
|
|
2677
2716
|
rows: {
|
|
2678
|
-
recoveryOwnsWake: (qitemId) => queueRecoveryOwnsWake(db, queueRepoInstance.getById(qitemId)),
|
|
2717
|
+
recoveryOwnsWake: (qitemId) => queueRecoveryOwnsWake(db, queueRepoInstance.getById(qitemId, { waiting: false })),
|
|
2679
2718
|
listTransitions: (qitemId) => queueRepoInstance
|
|
2680
2719
|
.listTransitions(qitemId)
|
|
2681
2720
|
.map((t) => ({ ts: t.ts, transitionNote: t.transitionNote ?? null, actorSession: t.actorSession, state: t.state, transitionId: t.transitionId })),
|
|
2682
2721
|
appendNote: (qitemId, note) => {
|
|
2683
|
-
const row = queueRepoInstance.getById(qitemId);
|
|
2722
|
+
const row = queueRepoInstance.getById(qitemId, { waiting: false });
|
|
2684
2723
|
if (!row || !isBlockerLive(row.state))
|
|
2685
2724
|
return { ok: false };
|
|
2686
2725
|
queueRepoInstance.update({
|
|
@@ -2772,6 +2811,15 @@ export async function createDaemon(opts) {
|
|
|
2772
2811
|
});
|
|
2773
2812
|
deps.watchdogPolicyEngine = watchdogPolicyEngine;
|
|
2774
2813
|
deps.watchdogScheduler = watchdogScheduler;
|
|
2814
|
+
deps.seatReaper = new SeatReaperService({
|
|
2815
|
+
db, eventBus, activity: seatActivityService, guard: tmuxAdapter.deliveryGuard,
|
|
2816
|
+
postCompactStagePending: (sessionName) => deps.compactionEnforcer?.hasPendingPostCompactStage(sessionName) ?? false,
|
|
2817
|
+
lifecycle: new SeatLifecycleService({ db, eventBus, rigRepo, sessionRegistry, tmuxAdapter }),
|
|
2818
|
+
capture: seat => deriveResumeToken({ runtime: seat.runtime, sessionName: seat.canonicalSessionName ?? "", nodeId: seat.nodeId }, {
|
|
2819
|
+
contextUsageStore, claudeProcessStartedAt, resumeTokenCapturer: resumeMetadataRefresher,
|
|
2820
|
+
piRunnerStateStore: piAdapter, ompRunnerStateStore: ompAdapter,
|
|
2821
|
+
}),
|
|
2822
|
+
});
|
|
2775
2823
|
// The outbound network connector: a pass per active `rig network` binding. With none, it makes no network call.
|
|
2776
2824
|
{
|
|
2777
2825
|
const { NetworkConnectorService } = await import("./domain/network/network-connector.js");
|
|
@@ -2797,6 +2845,13 @@ export async function createDaemon(opts) {
|
|
|
2797
2845
|
{
|
|
2798
2846
|
const parkedOwnerJob = (rigName) => {
|
|
2799
2847
|
const anchor = makeRigAnchor(rigName);
|
|
2848
|
+
// The ensure rewrites the spec: an operator's owner_min_interval_s in the current job's spec is carried over.
|
|
2849
|
+
let priorSpecYaml = null;
|
|
2850
|
+
try {
|
|
2851
|
+
priorSpecYaml = watchdogJobsRepoInstance.listExactTuple(PARKED_OWNER_POLICY_NAME, anchor, null)
|
|
2852
|
+
.filter((job) => job.state === "active" || job.state === "stopped").at(-1)?.specYaml ?? null;
|
|
2853
|
+
}
|
|
2854
|
+
catch { /* an unreadable prior job keeps the default spec */ }
|
|
2800
2855
|
return {
|
|
2801
2856
|
policy: PARKED_OWNER_POLICY_NAME,
|
|
2802
2857
|
targetSession: anchor,
|
|
@@ -2804,7 +2859,7 @@ export async function createDaemon(opts) {
|
|
|
2804
2859
|
intervalSeconds: 120,
|
|
2805
2860
|
activeWakeIntervalSeconds: null,
|
|
2806
2861
|
scanIntervalSeconds: null,
|
|
2807
|
-
specYaml:
|
|
2862
|
+
specYaml: parkedOwnerSpecYaml(rigName, priorSpecYaml),
|
|
2808
2863
|
};
|
|
2809
2864
|
};
|
|
2810
2865
|
// #3634: a name is armed while it has an unarchived row or a running seat (the seats diagnoseRig reads, so a rig
|
|
@@ -3015,16 +3070,20 @@ export async function createDaemon(opts) {
|
|
|
3015
3070
|
// the type narrow for downstream consumers).
|
|
3016
3071
|
const { ContextMonitor } = await import("./domain/context-monitor.js");
|
|
3017
3072
|
const { ClaudeCompactionEnforcer } = await import("./domain/claude-compaction-enforcer.js");
|
|
3073
|
+
// Who can act on a recovery notice: an agent whose own managed compaction this enforcer records as failing can't.
|
|
3074
|
+
// Called only from later polls and notices, after compactionEnforcer (next line) is initialized; a constructor-time call would hit its TDZ.
|
|
3075
|
+
const recoveryInability = (session) => compactionEnforcer ? recordedRecoveryInability(db, compactionEnforcer, session) : null;
|
|
3018
3076
|
const compactionEnforcer = deps.sessionTransport
|
|
3019
3077
|
? new ClaudeCompactionEnforcer(new ContextPackSettingsStore(), deps.sessionTransport,
|
|
3020
3078
|
// GHOST-STAGE (b): resolve the LIVE occupant generation (atom-B tenure ledger) for a session
|
|
3021
3079
|
// so a stage minted by a retired generation is refused for the successor. null = UNKNOWN → the
|
|
3022
3080
|
// gate is inert (never compares a stale generation as if live).
|
|
3023
3081
|
{
|
|
3024
|
-
onPreparationFailure: (failure) => reportPreparationFailure(db, queueRepoInstance, failure),
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3082
|
+
onPreparationFailure: (failure) => reportPreparationFailure(db, queueRepoInstance, failure, recoveryInability),
|
|
3083
|
+
onHeldNoticesRecheck: (sessionName) => recheckHeldNotices(db, queueRepoInstance, sessionName, recoveryInability),
|
|
3084
|
+
onRestoreDeliveryFailure: (failure) => reportRestoreDeliveryFailure(db, queueRepoInstance, failure, { unable: recoveryInability }),
|
|
3085
|
+
onRestoreDeliveryComplete: (receipt) => reportRestoreDeliveryFailure(db, queueRepoInstance, receipt, { completed: true, unable: recoveryInability }),
|
|
3086
|
+
onRestoreUptakeUnknown: (unknown) => reportRestoreUptakeUnknown(db, queueRepoInstance, unknown, recoveryInability),
|
|
3028
3087
|
// #3688: a cancel, a new attempt or a replaced occupant settles the notices its debt opened.
|
|
3029
3088
|
onCompactionDebtEnded: (ended) => settleCompactionNotices(queueRepoInstance, ended),
|
|
3030
3089
|
terminalPolicies: new TerminalPolicyStore(db),
|
|
@@ -3162,7 +3221,7 @@ export async function createDaemon(opts) {
|
|
|
3162
3221
|
}
|
|
3163
3222
|
// OPR.0.5.6.1 — bind the delivery policies' late gateway ref.
|
|
3164
3223
|
lateGatewayDispatch.fn = (op, ref, payload, opts) => gatewaySubsystem.dispatch(op, ref, payload, opts);
|
|
3165
|
-
// `ui.enabled` (default off): the web UI pages and
|
|
3224
|
+
// `ui.enabled` (default off): serve the web UI pages and assets. Read once at start.
|
|
3166
3225
|
deps.webUiEnabled = opts?.webUiEnabled ?? new ContextPackSettingsStore().resolveOne("ui.enabled").value === true;
|
|
3167
3226
|
// /api browser boundary: this machine's exact Tailscale MagicDNS name, looked up on demand.
|
|
3168
3227
|
deps.selfNameDiscovery = () => discoverTailscaleSelfNames({ timeoutMs: 1500 });
|
|
@@ -3188,8 +3247,12 @@ export async function createHerdrAppProviders(opts) {
|
|
|
3188
3247
|
env: opts.hcEnv,
|
|
3189
3248
|
...(opts.spawnFn ? { spawnFn: opts.spawnFn } : {}),
|
|
3190
3249
|
reconcileAll: () => {
|
|
3191
|
-
|
|
3192
|
-
|
|
3250
|
+
// What the running daemon notices (a viewer herdr-core brought back as a shell, one that ended) is reported as at
|
|
3251
|
+
// start: once recorded, a later start has nothing new to report.
|
|
3252
|
+
for (const provider of providers.values()) {
|
|
3253
|
+
void provider.reconcile().then((notes) => { for (const note of notes)
|
|
3254
|
+
console.warn(`[herdr-app] ${note}`); }).catch(() => { });
|
|
3255
|
+
}
|
|
3193
3256
|
},
|
|
3194
3257
|
});
|
|
3195
3258
|
const ownWork = () => {
|
|
@@ -3246,7 +3309,9 @@ export async function createHerdrAppProviders(opts) {
|
|
|
3246
3309
|
if (!provider)
|
|
3247
3310
|
continue;
|
|
3248
3311
|
ownWork();
|
|
3249
|
-
|
|
3312
|
+
// What changed while the daemon was down is reported here, a viewer herdr-core brought back as a shell included.
|
|
3313
|
+
for (const note of await provider.reconcile().catch(() => []))
|
|
3314
|
+
console.warn(`[herdr-app] ${note}`);
|
|
3250
3315
|
// A gate still pending when the daemon stopped is followed again, within its recorded window.
|
|
3251
3316
|
await provider.resumePendingGates().catch(() => { });
|
|
3252
3317
|
}
|