@songsid/agend 2.4.0-beta.23 → 2.4.0-beta.25

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 (499) hide show
  1. package/README.md +1 -1
  2. package/README.zh-TW.md +1 -1
  3. package/dist/agend-home.js +5 -5
  4. package/dist/agend-home.js.map +1 -1
  5. package/dist/agent-cli-instructions.md +4 -3
  6. package/dist/agent-cli.js +32 -2
  7. package/dist/agent-cli.js.map +1 -1
  8. package/dist/agent-endpoint.js +10 -0
  9. package/dist/agent-endpoint.js.map +1 -1
  10. package/dist/agent-file-read.js +2 -2
  11. package/dist/agent-file-read.js.map +1 -1
  12. package/dist/agent-whats-new.js +11 -1
  13. package/dist/agent-whats-new.js.map +1 -1
  14. package/dist/agent-workspace.d.ts +18 -2
  15. package/dist/agent-workspace.js +15 -4
  16. package/dist/agent-workspace.js.map +1 -1
  17. package/dist/backend/antigravity.js +8 -6
  18. package/dist/backend/antigravity.js.map +1 -1
  19. package/dist/backend/claude-code.d.ts +15 -0
  20. package/dist/backend/claude-code.js +25 -3
  21. package/dist/backend/claude-code.js.map +1 -1
  22. package/dist/backend/claude-mcp-carry.d.ts +63 -0
  23. package/dist/backend/claude-mcp-carry.js +242 -0
  24. package/dist/backend/claude-mcp-carry.js.map +1 -0
  25. package/dist/backend/claude-usage-credits.d.ts +8 -0
  26. package/dist/backend/claude-usage-credits.js +121 -0
  27. package/dist/backend/claude-usage-credits.js.map +1 -0
  28. package/dist/backend/types.d.ts +30 -0
  29. package/dist/backend/types.js.map +1 -1
  30. package/dist/build-provenance.json +1 -1
  31. package/dist/channel/adapters/discord.js +7 -1
  32. package/dist/channel/adapters/discord.js.map +1 -1
  33. package/dist/channel/mcp-tools.js +7 -6
  34. package/dist/channel/mcp-tools.js.map +1 -1
  35. package/dist/channel/tool-router.js +1 -0
  36. package/dist/channel/tool-router.js.map +1 -1
  37. package/dist/cli-audited.js +9 -4
  38. package/dist/cli-audited.js.map +1 -1
  39. package/dist/cli.js +184 -21
  40. package/dist/cli.js.map +1 -1
  41. package/dist/config-validator.js +17 -1
  42. package/dist/config-validator.js.map +1 -1
  43. package/dist/config.js +2 -0
  44. package/dist/config.js.map +1 -1
  45. package/dist/contact-auth-store.d.ts +18 -0
  46. package/dist/contact-auth-store.js +55 -8
  47. package/dist/contact-auth-store.js.map +1 -1
  48. package/dist/contact-auth-types.d.ts +3 -0
  49. package/dist/contact-auth-types.js.map +1 -1
  50. package/dist/contact-change-proposals.d.ts +34 -0
  51. package/dist/contact-change-proposals.js +1 -1
  52. package/dist/contact-change-proposals.js.map +1 -1
  53. package/dist/cross-instance-notice.d.ts +1 -0
  54. package/dist/cross-instance-notice.js +9 -8
  55. package/dist/cross-instance-notice.js.map +1 -1
  56. package/dist/daemon.d.ts +46 -0
  57. package/dist/daemon.js +299 -33
  58. package/dist/daemon.js.map +1 -1
  59. package/dist/dashboard-permissions.d.ts +8 -0
  60. package/dist/dashboard-permissions.js +8 -0
  61. package/dist/dashboard-permissions.js.map +1 -1
  62. package/dist/delivery-outbox.d.ts +56 -1
  63. package/dist/delivery-outbox.js +254 -22
  64. package/dist/delivery-outbox.js.map +1 -1
  65. package/dist/fleet-context.d.ts +8 -0
  66. package/dist/fleet-lock.d.ts +67 -2
  67. package/dist/fleet-lock.js +236 -2
  68. package/dist/fleet-lock.js.map +1 -1
  69. package/dist/fleet-manager.d.ts +177 -6
  70. package/dist/fleet-manager.js +1203 -75
  71. package/dist/fleet-manager.js.map +1 -1
  72. package/dist/fleet-windows-runtime.d.ts +20 -1
  73. package/dist/fleet-windows-runtime.js +98 -18
  74. package/dist/fleet-windows-runtime.js.map +1 -1
  75. package/dist/general-knowledge/skills/concepts/SKILL.md +22 -9
  76. package/dist/general-knowledge/skills/credential-profiles/SKILL.md +6 -0
  77. package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +7 -0
  78. package/dist/general-knowledge/skills/fleet-config/SKILL.md +3 -3
  79. package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +1 -1
  80. package/dist/general-knowledge/skills/task-board/SKILL.md +17 -0
  81. package/dist/general-knowledge/skills/web-appearance/SKILL.md +4 -0
  82. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +35 -7
  83. package/dist/home-update-lock.d.ts +35 -0
  84. package/dist/home-update-lock.js +81 -0
  85. package/dist/home-update-lock.js.map +1 -0
  86. package/dist/hub/compose/member.d.ts +5 -1
  87. package/dist/hub/compose/member.js +9 -5
  88. package/dist/hub/compose/member.js.map +1 -1
  89. package/dist/hub/group-policy/resources.d.ts +1 -1
  90. package/dist/hub/member/room-ask.d.ts +5 -0
  91. package/dist/hub/member/room-ask.js +43 -16
  92. package/dist/hub/member/room-ask.js.map +1 -1
  93. package/dist/hub/member/room-mention-feedback.d.ts +2 -0
  94. package/dist/hub/member/room-mention-feedback.js +1 -1
  95. package/dist/hub/member/room-mention-feedback.js.map +1 -1
  96. package/dist/hub/member/room-post-answers.d.ts +2 -0
  97. package/dist/hub/member/room-post-answers.js +1 -1
  98. package/dist/hub/member/room-post-answers.js.map +1 -1
  99. package/dist/hub/member/room-post.d.ts +5 -0
  100. package/dist/hub/member/room-post.js +4 -1
  101. package/dist/hub/member/room-post.js.map +1 -1
  102. package/dist/hub/member/updates.d.ts +7 -1
  103. package/dist/hub/member/updates.js +7 -1
  104. package/dist/hub/member/updates.js.map +1 -1
  105. package/dist/hub/representative.d.ts +7 -0
  106. package/dist/hub/representative.js +38 -5
  107. package/dist/hub/representative.js.map +1 -1
  108. package/dist/install-lock.d.ts +15 -1
  109. package/dist/install-lock.js +16 -8
  110. package/dist/install-lock.js.map +1 -1
  111. package/dist/install-ownership.d.ts +165 -0
  112. package/dist/install-ownership.js +404 -0
  113. package/dist/install-ownership.js.map +1 -0
  114. package/dist/instance-config-impact.js +2 -0
  115. package/dist/instance-config-impact.js.map +1 -1
  116. package/dist/instance-lifecycle.d.ts +2 -0
  117. package/dist/instance-lifecycle.js +29 -1
  118. package/dist/instance-lifecycle.js.map +1 -1
  119. package/dist/instructions.d.ts +4 -0
  120. package/dist/instructions.js +4 -0
  121. package/dist/instructions.js.map +1 -1
  122. package/dist/local-pane-endpoint.d.ts +4 -1
  123. package/dist/local-pane-endpoint.js +12 -2
  124. package/dist/local-pane-endpoint.js.map +1 -1
  125. package/dist/locale.js +170 -4
  126. package/dist/locale.js.map +1 -1
  127. package/dist/native-agent-admission.d.ts +7 -0
  128. package/dist/native-agent-admission.js +46 -3
  129. package/dist/native-agent-admission.js.map +1 -1
  130. package/dist/native-mcp.d.ts +16 -1
  131. package/dist/native-mcp.js +38 -5
  132. package/dist/native-mcp.js.map +1 -1
  133. package/dist/native-pane-lifecycle.d.ts +9 -0
  134. package/dist/native-pane-lifecycle.js +23 -0
  135. package/dist/native-pane-lifecycle.js.map +1 -1
  136. package/dist/native-pane-manager.d.ts +19 -6
  137. package/dist/native-pane-manager.js +79 -4
  138. package/dist/native-pane-manager.js.map +1 -1
  139. package/dist/needs-you-hub.d.ts +3 -0
  140. package/dist/needs-you-hub.js +31 -5
  141. package/dist/needs-you-hub.js.map +1 -1
  142. package/dist/needs-you.d.ts +22 -1
  143. package/dist/needs-you.js +6 -0
  144. package/dist/needs-you.js.map +1 -1
  145. package/dist/office-share-page.js +1 -1
  146. package/dist/office-share-page.js.map +1 -1
  147. package/dist/office-share.js +2 -1
  148. package/dist/office-share.js.map +1 -1
  149. package/dist/outbound-handlers.d.ts +12 -0
  150. package/dist/outbound-handlers.js +59 -8
  151. package/dist/outbound-handlers.js.map +1 -1
  152. package/dist/outbound-schemas.d.ts +3 -0
  153. package/dist/outbound-schemas.js +7 -5
  154. package/dist/outbound-schemas.js.map +1 -1
  155. package/dist/package-preimage.js +4 -0
  156. package/dist/package-preimage.js.map +1 -1
  157. package/dist/pane-port.d.ts +1 -0
  158. package/dist/plist-args.d.ts +9 -0
  159. package/dist/plist-args.js +22 -0
  160. package/dist/plist-args.js.map +1 -0
  161. package/dist/public-preview.d.ts +4 -6
  162. package/dist/public-preview.js +5 -2
  163. package/dist/public-preview.js.map +1 -1
  164. package/dist/public-web-gateway.js +11 -3
  165. package/dist/public-web-gateway.js.map +1 -1
  166. package/dist/public-web-link.d.ts +13 -1
  167. package/dist/public-web-link.js +28 -1
  168. package/dist/public-web-link.js.map +1 -1
  169. package/dist/recover.cjs +2452 -0
  170. package/dist/remote-card-prompt.d.ts +6 -2
  171. package/dist/remote-card-prompt.js +12 -3
  172. package/dist/remote-card-prompt.js.map +1 -1
  173. package/dist/reply-draft.d.ts +12 -0
  174. package/dist/reply-draft.js +81 -0
  175. package/dist/reply-draft.js.map +1 -0
  176. package/dist/request-contact-api.d.ts +15 -0
  177. package/dist/request-contact-api.js +120 -0
  178. package/dist/request-contact-api.js.map +1 -0
  179. package/dist/request-contact-card.d.ts +36 -0
  180. package/dist/request-contact-card.js +206 -0
  181. package/dist/request-contact-card.js.map +1 -0
  182. package/dist/request-contact-gate.d.ts +79 -0
  183. package/dist/request-contact-gate.js +262 -0
  184. package/dist/request-contact-gate.js.map +1 -0
  185. package/dist/request-contact-native.d.ts +52 -0
  186. package/dist/request-contact-native.js +83 -0
  187. package/dist/request-contact-native.js.map +1 -0
  188. package/dist/request-contact-types.d.ts +86 -0
  189. package/dist/request-contact-types.js +7 -0
  190. package/dist/request-contact-types.js.map +1 -0
  191. package/dist/request-context-call-protocol.d.ts +12 -0
  192. package/dist/request-context-call-protocol.js +14 -0
  193. package/dist/request-context-call-protocol.js.map +1 -0
  194. package/dist/request-context-call.d.ts +22 -0
  195. package/dist/request-context-call.js +35 -0
  196. package/dist/request-context-call.js.map +1 -0
  197. package/dist/request-context-compatibility.d.ts +20 -0
  198. package/dist/request-context-compatibility.js +74 -0
  199. package/dist/request-context-compatibility.js.map +1 -0
  200. package/dist/request-context-drain.d.ts +39 -0
  201. package/dist/request-context-drain.js +159 -0
  202. package/dist/request-context-drain.js.map +1 -0
  203. package/dist/request-context-fence.d.ts +28 -0
  204. package/dist/request-context-fence.js +58 -0
  205. package/dist/request-context-fence.js.map +1 -0
  206. package/dist/request-context-migration.d.ts +64 -0
  207. package/dist/request-context-migration.js +158 -0
  208. package/dist/request-context-migration.js.map +1 -0
  209. package/dist/request-context-pane.d.ts +25 -0
  210. package/dist/request-context-pane.js +48 -0
  211. package/dist/request-context-pane.js.map +1 -0
  212. package/dist/request-context-policy.d.ts +74 -0
  213. package/dist/request-context-policy.js +116 -0
  214. package/dist/request-context-policy.js.map +1 -0
  215. package/dist/request-context-protocol.d.ts +137 -0
  216. package/dist/request-context-protocol.js +38 -0
  217. package/dist/request-context-protocol.js.map +1 -0
  218. package/dist/request-context-recovery.d.ts +14 -0
  219. package/dist/request-context-recovery.js +56 -0
  220. package/dist/request-context-recovery.js.map +1 -0
  221. package/dist/request-context-relay.d.ts +19 -0
  222. package/dist/request-context-relay.js +63 -0
  223. package/dist/request-context-relay.js.map +1 -0
  224. package/dist/request-context-returns.d.ts +67 -0
  225. package/dist/request-context-returns.js +211 -0
  226. package/dist/request-context-returns.js.map +1 -0
  227. package/dist/request-context-store.d.ts +26 -0
  228. package/dist/request-context-store.js +144 -0
  229. package/dist/request-context-store.js.map +1 -0
  230. package/dist/request-context-turns.d.ts +99 -0
  231. package/dist/request-context-turns.js +215 -0
  232. package/dist/request-context-turns.js.map +1 -0
  233. package/dist/request-context-view.d.ts +33 -0
  234. package/dist/request-context-view.js +36 -0
  235. package/dist/request-context-view.js.map +1 -0
  236. package/dist/request-hub-context.d.ts +130 -0
  237. package/dist/request-hub-context.js +89 -0
  238. package/dist/request-hub-context.js.map +1 -0
  239. package/dist/request-hub-output.d.ts +11 -0
  240. package/dist/request-hub-output.js +21 -0
  241. package/dist/request-hub-output.js.map +1 -0
  242. package/dist/runtime-cli-install.js +13 -11
  243. package/dist/runtime-cli-install.js.map +1 -1
  244. package/dist/runtime-client.d.ts +2 -0
  245. package/dist/runtime-client.js +17 -4
  246. package/dist/runtime-client.js.map +1 -1
  247. package/dist/runtime-coordinator.d.ts +4 -1
  248. package/dist/runtime-coordinator.js +10 -3
  249. package/dist/runtime-coordinator.js.map +1 -1
  250. package/dist/runtime-pane-assets.d.ts +1 -1
  251. package/dist/runtime-pane-assets.js +1 -1
  252. package/dist/runtime-pane-assets.js.map +1 -1
  253. package/dist/runtime-pane-host.d.ts +3 -0
  254. package/dist/runtime-pane-host.js +39 -21
  255. package/dist/runtime-pane-host.js.map +1 -1
  256. package/dist/runtime-pane-link.d.ts +6 -2
  257. package/dist/runtime-pane-link.js +17 -4
  258. package/dist/runtime-pane-link.js.map +1 -1
  259. package/dist/runtime-pane-mcp-relay.d.ts +11 -1
  260. package/dist/runtime-pane-mcp-relay.js +69 -3
  261. package/dist/runtime-pane-mcp-relay.js.map +1 -1
  262. package/dist/runtime-pane-mcp.d.ts +28 -1
  263. package/dist/runtime-pane-mcp.js +92 -15
  264. package/dist/runtime-pane-mcp.js.map +1 -1
  265. package/dist/runtime-pane-port.d.ts +6 -0
  266. package/dist/runtime-pane-port.js +23 -4
  267. package/dist/runtime-pane-port.js.map +1 -1
  268. package/dist/runtime-pane-protocol.d.ts +4 -0
  269. package/dist/runtime-pane-protocol.js +11 -4
  270. package/dist/runtime-pane-protocol.js.map +1 -1
  271. package/dist/runtime-pane-service.d.ts +1 -0
  272. package/dist/runtime-pane-service.js +25 -9
  273. package/dist/runtime-pane-service.js.map +1 -1
  274. package/dist/runtime-pane-stdio-protocol.d.ts +4 -0
  275. package/dist/runtime-pane-stdio-protocol.js +12 -5
  276. package/dist/runtime-pane-stdio-protocol.js.map +1 -1
  277. package/dist/runtime-pane-stdio.js +5 -5
  278. package/dist/runtime-pane-stdio.js.map +1 -1
  279. package/dist/runtime-protocol.d.ts +3 -0
  280. package/dist/runtime-protocol.js.map +1 -1
  281. package/dist/scheduler/db.js +26 -0
  282. package/dist/scheduler/db.js.map +1 -1
  283. package/dist/scheduler/scheduler.d.ts +6 -0
  284. package/dist/scheduler/scheduler.js +19 -1
  285. package/dist/scheduler/scheduler.js.map +1 -1
  286. package/dist/scheduler/task-board-text.d.ts +2 -0
  287. package/dist/scheduler/task-board-text.js +12 -0
  288. package/dist/scheduler/task-board-text.js.map +1 -1
  289. package/dist/scheduler/task-board.d.ts +106 -2
  290. package/dist/scheduler/task-board.js +248 -24
  291. package/dist/scheduler/task-board.js.map +1 -1
  292. package/dist/scheduler/task-files.d.ts +80 -0
  293. package/dist/scheduler/task-files.js +357 -0
  294. package/dist/scheduler/task-files.js.map +1 -0
  295. package/dist/scheduler/types.d.ts +1 -1
  296. package/dist/service-activation.js +3 -13
  297. package/dist/service-activation.js.map +1 -1
  298. package/dist/service-lock.d.ts +28 -0
  299. package/dist/service-lock.js +85 -0
  300. package/dist/service-lock.js.map +1 -0
  301. package/dist/settings-api.d.ts +8 -0
  302. package/dist/settings-api.js +41 -1
  303. package/dist/settings-api.js.map +1 -1
  304. package/dist/settings-baseline.d.ts +1 -0
  305. package/dist/settings-baseline.js +1 -1
  306. package/dist/settings-baseline.js.map +1 -1
  307. package/dist/settings-change.js +1 -1
  308. package/dist/settings-change.js.map +1 -1
  309. package/dist/settings-effect.d.ts +2 -0
  310. package/dist/settings-effect.js +5 -1
  311. package/dist/settings-effect.js.map +1 -1
  312. package/dist/state-lease.d.ts +24 -0
  313. package/dist/state-lease.js +103 -0
  314. package/dist/state-lease.js.map +1 -0
  315. package/dist/task-attach-client.d.ts +43 -0
  316. package/dist/task-attach-client.js +125 -0
  317. package/dist/task-attach-client.js.map +1 -0
  318. package/dist/task-board-tool.d.ts +12 -0
  319. package/dist/task-board-tool.js +107 -6
  320. package/dist/task-board-tool.js.map +1 -1
  321. package/dist/task-file-limits.d.ts +15 -0
  322. package/dist/task-file-limits.js +21 -0
  323. package/dist/task-file-limits.js.map +1 -0
  324. package/dist/tmux-binary.js +1 -1
  325. package/dist/tmux-binary.js.map +1 -1
  326. package/dist/tool-permissions.d.ts +32 -0
  327. package/dist/tool-permissions.js +63 -0
  328. package/dist/tool-permissions.js.map +1 -1
  329. package/dist/tool-receipt-output.d.ts +2 -0
  330. package/dist/topic-commands.js +21 -1
  331. package/dist/topic-commands.js.map +1 -1
  332. package/dist/transcript-monitor.js +3 -0
  333. package/dist/transcript-monitor.js.map +1 -1
  334. package/dist/tunnel/named-link-test.d.ts +27 -0
  335. package/dist/tunnel/named-link-test.js +41 -0
  336. package/dist/tunnel/named-link-test.js.map +1 -1
  337. package/dist/types.d.ts +13 -0
  338. package/dist/ui/agent-details-settings.js +7 -5
  339. package/dist/ui/agent-who-can-use-strings.js +125 -0
  340. package/dist/ui/agent-who-can-use.js +238 -0
  341. package/dist/ui/chat-store.js +5 -4
  342. package/dist/ui/fleet-office-card.js +37 -6
  343. package/dist/ui/fleet-office-editor.js +5 -5
  344. package/dist/ui/fleet-office-pack.d.ts +10 -0
  345. package/dist/ui/fleet-office-pack.js +65 -2
  346. package/dist/ui/fleet-office-skin.js +75 -17
  347. package/dist/ui/fleet-office-store.js +33 -2
  348. package/dist/ui/fleet-office-vehicles.js +130 -0
  349. package/dist/ui/fleet-office-zones.js +13 -4
  350. package/dist/ui/fleet-office.js +245 -46
  351. package/dist/ui/fleet-task-activity.js +9 -82
  352. package/dist/ui/fleet-task-archive.js +111 -0
  353. package/dist/ui/fleet-task-card.js +6 -4
  354. package/dist/ui/fleet-task-common.js +2 -2
  355. package/dist/ui/fleet-task-edit.js +8 -1
  356. package/dist/ui/fleet-task-files.js +196 -0
  357. package/dist/ui/fleet-task-md.js +98 -0
  358. package/dist/ui/fleet-task-menu.js +1 -1
  359. package/dist/ui/fleet-task-stats.js +2 -2
  360. package/dist/ui/fleet-task-view.js +12 -8
  361. package/dist/ui/fleet-tasks.js +42 -18
  362. package/dist/ui/panel-chat.js +15 -2
  363. package/dist/ui/panel-details.js +3 -1
  364. package/dist/ui/panel-needs.js +25 -5
  365. package/dist/ui/panel-settings.js +37 -9
  366. package/dist/ui/settings-preview-address.js +156 -0
  367. package/dist/ui/settings-registry.js +3 -0
  368. package/dist/ui/settings-shared-strings.js +9 -0
  369. package/dist/ui/settings-shared.js +6 -1
  370. package/dist/ui/settings-strings.js +6 -6
  371. package/dist/ui/shared/app-i18n.js +2 -2
  372. package/dist/ui/shared/app-needs.js +8 -1
  373. package/dist/ui/shared/app.css +131 -5
  374. package/dist/ui/shared/chat-strings.js +10 -6
  375. package/dist/ui/shared/chat-thread.js +7 -1
  376. package/dist/ui/shared/preview-panel.js +1 -1
  377. package/dist/ui/shared/preview.js +11 -2
  378. package/dist/ui/shared/task-board.css +64 -0
  379. package/dist/ui/shared/tokens.css +18 -3
  380. package/dist/ui/shared/ui-confirm.js +5 -4
  381. package/dist/ui/shared/workspace.css +7 -0
  382. package/dist/ui/usage-credits-card.js +84 -0
  383. package/dist/ui/workspace-ignored-strings.js +16 -0
  384. package/dist/ui/workspace-panel.js +15 -6
  385. package/dist/update-card.d.ts +193 -0
  386. package/dist/update-card.js +620 -0
  387. package/dist/update-card.js.map +1 -0
  388. package/dist/update-dispatch.d.ts +16 -1
  389. package/dist/update-dispatch.js +12 -4
  390. package/dist/update-dispatch.js.map +1 -1
  391. package/dist/update-forward.d.ts +73 -0
  392. package/dist/update-forward.js +283 -0
  393. package/dist/update-forward.js.map +1 -0
  394. package/dist/update-idle.d.ts +1 -0
  395. package/dist/update-idle.js +12 -3
  396. package/dist/update-idle.js.map +1 -1
  397. package/dist/update-install.d.ts +2 -1
  398. package/dist/update-install.js +18 -10
  399. package/dist/update-install.js.map +1 -1
  400. package/dist/update-journal.d.ts +351 -0
  401. package/dist/update-journal.js +717 -0
  402. package/dist/update-journal.js.map +1 -0
  403. package/dist/update-launch.js +1 -1
  404. package/dist/update-launch.js.map +1 -1
  405. package/dist/update-npm-env.d.ts +45 -12
  406. package/dist/update-npm-env.js +48 -0
  407. package/dist/update-npm-env.js.map +1 -1
  408. package/dist/update-package-restore.d.ts +75 -0
  409. package/dist/update-package-restore.js +318 -0
  410. package/dist/update-package-restore.js.map +1 -0
  411. package/dist/update-quiescence.d.ts +192 -0
  412. package/dist/update-quiescence.js +330 -0
  413. package/dist/update-quiescence.js.map +1 -0
  414. package/dist/update-readiness-host.d.ts +61 -0
  415. package/dist/update-readiness-host.js +297 -0
  416. package/dist/update-readiness-host.js.map +1 -0
  417. package/dist/update-readiness.d.ts +83 -0
  418. package/dist/update-readiness.js +459 -0
  419. package/dist/update-readiness.js.map +1 -0
  420. package/dist/update-recovery/kit.d.ts +35 -0
  421. package/dist/update-recovery/kit.js +99 -0
  422. package/dist/update-recovery/kit.js.map +1 -0
  423. package/dist/update-recovery/pre-start.d.ts +34 -0
  424. package/dist/update-recovery/pre-start.js +103 -0
  425. package/dist/update-recovery/pre-start.js.map +1 -0
  426. package/dist/update-recovery/recover-main.d.ts +1 -0
  427. package/dist/update-recovery/recover-main.js +4 -0
  428. package/dist/update-recovery/recover-main.js.map +1 -0
  429. package/dist/update-recovery/recover.d.ts +22 -0
  430. package/dist/update-recovery/recover.js +124 -0
  431. package/dist/update-recovery/recover.js.map +1 -0
  432. package/dist/update-recovery/route.d.ts +53 -0
  433. package/dist/update-recovery/route.js +262 -0
  434. package/dist/update-recovery/route.js.map +1 -0
  435. package/dist/update-recovery/runner.d.ts +58 -0
  436. package/dist/update-recovery/runner.js +196 -0
  437. package/dist/update-recovery/runner.js.map +1 -0
  438. package/dist/update-recovery/service-manager.d.ts +39 -0
  439. package/dist/update-recovery/service-manager.js +57 -0
  440. package/dist/update-recovery/service-manager.js.map +1 -0
  441. package/dist/update-restore.d.ts +44 -0
  442. package/dist/update-restore.js +355 -0
  443. package/dist/update-restore.js.map +1 -0
  444. package/dist/update-retained.d.ts +38 -0
  445. package/dist/update-retained.js +91 -0
  446. package/dist/update-retained.js.map +1 -0
  447. package/dist/update-rollback.d.ts +74 -0
  448. package/dist/update-rollback.js +221 -0
  449. package/dist/update-rollback.js.map +1 -0
  450. package/dist/update-settings.d.ts +36 -0
  451. package/dist/update-settings.js +122 -0
  452. package/dist/update-settings.js.map +1 -0
  453. package/dist/update-snapshot-manifest.d.ts +32 -0
  454. package/dist/update-snapshot-manifest.js +65 -0
  455. package/dist/update-snapshot-manifest.js.map +1 -0
  456. package/dist/update-snapshot-scope.d.ts +67 -0
  457. package/dist/update-snapshot-scope.js +172 -0
  458. package/dist/update-snapshot-scope.js.map +1 -0
  459. package/dist/update-snapshot.d.ts +34 -0
  460. package/dist/update-snapshot.js +246 -0
  461. package/dist/update-snapshot.js.map +1 -0
  462. package/dist/update-writers.d.ts +71 -0
  463. package/dist/update-writers.js +235 -0
  464. package/dist/update-writers.js.map +1 -0
  465. package/dist/web-api.d.ts +6 -0
  466. package/dist/web-api.js +140 -22
  467. package/dist/web-api.js.map +1 -1
  468. package/dist/web-chat-history.d.ts +7 -0
  469. package/dist/web-chat-history.js +15 -0
  470. package/dist/web-chat-history.js.map +1 -1
  471. package/dist/web-office-acts.d.ts +16 -0
  472. package/dist/web-office-acts.js +27 -9
  473. package/dist/web-office-acts.js.map +1 -1
  474. package/dist/web-office-pack-read.js +1 -1
  475. package/dist/web-office-pack-read.js.map +1 -1
  476. package/dist/web-office-skins.d.ts +5 -3
  477. package/dist/web-office-skins.js +20 -16
  478. package/dist/web-office-skins.js.map +1 -1
  479. package/dist/web-preview.d.ts +5 -0
  480. package/dist/web-preview.js +1 -1
  481. package/dist/web-preview.js.map +1 -1
  482. package/dist/web-settings-patch.d.ts +27 -0
  483. package/dist/web-settings-patch.js +67 -0
  484. package/dist/web-settings-patch.js.map +1 -1
  485. package/dist/web-update.d.ts +6 -0
  486. package/dist/windows-agents.d.ts +12 -0
  487. package/dist/windows-agents.js +5 -0
  488. package/dist/windows-agents.js.map +1 -1
  489. package/dist/workflow-templates/default.md +1 -0
  490. package/launcher/agend +4 -1
  491. package/launcher/agend-agent +4 -1
  492. package/launcher/agend-install.cjs +16 -8
  493. package/launcher/install-admission.d.cts +8 -0
  494. package/launcher/npm-allow-scripts.cjs +72 -0
  495. package/launcher/npm-global-prefix.cjs +81 -0
  496. package/launcher/postinstall.cjs +9 -8
  497. package/launcher/runtime-select.cjs +8 -2
  498. package/package.json +3 -2
  499. package/scripts/preinstall-guard.cjs +1 -1
@@ -1,3 +1,8 @@
1
+ import { type RequestContextPolicyPort } from "./request-context-policy.js";
2
+ import type { RequestContactApiHost } from "./request-contact-api.js";
3
+ import type { RequestContactPrincipal } from "./request-contact-types.js";
4
+ import type { RequestContactCards } from "./request-contact-card.js";
5
+ import { type RequestContextRegistrationGate } from "./request-context-fence.js";
1
6
  type HubHeldCloseOutcome = import("./hub/question-close-model.js").HubHeldCloseOutcome;
2
7
  import { type HostAlertSettings } from './host-monitoring-alert-settings.js';
3
8
  import { type SetupTokenOwner, type SetupTokenRequest } from "./claude-setup-token.js";
@@ -12,7 +17,7 @@ import { SettingsConfirmationStore, type SettingsPendingView } from "./settings-
12
17
  import { type GeneralSwitchInput } from "./general-binding.js";
13
18
  import { SettingsExecution } from "./settings-transaction.js";
14
19
  import { AppIconStore } from "./web-app-icon.js";
15
- import { type NamedTestResult } from "./tunnel/named-link-test.js";
20
+ import { type NamedTestResult, type PreviewRouteResult } from "./tunnel/named-link-test.js";
16
21
  import { OfficeShareService } from "./office-share-service.js";
17
22
  import { OfficeTalk } from "./office-talk.js";
18
23
  import { type OfficeShare } from "./office-share.js";
@@ -84,6 +89,7 @@ import { RuntimeInstallService } from "./runtime-install.js";
84
89
  import { RuntimeCoordinator } from "./runtime-coordinator.js";
85
90
  import { FleetWindowsRuntime, type NativeRuntimePatch } from "./fleet-windows-runtime.js";
86
91
  import { NativeMcpSessions } from "./native-mcp.js";
92
+ import type { RequestContextLocalCall } from "./request-context-call.js";
87
93
  import { type LogAnswer, type LogQuery } from "./log-service.js";
88
94
  import { type ViewHistoryAnswer, type ViewHistoryQuery } from "./view-history.js";
89
95
  import { WebChatHistory, type WebChatPost } from "./web-chat-history.js";
@@ -110,6 +116,8 @@ import { SearchIndex } from "./search/search-index.js";
110
116
  import { type CrossInstanceRecord, type XmsgVisibility } from "./search/search-docs.js";
111
117
  import { WebSettingsTools } from "./web-settings-tools.js";
112
118
  import { type Delegation, type TrafficItem } from "./fleet-traffic.js";
119
+ import { type QuiescenceGate } from "./update-quiescence.js";
120
+ import { type UpdateCardView } from "./update-card.js";
113
121
  import { type WebUpdateHost } from "./web-update.js";
114
122
  import { WebBackendLogins, type SignInTarget } from "./web-backend-login.js";
115
123
  import { type ClaudeInstall } from "./claude-install-kind.js";
@@ -343,6 +351,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
343
351
  private static sighupHandlerInstalled;
344
352
  /** Test seam: inject a spy to verify saveFleetConfig calls fsync. Default: fsyncSync. */
345
353
  fsyncForTest: ((fd: number) => void) | undefined;
354
+ /** S-244: the quiescence barrier. Unset, every pane write and admission proceeds as today. */
355
+ private quiescence;
356
+ attachQuiescence(gate: QuiescenceGate | null): void;
346
357
  private children;
347
358
  readonly lifecycle: InstanceLifecycle;
348
359
  readonly stormWindow: StormWindow;
@@ -403,6 +414,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
403
414
  fleetConfig: FleetConfig | null;
404
415
  private fleetWindowsRuntime;
405
416
  private nativeMcpStore;
417
+ private readonly requestContextIpcCalls;
418
+ private readonly requestContextFleetCalls;
419
+ setRequestContextDrainRegistration(registration: RequestContextRegistrationGate): void;
420
+ get requestContextFleetDrainRevision(): string;
421
+ requestContextFleetDrainView(rootId: string): import("./request-context-fence.js").RequestContextDrainView;
422
+ private finishRequestContextIpcCall;
423
+ private purgeRequestContextIpcCalls;
424
+ private observeRequestContextResponses;
425
+ /** Captured at IPC arrival, not a later lookup of this instance's current turn. */
426
+ requestContextCallOf(message: object): RequestContextLocalCall | null;
427
+ private captureRequestContextIpcCall;
406
428
  private paneManager;
407
429
  private localPaneRelay;
408
430
  private openingLocalPane;
@@ -514,14 +536,53 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
514
536
  * independently, its progress on the message), pinned to the advice the notice named, re-read now and at the launch.
515
537
  */
516
538
  private handleHubUpdateCallback;
539
+ private updateChatCardBusy;
540
+ /** #4485 review 2: a sync asked for while one ran; the running one runs again. */
541
+ private updateChatCardAgain;
542
+ /** #4485 review 2: each posted card's delivery address and the version it shows, by nonce (independent of the pending map). */
543
+ private updateChatCardSent;
544
+ /** #4485 r2: the version each card's buttons answer for, bound when its delivery starts (before the platform answers). */
545
+ private updateChatCardVersion;
546
+ /** #4485 review 2: an answer that came while its card was still being posted (the post records it when it returns). */
547
+ private updateChatCardAnswered;
548
+ private updateChatCardTimer;
549
+ private readUpdateChatCard;
550
+ private writeUpdateChatCard;
551
+ /** The card's words for a state (the offer: two sentences, the second only where true — §3.1, Phase 1). */
552
+ private updateChatCardText;
553
+ /** General's chat place for the card, or null (no General, no chat: a web-only fleet's banner says it). */
554
+ private updateChatCardPlace;
555
+ /**
556
+ * M-3770 1.5: keep General's one update card in step with the fleet's card (S-234's UpdateOfferCard). An offer that
557
+ * newly qualifies (a new version, or back after Not now) is posted with its buttons; every later state edits that same
558
+ * message (its buttons retired: the adapters cannot swap them). Never throws; one at a time.
559
+ */
560
+ syncUpdateChatCard(): Promise<void>;
561
+ /** Edit the posted card: retire its buttons if they are still live (with `text`), else edit its text without buttons. */
562
+ private editUpdateChatCard;
563
+ /**
564
+ * M-3770 1.5: a press on the chat card — a fleet admin's only (anyone else is told privately, the buttons stay: the
565
+ * 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.
566
+ */
567
+ private handleUpdateCardCallback;
517
568
  private hubUpdates;
518
569
  private hubUpdateOwned;
519
570
  private hubUpdateBootProgress;
571
+ /** This process's local idle launch. Its own claim must not look like some other update holding the machine. */
572
+ private localIdleOwned;
573
+ private localIdleBootProgress;
520
574
  private pendingHubFleetUpdates;
521
575
  hubFleetUpdates(): import("./hub/member/updates.js").HubMemberUpdates | null;
576
+ /** `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. */
522
577
  private hubUpdateIdle;
523
578
  private hubUpdateCanInstall;
524
579
  private launchHubUpdate;
580
+ /**
581
+ * One idle installer, Hub or local. Claims the machine and writes a marker before any await, then settles the row
582
+ * when the child is gone and the marker is no longer in progress.
583
+ */
584
+ private launchClaimedUpdate;
585
+ private claimedIdleOutcome;
525
586
  private hubUpdateOutcome;
526
587
  private recordHubUpdateNotice;
527
588
  private postHubUpdateChat;
@@ -773,6 +834,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
773
834
  caller: string;
774
835
  text: string;
775
836
  callerCurrent(): boolean;
837
+ requestScope?: import("./request-hub-output.js").RequestHubOutputScope;
776
838
  extras?: import("./hub-report-target.js").HubReportExtras;
777
839
  }): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
778
840
  /** M-3127 OutboundContext: an agent's `react` on a Hub room question (its correlation id as message_id); null: not one. */
@@ -781,6 +843,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
781
843
  caller: string;
782
844
  emoji: string;
783
845
  callerCurrent(): boolean;
846
+ requestScope?: import("./request-hub-output.js").RequestHubOutputScope;
784
847
  }): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
785
848
  private hubReacts;
786
849
  /** The member side's pane-failure hook for a Hub-issued correlation id (else null). */
@@ -1109,8 +1172,13 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1109
1172
  private updateCheckTimer;
1110
1173
  /** M-2738: the last update check's answer, for the web (null until the first check settles). */
1111
1174
  private updateCheckState;
1175
+ /** S-234: the one durable update offer. Opened on the first check or answer. */
1176
+ private updateCard?;
1112
1177
  /** M-2738: a web "check now" in flight, and when the last one ran (one a minute at most). */
1113
1178
  private updateCheckNow;
1179
+ /** M-3770 (#4480 §4): the last pre-flight — a diagnostic for the page; every launch proves its local checks again. */
1180
+ private updatePreflight;
1181
+ private updatePreflightRunning;
1114
1182
  /** M-2738: a web start's Idempotency-Key → its answer (a retried request never starts a second update). */
1115
1183
  private webUpdateStarts;
1116
1184
  /**
@@ -1760,6 +1828,22 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1760
1828
  private contactService;
1761
1829
  private contactDeliveryCurrent;
1762
1830
  contactPermissions(name: string, actor: ContactPerson): ContactPermissions;
1831
+ /** Identity-only read. This does not install/enable the same-card host. */
1832
+ requestContextPolicy?: RequestContextPolicyPort;
1833
+ requestContextRelay?: import("./request-context-relay.js").RequestContextRelayPort;
1834
+ /** L installs this explicitly; H defines no production switch. */
1835
+ makeRequestContextPolicy(): RequestContextPolicyPort;
1836
+ requestContactPrincipal(req: import("node:http").IncomingMessage, url: URL): RequestContactPrincipal | null;
1837
+ /**
1838
+ * S-229: the same-card service the native cards use. Null — today's M-3680 card and General proposals, unchanged —
1839
+ * until L installs it at the cutover; synthetic rigs install it directly. Installing it grants no actor: every
1840
+ * decision still comes from a platform callback's person through cards.decide.
1841
+ */
1842
+ private requestContactCardsPort;
1843
+ installRequestContactCards(cards: RequestContactCards | null): void;
1844
+ /** Dormant assembly for L and synthetic rigs; merely defining this method installs no service or route authority. */
1845
+ makeRequestContactCards(): RequestContactCards;
1846
+ makeRequestContactApi(): RequestContactApiHost;
1763
1847
  contactActor(req: import("node:http").IncomingMessage, url: URL): ContactPerson | null;
1764
1848
  writeContactPermissions(name: string, raw: ContactPermissionsWrite, actor: ContactPerson): ContactPermissions;
1765
1849
  clearContactOrigin(name: string, raw: ContactOriginClear, actor: ContactPerson): ContactPermissions;
@@ -1848,8 +1932,28 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1848
1932
  /** Requests whose card was posted or tried: forgotten when the request is decided, and at most HELD_CARDS_KEPT. */
1849
1933
  private heldTicketCards?;
1850
1934
  private syncHeldTicketCard;
1935
+ /** The one General on the target's Discord/Telegram connection that may carry its contact cards. */
1936
+ private contactCardRoute;
1937
+ /**
1938
+ * S-229: post slice I's same card. prepareForNativePost checks this exact General route as the posting owner before
1939
+ * and after reading (authority none, canDecide false); the entry keeps the card's CAS snapshot, so a click decides
1940
+ * exactly the image people saw, through cards.decide.
1941
+ */
1942
+ private postSameContactCard;
1943
+ /**
1944
+ * S-229: General proposes a decision on the same card — its one suggested choice plus Not now. General never decides:
1945
+ * the platform callback's person does, through cards.decide. Always allow needs people, expiry and a confirmation, so
1946
+ * a grant proposal is sent to the web.
1947
+ */
1948
+ private proposeSameContactCard;
1851
1949
  private postHeldTicketCard;
1852
1950
  private handleContactTicketCallback;
1951
+ /**
1952
+ * S-229: one click on the same card. The decision is the clicker's, on the posted snapshot, through cards.decide —
1953
+ * the web's writer — so a duplicate, another card or the web racing it yields one committed outcome. A lost race
1954
+ * re-reads and shows that outcome; a changed request closes this card and posts one fresh card.
1955
+ */
1956
+ private decideSameContactCard;
1853
1957
  contactAuthorization(id: string, actor: ContactPerson): ContactTicket;
1854
1958
  contactAuthorizations(actor: ContactPerson, filter: {
1855
1959
  agent?: string;
@@ -1902,6 +2006,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1902
2006
  duplicate: boolean;
1903
2007
  kind: string;
1904
2008
  };
2009
+ requestDeliveryView(deliveryId: string): {
2010
+ view: import("./request-context-view.js").RequestProvenanceView;
2011
+ body: string;
2012
+ } | null;
1905
2013
  queryDurableDeliveryStatus(callerInstance: string, selector: DeliveryStatusSelector): DeliveryStatusPage;
1906
2014
  /** A terminal OOM stop is not an auto-wakeable pause, including after a fleet restart. */
1907
2015
  private sessionOomStopped;
@@ -2259,6 +2367,14 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2259
2367
  private refreshInstanceExecutionState;
2260
2368
  private deliverWithIdleGate;
2261
2369
  private holdDeliveryForStorm;
2370
+ /**
2371
+ * Last synchronous commit of a pane write (S-244). True: the barrier journaled an adapter or web turn, so it is
2372
+ * not sent. There is no await between this and `ipc.send`. Unarmed, or not an agent turn: false, and the send proceeds.
2373
+ * A Hub or room payload is not a copy: `refuseHubPane` refuses it before this, and the producer leaves the row queued.
2374
+ */
2375
+ private holdPaneSend;
2376
+ /** The fence is up and this payload belongs to a durable Hub or room row. Do not send it and do not copy it. */
2377
+ private refuseHubPane;
2262
2378
  /**
2263
2379
  * Hand a payload to an instance's IPC, waiting out a *transient* disconnect.
2264
2380
  *
@@ -2766,6 +2882,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2766
2882
  }): Promise<NamedTestResult | {
2767
2883
  busy: true;
2768
2884
  }>;
2885
+ private previewRouteTestRunning;
2886
+ /**
2887
+ * M-3814: Settings → Access → the fixed preview address's Check — the saved `web.public_link.preview_hostname`,
2888
+ * through the open fixed link's tunnel, to this preview listener (its boot id is the proof). One at a time; starts
2889
+ * nothing. An admin session only, over the public link too (M-3278; settings-api.ts).
2890
+ */
2891
+ testPreviewRoute(input?: {
2892
+ hostname?: unknown;
2893
+ }): Promise<PreviewRouteResult | {
2894
+ busy: true;
2895
+ }>;
2769
2896
  private getTunnelLane;
2770
2897
  private publicOwnerCurrent;
2771
2898
  /**
@@ -2929,6 +3056,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2929
3056
  }>;
2930
3057
  audit: GuestAuditEntry[];
2931
3058
  };
3059
+ /**
3060
+ * M-3734: each guest's agents now, as guestOverview lists them (#1920's derived access while no grants are saved) — the
3061
+ * scopes "Start from today's guests" on an agent's page is checked against, as it is admitted and as it applies.
3062
+ */
3063
+ guestDerivedScopes(): Record<string, string[]>;
2932
3064
  /** #2667: the ClassicBot rooms' instance names now — what a settings save's validation knows besides fleet.yaml's instances. */
2933
3065
  classicRoomNames(): string[];
2934
3066
  /**
@@ -3599,7 +3731,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3599
3731
  private setInstanceDescription;
3600
3732
  private handleSetDisplayName;
3601
3733
  private handleSetDescription;
3602
- handleScheduleCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
3734
+ handleScheduleCrudHttp(instance: string, op: string, args: Record<string, unknown>, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
3603
3735
  /**
3604
3736
  * The only place an agent's request creates, changes or removes a schedule
3605
3737
  * (#895). The IPC handler (MCP calls, direct channel.sock writes) and the
@@ -3647,14 +3779,14 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3647
3779
  */
3648
3780
  decisionProjectRootFor(instance: string): string | null;
3649
3781
  handleDecisionCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
3650
- handleTaskCrudHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3782
+ handleTaskCrudHttp(instance: string, args: Record<string, unknown>, _snapshot?: unknown, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
3651
3783
  handleSetDisplayNameHttp(instance: string, name: string): Promise<unknown>;
3652
3784
  handleListEmojisHttp(instance: string, refresh: boolean, args?: Record<string, unknown>): Promise<unknown>;
3653
3785
  handleListStickersHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3654
3786
  handlePreviewStickersHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3655
3787
  handleSetPersonaEmojiHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3656
3788
  /** #1629: `agend-agent theme …` — the same service as the tools; `instance` is the token's. */
3657
- handleWebThemeHttp(instance: string, tool: string, args: Record<string, unknown>): Promise<unknown>;
3789
+ handleWebThemeHttp(instance: string, tool: string, args: Record<string, unknown>, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
3658
3790
  handlePreviewEmojisHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
3659
3791
  handleSetDescriptionHttp(instance: string, description: string): Promise<unknown>;
3660
3792
  private summarizeToolCall;
@@ -3763,7 +3895,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3763
3895
  * document. Unknown keys and comments remain untouched; redundant
3764
3896
  * non-identity instance leaves are canonicalized to inheritance afterward.
3765
3897
  */
3766
- saveFleetConfig(explicitPatches?: RawConfigPatch[]): void;
3898
+ saveFleetConfig(explicitPatches?: RawConfigPatch[], requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): void;
3767
3899
  private sharedIdentitySource;
3768
3900
  private sharedDefaultsView;
3769
3901
  private pendingRuntimeIdentity;
@@ -4273,6 +4405,15 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4273
4405
  private interactionWaitKey;
4274
4406
  /** An instance's interaction observation, pause or wake changed (relayed by the lifecycle): recompute now, not at the tick. */
4275
4407
  onAttentionChanged(name: string): void;
4408
+ /** M-3749: the credential profile a Claude config dir belongs to, for people and agents: its name, or "default". */
4409
+ private claudeProfileLabel;
4410
+ /**
4411
+ * M-3749: a launch found MCP servers the agent had under its previous profile and does not have now. Told to the agent
4412
+ * once per set (the outbox key), held until it is delivered; Needs you lists it from the daemon (instancesForNeeds).
4413
+ */
4414
+ onMcpMissing(name: string, missing: import("./backend/claude-mcp-carry.js").McpMissing | null): void;
4415
+ /** M-3749: a person dismissed an agent's missing-MCP item (web or chat Acknowledge). false: nothing was outstanding. */
4416
+ acknowledgeMcpMissing(name: string): boolean;
4276
4417
  /** The list for the web: every world's items, and those of instances with no world (#1386 §5.0). */
4277
4418
  needsYouItems(): WebNeedsItem[];
4278
4419
  /** Enabled member composition supplies held-work readers and explicit owner retry/close operations. */
@@ -4410,8 +4551,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4410
4551
  actions: Array<{
4411
4552
  id: string;
4412
4553
  label: string;
4554
+ hint?: string;
4555
+ role?: import("./backend/types.js").RemoteCardRole;
4413
4556
  confirmation?: import("./backend/types.js").RemoteCardOption["confirmation"];
4414
4557
  }>;
4558
+ view?: import("./backend/types.js").RemoteCardView;
4415
4559
  expiresAt: number;
4416
4560
  links?: import("./topic-link.js").TextLink[];
4417
4561
  }>;
@@ -6411,7 +6555,34 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
6411
6555
  /** Tests only: where lookUpUpdateTarget looks for npm (M-2858); unset in production (the running install, process.env). */
6412
6556
  private updateNpmProbe?;
6413
6557
  private lookUpUpdateTarget;
6414
- /** M-2738: record a look's answer for the web — the same offer the notice below would make. */
6558
+ /** M-3770: the pre-flight probes (runUpdatePreflight; tests stub that module, so no real npm or systemctl runs). */
6559
+ protected probeUpdatePreflight(opts: {
6560
+ target?: string | null;
6561
+ localOnly?: boolean;
6562
+ }): Promise<import("./update-readiness.js").UpdatePreflight>;
6563
+ /**
6564
+ * M-3770: refresh the cached pre-flight for the offered version. One at a time; never throws. A run is bound to the
6565
+ * version it judged: if the offer moved meanwhile its result is not published (Prism #4483 3) and the run starts again
6566
+ * for the new one. What it finds is merged by check (mergePreflight): a launch's fresher local rows are kept.
6567
+ */
6568
+ refreshUpdatePreflight(): Promise<void>;
6569
+ /**
6570
+ * M-3770 (#4480 §4.2): identity is proven at the moment of change. The local checks run again now, whatever the cached
6571
+ * result says, and decide; the network ones (P7, P10) are `agend update`'s own. The cache takes the fresh rows and
6572
+ * keeps a cached P7/P10 only while it still applies, with its own age (mergePreflight).
6573
+ * Returns the refusal in words, or null to go ahead.
6574
+ */
6575
+ updatePreflightGate(origin: "press" | "unattended"): Promise<string | null>;
6576
+ private ensureUpdateCard;
6577
+ /** Display names of agents still working. Pause is not an agent. */
6578
+ private updateBusyNames;
6579
+ private refreshUpdateCard;
6580
+ /** The card, for a test or a chat reply. Null when nothing is offered, including a pin. */
6581
+ updateOfferView(): UpdateCardView | null;
6582
+ describeUpdateOffer(): string;
6583
+ refuseImmediateUpdate(): string | null;
6584
+ beginUpdateRun(): void;
6585
+ /** M-2738: record a look's answer for the web — the same offer the card keeps. */
6415
6586
  private recordUpdateCheck;
6416
6587
  private checkForUpdates;
6417
6588
  /** The web's update routes (web-api.ts handleWebUpdate) read and start through this. */