@songsid/agend 2.3.5-alpha.7 → 2.3.5-alpha.9

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 (362) hide show
  1. package/dist/accounts-profiles.d.ts +6 -0
  2. package/dist/accounts-profiles.js +16 -0
  3. package/dist/accounts-profiles.js.map +1 -1
  4. package/dist/accounts-view.d.ts +17 -0
  5. package/dist/accounts-view.js +33 -6
  6. package/dist/accounts-view.js.map +1 -1
  7. package/dist/agent-cli-instructions.md +1 -1
  8. package/dist/agent-cli.js +5 -2
  9. package/dist/agent-cli.js.map +1 -1
  10. package/dist/agent-whats-new.js +5 -0
  11. package/dist/agent-whats-new.js.map +1 -1
  12. package/dist/apply-job.d.ts +5 -0
  13. package/dist/apply-job.js +10 -3
  14. package/dist/apply-job.js.map +1 -1
  15. package/dist/auth-api.d.ts +1 -1
  16. package/dist/auth-api.js +4 -2
  17. package/dist/auth-api.js.map +1 -1
  18. package/dist/authority/company-join.d.ts +16 -0
  19. package/dist/authority/company-join.js +37 -0
  20. package/dist/authority/company-join.js.map +1 -0
  21. package/dist/authority/hub-initialization.d.ts +13 -0
  22. package/dist/authority/hub-initialization.js +30 -0
  23. package/dist/authority/hub-initialization.js.map +1 -0
  24. package/dist/backend/claude-code.d.ts +1 -0
  25. package/dist/backend/claude-code.js +13 -0
  26. package/dist/backend/claude-code.js.map +1 -1
  27. package/dist/backend/types.d.ts +4 -0
  28. package/dist/backend/types.js.map +1 -1
  29. package/dist/build-provenance.json +1 -1
  30. package/dist/channel/mcp-tools.js +2 -2
  31. package/dist/channel/mcp-tools.js.map +1 -1
  32. package/dist/claude-model-minimum.d.ts +7 -0
  33. package/dist/claude-model-minimum.js +16 -0
  34. package/dist/claude-model-minimum.js.map +1 -0
  35. package/dist/config-validator.js +2 -1
  36. package/dist/config-validator.js.map +1 -1
  37. package/dist/daemon.d.ts +43 -1
  38. package/dist/daemon.js +176 -27
  39. package/dist/daemon.js.map +1 -1
  40. package/dist/decision-list.d.ts +2 -0
  41. package/dist/decision-list.js +1 -1
  42. package/dist/decision-list.js.map +1 -1
  43. package/dist/fleet-manager.d.ts +75 -3
  44. package/dist/fleet-manager.js +462 -53
  45. package/dist/fleet-manager.js.map +1 -1
  46. package/dist/general-knowledge/skills/concepts/SKILL.md +14 -3
  47. package/dist/general-knowledge/skills/delegation-playbook/SKILL.md +4 -1
  48. package/dist/general-knowledge/steering/core-rules.md +1 -1
  49. package/dist/hub/catalog.d.ts +1 -1
  50. package/dist/hub/catalog.js +151 -33
  51. package/dist/hub/catalog.js.map +1 -1
  52. package/dist/hub/client.js +4 -0
  53. package/dist/hub/client.js.map +1 -1
  54. package/dist/hub/compose/member.d.ts +6 -0
  55. package/dist/hub/compose/member.js +9 -1
  56. package/dist/hub/compose/member.js.map +1 -1
  57. package/dist/hub/compose/server.d.ts +55 -1
  58. package/dist/hub/compose/server.js +76 -10
  59. package/dist/hub/compose/server.js.map +1 -1
  60. package/dist/hub/directory/directory.d.ts +2 -0
  61. package/dist/hub/directory/directory.js +49 -4
  62. package/dist/hub/directory/directory.js.map +1 -1
  63. package/dist/hub/directory/types.d.ts +2 -0
  64. package/dist/hub/directory/types.js.map +1 -1
  65. package/dist/hub/enrollment-budget.d.ts +6 -0
  66. package/dist/hub/enrollment-budget.js +24 -0
  67. package/dist/hub/enrollment-budget.js.map +1 -0
  68. package/dist/hub/group-policy/admin-api.d.ts +30 -0
  69. package/dist/hub/group-policy/admin-api.js +83 -0
  70. package/dist/hub/group-policy/admin-api.js.map +1 -0
  71. package/dist/hub/group-policy/admin-control.d.ts +34 -0
  72. package/dist/hub/group-policy/admin-control.js +258 -0
  73. package/dist/hub/group-policy/admin-control.js.map +1 -0
  74. package/dist/hub/group-policy/admin-dto.d.ts +9 -1
  75. package/dist/hub/group-policy/admin-dto.js.map +1 -1
  76. package/dist/hub/group-policy/admin-facts.d.ts +17 -0
  77. package/dist/hub/group-policy/admin-facts.js +33 -0
  78. package/dist/hub/group-policy/admin-facts.js.map +1 -0
  79. package/dist/hub/group-policy/admin-impact.d.ts +51 -0
  80. package/dist/hub/group-policy/admin-impact.js +88 -0
  81. package/dist/hub/group-policy/admin-impact.js.map +1 -0
  82. package/dist/hub/group-policy/authorization.d.ts +22 -0
  83. package/dist/hub/group-policy/authorization.js +147 -2
  84. package/dist/hub/group-policy/authorization.js.map +1 -1
  85. package/dist/hub/group-policy/impact-inventory.d.ts +21 -0
  86. package/dist/hub/group-policy/impact-inventory.js +75 -0
  87. package/dist/hub/group-policy/impact-inventory.js.map +1 -0
  88. package/dist/hub/group-policy/resources.d.ts +13 -1
  89. package/dist/hub/group-policy/resources.js +92 -23
  90. package/dist/hub/group-policy/resources.js.map +1 -1
  91. package/dist/hub/group-policy/store.d.ts +11 -0
  92. package/dist/hub/group-policy/store.js +57 -2
  93. package/dist/hub/group-policy/store.js.map +1 -1
  94. package/dist/hub/group-policy/welcome.d.ts +36 -0
  95. package/dist/hub/group-policy/welcome.js +55 -0
  96. package/dist/hub/group-policy/welcome.js.map +1 -0
  97. package/dist/hub/http/compose.d.ts +2 -0
  98. package/dist/hub/http/compose.js +184 -8
  99. package/dist/hub/http/compose.js.map +1 -1
  100. package/dist/hub/http/core.d.ts +2 -0
  101. package/dist/hub/http/core.js +10 -1
  102. package/dist/hub/http/core.js.map +1 -1
  103. package/dist/hub/http/deps.d.ts +10 -0
  104. package/dist/hub/http/schema.js +4 -0
  105. package/dist/hub/http/schema.js.map +1 -1
  106. package/dist/hub/init/browser-certificate.d.ts +6 -1
  107. package/dist/hub/init/browser-certificate.js +22 -1
  108. package/dist/hub/init/browser-certificate.js.map +1 -1
  109. package/dist/hub/init/initializer.d.ts +11 -1
  110. package/dist/hub/init/initializer.js +202 -83
  111. package/dist/hub/init/initializer.js.map +1 -1
  112. package/dist/hub/init/layout.js +1 -1
  113. package/dist/hub/init/layout.js.map +1 -1
  114. package/dist/hub/init/text.js +2 -2
  115. package/dist/hub/init/text.js.map +1 -1
  116. package/dist/hub/init/types.d.ts +32 -4
  117. package/dist/hub/init/types.js.map +1 -1
  118. package/dist/hub/init/web-audit-import.d.ts +12 -0
  119. package/dist/hub/init/web-audit-import.js +39 -0
  120. package/dist/hub/init/web-audit-import.js.map +1 -0
  121. package/dist/hub/init/web-audit.d.ts +30 -0
  122. package/dist/hub/init/web-audit.js +42 -0
  123. package/dist/hub/init/web-audit.js.map +1 -0
  124. package/dist/hub/init/web-error.d.ts +6 -0
  125. package/dist/hub/init/web-error.js +8 -0
  126. package/dist/hub/init/web-error.js.map +1 -0
  127. package/dist/hub/init/web-http.d.ts +9 -0
  128. package/dist/hub/init/web-http.js +103 -0
  129. package/dist/hub/init/web-http.js.map +1 -0
  130. package/dist/hub/init/web.d.ts +118 -0
  131. package/dist/hub/init/web.js +428 -0
  132. package/dist/hub/init/web.js.map +1 -0
  133. package/dist/hub/init/wizard.js +1 -3
  134. package/dist/hub/init/wizard.js.map +1 -1
  135. package/dist/hub/join/client.d.ts +35 -0
  136. package/dist/hub/join/client.js +112 -0
  137. package/dist/hub/join/client.js.map +1 -0
  138. package/dist/hub/join/descriptor.d.ts +45 -0
  139. package/dist/hub/join/descriptor.js +52 -0
  140. package/dist/hub/join/descriptor.js.map +1 -0
  141. package/dist/hub/join/fleet-authority.d.ts +2 -0
  142. package/dist/hub/join/fleet-authority.js +3 -0
  143. package/dist/hub/join/fleet-authority.js.map +1 -0
  144. package/dist/hub/join/http.d.ts +8 -0
  145. package/dist/hub/join/http.js +112 -0
  146. package/dist/hub/join/http.js.map +1 -0
  147. package/dist/hub/join/invitation.d.ts +28 -0
  148. package/dist/hub/join/invitation.js +28 -0
  149. package/dist/hub/join/invitation.js.map +1 -0
  150. package/dist/hub/join/local-journal.d.ts +84 -0
  151. package/dist/hub/join/local-journal.js +65 -0
  152. package/dist/hub/join/local-journal.js.map +1 -0
  153. package/dist/hub/join/local.d.ts +116 -0
  154. package/dist/hub/join/local.js +419 -0
  155. package/dist/hub/join/local.js.map +1 -0
  156. package/dist/hub/join/private.d.ts +3 -0
  157. package/dist/hub/join/private.js +46 -0
  158. package/dist/hub/join/private.js.map +1 -0
  159. package/dist/hub/join/protocol.d.ts +69 -0
  160. package/dist/hub/join/protocol.js +96 -0
  161. package/dist/hub/join/protocol.js.map +1 -0
  162. package/dist/hub/join/receipt.d.ts +42 -0
  163. package/dist/hub/join/receipt.js +75 -0
  164. package/dist/hub/join/receipt.js.map +1 -0
  165. package/dist/hub/join/service.d.ts +177 -0
  166. package/dist/hub/join/service.js +564 -0
  167. package/dist/hub/join/service.js.map +1 -0
  168. package/dist/hub/join/store.d.ts +97 -0
  169. package/dist/hub/join/store.js +87 -0
  170. package/dist/hub/join/store.js.map +1 -0
  171. package/dist/hub/join/trust.d.ts +13 -0
  172. package/dist/hub/join/trust.js +68 -0
  173. package/dist/hub/join/trust.js.map +1 -0
  174. package/dist/hub/member/pairing-api.d.ts +2 -0
  175. package/dist/hub/member/pairing-api.js +7 -1
  176. package/dist/hub/member/pairing-api.js.map +1 -1
  177. package/dist/hub/member/pairing-notices.d.ts +18 -0
  178. package/dist/hub/member/pairing-notices.js +60 -0
  179. package/dist/hub/member/pairing-notices.js.map +1 -0
  180. package/dist/hub/pairing-notices.d.ts +47 -0
  181. package/dist/hub/pairing-notices.js +246 -0
  182. package/dist/hub/pairing-notices.js.map +1 -0
  183. package/dist/hub/pairing.d.ts +39 -1
  184. package/dist/hub/pairing.js +316 -16
  185. package/dist/hub/pairing.js.map +1 -1
  186. package/dist/hub/protocol.d.ts +61 -0
  187. package/dist/hub/protocol.js +8 -1
  188. package/dist/hub/protocol.js.map +1 -1
  189. package/dist/hub/room-read-pacer.d.ts +14 -0
  190. package/dist/hub/room-read-pacer.js +51 -0
  191. package/dist/hub/room-read-pacer.js.map +1 -0
  192. package/dist/hub/rooms.d.ts +7 -1
  193. package/dist/hub/rooms.js +25 -13
  194. package/dist/hub/rooms.js.map +1 -1
  195. package/dist/hub/runtime.d.ts +8 -1
  196. package/dist/hub/runtime.js +13 -0
  197. package/dist/hub/runtime.js.map +1 -1
  198. package/dist/hub/server.d.ts +3 -0
  199. package/dist/hub/server.js +18 -0
  200. package/dist/hub/server.js.map +1 -1
  201. package/dist/hub/session-directory-transition.d.ts +48 -0
  202. package/dist/hub/session-directory-transition.js +118 -0
  203. package/dist/hub/session-directory-transition.js.map +1 -0
  204. package/dist/hub/session-epoch.d.ts +16 -0
  205. package/dist/hub/session-epoch.js +50 -0
  206. package/dist/hub/session-epoch.js.map +1 -0
  207. package/dist/hub/sessions.d.ts +13 -0
  208. package/dist/hub/sessions.js +36 -16
  209. package/dist/hub/sessions.js.map +1 -1
  210. package/dist/hub/settings-api.d.ts +50 -0
  211. package/dist/hub/settings-api.js +92 -0
  212. package/dist/hub/settings-api.js.map +1 -0
  213. package/dist/hub/settings-commit.d.ts +95 -0
  214. package/dist/hub/settings-commit.js +490 -0
  215. package/dist/hub/settings-commit.js.map +1 -0
  216. package/dist/hub/settings-directory-decision.d.ts +433 -0
  217. package/dist/hub/settings-directory-decision.js +236 -0
  218. package/dist/hub/settings-directory-decision.js.map +1 -0
  219. package/dist/hub/settings-directory-proof.d.ts +77 -0
  220. package/dist/hub/settings-directory-proof.js +303 -0
  221. package/dist/hub/settings-directory-proof.js.map +1 -0
  222. package/dist/hub/store.d.ts +12 -2
  223. package/dist/hub/store.js +9 -5
  224. package/dist/hub/store.js.map +1 -1
  225. package/dist/hub/types.d.ts +15 -2
  226. package/dist/hub-host-settings.d.ts +48 -0
  227. package/dist/hub-host-settings.js +85 -0
  228. package/dist/hub-host-settings.js.map +1 -0
  229. package/dist/instance-lifecycle.d.ts +3 -0
  230. package/dist/instance-lifecycle.js +4 -0
  231. package/dist/instance-lifecycle.js.map +1 -1
  232. package/dist/locale.js +54 -30
  233. package/dist/locale.js.map +1 -1
  234. package/dist/login-controller.d.ts +9 -1
  235. package/dist/login-controller.js +20 -1
  236. package/dist/login-controller.js.map +1 -1
  237. package/dist/login-flows.js +4 -2
  238. package/dist/login-flows.js.map +1 -1
  239. package/dist/office-share-page.js +1 -1
  240. package/dist/office-share-page.js.map +1 -1
  241. package/dist/outbound-handlers.js +1 -1
  242. package/dist/outbound-handlers.js.map +1 -1
  243. package/dist/outbound-schemas.d.ts +2 -0
  244. package/dist/outbound-schemas.js +4 -2
  245. package/dist/outbound-schemas.js.map +1 -1
  246. package/dist/pane-port.d.ts +1 -1
  247. package/dist/profile-signins.d.ts +107 -0
  248. package/dist/profile-signins.js +249 -0
  249. package/dist/profile-signins.js.map +1 -0
  250. package/dist/quickstart-api.js +2 -2
  251. package/dist/quickstart-api.js.map +1 -1
  252. package/dist/reply-buttons-controller.d.ts +5 -1
  253. package/dist/reply-buttons-controller.js +8 -4
  254. package/dist/reply-buttons-controller.js.map +1 -1
  255. package/dist/reply-buttons.d.ts +6 -2
  256. package/dist/reply-buttons.js +7 -3
  257. package/dist/reply-buttons.js.map +1 -1
  258. package/dist/scheduler/db.d.ts +10 -0
  259. package/dist/scheduler/db.js +38 -11
  260. package/dist/scheduler/db.js.map +1 -1
  261. package/dist/scheduler/types.d.ts +6 -1
  262. package/dist/settings-api.d.ts +9 -1
  263. package/dist/settings-api.js +200 -4
  264. package/dist/settings-api.js.map +1 -1
  265. package/dist/settings-confirmation.d.ts +1 -1
  266. package/dist/settings-confirmation.js +1 -1
  267. package/dist/settings-confirmation.js.map +1 -1
  268. package/dist/settings-effect.js +58 -0
  269. package/dist/settings-effect.js.map +1 -1
  270. package/dist/settings-http-confirmation.d.ts +3 -0
  271. package/dist/settings-http-confirmation.js +8 -5
  272. package/dist/settings-http-confirmation.js.map +1 -1
  273. package/dist/settings-request-capability.d.ts +5 -0
  274. package/dist/settings-request-capability.js +6 -1
  275. package/dist/settings-request-capability.js.map +1 -1
  276. package/dist/signin-keepalive.d.ts +2 -0
  277. package/dist/signin-keepalive.js +30 -2
  278. package/dist/signin-keepalive.js.map +1 -1
  279. package/dist/structured-signin-transport.d.ts +20 -2
  280. package/dist/structured-signin-transport.js +57 -6
  281. package/dist/structured-signin-transport.js.map +1 -1
  282. package/dist/team-membership.d.ts +7 -0
  283. package/dist/team-membership.js +10 -0
  284. package/dist/team-membership.js.map +1 -0
  285. package/dist/tmux-manager.d.ts +1 -1
  286. package/dist/tmux-manager.js +4 -1
  287. package/dist/tmux-manager.js.map +1 -1
  288. package/dist/topic-commands.js +1 -1
  289. package/dist/topic-commands.js.map +1 -1
  290. package/dist/ui/accounts-keepalive.js +10 -5
  291. package/dist/ui/accounts-manage.js +29 -11
  292. package/dist/ui/accounts-view.js +75 -28
  293. package/dist/ui/backend-signin.js +61 -16
  294. package/dist/ui/hub-attachments.js +3 -3
  295. package/dist/ui/hub-chat-strings.js +2 -0
  296. package/dist/ui/hub-client.js +50 -4
  297. package/dist/ui/hub-company-join-strings.js +74 -0
  298. package/dist/ui/hub-company-join.js +119 -0
  299. package/dist/ui/hub-group-policy.js +175 -0
  300. package/dist/ui/hub-group-strings.js +97 -0
  301. package/dist/ui/hub-owner-strings.js +12 -12
  302. package/dist/ui/hub-pairing-progress-strings.js +15 -0
  303. package/dist/ui/hub-quick-pairing.js +209 -0
  304. package/dist/ui/hub-quick-strings.js +43 -0
  305. package/dist/ui/hub-read-strings.js +7 -0
  306. package/dist/ui/hub-this-hub.js +112 -0
  307. package/dist/ui/hub-welcome.js +102 -0
  308. package/dist/ui/panel-hub.js +217 -28
  309. package/dist/ui/panel-needs.js +1 -1
  310. package/dist/ui/panel-settings.js +7 -4
  311. package/dist/ui/settings-apply.js +12 -5
  312. package/dist/ui/settings-devices.js +2 -2
  313. package/dist/ui/settings-dialogs.js +3 -1
  314. package/dist/ui/settings-hub-company-join.js +90 -0
  315. package/dist/ui/settings-hub-membership.js +20 -5
  316. package/dist/ui/settings-hub-preview.js +74 -0
  317. package/dist/ui/settings-hub-run.js +60 -0
  318. package/dist/ui/settings-hub-section.js +30 -3
  319. package/dist/ui/settings-hub.js +52 -11
  320. package/dist/ui/settings-registry.js +2 -0
  321. package/dist/ui/settings-restart-strings.js +17 -0
  322. package/dist/ui/settings-strings.js +6 -4
  323. package/dist/ui/shared/accounts-keepalive.css +11 -6
  324. package/dist/ui/shared/accounts.css +68 -18
  325. package/dist/ui/shared/app-i18n.js +4 -1
  326. package/dist/ui/shared/app-shell.js +39 -25
  327. package/dist/ui/shared/app.css +9 -8
  328. package/dist/ui/shared/chat-strings.js +13 -13
  329. package/dist/ui/shared/hub-chat.css +12 -0
  330. package/dist/ui/shared/hub-groups.css +28 -0
  331. package/dist/ui/shared/hub-owner.css +19 -1
  332. package/dist/ui/shared/hub.css +8 -1
  333. package/dist/ui/shared/setup-host-text.js +4 -1
  334. package/dist/ui/shared/signin.js +3 -1
  335. package/dist/ui/shared/usage-dialog.js +3 -72
  336. package/dist/ui/shared/usage-meter.js +84 -0
  337. package/dist/ui/shared/web-authorize.js +4 -4
  338. package/dist/ui/structured-signin.js +24 -6
  339. package/dist/update-dispatch.d.ts +32 -4
  340. package/dist/update-dispatch.js +146 -16
  341. package/dist/update-dispatch.js.map +1 -1
  342. package/dist/update-launch.d.ts +1 -1
  343. package/dist/update-launch.js +2 -2
  344. package/dist/update-launch.js.map +1 -1
  345. package/dist/update-marker.d.ts +2 -0
  346. package/dist/update-marker.js.map +1 -1
  347. package/dist/view-api.d.ts +2 -8
  348. package/dist/view-api.js +3 -9
  349. package/dist/view-api.js.map +1 -1
  350. package/dist/web-api.d.ts +7 -1
  351. package/dist/web-api.js +91 -14
  352. package/dist/web-api.js.map +1 -1
  353. package/dist/web-backend-login.d.ts +16 -2
  354. package/dist/web-backend-login.js +14 -0
  355. package/dist/web-backend-login.js.map +1 -1
  356. package/dist/web-notices.d.ts +9 -0
  357. package/dist/web-notices.js +19 -0
  358. package/dist/web-notices.js.map +1 -1
  359. package/dist/web-terminal.d.ts +7 -0
  360. package/dist/web-terminal.js +14 -2
  361. package/dist/web-terminal.js.map +1 -1
  362. package/package.json +1 -1
@@ -9,6 +9,8 @@ export interface DecisionTitle {
9
9
  id: string;
10
10
  title: string;
11
11
  scope: Decision["scope"];
12
+ /** A team decision's team. */
13
+ team?: string;
12
14
  /** The day it was last changed (YYYY-MM-DD). */
13
15
  date: string;
14
16
  tags?: string[];
@@ -21,7 +21,7 @@ export function decisionListAnswer(all, opts = {}) {
21
21
  if (opts.full === true)
22
22
  return all;
23
23
  const titles = all.map(d => ({
24
- id: d.id, title: d.title, scope: d.scope, date: (d.updated_at || d.created_at || "").slice(0, 10),
24
+ id: d.id, title: d.title, scope: d.scope, ...(d.team ? { team: d.team } : {}), date: (d.updated_at || d.created_at || "").slice(0, 10),
25
25
  ...(d.tags?.length ? { tags: d.tags } : {}),
26
26
  ...(d.status && d.status !== "active" ? { status: d.status } : {}),
27
27
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"decision-list.js","sourceRoot":"","sources":["../src/decision-list.ts"],"names":[],"mappings":"AAkBA,MAAM,CAAC,MAAM,oBAAoB,GAAG,6GAA6G,CAAC;AAElJ,sHAAsH;AACtH,SAAS,IAAI,CAAC,GAAwB,EAAE,EAAU;IAChD,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IACzC,IAAI,KAAK;QAAE,OAAO,KAAK,CAAC;IACxB,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/B,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAClD,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC7C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,GAAwB,EAAE,IAAI,GAAqC,EAAE;IACtG,IAAI,OAAO,IAAI,CAAC,EAAE,KAAK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AC,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;QACtI,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC3C,GAAG,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACnE,CAAC,CAAC,CAAC;IACJ,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;AAC3D,CAAC"}
@@ -93,6 +93,7 @@ import { type WebAccount } from "./web-profile.js";
93
93
  import type { WebPerson as WebPersonView } from "./web-api.js";
94
94
  import { ReplyButtonsController } from "./reply-buttons-controller.js";
95
95
  import { WebFileLedger } from "./web-upload.js";
96
+ import type { ActiveDecisionRow } from "./daemon.js";
96
97
  import { AppearanceTools } from "./web-appearance-tools.js";
97
98
  import { ModStore } from "./web-mod-store.js";
98
99
  import { type CachedImage } from "./web-images.js";
@@ -137,6 +138,7 @@ import { type AddResult, type RemoveResult } from "./accounts-profiles.js";
137
138
  import { type SignOutResult } from "./accounts-signout.js";
138
139
  import { MachineAccounts, type MachineActor, type MachineAccountResult } from "./machine-accounts.js";
139
140
  import { MachineSignIns } from "./machine-signins.js";
141
+ import { ProfileSignIns } from "./profile-signins.js";
140
142
  import { StormWindow } from "./storm-window.js";
141
143
  import { SpawnGate } from "./spawn-gate.js";
142
144
  import { BackendOutageTracker } from "./backend-outage.js";
@@ -318,6 +320,7 @@ export declare class RestartSupersededError extends Error {
318
320
  }
319
321
  export declare class FleetManager implements FleetContext, LifecycleContext, ArchiverContext, StatuslineWatcherContext, OutboundContext, AgentEndpointContext {
320
322
  dataDir: string;
323
+ private decisionSnapshot;
321
324
  private static signalTarget;
322
325
  private static sighupHandlerInstalled;
323
326
  /** Test seam: inject a spy to verify saveFleetConfig calls fsync. Default: fsyncSync. */
@@ -400,8 +403,21 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
400
403
  private hubMemberExposureApi;
401
404
  hubMemberExposures(): import("./hub/member/exposure-api.js").HubMemberExposureApi | null;
402
405
  attachHubMemberExposures(api: import("./hub/member/exposure-api.js").HubMemberExposureApi | null): void;
403
- /** S3c PR B: the member's pairing API, attached by S5's member composition (null: no Hub member here). */
406
+ /** M-2687: local host-session setup; controller creation stays lazy while the Hub is off. */
407
+ private hubSetupController;
408
+ private hubSetupInit;
409
+ hubSetupSession(req: IncomingMessage): import("./hub/init/types.js").HubInitHostOwner | null;
410
+ hubSetup(): Promise<import("./hub/init/web.js").HubWebInitializer>;
411
+ /** The member's company sign-in controller; separate from host-owned Hub initialization. */
412
+ private companyJoinController;
413
+ private companyJoinInit;
414
+ private companyObservedMembership;
415
+ private companyMembershipWrite;
416
+ hubCompanySession(req: IncomingMessage): import("./hub/join/local-journal.js").JoinLocalSession | null;
417
+ hubCompanyJoin(): Promise<import("./hub/join/local.js").CompanyJoinController>;
418
+ invalidateHubCompanyJoin(): void;
404
419
  private hubMemberPairingApi;
420
+ private hubPairingNotices;
405
421
  hubMemberPairing(): ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null;
406
422
  attachHubMemberPairing(api: ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null): void;
407
423
  private readonly generalLocationFlights;
@@ -451,6 +467,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
451
467
  private observeHubSwitches;
452
468
  /** Reads the raw configuration at run time (the newest wins); off and never started: returns before any import. */
453
469
  private applyHubSwitches;
470
+ /** M-2682: the one writer for sealed Hub settings, created with the Hub runtime. */
471
+ private hubSettingsWriter;
454
472
  /** Single flight: one import, one runtime, assigned once; every caller (and Stop) gets that same runtime. */
455
473
  private hubRuntimeCreated;
456
474
  /**
@@ -526,6 +544,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
526
544
  getHubHolds(): readonly import("./hub/runtime.js").HubHold[];
527
545
  hubBrowserCertificate(): import("./hub/browser-certificate.js").HubBrowserCertificateControl | null;
528
546
  hubRetention(): import("./hub/retention.js").HubRetentionControl | null;
547
+ /** M-2682: an unfinished sealed-settings commit; Hub setting saves wait until recover() has run. */
548
+ hubSettingsBusy(): boolean;
549
+ /** #3298 S-89: this fleet's own Hub offers group permissions (the page mark that shows Settings → Hub's Group permissions row). */
550
+ hubGroupPermissions(): boolean;
529
551
  private observeRuntimeSwitches;
530
552
  /**
531
553
  * Turned off: what it allowed ends now — the paired computers' connections (their agents show as offline) or this PC's
@@ -1985,6 +2007,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
1985
2007
  * Stopped/paused ClassicBot entries count too; their workspace is exactly
1986
2008
  * the one startClassicInstance builds, not this FleetManager's dataDir.
1987
2009
  */
2010
+ /** Take the startup snapshot of every active decision (text cut to 200 characters); see activeDecisions. */
2011
+ snapshotActiveDecisions(): void;
2012
+ /** The startup snapshot of active decisions, for a daemon's Active Decisions (it selects and caps its own). */
2013
+ activeDecisions(): readonly ActiveDecisionRow[];
1988
2014
  kiroPeerWorkingDirectories(name: string): string[];
1989
2015
  /**
1990
2016
  * Probe the same executable set exposed by the web backend catalog.
@@ -2429,6 +2455,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2429
2455
  beginUpdateProgress(adapter: ChannelAdapter, chatId: string, threadId: string | undefined, messageId: string): void;
2430
2456
  /** Persist the public response, wait for idle, then start the canonical service restart. */
2431
2457
  requestFullRestart(adapter: ChannelAdapter, chatId: string, threadId: string | undefined, messageId: string): Promise<boolean>;
2458
+ /**
2459
+ * S-92: the same tracked reload for a web-only fleet's Settings restart — no chat message to carry its progress: the
2460
+ * marker names the web (WEB_RESTART_TARGET), a refusal is a fleet Notice, and the next fleet says it is back as one.
2461
+ */
2462
+ private requestWebFullRestart;
2463
+ /**
2464
+ * S-92: a fleet (with no chat connection) that comes up from a web-only Settings restart says it is back as a fleet
2465
+ * Notice — the restart was announced as one. Anything else (a chat restart, an update, a plain boot): nothing here.
2466
+ */
2467
+ private announceWebRestartDone;
2468
+ private launchTrackedFullRestart;
2432
2469
  private isOwnedFullRestartMarker;
2433
2470
  /** Give current work the same bounded idle grace used by graceful reload. */
2434
2471
  private waitForFullRestartIdleGrace;
@@ -2896,6 +2933,24 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
2896
2933
  * create paths. An empty or absent value supersedes nothing and needs nothing; anything else must be an id.
2897
2934
  */
2898
2935
  private decisionSupersedes;
2936
+ /**
2937
+ * The scope (and team) a new decision gets. Team membership is read from fleet.yaml now. Omitted scope: the poster's
2938
+ * team when they are in exactly one, project (this exact directory) when they are in none; in several, they choose.
2939
+ * A team decision goes only to a team the poster is in.
2940
+ */
2941
+ decisionScopeFor(instance: string, scope: unknown, team: unknown): {
2942
+ scope: "project" | "team" | "fleet";
2943
+ team?: string;
2944
+ teams: string[];
2945
+ } | {
2946
+ error: string;
2947
+ };
2948
+ /**
2949
+ * #3421 review: a team decision is only for its team's current members — reading it back through an update (even an
2950
+ * empty one) or archiving it is refused to anyone else, exactly as list/get and supersede are. The refusal names it
2951
+ * "not found", as for an id that does not exist, and changes nothing. Project and fleet decisions: as before.
2952
+ */
2953
+ decisionHiddenFrom(instance: string, id: unknown): string | null;
2899
2954
  handleDecisionCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
2900
2955
  handleTaskCrudHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
2901
2956
  handleSetDisplayNameHttp(instance: string, name: string): Promise<unknown>;
@@ -3429,6 +3484,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
3429
3484
  * told as a Notice, and push it to the dashboard. False on any other fleet (its chat says it; nothing is kept).
3430
3485
  */
3431
3486
  private recordWebNotice;
3487
+ /** #3373 review P2: recordWebNotice for a notice that must be on disk first — true only once it was written. */
3488
+ private recordWebNoticeDurable;
3432
3489
  private static readonly FLEET_ERROR_THROTTLE_MS;
3433
3490
  private fleetErrorNotices;
3434
3491
  /**
@@ -4187,6 +4244,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4187
4244
  private browserSignInOwnerCurrent;
4188
4245
  /** #2599: default-account controls share the exact writer reservation with chat/profile/install. */
4189
4246
  get browserBackendSignIns(): BrowserBackendSignIns;
4247
+ private profileSignInsInstance;
4248
+ /**
4249
+ * #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
4250
+ * 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.
4251
+ */
4252
+ get profileSignIns(): ProfileSignIns;
4190
4253
  private needsYouBackendSignIns;
4191
4254
  /** #2233: sign-ins started from the web dashboard (local admin sessions), on the same controller as chat's. */
4192
4255
  private webBackendLoginsInstance;
@@ -4225,6 +4288,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4225
4288
  * usage is the usage panel's cached read (never forced), given at most `usageWaitMs` before the view is sent without it.
4226
4289
  */
4227
4290
  accountsView(usageWaitMs?: number): Promise<AccountsView>;
4291
+ /**
4292
+ * 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
4293
+ * "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.
4294
+ */
4295
+ private keepAliveAfterSignIn;
4228
4296
  /** #3292: the keep-alive service (built on first use, so the Accounts view can read settings before startup finishes). */
4229
4297
  private keepAliveService;
4230
4298
  private startSignInKeepAlive;
@@ -4283,12 +4351,16 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
4283
4351
  private accountUses;
4284
4352
  /** #3212 PR 2: Settings → Accounts → + Add account (accounts-profiles.ts). `by`: the session's label, for the fleet log. */
4285
4353
  addAccountProfile(backend: string, name: unknown, by: string, machine?: MachineActor): AddResult | Promise<MachineAccountResult>;
4354
+ /** 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. */
4355
+ private configuredProfileNames;
4286
4356
  /**
4287
4357
  * #3212 PR 2: Settings → Accounts → Remove. Refused while anything uses it or a sign-in for it runs (the login controller,
4288
4358
  * or the login window held for this backend by a sign-in whose profile is not known yet); see accounts-profiles.ts.
4289
4359
  * The fleet log records who removed which backend's profile — never what was in it.
4290
4360
  */
4291
- removeAccountProfile(backend: string, name: unknown, confirm: unknown, by: string, machine?: MachineActor): Promise<RemoveResult | MachineAccountResult>;
4361
+ removeAccountProfile(backend: string, name: unknown, confirm: unknown, by: string, machine?: MachineActor, opts?: {
4362
+ cancelSignIn?: true;
4363
+ }): Promise<RemoveResult | MachineAccountResult>;
4292
4364
  /**
4293
4365
  * Remove's whole safety proof, read now (#3291 review): who uses the account — configured agents and live daemons, the
4294
4366
  * fleet default, ClassicBot rooms read strictly — and whether a sign-in for it runs. `ownClaim`: the login window this
@@ -5033,7 +5105,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
5033
5105
  * audit notice — and only once all of that holds is the attempt written to
5034
5106
  * disk and fsynced, before anything spawns.
5035
5107
  */
5036
- requestSettingsSelfRestart(jobId: string, key: string): Promise<SelfRestartResult>;
5108
+ requestSettingsSelfRestart(requestedJobId: string | null, key: string): Promise<SelfRestartResult>;
5037
5109
  /** The audit notice, and the message the restart progress will edit. */
5038
5110
  private postSelfRestartNotice;
5039
5111
  /** Jobs outlive this process on purpose; see apply-job.ts. */