@songsid/agend 2.3.5-alpha.4 → 2.3.5-beta.1

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 (670) hide show
  1. package/README.md +0 -2
  2. package/README.zh-TW.md +0 -2
  3. package/THIRD_PARTY_NOTICES.md +12 -28
  4. package/dist/agent-cli-instructions.md +1 -1
  5. package/dist/agent-credentials.d.ts +24 -0
  6. package/dist/agent-credentials.js +66 -0
  7. package/dist/agent-credentials.js.map +1 -0
  8. package/dist/agent-endpoint.d.ts +4 -6
  9. package/dist/agent-endpoint.js +15 -12
  10. package/dist/agent-endpoint.js.map +1 -1
  11. package/dist/auth-api.d.ts +0 -21
  12. package/dist/auth-api.js +8 -93
  13. package/dist/auth-api.js.map +1 -1
  14. package/dist/authority/session-authorizations.d.ts +30 -4
  15. package/dist/authority/session-authorizations.js +69 -17
  16. package/dist/authority/session-authorizations.js.map +1 -1
  17. package/dist/authority/web-authority.d.ts +2 -12
  18. package/dist/authority/web-authority.js +4 -25
  19. package/dist/authority/web-authority.js.map +1 -1
  20. package/dist/backend/antigravity.js +3 -1
  21. package/dist/backend/antigravity.js.map +1 -1
  22. package/dist/backend/claude-code.d.ts +12 -15
  23. package/dist/backend/claude-code.js +133 -152
  24. package/dist/backend/claude-code.js.map +1 -1
  25. package/dist/backend/codex-metadata.d.ts +14 -0
  26. package/dist/backend/codex-metadata.js +45 -0
  27. package/dist/backend/codex-metadata.js.map +1 -1
  28. package/dist/backend/codex-package.d.ts +2 -5
  29. package/dist/backend/codex-package.js +5 -1
  30. package/dist/backend/codex-package.js.map +1 -1
  31. package/dist/backend/codex-quota-history.d.ts +7 -0
  32. package/dist/backend/codex-quota-history.js +72 -0
  33. package/dist/backend/codex-quota-history.js.map +1 -0
  34. package/dist/backend/codex-session-lookup.d.ts +6 -0
  35. package/dist/backend/codex-session-lookup.js +1 -1
  36. package/dist/backend/codex-session-lookup.js.map +1 -1
  37. package/dist/backend/codex-speed.d.ts +14 -0
  38. package/dist/backend/codex-speed.js +35 -0
  39. package/dist/backend/codex-speed.js.map +1 -0
  40. package/dist/backend/codex.d.ts +116 -136
  41. package/dist/backend/codex.js +912 -942
  42. package/dist/backend/codex.js.map +1 -1
  43. package/dist/backend/grok-weekly-reset.d.ts +24 -0
  44. package/dist/backend/grok-weekly-reset.js +95 -0
  45. package/dist/backend/grok-weekly-reset.js.map +1 -0
  46. package/dist/backend/grok.d.ts +30 -3
  47. package/dist/backend/grok.js +301 -76
  48. package/dist/backend/grok.js.map +1 -1
  49. package/dist/backend/kiro.d.ts +3 -0
  50. package/dist/backend/kiro.js +50 -2
  51. package/dist/backend/kiro.js.map +1 -1
  52. package/dist/backend/muse.js +5 -3
  53. package/dist/backend/muse.js.map +1 -1
  54. package/dist/backend/types.d.ts +15 -8
  55. package/dist/backend/types.js +3 -0
  56. package/dist/backend/types.js.map +1 -1
  57. package/dist/bundled-tmux-guard.d.ts +21 -0
  58. package/dist/bundled-tmux-guard.js +96 -0
  59. package/dist/bundled-tmux-guard.js.map +1 -0
  60. package/dist/cache-ledger.d.ts +95 -0
  61. package/dist/cache-ledger.js +276 -4
  62. package/dist/cache-ledger.js.map +1 -1
  63. package/dist/cache-service.d.ts +5 -0
  64. package/dist/cache-service.js +16 -4
  65. package/dist/cache-service.js.map +1 -1
  66. package/dist/channel/adapters/discord.js +11 -3
  67. package/dist/channel/adapters/discord.js.map +1 -1
  68. package/dist/channel/adapters/telegram.d.ts +51 -0
  69. package/dist/channel/adapters/telegram.js +235 -17
  70. package/dist/channel/adapters/telegram.js.map +1 -1
  71. package/dist/channel/ipc-bridge.d.ts +0 -2
  72. package/dist/channel/mcp-tools.js +3 -3
  73. package/dist/channel/mcp-tools.js.map +1 -1
  74. package/dist/channel/types.d.ts +2 -0
  75. package/dist/classic-channel-manager.d.ts +2 -0
  76. package/dist/classic-channel-manager.js +5 -1
  77. package/dist/classic-channel-manager.js.map +1 -1
  78. package/dist/cli.js +14 -10
  79. package/dist/cli.js.map +1 -1
  80. package/dist/config-validator.js +30 -71
  81. package/dist/config-validator.js.map +1 -1
  82. package/dist/config.js +3 -17
  83. package/dist/config.js.map +1 -1
  84. package/dist/cross-instance-notice.d.ts +10 -0
  85. package/dist/cross-instance-notice.js +67 -5
  86. package/dist/cross-instance-notice.js.map +1 -1
  87. package/dist/daemon.d.ts +70 -68
  88. package/dist/daemon.js +774 -846
  89. package/dist/daemon.js.map +1 -1
  90. package/dist/dashboard-permissions.d.ts +8 -0
  91. package/dist/dashboard-permissions.js +16 -0
  92. package/dist/dashboard-permissions.js.map +1 -1
  93. package/dist/delivery-consumed-watch.d.ts +26 -16
  94. package/dist/delivery-consumed-watch.js +31 -26
  95. package/dist/delivery-consumed-watch.js.map +1 -1
  96. package/dist/delivery-outbox.d.ts +0 -5
  97. package/dist/delivery-outbox.js +4 -32
  98. package/dist/delivery-outbox.js.map +1 -1
  99. package/dist/delivery-reconciliation.d.ts +42 -2
  100. package/dist/delivery-reconciliation.js +164 -2
  101. package/dist/delivery-reconciliation.js.map +1 -1
  102. package/dist/export-import.d.ts +7 -0
  103. package/dist/export-import.js +44 -10
  104. package/dist/export-import.js.map +1 -1
  105. package/dist/fleet-context.d.ts +4 -2
  106. package/dist/fleet-level-config.d.ts +1 -1
  107. package/dist/fleet-level-config.js +0 -2
  108. package/dist/fleet-level-config.js.map +1 -1
  109. package/dist/fleet-manager.d.ts +108 -245
  110. package/dist/fleet-manager.js +656 -2028
  111. package/dist/fleet-manager.js.map +1 -1
  112. package/dist/general-instance.d.ts +0 -7
  113. package/dist/general-instance.js +3 -20
  114. package/dist/general-instance.js.map +1 -1
  115. package/dist/general-knowledge/skills/concepts/SKILL.md +393 -0
  116. package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +1 -0
  117. package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +3 -1
  118. package/dist/general-knowledge/skills/kiro-engine-migration/SKILL.md +41 -4
  119. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +9 -3
  120. package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +1 -1
  121. package/dist/instance-config-impact.js +6 -7
  122. package/dist/instance-config-impact.js.map +1 -1
  123. package/dist/instance-lifecycle.d.ts +19 -23
  124. package/dist/instance-lifecycle.js +216 -383
  125. package/dist/instance-lifecycle.js.map +1 -1
  126. package/dist/instance-topic-delete.d.ts +77 -0
  127. package/dist/instance-topic-delete.js +123 -0
  128. package/dist/instance-topic-delete.js.map +1 -0
  129. package/dist/instructions.d.ts +1 -3
  130. package/dist/instructions.js +1 -7
  131. package/dist/instructions.js.map +1 -1
  132. package/dist/kiro-engine-status.d.ts +11 -0
  133. package/dist/kiro-engine-status.js +6 -0
  134. package/dist/kiro-engine-status.js.map +1 -1
  135. package/dist/locale.js +63 -86
  136. package/dist/locale.js.map +1 -1
  137. package/dist/log-service.d.ts +28 -0
  138. package/dist/log-service.js +29 -0
  139. package/dist/log-service.js.map +1 -1
  140. package/dist/log-steps.d.ts +4 -3
  141. package/dist/log-steps.js +32 -7
  142. package/dist/log-steps.js.map +1 -1
  143. package/dist/logger.d.ts +16 -2
  144. package/dist/logger.js +346 -66
  145. package/dist/logger.js.map +1 -1
  146. package/dist/login-flows.d.ts +7 -0
  147. package/dist/login-flows.js +5 -2
  148. package/dist/login-flows.js.map +1 -1
  149. package/dist/login-manager.js +25 -4
  150. package/dist/login-manager.js.map +1 -1
  151. package/dist/missed-offline.d.ts +25 -0
  152. package/dist/missed-offline.js +79 -0
  153. package/dist/missed-offline.js.map +1 -0
  154. package/dist/muse-usage-relay.d.ts +2 -0
  155. package/dist/muse-usage-relay.js +5 -3
  156. package/dist/muse-usage-relay.js.map +1 -1
  157. package/dist/needs-you-hub.d.ts +6 -3
  158. package/dist/needs-you-hub.js +31 -9
  159. package/dist/needs-you-hub.js.map +1 -1
  160. package/dist/needs-you.d.ts +20 -18
  161. package/dist/needs-you.js +18 -14
  162. package/dist/needs-you.js.map +1 -1
  163. package/dist/office-share-page.js +1 -1
  164. package/dist/office-share-page.js.map +1 -1
  165. package/dist/outbound-handlers.d.ts +2 -16
  166. package/dist/outbound-handlers.js +10 -72
  167. package/dist/outbound-handlers.js.map +1 -1
  168. package/dist/outbound-schemas.d.ts +0 -38
  169. package/dist/outbound-schemas.js +5 -14
  170. package/dist/outbound-schemas.js.map +1 -1
  171. package/dist/pane-quota-history.d.ts +7 -0
  172. package/dist/pane-quota-history.js +47 -0
  173. package/dist/pane-quota-history.js.map +1 -0
  174. package/dist/platform-general.d.ts +46 -0
  175. package/dist/platform-general.js +91 -0
  176. package/dist/platform-general.js.map +1 -0
  177. package/dist/public-web-gateway.js +0 -9
  178. package/dist/public-web-gateway.js.map +1 -1
  179. package/dist/public-web-link.d.ts +0 -11
  180. package/dist/public-web-link.js +0 -13
  181. package/dist/public-web-link.js.map +1 -1
  182. package/dist/queued-handoffs.d.ts +33 -0
  183. package/dist/queued-handoffs.js +75 -0
  184. package/dist/queued-handoffs.js.map +1 -0
  185. package/dist/quickstart-api.js +5 -9
  186. package/dist/quickstart-api.js.map +1 -1
  187. package/dist/quickstart.d.ts +8 -1
  188. package/dist/quickstart.js +42 -4
  189. package/dist/quickstart.js.map +1 -1
  190. package/dist/quota-notice-config.d.ts +22 -0
  191. package/dist/quota-notice-config.js +41 -0
  192. package/dist/quota-notice-config.js.map +1 -0
  193. package/dist/quota-notice.d.ts +7 -0
  194. package/dist/quota-notice.js +40 -0
  195. package/dist/quota-notice.js.map +1 -1
  196. package/dist/reply-buttons-controller.js +10 -6
  197. package/dist/reply-buttons-controller.js.map +1 -1
  198. package/dist/reply-polls.d.ts +2 -2
  199. package/dist/reply-polls.js +3 -3
  200. package/dist/reply-polls.js.map +1 -1
  201. package/dist/scheduler/db.d.ts +2 -1
  202. package/dist/scheduler/db.js +23 -9
  203. package/dist/scheduler/db.js.map +1 -1
  204. package/dist/scheduler/task-board.d.ts +9 -0
  205. package/dist/scheduler/task-board.js +19 -0
  206. package/dist/scheduler/task-board.js.map +1 -1
  207. package/dist/settings-api.d.ts +13 -5
  208. package/dist/settings-api.js +26 -96
  209. package/dist/settings-api.js.map +1 -1
  210. package/dist/settings-baseline.d.ts +0 -1
  211. package/dist/settings-baseline.js +1 -1
  212. package/dist/settings-baseline.js.map +1 -1
  213. package/dist/settings-change.js +23 -28
  214. package/dist/settings-change.js.map +1 -1
  215. package/dist/settings-confirmation.d.ts +1 -16
  216. package/dist/settings-confirmation.js +9 -47
  217. package/dist/settings-confirmation.js.map +1 -1
  218. package/dist/settings-effect.d.ts +0 -4
  219. package/dist/settings-effect.js +1 -58
  220. package/dist/settings-effect.js.map +1 -1
  221. package/dist/settings-http-confirmation.d.ts +0 -4
  222. package/dist/settings-http-confirmation.js +3 -31
  223. package/dist/settings-http-confirmation.js.map +1 -1
  224. package/dist/settings-instance-patch.js +28 -1
  225. package/dist/settings-instance-patch.js.map +1 -1
  226. package/dist/settings-request-capability.d.ts +0 -2
  227. package/dist/settings-request-capability.js +0 -4
  228. package/dist/settings-request-capability.js.map +1 -1
  229. package/dist/settings-transaction.d.ts +0 -4
  230. package/dist/settings-transaction.js +0 -9
  231. package/dist/settings-transaction.js.map +1 -1
  232. package/dist/setup-form.js +3 -6
  233. package/dist/setup-form.js.map +1 -1
  234. package/dist/setup-i18n.js +0 -3
  235. package/dist/setup-i18n.js.map +1 -1
  236. package/dist/task-board-tool.d.ts +11 -0
  237. package/dist/task-board-tool.js +44 -0
  238. package/dist/task-board-tool.js.map +1 -1
  239. package/dist/task-board-waker.d.ts +6 -0
  240. package/dist/task-board-waker.js +4 -0
  241. package/dist/task-board-waker.js.map +1 -1
  242. package/dist/tmux-control.d.ts +1 -2
  243. package/dist/tmux-control.js.map +1 -1
  244. package/dist/tmux-manager.d.ts +1 -2
  245. package/dist/tmux-manager.js.map +1 -1
  246. package/dist/tool-permissions.d.ts +5 -2
  247. package/dist/tool-permissions.js +7 -7
  248. package/dist/tool-permissions.js.map +1 -1
  249. package/dist/tool-progress.d.ts +2 -0
  250. package/dist/tool-progress.js +19 -3
  251. package/dist/tool-progress.js.map +1 -1
  252. package/dist/topic-commands.js +4 -3
  253. package/dist/topic-commands.js.map +1 -1
  254. package/dist/transcript-delta-reader.d.ts +1 -1
  255. package/dist/transcript-delta-reader.js +1 -1
  256. package/dist/transcript-delta-reader.js.map +1 -1
  257. package/dist/transcript-monitor.d.ts +20 -3
  258. package/dist/transcript-monitor.js +92 -24
  259. package/dist/transcript-monitor.js.map +1 -1
  260. package/dist/transcript-sources.d.ts +0 -5
  261. package/dist/transcript-sources.js +79 -8
  262. package/dist/transcript-sources.js.map +1 -1
  263. package/dist/types.d.ts +3 -23
  264. package/dist/ui/app.html +8 -1
  265. package/dist/ui/backend-signin.js +21 -36
  266. package/dist/ui/chat-md-strings.js +9 -0
  267. package/dist/ui/chat-store.js +2 -13
  268. package/dist/ui/chat-strings.js +2 -50
  269. package/dist/ui/chat-thread.js +53 -3
  270. package/dist/ui/fleet-task-card.js +3 -3
  271. package/dist/ui/fleet-task-common.js +10 -0
  272. package/dist/ui/fleet-tasks.js +7 -5
  273. package/dist/ui/fleet-usage.js +90 -27
  274. package/dist/ui/panel-chat.js +37 -66
  275. package/dist/ui/panel-details.js +1 -2
  276. package/dist/ui/panel-fleet.js +88 -107
  277. package/dist/ui/panel-needs.js +21 -163
  278. package/dist/ui/panel-notices.js +4 -3
  279. package/dist/ui/panel-settings.js +149 -239
  280. package/dist/ui/preview-panel.js +84 -6
  281. package/dist/ui/search-dialog.js +3 -2
  282. package/dist/ui/settings-appearance.js +23 -122
  283. package/dist/ui/settings-catalog.js +10 -37
  284. package/dist/ui/settings-codex-copy.js +19 -0
  285. package/dist/ui/settings-confirm.js +1 -3
  286. package/dist/ui/settings-dialogs.js +20 -27
  287. package/dist/ui/settings-guests.js +14 -27
  288. package/dist/ui/settings-model.js +17 -12
  289. package/dist/ui/settings-quota-notice.js +100 -0
  290. package/dist/ui/settings-registry.js +4 -11
  291. package/dist/ui/settings-strings.js +4 -113
  292. package/dist/ui/settings-web-authority.js +13 -15
  293. package/dist/ui/shared/app-i18n.js +2 -2
  294. package/dist/ui/shared/app-needs.js +1 -1
  295. package/dist/ui/shared/app-route.js +2 -6
  296. package/dist/ui/shared/app-shell.js +18 -23
  297. package/dist/ui/shared/app-store.js +2 -3
  298. package/dist/ui/shared/app-stream.js +1 -3
  299. package/dist/ui/shared/app.css +40 -1312
  300. package/dist/ui/shared/app.js +2 -5
  301. package/dist/ui/shared/header-tools.js +4 -6
  302. package/dist/ui/shared/instance-nav.js +7 -34
  303. package/dist/ui/shared/instance-switch.js +3 -4
  304. package/dist/ui/shared/loading.css +37 -0
  305. package/dist/ui/shared/panel-view.js +77 -4
  306. package/dist/ui/shared/signin.js +6 -39
  307. package/dist/ui/shared/tokens.css +0 -1
  308. package/dist/ui/shared/ui-dialog.js +2 -2
  309. package/dist/ui/shared/ui-menu.js +10 -30
  310. package/dist/ui/shared/ui-states.js +14 -3
  311. package/dist/ui/shared/usage-dialog.js +18 -1
  312. package/dist/ui/shared/vendor/vendor.json +2 -19
  313. package/dist/ui/shared/view-history.css +17 -0
  314. package/dist/ui/shared/view-history.js +438 -0
  315. package/dist/ui/shared/view-strings.js +16 -8
  316. package/dist/ui/signin.html +5 -2
  317. package/dist/unattended-install.d.ts +11 -2
  318. package/dist/unattended-install.js +39 -5
  319. package/dist/unattended-install.js.map +1 -1
  320. package/dist/usage/capacity.d.ts +69 -0
  321. package/dist/usage/capacity.js +119 -0
  322. package/dist/usage/capacity.js.map +1 -0
  323. package/dist/usage/i18n-keys.d.ts +1 -1
  324. package/dist/usage/i18n-keys.js +3 -0
  325. package/dist/usage/i18n-keys.js.map +1 -1
  326. package/dist/usage/profile-timeline.d.ts +16 -0
  327. package/dist/usage/profile-timeline.js +58 -0
  328. package/dist/usage/profile-timeline.js.map +1 -0
  329. package/dist/usage/providers.d.ts +5 -0
  330. package/dist/usage/providers.js +5 -0
  331. package/dist/usage/providers.js.map +1 -1
  332. package/dist/usage/quota-history.d.ts +43 -0
  333. package/dist/usage/quota-history.js +168 -0
  334. package/dist/usage/quota-history.js.map +1 -0
  335. package/dist/usage/quota-notices.d.ts +38 -0
  336. package/dist/usage/quota-notices.js +160 -0
  337. package/dist/usage/quota-notices.js.map +1 -0
  338. package/dist/usage/usage-api.d.ts +32 -0
  339. package/dist/usage/usage-api.js +96 -1
  340. package/dist/usage/usage-api.js.map +1 -1
  341. package/dist/usage-report.d.ts +25 -1
  342. package/dist/usage-report.js +55 -4
  343. package/dist/usage-report.js.map +1 -1
  344. package/dist/usage-rollup.d.ts +6 -1
  345. package/dist/usage-rollup.js +16 -4
  346. package/dist/usage-rollup.js.map +1 -1
  347. package/dist/view-api.d.ts +16 -0
  348. package/dist/view-api.js +100 -16
  349. package/dist/view-api.js.map +1 -1
  350. package/dist/view-history.d.ts +84 -0
  351. package/dist/view-history.js +116 -0
  352. package/dist/view-history.js.map +1 -0
  353. package/dist/web-api.d.ts +6 -38
  354. package/dist/web-api.js +20 -255
  355. package/dist/web-api.js.map +1 -1
  356. package/dist/web-chat-history.d.ts +2 -19
  357. package/dist/web-chat-history.js +3 -72
  358. package/dist/web-chat-history.js.map +1 -1
  359. package/dist/web-only-fleet.d.ts +0 -20
  360. package/dist/web-only-fleet.js +0 -21
  361. package/dist/web-only-fleet.js.map +1 -1
  362. package/dist/web-session-authorization.d.ts +13 -2
  363. package/dist/web-session-authorization.js +10 -3
  364. package/dist/web-session-authorization.js.map +1 -1
  365. package/dist/web-session.d.ts +0 -7
  366. package/dist/web-session.js +0 -2
  367. package/dist/web-session.js.map +1 -1
  368. package/dist/web-shell-routes.d.ts +1 -4
  369. package/dist/web-shell-routes.js +2 -7
  370. package/dist/web-shell-routes.js.map +1 -1
  371. package/launcher/private-home.cjs +1 -1
  372. package/package.json +3 -9
  373. package/dist/agent-runtime-api.d.ts +0 -4
  374. package/dist/agent-runtime-api.js +0 -59
  375. package/dist/agent-runtime-api.js.map +0 -1
  376. package/dist/agent-runtime-change.d.ts +0 -74
  377. package/dist/agent-runtime-change.js +0 -102
  378. package/dist/agent-runtime-change.js.map +0 -1
  379. package/dist/backend/grok-model-cache.d.ts +0 -7
  380. package/dist/backend/grok-model-cache.js +0 -65
  381. package/dist/backend/grok-model-cache.js.map +0 -1
  382. package/dist/backend/native-pane.d.ts +0 -9
  383. package/dist/backend/native-pane.js +0 -59
  384. package/dist/backend/native-pane.js.map +0 -1
  385. package/dist/fleet-windows-runtime.d.ts +0 -97
  386. package/dist/fleet-windows-runtime.js +0 -449
  387. package/dist/fleet-windows-runtime.js.map +0 -1
  388. package/dist/general-binding.d.ts +0 -85
  389. package/dist/general-binding.js +0 -298
  390. package/dist/general-binding.js.map +0 -1
  391. package/dist/general-host-owner.d.ts +0 -8
  392. package/dist/general-host-owner.js +0 -26
  393. package/dist/general-host-owner.js.map +0 -1
  394. package/dist/general-role.d.ts +0 -5
  395. package/dist/general-role.js +0 -26
  396. package/dist/general-role.js.map +0 -1
  397. package/dist/local-pane-endpoint.d.ts +0 -46
  398. package/dist/local-pane-endpoint.js +0 -189
  399. package/dist/local-pane-endpoint.js.map +0 -1
  400. package/dist/local-pane-launcher.d.ts +0 -2
  401. package/dist/local-pane-launcher.js +0 -38
  402. package/dist/local-pane-launcher.js.map +0 -1
  403. package/dist/local-pane-stage.ps1 +0 -101
  404. package/dist/model-catalog-defaults.d.ts +0 -14
  405. package/dist/model-catalog-defaults.js +0 -20
  406. package/dist/model-catalog-defaults.js.map +0 -1
  407. package/dist/native-agent-admission.d.ts +0 -7
  408. package/dist/native-agent-admission.js +0 -26
  409. package/dist/native-agent-admission.js.map +0 -1
  410. package/dist/native-daemon-client.d.ts +0 -13
  411. package/dist/native-daemon-client.js +0 -28
  412. package/dist/native-daemon-client.js.map +0 -1
  413. package/dist/native-instance-api.d.ts +0 -14
  414. package/dist/native-instance-api.js +0 -205
  415. package/dist/native-instance-api.js.map +0 -1
  416. package/dist/native-instance-input.d.ts +0 -84
  417. package/dist/native-instance-input.js +0 -54
  418. package/dist/native-instance-input.js.map +0 -1
  419. package/dist/native-instance-registry.d.ts +0 -32
  420. package/dist/native-instance-registry.js +0 -105
  421. package/dist/native-instance-registry.js.map +0 -1
  422. package/dist/native-mcp.d.ts +0 -40
  423. package/dist/native-mcp.js +0 -278
  424. package/dist/native-mcp.js.map +0 -1
  425. package/dist/native-model-catalog.d.ts +0 -5
  426. package/dist/native-model-catalog.js +0 -76
  427. package/dist/native-model-catalog.js.map +0 -1
  428. package/dist/native-pane-crash-budget.d.ts +0 -20
  429. package/dist/native-pane-crash-budget.js +0 -60
  430. package/dist/native-pane-crash-budget.js.map +0 -1
  431. package/dist/native-pane-create.d.ts +0 -26
  432. package/dist/native-pane-create.js +0 -53
  433. package/dist/native-pane-create.js.map +0 -1
  434. package/dist/native-pane-lifecycle.d.ts +0 -65
  435. package/dist/native-pane-lifecycle.js +0 -230
  436. package/dist/native-pane-lifecycle.js.map +0 -1
  437. package/dist/native-pane-manager.d.ts +0 -59
  438. package/dist/native-pane-manager.js +0 -584
  439. package/dist/native-pane-manager.js.map +0 -1
  440. package/dist/native-pane-output-log.d.ts +0 -15
  441. package/dist/native-pane-output-log.js +0 -108
  442. package/dist/native-pane-output-log.js.map +0 -1
  443. package/dist/native-pane-reconciliation.d.ts +0 -4
  444. package/dist/native-pane-reconciliation.js +0 -40
  445. package/dist/native-pane-reconciliation.js.map +0 -1
  446. package/dist/native-pane-recovery.d.ts +0 -12
  447. package/dist/native-pane-recovery.js +0 -10
  448. package/dist/native-pane-recovery.js.map +0 -1
  449. package/dist/native-pane-tools.d.ts +0 -2
  450. package/dist/native-pane-tools.js +0 -14
  451. package/dist/native-pane-tools.js.map +0 -1
  452. package/dist/pane-port.d.ts +0 -118
  453. package/dist/pane-port.js +0 -2
  454. package/dist/pane-port.js.map +0 -1
  455. package/dist/runtime-api.d.ts +0 -8
  456. package/dist/runtime-api.js +0 -171
  457. package/dist/runtime-api.js.map +0 -1
  458. package/dist/runtime-assets/@xterm/addon-serialize/LICENSE +0 -21
  459. package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.js +0 -2
  460. package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.mjs +0 -19
  461. package/dist/runtime-assets/@xterm/addon-serialize/package.json +0 -29
  462. package/dist/runtime-assets/@xterm/headless/LICENSE +0 -21
  463. package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.js +0 -2
  464. package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.mjs +0 -46
  465. package/dist/runtime-assets/@xterm/headless/package.json +0 -29
  466. package/dist/runtime-assets/node-pty/CONPTY-LICENSE +0 -21
  467. package/dist/runtime-assets/node-pty/CONPTY-NOTICE.md +0 -503
  468. package/dist/runtime-assets/node-pty/LICENSE +0 -69
  469. package/dist/runtime-assets/node-pty/lib/conpty_console_list_agent.js +0 -16
  470. package/dist/runtime-assets/node-pty/lib/eventEmitter2.js +0 -47
  471. package/dist/runtime-assets/node-pty/lib/index.js +0 -52
  472. package/dist/runtime-assets/node-pty/lib/interfaces.js +0 -7
  473. package/dist/runtime-assets/node-pty/lib/shared/conout.js +0 -11
  474. package/dist/runtime-assets/node-pty/lib/terminal.js +0 -190
  475. package/dist/runtime-assets/node-pty/lib/types.js +0 -7
  476. package/dist/runtime-assets/node-pty/lib/unixTerminal.js +0 -346
  477. package/dist/runtime-assets/node-pty/lib/utils.js +0 -39
  478. package/dist/runtime-assets/node-pty/lib/windowsConoutConnection.js +0 -125
  479. package/dist/runtime-assets/node-pty/lib/windowsPtyAgent.js +0 -320
  480. package/dist/runtime-assets/node-pty/lib/windowsTerminal.js +0 -199
  481. package/dist/runtime-assets/node-pty/lib/worker/conoutSocketWorker.js +0 -22
  482. package/dist/runtime-assets/node-pty/package.json +0 -64
  483. package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
  484. package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
  485. package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
  486. package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
  487. package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
  488. package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
  489. package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty.node +0 -0
  490. package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
  491. package/dist/runtime-build-info.d.ts +0 -9
  492. package/dist/runtime-build-info.js +0 -57
  493. package/dist/runtime-build-info.js.map +0 -1
  494. package/dist/runtime-bundle.d.ts +0 -19
  495. package/dist/runtime-bundle.js +0 -156
  496. package/dist/runtime-bundle.js.map +0 -1
  497. package/dist/runtime-cli.d.ts +0 -7
  498. package/dist/runtime-cli.js +0 -152
  499. package/dist/runtime-cli.js.map +0 -1
  500. package/dist/runtime-client-store.d.ts +0 -68
  501. package/dist/runtime-client-store.js +0 -344
  502. package/dist/runtime-client-store.js.map +0 -1
  503. package/dist/runtime-client.d.ts +0 -112
  504. package/dist/runtime-client.js +0 -736
  505. package/dist/runtime-client.js.map +0 -1
  506. package/dist/runtime-connection.d.ts +0 -22
  507. package/dist/runtime-connection.js +0 -93
  508. package/dist/runtime-connection.js.map +0 -1
  509. package/dist/runtime-coordinator.d.ts +0 -91
  510. package/dist/runtime-coordinator.js +0 -911
  511. package/dist/runtime-coordinator.js.map +0 -1
  512. package/dist/runtime-general-protocol.d.ts +0 -22
  513. package/dist/runtime-general-protocol.js +0 -57
  514. package/dist/runtime-general-protocol.js.map +0 -1
  515. package/dist/runtime-general-workspace.d.ts +0 -17
  516. package/dist/runtime-general-workspace.js +0 -213
  517. package/dist/runtime-general-workspace.js.map +0 -1
  518. package/dist/runtime-pane-assets.d.ts +0 -17
  519. package/dist/runtime-pane-assets.js +0 -23
  520. package/dist/runtime-pane-assets.js.map +0 -1
  521. package/dist/runtime-pane-boot.d.ts +0 -9
  522. package/dist/runtime-pane-boot.js +0 -47
  523. package/dist/runtime-pane-boot.js.map +0 -1
  524. package/dist/runtime-pane-codex-index.d.ts +0 -1
  525. package/dist/runtime-pane-codex-index.js +0 -47
  526. package/dist/runtime-pane-codex-index.js.map +0 -1
  527. package/dist/runtime-pane-config.d.ts +0 -16
  528. package/dist/runtime-pane-config.js +0 -54
  529. package/dist/runtime-pane-config.js.map +0 -1
  530. package/dist/runtime-pane-host.d.ts +0 -44
  531. package/dist/runtime-pane-host.js +0 -424
  532. package/dist/runtime-pane-host.js.map +0 -1
  533. package/dist/runtime-pane-job-owner.d.ts +0 -1
  534. package/dist/runtime-pane-job-owner.js +0 -29
  535. package/dist/runtime-pane-job-owner.js.map +0 -1
  536. package/dist/runtime-pane-job.ps1 +0 -116
  537. package/dist/runtime-pane-link.d.ts +0 -40
  538. package/dist/runtime-pane-link.js +0 -246
  539. package/dist/runtime-pane-link.js.map +0 -1
  540. package/dist/runtime-pane-mcp-protocol.d.ts +0 -32
  541. package/dist/runtime-pane-mcp-protocol.js +0 -39
  542. package/dist/runtime-pane-mcp-protocol.js.map +0 -1
  543. package/dist/runtime-pane-mcp-relay.d.ts +0 -17
  544. package/dist/runtime-pane-mcp-relay.js +0 -70
  545. package/dist/runtime-pane-mcp-relay.js.map +0 -1
  546. package/dist/runtime-pane-mcp.d.ts +0 -51
  547. package/dist/runtime-pane-mcp.js +0 -150
  548. package/dist/runtime-pane-mcp.js.map +0 -1
  549. package/dist/runtime-pane-native.d.ts +0 -45
  550. package/dist/runtime-pane-native.js +0 -65
  551. package/dist/runtime-pane-native.js.map +0 -1
  552. package/dist/runtime-pane-output.d.ts +0 -19
  553. package/dist/runtime-pane-output.js +0 -53
  554. package/dist/runtime-pane-output.js.map +0 -1
  555. package/dist/runtime-pane-port.d.ts +0 -139
  556. package/dist/runtime-pane-port.js +0 -558
  557. package/dist/runtime-pane-port.js.map +0 -1
  558. package/dist/runtime-pane-private.d.ts +0 -14
  559. package/dist/runtime-pane-private.js +0 -51
  560. package/dist/runtime-pane-private.js.map +0 -1
  561. package/dist/runtime-pane-private.ps1 +0 -14
  562. package/dist/runtime-pane-process.d.ts +0 -4
  563. package/dist/runtime-pane-process.js +0 -108
  564. package/dist/runtime-pane-process.js.map +0 -1
  565. package/dist/runtime-pane-protocol.d.ts +0 -172
  566. package/dist/runtime-pane-protocol.js +0 -195
  567. package/dist/runtime-pane-protocol.js.map +0 -1
  568. package/dist/runtime-pane-screen.d.ts +0 -19
  569. package/dist/runtime-pane-screen.js +0 -76
  570. package/dist/runtime-pane-screen.js.map +0 -1
  571. package/dist/runtime-pane-service.d.ts +0 -11
  572. package/dist/runtime-pane-service.js +0 -221
  573. package/dist/runtime-pane-service.js.map +0 -1
  574. package/dist/runtime-pane-stdio-protocol.d.ts +0 -54
  575. package/dist/runtime-pane-stdio-protocol.js +0 -94
  576. package/dist/runtime-pane-stdio-protocol.js.map +0 -1
  577. package/dist/runtime-pane-stdio.d.ts +0 -3
  578. package/dist/runtime-pane-stdio.js +0 -123
  579. package/dist/runtime-pane-stdio.js.map +0 -1
  580. package/dist/runtime-pane-store.d.ts +0 -33
  581. package/dist/runtime-pane-store.js +0 -164
  582. package/dist/runtime-pane-store.js.map +0 -1
  583. package/dist/runtime-pane-transcript-protocol.d.ts +0 -43
  584. package/dist/runtime-pane-transcript-protocol.js +0 -58
  585. package/dist/runtime-pane-transcript-protocol.js.map +0 -1
  586. package/dist/runtime-pane-transcript.d.ts +0 -45
  587. package/dist/runtime-pane-transcript.js +0 -605
  588. package/dist/runtime-pane-transcript.js.map +0 -1
  589. package/dist/runtime-pane-worker.d.ts +0 -1
  590. package/dist/runtime-pane-worker.js +0 -154
  591. package/dist/runtime-pane-worker.js.map +0 -1
  592. package/dist/runtime-protocol.d.ts +0 -162
  593. package/dist/runtime-protocol.js +0 -37
  594. package/dist/runtime-protocol.js.map +0 -1
  595. package/dist/runtime-switches.d.ts +0 -79
  596. package/dist/runtime-switches.js +0 -90
  597. package/dist/runtime-switches.js.map +0 -1
  598. package/dist/runtime-transcript-delta-reader.d.ts +0 -23
  599. package/dist/runtime-transcript-delta-reader.js +0 -74
  600. package/dist/runtime-transcript-delta-reader.js.map +0 -1
  601. package/dist/runtime-transcript-source.d.ts +0 -36
  602. package/dist/runtime-transcript-source.js +0 -189
  603. package/dist/runtime-transcript-source.js.map +0 -1
  604. package/dist/runtime-windows-bridge.d.ts +0 -41
  605. package/dist/runtime-windows-bridge.js +0 -157
  606. package/dist/runtime-windows-bridge.js.map +0 -1
  607. package/dist/settings-route-lifetime.d.ts +0 -14
  608. package/dist/settings-route-lifetime.js +0 -48
  609. package/dist/settings-route-lifetime.js.map +0 -1
  610. package/dist/tmux-pane-host.d.ts +0 -26
  611. package/dist/tmux-pane-host.js +0 -25
  612. package/dist/tmux-pane-host.js.map +0 -1
  613. package/dist/transcript-needles.d.ts +0 -35
  614. package/dist/transcript-needles.js +0 -158
  615. package/dist/transcript-needles.js.map +0 -1
  616. package/dist/transcript-records.d.ts +0 -21
  617. package/dist/transcript-records.js +0 -140
  618. package/dist/transcript-records.js.map +0 -1
  619. package/dist/ui/agent-proposals.js +0 -90
  620. package/dist/ui/agent-runtime-settings.js +0 -67
  621. package/dist/ui/agent-runtime.js +0 -124
  622. package/dist/ui/cli-picker.js +0 -42
  623. package/dist/ui/general-location.js +0 -71
  624. package/dist/ui/native-instance-settings.js +0 -44
  625. package/dist/ui/native-pane-recovery.js +0 -45
  626. package/dist/ui/panel-runtimes.js +0 -334
  627. package/dist/ui/panel-windows-agent.js +0 -86
  628. package/dist/ui/panel-windows-cli.js +0 -179
  629. package/dist/ui/provider-marks.js +0 -83
  630. package/dist/ui/runtime-catalog.js +0 -55
  631. package/dist/ui/settings-agent-filters.js +0 -94
  632. package/dist/ui/settings-layout.js +0 -245
  633. package/dist/ui/settings-outside.js +0 -176
  634. package/dist/ui/settings-shortcuts.js +0 -65
  635. package/dist/ui/shared/machine-name.js +0 -13
  636. package/dist/ui/shared/qrcode.module.js +0 -2237
  637. package/dist/ui/shared/settings-width.js +0 -31
  638. package/dist/ui/shared/vendor/qrcode-generator.LICENSE +0 -27
  639. package/dist/ui/windows-agents-nav.js +0 -2
  640. package/dist/ui/windows-cli-catalog.js +0 -108
  641. package/dist/web-remote-access.d.ts +0 -152
  642. package/dist/web-remote-access.js +0 -368
  643. package/dist/web-remote-access.js.map +0 -1
  644. package/dist/windows-agents.d.ts +0 -126
  645. package/dist/windows-agents.js +0 -490
  646. package/dist/windows-agents.js.map +0 -1
  647. package/dist/windows-cli-api.d.ts +0 -23
  648. package/dist/windows-cli-api.js +0 -159
  649. package/dist/windows-cli-api.js.map +0 -1
  650. package/dist/windows-cli-providers.d.ts +0 -115
  651. package/dist/windows-cli-providers.js +0 -429
  652. package/dist/windows-cli-providers.js.map +0 -1
  653. package/dist/windows-cli-worker.d.ts +0 -59
  654. package/dist/windows-cli-worker.js +0 -479
  655. package/dist/windows-cli-worker.js.map +0 -1
  656. package/dist/windows-cli.d.ts +0 -116
  657. package/dist/windows-cli.js +0 -407
  658. package/dist/windows-cli.js.map +0 -1
  659. package/dist/windows-native-mcp.d.ts +0 -19
  660. package/dist/windows-native-mcp.js +0 -143
  661. package/dist/windows-native-mcp.js.map +0 -1
  662. package/dist/windows-pane-mcp.d.ts +0 -26
  663. package/dist/windows-pane-mcp.js +0 -187
  664. package/dist/windows-pane-mcp.js.map +0 -1
  665. package/templates/runtime-assets/conpty-LICENSE +0 -21
  666. package/templates/runtime-assets/conpty-NOTICE.md +0 -503
  667. package/templates/runtime-assets/local-pane-stage.ps1 +0 -101
  668. package/templates/runtime-assets/runtime-pane-job.ps1 +0 -116
  669. package/templates/runtime-assets/runtime-pane-private.ps1 +0 -14
  670. package/templates/runtime-assets/xterm-LICENSE +0 -21
@@ -1,7 +1,4 @@
1
- import { AgentRuntimeChanges } from "./agent-runtime-change.js";
2
1
  import { type HumanOrigin } from "./human-delivery-receipts.js";
3
- import { type SettingsPendingView } from "./settings-confirmation.js";
4
- import { type GeneralSwitchInput } from "./general-binding.js";
5
2
  import { SettingsExecution } from "./settings-transaction.js";
6
3
  import { AppIconStore } from "./web-app-icon.js";
7
4
  import { type NamedTestResult } from "./tunnel/named-link-test.js";
@@ -11,7 +8,6 @@ import type { PageShare } from "./page-share.js";
11
8
  import type { LoginCodeOwner } from "./web-login.js";
12
9
  import { type ProfileTicket } from "./runtime-cpu-profile.js";
13
10
  import type { CpuProfile } from "./cpu-profile.js";
14
- import { type IncomingMessage } from "node:http";
15
11
  import { type FleetMemory } from "./process-memory.js";
16
12
  import { MemoryPressure, type MemoryPressureSnapshot } from "./memory-pressure.js";
17
13
  import { ReplyDeduper } from "./reply-dedup.js";
@@ -19,14 +15,16 @@ import type { FleetConfig, RawFleetConfig, InstanceConfig, WebVerifiedAuthorityC
19
15
  import { type DeliveryStatus, type GuildEmoji, type GuildEmojiGroup, type ResolvedStatusEmojis } from "./status-emojis.js";
20
16
  import { type RouteTarget } from "./fleet-context.js";
21
17
  import { EventLog } from "./event-log.js";
18
+ import { type TopicDeleteOutcome } from "./instance-topic-delete.js";
22
19
  import { BackendAvailabilityStore, type AvailabilityProbes, type BackendAvailability } from "./backend-availability.js";
23
20
  import { AdapterWorld } from "./adapter-world.js";
24
21
  import { CostGuard } from "./cost-guard.js";
25
- import { type InstanceClient } from "./channel/ipc-bridge.js";
22
+ import { IpcClient } from "./channel/ipc-bridge.js";
26
23
  import type { AdapterHealthSnapshot, ChannelAdapter, InboundMessage, InboundReaction } from "./channel/types.js";
27
24
  import { type BackendCliVersionSnapshot } from "./backend/types.js";
28
25
  import { type Logger } from "./logger.js";
29
26
  import { Scheduler } from "./scheduler/index.js";
27
+ import type { Task } from "./scheduler/types.js";
30
28
  import type { FleetContext } from "./fleet-context.js";
31
29
  import { TmuxControlClient } from "./tmux-control.js";
32
30
  import { RoutingEngine } from "./routing-engine.js";
@@ -55,6 +53,11 @@ export declare const LIVE_TASK_STATUSES: string[];
55
53
  * " \t " and [" ", "\t"] both normalize to undefined (not treated as explicit
56
54
  * filters). The same result drives the live-only default and the cap decision.
57
55
  */
56
+ /**
57
+ * #3195: the saved value of each plain-update field the call named (assignee, priority, result), read back from the
58
+ * task — so the answer shows what was persisted, not what was asked. Status is always in the ack already.
59
+ */
60
+ export declare function savedFields(t: Task, named: Record<string, unknown>): Partial<Pick<Task, "assignee" | "priority" | "result">>;
58
61
  export declare function normalizeStatusFilter(v: unknown): string | string[] | undefined;
59
62
  export declare function applyTaskListCap<T extends {
60
63
  updated_at: string;
@@ -64,10 +67,8 @@ export declare function applyTaskListCap<T extends {
64
67
  hint: string;
65
68
  } | T[];
66
69
  import { type PublicPreviewForUi } from "./web-api.js";
67
- import { RuntimeCoordinator } from "./runtime-coordinator.js";
68
- import { FleetWindowsRuntime, type NativeRuntimePatch } from "./fleet-windows-runtime.js";
69
- import { NativeMcpSessions } from "./native-mcp.js";
70
70
  import { type LogAnswer, type LogQuery } from "./log-service.js";
71
+ import { type ViewHistoryAnswer, type ViewHistoryQuery } from "./view-history.js";
71
72
  import { WebChatHistory, type WebChatPost } from "./web-chat-history.js";
72
73
  import { type WebEchoCopy } from "./web-reactions.js";
73
74
  import { SeenUsers, type MentionNames, type MentionQuery } from "./web-mentions.js";
@@ -94,6 +95,7 @@ import { WebBackendLogins, type SignInTarget } from "./web-backend-login.js";
94
95
  import { BrowserBackendSignIns } from "./browser-backend-signins.js";
95
96
  import { type RawConfigPatch } from "./settings-api.js";
96
97
  import { type AgentEndpointContext } from "./agent-endpoint.js";
98
+ import { AgentCredentials } from "./agent-credentials.js";
97
99
  import { ClassicChannelManager } from "./classic-channel-manager.js";
98
100
  import { type ExplicitInstanceRemoval } from "./instance-removal.js";
99
101
  import { type SessionOomRetry } from "./session-oom-stop.js";
@@ -109,7 +111,6 @@ import { type CacheReport } from "./cache-service.js";
109
111
  import { type WebCommandResult } from "./web-commands.js";
110
112
  import { type SessionRecord } from "./web-session.js";
111
113
  import { WebNotices } from "./web-notices.js";
112
- import { WebRemoteAccess } from "./web-remote-access.js";
113
114
  import { VERIFIED_SESSION_HOURS, type HumanAuthority, type WebAuthorityRefusal, type WebAuthorityResult, type WebPeer } from "./authority/web-authority.js";
114
115
  import { type AuthorityState } from "./authority/authority-state.js";
115
116
  import { type SessionAuthorization } from "./authority/session-authorizations.js";
@@ -207,11 +208,6 @@ export interface ModelCatalog {
207
208
  note?: string;
208
209
  }
209
210
  export interface DeliveryOptions {
210
- /**
211
- * A Windows instance only: the sender's authority after the handoff (see NativeRuntimeDeliveryOptions.authorityCurrent).
212
- * stillCurrent fences the handoff itself; this one is rechecked before the Windows process starts.
213
- */
214
- authorityCurrent?: () => boolean;
215
211
  /** Explicitly identify agent-to-agent delivery when metadata is unavailable. */
216
212
  isCrossInstance?: boolean;
217
213
  /** Force or bypass the idle gate. Schedules set this explicitly. */
@@ -335,91 +331,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
335
331
  /** Live view of lifecycle.daemons — used throughout; not deprecated. */
336
332
  get daemons(): Map<string, Daemon>;
337
333
  fleetConfig: FleetConfig | null;
338
- private fleetWindowsRuntime;
339
- private nativeMcpStore;
340
- private paneManager;
341
- private localPaneRelay;
342
- private openingLocalPane;
343
- private runtimeHub;
344
- private runtimeExecutor;
345
- private runtimeStatusScheduled;
346
- private readonly reconciledRemoteResults;
347
- /** Machine credentials are separate from dashboard sessions and per-turn agent capabilities. */
348
- runtimeCoordinator(): RuntimeCoordinator;
349
- private runtimeWindowsExecutor;
350
- /** Per-turn capabilities for native MCP, separate from browser and Linux-agent credentials. */
351
- nativeMcpSessions(): NativeMcpSessions;
352
- /** The same instance registry and delivery entry point, with a native Windows execution adapter. */
353
- nativeInstanceRuntime(): FleetWindowsRuntime;
354
- private agentRuntimeChangeService?;
355
- agentRuntimeChanges(): AgentRuntimeChanges;
356
- /** Explicit dashboard opt-in, with the same General confirmation and ordinary topic/Daemon routing. */
357
- createNativePaneInstance(profile: Record<string, unknown>, channelId: string | undefined, authorized: () => boolean, execution: SettingsExecution): Promise<{
358
- name: string;
359
- runtime: "windows";
360
- agent: import("./windows-agents.js").WindowsAgent;
361
- }>;
362
- /** Admin-only settings path: validate first, then close the exact old launch before changing cold fields. */
363
- updateNativePaneConfig(name: string, patch: Partial<NativeRuntimePatch>, authorized: () => boolean, transaction?: Pick<SettingsExecution, "mutate" | "complete">): Promise<ReturnType<FleetWindowsRuntime["update"]>>;
364
- private localNativePaneEndpoint;
365
- /** Persistent ownership is independent of the exec worker's per-turn capabilities. */
366
- private nativePanes;
367
- /** Prepare only bundled role files; this neither switches General nor starts a provider process. */
368
- prepareWindowsGeneralWorkspace(name: string, machineId: string, cli: "codex" | "claude-code", bindingId: string, authorized: () => boolean): Promise<import("./runtime-general-protocol.js").GeneralWorkspaceReceipt>;
369
- private readonly generalLocationFlights;
370
- private readonly generalAttentionEpisodes;
371
- private generalBindings;
372
- generalLocations(): unknown;
373
- /** Pure preflight for the confirmation diff and stale-tab refusal; never prepares files or starts a CLI. */
374
- previewGeneralLocation(raw: unknown): {
375
- input: GeneralSwitchInput;
376
- summary: string[];
377
- connections: string[];
378
- };
379
- /** All entry points, including automatic native recovery, must respect an interrupted binding switch. */
380
- assertGeneralBindingStart(name: string, config: InstanceConfig): void;
381
- /** Only the Settings replay's confirmed admin can enter; the whole switch owns one lifecycle transition. */
382
- switchGeneralLocation(raw: unknown, authorized: () => boolean, execution: SettingsExecution): Promise<{
383
- started: boolean;
384
- message: string;
385
- }>;
386
- /** An offline PC or a confirmed binding boundary holds old waiting input; it never becomes another conversation's queue. */
387
- private holdGeneralOldDeliveries;
388
- generalLocationDeliveryHold(name: string): string | null;
389
- private generalLocationAttention;
390
- nativePaneFor(name: string, config: InstanceConfig, assertCurrent: () => void): Promise<import("./native-pane-lifecycle.js").NativePaneLifecycle>;
391
- recoverNativePane(name: string, launchId: string, authorized: () => boolean): Promise<void>;
392
- holdNativePaneRecovery(name: string, error: unknown): boolean;
393
- startFreshNativePane(name: string, launchId: string, sessionId: string | null, authorized: () => boolean): Promise<void>;
394
- nativePanePinnedSession(name: string): string | null;
395
- onNativePaneRecoverySettled(name: string): void;
396
- setNativePanePaused(name: string, paused: boolean): void;
397
- closeRetainedNativePane(name: string): Promise<void>;
398
- reconcileNativePaneBeforeStart(name: string, daemon: Daemon): Promise<boolean>;
399
- /** M-2255: the Windows runtimes' switches the fleet's own state reflects (null until the start-up has applied them). */
400
- private runtimeEffects;
401
- private runtimeEffectsScheduled;
402
- private localPaneDrain;
403
- private remotePaneDrain;
404
- /** Revoke admissions synchronously; keep the captured transport only long enough for exact owned closes. */
405
- private drainNativeRuntime;
406
- /**
407
- * M-2255: Settings → Runtime's switches (fleet.yaml `runtimes`, or their environment override) in force — set each time
408
- * the configuration in force changes (a load, a save, a reload's rollback), next to the web authority's. Every gate reads
409
- * them at once; what the fleet itself holds (paired computers' connections, this PC's Windows process, agents' tool
410
- * sessions) follows just after, outside the save that changed them (applyRuntimeSwitches): no restart is needed.
411
- */
412
- private observeRuntimeSwitches;
413
- /**
414
- * Turned off: what it allowed ends now — the paired computers' connections (their agents show as offline) or this PC's
415
- * Windows process (a turn in progress is cancelled, as when the fleet stops), and those agents' tool sessions.
416
- * Turned on: the Windows agents are registered and their chat history read, as at start-up.
417
- */
418
- private applyRuntimeSwitches;
419
- /** An unavailable opt-in runtime must not prevent the Linux fleet from starting or restoring its own history. */
420
- private initializeNativeInstances;
421
- /** Native CLIs are headless: the manager owns the durable delivery generation instead of a tmux daemon. */
422
- private deliveryBootId;
423
334
  private rawFleetConfig;
424
335
  private rawFleetDocument;
425
336
  /** #2208: the paths a saveFleetConfig() wrote, for its check that nothing else changed. */
@@ -436,7 +347,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
436
347
  get primaryWorld(): AdapterWorld | undefined;
437
348
  readonly routing: RoutingEngine;
438
349
  get routingTable(): Map<string, RouteTarget>;
439
- instanceIpcClients: Map<string, InstanceClient>;
350
+ instanceIpcClients: Map<string, IpcClient>;
440
351
  scheduler: Scheduler | null;
441
352
  private configPath;
442
353
  /** SIGHUPs received before startAll finishes are replayed once startup is safe. */
@@ -546,6 +457,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
546
457
  private startupRetryNotices;
547
458
  /** Unsupported-CLI refusals waiting to go out, grouped by reason (#1109). */
548
459
  private unsupportedCliNotices;
460
+ private kiroCompatibilityHolds;
549
461
  private kiroIncompatNotices;
550
462
  /** Backoff between automatic startup retries; the last step repeats while the backend is down. */
551
463
  static readonly STARTUP_RETRY_BACKOFF_MS: number[];
@@ -573,6 +485,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
573
485
  private kiroMigrationRuns;
574
486
  /** #1386 "Needs you": the list, its live chat messages and Acknowledge. Started with the fleet (finishStartup). */
575
487
  private needsYou;
488
+ private missedOfflineStore;
576
489
  private configHistory;
577
490
  private configHistoryTimer;
578
491
  private loadedFleetSource;
@@ -681,6 +594,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
681
594
  private discordPresenceEagerPending;
682
595
  private discordPresenceInFlight;
683
596
  private static readonly DISCORD_PRESENCE_REFRESH_MS;
597
+ /** #3066 §1d: how often a fleet with no Discord bot reads the quota for its history (the user's choice: 30 min). */
598
+ static readonly QUOTA_BACKGROUND_READ_MS: number;
599
+ private quotaReadTimer;
684
600
  /** Days of event/activity history to keep. */
685
601
  private static readonly EVENT_LOG_RETENTION_DAYS;
686
602
  private watchdogTimer;
@@ -875,8 +791,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
875
791
  * authorizing revoked links and cookies until the fleet restarted.
876
792
  */
877
793
  private settingsGeneration;
878
- /** #2942: the settings baseline the agent-requested Windows changes are checked against (set with the gate). */
879
- private settingsBaselineReader;
880
794
  private settingsRuntimeRevision;
881
795
  private settingsConfirmation;
882
796
  private settingsControl;
@@ -901,38 +815,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
901
815
  * still hears it: a notice, not a step.
902
816
  */
903
817
  private settingsSelfConfirmation;
904
- /**
905
- * alpha.2 (M-2300; #2973's agent requests, junsion's §6): on a fleet with no chat connection there is no General to
906
- * post an agent's Windows request in — it waited for `agend settings confirm` on the host. Its owner (decision
907
- * 28c2d3a3: the `agend web --code` session on this computer, web-verified) now sees and decides it from the web's
908
- * Needs you. The authority is asked from the request each time, and again at execution by the store (`current`):
909
- * still that owner now (this computer, not revoked, signed out or run out), still a fleet with no chat connection,
910
- * never over the public link. Anyone else — a guest, a LAN or public-link session, a chat-connected fleet's admin —
911
- * gets nothing (a chat fleet keeps General's card as its way).
912
- */
913
- /**
914
- * #2997 review (Prism P2): how many times an agent's request came or was decided — in a web-only fleet's status frame,
915
- * so a page that never hears the stream's ping (one polling /ui/poll, one reconnecting, a tab from before the upgrade)
916
- * reads the list again when it moves. A count, nothing more.
917
- */
918
- private agentProposalsRev;
919
- private agentProposalOwner;
920
- /** alpha.2: the agents' requests waiting for this web-only fleet's owner, or null when the reader is not that owner. */
921
- webAgentProposals(req: IncomingMessage): SettingsPendingView[] | null;
922
- /**
923
- * alpha.2: the owner's Approve or Reject of an agent's request. The store claims it before its first await (a second
924
- * click, from here or the host, finds it no longer pending) and asks the owner, the request (its fleet generation and
925
- * Windows switch) and the target machine again before and while it runs the same creation code the web uses. The
926
- * answer is always the request as it now stands: applied (with the new agent's name), rejected, expired, stale or
927
- * failed (with its reason), or already decided.
928
- */
929
- webDecideAgentProposal(req: IncomingMessage, id: string, decision: "confirm" | "reject"): Promise<{
930
- status: number;
931
- body: Record<string, unknown>;
932
- }>;
933
- /** A confirmation belongs to the server route/lifetime, not the availability of General's model. */
934
- private settingsGeneralRoute;
935
- /** Connected, same-platform, unaffected server routes can post cards even while the model is offline. */
818
+ /** #2170: the Generals a chat card could be posted in (promptSettingsChange's rule): connected, on the platform, unaffected. */
936
819
  private settingsNoticeGenerals;
937
820
  /**
938
821
  * #2170: General's notice of a change confirmed from the web — the first General a chat card could have been posted
@@ -941,17 +824,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
941
824
  private settingsWebConfirmedNotice;
942
825
  /** Exact configured effect owners; this does not depend on prompt location. */
943
826
  private settingsChatAuthority;
944
- /**
945
- * #2942: a Windows create or settings change an AGENT asked for. Nothing is created or written here: it becomes a
946
- * pending settings change whose General card a fleet admin must confirm (promptSettingsChange — the same admin rule
947
- * as every card). Its apply runs the same creation/patch code the web uses, inside the store's SettingsExecution, with
948
- * the confirming admin, the Windows switch and the target machine asked again at that moment.
949
- */
950
- private proposeAgentWindowsChange;
951
- /** #2942: create_instance with runtime "windows" from an agent: validated like the web, then held for General. */
952
- requestWindowsCreate(requester: string, rawArgs: Record<string, unknown>): Promise<SettingsPendingView>;
953
- /** #2942: update_instance_config on a Windows agent: only the fields the web editor allows, held for General. */
954
- requestWindowsConfig(requester: string, name: string, patch: Record<string, unknown>): Promise<SettingsPendingView>;
955
827
  private promptSettingsChange;
956
828
  private kiroMigrateDeps;
957
829
  /**
@@ -1025,6 +897,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1025
897
  * startup-only key at startup. See checkStartupSignatureConsistency(). */
1026
898
  private fleetSignatureMismatch;
1027
899
  private healthServerListening;
900
+ private agentCredentialsCache?;
901
+ get agentCredentials(): AgentCredentials;
1028
902
  constructor(dataDir: string);
1029
903
  /** #1266: a reply's buttons — the store (reply-buttons.db) and what a click does. Created on first use. */
1030
904
  private replyButtonsCtl;
@@ -1124,11 +998,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1124
998
  private reconcileQueueWorkers;
1125
999
  private createQueueWorker;
1126
1000
  private dispatchDurableDelivery;
1127
- /** The ordinary durable lane, with provider completion proof instead of terminal/IPC submission proof. */
1128
- private dispatchNativeDurableDelivery;
1129
- /** A runtime's persisted completion can outlive this manager. Resolve its original delivery fence, never send
1130
- * the prompt again, and reconstruct a missing peer report using the same durable operation ID. */
1131
- private reconcileRemoteDelivery;
1132
1001
  private waitForDurableLaneRelease;
1133
1002
  private spawnConcurrency;
1134
1003
  /** #1685: "elevated" or "critical" while host memory pressure slows or holds new agents; otherwise null (an
@@ -1360,6 +1229,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1360
1229
  /** Board 003648ac: a web /compact followed to its end, from the transcript the Log reads (none: nothing to follow). */
1361
1230
  private compactWatchService;
1362
1231
  private get compactWatch();
1232
+ /**
1233
+ * Claude history in the View: an instance's earlier conversation for its View, from the transcript the Log reads —
1234
+ * the View's route applied its own access rules first (view-api.ts); the Log's switch plays no part.
1235
+ */
1236
+ viewHistory(name: string, q: ViewHistoryQuery): Promise<ViewHistoryAnswer | null>;
1363
1237
  /** #1218: GET /ui/steps — an instance's steps, read on demand (null: no such instance). */
1364
1238
  logSteps(name: string, q: LogQuery): Promise<LogAnswer | null>;
1365
1239
  /**
@@ -1733,6 +1607,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1733
1607
  * first unattended start and every scheduled retry.
1734
1608
  */
1735
1609
  private stopOnUnsupportedCli;
1610
+ /** No pane is needed for a compatibility refusal to remain in Needs you. */
1611
+ setKiroCompatibilityHold(name: string, message: string | null): void;
1736
1612
  /**
1737
1613
  * LifecycleContext: a kiro instance the installed kiro-cli cannot run as
1738
1614
  * configured (#1109) — at start, or at a respawn after kiro-cli replaced
@@ -1853,8 +1729,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1853
1729
  /** #1742: `/start web` from a fleet admin: the /web menu right here in the DM, for the General this bot serves. */
1854
1730
  private startWebInDm;
1855
1731
  private getPublicWebLink;
1856
- /** The public link's wiring to this fleet (a test builds one with the tunnel itself stubbed: `ensure`, `provider`). */
1857
- private publicWebLinkDeps;
1858
1732
  private publicLinkAutoOpen;
1859
1733
  /**
1860
1734
  * #named-link-ttl: the admin who last opened a named-tunnel link from /web, with the live binding — only while they
@@ -2192,6 +2066,38 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2192
2066
  /** Start all instances from fleet config */
2193
2067
  startAll(configPath: string): Promise<void>;
2194
2068
  private startAllWithinDeadline;
2069
+ /**
2070
+ * #3066 §1d (the user: yes, every 30 min): the quota history (usage/quota-history.ts) records only the readings AgEnD
2071
+ * makes. A Discord bot's presence refresh reads every 15 min; without one, nothing reads while nobody looks. So, with no
2072
+ * Discord bot and while some account has a running agent, read every 30 min — the same cached read (its 5-minute TTL
2073
+ * still bounds the vendor calls), recorded like any other.
2074
+ */
2075
+ private quotaNotices;
2076
+ private stopQuotaObserver;
2077
+ private quotaNoticePolicy;
2078
+ private startQuotaBackgroundReads;
2079
+ /** #3066 §1: the latest estimates, by `provider\0metric` (what usage-api's lookup reads, synchronously). */
2080
+ private capacityEstimates;
2081
+ private capacityTimer;
2082
+ static readonly CAPACITY_REFRESH_MS: number;
2083
+ /**
2084
+ * #3066 §1: estimate each account's weekly 100% from the quota history (§1d) and the usage ledger's hours — both read
2085
+ * asynchronously, the arithmetic small (usage/capacity.ts). An account is its usage provider id ("claude",
2086
+ * "claude:hsinlin", "codex:yanxianchen"): its hours are the ledger sources of that backend under that credential profile
2087
+ * (Codex's "unrecorded" hours are no account's). A per-model weekly ("Sonnet (weekly)") counts only that model's tokens.
2088
+ *
2089
+ * Prism #3073: no estimate rather than a wrong one —
2090
+ * - a window is measured only where the ledger has its hours: kept (31 days) and scanned (`days.coverage`) for every
2091
+ * instance of the account's backend, and every instance whose hours count for it; the quota history goes back 12 weeks;
2092
+ * - a profile literally named "default", "unknown" or "unrecorded" (configured, on disk, or in the quota history) makes
2093
+ * those hours ambiguous: neither the host
2094
+ * account nor the named one is estimated (each would be credited the other's use, or lose its own);
2095
+ * - only a metric the vendor marks per-model (`scope: "model"`) is filtered by model; another named weekly pool
2096
+ * ("Luna Reserve (weekly)", Antigravity pools) is no model name and is not estimated.
2097
+ */
2098
+ refreshCapacity(): Promise<number>;
2099
+ /** One background quota read, when nothing else reads (no Discord bot) and an account has a running agent. */
2100
+ backgroundQuotaRead(): Promise<boolean>;
2195
2101
  /** Keep Discord profile activity aligned with the same cached usage source as /usage. */
2196
2102
  private startDiscordUsagePresence;
2197
2103
  /**
@@ -2417,6 +2323,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2417
2323
  * copies retain their permissive handling when that identity is unknown.
2418
2324
  */
2419
2325
  private isOwnerCommandCopy;
2326
+ /** File a Telegram update that was too old to inject; Needs you lists it until Acknowledge. */
2327
+ private recordMissedOffline;
2420
2328
  /**
2421
2329
  * #1085: coincident topic numbers must not route across Telegram groups.
2422
2330
  */
@@ -2574,6 +2482,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2574
2482
  * of the schedule response on IPC.
2575
2483
  */
2576
2484
  private performScheduleOp;
2485
+ /**
2486
+ * `post_decision` with `supersedes` changes a decision someone else may have recorded (it stops being active): the
2487
+ * same permission as `update_decision`, asked through the same live check (tool set + dashboard switches), on both
2488
+ * create paths. An empty or absent value supersedes nothing and needs nothing; anything else must be an id.
2489
+ */
2490
+ private decisionSupersedes;
2577
2491
  handleDecisionCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
2578
2492
  handleTaskCrudHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
2579
2493
  handleSetDisplayNameHttp(instance: string, name: string): Promise<unknown>;
@@ -2589,7 +2503,41 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2589
2503
  private handleTaskCrud;
2590
2504
  /** Create a forum topic via the adapter. Returns the message_thread_id. */
2591
2505
  createForumTopic(topicName: string, adapterId?: string): Promise<number | string>;
2592
- deleteForumTopic(topicId: number | string, adapterId?: string): Promise<void>;
2506
+ /**
2507
+ * Delete an agent and, unless asked not to, its own chat topic (user decision: by default). The topic is planned
2508
+ * before the removal (its id and bot go with the fleet.yaml entry) and deleted through the agent's OWN bot after it;
2509
+ * the outcome is the platform's answer (instance-topic-delete.ts). A topic that cannot go never fails the removal.
2510
+ */
2511
+ removeInstanceAndTopic(name: string, authorization: ExplicitInstanceRemoval, opts: {
2512
+ deleteTopic: boolean;
2513
+ execution?: SettingsExecution;
2514
+ }): Promise<TopicDeleteOutcome>;
2515
+ /** #3055: destinations whose platform deletion is running now; a binding to one waits until it is over. */
2516
+ private readonly topicDeletionsInFlight;
2517
+ /** True while a topic with this id is being deleted on any connection (a new binding of it is refused meanwhile). */
2518
+ isTopicDeletionInFlight(topicId: number | string): boolean;
2519
+ /**
2520
+ * #3055 review r2 (Prism P1-3): would this instance config bind a topic whose deletion is running now? Compared by
2521
+ * physical destination, so the same thread number in another Telegram group is not held. Settings asks it at commit.
2522
+ */
2523
+ topicBindingInFlight(inst: {
2524
+ channel_id?: unknown;
2525
+ topic_id?: unknown;
2526
+ }): boolean;
2527
+ /** Any topic deletion running now (a connection's group or General may not be re-pointed meanwhile). */
2528
+ topicDeletionPending(): boolean;
2529
+ /** The physical destination of `topicId` on the bot `adapterId`. */
2530
+ private destinationFor;
2531
+ /** The adapter of the bot `adapterId` names — never a substitute for a bot that is not there. */
2532
+ private instanceTopicAdapter;
2533
+ /**
2534
+ * Topic ownership by physical destination (#3055 review, Prism P1): an instance's topic is where its bot's platform
2535
+ * puts it (a Telegram group + thread, a Discord channel), so two bots in one group, or two instances on one
2536
+ * channel, are seen to share it; and every connection's own General is protected, with or without a General agent.
2537
+ */
2538
+ private topicOwnership;
2539
+ /** What deleting `name`'s topic would act on: its own bot only — a bot that is not there is never substituted. */
2540
+ private planInstanceTopicDelete;
2593
2541
  getForumTopicDeleter(adapterId?: string): ((topicId: number | string) => Promise<void>) | null;
2594
2542
  private topicCleanupTimer;
2595
2543
  private sessionPruneTimer;
@@ -2674,8 +2622,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2674
2622
  private writingFleetDocument;
2675
2623
  getSettingsConfigPath(): string;
2676
2624
  removeInstance(name: string, authorization: ExplicitInstanceRemoval, execution?: SettingsExecution): Promise<void>;
2677
- /** Shared instance metadata goes with a native identity; its Windows workspace and provider sessions stay intact. */
2678
- private nativeInstanceRemoved;
2679
2625
  private removeInstanceOwned;
2680
2626
  startStatuslineWatcher(name: string): void;
2681
2627
  stopStatuslineWatcher(name: string): void;
@@ -3339,89 +3285,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3339
3285
  * again. A fleet with a chat connection, another session, or another peer: nothing (§3 as before).
3340
3286
  */
3341
3287
  authorizeHostSession(session: SessionRecord, peer: WebPeer): void;
3342
- private webRemoteAccessState;
3343
- /** The authenticator, the outside switch and the wrong-code limiter (web-remote-access.json), read on first use. */
3344
- webRemoteAccess(): WebRemoteAccess | null;
3345
- /** "Allow connections from outside" is on (an app set up) and this is a web-only fleet. */
3346
- private outsideOn;
3347
- /** The link connections from outside opened, while it is open and still theirs: its exposure. Else null. */
3348
- private outsideLink;
3349
- /**
3350
- * The request's live session, asked again each time `current()` is called (its own cookie authenticated anew, the same
3351
- * handle): this web-only fleet's owner — this computer's admin, on this computer (`hostOnly`), or also signed in from
3352
- * outside — and web-verified now. Null when it is not (a guest, a LAN session, a chat fleet's admin, nobody).
3353
- */
3354
- private liveOwner;
3355
- /** Every session signed in from outside ends (and the authorizations kept for them). */
3356
- private endOutsideSessions;
3357
- /**
3358
- * #1939 §10 / #3008: a stored receipt's authority as it reads now — the web authority state, and for this computer's
3359
- * admin from outside the switch and the last revocation of remote authority (Prism P2 2).
3360
- */
3361
- receiptAuthorityNow(stored: HumanAuthority, state?: AuthorityState): HumanAuthority;
3362
- /** #3008 (the sign-in page): this exposure is the outside link, open now. */
3363
- isOutsideLink(exposureId: string): boolean;
3364
- /** What Settings shows: set up or not, the switch, a wait in force, the link — its address only to this computer. */
3365
- webOutsideStatus(req: IncomingMessage): {
3366
- webOnly: boolean;
3367
- here: boolean;
3368
- enrolled: boolean;
3369
- enrolledAt: number | null;
3370
- outside: boolean;
3371
- pausedForMs: number;
3372
- link: {
3373
- state: string;
3374
- url?: string;
3375
- expiresAt?: number;
3376
- noExpiry?: true;
3377
- quick: boolean;
3378
- } | null;
3379
- };
3380
- /** Set up (or set up again): a new secret, shown once to this computer's admin. Null: not them. */
3381
- webOutsideBeginEnrollment(req: IncomingMessage): {
3382
- secret: string;
3383
- uri: string;
3384
- expiresInMs: number;
3385
- } | null;
3386
- /** The new app's first code: on "ok" it replaces the old one, whose sessions from outside end. */
3387
- webOutsideConfirmEnrollment(req: IncomingMessage, code: string): "ok" | "wrong" | "expired" | "unsaved" | "not_here";
3388
- /** Forget the app: the switch goes off, the link closes, every session from outside ends. */
3389
- webOutsideRemove(req: IncomingMessage): "ok" | "unsaved" | "not_here";
3390
- /** The switch. On: needs an app set up; the link opens. Off: it closes and every session from outside ends. */
3391
- webOutsideSwitch(req: IncomingMessage, on: boolean): "ok" | "not_enrolled" | "not_here" | "not_allowed" | "unsaved";
3392
- private outsideAttempt;
3393
- private outsideOpening;
3394
- /**
3395
- * Open the outside link: an attempt after each delay in turn until one opens (#3008 B: twice more at most — the quick
3396
- * link's address service limits how often it may be asked). Every attempt asks again: the switch still on, the fleet
3397
- * running. A final failure: one Notice; the switch stays on, so the next start tries again.
3398
- */
3399
- private openOutsideLink;
3400
- private closeOutsideLink;
3401
- /** PublicWebLink.onClose for the outside link: what closed it decides what happens next (#3008 B). */
3402
- private outsideLinkClosed;
3403
- /**
3404
- * #3008 (auth-api POST /auth/totp): a sign-in through the outside link with the authenticator's code. "ok": the caller
3405
- * makes the session (SessionRecord.remote) and then calls authorizeOutsideSession. Each wrong code counts; a wait that
3406
- * starts is a Notice; a code that matches a step just outside the window logs how far this clock seems to be off.
3407
- */
3408
- outsideSignIn(exposureId: string | undefined, code: string): {
3409
- kind: "ok";
3410
- } | {
3411
- kind: "wrong";
3412
- } | {
3413
- kind: "paused";
3414
- retryAfterMs: number;
3415
- } | {
3416
- kind: "closed";
3417
- } | {
3418
- kind: "unavailable";
3419
- };
3420
- /**
3421
- * #3008: a session just made by outsideSignIn's "ok" is this computer's admin for its authorization's life. False: it
3422
- * could not be admitted (its handle not saved, #3015 review r3) — the caller ends it.
3423
- */
3424
- authorizeOutsideSession(session: SessionRecord, peer: WebPeer, label: string): boolean;
3425
3288
  private authorityStateStore;
3426
3289
  /**
3427
3290
  * #1939 §10: the switch, "Only this computer can authorize" and the revocation epoch in force for the configuration as
@@ -3660,9 +3523,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3660
3523
  * Make a tool summary safe to paste into a channel message.
3661
3524
  *
3662
3525
  * The text is agent-controlled (it is built from tool inputs — file paths,
3663
- * shell commands), so it gets flattened to one line, capped, and stripped of
3664
- * the two Discord mass-mention triggers. Neither channel renders it with a
3665
- * parse mode, so no markup escaping is needed beyond that.
3526
+ * shell commands), so it gets flattened to one line, secrets masked, capped,
3527
+ * and stripped of the two Discord mass-mention triggers. Masking comes BEFORE
3528
+ * the cap: a cap can cut a mask's context but must never be what hides (or
3529
+ * fails to hide) a secret. Neither channel renders it with a parse mode, so no
3530
+ * markup escaping is needed beyond that.
3666
3531
  */
3667
3532
  private static sanitizeActivity;
3668
3533
  /**
@@ -3702,6 +3567,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3702
3567
  */
3703
3568
  /** Configured threshold before elapsed time appears, in ms. */
3704
3569
  progressMinElapsedMs(): number;
3570
+ /** M-2391: when the instance's live (not retiring) bubble started — the current turn's start — or undefined. */
3571
+ private liveButtonStart;
3705
3572
  private startProgressTicker;
3706
3573
  /**
3707
3574
  * After a reply: give the instance REPLY_RETIRE_GRACE_MS to resume working; if
@@ -4316,8 +4183,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4316
4183
  * profile's, when it is named and has one), claude's account catalog included. Read only: never a probe.
4317
4184
  */
4318
4185
  modelCatalogFor(backend: string, instance: string | null): import("./backend/types.js").ModelOption[];
4319
- /** Host-default fallback only: Grok has no modeled profile home. Never construct a backend or start a probe. */
4320
- cliModelCatalogFor(backend: string, instance: string | null): Promise<import("./backend/types.js").ModelOption[]>;
4321
4186
  /**
4322
4187
  * #2072 (#2078 review): the snapshot as THIS instance would see it. Its sign-in on a backend is its own credential
4323
4188
  * profile's when it has one there — the host's default login says nothing about it. A profile's login is a file check
@@ -4788,5 +4653,3 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4788
4653
  getUiStatus(): unknown;
4789
4654
  private getUiStatusSync;
4790
4655
  }
4791
- /** alpha.2 (M-2300): the agent an applied Windows request created (its name, for the page's "Open chat"), or null. */
4792
- export declare function agentNameOf(view: SettingsPendingView): string | null;