@openrig/cli 0.7.0 → 0.7.2
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 +9 -8
- package/daemon/assets/claude-statusline-context.cjs +13 -3
- package/daemon/assets/guidance/openrig-seat-skills.md +1 -0
- package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
- package/daemon/assets/plugins/openrig-core/hooks/claude.json +11 -11
- package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +9 -8
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus-health.cjs +2 -2
- package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +9 -6
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +1 -1
- package/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +13 -8
- package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +19 -4
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +254 -52
- package/daemon/assets/skills/rigs/SKILL.md +42 -10
- package/daemon/context-packs/help/help.md +6 -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 +271 -38
- package/daemon/context-packs/reference/acp-agents.md +77 -0
- package/daemon/context-packs/reference/getting-started.md +145 -14
- package/daemon/context-packs/reference/manifest.yaml +6 -3
- package/daemon/context-packs/reference/rig-spec.md +175 -5
- package/daemon/context-packs/reference/whats-new.md +275 -113
- package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
- package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
- package/daemon/context-packs/skills/claude-compaction-restore/scripts/precompact-hook.mjs +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/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +19 -4
- 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/SKILL.md +18 -3
- 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-software-factory/references/worked-example.md +2 -2
- 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/delegating-work/SKILL.md +1 -1
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/SKILL.md +13 -8
- 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 +254 -52
- 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/LICENSE.txt +201 -0
- package/daemon/context-packs/skills/process/agent-browser/OPENRIG.md +13 -29
- package/daemon/context-packs/skills/process/agent-browser/SKILL.md +7 -7
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/LICENSE.txt +201 -0
- package/daemon/context-packs/skills/process/dogfood/SKILL.md +6 -2
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/systematic-debugging/SKILL.md +6 -2
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/test-driven-development/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/test-driven-development/SKILL.md +5 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +3 -1
- package/daemon/context-packs/skills/process/verification-before-completion/LICENSE.txt +21 -0
- package/daemon/context-packs/skills/process/verification-before-completion/SKILL.md +5 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +3 -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/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 +4 -0
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +138 -41
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +9 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +37 -11
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts +10 -4
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +59 -14
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +54 -16
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +664 -117
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +25 -2
- package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/community-harness-runtime-adapter.js +122 -9
- package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/compose-services-adapter.d.ts +16 -0
- package/daemon/dist/adapters/compose-services-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/compose-services-adapter.js +46 -2
- package/daemon/dist/adapters/compose-services-adapter.js.map +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
- package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
- package/daemon/dist/adapters/kernel-authority.js +13 -2
- package/daemon/dist/adapters/kernel-authority.js.map +1 -1
- package/daemon/dist/adapters/pi-runner.d.ts +11 -0
- package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runner.js +81 -31
- package/daemon/dist/adapters/pi-runner.js.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.js +9 -6
- package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/stub-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/stub-runtime-adapter.js +9 -5
- package/daemon/dist/adapters/stub-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/tmux-server.d.ts +3 -0
- package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux-server.js +11 -2
- package/daemon/dist/adapters/tmux-server.js.map +1 -1
- package/daemon/dist/adapters/tmux.d.ts +53 -4
- package/daemon/dist/adapters/tmux.d.ts.map +1 -1
- package/daemon/dist/adapters/tmux.js +225 -40
- package/daemon/dist/adapters/tmux.js.map +1 -1
- package/daemon/dist/adapters/yolo-mode.d.ts +7 -0
- package/daemon/dist/adapters/yolo-mode.d.ts.map +1 -1
- package/daemon/dist/adapters/yolo-mode.js +8 -0
- package/daemon/dist/adapters/yolo-mode.js.map +1 -1
- package/daemon/dist/attention-surface.d.ts +14 -0
- package/daemon/dist/attention-surface.d.ts.map +1 -1
- package/daemon/dist/attention-surface.js.map +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/codex-auth-surface.d.ts +2 -0
- package/daemon/dist/codex-auth-surface.d.ts.map +1 -0
- package/daemon/dist/codex-auth-surface.js +2 -0
- package/daemon/dist/codex-auth-surface.js.map +1 -0
- package/daemon/dist/daemon-db-path.d.ts +6 -0
- package/daemon/dist/daemon-db-path.d.ts.map +1 -1
- package/daemon/dist/daemon-db-path.js +98 -1
- package/daemon/dist/daemon-db-path.js.map +1 -1
- package/daemon/dist/daemon-shutdown.d.ts.map +1 -1
- package/daemon/dist/daemon-shutdown.js +4 -2
- package/daemon/dist/daemon-shutdown.js.map +1 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +28 -0
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/124_context_usage_watchdog_units.d.ts +4 -0
- package/daemon/dist/db/migrations/124_context_usage_watchdog_units.d.ts.map +1 -0
- package/daemon/dist/db/migrations/124_context_usage_watchdog_units.js +9 -0
- package/daemon/dist/db/migrations/124_context_usage_watchdog_units.js.map +1 -0
- package/daemon/dist/db/migrations/125_node_advisor.d.ts +3 -0
- package/daemon/dist/db/migrations/125_node_advisor.d.ts.map +1 -0
- package/daemon/dist/db/migrations/125_node_advisor.js +8 -0
- package/daemon/dist/db/migrations/125_node_advisor.js.map +1 -0
- package/daemon/dist/db/migrations/127_operation_correlation.d.ts +3 -0
- package/daemon/dist/db/migrations/127_operation_correlation.d.ts.map +1 -0
- package/daemon/dist/db/migrations/127_operation_correlation.js +10 -0
- package/daemon/dist/db/migrations/127_operation_correlation.js.map +1 -0
- package/daemon/dist/db/migrations/128_terminal_policy.d.ts +3 -0
- package/daemon/dist/db/migrations/128_terminal_policy.d.ts.map +1 -0
- package/daemon/dist/db/migrations/128_terminal_policy.js +37 -0
- package/daemon/dist/db/migrations/128_terminal_policy.js.map +1 -0
- package/daemon/dist/db/migrations/129_stream_dispositions.d.ts +10 -0
- package/daemon/dist/db/migrations/129_stream_dispositions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/129_stream_dispositions.js +35 -0
- package/daemon/dist/db/migrations/129_stream_dispositions.js.map +1 -0
- package/daemon/dist/db/migrations/130_stream_subscriptions.d.ts +11 -0
- package/daemon/dist/db/migrations/130_stream_subscriptions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/130_stream_subscriptions.js +33 -0
- package/daemon/dist/db/migrations/130_stream_subscriptions.js.map +1 -0
- package/daemon/dist/db/migrations/131_stream_retention_floor.d.ts +8 -0
- package/daemon/dist/db/migrations/131_stream_retention_floor.d.ts.map +1 -0
- package/daemon/dist/db/migrations/131_stream_retention_floor.js +20 -0
- package/daemon/dist/db/migrations/131_stream_retention_floor.js.map +1 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.d.ts +10 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.d.ts.map +1 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.js +46 -0
- package/daemon/dist/db/migrations/132_seat_runtime_switches.js.map +1 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.d.ts +8 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.js +25 -0
- package/daemon/dist/db/migrations/133_stream_reader_actions.js.map +1 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.d.ts +3 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.d.ts.map +1 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.js +21 -0
- package/daemon/dist/db/migrations/134_claude_token_readings.js.map +1 -0
- package/daemon/dist/db/migrations/135_seat_identity_process_evidence.d.ts +3 -0
- package/daemon/dist/db/migrations/135_seat_identity_process_evidence.d.ts.map +1 -0
- package/daemon/dist/db/migrations/135_seat_identity_process_evidence.js +16 -0
- package/daemon/dist/db/migrations/135_seat_identity_process_evidence.js.map +1 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.d.ts +9 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.d.ts.map +1 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.js +11 -0
- package/daemon/dist/db/migrations/136_node_launch_recipe.js.map +1 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.d.ts +3 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.d.ts.map +1 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.js +8 -0
- package/daemon/dist/db/migrations/138_node_claude_token_ref.js.map +1 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.d.ts +3 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.d.ts.map +1 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.js +5 -0
- package/daemon/dist/db/migrations/139_node_claude_permissions.js.map +1 -0
- package/daemon/dist/domain/active-occupant.d.ts +3 -0
- package/daemon/dist/domain/active-occupant.d.ts.map +1 -1
- package/daemon/dist/domain/active-occupant.js +6 -2
- package/daemon/dist/domain/active-occupant.js.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.d.ts +3 -0
- package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
- package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
- package/daemon/dist/domain/agent-activity-store.d.ts +6 -2
- package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
- package/daemon/dist/domain/agent-activity-store.js +13 -4
- package/daemon/dist/domain/agent-activity-store.js.map +1 -1
- package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
- package/daemon/dist/domain/agent-manifest.js +14 -2
- package/daemon/dist/domain/agent-manifest.js.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts +3 -0
- package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/bootstrap-orchestrator.js +35 -6
- package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
- package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
- package/daemon/dist/domain/builtin-startup-files.js +2 -0
- package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
- package/daemon/dist/domain/bundle-behaviour.d.ts.map +1 -1
- package/daemon/dist/domain/bundle-behaviour.js +28 -1
- package/daemon/dist/domain/bundle-behaviour.js.map +1 -1
- package/daemon/dist/domain/claim-service.d.ts +19 -1
- package/daemon/dist/domain/claim-service.d.ts.map +1 -1
- package/daemon/dist/domain/claim-service.js +68 -20
- package/daemon/dist/domain/claim-service.js.map +1 -1
- package/daemon/dist/domain/classification-attempts.d.ts +4 -1
- package/daemon/dist/domain/classification-attempts.d.ts.map +1 -1
- package/daemon/dist/domain/classification-attempts.js +10 -1
- package/daemon/dist/domain/classification-attempts.js.map +1 -1
- package/daemon/dist/domain/classification-sources.d.ts +38 -0
- package/daemon/dist/domain/classification-sources.d.ts.map +1 -1
- package/daemon/dist/domain/classification-sources.js +24 -1
- package/daemon/dist/domain/classification-sources.js.map +1 -1
- package/daemon/dist/domain/claude-activity-hooks.d.ts +2 -2
- package/daemon/dist/domain/claude-activity-hooks.d.ts.map +1 -1
- package/daemon/dist/domain/claude-activity-hooks.js +8 -7
- package/daemon/dist/domain/claude-activity-hooks.js.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts +133 -8
- package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
- package/daemon/dist/domain/claude-compaction-enforcer.js +513 -64
- package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
- package/daemon/dist/domain/claude-core-plugin-env.d.ts +4 -1
- package/daemon/dist/domain/claude-core-plugin-env.d.ts.map +1 -1
- package/daemon/dist/domain/claude-core-plugin-env.js +23 -12
- package/daemon/dist/domain/claude-core-plugin-env.js.map +1 -1
- package/daemon/dist/domain/claude-credential-precedence.d.ts +33 -0
- package/daemon/dist/domain/claude-credential-precedence.d.ts.map +1 -0
- package/daemon/dist/domain/claude-credential-precedence.js +62 -0
- package/daemon/dist/domain/claude-credential-precedence.js.map +1 -0
- package/daemon/dist/domain/claude-managed-launch.d.ts +44 -5
- package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
- package/daemon/dist/domain/claude-managed-launch.js +159 -39
- package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
- package/daemon/dist/domain/claude-permission-rules.d.ts +10 -0
- package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -0
- package/daemon/dist/domain/claude-permission-rules.js +41 -0
- package/daemon/dist/domain/claude-permission-rules.js.map +1 -0
- package/daemon/dist/domain/claude-seat-token.d.ts +30 -0
- package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -0
- package/daemon/dist/domain/claude-seat-token.js +78 -0
- package/daemon/dist/domain/claude-seat-token.js.map +1 -0
- package/daemon/dist/domain/codex-auth.d.ts +148 -0
- package/daemon/dist/domain/codex-auth.d.ts.map +1 -0
- package/daemon/dist/domain/codex-auth.js +506 -0
- package/daemon/dist/domain/codex-auth.js.map +1 -0
- package/daemon/dist/domain/codex-daemon-support.d.ts +2 -1
- package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
- package/daemon/dist/domain/codex-daemon-support.js +3 -2
- package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
- package/daemon/dist/domain/codex-git-add-dirs.d.ts +1 -1
- package/daemon/dist/domain/codex-git-add-dirs.d.ts.map +1 -1
- package/daemon/dist/domain/codex-network-default.d.ts +2 -1
- package/daemon/dist/domain/codex-network-default.d.ts.map +1 -1
- package/daemon/dist/domain/codex-network-default.js +3 -2
- package/daemon/dist/domain/codex-network-default.js.map +1 -1
- package/daemon/dist/domain/codex-owned-plugin-trust.d.ts +26 -0
- package/daemon/dist/domain/codex-owned-plugin-trust.d.ts.map +1 -0
- package/daemon/dist/domain/codex-owned-plugin-trust.js +187 -0
- package/daemon/dist/domain/codex-owned-plugin-trust.js.map +1 -0
- package/daemon/dist/domain/codex-rebuild-permissions.d.ts +54 -0
- package/daemon/dist/domain/codex-rebuild-permissions.d.ts.map +1 -0
- package/daemon/dist/domain/codex-rebuild-permissions.js +134 -0
- package/daemon/dist/domain/codex-rebuild-permissions.js.map +1 -0
- package/daemon/dist/domain/codex-team-workspace.d.ts +5 -0
- package/daemon/dist/domain/codex-team-workspace.d.ts.map +1 -1
- package/daemon/dist/domain/codex-team-workspace.js +37 -0
- package/daemon/dist/domain/codex-team-workspace.js.map +1 -1
- package/daemon/dist/domain/community-harness-first-input.d.ts +7 -0
- package/daemon/dist/domain/community-harness-first-input.d.ts.map +1 -0
- package/daemon/dist/domain/community-harness-first-input.js +16 -0
- package/daemon/dist/domain/community-harness-first-input.js.map +1 -0
- package/daemon/dist/domain/community-harness-launch-result.d.ts +33 -0
- package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -0
- package/daemon/dist/domain/community-harness-launch-result.js +93 -0
- package/daemon/dist/domain/community-harness-launch-result.js.map +1 -0
- package/daemon/dist/domain/community-harness-presets.d.ts +29 -2
- package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
- package/daemon/dist/domain/community-harness-presets.js +51 -5
- package/daemon/dist/domain/community-harness-presets.js.map +1 -1
- package/daemon/dist/domain/compaction-restore-notice.d.ts +6 -0
- package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -0
- package/daemon/dist/domain/compaction-restore-notice.js +27 -0
- package/daemon/dist/domain/compaction-restore-notice.js.map +1 -0
- package/daemon/dist/domain/composer-prompts.d.ts +5 -2
- package/daemon/dist/domain/composer-prompts.d.ts.map +1 -1
- package/daemon/dist/domain/composer-prompts.js +2 -2
- package/daemon/dist/domain/composer-prompts.js.map +1 -1
- package/daemon/dist/domain/context-monitor.d.ts.map +1 -1
- package/daemon/dist/domain/context-monitor.js +2 -1
- package/daemon/dist/domain/context-monitor.js.map +1 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.d.ts +14 -0
- package/daemon/dist/domain/context-packs/seat-recap-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.js +57 -1
- package/daemon/dist/domain/context-packs/seat-recap-store.js.map +1 -1
- package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
- package/daemon/dist/domain/context-usage-store.js +6 -1
- package/daemon/dist/domain/context-usage-store.js.map +1 -1
- package/daemon/dist/domain/continuity-policy-materializer.d.ts +1 -0
- package/daemon/dist/domain/continuity-policy-materializer.d.ts.map +1 -1
- package/daemon/dist/domain/continuity-policy-materializer.js +2 -0
- package/daemon/dist/domain/continuity-policy-materializer.js.map +1 -1
- package/daemon/dist/domain/current-work.d.ts +15 -4
- package/daemon/dist/domain/current-work.d.ts.map +1 -1
- package/daemon/dist/domain/current-work.js +26 -13
- package/daemon/dist/domain/current-work.js.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/draft-aware-delivery.js +1 -1
- package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
- package/daemon/dist/domain/execution-view.d.ts.map +1 -1
- package/daemon/dist/domain/execution-view.js +12 -8
- package/daemon/dist/domain/execution-view.js.map +1 -1
- package/daemon/dist/domain/footprint-choice.d.ts +41 -0
- package/daemon/dist/domain/footprint-choice.d.ts.map +1 -0
- package/daemon/dist/domain/footprint-choice.js +42 -0
- package/daemon/dist/domain/footprint-choice.js.map +1 -0
- package/daemon/dist/domain/gateway/delivery-rules-engine.d.ts +3 -0
- package/daemon/dist/domain/gateway/delivery-rules-engine.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/delivery-rules-engine.js +1 -1
- package/daemon/dist/domain/gateway/delivery-rules-engine.js.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.d.ts +32 -0
- package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/human-registry.js +71 -4
- package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js +3 -1
- package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.d.ts +1 -0
- package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/inbound.js +58 -9
- package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts +6 -1
- package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/message.js +15 -6
- package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts +7 -0
- package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/queue-access.js +14 -2
- package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +1 -3
- package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-delivery.js +22 -22
- package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js +8 -7
- package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
- package/daemon/dist/domain/generated-file-hygiene.js +1 -1
- package/daemon/dist/domain/generated-file-hygiene.js.map +1 -1
- package/daemon/dist/domain/graph-projection.d.ts +3 -0
- 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-diagnosis.d.ts.map +1 -1
- package/daemon/dist/domain/health-diagnosis.js +14 -6
- package/daemon/dist/domain/health-diagnosis.js.map +1 -1
- package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
- package/daemon/dist/domain/human-questions.d.ts +2 -0
- package/daemon/dist/domain/human-questions.d.ts.map +1 -1
- package/daemon/dist/domain/human-questions.js +5 -0
- package/daemon/dist/domain/human-questions.js.map +1 -1
- package/daemon/dist/domain/kernel-boot.d.ts +5 -1
- package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
- package/daemon/dist/domain/kernel-boot.js +34 -4
- package/daemon/dist/domain/kernel-boot.js.map +1 -1
- package/daemon/dist/domain/managed-blocks.d.ts +32 -1
- package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
- package/daemon/dist/domain/managed-blocks.js +109 -11
- package/daemon/dist/domain/managed-blocks.js.map +1 -1
- package/daemon/dist/domain/managed-restore-read-access.d.ts +20 -0
- package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -0
- package/daemon/dist/domain/managed-restore-read-access.js +77 -0
- package/daemon/dist/domain/managed-restore-read-access.js.map +1 -0
- package/daemon/dist/domain/markdown-address.d.ts.map +1 -1
- package/daemon/dist/domain/markdown-address.js +21 -2
- package/daemon/dist/domain/markdown-address.js.map +1 -1
- package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts +1 -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 +3 -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 +24 -3
- 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 +121 -8
- package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +2 -0
- package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/current-model-reader.js +7 -0
- package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.d.ts +10 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.d.ts.map +1 -1
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.js +42 -6
- package/daemon/dist/domain/model-divergence/model-divergence-monitor.js.map +1 -1
- package/daemon/dist/domain/native-permission-store.d.ts +7 -2
- package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
- package/daemon/dist/domain/native-permission-store.js +13 -8
- package/daemon/dist/domain/native-permission-store.js.map +1 -1
- package/daemon/dist/domain/native-process-lineage.d.ts +3 -0
- package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
- package/daemon/dist/domain/native-process-lineage.js +60 -2
- package/daemon/dist/domain/native-process-lineage.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe-evidence.d.ts +19 -0
- package/daemon/dist/domain/native-resume-probe-evidence.d.ts.map +1 -0
- package/daemon/dist/domain/native-resume-probe-evidence.js +37 -0
- package/daemon/dist/domain/native-resume-probe-evidence.js.map +1 -0
- 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 +174 -44
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/node-inventory.d.ts +53 -1
- package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
- package/daemon/dist/domain/node-inventory.js +137 -45
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/node-launcher.d.ts +11 -0
- package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/node-launcher.js +49 -8
- package/daemon/dist/domain/node-launcher.js.map +1 -1
- package/daemon/dist/domain/occupant-invalidator.d.ts +16 -4
- package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
- package/daemon/dist/domain/occupant-invalidator.js +25 -5
- package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
- package/daemon/dist/domain/operation-correlation.d.ts +78 -0
- package/daemon/dist/domain/operation-correlation.d.ts.map +1 -0
- package/daemon/dist/domain/operation-correlation.js +54 -0
- package/daemon/dist/domain/operation-correlation.js.map +1 -0
- package/daemon/dist/domain/parent-session-env.d.ts +1 -1
- package/daemon/dist/domain/parent-session-env.d.ts.map +1 -1
- package/daemon/dist/domain/parent-session-env.js +3 -1
- package/daemon/dist/domain/parent-session-env.js.map +1 -1
- package/daemon/dist/domain/parked-query.d.ts +3 -0
- package/daemon/dist/domain/parked-query.d.ts.map +1 -1
- package/daemon/dist/domain/parked-query.js +1 -0
- package/daemon/dist/domain/parked-query.js.map +1 -1
- package/daemon/dist/domain/permission-account.d.ts +31 -0
- package/daemon/dist/domain/permission-account.d.ts.map +1 -0
- package/daemon/dist/domain/permission-account.js +116 -0
- package/daemon/dist/domain/permission-account.js.map +1 -0
- package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
- package/daemon/dist/domain/permission-drift.js +11 -7
- package/daemon/dist/domain/permission-drift.js.map +1 -1
- package/daemon/dist/domain/pod-bundle-assembler.d.ts +1 -0
- package/daemon/dist/domain/pod-bundle-assembler.d.ts.map +1 -1
- package/daemon/dist/domain/pod-bundle-assembler.js +25 -0
- package/daemon/dist/domain/pod-bundle-assembler.js.map +1 -1
- package/daemon/dist/domain/policies/artifact-pool-helpers.d.ts +7 -0
- package/daemon/dist/domain/policies/artifact-pool-helpers.d.ts.map +1 -1
- package/daemon/dist/domain/policies/artifact-pool-helpers.js +8 -4
- package/daemon/dist/domain/policies/artifact-pool-helpers.js.map +1 -1
- package/daemon/dist/domain/policies/context-usage-threshold.d.ts.map +1 -1
- package/daemon/dist/domain/policies/context-usage-threshold.js +109 -21
- package/daemon/dist/domain/policies/context-usage-threshold.js.map +1 -1
- package/daemon/dist/domain/policies/edge-artifact-required.d.ts +6 -1
- package/daemon/dist/domain/policies/edge-artifact-required.d.ts.map +1 -1
- package/daemon/dist/domain/policies/edge-artifact-required.js +18 -13
- package/daemon/dist/domain/policies/edge-artifact-required.js.map +1 -1
- package/daemon/dist/domain/policies/mode-scheduled-end.d.ts +2 -0
- package/daemon/dist/domain/policies/mode-scheduled-end.d.ts.map +1 -1
- package/daemon/dist/domain/policies/mode-scheduled-end.js +5 -1
- package/daemon/dist/domain/policies/mode-scheduled-end.js.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +8 -0
- package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js +15 -1
- package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
- package/daemon/dist/domain/policies/periodic-reminder.d.ts +10 -0
- package/daemon/dist/domain/policies/periodic-reminder.d.ts.map +1 -1
- package/daemon/dist/domain/policies/periodic-reminder.js +11 -6
- package/daemon/dist/domain/policies/periodic-reminder.js.map +1 -1
- package/daemon/dist/domain/policies/types.d.ts +25 -0
- package/daemon/dist/domain/policies/types.d.ts.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts +6 -1
- package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
- package/daemon/dist/domain/policies/workflow-keepalive.js +11 -5
- package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
- package/daemon/dist/domain/profile-resolution-worker.d.ts +7 -0
- package/daemon/dist/domain/profile-resolution-worker.d.ts.map +1 -0
- package/daemon/dist/domain/profile-resolution-worker.js +83 -0
- package/daemon/dist/domain/profile-resolution-worker.js.map +1 -0
- package/daemon/dist/domain/profile-resolver.d.ts +6 -0
- package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/profile-resolver.js +14 -2
- package/daemon/dist/domain/profile-resolver.js.map +1 -1
- package/daemon/dist/domain/project-classifier.d.ts +7 -0
- package/daemon/dist/domain/project-classifier.d.ts.map +1 -1
- package/daemon/dist/domain/project-classifier.js +26 -0
- package/daemon/dist/domain/project-classifier.js.map +1 -1
- package/daemon/dist/domain/proof/judgments.d.ts +7 -4
- package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
- package/daemon/dist/domain/proof/judgments.js +12 -8
- package/daemon/dist/domain/proof/judgments.js.map +1 -1
- package/daemon/dist/domain/proof/source-watch.d.ts +6 -1
- package/daemon/dist/domain/proof/source-watch.d.ts.map +1 -1
- package/daemon/dist/domain/proof/source-watch.js +241 -35
- package/daemon/dist/domain/proof/source-watch.js.map +1 -1
- package/daemon/dist/domain/provider/claude-auth-status-reader.d.ts +12 -0
- package/daemon/dist/domain/provider/claude-auth-status-reader.d.ts.map +1 -1
- package/daemon/dist/domain/provider/claude-auth-status-reader.js +4 -4
- package/daemon/dist/domain/provider/claude-auth-status-reader.js.map +1 -1
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts +32 -0
- package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -0
- package/daemon/dist/domain/provider/claude-seat-switch.js +136 -0
- package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -0
- package/daemon/dist/domain/provider/claude-token-usage.d.ts +34 -0
- package/daemon/dist/domain/provider/claude-token-usage.d.ts.map +1 -0
- package/daemon/dist/domain/provider/claude-token-usage.js +168 -0
- package/daemon/dist/domain/provider/claude-token-usage.js.map +1 -0
- package/daemon/dist/domain/provider/provider-account-readings.d.ts +7 -6
- package/daemon/dist/domain/provider/provider-account-readings.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-account-readings.js +31 -10
- package/daemon/dist/domain/provider/provider-account-readings.js.map +1 -1
- package/daemon/dist/domain/provider/provider-collect.d.ts +3 -0
- package/daemon/dist/domain/provider/provider-collect.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-collect.js +3 -2
- package/daemon/dist/domain/provider/provider-collect.js.map +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.d.ts +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-seat-accounts.js +29 -2
- package/daemon/dist/domain/provider/provider-seat-accounts.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.d.ts +38 -4
- package/daemon/dist/domain/provider/provider-service-impl.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-service-impl.js +147 -5
- package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
- package/daemon/dist/domain/provider/provider-service.d.ts +109 -4
- package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.d.ts +3 -0
- package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
- package/daemon/dist/domain/provider/provider-signals.js +7 -2
- package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
- package/daemon/dist/domain/provider/provider-types.d.ts +61 -5
- package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
- package/daemon/dist/domain/provider/reactive-tap.d.ts +4 -0
- package/daemon/dist/domain/provider/reactive-tap.d.ts.map +1 -1
- package/daemon/dist/domain/provider/reactive-tap.js +3 -0
- package/daemon/dist/domain/provider/reactive-tap.js.map +1 -1
- package/daemon/dist/domain/provider/subscription-move-report.d.ts +86 -0
- package/daemon/dist/domain/provider/subscription-move-report.d.ts.map +1 -0
- package/daemon/dist/domain/provider/subscription-move-report.js +227 -0
- package/daemon/dist/domain/provider/subscription-move-report.js.map +1 -0
- package/daemon/dist/domain/provider/usage-across-hosts.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-across-hosts.js +8 -2
- package/daemon/dist/domain/provider/usage-across-hosts.js.map +1 -1
- package/daemon/dist/domain/provider/usage-windows.d.ts +2 -0
- package/daemon/dist/domain/provider/usage-windows.d.ts.map +1 -1
- package/daemon/dist/domain/provider/usage-windows.js +4 -0
- package/daemon/dist/domain/provider/usage-windows.js.map +1 -1
- package/daemon/dist/domain/ps-projection.d.ts +6 -35
- package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
- package/daemon/dist/domain/ps-projection.js +14 -55
- package/daemon/dist/domain/ps-projection.js.map +1 -1
- package/daemon/dist/domain/queue-owner.d.ts +15 -3
- package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
- package/daemon/dist/domain/queue-owner.js +38 -5
- package/daemon/dist/domain/queue-owner.js.map +1 -1
- package/daemon/dist/domain/queue-pickup.d.ts +5 -2
- package/daemon/dist/domain/queue-pickup.d.ts.map +1 -1
- package/daemon/dist/domain/queue-pickup.js +19 -2
- package/daemon/dist/domain/queue-pickup.js.map +1 -1
- package/daemon/dist/domain/queue-repository.d.ts +72 -24
- package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-repository.js +346 -102
- package/daemon/dist/domain/queue-repository.js.map +1 -1
- package/daemon/dist/domain/queue-retention.d.ts +18 -0
- package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
- package/daemon/dist/domain/queue-retention.js +79 -0
- package/daemon/dist/domain/queue-retention.js.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.d.ts +16 -3
- package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
- package/daemon/dist/domain/queue-stuck-sweep.js +87 -11
- package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
- package/daemon/dist/domain/queue-wait-backoff.d.ts +3 -0
- package/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wait-backoff.js +9 -0
- package/daemon/dist/domain/queue-wait-backoff.js.map +1 -1
- package/daemon/dist/domain/queue-waiting.d.ts +2 -0
- package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
- package/daemon/dist/domain/queue-waiting.js.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-ladder.js +108 -34
- package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.d.ts +3 -0
- package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
- package/daemon/dist/domain/queue-wake-repository.js +5 -1
- package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
- package/daemon/dist/domain/reconciler.d.ts +23 -0
- package/daemon/dist/domain/reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/reconciler.js +44 -1
- package/daemon/dist/domain/reconciler.js.map +1 -1
- package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
- package/daemon/dist/domain/rehydrate-eligibility.js +2 -3
- package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
- package/daemon/dist/domain/restore-guidance.d.ts +7 -0
- package/daemon/dist/domain/restore-guidance.d.ts.map +1 -1
- package/daemon/dist/domain/restore-guidance.js +20 -8
- package/daemon/dist/domain/restore-guidance.js.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.d.ts +39 -2
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +266 -35
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/restore-plan-preview.d.ts +7 -2
- package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
- package/daemon/dist/domain/restore-plan-preview.js +28 -7
- package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
- package/daemon/dist/domain/restore-policy.d.ts +4 -0
- package/daemon/dist/domain/restore-policy.d.ts.map +1 -1
- package/daemon/dist/domain/restore-policy.js +11 -0
- package/daemon/dist/domain/restore-policy.js.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.d.ts +11 -2
- package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
- package/daemon/dist/domain/resume-metadata-refresher.js +32 -14
- package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
- package/daemon/dist/domain/resume-token-capture.d.ts +5 -1
- package/daemon/dist/domain/resume-token-capture.d.ts.map +1 -1
- package/daemon/dist/domain/resume-token-capture.js +3 -1
- package/daemon/dist/domain/resume-token-capture.js.map +1 -1
- package/daemon/dist/domain/rig-edge-ops.d.ts +58 -0
- package/daemon/dist/domain/rig-edge-ops.d.ts.map +1 -0
- package/daemon/dist/domain/rig-edge-ops.js +113 -0
- package/daemon/dist/domain/rig-edge-ops.js.map +1 -0
- package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.js +1 -0
- package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/daemon/dist/domain/rig-name-override.d.ts +14 -0
- package/daemon/dist/domain/rig-name-override.d.ts.map +1 -0
- package/daemon/dist/domain/rig-name-override.js +38 -0
- package/daemon/dist/domain/rig-name-override.js.map +1 -0
- package/daemon/dist/domain/rig-repository.d.ts +28 -3
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +261 -2
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rig-status-compose.d.ts +1 -1
- package/daemon/dist/domain/rig-status-compose.d.ts.map +1 -1
- package/daemon/dist/domain/rig-status-compose.js +3 -1
- package/daemon/dist/domain/rig-status-compose.js.map +1 -1
- package/daemon/dist/domain/rig-teardown.d.ts +20 -1
- package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
- package/daemon/dist/domain/rig-teardown.js +81 -9
- package/daemon/dist/domain/rig-teardown.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +14 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts +3 -0
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +29 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +71 -3
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +424 -48
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +15 -2
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts +3 -0
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +90 -3
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/running-name-guard.d.ts.map +1 -1
- package/daemon/dist/domain/running-name-guard.js +2 -1
- package/daemon/dist/domain/running-name-guard.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +37 -2
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js +5 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/runtime-switch-materials.d.ts +77 -0
- package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -0
- package/daemon/dist/domain/runtime-switch-materials.js +253 -0
- package/daemon/dist/domain/runtime-switch-materials.js.map +1 -0
- package/daemon/dist/domain/scope/scope-approve.d.ts +1 -1
- package/daemon/dist/domain/scope/scope-view-projection.d.ts +6 -0
- package/daemon/dist/domain/scope/scope-view-projection.d.ts.map +1 -1
- package/daemon/dist/domain/scope/scope-view-projection.js +26 -10
- package/daemon/dist/domain/scope/scope-view-projection.js.map +1 -1
- package/daemon/dist/domain/seat-activity-service.d.ts +8 -2
- package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-activity-service.js +30 -5
- package/daemon/dist/domain/seat-activity-service.js.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.d.ts +27 -2
- package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
- package/daemon/dist/domain/seat-attention-reconciler.js +91 -8
- package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts +20 -1
- package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
- package/daemon/dist/domain/seat-delivery-guard.js +66 -11
- package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
- package/daemon/dist/domain/seat-handover-service.d.ts +8 -0
- package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +75 -5
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/seat-identity-store.d.ts +11 -1
- package/daemon/dist/domain/seat-identity-store.d.ts.map +1 -1
- package/daemon/dist/domain/seat-identity-store.js +29 -4
- package/daemon/dist/domain/seat-identity-store.js.map +1 -1
- package/daemon/dist/domain/seat-launch-additions.d.ts +115 -0
- package/daemon/dist/domain/seat-launch-additions.d.ts.map +1 -0
- package/daemon/dist/domain/seat-launch-additions.js +439 -0
- package/daemon/dist/domain/seat-launch-additions.js.map +1 -0
- package/daemon/dist/domain/seat-launch-environment.d.ts +6 -1
- package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
- package/daemon/dist/domain/seat-launch-environment.js +9 -5
- package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.d.ts +98 -7
- package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-lifecycle-service.js +261 -25
- package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
- package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
- package/daemon/dist/domain/seat-restart-in-place.js +27 -7
- package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
- package/daemon/dist/domain/seat-runtime-dir.d.ts +17 -0
- package/daemon/dist/domain/seat-runtime-dir.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-dir.js +27 -0
- package/daemon/dist/domain/seat-runtime-dir.js.map +1 -0
- package/daemon/dist/domain/seat-runtime-home.d.ts +42 -0
- package/daemon/dist/domain/seat-runtime-home.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-home.js +89 -0
- package/daemon/dist/domain/seat-runtime-home.js.map +1 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts +220 -0
- package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -0
- package/daemon/dist/domain/seat-runtime-switch-service.js +593 -0
- package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -0
- package/daemon/dist/domain/seat-skill-apply.d.ts +139 -0
- package/daemon/dist/domain/seat-skill-apply.d.ts.map +1 -0
- package/daemon/dist/domain/seat-skill-apply.js +221 -0
- package/daemon/dist/domain/seat-skill-apply.js.map +1 -0
- package/daemon/dist/domain/seat-skill-storage.d.ts +295 -0
- package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -0
- package/daemon/dist/domain/seat-skill-storage.js +850 -0
- package/daemon/dist/domain/seat-skill-storage.js.map +1 -0
- package/daemon/dist/domain/seat-skills-pointer.d.ts +5 -0
- package/daemon/dist/domain/seat-skills-pointer.d.ts.map +1 -0
- package/daemon/dist/domain/seat-skills-pointer.js +15 -0
- package/daemon/dist/domain/seat-skills-pointer.js.map +1 -0
- package/daemon/dist/domain/seat-status-service.d.ts +40 -0
- package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-status-service.js +59 -3
- package/daemon/dist/domain/seat-status-service.js.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.d.ts +3 -0
- package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-structural-activity-service.js +6 -0
- package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
- package/daemon/dist/domain/service-orchestrator.d.ts +7 -0
- package/daemon/dist/domain/service-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/service-orchestrator.js +4 -0
- package/daemon/dist/domain/service-orchestrator.js.map +1 -1
- package/daemon/dist/domain/session-registry.d.ts +4 -0
- package/daemon/dist/domain/session-registry.d.ts.map +1 -1
- package/daemon/dist/domain/session-registry.js +13 -0
- package/daemon/dist/domain/session-registry.js.map +1 -1
- package/daemon/dist/domain/session-transport.d.ts +71 -22
- package/daemon/dist/domain/session-transport.d.ts.map +1 -1
- package/daemon/dist/domain/session-transport.js +376 -93
- package/daemon/dist/domain/session-transport.js.map +1 -1
- package/daemon/dist/domain/skill-catalog.d.ts +16 -0
- package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
- package/daemon/dist/domain/skill-catalog.js +15 -6
- package/daemon/dist/domain/skill-catalog.js.map +1 -1
- package/daemon/dist/domain/skill-discovery.d.ts +17 -2
- package/daemon/dist/domain/skill-discovery.d.ts.map +1 -1
- package/daemon/dist/domain/skill-discovery.js +44 -5
- package/daemon/dist/domain/skill-discovery.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 +4 -1
- package/daemon/dist/domain/snapshot-capture.js.map +1 -1
- package/daemon/dist/domain/snapshot-repository.d.ts +4 -3
- package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
- package/daemon/dist/domain/snapshot-repository.js +6 -5
- package/daemon/dist/domain/snapshot-repository.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts +29 -2
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +279 -25
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.d.ts +1 -0
- package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
- package/daemon/dist/domain/startup-submission-evidence.js +1 -0
- package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
- package/daemon/dist/domain/stream-dispositions.d.ts +51 -0
- package/daemon/dist/domain/stream-dispositions.d.ts.map +1 -0
- package/daemon/dist/domain/stream-dispositions.js +112 -0
- package/daemon/dist/domain/stream-dispositions.js.map +1 -0
- package/daemon/dist/domain/stream-reader-actions.d.ts +49 -0
- package/daemon/dist/domain/stream-reader-actions.d.ts.map +1 -0
- package/daemon/dist/domain/stream-reader-actions.js +104 -0
- package/daemon/dist/domain/stream-reader-actions.js.map +1 -0
- package/daemon/dist/domain/stream-store.d.ts +22 -0
- package/daemon/dist/domain/stream-store.d.ts.map +1 -1
- package/daemon/dist/domain/stream-store.js +49 -6
- package/daemon/dist/domain/stream-store.js.map +1 -1
- package/daemon/dist/domain/stream-subscriptions.d.ts +94 -0
- package/daemon/dist/domain/stream-subscriptions.d.ts.map +1 -0
- package/daemon/dist/domain/stream-subscriptions.js +160 -0
- package/daemon/dist/domain/stream-subscriptions.js.map +1 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts +41 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +63 -5
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts +8 -28
- package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/herdr-adapter.js +117 -64
- package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
- package/daemon/dist/domain/terminal/herdr-sessions.d.ts +9 -0
- package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/herdr-sessions.js +23 -0
- package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -0
- package/daemon/dist/domain/terminal/rex-adapter.d.ts +42 -0
- package/daemon/dist/domain/terminal/rex-adapter.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-adapter.js +228 -0
- package/daemon/dist/domain/terminal/rex-adapter.js.map +1 -0
- package/daemon/dist/domain/terminal/rex-layout.d.ts +26 -0
- package/daemon/dist/domain/terminal/rex-layout.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-layout.js +21 -0
- package/daemon/dist/domain/terminal/rex-layout.js.map +1 -0
- package/daemon/dist/domain/terminal/rex-transport.d.ts +43 -0
- package/daemon/dist/domain/terminal/rex-transport.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/rex-transport.js +176 -0
- package/daemon/dist/domain/terminal/rex-transport.js.map +1 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts +15 -0
- package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.d.ts +14 -5
- package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/terminal-service.js +51 -27
- package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
- package/daemon/dist/domain/terminal/tile-attach.d.ts +2 -0
- package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/tile-attach.js +42 -0
- package/daemon/dist/domain/terminal/tile-attach.js.map +1 -0
- package/daemon/dist/domain/terminal/tile-layout.d.ts +32 -0
- package/daemon/dist/domain/terminal/tile-layout.d.ts.map +1 -0
- package/daemon/dist/domain/terminal/tile-layout.js +36 -0
- package/daemon/dist/domain/terminal/tile-layout.js.map +1 -0
- package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
- package/daemon/dist/domain/terminal/view-composer.js +11 -6
- package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
- package/daemon/dist/domain/terminal-policy.d.ts +80 -0
- package/daemon/dist/domain/terminal-policy.d.ts.map +1 -0
- package/daemon/dist/domain/terminal-policy.js +117 -0
- package/daemon/dist/domain/terminal-policy.js.map +1 -0
- package/daemon/dist/domain/terminal-seat.d.ts +9 -0
- package/daemon/dist/domain/terminal-seat.d.ts.map +1 -0
- package/daemon/dist/domain/terminal-seat.js +37 -0
- package/daemon/dist/domain/terminal-seat.js.map +1 -0
- package/daemon/dist/domain/topology-converge.d.ts +25 -2
- package/daemon/dist/domain/topology-converge.d.ts.map +1 -1
- package/daemon/dist/domain/topology-converge.js +14 -1
- package/daemon/dist/domain/topology-converge.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +119 -2
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/urgent-line.d.ts +4 -0
- package/daemon/dist/domain/urgent-line.d.ts.map +1 -0
- package/daemon/dist/domain/urgent-line.js +7 -0
- package/daemon/dist/domain/urgent-line.js.map +1 -0
- package/daemon/dist/domain/usage-series.d.ts.map +1 -1
- package/daemon/dist/domain/usage-series.js +6 -2
- package/daemon/dist/domain/usage-series.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-browser.js +2 -2
- package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts +3 -1
- package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
- package/daemon/dist/domain/user-settings/settings-store.js +73 -1
- 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 +2 -1
- package/daemon/dist/domain/view-projector.js.map +1 -1
- package/daemon/dist/domain/wake-recovery.d.ts +16 -0
- package/daemon/dist/domain/wake-recovery.d.ts.map +1 -0
- package/daemon/dist/domain/wake-recovery.js +31 -0
- package/daemon/dist/domain/wake-recovery.js.map +1 -0
- package/daemon/dist/domain/watchdog-delivery.js +1 -1
- package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
- package/daemon/dist/domain/watchdog-job-update.d.ts +21 -0
- package/daemon/dist/domain/watchdog-job-update.d.ts.map +1 -0
- package/daemon/dist/domain/watchdog-job-update.js +143 -0
- package/daemon/dist/domain/watchdog-job-update.js.map +1 -0
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts +63 -7
- package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-jobs-repository.js +190 -21
- package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.d.ts +23 -0
- package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
- package/daemon/dist/domain/watchdog-policy-engine.js +46 -13
- package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-exception-escalation.js +7 -3
- package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
- package/daemon/dist/domain/workflow-projector.d.ts +5 -2
- package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-projector.js +16 -7
- package/daemon/dist/domain/workflow-projector.js.map +1 -1
- package/daemon/dist/domain/workflow-runtime.d.ts +8 -2
- package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
- package/daemon/dist/domain/workflow-runtime.js +30 -7
- package/daemon/dist/domain/workflow-runtime.js.map +1 -1
- package/daemon/dist/domain/workspace/project-read.d.ts +2 -0
- package/daemon/dist/domain/workspace/project-read.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/project-read.js +10 -1
- package/daemon/dist/domain/workspace/project-read.js.map +1 -1
- package/daemon/dist/index.d.ts.map +1 -1
- package/daemon/dist/index.js +7 -1
- package/daemon/dist/index.js.map +1 -1
- package/daemon/dist/lib/pane-envelope.d.ts +5 -0
- package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
- package/daemon/dist/lib/pane-envelope.js +8 -1
- package/daemon/dist/lib/pane-envelope.js.map +1 -1
- package/daemon/dist/router-line-surface.d.ts +2 -0
- package/daemon/dist/router-line-surface.d.ts.map +1 -0
- package/daemon/dist/router-line-surface.js +3 -0
- package/daemon/dist/router-line-surface.js.map +1 -0
- package/daemon/dist/routes/activity.d.ts.map +1 -1
- package/daemon/dist/routes/activity.js +15 -0
- package/daemon/dist/routes/activity.js.map +1 -1
- package/daemon/dist/routes/agent-images.d.ts.map +1 -1
- package/daemon/dist/routes/agent-images.js +19 -2
- package/daemon/dist/routes/agent-images.js.map +1 -1
- package/daemon/dist/routes/attention.d.ts.map +1 -1
- package/daemon/dist/routes/attention.js +30 -3
- package/daemon/dist/routes/attention.js.map +1 -1
- package/daemon/dist/routes/bootstrap-failure-response.js +2 -2
- package/daemon/dist/routes/bootstrap-failure-response.js.map +1 -1
- package/daemon/dist/routes/bundles.js +1 -1
- package/daemon/dist/routes/bundles.js.map +1 -1
- package/daemon/dist/routes/compaction.d.ts.map +1 -1
- package/daemon/dist/routes/compaction.js +31 -10
- package/daemon/dist/routes/compaction.js.map +1 -1
- package/daemon/dist/routes/context-packs.d.ts.map +1 -1
- package/daemon/dist/routes/context-packs.js +22 -0
- package/daemon/dist/routes/context-packs.js.map +1 -1
- package/daemon/dist/routes/hosts.d.ts.map +1 -1
- package/daemon/dist/routes/hosts.js +2 -0
- package/daemon/dist/routes/hosts.js.map +1 -1
- package/daemon/dist/routes/mission-control.d.ts.map +1 -1
- package/daemon/dist/routes/mission-control.js +7 -3
- package/daemon/dist/routes/mission-control.js.map +1 -1
- package/daemon/dist/routes/projects.d.ts.map +1 -1
- package/daemon/dist/routes/projects.js +59 -12
- package/daemon/dist/routes/projects.js.map +1 -1
- package/daemon/dist/routes/proof.js +2 -2
- package/daemon/dist/routes/proof.js.map +1 -1
- package/daemon/dist/routes/provider.d.ts.map +1 -1
- package/daemon/dist/routes/provider.js +170 -3
- package/daemon/dist/routes/provider.js.map +1 -1
- package/daemon/dist/routes/queue.d.ts.map +1 -1
- package/daemon/dist/routes/queue.js +154 -13
- package/daemon/dist/routes/queue.js.map +1 -1
- package/daemon/dist/routes/require-sender-identity.d.ts +10 -8
- package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
- package/daemon/dist/routes/require-sender-identity.js +13 -11
- package/daemon/dist/routes/require-sender-identity.js.map +1 -1
- package/daemon/dist/routes/rigs.d.ts.map +1 -1
- package/daemon/dist/routes/rigs.js +77 -10
- 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 +38 -12
- package/daemon/dist/routes/rigspec.js.map +1 -1
- package/daemon/dist/routes/runtime-switch-custody.d.ts +21 -0
- package/daemon/dist/routes/runtime-switch-custody.d.ts.map +1 -0
- package/daemon/dist/routes/runtime-switch-custody.js +55 -0
- package/daemon/dist/routes/runtime-switch-custody.js.map +1 -0
- package/daemon/dist/routes/scope-approve.js +2 -2
- package/daemon/dist/routes/scope-approve.js.map +1 -1
- package/daemon/dist/routes/scopes.d.ts.map +1 -1
- package/daemon/dist/routes/scopes.js +30 -7
- package/daemon/dist/routes/scopes.js.map +1 -1
- package/daemon/dist/routes/seat.d.ts.map +1 -1
- package/daemon/dist/routes/seat.js +109 -10
- package/daemon/dist/routes/seat.js.map +1 -1
- package/daemon/dist/routes/sessions.d.ts.map +1 -1
- package/daemon/dist/routes/sessions.js +14 -0
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/routes/skills.d.ts.map +1 -1
- package/daemon/dist/routes/skills.js +54 -1
- package/daemon/dist/routes/skills.js.map +1 -1
- package/daemon/dist/routes/startup.js +15 -5
- package/daemon/dist/routes/startup.js.map +1 -1
- package/daemon/dist/routes/stream.d.ts.map +1 -1
- package/daemon/dist/routes/stream.js +86 -14
- package/daemon/dist/routes/stream.js.map +1 -1
- package/daemon/dist/routes/terminal.d.ts.map +1 -1
- package/daemon/dist/routes/terminal.js +20 -11
- package/daemon/dist/routes/terminal.js.map +1 -1
- package/daemon/dist/routes/transport.d.ts.map +1 -1
- package/daemon/dist/routes/transport.js +55 -5
- package/daemon/dist/routes/transport.js.map +1 -1
- package/daemon/dist/routes/up.js +5 -0
- package/daemon/dist/routes/up.js.map +1 -1
- package/daemon/dist/routes/watchdog.d.ts +1 -0
- package/daemon/dist/routes/watchdog.d.ts.map +1 -1
- package/daemon/dist/routes/watchdog.js +52 -3
- package/daemon/dist/routes/watchdog.js.map +1 -1
- package/daemon/dist/routes/workflow.d.ts.map +1 -1
- package/daemon/dist/routes/workflow.js +24 -13
- package/daemon/dist/routes/workflow.js.map +1 -1
- package/daemon/dist/seat-recap-store-surface.d.ts +1 -1
- package/daemon/dist/seat-recap-store-surface.d.ts.map +1 -1
- package/daemon/dist/seat-recap-store-surface.js +1 -1
- package/daemon/dist/seat-recap-store-surface.js.map +1 -1
- package/daemon/dist/server.d.ts +4 -0
- package/daemon/dist/server.d.ts.map +1 -1
- package/daemon/dist/server.js +5 -1
- package/daemon/dist/server.js.map +1 -1
- package/daemon/dist/skill-loadout-surface.d.ts +2 -0
- package/daemon/dist/skill-loadout-surface.d.ts.map +1 -1
- package/daemon/dist/skill-loadout-surface.js +2 -0
- package/daemon/dist/skill-loadout-surface.js.map +1 -1
- package/daemon/dist/startup.d.ts +5 -0
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +160 -49
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
- package/daemon/dist/terminal/TerminalSessionBroker.js +14 -2
- package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
- package/daemon/docs/reference/a2a-agents.md +343 -0
- package/daemon/docs/reference/acp-agents.md +77 -0
- package/daemon/docs/reference/agent-spec.md +7 -5
- package/daemon/docs/reference/agent-startup-guide.md +46 -0
- package/daemon/docs/reference/agent-state-taxonomy.md +27 -2
- package/daemon/docs/reference/checked-seat-stop.md +11 -0
- package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +13 -0
- package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +68 -0
- package/daemon/docs/reference/community-harness-examples/hermes/config.yaml.example +18 -0
- package/daemon/docs/reference/community-harness-examples/hermes/hermes.yaml +12 -0
- package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +34 -0
- package/daemon/docs/reference/community-harness-examples/openclaw/openclaw-gateway.yaml +15 -0
- package/daemon/docs/reference/community-harness-examples/openclaw/openclaw.yaml +16 -0
- package/daemon/docs/reference/community-harness-examples/openclaw/openrig-openclaw-launch +70 -0
- package/daemon/docs/reference/community-harness-presets.md +194 -0
- package/daemon/docs/reference/getting-started.md +145 -14
- package/daemon/docs/reference/health-diagnosis.md +13 -0
- package/daemon/docs/reference/help.md +6 -0
- package/daemon/docs/reference/keeping-a-watch.md +21 -0
- package/daemon/docs/reference/operation-correlation.md +9 -0
- package/daemon/docs/reference/project-workspace.md +24 -0
- package/daemon/docs/reference/publishing-a-rig-bundle.md +11 -0
- package/daemon/docs/reference/quickstart.md +1 -1
- package/daemon/docs/reference/refocus-channel.md +6 -4
- package/daemon/docs/reference/rig-spec.md +175 -5
- package/daemon/docs/reference/sdlc-conventions.md +3 -1
- package/daemon/docs/reference/seat-delivery.md +89 -7
- package/daemon/docs/reference/slack-app-setup.md +4 -2
- package/daemon/docs/reference/stream-classifier-worker.md +28 -0
- package/daemon/docs/reference/telemetry.md +3 -0
- package/daemon/docs/reference/terminal-sessions.md +141 -0
- package/daemon/docs/reference/topology-naming.md +1 -1
- package/daemon/docs/reference/whats-new.md +275 -113
- package/daemon/specs/agents/shared/runtime/claude-settings.fragment.json +0 -3
- package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +19 -4
- package/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md +18 -3
- package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +2 -2
- package/daemon/specs/agents/shared/skills/process/agent-browser/LICENSE.txt +201 -0
- package/daemon/specs/agents/shared/skills/process/agent-browser/OPENRIG.md +13 -29
- package/daemon/specs/agents/shared/skills/process/agent-browser/SKILL.md +7 -7
- package/daemon/specs/agents/shared/skills/process/dogfood/LICENSE.txt +201 -0
- package/daemon/specs/agents/shared/skills/process/dogfood/SKILL.md +6 -2
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/SKILL.md +6 -2
- package/daemon/specs/agents/shared/skills/process/test-driven-development/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +5 -1
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/LICENSE.txt +21 -0
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +5 -1
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +53 -10
- package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +3 -0
- package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +12 -0
- package/daemon/specs/rigs/launch/kernel/agents/queue/worker/startup/context.md +3 -1
- package/daemon/specs/rigs/launch/secrets-manager/secrets-manager.compose.yaml +1 -1
- package/dist/acp/connector.d.ts +72 -0
- package/dist/acp/connector.d.ts.map +1 -0
- package/dist/acp/connector.js +218 -0
- package/dist/acp/connector.js.map +1 -0
- package/dist/acp/json-rpc-stdio.d.ts +53 -0
- package/dist/acp/json-rpc-stdio.d.ts.map +1 -0
- package/dist/acp/json-rpc-stdio.js +141 -0
- package/dist/acp/json-rpc-stdio.js.map +1 -0
- package/dist/acp/run-processes.d.ts +10 -0
- package/dist/acp/run-processes.d.ts.map +1 -0
- package/dist/acp/run-processes.js +33 -0
- package/dist/acp/run-processes.js.map +1 -0
- package/dist/build-info.js +3 -3
- package/dist/client.d.ts +15 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +30 -8
- package/dist/client.js.map +1 -1
- package/dist/commands/acp.d.ts +11 -0
- package/dist/commands/acp.d.ts.map +1 -0
- package/dist/commands/acp.js +198 -0
- package/dist/commands/acp.js.map +1 -0
- package/dist/commands/attach.js +1 -1
- package/dist/commands/attach.js.map +1 -1
- package/dist/commands/auth.d.ts +3 -0
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +41 -11
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/capture.d.ts.map +1 -1
- package/dist/commands/capture.js +8 -0
- package/dist/commands/capture.js.map +1 -1
- package/dist/commands/chatroom.d.ts.map +1 -1
- package/dist/commands/chatroom.js +6 -0
- package/dist/commands/chatroom.js.map +1 -1
- package/dist/commands/compact-plan.d.ts +2 -0
- package/dist/commands/compact-plan.d.ts.map +1 -1
- package/dist/commands/compact-plan.js +38 -3
- package/dist/commands/compact-plan.js.map +1 -1
- package/dist/commands/compact.js +1 -1
- package/dist/commands/compact.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +7 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +29 -23
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/create.js +2 -2
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +2 -0
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/down.d.ts +5 -1
- package/dist/commands/down.d.ts.map +1 -1
- package/dist/commands/down.js +93 -5
- package/dist/commands/down.js.map +1 -1
- package/dist/commands/edge.d.ts +4 -0
- package/dist/commands/edge.d.ts.map +1 -0
- package/dist/commands/edge.js +135 -0
- package/dist/commands/edge.js.map +1 -0
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/env.js +3 -0
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/export.d.ts +1 -0
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +98 -0
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/fork.d.ts.map +1 -1
- package/dist/commands/fork.js +19 -2
- package/dist/commands/fork.js.map +1 -1
- package/dist/commands/gateway.d.ts.map +1 -1
- package/dist/commands/gateway.js +2 -1
- package/dist/commands/gateway.js.map +1 -1
- package/dist/commands/grow.js +2 -2
- package/dist/commands/grow.js.map +1 -1
- package/dist/commands/health.js +1 -1
- package/dist/commands/health.js.map +1 -1
- package/dist/commands/launch.js +2 -2
- package/dist/commands/launch.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +113 -1
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/project-worker.d.ts +25 -1
- package/dist/commands/project-worker.d.ts.map +1 -1
- package/dist/commands/project-worker.js +9 -7
- package/dist/commands/project-worker.js.map +1 -1
- package/dist/commands/project.d.ts +2 -0
- package/dist/commands/project.d.ts.map +1 -1
- package/dist/commands/project.js +70 -2
- package/dist/commands/project.js.map +1 -1
- package/dist/commands/proof.d.ts.map +1 -1
- package/dist/commands/proof.js +33 -2
- package/dist/commands/proof.js.map +1 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +273 -24
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/ps.d.ts +12 -1
- package/dist/commands/ps.d.ts.map +1 -1
- package/dist/commands/ps.js +50 -47
- package/dist/commands/ps.js.map +1 -1
- package/dist/commands/queue.d.ts +4 -2
- package/dist/commands/queue.d.ts.map +1 -1
- package/dist/commands/queue.js +178 -45
- package/dist/commands/queue.js.map +1 -1
- package/dist/commands/reconcile-session.d.ts.map +1 -1
- package/dist/commands/reconcile-session.js +6 -0
- package/dist/commands/reconcile-session.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +5 -2
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seat.d.ts +2 -0
- package/dist/commands/seat.d.ts.map +1 -1
- package/dist/commands/seat.js +336 -11
- package/dist/commands/seat.js.map +1 -1
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +62 -55
- package/dist/commands/send.js.map +1 -1
- package/dist/commands/setup.d.ts +24 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +160 -7
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/skill.d.ts.map +1 -1
- package/dist/commands/skill.js +137 -3
- package/dist/commands/skill.js.map +1 -1
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +18 -25
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +4 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/stream-outcome.d.ts +742 -0
- package/dist/commands/stream-outcome.d.ts.map +1 -0
- package/dist/commands/stream-outcome.js +118 -0
- package/dist/commands/stream-outcome.js.map +1 -0
- package/dist/commands/stream.d.ts.map +1 -1
- package/dist/commands/stream.js +86 -2
- package/dist/commands/stream.js.map +1 -1
- package/dist/commands/terminal.d.ts +5 -0
- package/dist/commands/terminal.d.ts.map +1 -1
- package/dist/commands/terminal.js +42 -11
- package/dist/commands/terminal.js.map +1 -1
- package/dist/commands/topology-default-agent.d.ts +2 -2
- package/dist/commands/topology-default-agent.d.ts.map +1 -1
- package/dist/commands/topology-default-agent.js +5 -3
- package/dist/commands/topology-default-agent.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +82 -31
- package/dist/commands/up.js.map +1 -1
- package/dist/commands/watchdog.d.ts.map +1 -1
- package/dist/commands/watchdog.js +80 -5
- package/dist/commands/watchdog.js.map +1 -1
- package/dist/commands/workflow-errors.js +1 -1
- package/dist/commands/workflow-errors.js.map +1 -1
- package/dist/commands/workflow-render.js +4 -4
- package/dist/commands/workflow-render.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +34 -15
- package/dist/commands/workflow.js.map +1 -1
- package/dist/config-store.d.ts +15 -1
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +86 -4
- package/dist/config-store.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts +4 -0
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +73 -21
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/decisions/decisions.d.ts +203 -0
- package/dist/decisions/decisions.d.ts.map +1 -0
- package/dist/decisions/decisions.js +374 -0
- package/dist/decisions/decisions.js.map +1 -0
- package/dist/decisions/stream-consumer.d.ts +255 -0
- package/dist/decisions/stream-consumer.d.ts.map +1 -0
- package/dist/decisions/stream-consumer.js +282 -0
- package/dist/decisions/stream-consumer.js.map +1 -0
- package/dist/decisions/templates.d.ts +8 -0
- package/dist/decisions/templates.d.ts.map +1 -0
- package/dist/decisions/templates.js +34 -0
- package/dist/decisions/templates.js.map +1 -0
- package/dist/fresh-seat-command.d.ts +18 -0
- package/dist/fresh-seat-command.d.ts.map +1 -0
- package/dist/fresh-seat-command.js +36 -0
- package/dist/fresh-seat-command.js.map +1 -0
- package/dist/front-door.d.ts +4 -0
- package/dist/front-door.d.ts.map +1 -1
- package/dist/front-door.js +8 -4
- package/dist/front-door.js.map +1 -1
- package/dist/host-bindings.d.ts.map +1 -1
- package/dist/host-bindings.js +16 -9
- package/dist/host-bindings.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/lazy-program.d.ts.map +1 -1
- package/dist/lazy-program.js +2 -0
- package/dist/lazy-program.js.map +1 -1
- package/dist/lib/codex-auth.d.ts +1 -147
- package/dist/lib/codex-auth.d.ts.map +1 -1
- package/dist/lib/codex-auth.js +2 -505
- package/dist/lib/codex-auth.js.map +1 -1
- package/dist/lib/run-on-host.d.ts +29 -0
- package/dist/lib/run-on-host.d.ts.map +1 -0
- package/dist/lib/run-on-host.js +69 -0
- package/dist/lib/run-on-host.js.map +1 -0
- package/dist/lib/seat-activity.d.ts +17 -0
- package/dist/lib/seat-activity.d.ts.map +1 -0
- package/dist/lib/seat-activity.js +29 -0
- package/dist/lib/seat-activity.js.map +1 -0
- package/dist/local-daemon-owner.d.ts +4 -0
- package/dist/local-daemon-owner.d.ts.map +1 -1
- package/dist/local-daemon-owner.js +1 -1
- package/dist/local-daemon-owner.js.map +1 -1
- package/dist/mcp-http.d.ts +42 -0
- package/dist/mcp-http.d.ts.map +1 -0
- package/dist/mcp-http.js +232 -0
- package/dist/mcp-http.js.map +1 -0
- package/dist/mcp-server.d.ts +30 -2
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +1163 -436
- package/dist/mcp-server.js.map +1 -1
- package/dist/seat-launch-additions-lines.d.ts +11 -0
- package/dist/seat-launch-additions-lines.d.ts.map +1 -0
- package/dist/seat-launch-additions-lines.js +14 -0
- package/dist/seat-launch-additions-lines.js.map +1 -0
- package/dist/terminal-window-rex.d.ts +6 -0
- package/dist/terminal-window-rex.d.ts.map +1 -0
- package/dist/terminal-window-rex.js +129 -0
- package/dist/terminal-window-rex.js.map +1 -0
- package/dist/terminal-window.d.ts +3 -1
- package/dist/terminal-window.d.ts.map +1 -1
- package/dist/terminal-window.js +68 -28
- package/dist/terminal-window.js.map +1 -1
- package/package.json +1 -1
- package/tui/dist/attention/attention-model.d.ts +3 -1
- package/tui/dist/attention/attention-model.d.ts.map +1 -1
- package/tui/dist/attention/attention-model.js +68 -1
- package/tui/dist/attention/attention-model.js.map +1 -1
- package/tui/dist/commands/registry.d.ts.map +1 -1
- package/tui/dist/commands/registry.js +3 -1
- package/tui/dist/commands/registry.js.map +1 -1
- package/tui/dist/config/config-model.d.ts.map +1 -1
- package/tui/dist/config/config-model.js +2 -0
- package/tui/dist/config/config-model.js.map +1 -1
- package/tui/dist/daemon-client.d.ts +22 -3
- package/tui/dist/daemon-client.d.ts.map +1 -1
- package/tui/dist/daemon-client.js +9 -4
- package/tui/dist/daemon-client.js.map +1 -1
- package/tui/dist/hydrate.d.ts.map +1 -1
- package/tui/dist/hydrate.js +13 -7
- package/tui/dist/hydrate.js.map +1 -1
- package/tui/dist/live.d.ts.map +1 -1
- package/tui/dist/live.js +6 -4
- package/tui/dist/live.js.map +1 -1
- package/tui/dist/main.js +15 -1
- package/tui/dist/main.js.map +1 -1
- package/tui/dist/render.d.ts.map +1 -1
- package/tui/dist/render.js +10 -3
- package/tui/dist/render.js.map +1 -1
- package/tui/dist/terminals/open-window.d.ts +9 -5
- package/tui/dist/terminals/open-window.d.ts.map +1 -1
- package/tui/dist/terminals/open-window.js +29 -12
- package/tui/dist/terminals/open-window.js.map +1 -1
- package/tui/dist/terminals/terminal-model.d.ts +2 -1
- package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
- package/tui/dist/terminals/terminal-model.js +5 -4
- package/tui/dist/terminals/terminal-model.js.map +1 -1
- package/tui/dist/topology/fixture.js +1 -1
- package/tui/dist/topology/fixture.js.map +1 -1
- package/tui/dist/topology/glyphs.js +1 -1
- package/tui/dist/topology/glyphs.js.map +1 -1
- package/tui/dist/topology/graph-types.d.ts +1 -0
- package/tui/dist/topology/graph-types.d.ts.map +1 -1
- package/tui/dist/types.d.ts +25 -0
- package/tui/dist/types.d.ts.map +1 -1
- package/tui/dist/usage/usage-model.d.ts.map +1 -1
- package/tui/dist/usage/usage-model.js +5 -3
- package/tui/dist/usage/usage-model.js.map +1 -1
- package/ui/dist/assets/{index-CVgod3Pm.js → index-DLP1ipGq.js} +92 -92
- package/ui/dist/index.html +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { nonInterruptiveNotice } from "../adapters/non-interruptive.js";
|
|
2
|
+
import { planModelAliasNotice } from "../adapters/yolo-mode.js";
|
|
2
3
|
import { randomUUID } from "node:crypto";
|
|
3
4
|
import { isClaudeResumeType } from "../adapters/claude-resume.js";
|
|
4
5
|
import { isAttentionRequiredReadinessCode, resolveConcreteHint } from "./runtime-adapter.js";
|
|
@@ -14,6 +15,10 @@ import { SettingsStore } from "./user-settings/settings-store.js";
|
|
|
14
15
|
import { shellQuote } from "../adapters/shell-quote.js";
|
|
15
16
|
import { observeClaudeResumeLaunch } from "./native-process-lineage.js";
|
|
16
17
|
import { CommunityHarnessRuntimeAdapter } from "../adapters/community-harness-runtime-adapter.js";
|
|
18
|
+
import { join } from "node:path";
|
|
19
|
+
import { guidanceFileIsLink, readFootprintAnswer, readGuidanceFile, routerLineSkipReason } from "./footprint-choice.js";
|
|
20
|
+
import { SEAT_SKILLS_BOOTSTRAP_BLOCK_ID, describeSkillRouterFootprint, seatSkillsLineEdited, refusedSeatSkillsRootForNode, seatCatalogKeptNote, seatRouterKeptNote, seatSkillPathsForNode, seatSkillPluginDirForNode, writeSeatSkillCatalog, writeSeatSkillRouter } from "./seat-skill-storage.js";
|
|
21
|
+
import { recordConversationPromptForNode, recordForkConversationPromptForNode, seatLaunchAdditionsForLaunch, systemPromptPendingNoteForNode } from "./seat-launch-additions.js";
|
|
17
22
|
// Expanded startup text can put the current input marker above 50 scrollback lines.
|
|
18
23
|
const STARTUP_SUBMIT_CAPTURE_LINES = 200;
|
|
19
24
|
// Claude Code 2.1.289 has taken Enter on a large startup paste after the first look, while the composer
|
|
@@ -126,6 +131,12 @@ export function isRecoverableStartupFailure(db, nodeId, sessionId) {
|
|
|
126
131
|
return false;
|
|
127
132
|
return true;
|
|
128
133
|
}
|
|
134
|
+
// -- Types --
|
|
135
|
+
/** The seat-skills bootstrap line among a seat's startup files: the built-in guidance merged into its managed block
|
|
136
|
+
* (never the Codex catalog, which shares the logical name but is sent as text). */
|
|
137
|
+
export function isSeatSkillsBootstrapLine(file) {
|
|
138
|
+
return file.path === SEAT_SKILLS_BOOTSTRAP_BLOCK_ID && file.deliveryHint === "guidance_merge";
|
|
139
|
+
}
|
|
129
140
|
/**
|
|
130
141
|
* Drives one node from projected resources to startup_status: ready.
|
|
131
142
|
*
|
|
@@ -221,7 +232,38 @@ export class StartupOrchestrator {
|
|
|
221
232
|
const claudeManagedBlockFile = rigRepo.getRigClaudeManagedBlockFile(input.rigId);
|
|
222
233
|
if (claudeManagedBlockFile)
|
|
223
234
|
input = { ...input, binding: { ...input.binding, claudeManagedBlockFile } };
|
|
235
|
+
// OPR.0.7.0.13: a Claude seat whose plugin OpenRig keeps (already on its CLAUDE_CODE_PLUGIN_DIRS) gets every skill
|
|
236
|
+
// there, profile resources and startup skill files too. A seat without one keeps the project, as before, so a
|
|
237
|
+
// skill never lands where nothing points.
|
|
238
|
+
if (input.adapter.runtime === "claude-code" && !input.binding.seatSkillsRoot) {
|
|
239
|
+
const seatPlugin = seatSkillPluginDirForNode(this.db, input.nodeId);
|
|
240
|
+
if (seatPlugin)
|
|
241
|
+
input = { ...input, binding: { ...input.binding, seatSkillsRoot: join(seatPlugin, "skills") } };
|
|
242
|
+
}
|
|
243
|
+
// OPR.0.7.0.13 (Codex C2): a Codex seat with its own storage gets its skills there, and its catalog, rebuilt after
|
|
244
|
+
// this launch's projection, is what its per-seat startup text delivers.
|
|
245
|
+
const codexSeatSkills = input.adapter.runtime === "codex" ? seatSkillPathsForNode(this.db, input.nodeId) : undefined;
|
|
246
|
+
if (codexSeatSkills && !input.binding.seatSkillsRoot)
|
|
247
|
+
input = { ...input, binding: { ...input.binding, seatSkillsRoot: codexSeatSkills.skillsRoot } };
|
|
248
|
+
// A seat whose storage a link refused keeps its skills' target there, where each is refused and named; they never
|
|
249
|
+
// fall back into the project.
|
|
250
|
+
if (!input.binding.seatSkillsRoot && (input.adapter.runtime === "claude-code" || input.adapter.runtime === "codex")) {
|
|
251
|
+
const refused = refusedSeatSkillsRootForNode(this.db, input.nodeId);
|
|
252
|
+
if (refused)
|
|
253
|
+
input = { ...input, binding: { ...input.binding, seatSkillsRoot: refused.skillsRoot, seatSkillsRefused: refused.reason } };
|
|
254
|
+
}
|
|
255
|
+
// OPR.0.7.0.9: a Claude seat's own launch additions, the copies present in its seat storage; a missing copy is named.
|
|
256
|
+
if (input.adapter.runtime === "claude-code" && !input.binding.launchAdditions) {
|
|
257
|
+
const { additions, missing, refused } = seatLaunchAdditionsForLaunch(this.db, input.nodeId);
|
|
258
|
+
if (additions)
|
|
259
|
+
input = { ...input, binding: { ...input.binding, launchAdditions: additions } };
|
|
260
|
+
for (const file of missing)
|
|
261
|
+
warnings.push(`${input.sessionName ?? input.nodeId}: seat_launch_addition_missing: ${file} is not in this seat's storage; launched without it`);
|
|
262
|
+
for (const reason of refused)
|
|
263
|
+
warnings.push(`${input.sessionName ?? input.nodeId}: seat_launch_addition_refused: ${reason}; launched without it`);
|
|
264
|
+
}
|
|
224
265
|
const deliveryInput = { ...input, warnings, submissionWarnings: [], startupAttemptId: randomUUID(), sendOrder: 0, submissionDiagnostics: [] };
|
|
266
|
+
const startupAssisted = input.adapter instanceof CommunityHarnessRuntimeAdapter && input.adapter.startupAssisted();
|
|
225
267
|
const errors = [];
|
|
226
268
|
let continuityOutcome = input.resumeToken
|
|
227
269
|
? "resumed"
|
|
@@ -254,7 +296,11 @@ export class StartupOrchestrator {
|
|
|
254
296
|
let projectionResult;
|
|
255
297
|
if (!(input.preserveStartupContext && input.adapter.runtime === "claude-code" && input.plan.entries.length === 0))
|
|
256
298
|
try {
|
|
257
|
-
|
|
299
|
+
const skip = input.replaySkip;
|
|
300
|
+
const projectedPlan = skip && skip.entryIds.size > 0
|
|
301
|
+
? { ...input.plan, entries: input.plan.entries.filter((e) => !(e.category === "skill" && skip.entryIds.has(e.effectiveId))) }
|
|
302
|
+
: input.plan;
|
|
303
|
+
projectionResult = await input.adapter.project(projectedPlan, input.binding);
|
|
258
304
|
warnings.push(...(projectionResult.warnings ?? []));
|
|
259
305
|
if (projectionResult.failed.length > 0) {
|
|
260
306
|
for (const f of projectionResult.failed) {
|
|
@@ -278,12 +324,18 @@ export class StartupOrchestrator {
|
|
|
278
324
|
const sourceFiles = input.rebuildArtifacts && input.rebuildArtifacts.length > 0
|
|
279
325
|
? [...input.rebuildArtifacts, ...input.resolvedStartupFiles]
|
|
280
326
|
: input.resolvedStartupFiles;
|
|
281
|
-
|
|
327
|
+
// OPR.0.7.0.13 (router, R1.1): the one-line bootstrap is delivered on its own (below), only with a yes, and never
|
|
328
|
+
// stops the launch. Every start reads the answer, so a saved context from before the line was opt-in (or from while
|
|
329
|
+
// it was on) delivers it only while the yes stands. Nothing already written is removed.
|
|
330
|
+
const bootstrapLine = sourceFiles.filter((f) => f.appliesOn.includes(context) && !input.replaySkip?.files.has(f.absolutePath)
|
|
331
|
+
&& isSeatSkillsBootstrapLine(f));
|
|
332
|
+
const applicableFiles = sourceFiles.filter((f) => f.appliesOn.includes(context) && !input.replaySkip?.files.has(f.absolutePath)
|
|
333
|
+
&& !isSeatSkillsBootstrapLine(f));
|
|
282
334
|
const preLaunchFiles = [];
|
|
283
335
|
let postLaunchFiles = [];
|
|
284
336
|
for (const f of applicableFiles) {
|
|
285
337
|
const hint = f.deliveryHint === "auto"
|
|
286
|
-
? resolveConcreteHint(f.path, this.safeReadFile(f.absolutePath))
|
|
338
|
+
? resolveConcreteHint(f.path, this.safeReadFile(f.absolutePath), f.orientation)
|
|
287
339
|
: f.deliveryHint;
|
|
288
340
|
if (hint === "send_text") {
|
|
289
341
|
postLaunchFiles.push(f);
|
|
@@ -308,6 +360,74 @@ export class StartupOrchestrator {
|
|
|
308
360
|
errors.push(`Pre-launch delivery error: ${err.message}`);
|
|
309
361
|
return this.fail(input, "failed", errors, undefined, false, undefined, false, "pre_launch_files", true);
|
|
310
362
|
}
|
|
363
|
+
// OPR.0.7.0.13 (router, R1.1): the bootstrap line, on its own: with a yes it is delivered into the seat's guidance file;
|
|
364
|
+
// otherwise it is skipped with the answer's reason. A line that can't be written is this start's named result (from
|
|
365
|
+
// the delivery's own error), never a failed launch.
|
|
366
|
+
let routerLine;
|
|
367
|
+
if (bootstrapLine.length > 0) {
|
|
368
|
+
let answer = null;
|
|
369
|
+
try {
|
|
370
|
+
answer = readFootprintAnswer(this.readinessSettings);
|
|
371
|
+
}
|
|
372
|
+
catch { /* unreadable: reported as such */ }
|
|
373
|
+
const target = describeSkillRouterFootprint([{ seat: input.sessionName ?? input.nodeId, runtime: input.adapter.runtime,
|
|
374
|
+
cwd: input.binding.cwd ?? ".", claudeManagedBlockFile: input.binding.claudeManagedBlockFile ?? null }]).files[0]?.path;
|
|
375
|
+
if (target) {
|
|
376
|
+
const skip = routerLineSkipReason(answer);
|
|
377
|
+
if (skip)
|
|
378
|
+
routerLine = { answer, files: [{ path: target, outcome: "skipped", reason: skip }] };
|
|
379
|
+
else if (guidanceFileIsLink(target)) {
|
|
380
|
+
// A linked guidance file is someone's layout, often a file outside the project: the line isn't written through it.
|
|
381
|
+
routerLine = { answer, files: [{ path: target, outcome: "linked" }] };
|
|
382
|
+
warnings.push(`seat_skills_line_linked: ${target} is a link, so the line wasn't written through it; the seat started without it`);
|
|
383
|
+
}
|
|
384
|
+
else if (seatSkillsLineEdited(readGuidanceFile(target))) {
|
|
385
|
+
// Someone edited the line: a start leaves their block as it is, as rig down does.
|
|
386
|
+
routerLine = { answer, files: [{ path: target, outcome: "edited" }] };
|
|
387
|
+
warnings.push(`seat_skills_line_edited: ${target} holds an edited seat-skills line, so this start left it as it is`);
|
|
388
|
+
}
|
|
389
|
+
else {
|
|
390
|
+
try {
|
|
391
|
+
// The saved line is optional, and the adapters swallow an optional file's write error; for this one isolated
|
|
392
|
+
// call, mark it required so the adapter reports the real error, which is handled here without failing the start.
|
|
393
|
+
const delivered = await input.adapter.deliverStartup(bootstrapLine.map((f) => ({ ...f, required: true })), input.binding);
|
|
394
|
+
const failed = delivered.failed.find((f) => f.path === bootstrapLine[0].path) ?? delivered.failed[0];
|
|
395
|
+
routerLine = { answer, files: [failed ? { path: target, outcome: "unwritable", error: failed.error } : { path: target, outcome: "delivered" }] };
|
|
396
|
+
}
|
|
397
|
+
catch (err) {
|
|
398
|
+
routerLine = { answer, files: [{ path: target, outcome: "unwritable", error: err.message }] };
|
|
399
|
+
}
|
|
400
|
+
const unwritable = routerLine.files.find((f) => f.outcome === "unwritable");
|
|
401
|
+
if (unwritable && unwritable.outcome === "unwritable")
|
|
402
|
+
warnings.push(`seat_skills_line_unwritable: ${unwritable.path}: ${unwritable.error}; the seat started without it`);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
// OPR.0.7.0.13 (router): the seat's one generated router skill, after every pre-launch skill writer, so it lists
|
|
407
|
+
// every skill the seat starts with. A router that can't be written is this seat's named result; the launch goes on.
|
|
408
|
+
const routerSeatSkills = input.adapter.runtime === "claude-code" ? seatSkillPathsForNode(this.db, input.nodeId) : codexSeatSkills;
|
|
409
|
+
if (routerSeatSkills) {
|
|
410
|
+
try {
|
|
411
|
+
const router = writeSeatSkillRouter(routerSeatSkills);
|
|
412
|
+
if (router.kept)
|
|
413
|
+
warnings.push(seatRouterKeptNote(router));
|
|
414
|
+
}
|
|
415
|
+
catch (err) {
|
|
416
|
+
warnings.push(`seat_router_not_written: ${err.message}`);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
// OPR.0.7.0.13 (Codex C2): the seat's catalog, built after every pre-launch skill writer (projection and startup
|
|
420
|
+
// skill files) and before the post-launch text that sends it, so it lists every skill the seat starts with.
|
|
421
|
+
if (codexSeatSkills) {
|
|
422
|
+
try {
|
|
423
|
+
const catalog = writeSeatSkillCatalog(codexSeatSkills);
|
|
424
|
+
if (catalog.kept)
|
|
425
|
+
warnings.push(`${seatCatalogKeptNote(catalog)}${catalog.reason === "edited" ? ", and that file is what the seat's startup text sends" : ""}`);
|
|
426
|
+
}
|
|
427
|
+
catch (err) {
|
|
428
|
+
warnings.push(`seat skill catalog not written: ${err.message}`);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
311
431
|
// 7. Persist startup context for restore replay
|
|
312
432
|
if (!input.preserveStartupContext)
|
|
313
433
|
try {
|
|
@@ -316,6 +436,9 @@ export class StartupOrchestrator {
|
|
|
316
436
|
catch (error) {
|
|
317
437
|
return this.fail(input, "failed", [`Startup context persistence failed: ${String(error)}`], undefined, false, undefined, false, "persistence", true);
|
|
318
438
|
}
|
|
439
|
+
const identityAction = this.extractSessionIdentityAction(input.startupActions, context);
|
|
440
|
+
let launchPrompt;
|
|
441
|
+
let launchChallenge = null;
|
|
319
442
|
// 5. Launch harness (unless skipped for legacy nodes)
|
|
320
443
|
// A community harness's seat: record the selection on this session before the app starts. It's provenance for
|
|
321
444
|
// later reads (identity, activity, labels, restore), not launch success or identity proof.
|
|
@@ -340,11 +463,26 @@ export class StartupOrchestrator {
|
|
|
340
463
|
}
|
|
341
464
|
catch { /* best-effort: without it a rotation stays unproved, as before */ }
|
|
342
465
|
}
|
|
466
|
+
if (input.adapter instanceof CommunityHarnessRuntimeAdapter && input.adapter.firstInput()
|
|
467
|
+
&& !launchResumeToken && continuityOutcome === "fresh" && identityAction) {
|
|
468
|
+
launchChallenge = startupProof.mode === "authenticated" ? issueStartupChallenge(this.eventBus, {
|
|
469
|
+
rigId: input.rigId, nodeId: input.nodeId, contractSource: JSON.stringify(input.resolvedStartupFiles),
|
|
470
|
+
}) : null;
|
|
471
|
+
launchPrompt = this.composeInitialSessionPrompt(deliveryInput, identityAction, postLaunchFiles, launchChallenge?.promptBlock ?? null, input.includeDurableObligations);
|
|
472
|
+
}
|
|
343
473
|
const launchResult = await input.adapter.launchHarness(input.binding, {
|
|
344
474
|
name: input.sessionName ?? input.binding.tmuxSession ?? "",
|
|
475
|
+
...(launchPrompt ? { firstInputText: launchPrompt.prompt } : {}),
|
|
345
476
|
resumeToken: launchResumeToken,
|
|
477
|
+
...(launchResumeToken && input.resumeType ? { resumeType: input.resumeType } : {}),
|
|
346
478
|
...(input.forkSource && !launchResumeToken ? { forkSource: input.forkSource } : {}),
|
|
347
479
|
});
|
|
480
|
+
if (launchResult.firstInput) {
|
|
481
|
+
input.firstInputPassed = deliveryInput.firstInputPassed = true;
|
|
482
|
+
this.eventBus.emit({ type: "node.startup_first_input_passed", rigId: input.rigId, nodeId: input.nodeId,
|
|
483
|
+
sessionId: input.sessionId, ...launchResult.firstInput });
|
|
484
|
+
warnings.push("First startup input passed at launch; submission is not confirmed.");
|
|
485
|
+
}
|
|
348
486
|
if (launchResult.ok) {
|
|
349
487
|
appliedLaunch = launchResult.appliedLaunch;
|
|
350
488
|
resumedProcess = launchResult.resumedProcess;
|
|
@@ -354,16 +492,45 @@ export class StartupOrchestrator {
|
|
|
354
492
|
const notice = nonInterruptiveNotice(input.adapter.runtime, input.binding);
|
|
355
493
|
if (notice)
|
|
356
494
|
warnings.push(`${input.sessionName ?? input.nodeId}: ${notice}`);
|
|
495
|
+
const planNote = planModelAliasNotice(input.adapter.runtime, input.binding, input.sessionName ?? input.nodeId);
|
|
496
|
+
if (planNote)
|
|
497
|
+
warnings.push(`${input.sessionName ?? input.nodeId}: ${planNote}`);
|
|
498
|
+
for (const note of launchResult.warnings ?? [])
|
|
499
|
+
warnings.push(`${input.sessionName ?? input.nodeId}: ${note}`);
|
|
357
500
|
const normalizedResumeToken = launchResult.resumeToken?.trim();
|
|
358
501
|
if (normalizedResumeToken) {
|
|
359
502
|
try {
|
|
360
|
-
|
|
503
|
+
if (launchResult.resumeProvenance) {
|
|
504
|
+
this.sessionRegistry.recordLauncherReportedToken(input.sessionId, launchResult.resumeType ?? "", normalizedResumeToken, launchResult.resumeProvenance);
|
|
505
|
+
}
|
|
506
|
+
else {
|
|
507
|
+
this.sessionRegistry.updateResumeToken(input.sessionId, launchResult.resumeType ?? "", normalizedResumeToken, "scrape");
|
|
508
|
+
}
|
|
361
509
|
}
|
|
362
510
|
catch { /* best-effort */ }
|
|
363
511
|
}
|
|
512
|
+
// OPR.0.7.0.9: the prompt a new conversation starts with; on a resume, a changed prompt is pending.
|
|
513
|
+
if (input.adapter.runtime === "claude-code" && input.binding.launchAdditions?.appendSystemPromptFile) {
|
|
514
|
+
const resumed = launchResumeToken?.trim();
|
|
515
|
+
if (resumed) {
|
|
516
|
+
const pending = systemPromptPendingNoteForNode(this.db, input.nodeId, resumed);
|
|
517
|
+
if (pending)
|
|
518
|
+
warnings.push(`${input.sessionName ?? input.nodeId}: ${pending}`);
|
|
519
|
+
}
|
|
520
|
+
else if (normalizedResumeToken) {
|
|
521
|
+
// A fork starts from its parent's conversation: it takes the parent's recorded start (or none).
|
|
522
|
+
try {
|
|
523
|
+
if (input.forkSource?.value)
|
|
524
|
+
recordForkConversationPromptForNode(this.db, input.nodeId, normalizedResumeToken, input.forkSource.value);
|
|
525
|
+
else
|
|
526
|
+
recordConversationPromptForNode(this.db, input.nodeId, normalizedResumeToken);
|
|
527
|
+
}
|
|
528
|
+
catch { /* best-effort */ }
|
|
529
|
+
}
|
|
530
|
+
}
|
|
364
531
|
break;
|
|
365
532
|
}
|
|
366
|
-
const shouldRetryFresh = !!launchResumeToken
|
|
533
|
+
const shouldRetryFresh = !!launchResumeToken && !input.firstInputPassed
|
|
367
534
|
&& input.allowFreshFallback !== false
|
|
368
535
|
&& launchResult.recovery === "retry_fresh"
|
|
369
536
|
&& !attemptedFreshFallback;
|
|
@@ -400,10 +567,10 @@ export class StartupOrchestrator {
|
|
|
400
567
|
// isRestore selects context, not native continuity: pod-aware exact
|
|
401
568
|
// resume also uses false. Only an actual fresh launch may re-prime; an
|
|
402
569
|
// unverified fork keeps its unsent context for a verified continuation.
|
|
403
|
-
return this.fail(input, "attention_required", errors, launchResult.evidence, launchResult.forkIdentityPending ? forkContext ?? false : continuityOutcome === "fresh", undefined, false, "harness_launch", true);
|
|
570
|
+
return this.fail(input, "attention_required", errors, launchResult.evidence, launchResult.forkIdentityPending ? forkContext ?? false : continuityOutcome === "fresh", undefined, false, "harness_launch", true, launchResult.probe);
|
|
404
571
|
}
|
|
405
572
|
errors.push(`Harness launch failed: ${launchResult.error}`);
|
|
406
|
-
return this.fail(input, "failed", errors, undefined, false, launchResult.recovery, launchResult.missingConversation === true, "harness_launch", true);
|
|
573
|
+
return this.fail(input, "failed", errors, undefined, false, launchResult.recovery, launchResult.missingConversation === true, "harness_launch", true, launchResult.probe);
|
|
407
574
|
}
|
|
408
575
|
}
|
|
409
576
|
catch (err) {
|
|
@@ -414,6 +581,10 @@ export class StartupOrchestrator {
|
|
|
414
581
|
// A successful new lean launch replaces the occupant's proof boundary even
|
|
415
582
|
// if readiness later fails. Failed launches and resume/adopt retain history.
|
|
416
583
|
const isFreshLaunch = continuityOutcome === "fresh" && (!input.skipHarnessLaunch || input.continueFreshStartup === true);
|
|
584
|
+
// Once a startup turn was refused, the result says what's owed, whatever error comes later. Continuing replays the
|
|
585
|
+
// whole fresh startup, so don't offer it for a restore, a possibly delivered one-shot, or an uncertain staged input.
|
|
586
|
+
const owed = (also = [], refused = deliveryInput.refusedTurn) => refused
|
|
587
|
+
? this.owedStartup(deliveryInput, refused, continuityOutcome, isFreshLaunch && !input.isRestore && !deliveryInput.oneShotSent && !deliveryInput.refusedWithStagedInput, also) : null;
|
|
417
588
|
const shouldChallenge = isFreshLaunch
|
|
418
589
|
&& input.adapter.runtime !== "terminal" && startupProof.mode === "authenticated";
|
|
419
590
|
if (isFreshLaunch && !shouldChallenge) {
|
|
@@ -489,22 +660,23 @@ export class StartupOrchestrator {
|
|
|
489
660
|
if (appliedLaunch && launchGeneration) {
|
|
490
661
|
this.appliedLaunchStore.recordGeneration(launchGeneration, appliedLaunch);
|
|
491
662
|
}
|
|
492
|
-
//
|
|
493
|
-
//
|
|
494
|
-
const
|
|
495
|
-
const challenge = shouldChallenge
|
|
663
|
+
// Normally issue proof after readiness; an opted-in launcher already received its challenge in the first input.
|
|
664
|
+
// Ground truth is persisted before either delivery path.
|
|
665
|
+
const challenge = launchChallenge ?? (shouldChallenge
|
|
496
666
|
? issueStartupChallenge(this.eventBus, {
|
|
497
667
|
rigId: input.rigId,
|
|
498
668
|
nodeId: input.nodeId,
|
|
499
669
|
contractSource: JSON.stringify(input.resolvedStartupFiles),
|
|
500
670
|
})
|
|
501
|
-
: null;
|
|
671
|
+
: null);
|
|
502
672
|
// A selected proof still works without a session_identity action: deliver
|
|
503
673
|
// its standalone prompt after the post-launch contract files below.
|
|
504
674
|
const consumedActions = new Set();
|
|
505
675
|
let challengeOnlyPrompt = null;
|
|
506
676
|
if (continuityOutcome === "fresh" && identityAction) {
|
|
507
|
-
const initialPrompt =
|
|
677
|
+
const initialPrompt = input.firstInputPassed && launchPrompt
|
|
678
|
+
? { ok: true, remainingFiles: launchPrompt.remainingFiles }
|
|
679
|
+
: await this.deliverInitialSessionPrompt(deliveryInput, identityAction, postLaunchFiles, challenge?.promptBlock ?? null, input.includeDurableObligations);
|
|
508
680
|
if (!initialPrompt.ok) {
|
|
509
681
|
errors.push(initialPrompt.error);
|
|
510
682
|
return this.fail(input, "failed", errors, undefined, false, undefined, false, "initial_prompt", true);
|
|
@@ -561,12 +733,12 @@ export class StartupOrchestrator {
|
|
|
561
733
|
for (const f of deliveryResult.failed) {
|
|
562
734
|
errors.push(`Post-launch file delivery failed: ${f.path}: ${f.error}`);
|
|
563
735
|
}
|
|
564
|
-
return this.fail(deliveryInput, "failed", errors, undefined, false, undefined, false, "post_launch_files", true);
|
|
736
|
+
return owed(errors) ?? this.fail(deliveryInput, "failed", errors, undefined, false, undefined, false, "post_launch_files", true);
|
|
565
737
|
}
|
|
566
738
|
}
|
|
567
739
|
catch (err) {
|
|
568
740
|
errors.push(`Post-launch delivery error: ${err.message}`);
|
|
569
|
-
return this.fail(deliveryInput, "failed", errors, undefined, false, undefined, false, "post_launch_files", true);
|
|
741
|
+
return owed(errors) ?? this.fail(deliveryInput, "failed", errors, undefined, false, undefined, false, "post_launch_files", true);
|
|
570
742
|
}
|
|
571
743
|
}
|
|
572
744
|
// Challenge-only delivery remains best-effort. Staging is reported without
|
|
@@ -579,14 +751,17 @@ export class StartupOrchestrator {
|
|
|
579
751
|
// 8. Execute after_files actions
|
|
580
752
|
const afterFilesResult = await this.executeActions(deliveryInput, "after_files");
|
|
581
753
|
if (!afterFilesResult.ok) {
|
|
582
|
-
return this.fail(deliveryInput, "failed", afterFilesResult.errors, undefined, false, undefined, false, "after_files", true);
|
|
754
|
+
return owed(afterFilesResult.errors) ?? this.fail(deliveryInput, "failed", afterFilesResult.errors, undefined, false, undefined, false, "after_files", true);
|
|
583
755
|
}
|
|
584
756
|
// 9. Execute after_ready actions (skipping any preload actions already
|
|
585
757
|
// delivered ahead of role.md by the restore-order bundling above).
|
|
586
758
|
const afterReadyResult = await this.executeActions(deliveryInput, "after_ready", consumedActions);
|
|
587
759
|
if (!afterReadyResult.ok) {
|
|
588
|
-
return this.fail(deliveryInput, "failed", afterReadyResult.errors, undefined, false, undefined, false, "after_ready", true);
|
|
760
|
+
return owed(afterReadyResult.errors) ?? this.fail(deliveryInput, "failed", afterReadyResult.errors, undefined, false, undefined, false, "after_ready", true);
|
|
589
761
|
}
|
|
762
|
+
const held = owed();
|
|
763
|
+
if (held)
|
|
764
|
+
return held;
|
|
590
765
|
// Delivering the first native prompt can reveal a provider refusal or
|
|
591
766
|
// interactive gate. Bundled identity/preload prompts consume their files,
|
|
592
767
|
// so the remaining file list alone does not tell us whether context was sent.
|
|
@@ -594,6 +769,11 @@ export class StartupOrchestrator {
|
|
|
594
769
|
try {
|
|
595
770
|
const readiness = await input.adapter.checkReady(input.binding);
|
|
596
771
|
if (!readiness.ready && isAttentionRequiredReadinessCode(readiness.code)) {
|
|
772
|
+
// A fresh Claude start whose last startup turn was refused hasn't read what that turn sent: it's owed too.
|
|
773
|
+
const refusedLast = input.adapter.runtime === "claude-code" && isFreshLaunch && deliveryInput.sendOrder > 0
|
|
774
|
+
? owed([], readiness) : null;
|
|
775
|
+
if (refusedLast)
|
|
776
|
+
return refusedLast;
|
|
597
777
|
const hasRemainingIdentityWork = hasClaudeResumeIdentityWork(this.sessionRegistry, input.sessionId, input.adapter.runtime, input.resumeToken, input.resumeType, input.skipHarnessLaunch, continuityOutcome);
|
|
598
778
|
return this.fail(deliveryInput, "attention_required", [readiness.reason ?? "The native provider prerequisite failed after context delivery."], undefined, false, undefined, false, "post_delivery_readiness", hasRemainingIdentityWork);
|
|
599
779
|
}
|
|
@@ -613,6 +793,15 @@ export class StartupOrchestrator {
|
|
|
613
793
|
"Native resume was observed but its requested type or current session metadata conflicts or could not be retained; session preserved.",
|
|
614
794
|
], undefined, false, undefined, false, "identity_verification", false);
|
|
615
795
|
}
|
|
796
|
+
// Keep the running conversation, but don't call an explicitly assisted startup ready.
|
|
797
|
+
// The paste and Enter were attempted; continuing startup must not paste that context a second time.
|
|
798
|
+
if ((deliveryInput.sendOrder > 0 || input.firstInputPassed) && startupAssisted) {
|
|
799
|
+
return this.fail(deliveryInput, "attention_required", [
|
|
800
|
+
`Startup assisted for community harness "${input.adapter.runtime}" in ${input.binding.tmuxSession}: ${input.firstInputPassed ? "first input was passed at launch" : "text and Enter were sent"}, but submission isn't confirmed. `
|
|
801
|
+
+ `Check the pane and submit any staged startup text; don't resend it. Once the seat has responded, acknowledge it with `
|
|
802
|
+
+ `rig seat clear-attention ${shellQuote(input.binding.tmuxSession)} --reason ${shellQuote("Startup submission checked; seat responded")}.`,
|
|
803
|
+
], undefined, false, undefined, false, "assisted_startup", false);
|
|
804
|
+
}
|
|
616
805
|
// 8. Mark ready
|
|
617
806
|
this.sessionRegistry.updateStartupStatus(input.sessionId, "ready", new Date().toISOString());
|
|
618
807
|
const submission = deliveryInput.submissionWarnings.length
|
|
@@ -622,10 +811,11 @@ export class StartupOrchestrator {
|
|
|
622
811
|
...(deliveryInput.stagedSubmissionWarning ? { warning: deliveryInput.stagedSubmissionWarning } : {}) }
|
|
623
812
|
: undefined;
|
|
624
813
|
this.eventBus.emit({ type: "node.startup_ready", rigId: input.rigId, nodeId: input.nodeId, ...(submission ? { submission } : {}) });
|
|
625
|
-
return { ok: true, startupStatus: "ready", continuityOutcome, ...(submission ? { submission } : {}), ...(resumedProcess ? { resumedProcess } : {}) };
|
|
814
|
+
return { ok: true, startupStatus: "ready", continuityOutcome, ...(submission ? { submission } : {}), ...(routerLine ? { routerLine } : {}), ...(resumedProcess ? { resumedProcess } : {}) };
|
|
626
815
|
}
|
|
627
|
-
/** A failed attempt can continue only when it stopped before sending context
|
|
628
|
-
*
|
|
816
|
+
/** A failed attempt can continue only when it stopped before sending context, or when the runtime positively refused
|
|
817
|
+
* the turn its context went to (an attention code after it) and no one-shot action was typed: a refused turn wasn't
|
|
818
|
+
* read. Any newer pending/ready/failure event consumes that permission, including a
|
|
629
819
|
* daemon loss during delivery: uncertain delivery is never blindly replayed.
|
|
630
820
|
*/
|
|
631
821
|
canContinueStartup(nodeId, sessionId) {
|
|
@@ -665,7 +855,11 @@ export class StartupOrchestrator {
|
|
|
665
855
|
return "";
|
|
666
856
|
}
|
|
667
857
|
}
|
|
668
|
-
fail(input, status, errors, evidence, pendingContext = false, recovery, missingConversation = false, stage, hasPendingWork) {
|
|
858
|
+
fail(input, status, errors, evidence, pendingContext = false, recovery, missingConversation = false, stage, hasPendingWork, probe) {
|
|
859
|
+
if (input.firstInputPassed) {
|
|
860
|
+
pendingContext = false;
|
|
861
|
+
errors.push("First startup input was passed at launch; submission is unconfirmed. Inspect the pane before sending anything again.");
|
|
862
|
+
}
|
|
669
863
|
if (status === "attention_required" && typeof pendingContext === "object") {
|
|
670
864
|
// The reasons above stay visible; this only says what the status means for the fork.
|
|
671
865
|
errors.push("The fork's startup context is waiting to be sent: this attention status doesn't mean the forked conversation is healthy");
|
|
@@ -687,8 +881,10 @@ export class StartupOrchestrator {
|
|
|
687
881
|
...(hasPendingWork !== undefined ? { hasPendingWork } : {}),
|
|
688
882
|
requestedResumeToken: input.resumeToken ?? null,
|
|
689
883
|
requestedResumeType: input.resumeType ?? null,
|
|
884
|
+
...(probe ? { probe } : {}),
|
|
690
885
|
});
|
|
691
886
|
return { ok: false, startupStatus: status, errors, evidence, ...(recovery ? { recovery } : {}),
|
|
887
|
+
...(probe ? { probe } : {}),
|
|
692
888
|
...(missingConversation ? { missingConversation: true } : {}) };
|
|
693
889
|
}
|
|
694
890
|
async executeActions(input, phase, skip) {
|
|
@@ -711,6 +907,7 @@ export class StartupOrchestrator {
|
|
|
711
907
|
if (input.isRestore && !action.idempotent)
|
|
712
908
|
continue;
|
|
713
909
|
// Execute via tmux
|
|
910
|
+
const heldBefore = input.heldInputs ?? 0;
|
|
714
911
|
try {
|
|
715
912
|
if (!input.binding.tmuxSession) {
|
|
716
913
|
errors.push(`No tmux session for action: ${action.value}`);
|
|
@@ -724,17 +921,18 @@ export class StartupOrchestrator {
|
|
|
724
921
|
catch (err) {
|
|
725
922
|
errors.push(`Action error (${action.type}): ${err.message}`);
|
|
726
923
|
}
|
|
924
|
+
// A one-shot that wasn't held may have reached the seat even when its send reported an error (the text typed, the
|
|
925
|
+
// Enter failed): uncertain delivery is never replayed.
|
|
926
|
+
if (!action.idempotent && (input.heldInputs ?? 0) === heldBefore)
|
|
927
|
+
input.oneShotSent = true;
|
|
727
928
|
}
|
|
728
929
|
return errors.length > 0 ? { ok: false, errors } : { ok: true };
|
|
729
930
|
}
|
|
730
931
|
extractSessionIdentityAction(actions, context) {
|
|
731
932
|
return actions.find((action) => isSessionIdentityAction(action) && action.appliesOn.includes(context)) ?? null;
|
|
732
933
|
}
|
|
733
|
-
|
|
934
|
+
composeInitialSessionPrompt(input, identityAction, postLaunchFiles, challengeBlock, includeDurableObligations = false) {
|
|
734
935
|
const { binding } = input;
|
|
735
|
-
if (!binding.tmuxSession) {
|
|
736
|
-
return { ok: false, error: "No tmux session for the initial session identity prompt" };
|
|
737
|
-
}
|
|
738
936
|
const firstSendTextIndex = postLaunchFiles.findIndex((file) => file.deliveryHint === "send_text");
|
|
739
937
|
const identityContext = `OpenRig-generated identity context (not a project task):\n${identityAction.value}\nEnd of generated identity context.`;
|
|
740
938
|
let prompt = identityContext;
|
|
@@ -763,6 +961,14 @@ export class StartupOrchestrator {
|
|
|
763
961
|
if (challengeBlock) {
|
|
764
962
|
prompt = `${prompt}\n\n${challengeBlock}`;
|
|
765
963
|
}
|
|
964
|
+
return { prompt, remainingFiles };
|
|
965
|
+
}
|
|
966
|
+
async deliverInitialSessionPrompt(input, identityAction, postLaunchFiles, challengeBlock, includeDurableObligations = false) {
|
|
967
|
+
const { binding } = input;
|
|
968
|
+
if (!binding.tmuxSession) {
|
|
969
|
+
return { ok: false, error: "No tmux session for the initial session identity prompt" };
|
|
970
|
+
}
|
|
971
|
+
const { prompt, remainingFiles } = this.composeInitialSessionPrompt(input, identityAction, postLaunchFiles, challengeBlock, includeDurableObligations);
|
|
766
972
|
const sendError = await this.sendInteractiveText(input, prompt, "initial_identity");
|
|
767
973
|
if (sendError) {
|
|
768
974
|
return { ok: false, error: `Initial session identity prompt failed: ${sendError.error}` };
|
|
@@ -829,7 +1035,47 @@ export class StartupOrchestrator {
|
|
|
829
1035
|
input.warnings.push(displayWarning ?? (reason === input.stagedSubmissionWarning ? reason
|
|
830
1036
|
: `Startup submission unverified in ${input.binding.tmuxSession}: ${reason}`));
|
|
831
1037
|
}
|
|
1038
|
+
/** The result of a start whose turn the runtime refused: the seat hasn't read its startup context, which never reads as
|
|
1039
|
+
* delivered. `continuable` keeps it pending for `rig seat continue` (the whole startup again). Otherwise the seat says
|
|
1040
|
+
* why not: a new conversation names the fresh launch that delivers it; a resumed or forked one keeps its conversation,
|
|
1041
|
+
* and is never told to relaunch blank. Later errors (`also`) are listed, never in its place. */
|
|
1042
|
+
owedStartup(input, refused, continuity, continuable, also) {
|
|
1043
|
+
const held = input.heldInputs
|
|
1044
|
+
? `${input.heldInputs} later startup input${input.heldInputs === 1 ? " wasn't" : "s weren't"} sent. ` : "";
|
|
1045
|
+
const why = input.oneShotSent ? "a one-shot startup action already ran and must not run twice"
|
|
1046
|
+
: input.refusedWithStagedInput ? "the next startup input may still be in the input box"
|
|
1047
|
+
: "this start was a restore, and continuing delivers a fresh start's context";
|
|
1048
|
+
return this.fail(input, "attention_required", [
|
|
1049
|
+
refused.reason ?? "The runtime refused a startup turn.",
|
|
1050
|
+
...also,
|
|
1051
|
+
...(input.refusedWithStagedInput ? [
|
|
1052
|
+
`OpenRig pasted the next startup input in ${input.binding.tmuxSession} but didn't press Enter, because Claude had refused the turn before it. It may still be in the input box, so don't resend it.${continuity !== "fresh" ? " Check the pane; clear it or send it after signing in." : ""}`,
|
|
1053
|
+
] : []),
|
|
1054
|
+
continuable
|
|
1055
|
+
? `${held}The seat hasn't read its startup context. Continuing delivers the whole startup again, the refused turn included.`
|
|
1056
|
+
: continuity !== "fresh"
|
|
1057
|
+
? `${held}The seat's conversation is kept, but it hasn't read ${input.heldInputs ? (input.heldInputs === 1 ? "that input" : "those inputs") : "all of its startup context"}; continuing isn't offered for a ${continuity} start.`
|
|
1058
|
+
: `${held}The seat hasn't read all of its startup context, and continuing isn't offered: ${why}. To deliver it, launch the seat fresh: rig seat launch ${shellQuote(input.binding.tmuxSession ?? "<seat>")} --fresh --stop --reason "<why>".`,
|
|
1059
|
+
], undefined, continuable, undefined, false, "post_delivery_readiness", true);
|
|
1060
|
+
}
|
|
1061
|
+
/** Whether the runtime refused the last startup turn: an attention readiness code now (Claude's "Login expired ·
|
|
1062
|
+
* Please run /login" as its latest response reads login_required). An unavailable observation holds nothing back. */
|
|
1063
|
+
async refusedTurn(input) {
|
|
1064
|
+
try {
|
|
1065
|
+
const readiness = await input.adapter.checkReady(input.binding);
|
|
1066
|
+
return !readiness.ready && isAttentionRequiredReadinessCode(readiness.code) ? readiness : undefined;
|
|
1067
|
+
}
|
|
1068
|
+
catch {
|
|
1069
|
+
return undefined;
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
832
1072
|
async sendInteractiveText(input, text, source, actionIndex) {
|
|
1073
|
+
// After a refused turn nothing more is typed into the seat. The held input is counted, and startNode reports it as
|
|
1074
|
+
// owed (ahead of any later error) before it would mark the seat ready, so returning here never reads as delivered.
|
|
1075
|
+
if (input.adapter.runtime === "claude-code" && input.sendOrder > 0 && (input.refusedTurn ??= await this.refusedTurn(input))) {
|
|
1076
|
+
input.heldInputs = (input.heldInputs ?? 0) + 1;
|
|
1077
|
+
return null;
|
|
1078
|
+
}
|
|
833
1079
|
const sendOrder = ++input.sendOrder;
|
|
834
1080
|
const tmuxSession = input.binding.tmuxSession;
|
|
835
1081
|
input.lastSubmissionConfirmed = false;
|
|
@@ -841,6 +1087,13 @@ export class StartupOrchestrator {
|
|
|
841
1087
|
return { error: textResult.message ?? "unknown" };
|
|
842
1088
|
}
|
|
843
1089
|
await this.sleep(200);
|
|
1090
|
+
// The previous turn can refuse after the pre-paste check. Leave our new paste alone rather than submitting it
|
|
1091
|
+
// into that refusal. It is already typed, not an unsent input, and must not be replayed by seat continue.
|
|
1092
|
+
if (input.adapter.runtime === "claude-code" && sendOrder > 1 && (input.refusedTurn ??= await this.refusedTurn(input))) {
|
|
1093
|
+
input.refusedWithStagedInput = true;
|
|
1094
|
+
input.lastSubmissionUnconfirmedReason = UNCONFIRMED_STAGED;
|
|
1095
|
+
return null;
|
|
1096
|
+
}
|
|
844
1097
|
const submitResult = await this.tmuxAdapter.sendKeys(tmuxSession, ["Enter"]);
|
|
845
1098
|
if (!submitResult.ok) {
|
|
846
1099
|
return { error: submitResult.message ?? "unknown" };
|
|
@@ -891,6 +1144,7 @@ export class StartupOrchestrator {
|
|
|
891
1144
|
phase = "guarded_retry";
|
|
892
1145
|
diagnostic.retry = "threw"; // Replaced when the transport returns normally.
|
|
893
1146
|
retry = await this.sessionTransport.send(tmuxSession, "", {
|
|
1147
|
+
openrigNotice: true,
|
|
894
1148
|
submitOnly: true,
|
|
895
1149
|
expectedStagedText: text,
|
|
896
1150
|
submitOnlyCaptureLines: STARTUP_SUBMIT_CAPTURE_LINES,
|