@songsid/agend 2.3.4-beta.9 → 2.3.5-alpha.10

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 (1494) hide show
  1. package/README.md +2 -0
  2. package/README.zh-TW.md +2 -0
  3. package/THIRD_PARTY_NOTICES.md +67 -0
  4. package/dist/accounts-profiles.d.ts +102 -0
  5. package/dist/accounts-profiles.js +194 -0
  6. package/dist/accounts-profiles.js.map +1 -0
  7. package/dist/accounts-signout.d.ts +59 -0
  8. package/dist/accounts-signout.js +181 -0
  9. package/dist/accounts-signout.js.map +1 -0
  10. package/dist/accounts-view.d.ts +168 -0
  11. package/dist/accounts-view.js +188 -0
  12. package/dist/accounts-view.js.map +1 -0
  13. package/dist/agent-cli-instructions.md +1 -1
  14. package/dist/agent-cli.js +5 -2
  15. package/dist/agent-cli.js.map +1 -1
  16. package/dist/agent-endpoint.d.ts +5 -1
  17. package/dist/agent-endpoint.js +12 -2
  18. package/dist/agent-endpoint.js.map +1 -1
  19. package/dist/agent-file-read.js +1 -1
  20. package/dist/agent-file-read.js.map +1 -1
  21. package/dist/agent-runtime-api.d.ts +4 -0
  22. package/dist/agent-runtime-api.js +59 -0
  23. package/dist/agent-runtime-api.js.map +1 -0
  24. package/dist/agent-runtime-change.d.ts +76 -0
  25. package/dist/agent-runtime-change.js +114 -0
  26. package/dist/agent-runtime-change.js.map +1 -0
  27. package/dist/agent-whats-new.js +5 -0
  28. package/dist/agent-whats-new.js.map +1 -1
  29. package/dist/agent-workspace.d.ts +104 -0
  30. package/dist/agent-workspace.js +381 -0
  31. package/dist/agent-workspace.js.map +1 -0
  32. package/dist/apply-job.d.ts +5 -0
  33. package/dist/apply-job.js +10 -3
  34. package/dist/apply-job.js.map +1 -1
  35. package/dist/auth-api.d.ts +49 -1
  36. package/dist/auth-api.js +299 -10
  37. package/dist/auth-api.js.map +1 -1
  38. package/dist/authority/company-join.d.ts +16 -0
  39. package/dist/authority/company-join.js +37 -0
  40. package/dist/authority/company-join.js.map +1 -0
  41. package/dist/authority/hub-initialization.d.ts +13 -0
  42. package/dist/authority/hub-initialization.js +30 -0
  43. package/dist/authority/hub-initialization.js.map +1 -0
  44. package/dist/authority/session-authorizations.d.ts +2 -0
  45. package/dist/authority/session-authorizations.js +7 -1
  46. package/dist/authority/session-authorizations.js.map +1 -1
  47. package/dist/authority/web-authority.d.ts +25 -2
  48. package/dist/authority/web-authority.js +37 -4
  49. package/dist/authority/web-authority.js.map +1 -1
  50. package/dist/backend/claude-code.d.ts +16 -12
  51. package/dist/backend/claude-code.js +212 -142
  52. package/dist/backend/claude-code.js.map +1 -1
  53. package/dist/backend/codex-footer-hints.d.ts +3 -0
  54. package/dist/backend/codex-footer-hints.js +14 -0
  55. package/dist/backend/codex-footer-hints.js.map +1 -1
  56. package/dist/backend/codex-metadata.d.ts +14 -0
  57. package/dist/backend/codex-metadata.js +45 -0
  58. package/dist/backend/codex-metadata.js.map +1 -1
  59. package/dist/backend/codex-package.d.ts +5 -2
  60. package/dist/backend/codex-package.js +1 -5
  61. package/dist/backend/codex-package.js.map +1 -1
  62. package/dist/backend/codex-quota-history.d.ts +7 -0
  63. package/dist/backend/codex-quota-history.js +57 -0
  64. package/dist/backend/codex-quota-history.js.map +1 -0
  65. package/dist/backend/codex-session-lookup.d.ts +6 -0
  66. package/dist/backend/codex-session-lookup.js +1 -1
  67. package/dist/backend/codex-session-lookup.js.map +1 -1
  68. package/dist/backend/codex-speed.d.ts +14 -0
  69. package/dist/backend/codex-speed.js +35 -0
  70. package/dist/backend/codex-speed.js.map +1 -0
  71. package/dist/backend/codex.d.ts +143 -113
  72. package/dist/backend/codex.js +1352 -1233
  73. package/dist/backend/codex.js.map +1 -1
  74. package/dist/backend/credential-profile.js +2 -1
  75. package/dist/backend/credential-profile.js.map +1 -1
  76. package/dist/backend/grok-model-cache.d.ts +7 -0
  77. package/dist/backend/grok-model-cache.js +65 -0
  78. package/dist/backend/grok-model-cache.js.map +1 -0
  79. package/dist/backend/grok-weekly-reset.d.ts +24 -0
  80. package/dist/backend/grok-weekly-reset.js +95 -0
  81. package/dist/backend/grok-weekly-reset.js.map +1 -0
  82. package/dist/backend/grok.d.ts +32 -1
  83. package/dist/backend/grok.js +323 -54
  84. package/dist/backend/grok.js.map +1 -1
  85. package/dist/backend/kiro.js +12 -2
  86. package/dist/backend/kiro.js.map +1 -1
  87. package/dist/backend/native-pane.d.ts +11 -0
  88. package/dist/backend/native-pane.js +59 -0
  89. package/dist/backend/native-pane.js.map +1 -0
  90. package/dist/backend/types.d.ts +20 -0
  91. package/dist/backend/types.js.map +1 -1
  92. package/dist/backend-signin-pending.d.ts +8 -2
  93. package/dist/backend-signin-pending.js +6 -2
  94. package/dist/backend-signin-pending.js.map +1 -1
  95. package/dist/browser-backend-signins.d.ts +2 -1
  96. package/dist/browser-backend-signins.js +1 -1
  97. package/dist/browser-backend-signins.js.map +1 -1
  98. package/dist/build-provenance-cli.d.ts +3 -0
  99. package/dist/build-provenance-cli.js +11 -0
  100. package/dist/build-provenance-cli.js.map +1 -0
  101. package/dist/build-provenance.d.ts +20 -0
  102. package/dist/build-provenance.js +67 -0
  103. package/dist/build-provenance.js.map +1 -0
  104. package/dist/build-provenance.json +1 -0
  105. package/dist/bundled-tmux-guard.d.ts +19 -0
  106. package/dist/bundled-tmux-guard.js +83 -0
  107. package/dist/bundled-tmux-guard.js.map +1 -0
  108. package/dist/cache-ledger.d.ts +10 -0
  109. package/dist/cache-ledger.js +49 -12
  110. package/dist/cache-ledger.js.map +1 -1
  111. package/dist/cache-service.d.ts +6 -0
  112. package/dist/cache-service.js +105 -0
  113. package/dist/cache-service.js.map +1 -1
  114. package/dist/channel/access-manager.d.ts +1 -6
  115. package/dist/channel/access-manager.js +4 -94
  116. package/dist/channel/access-manager.js.map +1 -1
  117. package/dist/channel/adapters/discord.d.ts +0 -2
  118. package/dist/channel/adapters/discord.js +0 -8
  119. package/dist/channel/adapters/discord.js.map +1 -1
  120. package/dist/channel/adapters/telegram.d.ts +51 -3
  121. package/dist/channel/adapters/telegram.js +232 -44
  122. package/dist/channel/adapters/telegram.js.map +1 -1
  123. package/dist/channel/ipc-bridge.d.ts +2 -0
  124. package/dist/channel/mcp-tools.js +7 -7
  125. package/dist/channel/mcp-tools.js.map +1 -1
  126. package/dist/channel/types.d.ts +2 -2
  127. package/dist/classic-bindings.d.ts +13 -0
  128. package/dist/classic-bindings.js +28 -2
  129. package/dist/classic-bindings.js.map +1 -1
  130. package/dist/classic-channel-manager.d.ts +2 -0
  131. package/dist/classic-channel-manager.js +5 -1
  132. package/dist/classic-channel-manager.js.map +1 -1
  133. package/dist/claude-auth-status.d.ts +48 -0
  134. package/dist/claude-auth-status.js +149 -0
  135. package/dist/claude-auth-status.js.map +1 -0
  136. package/dist/claude-model-minimum.d.ts +7 -0
  137. package/dist/claude-model-minimum.js +16 -0
  138. package/dist/claude-model-minimum.js.map +1 -0
  139. package/dist/cli-capability.d.ts +186 -0
  140. package/dist/cli-capability.js +55 -0
  141. package/dist/cli-capability.js.map +1 -0
  142. package/dist/cli-caps-module.d.ts +29 -0
  143. package/dist/cli-caps-module.js +43 -0
  144. package/dist/cli-caps-module.js.map +1 -0
  145. package/dist/cli-registry-check.d.ts +28 -0
  146. package/dist/cli-registry-check.js +223 -0
  147. package/dist/cli-registry-check.js.map +1 -0
  148. package/dist/cli-registry.d.ts +526 -0
  149. package/dist/cli-registry.js +83 -0
  150. package/dist/cli-registry.js.map +1 -0
  151. package/dist/cli-spec-antigravity.d.ts +60 -0
  152. package/dist/cli-spec-antigravity.js +35 -0
  153. package/dist/cli-spec-antigravity.js.map +1 -0
  154. package/dist/cli-spec-claude-code.d.ts +84 -0
  155. package/dist/cli-spec-claude-code.js +35 -0
  156. package/dist/cli-spec-claude-code.js.map +1 -0
  157. package/dist/cli-spec-codex.d.ts +78 -0
  158. package/dist/cli-spec-codex.js +38 -0
  159. package/dist/cli-spec-codex.js.map +1 -0
  160. package/dist/cli-spec-grok.d.ts +59 -0
  161. package/dist/cli-spec-grok.js +35 -0
  162. package/dist/cli-spec-grok.js.map +1 -0
  163. package/dist/cli-spec-kiro-cli.d.ts +73 -0
  164. package/dist/cli-spec-kiro-cli.js +36 -0
  165. package/dist/cli-spec-kiro-cli.js.map +1 -0
  166. package/dist/cli-spec-muse.d.ts +52 -0
  167. package/dist/cli-spec-muse.js +38 -0
  168. package/dist/cli-spec-muse.js.map +1 -0
  169. package/dist/cli-spec-opencode.d.ts +50 -0
  170. package/dist/cli-spec-opencode.js +37 -0
  171. package/dist/cli-spec-opencode.js.map +1 -0
  172. package/dist/cli.js +258 -67
  173. package/dist/cli.js.map +1 -1
  174. package/dist/config-validator.js +104 -2
  175. package/dist/config-validator.js.map +1 -1
  176. package/dist/config.js +19 -1
  177. package/dist/config.js.map +1 -1
  178. package/dist/daemon.d.ts +162 -7
  179. package/dist/daemon.js +1290 -305
  180. package/dist/daemon.js.map +1 -1
  181. package/dist/dashboard-permissions.d.ts +8 -0
  182. package/dist/dashboard-permissions.js +16 -0
  183. package/dist/dashboard-permissions.js.map +1 -1
  184. package/dist/decision-list.d.ts +2 -0
  185. package/dist/decision-list.js +1 -1
  186. package/dist/decision-list.js.map +1 -1
  187. package/dist/delivery-consumed-watch.d.ts +15 -3
  188. package/dist/delivery-consumed-watch.js +23 -1
  189. package/dist/delivery-consumed-watch.js.map +1 -1
  190. package/dist/delivery-outbox.d.ts +5 -0
  191. package/dist/delivery-outbox.js +32 -4
  192. package/dist/delivery-outbox.js.map +1 -1
  193. package/dist/delivery-reconciliation.d.ts +2 -42
  194. package/dist/delivery-reconciliation.js +2 -164
  195. package/dist/delivery-reconciliation.js.map +1 -1
  196. package/dist/doctor.js +19 -9
  197. package/dist/doctor.js.map +1 -1
  198. package/dist/e2e-isolation.js +5 -2
  199. package/dist/e2e-isolation.js.map +1 -1
  200. package/dist/fleet-context.d.ts +2 -2
  201. package/dist/fleet-control-audit.d.ts +1 -1
  202. package/dist/fleet-level-config.d.ts +1 -1
  203. package/dist/fleet-level-config.js +2 -0
  204. package/dist/fleet-level-config.js.map +1 -1
  205. package/dist/fleet-manager.d.ts +831 -7
  206. package/dist/fleet-manager.js +4894 -433
  207. package/dist/fleet-manager.js.map +1 -1
  208. package/dist/fleet-windows-runtime.d.ts +98 -0
  209. package/dist/fleet-windows-runtime.js +467 -0
  210. package/dist/fleet-windows-runtime.js.map +1 -0
  211. package/dist/general-binding.d.ts +85 -0
  212. package/dist/general-binding.js +298 -0
  213. package/dist/general-binding.js.map +1 -0
  214. package/dist/general-host-owner.d.ts +8 -0
  215. package/dist/general-host-owner.js +26 -0
  216. package/dist/general-host-owner.js.map +1 -0
  217. package/dist/general-instance.d.ts +7 -0
  218. package/dist/general-instance.js +20 -3
  219. package/dist/general-instance.js.map +1 -1
  220. package/dist/general-knowledge/skills/concepts/SKILL.md +97 -39
  221. package/dist/general-knowledge/skills/credential-profiles/SKILL.md +15 -2
  222. package/dist/general-knowledge/skills/delegation-playbook/SKILL.md +4 -1
  223. package/dist/general-knowledge/skills/fleet-config/SKILL.md +12 -0
  224. package/dist/general-knowledge/skills/fleet-health/SKILL.md +3 -3
  225. package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +4 -0
  226. package/dist/general-knowledge/skills/session-management/SKILL.md +1 -1
  227. package/dist/general-knowledge/skills/tui-effort/SKILL.md +10 -10
  228. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +31 -15
  229. package/dist/general-knowledge/steering/core-rules.md +7 -5
  230. package/dist/general-role.d.ts +5 -0
  231. package/dist/general-role.js +27 -0
  232. package/dist/general-role.js.map +1 -0
  233. package/dist/hub/admission.d.ts +28 -0
  234. package/dist/hub/admission.js +62 -0
  235. package/dist/hub/admission.js.map +1 -0
  236. package/dist/hub/attachments/limits.d.ts +20 -0
  237. package/dist/hub/attachments/limits.js +48 -0
  238. package/dist/hub/attachments/limits.js.map +1 -0
  239. package/dist/hub/attachments/store.d.ts +116 -0
  240. package/dist/hub/attachments/store.js +246 -0
  241. package/dist/hub/attachments/store.js.map +1 -0
  242. package/dist/hub/audit/index.d.ts +62 -0
  243. package/dist/hub/audit/index.js +344 -0
  244. package/dist/hub/audit/index.js.map +1 -0
  245. package/dist/hub/browser-certificate.d.ts +38 -0
  246. package/dist/hub/browser-certificate.js +247 -0
  247. package/dist/hub/browser-certificate.js.map +1 -0
  248. package/dist/hub/buttons-model.d.ts +9 -0
  249. package/dist/hub/buttons-model.js +42 -0
  250. package/dist/hub/buttons-model.js.map +1 -0
  251. package/dist/hub/buttons.d.ts +54 -0
  252. package/dist/hub/buttons.js +348 -0
  253. package/dist/hub/buttons.js.map +1 -0
  254. package/dist/hub/catalog.d.ts +74 -0
  255. package/dist/hub/catalog.js +380 -0
  256. package/dist/hub/catalog.js.map +1 -0
  257. package/dist/hub/client.d.ts +69 -0
  258. package/dist/hub/client.js +304 -0
  259. package/dist/hub/client.js.map +1 -0
  260. package/dist/hub/compose/member.d.ts +145 -0
  261. package/dist/hub/compose/member.js +458 -0
  262. package/dist/hub/compose/member.js.map +1 -0
  263. package/dist/hub/compose/server.d.ts +167 -0
  264. package/dist/hub/compose/server.js +477 -0
  265. package/dist/hub/compose/server.js.map +1 -0
  266. package/dist/hub/compose/storage.d.ts +5 -0
  267. package/dist/hub/compose/storage.js +28 -0
  268. package/dist/hub/compose/storage.js.map +1 -0
  269. package/dist/hub/compose/views.d.ts +12 -0
  270. package/dist/hub/compose/views.js +4 -0
  271. package/dist/hub/compose/views.js.map +1 -0
  272. package/dist/hub/db.d.ts +58 -0
  273. package/dist/hub/db.js +215 -0
  274. package/dist/hub/db.js.map +1 -0
  275. package/dist/hub/directory/config.d.ts +39 -0
  276. package/dist/hub/directory/config.js +108 -0
  277. package/dist/hub/directory/config.js.map +1 -0
  278. package/dist/hub/directory/directory.d.ts +25 -0
  279. package/dist/hub/directory/directory.js +526 -0
  280. package/dist/hub/directory/directory.js.map +1 -0
  281. package/dist/hub/directory/groups.d.ts +41 -0
  282. package/dist/hub/directory/groups.js +30 -0
  283. package/dist/hub/directory/groups.js.map +1 -0
  284. package/dist/hub/directory/index.d.ts +8 -0
  285. package/dist/hub/directory/index.js +4 -0
  286. package/dist/hub/directory/index.js.map +1 -0
  287. package/dist/hub/directory/profiles.d.ts +41 -0
  288. package/dist/hub/directory/profiles.js +90 -0
  289. package/dist/hub/directory/profiles.js.map +1 -0
  290. package/dist/hub/directory/types.d.ts +83 -0
  291. package/dist/hub/directory/types.js +14 -0
  292. package/dist/hub/directory/types.js.map +1 -0
  293. package/dist/hub/directory-response-owner.d.ts +38 -0
  294. package/dist/hub/directory-response-owner.js +191 -0
  295. package/dist/hub/directory-response-owner.js.map +1 -0
  296. package/dist/hub/enrollment-budget.d.ts +6 -0
  297. package/dist/hub/enrollment-budget.js +24 -0
  298. package/dist/hub/enrollment-budget.js.map +1 -0
  299. package/dist/hub/execution/cli-provider.d.ts +23 -0
  300. package/dist/hub/execution/cli-provider.js +341 -0
  301. package/dist/hub/execution/cli-provider.js.map +1 -0
  302. package/dist/hub/execution/index.d.ts +13 -0
  303. package/dist/hub/execution/index.js +8 -0
  304. package/dist/hub/execution/index.js.map +1 -0
  305. package/dist/hub/execution/model-broker.d.ts +24 -0
  306. package/dist/hub/execution/model-broker.js +208 -0
  307. package/dist/hub/execution/model-broker.js.map +1 -0
  308. package/dist/hub/execution/provider-setup.d.ts +11 -0
  309. package/dist/hub/execution/provider-setup.js +21 -0
  310. package/dist/hub/execution/provider-setup.js.map +1 -0
  311. package/dist/hub/execution/sandbox-runner.d.ts +1 -0
  312. package/dist/hub/execution/sandbox-runner.js +221 -0
  313. package/dist/hub/execution/sandbox-runner.js.map +1 -0
  314. package/dist/hub/execution/service.d.ts +136 -0
  315. package/dist/hub/execution/service.js +459 -0
  316. package/dist/hub/execution/service.js.map +1 -0
  317. package/dist/hub/execution/store.d.ts +61 -0
  318. package/dist/hub/execution/store.js +182 -0
  319. package/dist/hub/execution/store.js.map +1 -0
  320. package/dist/hub/execution/views.d.ts +20 -0
  321. package/dist/hub/execution/views.js +48 -0
  322. package/dist/hub/execution/views.js.map +1 -0
  323. package/dist/hub/group-policy/admin-api.d.ts +30 -0
  324. package/dist/hub/group-policy/admin-api.js +83 -0
  325. package/dist/hub/group-policy/admin-api.js.map +1 -0
  326. package/dist/hub/group-policy/admin-context.d.ts +23 -0
  327. package/dist/hub/group-policy/admin-context.js +52 -0
  328. package/dist/hub/group-policy/admin-context.js.map +1 -0
  329. package/dist/hub/group-policy/admin-control.d.ts +34 -0
  330. package/dist/hub/group-policy/admin-control.js +258 -0
  331. package/dist/hub/group-policy/admin-control.js.map +1 -0
  332. package/dist/hub/group-policy/admin-dto.d.ts +249 -0
  333. package/dist/hub/group-policy/admin-dto.js +55 -0
  334. package/dist/hub/group-policy/admin-dto.js.map +1 -0
  335. package/dist/hub/group-policy/admin-facts.d.ts +17 -0
  336. package/dist/hub/group-policy/admin-facts.js +33 -0
  337. package/dist/hub/group-policy/admin-facts.js.map +1 -0
  338. package/dist/hub/group-policy/admin-impact.d.ts +51 -0
  339. package/dist/hub/group-policy/admin-impact.js +88 -0
  340. package/dist/hub/group-policy/admin-impact.js.map +1 -0
  341. package/dist/hub/group-policy/admin-inventory.d.ts +24 -0
  342. package/dist/hub/group-policy/admin-inventory.js +72 -0
  343. package/dist/hub/group-policy/admin-inventory.js.map +1 -0
  344. package/dist/hub/group-policy/admin-read.d.ts +21 -0
  345. package/dist/hub/group-policy/admin-read.js +95 -0
  346. package/dist/hub/group-policy/admin-read.js.map +1 -0
  347. package/dist/hub/group-policy/authorization.d.ts +65 -0
  348. package/dist/hub/group-policy/authorization.js +315 -0
  349. package/dist/hub/group-policy/authorization.js.map +1 -0
  350. package/dist/hub/group-policy/impact-inventory.d.ts +21 -0
  351. package/dist/hub/group-policy/impact-inventory.js +75 -0
  352. package/dist/hub/group-policy/impact-inventory.js.map +1 -0
  353. package/dist/hub/group-policy/model.d.ts +56 -0
  354. package/dist/hub/group-policy/model.js +46 -0
  355. package/dist/hub/group-policy/model.js.map +1 -0
  356. package/dist/hub/group-policy/resources.d.ts +72 -0
  357. package/dist/hub/group-policy/resources.js +260 -0
  358. package/dist/hub/group-policy/resources.js.map +1 -0
  359. package/dist/hub/group-policy/store.d.ts +69 -0
  360. package/dist/hub/group-policy/store.js +210 -0
  361. package/dist/hub/group-policy/store.js.map +1 -0
  362. package/dist/hub/group-policy/welcome.d.ts +36 -0
  363. package/dist/hub/group-policy/welcome.js +55 -0
  364. package/dist/hub/group-policy/welcome.js.map +1 -0
  365. package/dist/hub/http/compose.d.ts +24 -0
  366. package/dist/hub/http/compose.js +739 -0
  367. package/dist/hub/http/compose.js.map +1 -0
  368. package/dist/hub/http/core.d.ts +71 -0
  369. package/dist/hub/http/core.js +266 -0
  370. package/dist/hub/http/core.js.map +1 -0
  371. package/dist/hub/http/deps.d.ts +79 -0
  372. package/dist/hub/http/deps.js +2 -0
  373. package/dist/hub/http/deps.js.map +1 -0
  374. package/dist/hub/http/schema.d.ts +14 -0
  375. package/dist/hub/http/schema.js +84 -0
  376. package/dist/hub/http/schema.js.map +1 -0
  377. package/dist/hub/identity.d.ts +32 -0
  378. package/dist/hub/identity.js +80 -0
  379. package/dist/hub/identity.js.map +1 -0
  380. package/dist/hub/init/browser-certificate.d.ts +14 -0
  381. package/dist/hub/init/browser-certificate.js +99 -0
  382. package/dist/hub/init/browser-certificate.js.map +1 -0
  383. package/dist/hub/init/browser-tls.d.ts +18 -0
  384. package/dist/hub/init/browser-tls.js +62 -0
  385. package/dist/hub/init/browser-tls.js.map +1 -0
  386. package/dist/hub/init/cli.d.ts +3 -0
  387. package/dist/hub/init/cli.js +83 -0
  388. package/dist/hub/init/cli.js.map +1 -0
  389. package/dist/hub/init/directory-certificate.d.ts +24 -0
  390. package/dist/hub/init/directory-certificate.js +229 -0
  391. package/dist/hub/init/directory-certificate.js.map +1 -0
  392. package/dist/hub/init/existing-fleet.d.ts +6 -0
  393. package/dist/hub/init/existing-fleet.js +58 -0
  394. package/dist/hub/init/existing-fleet.js.map +1 -0
  395. package/dist/hub/init/handoff.d.ts +8 -0
  396. package/dist/hub/init/handoff.js +36 -0
  397. package/dist/hub/init/handoff.js.map +1 -0
  398. package/dist/hub/init/identity.d.ts +5 -0
  399. package/dist/hub/init/identity.js +24 -0
  400. package/dist/hub/init/identity.js.map +1 -0
  401. package/dist/hub/init/initializer.d.ts +34 -0
  402. package/dist/hub/init/initializer.js +504 -0
  403. package/dist/hub/init/initializer.js.map +1 -0
  404. package/dist/hub/init/inventory.d.ts +17 -0
  405. package/dist/hub/init/inventory.js +33 -0
  406. package/dist/hub/init/inventory.js.map +1 -0
  407. package/dist/hub/init/layout.d.ts +32 -0
  408. package/dist/hub/init/layout.js +53 -0
  409. package/dist/hub/init/layout.js.map +1 -0
  410. package/dist/hub/init/network.d.ts +18 -0
  411. package/dist/hub/init/network.js +104 -0
  412. package/dist/hub/init/network.js.map +1 -0
  413. package/dist/hub/init/plan-digest.d.ts +5 -0
  414. package/dist/hub/init/plan-digest.js +47 -0
  415. package/dist/hub/init/plan-digest.js.map +1 -0
  416. package/dist/hub/init/prompt.d.ts +26 -0
  417. package/dist/hub/init/prompt.js +110 -0
  418. package/dist/hub/init/prompt.js.map +1 -0
  419. package/dist/hub/init/secret-file.d.ts +1 -0
  420. package/dist/hub/init/secret-file.js +59 -0
  421. package/dist/hub/init/secret-file.js.map +1 -0
  422. package/dist/hub/init/text.d.ts +127 -0
  423. package/dist/hub/init/text.js +247 -0
  424. package/dist/hub/init/text.js.map +1 -0
  425. package/dist/hub/init/types.d.ts +142 -0
  426. package/dist/hub/init/types.js +9 -0
  427. package/dist/hub/init/types.js.map +1 -0
  428. package/dist/hub/init/web-audit-import.d.ts +12 -0
  429. package/dist/hub/init/web-audit-import.js +39 -0
  430. package/dist/hub/init/web-audit-import.js.map +1 -0
  431. package/dist/hub/init/web-audit.d.ts +30 -0
  432. package/dist/hub/init/web-audit.js +42 -0
  433. package/dist/hub/init/web-audit.js.map +1 -0
  434. package/dist/hub/init/web-error.d.ts +6 -0
  435. package/dist/hub/init/web-error.js +8 -0
  436. package/dist/hub/init/web-error.js.map +1 -0
  437. package/dist/hub/init/web-http.d.ts +9 -0
  438. package/dist/hub/init/web-http.js +103 -0
  439. package/dist/hub/init/web-http.js.map +1 -0
  440. package/dist/hub/init/web.d.ts +118 -0
  441. package/dist/hub/init/web.js +428 -0
  442. package/dist/hub/init/web.js.map +1 -0
  443. package/dist/hub/init/wizard.d.ts +34 -0
  444. package/dist/hub/init/wizard.js +552 -0
  445. package/dist/hub/init/wizard.js.map +1 -0
  446. package/dist/hub/initialization.d.ts +23 -0
  447. package/dist/hub/initialization.js +28 -0
  448. package/dist/hub/initialization.js.map +1 -0
  449. package/dist/hub/join/client.d.ts +35 -0
  450. package/dist/hub/join/client.js +112 -0
  451. package/dist/hub/join/client.js.map +1 -0
  452. package/dist/hub/join/descriptor.d.ts +45 -0
  453. package/dist/hub/join/descriptor.js +52 -0
  454. package/dist/hub/join/descriptor.js.map +1 -0
  455. package/dist/hub/join/fleet-authority.d.ts +2 -0
  456. package/dist/hub/join/fleet-authority.js +3 -0
  457. package/dist/hub/join/fleet-authority.js.map +1 -0
  458. package/dist/hub/join/http.d.ts +8 -0
  459. package/dist/hub/join/http.js +112 -0
  460. package/dist/hub/join/http.js.map +1 -0
  461. package/dist/hub/join/invitation.d.ts +28 -0
  462. package/dist/hub/join/invitation.js +28 -0
  463. package/dist/hub/join/invitation.js.map +1 -0
  464. package/dist/hub/join/local-journal.d.ts +84 -0
  465. package/dist/hub/join/local-journal.js +65 -0
  466. package/dist/hub/join/local-journal.js.map +1 -0
  467. package/dist/hub/join/local.d.ts +116 -0
  468. package/dist/hub/join/local.js +419 -0
  469. package/dist/hub/join/local.js.map +1 -0
  470. package/dist/hub/join/private.d.ts +3 -0
  471. package/dist/hub/join/private.js +46 -0
  472. package/dist/hub/join/private.js.map +1 -0
  473. package/dist/hub/join/protocol.d.ts +69 -0
  474. package/dist/hub/join/protocol.js +96 -0
  475. package/dist/hub/join/protocol.js.map +1 -0
  476. package/dist/hub/join/receipt.d.ts +42 -0
  477. package/dist/hub/join/receipt.js +75 -0
  478. package/dist/hub/join/receipt.js.map +1 -0
  479. package/dist/hub/join/service.d.ts +177 -0
  480. package/dist/hub/join/service.js +564 -0
  481. package/dist/hub/join/service.js.map +1 -0
  482. package/dist/hub/join/store.d.ts +97 -0
  483. package/dist/hub/join/store.js +87 -0
  484. package/dist/hub/join/store.js.map +1 -0
  485. package/dist/hub/join/trust.d.ts +13 -0
  486. package/dist/hub/join/trust.js +68 -0
  487. package/dist/hub/join/trust.js.map +1 -0
  488. package/dist/hub/member/agent-mode.d.ts +6 -0
  489. package/dist/hub/member/agent-mode.js +23 -0
  490. package/dist/hub/member/agent-mode.js.map +1 -0
  491. package/dist/hub/member/attachments.d.ts +29 -0
  492. package/dist/hub/member/attachments.js +107 -0
  493. package/dist/hub/member/attachments.js.map +1 -0
  494. package/dist/hub/member/exposure-api.d.ts +87 -0
  495. package/dist/hub/member/exposure-api.js +64 -0
  496. package/dist/hub/member/exposure-api.js.map +1 -0
  497. package/dist/hub/member/exposures.d.ts +123 -0
  498. package/dist/hub/member/exposures.js +282 -0
  499. package/dist/hub/member/exposures.js.map +1 -0
  500. package/dist/hub/member/pairing-api.d.ts +87 -0
  501. package/dist/hub/member/pairing-api.js +391 -0
  502. package/dist/hub/member/pairing-api.js.map +1 -0
  503. package/dist/hub/member/pairing-notices.d.ts +18 -0
  504. package/dist/hub/member/pairing-notices.js +60 -0
  505. package/dist/hub/member/pairing-notices.js.map +1 -0
  506. package/dist/hub/member/quota.d.ts +20 -0
  507. package/dist/hub/member/quota.js +98 -0
  508. package/dist/hub/member/quota.js.map +1 -0
  509. package/dist/hub/member-journal.d.ts +104 -0
  510. package/dist/hub/member-journal.js +336 -0
  511. package/dist/hub/member-journal.js.map +1 -0
  512. package/dist/hub/member-reconciliation.d.ts +14 -0
  513. package/dist/hub/member-reconciliation.js +97 -0
  514. package/dist/hub/member-reconciliation.js.map +1 -0
  515. package/dist/hub/mount.d.ts +48 -0
  516. package/dist/hub/mount.js +146 -0
  517. package/dist/hub/mount.js.map +1 -0
  518. package/dist/hub/pairing-client.d.ts +17 -0
  519. package/dist/hub/pairing-client.js +108 -0
  520. package/dist/hub/pairing-client.js.map +1 -0
  521. package/dist/hub/pairing-notices.d.ts +47 -0
  522. package/dist/hub/pairing-notices.js +246 -0
  523. package/dist/hub/pairing-notices.js.map +1 -0
  524. package/dist/hub/pairing.d.ts +105 -0
  525. package/dist/hub/pairing.js +514 -0
  526. package/dist/hub/pairing.js.map +1 -0
  527. package/dist/hub/policy.d.ts +65 -0
  528. package/dist/hub/policy.js +154 -0
  529. package/dist/hub/policy.js.map +1 -0
  530. package/dist/hub/preview.d.ts +32 -0
  531. package/dist/hub/preview.js +64 -0
  532. package/dist/hub/preview.js.map +1 -0
  533. package/dist/hub/private-files.d.ts +5 -0
  534. package/dist/hub/private-files.js +44 -0
  535. package/dist/hub/private-files.js.map +1 -0
  536. package/dist/hub/profile.d.ts +59 -0
  537. package/dist/hub/profile.js +73 -0
  538. package/dist/hub/profile.js.map +1 -0
  539. package/dist/hub/protocol.d.ts +840 -0
  540. package/dist/hub/protocol.js +100 -0
  541. package/dist/hub/protocol.js.map +1 -0
  542. package/dist/hub/quota.d.ts +24 -0
  543. package/dist/hub/quota.js +112 -0
  544. package/dist/hub/quota.js.map +1 -0
  545. package/dist/hub/representative.d.ts +141 -0
  546. package/dist/hub/representative.js +528 -0
  547. package/dist/hub/representative.js.map +1 -0
  548. package/dist/hub/retention.d.ts +17 -0
  549. package/dist/hub/retention.js +45 -0
  550. package/dist/hub/retention.js.map +1 -0
  551. package/dist/hub/room-read-pacer.d.ts +14 -0
  552. package/dist/hub/room-read-pacer.js +51 -0
  553. package/dist/hub/room-read-pacer.js.map +1 -0
  554. package/dist/hub/rooms.d.ts +127 -0
  555. package/dist/hub/rooms.js +597 -0
  556. package/dist/hub/rooms.js.map +1 -0
  557. package/dist/hub/runtime.d.ts +155 -0
  558. package/dist/hub/runtime.js +651 -0
  559. package/dist/hub/runtime.js.map +1 -0
  560. package/dist/hub/server.d.ts +61 -0
  561. package/dist/hub/server.js +235 -0
  562. package/dist/hub/server.js.map +1 -0
  563. package/dist/hub/service-start.d.ts +17 -0
  564. package/dist/hub/service-start.js +109 -0
  565. package/dist/hub/service-start.js.map +1 -0
  566. package/dist/hub/session-directory-transition.d.ts +48 -0
  567. package/dist/hub/session-directory-transition.js +118 -0
  568. package/dist/hub/session-directory-transition.js.map +1 -0
  569. package/dist/hub/session-epoch.d.ts +16 -0
  570. package/dist/hub/session-epoch.js +50 -0
  571. package/dist/hub/session-epoch.js.map +1 -0
  572. package/dist/hub/sessions.d.ts +66 -0
  573. package/dist/hub/sessions.js +217 -0
  574. package/dist/hub/sessions.js.map +1 -0
  575. package/dist/hub/settings-api.d.ts +50 -0
  576. package/dist/hub/settings-api.js +92 -0
  577. package/dist/hub/settings-api.js.map +1 -0
  578. package/dist/hub/settings-commit.d.ts +102 -0
  579. package/dist/hub/settings-commit.js +522 -0
  580. package/dist/hub/settings-commit.js.map +1 -0
  581. package/dist/hub/settings-directory-ca.d.ts +31 -0
  582. package/dist/hub/settings-directory-ca.js +115 -0
  583. package/dist/hub/settings-directory-ca.js.map +1 -0
  584. package/dist/hub/settings-directory-control.d.ts +58 -0
  585. package/dist/hub/settings-directory-control.js +117 -0
  586. package/dist/hub/settings-directory-control.js.map +1 -0
  587. package/dist/hub/settings-directory-decision.d.ts +465 -0
  588. package/dist/hub/settings-directory-decision.js +322 -0
  589. package/dist/hub/settings-directory-decision.js.map +1 -0
  590. package/dist/hub/settings-directory-host-http.d.ts +9 -0
  591. package/dist/hub/settings-directory-host-http.js +75 -0
  592. package/dist/hub/settings-directory-host-http.js.map +1 -0
  593. package/dist/hub/settings-directory-host-notice-http.d.ts +9 -0
  594. package/dist/hub/settings-directory-host-notice-http.js +78 -0
  595. package/dist/hub/settings-directory-host-notice-http.js.map +1 -0
  596. package/dist/hub/settings-directory-host-notices.d.ts +11 -0
  597. package/dist/hub/settings-directory-host-notices.js +39 -0
  598. package/dist/hub/settings-directory-host-notices.js.map +1 -0
  599. package/dist/hub/settings-directory-http.d.ts +33 -0
  600. package/dist/hub/settings-directory-http.js +109 -0
  601. package/dist/hub/settings-directory-http.js.map +1 -0
  602. package/dist/hub/settings-directory-mount.d.ts +24 -0
  603. package/dist/hub/settings-directory-mount.js +77 -0
  604. package/dist/hub/settings-directory-mount.js.map +1 -0
  605. package/dist/hub/settings-directory-notices.d.ts +61 -0
  606. package/dist/hub/settings-directory-notices.js +132 -0
  607. package/dist/hub/settings-directory-notices.js.map +1 -0
  608. package/dist/hub/settings-directory-proof.d.ts +77 -0
  609. package/dist/hub/settings-directory-proof.js +313 -0
  610. package/dist/hub/settings-directory-proof.js.map +1 -0
  611. package/dist/hub/settings-directory-recovery-intent.d.ts +13 -0
  612. package/dist/hub/settings-directory-recovery-intent.js +29 -0
  613. package/dist/hub/settings-directory-recovery-intent.js.map +1 -0
  614. package/dist/hub/settings-directory-recovery.d.ts +37 -0
  615. package/dist/hub/settings-directory-recovery.js +173 -0
  616. package/dist/hub/settings-directory-recovery.js.map +1 -0
  617. package/dist/hub/settings-directory-runtime.d.ts +17 -0
  618. package/dist/hub/settings-directory-runtime.js +2 -0
  619. package/dist/hub/settings-directory-runtime.js.map +1 -0
  620. package/dist/hub/settings-directory-save.d.ts +37 -0
  621. package/dist/hub/settings-directory-save.js +175 -0
  622. package/dist/hub/settings-directory-save.js.map +1 -0
  623. package/dist/hub/socket.d.ts +24 -0
  624. package/dist/hub/socket.js +79 -0
  625. package/dist/hub/socket.js.map +1 -0
  626. package/dist/hub/store.d.ts +87 -0
  627. package/dist/hub/store.js +92 -0
  628. package/dist/hub/store.js.map +1 -0
  629. package/dist/hub/tls.d.ts +31 -0
  630. package/dist/hub/tls.js +135 -0
  631. package/dist/hub/tls.js.map +1 -0
  632. package/dist/hub/types.d.ts +416 -0
  633. package/dist/hub/types.js +2 -0
  634. package/dist/hub/types.js.map +1 -0
  635. package/dist/hub/validation.d.ts +33 -0
  636. package/dist/hub/validation.js +136 -0
  637. package/dist/hub/validation.js.map +1 -0
  638. package/dist/hub/version-floor.d.ts +10 -0
  639. package/dist/hub/version-floor.js +45 -0
  640. package/dist/hub/version-floor.js.map +1 -0
  641. package/dist/hub-browser-certificate-policy.d.ts +31 -0
  642. package/dist/hub-browser-certificate-policy.js +25 -0
  643. package/dist/hub-browser-certificate-policy.js.map +1 -0
  644. package/dist/hub-host-settings.d.ts +48 -0
  645. package/dist/hub-host-settings.js +85 -0
  646. package/dist/hub-host-settings.js.map +1 -0
  647. package/dist/hub-membership-settings.d.ts +6 -0
  648. package/dist/hub-membership-settings.js +21 -0
  649. package/dist/hub-membership-settings.js.map +1 -0
  650. package/dist/hub-mode.d.ts +15 -0
  651. package/dist/hub-mode.js +17 -0
  652. package/dist/hub-mode.js.map +1 -0
  653. package/dist/hub-pairing-summary.d.ts +48 -0
  654. package/dist/hub-pairing-summary.js +36 -0
  655. package/dist/hub-pairing-summary.js.map +1 -0
  656. package/dist/hub-report-target.d.ts +32 -0
  657. package/dist/hub-report-target.js +33 -0
  658. package/dist/hub-report-target.js.map +1 -0
  659. package/dist/hub-retention-policy.d.ts +14 -0
  660. package/dist/hub-retention-policy.js +15 -0
  661. package/dist/hub-retention-policy.js.map +1 -0
  662. package/dist/instance-config-impact.js +11 -3
  663. package/dist/instance-config-impact.js.map +1 -1
  664. package/dist/instance-lifecycle.d.ts +52 -5
  665. package/dist/instance-lifecycle.js +489 -198
  666. package/dist/instance-lifecycle.js.map +1 -1
  667. package/dist/instructions.d.ts +2 -0
  668. package/dist/instructions.js +6 -0
  669. package/dist/instructions.js.map +1 -1
  670. package/dist/kiro-history-scan.d.ts +26 -0
  671. package/dist/kiro-history-scan.js +141 -0
  672. package/dist/kiro-history-scan.js.map +1 -0
  673. package/dist/kiro-history-worker.d.ts +1 -0
  674. package/dist/kiro-history-worker.js +9 -0
  675. package/dist/kiro-history-worker.js.map +1 -0
  676. package/dist/kiro-history.d.ts +20 -0
  677. package/dist/kiro-history.js +96 -0
  678. package/dist/kiro-history.js.map +1 -0
  679. package/dist/kiro-usage-run.d.ts +2 -0
  680. package/dist/kiro-usage-run.js +4 -1
  681. package/dist/kiro-usage-run.js.map +1 -1
  682. package/dist/launchd-service-domain.d.ts +5 -0
  683. package/dist/launchd-service-domain.js +21 -0
  684. package/dist/launchd-service-domain.js.map +1 -0
  685. package/dist/local-pane-endpoint.d.ts +46 -0
  686. package/dist/local-pane-endpoint.js +189 -0
  687. package/dist/local-pane-endpoint.js.map +1 -0
  688. package/dist/local-pane-launcher.d.ts +2 -0
  689. package/dist/local-pane-launcher.js +38 -0
  690. package/dist/local-pane-launcher.js.map +1 -0
  691. package/dist/local-pane-stage.ps1 +101 -0
  692. package/dist/locale.js +246 -34
  693. package/dist/locale.js.map +1 -1
  694. package/dist/log-service.d.ts +28 -0
  695. package/dist/log-service.js +29 -0
  696. package/dist/log-service.js.map +1 -1
  697. package/dist/logger.d.ts +16 -2
  698. package/dist/logger.js +346 -66
  699. package/dist/logger.js.map +1 -1
  700. package/dist/login-controller.d.ts +14 -1
  701. package/dist/login-controller.js +31 -1
  702. package/dist/login-controller.js.map +1 -1
  703. package/dist/login-flows.d.ts +21 -8
  704. package/dist/login-flows.js +40 -18
  705. package/dist/login-flows.js.map +1 -1
  706. package/dist/login-manager.js +25 -4
  707. package/dist/login-manager.js.map +1 -1
  708. package/dist/login-window-lock.d.ts +2 -1
  709. package/dist/login-window-lock.js.map +1 -1
  710. package/dist/ls-rows.d.ts +1 -1
  711. package/dist/ls-rows.js +3 -4
  712. package/dist/ls-rows.js.map +1 -1
  713. package/dist/machine-accounts.d.ts +110 -0
  714. package/dist/machine-accounts.js +229 -0
  715. package/dist/machine-accounts.js.map +1 -0
  716. package/dist/machine-signins.d.ts +89 -0
  717. package/dist/machine-signins.js +182 -0
  718. package/dist/machine-signins.js.map +1 -0
  719. package/dist/missed-offline.d.ts +25 -0
  720. package/dist/missed-offline.js +79 -0
  721. package/dist/missed-offline.js.map +1 -0
  722. package/dist/model-catalog-defaults.d.ts +14 -0
  723. package/dist/model-catalog-defaults.js +20 -0
  724. package/dist/model-catalog-defaults.js.map +1 -0
  725. package/dist/muse-usage-relay.d.ts +2 -0
  726. package/dist/muse-usage-relay.js +5 -3
  727. package/dist/muse-usage-relay.js.map +1 -1
  728. package/dist/native-agent-admission.d.ts +7 -0
  729. package/dist/native-agent-admission.js +26 -0
  730. package/dist/native-agent-admission.js.map +1 -0
  731. package/dist/native-daemon-client.d.ts +13 -0
  732. package/dist/native-daemon-client.js +28 -0
  733. package/dist/native-daemon-client.js.map +1 -0
  734. package/dist/native-instance-api.d.ts +13 -0
  735. package/dist/native-instance-api.js +217 -0
  736. package/dist/native-instance-api.js.map +1 -0
  737. package/dist/native-instance-input.d.ts +87 -0
  738. package/dist/native-instance-input.js +59 -0
  739. package/dist/native-instance-input.js.map +1 -0
  740. package/dist/native-instance-registry.d.ts +38 -0
  741. package/dist/native-instance-registry.js +129 -0
  742. package/dist/native-instance-registry.js.map +1 -0
  743. package/dist/native-mcp.d.ts +43 -0
  744. package/dist/native-mcp.js +291 -0
  745. package/dist/native-mcp.js.map +1 -0
  746. package/dist/native-model-catalog.d.ts +5 -0
  747. package/dist/native-model-catalog.js +76 -0
  748. package/dist/native-model-catalog.js.map +1 -0
  749. package/dist/native-pane-crash-budget.d.ts +20 -0
  750. package/dist/native-pane-crash-budget.js +60 -0
  751. package/dist/native-pane-crash-budget.js.map +1 -0
  752. package/dist/native-pane-create.d.ts +26 -0
  753. package/dist/native-pane-create.js +53 -0
  754. package/dist/native-pane-create.js.map +1 -0
  755. package/dist/native-pane-lifecycle.d.ts +73 -0
  756. package/dist/native-pane-lifecycle.js +239 -0
  757. package/dist/native-pane-lifecycle.js.map +1 -0
  758. package/dist/native-pane-manager.d.ts +59 -0
  759. package/dist/native-pane-manager.js +592 -0
  760. package/dist/native-pane-manager.js.map +1 -0
  761. package/dist/native-pane-output-log.d.ts +15 -0
  762. package/dist/native-pane-output-log.js +108 -0
  763. package/dist/native-pane-output-log.js.map +1 -0
  764. package/dist/native-pane-reconciliation.d.ts +4 -0
  765. package/dist/native-pane-reconciliation.js +40 -0
  766. package/dist/native-pane-reconciliation.js.map +1 -0
  767. package/dist/native-pane-recovery.d.ts +12 -0
  768. package/dist/native-pane-recovery.js +10 -0
  769. package/dist/native-pane-recovery.js.map +1 -0
  770. package/dist/native-pane-tools.d.ts +2 -0
  771. package/dist/native-pane-tools.js +14 -0
  772. package/dist/native-pane-tools.js.map +1 -0
  773. package/dist/needs-you-hub.d.ts +14 -1
  774. package/dist/needs-you-hub.js +57 -8
  775. package/dist/needs-you-hub.js.map +1 -1
  776. package/dist/needs-you.d.ts +92 -2
  777. package/dist/needs-you.js +54 -3
  778. package/dist/needs-you.js.map +1 -1
  779. package/dist/office-levels.d.ts +4 -3
  780. package/dist/office-levels.js +3 -3
  781. package/dist/office-levels.js.map +1 -1
  782. package/dist/office-share-page.js +3 -3
  783. package/dist/office-share-page.js.map +1 -1
  784. package/dist/office-share.d.ts +11 -0
  785. package/dist/office-share.js +14 -0
  786. package/dist/office-share.js.map +1 -1
  787. package/dist/office-talk.d.ts +26 -0
  788. package/dist/office-talk.js +50 -0
  789. package/dist/office-talk.js.map +1 -0
  790. package/dist/outbound-handlers.d.ts +30 -2
  791. package/dist/outbound-handlers.js +156 -18
  792. package/dist/outbound-handlers.js.map +1 -1
  793. package/dist/outbound-schemas.d.ts +94 -1
  794. package/dist/outbound-schemas.js +44 -16
  795. package/dist/outbound-schemas.js.map +1 -1
  796. package/dist/pane-port.d.ts +118 -0
  797. package/dist/pane-port.js +2 -0
  798. package/dist/pane-port.js.map +1 -0
  799. package/dist/pane-quota-history.d.ts +9 -0
  800. package/dist/pane-quota-history.js +67 -0
  801. package/dist/pane-quota-history.js.map +1 -0
  802. package/dist/pause-marker.d.ts +1 -1
  803. package/dist/pause-marker.js +1 -1
  804. package/dist/pause-marker.js.map +1 -1
  805. package/dist/platform-general.d.ts +46 -0
  806. package/dist/platform-general.js +91 -0
  807. package/dist/platform-general.js.map +1 -0
  808. package/dist/profile-signins.d.ts +107 -0
  809. package/dist/profile-signins.js +249 -0
  810. package/dist/profile-signins.js.map +1 -0
  811. package/dist/public-web-gateway.js +16 -0
  812. package/dist/public-web-gateway.js.map +1 -1
  813. package/dist/public-web-link.d.ts +11 -0
  814. package/dist/public-web-link.js +13 -0
  815. package/dist/public-web-link.js.map +1 -1
  816. package/dist/quickstart-api.js +11 -7
  817. package/dist/quickstart-api.js.map +1 -1
  818. package/dist/quickstart.d.ts +14 -0
  819. package/dist/quickstart.js +72 -4
  820. package/dist/quickstart.js.map +1 -1
  821. package/dist/quiet-run.d.ts +31 -0
  822. package/dist/quiet-run.js +50 -0
  823. package/dist/quiet-run.js.map +1 -0
  824. package/dist/quota-notice-config.d.ts +22 -0
  825. package/dist/quota-notice-config.js +41 -0
  826. package/dist/quota-notice-config.js.map +1 -0
  827. package/dist/quota-notice.d.ts +7 -0
  828. package/dist/quota-notice.js +40 -0
  829. package/dist/quota-notice.js.map +1 -1
  830. package/dist/reply-buttons-controller.d.ts +5 -1
  831. package/dist/reply-buttons-controller.js +18 -10
  832. package/dist/reply-buttons-controller.js.map +1 -1
  833. package/dist/reply-buttons.d.ts +6 -2
  834. package/dist/reply-buttons.js +7 -3
  835. package/dist/reply-buttons.js.map +1 -1
  836. package/dist/reply-polls.d.ts +2 -2
  837. package/dist/reply-polls.js +3 -3
  838. package/dist/reply-polls.js.map +1 -1
  839. package/dist/runtime-api.d.ts +23 -0
  840. package/dist/runtime-api.js +321 -0
  841. package/dist/runtime-api.js.map +1 -0
  842. package/dist/runtime-assets/@xterm/addon-serialize/LICENSE +21 -0
  843. package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.js +2 -0
  844. package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.mjs +19 -0
  845. package/dist/runtime-assets/@xterm/addon-serialize/package.json +29 -0
  846. package/dist/runtime-assets/@xterm/headless/LICENSE +21 -0
  847. package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.js +2 -0
  848. package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.mjs +46 -0
  849. package/dist/runtime-assets/@xterm/headless/package.json +29 -0
  850. package/dist/runtime-assets/node-pty/CONPTY-LICENSE +21 -0
  851. package/dist/runtime-assets/node-pty/CONPTY-NOTICE.md +503 -0
  852. package/dist/runtime-assets/node-pty/LICENSE +69 -0
  853. package/dist/runtime-assets/node-pty/lib/conpty_console_list_agent.js +16 -0
  854. package/dist/runtime-assets/node-pty/lib/eventEmitter2.js +47 -0
  855. package/dist/runtime-assets/node-pty/lib/index.js +52 -0
  856. package/dist/runtime-assets/node-pty/lib/interfaces.js +7 -0
  857. package/dist/runtime-assets/node-pty/lib/shared/conout.js +11 -0
  858. package/dist/runtime-assets/node-pty/lib/terminal.js +190 -0
  859. package/dist/runtime-assets/node-pty/lib/types.js +7 -0
  860. package/dist/runtime-assets/node-pty/lib/unixTerminal.js +346 -0
  861. package/dist/runtime-assets/node-pty/lib/utils.js +39 -0
  862. package/dist/runtime-assets/node-pty/lib/windowsConoutConnection.js +125 -0
  863. package/dist/runtime-assets/node-pty/lib/windowsPtyAgent.js +320 -0
  864. package/dist/runtime-assets/node-pty/lib/windowsTerminal.js +199 -0
  865. package/dist/runtime-assets/node-pty/lib/worker/conoutSocketWorker.js +22 -0
  866. package/dist/runtime-assets/node-pty/package.json +64 -0
  867. package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
  868. package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
  869. package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
  870. package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
  871. package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
  872. package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
  873. package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty.node +0 -0
  874. package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
  875. package/dist/runtime-build-info.d.ts +10 -0
  876. package/dist/runtime-build-info.js +64 -0
  877. package/dist/runtime-build-info.js.map +1 -0
  878. package/dist/runtime-bundle.d.ts +22 -0
  879. package/dist/runtime-bundle.js +158 -0
  880. package/dist/runtime-bundle.js.map +1 -0
  881. package/dist/runtime-cli-install.d.ts +155 -0
  882. package/dist/runtime-cli-install.js +675 -0
  883. package/dist/runtime-cli-install.js.map +1 -0
  884. package/dist/runtime-cli.d.ts +14 -0
  885. package/dist/runtime-cli.js +416 -0
  886. package/dist/runtime-cli.js.map +1 -0
  887. package/dist/runtime-client-store.d.ts +75 -0
  888. package/dist/runtime-client-store.js +372 -0
  889. package/dist/runtime-client-store.js.map +1 -0
  890. package/dist/runtime-client.d.ts +236 -0
  891. package/dist/runtime-client.js +1267 -0
  892. package/dist/runtime-client.js.map +1 -0
  893. package/dist/runtime-connection.d.ts +22 -0
  894. package/dist/runtime-connection.js +93 -0
  895. package/dist/runtime-connection.js.map +1 -0
  896. package/dist/runtime-coordinator.d.ts +107 -0
  897. package/dist/runtime-coordinator.js +1180 -0
  898. package/dist/runtime-coordinator.js.map +1 -0
  899. package/dist/runtime-credential-profiles.d.ts +89 -0
  900. package/dist/runtime-credential-profiles.js +304 -0
  901. package/dist/runtime-credential-profiles.js.map +1 -0
  902. package/dist/runtime-general-protocol.d.ts +22 -0
  903. package/dist/runtime-general-protocol.js +57 -0
  904. package/dist/runtime-general-protocol.js.map +1 -0
  905. package/dist/runtime-general-workspace.d.ts +17 -0
  906. package/dist/runtime-general-workspace.js +213 -0
  907. package/dist/runtime-general-workspace.js.map +1 -0
  908. package/dist/runtime-install.d.ts +50 -0
  909. package/dist/runtime-install.js +189 -0
  910. package/dist/runtime-install.js.map +1 -0
  911. package/dist/runtime-pane-assets.d.ts +17 -0
  912. package/dist/runtime-pane-assets.js +23 -0
  913. package/dist/runtime-pane-assets.js.map +1 -0
  914. package/dist/runtime-pane-boot.d.ts +9 -0
  915. package/dist/runtime-pane-boot.js +47 -0
  916. package/dist/runtime-pane-boot.js.map +1 -0
  917. package/dist/runtime-pane-codex-index.d.ts +10 -0
  918. package/dist/runtime-pane-codex-index.js +151 -0
  919. package/dist/runtime-pane-codex-index.js.map +1 -0
  920. package/dist/runtime-pane-config.d.ts +16 -0
  921. package/dist/runtime-pane-config.js +54 -0
  922. package/dist/runtime-pane-config.js.map +1 -0
  923. package/dist/runtime-pane-host.d.ts +63 -0
  924. package/dist/runtime-pane-host.js +467 -0
  925. package/dist/runtime-pane-host.js.map +1 -0
  926. package/dist/runtime-pane-job-owner.d.ts +1 -0
  927. package/dist/runtime-pane-job-owner.js +29 -0
  928. package/dist/runtime-pane-job-owner.js.map +1 -0
  929. package/dist/runtime-pane-job.ps1 +116 -0
  930. package/dist/runtime-pane-link.d.ts +47 -0
  931. package/dist/runtime-pane-link.js +338 -0
  932. package/dist/runtime-pane-link.js.map +1 -0
  933. package/dist/runtime-pane-mcp-protocol.d.ts +32 -0
  934. package/dist/runtime-pane-mcp-protocol.js +39 -0
  935. package/dist/runtime-pane-mcp-protocol.js.map +1 -0
  936. package/dist/runtime-pane-mcp-relay.d.ts +18 -0
  937. package/dist/runtime-pane-mcp-relay.js +80 -0
  938. package/dist/runtime-pane-mcp-relay.js.map +1 -0
  939. package/dist/runtime-pane-mcp.d.ts +55 -0
  940. package/dist/runtime-pane-mcp.js +153 -0
  941. package/dist/runtime-pane-mcp.js.map +1 -0
  942. package/dist/runtime-pane-native.d.ts +75 -0
  943. package/dist/runtime-pane-native.js +114 -0
  944. package/dist/runtime-pane-native.js.map +1 -0
  945. package/dist/runtime-pane-output.d.ts +19 -0
  946. package/dist/runtime-pane-output.js +53 -0
  947. package/dist/runtime-pane-output.js.map +1 -0
  948. package/dist/runtime-pane-port.d.ts +144 -0
  949. package/dist/runtime-pane-port.js +574 -0
  950. package/dist/runtime-pane-port.js.map +1 -0
  951. package/dist/runtime-pane-private.d.ts +14 -0
  952. package/dist/runtime-pane-private.js +51 -0
  953. package/dist/runtime-pane-private.js.map +1 -0
  954. package/dist/runtime-pane-private.ps1 +14 -0
  955. package/dist/runtime-pane-process.d.ts +4 -0
  956. package/dist/runtime-pane-process.js +117 -0
  957. package/dist/runtime-pane-process.js.map +1 -0
  958. package/dist/runtime-pane-protocol.d.ts +182 -0
  959. package/dist/runtime-pane-protocol.js +217 -0
  960. package/dist/runtime-pane-protocol.js.map +1 -0
  961. package/dist/runtime-pane-quota-history.d.ts +6 -0
  962. package/dist/runtime-pane-quota-history.js +44 -0
  963. package/dist/runtime-pane-quota-history.js.map +1 -0
  964. package/dist/runtime-pane-screen.d.ts +19 -0
  965. package/dist/runtime-pane-screen.js +76 -0
  966. package/dist/runtime-pane-screen.js.map +1 -0
  967. package/dist/runtime-pane-service.d.ts +16 -0
  968. package/dist/runtime-pane-service.js +256 -0
  969. package/dist/runtime-pane-service.js.map +1 -0
  970. package/dist/runtime-pane-stdio-protocol.d.ts +54 -0
  971. package/dist/runtime-pane-stdio-protocol.js +94 -0
  972. package/dist/runtime-pane-stdio-protocol.js.map +1 -0
  973. package/dist/runtime-pane-stdio.d.ts +3 -0
  974. package/dist/runtime-pane-stdio.js +123 -0
  975. package/dist/runtime-pane-stdio.js.map +1 -0
  976. package/dist/runtime-pane-store.d.ts +43 -0
  977. package/dist/runtime-pane-store.js +176 -0
  978. package/dist/runtime-pane-store.js.map +1 -0
  979. package/dist/runtime-pane-transcript-protocol.d.ts +43 -0
  980. package/dist/runtime-pane-transcript-protocol.js +58 -0
  981. package/dist/runtime-pane-transcript-protocol.js.map +1 -0
  982. package/dist/runtime-pane-transcript.d.ts +50 -0
  983. package/dist/runtime-pane-transcript.js +666 -0
  984. package/dist/runtime-pane-transcript.js.map +1 -0
  985. package/dist/runtime-pane-worker.d.ts +1 -0
  986. package/dist/runtime-pane-worker.js +167 -0
  987. package/dist/runtime-pane-worker.js.map +1 -0
  988. package/dist/runtime-profile-ownership.d.ts +66 -0
  989. package/dist/runtime-profile-ownership.js +391 -0
  990. package/dist/runtime-profile-ownership.js.map +1 -0
  991. package/dist/runtime-protocol.d.ts +263 -0
  992. package/dist/runtime-protocol.js +89 -0
  993. package/dist/runtime-protocol.js.map +1 -0
  994. package/dist/runtime-remote-accounts.d.ts +197 -0
  995. package/dist/runtime-remote-accounts.js +663 -0
  996. package/dist/runtime-remote-accounts.js.map +1 -0
  997. package/dist/runtime-remote-setup.d.ts +105 -0
  998. package/dist/runtime-remote-setup.js +529 -0
  999. package/dist/runtime-remote-setup.js.map +1 -0
  1000. package/dist/runtime-signin-transport.d.ts +39 -0
  1001. package/dist/runtime-signin-transport.js +111 -0
  1002. package/dist/runtime-signin-transport.js.map +1 -0
  1003. package/dist/runtime-signin.d.ts +132 -0
  1004. package/dist/runtime-signin.js +290 -0
  1005. package/dist/runtime-signin.js.map +1 -0
  1006. package/dist/runtime-switches.d.ts +79 -0
  1007. package/dist/runtime-switches.js +90 -0
  1008. package/dist/runtime-switches.js.map +1 -0
  1009. package/dist/runtime-transcript-delta-reader.d.ts +23 -0
  1010. package/dist/runtime-transcript-delta-reader.js +74 -0
  1011. package/dist/runtime-transcript-delta-reader.js.map +1 -0
  1012. package/dist/runtime-transcript-source.d.ts +36 -0
  1013. package/dist/runtime-transcript-source.js +189 -0
  1014. package/dist/runtime-transcript-source.js.map +1 -0
  1015. package/dist/runtime-update-activity.d.ts +21 -0
  1016. package/dist/runtime-update-activity.js +51 -0
  1017. package/dist/runtime-update-activity.js.map +1 -0
  1018. package/dist/runtime-update-artifact.d.ts +31 -0
  1019. package/dist/runtime-update-artifact.js +252 -0
  1020. package/dist/runtime-update-artifact.js.map +1 -0
  1021. package/dist/runtime-update-attention.d.ts +4 -0
  1022. package/dist/runtime-update-attention.js +11 -0
  1023. package/dist/runtime-update-attention.js.map +1 -0
  1024. package/dist/runtime-update-controller.d.ts +75 -0
  1025. package/dist/runtime-update-controller.js +691 -0
  1026. package/dist/runtime-update-controller.js.map +1 -0
  1027. package/dist/runtime-update-install.d.ts +31 -0
  1028. package/dist/runtime-update-install.js +205 -0
  1029. package/dist/runtime-update-install.js.map +1 -0
  1030. package/dist/runtime-update-ipc.d.ts +42 -0
  1031. package/dist/runtime-update-ipc.js +144 -0
  1032. package/dist/runtime-update-ipc.js.map +1 -0
  1033. package/dist/runtime-update-journal.d.ts +49 -0
  1034. package/dist/runtime-update-journal.js +128 -0
  1035. package/dist/runtime-update-journal.js.map +1 -0
  1036. package/dist/runtime-update-lock.d.ts +48 -0
  1037. package/dist/runtime-update-lock.js +232 -0
  1038. package/dist/runtime-update-lock.js.map +1 -0
  1039. package/dist/runtime-update-owners.d.ts +29 -0
  1040. package/dist/runtime-update-owners.js +240 -0
  1041. package/dist/runtime-update-owners.js.map +1 -0
  1042. package/dist/runtime-update-protocol.d.ts +15 -0
  1043. package/dist/runtime-update-protocol.js +13 -0
  1044. package/dist/runtime-update-protocol.js.map +1 -0
  1045. package/dist/runtime-update-status.d.ts +30 -0
  1046. package/dist/runtime-update-status.js +31 -0
  1047. package/dist/runtime-update-status.js.map +1 -0
  1048. package/dist/runtime-windows-bridge.d.ts +42 -0
  1049. package/dist/runtime-windows-bridge.js +167 -0
  1050. package/dist/runtime-windows-bridge.js.map +1 -0
  1051. package/dist/scheduler/db.d.ts +10 -0
  1052. package/dist/scheduler/db.js +38 -11
  1053. package/dist/scheduler/db.js.map +1 -1
  1054. package/dist/scheduler/task-board-text.js +1 -1
  1055. package/dist/scheduler/task-board-text.js.map +1 -1
  1056. package/dist/scheduler/task-board.d.ts +13 -0
  1057. package/dist/scheduler/task-board.js +28 -3
  1058. package/dist/scheduler/task-board.js.map +1 -1
  1059. package/dist/scheduler/types.d.ts +6 -1
  1060. package/dist/service-drain.d.ts +19 -0
  1061. package/dist/service-drain.js +64 -0
  1062. package/dist/service-drain.js.map +1 -0
  1063. package/dist/service-installer.d.ts +7 -2
  1064. package/dist/service-installer.js +13 -10
  1065. package/dist/service-installer.js.map +1 -1
  1066. package/dist/settings-api.d.ts +23 -1
  1067. package/dist/settings-api.js +705 -6
  1068. package/dist/settings-api.js.map +1 -1
  1069. package/dist/settings-baseline.d.ts +7 -0
  1070. package/dist/settings-baseline.js +3 -1
  1071. package/dist/settings-baseline.js.map +1 -1
  1072. package/dist/settings-change.d.ts +10 -0
  1073. package/dist/settings-change.js +76 -1
  1074. package/dist/settings-change.js.map +1 -1
  1075. package/dist/settings-confirmation.d.ts +42 -3
  1076. package/dist/settings-confirmation.js +58 -12
  1077. package/dist/settings-confirmation.js.map +1 -1
  1078. package/dist/settings-effect.d.ts +17 -0
  1079. package/dist/settings-effect.js +226 -2
  1080. package/dist/settings-effect.js.map +1 -1
  1081. package/dist/settings-http-confirmation.d.ts +28 -0
  1082. package/dist/settings-http-confirmation.js +123 -9
  1083. package/dist/settings-http-confirmation.js.map +1 -1
  1084. package/dist/settings-instance-patch.js +28 -1
  1085. package/dist/settings-instance-patch.js.map +1 -1
  1086. package/dist/settings-request-capability.d.ts +7 -0
  1087. package/dist/settings-request-capability.js +10 -1
  1088. package/dist/settings-request-capability.js.map +1 -1
  1089. package/dist/settings-route-lifetime.d.ts +14 -0
  1090. package/dist/settings-route-lifetime.js +48 -0
  1091. package/dist/settings-route-lifetime.js.map +1 -0
  1092. package/dist/settings-transaction.d.ts +4 -0
  1093. package/dist/settings-transaction.js +9 -0
  1094. package/dist/settings-transaction.js.map +1 -1
  1095. package/dist/setup-form.js +6 -3
  1096. package/dist/setup-form.js.map +1 -1
  1097. package/dist/setup-host.js +1 -1
  1098. package/dist/setup-host.js.map +1 -1
  1099. package/dist/setup-i18n.js +3 -0
  1100. package/dist/setup-i18n.js.map +1 -1
  1101. package/dist/setup-wizard.js +4 -2
  1102. package/dist/setup-wizard.js.map +1 -1
  1103. package/dist/signin-keepalive.d.ts +207 -0
  1104. package/dist/signin-keepalive.js +682 -0
  1105. package/dist/signin-keepalive.js.map +1 -0
  1106. package/dist/structured-signin-transport.d.ts +20 -2
  1107. package/dist/structured-signin-transport.js +57 -2
  1108. package/dist/structured-signin-transport.js.map +1 -1
  1109. package/dist/structured-signin.d.ts +11 -2
  1110. package/dist/structured-signin.js +8 -8
  1111. package/dist/structured-signin.js.map +1 -1
  1112. package/dist/task-board-tool.d.ts +13 -1
  1113. package/dist/task-board-tool.js +104 -4
  1114. package/dist/task-board-tool.js.map +1 -1
  1115. package/dist/task-board-waker.d.ts +6 -0
  1116. package/dist/task-board-waker.js +4 -0
  1117. package/dist/task-board-waker.js.map +1 -1
  1118. package/dist/team-membership.d.ts +7 -0
  1119. package/dist/team-membership.js +10 -0
  1120. package/dist/team-membership.js.map +1 -0
  1121. package/dist/tips.js +4 -4
  1122. package/dist/tips.js.map +1 -1
  1123. package/dist/tmux-binary.d.ts +59 -0
  1124. package/dist/tmux-binary.js +189 -0
  1125. package/dist/tmux-binary.js.map +1 -0
  1126. package/dist/tmux-control.d.ts +2 -1
  1127. package/dist/tmux-control.js +4 -4
  1128. package/dist/tmux-control.js.map +1 -1
  1129. package/dist/tmux-exec-helper.js +32 -1
  1130. package/dist/tmux-exec-helper.js.map +1 -1
  1131. package/dist/tmux-legacy.d.ts +94 -0
  1132. package/dist/tmux-legacy.js +309 -0
  1133. package/dist/tmux-legacy.js.map +1 -0
  1134. package/dist/tmux-manager.d.ts +10 -3
  1135. package/dist/tmux-manager.js +60 -38
  1136. package/dist/tmux-manager.js.map +1 -1
  1137. package/dist/tmux-pane-host.d.ts +26 -0
  1138. package/dist/tmux-pane-host.js +25 -0
  1139. package/dist/tmux-pane-host.js.map +1 -0
  1140. package/dist/tmux-read.js +4 -3
  1141. package/dist/tmux-read.js.map +1 -1
  1142. package/dist/tmux-rollback.d.ts +31 -0
  1143. package/dist/tmux-rollback.js +72 -0
  1144. package/dist/tmux-rollback.js.map +1 -0
  1145. package/dist/tmux-server.d.ts +102 -0
  1146. package/dist/tmux-server.js +248 -0
  1147. package/dist/tmux-server.js.map +1 -0
  1148. package/dist/tool-permissions.d.ts +2 -3
  1149. package/dist/tool-permissions.js +5 -4
  1150. package/dist/tool-permissions.js.map +1 -1
  1151. package/dist/topic-commands.js +10 -6
  1152. package/dist/topic-commands.js.map +1 -1
  1153. package/dist/transcript-delta-reader.d.ts +1 -1
  1154. package/dist/transcript-delta-reader.js +1 -1
  1155. package/dist/transcript-delta-reader.js.map +1 -1
  1156. package/dist/transcript-monitor.d.ts +23 -0
  1157. package/dist/transcript-monitor.js +107 -49
  1158. package/dist/transcript-monitor.js.map +1 -1
  1159. package/dist/transcript-needles.d.ts +42 -0
  1160. package/dist/transcript-needles.js +166 -0
  1161. package/dist/transcript-needles.js.map +1 -0
  1162. package/dist/transcript-records.d.ts +22 -0
  1163. package/dist/transcript-records.js +144 -0
  1164. package/dist/transcript-records.js.map +1 -0
  1165. package/dist/transcript-sources.d.ts +5 -0
  1166. package/dist/transcript-sources.js +11 -79
  1167. package/dist/transcript-sources.js.map +1 -1
  1168. package/dist/types.d.ts +34 -0
  1169. package/dist/types.js.map +1 -1
  1170. package/dist/ui/account-identity.js +27 -0
  1171. package/dist/ui/accounts-keepalive.js +118 -0
  1172. package/dist/ui/accounts-manage.js +256 -0
  1173. package/dist/ui/accounts-view.js +418 -0
  1174. package/dist/ui/agent-proposals.js +90 -0
  1175. package/dist/ui/agent-runtime-settings.js +69 -0
  1176. package/dist/ui/agent-runtime.js +124 -0
  1177. package/dist/ui/app.html +8 -1
  1178. package/dist/ui/backend-signin.js +108 -36
  1179. package/dist/ui/chat-ambient.js +1 -1
  1180. package/dist/ui/chat-commands.js +7 -0
  1181. package/dist/ui/chat-md-strings.js +3 -0
  1182. package/dist/ui/chat-render.js +3 -670
  1183. package/dist/ui/chat-store.js +14 -3
  1184. package/dist/ui/chat-strings.js +3 -285
  1185. package/dist/ui/chat-thread.js +3 -919
  1186. package/dist/ui/chat-time.js +3 -80
  1187. package/dist/ui/chat-tour.js +1 -1
  1188. package/dist/ui/cli-caps.js +15 -0
  1189. package/dist/ui/cli-picker.js +42 -0
  1190. package/dist/ui/credential-profile-select.js +54 -0
  1191. package/dist/ui/fleet-cache.js +3 -3
  1192. package/dist/ui/fleet-canvas.js +2 -2
  1193. package/dist/ui/fleet-office-dialogue.d.ts +30 -0
  1194. package/dist/ui/fleet-office-dialogue.js +382 -0
  1195. package/dist/ui/fleet-office-editor.js +1 -1
  1196. package/dist/ui/fleet-office-pack.d.ts +9 -0
  1197. package/dist/ui/fleet-office-pack.js +76 -4
  1198. package/dist/ui/fleet-office-skin.js +23 -5
  1199. package/dist/ui/fleet-office-store.js +5 -0
  1200. package/dist/ui/fleet-office.js +174 -7
  1201. package/dist/ui/fleet-org.js +2 -2
  1202. package/dist/ui/fleet-task-card.js +11 -7
  1203. package/dist/ui/fleet-task-common.js +18 -8
  1204. package/dist/ui/fleet-task-menu.js +188 -0
  1205. package/dist/ui/fleet-task-stats.js +124 -0
  1206. package/dist/ui/fleet-task-view.js +340 -0
  1207. package/dist/ui/fleet-tasks.js +131 -43
  1208. package/dist/ui/general-location.js +85 -0
  1209. package/dist/ui/html-attachment.js +3 -40
  1210. package/dist/ui/hub-agent-copy.js +23 -0
  1211. package/dist/ui/hub-attachments.js +90 -0
  1212. package/dist/ui/hub-button-actions.js +65 -0
  1213. package/dist/ui/hub-chat-store.js +168 -0
  1214. package/dist/ui/hub-chat-strings.js +79 -0
  1215. package/dist/ui/hub-client.js +410 -0
  1216. package/dist/ui/hub-company-join-strings.js +74 -0
  1217. package/dist/ui/hub-company-join.js +119 -0
  1218. package/dist/ui/hub-directory-editor-strings.js +56 -0
  1219. package/dist/ui/hub-directory-editor.js +163 -0
  1220. package/dist/ui/hub-directory-notice-strings.js +28 -0
  1221. package/dist/ui/hub-directory-notices.js +66 -0
  1222. package/dist/ui/hub-grant-strings.js +13 -0
  1223. package/dist/ui/hub-group-policy.js +183 -0
  1224. package/dist/ui/hub-group-strings.js +110 -0
  1225. package/dist/ui/hub-host-security-notices.js +28 -0
  1226. package/dist/ui/hub-owner-strings.js +55 -0
  1227. package/dist/ui/hub-pairing-progress-strings.js +15 -0
  1228. package/dist/ui/hub-preview.js +101 -0
  1229. package/dist/ui/hub-provider-guidance.js +31 -0
  1230. package/dist/ui/hub-quick-pairing.js +209 -0
  1231. package/dist/ui/hub-quick-strings.js +43 -0
  1232. package/dist/ui/hub-quota.js +85 -0
  1233. package/dist/ui/hub-read-strings.js +7 -0
  1234. package/dist/ui/hub-strings.js +164 -0
  1235. package/dist/ui/hub-switcher.js +27 -0
  1236. package/dist/ui/hub-this-hub.js +113 -0
  1237. package/dist/ui/hub-welcome.js +102 -0
  1238. package/dist/ui/machine-signin.js +56 -0
  1239. package/dist/ui/native-instance-settings.js +44 -0
  1240. package/dist/ui/native-pane-recovery.js +45 -0
  1241. package/dist/ui/office-share-page.js +4 -2
  1242. package/dist/ui/panel-chat.js +98 -77
  1243. package/dist/ui/panel-details.js +3 -2
  1244. package/dist/ui/panel-fleet.js +183 -32
  1245. package/dist/ui/panel-hub.js +970 -0
  1246. package/dist/ui/panel-log.js +4 -4
  1247. package/dist/ui/panel-needs.js +189 -15
  1248. package/dist/ui/panel-notices.js +4 -3
  1249. package/dist/ui/panel-runtimes.js +446 -0
  1250. package/dist/ui/panel-settings.js +292 -201
  1251. package/dist/ui/panel-windows-agent.js +87 -0
  1252. package/dist/ui/panel-windows-cli.js +189 -0
  1253. package/dist/ui/preview-pages.js +3 -41
  1254. package/dist/ui/preview-panel-actions.js +3 -161
  1255. package/dist/ui/preview-panel.js +11 -472
  1256. package/dist/ui/preview-versions.js +3 -155
  1257. package/dist/ui/preview.js +3 -476
  1258. package/dist/ui/provider-marks.js +83 -0
  1259. package/dist/ui/runtime-catalog.js +55 -0
  1260. package/dist/ui/runtime-cli-install.js +135 -0
  1261. package/dist/ui/runtime-commands.d.ts +4 -0
  1262. package/dist/ui/runtime-commands.js +59 -0
  1263. package/dist/ui/runtime-update-commands.d.ts +2 -0
  1264. package/dist/ui/runtime-update-commands.js +11 -0
  1265. package/dist/ui/runtime-update-status.js +53 -0
  1266. package/dist/ui/search-dialog.js +5 -2
  1267. package/dist/ui/settings-access-strings.js +42 -0
  1268. package/dist/ui/settings-agent-filters.js +94 -0
  1269. package/dist/ui/settings-appearance.js +122 -23
  1270. package/dist/ui/settings-apply.js +12 -5
  1271. package/dist/ui/settings-build-version.js +35 -0
  1272. package/dist/ui/settings-catalog.js +39 -11
  1273. package/dist/ui/settings-codex-copy.js +19 -0
  1274. package/dist/ui/settings-confirm.js +108 -10
  1275. package/dist/ui/settings-devices.js +249 -0
  1276. package/dist/ui/settings-dialogs.js +78 -25
  1277. package/dist/ui/settings-guests.js +28 -13
  1278. package/dist/ui/settings-hub-browser-certificate.js +76 -0
  1279. package/dist/ui/settings-hub-company-join.js +162 -0
  1280. package/dist/ui/settings-hub-directory.js +29 -0
  1281. package/dist/ui/settings-hub-membership.js +93 -0
  1282. package/dist/ui/settings-hub-preview.js +74 -0
  1283. package/dist/ui/settings-hub-retention.js +54 -0
  1284. package/dist/ui/settings-hub-run.js +62 -0
  1285. package/dist/ui/settings-hub-section.js +66 -0
  1286. package/dist/ui/settings-hub-setup-strings.js +70 -0
  1287. package/dist/ui/settings-hub-setup.js +195 -0
  1288. package/dist/ui/settings-hub.js +261 -0
  1289. package/dist/ui/settings-layout.js +246 -0
  1290. package/dist/ui/settings-model.js +26 -3
  1291. package/dist/ui/settings-named-test.js +2 -2
  1292. package/dist/ui/settings-outside.js +242 -0
  1293. package/dist/ui/settings-quota-notice.js +102 -0
  1294. package/dist/ui/settings-registry.js +24 -5
  1295. package/dist/ui/settings-restart-strings.js +17 -0
  1296. package/dist/ui/settings-shared-strings.js +143 -0
  1297. package/dist/ui/settings-shared.js +345 -0
  1298. package/dist/ui/settings-shortcuts.js +65 -0
  1299. package/dist/ui/settings-strings.js +127 -52
  1300. package/dist/ui/settings-update.js +69 -0
  1301. package/dist/ui/settings-web-authority.js +19 -12
  1302. package/dist/ui/shared/accounts-keepalive.css +12 -0
  1303. package/dist/ui/shared/accounts.css +78 -0
  1304. package/dist/ui/shared/app-i18n.js +18 -9
  1305. package/dist/ui/shared/app-route.js +12 -3
  1306. package/dist/ui/shared/app-session.js +6 -2
  1307. package/dist/ui/shared/app-shell.js +312 -40
  1308. package/dist/ui/shared/app-store.js +3 -2
  1309. package/dist/ui/shared/app-stream.js +3 -1
  1310. package/dist/ui/shared/app-update.js +215 -0
  1311. package/dist/ui/shared/app.css +1511 -6
  1312. package/dist/ui/shared/app.js +18 -4
  1313. package/dist/ui/shared/chat-composer.js +68 -0
  1314. package/dist/ui/shared/chat-md-strings.js +9 -0
  1315. package/dist/ui/shared/chat-render.js +682 -0
  1316. package/dist/ui/shared/chat-strings.js +333 -0
  1317. package/dist/ui/shared/chat-thread.js +969 -0
  1318. package/dist/ui/shared/chat-time.js +80 -0
  1319. package/dist/ui/shared/header-tools.js +9 -9
  1320. package/dist/ui/shared/html-attachment.js +42 -0
  1321. package/dist/ui/shared/hub-chat.css +98 -0
  1322. package/dist/ui/shared/hub-groups.css +28 -0
  1323. package/dist/ui/shared/hub-owner.css +51 -0
  1324. package/dist/ui/shared/hub-quota.css +8 -0
  1325. package/dist/ui/shared/hub-signin.css +24 -0
  1326. package/dist/ui/shared/hub.css +78 -0
  1327. package/dist/ui/shared/instance-nav.js +35 -8
  1328. package/dist/ui/shared/instance-switch.js +4 -3
  1329. package/dist/ui/shared/loading.css +37 -0
  1330. package/dist/ui/shared/machine-name.js +13 -0
  1331. package/dist/ui/shared/page-head.js +8 -0
  1332. package/dist/ui/shared/panel-view.js +77 -4
  1333. package/dist/ui/shared/preview-pages.js +41 -0
  1334. package/dist/ui/shared/preview-panel-actions.js +168 -0
  1335. package/dist/ui/shared/preview-panel.js +565 -0
  1336. package/dist/ui/shared/preview-versions.js +155 -0
  1337. package/dist/ui/shared/preview.js +476 -0
  1338. package/dist/ui/shared/qrcode.module.js +2237 -0
  1339. package/dist/ui/shared/runtime-install.css +30 -0
  1340. package/dist/ui/shared/settings-width.js +31 -0
  1341. package/dist/ui/shared/setup-host-text.js +4 -1
  1342. package/dist/ui/shared/side-rail.js +15 -0
  1343. package/dist/ui/shared/signin.js +280 -10
  1344. package/dist/ui/shared/task-board.css +95 -0
  1345. package/dist/ui/shared/tokens.css +1 -0
  1346. package/dist/ui/shared/ui-dialog.js +2 -2
  1347. package/dist/ui/shared/ui-menu.js +30 -10
  1348. package/dist/ui/shared/ui-states.js +14 -3
  1349. package/dist/ui/shared/usage-dialog.js +3 -72
  1350. package/dist/ui/shared/usage-meter.js +84 -0
  1351. package/dist/ui/shared/vendor/qrcode-generator.LICENSE +27 -0
  1352. package/dist/ui/shared/vendor/vendor.json +19 -2
  1353. package/dist/ui/shared/view-history.css +17 -0
  1354. package/dist/ui/shared/view-history.js +438 -0
  1355. package/dist/ui/shared/view-strings.js +23 -15
  1356. package/dist/ui/shared/web-authorize.js +4 -4
  1357. package/dist/ui/shared/workspace-follow.css +19 -0
  1358. package/dist/ui/shared/workspace.css +20 -0
  1359. package/dist/ui/signin.html +27 -2
  1360. package/dist/ui/structured-signin.js +65 -15
  1361. package/dist/ui/windows-agents-nav.js +2 -0
  1362. package/dist/ui/windows-cli-catalog.js +108 -0
  1363. package/dist/ui/workspace-follow-strings.js +28 -0
  1364. package/dist/ui/workspace-panel.js +378 -0
  1365. package/dist/ui/workspace-strings.js +35 -0
  1366. package/dist/unattended-install.d.ts +11 -2
  1367. package/dist/unattended-install.js +41 -6
  1368. package/dist/unattended-install.js.map +1 -1
  1369. package/dist/update-dispatch.d.ts +32 -4
  1370. package/dist/update-dispatch.js +146 -16
  1371. package/dist/update-dispatch.js.map +1 -1
  1372. package/dist/update-install.d.ts +7 -0
  1373. package/dist/update-install.js +23 -0
  1374. package/dist/update-install.js.map +1 -1
  1375. package/dist/update-launch.d.ts +1 -1
  1376. package/dist/update-launch.js +2 -2
  1377. package/dist/update-launch.js.map +1 -1
  1378. package/dist/update-marker.d.ts +4 -2
  1379. package/dist/update-marker.js +4 -3
  1380. package/dist/update-marker.js.map +1 -1
  1381. package/dist/usage/providers.d.ts +8 -0
  1382. package/dist/usage/providers.js +36 -26
  1383. package/dist/usage/providers.js.map +1 -1
  1384. package/dist/usage/quota-notices.d.ts +38 -0
  1385. package/dist/usage/quota-notices.js +160 -0
  1386. package/dist/usage/quota-notices.js.map +1 -0
  1387. package/dist/usage/usage-api.d.ts +2 -1
  1388. package/dist/usage/usage-api.js +19 -10
  1389. package/dist/usage/usage-api.js.map +1 -1
  1390. package/dist/usage-rollup.d.ts +5 -0
  1391. package/dist/usage-rollup.js +11 -6
  1392. package/dist/usage-rollup.js.map +1 -1
  1393. package/dist/view-api.d.ts +18 -8
  1394. package/dist/view-api.js +108 -32
  1395. package/dist/view-api.js.map +1 -1
  1396. package/dist/view-history.d.ts +84 -0
  1397. package/dist/view-history.js +116 -0
  1398. package/dist/view-history.js.map +1 -0
  1399. package/dist/web-api.d.ts +133 -2
  1400. package/dist/web-api.js +1091 -26
  1401. package/dist/web-api.js.map +1 -1
  1402. package/dist/web-auth.js +2 -1
  1403. package/dist/web-auth.js.map +1 -1
  1404. package/dist/web-backend-login.d.ts +39 -3
  1405. package/dist/web-backend-login.js +25 -17
  1406. package/dist/web-backend-login.js.map +1 -1
  1407. package/dist/web-chat-history.d.ts +19 -2
  1408. package/dist/web-chat-history.js +72 -3
  1409. package/dist/web-chat-history.js.map +1 -1
  1410. package/dist/web-device-login.d.ts +153 -0
  1411. package/dist/web-device-login.js +278 -0
  1412. package/dist/web-device-login.js.map +1 -0
  1413. package/dist/web-login.d.ts +35 -1
  1414. package/dist/web-login.js +51 -5
  1415. package/dist/web-login.js.map +1 -1
  1416. package/dist/web-notices.d.ts +9 -0
  1417. package/dist/web-notices.js +19 -0
  1418. package/dist/web-notices.js.map +1 -1
  1419. package/dist/web-office-skins.d.ts +9 -0
  1420. package/dist/web-office-skins.js +16 -1
  1421. package/dist/web-office-skins.js.map +1 -1
  1422. package/dist/web-only-fleet.d.ts +20 -0
  1423. package/dist/web-only-fleet.js +21 -0
  1424. package/dist/web-only-fleet.js.map +1 -1
  1425. package/dist/web-remote-access.d.ts +158 -0
  1426. package/dist/web-remote-access.js +377 -0
  1427. package/dist/web-remote-access.js.map +1 -0
  1428. package/dist/web-session.d.ts +53 -0
  1429. package/dist/web-session.js +47 -1
  1430. package/dist/web-session.js.map +1 -1
  1431. package/dist/web-settings-patch.d.ts +3 -1
  1432. package/dist/web-settings-patch.js +4 -1
  1433. package/dist/web-settings-patch.js.map +1 -1
  1434. package/dist/web-shell-routes.d.ts +10 -1
  1435. package/dist/web-shell-routes.js +14 -2
  1436. package/dist/web-shell-routes.js.map +1 -1
  1437. package/dist/web-signin-link.d.ts +42 -0
  1438. package/dist/web-signin-link.js +110 -0
  1439. package/dist/web-signin-link.js.map +1 -0
  1440. package/dist/web-terminal.d.ts +11 -30
  1441. package/dist/web-terminal.js +23 -8
  1442. package/dist/web-terminal.js.map +1 -1
  1443. package/dist/web-update.d.ts +78 -0
  1444. package/dist/web-update.js +104 -0
  1445. package/dist/web-update.js.map +1 -0
  1446. package/dist/windows-agents.d.ts +127 -0
  1447. package/dist/windows-agents.js +491 -0
  1448. package/dist/windows-agents.js.map +1 -0
  1449. package/dist/windows-cli-api.d.ts +48 -0
  1450. package/dist/windows-cli-api.js +206 -0
  1451. package/dist/windows-cli-api.js.map +1 -0
  1452. package/dist/windows-cli-providers.d.ts +109 -0
  1453. package/dist/windows-cli-providers.js +396 -0
  1454. package/dist/windows-cli-providers.js.map +1 -0
  1455. package/dist/windows-cli-worker.d.ts +85 -0
  1456. package/dist/windows-cli-worker.js +585 -0
  1457. package/dist/windows-cli-worker.js.map +1 -0
  1458. package/dist/windows-cli.d.ts +126 -0
  1459. package/dist/windows-cli.js +416 -0
  1460. package/dist/windows-cli.js.map +1 -0
  1461. package/dist/windows-native-mcp.d.ts +19 -0
  1462. package/dist/windows-native-mcp.js +143 -0
  1463. package/dist/windows-native-mcp.js.map +1 -0
  1464. package/dist/windows-pane-mcp.d.ts +26 -0
  1465. package/dist/windows-pane-mcp.js +187 -0
  1466. package/dist/windows-pane-mcp.js.map +1 -0
  1467. package/dist/workspace-follow-parse.d.ts +36 -0
  1468. package/dist/workspace-follow-parse.js +208 -0
  1469. package/dist/workspace-follow-parse.js.map +1 -0
  1470. package/dist/workspace-follow-records.d.ts +17 -0
  1471. package/dist/workspace-follow-records.js +88 -0
  1472. package/dist/workspace-follow-records.js.map +1 -0
  1473. package/dist/workspace-follow.d.ts +41 -0
  1474. package/dist/workspace-follow.js +143 -0
  1475. package/dist/workspace-follow.js.map +1 -0
  1476. package/dist/wsl-detect.d.ts +1 -0
  1477. package/dist/wsl-detect.js +20 -0
  1478. package/dist/wsl-detect.js.map +1 -0
  1479. package/dist/yaml-shared-nodes.js +8 -3
  1480. package/dist/yaml-shared-nodes.js.map +1 -1
  1481. package/launcher/agend-install.cjs +8 -1
  1482. package/launcher/launchd-session-type.cjs +14 -0
  1483. package/launcher/postinstall.cjs +27 -2
  1484. package/launcher/private-home.cjs +1 -1
  1485. package/launcher/tmux-bundle.cjs +263 -0
  1486. package/package.json +16 -4
  1487. package/templates/launchd.plist.ejs +3 -1
  1488. package/templates/runtime-assets/conpty-LICENSE +21 -0
  1489. package/templates/runtime-assets/conpty-NOTICE.md +503 -0
  1490. package/templates/runtime-assets/local-pane-stage.ps1 +101 -0
  1491. package/templates/runtime-assets/runtime-pane-job.ps1 +116 -0
  1492. package/templates/runtime-assets/runtime-pane-private.ps1 +14 -0
  1493. package/templates/runtime-assets/xterm-LICENSE +21 -0
  1494. package/templates/runtime-install/install.ps1 +411 -0
@@ -1,13 +1,18 @@
1
+ import { AgentRuntimeChanges } from "./agent-runtime-change.js";
1
2
  import { type HumanOrigin } from "./human-delivery-receipts.js";
3
+ import { SettingsConfirmationStore, type SettingsPendingView } from "./settings-confirmation.js";
4
+ import { type GeneralSwitchInput } from "./general-binding.js";
2
5
  import { SettingsExecution } from "./settings-transaction.js";
3
6
  import { AppIconStore } from "./web-app-icon.js";
4
7
  import { type NamedTestResult } from "./tunnel/named-link-test.js";
5
8
  import { OfficeShareService } from "./office-share-service.js";
9
+ import { OfficeTalk } from "./office-talk.js";
6
10
  import { type OfficeShare } from "./office-share.js";
7
11
  import type { PageShare } from "./page-share.js";
8
12
  import type { LoginCodeOwner } from "./web-login.js";
9
13
  import { type ProfileTicket } from "./runtime-cpu-profile.js";
10
14
  import type { CpuProfile } from "./cpu-profile.js";
15
+ import { type IncomingMessage } from "node:http";
11
16
  import { type FleetMemory } from "./process-memory.js";
12
17
  import { MemoryPressure, type MemoryPressureSnapshot } from "./memory-pressure.js";
13
18
  import { ReplyDeduper } from "./reply-dedup.js";
@@ -19,11 +24,12 @@ import { type TopicDeleteOutcome } from "./instance-topic-delete.js";
19
24
  import { BackendAvailabilityStore, type AvailabilityProbes, type BackendAvailability } from "./backend-availability.js";
20
25
  import { AdapterWorld } from "./adapter-world.js";
21
26
  import { CostGuard } from "./cost-guard.js";
22
- import { IpcClient } from "./channel/ipc-bridge.js";
27
+ import { type InstanceClient } from "./channel/ipc-bridge.js";
23
28
  import type { AdapterHealthSnapshot, ChannelAdapter, InboundMessage, InboundReaction } from "./channel/types.js";
24
29
  import { type BackendCliVersionSnapshot } from "./backend/types.js";
25
30
  import { type Logger } from "./logger.js";
26
31
  import { Scheduler } from "./scheduler/index.js";
32
+ import type { Task } from "./scheduler/types.js";
27
33
  import type { FleetContext } from "./fleet-context.js";
28
34
  import { TmuxControlClient } from "./tmux-control.js";
29
35
  import { RoutingEngine } from "./routing-engine.js";
@@ -52,6 +58,11 @@ export declare const LIVE_TASK_STATUSES: string[];
52
58
  * " \t " and [" ", "\t"] both normalize to undefined (not treated as explicit
53
59
  * filters). The same result drives the live-only default and the cap decision.
54
60
  */
61
+ /**
62
+ * #3195: the saved value of each plain-update field the call named (assignee, priority, result), read back from the
63
+ * task — so the answer shows what was persisted, not what was asked. Status is always in the ack already.
64
+ */
65
+ export declare function savedFields(t: Task, named: Record<string, unknown>): Partial<Pick<Task, "assignee" | "priority" | "result">>;
55
66
  export declare function normalizeStatusFilter(v: unknown): string | string[] | undefined;
56
67
  export declare function applyTaskListCap<T extends {
57
68
  updated_at: string;
@@ -61,7 +72,12 @@ export declare function applyTaskListCap<T extends {
61
72
  hint: string;
62
73
  } | T[];
63
74
  import { type PublicPreviewForUi } from "./web-api.js";
75
+ import { RuntimeInstallService } from "./runtime-install.js";
76
+ import { RuntimeCoordinator } from "./runtime-coordinator.js";
77
+ import { FleetWindowsRuntime, type NativeRuntimePatch } from "./fleet-windows-runtime.js";
78
+ import { NativeMcpSessions } from "./native-mcp.js";
64
79
  import { type LogAnswer, type LogQuery } from "./log-service.js";
80
+ import { type ViewHistoryAnswer, type ViewHistoryQuery } from "./view-history.js";
65
81
  import { WebChatHistory, type WebChatPost } from "./web-chat-history.js";
66
82
  import { type WebEchoCopy } from "./web-reactions.js";
67
83
  import { SeenUsers, type MentionNames, type MentionQuery } from "./web-mentions.js";
@@ -77,6 +93,7 @@ import { type WebAccount } from "./web-profile.js";
77
93
  import type { WebPerson as WebPersonView } from "./web-api.js";
78
94
  import { ReplyButtonsController } from "./reply-buttons-controller.js";
79
95
  import { WebFileLedger } from "./web-upload.js";
96
+ import type { ActiveDecisionRow } from "./daemon.js";
80
97
  import { AppearanceTools } from "./web-appearance-tools.js";
81
98
  import { ModStore } from "./web-mod-store.js";
82
99
  import { type CachedImage } from "./web-images.js";
@@ -84,6 +101,7 @@ import { SearchIndex } from "./search/search-index.js";
84
101
  import { type CrossInstanceRecord, type XmsgVisibility } from "./search/search-docs.js";
85
102
  import { WebSettingsTools } from "./web-settings-tools.js";
86
103
  import { type Delegation, type TrafficItem } from "./fleet-traffic.js";
104
+ import { type WebUpdateHost } from "./web-update.js";
87
105
  import { WebBackendLogins, type SignInTarget } from "./web-backend-login.js";
88
106
  import { BrowserBackendSignIns } from "./browser-backend-signins.js";
89
107
  import { type RawConfigPatch } from "./settings-api.js";
@@ -98,12 +116,14 @@ import { WakeCoordinator } from "./wake-coordinator.js";
98
116
  import { TargetQueueWorker } from "./target-queue-worker.js";
99
117
  import { resolveDeliveryWorkerMode } from "./types.js";
100
118
  import { type WebNeedsItem } from "./needs-you-hub.js";
119
+ import { type SetResult as KeepAliveSetResult } from "./signin-keepalive.js";
101
120
  import { type OrgChart } from "./web-org.js";
102
121
  import { type MemoryHog } from "./memory-hogs.js";
103
122
  import { type CacheReport } from "./cache-service.js";
104
123
  import { type WebCommandResult } from "./web-commands.js";
105
- import { type SessionRecord } from "./web-session.js";
124
+ import { type SessionRecord, type WebDeviceRow } from "./web-session.js";
106
125
  import { WebNotices } from "./web-notices.js";
126
+ import { WebRemoteAccess } from "./web-remote-access.js";
107
127
  import { VERIFIED_SESSION_HOURS, type HumanAuthority, type WebAuthorityRefusal, type WebAuthorityResult, type WebPeer } from "./authority/web-authority.js";
108
128
  import { type AuthorityState } from "./authority/authority-state.js";
109
129
  import { type SessionAuthorization } from "./authority/session-authorizations.js";
@@ -114,6 +134,12 @@ import { type ConnectionMetadata, type ConnectionBinding, type BindingProbe, typ
114
134
  import { type ProviderSecretStatus } from "./provider-secret-registry.js";
115
135
  import { ApplyJobStore, type ApplyJob, type ApplyTargetKind, type SelfRestartResult } from "./apply-job.js";
116
136
  import { type CarryResult } from "./backend/claude-carry.js";
137
+ import { type AccountsView } from "./accounts-view.js";
138
+ import { type AddResult, type RemoveResult } from "./accounts-profiles.js";
139
+ import { type SignOutResult } from "./accounts-signout.js";
140
+ import { MachineAccounts, type MachineActor, type MachineAccountResult } from "./machine-accounts.js";
141
+ import { MachineSignIns } from "./machine-signins.js";
142
+ import { ProfileSignIns } from "./profile-signins.js";
117
143
  import { StormWindow } from "./storm-window.js";
118
144
  import { SpawnGate } from "./spawn-gate.js";
119
145
  import { BackendOutageTracker } from "./backend-outage.js";
@@ -201,8 +227,18 @@ export interface ModelCatalog {
201
227
  note?: string;
202
228
  }
203
229
  export interface DeliveryOptions {
230
+ /**
231
+ * A Windows instance only: the sender's authority after the handoff (see NativeRuntimeDeliveryOptions.authorityCurrent).
232
+ * stillCurrent fences the handoff itself; this one is rechecked before the Windows process starts.
233
+ */
234
+ authorityCurrent?: () => boolean;
204
235
  /** Explicitly identify agent-to-agent delivery when metadata is unavailable. */
205
236
  isCrossInstance?: boolean;
237
+ /**
238
+ * The Hub representative's last step (docs/design/hub-representative-agent.md): run after any wake, the idle wait and
239
+ * the storm recheck, immediately before the IPC hand-off. False drops the delivery unsent. Not for Windows agents.
240
+ */
241
+ beforeInput?: () => Promise<boolean>;
206
242
  /** Force or bypass the idle gate. Schedules set this explicitly. */
207
243
  waitForIdle?: boolean;
208
244
  /** Test/operational override; normal deliveries use the 60 second backstop. */
@@ -285,6 +321,7 @@ export declare class RestartSupersededError extends Error {
285
321
  }
286
322
  export declare class FleetManager implements FleetContext, LifecycleContext, ArchiverContext, StatuslineWatcherContext, OutboundContext, AgentEndpointContext {
287
323
  dataDir: string;
324
+ private decisionSnapshot;
288
325
  private static signalTarget;
289
326
  private static sighupHandlerInstalled;
290
327
  /** Test seam: inject a spy to verify saveFleetConfig calls fsync. Default: fsyncSync. */
@@ -324,7 +361,243 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
324
361
  /** Live view of lifecycle.daemons — used throughout; not deprecated. */
325
362
  get daemons(): Map<string, Daemon>;
326
363
  fleetConfig: FleetConfig | null;
364
+ private fleetWindowsRuntime;
365
+ private nativeMcpStore;
366
+ private paneManager;
367
+ private localPaneRelay;
368
+ private openingLocalPane;
369
+ private runtimeHub;
370
+ private runtimeInstall;
371
+ /** One service for the public installer routes and the administrator API: the hash the dashboard shows is the hash of what is sent. */
372
+ runtimeInstaller(): RuntimeInstallService;
373
+ private runtimeExecutor;
374
+ private runtimeStatusScheduled;
375
+ private readonly reconciledRemoteResults;
376
+ /** Machine credentials are separate from dashboard sessions and per-turn agent capabilities. */
377
+ runtimeCoordinator(): RuntimeCoordinator;
378
+ private runtimeWindowsExecutor;
379
+ /** Per-turn capabilities for native MCP, separate from browser and Linux-agent credentials. */
380
+ nativeMcpSessions(): NativeMcpSessions;
381
+ /** Retire only existing native capabilities; ordinary lifecycle changes do not instantiate the Windows path. */
382
+ invalidateNativeMcp(name: string): void;
383
+ /** The same instance registry and delivery entry point, with a native Windows execution adapter. */
384
+ nativeInstanceRuntime(): FleetWindowsRuntime;
385
+ private agentRuntimeChangeService?;
386
+ agentRuntimeChanges(): AgentRuntimeChanges;
387
+ /** Explicit dashboard opt-in, with the same General confirmation and ordinary topic/Daemon routing. */
388
+ createNativePaneInstance(profile: Record<string, unknown>, channelId: string | undefined, authorized: () => boolean, execution: SettingsExecution): Promise<{
389
+ name: string;
390
+ runtime: "windows";
391
+ agent: import("./windows-agents.js").WindowsAgent;
392
+ }>;
393
+ /** Admin-only settings path: validate first, then close the exact old launch before changing cold fields. */
394
+ updateNativePaneConfig(name: string, patch: Partial<NativeRuntimePatch>, authorized: () => boolean, transaction?: Pick<SettingsExecution, "mutate" | "complete">): Promise<ReturnType<FleetWindowsRuntime["update"]>>;
395
+ /** The local machine's inventory as last used to open its pane relay (status only; never a launch decision). */
396
+ private localPaneInventory;
397
+ private nativeCliStatus;
398
+ private localNativePaneEndpoint;
399
+ /** Persistent ownership is independent of the exec worker's per-turn capabilities. */
400
+ private nativePanes;
401
+ /** Prepare only bundled role files; this neither switches General nor starts a provider process. */
402
+ prepareWindowsGeneralWorkspace(name: string, machineId: string, cli: "codex" | "claude-code", bindingId: string, authorized: () => boolean): Promise<import("./runtime-general-protocol.js").GeneralWorkspaceReceipt>;
403
+ /** S3c (S-55): the member's exposure API, attached by S5's member composition (null: no Hub member here). */
404
+ private hubMemberExposureApi;
405
+ hubMemberExposures(): import("./hub/member/exposure-api.js").HubMemberExposureApi | null;
406
+ attachHubMemberExposures(api: import("./hub/member/exposure-api.js").HubMemberExposureApi | null): void;
407
+ /** M-2687: local host-session setup; controller creation stays lazy while the Hub is off. */
408
+ private hubSetupController;
409
+ private hubSetupInit;
410
+ private hubDirectoryControl;
411
+ private hubDirectoryInit;
412
+ private hubDirectoryCurrent;
413
+ /** Both private listeners share this controller and the already-created sealed writer; callers prove authority first. */
414
+ hubDirectorySettings(): Promise<import("./hub/settings-directory-control.js").HubDirectorySettingsControl>;
415
+ hubSetupSession(req: IncomingMessage): import("./hub/init/types.js").HubInitHostOwner | null;
416
+ hubSetup(): Promise<import("./hub/init/web.js").HubWebInitializer>;
417
+ /** Existing-state host notices also work while the Hub listener is held. No runtime/initializer is started here. */
418
+ hubDirectoryNotices(): Promise<import("./hub/settings-directory-host-notices.js").HubDirectoryHostNotices>;
419
+ /** The member's company sign-in controller; separate from host-owned Hub initialization. */
420
+ private companyJoinController;
421
+ private companyJoinInit;
422
+ private companyObservedMembership;
423
+ private companyMembershipWrite;
424
+ hubCompanySession(req: IncomingMessage): import("./hub/join/local-journal.js").JoinLocalSession | null;
425
+ hubCompanyJoin(): Promise<import("./hub/join/local.js").CompanyJoinController>;
426
+ invalidateHubCompanyJoin(): void;
427
+ private hubMemberPairingApi;
428
+ private hubPairingNotices;
429
+ hubMemberPairing(): ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null;
430
+ attachHubMemberPairing(api: ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null): void;
431
+ private readonly generalLocationFlights;
432
+ private readonly generalAttentionEpisodes;
433
+ private generalBindings;
434
+ generalLocations(): unknown;
435
+ /** Pure preflight for the confirmation diff and stale-tab refusal; never prepares files or starts a CLI. */
436
+ previewGeneralLocation(raw: unknown): {
437
+ input: GeneralSwitchInput;
438
+ summary: string[];
439
+ connections: string[];
440
+ };
441
+ /** All entry points, including automatic native recovery, must respect an interrupted binding switch. */
442
+ assertGeneralBindingStart(name: string, config: InstanceConfig): void;
443
+ /** Only the Settings replay's confirmed admin can enter; the whole switch owns one lifecycle transition. */
444
+ switchGeneralLocation(raw: unknown, authorized: () => boolean, execution: SettingsExecution): Promise<{
445
+ started: boolean;
446
+ message: string;
447
+ }>;
448
+ /** An offline PC or a confirmed binding boundary holds old waiting input; it never becomes another conversation's queue. */
449
+ private holdGeneralOldDeliveries;
450
+ generalLocationDeliveryHold(name: string): string | null;
451
+ private generalLocationAttention;
452
+ nativePaneFor(name: string, config: InstanceConfig, assertCurrent: () => void): Promise<import("./native-pane-lifecycle.js").NativePaneLifecycle>;
453
+ recoverNativePane(name: string, launchId: string, authorized: () => boolean): Promise<void>;
454
+ holdNativePaneRecovery(name: string, error: unknown): boolean;
455
+ startFreshNativePane(name: string, launchId: string, sessionId: string | null, authorized: () => boolean): Promise<void>;
456
+ nativePanePinnedSession(name: string): string | null;
457
+ onNativePaneRecoverySettled(name: string): void;
458
+ setNativePanePaused(name: string, paused: boolean): void;
459
+ closeRetainedNativePane(name: string): Promise<void>;
460
+ reconcileNativePaneBeforeStart(name: string, daemon: Daemon): Promise<boolean>;
461
+ /** M-2255: the Windows runtimes' switches the fleet's own state reflects (null until the start-up has applied them). */
462
+ private runtimeEffects;
463
+ private runtimeEffectsScheduled;
464
+ private localPaneDrain;
465
+ private remotePaneDrain;
466
+ /** Revoke admissions synchronously; keep the captured transport only long enough for exact owned closes. */
467
+ private drainNativeRuntime;
468
+ /**
469
+ * M-2255: Settings → Runtime's switches (fleet.yaml `runtimes`, or their environment override) in force — set each time
470
+ * the configuration in force changes (a load, a save, a reload's rollback), next to the web authority's. Every gate reads
471
+ * them at once; what the fleet itself holds (paired computers' connections, this PC's Windows process, agents' tool
472
+ * sessions) follows just after, outside the save that changed them (applyRuntimeSwitches): no restart is needed.
473
+ */
474
+ /** S-51: the Hub switches follow the configuration in force (load, save, reload rollback), like the runtime ones. */
475
+ private observeHubSwitches;
476
+ /** Reads the raw configuration at run time (the newest wins); off and never started: returns before any import. */
477
+ private applyHubSwitches;
478
+ /** M-2682: the one writer for sealed Hub settings, created with the Hub runtime. */
479
+ private hubSettingsWriter;
480
+ /** Single flight: one import, one runtime, assigned once; every caller (and Stop) gets that same runtime. */
481
+ private hubRuntimeCreated;
482
+ /**
483
+ * S-51 PR 2b: while the member switch is on, the local owner's "Connect to a Hub" backend (S3c's pairing API) is
484
+ * attached, paired or not; switched off, it is detached. A binding change re-composes the member side.
485
+ */
486
+ private observeHubMemberPairing;
487
+ /**
488
+ * Disconnect: every published exposure is withdrawn and saved before the disconnect reports success. Through the
489
+ * running member's API, or — held or not composed — directly in the member's own store; a failure here makes the
490
+ * disconnect report "unsaved" (S3c), so consent never outlives the disconnect.
491
+ */
492
+ private hubMemberWithdrawAll;
493
+ /**
494
+ * The Hub exposure picker's agents (docs/design/hub-representative-agent.md): every configured instance normal
495
+ * delivery addresses, General included, shown by its display name. The dedicated Hub daemon is not a fleet instance.
496
+ */
497
+ private hubMemberAgents;
498
+ /** Same cached usage source as the owner's rail, scoped to the representative's CLI and credential profile. */
499
+ private hubAgentQuota;
500
+ /**
501
+ * A published representative's lifecycle token (#3145, #3147 review): a DURABLE incarnation id per agent name, rotated
502
+ * whenever its backend, folder or runtime changes and dropped when the instance is removed. A replacement (remove and
503
+ * re-add, even with the same name and config, across restarts) or any retarget — including A→B→A — gets a new id, so
504
+ * earlier consent never matches again without an explicit republish. Stopping or pausing changes nothing.
505
+ */
506
+ private hubAgentToken;
507
+ private hubIncarnationsPath;
508
+ /**
509
+ * M-2451 (#3147 residual): written beside hub-member/, in the data directory itself, when an invalidation could not be
510
+ * made durable in hub-member/. A later process that finds it invalidates every incarnation before handing out any
511
+ * token, so a restart never revives consent the earlier process had to withdraw (A→B→A, or a removal, while hub-member/
512
+ * was unwritable).
513
+ */
514
+ private hubIncarnationsMarkerPath;
515
+ /** Whether this process has settled the incarnations on disk (the marker handled, the file proven writable). */
516
+ private hubIncarnationsSettled;
517
+ /**
518
+ * Once per process, before the first token: an invalidation an earlier process could not persist (the marker) clears
519
+ * every incarnation; and an existing file must be rewritable here, else this process is broken (no token at all) —
520
+ * an incarnation this process could not rotate must never be handed out. Fails closed: any doubt marks it broken.
521
+ */
522
+ private settleHubIncarnations; /**
523
+ * #3147 r2: set when an invalidation could not be made durable in any way (neither the atomic write nor removing the
524
+ * file worked). From then on this process hands out no representative token at all, and the transitions the fleet
525
+ * controls (a config save, a removal) are refused instead of applied.
526
+ */
527
+ private hubIncarnationsBroken;
528
+ private readHubIncarnations;
529
+ /**
530
+ * Persist the incarnation map: "written", or — when the atomic write fails — "cleared": the whole file is removed, which
531
+ * durably invalidates EVERY earlier incarnation (all consent then needs a republish; never a revival). Throws (and
532
+ * marks the process broken) only when neither is possible.
533
+ */
534
+ private writeHubIncarnations;
535
+ /** The agent's durable incarnation id (create: make one if none; else null). A changed fingerprint rotates it. */
536
+ private hubAgentIncarnation;
537
+ /**
538
+ * Every configuration in force: rotate a recorded agent's incarnation when its backend/folder/runtime changed; drop
539
+ * removed ones. strict (a config save the fleet is about to write): a failure to make that durable throws, so the save
540
+ * is refused instead of applied. Otherwise (a load or reload of a hand-edited file) a failure is logged — the
541
+ * invalidation then is the cleared file, or, if nothing could be written, this process hands out no token at all.
542
+ */
543
+ private observeHubAgentIncarnations;
544
+ /** A removed instance's incarnation goes with it (a later instance of the same name is a new one). strict: throw if not durable. */
545
+ private forgetHubAgentIncarnation;
546
+ /**
547
+ * A Hub question to its representative agent: ordinary cross-instance delivery (idle gate, wake, retries), from the
548
+ * reserved Hub sender with the Hub-issued correlation id. beforeInput runs immediately before the IPC hand-off.
549
+ */
550
+ private deliverHubQuestion;
551
+ /** S-51: why the Hub (or this fleet's Hub membership) is not running, if it is held. Empty while off or running. */
552
+ getHubHolds(): readonly import("./hub/runtime.js").HubHold[];
553
+ hubBrowserCertificate(): import("./hub/browser-certificate.js").HubBrowserCertificateControl | null;
554
+ hubRetention(): import("./hub/retention.js").HubRetentionControl | null;
555
+ /** M-2682: an unfinished sealed-settings commit; Hub setting saves wait until recover() has run. */
556
+ hubSettingsBusy(): boolean;
557
+ /** #3298 S-89: this fleet's own Hub offers group permissions (the page mark that shows Settings → Hub's Group permissions row). */
558
+ hubGroupPermissions(): boolean;
559
+ private observeRuntimeSwitches;
560
+ /**
561
+ * Turned off: what it allowed ends now — the paired computers' connections (their agents show as offline) or this PC's
562
+ * Windows process (a turn in progress is cancelled, as when the fleet stops), and those agents' tool sessions.
563
+ * Turned on: the Windows agents are registered and their chat history read, as at start-up.
564
+ */
565
+ private applyRuntimeSwitches;
566
+ /** An unavailable opt-in runtime must not prevent the Linux fleet from starting or restoring its own history. */
567
+ private initializeNativeInstances;
568
+ /** Native CLIs are headless: the manager owns the durable delivery generation instead of a tmux daemon. */
569
+ private deliveryBootId;
327
570
  private rawFleetConfig;
571
+ /**
572
+ * S-51 (#3095, experimental, off by default): the Hub runtime. src/hub/runtime.js is imported only once a Hub switch
573
+ * (hub.enabled / hub_member.enabled) is on; while both are off nothing Hub-related loads, opens or listens.
574
+ */
575
+ private hubRuntime;
576
+ /** S3c's currentBinding reader, loaded with the pairing API (only while the member switch is on). */
577
+ private hubMemberBinding;
578
+ /** The member link as the "Connect to a Hub" view shows it (S5's client lifecycle). */
579
+ private hubMemberLink;
580
+ /** OutboundContext: the Hub representative's answer hook (null: no member service running, or not a Hub answer). */
581
+ hubReport(input: {
582
+ correlationId: string;
583
+ caller: string;
584
+ text: string;
585
+ callerCurrent(): boolean;
586
+ extras?: import("./hub-report-target.js").HubReportExtras;
587
+ }): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
588
+ /** The member side's pane-failure hook for a Hub-issued correlation id (else null). */
589
+ private hubDeliveryFailed;
590
+ /** The member side's report_result hook for HUB_REPORT_TARGET while a representative service runs (else null). */
591
+ private hubReports;
592
+ /** The one in-flight creation (single flight): overlapping first observations share it, Stop waits for it. */
593
+ private hubRuntimeInit;
594
+ private hubEffectsReady;
595
+ private hubEffectsScheduled;
596
+ private hubHolds;
597
+ /** M-2457 §6 rule 2: the fleet is held — an old tmux server is still on the socket and AgEnD can't prove it its own. */
598
+ private tmuxHold;
599
+ /** M-2457 §6 rule 3: instances held by an old 2.3 window AgEnD could not prove its own. */
600
+ private readonly legacyWindowHolds;
328
601
  private rawFleetDocument;
329
602
  /** #2208: the paths a saveFleetConfig() wrote, for its check that nothing else changed. */
330
603
  private fleetDocumentWrites;
@@ -340,7 +613,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
340
613
  get primaryWorld(): AdapterWorld | undefined;
341
614
  readonly routing: RoutingEngine;
342
615
  get routingTable(): Map<string, RouteTarget>;
343
- instanceIpcClients: Map<string, IpcClient>;
616
+ instanceIpcClients: Map<string, InstanceClient>;
344
617
  scheduler: Scheduler | null;
345
618
  private configPath;
346
619
  /** SIGHUPs received before startAll finishes are replayed once startup is safe. */
@@ -478,6 +751,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
478
751
  private kiroMigrationRuns;
479
752
  /** #1386 "Needs you": the list, its live chat messages and Acknowledge. Started with the fleet (finishStartup). */
480
753
  private needsYou;
754
+ /** #3292: "Keep sign-in alive" (signin-keepalive.ts); built at startup, stopped at shutdown. */
755
+ private signInKeepAlive;
756
+ private hubExecutionAttention;
757
+ private missedOfflineStore;
481
758
  private configHistory;
482
759
  private configHistoryTimer;
483
760
  private loadedFleetSource;
@@ -516,6 +793,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
516
793
  private startupDashboard;
517
794
  private adapterState;
518
795
  private adapterRetryInFlight;
796
+ /** #3365 review P2: connections whose adapter could not be confirmed stopped — none is admitted for them until a restart. */
797
+ private adapterTeardownUnknown;
519
798
  /** Web Settings secret rotation is deliberately separate from reconnect
520
799
  * recovery: a rotation must build a fresh provider client with the new token,
521
800
  * and stale callbacks from the old client must not win. */
@@ -563,6 +842,18 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
563
842
  private previewInputs;
564
843
  private healthPortRetried;
565
844
  private updateCheckTimer;
845
+ /** M-2738: the last update check's answer, for the web (null until the first check settles). */
846
+ private updateCheckState;
847
+ /** M-2738: a web "check now" in flight, and when the last one ran (one a minute at most). */
848
+ private updateCheckNow;
849
+ /** M-2738: a web start's Idempotency-Key → its answer (a retried request never starts a second update). */
850
+ private webUpdateStarts;
851
+ /**
852
+ * M-2738 (Prism #3505 P2-2): this fleet's own claim on a web-started update, from admission until its updater exits
853
+ * (or was never launched). The progress marker expires after 15 minutes so a crashed update cannot silence incident
854
+ * reports; that expiry never proves the update ended, so it never admits a second one while this is held.
855
+ */
856
+ private webUpdateOwned;
566
857
  private updateProgressTimer;
567
858
  private updateProgressEditRunning;
568
859
  private lastUpdateProgressText;
@@ -705,6 +996,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
705
996
  /** #2855: a trusted guest's searches, per account. */
706
997
  readonly guestSearches: OfficeWriteLimiter;
707
998
  private officeSharesInstance?;
999
+ /** #2861: when each instance was last talked to and answered (no words), for share links' dialogue box. */
1000
+ readonly officeTalk: OfficeTalk;
708
1001
  /**
709
1002
  * #2636: Office share links — the live Office view for people outside the fleet, read-only, on a quick tunnel of
710
1003
  * their own (a manager and lease of its own: never the fleet's one tunnel lane nor the public link's preview tunnel).
@@ -783,6 +1076,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
783
1076
  * authorizing revoked links and cookies until the fleet restarted.
784
1077
  */
785
1078
  private settingsGeneration;
1079
+ /** #2942: the settings baseline the agent-requested Windows changes are checked against (set with the gate). */
1080
+ private settingsBaselineReader;
786
1081
  private settingsRuntimeRevision;
787
1082
  private settingsConfirmation;
788
1083
  private settingsControl;
@@ -807,7 +1102,127 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
807
1102
  * still hears it: a notice, not a step.
808
1103
  */
809
1104
  private settingsSelfConfirmation;
810
- /** #2170: the Generals a chat card could be posted in (promptSettingsChange's rule): connected, on the platform, unaffected. */
1105
+ /**
1106
+ * alpha.6 feedback #2c — the user's decision hmsg-468cc290 (option A; decisions 28c2d3a3/0471da59 keep the second factor): on a
1107
+ * web-only fleet, a pending change can be confirmed on THIS computer's own page with the owner's authenticator code, by a
1108
+ * local admin session that is not the host operator (who already has "Apply now"), on this computer or the LAN. Never over
1109
+ * a link (named or quick), never a guest; only a change that can be self-confirmed at all (a named-link opener cannot); the code is checked by
1110
+ * the same store as signing in from outside (#3008): each time step once, the fleet-wide wrong-code limit. Asked again at
1111
+ * execution (`current`): the same session, still an admin here (this computer or the LAN), the fleet still web-only, the
1112
+ * same app still set up (not replaced, nor removed and set up again). Audited by the store under its own label; a correct and a refused use are logged.
1113
+ */
1114
+ private settingsTotpSession;
1115
+ settingsTotpState(store: SettingsConfirmationStore, req: IncomingMessage, id: string): "ready" | "not_set_up" | "on_host" | "host_browser" | null;
1116
+ settingsTotpConfirm(store: SettingsConfirmationStore, req: IncomingMessage, id: string, code: string, digest: string): {
1117
+ label: string;
1118
+ current(): boolean;
1119
+ audit?: Record<string, unknown>;
1120
+ done?(view: SettingsPendingView): void;
1121
+ } | {
1122
+ error: "wrong" | "paused" | "unavailable" | "not_here" | "changed";
1123
+ retryAfterMs?: number;
1124
+ };
1125
+ /**
1126
+ * alpha.2 (M-2300; #2973's agent requests, junsion's §6): on a fleet with no chat connection there is no General to
1127
+ * post an agent's Windows request in — it waited for `agend settings confirm` on the host. Its owner (decision
1128
+ * 28c2d3a3: the `agend web --code` session on this computer, web-verified) now sees and decides it from the web's
1129
+ * Needs you. The authority is asked from the request each time, and again at execution by the store (`current`):
1130
+ * still that owner now (this computer, not revoked, signed out or run out), still a fleet with no chat connection,
1131
+ * never over the public link. Anyone else — a guest, a LAN or public-link session, a chat-connected fleet's admin —
1132
+ * gets nothing (a chat fleet keeps General's card as its way).
1133
+ */
1134
+ /**
1135
+ * #2997 review (Prism P2): how many times an agent's request came or was decided — in a web-only fleet's status frame,
1136
+ * so a page that never hears the stream's ping (one polling /ui/poll, one reconnecting, a tab from before the upgrade)
1137
+ * reads the list again when it moves. A count, nothing more.
1138
+ */
1139
+ private agentProposalsRev;
1140
+ private agentProposalOwner;
1141
+ /**
1142
+ * Refs #3061 (P2a): the new-device approval's one authority — the same one that decides an agent's request: this web-only
1143
+ * fleet's owner, asked of the LIVE session each time (a sign-out, an expiry, a revocation, the authority switch or
1144
+ * "Only this computer can authorize" turning a session into a non-owner is seen at once). A LAN session that signed in
1145
+ * with a one-time code, a session a device approval made, a guest, a chat fleet's admin and the CLI's header token are
1146
+ * none of them this: they are told so, and learn nothing about any request.
1147
+ */
1148
+ private deviceApprovalOwner;
1149
+ /**
1150
+ * Refs #3061 (auth-api): device-code sign-in is offered — a web-only fleet with web authorization on. With
1151
+ * `web.verified_authority.enabled: false` no one is an owner (liveOwner → null), so no one could approve: the three
1152
+ * `/auth/device-login*` routes answer 404 and the sign-in page shows no button. "Only this computer can authorize"
1153
+ * does not close it: this computer's own session can still approve.
1154
+ */
1155
+ deviceLoginAvailable(): boolean;
1156
+ /** Refs #3061 (P2b): `web.login_qr` (default off), read per page served — the sign-in page then draws the approve link's QR code. */
1157
+ loginQrEnabled(): boolean;
1158
+ /**
1159
+ * GET /ui/devices: is this a web-only fleet, may THIS session approve a new device and end another (is it the verified
1160
+ * owner), and — to an admin session, never to a guest or the CLI's header token — the signed-in devices (Refs #3061, P2b).
1161
+ * `authority`: web authorization is on. With it off nobody is an owner (liveOwner → null), so nobody may add a device or
1162
+ * sign another out; the page says why and points to `agend web-token rotate` on this computer instead of "use the AgEnD
1163
+ * computer", which would not help.
1164
+ */
1165
+ webDevicesStatus(req: IncomingMessage): {
1166
+ webOnly: boolean;
1167
+ owner: boolean;
1168
+ authority: boolean;
1169
+ devices: WebDeviceRow[];
1170
+ };
1171
+ /**
1172
+ * Refs #3061 (P2b): the device list — this fleet's admin sessions, newest activity first (a guest's sessions are the
1173
+ * Guests page's, and a read-only tier has none): how each was approved, whether it carries owner authority, and which
1174
+ * one is the reader's own. The same people may read this as may read `GET /auth/sessions` (any admin session).
1175
+ *
1176
+ * `ownerVerified` is the §3 verdict for the session as it would be used from where it signs in (a host session from
1177
+ * this computer, a session from outside over the link): one that signed in with a one-time code or a device approval is
1178
+ * not an owner until the authenticator vouches for it. Display only — the checks that act on it run again at each use.
1179
+ */
1180
+ private webDeviceRows;
1181
+ /**
1182
+ * Refs #3061 (P2b): may this request's session end ANOTHER session — one signed in elsewhere, or all of them (auth-api
1183
+ * `DELETE /auth/sessions…`, which an admin session could always do). On a web-only fleet that is the verified owner's:
1184
+ * a session a code or a device approval made is signed in but not an owner, and could otherwise sign out the owner's
1185
+ * own. A fleet with a chat connection is as it was (its admins are the chat's). Ending one's OWN session is never this.
1186
+ */
1187
+ mayEndOtherSessions(req: IncomingMessage): boolean;
1188
+ /**
1189
+ * Refs #3061 (P2b): POST /ui/devices/signout {handle} — the owner ends another signed-in device (the settings list's
1190
+ * button). Only the verified owner, asked of the LIVE session each time (a non-owner learns nothing about any handle:
1191
+ * 403 before anything is looked up); only an admin session of this fleet (a guest's is the Guests page's; an unknown
1192
+ * handle and a guest's are the same 404); never the owner's own session here (Sign out is /auth/logout). The device's
1193
+ * authorization goes with it, so a copy of its cookie is nobody's.
1194
+ */
1195
+ webDeviceSignOut(req: IncomingMessage, handle: string): {
1196
+ status: number;
1197
+ body: Record<string, unknown>;
1198
+ };
1199
+ /**
1200
+ * Refs #3061 (P2a): look a new device's code up (for the confirm screen), approve it, or deny it — the verified owner's,
1201
+ * on a web-only fleet. The answer is the request as it now stands. Approving only marks the request approved: the new
1202
+ * browser makes its own session when it next asks (auth-api POST /auth/device-login/poll), so no credential passes from
1203
+ * here to there — not in the answer, not through the fleet. A wrong code counts against one fleet-wide breaker; while
1204
+ * it is open every code (a right one too) waits.
1205
+ */
1206
+ webDeviceLoginAct(req: IncomingMessage, op: "lookup" | "approve" | "deny", code: string): {
1207
+ status: number;
1208
+ body: Record<string, unknown>;
1209
+ };
1210
+ /** alpha.2: the agents' requests waiting for this web-only fleet's owner, or null when the reader is not that owner. */
1211
+ webAgentProposals(req: IncomingMessage): SettingsPendingView[] | null;
1212
+ /**
1213
+ * alpha.2: the owner's Approve or Reject of an agent's request. The store claims it before its first await (a second
1214
+ * click, from here or the host, finds it no longer pending) and asks the owner, the request (its fleet generation and
1215
+ * Windows switch) and the target machine again before and while it runs the same creation code the web uses. The
1216
+ * answer is always the request as it now stands: applied (with the new agent's name), rejected, expired, stale or
1217
+ * failed (with its reason), or already decided.
1218
+ */
1219
+ webDecideAgentProposal(req: IncomingMessage, id: string, decision: "confirm" | "reject"): Promise<{
1220
+ status: number;
1221
+ body: Record<string, unknown>;
1222
+ }>;
1223
+ /** A confirmation belongs to the server route/lifetime, not the availability of General's model. */
1224
+ private settingsGeneralRoute;
1225
+ /** Connected, same-platform, unaffected server routes can post cards even while the model is offline. */
811
1226
  private settingsNoticeGenerals;
812
1227
  /**
813
1228
  * #2170: General's notice of a change confirmed from the web — the first General a chat card could have been posted
@@ -816,7 +1231,29 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
816
1231
  private settingsWebConfirmedNotice;
817
1232
  /** Exact configured effect owners; this does not depend on prompt location. */
818
1233
  private settingsChatAuthority;
1234
+ /**
1235
+ * #2942: a Windows create or settings change an AGENT asked for. Nothing is created or written here: it becomes a
1236
+ * pending settings change whose General card a fleet admin must confirm (promptSettingsChange — the same admin rule
1237
+ * as every card). Its apply runs the same creation/patch code the web uses, inside the store's SettingsExecution, with
1238
+ * the confirming admin, the Windows switch and the target machine asked again at that moment.
1239
+ */
1240
+ private proposeAgentWindowsChange;
1241
+ /** #2942: create_instance with runtime "windows" from an agent: validated like the web, then held for General. */
1242
+ requestWindowsCreate(requester: string, rawArgs: Record<string, unknown>): Promise<SettingsPendingView>;
1243
+ /** #2942: update_instance_config on a Windows agent: only the fields the web editor allows, held for General. */
1244
+ requestWindowsConfig(requester: string, name: string, patch: Record<string, unknown>): Promise<SettingsPendingView>;
1245
+ /**
1246
+ * D3: whether a General could take this change's confirmation card now — the same authority and routes
1247
+ * promptSettingsChange posts by. False: it would wait for the host's command (confirmation kind host_cli).
1248
+ */
1249
+ private settingsCardPossible;
819
1250
  private promptSettingsChange;
1251
+ /**
1252
+ * alpha.6 feedback #2c: why no General could take a change's confirm card, so the page says what is missing in plain words
1253
+ * (the user's decision hmsg-77256f66: never "type a host command"). `platform` null: the authority is unknown or spans
1254
+ * platforms. `attempted`: a General route existed and posting to it failed.
1255
+ */
1256
+ private settingsNoCardReason;
820
1257
  private kiroMigrateDeps;
821
1258
  /**
822
1259
  * #2598 B2, migrate_kiro_instance: judge the move, then ask in General for a fleet admin's Confirm. Nothing changes
@@ -851,6 +1288,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
851
1288
  sseHeartbeatMs: number;
852
1289
  /** The dashboard's login codes. Memory only: a code that outlives the process is a code nobody can prove was not copied. */
853
1290
  private webLoginCodes;
1291
+ /** Refs #3061 (P2a): device-code sign-in requests (in memory; web-device-login.ts). Read by auth-api as `webDeviceLogins`. */
1292
+ private webDeviceLogins;
854
1293
  /**
855
1294
  * #1920 step 4: guests' codes, apart from the admins' — one per account, so no guest's `/web` withdraws another's or
856
1295
  * an admin's code (#2093 review), at most 32 at once. Local sign-in only for now (audience "local").
@@ -990,6 +1429,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
990
1429
  private reconcileQueueWorkers;
991
1430
  private createQueueWorker;
992
1431
  private dispatchDurableDelivery;
1432
+ /** The ordinary durable lane, with provider completion proof instead of terminal/IPC submission proof. */
1433
+ private dispatchNativeDurableDelivery;
1434
+ /** A runtime's persisted completion can outlive this manager. Resolve its original delivery fence, never send
1435
+ * the prompt again, and reconstruct a missing peer report using the same durable operation ID. */
1436
+ private reconcileRemoteDelivery;
993
1437
  private waitForDurableLaneRelease;
994
1438
  private spawnConcurrency;
995
1439
  /** #1685: "elevated" or "critical" while host memory pressure slows or holds new agents; otherwise null (an
@@ -1110,6 +1554,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1110
1554
  private tightenInstanceDirectories;
1111
1555
  /** AgEnD package version (for the Settings "current version" / What's New). */
1112
1556
  get currentVersion(): string;
1557
+ get currentBuild(): import("./build-provenance.js").InstalledBuild;
1113
1558
  /**
1114
1559
  * Resolve a slash-command target in a channel. Classic channels are looked up
1115
1560
  * per-bot (same-channel multi-bot); a fleet-topic instance is found via the
@@ -1129,6 +1574,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1129
1574
  /** SIGUSR1: full process reload. Names who asked (#1120). */
1130
1575
  private onFullRestartSignal;
1131
1576
  private handleUpdateSlash;
1577
+ /**
1578
+ * The update itself, for slash `/update` and the web's Update (M-2738): the installed `agend`, verified, launched
1579
+ * independently with its log — or a failure in the progress marker. `stillAllowed` is asked again once the awaits
1580
+ * are done (the asker may have lost the right, or the fleet begun stopping, meanwhile).
1581
+ */
1582
+ private launchInstalledUpdate;
1132
1583
  private handleProfileSlash;
1133
1584
  /** Typed /profile belongs only to Telegram's General dispatcher. */
1134
1585
  runProfileCommand(msg: InboundMessage, seconds?: string): Promise<void>;
@@ -1221,6 +1672,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1221
1672
  /** Board 003648ac: a web /compact followed to its end, from the transcript the Log reads (none: nothing to follow). */
1222
1673
  private compactWatchService;
1223
1674
  private get compactWatch();
1675
+ /**
1676
+ * Claude history in the View: an instance's earlier conversation for its View, from the transcript the Log reads —
1677
+ * the View's route applied its own access rules first (view-api.ts); the Log's switch plays no part.
1678
+ */
1679
+ viewHistory(name: string, q: ViewHistoryQuery): Promise<ViewHistoryAnswer | null>;
1224
1680
  /** #1218: GET /ui/steps — an instance's steps, read on demand (null: no such instance). */
1225
1681
  logSteps(name: string, q: LogQuery): Promise<LogAnswer | null>;
1226
1682
  /**
@@ -1282,6 +1738,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1282
1738
  * retry brings it up, however long the backoff, and fails only once the retries give up.
1283
1739
  */
1284
1740
  private sendWhenConnected;
1741
+ /**
1742
+ * The Hub representative's hand-off (#3145): only once a connected client exists, after every reconnect/order wait,
1743
+ * the begin lease + input intent (beforeInput), then the fence and the LIVE client are checked again and the payload
1744
+ * goes in one attempt. After the intent is spent nothing here retries: false is the caller's uncertain outcome.
1745
+ */
1746
+ private handOffAfterBeforeInput;
1285
1747
  /** Poll for the instance's IPC to come back, then send. Throws if it does not. */
1286
1748
  private sendAfterIpcReturns;
1287
1749
  /**
@@ -1571,6 +2033,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1571
2033
  * Stopped/paused ClassicBot entries count too; their workspace is exactly
1572
2034
  * the one startClassicInstance builds, not this FleetManager's dataDir.
1573
2035
  */
2036
+ /** Take the startup snapshot of every active decision (text cut to 200 characters); see activeDecisions. */
2037
+ snapshotActiveDecisions(): void;
2038
+ /** The startup snapshot of active decisions, for a daemon's Active Decisions (it selects and caps its own). */
2039
+ activeDecisions(): readonly ActiveDecisionRow[];
1574
2040
  kiroPeerWorkingDirectories(name: string): string[];
1575
2041
  /**
1576
2042
  * Probe the same executable set exposed by the web backend catalog.
@@ -1716,6 +2182,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1716
2182
  /** #1742: `/start web` from a fleet admin: the /web menu right here in the DM, for the General this bot serves. */
1717
2183
  private startWebInDm;
1718
2184
  private getPublicWebLink;
2185
+ /** The public link's wiring to this fleet (a test builds one with the tunnel itself stubbed: `ensure`, `provider`). */
2186
+ private publicWebLinkDeps;
1719
2187
  private publicLinkAutoOpen;
1720
2188
  /**
1721
2189
  * #named-link-ttl: the admin who last opened a named-tunnel link from /web, with the live binding — only while they
@@ -2013,6 +2481,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2013
2481
  beginUpdateProgress(adapter: ChannelAdapter, chatId: string, threadId: string | undefined, messageId: string): void;
2014
2482
  /** Persist the public response, wait for idle, then start the canonical service restart. */
2015
2483
  requestFullRestart(adapter: ChannelAdapter, chatId: string, threadId: string | undefined, messageId: string): Promise<boolean>;
2484
+ /**
2485
+ * S-92: the same tracked reload for a web-only fleet's Settings restart — no chat message to carry its progress: the
2486
+ * marker names the web (WEB_RESTART_TARGET), a refusal is a fleet Notice, and the next fleet says it is back as one.
2487
+ */
2488
+ private requestWebFullRestart;
2489
+ /**
2490
+ * S-92: a fleet (with no chat connection) that comes up from a web-only Settings restart says it is back as a fleet
2491
+ * Notice — the restart was announced as one. Anything else (a chat restart, an update, a plain boot): nothing here.
2492
+ */
2493
+ private announceWebRestartDone;
2494
+ private launchTrackedFullRestart;
2016
2495
  private isOwnedFullRestartMarker;
2017
2496
  /** Give current work the same bounded idle grace used by graceful reload. */
2018
2497
  private waitForFullRestartIdleGrace;
@@ -2059,6 +2538,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2059
2538
  * Discord bot and while some account has a running agent, read every 30 min — the same cached read (its 5-minute TTL
2060
2539
  * still bounds the vendor calls), recorded like any other.
2061
2540
  */
2541
+ private quotaNotices;
2542
+ private stopQuotaObserver;
2543
+ private quotaNoticePolicy;
2062
2544
  private startQuotaBackgroundReads;
2063
2545
  /** #3066 §1: the latest estimates, by `provider\0metric` (what usage-api's lookup reads, synchronously). */
2064
2546
  private capacityEstimates;
@@ -2136,8 +2618,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2136
2618
  * that should be running is running
2137
2619
  * - `degraded` — reachable, but something the operator should look at (an
2138
2620
  * adapter retrying, an instance crashed or stopped)
2139
- * - `down` — the fleet cannot do its job: no adapter is connected, so no
2140
- * message can arrive or be answered
2621
+ * - `down` — no configured adapter is connected, or a dedicated Hub's
2622
+ * server mount is unavailable
2141
2623
  *
2142
2624
  * Deliberately does NOT gate the systemd watchdog — see the comment at the
2143
2625
  * WATCHDOG timer for why.
@@ -2168,6 +2650,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2168
2650
  topProcessesAt?: string;
2169
2651
  };
2170
2652
  problems: string[];
2653
+ warnings: string[];
2654
+ /** Local server mount availability; absent when the Hub server switch is off. */
2655
+ hub?: {
2656
+ server: import("./hub/runtime.js").HubServerHealth;
2657
+ };
2171
2658
  };
2172
2659
  /** Start the primary adapter (backward-compatible, sets this.adapter) */
2173
2660
  private startSingleAdapter;
@@ -2307,6 +2794,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2307
2794
  * copies retain their permissive handling when that identity is unknown.
2308
2795
  */
2309
2796
  private isOwnerCommandCopy;
2797
+ /** File a Telegram update that was too old to inject; Needs you lists it until Acknowledge. */
2798
+ private recordMissedOffline;
2310
2799
  /**
2311
2800
  * #1085: coincident topic numbers must not route across Telegram groups.
2312
2801
  */
@@ -2470,6 +2959,33 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2470
2959
  * create paths. An empty or absent value supersedes nothing and needs nothing; anything else must be an id.
2471
2960
  */
2472
2961
  private decisionSupersedes;
2962
+ /**
2963
+ * The scope (and team) a new decision gets. Team membership is read from fleet.yaml now. Omitted scope: the poster's
2964
+ * team when they are in exactly one, project (this exact directory) when they are in none; in several, they choose.
2965
+ * A team decision goes only to a team the poster is in.
2966
+ */
2967
+ decisionScopeFor(instance: string, scope: unknown, team: unknown): {
2968
+ scope: "project" | "team" | "fleet";
2969
+ team?: string;
2970
+ teams: string[];
2971
+ } | {
2972
+ error: string;
2973
+ };
2974
+ /**
2975
+ * #3421 review: a team decision is only for its team's current members — reading it back through an update (even an
2976
+ * empty one) or archiving it is refused to anyone else, exactly as list/get and supersede are. The refusal names it
2977
+ * "not found", as for an id that does not exist, and changes nothing. Project and fleet decisions: as before.
2978
+ */
2979
+ decisionHiddenFrom(instance: string, id: unknown): string | null;
2980
+ /** A ClassicBot agent's own folder — where startClassicInstance launches it, and its project for decisions (#3454). */
2981
+ classicWorkspaceDir(instanceName: string): string;
2982
+ /**
2983
+ * #3454: the project root of an agent calling the agent endpoint (CLI mode), as the MCP path has it from the daemon's
2984
+ * own working directory. A fleet instance: its fleet.yaml working_directory, as before. A ClassicBot agent (not in
2985
+ * fleet.yaml): its own workspace — it used to fall back to "", one project shared by every CLI-mode ClassicBot room.
2986
+ * Anything else: null, and the caller refuses rather than guess.
2987
+ */
2988
+ decisionProjectRootFor(instance: string): string | null;
2473
2989
  handleDecisionCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
2474
2990
  handleTaskCrudHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
2475
2991
  handleSetDisplayNameHttp(instance: string, name: string): Promise<unknown>;
@@ -2518,6 +3034,13 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2518
3034
  * channel, are seen to share it; and every connection's own General is protected, with or without a General agent.
2519
3035
  */
2520
3036
  private topicOwnership;
3037
+ /**
3038
+ * The bot an agent's configured topic is on (#3105 review, Prism P1): a fleet.yaml agent's `channel_id` (else the
3039
+ * primary connection) whatever its runtime — a per-turn Windows agent has no execution adapter
3040
+ * (getInstanceAdapterId), yet its topic is still on that bot, and must be counted as an owner and deleted through it.
3041
+ * Topic planning and ownership only; execution routing is getInstanceAdapterId's and unchanged.
3042
+ */
3043
+ private topicAdapterIdOf;
2521
3044
  /** What deleting `name`'s topic would act on: its own bot only — a bot that is not there is never substituted. */
2522
3045
  private planInstanceTopicDelete;
2523
3046
  getForumTopicDeleter(adapterId?: string): ((topicId: number | string) => Promise<void>) | null;
@@ -2604,6 +3127,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2604
3127
  private writingFleetDocument;
2605
3128
  getSettingsConfigPath(): string;
2606
3129
  removeInstance(name: string, authorization: ExplicitInstanceRemoval, execution?: SettingsExecution): Promise<void>;
3130
+ /** Shared instance metadata goes with a native identity; its Windows workspace and provider sessions stay intact. */
3131
+ private nativeInstanceRemoved;
2607
3132
  private removeInstanceOwned;
2608
3133
  startStatuslineWatcher(name: string): void;
2609
3134
  stopStatuslineWatcher(name: string): void;
@@ -2941,6 +3466,32 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2941
3466
  * should say so rather than send into a guaranteed failure.
2942
3467
  */
2943
3468
  private fleetNoticeTarget;
3469
+ /**
3470
+ * M-2457 §5: one fleet notice, the first time an upgraded home's fleet runs on AgEnD's own tmux. Marked done only once it
3471
+ * was dispatched (General, the channel's notice target, or a web-only fleet's Notices), so a start with nowhere to
3472
+ * post it tries again next start.
3473
+ */
3474
+ /** Set at fleet start (before any agent starts): this home ran agents on an earlier AgEnD's system tmux. */
3475
+ ownTmuxUpgradedHome: boolean;
3476
+ /** An upgraded home: agent state from an earlier start, and no AgEnD tmux server ever recorded (`previous`). */
3477
+ static ownTmuxUpgraded(agendHome: string, previous: unknown): boolean;
3478
+ /** Whether any instance directory holds state from an earlier start (its output log or a session id). */
3479
+ static priorAgentState(instancesDir: string): boolean;
3480
+ /** Where an upgraded home's not-yet-dispatched own-tmux notice is kept across restarts; only a dispatch clears it. */
3481
+ static ownTmuxPendingPath(agendHome: string): string;
3482
+ /**
3483
+ * Fleet start's decision, made before this start records server.json: an upgraded home is persisted as owing the
3484
+ * notice. A restart before the notice is dispatched (a slow first start; alpha.6 leg M on the real Mac) would otherwise
3485
+ * read the just-recorded server as "not an upgrade" and drop it.
3486
+ */
3487
+ static ownTmuxStartDecision(agendHome: string, previous: unknown, logger?: {
3488
+ warn: (o: object, m: string) => void;
3489
+ }): boolean;
3490
+ /** Record that this home owes the own-tmux notice (unless it was already posted). */
3491
+ static persistOwnTmuxPending(agendHome: string, logger?: {
3492
+ warn: (o: object, m: string) => void;
3493
+ }): void;
3494
+ announceOwnTmux(): void;
2944
3495
  /**
2945
3496
  * Post the daily summary where fleet-wide notices go.
2946
3497
  *
@@ -2968,6 +3519,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2968
3519
  * told as a Notice, and push it to the dashboard. False on any other fleet (its chat says it; nothing is kept).
2969
3520
  */
2970
3521
  private recordWebNotice;
3522
+ /** #3373 review P2: recordWebNotice for a notice that must be on disk first — true only once it was written. */
3523
+ private recordWebNoticeDurable;
2971
3524
  private static readonly FLEET_ERROR_THROTTLE_MS;
2972
3525
  private fleetErrorNotices;
2973
3526
  /**
@@ -3051,6 +3604,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3051
3604
  onAttentionChanged(name: string): void;
3052
3605
  /** The list for the web: every world's items, and those of instances with no world (#1386 §5.0). */
3053
3606
  needsYouItems(): WebNeedsItem[];
3607
+ /** Enabled member composition supplies only a local attention reader, never an approval/execution callback. */
3608
+ attachHubExecutionAttention(read: (() => import("./needs-you.js").HubExecutionAttentionInput[]) | null): void;
3054
3609
  /**
3055
3610
  * #1389: the org chart's structure for the web — the instances the dashboard lists (getUiStatus's names), General,
3056
3611
  * fleet.yaml's teams, each instance's description and thread link. Read on demand; the live state rides the stream.
@@ -3267,6 +3822,89 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3267
3822
  * again. A fleet with a chat connection, another session, or another peer: nothing (§3 as before).
3268
3823
  */
3269
3824
  authorizeHostSession(session: SessionRecord, peer: WebPeer): void;
3825
+ private webRemoteAccessState;
3826
+ /** The authenticator, the outside switch and the wrong-code limiter (web-remote-access.json), read on first use. */
3827
+ webRemoteAccess(): WebRemoteAccess | null;
3828
+ /** "Allow connections from outside" is on (an app set up) and this is a web-only fleet. */
3829
+ private outsideOn;
3830
+ /** The link connections from outside opened, while it is open and still theirs: its exposure. Else null. */
3831
+ private outsideLink;
3832
+ /**
3833
+ * The request's live session, asked again each time `current()` is called (its own cookie authenticated anew, the same
3834
+ * handle): this web-only fleet's owner — this computer's admin, on this computer (`hostOnly`), or also signed in from
3835
+ * outside — and web-verified now. Null when it is not (a guest, a LAN session, a chat fleet's admin, nobody).
3836
+ */
3837
+ private liveOwner;
3838
+ /** Every session signed in from outside ends (and the authorizations kept for them). */
3839
+ private endOutsideSessions;
3840
+ /**
3841
+ * #1939 §10 / #3008: a stored receipt's authority as it reads now — the web authority state, and for this computer's
3842
+ * admin from outside the switch and the last revocation of remote authority (Prism P2 2).
3843
+ */
3844
+ receiptAuthorityNow(stored: HumanAuthority, state?: AuthorityState): HumanAuthority;
3845
+ /** #3008 (the sign-in page): this exposure is the outside link, open now. */
3846
+ isOutsideLink(exposureId: string): boolean;
3847
+ /** What Settings shows: set up or not, the switch, a wait in force, the link — its address only to this computer. */
3848
+ webOutsideStatus(req: IncomingMessage): {
3849
+ webOnly: boolean;
3850
+ here: boolean;
3851
+ enrolled: boolean;
3852
+ enrolledAt: number | null;
3853
+ outside: boolean;
3854
+ pausedForMs: number;
3855
+ link: {
3856
+ state: string;
3857
+ url?: string;
3858
+ expiresAt?: number;
3859
+ noExpiry?: true;
3860
+ quick: boolean;
3861
+ } | null;
3862
+ };
3863
+ /** Set up (or set up again): a new secret, shown once to this computer's admin. Null: not them. */
3864
+ webOutsideBeginEnrollment(req: IncomingMessage): {
3865
+ secret: string;
3866
+ uri: string;
3867
+ expiresInMs: number;
3868
+ } | null;
3869
+ /** The new app's first code: on "ok" it replaces the old one, whose sessions from outside end. */
3870
+ webOutsideConfirmEnrollment(req: IncomingMessage, code: string): "ok" | "wrong" | "expired" | "unsaved" | "not_here";
3871
+ /** Forget the app: the switch goes off, the link closes, every session from outside ends. */
3872
+ webOutsideRemove(req: IncomingMessage): "ok" | "unsaved" | "not_here";
3873
+ /** The switch. On: needs an app set up; the link opens. Off: it closes and every session from outside ends. */
3874
+ webOutsideSwitch(req: IncomingMessage, on: boolean): "ok" | "not_enrolled" | "not_here" | "not_allowed" | "unsaved";
3875
+ private outsideAttempt;
3876
+ private outsideOpening;
3877
+ /**
3878
+ * Open the outside link: an attempt after each delay in turn until one opens (#3008 B: twice more at most — the quick
3879
+ * link's address service limits how often it may be asked). Every attempt asks again: the switch still on, the fleet
3880
+ * running. A final failure: one Notice; the switch stays on, so the next start tries again.
3881
+ */
3882
+ private openOutsideLink;
3883
+ private closeOutsideLink;
3884
+ /** PublicWebLink.onClose for the outside link: what closed it decides what happens next (#3008 B). */
3885
+ private outsideLinkClosed;
3886
+ /**
3887
+ * #3008 (auth-api POST /auth/totp): a sign-in through the outside link with the authenticator's code. "ok": the caller
3888
+ * makes the session (SessionRecord.remote) and then calls authorizeOutsideSession. Each wrong code counts; a wait that
3889
+ * starts is a Notice; a code that matches a step just outside the window logs how far this clock seems to be off.
3890
+ */
3891
+ outsideSignIn(exposureId: string | undefined, code: string): {
3892
+ kind: "ok";
3893
+ } | {
3894
+ kind: "wrong";
3895
+ } | {
3896
+ kind: "paused";
3897
+ retryAfterMs: number;
3898
+ } | {
3899
+ kind: "closed";
3900
+ } | {
3901
+ kind: "unavailable";
3902
+ };
3903
+ /**
3904
+ * #3008: a session just made by outsideSignIn's "ok" is this computer's admin for its authorization's life. False: it
3905
+ * could not be admitted (its handle not saved, #3015 review r3) — the caller ends it.
3906
+ */
3907
+ authorizeOutsideSession(session: SessionRecord, peer: WebPeer, label: string): boolean;
3270
3908
  private authorityStateStore;
3271
3909
  /**
3272
3910
  * #1939 §10: the switch, "Only this computer can authorize" and the revocation epoch in force for the configuration as
@@ -3300,6 +3938,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3300
3938
  }>;
3301
3939
  /** #2453 (§0.2): the admin's named-tunnel hostname, while one is configured (the named-link row shows only then). */
3302
3940
  namedHost: string | null;
3941
+ /** A fleet with no chat connection: the page words the card for the authenticator, not for Discord / Telegram. */
3942
+ webOnly: boolean;
3303
3943
  };
3304
3944
  private authorizationRequests;
3305
3945
  /**
@@ -3549,6 +4189,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3549
4189
  */
3550
4190
  /** Configured threshold before elapsed time appears, in ms. */
3551
4191
  progressMinElapsedMs(): number;
4192
+ /** M-2391: when the instance's live (not retiring) bubble started — the current turn's start — or undefined. */
4193
+ private liveButtonStart;
3552
4194
  private startProgressTicker;
3553
4195
  /**
3554
4196
  * After a reply: give the instance REPLY_RETIRE_GRACE_MS to resume working; if
@@ -3622,12 +4264,27 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3622
4264
  */
3623
4265
  private readonly loginWindow;
3624
4266
  private get webLogin();
4267
+ /**
4268
+ * #3190 Part 3c: dashboard sign-ins on a paired computer (machine-signins.ts): #3212's StructuredSignIn over a RuntimeSignInTransport, one computer and one
4269
+ * credential profile at a time. Its own coordinator, not the host's: it never touches the host's sign-in checklist or login window.
4270
+ */
4271
+ private machineSignInsInstance;
4272
+ get machineSignIns(): MachineSignIns;
4273
+ private machineAccountsInstance;
4274
+ /** #3190 Part 3c: a paired computer's accounts in Settings → Accounts (machine-accounts.ts). */
4275
+ get machineAccounts(): MachineAccounts;
3625
4276
  private browserBackendSignInsInstance;
3626
4277
  private structuredLoginCleanupFailed;
3627
4278
  private readonly pendingBackendSince;
3628
4279
  private browserSignInOwnerCurrent;
3629
4280
  /** #2599: default-account controls share the exact writer reservation with chat/profile/install. */
3630
4281
  get browserBackendSignIns(): BrowserBackendSignIns;
4282
+ private profileSignInsInstance;
4283
+ /**
4284
+ * #3212: a NAMED account's sign-in on this host from Settings → Accounts — #2599's StructuredSignIn (press Sign in, open the page, paste the code), pointed at
4285
+ * that profile's own folder (`CLAUDE_CONFIG_DIR`), under the host's login window like every other credential writer. Not the default account's checklist.
4286
+ */
4287
+ get profileSignIns(): ProfileSignIns;
3631
4288
  private needsYouBackendSignIns;
3632
4289
  /** #2233: sign-ins started from the web dashboard (local admin sessions), on the same controller as chat's. */
3633
4290
  private webBackendLoginsInstance;
@@ -3638,6 +4295,131 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3638
4295
  * #2233: Settings → Agents' sign-in list — every backend's default login as the availability snapshot has it, then
3639
4296
  * each credential profile an agent uses (its own login state, read offline).
3640
4297
  */
4298
+ /** Which account each sign-in is, as the host's own `claude auth status` said (masked; see checkAuthIdentity). Keys are `backend\0profile` in a Map: a name is data, never a property. */
4299
+ private readonly signInIdentities;
4300
+ /** Reads in flight, by the same key: a second request for a sign-in that is already being read joins it instead of starting another process. */
4301
+ private readonly signInIdentityReads;
4302
+ /** Raised each time the accounts are forgotten: a read that began before is never allowed to write what it found. */
4303
+ private signInIdentityGeneration;
4304
+ private signInIdentitySlots;
4305
+ private readonly signInIdentityWaiters;
4306
+ private signInIdentity;
4307
+ /** A sign-in finished (or changed): forget what was read and let no read that was already running put its answer back. */
4308
+ private forgetSignInIdentities;
4309
+ /** At most three `claude auth status` at once across the whole host, however many requests ask. */
4310
+ private withSignInIdentitySlot;
4311
+ /** One `claude auth status` for a sign-in (the default one, or a credential profile's folder). */
4312
+ private readSignInIdentity;
4313
+ /**
4314
+ * Start reading, in the background, the account of each Claude Code sign-in that is signed in (the default and every profile an agent uses) and
4315
+ * not read in the last five minutes. It never waits and never blocks a request: the list shows what is already known, and the pages are told to
4316
+ * read it again when something new was learned. A sign-in already being read is not read twice, and a read that began before the accounts were
4317
+ * forgotten (a sign-in finished meanwhile) is dropped. No login, no network request of ours, nothing logged.
4318
+ */
4319
+ refreshSignInIdentities(): void;
4320
+ /**
4321
+ * #3212 PR 1: the Accounts view (accounts-view.ts) — every CLI's default sign-in and named profiles (used or only on
4322
+ * disk), who uses each and its weekly usage. Host rows only; a paired computer's rows come with #3190 Part 3c. Its
4323
+ * usage is the usage panel's cached read (never forced), given at most `usageWaitMs` before the view is sent without it.
4324
+ */
4325
+ accountsView(usageWaitMs?: number): Promise<AccountsView>;
4326
+ /**
4327
+ * A sign-in just finished for this account: look at its Keep sign-in alive setting once now (when it is on), so what the Accounts row says about
4328
+ * "the last check" is not the one from before the sign-in. Never awaited, and never allowed to fail the sign-in's own follow-up.
4329
+ */
4330
+ private keepAliveAfterSignIn;
4331
+ /** #3292: the keep-alive service (built on first use, so the Accounts view can read settings before startup finishes). */
4332
+ private keepAliveService;
4333
+ private startSignInKeepAlive;
4334
+ /**
4335
+ * #3292 review: which sign-in each host agent is starting or running on, recorded at its start (InstanceLifecycle
4336
+ * admitCredentialUse) from the configuration it launched with — never re-resolved against today's defaults. An entry
4337
+ * whose start ended without a daemon, or whose daemon is gone, is dropped when next read.
4338
+ */
4339
+ private readonly credentialLeases;
4340
+ /** #3292 review: Keep sign-in alive runs in flight, by sign-in: a start on that sign-in waits for its end. */
4341
+ private readonly keepAliveRenewing;
4342
+ private credentialKey;
4343
+ /**
4344
+ * The sign-in a start launches on, from the instance's own (defaults-expanded at load) options — exactly what the
4345
+ * Daemon's clone of that config hands its CLI. Never today's defaults: an older config object keeps its own.
4346
+ */
4347
+ private launchCredentialKey;
4348
+ /**
4349
+ * #3313 review r2: failed starts whose CLI was not proven gone keep holding their sign-in (across a retry of the same
4350
+ * agent too) until a check finds it ended.
4351
+ */
4352
+ private readonly credentialOrphans;
4353
+ private orphanCheck;
4354
+ private recheckCredentialOrphans;
4355
+ /**
4356
+ * LifecycleContext: hold the sign-in a start will launch on (waits while Keep sign-in alive renews it). The key is
4357
+ * read again after every wait; `current(config)` lets the start check, with no await before it builds its Daemon,
4358
+ * that the config still names that sign-in (a save may have changed it meanwhile: then it asks again).
4359
+ */
4360
+ admitCredentialUse(name: string, config: InstanceConfig, backend: string, assertCurrent: () => void): Promise<{
4361
+ published(): void;
4362
+ release(): void;
4363
+ current(config: InstanceConfig): boolean;
4364
+ unknownEnd(ended: () => Promise<boolean>): void;
4365
+ } | null>;
4366
+ /**
4367
+ * #3292: a sign-in is in use when a host agent is starting or running on it (as launched), a ClassicBot room is bound
4368
+ * to it (or the rooms cannot be read — none when there is no classicBot.yaml), or a sign-in for it is running. Codex
4369
+ * refresh tokens are single-use: a refresh beside a live user could spend the one it holds; and use keeps it alive.
4370
+ */
4371
+ private keepAliveInUse;
4372
+ /**
4373
+ * #3292 review: one keep-alive run's admission, decided synchronously: not in use, the shared login window taken, and the
4374
+ * sign-in marked as renewing (a start on it waits). The run's life is an account writer: a stop waits for it, and
4375
+ * sign-in admission reopens after a restart only once it has ended. `release()` only after its CLI has exited.
4376
+ */
4377
+ private acquireKeepAliveRun;
4378
+ /** #3292: Needs you's lines for kept sign-ins, in the fleet's language (posted in General's world, like config issues). */
4379
+ private keepAliveAttention;
4380
+ /** #3292: Settings → Accounts → Keep sign-in alive (POST /ui/accounts/keep-alive). `by`: the session's label, for the fleet log. */
4381
+ setAccountKeepAlive(backend: unknown, profile: unknown, enabled: unknown, fallback: unknown, by: string): KeepAliveSetResult;
4382
+ /**
4383
+ * Who uses which account: host agents (an agent on a paired Windows computer runs on that computer's accounts — its
4384
+ * own scope), ClassicBot rooms and the fleet default per CLI, each with its effective profile (null: the default sign-in).
4385
+ */
4386
+ private accountUses;
4387
+ /** #3212 PR 2: Settings → Accounts → + Add account (accounts-profiles.ts). `by`: the session's label, for the fleet log. */
4388
+ addAccountProfile(backend: string, name: unknown, by: string, machine?: MachineActor): AddResult | Promise<MachineAccountResult>;
4389
+ /** 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. */
4390
+ private configuredProfileNames;
4391
+ /**
4392
+ * #3212 PR 2: Settings → Accounts → Remove. Refused while anything uses it or a sign-in for it runs (the login controller,
4393
+ * or the login window held for this backend by a sign-in whose profile is not known yet); see accounts-profiles.ts.
4394
+ * The fleet log records who removed which backend's profile — never what was in it.
4395
+ */
4396
+ removeAccountProfile(backend: string, name: unknown, confirm: unknown, by: string, machine?: MachineActor, opts?: {
4397
+ cancelSignIn?: true;
4398
+ }): Promise<RemoveResult | MachineAccountResult>;
4399
+ /**
4400
+ * Remove's whole safety proof, read now (#3291 review): who uses the account — configured agents and live daemons, the
4401
+ * fleet default, ClassicBot rooms read strictly — and whether a sign-in for it runs. `ownClaim`: the login window this
4402
+ * removal holds itself, which is not someone else's sign-in.
4403
+ */
4404
+ private removalRequest;
4405
+ /**
4406
+ * #3212 PR 3: Settings → Accounts → Sign out (accounts-signout.ts): the CLI's own logout for the default sign-in
4407
+ * (`profile` null) or a named account. Refused while a sign-in for it runs (case-insensitive, as Remove). The fleet
4408
+ * log records who signed out which backend's account; then every page reads the sign-ins again.
4409
+ */
4410
+ /** How a CLI's logout is run and the Keychain asked (a test's stand-in; the platform with it). */
4411
+ accountSignOutDeps: Pick<import("./accounts-signout.js").SignOutDeps, "keychainHas" | "platform" | "run">;
4412
+ /** #3305 review: every account logout's whole life — its CLI children until positively gone (shutdown drains them). */
4413
+ private readonly accountWriters;
4414
+ /**
4415
+ * #3305 review P2-3/P2-5: run `work` as the owner of the credential writer (`claim`). Its CLIs run through a runner
4416
+ * that records each child's positive end; the work is told whether it still owns the writer (`stillOwner`) before it
4417
+ * cleans anything; and the claim is released only once every child it started is positively gone — a child whose end
4418
+ * is unknown keeps sign-in admission closed (logged). Shutdown waits for these (shutdownLoginWindows), and a restart
4419
+ * reopens admission only after they are gone.
4420
+ */
4421
+ private withAccountWriter;
4422
+ signOutAccount(backend: string, profile: unknown, confirm: unknown, by: string, machine?: MachineActor): Promise<SignOutResult | MachineAccountResult>;
3641
4423
  backendSignInTargets(): SignInTarget[];
3642
4424
  /** #2233: the session with this handle is live, admin, local and of the current dashboard token. */
3643
4425
  private isLocalAdminSession;
@@ -3711,6 +4493,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3711
4493
  /** The sign-in itself, in the web terminal, for a CLI that is installed. */
3712
4494
  private launchSignIn;
3713
4495
  /** Fleet shutdown: end any web login or install window and wait for its confirmed teardown. */
4496
+ /**
4497
+ * #3305 review P2-3: reopen sign-in admission after a restart — only once no account logout's CLI from before is still
4498
+ * alive (a fresh sign-in must never overlap it). Each reopen supersedes a deferred one.
4499
+ */
4500
+ private loginReopenGen;
4501
+ private reopenLoginWindow;
3714
4502
  private shutdownLoginWindows;
3715
4503
  /** `/login cancel` — abort the active session and remove its window. */
3716
4504
  cancelLoginSession(): Promise<string>;
@@ -4163,6 +4951,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4163
4951
  * profile's, when it is named and has one), claude's account catalog included. Read only: never a probe.
4164
4952
  */
4165
4953
  modelCatalogFor(backend: string, instance: string | null): import("./backend/types.js").ModelOption[];
4954
+ /** Host-default fallback only: Grok has no modeled profile home. Never construct a backend or start a probe. */
4955
+ cliModelCatalogFor(backend: string, instance: string | null): Promise<import("./backend/types.js").ModelOption[]>;
4166
4956
  /**
4167
4957
  * #2072 (#2078 review): the snapshot as THIS instance would see it. Its sign-in on a backend is its own credential
4168
4958
  * profile's when it has one there — the host's default login says nothing about it. A profile's login is a file check
@@ -4350,7 +5140,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4350
5140
  * audit notice — and only once all of that holds is the attempt written to
4351
5141
  * disk and fsynced, before anything spawns.
4352
5142
  */
4353
- requestSettingsSelfRestart(jobId: string, key: string): Promise<SelfRestartResult>;
5143
+ requestSettingsSelfRestart(requestedJobId: string | null, key: string): Promise<SelfRestartResult>;
4354
5144
  /** The audit notice, and the message the restart progress will edit. */
4355
5145
  private postSelfRestartNotice;
4356
5146
  /** Jobs outlive this process on purpose; see apply-job.ts. */
@@ -4487,6 +5277,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4487
5277
  };
4488
5278
  getConnectionSecretApply(jobId: string, sessionBinding: string): SecretApplyJob | null;
4489
5279
  private runConnectionSecretApply;
5280
+ /**
5281
+ * S-91: how a connection stands against what this process set up at start. "same": its adapter start ran (and failed, or
5282
+ * found no token), so starting it now is what the background retry does. "changed": its binding waits for the restart —
5283
+ * never started live, whatever its role (#3365 review P2). "added": #1519 P6's rule.
5284
+ */
5285
+ private startedWithConnection;
5286
+ /**
5287
+ * S-91: a token's live start for a connection that was not running did not come up. Whatever adapter it left is taken
5288
+ * down (handlers off, stopped, unregistered), and the connection goes back to the background retry with the error.
5289
+ */
5290
+ private dropAdapterAfterFailedStart;
4490
5291
  /** Stop the old provider client and construct a new one from process.env. */
4491
5292
  private rebuildAdapterForSecret;
4492
5293
  /**
@@ -4530,7 +5331,28 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4530
5331
  };
4531
5332
  private runSettingsApply;
4532
5333
  restartInstances(): Promise<void>;
5334
+ /** The running package's version (package.json next to this code). */
5335
+ private runningAgendVersion;
5336
+ /**
5337
+ * What the install's own channel offers: the target version and whether it came from that channel's dist-tag. Throws
5338
+ * when npm cannot be asked (the callers decide what a failed look means).
5339
+ */
5340
+ private lookUpUpdateTarget;
5341
+ /** M-2738: record a look's answer for the web — the same offer the notice below would make. */
5342
+ private recordUpdateCheck;
4533
5343
  private checkForUpdates;
5344
+ /** The web's update routes (web-api.ts handleWebUpdate) read and start through this. */
5345
+ get webUpdate(): WebUpdateHost;
5346
+ /** "Check for updates": look now, no chat notice. One a minute; a second ask while one runs waits for it. */
5347
+ private checkUpdateNow;
5348
+ /**
5349
+ * M-2738: Update from the web — a fleet admin's session, after its own confirmation (the leader's D1). Only what the
5350
+ * last check offers as installable; the update itself is chat `/update`'s (launchInstalledUpdate). Its progress marker
5351
+ * targets no chat message (WEB_UPDATE_ADAPTER); the page reads the stages the updater writes into it.
5352
+ */
5353
+ private startWebUpdate;
5354
+ /** M-2738: a web start's answer for its key, the same on a retry (at most 32 kept). */
5355
+ private startWebUpdateOnce;
4534
5356
  /**
4535
5357
  * Semver "a > b". Compares major.minor.patch numerically; a version without a
4536
5358
  * prerelease outranks the same core with one (2.0.8 > 2.0.8-beta.16); two
@@ -4633,3 +5455,5 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4633
5455
  getUiStatus(): unknown;
4634
5456
  private getUiStatusSync;
4635
5457
  }
5458
+ /** alpha.2 (M-2300): the agent an applied Windows request created (its name, for the page's "Open chat"), or null. */
5459
+ export declare function agentNameOf(view: SettingsPendingView): string | null;