@songsid/agend 2.4.0-beta.3 → 2.4.0-beta.31

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 (2016) hide show
  1. package/README.md +11 -1
  2. package/README.zh-TW.md +11 -1
  3. package/dist/accounts-profiles.d.ts +1 -1
  4. package/dist/accounts-view.d.ts +32 -0
  5. package/dist/accounts-view.js +2 -14
  6. package/dist/accounts-view.js.map +1 -1
  7. package/dist/agend-home.js +5 -5
  8. package/dist/agend-home.js.map +1 -1
  9. package/dist/agent-cli-instructions.md +19 -7
  10. package/dist/agent-cli.js +199 -51
  11. package/dist/agent-cli.js.map +1 -1
  12. package/dist/agent-endpoint.d.ts +5 -1
  13. package/dist/agent-endpoint.js +62 -11
  14. package/dist/agent-endpoint.js.map +1 -1
  15. package/dist/agent-export.d.ts +3 -1
  16. package/dist/agent-export.js +18 -1
  17. package/dist/agent-export.js.map +1 -1
  18. package/dist/agent-file-read.js +3 -3
  19. package/dist/agent-file-read.js.map +1 -1
  20. package/dist/agent-whats-new.js +35 -0
  21. package/dist/agent-whats-new.js.map +1 -1
  22. package/dist/agent-workspace.d.ts +18 -2
  23. package/dist/agent-workspace.js +15 -4
  24. package/dist/agent-workspace.js.map +1 -1
  25. package/dist/app-message-origin.d.ts +2 -0
  26. package/dist/app-message-origin.js +3 -0
  27. package/dist/app-message-origin.js.map +1 -0
  28. package/dist/apply-job.d.ts +2 -2
  29. package/dist/auth-api.d.ts +12 -0
  30. package/dist/auth-api.js +87 -5
  31. package/dist/auth-api.js.map +1 -1
  32. package/dist/authority/authority-state.d.ts +7 -0
  33. package/dist/authority/authority-state.js +17 -2
  34. package/dist/authority/authority-state.js.map +1 -1
  35. package/dist/authority/web-authority.d.ts +28 -4
  36. package/dist/authority/web-authority.js +67 -4
  37. package/dist/authority/web-authority.js.map +1 -1
  38. package/dist/backend/agy-model-switch.d.ts +22 -0
  39. package/dist/backend/agy-model-switch.js +62 -0
  40. package/dist/backend/agy-model-switch.js.map +1 -0
  41. package/dist/backend/antigravity.d.ts +9 -2
  42. package/dist/backend/antigravity.js +121 -13
  43. package/dist/backend/antigravity.js.map +1 -1
  44. package/dist/backend/claude-carry.d.ts +11 -0
  45. package/dist/backend/claude-carry.js +88 -6
  46. package/dist/backend/claude-carry.js.map +1 -1
  47. package/dist/backend/claude-code.d.ts +39 -7
  48. package/dist/backend/claude-code.js +234 -32
  49. package/dist/backend/claude-code.js.map +1 -1
  50. package/dist/backend/claude-mcp-carry.d.ts +63 -0
  51. package/dist/backend/claude-mcp-carry.js +242 -0
  52. package/dist/backend/claude-mcp-carry.js.map +1 -0
  53. package/dist/backend/claude-transcript-errors.d.ts +4 -0
  54. package/dist/backend/claude-transcript-errors.js +5 -1
  55. package/dist/backend/claude-transcript-errors.js.map +1 -1
  56. package/dist/backend/claude-usage-credits.d.ts +8 -0
  57. package/dist/backend/claude-usage-credits.js +121 -0
  58. package/dist/backend/claude-usage-credits.js.map +1 -0
  59. package/dist/backend/cli-env-probe.js +1 -1
  60. package/dist/backend/cli-env-probe.js.map +1 -1
  61. package/dist/backend/cli-runtime-switch.d.ts +90 -0
  62. package/dist/backend/cli-runtime-switch.js +273 -0
  63. package/dist/backend/cli-runtime-switch.js.map +1 -0
  64. package/dist/backend/codex-footer-hints.d.ts +1 -0
  65. package/dist/backend/codex-footer-hints.js +15 -0
  66. package/dist/backend/codex-footer-hints.js.map +1 -1
  67. package/dist/backend/codex-model-switch.d.ts +41 -0
  68. package/dist/backend/codex-model-switch.js +170 -0
  69. package/dist/backend/codex-model-switch.js.map +1 -0
  70. package/dist/backend/codex-precaution.d.ts +7 -0
  71. package/dist/backend/codex-precaution.js +103 -0
  72. package/dist/backend/codex-precaution.js.map +1 -0
  73. package/dist/backend/codex.d.ts +7 -4
  74. package/dist/backend/codex.js +56 -10
  75. package/dist/backend/codex.js.map +1 -1
  76. package/dist/backend/grok-model-switch.d.ts +16 -0
  77. package/dist/backend/grok-model-switch.js +45 -0
  78. package/dist/backend/grok-model-switch.js.map +1 -0
  79. package/dist/backend/grok.js +33 -7
  80. package/dist/backend/grok.js.map +1 -1
  81. package/dist/backend/kiro-auth-store.d.ts +15 -2
  82. package/dist/backend/kiro-auth-store.js +64 -0
  83. package/dist/backend/kiro-auth-store.js.map +1 -1
  84. package/dist/backend/kiro.js +10 -5
  85. package/dist/backend/kiro.js.map +1 -1
  86. package/dist/backend/muse.d.ts +2 -0
  87. package/dist/backend/muse.js +7 -3
  88. package/dist/backend/muse.js.map +1 -1
  89. package/dist/backend/native-pane.js +1 -1
  90. package/dist/backend/native-pane.js.map +1 -1
  91. package/dist/backend/types.d.ts +59 -2
  92. package/dist/backend/types.js.map +1 -1
  93. package/dist/backend-availability.d.ts +23 -16
  94. package/dist/backend-availability.js +73 -93
  95. package/dist/backend-availability.js.map +1 -1
  96. package/dist/backend-command.d.ts +4 -2
  97. package/dist/backend-command.js +3 -0
  98. package/dist/backend-command.js.map +1 -1
  99. package/dist/backend-signin-guide.js +1 -1
  100. package/dist/backend-signin-guide.js.map +1 -1
  101. package/dist/backend-version-static.d.ts +15 -0
  102. package/dist/backend-version-static.js +95 -0
  103. package/dist/backend-version-static.js.map +1 -0
  104. package/dist/browser-backend-signins.d.ts +1 -0
  105. package/dist/browser-backend-signins.js +3 -1
  106. package/dist/browser-backend-signins.js.map +1 -1
  107. package/dist/build-provenance.json +1 -1
  108. package/dist/cache-ledger.d.ts +23 -21
  109. package/dist/cache-ledger.js +70 -6
  110. package/dist/cache-ledger.js.map +1 -1
  111. package/dist/cache-prices.d.ts +8 -6
  112. package/dist/cache-prices.js +12 -5
  113. package/dist/cache-prices.js.map +1 -1
  114. package/dist/cache-service.d.ts +9 -5
  115. package/dist/cache-service.js +202 -50
  116. package/dist/cache-service.js.map +1 -1
  117. package/dist/channel/adapters/discord.d.ts +23 -1
  118. package/dist/channel/adapters/discord.js +97 -26
  119. package/dist/channel/adapters/discord.js.map +1 -1
  120. package/dist/channel/adapters/telegram.d.ts +2 -0
  121. package/dist/channel/adapters/telegram.js +9 -4
  122. package/dist/channel/adapters/telegram.js.map +1 -1
  123. package/dist/channel/ipc-bridge.d.ts +7 -0
  124. package/dist/channel/ipc-bridge.js +45 -11
  125. package/dist/channel/ipc-bridge.js.map +1 -1
  126. package/dist/channel/mcp-server.js +39 -5
  127. package/dist/channel/mcp-server.js.map +1 -1
  128. package/dist/channel/mcp-tools.d.ts +27 -1
  129. package/dist/channel/mcp-tools.js +107 -14
  130. package/dist/channel/mcp-tools.js.map +1 -1
  131. package/dist/channel/tool-router.d.ts +4 -0
  132. package/dist/channel/tool-router.js +51 -19
  133. package/dist/channel/tool-router.js.map +1 -1
  134. package/dist/channel/types.d.ts +10 -0
  135. package/dist/chat-task-refs.d.ts +61 -0
  136. package/dist/chat-task-refs.js +112 -0
  137. package/dist/chat-task-refs.js.map +1 -0
  138. package/dist/classic-channel-manager.d.ts +6 -2
  139. package/dist/classic-channel-manager.js +29 -4
  140. package/dist/classic-channel-manager.js.map +1 -1
  141. package/dist/classic-cli-guard.d.ts +66 -0
  142. package/dist/classic-cli-guard.js +209 -0
  143. package/dist/classic-cli-guard.js.map +1 -0
  144. package/dist/claude-credential-change.d.ts +22 -0
  145. package/dist/claude-credential-change.js +47 -0
  146. package/dist/claude-credential-change.js.map +1 -0
  147. package/dist/claude-credential-launch.d.ts +69 -0
  148. package/dist/claude-credential-launch.js +328 -0
  149. package/dist/claude-credential-launch.js.map +1 -0
  150. package/dist/claude-credential-runner.d.ts +1 -0
  151. package/dist/claude-credential-runner.js +58 -0
  152. package/dist/claude-credential-runner.js.map +1 -0
  153. package/dist/claude-credential-vault.d.ts +57 -0
  154. package/dist/claude-credential-vault.js +277 -0
  155. package/dist/claude-credential-vault.js.map +1 -0
  156. package/dist/claude-install-kind.d.ts +19 -0
  157. package/dist/claude-install-kind.js +54 -0
  158. package/dist/claude-install-kind.js.map +1 -0
  159. package/dist/claude-request-observation.d.ts +7 -0
  160. package/dist/claude-request-observation.js +26 -0
  161. package/dist/claude-request-observation.js.map +1 -0
  162. package/dist/claude-setup-token-transport.d.ts +9 -0
  163. package/dist/claude-setup-token-transport.js +104 -0
  164. package/dist/claude-setup-token-transport.js.map +1 -0
  165. package/dist/claude-setup-token.d.ts +51 -0
  166. package/dist/claude-setup-token.js +83 -0
  167. package/dist/claude-setup-token.js.map +1 -0
  168. package/dist/claude-turn-boundaries.d.ts +15 -0
  169. package/dist/claude-turn-boundaries.js +88 -0
  170. package/dist/claude-turn-boundaries.js.map +1 -0
  171. package/dist/cli-audited.js +30 -17
  172. package/dist/cli-audited.js.map +1 -1
  173. package/dist/cli-capability.d.ts +3 -0
  174. package/dist/cli-capability.js.map +1 -1
  175. package/dist/cli-registry-check.js +1 -1
  176. package/dist/cli-registry-check.js.map +1 -1
  177. package/dist/cli-registry.d.ts +1 -0
  178. package/dist/cli-spec-antigravity.d.ts +1 -0
  179. package/dist/cli-spec-antigravity.js +3 -1
  180. package/dist/cli-spec-antigravity.js.map +1 -1
  181. package/dist/cli.js +231 -24
  182. package/dist/cli.js.map +1 -1
  183. package/dist/command-report.d.ts +11 -0
  184. package/dist/command-report.js +2 -0
  185. package/dist/command-report.js.map +1 -0
  186. package/dist/composite-tools.d.ts +11 -0
  187. package/dist/composite-tools.js +29 -0
  188. package/dist/composite-tools.js.map +1 -0
  189. package/dist/config-validator.js +69 -3
  190. package/dist/config-validator.js.map +1 -1
  191. package/dist/config.js +17 -2
  192. package/dist/config.js.map +1 -1
  193. package/dist/connect/control.d.ts +20 -0
  194. package/dist/connect/control.js +236 -0
  195. package/dist/connect/control.js.map +1 -0
  196. package/dist/connect/install.d.ts +13 -0
  197. package/dist/connect/install.js +12 -0
  198. package/dist/connect/install.js.map +1 -0
  199. package/dist/connect/mcp.d.ts +9 -0
  200. package/dist/connect/mcp.js +10 -0
  201. package/dist/connect/mcp.js.map +1 -0
  202. package/dist/connect/protocol.d.ts +38 -0
  203. package/dist/connect/protocol.js +36 -0
  204. package/dist/connect/protocol.js.map +1 -0
  205. package/dist/connect/service.d.ts +19 -0
  206. package/dist/connect/service.js +79 -0
  207. package/dist/connect/service.js.map +1 -0
  208. package/dist/connect/stdio-entry.d.ts +1 -0
  209. package/dist/connect/stdio-entry.js +6 -0
  210. package/dist/connect/stdio-entry.js.map +1 -0
  211. package/dist/connect/stdio.d.ts +5 -0
  212. package/dist/connect/stdio.js +33 -0
  213. package/dist/connect/stdio.js.map +1 -0
  214. package/dist/contact-auth-api.d.ts +17 -0
  215. package/dist/contact-auth-api.js +90 -0
  216. package/dist/contact-auth-api.js.map +1 -0
  217. package/dist/contact-auth-files.d.ts +6 -0
  218. package/dist/contact-auth-files.js +29 -0
  219. package/dist/contact-auth-files.js.map +1 -0
  220. package/dist/contact-auth-policy.d.ts +81 -0
  221. package/dist/contact-auth-policy.js +26 -0
  222. package/dist/contact-auth-policy.js.map +1 -0
  223. package/dist/contact-auth-service.d.ts +32 -0
  224. package/dist/contact-auth-service.js +110 -0
  225. package/dist/contact-auth-service.js.map +1 -0
  226. package/dist/contact-auth-store.d.ts +149 -0
  227. package/dist/contact-auth-store.js +573 -0
  228. package/dist/contact-auth-store.js.map +1 -0
  229. package/dist/contact-auth-types.d.ts +202 -0
  230. package/dist/contact-auth-types.js +7 -0
  231. package/dist/contact-auth-types.js.map +1 -0
  232. package/dist/contact-change-proposals.d.ts +98 -0
  233. package/dist/contact-change-proposals.js +166 -0
  234. package/dist/contact-change-proposals.js.map +1 -0
  235. package/dist/contact-state-view.d.ts +103 -0
  236. package/dist/contact-state-view.js +80 -0
  237. package/dist/contact-state-view.js.map +1 -0
  238. package/dist/cross-instance-notice.d.ts +1 -0
  239. package/dist/cross-instance-notice.js +9 -8
  240. package/dist/cross-instance-notice.js.map +1 -1
  241. package/dist/daemon.d.ts +249 -3
  242. package/dist/daemon.js +1730 -181
  243. package/dist/daemon.js.map +1 -1
  244. package/dist/darwin-memory.js +2 -1
  245. package/dist/darwin-memory.js.map +1 -1
  246. package/dist/dashboard-permissions.d.ts +23 -8
  247. package/dist/dashboard-permissions.js +33 -10
  248. package/dist/dashboard-permissions.js.map +1 -1
  249. package/dist/delivery-consumed-watch.js +3 -0
  250. package/dist/delivery-consumed-watch.js.map +1 -1
  251. package/dist/delivery-outbox.d.ts +213 -10
  252. package/dist/delivery-outbox.js +664 -49
  253. package/dist/delivery-outbox.js.map +1 -1
  254. package/dist/delivery-outbox.test.js +132 -96
  255. package/dist/delivery-outbox.test.js.map +1 -1
  256. package/dist/detached-fleet-stop.d.ts +40 -0
  257. package/dist/detached-fleet-stop.js +126 -0
  258. package/dist/detached-fleet-stop.js.map +1 -0
  259. package/dist/dispatcher-liveness.d.ts +51 -1
  260. package/dist/dispatcher-liveness.js +94 -4
  261. package/dist/dispatcher-liveness.js.map +1 -1
  262. package/dist/event-log.d.ts +12 -0
  263. package/dist/event-log.js +40 -0
  264. package/dist/event-log.js.map +1 -1
  265. package/dist/fleet-context.d.ts +9 -0
  266. package/dist/fleet-level-config.d.ts +1 -1
  267. package/dist/fleet-level-config.js +1 -0
  268. package/dist/fleet-level-config.js.map +1 -1
  269. package/dist/fleet-lock.d.ts +88 -2
  270. package/dist/fleet-lock.js +296 -3
  271. package/dist/fleet-lock.js.map +1 -1
  272. package/dist/fleet-manager.d.ts +1399 -29
  273. package/dist/fleet-manager.js +8192 -619
  274. package/dist/fleet-manager.js.map +1 -1
  275. package/dist/fleet-windows-runtime.d.ts +59 -4
  276. package/dist/fleet-windows-runtime.js +307 -40
  277. package/dist/fleet-windows-runtime.js.map +1 -1
  278. package/dist/fleet-yaml-stringify.d.ts +3 -0
  279. package/dist/fleet-yaml-stringify.js +132 -0
  280. package/dist/fleet-yaml-stringify.js.map +1 -0
  281. package/dist/general-knowledge/skills/admin/SKILL.md +52 -0
  282. package/dist/general-knowledge/skills/concepts/SKILL.md +106 -23
  283. package/dist/general-knowledge/skills/credential-profiles/SKILL.md +19 -1
  284. package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +68 -1
  285. package/dist/general-knowledge/skills/fleet-config/SKILL.md +24 -4
  286. package/dist/general-knowledge/skills/fleet-health/SKILL.md +9 -1
  287. package/dist/general-knowledge/skills/hub/SKILL.md +393 -27
  288. package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +6 -2
  289. package/dist/general-knowledge/skills/model-discovery/SKILL.md +7 -2
  290. package/dist/general-knowledge/skills/persona-emoji/SKILL.md +3 -0
  291. package/dist/general-knowledge/skills/task-board/SKILL.md +98 -0
  292. package/dist/general-knowledge/skills/web-appearance/SKILL.md +35 -3
  293. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +391 -70
  294. package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +7 -1
  295. package/dist/general-knowledge/steering/core-rules.md +15 -78
  296. package/dist/general-role-block.d.ts +19 -0
  297. package/dist/general-role-block.js +56 -0
  298. package/dist/general-role-block.js.map +1 -0
  299. package/dist/general-role.d.ts +1 -1
  300. package/dist/general-role.js +2 -0
  301. package/dist/general-role.js.map +1 -1
  302. package/dist/home-update-lock.d.ts +35 -0
  303. package/dist/home-update-lock.js +81 -0
  304. package/dist/home-update-lock.js.map +1 -0
  305. package/dist/host-memory.d.ts +24 -1
  306. package/dist/host-memory.js +30 -4
  307. package/dist/host-memory.js.map +1 -1
  308. package/dist/host-monitoring/darwin/collector.d.ts +18 -0
  309. package/dist/host-monitoring/darwin/collector.js +65 -0
  310. package/dist/host-monitoring/darwin/collector.js.map +1 -0
  311. package/dist/host-monitoring/darwin/defaults.d.ts +2 -0
  312. package/dist/host-monitoring/darwin/defaults.js +9 -0
  313. package/dist/host-monitoring/darwin/defaults.js.map +1 -0
  314. package/dist/host-monitoring/darwin/interpretation.d.ts +20 -0
  315. package/dist/host-monitoring/darwin/interpretation.js +73 -0
  316. package/dist/host-monitoring/darwin/interpretation.js.map +1 -0
  317. package/dist/host-monitoring/linux/collector.d.ts +17 -0
  318. package/dist/host-monitoring/linux/collector.js +55 -0
  319. package/dist/host-monitoring/linux/collector.js.map +1 -0
  320. package/dist/host-monitoring/linux/defaults.d.ts +2 -0
  321. package/dist/host-monitoring/linux/defaults.js +9 -0
  322. package/dist/host-monitoring/linux/defaults.js.map +1 -0
  323. package/dist/host-monitoring/linux/interpretation.d.ts +22 -0
  324. package/dist/host-monitoring/linux/interpretation.js +76 -0
  325. package/dist/host-monitoring/linux/interpretation.js.map +1 -0
  326. package/dist/host-monitoring/transport.d.ts +42 -0
  327. package/dist/host-monitoring/transport.js +101 -0
  328. package/dist/host-monitoring/transport.js.map +1 -0
  329. package/dist/host-monitoring/wsl/collector.d.ts +19 -0
  330. package/dist/host-monitoring/wsl/collector.js +72 -0
  331. package/dist/host-monitoring/wsl/collector.js.map +1 -0
  332. package/dist/host-monitoring/wsl/defaults.d.ts +2 -0
  333. package/dist/host-monitoring/wsl/defaults.js +9 -0
  334. package/dist/host-monitoring/wsl/defaults.js.map +1 -0
  335. package/dist/host-monitoring/wsl/interpretation.d.ts +22 -0
  336. package/dist/host-monitoring/wsl/interpretation.js +77 -0
  337. package/dist/host-monitoring/wsl/interpretation.js.map +1 -0
  338. package/dist/host-monitoring-alert-policy.d.ts +73 -0
  339. package/dist/host-monitoring-alert-policy.js +152 -0
  340. package/dist/host-monitoring-alert-policy.js.map +1 -0
  341. package/dist/host-monitoring-alert-resources.d.ts +11 -0
  342. package/dist/host-monitoring-alert-resources.js +16 -0
  343. package/dist/host-monitoring-alert-resources.js.map +1 -0
  344. package/dist/host-monitoring-alert-settings.d.ts +16 -0
  345. package/dist/host-monitoring-alert-settings.js +68 -0
  346. package/dist/host-monitoring-alert-settings.js.map +1 -0
  347. package/dist/host-monitoring-alert-store.d.ts +49 -0
  348. package/dist/host-monitoring-alert-store.js +228 -0
  349. package/dist/host-monitoring-alert-store.js.map +1 -0
  350. package/dist/host-monitoring-alert-text.d.ts +7 -0
  351. package/dist/host-monitoring-alert-text.js +10 -0
  352. package/dist/host-monitoring-alert-text.js.map +1 -0
  353. package/dist/host-monitoring-alerts.d.ts +79 -0
  354. package/dist/host-monitoring-alerts.js +276 -0
  355. package/dist/host-monitoring-alerts.js.map +1 -0
  356. package/dist/host-monitoring-config.d.ts +15 -0
  357. package/dist/host-monitoring-config.js +36 -0
  358. package/dist/host-monitoring-config.js.map +1 -0
  359. package/dist/host-monitoring-defaults.d.ts +19 -0
  360. package/dist/host-monitoring-defaults.js +10 -0
  361. package/dist/host-monitoring-defaults.js.map +1 -0
  362. package/dist/host-monitoring-footprint-policy.d.ts +45 -0
  363. package/dist/host-monitoring-footprint-policy.js +150 -0
  364. package/dist/host-monitoring-footprint-policy.js.map +1 -0
  365. package/dist/host-monitoring-footprint.d.ts +42 -0
  366. package/dist/host-monitoring-footprint.js +169 -0
  367. package/dist/host-monitoring-footprint.js.map +1 -0
  368. package/dist/host-monitoring-history-files.d.ts +2 -0
  369. package/dist/host-monitoring-history-files.js +16 -0
  370. package/dist/host-monitoring-history-files.js.map +1 -0
  371. package/dist/host-monitoring-history-policy.d.ts +57 -0
  372. package/dist/host-monitoring-history-policy.js +107 -0
  373. package/dist/host-monitoring-history-policy.js.map +1 -0
  374. package/dist/host-monitoring-history-store.d.ts +52 -0
  375. package/dist/host-monitoring-history-store.js +178 -0
  376. package/dist/host-monitoring-history-store.js.map +1 -0
  377. package/dist/host-monitoring-history-worker.d.ts +1 -0
  378. package/dist/host-monitoring-history-worker.js +66 -0
  379. package/dist/host-monitoring-history-worker.js.map +1 -0
  380. package/dist/host-monitoring-history.d.ts +80 -0
  381. package/dist/host-monitoring-history.js +301 -0
  382. package/dist/host-monitoring-history.js.map +1 -0
  383. package/dist/host-monitoring-platform.d.ts +21 -0
  384. package/dist/host-monitoring-platform.js +18 -0
  385. package/dist/host-monitoring-platform.js.map +1 -0
  386. package/dist/host-monitoring-process-identity.d.ts +8 -0
  387. package/dist/host-monitoring-process-identity.js +81 -0
  388. package/dist/host-monitoring-process-identity.js.map +1 -0
  389. package/dist/host-monitoring-runtime.d.ts +42 -0
  390. package/dist/host-monitoring-runtime.js +95 -0
  391. package/dist/host-monitoring-runtime.js.map +1 -0
  392. package/dist/host-monitoring-settings-store.d.ts +5 -0
  393. package/dist/host-monitoring-settings-store.js +49 -0
  394. package/dist/host-monitoring-settings-store.js.map +1 -0
  395. package/dist/host-monitoring.d.ts +123 -0
  396. package/dist/host-monitoring.js +157 -0
  397. package/dist/host-monitoring.js.map +1 -0
  398. package/dist/hub/admin-dashboard.d.ts +85 -0
  399. package/dist/hub/admin-dashboard.js +177 -0
  400. package/dist/hub/admin-dashboard.js.map +1 -0
  401. package/dist/hub/admission.d.ts +2 -0
  402. package/dist/hub/admission.js +13 -0
  403. package/dist/hub/admission.js.map +1 -1
  404. package/dist/hub/agent-catalog-model.d.ts +297 -0
  405. package/dist/hub/agent-catalog-model.js +57 -0
  406. package/dist/hub/agent-catalog-model.js.map +1 -0
  407. package/dist/hub/agent-catalog.d.ts +140 -0
  408. package/dist/hub/agent-catalog.js +130 -0
  409. package/dist/hub/agent-catalog.js.map +1 -0
  410. package/dist/hub/agent-intro-model.d.ts +38 -0
  411. package/dist/hub/agent-intro-model.js +14 -0
  412. package/dist/hub/agent-intro-model.js.map +1 -0
  413. package/dist/hub/agent-intro-tool.d.ts +35 -0
  414. package/dist/hub/agent-intro-tool.js +83 -0
  415. package/dist/hub/agent-intro-tool.js.map +1 -0
  416. package/dist/hub/agent-intro.d.ts +31 -0
  417. package/dist/hub/agent-intro.js +51 -0
  418. package/dist/hub/agent-intro.js.map +1 -0
  419. package/dist/hub/agent-pictures-model.d.ts +275 -0
  420. package/dist/hub/agent-pictures-model.js +103 -0
  421. package/dist/hub/agent-pictures-model.js.map +1 -0
  422. package/dist/hub/agent-pictures.d.ts +64 -0
  423. package/dist/hub/agent-pictures.js +256 -0
  424. package/dist/hub/agent-pictures.js.map +1 -0
  425. package/dist/hub/attachments/store.d.ts +2 -0
  426. package/dist/hub/attachments/store.js +6 -0
  427. package/dist/hub/attachments/store.js.map +1 -1
  428. package/dist/hub/audit/index.d.ts +5 -1
  429. package/dist/hub/audit/index.js +43 -3
  430. package/dist/hub/audit/index.js.map +1 -1
  431. package/dist/hub/buttons.js +3 -1
  432. package/dist/hub/buttons.js.map +1 -1
  433. package/dist/hub/catalog.d.ts +19 -6
  434. package/dist/hub/catalog.js +102 -27
  435. package/dist/hub/catalog.js.map +1 -1
  436. package/dist/hub/client.d.ts +30 -0
  437. package/dist/hub/client.js +293 -14
  438. package/dist/hub/client.js.map +1 -1
  439. package/dist/hub/compose/member.d.ts +67 -9
  440. package/dist/hub/compose/member.js +423 -36
  441. package/dist/hub/compose/member.js.map +1 -1
  442. package/dist/hub/compose/server.d.ts +30 -5
  443. package/dist/hub/compose/server.js +140 -20
  444. package/dist/hub/compose/server.js.map +1 -1
  445. package/dist/hub/direct-posts-model.d.ts +1 -0
  446. package/dist/hub/direct-posts-model.js +2 -0
  447. package/dist/hub/direct-posts-model.js.map +1 -0
  448. package/dist/hub/direct-posts.d.ts +36 -0
  449. package/dist/hub/direct-posts.js +145 -0
  450. package/dist/hub/direct-posts.js.map +1 -0
  451. package/dist/hub/directory/directory.js +27 -7
  452. package/dist/hub/directory/directory.js.map +1 -1
  453. package/dist/hub/directory/types.d.ts +10 -4
  454. package/dist/hub/directory/types.js.map +1 -1
  455. package/dist/hub/display-name.d.ts +10 -0
  456. package/dist/hub/display-name.js +35 -0
  457. package/dist/hub/display-name.js.map +1 -0
  458. package/dist/hub/execution/service.d.ts +2 -1
  459. package/dist/hub/execution/service.js +2 -1
  460. package/dist/hub/execution/service.js.map +1 -1
  461. package/dist/hub/fleet-info.d.ts +12 -0
  462. package/dist/hub/fleet-info.js +14 -0
  463. package/dist/hub/fleet-info.js.map +1 -0
  464. package/dist/hub/fleet-update-model.d.ts +100 -0
  465. package/dist/hub/fleet-update-model.js +15 -0
  466. package/dist/hub/fleet-update-model.js.map +1 -0
  467. package/dist/hub/fleet-updates.d.ts +46 -0
  468. package/dist/hub/fleet-updates.js +284 -0
  469. package/dist/hub/fleet-updates.js.map +1 -0
  470. package/dist/hub/fleet-versions.d.ts +28 -0
  471. package/dist/hub/fleet-versions.js +81 -0
  472. package/dist/hub/fleet-versions.js.map +1 -0
  473. package/dist/hub/group-policy/admin-api.d.ts +1 -0
  474. package/dist/hub/group-policy/admin-api.js +10 -1
  475. package/dist/hub/group-policy/admin-api.js.map +1 -1
  476. package/dist/hub/group-policy/admin-control.d.ts +1 -0
  477. package/dist/hub/group-policy/admin-control.js +13 -4
  478. package/dist/hub/group-policy/admin-control.js.map +1 -1
  479. package/dist/hub/group-policy/admin-dto.d.ts +39 -1
  480. package/dist/hub/group-policy/admin-dto.js.map +1 -1
  481. package/dist/hub/group-policy/admin-facts.d.ts +4 -2
  482. package/dist/hub/group-policy/admin-facts.js +17 -2
  483. package/dist/hub/group-policy/admin-facts.js.map +1 -1
  484. package/dist/hub/group-policy/admin-impact.d.ts +36 -6
  485. package/dist/hub/group-policy/admin-impact.js +21 -7
  486. package/dist/hub/group-policy/admin-impact.js.map +1 -1
  487. package/dist/hub/group-policy/admin-inventory.d.ts +2 -0
  488. package/dist/hub/group-policy/admin-inventory.js +13 -4
  489. package/dist/hub/group-policy/admin-inventory.js.map +1 -1
  490. package/dist/hub/group-policy/admin-search.d.ts +2 -1
  491. package/dist/hub/group-policy/admin-search.js +56 -7
  492. package/dist/hub/group-policy/admin-search.js.map +1 -1
  493. package/dist/hub/group-policy/authorization.d.ts +2 -0
  494. package/dist/hub/group-policy/authorization.js +7 -2
  495. package/dist/hub/group-policy/authorization.js.map +1 -1
  496. package/dist/hub/group-policy/impact-inventory.d.ts +4 -1
  497. package/dist/hub/group-policy/impact-inventory.js +23 -2
  498. package/dist/hub/group-policy/impact-inventory.js.map +1 -1
  499. package/dist/hub/group-policy/model.d.ts +52 -1
  500. package/dist/hub/group-policy/model.js +20 -7
  501. package/dist/hub/group-policy/model.js.map +1 -1
  502. package/dist/hub/group-policy/resources.d.ts +2 -0
  503. package/dist/hub/group-policy/resources.js +12 -1
  504. package/dist/hub/group-policy/resources.js.map +1 -1
  505. package/dist/hub/group-policy/store.js +22 -3
  506. package/dist/hub/group-policy/store.js.map +1 -1
  507. package/dist/hub/group-policy/team-subjects.d.ts +16 -0
  508. package/dist/hub/group-policy/team-subjects.js +32 -0
  509. package/dist/hub/group-policy/team-subjects.js.map +1 -0
  510. package/dist/hub/http/compose.d.ts +17 -0
  511. package/dist/hub/http/compose.js +903 -100
  512. package/dist/hub/http/compose.js.map +1 -1
  513. package/dist/hub/http/core.d.ts +11 -1
  514. package/dist/hub/http/core.js +70 -10
  515. package/dist/hub/http/core.js.map +1 -1
  516. package/dist/hub/http/deps.d.ts +21 -0
  517. package/dist/hub/http/schema.js +54 -1
  518. package/dist/hub/http/schema.js.map +1 -1
  519. package/dist/hub/identity.d.ts +2 -0
  520. package/dist/hub/identity.js +5 -2
  521. package/dist/hub/identity.js.map +1 -1
  522. package/dist/hub/init/text.js +1 -1
  523. package/dist/hub/invitations.js +15 -7
  524. package/dist/hub/invitations.js.map +1 -1
  525. package/dist/hub/join/client.js +75 -42
  526. package/dist/hub/join/client.js.map +1 -1
  527. package/dist/hub/join/service.d.ts +9 -1
  528. package/dist/hub/join/service.js +17 -3
  529. package/dist/hub/join/service.js.map +1 -1
  530. package/dist/hub/lapse-carry.d.ts +45 -0
  531. package/dist/hub/lapse-carry.js +62 -0
  532. package/dist/hub/lapse-carry.js.map +1 -0
  533. package/dist/hub/mcp/auth-schema.d.ts +7 -0
  534. package/dist/hub/mcp/auth-schema.js +31 -0
  535. package/dist/hub/mcp/auth-schema.js.map +1 -0
  536. package/dist/hub/mcp/auth.d.ts +89 -0
  537. package/dist/hub/mcp/auth.js +374 -0
  538. package/dist/hub/mcp/auth.js.map +1 -0
  539. package/dist/hub/mcp/catalog.d.ts +44 -0
  540. package/dist/hub/mcp/catalog.js +31 -0
  541. package/dist/hub/mcp/catalog.js.map +1 -0
  542. package/dist/hub/mcp/door-schema.d.ts +7 -0
  543. package/dist/hub/mcp/door-schema.js +20 -0
  544. package/dist/hub/mcp/door-schema.js.map +1 -0
  545. package/dist/hub/mcp/http.d.ts +25 -0
  546. package/dist/hub/mcp/http.js +259 -0
  547. package/dist/hub/mcp/http.js.map +1 -0
  548. package/dist/hub/mcp/policy.d.ts +65 -0
  549. package/dist/hub/mcp/policy.js +153 -0
  550. package/dist/hub/mcp/policy.js.map +1 -0
  551. package/dist/hub/mcp/server.d.ts +3 -0
  552. package/dist/hub/mcp/server.js +32 -0
  553. package/dist/hub/mcp/server.js.map +1 -0
  554. package/dist/hub/mcp/tools.d.ts +31 -0
  555. package/dist/hub/mcp/tools.js +177 -0
  556. package/dist/hub/mcp/tools.js.map +1 -0
  557. package/dist/hub/member/agent-catalog.d.ts +31 -0
  558. package/dist/hub/member/agent-catalog.js +91 -0
  559. package/dist/hub/member/agent-catalog.js.map +1 -0
  560. package/dist/hub/member/agent-intro.d.ts +29 -0
  561. package/dist/hub/member/agent-intro.js +73 -0
  562. package/dist/hub/member/agent-intro.js.map +1 -0
  563. package/dist/hub/member/agent-pictures.d.ts +76 -0
  564. package/dist/hub/member/agent-pictures.js +196 -0
  565. package/dist/hub/member/agent-pictures.js.map +1 -0
  566. package/dist/hub/member/direct-rooms.d.ts +9 -0
  567. package/dist/hub/member/direct-rooms.js +14 -0
  568. package/dist/hub/member/direct-rooms.js.map +1 -0
  569. package/dist/hub/member/display-name.d.ts +9 -0
  570. package/dist/hub/member/display-name.js +71 -0
  571. package/dist/hub/member/display-name.js.map +1 -0
  572. package/dist/hub/member/exposure-api.d.ts +11 -3
  573. package/dist/hub/member/exposure-api.js +24 -10
  574. package/dist/hub/member/exposure-api.js.map +1 -1
  575. package/dist/hub/member/exposures.d.ts +16 -4
  576. package/dist/hub/member/exposures.js +47 -13
  577. package/dist/hub/member/exposures.js.map +1 -1
  578. package/dist/hub/member/pairing-api.js +3 -2
  579. package/dist/hub/member/pairing-api.js.map +1 -1
  580. package/dist/hub/member/recommendations.d.ts +37 -0
  581. package/dist/hub/member/recommendations.js +129 -0
  582. package/dist/hub/member/recommendations.js.map +1 -0
  583. package/dist/hub/member/room-ask.d.ts +104 -6
  584. package/dist/hub/member/room-ask.js +505 -34
  585. package/dist/hub/member/room-ask.js.map +1 -1
  586. package/dist/hub/member/room-asker-store.d.ts +48 -0
  587. package/dist/hub/member/room-asker-store.js +181 -0
  588. package/dist/hub/member/room-asker-store.js.map +1 -0
  589. package/dist/hub/member/room-context-budget.d.ts +5 -0
  590. package/dist/hub/member/room-context-budget.js +34 -0
  591. package/dist/hub/member/room-context-budget.js.map +1 -0
  592. package/dist/hub/member/room-mention-feedback.d.ts +46 -0
  593. package/dist/hub/member/room-mention-feedback.js +121 -0
  594. package/dist/hub/member/room-mention-feedback.js.map +1 -0
  595. package/dist/hub/member/room-notification.d.ts +9 -0
  596. package/dist/hub/member/room-notification.js +2 -0
  597. package/dist/hub/member/room-notification.js.map +1 -0
  598. package/dist/hub/member/room-post-answers.d.ts +48 -0
  599. package/dist/hub/member/room-post-answers.js +152 -0
  600. package/dist/hub/member/room-post-answers.js.map +1 -0
  601. package/dist/hub/member/room-post-receipt.d.ts +21 -0
  602. package/dist/hub/member/room-post-receipt.js +49 -0
  603. package/dist/hub/member/room-post-receipt.js.map +1 -0
  604. package/dist/hub/member/room-post.d.ts +144 -0
  605. package/dist/hub/member/room-post.js +339 -0
  606. package/dist/hub/member/room-post.js.map +1 -0
  607. package/dist/hub/member/room-reaction-acks.d.ts +12 -0
  608. package/dist/hub/member/room-reaction-acks.js +44 -0
  609. package/dist/hub/member/room-reaction-acks.js.map +1 -0
  610. package/dist/hub/member/sharing-journal.d.ts +252 -0
  611. package/dist/hub/member/sharing-journal.js +212 -0
  612. package/dist/hub/member/sharing-journal.js.map +1 -0
  613. package/dist/hub/member/sharing-link.d.ts +25 -0
  614. package/dist/hub/member/sharing-link.js +68 -0
  615. package/dist/hub/member/sharing-link.js.map +1 -0
  616. package/dist/hub/member/sharing-result.d.ts +6 -0
  617. package/dist/hub/member/sharing-result.js +46 -0
  618. package/dist/hub/member/sharing-result.js.map +1 -0
  619. package/dist/hub/member/sharing.d.ts +39 -0
  620. package/dist/hub/member/sharing.js +188 -0
  621. package/dist/hub/member/sharing.js.map +1 -0
  622. package/dist/hub/member/updates.d.ts +98 -0
  623. package/dist/hub/member/updates.js +322 -0
  624. package/dist/hub/member/updates.js.map +1 -0
  625. package/dist/hub/member-journal.d.ts +6 -0
  626. package/dist/hub/member-journal.js +36 -0
  627. package/dist/hub/member-journal.js.map +1 -1
  628. package/dist/hub/pairing.d.ts +15 -1
  629. package/dist/hub/pairing.js +33 -2
  630. package/dist/hub/pairing.js.map +1 -1
  631. package/dist/hub/personal/owner-host.d.ts +146 -0
  632. package/dist/hub/personal/owner-host.js +289 -0
  633. package/dist/hub/personal/owner-host.js.map +1 -0
  634. package/dist/hub/personal/refusals.d.ts +11 -0
  635. package/dist/hub/personal/refusals.js +33 -0
  636. package/dist/hub/personal/refusals.js.map +1 -0
  637. package/dist/hub/personal/runtime-host.d.ts +26 -0
  638. package/dist/hub/personal/runtime-host.js +51 -0
  639. package/dist/hub/personal/runtime-host.js.map +1 -0
  640. package/dist/hub/personal/schema.d.ts +4 -0
  641. package/dist/hub/personal/schema.js +54 -0
  642. package/dist/hub/personal/schema.js.map +1 -0
  643. package/dist/hub/personal/turns.d.ts +39 -0
  644. package/dist/hub/personal/turns.js +221 -0
  645. package/dist/hub/personal/turns.js.map +1 -0
  646. package/dist/hub/personal/types.d.ts +42 -0
  647. package/dist/hub/personal/types.js +2 -0
  648. package/dist/hub/personal/types.js.map +1 -0
  649. package/dist/hub/policy.d.ts +15 -4
  650. package/dist/hub/policy.js +110 -24
  651. package/dist/hub/policy.js.map +1 -1
  652. package/dist/hub/protocol.d.ts +1481 -49
  653. package/dist/hub/protocol.js +130 -17
  654. package/dist/hub/protocol.js.map +1 -1
  655. package/dist/hub/published-version.d.ts +3 -0
  656. package/dist/hub/published-version.js +35 -0
  657. package/dist/hub/published-version.js.map +1 -0
  658. package/dist/hub/question-close-model.d.ts +17 -0
  659. package/dist/hub/question-close-model.js +7 -0
  660. package/dist/hub/question-close-model.js.map +1 -0
  661. package/dist/hub/quota.d.ts +2 -2
  662. package/dist/hub/quota.js +9 -5
  663. package/dist/hub/quota.js.map +1 -1
  664. package/dist/hub/read-statement.d.ts +6 -0
  665. package/dist/hub/read-statement.js +33 -0
  666. package/dist/hub/read-statement.js.map +1 -0
  667. package/dist/hub/recommendation-model.d.ts +36 -0
  668. package/dist/hub/recommendation-model.js +9 -0
  669. package/dist/hub/recommendation-model.js.map +1 -0
  670. package/dist/hub/recommendations.d.ts +58 -0
  671. package/dist/hub/recommendations.js +212 -0
  672. package/dist/hub/recommendations.js.map +1 -0
  673. package/dist/hub/representative.d.ts +59 -0
  674. package/dist/hub/representative.js +261 -20
  675. package/dist/hub/representative.js.map +1 -1
  676. package/dist/hub/roles/admin-control.d.ts +29 -0
  677. package/dist/hub/roles/admin-control.js +187 -0
  678. package/dist/hub/roles/admin-control.js.map +1 -0
  679. package/dist/hub/roles/admin-types.d.ts +72 -0
  680. package/dist/hub/roles/admin-types.js +2 -0
  681. package/dist/hub/roles/admin-types.js.map +1 -0
  682. package/dist/hub/roles/allowed-list-control.d.ts +34 -0
  683. package/dist/hub/roles/allowed-list-control.js +179 -0
  684. package/dist/hub/roles/allowed-list-control.js.map +1 -0
  685. package/dist/hub/roles/allowed-list.d.ts +8 -0
  686. package/dist/hub/roles/allowed-list.js +49 -0
  687. package/dist/hub/roles/allowed-list.js.map +1 -0
  688. package/dist/hub/roles/audit-details.d.ts +146 -0
  689. package/dist/hub/roles/audit-details.js +26 -0
  690. package/dist/hub/roles/audit-details.js.map +1 -0
  691. package/dist/hub/roles/authority.d.ts +20 -3
  692. package/dist/hub/roles/authority.js +165 -87
  693. package/dist/hub/roles/authority.js.map +1 -1
  694. package/dist/hub/roles/change.d.ts +3 -1
  695. package/dist/hub/roles/change.js +7 -2
  696. package/dist/hub/roles/change.js.map +1 -1
  697. package/dist/hub/roles/clock.d.ts +4 -1
  698. package/dist/hub/roles/clock.js +15 -12
  699. package/dist/hub/roles/clock.js.map +1 -1
  700. package/dist/hub/roles/convert.js +1 -1
  701. package/dist/hub/roles/convert.js.map +1 -1
  702. package/dist/hub/roles/cutover-clock-facts.d.ts +13 -0
  703. package/dist/hub/roles/cutover-clock-facts.js +25 -0
  704. package/dist/hub/roles/cutover-clock-facts.js.map +1 -0
  705. package/dist/hub/roles/cutover-inventory.d.ts +5 -0
  706. package/dist/hub/roles/cutover-inventory.js +27 -4
  707. package/dist/hub/roles/cutover-inventory.js.map +1 -1
  708. package/dist/hub/roles/cutover-marker.d.ts +18 -2
  709. package/dist/hub/roles/cutover-marker.js +6 -2
  710. package/dist/hub/roles/cutover-marker.js.map +1 -1
  711. package/dist/hub/roles/cutover.d.ts +2 -2
  712. package/dist/hub/roles/cutover.js +3 -4
  713. package/dist/hub/roles/cutover.js.map +1 -1
  714. package/dist/hub/roles/delegation.d.ts +4 -1
  715. package/dist/hub/roles/delegation.js +9 -4
  716. package/dist/hub/roles/delegation.js.map +1 -1
  717. package/dist/hub/roles/evaluate.d.ts +2 -1
  718. package/dist/hub/roles/evaluate.js +14 -0
  719. package/dist/hub/roles/evaluate.js.map +1 -1
  720. package/dist/hub/roles/expiry-effects.d.ts +8 -0
  721. package/dist/hub/roles/expiry-effects.js +50 -0
  722. package/dist/hub/roles/expiry-effects.js.map +1 -0
  723. package/dist/hub/roles/migrations.d.ts +7 -0
  724. package/dist/hub/roles/migrations.js +44 -0
  725. package/dist/hub/roles/migrations.js.map +1 -0
  726. package/dist/hub/roles/model.d.ts +30 -2
  727. package/dist/hub/roles/model.js +14 -7
  728. package/dist/hub/roles/model.js.map +1 -1
  729. package/dist/hub/roles/overview.d.ts +8 -0
  730. package/dist/hub/roles/overview.js +15 -0
  731. package/dist/hub/roles/overview.js.map +1 -0
  732. package/dist/hub/roles/read.d.ts +4 -0
  733. package/dist/hub/roles/read.js +37 -7
  734. package/dist/hub/roles/read.js.map +1 -1
  735. package/dist/hub/roles/resource-effects.d.ts +17 -0
  736. package/dist/hub/roles/resource-effects.js +62 -0
  737. package/dist/hub/roles/resource-effects.js.map +1 -0
  738. package/dist/hub/roles/review.d.ts +16 -0
  739. package/dist/hub/roles/review.js +42 -0
  740. package/dist/hub/roles/review.js.map +1 -0
  741. package/dist/hub/roles/writer.d.ts +14 -3
  742. package/dist/hub/roles/writer.js +64 -16
  743. package/dist/hub/roles/writer.js.map +1 -1
  744. package/dist/hub/room-agent-discovery-model.d.ts +29 -0
  745. package/dist/hub/room-agent-discovery-model.js +33 -0
  746. package/dist/hub/room-agent-discovery-model.js.map +1 -0
  747. package/dist/hub/room-agent-discovery.d.ts +14 -0
  748. package/dist/hub/room-agent-discovery.js +65 -0
  749. package/dist/hub/room-agent-discovery.js.map +1 -0
  750. package/dist/hub/room-agent-requests.d.ts +71 -0
  751. package/dist/hub/room-agent-requests.js +377 -0
  752. package/dist/hub/room-agent-requests.js.map +1 -0
  753. package/dist/hub/room-answer-status-model.d.ts +3 -0
  754. package/dist/hub/room-answer-status-model.js +4 -0
  755. package/dist/hub/room-answer-status-model.js.map +1 -0
  756. package/dist/hub/room-asker-identity-model.d.ts +53 -0
  757. package/dist/hub/room-asker-identity-model.js +14 -0
  758. package/dist/hub/room-asker-identity-model.js.map +1 -0
  759. package/dist/hub/room-asker-identity.d.ts +22 -0
  760. package/dist/hub/room-asker-identity.js +43 -0
  761. package/dist/hub/room-asker-identity.js.map +1 -0
  762. package/dist/hub/room-brief-model.d.ts +30 -0
  763. package/dist/hub/room-brief-model.js +38 -0
  764. package/dist/hub/room-brief-model.js.map +1 -0
  765. package/dist/hub/room-context-model.d.ts +45 -0
  766. package/dist/hub/room-context-model.js +12 -0
  767. package/dist/hub/room-context-model.js.map +1 -0
  768. package/dist/hub/room-history-model.d.ts +87 -0
  769. package/dist/hub/room-history-model.js +14 -0
  770. package/dist/hub/room-history-model.js.map +1 -0
  771. package/dist/hub/room-members-model.d.ts +63 -0
  772. package/dist/hub/room-members-model.js +7 -0
  773. package/dist/hub/room-members-model.js.map +1 -0
  774. package/dist/hub/room-mention-feedback-model.d.ts +12 -0
  775. package/dist/hub/room-mention-feedback-model.js +12 -0
  776. package/dist/hub/room-mention-feedback-model.js.map +1 -0
  777. package/dist/hub/room-react-ack-model.d.ts +2 -0
  778. package/dist/hub/room-react-ack-model.js +3 -0
  779. package/dist/hub/room-react-ack-model.js.map +1 -0
  780. package/dist/hub/rooms/admin.d.ts +6 -0
  781. package/dist/hub/rooms/admin.js +33 -0
  782. package/dist/hub/rooms/admin.js.map +1 -1
  783. package/dist/hub/rooms/agents.d.ts +52 -11
  784. package/dist/hub/rooms/agents.js +418 -37
  785. package/dist/hub/rooms/agents.js.map +1 -1
  786. package/dist/hub/rooms/asker-identity.d.ts +21 -0
  787. package/dist/hub/rooms/asker-identity.js +86 -0
  788. package/dist/hub/rooms/asker-identity.js.map +1 -0
  789. package/dist/hub/rooms/assistant.d.ts +1 -6
  790. package/dist/hub/rooms/assistant.js +7 -2
  791. package/dist/hub/rooms/assistant.js.map +1 -1
  792. package/dist/hub/rooms/automation.d.ts +24 -0
  793. package/dist/hub/rooms/automation.js +66 -0
  794. package/dist/hub/rooms/automation.js.map +1 -0
  795. package/dist/hub/rooms/brief.d.ts +18 -0
  796. package/dist/hub/rooms/brief.js +39 -0
  797. package/dist/hub/rooms/brief.js.map +1 -0
  798. package/dist/hub/rooms/buttons.d.ts +85 -0
  799. package/dist/hub/rooms/buttons.js +62 -0
  800. package/dist/hub/rooms/buttons.js.map +1 -0
  801. package/dist/hub/rooms/context-cursor.d.ts +18 -0
  802. package/dist/hub/rooms/context-cursor.js +61 -0
  803. package/dist/hub/rooms/context-cursor.js.map +1 -0
  804. package/dist/hub/rooms/context.d.ts +1 -1
  805. package/dist/hub/rooms/context.js +4 -4
  806. package/dist/hub/rooms/context.js.map +1 -1
  807. package/dist/hub/rooms/direct-view.d.ts +12 -3
  808. package/dist/hub/rooms/direct-view.js +26 -10
  809. package/dist/hub/rooms/direct-view.js.map +1 -1
  810. package/dist/hub/rooms/directory.d.ts +13 -0
  811. package/dist/hub/rooms/directory.js +12 -3
  812. package/dist/hub/rooms/directory.js.map +1 -1
  813. package/dist/hub/rooms/history.d.ts +8 -0
  814. package/dist/hub/rooms/history.js +31 -0
  815. package/dist/hub/rooms/history.js.map +1 -0
  816. package/dist/hub/rooms/members-page.d.ts +33 -0
  817. package/dist/hub/rooms/members-page.js +37 -0
  818. package/dist/hub/rooms/members-page.js.map +1 -0
  819. package/dist/hub/rooms/mentions.d.ts +15 -0
  820. package/dist/hub/rooms/mentions.js +43 -0
  821. package/dist/hub/rooms/mentions.js.map +1 -0
  822. package/dist/hub/rooms/office.d.ts +141 -0
  823. package/dist/hub/rooms/office.js +81 -0
  824. package/dist/hub/rooms/office.js.map +1 -0
  825. package/dist/hub/rooms/post-replies.d.ts +23 -0
  826. package/dist/hub/rooms/post-replies.js +114 -0
  827. package/dist/hub/rooms/post-replies.js.map +1 -0
  828. package/dist/hub/rooms/purpose.d.ts +7 -0
  829. package/dist/hub/rooms/purpose.js +14 -0
  830. package/dist/hub/rooms/purpose.js.map +1 -0
  831. package/dist/hub/rooms/schema.d.ts +16 -0
  832. package/dist/hub/rooms/schema.js +56 -0
  833. package/dist/hub/rooms/schema.js.map +1 -1
  834. package/dist/hub/rooms/service.d.ts +400 -8
  835. package/dist/hub/rooms/service.js +1231 -72
  836. package/dist/hub/rooms/service.js.map +1 -1
  837. package/dist/hub/rooms/types.d.ts +48 -4
  838. package/dist/hub/rooms.d.ts +33 -6
  839. package/dist/hub/rooms.js +236 -51
  840. package/dist/hub/rooms.js.map +1 -1
  841. package/dist/hub/runtime.d.ts +1 -1
  842. package/dist/hub/runtime.js +17 -4
  843. package/dist/hub/runtime.js.map +1 -1
  844. package/dist/hub/send-timing.d.ts +6 -0
  845. package/dist/hub/send-timing.js +39 -0
  846. package/dist/hub/send-timing.js.map +1 -0
  847. package/dist/hub/server.d.ts +8 -1
  848. package/dist/hub/server.js +187 -7
  849. package/dist/hub/server.js.map +1 -1
  850. package/dist/hub/session-directory-transition.d.ts +3 -1
  851. package/dist/hub/session-directory-transition.js +25 -12
  852. package/dist/hub/session-directory-transition.js.map +1 -1
  853. package/dist/hub/session-epoch.js +2 -1
  854. package/dist/hub/session-epoch.js.map +1 -1
  855. package/dist/hub/session-limits.d.ts +58 -0
  856. package/dist/hub/session-limits.js +121 -0
  857. package/dist/hub/session-limits.js.map +1 -0
  858. package/dist/hub/sessions.d.ts +5 -2
  859. package/dist/hub/sessions.js +84 -12
  860. package/dist/hub/sessions.js.map +1 -1
  861. package/dist/hub/settings-commit.d.ts +32 -1
  862. package/dist/hub/settings-commit.js +11 -4
  863. package/dist/hub/settings-commit.js.map +1 -1
  864. package/dist/hub/settings-directory-ca.js +1 -1
  865. package/dist/hub/settings-directory-ca.js.map +1 -1
  866. package/dist/hub/settings-directory-control.js +7 -7
  867. package/dist/hub/settings-directory-control.js.map +1 -1
  868. package/dist/hub/settings-directory-decision.js +15 -8
  869. package/dist/hub/settings-directory-decision.js.map +1 -1
  870. package/dist/hub/settings-directory-http.d.ts +2 -0
  871. package/dist/hub/settings-directory-http.js +21 -6
  872. package/dist/hub/settings-directory-http.js.map +1 -1
  873. package/dist/hub/settings-directory-proof.d.ts +5 -1
  874. package/dist/hub/settings-directory-proof.js +49 -10
  875. package/dist/hub/settings-directory-proof.js.map +1 -1
  876. package/dist/hub/settings-directory-recovery.js +2 -1
  877. package/dist/hub/settings-directory-recovery.js.map +1 -1
  878. package/dist/hub/settings-directory-save.d.ts +2 -0
  879. package/dist/hub/settings-directory-save.js +9 -6
  880. package/dist/hub/settings-directory-save.js.map +1 -1
  881. package/dist/hub/settings-member-address-decision.js +3 -2
  882. package/dist/hub/settings-member-address-decision.js.map +1 -1
  883. package/dist/hub/settings-web-address-decision.js +2 -1
  884. package/dist/hub/settings-web-address-decision.js.map +1 -1
  885. package/dist/hub/sharing-previous-access.d.ts +22 -0
  886. package/dist/hub/sharing-previous-access.js +93 -0
  887. package/dist/hub/sharing-previous-access.js.map +1 -0
  888. package/dist/hub/sharing-requests.d.ts +174 -0
  889. package/dist/hub/sharing-requests.js +326 -0
  890. package/dist/hub/sharing-requests.js.map +1 -0
  891. package/dist/hub/sharing-retention.d.ts +47 -0
  892. package/dist/hub/sharing-retention.js +83 -0
  893. package/dist/hub/sharing-retention.js.map +1 -0
  894. package/dist/hub/sharing-withdrawal.d.ts +14 -0
  895. package/dist/hub/sharing-withdrawal.js +28 -0
  896. package/dist/hub/sharing-withdrawal.js.map +1 -0
  897. package/dist/hub/sharing.js +2 -2
  898. package/dist/hub/sharing.js.map +1 -1
  899. package/dist/hub/socket.d.ts +1 -0
  900. package/dist/hub/socket.js +39 -2
  901. package/dist/hub/socket.js.map +1 -1
  902. package/dist/hub/store.d.ts +5 -0
  903. package/dist/hub/store.js +28 -5
  904. package/dist/hub/store.js.map +1 -1
  905. package/dist/hub/teams/index.d.ts +8 -3
  906. package/dist/hub/teams/index.js +106 -31
  907. package/dist/hub/teams/index.js.map +1 -1
  908. package/dist/hub/teams/store.d.ts +5 -1
  909. package/dist/hub/teams/store.js +25 -2
  910. package/dist/hub/teams/store.js.map +1 -1
  911. package/dist/hub/teams/types.d.ts +19 -2
  912. package/dist/hub/types.d.ts +176 -5
  913. package/dist/hub-agent-incarnation-record.d.ts +24 -0
  914. package/dist/hub-agent-incarnation-record.js +46 -0
  915. package/dist/hub-agent-incarnation-record.js.map +1 -0
  916. package/dist/hub-character-plan.d.ts +47 -0
  917. package/dist/hub-character-plan.js +70 -0
  918. package/dist/hub-character-plan.js.map +1 -0
  919. package/dist/hub-classic-private.d.ts +19 -0
  920. package/dist/hub-classic-private.js +64 -0
  921. package/dist/hub-classic-private.js.map +1 -0
  922. package/dist/hub-contact-windows.d.ts +23 -0
  923. package/dist/hub-contact-windows.js +89 -0
  924. package/dist/hub-contact-windows.js.map +1 -0
  925. package/dist/hub-page-sharing-settings.d.ts +6 -0
  926. package/dist/hub-page-sharing-settings.js +19 -0
  927. package/dist/hub-page-sharing-settings.js.map +1 -0
  928. package/dist/hub-pairing-summary.d.ts +1 -1
  929. package/dist/hub-picture-reduce.d.ts +34 -0
  930. package/dist/hub-picture-reduce.js +101 -0
  931. package/dist/hub-picture-reduce.js.map +1 -0
  932. package/dist/hub-picture-worker.d.ts +1 -0
  933. package/dist/hub-picture-worker.js +19 -0
  934. package/dist/hub-picture-worker.js.map +1 -0
  935. package/dist/hub-report-target.d.ts +6 -0
  936. package/dist/hub-report-target.js +6 -0
  937. package/dist/hub-report-target.js.map +1 -1
  938. package/dist/hub-room-conversation.d.ts +14 -0
  939. package/dist/hub-room-conversation.js +60 -0
  940. package/dist/hub-room-conversation.js.map +1 -0
  941. package/dist/hub-room-reply-warning.d.ts +2 -0
  942. package/dist/hub-room-reply-warning.js +16 -0
  943. package/dist/hub-room-reply-warning.js.map +1 -0
  944. package/dist/hub-sharing-notice.d.ts +43 -0
  945. package/dist/hub-sharing-notice.js +34 -0
  946. package/dist/hub-sharing-notice.js.map +1 -0
  947. package/dist/hub-update-notice.d.ts +12 -0
  948. package/dist/hub-update-notice.js +35 -0
  949. package/dist/hub-update-notice.js.map +1 -0
  950. package/dist/human-delivery-receipts.d.ts +27 -5
  951. package/dist/human-delivery-receipts.js +52 -8
  952. package/dist/human-delivery-receipts.js.map +1 -1
  953. package/dist/install-lock.d.ts +15 -1
  954. package/dist/install-lock.js +16 -8
  955. package/dist/install-lock.js.map +1 -1
  956. package/dist/install-ownership.d.ts +165 -0
  957. package/dist/install-ownership.js +404 -0
  958. package/dist/install-ownership.js.map +1 -0
  959. package/dist/instance-config-impact.js +7 -2
  960. package/dist/instance-config-impact.js.map +1 -1
  961. package/dist/instance-lifecycle.d.ts +32 -4
  962. package/dist/instance-lifecycle.js +111 -25
  963. package/dist/instance-lifecycle.js.map +1 -1
  964. package/dist/instruction-file-sizes.d.ts +46 -0
  965. package/dist/instruction-file-sizes.js +115 -0
  966. package/dist/instruction-file-sizes.js.map +1 -0
  967. package/dist/instructions.d.ts +40 -2
  968. package/dist/instructions.js +68 -34
  969. package/dist/instructions.js.map +1 -1
  970. package/dist/local-pane-endpoint.d.ts +18 -1
  971. package/dist/local-pane-endpoint.js +44 -2
  972. package/dist/local-pane-endpoint.js.map +1 -1
  973. package/dist/locale.d.ts +2 -0
  974. package/dist/locale.js +956 -295
  975. package/dist/locale.js.map +1 -1
  976. package/dist/log-steps.d.ts +5 -0
  977. package/dist/log-steps.js +6 -2
  978. package/dist/log-steps.js.map +1 -1
  979. package/dist/login-controller.d.ts +45 -2
  980. package/dist/login-controller.js +98 -10
  981. package/dist/login-controller.js.map +1 -1
  982. package/dist/login-flows.js +1 -1
  983. package/dist/login-flows.js.map +1 -1
  984. package/dist/ls-rows.d.ts +2 -0
  985. package/dist/ls-rows.js.map +1 -1
  986. package/dist/memory-guidance.d.ts +5 -0
  987. package/dist/memory-guidance.js +14 -0
  988. package/dist/memory-guidance.js.map +1 -0
  989. package/dist/memory-pressure.js +8 -1
  990. package/dist/memory-pressure.js.map +1 -1
  991. package/dist/model-defaults.d.ts +5 -0
  992. package/dist/model-defaults.js +6 -0
  993. package/dist/model-defaults.js.map +1 -0
  994. package/dist/native-agent-admission.d.ts +7 -0
  995. package/dist/native-agent-admission.js +55 -3
  996. package/dist/native-agent-admission.js.map +1 -1
  997. package/dist/native-exec-context.d.ts +11 -0
  998. package/dist/native-exec-context.js +18 -0
  999. package/dist/native-exec-context.js.map +1 -0
  1000. package/dist/native-exec-input.d.ts +56 -0
  1001. package/dist/native-exec-input.js +89 -0
  1002. package/dist/native-exec-input.js.map +1 -0
  1003. package/dist/native-mcp.d.ts +26 -1
  1004. package/dist/native-mcp.js +85 -18
  1005. package/dist/native-mcp.js.map +1 -1
  1006. package/dist/native-model-catalog.d.ts +15 -0
  1007. package/dist/native-model-catalog.js +43 -3
  1008. package/dist/native-model-catalog.js.map +1 -1
  1009. package/dist/native-pane-lifecycle.d.ts +12 -0
  1010. package/dist/native-pane-lifecycle.js +28 -2
  1011. package/dist/native-pane-lifecycle.js.map +1 -1
  1012. package/dist/native-pane-manager.d.ts +37 -6
  1013. package/dist/native-pane-manager.js +160 -8
  1014. package/dist/native-pane-manager.js.map +1 -1
  1015. package/dist/native-pane-tools.js +3 -0
  1016. package/dist/native-pane-tools.js.map +1 -1
  1017. package/dist/needs-you-hub.d.ts +7 -0
  1018. package/dist/needs-you-hub.js +48 -7
  1019. package/dist/needs-you-hub.js.map +1 -1
  1020. package/dist/needs-you.d.ts +66 -2
  1021. package/dist/needs-you.js +26 -1
  1022. package/dist/needs-you.js.map +1 -1
  1023. package/dist/office-share-page.js +5 -5
  1024. package/dist/office-share-page.js.map +1 -1
  1025. package/dist/office-share.js +2 -1
  1026. package/dist/office-share.js.map +1 -1
  1027. package/dist/outbound-handlers.d.ts +49 -4
  1028. package/dist/outbound-handlers.js +263 -20
  1029. package/dist/outbound-handlers.js.map +1 -1
  1030. package/dist/outbound-schemas.d.ts +44 -0
  1031. package/dist/outbound-schemas.js +56 -30
  1032. package/dist/outbound-schemas.js.map +1 -1
  1033. package/dist/package-preimage.js +4 -0
  1034. package/dist/package-preimage.js.map +1 -1
  1035. package/dist/pane-port.d.ts +3 -0
  1036. package/dist/pause-marker.d.ts +1 -1
  1037. package/dist/pause-marker.js +1 -1
  1038. package/dist/pause-marker.js.map +1 -1
  1039. package/dist/plist-args.d.ts +9 -0
  1040. package/dist/plist-args.js +22 -0
  1041. package/dist/plist-args.js.map +1 -0
  1042. package/dist/profile-signins.d.ts +1 -0
  1043. package/dist/profile-signins.js +3 -1
  1044. package/dist/profile-signins.js.map +1 -1
  1045. package/dist/public-preview.d.ts +4 -6
  1046. package/dist/public-preview.js +5 -2
  1047. package/dist/public-preview.js.map +1 -1
  1048. package/dist/public-web-gateway.d.ts +20 -0
  1049. package/dist/public-web-gateway.js +262 -9
  1050. package/dist/public-web-gateway.js.map +1 -1
  1051. package/dist/public-web-link.d.ts +34 -3
  1052. package/dist/public-web-link.js +50 -3
  1053. package/dist/public-web-link.js.map +1 -1
  1054. package/dist/queued-handoffs.d.ts +16 -4
  1055. package/dist/queued-handoffs.js +18 -1
  1056. package/dist/queued-handoffs.js.map +1 -1
  1057. package/dist/quickstart-api.d.ts +0 -1
  1058. package/dist/quickstart-api.js +8 -1
  1059. package/dist/quickstart-api.js.map +1 -1
  1060. package/dist/quickstart.d.ts +1 -1
  1061. package/dist/quickstart.js +2 -3
  1062. package/dist/quickstart.js.map +1 -1
  1063. package/dist/recover.cjs +2639 -0
  1064. package/dist/remote-card-answer.d.ts +1 -1
  1065. package/dist/remote-card-answer.js +8 -1
  1066. package/dist/remote-card-answer.js.map +1 -1
  1067. package/dist/remote-card-prompt.d.ts +7 -2
  1068. package/dist/remote-card-prompt.js +13 -4
  1069. package/dist/remote-card-prompt.js.map +1 -1
  1070. package/dist/reply-buttons-controller.d.ts +3 -1
  1071. package/dist/reply-buttons-controller.js +1 -1
  1072. package/dist/reply-buttons-controller.js.map +1 -1
  1073. package/dist/reply-dedup.js +3 -1
  1074. package/dist/reply-dedup.js.map +1 -1
  1075. package/dist/reply-draft.d.ts +12 -0
  1076. package/dist/reply-draft.js +81 -0
  1077. package/dist/reply-draft.js.map +1 -0
  1078. package/dist/reply-preview-files.d.ts +38 -0
  1079. package/dist/reply-preview-files.js +142 -0
  1080. package/dist/reply-preview-files.js.map +1 -0
  1081. package/dist/reply-preview-spec.d.ts +18 -0
  1082. package/dist/reply-preview-spec.js +27 -0
  1083. package/dist/reply-preview-spec.js.map +1 -0
  1084. package/dist/request-contact-api.d.ts +15 -0
  1085. package/dist/request-contact-api.js +120 -0
  1086. package/dist/request-contact-api.js.map +1 -0
  1087. package/dist/request-contact-card.d.ts +36 -0
  1088. package/dist/request-contact-card.js +206 -0
  1089. package/dist/request-contact-card.js.map +1 -0
  1090. package/dist/request-contact-gate.d.ts +81 -0
  1091. package/dist/request-contact-gate.js +267 -0
  1092. package/dist/request-contact-gate.js.map +1 -0
  1093. package/dist/request-contact-native.d.ts +52 -0
  1094. package/dist/request-contact-native.js +87 -0
  1095. package/dist/request-contact-native.js.map +1 -0
  1096. package/dist/request-contact-types.d.ts +86 -0
  1097. package/dist/request-contact-types.js +7 -0
  1098. package/dist/request-contact-types.js.map +1 -0
  1099. package/dist/request-context-activation.d.ts +29 -0
  1100. package/dist/request-context-activation.js +85 -0
  1101. package/dist/request-context-activation.js.map +1 -0
  1102. package/dist/request-context-admission.d.ts +22 -0
  1103. package/dist/request-context-admission.js +12 -0
  1104. package/dist/request-context-admission.js.map +1 -0
  1105. package/dist/request-context-boot.d.ts +35 -0
  1106. package/dist/request-context-boot.js +97 -0
  1107. package/dist/request-context-boot.js.map +1 -0
  1108. package/dist/request-context-call-protocol.d.ts +12 -0
  1109. package/dist/request-context-call-protocol.js +14 -0
  1110. package/dist/request-context-call-protocol.js.map +1 -0
  1111. package/dist/request-context-call.d.ts +25 -0
  1112. package/dist/request-context-call.js +35 -0
  1113. package/dist/request-context-call.js.map +1 -0
  1114. package/dist/request-context-compatibility.d.ts +20 -0
  1115. package/dist/request-context-compatibility.js +82 -0
  1116. package/dist/request-context-compatibility.js.map +1 -0
  1117. package/dist/request-context-continuation.d.ts +6 -0
  1118. package/dist/request-context-continuation.js +24 -0
  1119. package/dist/request-context-continuation.js.map +1 -0
  1120. package/dist/request-context-control-api.d.ts +119 -0
  1121. package/dist/request-context-control-api.js +179 -0
  1122. package/dist/request-context-control-api.js.map +1 -0
  1123. package/dist/request-context-control-copy.d.ts +3 -0
  1124. package/dist/request-context-control-copy.js +7 -0
  1125. package/dist/request-context-control-copy.js.map +1 -0
  1126. package/dist/request-context-controller.d.ts +44 -0
  1127. package/dist/request-context-controller.js +129 -0
  1128. package/dist/request-context-controller.js.map +1 -0
  1129. package/dist/request-context-delivery-resolver.d.ts +13 -0
  1130. package/dist/request-context-delivery-resolver.js +30 -0
  1131. package/dist/request-context-delivery-resolver.js.map +1 -0
  1132. package/dist/request-context-drain-projection.d.ts +8 -0
  1133. package/dist/request-context-drain-projection.js +40 -0
  1134. package/dist/request-context-drain-projection.js.map +1 -0
  1135. package/dist/request-context-drain.d.ts +61 -0
  1136. package/dist/request-context-drain.js +291 -0
  1137. package/dist/request-context-drain.js.map +1 -0
  1138. package/dist/request-context-enable-offer.d.ts +13 -0
  1139. package/dist/request-context-enable-offer.js +31 -0
  1140. package/dist/request-context-enable-offer.js.map +1 -0
  1141. package/dist/request-context-exec-owner.d.ts +39 -0
  1142. package/dist/request-context-exec-owner.js +128 -0
  1143. package/dist/request-context-exec-owner.js.map +1 -0
  1144. package/dist/request-context-fence.d.ts +28 -0
  1145. package/dist/request-context-fence.js +58 -0
  1146. package/dist/request-context-fence.js.map +1 -0
  1147. package/dist/request-context-go-back-view.d.ts +1 -0
  1148. package/dist/request-context-go-back-view.js +17 -0
  1149. package/dist/request-context-go-back-view.js.map +1 -0
  1150. package/dist/request-context-helper-readiness.d.ts +14 -0
  1151. package/dist/request-context-helper-readiness.js +23 -0
  1152. package/dist/request-context-helper-readiness.js.map +1 -0
  1153. package/dist/request-context-helper.d.ts +20 -0
  1154. package/dist/request-context-helper.js +41 -0
  1155. package/dist/request-context-helper.js.map +1 -0
  1156. package/dist/request-context-hub-resolver.d.ts +29 -0
  1157. package/dist/request-context-hub-resolver.js +90 -0
  1158. package/dist/request-context-hub-resolver.js.map +1 -0
  1159. package/dist/request-context-human-resolver.d.ts +20 -0
  1160. package/dist/request-context-human-resolver.js +77 -0
  1161. package/dist/request-context-human-resolver.js.map +1 -0
  1162. package/dist/request-context-human.d.ts +112 -0
  1163. package/dist/request-context-human.js +176 -0
  1164. package/dist/request-context-human.js.map +1 -0
  1165. package/dist/request-context-inputs.d.ts +21 -0
  1166. package/dist/request-context-inputs.js +63 -0
  1167. package/dist/request-context-inputs.js.map +1 -0
  1168. package/dist/request-context-installation.d.ts +117 -0
  1169. package/dist/request-context-installation.js +328 -0
  1170. package/dist/request-context-installation.js.map +1 -0
  1171. package/dist/request-context-knowledge.d.ts +5 -0
  1172. package/dist/request-context-knowledge.js +32 -0
  1173. package/dist/request-context-knowledge.js.map +1 -0
  1174. package/dist/request-context-migration.d.ts +75 -0
  1175. package/dist/request-context-migration.js +171 -0
  1176. package/dist/request-context-migration.js.map +1 -0
  1177. package/dist/request-context-native-human.d.ts +20 -0
  1178. package/dist/request-context-native-human.js +91 -0
  1179. package/dist/request-context-native-human.js.map +1 -0
  1180. package/dist/request-context-native-output.d.ts +15 -0
  1181. package/dist/request-context-native-output.js +46 -0
  1182. package/dist/request-context-native-output.js.map +1 -0
  1183. package/dist/request-context-native-result.d.ts +15 -0
  1184. package/dist/request-context-native-result.js +46 -0
  1185. package/dist/request-context-native-result.js.map +1 -0
  1186. package/dist/request-context-off.d.ts +22 -0
  1187. package/dist/request-context-off.js +77 -0
  1188. package/dist/request-context-off.js.map +1 -0
  1189. package/dist/request-context-outside-label.d.ts +5 -0
  1190. package/dist/request-context-outside-label.js +28 -0
  1191. package/dist/request-context-outside-label.js.map +1 -0
  1192. package/dist/request-context-pane.d.ts +33 -0
  1193. package/dist/request-context-pane.js +67 -0
  1194. package/dist/request-context-pane.js.map +1 -0
  1195. package/dist/request-context-pending-work.d.ts +11 -0
  1196. package/dist/request-context-pending-work.js +43 -0
  1197. package/dist/request-context-pending-work.js.map +1 -0
  1198. package/dist/request-context-policy.d.ts +90 -0
  1199. package/dist/request-context-policy.js +194 -0
  1200. package/dist/request-context-policy.js.map +1 -0
  1201. package/dist/request-context-protocol.d.ts +137 -0
  1202. package/dist/request-context-protocol.js +38 -0
  1203. package/dist/request-context-protocol.js.map +1 -0
  1204. package/dist/request-context-readiness.d.ts +49 -0
  1205. package/dist/request-context-readiness.js +64 -0
  1206. package/dist/request-context-readiness.js.map +1 -0
  1207. package/dist/request-context-recovery.d.ts +18 -0
  1208. package/dist/request-context-recovery.js +81 -0
  1209. package/dist/request-context-recovery.js.map +1 -0
  1210. package/dist/request-context-relay.d.ts +19 -0
  1211. package/dist/request-context-relay.js +63 -0
  1212. package/dist/request-context-relay.js.map +1 -0
  1213. package/dist/request-context-reply-pending.d.ts +16 -0
  1214. package/dist/request-context-reply-pending.js +77 -0
  1215. package/dist/request-context-reply-pending.js.map +1 -0
  1216. package/dist/request-context-resolution.d.ts +35 -0
  1217. package/dist/request-context-resolution.js +86 -0
  1218. package/dist/request-context-resolution.js.map +1 -0
  1219. package/dist/request-context-retirement.d.ts +21 -0
  1220. package/dist/request-context-retirement.js +16 -0
  1221. package/dist/request-context-retirement.js.map +1 -0
  1222. package/dist/request-context-returns.d.ts +67 -0
  1223. package/dist/request-context-returns.js +211 -0
  1224. package/dist/request-context-returns.js.map +1 -0
  1225. package/dist/request-context-start.d.ts +15 -0
  1226. package/dist/request-context-start.js +2 -0
  1227. package/dist/request-context-start.js.map +1 -0
  1228. package/dist/request-context-store.d.ts +26 -0
  1229. package/dist/request-context-store.js +144 -0
  1230. package/dist/request-context-store.js.map +1 -0
  1231. package/dist/request-context-turns.d.ts +99 -0
  1232. package/dist/request-context-turns.js +216 -0
  1233. package/dist/request-context-turns.js.map +1 -0
  1234. package/dist/request-context-unproved-label.d.ts +4 -0
  1235. package/dist/request-context-unproved-label.js +25 -0
  1236. package/dist/request-context-unproved-label.js.map +1 -0
  1237. package/dist/request-context-update-guard.d.ts +15 -0
  1238. package/dist/request-context-update-guard.js +54 -0
  1239. package/dist/request-context-update-guard.js.map +1 -0
  1240. package/dist/request-context-view.d.ts +33 -0
  1241. package/dist/request-context-view.js +36 -0
  1242. package/dist/request-context-view.js.map +1 -0
  1243. package/dist/request-context-work.d.ts +50 -0
  1244. package/dist/request-context-work.js +178 -0
  1245. package/dist/request-context-work.js.map +1 -0
  1246. package/dist/request-hub-context.d.ts +131 -0
  1247. package/dist/request-hub-context.js +89 -0
  1248. package/dist/request-hub-context.js.map +1 -0
  1249. package/dist/request-hub-output.d.ts +13 -0
  1250. package/dist/request-hub-output.js +33 -0
  1251. package/dist/request-hub-output.js.map +1 -0
  1252. package/dist/restart-progress.d.ts +6 -0
  1253. package/dist/restart-progress.js +5 -0
  1254. package/dist/restart-progress.js.map +1 -1
  1255. package/dist/retained-human-control.d.ts +11 -0
  1256. package/dist/retained-human-control.js +11 -0
  1257. package/dist/retained-human-control.js.map +1 -0
  1258. package/dist/runtime-api.js +10 -2
  1259. package/dist/runtime-api.js.map +1 -1
  1260. package/dist/runtime-build-info.js +2 -1
  1261. package/dist/runtime-build-info.js.map +1 -1
  1262. package/dist/runtime-cli-install.js +20 -14
  1263. package/dist/runtime-cli-install.js.map +1 -1
  1264. package/dist/runtime-cli.js +31 -5
  1265. package/dist/runtime-cli.js.map +1 -1
  1266. package/dist/runtime-client-store.d.ts +5 -0
  1267. package/dist/runtime-client-store.js +35 -1
  1268. package/dist/runtime-client-store.js.map +1 -1
  1269. package/dist/runtime-client.d.ts +6 -0
  1270. package/dist/runtime-client.js +63 -15
  1271. package/dist/runtime-client.js.map +1 -1
  1272. package/dist/runtime-coordinator.d.ts +31 -3
  1273. package/dist/runtime-coordinator.js +145 -12
  1274. package/dist/runtime-coordinator.js.map +1 -1
  1275. package/dist/runtime-install.d.ts +6 -1
  1276. package/dist/runtime-install.js +12 -4
  1277. package/dist/runtime-install.js.map +1 -1
  1278. package/dist/runtime-pane-assets.d.ts +1 -1
  1279. package/dist/runtime-pane-assets.js +1 -1
  1280. package/dist/runtime-pane-assets.js.map +1 -1
  1281. package/dist/runtime-pane-host.d.ts +3 -0
  1282. package/dist/runtime-pane-host.js +39 -21
  1283. package/dist/runtime-pane-host.js.map +1 -1
  1284. package/dist/runtime-pane-link.d.ts +6 -2
  1285. package/dist/runtime-pane-link.js +17 -4
  1286. package/dist/runtime-pane-link.js.map +1 -1
  1287. package/dist/runtime-pane-mcp-relay.d.ts +11 -1
  1288. package/dist/runtime-pane-mcp-relay.js +69 -3
  1289. package/dist/runtime-pane-mcp-relay.js.map +1 -1
  1290. package/dist/runtime-pane-mcp.d.ts +37 -1
  1291. package/dist/runtime-pane-mcp.js +120 -19
  1292. package/dist/runtime-pane-mcp.js.map +1 -1
  1293. package/dist/runtime-pane-native.js +5 -2
  1294. package/dist/runtime-pane-native.js.map +1 -1
  1295. package/dist/runtime-pane-port.d.ts +6 -0
  1296. package/dist/runtime-pane-port.js +23 -4
  1297. package/dist/runtime-pane-port.js.map +1 -1
  1298. package/dist/runtime-pane-protocol.d.ts +4 -0
  1299. package/dist/runtime-pane-protocol.js +11 -4
  1300. package/dist/runtime-pane-protocol.js.map +1 -1
  1301. package/dist/runtime-pane-service.d.ts +1 -0
  1302. package/dist/runtime-pane-service.js +25 -9
  1303. package/dist/runtime-pane-service.js.map +1 -1
  1304. package/dist/runtime-pane-stdio-protocol.d.ts +4 -0
  1305. package/dist/runtime-pane-stdio-protocol.js +12 -5
  1306. package/dist/runtime-pane-stdio-protocol.js.map +1 -1
  1307. package/dist/runtime-pane-stdio.js +5 -5
  1308. package/dist/runtime-pane-stdio.js.map +1 -1
  1309. package/dist/runtime-personal-answer-only-probe.d.ts +3 -0
  1310. package/dist/runtime-personal-answer-only-probe.js +134 -0
  1311. package/dist/runtime-personal-answer-only-probe.js.map +1 -0
  1312. package/dist/runtime-personal-answer-only.d.ts +16 -0
  1313. package/dist/runtime-personal-answer-only.js +54 -0
  1314. package/dist/runtime-personal-answer-only.js.map +1 -0
  1315. package/dist/runtime-personal-answer.d.ts +30 -0
  1316. package/dist/runtime-personal-answer.js +124 -0
  1317. package/dist/runtime-personal-answer.js.map +1 -0
  1318. package/dist/runtime-personal-preflight.d.ts +8 -0
  1319. package/dist/runtime-personal-preflight.js +103 -0
  1320. package/dist/runtime-personal-preflight.js.map +1 -0
  1321. package/dist/runtime-personal-profile.d.ts +40 -0
  1322. package/dist/runtime-personal-profile.js +81 -0
  1323. package/dist/runtime-personal-profile.js.map +1 -0
  1324. package/dist/runtime-personal-protocol.d.ts +10 -0
  1325. package/dist/runtime-personal-protocol.js +15 -0
  1326. package/dist/runtime-personal-protocol.js.map +1 -0
  1327. package/dist/runtime-personal-stage.d.ts +37 -0
  1328. package/dist/runtime-personal-stage.js +167 -0
  1329. package/dist/runtime-personal-stage.js.map +1 -0
  1330. package/dist/runtime-protocol.d.ts +7 -0
  1331. package/dist/runtime-protocol.js.map +1 -1
  1332. package/dist/runtime-update-controller.js +1 -1
  1333. package/dist/runtime-update-controller.js.map +1 -1
  1334. package/dist/runtime-windows-bridge.d.ts +8 -0
  1335. package/dist/runtime-windows-bridge.js +50 -3
  1336. package/dist/runtime-windows-bridge.js.map +1 -1
  1337. package/dist/scheduler/db.js +37 -0
  1338. package/dist/scheduler/db.js.map +1 -1
  1339. package/dist/scheduler/scheduler.d.ts +15 -0
  1340. package/dist/scheduler/scheduler.js +45 -1
  1341. package/dist/scheduler/scheduler.js.map +1 -1
  1342. package/dist/scheduler/scheduler.test.js +17 -0
  1343. package/dist/scheduler/scheduler.test.js.map +1 -1
  1344. package/dist/scheduler/task-board-mentions.d.ts +32 -0
  1345. package/dist/scheduler/task-board-mentions.js +97 -0
  1346. package/dist/scheduler/task-board-mentions.js.map +1 -0
  1347. package/dist/scheduler/task-board-text.d.ts +5 -6
  1348. package/dist/scheduler/task-board-text.js +30 -10
  1349. package/dist/scheduler/task-board-text.js.map +1 -1
  1350. package/dist/scheduler/task-board-unread.d.ts +90 -0
  1351. package/dist/scheduler/task-board-unread.js +192 -0
  1352. package/dist/scheduler/task-board-unread.js.map +1 -0
  1353. package/dist/scheduler/task-board.d.ts +628 -10
  1354. package/dist/scheduler/task-board.js +1496 -48
  1355. package/dist/scheduler/task-board.js.map +1 -1
  1356. package/dist/scheduler/task-files.d.ts +80 -0
  1357. package/dist/scheduler/task-files.js +357 -0
  1358. package/dist/scheduler/task-files.js.map +1 -0
  1359. package/dist/scheduler/types.d.ts +1 -1
  1360. package/dist/service-activation.js +3 -13
  1361. package/dist/service-activation.js.map +1 -1
  1362. package/dist/service-install-handover.d.ts +52 -0
  1363. package/dist/service-install-handover.js +50 -0
  1364. package/dist/service-install-handover.js.map +1 -0
  1365. package/dist/service-installer.d.ts +12 -0
  1366. package/dist/service-installer.js +24 -10
  1367. package/dist/service-installer.js.map +1 -1
  1368. package/dist/service-lock.d.ts +28 -0
  1369. package/dist/service-lock.js +85 -0
  1370. package/dist/service-lock.js.map +1 -0
  1371. package/dist/settings-api.d.ts +46 -1
  1372. package/dist/settings-api.js +642 -97
  1373. package/dist/settings-api.js.map +1 -1
  1374. package/dist/settings-baseline.d.ts +6 -0
  1375. package/dist/settings-baseline.js +11 -8
  1376. package/dist/settings-baseline.js.map +1 -1
  1377. package/dist/settings-change.js +60 -7
  1378. package/dist/settings-change.js.map +1 -1
  1379. package/dist/settings-confirmation.d.ts +2 -0
  1380. package/dist/settings-confirmation.js +6 -0
  1381. package/dist/settings-confirmation.js.map +1 -1
  1382. package/dist/settings-effect.d.ts +11 -0
  1383. package/dist/settings-effect.js +154 -7
  1384. package/dist/settings-effect.js.map +1 -1
  1385. package/dist/settings-http-confirmation.d.ts +3 -0
  1386. package/dist/settings-http-confirmation.js +46 -43
  1387. package/dist/settings-http-confirmation.js.map +1 -1
  1388. package/dist/settings-instance-patch.js +3 -1
  1389. package/dist/settings-instance-patch.js.map +1 -1
  1390. package/dist/settings-route-lifetime.d.ts +3 -1
  1391. package/dist/settings-route-lifetime.js +15 -5
  1392. package/dist/settings-route-lifetime.js.map +1 -1
  1393. package/dist/settings-transaction.d.ts +3 -2
  1394. package/dist/settings-transaction.js.map +1 -1
  1395. package/dist/setup-form.js +10 -0
  1396. package/dist/setup-form.js.map +1 -1
  1397. package/dist/setup-host.d.ts +2 -3
  1398. package/dist/setup-host.js +3 -5
  1399. package/dist/setup-host.js.map +1 -1
  1400. package/dist/setup-i18n.js +2 -2
  1401. package/dist/setup-i18n.js.map +1 -1
  1402. package/dist/setup-wizard.js +0 -2
  1403. package/dist/setup-wizard.js.map +1 -1
  1404. package/dist/shared-default-adoption.d.ts +24 -0
  1405. package/dist/shared-default-adoption.js +73 -0
  1406. package/dist/shared-default-adoption.js.map +1 -0
  1407. package/dist/state-lease.d.ts +24 -0
  1408. package/dist/state-lease.js +103 -0
  1409. package/dist/state-lease.js.map +1 -0
  1410. package/dist/subagent-records.d.ts +2 -0
  1411. package/dist/subagent-records.js +64 -12
  1412. package/dist/subagent-records.js.map +1 -1
  1413. package/dist/subagent-service.d.ts +3 -0
  1414. package/dist/subagent-service.js +27 -5
  1415. package/dist/subagent-service.js.map +1 -1
  1416. package/dist/task-attach-client.d.ts +43 -0
  1417. package/dist/task-attach-client.js +125 -0
  1418. package/dist/task-attach-client.js.map +1 -0
  1419. package/dist/task-board-tool.d.ts +60 -0
  1420. package/dist/task-board-tool.js +216 -11
  1421. package/dist/task-board-tool.js.map +1 -1
  1422. package/dist/task-board-waker.d.ts +75 -31
  1423. package/dist/task-board-waker.js +311 -101
  1424. package/dist/task-board-waker.js.map +1 -1
  1425. package/dist/task-file-limits.d.ts +15 -0
  1426. package/dist/task-file-limits.js +21 -0
  1427. package/dist/task-file-limits.js.map +1 -0
  1428. package/dist/tips.js +4 -4
  1429. package/dist/tips.js.map +1 -1
  1430. package/dist/tmux-binary.js +1 -1
  1431. package/dist/tmux-binary.js.map +1 -1
  1432. package/dist/tmux-manager.d.ts +2 -0
  1433. package/dist/tmux-manager.js +2 -0
  1434. package/dist/tmux-manager.js.map +1 -1
  1435. package/dist/tool-permissions.d.ts +32 -0
  1436. package/dist/tool-permissions.js +68 -2
  1437. package/dist/tool-permissions.js.map +1 -1
  1438. package/dist/tool-progress.d.ts +9 -0
  1439. package/dist/tool-progress.js +141 -32
  1440. package/dist/tool-progress.js.map +1 -1
  1441. package/dist/tool-receipt-output.d.ts +8 -6
  1442. package/dist/topic-commands.d.ts +7 -1
  1443. package/dist/topic-commands.js +124 -92
  1444. package/dist/topic-commands.js.map +1 -1
  1445. package/dist/transcript-monitor.d.ts +7 -1
  1446. package/dist/transcript-monitor.js +79 -3
  1447. package/dist/transcript-monitor.js.map +1 -1
  1448. package/dist/transcript-turns.d.ts +3 -0
  1449. package/dist/transcript-turns.js +5 -0
  1450. package/dist/transcript-turns.js.map +1 -1
  1451. package/dist/tunnel/lease.d.ts +14 -0
  1452. package/dist/tunnel/lease.js +23 -0
  1453. package/dist/tunnel/lease.js.map +1 -1
  1454. package/dist/tunnel/named-link-test.d.ts +27 -0
  1455. package/dist/tunnel/named-link-test.js +41 -0
  1456. package/dist/tunnel/named-link-test.js.map +1 -1
  1457. package/dist/turn-reply-guard.d.ts +18 -3
  1458. package/dist/turn-reply-guard.js +23 -5
  1459. package/dist/turn-reply-guard.js.map +1 -1
  1460. package/dist/types.d.ts +50 -2
  1461. package/dist/ui/accounts-keepalive.js +4 -2
  1462. package/dist/ui/accounts-view.js +18 -9
  1463. package/dist/ui/agent-details-settings.js +11 -7
  1464. package/dist/ui/agent-export-dialog.js +4 -3
  1465. package/dist/ui/agent-export-strings.js +5 -5
  1466. package/dist/ui/agent-page-strings.js +23 -5
  1467. package/dist/ui/agent-who-can-use-strings.js +125 -0
  1468. package/dist/ui/agent-who-can-use.js +238 -0
  1469. package/dist/ui/app.html +2 -2
  1470. package/dist/ui/backend-signin.js +94 -23
  1471. package/dist/ui/chat-activity-groups.js +42 -9
  1472. package/dist/ui/chat-activity.js +24 -4
  1473. package/dist/ui/chat-commands.js +2 -0
  1474. package/dist/ui/chat-mentions.js +13 -0
  1475. package/dist/ui/chat-msg-actions.js +3 -222
  1476. package/dist/ui/chat-pins.js +107 -0
  1477. package/dist/ui/chat-popout-header.js +2 -2
  1478. package/dist/ui/chat-popout-transport.js +49 -19
  1479. package/dist/ui/chat-popout.js +15 -1
  1480. package/dist/ui/chat-quote.js +3 -261
  1481. package/dist/ui/chat-store.js +182 -19
  1482. package/dist/ui/chat-task-ref-strings.js +24 -0
  1483. package/dist/ui/chat-task-refs.js +131 -0
  1484. package/dist/ui/chat-tour.js +1 -1
  1485. package/dist/ui/chat-workspace.js +3 -3
  1486. package/dist/ui/claude-credentials.js +124 -0
  1487. package/dist/ui/claude-setup-token.js +36 -0
  1488. package/dist/ui/contact-auth-client.js +55 -0
  1489. package/dist/ui/contact-auth-strings.js +272 -0
  1490. package/dist/ui/contact-authorizations.js +159 -0
  1491. package/dist/ui/contact-grant-editor.js +110 -0
  1492. package/dist/ui/contact-needs.js +124 -0
  1493. package/dist/ui/contact-permissions.js +278 -0
  1494. package/dist/ui/contact-ticket-badge.js +54 -0
  1495. package/dist/ui/contact-tool-groups.js +39 -0
  1496. package/dist/ui/contact-verify-need.js +46 -0
  1497. package/dist/ui/fleet-cache.js +7 -6
  1498. package/dist/ui/fleet-canvas.js +21 -8
  1499. package/dist/ui/fleet-office-card.js +505 -45
  1500. package/dist/ui/fleet-office-carousel.d.ts +14 -0
  1501. package/dist/ui/fleet-office-carousel.js +95 -0
  1502. package/dist/ui/fleet-office-dialogue.d.ts +6 -3
  1503. package/dist/ui/fleet-office-dialogue.js +16 -6
  1504. package/dist/ui/fleet-office-editor.js +11 -6
  1505. package/dist/ui/fleet-office-layout.js +15 -15
  1506. package/dist/ui/fleet-office-model.js +5 -3
  1507. package/dist/ui/fleet-office-overview.js +1 -1
  1508. package/dist/ui/fleet-office-pack.d.ts +92 -5
  1509. package/dist/ui/fleet-office-pack.js +596 -50
  1510. package/dist/ui/fleet-office-play.js +498 -0
  1511. package/dist/ui/fleet-office-skin.js +360 -52
  1512. package/dist/ui/fleet-office-store.js +121 -5
  1513. package/dist/ui/fleet-office-talk.js +423 -0
  1514. package/dist/ui/fleet-office-vehicles.js +147 -0
  1515. package/dist/ui/fleet-office-view.js +58 -17
  1516. package/dist/ui/fleet-office-zones.js +174 -39
  1517. package/dist/ui/fleet-office.js +1462 -188
  1518. package/dist/ui/fleet-org.js +9 -4
  1519. package/dist/ui/fleet-route.js +44 -6
  1520. package/dist/ui/fleet-tab-icons.js +19 -0
  1521. package/dist/ui/fleet-task-activity.js +430 -0
  1522. package/dist/ui/fleet-task-archive.js +111 -0
  1523. package/dist/ui/fleet-task-card.js +386 -317
  1524. package/dist/ui/fleet-task-common.js +117 -13
  1525. package/dist/ui/fleet-task-create.js +67 -0
  1526. package/dist/ui/fleet-task-edit.js +211 -0
  1527. package/dist/ui/fleet-task-files.js +196 -0
  1528. package/dist/ui/fleet-task-flow.js +353 -0
  1529. package/dist/ui/fleet-task-follow.js +123 -0
  1530. package/dist/ui/fleet-task-md.js +98 -0
  1531. package/dist/ui/fleet-task-menu.js +2 -2
  1532. package/dist/ui/fleet-task-owner.js +252 -0
  1533. package/dist/ui/fleet-task-run.js +333 -0
  1534. package/dist/ui/fleet-task-sort.js +88 -0
  1535. package/dist/ui/fleet-task-stats.js +2 -2
  1536. package/dist/ui/fleet-task-thread.js +245 -0
  1537. package/dist/ui/fleet-task-unread.js +100 -0
  1538. package/dist/ui/fleet-task-view.js +221 -46
  1539. package/dist/ui/fleet-task-wake.js +140 -0
  1540. package/dist/ui/fleet-task-work.js +2 -2
  1541. package/dist/ui/fleet-tasks.js +336 -145
  1542. package/dist/ui/fleet-usage.js +8 -7
  1543. package/dist/ui/host-alerts.js +23 -0
  1544. package/dist/ui/host-footprint.js +17 -0
  1545. package/dist/ui/host-health-model.js +42 -0
  1546. package/dist/ui/host-health.js +82 -0
  1547. package/dist/ui/host-install.js +87 -7
  1548. package/dist/ui/host-monitoring-darwin.js +6 -0
  1549. package/dist/ui/host-monitoring-help.js +7 -0
  1550. package/dist/ui/host-monitoring-linux.js +6 -0
  1551. package/dist/ui/host-monitoring-wsl.js +6 -0
  1552. package/dist/ui/host-time.js +5 -0
  1553. package/dist/ui/hub-admin-overview.js +190 -0
  1554. package/dist/ui/hub-admin-rooms-strings.js +6 -2
  1555. package/dist/ui/hub-admin-rooms.js +4 -2
  1556. package/dist/ui/hub-agent-copy.js +8 -2
  1557. package/dist/ui/hub-agent-intro.js +36 -0
  1558. package/dist/ui/hub-ai-apps-strings.js +6 -0
  1559. package/dist/ui/hub-ai-apps.js +84 -0
  1560. package/dist/ui/hub-assistant-admin.js +2 -1
  1561. package/dist/ui/hub-attachments.js +81 -3
  1562. package/dist/ui/hub-chat-store.js +4 -3
  1563. package/dist/ui/hub-chat-strings.js +14 -4
  1564. package/dist/ui/hub-client.js +126 -12
  1565. package/dist/ui/hub-directory-editor-strings.js +2 -2
  1566. package/dist/ui/hub-directory-editor.js +1 -0
  1567. package/dist/ui/hub-directory-notices.js +2 -1
  1568. package/dist/ui/hub-enrolment-code.js +2 -1
  1569. package/dist/ui/hub-fleet-versions.js +393 -0
  1570. package/dist/ui/hub-grant-picker.js +28 -47
  1571. package/dist/ui/hub-group-policy.js +26 -13
  1572. package/dist/ui/hub-group-search.js +2 -2
  1573. package/dist/ui/hub-group-strings.js +28 -18
  1574. package/dist/ui/hub-intro-notice.js +16 -0
  1575. package/dist/ui/hub-invitations.js +5 -1
  1576. package/dist/ui/hub-join-steps.js +27 -15
  1577. package/dist/ui/hub-my-agents-model.js +42 -0
  1578. package/dist/ui/hub-my-agents-strings.js +20 -0
  1579. package/dist/ui/hub-my-agents.js +170 -0
  1580. package/dist/ui/hub-notify-keep.js +49 -0
  1581. package/dist/ui/hub-owner-strings.js +9 -8
  1582. package/dist/ui/hub-personal-agent-strings.js +246 -0
  1583. package/dist/ui/hub-personal-agent.js +119 -0
  1584. package/dist/ui/hub-policy-subjects.js +35 -0
  1585. package/dist/ui/hub-quick-pairing.js +9 -3
  1586. package/dist/ui/hub-quota.js +2 -1
  1587. package/dist/ui/hub-role-audit.js +40 -0
  1588. package/dist/ui/hub-role-forms.js +100 -0
  1589. package/dist/ui/hub-role-notices.js +11 -0
  1590. package/dist/ui/hub-role-view.js +87 -0
  1591. package/dist/ui/hub-roles-strings.js +444 -0
  1592. package/dist/ui/hub-roles.js +84 -0
  1593. package/dist/ui/hub-room-agent-strings.js +29 -0
  1594. package/dist/ui/hub-room-composer.js +174 -17
  1595. package/dist/ui/hub-room-list.js +8 -5
  1596. package/dist/ui/hub-room-members-strings.js +11 -4
  1597. package/dist/ui/hub-room-members.js +134 -18
  1598. package/dist/ui/hub-room-new-strings.js +2 -1
  1599. package/dist/ui/hub-room-new.js +17 -7
  1600. package/dist/ui/hub-room-notify.js +162 -0
  1601. package/dist/ui/hub-room-office.js +271 -0
  1602. package/dist/ui/hub-room-owner-requests-strings.js +114 -0
  1603. package/dist/ui/hub-room-owner-requests.js +265 -0
  1604. package/dist/ui/hub-room-pins.js +44 -0
  1605. package/dist/ui/hub-room-presence.js +19 -2
  1606. package/dist/ui/hub-room-purpose.js +35 -0
  1607. package/dist/ui/hub-room-search.js +126 -0
  1608. package/dist/ui/hub-room-settings-strings.js +8 -0
  1609. package/dist/ui/hub-room-settings.js +110 -3
  1610. package/dist/ui/hub-room-source-strings.js +17 -0
  1611. package/dist/ui/hub-room-source.js +37 -0
  1612. package/dist/ui/hub-room-strings.js +102 -7
  1613. package/dist/ui/hub-room-thread.js +522 -69
  1614. package/dist/ui/hub-room-unread.js +2 -1
  1615. package/dist/ui/hub-room-working.js +37 -0
  1616. package/dist/ui/hub-session-limits.js +79 -0
  1617. package/dist/ui/hub-strings.js +23 -10
  1618. package/dist/ui/hub-subject-picker.js +58 -0
  1619. package/dist/ui/hub-switcher.js +2 -2
  1620. package/dist/ui/hub-teams-strings.js +10 -6
  1621. package/dist/ui/hub-teams.js +58 -29
  1622. package/dist/ui/hub-this-hub.js +2 -2
  1623. package/dist/ui/hub-welcome.js +122 -75
  1624. package/dist/ui/icons/hub-apple-touch-icon.png +0 -0
  1625. package/dist/ui/icons/hub-favicon.ico +0 -0
  1626. package/dist/ui/icons/hub-favicon.svg +10 -0
  1627. package/dist/ui/icons/hub-icon-192.png +0 -0
  1628. package/dist/ui/icons/hub-icon-512.png +0 -0
  1629. package/dist/ui/icons/hub-icon-maskable-192.png +0 -0
  1630. package/dist/ui/icons/hub-icon-maskable-512.png +0 -0
  1631. package/dist/ui/icons/hub-maskable.svg +12 -0
  1632. package/dist/ui/image-annotate.js +2 -283
  1633. package/dist/ui/image-lightbox.js +2 -176
  1634. package/dist/ui/image-zoom.js +2 -242
  1635. package/dist/ui/log-row.js +11 -8
  1636. package/dist/ui/model-picker.js +7 -3
  1637. package/dist/ui/native-instance-settings.js +4 -2
  1638. package/dist/ui/notice-hub-sharing.js +81 -0
  1639. package/dist/ui/notice-hub-update.js +94 -0
  1640. package/dist/ui/office-share-dialog.js +4 -3
  1641. package/dist/ui/office-share-page.js +7 -2
  1642. package/dist/ui/page-share-dialog.js +3 -2
  1643. package/dist/ui/panel-chat.js +515 -81
  1644. package/dist/ui/panel-details.js +27 -3
  1645. package/dist/ui/panel-fleet.js +61 -21
  1646. package/dist/ui/panel-hub.js +478 -135
  1647. package/dist/ui/panel-log.js +7 -7
  1648. package/dist/ui/panel-needs.js +139 -28
  1649. package/dist/ui/panel-notices.js +6 -2
  1650. package/dist/ui/panel-runtimes.js +6 -4
  1651. package/dist/ui/panel-settings.js +150 -61
  1652. package/dist/ui/panel-windows-cli.js +4 -3
  1653. package/dist/ui/preview-panel.js +3 -1
  1654. package/dist/ui/preview-popout.js +134 -0
  1655. package/dist/ui/reply-file-preview.js +65 -0
  1656. package/dist/ui/request-contact-card.js +287 -0
  1657. package/dist/ui/request-contact-client.js +83 -0
  1658. package/dist/ui/request-contact-page.js +78 -0
  1659. package/dist/ui/request-context-control.js +209 -0
  1660. package/dist/ui/runtime-cli-install.js +3 -2
  1661. package/dist/ui/runtime-commands.d.ts +2 -2
  1662. package/dist/ui/runtime-commands.js +7 -4
  1663. package/dist/ui/runtime-update-status.js +1 -1
  1664. package/dist/ui/search-dialog.js +8 -1
  1665. package/dist/ui/settings-access-overview.js +5 -4
  1666. package/dist/ui/settings-access-strings.js +1 -1
  1667. package/dist/ui/settings-appearance.js +15 -12
  1668. package/dist/ui/settings-apply.js +8 -3
  1669. package/dist/ui/settings-archive-files.js +109 -0
  1670. package/dist/ui/settings-build-version.js +2 -2
  1671. package/dist/ui/settings-capabilities.js +2 -0
  1672. package/dist/ui/settings-catalog.js +22 -0
  1673. package/dist/ui/settings-connector-strings.js +23 -0
  1674. package/dist/ui/settings-connector.js +40 -0
  1675. package/dist/ui/settings-default-model-scope.js +40 -0
  1676. package/dist/ui/settings-default-model-strings.js +43 -0
  1677. package/dist/ui/settings-dialogs.js +9 -5
  1678. package/dist/ui/settings-guests-entries.js +16 -0
  1679. package/dist/ui/settings-guests.js +61 -18
  1680. package/dist/ui/settings-host-alerts.js +23 -0
  1681. package/dist/ui/settings-host-monitoring.js +71 -0
  1682. package/dist/ui/settings-hub-connection.js +6 -7
  1683. package/dist/ui/settings-hub-member-address.js +2 -1
  1684. package/dist/ui/settings-hub-membership.js +6 -7
  1685. package/dist/ui/settings-hub-page-sharing.js +52 -0
  1686. package/dist/ui/settings-hub-section.js +2 -4
  1687. package/dist/ui/settings-hub-setup-strings.js +1 -1
  1688. package/dist/ui/settings-hub-setup.js +4 -2
  1689. package/dist/ui/settings-hub-updates.js +67 -0
  1690. package/dist/ui/settings-hub-web-address.js +2 -1
  1691. package/dist/ui/settings-hub.js +37 -8
  1692. package/dist/ui/settings-layout.js +18 -15
  1693. package/dist/ui/settings-model.js +9 -5
  1694. package/dist/ui/settings-named-test.js +16 -16
  1695. package/dist/ui/settings-preview-address.js +156 -0
  1696. package/dist/ui/settings-public-session-strings.js +2 -2
  1697. package/dist/ui/settings-quota-notice.js +3 -3
  1698. package/dist/ui/settings-registry.js +32 -5
  1699. package/dist/ui/settings-revoke-strings.js +1 -1
  1700. package/dist/ui/settings-shared-strings.js +35 -2
  1701. package/dist/ui/settings-shared.js +67 -14
  1702. package/dist/ui/settings-strings.js +58 -49
  1703. package/dist/ui/settings-update.js +28 -7
  1704. package/dist/ui/settings-web-authority.js +9 -6
  1705. package/dist/ui/shared/access-overview.css +2 -2
  1706. package/dist/ui/shared/accounts-keepalive.css +1 -1
  1707. package/dist/ui/shared/accounts.css +9 -5
  1708. package/dist/ui/shared/agent-sheet.js +121 -0
  1709. package/dist/ui/shared/agent-widget.js +1 -2
  1710. package/dist/ui/shared/app-i18n.js +12 -4
  1711. package/dist/ui/shared/app-install.js +123 -0
  1712. package/dist/ui/shared/app-nav.js +9 -5
  1713. package/dist/ui/shared/app-needs.js +8 -1
  1714. package/dist/ui/shared/app-prefs.js +9 -3
  1715. package/dist/ui/shared/app-route.js +5 -3
  1716. package/dist/ui/shared/app-session.js +4 -3
  1717. package/dist/ui/shared/app-shell.js +218 -46
  1718. package/dist/ui/shared/app-store.js +7 -3
  1719. package/dist/ui/shared/app-stream.js +11 -2
  1720. package/dist/ui/shared/app-swipe.js +3 -1
  1721. package/dist/ui/shared/app-themes.js +3 -5
  1722. package/dist/ui/shared/app-update.js +107 -10
  1723. package/dist/ui/shared/app.css +1398 -275
  1724. package/dist/ui/shared/app.js +34 -5
  1725. package/dist/ui/shared/asset-url.d.ts +2 -0
  1726. package/dist/ui/shared/asset-url.js +20 -0
  1727. package/dist/ui/shared/chat-composer.js +30 -8
  1728. package/dist/ui/shared/chat-msg-actions.js +233 -0
  1729. package/dist/ui/shared/chat-quote.js +285 -0
  1730. package/dist/ui/shared/chat-render.js +63 -10
  1731. package/dist/ui/shared/chat-strings.js +49 -24
  1732. package/dist/ui/shared/chat-table-select.js +175 -0
  1733. package/dist/ui/shared/chat-thread.js +181 -29
  1734. package/dist/ui/shared/chat-time.js +7 -4
  1735. package/dist/ui/shared/chat-work-bar.css +97 -15
  1736. package/dist/ui/shared/clock-text.js +57 -0
  1737. package/dist/ui/shared/composer-focus.js +21 -0
  1738. package/dist/ui/shared/connector-prompt.d.ts +3 -0
  1739. package/dist/ui/shared/connector-prompt.js +20 -0
  1740. package/dist/ui/shared/device-roles.js +6 -5
  1741. package/dist/ui/shared/hub-ai-apps.css +12 -0
  1742. package/dist/ui/shared/hub-chat.css +114 -4
  1743. package/dist/ui/shared/hub-groups.css +19 -15
  1744. package/dist/ui/shared/hub-my-agents.css +41 -0
  1745. package/dist/ui/shared/hub-owner.css +123 -3
  1746. package/dist/ui/shared/hub-roles.css +99 -0
  1747. package/dist/ui/shared/hub-rooms-u2.css +98 -0
  1748. package/dist/ui/shared/hub-signin.css +2 -0
  1749. package/dist/ui/shared/hub.css +23 -5
  1750. package/dist/ui/shared/image-annotate.css +22 -3
  1751. package/dist/ui/shared/image-annotate.js +416 -0
  1752. package/dist/ui/shared/image-lightbox.js +218 -0
  1753. package/dist/ui/shared/image-zoom.js +316 -0
  1754. package/dist/ui/shared/info-tip.js +64 -0
  1755. package/dist/ui/shared/instance-nav.js +197 -21
  1756. package/dist/ui/shared/jump-idle.js +36 -0
  1757. package/dist/ui/shared/loading.css +1 -1
  1758. package/dist/ui/shared/model-picker.css +28 -1
  1759. package/dist/ui/shared/module-warm.d.ts +3 -0
  1760. package/dist/ui/shared/module-warm.js +39 -0
  1761. package/dist/ui/shared/office-dialogue.css +122 -0
  1762. package/dist/ui/shared/owner-css.js +1 -1
  1763. package/dist/ui/shared/panel-view.js +7 -1
  1764. package/dist/ui/shared/preview-panel-actions.js +1 -1
  1765. package/dist/ui/shared/preview-panel.js +51 -21
  1766. package/dist/ui/shared/preview-popout.css +11 -0
  1767. package/dist/ui/shared/preview.js +11 -2
  1768. package/dist/ui/shared/reply-previews.css +4 -0
  1769. package/dist/ui/shared/runtime-install.css +5 -0
  1770. package/dist/ui/shared/settings-connector.css +7 -0
  1771. package/dist/ui/shared/signin.js +27 -12
  1772. package/dist/ui/shared/task-board.css +733 -11
  1773. package/dist/ui/shared/text-undo.js +17 -3
  1774. package/dist/ui/shared/theme-picker.js +46 -0
  1775. package/dist/ui/shared/theme.js +101 -2
  1776. package/dist/ui/shared/tokens.css +318 -13
  1777. package/dist/ui/shared/ui-confirm.js +10 -5
  1778. package/dist/ui/shared/ui-icons.js +7 -0
  1779. package/dist/ui/shared/ui-menu.js +17 -11
  1780. package/dist/ui/shared/ui-states.js +9 -2
  1781. package/dist/ui/shared/ui-toast.js +4 -4
  1782. package/dist/ui/shared/update-card-ui.js +586 -0
  1783. package/dist/ui/shared/usage-dialog.js +90 -18
  1784. package/dist/ui/shared/view-history.js +2 -1
  1785. package/dist/ui/shared/view-strings.js +57 -13
  1786. package/dist/ui/shared/web-authorize.js +6 -5
  1787. package/dist/ui/shared/workspace.css +7 -0
  1788. package/dist/ui/signin.html +4 -2
  1789. package/dist/ui/structured-signin.js +64 -12
  1790. package/dist/ui/subagent-row.js +5 -3
  1791. package/dist/ui/task-unread.js +70 -0
  1792. package/dist/ui/trigger-complete.js +71 -0
  1793. package/dist/ui/usage-credits-card.js +84 -0
  1794. package/dist/ui/usage-pool.js +2 -1
  1795. package/dist/ui/web-terminal/terminal.css +1 -1
  1796. package/dist/ui/windows-cli-catalog.js +33 -6
  1797. package/dist/ui/workspace-ignored-strings.js +16 -0
  1798. package/dist/ui/workspace-panel.js +21 -10
  1799. package/dist/update-abandon.d.ts +26 -0
  1800. package/dist/update-abandon.js +111 -0
  1801. package/dist/update-abandon.js.map +1 -0
  1802. package/dist/update-card.d.ts +193 -0
  1803. package/dist/update-card.js +620 -0
  1804. package/dist/update-card.js.map +1 -0
  1805. package/dist/update-dispatch.d.ts +24 -2
  1806. package/dist/update-dispatch.js +28 -5
  1807. package/dist/update-dispatch.js.map +1 -1
  1808. package/dist/update-fix.d.ts +66 -0
  1809. package/dist/update-fix.js +67 -0
  1810. package/dist/update-fix.js.map +1 -0
  1811. package/dist/update-forward.d.ts +59 -0
  1812. package/dist/update-forward.js +227 -0
  1813. package/dist/update-forward.js.map +1 -0
  1814. package/dist/update-goback.d.ts +90 -0
  1815. package/dist/update-goback.js +272 -0
  1816. package/dist/update-goback.js.map +1 -0
  1817. package/dist/update-idle.d.ts +66 -0
  1818. package/dist/update-idle.js +199 -0
  1819. package/dist/update-idle.js.map +1 -0
  1820. package/dist/update-install.d.ts +2 -1
  1821. package/dist/update-install.js +18 -10
  1822. package/dist/update-install.js.map +1 -1
  1823. package/dist/update-journal.d.ts +359 -0
  1824. package/dist/update-journal.js +723 -0
  1825. package/dist/update-journal.js.map +1 -0
  1826. package/dist/update-launch.d.ts +1 -1
  1827. package/dist/update-launch.js +10 -3
  1828. package/dist/update-launch.js.map +1 -1
  1829. package/dist/update-npm-env.d.ts +45 -12
  1830. package/dist/update-npm-env.js +48 -0
  1831. package/dist/update-npm-env.js.map +1 -1
  1832. package/dist/update-package-restore.d.ts +84 -0
  1833. package/dist/update-package-restore.js +329 -0
  1834. package/dist/update-package-restore.js.map +1 -0
  1835. package/dist/update-quiescence.d.ts +221 -0
  1836. package/dist/update-quiescence.js +370 -0
  1837. package/dist/update-quiescence.js.map +1 -0
  1838. package/dist/update-readiness-host.d.ts +61 -0
  1839. package/dist/update-readiness-host.js +297 -0
  1840. package/dist/update-readiness-host.js.map +1 -0
  1841. package/dist/update-readiness.d.ts +85 -0
  1842. package/dist/update-readiness.js +463 -0
  1843. package/dist/update-readiness.js.map +1 -0
  1844. package/dist/update-recovery/kit.d.ts +35 -0
  1845. package/dist/update-recovery/kit.js +99 -0
  1846. package/dist/update-recovery/kit.js.map +1 -0
  1847. package/dist/update-recovery/pre-start.d.ts +34 -0
  1848. package/dist/update-recovery/pre-start.js +103 -0
  1849. package/dist/update-recovery/pre-start.js.map +1 -0
  1850. package/dist/update-recovery/recover-main.d.ts +1 -0
  1851. package/dist/update-recovery/recover-main.js +4 -0
  1852. package/dist/update-recovery/recover-main.js.map +1 -0
  1853. package/dist/update-recovery/recover.d.ts +22 -0
  1854. package/dist/update-recovery/recover.js +134 -0
  1855. package/dist/update-recovery/recover.js.map +1 -0
  1856. package/dist/update-recovery/route.d.ts +53 -0
  1857. package/dist/update-recovery/route.js +262 -0
  1858. package/dist/update-recovery/route.js.map +1 -0
  1859. package/dist/update-recovery/runner.d.ts +62 -0
  1860. package/dist/update-recovery/runner.js +229 -0
  1861. package/dist/update-recovery/runner.js.map +1 -0
  1862. package/dist/update-recovery/service-manager.d.ts +39 -0
  1863. package/dist/update-recovery/service-manager.js +57 -0
  1864. package/dist/update-recovery/service-manager.js.map +1 -0
  1865. package/dist/update-restore.d.ts +50 -0
  1866. package/dist/update-restore.js +360 -0
  1867. package/dist/update-restore.js.map +1 -0
  1868. package/dist/update-retained.d.ts +65 -0
  1869. package/dist/update-retained.js +116 -0
  1870. package/dist/update-retained.js.map +1 -0
  1871. package/dist/update-rollback.d.ts +74 -0
  1872. package/dist/update-rollback.js +221 -0
  1873. package/dist/update-rollback.js.map +1 -0
  1874. package/dist/update-settings.d.ts +63 -0
  1875. package/dist/update-settings.js +162 -0
  1876. package/dist/update-settings.js.map +1 -0
  1877. package/dist/update-snapshot-manifest.d.ts +32 -0
  1878. package/dist/update-snapshot-manifest.js +65 -0
  1879. package/dist/update-snapshot-manifest.js.map +1 -0
  1880. package/dist/update-snapshot-scope.d.ts +67 -0
  1881. package/dist/update-snapshot-scope.js +174 -0
  1882. package/dist/update-snapshot-scope.js.map +1 -0
  1883. package/dist/update-snapshot.d.ts +34 -0
  1884. package/dist/update-snapshot.js +246 -0
  1885. package/dist/update-snapshot.js.map +1 -0
  1886. package/dist/update-writers.d.ts +71 -0
  1887. package/dist/update-writers.js +235 -0
  1888. package/dist/update-writers.js.map +1 -0
  1889. package/dist/usage/i18n-keys.d.ts +1 -1
  1890. package/dist/usage/i18n-keys.js +10 -1
  1891. package/dist/usage/i18n-keys.js.map +1 -1
  1892. package/dist/usage/profile-timeline.d.ts +2 -0
  1893. package/dist/usage/profile-timeline.js +4 -0
  1894. package/dist/usage/profile-timeline.js.map +1 -1
  1895. package/dist/usage/providers.d.ts +4 -11
  1896. package/dist/usage/providers.js +109 -134
  1897. package/dist/usage/providers.js.map +1 -1
  1898. package/dist/usage/usage-api.js +5 -2
  1899. package/dist/usage/usage-api.js.map +1 -1
  1900. package/dist/wake-coordinator.js +3 -2
  1901. package/dist/wake-coordinator.js.map +1 -1
  1902. package/dist/web-api.d.ts +132 -9
  1903. package/dist/web-api.js +1468 -242
  1904. package/dist/web-api.js.map +1 -1
  1905. package/dist/web-asset-version.d.ts +65 -0
  1906. package/dist/web-asset-version.js +259 -0
  1907. package/dist/web-asset-version.js.map +1 -0
  1908. package/dist/web-backend-login.d.ts +5 -1
  1909. package/dist/web-backend-login.js +8 -2
  1910. package/dist/web-backend-login.js.map +1 -1
  1911. package/dist/web-chat-archive.d.ts +147 -0
  1912. package/dist/web-chat-archive.js +530 -0
  1913. package/dist/web-chat-archive.js.map +1 -0
  1914. package/dist/web-chat-history.d.ts +137 -2
  1915. package/dist/web-chat-history.js +335 -12
  1916. package/dist/web-chat-history.js.map +1 -1
  1917. package/dist/web-claude-credentials.d.ts +31 -0
  1918. package/dist/web-claude-credentials.js +138 -0
  1919. package/dist/web-claude-credentials.js.map +1 -0
  1920. package/dist/web-commands.d.ts +9 -5
  1921. package/dist/web-commands.js +7 -4
  1922. package/dist/web-commands.js.map +1 -1
  1923. package/dist/web-guest-access.d.ts +3 -0
  1924. package/dist/web-guest-access.js +8 -4
  1925. package/dist/web-guest-access.js.map +1 -1
  1926. package/dist/web-host-guard.js +3 -1
  1927. package/dist/web-host-guard.js.map +1 -1
  1928. package/dist/web-host-install.d.ts +30 -3
  1929. package/dist/web-host-install.js +50 -4
  1930. package/dist/web-host-install.js.map +1 -1
  1931. package/dist/web-icons.d.ts +20 -3
  1932. package/dist/web-icons.js +79 -10
  1933. package/dist/web-icons.js.map +1 -1
  1934. package/dist/web-login.d.ts +13 -1
  1935. package/dist/web-login.js +16 -4
  1936. package/dist/web-login.js.map +1 -1
  1937. package/dist/web-mentions.d.ts +29 -8
  1938. package/dist/web-mentions.js +128 -1
  1939. package/dist/web-mentions.js.map +1 -1
  1940. package/dist/web-notices.d.ts +20 -0
  1941. package/dist/web-notices.js +64 -8
  1942. package/dist/web-notices.js.map +1 -1
  1943. package/dist/web-office-acts.d.ts +16 -0
  1944. package/dist/web-office-acts.js +30 -9
  1945. package/dist/web-office-acts.js.map +1 -1
  1946. package/dist/web-office-pack-read.js +1 -1
  1947. package/dist/web-office-pack-read.js.map +1 -1
  1948. package/dist/web-office-skins.d.ts +19 -6
  1949. package/dist/web-office-skins.js +85 -36
  1950. package/dist/web-office-skins.js.map +1 -1
  1951. package/dist/web-office-store.d.ts +2 -0
  1952. package/dist/web-office-store.js +20 -6
  1953. package/dist/web-office-store.js.map +1 -1
  1954. package/dist/web-pin-store.d.ts +58 -0
  1955. package/dist/web-pin-store.js +170 -0
  1956. package/dist/web-pin-store.js.map +1 -0
  1957. package/dist/web-prefs.js +5 -1
  1958. package/dist/web-prefs.js.map +1 -1
  1959. package/dist/web-preview.d.ts +5 -0
  1960. package/dist/web-preview.js +1 -1
  1961. package/dist/web-preview.js.map +1 -1
  1962. package/dist/web-reply-files.d.ts +1 -0
  1963. package/dist/web-reply-files.js +2 -0
  1964. package/dist/web-reply-files.js.map +1 -1
  1965. package/dist/web-session-authorization.d.ts +27 -0
  1966. package/dist/web-session-authorization.js +32 -0
  1967. package/dist/web-session-authorization.js.map +1 -1
  1968. package/dist/web-session.d.ts +26 -5
  1969. package/dist/web-session.js +32 -3
  1970. package/dist/web-session.js.map +1 -1
  1971. package/dist/web-settings-patch.d.ts +51 -3
  1972. package/dist/web-settings-patch.js +124 -1
  1973. package/dist/web-settings-patch.js.map +1 -1
  1974. package/dist/web-shell-routes.d.ts +2 -2
  1975. package/dist/web-shell-routes.js +3 -2
  1976. package/dist/web-shell-routes.js.map +1 -1
  1977. package/dist/web-terminal.d.ts +9 -0
  1978. package/dist/web-terminal.js +27 -1
  1979. package/dist/web-terminal.js.map +1 -1
  1980. package/dist/web-theme.js +2 -2
  1981. package/dist/web-update.d.ts +30 -1
  1982. package/dist/web-upload.d.ts +37 -1
  1983. package/dist/web-upload.js +105 -5
  1984. package/dist/web-upload.js.map +1 -1
  1985. package/dist/windows-agents.d.ts +36 -2
  1986. package/dist/windows-agents.js +115 -4
  1987. package/dist/windows-agents.js.map +1 -1
  1988. package/dist/windows-cli-api.d.ts +10 -7
  1989. package/dist/windows-cli-api.js +17 -14
  1990. package/dist/windows-cli-api.js.map +1 -1
  1991. package/dist/windows-cli-worker.d.ts +10 -0
  1992. package/dist/windows-cli-worker.js +118 -15
  1993. package/dist/windows-cli-worker.js.map +1 -1
  1994. package/dist/windows-cli.d.ts +65 -2
  1995. package/dist/windows-cli.js +192 -28
  1996. package/dist/windows-cli.js.map +1 -1
  1997. package/dist/windows-native-mcp.js +5 -2
  1998. package/dist/windows-native-mcp.js.map +1 -1
  1999. package/dist/windows-shortcuts.d.ts +3 -22
  2000. package/dist/windows-shortcuts.js +5 -45
  2001. package/dist/windows-shortcuts.js.map +1 -1
  2002. package/dist/workflow-templates/default.md +8 -8
  2003. package/dist/wsl-host.d.ts +52 -0
  2004. package/dist/wsl-host.js +97 -0
  2005. package/dist/wsl-host.js.map +1 -0
  2006. package/launcher/agend +4 -1
  2007. package/launcher/agend-agent +4 -1
  2008. package/launcher/agend-install.cjs +63 -14
  2009. package/launcher/install-admission.d.cts +8 -0
  2010. package/launcher/npm-allow-scripts.cjs +72 -0
  2011. package/launcher/npm-global-prefix.cjs +81 -0
  2012. package/launcher/postinstall.cjs +9 -8
  2013. package/launcher/runtime-select.cjs +8 -2
  2014. package/package.json +4 -3
  2015. package/scripts/preinstall-guard.cjs +1 -1
  2016. package/templates/runtime-install/install.ps1 +24 -4
@@ -1,11 +1,34 @@
1
+ import { type RequestContextExecOwner } from "./request-context-exec-owner.js";
2
+ import type { RequestContactGateHost, RequestContactGate } from "./request-contact-gate.js";
3
+ import { RequestContextLocalTurns } from "./request-context-turns.js";
4
+ import { RequestHubInputResolver } from "./request-context-hub-resolver.js";
5
+ import type { RequestContextV1 } from "./request-context-protocol.js";
6
+ import { RequestContextBoot } from "./request-context-boot.js";
7
+ import type { RequestContextControlHost, RequestContextControlPrincipal } from "./request-context-control-api.js";
8
+ import { RequestContextPreparedWork } from "./request-context-work.js";
9
+ import type { RequestContextStartPreparation, RequestContextDaemonWork } from "./request-context-start.js";
10
+ import { type RequestContextAdmissionPort } from "./request-context-admission.js";
11
+ import { RequestContextPendingWork } from "./request-context-pending-work.js";
12
+ import { type RequestContextPolicyPort } from "./request-context-policy.js";
13
+ import type { RequestContactApiHost } from "./request-contact-api.js";
14
+ import type { RequestContactPrincipal } from "./request-contact-types.js";
15
+ import type { RequestContactCards } from "./request-contact-card.js";
16
+ import { type RequestContextRegistrationGate } from "./request-context-fence.js";
17
+ type HubHeldCloseOutcome = import("./hub/question-close-model.js").HubHeldCloseOutcome;
18
+ import { type HostAlertSettings } from './host-monitoring-alert-settings.js';
19
+ import { type SetupTokenOwner, type SetupTokenRequest } from "./claude-setup-token.js";
20
+ import { type ClaudeCredentialKind, type ClaudeCredentialMetadata, type CredentialActor } from "./claude-credential-vault.js";
21
+ import { type ContactFileLease } from "./contact-auth-files.js";
22
+ import { type ContactOriginClear, type ContactPerson, type ContactPermissions, type ContactPermissionsWrite, type ContactTicket, type ContactTicketDecision } from "./contact-auth-types.js";
23
+ import { type HubSharingController } from "./hub-sharing-notice.js";
1
24
  import { type SettingsSummaryPresentation } from "./settings-summary.js";
2
25
  import { AgentRuntimeChanges } from "./agent-runtime-change.js";
3
- import { type HumanOrigin } from "./human-delivery-receipts.js";
26
+ import { type WebSessionIdentity, type HumanOrigin } from "./human-delivery-receipts.js";
4
27
  import { SettingsConfirmationStore, type SettingsPendingView } from "./settings-confirmation.js";
5
28
  import { type GeneralSwitchInput } from "./general-binding.js";
6
29
  import { SettingsExecution } from "./settings-transaction.js";
7
30
  import { AppIconStore } from "./web-app-icon.js";
8
- import { type NamedTestResult } from "./tunnel/named-link-test.js";
31
+ import { type NamedTestResult, type PreviewRouteResult } from "./tunnel/named-link-test.js";
9
32
  import { OfficeShareService } from "./office-share-service.js";
10
33
  import { OfficeTalk } from "./office-talk.js";
11
34
  import { type OfficeShare } from "./office-share.js";
@@ -38,7 +61,7 @@ import { InstanceLifecycle, type TransitionHandle, type LifecycleContext } from
38
61
  import { type ArchiverContext } from "./topic-archiver.js";
39
62
  import { type StatuslineWatcherContext } from "./statusline-watcher.js";
40
63
  import { type OutboundContext } from "./outbound-handlers.js";
41
- import { DeliveryOutbox, type DeliveryStatusSelector, type DeliveryStatusPage } from "./delivery-outbox.js";
64
+ import { DeliveryOutbox, type DeliveryStatusSelector, type DeliveryStatusPage, type NoticeProgress } from "./delivery-outbox.js";
42
65
  export declare const DURABLE_DELIVERY_LANE_ALERT_MS: number;
43
66
  /**
44
67
  * #1335: Cap an unfiltered task list at 100 rows (most recently updated first).
@@ -77,6 +100,7 @@ import { RuntimeInstallService } from "./runtime-install.js";
77
100
  import { RuntimeCoordinator } from "./runtime-coordinator.js";
78
101
  import { FleetWindowsRuntime, type NativeRuntimePatch } from "./fleet-windows-runtime.js";
79
102
  import { NativeMcpSessions } from "./native-mcp.js";
103
+ import type { RequestContextLocalCall } from "./request-context-call.js";
80
104
  import { type LogAnswer, type LogQuery } from "./log-service.js";
81
105
  import { type ViewHistoryAnswer, type ViewHistoryQuery } from "./view-history.js";
82
106
  import { WebChatHistory, type WebChatPost } from "./web-chat-history.js";
@@ -86,6 +110,7 @@ import { WebPrefsStore } from "./web-prefs.js";
86
110
  import { OwnerCssStore } from "./web-owner-css-store.js";
87
111
  import { ThemeStore } from "./web-theme-store.js";
88
112
  import { OfficeStore, OfficeWriteLimiter } from "./web-office-store.js";
113
+ import { WebPinStore } from "./web-pin-store.js";
89
114
  import { OfficeSkinStore } from "./web-office-skins.js";
90
115
  import { OfficeActs } from "./web-office-acts.js";
91
116
  import { OfficePackTools } from "./web-office-pack-tools.js";
@@ -102,8 +127,11 @@ import { SearchIndex } from "./search/search-index.js";
102
127
  import { type CrossInstanceRecord, type XmsgVisibility } from "./search/search-docs.js";
103
128
  import { WebSettingsTools } from "./web-settings-tools.js";
104
129
  import { type Delegation, type TrafficItem } from "./fleet-traffic.js";
130
+ import { type QuiescenceGate } from "./update-quiescence.js";
131
+ import { type UpdateCardView } from "./update-card.js";
105
132
  import { type WebUpdateHost } from "./web-update.js";
106
133
  import { WebBackendLogins, type SignInTarget } from "./web-backend-login.js";
134
+ import { type ClaudeInstall } from "./claude-install-kind.js";
107
135
  import { WebHostInstalls, type HostInstallMode, type HostInstallReporter, type HostInstallStart } from "./web-host-install.js";
108
136
  import { BrowserBackendSignIns } from "./browser-backend-signins.js";
109
137
  import { type ClassicProfileSwitch, type RawConfigPatch } from "./settings-api.js";
@@ -143,6 +171,7 @@ import { type SignOutResult } from "./accounts-signout.js";
143
171
  import { MachineAccounts, type MachineActor, type MachineAccountResult } from "./machine-accounts.js";
144
172
  import { MachineSignIns } from "./machine-signins.js";
145
173
  import { ProfileSignIns } from "./profile-signins.js";
174
+ import { type RestartProgressSummary } from "./restart-progress.js";
146
175
  import { StormWindow } from "./storm-window.js";
147
176
  import { SpawnGate } from "./spawn-gate.js";
148
177
  import { BackendOutageTracker } from "./backend-outage.js";
@@ -264,6 +293,12 @@ export interface DeliveryOptions {
264
293
  */
265
294
  onStartRetryHold?: () => void;
266
295
  }
296
+ /**
297
+ * M-3864 R2: the chat card's Tonight: 22:00 in the fleet's zone (`defaults.scheduler.default_timezone`, else the machine's),
298
+ * the next one when today's is under 30 min away. Before, 22:00 on the machine's clock: on a UTC server for a Taipei fleet
299
+ * that was 06:00 the next morning.
300
+ */
301
+ export declare function updateTonightAt(now: number, tz: string): number;
267
302
  export declare const LOGIN_CALLBACK_PREFIX = "login:";
268
303
  /**
269
304
  * Upper bound on a live probe driven by `/model`.
@@ -288,6 +323,8 @@ export declare const LOGIN_CALLBACK_PREFIX = "login:";
288
323
  */
289
324
  /** #1690: how long `/model` waits for the daemon's word on our own runtime switch (its dialog wait plus settling). */
290
325
  export declare const RUNTIME_SWITCH_RESULT_MS = 12000;
326
+ /** M-3175: a codex switch may wait up to a minute for its pane to be idle, then up to 10 s for codex to record it. */
327
+ export declare const CODEX_RUNTIME_SWITCH_RESULT_MS = 80000;
291
328
  export declare const CLI_ENV_PROBE_DEADLINE_MS = 16000;
292
329
  /**
293
330
  * How many CLIs may cold-start at once, from BOTH memory and cores.
@@ -317,11 +354,22 @@ export type GuestAuditEntry = {
317
354
  name: string;
318
355
  outcome: string;
319
356
  };
357
+ /** M-3302: what a delivery log line says of a notice — its first line, places as plain text, at most 100 characters. */
358
+ export declare function noticePreview(text: string): string;
320
359
  /** #1490 row 27: a restart asked for one lifecycle of an instance after it was stopped, restarted or replaced. */
321
360
  export declare class RestartSupersededError extends Error {
322
361
  /** `shown`: the instance as the chat list names it (shownInstanceName). */
323
362
  constructor(shown: string);
324
363
  }
364
+ interface RequestContextNativeGraph {
365
+ readonly registration: RequestContextRegistrationGate;
366
+ readonly panes: import("./request-context-pane.js").RequestContextPaneProofs;
367
+ readonly execTurns: Parameters<FleetWindowsRuntime["setRequestContextExecLifecycles"]>[0];
368
+ readonly execOwner: Parameters<FleetWindowsRuntime["setRequestContextExecLifecycles"]>[1];
369
+ readonly execInput: NonNullable<Parameters<FleetWindowsRuntime["setRequestContextExecLifecycles"]>[3]>;
370
+ /** Process/graph ownership, independent of the confirming browser and transport readiness. */
371
+ current(): boolean;
372
+ }
325
373
  export declare class FleetManager implements FleetContext, LifecycleContext, ArchiverContext, StatuslineWatcherContext, OutboundContext, AgentEndpointContext {
326
374
  dataDir: string;
327
375
  private decisionSnapshot;
@@ -329,11 +377,242 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
329
377
  private static sighupHandlerInstalled;
330
378
  /** Test seam: inject a spy to verify saveFleetConfig calls fsync. Default: fsyncSync. */
331
379
  fsyncForTest: ((fd: number) => void) | undefined;
380
+ private requestContextAdmission?;
381
+ private requestContextBoot?;
382
+ private requestContextModes?;
383
+ private requestContextControlBox?;
384
+ private requestContextDrainTimer?;
385
+ private requestContextAttentionSince?;
386
+ private requestContextCollectionTimer?;
387
+ private requestContextCutoverErrors;
388
+ private readonly requestContextRetirementProofs;
389
+ private requestContextRootRetired;
390
+ private ownRequestContextModes;
391
+ private requestContextFirstOn?;
392
+ prepareRequestContextOwnerRegistration?: (name: string, config: InstanceConfig) => Promise<void>;
393
+ requestContextOwnerStarted?: (name: string, daemon: Daemon) => void;
394
+ private requestContextRetainedFactory?;
395
+ private requestContextFactoryOwner?;
396
+ prepareRequestContextStart?: (name: string, config: InstanceConfig) => RequestContextStartPreparation;
397
+ configureRequestContextBeforeStart?: (name: string, daemon: Daemon, config: InstanceConfig, preparation?: RequestContextStartPreparation) => void;
398
+ /** First-On owner attachment, not activation. Called only by the confirmed Settings controller.
399
+ * A failed attempt reuses this process-owned admission port; it never leaves a false capable boot installed.
400
+ */
401
+ prepareRequestContextFirstOn(): Readonly<{
402
+ boot: RequestContextBoot;
403
+ fence: {
404
+ current(): boolean;
405
+ owned(): boolean;
406
+ };
407
+ current: () => boolean;
408
+ /** The actual activation transaction already committed; only then publish capable policy ownership. */
409
+ adoptCommitted: (epoch: string) => {
410
+ revision: number;
411
+ epoch: string;
412
+ owner: string;
413
+ mode: "active" | "draining" | "off";
414
+ drainRootsSha256?: string | undefined;
415
+ };
416
+ /** Physical candidates/ports and the staged connection must be undone first by their owning orchestration. */
417
+ abandon: () => void;
418
+ }>;
419
+ /** Same-manager stop/start must reconstruct behind a new lease, never reuse an old published graph. */
420
+ private resetStoppedRequestContextAssembly;
421
+ /** Retry only a never-published, never-started construction; durable malformed state still refuses. */
422
+ private resetRequestContextUnpublishedPreparation;
423
+ prepareRequestContextCapableBoot(rootRetired: (drain: import("./request-context-drain.js").RequestContextDrain, root: string) => boolean): Promise<Readonly<{
424
+ boot: RequestContextBoot;
425
+ drain: import("./request-context-drain.js").RequestContextDrain;
426
+ off: import("./request-context-off.js").RequestContextOffOwner<import("./request-context-boot.js").RequestContextBootPorts>;
427
+ recordHuman: import("./request-context-boot.js").RequestContextServingIngress["human"];
428
+ retireRoot(root: string): number;
429
+ current(): boolean;
430
+ publish(ready: () => boolean): import("./request-context-installation.js").RequestContextInstallationState;
431
+ factory: Readonly<{
432
+ current: () => boolean;
433
+ beforeStart: (name: string, config: InstanceConfig) => Promise<void>;
434
+ attach: () => void;
435
+ adopt: (values: readonly {
436
+ name: string;
437
+ daemon: Daemon;
438
+ prepared: ReturnType<FleetManager["prepareRequestContextDaemonOwner"]>;
439
+ resources: {
440
+ retired(): Promise<boolean>;
441
+ };
442
+ }[]) => void;
443
+ disposeStopped: (nativeRetired: () => boolean) => Promise<void>;
444
+ disposeUnstarted: () => void;
445
+ bound: (name: string, daemon: Daemon) => boolean;
446
+ retain: () => void;
447
+ seal: () => void;
448
+ disposeStaged: () => Promise<void>;
449
+ hub: (name: string) => RequestHubInputResolver | null;
450
+ execTurns: (name: string) => RequestContextLocalTurns;
451
+ execOwner: (name: string) => Readonly<import("./request-context-turns.js").RequestContextRuntimeOwner>;
452
+ execInput: (name: string, ...args: Parameters<RequestContextExecOwner["prepare"]>) => Readonly<{
453
+ inputId: string | null;
454
+ wireSha256: string;
455
+ claim: Readonly<import("./native-exec-input.js").NativeExecInputClaim>;
456
+ inputReady: () => Promise<boolean>;
457
+ current: () => boolean;
458
+ bind: (value: import("./request-context-turns.js").RequestContextTurnSnapshot) => void;
459
+ written: (value: Readonly<import("./native-exec-input.js").NativeExecInputProof>) => void;
460
+ finish: () => void;
461
+ }>;
462
+ revision: () => string;
463
+ turnView: (root: string) => {
464
+ registration: RequestContextRegistrationGate;
465
+ revision: string;
466
+ references: string[];
467
+ unknown: boolean;
468
+ };
469
+ callRevision: () => string;
470
+ callView: (root: string) => {
471
+ registration: RequestContextRegistrationGate;
472
+ revision: string;
473
+ references: string[];
474
+ unknown: boolean;
475
+ };
476
+ inputRevision: () => string;
477
+ inputView: (root: string) => {
478
+ registration: RequestContextRegistrationGate;
479
+ revision: string;
480
+ references: string[];
481
+ unknown: boolean;
482
+ };
483
+ }>;
484
+ }>>;
485
+ /** Exact persistent roster for controlled On; exec owners and durable drain assessment are separate required participants. */
486
+ private captureRequestContextOwnedLaunches;
487
+ /** Passive capture first; only prepare() may reconstruct owned transports after native graph staging.
488
+ * Required ids never shrink when retirement/disconnect removes a connection from the current roster.
489
+ */
490
+ captureRequestContextRuntimeSet(): Readonly<{
491
+ snapshot: () => {
492
+ requiredPeers: string[];
493
+ peers: (Readonly<{
494
+ id: string;
495
+ generation: string;
496
+ connected: true;
497
+ requestContextVersion: 0 | 1;
498
+ }> | {
499
+ id: string;
500
+ generation: string;
501
+ connected: boolean;
502
+ requestContextVersion: number;
503
+ })[];
504
+ };
505
+ labels: () => {
506
+ id: string;
507
+ label: string;
508
+ }[];
509
+ advertised: () => string[];
510
+ prepare: () => Promise<void>;
511
+ prove: () => Readonly<{
512
+ current: () => boolean;
513
+ }>;
514
+ }>;
515
+ /** The confirmed first-On controller owns this complete preparation. No durable activation or input publication
516
+ * happens here. Its readiness callbacks must come from the actual legacy drain and negotiated port inventories.
517
+ */
518
+ prepareRequestContextFirstOnAssembly(durableDrained: () => boolean, transportsReady: () => boolean, rootRetired: (drain: import("./request-context-drain.js").RequestContextDrain, root: string) => boolean, offer: import("./request-context-enable-offer.js").RequestContextEnableOffer, execution?: SettingsExecution, reconstructTransports?: () => Promise<void>): Promise<Readonly<{
519
+ boot: RequestContextBoot;
520
+ drain: import("./request-context-drain.js").RequestContextDrain;
521
+ registration: RequestContextRegistrationGate;
522
+ policy: RequestContextPolicyPort;
523
+ ready: () => boolean;
524
+ off: import("./request-context-off.js").RequestContextOffOwner<import("./request-context-boot.js").RequestContextBootPorts>;
525
+ offer: import("./request-context-enable-offer.js").RequestContextEnableOffer;
526
+ /** Call only inside the single installation.activate transaction. No publication or async work. */
527
+ initialize: () => void;
528
+ /** Synchronous post-COMMIT publication. Failure stays capable and fenced for recovery. */
529
+ publish: () => {
530
+ revision: number;
531
+ epoch: string;
532
+ owner: string;
533
+ mode: "active" | "draining" | "off";
534
+ drainRootsSha256?: string | undefined;
535
+ };
536
+ rollback: () => Promise<void>;
537
+ }>>;
538
+ /** First-On persistent replacements. This does not activate, publish, open admission or construct a native factory.
539
+ * The installer separately stages native factories and checks every transport before its one activation COMMIT.
540
+ */
541
+ prepareRequestContextPersistentRelaunch(policy: RequestContextPolicyPort, registration: RequestContextRegistrationGate, fence: {
542
+ current(): boolean;
543
+ owned(): boolean;
544
+ }, durableDrained: () => boolean, afterRetirement?: () => Promise<() => Promise<void>>, execution?: SettingsExecution): Promise<Readonly<{
545
+ ready: () => boolean;
546
+ owners: () => Readonly<{
547
+ name: string;
548
+ daemon: Daemon;
549
+ prepared: Readonly<{
550
+ preparation: RequestContextStartPreparation;
551
+ work: RequestContextPreparedWork;
552
+ configure: (candidate: Daemon, actual: InstanceConfig, offered: RequestContextStartPreparation | undefined) => void;
553
+ /** Ownership only, not readiness: the installer must independently prove all real transport ports. */
554
+ sealRegistered: () => void;
555
+ bound: () => boolean;
556
+ hub: () => RequestHubInputResolver | null;
557
+ dispose: () => void;
558
+ }>;
559
+ resources: {
560
+ retired(): Promise<boolean>;
561
+ };
562
+ }>[];
563
+ /** Synchronous initializer inside activation's outer SQLite transaction. */
564
+ retain: () => void;
565
+ /** Post-COMMIT only. The installer replaces the start hooks with its capable owner factory before releasing admission. */
566
+ seal: () => void;
567
+ executionCurrent: () => boolean;
568
+ releaseStartHooks: () => void;
569
+ rollback: () => Promise<void>;
570
+ }>>;
571
+ /** Shared input gate only; C/D scope binding remains a separate pre-start preparation. */
572
+ attachRequestContextAdmission(port: RequestContextAdmissionPort): void;
573
+ /** S-244: the quiescence barrier. Unset, every pane write and admission proceeds as today. */
574
+ private quiescence;
575
+ attachQuiescence(gate: QuiescenceGate | null): void;
576
+ private updateHandbackTimer;
577
+ /**
578
+ * M-3770 §2.3/§2.6 (rev 15): this fleet was restarted by an abandon as the attempt's `old` generation (its handoff
579
+ * nonce): it takes the held inbox and deferred jobs back. The first walk runs during the start, before the web chat,
580
+ * the adapters and the agents open any ingress, so a held copy keeps its place ahead of anything newer (Fable #4536
581
+ * design 3b): it waits, bounded, for the abandon driver to journal `restart-old`. Later walks every 10 s pick up
582
+ * stragglers until `hand-back` is journaled or the attempt closes.
583
+ */
584
+ private startUpdateHandback;
585
+ private walkUpdateHandback;
586
+ /** §2.6 ports, rev 15 (Fable #4536 design): the pump owns a handed-back row again; copies go in as their own kind. */
587
+ private updateHandbackPorts;
332
588
  private children;
333
589
  readonly lifecycle: InstanceLifecycle;
334
590
  readonly stormWindow: StormWindow;
335
591
  readonly spawnGate: SpawnGate;
336
592
  readonly memoryPressure: MemoryPressure;
593
+ private hostFootprint;
594
+ private hostFootprintEnabled;
595
+ private hostFootprintLabels;
596
+ private hostFootprintRoots;
597
+ private hostMonitor;
598
+ private hostHistory;
599
+ private hostAlerts;
600
+ private hostAlertConfig;
601
+ private hostAlertSettingsLoaded;
602
+ private hostAlertSettingsFailed;
603
+ private startHostMonitoringRuntime;
604
+ hostHistoryQuery(range: unknown, series: unknown): Promise<import('./host-monitoring-history.js').HostHistoryResult>;
605
+ hostMonitoringPlatform(): import('./host-monitoring.js').MonitoringPlatform;
606
+ hostMonitoringAvailable(): boolean;
607
+ private hostHealthSnapshotInternal;
608
+ hostHealthSnapshot(agentOffset?: number): import("./host-monitoring.js").HostHealthSnapshot;
609
+ hostAlertSettings(): HostAlertSettings;
610
+ saveHostAlertSettings(input: unknown): HostAlertSettings;
611
+ hostAlertAction(key: string, revision: number, actor: string, snoozeMs?: number): Promise<boolean>;
612
+ private hostNeedsYouItems;
613
+ /** Effective Settings view: the drive is intentionally outside FleetConfig/fleet.yaml. */
614
+ hostMonitoringSettings(): import('./host-monitoring-config.js').HostMonitoringConfig;
615
+ saveHostMonitoringSettings(patch: Partial<import('./host-monitoring-config.js').HostMonitoringConfig>): import('./host-monitoring-config.js').HostMonitoringConfig;
337
616
  /** Fleet-level backend reachability memory (fed by pty_error / startup panes). */
338
617
  readonly backendOutage: BackendOutageTracker;
339
618
  /** Stable for this FleetManager OS-process lifetime; Daemon objects have their own boot IDs. */
@@ -366,6 +645,23 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
366
645
  fleetConfig: FleetConfig | null;
367
646
  private fleetWindowsRuntime;
368
647
  private nativeMcpStore;
648
+ readonly requestContextPendingWork: RequestContextPendingWork;
649
+ private readonly requestContextIpcCalls;
650
+ private requestContextFleetCalls;
651
+ setRequestContextDrainRegistration(registration: RequestContextRegistrationGate): void;
652
+ /** Unpublished first-On registration. Only an empty, physically disconnected attempt can restore its prior map. */
653
+ stageRequestContextFleetRegistration(registration: RequestContextRegistrationGate, current: () => boolean): Readonly<{
654
+ current: () => boolean;
655
+ restore: () => void;
656
+ }>;
657
+ get requestContextFleetDrainRevision(): string;
658
+ requestContextFleetDrainView(rootId: string): import("./request-context-fence.js").RequestContextDrainView;
659
+ private finishRequestContextIpcCall;
660
+ private purgeRequestContextIpcCalls;
661
+ private observeRequestContextResponses;
662
+ /** Captured at IPC arrival, not a later lookup of this instance's current turn. */
663
+ requestContextCallOf(message: object): RequestContextLocalCall | null;
664
+ private captureRequestContextIpcCall;
369
665
  private paneManager;
370
666
  private localPaneRelay;
371
667
  private openingLocalPane;
@@ -400,6 +696,29 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
400
696
  private runtimeExecutor;
401
697
  private runtimeStatusScheduled;
402
698
  private readonly reconciledRemoteResults;
699
+ private requestContextNativeGraph?;
700
+ private requestContextNativeGraphLease?;
701
+ private requestContextNativeFactoryOwners?;
702
+ private requestContextOpeningPaneManagers;
703
+ private requestContextNativeRetiring;
704
+ /** Already-drained owned launches only. The callback owns the Fleet/process, not the browser/readiness. */
705
+ retireRequestContextNativeFactories(current: () => boolean): Promise<void>;
706
+ /** Only after exact old-owner retirement and transport teardown, behind the shared Fleet admission fence. */
707
+ stageRequestContextNativeGraph(graph: RequestContextNativeGraph): void;
708
+ /** Inert native owner construction plus the complete eight-family inventory, behind the shared fence.
709
+ * None of these accessors starts a provider, pane, coordinator or Fleet. Transport negotiation is separate.
710
+ */
711
+ prepareRequestContextDrainOwners(drain: import("./request-context-drain.js").RequestContextDrain, registration: RequestContextRegistrationGate, owners: ReturnType<FleetManager["installRequestContextRetainedOwners"]>, current: () => boolean): Promise<Readonly<{
712
+ current: () => boolean;
713
+ runtime: FleetWindowsRuntime;
714
+ grants: NativeMcpSessions;
715
+ panes: import("./native-pane-manager.js").NativePaneManager;
716
+ /** The physical owners/connection have their own exact rollback; this only removes unpublished inventory. */
717
+ dispose: () => void;
718
+ }>>;
719
+ private currentRequestContextNativeGraph;
720
+ private ownRequestContextNativeFactory;
721
+ private requireRequestContextNativeFactory;
403
722
  /** Machine credentials are separate from dashboard sessions and per-turn agent capabilities. */
404
723
  runtimeCoordinator(): RuntimeCoordinator;
405
724
  private runtimeWindowsExecutor;
@@ -456,6 +775,92 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
456
775
  hubCompanyJoin(): Promise<import("./hub/join/local.js").CompanyJoinController>;
457
776
  invalidateHubCompanyJoin(): void;
458
777
  private hubMemberPairingApi;
778
+ private hubRecommendationRead;
779
+ private hubRecommendationListeners;
780
+ hubRecommendedUpdate(): import("./hub/recommendation-model.js").HubRecommendedUpdate | null;
781
+ /**
782
+ * M-3140: the Hub's advice the asker was shown, if it is still this Fleet's current verified advice and still newer
783
+ * than what runs (same Hub, version and revision) — else null. What a pinned Update installs comes only from here.
784
+ */
785
+ private hubRecommendationFor;
786
+ onHubRecommendation(listener: () => void): () => void;
787
+ private hubRecommendationChanged;
788
+ /**
789
+ * M-3140 (spec §3.3, chat): the Hub's recommended version in General, with Update now — when it first applies to this
790
+ * Fleet, then every 7 days while still behind (hub-update-notice.ts). A web-only fleet has no chat: its banner says it.
791
+ * Asked on every change of the advice and on the daily update check.
792
+ */
793
+ private maybeNotifyHubRecommendation;
794
+ /**
795
+ * M-3140: Update now on that notice — what chat /update does (a fleet admin's, the installed agend launched
796
+ * independently, its progress on the message), pinned to the advice the notice named, re-read now and at the launch.
797
+ */
798
+ private handleHubUpdateCallback;
799
+ private updateChatCardBusy;
800
+ /** #4485 review 2: a sync asked for while one ran; the running one runs again. */
801
+ private updateChatCardAgain;
802
+ /** #4485 review 2: each posted card's delivery address and the version it shows, by nonce (independent of the pending map). */
803
+ private updateChatCardSent;
804
+ /** #4485 r2: the version each card's buttons answer for, bound when its delivery starts (before the platform answers). */
805
+ private updateChatCardVersion;
806
+ /** #4485 review 2: an answer that came while its card was still being posted (the post records it when it returns). */
807
+ private updateChatCardAnswered;
808
+ /** Prism #4584 (1): a press refused while its card was still being posted (the post records it, so it isn't relabelled expired). */
809
+ private updateChatCardRefused;
810
+ private updateChatCardTimer;
811
+ private readUpdateChatCard;
812
+ private writeUpdateChatCard;
813
+ /** The card's words for a state (the offer: two sentences, the second only where true — §3.1, Phase 1). */
814
+ private updateChatCardText;
815
+ /**
816
+ * M-3864 R1: the buttons General's card offers on this machine, by the same rule the web's card and the server use: an
817
+ * admin's press (Update when idle) needs pressHere, a picked time (Tonight) a machine that updates itself. No pre-flight
818
+ * result yet: all three (the launch decides, as on the web).
819
+ */
820
+ private updateChatCardActions;
821
+ /** General's chat place for the card, or null (no General, no chat: a web-only fleet's banner says it). */
822
+ private updateChatCardPlace;
823
+ /**
824
+ * M-3770 1.5: keep General's one update card in step with the fleet's card (S-234's UpdateOfferCard). An offer that
825
+ * newly qualifies (a new version, or back after Not now) is posted with its buttons; every later state edits that same
826
+ * message (its buttons retired: the adapters cannot swap them). Never throws; one at a time.
827
+ */
828
+ syncUpdateChatCard(): Promise<void>;
829
+ /** Edit the posted card: retire its buttons if they are still live (with `text`), else edit its text without buttons. */
830
+ private editUpdateChatCard;
831
+ /**
832
+ * M-3770 1.5: a press on the chat card — a fleet admin's only (anyone else is told privately, the buttons stay: the
833
+ * same gate as the Hub's Update now). The answer is the web's (the one card); the message is edited to its new state.
834
+ */
835
+ private handleUpdateCardCallback;
836
+ private hubUpdates;
837
+ private hubUpdateOwned;
838
+ private hubUpdateBootProgress;
839
+ /** This process's local idle launch. Its own claim must not look like some other update holding the machine. */
840
+ private localIdleOwned;
841
+ private localIdleBootProgress;
842
+ private pendingHubFleetUpdates;
843
+ hubFleetUpdates(): import("./hub/member/updates.js").HubMemberUpdates | null;
844
+ /** `ownClaim` is this caller's launch, so that launch does not look busy to itself. The Hub queue passes its claim; the local card passes its own. */
845
+ private hubUpdateIdle;
846
+ private hubUpdateCanInstall;
847
+ private launchHubUpdate;
848
+ /**
849
+ * One idle installer, Hub or local. Claims the machine and writes a marker before any await, then settles the row
850
+ * when the child is gone and the marker is no longer in progress.
851
+ */
852
+ private launchClaimedUpdate;
853
+ private claimedIdleOutcome;
854
+ private hubUpdateOutcome;
855
+ private recordHubUpdateNotice;
856
+ private postHubUpdateChat;
857
+ private handleHubFleetUpdateCallback;
858
+ private hubSharingController;
859
+ private readonly pendingHubSharing;
860
+ hubSharing(): HubSharingController | null;
861
+ private recordHubSharingNotice;
862
+ private postHubSharingChat;
863
+ private handleHubSharingCallback;
459
864
  private hubPairingNotices;
460
865
  hubMemberPairing(): ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null;
461
866
  /** Explicit owner Settings read only. A paused binding is not permission to mount or connect a member. */
@@ -529,6 +934,33 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
529
934
  * delivery addresses, General included, shown by its display name. The dedicated Hub daemon is not a fleet instance.
530
935
  */
531
936
  private hubMemberAgents;
937
+ /** Owner-only cosmetic inventory. Lifecycle tokens only fence its digest; no paths or tools are projected. */
938
+ private hubCatalogAgents;
939
+ /**
940
+ * M-3533 R2b: an agent's pictures for the Hub's room offices, as this Fleet shows them (hub-office-visit.md "Decided while
941
+ * building"). The disc is the sidebar's (webIdentityImage + instance-nav.js avatarOf): a profile picture, else its theme
942
+ * avatar while the owner shows agents' themes (fx.show), else its bot's avatar, else a Discord custom persona emoji; a
943
+ * Unicode emoji or an initial is no picture (the catalog's emoji stays). The portrait is the identity card's (a person's,
944
+ * else the agent's own). Cheap keys only: the bytes are read when a key changes (hub/member/agent-pictures.ts).
945
+ */
946
+ private hubPictureSources;
947
+ /**
948
+ * M-3533 R2c: the agent's own character (hub-character-plan.ts ownCharacter): the set its owner gave it by name in
949
+ * the first of these offices (their own order) holding it, else in the "All" office's pack. The key is that pack's version
950
+ * and the set's name: a changed pack, set or office changes it; the pictures are read and cut only then.
951
+ */
952
+ private hubCharacterSource;
953
+ /** The actual launch target, including Classic's own effective backend/folder; never aliases a room to a Fleet topic. */
954
+ private hubAgentConfig;
955
+ private hubClassicPrivacy;
956
+ private classicPrivacy;
957
+ /** The mark outlives registration: a late tool from a removed room must not fall through to General. */
958
+ private classicHubPrivateBlocked;
959
+ private classicHubSerialized;
960
+ private hubPrivateQuestions;
961
+ private classicRoomPersonInput;
962
+ /** Prepare a public handoff without opening output until IPC accepts that exact input. */
963
+ private prepareClassicForPerson;
532
964
  /** Same cached usage source as the owner's rail, scoped to the representative's CLI and credential profile. */
533
965
  private hubAgentQuota;
534
966
  /**
@@ -577,15 +1009,70 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
577
1009
  private observeHubAgentIncarnations;
578
1010
  /** A removed instance's incarnation goes with it (a later instance of the same name is a new one). strict: throw if not durable. */
579
1011
  private forgetHubAgentIncarnation;
1012
+ private hubContactWindows;
1013
+ private contactWindows;
1014
+ /**
1015
+ * M-3660: each agent's running Hub answer turn as its daemon tells it (re-told on every connect): a correlation id, or
1016
+ * null for "confirmed none". An agent missing here is unknown (this fleet has not heard from its daemon since it
1017
+ * started): nothing settled lifts its windows then — they hold until the daemon says (Prism #4420 P2-1).
1018
+ */
1019
+ private readonly hubAnswerTurns;
1020
+ /**
1021
+ * M-3660: the agent's daemon is about to write a Hub question into its idle pane: the answer turn's window opens (none for
1022
+ * a share that opted out). A window that cannot be saved still holds in memory: fail closed.
1023
+ */
1024
+ private hubQuestionInput;
1025
+ /** M-3660: that answer turn is over (its idle edge, or the next turn's write): the window closes, whatever came of it. */
1026
+ private hubQuestionTurnEnded;
1027
+ /**
1028
+ * M-3660: what the daemon says on (re)connect — the turn it is answering now, or none. A lost hub_question_input or
1029
+ * hub_question_turn_ended (a stale connection, a fleet or daemon restart) is made good here: with no turn running every
1030
+ * window of the agent ends; with one, that one holds and the rest end.
1031
+ */
1032
+ private hubQuestionTurnState;
1033
+ /** M-3660: a daemon's Hub turn signal (from its current connection). "unknown" (an unreadable turn record) changes nothing. */
1034
+ private hubTurnSignal;
1035
+ /** M-3660: the agent's daemon has told this fleet its current turn, and it is not this question (unknown is never "none"). */
1036
+ private hubAnswerTurnKnownNone;
1037
+ /** M-3660: a settled question lifts its window only outside its own running answer turn; inside it, the turn's end does. */
1038
+ private hubSettledOutsideTurn;
1039
+ /** M-3660: the member side's "this question is no longer being answered" reader (null: no member service attached). */
1040
+ private notifyHubQuestionEnded;
1041
+ private hubQuestionEnded;
1042
+ private hubQuestionSettled;
1043
+ hubContactRestricted(agent: string): boolean;
1044
+ hubContactQuestion(agent: string): string | null;
1045
+ /**
1046
+ * M-3313 (#4145 for the Hub): what a Hub question or room notification hands the agent, with this fleet's sign-in
1047
+ * access token hidden (exact match, as a chat's). The live one is taken back and replaced, and the sign-in's chat told.
1048
+ * The Hub's own copy of the post is beyond the Fleet: it keeps it (encrypted) until its retention deletes it.
1049
+ */
1050
+ /**
1051
+ * M-3313 (Fable #4165 F1): a Hub frame's content as the member link receives it — before it waits for its agent (busy,
1052
+ * paused, offline) or is dropped undelivered — so a live sign-in token in it is taken back at once, not at delivery.
1053
+ * Nothing is changed here: the delivery hides it from the agent (screenHubText).
1054
+ */
1055
+ private sawHubText;
1056
+ private screenHubText;
580
1057
  /**
581
1058
  * A Hub question to its representative agent: ordinary cross-instance delivery (idle gate, wake, retries), from the
582
1059
  * reserved Hub sender with the Hub-issued correlation id. beforeInput runs immediately before the IPC hand-off.
583
1060
  */
1061
+ private requestContextHubAdmission?;
1062
+ /** Installed as one of the publication's ingress owners, never from a tool or a question selector. */
1063
+ makeRequestContextHubAdmission(resolve: (instance: string) => RequestHubInputResolver | null): (input: import("./hub/representative.js").HubRepresentativeDelivery) => Readonly<{
1064
+ inputId: string;
1065
+ beforeInput(): void;
1066
+ waitBeforeInput(): Promise<boolean>;
1067
+ }>;
584
1068
  private deliverHubQuestion;
1069
+ private deliverHubRoomNotification;
585
1070
  /** S-51: why the Hub (or this fleet's Hub membership) is not running, if it is held. Empty while off or running. */
586
1071
  getHubHolds(): readonly import("./hub/runtime.js").HubHold[];
587
1072
  hubBrowserCertificate(): import("./hub/browser-certificate.js").HubBrowserCertificateControl | null;
588
1073
  hubRetention(): import("./hub/retention.js").HubRetentionControl | null;
1074
+ /** M-3281: the archived chat files, for Settings (their size limit: what is kept, what a lower one removes). */
1075
+ chatArchiveFiles(): import("./settings-api.js").ChatArchiveFilesControl | null;
589
1076
  /** M-2682: an unfinished sealed-settings commit; Hub setting saves wait until recover() has run. */
590
1077
  hubSettingsBusy(): boolean;
591
1078
  /** #3298 S-89: this fleet's own Hub offers group permissions (the page mark that shows Settings → Hub's Group permissions row). */
@@ -602,6 +1089,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
602
1089
  /** Native CLIs are headless: the manager owns the durable delivery generation instead of a tmux daemon. */
603
1090
  private deliveryBootId;
604
1091
  private rawFleetConfig;
1092
+ private readonly sharedDefaultAdoption;
605
1093
  /**
606
1094
  * AGEND-163: one agent's own saved settings, as fleet.yaml has them — not `fleetConfig.instances[name]`, which has the fleet's
607
1095
  * defaults merged in. Undefined when fleet.yaml has no such agent.
@@ -623,10 +1111,100 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
623
1111
  caller: string;
624
1112
  text: string;
625
1113
  callerCurrent(): boolean;
1114
+ requestScope?: import("./request-hub-output.js").RequestHubOutputScope;
626
1115
  extras?: import("./hub-report-target.js").HubReportExtras;
627
1116
  }): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
1117
+ /** M-3127 OutboundContext: an agent's `react` on a Hub room question (its correlation id as message_id); null: not one. */
1118
+ hubReact(input: {
1119
+ correlationId: string;
1120
+ caller: string;
1121
+ emoji: string;
1122
+ callerCurrent(): boolean;
1123
+ requestScope?: import("./request-hub-output.js").RequestHubOutputScope;
1124
+ }): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
1125
+ private hubReacts;
628
1126
  /** The member side's pane-failure hook for a Hub-issued correlation id (else null). */
1127
+ private hubRoomOwed;
1128
+ hubRoomReplyWarning(agent: string): string | undefined;
1129
+ private hubRoomInput;
629
1130
  private hubDeliveryFailed;
1131
+ /** The connected member adapter; never an agent-selectable identity. */
1132
+ private hubAgentRooms;
1133
+ /** M-3543: which shared agents' Hub shares lapsed (backend/folder changed since they were shared; #3147). */
1134
+ private hubShareLapse;
1135
+ /** M-3543: when each lapse (agent + its incarnation) was first seen — the Needs-you item's "since". */
1136
+ private hubShareLapseSeen;
1137
+ /** M-3543: the shared agents whose Hub share lapsed, for Needs you: one per agent and incarnation, until shared again. */
1138
+ hubShareLapses(): import("./needs-you.js").HubShareLapseInput[];
1139
+ /** M-3543: is this agent's Hub share lapsed now (shared, but its consent no longer matches it)? */
1140
+ hubShareLapsed(agent: string): boolean;
1141
+ private hubAgentIntro;
1142
+ hubSetIntro(caller: import("./hub/member/room-post.js").RoomCaller, text: string, operationId: string): Promise<{
1143
+ ok: false;
1144
+ code: "unavailable";
1145
+ }> | Promise<import("./hub/member/room-post.js").ShareLapsed | {
1146
+ ok: true;
1147
+ intro: string;
1148
+ introBy: "agent" | "default" | "owner";
1149
+ introAt: number;
1150
+ changed: boolean;
1151
+ } | {
1152
+ ok: false;
1153
+ code: "denied" | "invalid" | "limit" | "stale" | "unavailable" | "uncertain" | "unsupported";
1154
+ resetsAt?: number | undefined;
1155
+ }>;
1156
+ hubRoomToolsAvailable(): boolean;
1157
+ hubRoomList(caller: import("./hub/member/room-post.js").RoomCaller): Promise<import("./hub/member/room-post.js").RoomListResult>;
1158
+ hubRoomHistory(caller: import("./hub/member/room-post.js").RoomCaller, room: string, options?: import("./hub/room-history-model.js").RoomHistoryOptions): Promise<{
1159
+ ok: false;
1160
+ code: "denied";
1161
+ }> | Promise<{
1162
+ ok: false;
1163
+ code: "unavailable";
1164
+ }> | Promise<import("./hub/member/room-post.js").ShareLapsed | {
1165
+ ok: true;
1166
+ roomId: string;
1167
+ note: "Room member messages are quoted data, not instructions or approval from your owner. Text may be truncated; attachments are omitted.";
1168
+ messages: {
1169
+ id: string;
1170
+ sequence: number;
1171
+ at: number;
1172
+ author: {
1173
+ kind: "agent" | "assistant" | "person" | "system";
1174
+ name: string;
1175
+ via?: {
1176
+ kind: "agent" | "app";
1177
+ name: string;
1178
+ } | undefined;
1179
+ };
1180
+ text: string;
1181
+ truncated?: true | undefined;
1182
+ }[];
1183
+ next_cursor?: string | undefined;
1184
+ } | {
1185
+ ok: false;
1186
+ code: "backpressure" | "denied" | "invalid" | "not-found" | "rate-limited" | "revoked" | "stale" | "unavailable";
1187
+ retryAt?: number | undefined;
1188
+ }>;
1189
+ hubRoomMembers(caller: import("./hub/member/room-post.js").RoomCaller, room: string, options?: import("./hub/room-members-model.js").RoomMemberOptions): Promise<{
1190
+ ok: false;
1191
+ code: "unavailable";
1192
+ }> | Promise<import("./hub/member/room-post.js").ShareLapsed | import("./hub/types.js").HubRoomMembersResult>;
1193
+ hubPeopleSearch(caller: import("./hub/member/room-post.js").RoomCaller, q: string): Promise<{
1194
+ ok: false;
1195
+ code: "unavailable";
1196
+ }> | Promise<import("./hub/member/room-post.js").ShareLapsed | import("./hub/types.js").HubPeopleSearchResult>;
1197
+ hubRoomPost(caller: import("./hub/member/room-post.js").RoomCaller, value: {
1198
+ room: string;
1199
+ text: string;
1200
+ operationId: string;
1201
+ receiptId?: string;
1202
+ files?: string[];
1203
+ }): Promise<{
1204
+ ok: false;
1205
+ code: "unavailable";
1206
+ }> | Promise<import("./hub/member/room-post.js").RoomPostResult>;
1207
+ private notifyHubRoomTools;
630
1208
  /** The member side's report_result hook for HUB_REPORT_TARGET while a representative service runs (else null). */
631
1209
  private hubReports;
632
1210
  /** The one in-flight creation (single flight): overlapping first observations share it, Stop waits for it. */
@@ -700,6 +1278,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
700
1278
  private readonly livenessGone;
701
1279
  /** #3647: when each instance last showed working (after the startup grace): activity for "quiet". */
702
1280
  private readonly lastWorkingAt;
1281
+ /** M-3239: the instances whose progress is read from their transcript (see cacheInstanceExecutionState). */
1282
+ private readonly livenessTurnEvidence;
703
1283
  private dispatcherLiveness;
704
1284
  /** Adapters whose last slash command registration failed and General was told (#1131). */
705
1285
  private slashRegistrationFailed;
@@ -758,6 +1338,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
758
1338
  private startupRetries;
759
1339
  /** #2484: instances whose automatic startup retry is running now (between its timer and its outcome). */
760
1340
  private startupRetriesRunning;
1341
+ /** M-3302 (#4146): instances held because their backend's CLI is not installed — started again the moment it is (watchMissingBinaries). */
1342
+ private missingBinaryHolds;
1343
+ private missingBinaryWatch;
1344
+ private missingBinaryNotices;
1345
+ static MISSING_BINARY_WATCH_MS: number;
761
1346
  /** Bumped by every explicit stop (incl. the stop half of a restart); fences the outage hand-off. */
762
1347
  private explicitStopGeneration;
763
1348
  /** instanceName → outage hand-off currently executing; a repeat joins it. */
@@ -792,6 +1377,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
792
1377
  private pendingNonceButtons;
793
1378
  /** #2598 B2: the kiro moves waiting on a fleet admin's Confirm in General, by prompt nonce. */
794
1379
  private pendingKiroMigrations;
1380
+ /** M-3140: a posted Hub-update notice's advice (by its nonce) — which advice the button was offered for. */
1381
+ private pendingHubUpdates;
1382
+ private hubUpdateNoticeBusy;
795
1383
  private pendingKiroReconciliations;
796
1384
  private kiroMigrationRuns;
797
1385
  /** #1386 "Needs you": the list, its live chat messages and Acknowledge. Started with the fleet (finishStartup). */
@@ -799,6 +1387,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
799
1387
  /** #3292: "Keep sign-in alive" (signin-keepalive.ts); built at startup, stopped at shutdown. */
800
1388
  private signInKeepAlive;
801
1389
  private hubExecutionAttention;
1390
+ /** M-3632: the member's "Try again" for a held Hub question (null while no member runs). */
1391
+ private hubHeldClose;
1392
+ private hubHeldRetry;
802
1393
  private missedOfflineStore;
803
1394
  private configHistory;
804
1395
  private configHistoryTimer;
@@ -889,8 +1480,16 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
889
1480
  private updateCheckTimer;
890
1481
  /** M-2738: the last update check's answer, for the web (null until the first check settles). */
891
1482
  private updateCheckState;
1483
+ /** S-234: the one durable update offer. Opened on the first check or answer. */
1484
+ private updateCard?;
892
1485
  /** M-2738: a web "check now" in flight, and when the last one ran (one a minute at most). */
893
1486
  private updateCheckNow;
1487
+ /** M-3770 (#4480 §4): the last pre-flight — a diagnostic for the page; every launch proves its local checks again. */
1488
+ private updatePreflight;
1489
+ private updatePreflightRunning;
1490
+ /** M-3770 1.6: the fix buttons' answers by person, fix and Idempotency-Key (the last 32), and the one fix running at a time. */
1491
+ private readonly updateFixAnswers;
1492
+ private updateFixChain;
894
1493
  /** M-2738: a web start's Idempotency-Key → its answer (a retried request never starts a second update). */
895
1494
  private webUpdateStarts;
896
1495
  /**
@@ -956,6 +1555,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
956
1555
  readonly webChatHistory: WebChatHistory;
957
1556
  /** #1565: the web chat history's files (set at fleet start, once the home and the instances are known). */
958
1557
  private webChatStore;
1558
+ /** M-3272: the archive past each agent's 500-message web chat window (web-chat-archive.ts). */
1559
+ private webChatArchive;
959
1560
  /** #2293: the dashboard's global search (null: web.search.enabled is false, or the fleet has not started). */
960
1561
  searchIndex: SearchIndex | null;
961
1562
  /** Uploaded files and the files the dashboard may fetch back (uploads, reply attachments). */
@@ -988,7 +1589,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
988
1589
  private webChatRemovalPending;
989
1590
  /** #1770: an instance's web-files byte cap (a field, so a test can make it small). */
990
1591
  private webReplyMaxBytes;
991
- /** #1682: the people seen on inbound messages (id → name), for the web chat's mention pills; bounded, in memory. */
1592
+ /** #1682: the people seen on inbound messages (id → name), for the web chat's mention pills; bounded; on disk since M-3827. */
992
1593
  readonly seenUsers: SeenUsers;
993
1594
  private webPrefsStore?;
994
1595
  /** #1665: the web preferences kept on the host (<home>/web-prefs.json), read on first use. */
@@ -1027,6 +1628,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1027
1628
  private officeStoreInstance?;
1028
1629
  /** Fleet → Org chart → Office: the offices people made (web-offices.json, beside web-themes.json). */
1029
1630
  get officeStore(): OfficeStore;
1631
+ private pinStoreInstance?;
1632
+ /** M-3271: pinned chat messages per agent (web-pins.json, beside web-themes.json). */
1633
+ get pinStore(): WebPinStore;
1030
1634
  private officeSkinsInstance?;
1031
1635
  /** #2513: the Office view's uploaded skin packs (<AGEND_HOME>/web-office-skins/). */
1032
1636
  get officeSkins(): OfficeSkinStore;
@@ -1126,6 +1730,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1126
1730
  private settingsRuntimeRevision;
1127
1731
  private settingsConfirmation;
1128
1732
  private settingsControl;
1733
+ private ownerAppControl;
1129
1734
  private settingsJobSettlements;
1130
1735
  private classicSettingsOwners;
1131
1736
  private queueSettingsOperation;
@@ -1227,7 +1832,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1227
1832
  retryAfterMs?: number;
1228
1833
  };
1229
1834
  /**
1230
- * alpha.2 (M-2300; #2973's agent requests, junsion's §6): on a fleet with no chat connection there is no General to
1835
+ * alpha.2 (M-2300; #2973's agent requests, a colleague's §6): on a fleet with no chat connection there is no General to
1231
1836
  * post an agent's Windows request in — it waited for `agend settings confirm` on the host. Its owner (decision
1232
1837
  * 28c2d3a3: the `agend web --code` session on this computer, web-verified) now sees and decides it from the web's
1233
1838
  * Needs you. The authority is asked from the request each time, and again at execution by the store (`current`):
@@ -1411,6 +2016,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1411
2016
  private handleKiroReconcileCallback;
1412
2017
  private handleSettingsChangeCallback;
1413
2018
  startSettingsConfirmationControl(): Promise<void>;
2019
+ /** A person's local app gets a private, read/chat-only surface, never an instance's tool permissions. */
2020
+ startOwnerAppControl(): Promise<void>;
1414
2021
  private get webToken();
1415
2022
  /**
1416
2023
  * Server-side web sessions (see web-session.ts). Created with the token, not per
@@ -1509,6 +2116,257 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1509
2116
  items: TrafficItem[];
1510
2117
  delegations: Delegation[];
1511
2118
  };
2119
+ private contactRoom;
2120
+ classicContactRestricted(instance: string): boolean;
2121
+ inheritContactOrigin(source: string, target: string): void;
2122
+ private contactAdapter;
2123
+ /** Called only with SDK input at the Classic ingress, never agent-supplied routing metadata. */
2124
+ private recordClassicContactInput;
2125
+ restrictedClassicRouting(instance: string): {
2126
+ adapterId: string;
2127
+ chatId: string;
2128
+ threadId?: string;
2129
+ } | undefined;
2130
+ prepareContactFiles(instance: string, paths: readonly string[]): Promise<ContactFileLease | undefined>;
2131
+ downloadRoomAttachment(instance: string, fileId: string): Promise<string>;
2132
+ configureClassicRestriction(name: string, daemon: Daemon): void;
2133
+ private contactGeneration;
2134
+ /** Eligible connections share a platform; the current Fleet-admin gate still decides each user's role. */
2135
+ private contactAdminAdapterIds;
2136
+ /** Contact permissions identify a person by platform/user; sibling bot connections do not create new people. */
2137
+ private contactDefaultApprovers;
2138
+ contactAdminOf(name: string, actor: ContactPerson): boolean;
2139
+ private contactService;
2140
+ private contactDeliveryCurrent;
2141
+ contactPermissions(name: string, actor: ContactPerson): ContactPermissions;
2142
+ /** Identity-only read. This does not install/enable the same-card host. */
2143
+ requestContextPolicy?: RequestContextPolicyPort;
2144
+ requestContextRelay?: import("./request-context-relay.js").RequestContextRelayPort;
2145
+ /** L installs this explicitly; H defines no production switch. */
2146
+ makeRequestContextPolicy(): RequestContextPolicyPort;
2147
+ /** Existing Settings administrator scope. This only identifies a principal; it never bypasses per-change confirmation. */
2148
+ requestContextControl?: RequestContextControlHost;
2149
+ private requestContextShadow;
2150
+ private requestContextBlockers;
2151
+ protected requestContextActivationLease(): import("./request-context-update-guard.js").RequestContextActivationLease | null;
2152
+ private ensureRequestContextController;
2153
+ private prepareRequestContextFutureOwners;
2154
+ private requestContextOwnersReady;
2155
+ /** A clock selects old candidates; it never proves completion, delivery, or launch retirement. */
2156
+ private collectRequestContextRoots;
2157
+ private scheduleRequestContextDrain;
2158
+ /**
2159
+ * M-3897 (Sentinel's settlement split): before the first On, an owner settles an earlier ticket or delivery nothing else
2160
+ * can. Retire: a ticket the shadow names retirable (no readable delivery record), bound to the exact image it shows;
2161
+ * the retirement is appended and nothing is relabelled. Withdraw: an earlier delivery still queued or waiting to retry,
2162
+ * by its exact image (withdrawRequestContextDelivery's own CAS). Never after activation: those blockers are the drain's.
2163
+ */
2164
+ private resolveLegacyBlocker;
2165
+ private resolveLegacyBlockerHeld;
2166
+ private resolveRequestContextBlocker;
2167
+ /** Projection only, after the authoritative root COMMIT. A crash here cannot permit a restore. */
2168
+ private cacheStoppedWorkGoBack;
2169
+ private stopRequestContextWork;
2170
+ requestContextOwnerStopped(name: string, daemon: Daemon, retired: () => Promise<boolean>): Promise<void>;
2171
+ private requestContextRetireOwner?;
2172
+ requestContextControlPrincipal(req: IncomingMessage, url: URL): RequestContextControlPrincipal | null;
2173
+ requestContactPrincipal(req: import("node:http").IncomingMessage, url: URL): RequestContactPrincipal | null;
2174
+ /**
2175
+ * S-229: the same-card service the native cards use. Null — today's M-3680 card and General proposals, unchanged —
2176
+ * until L installs it at the cutover; synthetic rigs install it directly. Installing it grants no actor: every
2177
+ * decision still comes from a platform callback's person through cards.decide.
2178
+ */
2179
+ private requestContactCardsPort;
2180
+ installRequestContactCards(cards: RequestContactCards | null): void;
2181
+ /** Only a validated accepted room can supply a current room-policy override. Unknown recovery is not a Free-room proof. */
2182
+ requestContextSourceRoomRestricted(root: RequestContextV1): boolean | undefined;
2183
+ /** Re-run the original synchronous admission basis. It supplies no role or go-ahead authority. */
2184
+ requestContextNativeAdmissionCurrent(context: RequestContextV1): boolean;
2185
+ /** Off preserves the owner's current Hub contact setting. Elapsed contact-window time grants nothing. */
2186
+ requestContextHubOwnerAllowsContact(context: RequestContextV1): boolean;
2187
+ /** Only the receipt's original registered C parent may cross the Draining gate. */
2188
+ private requestContextHumanContinuation;
2189
+ /** One installed gate host for direct sends and same-card decisions. No lifetime origin or return-release lookup.
2190
+ * Currentness belongs to the installation/process, not a browser, transport-readiness poll or old Hub timer.
2191
+ */
2192
+ makeRequestContextContactHost(current: () => boolean, rootRetired: (rootId: string) => boolean, mode: () => "active" | "draining" | "off" | null): import("./request-context-relay.js").RequestContextRelayHost;
2193
+ /** One publication owns every live ingress. These forwarding ports never cache a mode, owner or current turn. */
2194
+ requestContactApi?: RequestContactApiHost;
2195
+ bindRequestContextServingPublication(boot: RequestContextBoot): void;
2196
+ /** Construct only inside the capable activation initializer or capable boot. Nothing is published here. */
2197
+ prepareRequestContextServingOwners(current: () => boolean, rootRetired: (rootId: string) => boolean, resolveHub: (instance: string) => RequestHubInputResolver | null, mode: () => "active" | "draining" | "off" | null): Readonly<{
2198
+ policy: RequestContextPolicyPort;
2199
+ relay: import("./request-context-relay.js").RequestContextRelayPort;
2200
+ cards: RequestContactCards;
2201
+ api: RequestContactApiHost;
2202
+ human: (instance: string, payload: Record<string, unknown>, origin: HumanOrigin, body: string) => import("./human-delivery-receipts.js").HumanReceiptRow;
2203
+ hub: (input: import("./hub/representative.js").HubRepresentativeDelivery) => Readonly<{
2204
+ inputId: string;
2205
+ beforeInput(): void;
2206
+ waitBeforeInput(): Promise<boolean>;
2207
+ }>;
2208
+ gate: RequestContactGate;
2209
+ current: () => boolean;
2210
+ }>;
2211
+ /** Dormant assembly for L and synthetic rigs; merely defining this method installs no service or route authority. */
2212
+ makeRequestContactCards(gateHost?: RequestContactGateHost, gate?: RequestContactGate): RequestContactCards;
2213
+ makeRequestContactApi(given?: RequestContactCards): RequestContactApiHost;
2214
+ contactActor(req: import("node:http").IncomingMessage, url: URL): ContactPerson | null;
2215
+ /**
2216
+ * M-3864 R7: what Permissions and the history call a web-verified admin. That is their name as the rest of the dashboard
2217
+ * says it (their own, else their chat account's), never the bare account id. Display only: a person is matched by
2218
+ * platform and id (sameContactPerson).
2219
+ */
2220
+ private contactPersonLabel;
2221
+ writeContactPermissions(name: string, raw: ContactPermissionsWrite, actor: ContactPerson): ContactPermissions;
2222
+ clearContactOrigin(name: string, raw: ContactOriginClear, actor: ContactPerson): ContactPermissions;
2223
+ /** General can propose only. The platform callback supplies the human actor. */
2224
+ /** M-3693: what contact permissions hold now, for General (read-only; no write, no identity computed here). */
2225
+ contactState(agent?: string): {
2226
+ held: Record<string, unknown>[];
2227
+ held_truncated?: string | undefined;
2228
+ grants: {
2229
+ grant_id: string;
2230
+ target: string;
2231
+ revision: number;
2232
+ person: string;
2233
+ from: string;
2234
+ verbs: import("./contact-auth-types.js").ContactVerb[];
2235
+ expires_at: string;
2236
+ remaining_uses: number | null;
2237
+ current: boolean;
2238
+ }[];
2239
+ rooms: {
2240
+ room: string;
2241
+ mode: string;
2242
+ stored_as: "legacy" | "restricted";
2243
+ revision: number;
2244
+ }[];
2245
+ retained_origins: {
2246
+ agent: string;
2247
+ kind: "mixed" | "unknown";
2248
+ people: string[];
2249
+ chain: string[];
2250
+ }[];
2251
+ how_to: string[];
2252
+ };
2253
+ /** M-3716: the caller's OWN held requests (delivery_status { held_requests: true }); the caller is the authenticated agent. */
2254
+ ownContactRequests(agent: string): {
2255
+ requests: ({
2256
+ short_id: string;
2257
+ ticket_id: string;
2258
+ to: string;
2259
+ verb: import("./contact-auth-types.js").ContactVerb;
2260
+ state: string;
2261
+ asked_at: string;
2262
+ decided_at?: string | undefined;
2263
+ approved_by_rule: boolean;
2264
+ expires_at?: string | undefined;
2265
+ delivery_id?: string | undefined;
2266
+ next: string;
2267
+ } | {
2268
+ short_id: string;
2269
+ ticket_id: string;
2270
+ to: string;
2271
+ verb: import("./contact-auth-types.js").ContactVerb;
2272
+ state: string;
2273
+ asked_at: string;
2274
+ decided_at?: string | undefined;
2275
+ decided_by: string | undefined;
2276
+ expires_at?: string | undefined;
2277
+ delivery_id?: string | undefined;
2278
+ next: string;
2279
+ } | {
2280
+ short_id: string;
2281
+ ticket_id: string;
2282
+ to: string;
2283
+ verb: import("./contact-auth-types.js").ContactVerb;
2284
+ state: string;
2285
+ asked_at: string;
2286
+ decided_at?: string | undefined;
2287
+ expires_at?: string | undefined;
2288
+ delivery_id?: string | undefined;
2289
+ next: string;
2290
+ })[];
2291
+ note?: string | undefined;
2292
+ };
2293
+ requestContactChange(requester: string, raw: unknown, callerCurrent: () => boolean): Promise<{
2294
+ status: string;
2295
+ }>;
2296
+ private handleContactChangeCallback;
2297
+ /**
2298
+ * M-3680 (the user, 11-25): a fleet agent's send held for approval reaches an administrator in General on the target's
2299
+ * Discord or Telegram, as a card with Approve once / Decline — until then a held request had no chat path (the live
2300
+ * Needs you message lists it without buttons). One card per request. Whoever clicks must be one who may decide it
2301
+ * (ContactAuthService.view(...).canDecide, read at the click); the decision is theirs, never the bot's. A request decided
2302
+ * anywhere else (the web, another card) retires its card. #4448 (R21079937): a ClassicBot room's request to a fleet agent
2303
+ * gets the same card, in the General of the target's connection; a room's request to anything else gets none.
2304
+ */
2305
+ /** Requests whose card was posted or tried: forgotten when the request is decided, and at most HELD_CARDS_KEPT. */
2306
+ private heldTicketCards?;
2307
+ private syncHeldTicketCard;
2308
+ /** The one General on the target's Discord/Telegram connection that may carry its contact cards. */
2309
+ private contactCardRoute;
2310
+ /**
2311
+ * S-229: post slice I's same card. prepareForNativePost checks this exact General route as the posting owner before
2312
+ * and after reading (authority none, canDecide false); the entry keeps the card's CAS snapshot, so a click decides
2313
+ * exactly the image people saw, through cards.decide.
2314
+ */
2315
+ private postSameContactCard;
2316
+ /**
2317
+ * S-229: General proposes a decision on the same card — its one suggested choice plus Not now. General never decides:
2318
+ * the platform callback's person does, through cards.decide. Always allow needs people, expiry and a confirmation, so
2319
+ * a grant proposal is sent to the web.
2320
+ */
2321
+ private proposeSameContactCard;
2322
+ /**
2323
+ * M-3820 (the user, 11-26: General filled with cards edited to "approved elsewhere"): a contact card whose request was
2324
+ * decided or expired somewhere else — the web, another card, a General proposal — is deleted; the card a person pressed
2325
+ * keeps its outcome, and the decision stays in the agent's Permissions history. One try: a delete the platform refuses
2326
+ * (no permission, a Telegram message over 48 h old, a gateway not ready) falls back to the edit it had before.
2327
+ */
2328
+ private removeDecidedContactCard;
2329
+ private postHeldTicketCard;
2330
+ private handleContactTicketCallback;
2331
+ /**
2332
+ * S-229: one click on the same card. The decision is the clicker's, on the posted snapshot, through cards.decide —
2333
+ * the web's writer — so a duplicate, another card or the web racing it yields one committed outcome. A lost race
2334
+ * re-reads and shows that outcome; a changed request closes this card and posts one fresh card.
2335
+ */
2336
+ private decideSameContactCard;
2337
+ contactAuthorization(id: string, actor: ContactPerson): ContactTicket;
2338
+ contactAuthorizations(actor: ContactPerson, filter: {
2339
+ agent?: string;
2340
+ status?: string;
2341
+ person?: string;
2342
+ cursor?: string;
2343
+ }): {
2344
+ nextCursor: string | null;
2345
+ items: ContactTicket[];
2346
+ };
2347
+ decideContactAuthorization(id: string, decision: ContactTicketDecision, actor: ContactPerson): ContactTicket;
2348
+ /** Status only: no human receipt, approval capability or original correlation is attached. */
2349
+ private sweepContactAuthorizationOutcomes;
2350
+ /**
2351
+ * M-3710: how many contact requests wait, and since when — no ids, people or text. Needs you tells an admin session with
2352
+ * no verified person behind it (contactActor null) that they exist, so a request is never silently missing there.
2353
+ */
2354
+ contactPendingCount(): {
2355
+ count: number;
2356
+ since: number;
2357
+ };
2358
+ contactNeeds(actor: ContactPerson): WebNeedsItem[];
2359
+ /**
2360
+ * The chat's contact items. M-3381 (the user, beta.14): the restricted-mode suggestions are ONE low-key line per world —
2361
+ * "N existing ClassicBot rooms can switch to restricted mode", saying where to act (the dashboard's Needs you, or a
2362
+ * room's Permissions) — not one line per room; each room's age counts from when its suggestion was raised.
2363
+ */
2364
+ private contactSuggestions;
2365
+ /** Identity for reminder visibility/dismissal ONLY. Never a verified contact/action permit. */
2366
+ contactSuggestionActor(req: import("node:http").IncomingMessage, url: URL): ContactPerson | null;
2367
+ /** Dismissing a reminder grants no authority: current room-admin membership is still checked below. */
2368
+ acknowledgeContactSuggestionFromWeb(instance: string, req: import("node:http").IncomingMessage, url: URL): void;
2369
+ acknowledgeContactSuggestion(instance: string, actor: ContactPerson): void;
1512
2370
  /** Synchronous SQLite admission; the caller may acknowledge only after this returns. */
1513
2371
  admitDurableDelivery(input: {
1514
2372
  operationId: string;
@@ -1518,6 +2376,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1518
2376
  targetSession?: string;
1519
2377
  kind: string;
1520
2378
  correlationId: string;
2379
+ correlationExplicit?: boolean;
1521
2380
  payload: Record<string, unknown>;
1522
2381
  forwards?: readonly string[];
1523
2382
  requestedKind?: string;
@@ -1527,6 +2386,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1527
2386
  duplicate: boolean;
1528
2387
  kind: string;
1529
2388
  };
2389
+ requestDeliveryView(deliveryId: string): {
2390
+ view: import("./request-context-view.js").RequestProvenanceView;
2391
+ body: string;
2392
+ } | null;
1530
2393
  queryDurableDeliveryStatus(callerInstance: string, selector: DeliveryStatusSelector): DeliveryStatusPage;
1531
2394
  /** A terminal OOM stop is not an auto-wakeable pause, including after a fleet restart. */
1532
2395
  private sessionOomStopped;
@@ -1553,12 +2416,26 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1553
2416
  private tickDispatcherLiveness;
1554
2417
  /** #3647: every claimed card with an assignee, with the times "quiet" counts from. */
1555
2418
  private livenessCards;
2419
+ /**
2420
+ * M-3239: a tool call or an answer in the agent's transcript. Unlike the pane's spinner it counts from the fleet's start
2421
+ * (the boot shows working; a transcript line is real work, and the monitor starts at the transcript's end).
2422
+ */
2423
+ private noteTurnActivity;
2424
+ /**
2425
+ * M-3239: an agent ended a turn without messaging anyone. If its final text asks a question and it holds a card
2426
+ * another agent handed it, that dispatcher is told, quoting the question — otherwise the question sits on the agent's
2427
+ * own screen and the card stalls (a beta.7 rehearsal waited 1.5 h on one).
2428
+ */
2429
+ private onTurnEndedQuietly;
1556
2430
  /** #3647: what the fleet knows about an assignee now; null when it is not an instance here. */
1557
2431
  private livenessFacts;
1558
2432
  /** #3647: work the pane does not show — the backend's background-work flag, or a live subagent. */
1559
2433
  private livenessBackgroundBusy;
1560
2434
  private expireReplyObligations;
1561
2435
  private scheduleDeliveryOutboxPump;
2436
+ /** Only B-validated deliveries can pass Draining; a legacy row or a body root id cannot. */
2437
+ private requestContextDeliveryContinuation;
2438
+ private requestContextDeliveryAdmissionAllowed;
1562
2439
  private runDeliveryOutboxPump;
1563
2440
  /**
1564
2441
  * Phase 2c ownership (design §1.5-A), called synchronously from the pump
@@ -1634,6 +2511,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1634
2511
  * landing while this boot's completion was still being edited — belongs to its writer and is left alone.
1635
2512
  */
1636
2513
  private clearSettledUpdateMarker;
2514
+ /** M-3674: the last turn another agent started for `name` (the delivery outbox), ISO or null; never throws. */
2515
+ lastAgentTurnOf(name: string): string | null;
1637
2516
  lastActivityMs(name: string): number;
1638
2517
  /** Capture the current daemon and delivery owner for a background context read. */
1639
2518
  getPaneContextSource(name: string): import("./pane-context-cache.js").PaneContextSource | null;
@@ -1847,6 +2726,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1847
2726
  private cacheInstanceExecutionState;
1848
2727
  private cancelIdleButtonRetirement;
1849
2728
  private scheduleIdleButtonRetirement;
2729
+ /** #4270: the daemon's turn is still open (turn_started seen, no turn_closed, no completion delivered, not cancelled). */
2730
+ private instanceTurnOpen;
2731
+ private instanceHasCancelButton;
1850
2732
  private cacheInstanceProcessStatus;
1851
2733
  /**
1852
2734
  * Fleet-wide warm cap: if more than `defaults.warm_cap` instances are running,
@@ -1868,6 +2750,14 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1868
2750
  private refreshInstanceExecutionState;
1869
2751
  private deliverWithIdleGate;
1870
2752
  private holdDeliveryForStorm;
2753
+ /**
2754
+ * Last synchronous commit of a pane write (S-244). True: the barrier journaled an adapter or web turn, so it is
2755
+ * not sent. There is no await between this and `ipc.send`. Unarmed, or not an agent turn: false, and the send proceeds.
2756
+ * A Hub or room payload is not a copy: `refuseHubPane` refuses it before this, and the producer leaves the row queued.
2757
+ */
2758
+ private holdPaneSend;
2759
+ /** The fence is up and this payload belongs to a durable Hub or room row. Do not send it and do not copy it. */
2760
+ private refuseHubPane;
1871
2761
  /**
1872
2762
  * Hand a payload to an instance's IPC, waiting out a *transient* disconnect.
1873
2763
  *
@@ -1938,7 +2828,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1938
2828
  * The tool's errors: an emoji outside the web set or one of the instance's delivery marks (web-reactions.ts), or a
1939
2829
  * message the chat does not have. An emoji the message already has is a success that changes nothing.
1940
2830
  */
1941
- reactToWebMessage(instance: string, messageId: string, raw: unknown): Promise<{
2831
+ reactToWebMessage(instance: string, messageId: string, raw: unknown, replyRoute?: import("./turn-reply-guard.js").TurnReplyRouteLease): Promise<{
1942
2832
  ok: true;
1943
2833
  mirrored: Promise<number>;
1944
2834
  } | {
@@ -1980,6 +2870,111 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1980
2870
  /** Cached FM + lifecycle + Daemon + tmux owner; unknown ownership grants nothing. */
1981
2871
  private humanReceiptOwner;
1982
2872
  private listenForHumanReceipt;
2873
+ /** One controlled candidate, shared by instruction rendering and the lifecycle's actual pre-start hook. */
2874
+ prepareRequestContextDaemonOwner(instance: string, config: InstanceConfig, policy: RequestContextPolicyPort, registration: RequestContextRegistrationGate, current: () => boolean): Readonly<{
2875
+ preparation: RequestContextStartPreparation;
2876
+ work: RequestContextPreparedWork;
2877
+ configure: (candidate: Daemon, actual: InstanceConfig, offered: RequestContextStartPreparation | undefined) => void;
2878
+ /** Ownership only, not readiness: the installer must independently prove all real transport ports. */
2879
+ sealRegistered: () => void;
2880
+ bound: () => boolean;
2881
+ hub: () => RequestHubInputResolver | null;
2882
+ dispose: () => void;
2883
+ }>;
2884
+ /** Installer-owned new-registration lane. Never called by a tool or inferred from an absent work row.
2885
+ * retirement is captured by the controlled relaunch before the old launch/IPC is stopped.
2886
+ */
2887
+ registerRequestContextWork(instance: string, retirement: {
2888
+ current(): boolean;
2889
+ retired(): Promise<boolean>;
2890
+ }): Promise<Readonly<{
2891
+ instance: string;
2892
+ incarnation: string;
2893
+ generation: string;
2894
+ }>>;
2895
+ /** Finish a committed registration's marker, including crash recovery. This creates no work, context or permission. */
2896
+ sealRequestContextWorkRegistration(instance: string, current: () => boolean): void;
2897
+ /** Capable boot/restart factory. A current retained work row is mandatory; a missing/new incarnation uses
2898
+ * only the explicit durable registration lane. No running daemon is hot-bound and no active turn is restored.
2899
+ */
2900
+ installRequestContextRetainedOwners(policy: RequestContextPolicyPort, registration: RequestContextRegistrationGate, current: () => boolean, adopt?: readonly {
2901
+ name: string;
2902
+ daemon: Daemon;
2903
+ prepared: ReturnType<FleetManager["prepareRequestContextDaemonOwner"]>;
2904
+ resources: {
2905
+ retired(): Promise<boolean>;
2906
+ };
2907
+ }[], options?: {
2908
+ firstOnStage?: {
2909
+ current(): boolean;
2910
+ };
2911
+ deferStartHooks?: boolean;
2912
+ }): Readonly<{
2913
+ current: () => boolean;
2914
+ beforeStart: (name: string, config: InstanceConfig) => Promise<void>;
2915
+ attach: () => void;
2916
+ adopt: (values: typeof adopt) => void;
2917
+ disposeStopped: (nativeRetired: () => boolean) => Promise<void>;
2918
+ disposeUnstarted: () => void;
2919
+ bound: (name: string, daemon: Daemon) => boolean;
2920
+ retain: () => void;
2921
+ seal: () => void;
2922
+ disposeStaged: () => Promise<void>;
2923
+ hub: (name: string) => RequestHubInputResolver | null;
2924
+ execTurns: (name: string) => RequestContextLocalTurns;
2925
+ execOwner: (name: string) => Readonly<import("./request-context-turns.js").RequestContextRuntimeOwner>;
2926
+ execInput: (name: string, ...args: Parameters<RequestContextExecOwner["prepare"]>) => Readonly<{
2927
+ inputId: string | null;
2928
+ wireSha256: string;
2929
+ claim: Readonly<import("./native-exec-input.js").NativeExecInputClaim>;
2930
+ inputReady: () => Promise<boolean>;
2931
+ current: () => boolean;
2932
+ bind: (value: import("./request-context-turns.js").RequestContextTurnSnapshot) => void;
2933
+ written: (value: Readonly<import("./native-exec-input.js").NativeExecInputProof>) => void;
2934
+ finish: () => void;
2935
+ }>;
2936
+ revision: () => string;
2937
+ turnView: (root: string) => {
2938
+ registration: RequestContextRegistrationGate;
2939
+ revision: string;
2940
+ references: string[];
2941
+ unknown: boolean;
2942
+ };
2943
+ callRevision: () => string;
2944
+ callView: (root: string) => {
2945
+ registration: RequestContextRegistrationGate;
2946
+ revision: string;
2947
+ references: string[];
2948
+ unknown: boolean;
2949
+ };
2950
+ inputRevision: () => string;
2951
+ inputView: (root: string) => {
2952
+ registration: RequestContextRegistrationGate;
2953
+ revision: string;
2954
+ references: string[];
2955
+ unknown: boolean;
2956
+ };
2957
+ }>;
2958
+ /** One replacement's C/D-local binding. It is constructed before startup, never hot-bound or published here. */
2959
+ makeRequestContextDaemonBinding(instance: string, daemon: Daemon, work: RequestContextDaemonWork, registration: RequestContextRegistrationGate, current: () => boolean): Readonly<{
2960
+ turns: RequestContextLocalTurns;
2961
+ hub: RequestHubInputResolver;
2962
+ input: (inputId: string, wireSha256: string, owner: Readonly<import("./request-context-turns.js").RequestContextRuntimeOwner>) => import("./request-context-turns.js").PreparedRequestContextInput | null;
2963
+ current: () => boolean;
2964
+ }>;
2965
+ /** Accepted Hub input owner; construction is pre-start and remains unpublished until the complete installer. */
2966
+ makeRequestContextHubResolver(instance: string, daemon: Daemon, current: () => boolean, registration: import("./request-context-fence.js").RequestContextRegistrationGate): RequestHubInputResolver;
2967
+ /** Physical B attempt resolver for the exact replacement daemon; no origin or correlation fallback. */
2968
+ makeRequestContextDeliveryResolver(instance: string, daemon: Daemon, current: () => boolean): {
2969
+ prepare(inputId: string, wireSha256: string, owner: Readonly<import("./request-context-turns.js").RequestContextRuntimeOwner>): import("./request-context-turns.js").PreparedRequestContextInput | null;
2970
+ };
2971
+ /** Pre-start owner factory; this neither installs a lifecycle nor publishes serving input. */
2972
+ makeRequestContextHumanResolver(instance: string, daemon: Daemon, current: () => boolean): {
2973
+ prepare(inputId: string, wireSha256: string, owner: Readonly<import("./request-context-turns.js").RequestContextRuntimeOwner>): import("./request-context-turns.js").PreparedRequestContextInput | null;
2974
+ };
2975
+ /** Assigned only by the complete installer at publication; candidate launch rendering cannot install this. */
2976
+ private requestContextHumanAdmission?;
2977
+ makeRequestContextHumanAdmission(): (instance: string, payload: Record<string, unknown>, origin: HumanOrigin, body: string) => import("./human-delivery-receipts.js").HumanReceiptRow;
1983
2978
  /** Evidence-only admission. Bots/system/agent payloads have no trusted origin. */
1984
2979
  private humanReceiptPayload;
1985
2980
  /** Register owned preparation at IPC; bind once at the final pane write. No human retry lane. */
@@ -1992,6 +2987,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1992
2987
  private startRetryHoldFor;
1993
2988
  /** Synchronous steer/btw handoff, using the same evidence and owner binding. */
1994
2989
  sendHumanControl(instanceName: string, payload: Record<string, unknown>, origin: HumanOrigin | undefined, originalBody: string): boolean;
2990
+ private sendAdmittedHumanControl;
1995
2991
  /** Single delivery facade: wake paused CLIs and serialize non-user work behind idle. */
1996
2992
  deliverToInstance(instanceName: string, payload: Record<string, unknown>, options?: DeliveryOptions): Promise<boolean | void>;
1997
2993
  /**
@@ -2009,6 +3005,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2009
3005
  adminGate(userId: string, ownerAdapterId?: string): "ok" | "disabled" | "denied";
2010
3006
  /** Fleet admin is an explicit config allowlist entry, not merely an open/paired user. See adminGate. */
2011
3007
  isFleetAdmin(userId: string, adapterId?: string): boolean;
3008
+ /**
3009
+ * Free mode at /start is the fleet-admin allowlist of the adapter that owns the room (adminGate).
3010
+ * A ClassicBot admin (`classicBot.yaml` admin_users) is not enough. A stub with no fleet and no worlds
3011
+ * is not an admin: the menu offers Restricted only.
3012
+ */
3013
+ private canChooseFreeMode;
2012
3014
  /** Whether this adapter has any fleet admin at all (an empty allowlist means the admin commands are off). */
2013
3015
  hasFleetAdmins(adapterId?: string): boolean;
2014
3016
  /**
@@ -2156,6 +3158,42 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2156
3158
  scheduleStartupRetry(name: string, attempt: number): void;
2157
3159
  /** Drop a pending automatic retry (an operator start/stop/restart supersedes it). */
2158
3160
  cancelStartupRetry(name: string): void;
3161
+ /**
3162
+ * M-3302 (#4146): the start failed because the backend's CLI is not installed (BackendBinaryMissingError). That does not get better
3163
+ * on the 1 → 5 → 15 min backoff and should not be given up on either: the instance is held, one notice per binary names the binary
3164
+ * and the install command (Needs you shows it too), and the fleet looks for the binary every MISSING_BINARY_WATCH_MS and starts each
3165
+ * held instance the moment it is back. True: handled.
3166
+ */
3167
+ private holdMissingBinary;
3168
+ /** The install command shown for a missing binary: the registry's (what /login and the dashboard run). */
3169
+ missingBinaryFix(backend: string): string;
3170
+ /**
3171
+ * M-3302: the summary a restart/update completion posts — `base` plus the "why" of its failed instances (missingBinarySummary). The one place both completions
3172
+ * (the startup batch after an update or restart, and the in-process restart) build it, so neither can drop the line (Fable on #4161).
3173
+ */
3174
+ completionSummary(base: RestartProgressSummary): RestartProgressSummary;
3175
+ /** M-3302: the restart/update completion's "why" for the failed instances held on a missing binary, grouped by binary ({} when none). */
3176
+ missingBinarySummary(failedNames: readonly string[]): {
3177
+ missingBinaries?: Array<{
3178
+ binary: string;
3179
+ fix: string;
3180
+ names: string[];
3181
+ }>;
3182
+ };
3183
+ /** M-3302: a missing binary's hold, for Needs you (null: none). */
3184
+ missingBinaryHold(name: string): {
3185
+ backend: string;
3186
+ binary: string;
3187
+ since: number;
3188
+ fix: string;
3189
+ } | null;
3190
+ /** One notice per missing binary, however many instances it stopped (the same aggregation window as the start-retry notices). */
3191
+ private queueMissingBinaryNotice;
3192
+ private ensureMissingBinaryWatch;
3193
+ private stopMissingBinaryWatchIfIdle;
3194
+ private missingBinaryCheckRunning;
3195
+ /** One look per backend still missing; each held instance whose binary is back is started now (through the spawn gate, as a retry). */
3196
+ checkMissingBinaries(): Promise<void>;
2159
3197
  /** #2484: the instance's own start retry is scheduled or running, and no person paused it (a stop cancels the retry). */
2160
3198
  private inStartRetryBackoff;
2161
3199
  /** Pending automatic retry, if any (status display / tests). */
@@ -2333,8 +3371,25 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2333
3371
  }): Promise<NamedTestResult | {
2334
3372
  busy: true;
2335
3373
  }>;
3374
+ private previewRouteTestRunning;
3375
+ /**
3376
+ * M-3814: Settings → Access → the fixed preview address's Check — the saved `web.public_link.preview_hostname`,
3377
+ * through the open fixed link's tunnel, to this preview listener (its boot id is the proof). One at a time; starts
3378
+ * nothing. An admin session only, over the public link too (M-3278; settings-api.ts).
3379
+ */
3380
+ testPreviewRoute(input?: {
3381
+ hostname?: unknown;
3382
+ }): Promise<PreviewRouteResult | {
3383
+ busy: true;
3384
+ }>;
2336
3385
  private getTunnelLane;
2337
3386
  private publicOwnerCurrent;
3387
+ /**
3388
+ * M-3163: the one General of `adapterId` (its group and topic) as `userId`'s code owner — where a returning device's new code is
3389
+ * meant for (#1570; requestReturningCode still checks it all again, with the live binding, before anything is sent). Null when
3390
+ * that connection has no General with a topic, or more than one.
3391
+ */
3392
+ private generalOwnerOf;
2338
3393
  /** Exact owning General. No primary-adapter or name fallback participates in authorization. */
2339
3394
  private dashboardOwner;
2340
3395
  /**
@@ -2490,6 +3545,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2490
3545
  }>;
2491
3546
  audit: GuestAuditEntry[];
2492
3547
  };
3548
+ /**
3549
+ * M-3734: each guest's agents now, as guestOverview lists them (#1920's derived access while no grants are saved) — the
3550
+ * scopes "Start from today's guests" on an agent's page is checked against, as it is admitted and as it applies.
3551
+ */
3552
+ guestDerivedScopes(): Record<string, string[]>;
2493
3553
  /** #2667: the ClassicBot rooms' instance names now — what a settings save's validation knows besides fleet.yaml's instances. */
2494
3554
  classicRoomNames(): string[];
2495
3555
  /**
@@ -2759,7 +3819,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2759
3819
  * Delete inbox files older than retentionDays (by mtime). Cleans the shared
2760
3820
  * inbox (`<dataDir>/inbox`) and every workspace inbox
2761
3821
  * (`<agendHome>/workspaces/*\/inbox`). Piggybacks on the daily summary timer,
2762
- * mirroring classic chat-log rotation (same 7-day retention).
3822
+ * mirroring classic chat-log rotation (same 7-day retention). M-3281: never a file the web chat still shows.
2763
3823
  */
2764
3824
  private rotateInboxes;
2765
3825
  /**
@@ -2886,13 +3946,22 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2886
3946
  * No pending reactions → no line → zero context spent, which is the common case.
2887
3947
  */
2888
3948
  private handleInboundReaction;
3949
+ /**
3950
+ * M-3293 (#4119): an Office pat or feed a person chose to tell `instance` about (their "Tell" on, the page's per-agent
3951
+ * choice). Queued with the reactions (EventLog.addOfficeReaction): it rides the instance's next real message in the
3952
+ * same `[Recent reactions: …]` line, never wakes it and never sends anything by itself. Whether it was stored (capped).
3953
+ */
3954
+ officeTell(instance: string, person: string, kind: "pat" | "feed"): boolean;
2889
3955
  /**
2890
3956
  * The queued-reaction summary for an instance's next real message, or {} when
2891
3957
  * nothing is pending (the common case must add zero context). The consume
2892
3958
  * callback is separate from the fetch so reactions are only marked once the
2893
3959
  * message actually went out — a failed delivery keeps them queued.
2894
3960
  */
2895
- private pendingReactionsMeta;
3961
+ pendingReactionsMeta(instanceName: string): {
3962
+ meta: Record<string, string>;
3963
+ consume: () => void;
3964
+ };
2896
3965
  /**
2897
3966
  * Which adapter's access policy governs an inbound message.
2898
3967
  *
@@ -2976,13 +4045,32 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2976
4045
  * copies retain their permissive handling when that identity is unknown.
2977
4046
  */
2978
4047
  private isOwnerCommandCopy;
2979
- /** File a Telegram update that was too old to inject; Needs you lists it until Acknowledge. */
4048
+ /**
4049
+ * Who a Telegram update that was too old to inject would have gone to live (handleInboundMessageCore), or null when live
4050
+ * delivery would not have taken it — then it is not "missed". A topic of the fleet group: its instance (an unbound topic
4051
+ * only gets the bind prompt live, so nobody). The fleet group's root: general ("" when none is configured). Any other chat
4052
+ * is a ClassicBot candidate: its registered room — in a group only when the message @mentions the bot — and otherwise
4053
+ * nobody (live, an unregistered chat is ignored, and an @mention there only gets the no-agent reply).
4054
+ */
4055
+ private missedOfflineInstance;
4056
+ /** File a Telegram update that was too old to inject, where live delivery would have taken it; Needs you lists it until Acknowledge. */
2980
4057
  private recordMissedOffline;
2981
4058
  /**
2982
4059
  * #1085: coincident topic numbers must not route across Telegram groups.
2983
4060
  */
2984
4061
  private resolveInboundTarget;
2985
4062
  private handleInboundMessage;
4063
+ /** #4145 (the web chat's /ui/send too): `text` with this fleet's sign-in access token hidden; null when there is none in it. */
4064
+ screenLoginToken(text: string): {
4065
+ text: string;
4066
+ live: boolean;
4067
+ } | null;
4068
+ /** #4145: take a pasted access token back (a new one goes the way the first went); the line for the chat it was pasted in, or null. */
4069
+ loginTokenPasted(): Promise<string | null>;
4070
+ /** #4145: the message with the live (or a just-taken-back) sign-in access token hidden in its text and its receipt body; null when neither has one. */
4071
+ private screenPastedLoginToken;
4072
+ /** #4145: take the pasted token back (a new one goes privately) and say so once, where it was pasted. Never the token in a log line. */
4073
+ private takeBackPastedLoginToken;
2986
4074
  /**
2987
4075
  * #1752: the bot that speaks back about an inbound message — in a fleet topic the owning instance's adapter, never
2988
4076
  * the sibling that happened to win the dedup race; elsewhere (ClassicBot rooms, no routed instance) the receiver.
@@ -3043,6 +4131,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3043
4131
  private landedInOwnChannel;
3044
4132
  /** #1920 §5.2 (#2085 review): a platform click's buttons are in the instance's own place — else not its channel's. */
3045
4133
  private clickInOwnChannel;
4134
+ /**
4135
+ * M-3491: the platform message id a reply to `id` uses on `adapterId`'s chat and thread — the copy there of the kept
4136
+ * web-chat message `id` names (#2281 posts) — or undefined when the chat keeps no such message or it has no copy there.
4137
+ */
4138
+ nativeReplyTo(instance: string, id: string, adapterId: string, chatId: string, threadId: string): string | undefined;
4139
+ captureReplyPreview(instance: string, args: Record<string, unknown>): ((result: unknown) => void) | undefined;
3046
4140
  private afterReplyRouted;
3047
4141
  /**
3048
4142
  * #1770: a reply's files as the web chat shows them. Each is copied into the instance's web-files/ and served from
@@ -3126,7 +4220,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3126
4220
  private setInstanceDescription;
3127
4221
  private handleSetDisplayName;
3128
4222
  private handleSetDescription;
3129
- handleScheduleCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
4223
+ handleScheduleCrudHttp(instance: string, op: string, args: Record<string, unknown>, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
3130
4224
  /**
3131
4225
  * The only place an agent's request creates, changes or removes a schedule
3132
4226
  * (#895). The IPC handler (MCP calls, direct channel.sock writes) and the
@@ -3174,14 +4268,14 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3174
4268
  */
3175
4269
  decisionProjectRootFor(instance: string): string | null;
3176
4270
  handleDecisionCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
3177
- handleTaskCrudHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
4271
+ handleTaskCrudHttp(instance: string, args: Record<string, unknown>, _snapshot?: unknown, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
3178
4272
  handleSetDisplayNameHttp(instance: string, name: string): Promise<unknown>;
3179
4273
  handleListEmojisHttp(instance: string, refresh: boolean, args?: Record<string, unknown>): Promise<unknown>;
3180
4274
  handleListStickersHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3181
4275
  handlePreviewStickersHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3182
4276
  handleSetPersonaEmojiHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3183
4277
  /** #1629: `agend-agent theme …` — the same service as the tools; `instance` is the token's. */
3184
- handleWebThemeHttp(instance: string, tool: string, args: Record<string, unknown>): Promise<unknown>;
4278
+ handleWebThemeHttp(instance: string, tool: string, args: Record<string, unknown>, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
3185
4279
  handlePreviewEmojisHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3186
4280
  handleSetDescriptionHttp(instance: string, description: string): Promise<unknown>;
3187
4281
  private summarizeToolCall;
@@ -3290,7 +4384,13 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3290
4384
  * document. Unknown keys and comments remain untouched; redundant
3291
4385
  * non-identity instance leaves are canonicalized to inheritance afterward.
3292
4386
  */
3293
- saveFleetConfig(explicitPatches?: RawConfigPatch[]): void;
4387
+ saveFleetConfig(explicitPatches?: RawConfigPatch[], requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): void;
4388
+ private sharedIdentitySource;
4389
+ private sharedDefaultsView;
4390
+ private pendingRuntimeIdentity;
4391
+ /** A save is not a restart consent. Remember shared identity edits until the
4392
+ * current runtime ends (or an apply explicitly chooses to restart it). */
4393
+ private trackSharedDefaultChanges;
3294
4394
  /** A permission tightening is effective when its save returns, independently of the later apply job or IPC. */
3295
4395
  private refreshSavedDashboardPermissions;
3296
4396
  /** Why the config written to `candidate` must not replace fleet.yaml, or null: it does not load, or it adds errors. */
@@ -3434,6 +4534,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3434
4534
  * (members, users, roles, channels).
3435
4535
  */
3436
4536
  webMentionNames(query: MentionQuery): MentionNames;
4537
+ /** Guest labels use the exact instance connection/channel, never Fleet-wide seen users or another bot. */
4538
+ private guestMentionNames;
3437
4539
  /** GET /ui/emojis: the custom emoji of every server the fleet's Discord bots are in (the Settings picker's cache). */
3438
4540
  webEmojiList(): Promise<Array<{
3439
4541
  id: string;
@@ -3792,10 +4894,31 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3792
4894
  private interactionWaitKey;
3793
4895
  /** An instance's interaction observation, pause or wake changed (relayed by the lifecycle): recompute now, not at the tick. */
3794
4896
  onAttentionChanged(name: string): void;
4897
+ /** M-3749: the credential profile a Claude config dir belongs to, for people and agents: its name, or "default". */
4898
+ private claudeProfileLabel;
4899
+ /**
4900
+ * M-3749: a launch found MCP servers the agent had under its previous profile and does not have now. Told to the agent
4901
+ * once per set (the outbox key), held until it is delivered; Needs you lists it from the daemon (instancesForNeeds).
4902
+ */
4903
+ onMcpMissing(name: string, missing: import("./backend/claude-mcp-carry.js").McpMissing | null): void;
4904
+ /** M-3749: a person dismissed an agent's missing-MCP item (web or chat Acknowledge). false: nothing was outstanding. */
4905
+ acknowledgeMcpMissing(name: string): boolean;
3795
4906
  /** The list for the web: every world's items, and those of instances with no world (#1386 §5.0). */
3796
4907
  needsYouItems(): WebNeedsItem[];
3797
- /** Enabled member composition supplies only a local attention reader, never an approval/execution callback. */
3798
- attachHubExecutionAttention(read: (() => import("./needs-you.js").HubExecutionAttentionInput[]) | null): void;
4908
+ /** Enabled member composition supplies held-work readers and explicit owner retry/close operations. */
4909
+ attachHubExecutionAttention(read: (() => import("./needs-you.js").HubExecutionAttentionInput[]) | null, retry?: ((id: string) => "queued" | "not-found" | "not-retryable") | null, close?: ((id: string) => Promise<HubHeldCloseOutcome>) | undefined): void;
4910
+ /**
4911
+ * M-3632: Needs you → "Try again" on held Hub work (`hub:hold:<row>`). The question goes back through the member's whole
4912
+ * hand-off, including the Hub's begin lease; nothing is delivered without it.
4913
+ */
4914
+ closeHubHeld(itemId: string, actor: ContactPerson): Promise<{
4915
+ status: number;
4916
+ code: string;
4917
+ }>;
4918
+ retryHubHeld(itemId: string): {
4919
+ status: 200 | 404 | 409;
4920
+ code: "queued" | "not-found" | "not-retryable";
4921
+ };
3799
4922
  /**
3800
4923
  * #1389: the org chart's structure for the web — the instances the dashboard lists (getUiStatus's names), General,
3801
4924
  * fleet.yaml's teams, each instance's description and thread link. Read on demand; the live state rides the stream.
@@ -3917,7 +5040,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3917
5040
  actions: Array<{
3918
5041
  id: string;
3919
5042
  label: string;
5043
+ hint?: string;
5044
+ role?: import("./backend/types.js").RemoteCardRole;
5045
+ confirmation?: import("./backend/types.js").RemoteCardOption["confirmation"];
3920
5046
  }>;
5047
+ view?: import("./backend/types.js").RemoteCardView;
3921
5048
  expiresAt: number;
3922
5049
  links?: import("./topic-link.js").TextLink[];
3923
5050
  }>;
@@ -3947,12 +5074,15 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3947
5074
  name: string;
3948
5075
  guest?: true;
3949
5076
  authority?: HumanAuthority;
5077
+ identity?: WebSessionIdentity;
5078
+ sessionHandle?: string;
3950
5079
  }): Promise<{
3951
5080
  status: 200 | 400 | 403 | 409;
3952
5081
  error?: string;
3953
5082
  options?: number[];
3954
5083
  }>;
3955
- clickWebPrompt(instance: string, nonce: string, action: string, text?: string): Promise<{
5084
+ webPromptNeedsHuman(nonce: string): boolean;
5085
+ clickWebPrompt(instance: string, nonce: string, action: string, text?: string, humanSession?: boolean): Promise<{
3956
5086
  status: 200 | 400 | 403 | 409;
3957
5087
  error?: string;
3958
5088
  outcome?: string;
@@ -3988,6 +5118,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3988
5118
  * #1939 S1: the design's §3 for one web request (authority/web-authority.ts), with this fleet's admins, policy and
3989
5119
  * token; `instance` once the body has named it. Observe only: receipts record it, no agent acts on it yet.
3990
5120
  */
5121
+ /** A signed-in account is recognizable before verification; this supplies no action authority. */
5122
+ webSessionIdentity(session: SessionRecord): WebSessionIdentity | undefined;
3991
5123
  webAuthority(input: {
3992
5124
  session: SessionRecord | null;
3993
5125
  gateway: boolean;
@@ -4011,6 +5143,22 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4011
5143
  ok: false;
4012
5144
  refusal: WebAuthorityRefusal;
4013
5145
  };
5146
+ /** M-3651 (auth-api's /auth/session): until when this guest session is verified as its account now; null when it is not. */
5147
+ guestVerifiedUntil(req: IncomingMessage, session: SessionRecord): number | null;
5148
+ /**
5149
+ * M-3651: a guest session that signed in with a code AgEnD delivered privately to its own account — recorded as that
5150
+ * account's authorization of it, judged by evaluateGuestIdentity (the switch, the links, "Only this computer", the token):
5151
+ * its messages then carry `web-guest`, who it is and never more. Only at sign-in: a guest is never sent a Confirm card.
5152
+ */
5153
+ private authorizeGuestSession;
5154
+ /**
5155
+ * M-3277 (decision 7933bf90; auth-api, at sign-in): an admin session that signed in with a code AgEnD delivered privately
5156
+ * to its account (a DM, or Discord's ephemeral reply) starts verified — that code went to the very DM a Confirm card
5157
+ * would. §3 is judged as at a Confirm (authorizeWebSession: the switch, loopback only, the named / quick link options,
5158
+ * still an admin, the namespace); a refusal leaves the session signed in and unverified, as before. The account is told
5159
+ * at once, with Not me (noteAuthorized). Re-verifying once that authorization has run out still takes the card.
5160
+ */
5161
+ authorizeSignedInSession(session: SessionRecord, peer: WebPeer, gateway: boolean): void;
4014
5162
  /**
4015
5163
  * #2910 D1 (auth-api, at sign-in): a web-only fleet's host session — signed in with the host's own code (`agend web
4016
5164
  * --code`) on this computer — is the host operator, authorized from now for max_session_hours (as an account's
@@ -4177,6 +5325,16 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4177
5325
  */
4178
5326
  authorizeOutsideSession(session: SessionRecord, peer: WebPeer, label: string): boolean;
4179
5327
  private authorityStateStore;
5328
+ private namedLinkDefaultChecked;
5329
+ /**
5330
+ * M-3277 (#4099 review, F1): the named link is on by default now, and before M-3277 the Settings card turned it off by
5331
+ * removing `named_link` from fleet.yaml. A fleet whose owner did that (the state file: seen, and off now) would read the
5332
+ * absent key as the new default — on again, and the epoch moved — against that owner's last choice. Once per process
5333
+ * (and again after a reload), before the state is read: such a fleet gets `named_link: false`, in memory at once and in
5334
+ * fleet.yaml (a backup first, as every upgrade migration). A fleet that never turned it on gets the default (nothing
5335
+ * was ever authorized over that link); an explicit value is never touched.
5336
+ */
5337
+ private migrateNamedLinkDefault;
4180
5338
  /**
4181
5339
  * #1939 §10: the switch, "Only this computer can authorize" and the revocation epoch in force for the configuration as
4182
5340
  * it is now (a change since last seen moves the epoch first; authority-state.ts). No data directory: off.
@@ -4288,7 +5446,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4288
5446
  kept: boolean;
4289
5447
  };
4290
5448
  } | null;
4291
- /** #1269: an instance's chat command from the web chat (web-commands.ts); `publicLink`: a gateway request. */
5449
+ /** #1269: an instance's chat command from the web chat (web-commands.ts); `publicLink`: a gateway request by anyone but an admin session (M-3278). */
4292
5450
  /** #2855: the table scope of an instance the web chat may command (a fleet instance or a ClassicBot room), else null. */
4293
5451
  private webCommandScope;
4294
5452
  /** #2855: the platform an instance's channel is on, for the command table's cell (a web-only fleet: Discord's). */
@@ -4303,6 +5461,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4303
5461
  publicLink: boolean;
4304
5462
  person?: Pick<WebPersonView, "userId" | "name">;
4305
5463
  authority?: HumanAuthority;
5464
+ identity?: WebSessionIdentity;
5465
+ sessionHandle?: string;
4306
5466
  guest?: boolean;
4307
5467
  }): Promise<WebCommandResult>;
4308
5468
  /** Consume `/clear` Confirm/Cancel exactly once; only Confirm reaches IPC. */
@@ -4574,6 +5734,15 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4574
5734
  */
4575
5735
  private machineSignInsInstance;
4576
5736
  get machineSignIns(): MachineSignIns;
5737
+ /**
5738
+ * A paired computer's sign-in ended — ask its Runtime once (`models.refresh`, as the admin who finished the
5739
+ * sign-in) for the list as this account, so the next read of its agents' and the create dialog's list has it without the
5740
+ * Refresh button. Once per sign-in; never on a read (M-2239 P1-2). A Runtime without the capability, a refused account or any
5741
+ * failure is skipped quietly: the sign-in is done either way.
5742
+ */
5743
+ /** The name a paired computer's audit log records for the admin session that signed in on it (`admin:<handle>`); null refuses. */
5744
+ private machineSignInActor;
5745
+ private nativeModelsAfterSignIn;
4577
5746
  private machineAccountsInstance;
4578
5747
  /** #3190 Part 3c: a paired computer's accounts in Settings → Accounts (machine-accounts.ts). */
4579
5748
  get machineAccounts(): MachineAccounts;
@@ -4632,6 +5801,19 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4632
5801
  * usage is the usage panel's cached read (never forced), given at most `usageWaitMs` before the view is sent without it.
4633
5802
  */
4634
5803
  accountsView(usageWaitMs?: number): Promise<AccountsView>;
5804
+ /**
5805
+ * M-3307: the install kind as the AI accounts page is told it — paths `~`-abbreviated (Fable note 2 on #4163) — and, for a native install, the npm copy still left on
5806
+ * this computer (note 1: found again here, not only remembered from a switch in this process), so its removal is offered after a restart too.
5807
+ */
5808
+ private claudeInstallShown;
5809
+ private claudeNpmCopyCache;
5810
+ /**
5811
+ * M-3307 (Fable note 1 on #4163): an npm copy of Claude Code on this computer, looked for afresh: the one a switch in this process found, else `<npm root -g>/@anthropic-ai/claude-code`
5812
+ * (a fresh login shell's npm), else the system prefixes' (/usr/lib, /usr/local/lib). The answer is kept a minute (the page reads it on each view). Null: none.
5813
+ */
5814
+ private findClaudeNpmCopy;
5815
+ /** M-3307 (#4146): the kind of the host's Claude Code install, from the real path of the `claude` the availability snapshot resolved (null: none, or unreadable). */
5816
+ claudeInstall(path?: string | null): Promise<ClaudeInstall | null>;
4635
5817
  /**
4636
5818
  * AGEND-113: a dashboard sign-in just finished: read the usage once more now (the panel's own forced read, so its 30-second floor and Retry-After hold), instead of showing what was read
4637
5819
  * before it for up to five minutes, and tell the pages to read their view again when something really was fetched. Never awaited, never allowed to fail the sign-in's follow-up.
@@ -4699,6 +5881,33 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4699
5881
  * own scope), ClassicBot rooms and the fleet default per CLI, each with its effective profile (null: the default sign-in).
4700
5882
  */
4701
5883
  private accountUses;
5884
+ private readonly claudeCredentialChanges;
5885
+ claudeCredentialConsumers(profile: string | null): {
5886
+ users: string[];
5887
+ revision: string;
5888
+ };
5889
+ changeClaudeCredential(profile: string | null, revision: number, change: {
5890
+ kind: ClaudeCredentialKind;
5891
+ value: string;
5892
+ } | "subscription" | null, actor: CredentialActor, confirmation: {
5893
+ restart?: boolean;
5894
+ consumersRevision?: string;
5895
+ }, authorized: () => boolean, ownClaim?: import("./login-window-lock.js").LoginWindowClaim): Promise<{
5896
+ credential: ClaudeCredentialMetadata;
5897
+ restarted: string[];
5898
+ pending: string[];
5899
+ stopped: string[];
5900
+ }>;
5901
+ private claudeSetupTokensInstance;
5902
+ claudeSetupTokenOperation(owner: SetupTokenOwner, request: SetupTokenRequest): Promise<import("./claude-setup-token.js").SetupTokenView>;
5903
+ /** M-3419: private host credential store. No secret is logged or returned by the metadata API. */
5904
+ private withClaudeVault;
5905
+ claudeCredentialMetadata(profile: string | null): ClaudeCredentialMetadata | null;
5906
+ auditClaudeCredential(actor: CredentialActor | null, action: string, outcome: string): void;
5907
+ writeClaudeCredential(profile: string | null, revision: number, change: {
5908
+ kind: ClaudeCredentialKind;
5909
+ value: string;
5910
+ } | "subscription" | null, actor: CredentialActor): ClaudeCredentialMetadata;
4702
5911
  /** #3212 PR 2: Settings → Accounts → + Add account (accounts-profiles.ts). `by`: the session's label, for the fleet log. */
4703
5912
  addAccountProfile(backend: string, name: unknown, by: string, machine?: MachineActor): AddResult | Promise<MachineAccountResult>;
4704
5913
  /** The profile names the configuration refers to for this backend — an agent, a ClassicBot room, the fleet default — whether or not their folders exist yet. */
@@ -4747,7 +5956,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4747
5956
  */
4748
5957
  private profileSignInSupported;
4749
5958
  backendSignInTargets(): SignInTarget[];
4750
- /** #2233: the session with this handle is live, admin, local and of the current dashboard token. */
5959
+ /**
5960
+ * #2233: the session with this handle is live, admin and of the current dashboard token. M-3278 (decision 7933bf90): on
5961
+ * any listener — the public link's admin session too (closing the link revokes its sessions, so none outlives it).
5962
+ */
4751
5963
  private isLocalAdminSession;
4752
5964
  /**
4753
5965
  * #2233: `/login` for a dashboard requester. The same controller and checks; a CLI that is not installed is refused
@@ -4887,6 +6099,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4887
6099
  * reported through `reporter`; nothing is posted to any chat, and no sign-in is started (the page offers Sign in itself).
4888
6100
  */
4889
6101
  startWebInstall(backendArg: string, reporter: HostInstallReporter, execution?: SettingsExecution, mode?: HostInstallMode): Promise<HostInstallStart>;
6102
+ /** M-3307: the npm copy of Claude Code the last switch found (its package directory), the one `remove-npm` removes. */
6103
+ private claudeNpmCopy;
6104
+ /**
6105
+ * M-3318: the other npm processes on this computer that may be changing packages (pid and npm's command word only — never the argv, which can carry
6106
+ * a registry credential), judged as the AgEnD installer judges them (#4148). Null when the process list cannot be read.
6107
+ */
6108
+ private otherNpmChanging;
6109
+ /** M-3307: Claude's native install is there: `~/.local/bin/claude` leads into its versions folder. */
6110
+ private nativeClaudePresent;
6111
+ /** M-3307: where `binary` resolves in a fresh login shell now, the kind of that install, and whether `npmCopy` (a package directory) is still there. */
6112
+ private claudeInstallAfter;
4890
6113
  /** A fresh login shell's answer for `binary`, else the installer's own directories (see locateBinaryOnLoginShell / locateInstalledBackend). */
4891
6114
  private locateInstalledCli;
4892
6115
  /** Whether this backend's CLI is on the fleet's PATH (what `/login` installs when it is not). */
@@ -4941,8 +6164,28 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4941
6164
  * withdrawn once its cards changed again (#2801; task-board-waker.ts).
4942
6165
  */
4943
6166
  private attachTaskBoard;
4944
- /** A task board notice, as AgEnD's own (not a person's words): through the delivery outbox, held until delivered. */
6167
+ /** A card page showing a comment's status reads it again: the card numbers whose comments moved (the page asks for the rest). */
6168
+ private emitTaskWakes;
6169
+ /** A delivery changed (state or consumed): when it is a task board notice, the cards it names have comments whose status moved. */
6170
+ private noteTaskWakeDelivery;
6171
+ /** How far the notices carrying comments (the task board's) got in the delivery outbox, by their keys (the card page's comment status). */
6172
+ taskWakeProgress(keys: readonly string[]): Map<string, NoticeProgress>;
6173
+ /**
6174
+ * A task board notice, as AgEnD's own: through the delivery outbox, held until delivered. `origins`: the writers whose
6175
+ * own words it carries (a comment, a mention, a follower's progress) with their contact origin as they wrote; the
6176
+ * instance inherits each, as admitDurableDelivery does for a peer's message, so the words do not shed the origin.
6177
+ */
4945
6178
  private admitTaskBoardNotice;
6179
+ /**
6180
+ * Whether `source`'s words may reach `target` by the task board on their own: the rules a peer message meets before it
6181
+ * is admitted — no active Hub contact restriction (M-3160: send_to_instance and broadcast refuse it, whatever the
6182
+ * origin; #4367 review) and no retained origin that needs a contact application (M-3384, ContactAuthService.
6183
+ * needsApplication). A board notice is never an application, so what needs one is not sent and its writer is told to
6184
+ * use send_to_instance. A standing grant is not read here: it is honoured there. Fails closed.
6185
+ */
6186
+ private taskBoardMayReach;
6187
+ /** The board's wakes as the write commits, each writer whose words they carry stamped with its contact origin now. */
6188
+ private withWriterOrigins;
4946
6189
  listClaimedTasks(assignee: string): Array<{
4947
6190
  id: string;
4948
6191
  title: string;
@@ -4956,6 +6199,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4956
6199
  * "restarted").
4957
6200
  */
4958
6201
  private handleHangPrompt;
6202
+ /** Each CLI's project instructions file (one table, shared with the Details size card: instruction-file-sizes.ts). */
4959
6203
  private static INSTRUCTIONS_FILENAME;
4960
6204
  private static GENERAL_INSTRUCTIONS;
4961
6205
  /** Ensure the general instance has its project instructions file + knowledge */
@@ -5055,6 +6299,33 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5055
6299
  * "not confirmed".
5056
6300
  */
5057
6301
  private runRuntimeModelSwitch;
6302
+ /**
6303
+ * M-3175: codex's `/model [NAME] --reasoning=LEVEL` in the running session. The daemon types it only into an idle pane of a
6304
+ * codex at 0.164.0 or later (else `not_sent`, with the reason) and reports what codex recorded. Its wait for idle is part of
6305
+ * the time allowed here.
6306
+ */
6307
+ private runCodexRuntimeSwitch;
6308
+ /**
6309
+ * M-3180: the in-session switch of a CLI in CLI_RUNTIME_SWITCH, one command at a time (the entry's steps), each typed by the
6310
+ * daemon only into an idle pane of a running binary at the entry's minimum for that step, and confirmed by what the CLI showed
6311
+ * after it. The first step that did not switch ends it, with that step. A model the CLI cannot vouch for is not typed.
6312
+ */
6313
+ private runCliRuntimeSwitch;
6314
+ /**
6315
+ * M-3180: whether this instance's `/model` / `/effort` try its CLI's in-session switch. kiro: only an instance last launched on the
6316
+ * TUI (the v2 engine; the engine ledger) — classic and V3 keep the restart.
6317
+ */
6318
+ private cliSwitchRouted;
6319
+ /** M-3180: why a CLI_RUNTIME_SWITCH switch fell back to a restart, in the reply's words. */
6320
+ private cliSwitchFallbackReason;
6321
+ /** M-3175: why a codex switch fell back to a restart, in the reply's words. */
6322
+ private codexSwitchFallbackReason;
6323
+ /**
6324
+ * M-3175: the effort a codex model switch carries — the one a restart would launch with (configured, and listed by that
6325
+ * model's catalog, as the launch flag is gated); null when there is none, and codex then takes the model's default, as a
6326
+ * launch without an effort does.
6327
+ */
6328
+ private codexSwitchEffort;
5058
6329
  /**
5059
6330
  * #1690: the names claude-code is known to accept, for checking `/model <name>` BEFORE it is typed — claude itself
5060
6331
  * accepts any string ("Set model to opsu"), and its "Switch model?" then names the typo. Static aliases (with [1m]),
@@ -5124,6 +6395,37 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5124
6395
  private persistCliEnvProbeResult;
5125
6396
  /** Background-probe every distinct backend in use at startup (non-blocking). */
5126
6397
  private probeCliEnvs;
6398
+ /**
6399
+ * Whether a named account's catalog can be discovered without publishing another account's models under its name
6400
+ * (#3526 / D7). A CLI whose profile is a variable the probe inherits (codex, kiro, claude) is. A CLI told its account by an
6401
+ * argument (agy, `launch-argument`) is too, since AGEND-278: the probe is run with the account's own folder
6402
+ * (backend/antigravity.ts `listModels`), and it answers nothing for a folder with no sign-in. Never a profile on a
6403
+ * backend that has no credential home at all.
6404
+ */
6405
+ private modelDiscoverable;
6406
+ /** One model discovery for a binding — the scoped (own config) or the shared per-backend/profile cache — or null when fenced. */
6407
+ private discoverModels;
6408
+ /** The `models` stream event: a backend's model list changed — an open page reads it again (no details, as `backend_login`). */
6409
+ private announceModels;
6410
+ private modelOpenProbes;
6411
+ /**
6412
+ * The list a menu opens on. Cached and fresh: nothing to do. Empty (never discovered: the CLI was signed out
6413
+ * at startup, or the agent just moved to this CLI): one bounded discovery that the caller waits for — so `/model` and
6414
+ * Settings show "loading" instead of an empty list. Stale: the list stands and is refreshed behind it. Both join a
6415
+ * discovery already running, and an attempt that found nothing is not repeated for MODEL_OPEN_PROBE_COOLDOWN_MS.
6416
+ * Never throws; a Windows Runtime's catalog is its inventory's and is not a host probe.
6417
+ */
6418
+ ensureModelCatalog(backend: string, instance: string | null, selection?: {
6419
+ profile?: string;
6420
+ }): Promise<void>;
6421
+ /**
6422
+ * A sign-in just ended, so the CLI can now answer `models` as this account — whatever started the sign-in
6423
+ * (Settings → Accounts, a named account, chat `/login`, the dashboard's terminal). The account's list is read again now,
6424
+ * not at the next startup or by hand. The default account: the backend's shared cache. A named account: its own store
6425
+ * (claude's profile catalog), or each agent's scoped one (the other CLIs, agy included: its probe runs with the account's folder).
6426
+ * A provider-bound agent does not depend on the sign-in. Background; each page is told when the list changed.
6427
+ */
6428
+ private modelsAfterSignIn;
5127
6429
  /** Maintain discovery after committed config changes; a model-field read remains passive. */
5128
6430
  private probeChangedCliEnvs;
5129
6431
  /** Best-effort model list for `/model`: cached CLI env first, else live probe. Never throws. */
@@ -5336,6 +6638,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5336
6638
  /** Explicit, bounded vendor rediscovery. Never publish an answer under a different account/config/instance. */
5337
6639
  refreshModelCatalogFor(backend: string, instance: string | null, selection?: {
5338
6640
  profile?: string;
6641
+ }, opts?: {
6642
+ afterSignIn?: boolean;
5339
6643
  }): Promise<{
5340
6644
  models: import("./backend/types.js").ModelOption[];
5341
6645
  refreshed: boolean;
@@ -5363,8 +6667,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5363
6667
  * #1806 review: the instance a `/backend` was asked about is still this config entry — not one deleted and created
5364
6668
  * again under the same name, or replaced by a Settings edit (both put a new object there), stopped or not.
5365
6669
  */
6670
+ private backendCommandTarget;
5366
6671
  private backendTargetIs;
5367
- /** `/backend` is for fleet.yaml instances: update_instance_config does not manage a ClassicBot agent. */
6672
+ /** An absent, ambiguous or unreadable room is never a backend-switch target. */
5368
6673
  private backendCommandRefusal;
5369
6674
  /**
5370
6675
  * Apply a confirmed `/backend`: judged again first (a menu lives a minute — the backend may have moved, a CLI been
@@ -5372,6 +6677,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5372
6677
  * (its credential-profile login gate included), then one fresh relaunch of a running instance.
5373
6678
  */
5374
6679
  applyBackendSwitch(instanceName: string, args: readonly string[], from: string, stillCurrent: () => boolean): Promise<string>;
6680
+ /** M-3543: a switched agent that is shared on the Hub needs sharing again (#3147: consent never carries over) — say so. */
6681
+ private withHubShareLapse;
5375
6682
  /** A step's buttons: index callbacks (a model id can be longer than Telegram's 64-byte callback data allows). */
5376
6683
  private backendStepButtons;
5377
6684
  /**
@@ -5382,7 +6689,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5382
6689
  private presentBackendStep;
5383
6690
  /** Close a `/backend` menu with a last word: its buttons go (Telegram edits them away), the text stays. Returns where it was said. */
5384
6691
  private endBackendMenu;
5385
- /** Start `/backend` for a fleet instance from Discord or Telegram; the caller has checked the channel admin. */
6692
+ /** Start the shared `/backend` picker for a Fleet instance or ClassicBot room. */
5386
6693
  private beginBackendCommand;
5387
6694
  /** `/backend` slash handler: channel admin, as `/model`. Options or typed text give the direct form. */
5388
6695
  private handleBackendSlash;
@@ -5409,19 +6716,34 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5409
6716
  /** #2072: from the published snapshot (no `which` on the loop); not checked yet counts as installed (no false alarm). */
5410
6717
  private isBackendInstalled;
5411
6718
  private getMissingBackendWarning;
5412
- /** Handle Discord's required static slash choice, warning before a likely startup failure. */
6719
+ /** Discord buttons when the interaction can draw them; otherwise the adapter's own chooser. Never the backend select. */
6720
+ private classicModePoster;
6721
+ /** Where the finished start (and a hold notice) lands: the Discord interaction, or the Telegram menu message. */
6722
+ private classicStartComplete;
6723
+ /** Handle Discord's required static slash choice. The room waits for the mode menu. */
5413
6724
  private handleClassicStartSlash;
5414
6725
  private handleClassicStartSlashCore;
5415
- /** Present platform-native backend choices, then start on selection or timeout. */
6726
+ /** Present platform-native backend choices. A choice opens the mode menu; a timeout or a failed menu creates nothing. */
5416
6727
  private beginClassicBackendSelection;
5417
- /** Consume a selection callback. Returns true for all ClassicBot callback IDs, including stale ones. */
6728
+ /** Drop a pending /start without creating a room. */
6729
+ private cancelClassicPending;
6730
+ /** Consume a backend click. Returns true for every classic-backend id, including a stale one. */
5418
6731
  private handleClassicBackendSelection;
5419
- /** Atomically claim one pending request so timeout/click races create at most one instance. */
6732
+ /** The backend is chosen. Retire that menu and ask for the mode. Nothing is registered here. */
5420
6733
  private finishClassicBackendSelection;
6734
+ /** After a backend is known (slash, `/start BACKEND`, or a backend click). The room waits for a mode click. */
6735
+ private beginClassicModeSelection;
6736
+ /** For a fleet admin, Free is first and labeled recommended. Restricted stays a button.
6737
+ * Anyone else sees only Restricted. Either way the room waits for a tap. */
6738
+ private openClassicModeMenu;
6739
+ /** Consume a mode click. A Free click from anyone else is ignored and the menu stays up. */
6740
+ private handleClassicModeSelection;
6741
+ /** Claim the mode choice and create the room. A second click or the timeout finds nothing. */
6742
+ private finishClassicModeSelection;
5421
6743
  /** Start a classic channel instance with lightweight config */
5422
6744
  private startClassicInstance;
5423
6745
  /** Handle /start slash command — register classic channel */
5424
- handleClassicStart(channelId: string, channelName: string, userId: string, guildId?: string, adapterId?: string, backend?: string): Promise<string>;
6746
+ handleClassicStart(channelId: string, channelName: string, userId: string, guildId?: string, adapterId?: string, backend?: string, restricted?: boolean): Promise<string>;
5425
6747
  /** Handle /stop slash command — unregister classic channel */
5426
6748
  handleClassicStop(channelId: string, adapterId?: string): Promise<string>;
5427
6749
  /**
@@ -5701,7 +7023,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5701
7023
  private hotAddConnections;
5702
7024
  /** Set the named keys of the data dir's .env into this process's environment (the file's lease held by `owner`). */
5703
7025
  private loadEnvKeys;
5704
- planConfigApply(): Array<{
7026
+ planConfigApply(defaultConsent?: ReadonlySet<object>): Array<{
5705
7027
  target: string;
5706
7028
  kind: ApplyTargetKind;
5707
7029
  }>;
@@ -5712,7 +7034,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5712
7034
  * the whole point: the retry after a lost response must not apply everything a
5713
7035
  * second time.
5714
7036
  */
5715
- startSettingsApply(key: string): {
7037
+ captureSharedDefaultsConsent(): string;
7038
+ startSettingsApply(key: string, sharedDefaults?: "next-start" | "restart", restartTargets?: readonly string[], receipt?: string): {
5716
7039
  job: ApplyJob;
5717
7040
  reused: boolean;
5718
7041
  } | {
@@ -5729,7 +7052,52 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5729
7052
  /** Tests only: where lookUpUpdateTarget looks for npm (M-2858); unset in production (the running install, process.env). */
5730
7053
  private updateNpmProbe?;
5731
7054
  private lookUpUpdateTarget;
5732
- /** M-2738: record a look's answer for the web — the same offer the notice below would make. */
7055
+ /** M-3770: the pre-flight probes (runUpdatePreflight; tests stub that module, so no real npm or systemctl runs). */
7056
+ protected probeUpdatePreflight(opts: {
7057
+ target?: string | null;
7058
+ localOnly?: boolean;
7059
+ }): Promise<import("./update-readiness.js").UpdatePreflight>;
7060
+ /**
7061
+ * M-3770: refresh the cached pre-flight for the offered version. One at a time; never throws. A run is bound to the
7062
+ * version it judged: if the offer moved meanwhile its result is not published (Prism #4483 3) and the run starts again
7063
+ * for the new one. What it finds is merged by check (mergePreflight): a launch's fresher local rows are kept.
7064
+ */
7065
+ refreshUpdatePreflight(): Promise<void>;
7066
+ /**
7067
+ * M-3770 (#4480 §4.2): identity is proven at the moment of change. The local checks run again now, whatever the cached
7068
+ * result says, and decide; the network ones (P7, P10) are `agend update`'s own. The cache takes the fresh rows and
7069
+ * keeps a cached P7/P10 only while it still applies, with its own age (mergePreflight).
7070
+ * Returns the refusal in words, or null to go ahead.
7071
+ */
7072
+ updatePreflightGate(origin: "press" | "unattended"): Promise<string | null>;
7073
+ /** M-3770 1.6: make a pre-flight fix (update-fix.ts; tests stub this, so no real loginctl runs). */
7074
+ protected runUpdateFix(fix: "linger"): Promise<{
7075
+ ok: boolean;
7076
+ }>;
7077
+ /**
7078
+ * M-3770 S-246: Install as a service — this install's own `agend install` (never the PATH's), started apart from this
7079
+ * fleet so it outlives it, with its words in `<home>/service-install.log`. It stops this fleet by its proof and starts
7080
+ * the service (service-install-handover.ts). Waits up to 30 s to tell a refusal (nothing stopped) from the hand-over
7081
+ * (this fleet begins to stop). Tests stub this, so nothing is installed or stopped.
7082
+ */
7083
+ protected startServiceInstall(): Promise<import("./update-fix.js").ServiceInstallResult>;
7084
+ /**
7085
+ * M-3770 1.6: POST /ui/update/fixes. The same key gets the same answer; one fix runs at a time. The local checks run
7086
+ * again first and decide whether the fix is still asked for (a page drawn from an older result never runs it); the
7087
+ * session is asked again right before it runs; the checks run once more after it, and the page gets that result.
7088
+ */
7089
+ private fixUpdateOnce;
7090
+ private fixUpdateNow;
7091
+ private ensureUpdateCard;
7092
+ /** Display names of agents still working. Pause is not an agent. */
7093
+ private updateBusyNames;
7094
+ private refreshUpdateCard;
7095
+ /** The card, for a test or a chat reply. Null when nothing is offered, including a pin. */
7096
+ updateOfferView(): UpdateCardView | null;
7097
+ describeUpdateOffer(): string;
7098
+ refuseImmediateUpdate(): string | null;
7099
+ beginUpdateRun(): void;
7100
+ /** M-2738: record a look's answer for the web — the same offer the card keeps. */
5733
7101
  private recordUpdateCheck;
5734
7102
  private checkForUpdates;
5735
7103
  /** The web's update routes (web-api.ts handleWebUpdate) read and start through this. */
@@ -5744,6 +7112,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5744
7112
  private startWebUpdate;
5745
7113
  /** M-2738: a web start's answer for its key, the same on a retry (at most 32 kept). */
5746
7114
  private startWebUpdateOnce;
7115
+ private startHubRequestedUpdateOnce;
5747
7116
  /**
5748
7117
  * Semver "a > b". Compares major.minor.patch numerically; a version without a
5749
7118
  * prerelease outranks the same core with one (2.0.8 > 2.0.8-beta.16); two
@@ -5856,3 +7225,4 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5856
7225
  }
5857
7226
  /** alpha.2 (M-2300): the agent an applied Windows request created (its name, for the page's "Open chat"), or null. */
5858
7227
  export declare function agentNameOf(view: SettingsPendingView): string | null;
7228
+ export {};