@openrig/cli 0.7.1 → 0.7.3

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.
Files changed (1005) hide show
  1. package/README.md +5 -5
  2. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  3. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +2 -2
  5. package/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.md +1 -1
  6. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +37 -3
  7. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +90 -9
  8. package/daemon/assets/skills/rigs/SKILL.md +40 -9
  9. package/daemon/context-packs/help/help.md +6 -0
  10. package/daemon/context-packs/help/manifest.yaml +1 -1
  11. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  12. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +132 -24
  13. package/daemon/context-packs/reference/acp-agents.md +77 -0
  14. package/daemon/context-packs/reference/getting-started.md +84 -10
  15. package/daemon/context-packs/reference/manifest.yaml +6 -3
  16. package/daemon/context-packs/reference/rig-spec.md +179 -6
  17. package/daemon/context-packs/reference/whats-new.md +148 -169
  18. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  19. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  20. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  21. package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +2 -2
  22. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +37 -3
  28. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/openrig-herdr/SKILL.md +20 -5
  32. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/delegating-work/SKILL.md +1 -1
  43. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/openrig-user/SKILL.md +90 -9
  49. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/process/agent-browser/LICENSE.txt +201 -0
  63. package/daemon/context-packs/skills/process/agent-browser/OPENRIG.md +13 -29
  64. package/daemon/context-packs/skills/process/agent-browser/SKILL.md +8 -8
  65. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +3 -1
  66. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/process/dogfood/LICENSE.txt +201 -0
  68. package/daemon/context-packs/skills/process/dogfood/SKILL.md +6 -2
  69. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +3 -1
  70. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/systematic-debugging/LICENSE.txt +21 -0
  72. package/daemon/context-packs/skills/process/systematic-debugging/SKILL.md +6 -2
  73. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +3 -1
  74. package/daemon/context-packs/skills/process/systematic-debugging/root-cause-tracing.md +1 -1
  75. package/daemon/context-packs/skills/process/test-driven-development/LICENSE.txt +21 -0
  76. package/daemon/context-packs/skills/process/test-driven-development/SKILL.md +5 -1
  77. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +3 -1
  78. package/daemon/context-packs/skills/process/verification-before-completion/LICENSE.txt +21 -0
  79. package/daemon/context-packs/skills/process/verification-before-completion/SKILL.md +5 -1
  80. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +3 -1
  81. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  82. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  83. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  84. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  85. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  86. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  87. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  88. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  89. package/daemon/dist/adapters/claude-code-adapter.d.ts +4 -0
  90. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  91. package/daemon/dist/adapters/claude-code-adapter.js +46 -17
  92. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  93. package/daemon/dist/adapters/claude-resume.d.ts +8 -1
  94. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  95. package/daemon/dist/adapters/claude-resume.js +29 -10
  96. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  97. package/daemon/dist/adapters/codex-resume.d.ts +11 -4
  98. package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
  99. package/daemon/dist/adapters/codex-resume.js +69 -18
  100. package/daemon/dist/adapters/codex-resume.js.map +1 -1
  101. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +53 -13
  102. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  103. package/daemon/dist/adapters/codex-runtime-adapter.js +801 -119
  104. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  105. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +4 -0
  106. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  107. package/daemon/dist/adapters/community-harness-runtime-adapter.js +38 -7
  108. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  109. package/daemon/dist/adapters/compose-services-adapter.d.ts +16 -0
  110. package/daemon/dist/adapters/compose-services-adapter.d.ts.map +1 -1
  111. package/daemon/dist/adapters/compose-services-adapter.js +46 -2
  112. package/daemon/dist/adapters/compose-services-adapter.js.map +1 -1
  113. package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
  114. package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
  115. package/daemon/dist/adapters/kernel-authority.js +13 -2
  116. package/daemon/dist/adapters/kernel-authority.js.map +1 -1
  117. package/daemon/dist/adapters/pi-resume.js +1 -1
  118. package/daemon/dist/adapters/pi-resume.js.map +1 -1
  119. package/daemon/dist/adapters/pi-runner-protocol.d.ts +3 -3
  120. package/daemon/dist/adapters/pi-runner-protocol.js +2 -2
  121. package/daemon/dist/adapters/pi-runner.d.ts +1 -1
  122. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  123. package/daemon/dist/adapters/pi-runner.js +24 -17
  124. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  125. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  126. package/daemon/dist/adapters/tmux-server.js +6 -2
  127. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  128. package/daemon/dist/adapters/tmux.d.ts +51 -0
  129. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  130. package/daemon/dist/adapters/tmux.js +210 -17
  131. package/daemon/dist/adapters/tmux.js.map +1 -1
  132. package/daemon/dist/adapters/yolo-mode.d.ts +7 -0
  133. package/daemon/dist/adapters/yolo-mode.d.ts.map +1 -1
  134. package/daemon/dist/adapters/yolo-mode.js +8 -0
  135. package/daemon/dist/adapters/yolo-mode.js.map +1 -1
  136. package/daemon/dist/attention-surface.d.ts +16 -1
  137. package/daemon/dist/attention-surface.d.ts.map +1 -1
  138. package/daemon/dist/attention-surface.js.map +1 -1
  139. package/daemon/dist/build-info.js +3 -3
  140. package/daemon/dist/codex-auth-surface.d.ts +2 -0
  141. package/daemon/dist/codex-auth-surface.d.ts.map +1 -0
  142. package/daemon/dist/codex-auth-surface.js +2 -0
  143. package/daemon/dist/codex-auth-surface.js.map +1 -0
  144. package/daemon/dist/context-pack-taxonomy-surface.js +1 -1
  145. package/daemon/dist/context-pack-taxonomy-surface.js.map +1 -1
  146. package/daemon/dist/daemon-db-path.d.ts.map +1 -1
  147. package/daemon/dist/daemon-db-path.js +45 -12
  148. package/daemon/dist/daemon-db-path.js.map +1 -1
  149. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  150. package/daemon/dist/db/all-migrations.js +14 -0
  151. package/daemon/dist/db/all-migrations.js.map +1 -1
  152. package/daemon/dist/db/migrations/132_seat_runtime_switches.d.ts +10 -0
  153. package/daemon/dist/db/migrations/132_seat_runtime_switches.d.ts.map +1 -0
  154. package/daemon/dist/db/migrations/132_seat_runtime_switches.js +46 -0
  155. package/daemon/dist/db/migrations/132_seat_runtime_switches.js.map +1 -0
  156. package/daemon/dist/db/migrations/133_stream_reader_actions.d.ts +8 -0
  157. package/daemon/dist/db/migrations/133_stream_reader_actions.d.ts.map +1 -0
  158. package/daemon/dist/db/migrations/133_stream_reader_actions.js +25 -0
  159. package/daemon/dist/db/migrations/133_stream_reader_actions.js.map +1 -0
  160. package/daemon/dist/db/migrations/134_claude_token_readings.d.ts +3 -0
  161. package/daemon/dist/db/migrations/134_claude_token_readings.d.ts.map +1 -0
  162. package/daemon/dist/db/migrations/134_claude_token_readings.js +21 -0
  163. package/daemon/dist/db/migrations/134_claude_token_readings.js.map +1 -0
  164. package/daemon/dist/db/migrations/136_node_launch_recipe.d.ts +9 -0
  165. package/daemon/dist/db/migrations/136_node_launch_recipe.d.ts.map +1 -0
  166. package/daemon/dist/db/migrations/136_node_launch_recipe.js +11 -0
  167. package/daemon/dist/db/migrations/136_node_launch_recipe.js.map +1 -0
  168. package/daemon/dist/db/migrations/137_node_codex_permissions.d.ts +3 -0
  169. package/daemon/dist/db/migrations/137_node_codex_permissions.d.ts.map +1 -0
  170. package/daemon/dist/db/migrations/137_node_codex_permissions.js +7 -0
  171. package/daemon/dist/db/migrations/137_node_codex_permissions.js.map +1 -0
  172. package/daemon/dist/db/migrations/138_node_claude_token_ref.d.ts +3 -0
  173. package/daemon/dist/db/migrations/138_node_claude_token_ref.d.ts.map +1 -0
  174. package/daemon/dist/db/migrations/138_node_claude_token_ref.js +8 -0
  175. package/daemon/dist/db/migrations/138_node_claude_token_ref.js.map +1 -0
  176. package/daemon/dist/db/migrations/139_node_claude_permissions.d.ts +3 -0
  177. package/daemon/dist/db/migrations/139_node_claude_permissions.d.ts.map +1 -0
  178. package/daemon/dist/db/migrations/139_node_claude_permissions.js +5 -0
  179. package/daemon/dist/db/migrations/139_node_claude_permissions.js.map +1 -0
  180. package/daemon/dist/domain/active-occupant.js +1 -1
  181. package/daemon/dist/domain/active-occupant.js.map +1 -1
  182. package/daemon/dist/domain/agent-activity-store.d.ts +1 -1
  183. package/daemon/dist/domain/agent-activity-store.js +2 -2
  184. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  185. package/daemon/dist/domain/agent-resolver.js +1 -1
  186. package/daemon/dist/domain/agent-resolver.js.map +1 -1
  187. package/daemon/dist/domain/bind-plan.js +1 -1
  188. package/daemon/dist/domain/bind-plan.js.map +1 -1
  189. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  190. package/daemon/dist/domain/bootstrap-orchestrator.js +16 -1
  191. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  192. package/daemon/dist/domain/bundle-skills-router.js +2 -2
  193. package/daemon/dist/domain/bundle-skills-router.js.map +1 -1
  194. package/daemon/dist/domain/claim-service.js +1 -1
  195. package/daemon/dist/domain/claim-service.js.map +1 -1
  196. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +24 -1
  197. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  198. package/daemon/dist/domain/claude-compaction-enforcer.js +70 -16
  199. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  200. package/daemon/dist/domain/claude-credential-precedence.d.ts +33 -0
  201. package/daemon/dist/domain/claude-credential-precedence.d.ts.map +1 -0
  202. package/daemon/dist/domain/claude-credential-precedence.js +62 -0
  203. package/daemon/dist/domain/claude-credential-precedence.js.map +1 -0
  204. package/daemon/dist/domain/claude-managed-launch.d.ts +43 -4
  205. package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
  206. package/daemon/dist/domain/claude-managed-launch.js +129 -27
  207. package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
  208. package/daemon/dist/domain/claude-permission-rules.d.ts +10 -0
  209. package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -0
  210. package/daemon/dist/domain/claude-permission-rules.js +41 -0
  211. package/daemon/dist/domain/claude-permission-rules.js.map +1 -0
  212. package/daemon/dist/domain/claude-seat-token.d.ts +30 -0
  213. package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -0
  214. package/daemon/dist/domain/claude-seat-token.js +78 -0
  215. package/daemon/dist/domain/claude-seat-token.js.map +1 -0
  216. package/daemon/dist/domain/codex-auth.d.ts +148 -0
  217. package/daemon/dist/domain/codex-auth.d.ts.map +1 -0
  218. package/daemon/dist/domain/codex-auth.js +506 -0
  219. package/daemon/dist/domain/codex-auth.js.map +1 -0
  220. package/daemon/dist/domain/codex-daemon-support.d.ts +2 -1
  221. package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
  222. package/daemon/dist/domain/codex-daemon-support.js +3 -2
  223. package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
  224. package/daemon/dist/domain/codex-git-add-dirs.d.ts +1 -1
  225. package/daemon/dist/domain/codex-git-add-dirs.d.ts.map +1 -1
  226. package/daemon/dist/domain/codex-member-permissions.d.ts +56 -0
  227. package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -0
  228. package/daemon/dist/domain/codex-member-permissions.js +140 -0
  229. package/daemon/dist/domain/codex-member-permissions.js.map +1 -0
  230. package/daemon/dist/domain/codex-network-default.d.ts +2 -1
  231. package/daemon/dist/domain/codex-network-default.d.ts.map +1 -1
  232. package/daemon/dist/domain/codex-network-default.js +3 -2
  233. package/daemon/dist/domain/codex-network-default.js.map +1 -1
  234. package/daemon/dist/domain/codex-owned-plugin-trust.d.ts.map +1 -1
  235. package/daemon/dist/domain/codex-owned-plugin-trust.js +2 -1
  236. package/daemon/dist/domain/codex-owned-plugin-trust.js.map +1 -1
  237. package/daemon/dist/domain/codex-team-workspace.d.ts +5 -0
  238. package/daemon/dist/domain/codex-team-workspace.d.ts.map +1 -1
  239. package/daemon/dist/domain/codex-team-workspace.js +37 -0
  240. package/daemon/dist/domain/codex-team-workspace.js.map +1 -1
  241. package/daemon/dist/domain/community-harness-first-input.d.ts +7 -0
  242. package/daemon/dist/domain/community-harness-first-input.d.ts.map +1 -0
  243. package/daemon/dist/domain/community-harness-first-input.js +16 -0
  244. package/daemon/dist/domain/community-harness-first-input.js.map +1 -0
  245. package/daemon/dist/domain/community-harness-presets.d.ts +2 -0
  246. package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
  247. package/daemon/dist/domain/community-harness-presets.js +4 -2
  248. package/daemon/dist/domain/community-harness-presets.js.map +1 -1
  249. package/daemon/dist/domain/compaction-restore-notice.d.ts +6 -0
  250. package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -0
  251. package/daemon/dist/domain/compaction-restore-notice.js +27 -0
  252. package/daemon/dist/domain/compaction-restore-notice.js.map +1 -0
  253. package/daemon/dist/domain/context-packs/context-pack-library-service.js +2 -2
  254. package/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
  255. package/daemon/dist/domain/context-packs/seat-recap-store.d.ts +14 -0
  256. package/daemon/dist/domain/context-packs/seat-recap-store.d.ts.map +1 -1
  257. package/daemon/dist/domain/context-packs/seat-recap-store.js +57 -1
  258. package/daemon/dist/domain/context-packs/seat-recap-store.js.map +1 -1
  259. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  260. package/daemon/dist/domain/context-usage-store.js +6 -1
  261. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  262. package/daemon/dist/domain/current-work.d.ts +15 -4
  263. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  264. package/daemon/dist/domain/current-work.js +26 -13
  265. package/daemon/dist/domain/current-work.js.map +1 -1
  266. package/daemon/dist/domain/execution-candidate-reader.d.ts +16 -0
  267. package/daemon/dist/domain/execution-candidate-reader.d.ts.map +1 -0
  268. package/daemon/dist/domain/execution-candidate-reader.js +77 -0
  269. package/daemon/dist/domain/execution-candidate-reader.js.map +1 -0
  270. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  271. package/daemon/dist/domain/execution-view.js +21 -8
  272. package/daemon/dist/domain/execution-view.js.map +1 -1
  273. package/daemon/dist/domain/feed-perspective.d.ts +14 -0
  274. package/daemon/dist/domain/feed-perspective.d.ts.map +1 -0
  275. package/daemon/dist/domain/feed-perspective.js +36 -0
  276. package/daemon/dist/domain/feed-perspective.js.map +1 -0
  277. package/daemon/dist/domain/gateway/channel-operations.d.ts +1 -1
  278. package/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -1
  279. package/daemon/dist/domain/gateway/human-registry.d.ts +11 -4
  280. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  281. package/daemon/dist/domain/gateway/human-registry.js +36 -5
  282. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  283. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  284. package/daemon/dist/domain/gateway/operator-delivery-engine.js +8 -3
  285. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  286. package/daemon/dist/domain/gateway/participants.d.ts +180 -0
  287. package/daemon/dist/domain/gateway/participants.d.ts.map +1 -0
  288. package/daemon/dist/domain/gateway/participants.js +434 -0
  289. package/daemon/dist/domain/gateway/participants.js.map +1 -0
  290. package/daemon/dist/domain/gateway/slack/inbound-admission.d.ts +2 -2
  291. package/daemon/dist/domain/gateway/slack/inbound-admission.d.ts.map +1 -1
  292. package/daemon/dist/domain/gateway/slack/inbound-admission.js +73 -6
  293. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
  294. package/daemon/dist/domain/gateway/slack/inbound.d.ts +19 -1
  295. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  296. package/daemon/dist/domain/gateway/slack/inbound.js +31 -14
  297. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  298. package/daemon/dist/domain/gateway/slack/message.d.ts +5 -1
  299. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  300. package/daemon/dist/domain/gateway/slack/message.js +25 -15
  301. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  302. package/daemon/dist/domain/gateway/slack/open-asks.d.ts +50 -0
  303. package/daemon/dist/domain/gateway/slack/open-asks.d.ts.map +1 -0
  304. package/daemon/dist/domain/gateway/slack/open-asks.js +215 -0
  305. package/daemon/dist/domain/gateway/slack/open-asks.js.map +1 -0
  306. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +2 -0
  307. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
  308. package/daemon/dist/domain/gateway/slack/outbound-driver.js +1 -0
  309. package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
  310. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +15 -1
  311. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  312. package/daemon/dist/domain/gateway/slack/queue-access.js +98 -29
  313. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  314. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  315. package/daemon/dist/domain/gateway/slack/slack-delivery.js +1 -0
  316. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  317. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  318. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +60 -2
  319. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  320. package/daemon/dist/domain/gateway/slack/state-store.d.ts +3 -0
  321. package/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
  322. package/daemon/dist/domain/gateway/slack/state-store.js +18 -0
  323. package/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
  324. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  325. package/daemon/dist/domain/managed-restore-read-access.d.ts +20 -0
  326. package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -0
  327. package/daemon/dist/domain/managed-restore-read-access.js +77 -0
  328. package/daemon/dist/domain/managed-restore-read-access.js.map +1 -0
  329. package/daemon/dist/domain/markdown-address.d.ts.map +1 -1
  330. package/daemon/dist/domain/markdown-address.js +21 -2
  331. package/daemon/dist/domain/markdown-address.js.map +1 -1
  332. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -1
  333. package/daemon/dist/domain/mission-control/mission-control-read-layer.js +3 -1
  334. package/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
  335. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +19 -3
  336. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  337. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +72 -21
  338. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  339. package/daemon/dist/domain/model-divergence/model-divergence-monitor.d.ts.map +1 -1
  340. package/daemon/dist/domain/model-divergence/model-divergence-monitor.js +18 -1
  341. package/daemon/dist/domain/model-divergence/model-divergence-monitor.js.map +1 -1
  342. package/daemon/dist/domain/native-permission-store.d.ts +8 -2
  343. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  344. package/daemon/dist/domain/native-permission-store.js +26 -8
  345. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  346. package/daemon/dist/domain/native-resume-probe.d.ts +11 -0
  347. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  348. package/daemon/dist/domain/native-resume-probe.js +199 -37
  349. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  350. package/daemon/dist/domain/node-inventory.d.ts +5 -1
  351. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  352. package/daemon/dist/domain/node-inventory.js +18 -0
  353. package/daemon/dist/domain/node-inventory.js.map +1 -1
  354. package/daemon/dist/domain/node-launcher.d.ts +11 -0
  355. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  356. package/daemon/dist/domain/node-launcher.js +41 -6
  357. package/daemon/dist/domain/node-launcher.js.map +1 -1
  358. package/daemon/dist/domain/parent-session-env.d.ts +1 -1
  359. package/daemon/dist/domain/parent-session-env.d.ts.map +1 -1
  360. package/daemon/dist/domain/parent-session-env.js +3 -1
  361. package/daemon/dist/domain/parent-session-env.js.map +1 -1
  362. package/daemon/dist/domain/parked-query.d.ts +3 -0
  363. package/daemon/dist/domain/parked-query.d.ts.map +1 -1
  364. package/daemon/dist/domain/parked-query.js +1 -0
  365. package/daemon/dist/domain/parked-query.js.map +1 -1
  366. package/daemon/dist/domain/permission-account.d.ts +3 -0
  367. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  368. package/daemon/dist/domain/permission-account.js +60 -11
  369. package/daemon/dist/domain/permission-account.js.map +1 -1
  370. package/daemon/dist/domain/permission-drift-observer.js +1 -1
  371. package/daemon/dist/domain/permission-drift-observer.js.map +1 -1
  372. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts +6 -2
  373. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts.map +1 -1
  374. package/daemon/dist/domain/policies/delivery-digest-flush.js +34 -9
  375. package/daemon/dist/domain/policies/delivery-digest-flush.js.map +1 -1
  376. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +8 -0
  377. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  378. package/daemon/dist/domain/policies/parked-owner-consumer.js +15 -1
  379. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  380. package/daemon/dist/domain/policies/quiet-release.d.ts +14 -0
  381. package/daemon/dist/domain/policies/quiet-release.d.ts.map +1 -1
  382. package/daemon/dist/domain/policies/quiet-release.js +13 -2
  383. package/daemon/dist/domain/policies/quiet-release.js.map +1 -1
  384. package/daemon/dist/domain/profile-resolution-worker.d.ts +1 -1
  385. package/daemon/dist/domain/profile-resolution-worker.d.ts.map +1 -1
  386. package/daemon/dist/domain/profile-resolution-worker.js +5 -5
  387. package/daemon/dist/domain/profile-resolution-worker.js.map +1 -1
  388. package/daemon/dist/domain/proof/judgments.d.ts +7 -4
  389. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
  390. package/daemon/dist/domain/proof/judgments.js +12 -8
  391. package/daemon/dist/domain/proof/judgments.js.map +1 -1
  392. package/daemon/dist/domain/proof/source-watch.d.ts +6 -1
  393. package/daemon/dist/domain/proof/source-watch.d.ts.map +1 -1
  394. package/daemon/dist/domain/proof/source-watch.js +241 -35
  395. package/daemon/dist/domain/proof/source-watch.js.map +1 -1
  396. package/daemon/dist/domain/provider/claude-auth-status-reader.d.ts +12 -0
  397. package/daemon/dist/domain/provider/claude-auth-status-reader.d.ts.map +1 -1
  398. package/daemon/dist/domain/provider/claude-auth-status-reader.js +4 -4
  399. package/daemon/dist/domain/provider/claude-auth-status-reader.js.map +1 -1
  400. package/daemon/dist/domain/provider/claude-seat-switch.d.ts +32 -0
  401. package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -0
  402. package/daemon/dist/domain/provider/claude-seat-switch.js +136 -0
  403. package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -0
  404. package/daemon/dist/domain/provider/claude-token-usage.d.ts +34 -0
  405. package/daemon/dist/domain/provider/claude-token-usage.d.ts.map +1 -0
  406. package/daemon/dist/domain/provider/claude-token-usage.js +168 -0
  407. package/daemon/dist/domain/provider/claude-token-usage.js.map +1 -0
  408. package/daemon/dist/domain/provider/provider-account-readings.d.ts +7 -6
  409. package/daemon/dist/domain/provider/provider-account-readings.d.ts.map +1 -1
  410. package/daemon/dist/domain/provider/provider-account-readings.js +31 -10
  411. package/daemon/dist/domain/provider/provider-account-readings.js.map +1 -1
  412. package/daemon/dist/domain/provider/provider-collect.d.ts +3 -0
  413. package/daemon/dist/domain/provider/provider-collect.d.ts.map +1 -1
  414. package/daemon/dist/domain/provider/provider-collect.js +3 -2
  415. package/daemon/dist/domain/provider/provider-collect.js.map +1 -1
  416. package/daemon/dist/domain/provider/provider-seat-accounts.d.ts +1 -1
  417. package/daemon/dist/domain/provider/provider-seat-accounts.d.ts.map +1 -1
  418. package/daemon/dist/domain/provider/provider-seat-accounts.js +29 -2
  419. package/daemon/dist/domain/provider/provider-seat-accounts.js.map +1 -1
  420. package/daemon/dist/domain/provider/provider-service-impl.d.ts +38 -4
  421. package/daemon/dist/domain/provider/provider-service-impl.d.ts.map +1 -1
  422. package/daemon/dist/domain/provider/provider-service-impl.js +147 -5
  423. package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
  424. package/daemon/dist/domain/provider/provider-service.d.ts +109 -4
  425. package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
  426. package/daemon/dist/domain/provider/provider-signals.d.ts +3 -0
  427. package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
  428. package/daemon/dist/domain/provider/provider-signals.js +7 -2
  429. package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
  430. package/daemon/dist/domain/provider/provider-types.d.ts +61 -5
  431. package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
  432. package/daemon/dist/domain/provider/reactive-tap.d.ts +4 -0
  433. package/daemon/dist/domain/provider/reactive-tap.d.ts.map +1 -1
  434. package/daemon/dist/domain/provider/reactive-tap.js +3 -0
  435. package/daemon/dist/domain/provider/reactive-tap.js.map +1 -1
  436. package/daemon/dist/domain/provider/usage-across-hosts.d.ts.map +1 -1
  437. package/daemon/dist/domain/provider/usage-across-hosts.js +8 -2
  438. package/daemon/dist/domain/provider/usage-across-hosts.js.map +1 -1
  439. package/daemon/dist/domain/provider/usage-windows.d.ts +2 -0
  440. package/daemon/dist/domain/provider/usage-windows.d.ts.map +1 -1
  441. package/daemon/dist/domain/provider/usage-windows.js +4 -0
  442. package/daemon/dist/domain/provider/usage-windows.js.map +1 -1
  443. package/daemon/dist/domain/queue-destination-check.d.ts +5 -0
  444. package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
  445. package/daemon/dist/domain/queue-destination-check.js +5 -1
  446. package/daemon/dist/domain/queue-destination-check.js.map +1 -1
  447. package/daemon/dist/domain/queue-owner.d.ts +9 -0
  448. package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
  449. package/daemon/dist/domain/queue-owner.js +28 -0
  450. package/daemon/dist/domain/queue-owner.js.map +1 -1
  451. package/daemon/dist/domain/queue-repository.d.ts +41 -8
  452. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  453. package/daemon/dist/domain/queue-repository.js +143 -33
  454. package/daemon/dist/domain/queue-repository.js.map +1 -1
  455. package/daemon/dist/domain/queue-retention.d.ts +1 -1
  456. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  457. package/daemon/dist/domain/queue-retention.js +6 -1
  458. package/daemon/dist/domain/queue-retention.js.map +1 -1
  459. package/daemon/dist/domain/queue-stuck-sweep.d.ts +14 -3
  460. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  461. package/daemon/dist/domain/queue-stuck-sweep.js +50 -8
  462. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  463. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  464. package/daemon/dist/domain/queue-wake-ladder.js +90 -28
  465. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  466. package/daemon/dist/domain/queue-wake-repository.d.ts +3 -0
  467. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  468. package/daemon/dist/domain/queue-wake-repository.js +5 -1
  469. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  470. package/daemon/dist/domain/restore-orchestrator.d.ts +30 -1
  471. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  472. package/daemon/dist/domain/restore-orchestrator.js +132 -14
  473. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  474. package/daemon/dist/domain/resume-metadata-refresher.d.ts +11 -2
  475. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  476. package/daemon/dist/domain/resume-metadata-refresher.js +32 -14
  477. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  478. package/daemon/dist/domain/resume-token-capture.d.ts +5 -1
  479. package/daemon/dist/domain/resume-token-capture.d.ts.map +1 -1
  480. package/daemon/dist/domain/resume-token-capture.js +3 -1
  481. package/daemon/dist/domain/resume-token-capture.js.map +1 -1
  482. package/daemon/dist/domain/review/compose.js +1 -1
  483. package/daemon/dist/domain/review/compose.js.map +1 -1
  484. package/daemon/dist/domain/review/gather.js +1 -1
  485. package/daemon/dist/domain/review/gather.js.map +1 -1
  486. package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
  487. package/daemon/dist/domain/rig-expansion-service.js +2 -0
  488. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  489. package/daemon/dist/domain/rig-repository.d.ts +20 -2
  490. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  491. package/daemon/dist/domain/rig-repository.js +262 -2
  492. package/daemon/dist/domain/rig-repository.js.map +1 -1
  493. package/daemon/dist/domain/rig-teardown.d.ts +4 -1
  494. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  495. package/daemon/dist/domain/rig-teardown.js +6 -1
  496. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  497. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  498. package/daemon/dist/domain/rigspec-codec.js +8 -0
  499. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  500. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  501. package/daemon/dist/domain/rigspec-exporter.js +19 -1
  502. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  503. package/daemon/dist/domain/rigspec-instantiator.d.ts +43 -1
  504. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  505. package/daemon/dist/domain/rigspec-instantiator.js +321 -138
  506. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  507. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  508. package/daemon/dist/domain/rigspec-schema.js +47 -1
  509. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  510. package/daemon/dist/domain/running-name-guard.d.ts.map +1 -1
  511. package/daemon/dist/domain/running-name-guard.js +2 -1
  512. package/daemon/dist/domain/running-name-guard.js.map +1 -1
  513. package/daemon/dist/domain/runtime-adapter.d.ts +19 -1
  514. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  515. package/daemon/dist/domain/runtime-adapter.js +2 -0
  516. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  517. package/daemon/dist/domain/runtime-switch-materials.d.ts +77 -0
  518. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -0
  519. package/daemon/dist/domain/runtime-switch-materials.js +253 -0
  520. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -0
  521. package/daemon/dist/domain/scope/dot-id.js +2 -2
  522. package/daemon/dist/domain/scope/dot-id.js.map +1 -1
  523. package/daemon/dist/domain/scope/scaffold-placeholder.d.ts +1 -1
  524. package/daemon/dist/domain/scope/scaffold-placeholder.js +1 -1
  525. package/daemon/dist/domain/scope/scope-approve.d.ts +1 -1
  526. package/daemon/dist/domain/scope/scope-audit.js +1 -1
  527. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  528. package/daemon/dist/domain/scope/types.d.ts.map +1 -1
  529. package/daemon/dist/domain/scope/types.js +2 -3
  530. package/daemon/dist/domain/scope/types.js.map +1 -1
  531. package/daemon/dist/domain/seat-activity-service.d.ts +4 -0
  532. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  533. package/daemon/dist/domain/seat-activity-service.js +17 -0
  534. package/daemon/dist/domain/seat-activity-service.js.map +1 -1
  535. package/daemon/dist/domain/seat-attention-reconciler.d.ts +8 -2
  536. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  537. package/daemon/dist/domain/seat-attention-reconciler.js +31 -2
  538. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  539. package/daemon/dist/domain/seat-handover-service.d.ts +1 -1
  540. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  541. package/daemon/dist/domain/seat-handover-service.js +7 -3
  542. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  543. package/daemon/dist/domain/seat-launch-environment.d.ts +5 -0
  544. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  545. package/daemon/dist/domain/seat-launch-environment.js +8 -4
  546. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  547. package/daemon/dist/domain/seat-lifecycle-service.d.ts +42 -11
  548. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  549. package/daemon/dist/domain/seat-lifecycle-service.js +210 -23
  550. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  551. package/daemon/dist/domain/seat-restart-in-place.d.ts +11 -4
  552. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  553. package/daemon/dist/domain/seat-restart-in-place.js +29 -9
  554. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  555. package/daemon/dist/domain/seat-runtime-dir.d.ts +17 -0
  556. package/daemon/dist/domain/seat-runtime-dir.d.ts.map +1 -0
  557. package/daemon/dist/domain/seat-runtime-dir.js +27 -0
  558. package/daemon/dist/domain/seat-runtime-dir.js.map +1 -0
  559. package/daemon/dist/domain/seat-runtime-home.d.ts +42 -0
  560. package/daemon/dist/domain/seat-runtime-home.d.ts.map +1 -0
  561. package/daemon/dist/domain/seat-runtime-home.js +89 -0
  562. package/daemon/dist/domain/seat-runtime-home.js.map +1 -0
  563. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +227 -0
  564. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -0
  565. package/daemon/dist/domain/seat-runtime-switch-service.js +641 -0
  566. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -0
  567. package/daemon/dist/domain/seat-skills-pointer.d.ts +5 -0
  568. package/daemon/dist/domain/seat-skills-pointer.d.ts.map +1 -0
  569. package/daemon/dist/domain/seat-skills-pointer.js +15 -0
  570. package/daemon/dist/domain/seat-skills-pointer.js.map +1 -0
  571. package/daemon/dist/domain/seat-status-service.d.ts +32 -0
  572. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  573. package/daemon/dist/domain/seat-status-service.js +55 -0
  574. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  575. package/daemon/dist/domain/seat-structural-activity-service.d.ts +3 -0
  576. package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
  577. package/daemon/dist/domain/seat-structural-activity-service.js +7 -1
  578. package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
  579. package/daemon/dist/domain/service-orchestrator.d.ts +7 -0
  580. package/daemon/dist/domain/service-orchestrator.d.ts.map +1 -1
  581. package/daemon/dist/domain/service-orchestrator.js +4 -0
  582. package/daemon/dist/domain/service-orchestrator.js.map +1 -1
  583. package/daemon/dist/domain/session-registry.d.ts +2 -0
  584. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  585. package/daemon/dist/domain/session-registry.js +3 -1
  586. package/daemon/dist/domain/session-registry.js.map +1 -1
  587. package/daemon/dist/domain/session-transport.d.ts +62 -2
  588. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  589. package/daemon/dist/domain/session-transport.js +417 -67
  590. package/daemon/dist/domain/session-transport.js.map +1 -1
  591. package/daemon/dist/domain/skill-library-discovery.js +2 -2
  592. package/daemon/dist/domain/skill-library-discovery.js.map +1 -1
  593. package/daemon/dist/domain/slices/slice-indexer.d.ts +4 -4
  594. package/daemon/dist/domain/slices/slice-indexer.js +17 -17
  595. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  596. package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
  597. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  598. package/daemon/dist/domain/snapshot-capture.js +4 -1
  599. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  600. package/daemon/dist/domain/snapshot-repository.d.ts +4 -3
  601. package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
  602. package/daemon/dist/domain/snapshot-repository.js +6 -5
  603. package/daemon/dist/domain/snapshot-repository.js.map +1 -1
  604. package/daemon/dist/domain/startup-orchestrator.d.ts +3 -16
  605. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  606. package/daemon/dist/domain/startup-orchestrator.js +65 -76
  607. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  608. package/daemon/dist/domain/startup-submission-evidence.d.ts +27 -0
  609. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  610. package/daemon/dist/domain/startup-submission-evidence.js +55 -0
  611. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  612. package/daemon/dist/domain/stream-reader-actions.d.ts +49 -0
  613. package/daemon/dist/domain/stream-reader-actions.d.ts.map +1 -0
  614. package/daemon/dist/domain/stream-reader-actions.js +104 -0
  615. package/daemon/dist/domain/stream-reader-actions.js.map +1 -0
  616. package/daemon/dist/domain/successor-session-launcher.d.ts +36 -1
  617. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  618. package/daemon/dist/domain/successor-session-launcher.js +59 -3
  619. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  620. package/daemon/dist/domain/terminal/herdr-adapter.d.ts +6 -28
  621. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  622. package/daemon/dist/domain/terminal/herdr-adapter.js +16 -66
  623. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  624. package/daemon/dist/domain/terminal/rex-adapter.d.ts +42 -0
  625. package/daemon/dist/domain/terminal/rex-adapter.d.ts.map +1 -0
  626. package/daemon/dist/domain/terminal/rex-adapter.js +228 -0
  627. package/daemon/dist/domain/terminal/rex-adapter.js.map +1 -0
  628. package/daemon/dist/domain/terminal/rex-layout.d.ts +26 -0
  629. package/daemon/dist/domain/terminal/rex-layout.d.ts.map +1 -0
  630. package/daemon/dist/domain/terminal/rex-layout.js +21 -0
  631. package/daemon/dist/domain/terminal/rex-layout.js.map +1 -0
  632. package/daemon/dist/domain/terminal/rex-transport.d.ts +43 -0
  633. package/daemon/dist/domain/terminal/rex-transport.d.ts.map +1 -0
  634. package/daemon/dist/domain/terminal/rex-transport.js +176 -0
  635. package/daemon/dist/domain/terminal/rex-transport.js.map +1 -0
  636. package/daemon/dist/domain/terminal/terminal-provider.d.ts +11 -0
  637. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  638. package/daemon/dist/domain/terminal/terminal-service.d.ts +2 -2
  639. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  640. package/daemon/dist/domain/terminal/terminal-service.js +10 -11
  641. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  642. package/daemon/dist/domain/terminal/tile-attach.d.ts +2 -0
  643. package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -0
  644. package/daemon/dist/domain/terminal/tile-attach.js +42 -0
  645. package/daemon/dist/domain/terminal/tile-attach.js.map +1 -0
  646. package/daemon/dist/domain/terminal/tile-layout.d.ts +32 -0
  647. package/daemon/dist/domain/terminal/tile-layout.d.ts.map +1 -0
  648. package/daemon/dist/domain/terminal/tile-layout.js +36 -0
  649. package/daemon/dist/domain/terminal/tile-layout.js.map +1 -0
  650. package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
  651. package/daemon/dist/domain/terminal/view-composer.js +11 -7
  652. package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
  653. package/daemon/dist/domain/toml-tables.d.ts +20 -0
  654. package/daemon/dist/domain/toml-tables.d.ts.map +1 -0
  655. package/daemon/dist/domain/toml-tables.js +101 -0
  656. package/daemon/dist/domain/toml-tables.js.map +1 -0
  657. package/daemon/dist/domain/types.d.ts +86 -0
  658. package/daemon/dist/domain/types.d.ts.map +1 -1
  659. package/daemon/dist/domain/types.js.map +1 -1
  660. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  661. package/daemon/dist/domain/user-settings/settings-store.js +5 -6
  662. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  663. package/daemon/dist/domain/view-projector.d.ts +1 -0
  664. package/daemon/dist/domain/view-projector.d.ts.map +1 -1
  665. package/daemon/dist/domain/view-projector.js +15 -2
  666. package/daemon/dist/domain/view-projector.js.map +1 -1
  667. package/daemon/dist/domain/wake-recovery.d.ts +16 -0
  668. package/daemon/dist/domain/wake-recovery.d.ts.map +1 -0
  669. package/daemon/dist/domain/wake-recovery.js +31 -0
  670. package/daemon/dist/domain/wake-recovery.js.map +1 -0
  671. package/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -1
  672. package/daemon/dist/domain/workflow-human-destination.js +5 -3
  673. package/daemon/dist/domain/workflow-human-destination.js.map +1 -1
  674. package/daemon/dist/domain/workflow-projector.d.ts +1 -0
  675. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  676. package/daemon/dist/domain/workflow-projector.js +19 -3
  677. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  678. package/daemon/dist/domain/workflow-runtime.d.ts +2 -2
  679. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  680. package/daemon/dist/domain/workflow-runtime.js +6 -4
  681. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  682. package/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
  683. package/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
  684. package/daemon/dist/gateway-human-registry-surface.js +1 -0
  685. package/daemon/dist/gateway-human-registry-surface.js.map +1 -1
  686. package/daemon/dist/index.d.ts.map +1 -1
  687. package/daemon/dist/index.js +7 -3
  688. package/daemon/dist/index.js.map +1 -1
  689. package/daemon/dist/lib/pane-envelope.d.ts +9 -0
  690. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  691. package/daemon/dist/lib/pane-envelope.js +9 -2
  692. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  693. package/daemon/dist/routes/activity.d.ts.map +1 -1
  694. package/daemon/dist/routes/activity.js +13 -1
  695. package/daemon/dist/routes/activity.js.map +1 -1
  696. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  697. package/daemon/dist/routes/agent-images.js +19 -0
  698. package/daemon/dist/routes/agent-images.js.map +1 -1
  699. package/daemon/dist/routes/attention.d.ts.map +1 -1
  700. package/daemon/dist/routes/attention.js +15 -3
  701. package/daemon/dist/routes/attention.js.map +1 -1
  702. package/daemon/dist/routes/bundles.js +1 -1
  703. package/daemon/dist/routes/bundles.js.map +1 -1
  704. package/daemon/dist/routes/context-packs.d.ts.map +1 -1
  705. package/daemon/dist/routes/context-packs.js +22 -0
  706. package/daemon/dist/routes/context-packs.js.map +1 -1
  707. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  708. package/daemon/dist/routes/gateway.js +42 -0
  709. package/daemon/dist/routes/gateway.js.map +1 -1
  710. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  711. package/daemon/dist/routes/hosts.js +5 -2
  712. package/daemon/dist/routes/hosts.js.map +1 -1
  713. package/daemon/dist/routes/mission-control.d.ts.map +1 -1
  714. package/daemon/dist/routes/mission-control.js +7 -3
  715. package/daemon/dist/routes/mission-control.js.map +1 -1
  716. package/daemon/dist/routes/plugins.js +1 -1
  717. package/daemon/dist/routes/plugins.js.map +1 -1
  718. package/daemon/dist/routes/provider.d.ts.map +1 -1
  719. package/daemon/dist/routes/provider.js +83 -3
  720. package/daemon/dist/routes/provider.js.map +1 -1
  721. package/daemon/dist/routes/queue.d.ts.map +1 -1
  722. package/daemon/dist/routes/queue.js +136 -18
  723. package/daemon/dist/routes/queue.js.map +1 -1
  724. package/daemon/dist/routes/require-sender-identity.d.ts +10 -8
  725. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  726. package/daemon/dist/routes/require-sender-identity.js +13 -11
  727. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  728. package/daemon/dist/routes/rigs.js +4 -0
  729. package/daemon/dist/routes/rigs.js.map +1 -1
  730. package/daemon/dist/routes/runtime-switch-custody.d.ts +21 -0
  731. package/daemon/dist/routes/runtime-switch-custody.d.ts.map +1 -0
  732. package/daemon/dist/routes/runtime-switch-custody.js +55 -0
  733. package/daemon/dist/routes/runtime-switch-custody.js.map +1 -0
  734. package/daemon/dist/routes/scope-approve.js +2 -2
  735. package/daemon/dist/routes/scope-approve.js.map +1 -1
  736. package/daemon/dist/routes/scope-audit.js +1 -1
  737. package/daemon/dist/routes/scope-audit.js.map +1 -1
  738. package/daemon/dist/routes/seat.d.ts.map +1 -1
  739. package/daemon/dist/routes/seat.js +135 -18
  740. package/daemon/dist/routes/seat.js.map +1 -1
  741. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  742. package/daemon/dist/routes/sessions.js +24 -3
  743. package/daemon/dist/routes/sessions.js.map +1 -1
  744. package/daemon/dist/routes/skills.js +1 -1
  745. package/daemon/dist/routes/skills.js.map +1 -1
  746. package/daemon/dist/routes/slices.js +1 -1
  747. package/daemon/dist/routes/slices.js.map +1 -1
  748. package/daemon/dist/routes/startup.js +15 -5
  749. package/daemon/dist/routes/startup.js.map +1 -1
  750. package/daemon/dist/routes/stream.d.ts.map +1 -1
  751. package/daemon/dist/routes/stream.js +25 -2
  752. package/daemon/dist/routes/stream.js.map +1 -1
  753. package/daemon/dist/routes/transcripts.js +2 -2
  754. package/daemon/dist/routes/transcripts.js.map +1 -1
  755. package/daemon/dist/routes/transport.d.ts.map +1 -1
  756. package/daemon/dist/routes/transport.js +41 -4
  757. package/daemon/dist/routes/transport.js.map +1 -1
  758. package/daemon/dist/routes/workflow.js +1 -1
  759. package/daemon/dist/routes/workflow.js.map +1 -1
  760. package/daemon/dist/seat-recap-store-surface.d.ts +1 -1
  761. package/daemon/dist/seat-recap-store-surface.d.ts.map +1 -1
  762. package/daemon/dist/seat-recap-store-surface.js +1 -1
  763. package/daemon/dist/seat-recap-store-surface.js.map +1 -1
  764. package/daemon/dist/server.d.ts +2 -0
  765. package/daemon/dist/server.d.ts.map +1 -1
  766. package/daemon/dist/server.js +1 -0
  767. package/daemon/dist/server.js.map +1 -1
  768. package/daemon/dist/startup.d.ts +5 -0
  769. package/daemon/dist/startup.d.ts.map +1 -1
  770. package/daemon/dist/startup.js +107 -29
  771. package/daemon/dist/startup.js.map +1 -1
  772. package/daemon/dist/terminal/TerminalSessionBroker.d.ts +18 -2
  773. package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
  774. package/daemon/dist/terminal/TerminalSessionBroker.js +60 -9
  775. package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
  776. package/daemon/dist/terminal/window-pin.d.ts +41 -0
  777. package/daemon/dist/terminal/window-pin.d.ts.map +1 -0
  778. package/daemon/dist/terminal/window-pin.js +103 -0
  779. package/daemon/dist/terminal/window-pin.js.map +1 -0
  780. package/daemon/docs/reference/a2a-agents.md +16 -4
  781. package/daemon/docs/reference/agent-startup-guide.md +34 -2
  782. package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +2 -2
  783. package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +7 -0
  784. package/daemon/docs/reference/community-harness-examples/hermes/config.yaml.example +2 -1
  785. package/daemon/docs/reference/community-harness-examples/openclaw/openclaw-gateway.yaml +15 -0
  786. package/daemon/docs/reference/community-harness-examples/openclaw/openclaw.yaml +5 -2
  787. package/daemon/docs/reference/community-harness-examples/openclaw/openrig-openclaw-launch +56 -24
  788. package/daemon/docs/reference/community-harness-presets.md +104 -19
  789. package/daemon/docs/reference/gateway-participants.md +165 -0
  790. package/daemon/docs/reference/getting-started.md +84 -10
  791. package/daemon/docs/reference/health-diagnosis.md +13 -0
  792. package/daemon/docs/reference/help.md +6 -0
  793. package/daemon/docs/reference/keeping-a-watch.md +21 -0
  794. package/daemon/docs/reference/project-workspace.md +18 -0
  795. package/daemon/docs/reference/publishing-a-rig-bundle.md +11 -0
  796. package/daemon/docs/reference/quickstart.md +13 -1
  797. package/daemon/docs/reference/rig-spec.md +179 -6
  798. package/daemon/docs/reference/sdlc-conventions.md +3 -1
  799. package/daemon/docs/reference/seat-delivery.md +25 -5
  800. package/daemon/docs/reference/seat-node-targeting.md +17 -0
  801. package/daemon/docs/reference/slack-app-setup.md +21 -3
  802. package/daemon/docs/reference/terminal-sessions.md +51 -0
  803. package/daemon/docs/reference/whats-new.md +148 -169
  804. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +37 -3
  805. package/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md +20 -5
  806. package/daemon/specs/agents/shared/skills/process/agent-browser/LICENSE.txt +201 -0
  807. package/daemon/specs/agents/shared/skills/process/agent-browser/OPENRIG.md +13 -29
  808. package/daemon/specs/agents/shared/skills/process/agent-browser/SKILL.md +8 -8
  809. package/daemon/specs/agents/shared/skills/process/dogfood/LICENSE.txt +201 -0
  810. package/daemon/specs/agents/shared/skills/process/dogfood/SKILL.md +6 -2
  811. package/daemon/specs/agents/shared/skills/process/systematic-debugging/LICENSE.txt +21 -0
  812. package/daemon/specs/agents/shared/skills/process/systematic-debugging/SKILL.md +6 -2
  813. package/daemon/specs/agents/shared/skills/process/systematic-debugging/root-cause-tracing.md +1 -1
  814. package/daemon/specs/agents/shared/skills/process/test-driven-development/LICENSE.txt +21 -0
  815. package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +5 -1
  816. package/daemon/specs/agents/shared/skills/process/verification-before-completion/LICENSE.txt +21 -0
  817. package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +5 -1
  818. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +18 -1
  819. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +3 -0
  820. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +3 -2
  821. package/dist/build-info.js +3 -3
  822. package/dist/client.d.ts +12 -0
  823. package/dist/client.d.ts.map +1 -1
  824. package/dist/client.js +20 -2
  825. package/dist/client.js.map +1 -1
  826. package/dist/commands/acp.js +1 -1
  827. package/dist/commands/auth.d.ts.map +1 -1
  828. package/dist/commands/auth.js +2 -1
  829. package/dist/commands/auth.js.map +1 -1
  830. package/dist/commands/capture.d.ts +27 -0
  831. package/dist/commands/capture.d.ts.map +1 -1
  832. package/dist/commands/capture.js +68 -2
  833. package/dist/commands/capture.js.map +1 -1
  834. package/dist/commands/chatroom.d.ts.map +1 -1
  835. package/dist/commands/chatroom.js +6 -0
  836. package/dist/commands/chatroom.js.map +1 -1
  837. package/dist/commands/context.d.ts.map +1 -1
  838. package/dist/commands/context.js +29 -23
  839. package/dist/commands/context.js.map +1 -1
  840. package/dist/commands/doctor.d.ts +9 -1
  841. package/dist/commands/doctor.d.ts.map +1 -1
  842. package/dist/commands/doctor.js +18 -2
  843. package/dist/commands/doctor.js.map +1 -1
  844. package/dist/commands/down.d.ts.map +1 -1
  845. package/dist/commands/down.js +9 -2
  846. package/dist/commands/down.js.map +1 -1
  847. package/dist/commands/env.d.ts.map +1 -1
  848. package/dist/commands/env.js +3 -0
  849. package/dist/commands/env.js.map +1 -1
  850. package/dist/commands/export.d.ts.map +1 -1
  851. package/dist/commands/export.js +57 -5
  852. package/dist/commands/export.js.map +1 -1
  853. package/dist/commands/gateway.d.ts.map +1 -1
  854. package/dist/commands/gateway.js +309 -23
  855. package/dist/commands/gateway.js.map +1 -1
  856. package/dist/commands/health.js +1 -1
  857. package/dist/commands/health.js.map +1 -1
  858. package/dist/commands/launch.js +1 -1
  859. package/dist/commands/launch.js.map +1 -1
  860. package/dist/commands/project.d.ts.map +1 -1
  861. package/dist/commands/project.js +6 -1
  862. package/dist/commands/project.js.map +1 -1
  863. package/dist/commands/proof.d.ts.map +1 -1
  864. package/dist/commands/proof.js +33 -2
  865. package/dist/commands/proof.js.map +1 -1
  866. package/dist/commands/provider.d.ts.map +1 -1
  867. package/dist/commands/provider.js +172 -24
  868. package/dist/commands/provider.js.map +1 -1
  869. package/dist/commands/queue.d.ts.map +1 -1
  870. package/dist/commands/queue.js +180 -38
  871. package/dist/commands/queue.js.map +1 -1
  872. package/dist/commands/rig-mode.d.ts +1 -2
  873. package/dist/commands/rig-mode.d.ts.map +1 -1
  874. package/dist/commands/rig-mode.js +2 -2
  875. package/dist/commands/rig-mode.js.map +1 -1
  876. package/dist/commands/scope.d.ts.map +1 -1
  877. package/dist/commands/scope.js +17 -6
  878. package/dist/commands/scope.js.map +1 -1
  879. package/dist/commands/seat.d.ts.map +1 -1
  880. package/dist/commands/seat.js +243 -6
  881. package/dist/commands/seat.js.map +1 -1
  882. package/dist/commands/send.d.ts +3 -0
  883. package/dist/commands/send.d.ts.map +1 -1
  884. package/dist/commands/send.js +16 -18
  885. package/dist/commands/send.js.map +1 -1
  886. package/dist/commands/setup.d.ts.map +1 -1
  887. package/dist/commands/setup.js +10 -2
  888. package/dist/commands/setup.js.map +1 -1
  889. package/dist/commands/skill.d.ts.map +1 -1
  890. package/dist/commands/skill.js +22 -1
  891. package/dist/commands/skill.js.map +1 -1
  892. package/dist/commands/slack.d.ts +10 -0
  893. package/dist/commands/slack.d.ts.map +1 -1
  894. package/dist/commands/slack.js +70 -2
  895. package/dist/commands/slack.js.map +1 -1
  896. package/dist/commands/stream-outcome.d.ts +586 -1
  897. package/dist/commands/stream-outcome.d.ts.map +1 -1
  898. package/dist/commands/stream-outcome.js +38 -1
  899. package/dist/commands/stream-outcome.js.map +1 -1
  900. package/dist/commands/stream.d.ts.map +1 -1
  901. package/dist/commands/stream.js +22 -0
  902. package/dist/commands/stream.js.map +1 -1
  903. package/dist/commands/terminal.d.ts +4 -0
  904. package/dist/commands/terminal.d.ts.map +1 -1
  905. package/dist/commands/terminal.js +7 -5
  906. package/dist/commands/terminal.js.map +1 -1
  907. package/dist/commands/up.d.ts.map +1 -1
  908. package/dist/commands/up.js +7 -1
  909. package/dist/commands/up.js.map +1 -1
  910. package/dist/config-store.d.ts.map +1 -1
  911. package/dist/config-store.js +3 -2
  912. package/dist/config-store.js.map +1 -1
  913. package/dist/daemon-lifecycle.d.ts +1 -1
  914. package/dist/daemon-lifecycle.js +2 -2
  915. package/dist/daemon-lifecycle.js.map +1 -1
  916. package/dist/fetch-with-timeout.d.ts.map +1 -1
  917. package/dist/fetch-with-timeout.js +3 -1
  918. package/dist/fetch-with-timeout.js.map +1 -1
  919. package/dist/lib/codex-auth.d.ts +1 -147
  920. package/dist/lib/codex-auth.d.ts.map +1 -1
  921. package/dist/lib/codex-auth.js +2 -505
  922. package/dist/lib/codex-auth.js.map +1 -1
  923. package/dist/lib/scope/dot-id.js +2 -2
  924. package/dist/lib/scope/dot-id.js.map +1 -1
  925. package/dist/lib/scope/scaffold-placeholder.d.ts +1 -1
  926. package/dist/lib/scope/scaffold-placeholder.js +1 -1
  927. package/dist/lib/scope/scope-audit.js +1 -1
  928. package/dist/lib/scope/scope-audit.js.map +1 -1
  929. package/dist/lib/scope/types.d.ts.map +1 -1
  930. package/dist/lib/scope/types.js +2 -3
  931. package/dist/lib/scope/types.js.map +1 -1
  932. package/dist/long-request-fetch.d.ts +9 -0
  933. package/dist/long-request-fetch.d.ts.map +1 -0
  934. package/dist/long-request-fetch.js +48 -0
  935. package/dist/long-request-fetch.js.map +1 -0
  936. package/dist/mcp-server.d.ts.map +1 -1
  937. package/dist/mcp-server.js +53 -2
  938. package/dist/mcp-server.js.map +1 -1
  939. package/dist/release-surface/affected-skills.d.ts.map +1 -1
  940. package/dist/release-surface/affected-skills.js +1 -2
  941. package/dist/release-surface/affected-skills.js.map +1 -1
  942. package/dist/remote-host-ops.d.ts +1 -0
  943. package/dist/remote-host-ops.d.ts.map +1 -1
  944. package/dist/remote-host-ops.js +2 -2
  945. package/dist/remote-host-ops.js.map +1 -1
  946. package/dist/terminal-window-rex.d.ts +6 -0
  947. package/dist/terminal-window-rex.d.ts.map +1 -0
  948. package/dist/terminal-window-rex.js +129 -0
  949. package/dist/terminal-window-rex.js.map +1 -0
  950. package/dist/terminal-window.d.ts +2 -0
  951. package/dist/terminal-window.d.ts.map +1 -1
  952. package/dist/terminal-window.js +19 -7
  953. package/dist/terminal-window.js.map +1 -1
  954. package/dist/tmux-health.d.ts +26 -0
  955. package/dist/tmux-health.d.ts.map +1 -1
  956. package/dist/tmux-health.js +42 -0
  957. package/dist/tmux-health.js.map +1 -1
  958. package/package.json +1 -1
  959. package/tui/dist/attention/attention-model.d.ts +19 -0
  960. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  961. package/tui/dist/attention/attention-model.js +38 -6
  962. package/tui/dist/attention/attention-model.js.map +1 -1
  963. package/tui/dist/commands/registry.d.ts.map +1 -1
  964. package/tui/dist/commands/registry.js +5 -2
  965. package/tui/dist/commands/registry.js.map +1 -1
  966. package/tui/dist/daemon-client.d.ts +13 -7
  967. package/tui/dist/daemon-client.d.ts.map +1 -1
  968. package/tui/dist/daemon-client.js +20 -11
  969. package/tui/dist/daemon-client.js.map +1 -1
  970. package/tui/dist/demo-data.js +17 -17
  971. package/tui/dist/demo-data.js.map +1 -1
  972. package/tui/dist/hydrate.d.ts +1 -1
  973. package/tui/dist/hydrate.d.ts.map +1 -1
  974. package/tui/dist/hydrate.js +35 -11
  975. package/tui/dist/hydrate.js.map +1 -1
  976. package/tui/dist/live-events.js +1 -1
  977. package/tui/dist/live-events.js.map +1 -1
  978. package/tui/dist/live.d.ts.map +1 -1
  979. package/tui/dist/live.js +6 -4
  980. package/tui/dist/live.js.map +1 -1
  981. package/tui/dist/main.js +27 -7
  982. package/tui/dist/main.js.map +1 -1
  983. package/tui/dist/page-read.js +1 -1
  984. package/tui/dist/page-read.js.map +1 -1
  985. package/tui/dist/render.d.ts.map +1 -1
  986. package/tui/dist/render.js +51 -7
  987. package/tui/dist/render.js.map +1 -1
  988. package/tui/dist/state.d.ts.map +1 -1
  989. package/tui/dist/state.js +5 -1
  990. package/tui/dist/state.js.map +1 -1
  991. package/tui/dist/terminals/open-window.d.ts +15 -6
  992. package/tui/dist/terminals/open-window.d.ts.map +1 -1
  993. package/tui/dist/terminals/open-window.js +47 -15
  994. package/tui/dist/terminals/open-window.js.map +1 -1
  995. package/tui/dist/terminals/terminal-model.d.ts +2 -1
  996. package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
  997. package/tui/dist/terminals/terminal-model.js +5 -4
  998. package/tui/dist/terminals/terminal-model.js.map +1 -1
  999. package/tui/dist/types.d.ts +10 -1
  1000. package/tui/dist/types.d.ts.map +1 -1
  1001. package/tui/dist/usage/usage-model.d.ts.map +1 -1
  1002. package/tui/dist/usage/usage-model.js +5 -3
  1003. package/tui/dist/usage/usage-model.js.map +1 -1
  1004. package/ui/dist/assets/{index-Blg-p32B.js → index-DV0UNxFw.js} +2 -2
  1005. package/ui/dist/index.html +1 -1
@@ -1,38 +1,70 @@
1
1
  #!/bin/sh
2
- # A reference launcher for OpenClaw's CLI as an OpenRig community harness. Copy it, own it, and change it: OpenRig
3
- # doesn't ship or run it. It follows docs/reference/community-harness-presets.md (`names_conversation`):
4
- # - a new launch (OPENRIG_CONVERSATION set): OpenClaw's local chat starts on the session key OpenRig named;
5
- # - a resume (OPENRIG_RESUME_REF set): it first checks that this seat's sessions list the key, and stops if they
6
- # don't, so a gone conversation isn't quietly recreated under its old key.
7
- # It runs `openclaw chat` (the TUI with --local): the agent runs in the seat's own pane, with no Gateway. Arguments after
8
- # the launcher's name go to every launch and resume alike.
2
+ # Reference launcher for OpenClaw 2026.10.6 (fe06181), not installed by OpenRig.
3
+ # Each seat owns its client state and uses the main agent. OpenRig's opaque name maps to its full native key.
4
+ # --gateway selects an existing Gateway configured for this client; the default is an embedded local agent.
5
+ # Resume checks that exact key at its owner; an unavailable lookup is not a missing conversation.
9
6
  set -eu
10
7
 
11
8
  openclaw="${OPENRIG_OPENCLAW:-openclaw}"
12
-
13
- # Each seat gets its own OpenClaw state folder: --local needs it to itself, and seats don't share sessions.
14
- # Its provider settings and credentials come from that folder's config or the environment, not the person's ~/.openclaw.
9
+ mode=local
10
+ if [ "${1:-}" = --gateway ]; then mode=gateway; shift; fi
15
11
  OPENCLAW_STATE_DIR="${OPENRIG_HOME:-$HOME/.openrig}/state/openclaw/${OPENRIG_NODE_ID:-${OPENRIG_SESSION_NAME:-default}}"
16
12
  export OPENCLAW_STATE_DIR
17
13
  mkdir -p "$OPENCLAW_STATE_DIR"
18
14
 
15
+ name="${OPENRIG_RESUME_REF:-${OPENRIG_CONVERSATION:-}}"
16
+ if [ -z "$name" ]; then
17
+ echo "openrig-openclaw-launch: OpenRig passed no conversation name; is names_conversation set in the preset?" >&2
18
+ exit 2
19
+ fi
20
+ case "$name" in
21
+ agent:main:*) key="$name" ;;
22
+ agent:*) echo "openrig-openclaw-launch: this example supports only the main OpenClaw agent" >&2; exit 2 ;;
23
+ *) key="agent:main:$name" ;;
24
+ esac
25
+
26
+ # Preserve the file's exact bytes, including trailing newlines. A read error stops before the harness starts.
27
+ if [ -n "${OPENRIG_FIRST_INPUT:-}" ]; then
28
+ first_input=$(cat "$OPENRIG_FIRST_INPUT" && printf '.')
29
+ first_input=${first_input%.}
30
+ set -- "$@" --message "$first_input"
31
+ fi
32
+
19
33
  if [ -n "${OPENRIG_RESUME_REF:-}" ]; then
20
- key="$OPENRIG_RESUME_REF"
21
- # A key may be stored bare or as agent:<id>:<key>; either counts as this conversation.
22
- if ! "$openclaw" sessions --json --limit all | KEY="$key" node -e '
34
+ if [ "$mode" = gateway ]; then
35
+ params=$(KEY="$key" node -e 'process.stdout.write(JSON.stringify({ key: process.env.KEY, agentId: "main" }))')
36
+ if listing=$("$openclaw" gateway call sessions.describe --params "$params" --json); then listed=true; else listed=false; fi
37
+ else
38
+ if listing=$("$openclaw" sessions --agent main --json --limit all); then listed=true; else listed=false; fi
39
+ fi
40
+ if [ "$listed" = false ]; then
41
+ echo "openrig-openclaw-launch: this seat's OpenClaw sessions couldn't be listed; not starting" >&2
42
+ exit 4
43
+ fi
44
+ if printf '%s' "$listing" | KEY="$key" MODE="$mode" node -e '
23
45
  let raw = ""; process.stdin.on("data", (chunk) => { raw += chunk; });
24
46
  process.stdin.on("end", () => {
25
- const key = process.env.KEY;
26
- const sessions = JSON.parse(raw).sessions || [];
27
- process.exit(sessions.some((s) => s.key === key || String(s.key).endsWith(`:${key}`)) ? 0 : 1);
47
+ try {
48
+ const data = JSON.parse(raw);
49
+ if (process.env.MODE === "gateway") {
50
+ if (data.session === null) process.exit(3);
51
+ process.exit(data.session?.key === process.env.KEY ? 0 : 4);
52
+ }
53
+ const { sessions } = data;
54
+ if (!Array.isArray(sessions)) process.exit(4);
55
+ process.exit(sessions.some((s) => s?.agentId === "main" && s.key === process.env.KEY) ? 0 : 3);
56
+ } catch { process.exit(4); }
28
57
  });'; then
29
- echo "openrig-openclaw-launch: this seat's OpenClaw sessions don't list \"$key\" (or couldn't be listed); not starting a new one under that key" >&2
30
- exit 3
58
+ :
59
+ else
60
+ result=$?
61
+ if [ "$result" -eq 3 ]; then
62
+ echo "openrig-openclaw-launch: this seat's OpenClaw sessions don't list \"$key\"; not starting a new one under that key" >&2
63
+ else
64
+ echo "openrig-openclaw-launch: this seat's OpenClaw sessions couldn't be listed; not starting" >&2
65
+ fi
66
+ exit "$result"
31
67
  fi
32
- exec "$openclaw" chat --session "$key" "$@"
33
- fi
34
- if [ -n "${OPENRIG_CONVERSATION:-}" ]; then
35
- exec "$openclaw" chat --session "$OPENRIG_CONVERSATION" "$@"
36
68
  fi
37
- echo "openrig-openclaw-launch: OpenRig passed no conversation name; is names_conversation set in the preset?" >&2
38
- exit 2
69
+ if [ "$mode" = gateway ]; then exec "$openclaw" tui --session "$key" "$@"; fi
70
+ exec "$openclaw" tui --local --session "$key" "$@"
@@ -4,6 +4,26 @@ A community harness is a coding harness an outside contributor maintains. You in
4
4
  rig member runs it by naming it as its `runtime`. OpenRig doesn't test these harnesses. It shows them as community
5
5
  harnesses, and it reads their activity only from what the screen shows.
6
6
 
7
+ ## What a community harness gets
8
+
9
+ What OpenRig does for a community-harness seat, capability by capability. **Partly** and **no** mean OpenRig shows that it doesn't know;
10
+ it never reads an unsupported capability as idle, working, ready or verified.
11
+
12
+ | Capability | Supported | How it works, or what you see instead |
13
+ |---|---|---|
14
+ | Launch | yes | OpenRig types the preset's `command` into the seat's pane, with its variables passed through `/usr/bin/env`. The seat reads as ready once something other than a shell runs in the pane; that's a process check, not proof of which conversation it runs. With `startup_assisted`, the seat reports attention required until a person checks it. |
15
+ | Delivery | yes | `rig send` and queue wakes paste the text into the pane and press Enter, as for any seat. A pane that's back at a shell is refused (`target_runtime_unverified`) and nothing is typed. OpenRig doesn't confirm the harness took the message; `rig send --verify` checks the pane afterwards. |
16
+ | Identity | when declared | With `launch_result`, the conversation is shown as reported by its launcher; with `names_conversation`, as named by OpenRig. Neither is observed by OpenRig. Without either, the identity is unavailable. |
17
+ | Resume | when declared | `resume: true` with one of the two above (see [Reopening a conversation](#reopening-a-conversation-resume-true)). Without it, a resume says `Resume is unsupported: community harness "<name>" is launch-only`, and a restore stops and asks. |
18
+ | Activity | partly | Read from the screen only; there are no activity hooks. Work and attention the screen shows are kept, but a screen that looks idle reads `unknown`, never idle, because a quiet prompt can be an approval or a pause. |
19
+ | Attention | partly | Read from the screen: a permission question or numbered choice that OpenRig recognizes reads as needing attention, and `rig send` won't type into it. A prompt it doesn't recognize reads `unknown`. |
20
+ | Approval | no | Approvals stay in the harness's own pane. OpenRig relays none, so a person answers them there. |
21
+ | Cancel | no | OpenRig has no verb that cancels a running turn. `rig seat stop` and `rig down` end the seat's tmux session; anything the harness runs outside its pane, such as a gateway, is its own, and the preset's `limits` should say what keeps running. Restarting in place and switching harness are refused. |
22
+ | Transport | yes | The seat is a tmux pane like any other, so `rig capture`, `rig send` and `--host` work as they do for any seat. |
23
+
24
+ **Not placed:** guidance, skills and startup files (a launch warns that they weren't delivered), and the model: set it in the harness's own
25
+ configuration.
26
+
7
27
  ## The preset
8
28
 
9
29
  One YAML file per harness: `$OPENRIG_HOME/community-harnesses/<name>.yaml`. `rig community-harness list` shows what's
@@ -20,6 +40,7 @@ launch_result: true # optional: the launcher reports the conversatio
20
40
  # names_conversation: true # optional, instead of launch_result: OpenRig names the conversation (below)
21
41
  resume: true # optional, needs one of those two; declare it only once your harness's resume is checked
22
42
  startup_assisted: true # optional: startup submission needs a person's check (below)
43
+ first_input: true # optional: launcher takes the first turn from OPENRIG_FIRST_INPUT (below)
23
44
  ```
24
45
 
25
46
  - **`command`** is a single program and its arguments. Shell syntax such as `|`, `&&`, `;`, redirections or `$(…)`
@@ -32,11 +53,15 @@ startup_assisted: true # optional: startup submission needs a person's
32
53
 
33
54
  ### Assisted startup
34
55
 
35
- Set `startup_assisted: true` when the harness doesn't reliably submit OpenRig's startup text. OpenRig still pastes the
36
- text and presses Enter once. If it sends startup text, the running seat then shows **attention required**, rather than
37
- ready: check its pane and submit any text still in the composer. Don't resend the identity prompt. After the seat responds,
38
- use the reported `rig seat clear-attention <session> --reason "Startup submission checked; seat responded"` command to
39
- acknowledge the check. A launch with no startup text needs no such check. Other presets keep their existing behavior.
56
+ Set `startup_assisted: true` when startup submission needs a person's check. The seat may start its first turn
57
+ automatically, including from input passed at launch with `first_input: true`. This declaration requires a check after
58
+ the submission attempt; it does not hold the agent back. Without `first_input`, OpenRig pastes the startup text and
59
+ presses Enter once.
60
+
61
+ After attempting startup input, OpenRig reports **attention required**: check the pane and submit any text still in the
62
+ composer. OpenRig does not resend the identity prompt. Once the seat responds, use the reported
63
+ `rig seat clear-attention <session> --reason "Startup submission checked; seat responded"` command to acknowledge the
64
+ check. A launch with no startup text needs no such check. Other presets keep their existing behavior.
40
65
 
41
66
  ## Reporting the conversation a launch created (`launch_result: true`)
42
67
 
@@ -123,7 +148,9 @@ Agent's CLI.
123
148
  flags and then reopens it, refusing any creation flag (model, provider, `--max-turns`) that differs. So the preset's
124
149
  command carries none, and each seat's `config.yaml`, in its Hermes home, sets them before the seat's first start:
125
150
  the model and provider, and `agent.max_turns` if you want a cap (nothing else sets it once the flag is gone).
126
- - **Let Hermes run `rig` as the seat:** Hermes runs every tool command in one gateway per machine, with that gateway's
151
+ - **Let Hermes run `rig` as the seat:** Hermes runs every tool command in its gateway, one per Hermes home, so with
152
+ this launcher one per seat (a two-seat run showed separate gateways, homes and sockets, and stopping one seat left
153
+ the other's running). It runs them with that gateway's
127
154
  environment, and swaps in a session's own values only for its toolchain names and the names its profile lists in
128
155
  `terminal.client_env_passthrough`. So put the seat's OpenRig variables in that list, in each seat's `config.yaml`
129
156
  ([`config.yaml.example`](community-harness-examples/hermes/config.yaml.example)). Without it, `rig` inside Hermes
@@ -142,17 +169,20 @@ Copy them and maintain them as your own.
142
169
 
143
170
  [`community-harness-examples/openclaw/`](community-harness-examples/openclaw/) has a preset and a small launcher for
144
171
  OpenClaw's CLI.
145
- - **The launcher:** it runs `openclaw chat` (the TUI with `--local`) on the session key OpenRig named, with its own
146
- OpenClaw state folder per seat, so the agent runs in the seat's pane with no Gateway.
147
- - **Its resume check:** before reopening a key, the launcher checks that the seat's `openclaw sessions --json` lists it,
148
- and stops if not, so a gone conversation isn't recreated under its old key. That check is the launcher's code, not
149
- OpenRig's.
150
- - **Resets must stay off:** OpenClaw can start a new conversation under the same key on a reset rule
151
- (`session.reset`). That's off by default; with it on, a key no longer names one conversation. Likewise, typing `/new`
152
- in the pane moves the chat to a fresh session key, while the seat still holds the name OpenRig gave it.
153
- - **The preset:** it declares `names_conversation` but not `resume`, until both have been checked with a real OpenClaw.
172
+ - **Choose the mode:** `openclaw.yaml` runs an embedded agent with `tui --local`. `openclaw-gateway.yaml` runs a TUI client of an existing Gateway. Configure that client's Gateway route and authentication through `OPENCLAW_CONFIG_PATH`; the launcher never starts or stops the Gateway.
173
+ - **The conversation:** both examples use only agent `main`, mapping OpenRig's name to the full native key `agent:main:<OpenRig name>`. Each seat has its own client state folder.
174
+ - **Its resume check:** local mode checks `sessions --agent main --json --limit all`; Gateway mode calls the selected Gateway's `sessions.describe`. Both require the exact canonical key. An unavailable lookup stops the launch; a confirmed missing key is never recreated. A client's local cache cannot authorize Gateway resume.
175
+ - **Stopping:** a Gateway client's pane closing detaches it. The Gateway and an accepted turn can keep running; stopping that service is separate. Local mode runs its embedded agent in the pane.
176
+ - **Unattended seats:** prefer Gateway mode within the capabilities qualified for your installed version. Local interrupted-turn recovery is not supported by these launchers.
177
+ - **Local interruption:** Finish the current local turn before stopping; an interrupted local turn may retain native recovery work and refuse the next request. This launcher does not repair or retry it. OpenRig recognizes the recorded local “changed while starting work” error frame as needing attention: “OpenClaw turn not recovered; inspect the pane before retrying”. Use `rig capture <session>` to inspect the native conversation. An ordinary send still submits a new turn, with an advisory that the last local turn was not recovered; it is not an automatic replay of that turn. It does not clear native recovery records, repeat the request or start a fresh conversation; a successful process launch is not proof that the turn recovered.
178
+ - **Local startup after resume:** OpenClaw may run its database integrity check during startup. A reported resumed process does not confirm readiness for the next request; check that the TUI has finished starting before sending work.
179
+ - **Resets must stay off:** automatic session resets can create a new conversation under the same key. Typing `/new` also moves to a fresh key while the seat keeps the name OpenRig gave it.
180
+ - **The presets:** both declare `names_conversation`, `resume` and `first_input`. The launcher passes the generated first startup text through OpenClaw's `--message` option. OpenRig labels the saved name as passed, not observed by its adapter.
154
181
 
155
- Copy both and maintain them as your own.
182
+ Copy the launcher and the preset for your mode, and maintain them as your own.
183
+
184
+ **Stopping a community seat stops its pane.** `rig down` names those seats ("Pane stopped: …"), since a harness's own
185
+ processes, a gateway say, may keep running after it. OpenRig doesn't stop them; each preset's limits say what to expect.
156
186
 
157
187
  **Not supported for community harnesses:** restarting a seat in place (`rig seat restart` is for Codex seats) and
158
188
  switching harness on a running seat. Each says so before anything changes.
@@ -167,13 +197,68 @@ CLI.
167
197
  - **The preset:** it declares `launch_result` and `resume`. Cursor's `--resume` with an id it doesn't hold starts a new,
168
198
  empty chat without saying so, so on a resume the launcher first checks that the chat's store exists. When it doesn't, the
169
199
  launcher reports `error: "missing"` and starts nothing.
170
- - **Startup is assisted:** identity text has remained in Cursor's composer after the initial Enter. The preset declares
171
- `startup_assisted: true`; check and submit it in the pane as above. Unattended startup submission is not confirmed.
200
+ - **First input at launch:** the preset declares `first_input: true` and `startup_assisted: false`. The launcher passes
201
+ the generated startup text as Cursor's positional first prompt. This route and same-chat resume were checked with
202
+ Cursor Agent 2026.10.22-27dcf5f. Later tool approvals use Cursor's native prompts; startup submission does not answer them.
172
203
  - **Sender names come from the sending session.** A command run from an unattached operator shell can arrive as
173
204
  `<unknown sender>`; that doesn't mean the receiving Cursor seat lost its identity.
174
205
 
175
206
  Copy both and maintain them as your own.
176
207
 
177
208
  The launcher is the contributor's code, in the contributor's package. OpenRig runs no code from a preset and loads no
178
- module into its daemon. A preset that sets `launch_result`, `names_conversation` or `startup_assisted` is refused by an older
209
+ module into its daemon. A preset that sets `launch_result`, `names_conversation`, `startup_assisted` or `first_input` is refused by an older
179
210
  OpenRig that doesn't know the field.
211
+
212
+ ## Pass the first startup input at launch
213
+
214
+ A format-1 preset may set `first_input: true` (a boolean, default false). OpenRig composes the same initial identity turn it would otherwise paste, including the first merged text file, durable-obligation guidance and any selected orientation challenge. Before launch it writes that text to a per-attempt 0600 file under its own `state/first-input/` folder and passes the path as `OPENRIG_FIRST_INPUT`. The typed launch command carries the path, not the text; an argument-based launcher still puts the text in the native harness’s argv.
215
+
216
+ The contributor-owned launcher reads the file and uses its harness’s supported initial-prompt route: the Cursor example passes one positional prompt; OpenClaw uses `--message`. Core knows neither flag. If no initial identity turn is due (an ordinary resume, for example), the variable is absent and the launcher starts without a first message. Later startup files and actions use their existing delivery paths; they are not folded into the launch file.
217
+
218
+ OpenRig records `node.startup_first_input_passed` with the path and `submission: unconfirmed`. This says the input was passed at launch, not that the native harness submitted or read it. An uncertain launch is not permission to replay it. Readiness remains process-only. `startup_assisted` is independent: when declared, startup still requires a person’s acknowledgement, including when the first input was passed at launch.
219
+
220
+ Presets without `first_input` and built-in runtimes keep their existing behavior. Older OpenRig versions reject this new field as unknown. The private input file remains for diagnostics; it can contain private startup context. A launcher that turns its contents into one argument is subject to the platform’s argument-size limit; the launcher must report a launch error rather than silently truncate the turn. The examples’ argument transport is covered with stand-ins; native unattended startup still requires qualification with the installed harness.
221
+
222
+ ## Write your own
223
+
224
+ Start from the example closest to your harness, and change it.
225
+
226
+ 1. **Choose how the conversation is named.**
227
+ - **Your harness creates an id you can read before it starts,** as Cursor's `create-chat` does: declare `launch_result: true`, and the
228
+ launcher writes the record.
229
+ - **Your harness takes a name from its caller and creates or reopens it,** as Hermes's `-c <name>` and OpenClaw's session key do: declare
230
+ `names_conversation: true`, and the launcher passes `OPENRIG_CONVERSATION` on.
231
+ - **Neither:** leave both out. The seat starts and works, its identity shows as unavailable, and it can't be resumed.
232
+ 2. **Write the launcher:** a small script your package installs on the seat's `PATH`. It reads OpenRig's variables, starts the harness with
233
+ `exec`, and does nothing else.
234
+ - `OPENRIG_CONVERSATION` with `names_conversation`, or `OPENRIG_LAUNCH_RESULT` and `OPENRIG_LAUNCH_ATTEMPT` with `launch_result`.
235
+ - **On a resume,** `OPENRIG_RESUME_REF`: reopen exactly that conversation. Check that it exists first, and when it doesn't, end with an
236
+ error (or report `error: "missing"`) instead of creating one.
237
+ - **With `first_input: true`,** `OPENRIG_FIRST_INPUT`: pass the file's exact bytes through your harness's own first-prompt route.
238
+ - **Keep each seat's harness state apart** (Cursor's config folder, Hermes's home, OpenClaw's state folder), so two seats never share a
239
+ conversation.
240
+ 3. **Write the preset** at `$OPENRIG_HOME/community-harnesses/<name>.yaml`, and check it with `rig community-harness list`.
241
+ - Declare `resume` only after checking, with the real harness, that a reopen works and that a missing conversation is refused.
242
+ - List what doesn't work under `limits`.
243
+ 4. **Try it in a rig:** give a member `runtime: <name>`, then go through the checks in the promotion test below.
244
+ 5. **Publish the preset and the launcher in your own package,** and maintain them. OpenRig runs no code from a preset, so the launcher is
245
+ yours.
246
+
247
+ ## The promotion test
248
+
249
+ A community harness stays a community harness: you maintain it, and OpenRig shows it as one. **Promotion** means OpenRig takes a harness on
250
+ as a built-in runtime that it maintains and tests itself. **Promotion is decided by the OpenRig maintainers, on evidence from OpenRig's own
251
+ testing.** Passing these checks isn't automatic promotion, and it isn't a promise of upstream support.
252
+
253
+ What the maintainers look at:
254
+ 1. **Everything the preset declares works on a real install,** end to end through OpenRig:
255
+ - a seat starts and takes its first turn (`rig up`);
256
+ - a message arrives (`rig send`), and the reply can be read (`rig capture`);
257
+ - the seat stops (`rig down`) without leaving work running that the person can't see, or the preset's `limits` say what keeps running;
258
+ - with `resume`, `rig up <rig> --existing` reopens the same conversation, and a missing one is refused, never replaced.
259
+ 2. **What it doesn't support reads as not known,** never as idle, working, ready or verified.
260
+ 3. **Its `limits` are true,** and name anything a person would otherwise be surprised by.
261
+ 4. **The built-in runtimes are unchanged.**
262
+ 5. **It's maintained:** a named maintainer, and a launcher that keeps working with the harness's current release.
263
+
264
+ There's no score or threshold. The maintainers weigh the evidence.
@@ -0,0 +1,165 @@
1
+ # Gateway participants: several people, shared channels, organizations and policy
2
+
3
+ OpenRig's gateway can register **several people** and **shared channels**, group them into **organizations** and
4
+ **groups**, give each readable **policy** text, and name a **default person**. Agents read the policy and apply it;
5
+ OpenRig doesn't enforce it. This page covers the commands, what the default is for, and what upgrading and rolling back
6
+ do.
7
+
8
+ ## Participants
9
+
10
+ A participant is either:
11
+ - **a person**, registered with `rig gateway human add` as before, with their own Slack binding; or
12
+ - **a shared channel**: one vetted Slack channel registered as one participant, `<id>@external`, not a person per
13
+ sender.
14
+
15
+ People and channels share one address space: a channel can't take a person's id.
16
+
17
+ ```bash
18
+ # An organization and a group inside it (one command each, create or update)
19
+ rig gateway org set acme --name "Acme" --policy "Answer Acme's customers within a working day. Never promise a date."
20
+ rig gateway group set support --organization acme --name "Support" --policy-file ./support-policy.md
21
+
22
+ # People: the second and later ones are allowed now
23
+ rig gateway human add sarah --display-name "Sarah" \
24
+ --binding "slack:main:file:/etc/openrig/slack.env:primary:handle=U0SARAH" --delivery-class B \
25
+ --organization acme --group support --policy "Sarah approves refunds up to 500." --default
26
+
27
+ # A shared channel
28
+ rig gateway channel add acme-customers --display-name "Acme customers" \
29
+ --binding "slack:main:file:/etc/openrig/slack.env:C0ACME" --organization acme
30
+
31
+ # See everyone, with organization, groups, the default and each participant's policy
32
+ rig gateway participants
33
+ rig gateway participants --organization acme --json
34
+ rig gateway human show sarah
35
+ ```
36
+
37
+ Change a person's placement with `rig gateway human set <id> organization|groups|policy <value>` (`unset` clears it;
38
+ for policy, `@<path>` reads a file). Remove a channel with `rig gateway channel remove <id>`, which refuses while
39
+ non-terminal rows are addressed to it unless you pass `--force`.
40
+
41
+ ## Policy is context, not enforcement
42
+
43
+ A participant's **effective policy** is its organization's text, then each of its groups', then its own, each labelled
44
+ with where it came from. Agents read it (`rig gateway participants --json`, `rig gateway human show --json`) and apply
45
+ it with judgment. It doesn't grant or block anything by itself, and a participant's name never implies a policy.
46
+
47
+ ## The default person
48
+
49
+ Some things need a person without naming one: an escalation of stuck work, the digest of notices, Mission Control's
50
+ my-queue, a workflow's human step when no person is configured for it, and a pairing approval without `--human`. They
51
+ go to:
52
+ 1. the default person, when one is chosen (`rig gateway default <id>`, or `--default` on `human add`);
53
+ 2. otherwise the only registered person, so a one-person install needs no choice;
54
+ 3. otherwise nobody, and each says so: an escalation reports `undeliverable:no-default-person`, the notice digest
55
+ waits, and the others name the command to run.
56
+
57
+ `rig gateway default` shows the current default; `rig gateway default --clear` clears the choice. Choosing a default
58
+ never changes `workspace.operator_seat_name`, which keeps its own meaning.
59
+
60
+ ## In the TUI: whose queue, and who acts
61
+
62
+ The person at the terminal is the **primary user**: the default person, or, with several people and none chosen, the
63
+ person at the terminal unnamed. Whatever the TUI shows, its acts are theirs.
64
+ - **Opening:** with a chosen default, the TUI opens on that person's Feed. With none chosen, including a one-person
65
+ install that never chose one, it opens on the topology, as before.
66
+ - **Whose queue:** `whose <person>` shows one person's asks, `whose all` everyone's, and `whose default` the default
67
+ person's. The Feed's first line says whose queue it shows and who acts.
68
+ - **Acting on someone else's ask** (answer, approve or resolve from the TUI) records both: the primary user as the actor,
69
+ and the person asked in the audit notes and the transition. The asking seat reads, for example, "Answered by
70
+ mike@external, the primary user at the terminal, on sarah@external's ask". With several people and none chosen, the
71
+ actor is `human@host`.
72
+ - **Viewing Sarah isn't acting as Sarah.** Only Sarah, from her own channel, answers as Sarah. Without the primary
73
+ user's authority, one registered person can't answer, approve, deny or resolve what was asked of another; that's
74
+ refused (`answer_not_recorded`) and nothing changes.
75
+ - With no one registered, the TUI and its acts are as before, except on a shared channel's ask or a row parked on a
76
+ channel: the TUI shows the act as `human@host`, the person at the terminal, and it's recorded that way, never as the
77
+ channel.
78
+ - **A shared channel never acts.** Its messages are correspondence, so nothing it says answers, approves, denies or
79
+ resolves an ask, and a customer's earlier message in an ask's thread is never taken as its answer. A request without
80
+ the primary user's authority that acts as a channel, with any Mission Control verb (including drop, route, hold, hand
81
+ off and annotate), is refused (`answer_not_recorded`) and nothing changes.
82
+ - **Where the authority applies:** only on a request that carries no seat identity header, which is how the TUI calls
83
+ the daemon. Seats and the CLI send that header, so their acts stay theirs. This is the existing trusted-network
84
+ distinction, not an authentication check: a request that leaves the header out is taken as the terminal's, as any
85
+ such request already is.
86
+
87
+ ## Shared-channel conversations
88
+
89
+ A registered shared channel lets people who aren't registered, such as a customer, talk to a seat, without registering
90
+ each of them.
91
+
92
+ **Setup:**
93
+ 1. Invite the OpenRig Slack app to the channel.
94
+ 2. Register the channel: `rig gateway channel add acme-customers --display-name "Acme customers" --binding
95
+ "slack:main:file:/etc/openrig/slack.env:C0ACME" --organization acme --policy-file ./acme-customers.md`.
96
+ 3. Send its new messages to the support seat: `rig slack channel-map set support-rig C0ACME --inbound
97
+ support@support-rig`. Without a map, they go to the inbound destination.
98
+
99
+ A channel works on its own: no registered person is needed for it to converse.
100
+
101
+ **What the seat sees:** each message lands as a row from the channel (`acme-customers@external`). Its body ends with a
102
+ labelled block: the channel, its organization and groups, who wrote (the Slack user, marked as not a registered person),
103
+ and the channel's effective policy. The row is tagged `participant:acme-customers`, `shared-channel` and
104
+ `slack-sender:<user id>`. A registered person writing in the channel stays themselves; the block only says where they
105
+ wrote.
106
+
107
+ The channel's policy is the labelled block OpenRig adds at the end of the row, after the message. Anything above it is
108
+ the sender's own words, even if it looks like policy. `rig gateway participants --json` is the source.
109
+
110
+ **Answering:** reply into the customer's thread with an update to the channel:
111
+
112
+ ```bash
113
+ rig queue create --destination acme-customers@external --human-intent update --reply-to <their row's id> \
114
+ --summary "Your invoice" --body "It's on your account page."
115
+ ```
116
+
117
+ A later update with the same `--reply-to` lands in the same thread. An update without `--reply-to` posts to the channel
118
+ on its own. Posts to a channel mention nobody.
119
+
120
+ **What a channel can't do:** its messages are correspondence. They never answer, approve, close or resume anyone's ask.
121
+ You can still send an ask to the channel; the queue accepts it with a warning that nothing there will settle it, so read
122
+ the replies and close it yourself. Its questions show in the channel as a list, without buttons, and ask for a reply in
123
+ the thread.
124
+
125
+ ## Where it's stored
126
+
127
+ - **People** stay exactly as before: one file per person under `$OPENRIG_HOME/gateway/humans/`, plus the generated
128
+ `humans.generated.yaml`. Nothing new is written into them.
129
+ - **Everything else** (the default, organizations, groups, each participant's placement and policy, and shared
130
+ channels) is in `$OPENRIG_HOME/gateway/participants.yaml`, written by the commands above.
131
+ - **A problem in `participants.yaml` never disables the person registry.** People still receive and answer their asks.
132
+ The commands above report the problem, and with several people no default is chosen until it's fixed.
133
+ - **A person removed by hand** leaves a warning in `rig gateway participants`, not a broken file. `rig gateway human
134
+ remove` also removes the person's placement, and the default if it was them.
135
+
136
+ ## Upgrading
137
+
138
+ For a one-person install, nothing to do: it keeps working as before, that person stays the default, pending rows keep
139
+ their addresses, and no new file is written until you use one of the commands above.
140
+
141
+ A TUI older than the daemon still works: it sends the actor the daemon serves, the person asked, which is still their
142
+ own act. On a shared channel's ask the daemon serves `human@host`. An older TUI's approve there is recorded as
143
+ `human@host`, and its answer is refused (`answer_not_recorded`), because answering someone else's ask takes the primary
144
+ user's authority, which only a current TUI sends.
145
+
146
+ **If several people are already registered** (earlier versions listed hand-added people with an advisory), choose a
147
+ default with `rig gateway default <id>` after upgrading. Until you do, escalations report
148
+ `undeliverable:no-default-person` instead of reaching whoever's id sorted first, and the notice digest waits.
149
+
150
+ ## Rolling back to 0.7.2 or earlier
151
+
152
+ Older versions don't read `participants.yaml`, and the person files carry nothing they don't understand, so:
153
+ - **every registered person still loads**, and each can still answer their own asks from Slack;
154
+ - **another person's reply is guarded less on 0.7.1 and 0.7.0:** there, a different person's Slack reply in the thread
155
+ of a question parked on someone else can resume that question, and 0.7.0 can record such a reply to a pending ask as
156
+ an answer row (it still can't close the ask);
157
+ - **there's no default:** escalations and the notice digest go to the first person by id, Mission Control's my-queue
158
+ has no default person, and pairing needs `--human`;
159
+ - **the TUI** opens on the topology and records a terminal answer as the person asked, as before. Rows already
160
+ answered by the primary user keep their notes;
161
+ - **shared channels are unknown:** their customers' messages are refused again, as from any unregistered sender, and
162
+ rows addressed to a channel become undeliverable on the older version;
163
+ - **organizations, groups and policy aren't shown.**
164
+
165
+ Upgrading again restores all of it, because the older version never changes `participants.yaml`.
@@ -39,6 +39,12 @@ The `rigs` skill is the procedure: follow it in order. This page is what it look
39
39
 
40
40
  ## Before you start
41
41
 
42
+ Setup and launch are separate: declining `rig setup` avoids its `~/.tmux.conf` change, but starting Codex seats can
43
+ still write workspace trust and selected MCP/config fragments. `runtime.codex.hooks_enabled=false` controls hooks;
44
+ it isn't a no-global-config option. Setup has no project-only mode. Trusted project `.codex/config.toml` settings
45
+ don't redirect OpenRig's home-config writes. A separate selected `CODEX_HOME` keeps Codex config, login and sessions
46
+ together in that home; it needs its own working sign-in and doesn't relocate `~/.tmux.conf`.
47
+
42
48
  > **What OpenRig changes on your machine**
43
49
  > - **Install:** `@openrig/cli` goes in globally with npm.
44
50
  > - **Setup:** `rig setup` adds an OpenRig block to `~/.tmux.conf`. It can install tmux (with Homebrew on macOS), and
@@ -46,7 +52,8 @@ The `rigs` skill is the procedure: follow it in order. This page is what it look
46
52
  > Claude Code and Codex and may install a missing one; `rig setup --providers claude` (or `codex`) limits it to
47
53
  > yours.
48
54
  > - **Starting OpenRig, for the coding agent you use** (paths are the usual defaults):
49
- > - Codex: hooks and trust in `~/.codex/config.toml`.
55
+ > - Codex: hooks, workspace trust and team-selected config fragments (including MCP) in the selected
56
+ > `CODEX_HOME/config.toml`, default `~/.codex/config.toml`. These affect other Codex sessions using that home.
50
57
  > - Claude Code: workspace trust in `~/.claude.json`, and activity hooks in the project's
51
58
  > `.claude/settings.local.json`, plus a status line unless you already have your own.
52
59
  > - Discovery skills go in `~/.claude/skills` and `~/.agents/skills`.
@@ -184,11 +191,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
184
191
  script will do and changes nothing:
185
192
 
186
193
  ```sh
187
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.1/scripts/install.sh | sh -s -- --dry-run
194
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.3/scripts/install.sh | sh -s -- --dry-run
188
195
  ```
189
196
 
190
197
  The same command without `--dry-run`,
191
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.1/scripts/install.sh | sh`, installs the
198
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.3/scripts/install.sh | sh`, installs the
192
199
  latest published `@openrig/cli` with `npm install -g`,
193
200
  runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
194
201
  Codex and may install a missing one, as described below. A failed step prints
@@ -255,6 +262,9 @@ applies to future launches and successors, not running agents or your personal t
255
262
  If the scoped environment cannot be prepared, launch keeps its previous environment and
256
263
  reports a warning in fresh launch results and the daemon log. For handovers, check
257
264
  that log for this warning. This is not a promise that shell startup cannot add or override values.
265
+ On Linux, a seat also gets the daemon's `XDG_RUNTIME_DIR`, so tools whose sockets live there work in seats,
266
+ with `DBUS_SESSION_BUS_ADDRESS=disabled:` so its D-Bus clients don't find your session bus on their own. A seat's
267
+ own `env:` value for either name wins. See "The runtime directory, on Linux" in the rig spec reference.
258
268
 
259
269
 
260
270
  ## Start the kernel and check its state
@@ -384,13 +394,14 @@ caller's Herdr endpoint must match the daemon's endpoint; a mismatch is reported
384
394
  without opening a window or putting the view in another session.
385
395
 
386
396
  The shared TUI (`rig tui --shared`) runs in the daemon's tmux server, so its own environment never
387
- carries the Herdr you are looking at; the markers are on the tmux client attached to it. When you
397
+ carries the Herdr or Rex you are looking at; the markers are on the tmux client attached to it. When you
388
398
  open a terminal view from it on Linux, the TUI passes the markers of the client that was active last
389
- (normally the one that pressed the key) to the command, which then opens the view in that Herdr. The
399
+ (normally the one that pressed the key) to the command, which then opens the view in that Herdr, or as
400
+ a new session on that Rex server. The
390
401
  chosen client may belong to a different viewer: tmux only counts keys a client types, so a key sent
391
402
  by an agent (`send-keys`) or by a control-mode client doesn't count as any client's activity, and the
392
- view opens in the Herdr of the interactive client that typed last, however long ago. With no client
393
- attached, more than one client active in the same second, or a client that isn't in Herdr or can't be
403
+ view opens in the Herdr or Rex of the interactive client that typed last, however long ago. With no client
404
+ attached, more than one client active in the same second, or a client that is in neither or can't be
394
405
  read, nothing is passed and the result is what it was before. Other platforms, and every other way of
395
406
  running `rig terminal open`, keep the previous result too.
396
407
 
@@ -683,9 +694,15 @@ Herdr, use `rig terminal open starter --provider herdr`; for the shared
683
694
  dashboard together with the kernel conversations, use the
684
695
  [saved first view](#open-the-kernel-conversations). The equivalent
685
696
  cmux provider is also available. Read the opened/absent/degraded result: a
686
- partial terminal view is not a healthy team. Repeated terminal-open calls can
687
- create another provider workspace; return to the one already open when you
688
- want to preserve it. This is terminal integration, not native plugin enrollment.
697
+ partial terminal view is not a healthy team. Each `--provider herdr` open adds
698
+ a new workspace, numbered when the name is taken; return to the one already open
699
+ when you want to preserve it. From inside Herdr, `rig terminal open <view> --window`
700
+ focuses a matching space instead of adding one. Herdr's own status for a seat can
701
+ read idle or unknown while OpenRig shows it waiting (`needs-input`), for example in
702
+ a narrow tile that wraps Claude's footer, or in a tile that shows the inner tmux
703
+ status line (with `terminal.status_bar` on, or for a seat session OpenRig
704
+ adopted rather than created). Use OpenRig's view or the Feed to find waiting
705
+ seats. This is terminal integration, not native plugin enrollment.
689
706
 
690
707
  For team views with interactive panes, the open result distinguishes the dashboard
691
708
  overview from the team's lead conversation and asks whether you can see the team.
@@ -735,6 +752,56 @@ with `rig grow` and no YAML, or optionally author a custom rig. It covers
735
752
  new-seat context/work ownership, concurrency costs and saving the expanded spec.
736
753
  This guide remains the short first-use path.
737
754
 
755
+ ## Move a seat to the other runtime
756
+
757
+ When a provider reaches its usage limit, or a seat would do better on the other
758
+ runtime, move that one seat instead of rebuilding the team. Ask your operator
759
+ agent, or run it yourself:
760
+
761
+ ```bash
762
+ rig seat set-runtime dev-review@starter --runtime claude-code --reason "Codex limit" --dry-run
763
+ rig seat set-runtime dev-review@starter --runtime claude-code --reason "Codex limit"
764
+ ```
765
+
766
+ The dry run shows the target's settings and where each comes from (an explicit
767
+ option, the seat's agent spec for the target runtime, or the runtime's own
768
+ default), what is cleared, and the costs below. Nothing changes until you run it
769
+ without `--dry-run`.
770
+
771
+ The new runtime takes over before the old one stops. Its successor starts beside
772
+ the current occupant, reads a handover (the seat's recap, its open rows and the
773
+ predecessor's screen), and confirms it with `rig seat set-runtime <seat>
774
+ --confirm <switch-id> --note "<what it will do first>"`. Only then does the seat
775
+ move: same address, connections and queue rows, with in-progress claims moved
776
+ to the successor. If the successor doesn't confirm within 180 seconds
777
+ (`--confirm-timeout`), nothing changes and the current occupant keeps the seat.
778
+ A seat can switch itself. `rig seat status <seat>` shows an open or interrupted
779
+ switch, and `rig seat set-runtime <seat> --recover` finishes one from its record.
780
+
781
+ What it costs:
782
+
783
+ - **A new conversation.** Native history isn't converted; only the handover
784
+ carries over.
785
+ - **The same address, a different terminal.** The seat's pane and scrollback
786
+ change.
787
+ - **The team file isn't rewritten.** The database and `rig export` show the new
788
+ runtime; the YAML you imported keeps the old one, so a later converge against
789
+ it reports a deferred `change_runtime`. Export the rig, or edit the member's
790
+ `runtime:`, to keep them in step.
791
+ - **Source settings are cleared, not mapped.** The model, effort, Codex profile
792
+ and an explicit native permission choice don't carry over, and neither does a
793
+ model or effort the agent spec declares for the source runtime. Member and rig
794
+ permission policy are kept.
795
+ - **Two processes until cutover.** The successor runs on the target's account
796
+ while the switch is open.
797
+ - **Messages are held during the switch.** A `rig send` to the seat while it
798
+ switches isn't typed; it says the seat is switching and until when. Send it
799
+ again afterwards to reach whoever holds the seat.
800
+ - **Leftover files after a failed switch.** The target runtime's prepared seat
801
+ storage and projections can remain.
802
+ - **Codex and Claude Code, single-pane seats.** Startup slash commands aren't
803
+ run by a switch; the dry run lists them.
804
+
738
805
  ## Stop your teams
739
806
 
740
807
  `rig down <rig-name>` ends that rig's agent sessions and work in progress.
@@ -1058,6 +1125,10 @@ absolute working directory, then uses that exact path for discovery and launch.
1058
1125
  It does not use interactive shell aliases or a shell's modified PATH. Relative
1059
1126
  PATH entries and a relative `CLAUDE_CONFIG_DIR` resolve from the seat directory.
1060
1127
 
1128
+ In `plan` mode Claude Code answers with Sonnet when the seat's model is the alias
1129
+ `haiku` (a full Haiku model id, set with `rig seat set-model`, keeps Haiku), and the
1130
+ launch result and `rig seat status` say so for that pairing.
1131
+
1061
1132
  For these explicit native modes, fresh, resume, fork and legacy restore use the
1062
1133
  same managed environment: PATH, HOME, `CLAUDE_CONFIG_DIR` (default HOME/.claude)
1063
1134
  and the configured classic-renderer setting. Other shell customizations are
@@ -1182,6 +1253,9 @@ using the selected database. To stop before opening that database instead, run
1182
1253
  `rig config set daemon.db_conflict stop` (set it to `warn` for the default).
1183
1254
  The check requires an open-file holder, a matching `daemon.json`, and a listener
1184
1255
  reporting the same PID; missing or inconclusive evidence does not stop startup.
1256
+ When the check can't run (`lsof` is missing, fails or times out, or a recorded daemon's
1257
+ listener doesn't answer), startup warns that ownership is unknown rather than reporting
1258
+ no conflict, in either setting.
1185
1259
  Selecting a database outside `OPENRIG_HOME` alone only warns; a confirmed live-daemon
1186
1260
  conflict there still stops when `daemon.db_conflict` is `stop`.
1187
1261
 
@@ -390,6 +390,19 @@ ID reads retain them while the source can still project them. A recurrence after
390
390
  clear receives a new episode ID. This is an on-demand projection, not a history
391
391
  store; a detail 404 does not prove resolution.
392
392
 
393
+ In the TUI, the instance Table and the rig/pod Table and Overview load canonical
394
+ findings for their health summaries. These summaries previously could show `Not assessed`
395
+ even when the daemon served findings because they did not request the projection.
396
+ Once the topology drill is resolved, these pages use the existing bounded
397
+ `GET /api/health?limit=200` read; pod summaries continue to cover their rig.
398
+ Other topology views using focused reads keep this projection lazy; the Health
399
+ tab requests it explicitly.
400
+ This findings read is separate from the control-plane `GET /healthz` read.
401
+
402
+ If `GET /api/health?limit=200` fails, including HTTP 503, the summary shows
403
+ `Unknown · Unavailable`. A projection that was not requested remains
404
+ `Unknown · Not assessed`, and a loaded empty result is not a healthy verdict.
405
+
393
406
  Lists default to 100 and cap at 200, with `total` and `truncated` explicit.
394
407
  Ceremony findings take precedence before the cap so context pressure cannot
395
408
  hide the primary signal. Narrow a truncated query; do not certify the unseen