@songsid/agend 2.4.0-alpha.2 → 2.4.0-alpha.4

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 (654) hide show
  1. package/dist/account-isolation.d.ts +6 -0
  2. package/dist/account-isolation.js +40 -0
  3. package/dist/account-isolation.js.map +1 -0
  4. package/dist/accounts-signout.d.ts +15 -2
  5. package/dist/accounts-signout.js +52 -4
  6. package/dist/accounts-signout.js.map +1 -1
  7. package/dist/accounts-view.d.ts +114 -27
  8. package/dist/accounts-view.js +123 -60
  9. package/dist/accounts-view.js.map +1 -1
  10. package/dist/agent-cli-instructions.md +15 -9
  11. package/dist/agent-cli.js +47 -20
  12. package/dist/agent-cli.js.map +1 -1
  13. package/dist/agent-endpoint.js +23 -8
  14. package/dist/agent-endpoint.js.map +1 -1
  15. package/dist/agent-list-output.d.ts +23 -0
  16. package/dist/agent-list-output.js +53 -0
  17. package/dist/agent-list-output.js.map +1 -0
  18. package/dist/agent-runtime-change.js +4 -4
  19. package/dist/agent-runtime-change.js.map +1 -1
  20. package/dist/agent-whats-new.js +9 -7
  21. package/dist/agent-whats-new.js.map +1 -1
  22. package/dist/antigravity-first-run.d.ts +4 -0
  23. package/dist/antigravity-first-run.js +57 -0
  24. package/dist/antigravity-first-run.js.map +1 -0
  25. package/dist/antigravity-identity.d.ts +6 -0
  26. package/dist/antigravity-identity.js +27 -0
  27. package/dist/antigravity-identity.js.map +1 -0
  28. package/dist/antigravity-store.d.ts +22 -0
  29. package/dist/antigravity-store.js +79 -0
  30. package/dist/antigravity-store.js.map +1 -0
  31. package/dist/auth-api.js +11 -1
  32. package/dist/auth-api.js.map +1 -1
  33. package/dist/backend/agy-onboarding.d.ts +14 -0
  34. package/dist/backend/agy-onboarding.js +114 -0
  35. package/dist/backend/agy-onboarding.js.map +1 -0
  36. package/dist/backend/antigravity.d.ts +15 -0
  37. package/dist/backend/antigravity.js +44 -4
  38. package/dist/backend/antigravity.js.map +1 -1
  39. package/dist/backend/claude-code.d.ts +8 -0
  40. package/dist/backend/claude-code.js +11 -4
  41. package/dist/backend/claude-code.js.map +1 -1
  42. package/dist/backend/codex.js +7 -3
  43. package/dist/backend/codex.js.map +1 -1
  44. package/dist/backend/credential-profile.d.ts +22 -3
  45. package/dist/backend/credential-profile.js +61 -9
  46. package/dist/backend/credential-profile.js.map +1 -1
  47. package/dist/backend/grok.d.ts +19 -0
  48. package/dist/backend/grok.js +112 -1
  49. package/dist/backend/grok.js.map +1 -1
  50. package/dist/backend/types.d.ts +10 -0
  51. package/dist/backend/types.js.map +1 -1
  52. package/dist/backend-availability.d.ts +6 -0
  53. package/dist/backend-availability.js +11 -0
  54. package/dist/backend-availability.js.map +1 -1
  55. package/dist/browser-backend-signins.d.ts +9 -1
  56. package/dist/browser-backend-signins.js +9 -5
  57. package/dist/browser-backend-signins.js.map +1 -1
  58. package/dist/build-provenance.json +1 -1
  59. package/dist/channel/mcp-tools.js +10 -10
  60. package/dist/channel/mcp-tools.js.map +1 -1
  61. package/dist/child-process.d.ts +1 -0
  62. package/dist/child-process.js.map +1 -1
  63. package/dist/claude-auth-status.d.ts +1 -0
  64. package/dist/claude-auth-status.js +25 -0
  65. package/dist/claude-auth-status.js.map +1 -1
  66. package/dist/claude-model-observation.d.ts +71 -0
  67. package/dist/claude-model-observation.js +169 -0
  68. package/dist/claude-model-observation.js.map +1 -0
  69. package/dist/cli-capability.d.ts +104 -19
  70. package/dist/cli-capability.js +3 -1
  71. package/dist/cli-capability.js.map +1 -1
  72. package/dist/cli-caps-module.d.ts +14 -0
  73. package/dist/cli-caps-module.js +8 -1
  74. package/dist/cli-caps-module.js.map +1 -1
  75. package/dist/cli-registry-check.js +114 -18
  76. package/dist/cli-registry-check.js.map +1 -1
  77. package/dist/cli-registry.d.ts +116 -12
  78. package/dist/cli-registry.js +16 -1
  79. package/dist/cli-registry.js.map +1 -1
  80. package/dist/cli-spec-antigravity.d.ts +53 -11
  81. package/dist/cli-spec-antigravity.js +44 -13
  82. package/dist/cli-spec-antigravity.js.map +1 -1
  83. package/dist/cli-spec-claude-code.d.ts +14 -1
  84. package/dist/cli-spec-claude-code.js +5 -4
  85. package/dist/cli-spec-claude-code.js.map +1 -1
  86. package/dist/cli-spec-codex.d.ts +8 -0
  87. package/dist/cli-spec-codex.js +4 -3
  88. package/dist/cli-spec-codex.js.map +1 -1
  89. package/dist/cli-spec-grok.d.ts +4 -0
  90. package/dist/cli-spec-grok.js +2 -1
  91. package/dist/cli-spec-grok.js.map +1 -1
  92. package/dist/cli-spec-kiro-cli.d.ts +7 -0
  93. package/dist/cli-spec-kiro-cli.js +3 -2
  94. package/dist/cli-spec-kiro-cli.js.map +1 -1
  95. package/dist/cli-spec-muse.d.ts +4 -0
  96. package/dist/cli-spec-muse.js +2 -1
  97. package/dist/cli-spec-muse.js.map +1 -1
  98. package/dist/cli-spec-opencode.d.ts +1 -0
  99. package/dist/cli-spec-opencode.js +1 -0
  100. package/dist/cli-spec-opencode.js.map +1 -1
  101. package/dist/credential-store-proof.d.ts +6 -0
  102. package/dist/credential-store-proof.js +30 -0
  103. package/dist/credential-store-proof.js.map +1 -0
  104. package/dist/cross-instance-envelope.d.ts +4 -1
  105. package/dist/cross-instance-envelope.js +12 -7
  106. package/dist/cross-instance-envelope.js.map +1 -1
  107. package/dist/daemon.d.ts +24 -2
  108. package/dist/daemon.js +265 -37
  109. package/dist/daemon.js.map +1 -1
  110. package/dist/decision-list.d.ts +5 -4
  111. package/dist/decision-list.js +22 -8
  112. package/dist/decision-list.js.map +1 -1
  113. package/dist/delivery-consumed-watch.d.ts +24 -0
  114. package/dist/delivery-consumed-watch.js +21 -10
  115. package/dist/delivery-consumed-watch.js.map +1 -1
  116. package/dist/delivery-outbox.d.ts +5 -1
  117. package/dist/delivery-outbox.js +5 -0
  118. package/dist/delivery-outbox.js.map +1 -1
  119. package/dist/fleet-manager.d.ts +31 -2
  120. package/dist/fleet-manager.js +238 -56
  121. package/dist/fleet-manager.js.map +1 -1
  122. package/dist/fleet-windows-runtime.js +6 -6
  123. package/dist/fleet-windows-runtime.js.map +1 -1
  124. package/dist/general-knowledge/skills/concepts/SKILL.md +48 -7
  125. package/dist/general-knowledge/skills/credential-profiles/SKILL.md +23 -6
  126. package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +18 -8
  127. package/dist/general-knowledge/skills/fleet-health/SKILL.md +16 -0
  128. package/dist/general-knowledge/skills/hub/SKILL.md +518 -0
  129. package/dist/general-knowledge/skills/multi-channel/SKILL.md +1 -1
  130. package/dist/general-knowledge/skills/scheduling/SKILL.md +1 -1
  131. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +199 -40
  132. package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +5 -1
  133. package/dist/general-role.d.ts +1 -1
  134. package/dist/general-role.js +1 -0
  135. package/dist/general-role.js.map +1 -1
  136. package/dist/grok-delivery-proof.d.ts +24 -0
  137. package/dist/grok-delivery-proof.js +124 -0
  138. package/dist/grok-delivery-proof.js.map +1 -0
  139. package/dist/hub/assistant/admin-types.d.ts +43 -0
  140. package/dist/hub/assistant/admin-types.js +2 -0
  141. package/dist/hub/assistant/admin-types.js.map +1 -0
  142. package/dist/hub/assistant/claude-host.d.ts +17 -0
  143. package/dist/hub/assistant/claude-host.js +300 -0
  144. package/dist/hub/assistant/claude-host.js.map +1 -0
  145. package/dist/hub/assistant/context.d.ts +3 -0
  146. package/dist/hub/assistant/context.js +7 -0
  147. package/dist/hub/assistant/context.js.map +1 -0
  148. package/dist/hub/assistant/fleet-host.d.ts +19 -0
  149. package/dist/hub/assistant/fleet-host.js +28 -0
  150. package/dist/hub/assistant/fleet-host.js.map +1 -0
  151. package/dist/hub/assistant/runner.d.ts +64 -0
  152. package/dist/hub/assistant/runner.js +239 -0
  153. package/dist/hub/assistant/runner.js.map +1 -0
  154. package/dist/hub/assistant/service.d.ts +51 -0
  155. package/dist/hub/assistant/service.js +143 -0
  156. package/dist/hub/assistant/service.js.map +1 -0
  157. package/dist/hub/assistant/store.d.ts +3 -0
  158. package/dist/hub/assistant/store.js +65 -0
  159. package/dist/hub/assistant/store.js.map +1 -0
  160. package/dist/hub/assistant/types.d.ts +60 -0
  161. package/dist/hub/assistant/types.js +2 -0
  162. package/dist/hub/assistant/types.js.map +1 -0
  163. package/dist/hub/buttons.d.ts +3 -0
  164. package/dist/hub/buttons.js +11 -11
  165. package/dist/hub/buttons.js.map +1 -1
  166. package/dist/hub/catalog.d.ts +13 -6
  167. package/dist/hub/catalog.js +127 -35
  168. package/dist/hub/catalog.js.map +1 -1
  169. package/dist/hub/client.d.ts +16 -0
  170. package/dist/hub/client.js +52 -9
  171. package/dist/hub/client.js.map +1 -1
  172. package/dist/hub/compose/member.d.ts +8 -1
  173. package/dist/hub/compose/member.js +238 -57
  174. package/dist/hub/compose/member.js.map +1 -1
  175. package/dist/hub/compose/server.d.ts +17 -1
  176. package/dist/hub/compose/server.js +76 -13
  177. package/dist/hub/compose/server.js.map +1 -1
  178. package/dist/hub/directory/admission.d.ts +15 -0
  179. package/dist/hub/directory/admission.js +56 -0
  180. package/dist/hub/directory/admission.js.map +1 -0
  181. package/dist/hub/directory/directory.d.ts +1 -1
  182. package/dist/hub/directory/directory.js +114 -0
  183. package/dist/hub/directory/directory.js.map +1 -1
  184. package/dist/hub/directory/types.d.ts +27 -0
  185. package/dist/hub/directory/types.js.map +1 -1
  186. package/dist/hub/enrolment-code.d.ts +1 -1
  187. package/dist/hub/enrolment-code.js +4 -4
  188. package/dist/hub/enrolment-code.js.map +1 -1
  189. package/dist/hub/grant-access.d.ts +11 -0
  190. package/dist/hub/grant-access.js +113 -0
  191. package/dist/hub/grant-access.js.map +1 -0
  192. package/dist/hub/grant-search.d.ts +9 -0
  193. package/dist/hub/grant-search.js +92 -0
  194. package/dist/hub/grant-search.js.map +1 -0
  195. package/dist/hub/group-policy/admin-control.d.ts +1 -0
  196. package/dist/hub/group-policy/admin-control.js +4 -2
  197. package/dist/hub/group-policy/admin-control.js.map +1 -1
  198. package/dist/hub/group-policy/admin-facts.d.ts +1 -0
  199. package/dist/hub/group-policy/admin-facts.js +2 -1
  200. package/dist/hub/group-policy/admin-facts.js.map +1 -1
  201. package/dist/hub/group-policy/admin-impact.d.ts +2 -0
  202. package/dist/hub/group-policy/admin-impact.js +10 -2
  203. package/dist/hub/group-policy/admin-impact.js.map +1 -1
  204. package/dist/hub/group-policy/admin-inventory.js +1 -1
  205. package/dist/hub/group-policy/admin-inventory.js.map +1 -1
  206. package/dist/hub/group-policy/admin-read.d.ts +1 -0
  207. package/dist/hub/group-policy/admin-read.js +3 -2
  208. package/dist/hub/group-policy/admin-read.js.map +1 -1
  209. package/dist/hub/group-policy/authorization.d.ts +5 -2
  210. package/dist/hub/group-policy/authorization.js +73 -32
  211. package/dist/hub/group-policy/authorization.js.map +1 -1
  212. package/dist/hub/group-policy/errors.d.ts +9 -0
  213. package/dist/hub/group-policy/errors.js +13 -0
  214. package/dist/hub/group-policy/errors.js.map +1 -0
  215. package/dist/hub/group-policy/impact-inventory.js +20 -4
  216. package/dist/hub/group-policy/impact-inventory.js.map +1 -1
  217. package/dist/hub/group-policy/resources.d.ts +4 -5
  218. package/dist/hub/group-policy/resources.js +26 -19
  219. package/dist/hub/group-policy/resources.js.map +1 -1
  220. package/dist/hub/group-policy/store.d.ts +21 -12
  221. package/dist/hub/group-policy/store.js +99 -109
  222. package/dist/hub/group-policy/store.js.map +1 -1
  223. package/dist/hub/group-policy/welcome.js.map +1 -1
  224. package/dist/hub/http/compose.d.ts +1 -0
  225. package/dist/hub/http/compose.js +463 -20
  226. package/dist/hub/http/compose.js.map +1 -1
  227. package/dist/hub/http/core.d.ts +24 -5
  228. package/dist/hub/http/core.js +181 -54
  229. package/dist/hub/http/core.js.map +1 -1
  230. package/dist/hub/http/deps.d.ts +26 -0
  231. package/dist/hub/http/schema.js +19 -0
  232. package/dist/hub/http/schema.js.map +1 -1
  233. package/dist/hub/init/member-certificate.d.ts +1 -0
  234. package/dist/hub/init/member-certificate.js +39 -0
  235. package/dist/hub/init/member-certificate.js.map +1 -0
  236. package/dist/hub/init/plan-digest.js +1 -0
  237. package/dist/hub/init/plan-digest.js.map +1 -1
  238. package/dist/hub/invitations.d.ts +96 -0
  239. package/dist/hub/invitations.js +292 -0
  240. package/dist/hub/invitations.js.map +1 -0
  241. package/dist/hub/join/certificate-trust.d.ts +13 -0
  242. package/dist/hub/join/certificate-trust.js +41 -0
  243. package/dist/hub/join/certificate-trust.js.map +1 -0
  244. package/dist/hub/join/certificate.d.ts +11 -0
  245. package/dist/hub/join/certificate.js +67 -0
  246. package/dist/hub/join/certificate.js.map +1 -0
  247. package/dist/hub/join/client.d.ts +5 -0
  248. package/dist/hub/join/client.js +30 -3
  249. package/dist/hub/join/client.js.map +1 -1
  250. package/dist/hub/join/http.js +5 -3
  251. package/dist/hub/join/http.js.map +1 -1
  252. package/dist/hub/join/local.d.ts +37 -1
  253. package/dist/hub/join/local.js +142 -14
  254. package/dist/hub/join/local.js.map +1 -1
  255. package/dist/hub/join/service.d.ts +19 -0
  256. package/dist/hub/join/service.js +46 -35
  257. package/dist/hub/join/service.js.map +1 -1
  258. package/dist/hub/join/trust.d.ts +9 -0
  259. package/dist/hub/join/trust.js +35 -0
  260. package/dist/hub/join/trust.js.map +1 -1
  261. package/dist/hub/member/pairing-api.js +12 -1
  262. package/dist/hub/member/pairing-api.js.map +1 -1
  263. package/dist/hub/member/room-ask.d.ts +137 -0
  264. package/dist/hub/member/room-ask.js +358 -0
  265. package/dist/hub/member/room-ask.js.map +1 -0
  266. package/dist/hub/member-journal.d.ts +18 -1
  267. package/dist/hub/member-journal.js +76 -3
  268. package/dist/hub/member-journal.js.map +1 -1
  269. package/dist/hub/member-origin.d.ts +177 -0
  270. package/dist/hub/member-origin.js +314 -0
  271. package/dist/hub/member-origin.js.map +1 -0
  272. package/dist/hub/pairing-notices.d.ts +1 -0
  273. package/dist/hub/pairing-notices.js +2 -1
  274. package/dist/hub/pairing-notices.js.map +1 -1
  275. package/dist/hub/pairing.d.ts +11 -0
  276. package/dist/hub/pairing.js +69 -21
  277. package/dist/hub/pairing.js.map +1 -1
  278. package/dist/hub/policy.d.ts +1 -1
  279. package/dist/hub/policy.js +19 -6
  280. package/dist/hub/policy.js.map +1 -1
  281. package/dist/hub/protocol.d.ts +172 -0
  282. package/dist/hub/protocol.js +25 -2
  283. package/dist/hub/protocol.js.map +1 -1
  284. package/dist/hub/quota.d.ts +2 -1
  285. package/dist/hub/quota.js +2 -2
  286. package/dist/hub/quota.js.map +1 -1
  287. package/dist/hub/roles/authority.d.ts +45 -0
  288. package/dist/hub/roles/authority.js +199 -0
  289. package/dist/hub/roles/authority.js.map +1 -0
  290. package/dist/hub/roles/change.d.ts +18 -0
  291. package/dist/hub/roles/change.js +76 -0
  292. package/dist/hub/roles/change.js.map +1 -0
  293. package/dist/hub/roles/clock.d.ts +18 -0
  294. package/dist/hub/roles/clock.js +58 -0
  295. package/dist/hub/roles/clock.js.map +1 -0
  296. package/dist/hub/roles/convert.d.ts +11 -0
  297. package/dist/hub/roles/convert.js +27 -0
  298. package/dist/hub/roles/convert.js.map +1 -0
  299. package/dist/hub/roles/cutover-inventory.d.ts +14 -0
  300. package/dist/hub/roles/cutover-inventory.js +42 -0
  301. package/dist/hub/roles/cutover-inventory.js.map +1 -0
  302. package/dist/hub/roles/cutover-marker.d.ts +57 -0
  303. package/dist/hub/roles/cutover-marker.js +26 -0
  304. package/dist/hub/roles/cutover-marker.js.map +1 -0
  305. package/dist/hub/roles/cutover.d.ts +32 -0
  306. package/dist/hub/roles/cutover.js +170 -0
  307. package/dist/hub/roles/cutover.js.map +1 -0
  308. package/dist/hub/roles/delegation.d.ts +24 -0
  309. package/dist/hub/roles/delegation.js +111 -0
  310. package/dist/hub/roles/delegation.js.map +1 -0
  311. package/dist/hub/roles/evaluate.d.ts +50 -0
  312. package/dist/hub/roles/evaluate.js +96 -0
  313. package/dist/hub/roles/evaluate.js.map +1 -0
  314. package/dist/hub/roles/expiry.d.ts +46 -0
  315. package/dist/hub/roles/expiry.js +180 -0
  316. package/dist/hub/roles/expiry.js.map +1 -0
  317. package/dist/hub/roles/mode-effects.d.ts +5 -0
  318. package/dist/hub/roles/mode-effects.js +21 -0
  319. package/dist/hub/roles/mode-effects.js.map +1 -0
  320. package/dist/hub/roles/model.d.ts +171 -0
  321. package/dist/hub/roles/model.js +79 -0
  322. package/dist/hub/roles/model.js.map +1 -0
  323. package/dist/hub/roles/read.d.ts +33 -0
  324. package/dist/hub/roles/read.js +55 -0
  325. package/dist/hub/roles/read.js.map +1 -0
  326. package/dist/hub/roles/writer.d.ts +80 -0
  327. package/dist/hub/roles/writer.js +427 -0
  328. package/dist/hub/roles/writer.js.map +1 -0
  329. package/dist/hub/rooms/admin.d.ts +45 -0
  330. package/dist/hub/rooms/admin.js +105 -0
  331. package/dist/hub/rooms/admin.js.map +1 -0
  332. package/dist/hub/rooms/agents.d.ts +74 -0
  333. package/dist/hub/rooms/agents.js +333 -0
  334. package/dist/hub/rooms/agents.js.map +1 -0
  335. package/dist/hub/rooms/assistant.d.ts +44 -0
  336. package/dist/hub/rooms/assistant.js +179 -0
  337. package/dist/hub/rooms/assistant.js.map +1 -0
  338. package/dist/hub/rooms/context.d.ts +10 -0
  339. package/dist/hub/rooms/context.js +24 -0
  340. package/dist/hub/rooms/context.js.map +1 -0
  341. package/dist/hub/rooms/direct-view.d.ts +39 -0
  342. package/dist/hub/rooms/direct-view.js +38 -0
  343. package/dist/hub/rooms/direct-view.js.map +1 -0
  344. package/dist/hub/rooms/directory.d.ts +35 -0
  345. package/dist/hub/rooms/directory.js +98 -0
  346. package/dist/hub/rooms/directory.js.map +1 -0
  347. package/dist/hub/rooms/schema.d.ts +11 -0
  348. package/dist/hub/rooms/schema.js +73 -0
  349. package/dist/hub/rooms/schema.js.map +1 -0
  350. package/dist/hub/rooms/service.d.ts +449 -0
  351. package/dist/hub/rooms/service.js +581 -0
  352. package/dist/hub/rooms/service.js.map +1 -0
  353. package/dist/hub/rooms/types.d.ts +79 -0
  354. package/dist/hub/rooms/types.js +2 -0
  355. package/dist/hub/rooms/types.js.map +1 -0
  356. package/dist/hub/rooms.d.ts +15 -1
  357. package/dist/hub/rooms.js +76 -31
  358. package/dist/hub/rooms.js.map +1 -1
  359. package/dist/hub/runtime.d.ts +8 -0
  360. package/dist/hub/runtime.js +57 -3
  361. package/dist/hub/runtime.js.map +1 -1
  362. package/dist/hub/server.d.ts +28 -0
  363. package/dist/hub/server.js +66 -6
  364. package/dist/hub/server.js.map +1 -1
  365. package/dist/hub/sessions.js +6 -2
  366. package/dist/hub/sessions.js.map +1 -1
  367. package/dist/hub/settings-commit.d.ts +6 -1
  368. package/dist/hub/settings-commit.js +15 -0
  369. package/dist/hub/settings-commit.js.map +1 -1
  370. package/dist/hub/settings-directory-decision.d.ts +2 -2
  371. package/dist/hub/settings-directory-decision.js +7 -5
  372. package/dist/hub/settings-directory-decision.js.map +1 -1
  373. package/dist/hub/settings-directory-proof.js +3 -1
  374. package/dist/hub/settings-directory-proof.js.map +1 -1
  375. package/dist/hub/settings-directory-recovery.d.ts +5 -0
  376. package/dist/hub/settings-directory-recovery.js +14 -4
  377. package/dist/hub/settings-directory-recovery.js.map +1 -1
  378. package/dist/hub/settings-member-address-control.d.ts +84 -0
  379. package/dist/hub/settings-member-address-control.js +150 -0
  380. package/dist/hub/settings-member-address-control.js.map +1 -0
  381. package/dist/hub/settings-member-address-decision.d.ts +229 -0
  382. package/dist/hub/settings-member-address-decision.js +318 -0
  383. package/dist/hub/settings-member-address-decision.js.map +1 -0
  384. package/dist/hub/settings-member-address-http.d.ts +9 -0
  385. package/dist/hub/settings-member-address-http.js +78 -0
  386. package/dist/hub/settings-member-address-http.js.map +1 -0
  387. package/dist/hub/settings-member-address-network.d.ts +2 -0
  388. package/dist/hub/settings-member-address-network.js +22 -0
  389. package/dist/hub/settings-member-address-network.js.map +1 -0
  390. package/dist/hub/settings-member-address-notices.d.ts +22 -0
  391. package/dist/hub/settings-member-address-notices.js +21 -0
  392. package/dist/hub/settings-member-address-notices.js.map +1 -0
  393. package/dist/hub/settings-member-address-policy.d.ts +21 -0
  394. package/dist/hub/settings-member-address-policy.js +34 -0
  395. package/dist/hub/settings-member-address-policy.js.map +1 -0
  396. package/dist/hub/settings-member-address.d.ts +64 -0
  397. package/dist/hub/settings-member-address.js +239 -0
  398. package/dist/hub/settings-member-address.js.map +1 -0
  399. package/dist/hub/sharing.d.ts +10 -0
  400. package/dist/hub/sharing.js +74 -0
  401. package/dist/hub/sharing.js.map +1 -0
  402. package/dist/hub/socket.d.ts +2 -0
  403. package/dist/hub/socket.js +2 -0
  404. package/dist/hub/socket.js.map +1 -1
  405. package/dist/hub/store.js +6 -2
  406. package/dist/hub/store.js.map +1 -1
  407. package/dist/hub/teams/types.d.ts +41 -0
  408. package/dist/hub/teams/types.js +2 -0
  409. package/dist/hub/teams/types.js.map +1 -0
  410. package/dist/hub/tls.d.ts +47 -0
  411. package/dist/hub/tls.js +23 -6
  412. package/dist/hub/tls.js.map +1 -1
  413. package/dist/hub/types.d.ts +68 -4
  414. package/dist/hub/validation.d.ts +1 -1
  415. package/dist/hub/validation.js +2 -2
  416. package/dist/hub/validation.js.map +1 -1
  417. package/dist/hub/web-origin.d.ts +93 -0
  418. package/dist/hub/web-origin.js +174 -0
  419. package/dist/hub/web-origin.js.map +1 -0
  420. package/dist/hub-pilot-trust-settings.d.ts +4 -0
  421. package/dist/hub-pilot-trust-settings.js +13 -0
  422. package/dist/hub-pilot-trust-settings.js.map +1 -0
  423. package/dist/human-delivery-receipts.d.ts +4 -2
  424. package/dist/human-delivery-receipts.js +20 -13
  425. package/dist/human-delivery-receipts.js.map +1 -1
  426. package/dist/inbound-presentation.d.ts +28 -0
  427. package/dist/inbound-presentation.js +48 -0
  428. package/dist/inbound-presentation.js.map +1 -0
  429. package/dist/instance-lifecycle.d.ts +13 -1
  430. package/dist/instance-lifecycle.js +33 -10
  431. package/dist/instance-lifecycle.js.map +1 -1
  432. package/dist/instructions.d.ts +10 -2
  433. package/dist/instructions.js +32 -7
  434. package/dist/instructions.js.map +1 -1
  435. package/dist/locale.js +20 -6
  436. package/dist/locale.js.map +1 -1
  437. package/dist/log-service.d.ts +3 -0
  438. package/dist/log-service.js +39 -22
  439. package/dist/log-service.js.map +1 -1
  440. package/dist/log-steps.d.ts +56 -1
  441. package/dist/log-steps.js +318 -56
  442. package/dist/log-steps.js.map +1 -1
  443. package/dist/login-flows.d.ts +24 -2
  444. package/dist/login-flows.js +53 -22
  445. package/dist/login-flows.js.map +1 -1
  446. package/dist/login-url.js +3 -0
  447. package/dist/login-url.js.map +1 -1
  448. package/dist/machine-accounts.d.ts +42 -12
  449. package/dist/machine-accounts.js +144 -46
  450. package/dist/machine-accounts.js.map +1 -1
  451. package/dist/machine-signins.d.ts +35 -13
  452. package/dist/machine-signins.js +57 -27
  453. package/dist/machine-signins.js.map +1 -1
  454. package/dist/native-instance-input.js +4 -4
  455. package/dist/native-instance-input.js.map +1 -1
  456. package/dist/native-instance-registry.d.ts +3 -3
  457. package/dist/native-instance-registry.js +11 -10
  458. package/dist/native-instance-registry.js.map +1 -1
  459. package/dist/needs-you-hub.js +6 -2
  460. package/dist/needs-you-hub.js.map +1 -1
  461. package/dist/needs-you.d.ts +5 -1
  462. package/dist/needs-you.js +4 -8
  463. package/dist/needs-you.js.map +1 -1
  464. package/dist/office-share-page.js +1 -1
  465. package/dist/office-share-page.js.map +1 -1
  466. package/dist/outbound-handlers.d.ts +1 -0
  467. package/dist/outbound-handlers.js +25 -19
  468. package/dist/outbound-handlers.js.map +1 -1
  469. package/dist/outbound-schemas.d.ts +19 -0
  470. package/dist/outbound-schemas.js +23 -4
  471. package/dist/outbound-schemas.js.map +1 -1
  472. package/dist/profile-signins.d.ts +5 -0
  473. package/dist/profile-signins.js +1 -0
  474. package/dist/profile-signins.js.map +1 -1
  475. package/dist/queued-handoffs.d.ts +3 -1
  476. package/dist/queued-handoffs.js +1 -1
  477. package/dist/queued-handoffs.js.map +1 -1
  478. package/dist/runtime-build-info.js +6 -2
  479. package/dist/runtime-build-info.js.map +1 -1
  480. package/dist/runtime-cli.js +33 -11
  481. package/dist/runtime-cli.js.map +1 -1
  482. package/dist/runtime-client.d.ts +18 -2
  483. package/dist/runtime-client.js +84 -21
  484. package/dist/runtime-client.js.map +1 -1
  485. package/dist/runtime-credential-profiles.d.ts +36 -4
  486. package/dist/runtime-credential-profiles.js +82 -16
  487. package/dist/runtime-credential-profiles.js.map +1 -1
  488. package/dist/runtime-profile-ownership.d.ts +2 -2
  489. package/dist/runtime-profile-ownership.js +3 -3
  490. package/dist/runtime-profile-ownership.js.map +1 -1
  491. package/dist/runtime-protocol.d.ts +5 -3
  492. package/dist/runtime-protocol.js +4 -0
  493. package/dist/runtime-protocol.js.map +1 -1
  494. package/dist/runtime-remote-accounts.d.ts +72 -5
  495. package/dist/runtime-remote-accounts.js +293 -52
  496. package/dist/runtime-remote-accounts.js.map +1 -1
  497. package/dist/runtime-remote-setup.d.ts +2 -2
  498. package/dist/runtime-remote-setup.js +2 -2
  499. package/dist/runtime-remote-setup.js.map +1 -1
  500. package/dist/runtime-signin-transport.d.ts +22 -4
  501. package/dist/runtime-signin-transport.js +50 -12
  502. package/dist/runtime-signin-transport.js.map +1 -1
  503. package/dist/runtime-signin.d.ts +42 -0
  504. package/dist/runtime-signin.js +105 -9
  505. package/dist/runtime-signin.js.map +1 -1
  506. package/dist/runtime-transcript-source.d.ts +2 -0
  507. package/dist/runtime-transcript-source.js +23 -1
  508. package/dist/runtime-transcript-source.js.map +1 -1
  509. package/dist/runtime-windows-bridge.js +6 -1
  510. package/dist/runtime-windows-bridge.js.map +1 -1
  511. package/dist/scheduler/task-board.d.ts +1 -0
  512. package/dist/scheduler/task-board.js +10 -1
  513. package/dist/scheduler/task-board.js.map +1 -1
  514. package/dist/settings-api.d.ts +1 -0
  515. package/dist/settings-api.js +15 -8
  516. package/dist/settings-api.js.map +1 -1
  517. package/dist/settings-baseline.d.ts +3 -0
  518. package/dist/settings-baseline.js +2 -2
  519. package/dist/settings-baseline.js.map +1 -1
  520. package/dist/settings-effect.d.ts +3 -0
  521. package/dist/settings-effect.js +12 -2
  522. package/dist/settings-effect.js.map +1 -1
  523. package/dist/signin-keepalive.d.ts +31 -2
  524. package/dist/signin-keepalive.js +123 -12
  525. package/dist/signin-keepalive.js.map +1 -1
  526. package/dist/structured-signin-transport.d.ts +2 -2
  527. package/dist/structured-signin-transport.js +27 -6
  528. package/dist/structured-signin-transport.js.map +1 -1
  529. package/dist/structured-signin.d.ts +16 -2
  530. package/dist/structured-signin.js +59 -4
  531. package/dist/structured-signin.js.map +1 -1
  532. package/dist/task-board-tool.d.ts +0 -13
  533. package/dist/task-board-tool.js +42 -6
  534. package/dist/task-board-tool.js.map +1 -1
  535. package/dist/tool-receipt-output.d.ts +151 -0
  536. package/dist/tool-receipt-output.js +50 -0
  537. package/dist/tool-receipt-output.js.map +1 -0
  538. package/dist/topic-commands.js +2 -1
  539. package/dist/topic-commands.js.map +1 -1
  540. package/dist/transcript-jsonl.d.ts +24 -0
  541. package/dist/transcript-jsonl.js +72 -22
  542. package/dist/transcript-jsonl.js.map +1 -1
  543. package/dist/transcript-monitor.d.ts +5 -1
  544. package/dist/transcript-monitor.js +65 -3
  545. package/dist/transcript-monitor.js.map +1 -1
  546. package/dist/transcript-needles.d.ts +1 -1
  547. package/dist/transcript-needles.js +1 -1
  548. package/dist/transcript-records.d.ts +2 -1
  549. package/dist/transcript-records.js.map +1 -1
  550. package/dist/transcript-sources.d.ts +4 -0
  551. package/dist/transcript-sources.js +2 -0
  552. package/dist/transcript-sources.js.map +1 -1
  553. package/dist/ui/accounts-keepalive.js +15 -6
  554. package/dist/ui/accounts-manage.js +25 -5
  555. package/dist/ui/accounts-view.js +28 -24
  556. package/dist/ui/agent-details-settings.js +10 -1
  557. package/dist/ui/agent-proposals.js +22 -2
  558. package/dist/ui/agent-runtime-settings.js +3 -3
  559. package/dist/ui/backend-signin.js +4 -4
  560. package/dist/ui/chat-activity.js +2 -2
  561. package/dist/ui/cli-caps.js +7 -7
  562. package/dist/ui/credential-profile-select.js +32 -19
  563. package/dist/ui/fleet-canvas.js +5 -2
  564. package/dist/ui/fleet-office-card.js +4 -2
  565. package/dist/ui/fleet-org.js +2 -0
  566. package/dist/ui/hub-admin-rooms-strings.js +28 -0
  567. package/dist/ui/hub-admin-rooms.js +77 -0
  568. package/dist/ui/hub-assistant-admin-strings.js +26 -0
  569. package/dist/ui/hub-assistant-admin.js +85 -0
  570. package/dist/ui/hub-chat-store.js +8 -4
  571. package/dist/ui/hub-client.js +224 -33
  572. package/dist/ui/hub-enrolment-code.js +1 -1
  573. package/dist/ui/hub-grant-picker.js +100 -0
  574. package/dist/ui/hub-group-search.js +2 -2
  575. package/dist/ui/hub-invitations-strings.js +30 -0
  576. package/dist/ui/hub-invitations.js +108 -0
  577. package/dist/ui/hub-join-one-strings.js +4 -2
  578. package/dist/ui/hub-join-steps.js +5 -2
  579. package/dist/ui/hub-pairing-form-strings.js +48 -0
  580. package/dist/ui/hub-pilot-trust-strings.js +27 -0
  581. package/dist/ui/hub-pilot-trust.js +41 -0
  582. package/dist/ui/hub-room-composer.js +113 -0
  583. package/dist/ui/hub-room-favorites.js +90 -0
  584. package/dist/ui/hub-room-list.js +152 -0
  585. package/dist/ui/hub-room-members-strings.js +12 -0
  586. package/dist/ui/hub-room-members.js +104 -0
  587. package/dist/ui/hub-room-new-strings.js +46 -0
  588. package/dist/ui/hub-room-new.js +135 -0
  589. package/dist/ui/hub-room-presence.js +123 -0
  590. package/dist/ui/hub-room-settings-strings.js +26 -0
  591. package/dist/ui/hub-room-settings.js +134 -0
  592. package/dist/ui/hub-room-strings.js +222 -0
  593. package/dist/ui/hub-room-thread.js +262 -0
  594. package/dist/ui/hub-room-unread.js +51 -0
  595. package/dist/ui/hub-room-working.js +29 -0
  596. package/dist/ui/log-row.js +14 -5
  597. package/dist/ui/machine-signin.js +47 -14
  598. package/dist/ui/panel-details.js +6 -1
  599. package/dist/ui/panel-fleet.js +2 -2
  600. package/dist/ui/panel-hub.js +145 -59
  601. package/dist/ui/panel-needs.js +2 -0
  602. package/dist/ui/panel-settings.js +2 -2
  603. package/dist/ui/settings-hub-company-join.js +32 -11
  604. package/dist/ui/settings-hub-connection.js +9 -3
  605. package/dist/ui/settings-hub-member-address.js +205 -0
  606. package/dist/ui/settings-hub-section.js +4 -0
  607. package/dist/ui/settings-hub-web-address.js +233 -0
  608. package/dist/ui/settings-hub.js +16 -4
  609. package/dist/ui/shared/accounts-keepalive.css +8 -0
  610. package/dist/ui/shared/accounts-usage-pool.css +10 -0
  611. package/dist/ui/shared/accounts.css +9 -0
  612. package/dist/ui/shared/app-i18n.js +2 -2
  613. package/dist/ui/shared/app-needs.js +3 -0
  614. package/dist/ui/shared/app-shell.js +4 -1
  615. package/dist/ui/shared/app.css +43 -5
  616. package/dist/ui/shared/chat-render.js +10 -0
  617. package/dist/ui/shared/chat-thread.js +14 -5
  618. package/dist/ui/shared/hub-chat.css +17 -0
  619. package/dist/ui/shared/hub-grant-picker.css +4 -0
  620. package/dist/ui/shared/hub-rooms-u2.css +42 -0
  621. package/dist/ui/shared/hub-sharing.css +4 -0
  622. package/dist/ui/shared/model-observation.js +16 -0
  623. package/dist/ui/shared/stale-tab.css +6 -0
  624. package/dist/ui/shared/stale-tab.js +50 -0
  625. package/dist/ui/shared/view-strings.js +2 -2
  626. package/dist/ui/structured-signin.js +19 -6
  627. package/dist/ui/usage-pool.js +76 -0
  628. package/dist/usage/agent-output.d.ts +144 -0
  629. package/dist/usage/agent-output.js +75 -0
  630. package/dist/usage/agent-output.js.map +1 -0
  631. package/dist/usage/provider-alerts.d.ts +6 -0
  632. package/dist/usage/provider-alerts.js +6 -0
  633. package/dist/usage/provider-alerts.js.map +1 -1
  634. package/dist/usage/providers.d.ts +2 -2
  635. package/dist/usage/providers.js +60 -18
  636. package/dist/usage/providers.js.map +1 -1
  637. package/dist/usage/usage-api.d.ts +12 -0
  638. package/dist/usage/usage-api.js +39 -0
  639. package/dist/usage/usage-api.js.map +1 -1
  640. package/dist/web-api.d.ts +4 -0
  641. package/dist/web-api.js +32 -13
  642. package/dist/web-api.js.map +1 -1
  643. package/dist/web-backend-login.d.ts +4 -1
  644. package/dist/web-backend-login.js.map +1 -1
  645. package/dist/windows-cli-providers.js +5 -1
  646. package/dist/windows-cli-providers.js.map +1 -1
  647. package/dist/windows-cli-worker.d.ts +33 -1
  648. package/dist/windows-cli-worker.js +150 -10
  649. package/dist/windows-cli-worker.js.map +1 -1
  650. package/dist/windows-cli.d.ts +7 -1
  651. package/dist/windows-cli.js +19 -2
  652. package/dist/windows-cli.js.map +1 -1
  653. package/dist/workflow-templates/default.md +2 -2
  654. package/package.json +1 -1
@@ -0,0 +1,518 @@
1
+ ---
2
+ name: hub
3
+ description: How the AgEnD Hub works from the user's side (experimental, alpha line only) — what a Hub is, setting one up, company sign-in, the administrator's Let colleagues join card and join codes, connecting a Fleet with the one Hub address box, held or queued connections, sharing agents and who may ask them, group permissions, limits and troubleshooting. Use it to answer "how do I … in the Hub".
4
+ roles: [general, worker, classic]
5
+ ---
6
+
7
+ ## How to use this skill
8
+
9
+ Look the question up in the index, then relay the short answer in the user's words. The labels below are the English
10
+ UI labels, with the 中文 label where people usually quote it. The Hub is **experimental and off by default**: nothing
11
+ here applies until someone has set up a Hub. Never invent a control that is not listed here, and never state a
12
+ company's own Hub address, directory server, group or account: ask the user or their Hub administrator for those.
13
+ What is not built yet is listed under [Not available yet](#not-available-yet); say so instead of guessing.
14
+
15
+ For signing in to a person's *own* dashboard (`/web`, codes, the authenticator app), load `web-dashboard`.
16
+
17
+ ## Index
18
+
19
+ | The user asks about… | Section |
20
+ |---|---|
21
+ | what a Hub is, Hub vs Fleet, who can see what | [What the Hub is](#what-the-hub-is) |
22
+ | `agend hub init`, Set up a Hub, first administrator | [Setting up a Hub](#setting-up-a-hub) |
23
+ | move the Hub to another address or port, Hub address (Hub 位址) on the Hub's computer | [Changing the Hub's address](#changing-the-hubs-address) |
24
+ | Fleet connection address (Fleet 連接位址), the address Fleets connect to, Fleets that move | [Changing the Fleet connection address](#changing-the-fleet-connection-address) |
25
+ | the Hub's sign-in page, which account, wrong password | [Signing in to the Hub](#signing-in-to-the-hub) |
26
+ | Let colleagues join, 讓同仁加入, which groups, the sentence to send | [Letting colleagues join](#letting-colleagues-join) |
27
+ | join codes, 加入碼, create, end, used up, limits | [Join codes](#join-codes) |
28
+ | Settings → Hub, Hub address, "address space code", Join code included | [Connecting a Fleet](#connecting-a-fleet) |
29
+ | needs attention, Recover this connection, queue, timed out, cancel | [Held, refused and queued connections](#held-refused-and-queued-connections) |
30
+ | Shared agents, Share, Not shared, Pause sharing, Resume sharing, Stop sharing, ClassicBot rooms | [Sharing agents](#sharing-agents) |
31
+ | Allow someone to ask, AD group, name search, how long, Revoke, Recent questions | [Who may ask](#who-may-ask) |
32
+ | New chat, asking someone's agent, Waiting / Answered, favorites (最愛) | [Asking an agent](#asking-an-agent) |
33
+ | @agent, @all, room answers, Idle, Paused, Stopped | [Agents in a Hub room](#agents-in-a-hub-room) |
34
+ | room creators, room administration, Hub assistant | [Rooms and the Hub assistant](#rooms-and-the-hub-assistant) |
35
+ | Chat with agents / Share agents / Connect a fleet by AD group, Paused | [Group permissions](#group-permissions) |
36
+ | Room assistant, backend/account, cap, idle stop, answer counts | [Room assistant administration](#room-assistant-administration) |
37
+ | Connected fleets, Revoke, Individual invitations, pairing code, Notices | [Administration](#administration) |
38
+ | `hub`, `hub_member` in fleet.yaml | [Config keys](#config-keys) |
39
+ | how many, how long | [Limits](#limits) |
40
+ | custom roles, virtual teams, sharing a ClassicBot room | [Not available yet](#not-available-yet) |
41
+ | can't connect, certificate, different host names, old tab | [Troubleshooting](#troubleshooting) |
42
+
43
+ ## What the Hub is
44
+
45
+ A **Fleet** is one person's AgEnD: their agents, on their computer. A **Hub** is a separate company server that Fleets
46
+ connect to, so colleagues can ask each other's agents. People sign in on the Hub with their **company account** (the
47
+ Active Directory account they use at work).
48
+
49
+ - A shared agent answers inside its own conversation on its owner's Fleet, with its own folder
50
+ and the tools its Settings allow. Actions that need approval still go to the owner.
51
+ - A Hub with the optional room-assistant provider enabled can also answer through its own assistant. Its backend and
52
+ account are chosen by the Hub administrator; it is separate from colleagues' shared agents. The pilot assistant
53
+ runs on the Hub computer without shell, file or other tools and receives only the supplied room conversation.
54
+ - Every agent is private unless its owner shares it, and sharing alone lets nobody ask: the owner also allows each
55
+ person or an AD security group.
56
+ - The Hub administrator manages who may connect and sees connected Fleets, not chats ("You cannot read anyone's chats
57
+ here."). What was asked stays in the owner's Fleet chat.
58
+ - The Hub's pages are at `https://<hub address>/ui/hub`: **Chats**, **My shared agents** (who may ask them, until
59
+ when), **Administration** (administrator only) and **Notices**.
60
+
61
+ ## Setting up a Hub
62
+
63
+ Two front ends for the same setup; use either. Both need a directory reachable over **LDAPS** and a read-only service
64
+ account.
65
+
66
+ - **Terminal:** `agend hub init` on the computer that will run the Hub (it needs an interactive terminal). It asks for
67
+ the Hub name, the address colleagues will open, the directory, and the first administrator's directory sign-in name,
68
+ then for the word `initialize` to write the settings. `agend hub handoff` prints the hand-off notes again.
69
+ - **Browser:** on that computer's own dashboard, **Settings → Hub**, card **Set up a Hub** → **Set up on this
70
+ computer**. Fill in the steps, **Test connection and review**, then **Create Hub**. The page then checks startup by
71
+ itself ("Checking whether the Hub is ready…") and offers **Open Hub sign-in** once "The Hub is ready. You can open
72
+ sign-in."
73
+ - Only this computer's own sign-in gets the button. Anyone else reads: "To set up a Hub, go to the computer running
74
+ AgEnD, run agend web in a terminal there, and set it up on the page it opens."
75
+ - **First administrator:** no personal password is asked during setup. The named person becomes administrator the
76
+ first time they sign in to the Hub in a browser.
77
+ - The Hub and a Fleet's dashboard must have **different host names**; a different port is not enough.
78
+ - A generated browser certificate causes a browser warning until people trust it; its fingerprint is shown before the
79
+ Hub is created.
80
+
81
+ ## Changing the Hub's address
82
+
83
+ On the computer that runs the Hub, its own dashboard: **Settings → Hub**, card **Hub address** (Hub 位址), below **Run
84
+ this Hub**. Only that computer's own sign-in sees it, as with **Set up a Hub**.
85
+
86
+ - It shows the address, where the Hub listens and its certificate's fingerprint. **Change address** (變更位址) → **New
87
+ address** (`hub.example.com` is enough, without `https://`; add `:port` if it isn't 443) → **Check** (檢查) → "Change the Hub's
88
+ address?" → **Confirm change** (確認變更). **Back** changes nothing.
89
+ - The Hub listens on the address's own port. The current certificate is kept when the host name stays the same;
90
+ another host name gets a new self-signed one (browsers warn until it's trusted; compare the fingerprint shown).
91
+ **Advanced** (進階) sets the listening interface and port (for a router or reverse proxy that forwards another port), or **Use
92
+ my own certificate** (paste the certificate and private key as PEM).
93
+ - After the change everyone, the administrator too, signs in to the Hub's pages again, and the old address stops
94
+ working. Connected Fleets stay connected. Tell colleagues the new address: it's the one they type in Settings → Hub,
95
+ and **Tell colleagues how to join** shows it.
96
+ - Messages: "Another program on this computer is using that port." → another port under **Advanced**; "That address or
97
+ port is the one Fleets connect to." → another port; "Another change is still finishing, or a device is finishing its
98
+ sign-in." → try again in a moment; "Saved, but the Hub doesn't answer at the new address yet…" → free that port, then
99
+ turn **Run this Hub** off and on.
100
+ - The address Fleets connect to (the member address) is separate and isn't changed here.
101
+
102
+ ## Changing the Fleet connection address
103
+
104
+ Rarely needed. On the Hub's computer: **Settings → Hub**, the folded card **Fleet connection address** (Fleet 連接位址), below
105
+ **Hub address**. It's where connected Fleets reach the Hub; the Hub address colleagues use doesn't change.
106
+
107
+ - **Change connection address** (變更連接位址) → **New connection address** → **Check** (檢查) → "Change the Fleet
108
+ connection address?" lists **Fleets that move (*n*)** → **Confirm change** (確認變更). **Advanced** sets where it listens.
109
+ - Fleets **online** at that moment follow on their own (the Hub sends them the new address, signed with its key). Fleets
110
+ offline lose their connection; their owners get a notice and press **Reconnect** (重新連接) on their own Settings → Hub,
111
+ which signs in again with the company account. The card then says, for example, "Done. 3 of 4 Fleets followed. These must
112
+ reconnect from their own Settings → Hub: *name*."
113
+ - On a Fleet whose connection the Hub ended, Settings → Hub shows **Reconnect** with "The Hub ended this Fleet's
114
+ connection, for example after it moved the address Fleets connect to."
115
+
116
+ ## Signing in to the Hub
117
+
118
+ The page is **Sign in to the Hub** (登入 Hub): "Use your company account. Your password goes to the directory only and
119
+ is never kept." Fields **Account** and **Password**, button **Sign in**.
120
+
121
+ - The Hub signs in with the company account and password only. A code from `/web` or an authenticator app is for a
122
+ person's own dashboard and does nothing here.
123
+ - "That account and password didn't work." → wrong account or password. "The directory can't be reached right now. Try
124
+ again later." → the Hub cannot reach the company directory; nothing the user typed is wrong.
125
+ - When the page was opened from a Fleet that is connecting, the button reads **Sign in and connect Fleet**: that one
126
+ press signs in and approves the connection.
127
+
128
+ ## Letting colleagues join
129
+
130
+ For the Hub administrator. **Administration** opens with the **Let colleagues join** card (讓同仁加入); while no Fleet is
131
+ connected, the same card is also on the administrator's welcome page. Three steps; steps 1 and 2 show **Done** from
132
+ what the Hub has saved.
133
+
134
+ 1. **Let colleagues connect Fleets with their company account** — turn on **Allow company-account Fleet connections**.
135
+ 2. **Who can join** — search for the AD groups whose members may connect (type the start of the name) and add them. For
136
+ each group set **Each person up to** *N* **Fleets**, and whether its members may also **Chat with agents** and
137
+ **Share agents**. The card shows what the change does before **Save**. A group the search does not find goes under
138
+ **Add by distinguished name**. A live join code also completes this step.
139
+ - Group search needs Active Directory over LDAPS. If the directory cannot list groups the card says so: check it
140
+ with **Edit AD connection** on the Administration page, or use individual invitations or a join code.
141
+ 3. **Tell colleagues how to join** — once 1 and 2 are done the card shows one sentence with the Hub's address ("In
142
+ AgEnD, open Settings → Hub, enter *hub.example.com*, then sign in with the company account.") and **Copy these
143
+ instructions**. Before that the button is off: "Finish steps 1 and 2 first." Join codes are created here too.
144
+
145
+ Under the card: **Individual invitations** (see [Administration](#administration)) and **Link with key fingerprint
146
+ (Advanced)**, a long link that also carries the Hub's identity, for a colleague who must check the fingerprint by
147
+ hand. Step 2's **All group permissions** opens the full group editor, described under
148
+ [Group permissions](#group-permissions).
149
+
150
+ ## Join codes
151
+
152
+ A join code (加入碼) lets many people connect at once without adding a group first, for example everyone at a workshop.
153
+ Only the configured Hub administrator can manage them.
154
+
155
+ **Create.** In step 3 of the card, **Create join code**:
156
+ - **Valid until:** In 1 hour, End of today (the default), or In 7 days. A code cannot be extended.
157
+ - **Maximum Fleets:** 1–200, 30 by default.
158
+ - **Who can use it:** Anyone in the company directory, or One company group (search, or **Use the group's
159
+ distinguished name** → **Find group**).
160
+ - Under **More**, **Fleets per person:** 1–8, 1 by default.
161
+
162
+ The card then shows the code (8 characters, `XXXX-XXXX`) and "In AgEnD Settings → Hub, enter *hub.example.com* and this
163
+ code." **Copy** copies that sentence with the code on the next line.
164
+
165
+ **While it is live** the row shows **Active**, **Connected** *n* / *max*, how many connections are in progress, and
166
+ **Recent connections** (Fleet, owner, time). If the Hub has fewer free places than the code allows: "Only *n* Fleet
167
+ spaces remain on this Hub. This code allows up to *m* connections; extra connections will be refused."
168
+
169
+ **End.** **End this code now** asks first, **End this join code?**: "This code cannot be used again.", the Fleet
170
+ connections still in progress with it stop (it names them), and "Fleets already connected are unchanged." A code also
171
+ ends by itself as **Expired** or **Used up**; ended codes stay listed for 7 days.
172
+
173
+ **Limits.** "At most 8 join codes can be live. End one before creating another." and "At most 10 join codes can be
174
+ created in one hour. Try again later."
175
+
176
+ **What a code is.** It stands in for the administrator's approval of the connection only: "A company account is still
177
+ required. This code allows a Fleet connection; it does not allow asking or sharing Agents." Treat a live code like a
178
+ key: anyone in its scope who gets it can connect a Fleet under their own name until it ends.
179
+
180
+ **After joining by code.** The code adds nothing beyond the connection, and takes nothing away. What the person can do
181
+ next is what they could do without it:
182
+ - **Asking, group permissions never turned on:** they can ask an agent as soon as its owner allows them, like anyone
183
+ who signs in. Do not tell them to have group permissions turned on for this: that switch changes access for everyone.
184
+ - **Asking, group permissions on:** they need **Chat with agents** from one of their groups *and* the owner's
185
+ allowance. In no allowed group, they cannot chat until a group allows it.
186
+ - **Sharing** is never given by a code. The Hub has to allow that person to share; until it does, the row reads "Not
187
+ shared: your Hub administrator hasn't allowed you to share agents."
188
+ - Either way the owner still allows each asker ([Who may ask](#who-may-ask)); no code or group replaces that.
189
+
190
+ ## Connecting a Fleet
191
+
192
+ For everyone. On your own dashboard: **Settings → Hub**. There is one box, **Hub address** (Hub 位址), and no switch to
193
+ turn on first.
194
+
195
+ 1. Type the address the administrator gave you; `hub.example.com` is enough, without `https://`.
196
+ - **With a join code:** the address, a space, then the code: `hub.example.com ABCD-EFGH`. Pasting the
197
+ administrator's whole message works too. The page then says **Join code included.** (已帶入加入碼。)
198
+ - A code on its own gets: "That is a join code. Put the Hub address before it, with a space: …"
199
+ - A link from the administrator (`https://…/join-info#…`) goes in the same box.
200
+ 2. The page looks the Hub up ("Looking up the Hub…") and shows **Found "*Hub name*". This Fleet will appear as
201
+ "*name*".** The name is this computer's name; **Rename** changes it.
202
+ 3. Press **Sign in with company account** (以公司帳號登入). A Hub tab opens; sign in there and press **Sign in and
203
+ connect Fleet**.
204
+ - If the page first asks you to confirm it is really you, do that on the confirm card (**Go to the confirm card**),
205
+ or press Confirm on the card in General when the page names Discord or Telegram. The Hub sign-in opens after
206
+ that. A dashboard that asks for your authenticator code shows the field in the same card.
207
+ 4. The Hub tab says "Connected. You can close this tab." and closes by itself. The Fleet page shows **Connected with
208
+ *your name*'s company account · This Fleet is called "*name*"** and "Your Fleet is connected. You can now choose
209
+ which Agents to share below."
210
+
211
+ **Self-signed test Hub.** A Fleet running an alpha build permits pilot trust by default; stable builds default off.
212
+ In the **Hub address** box, a valid self-signed certificate shows **This Hub uses a self-signed test certificate**
213
+ (這個 Hub 用的是測試用的自簽憑證), its **Certificate fingerprint** (憑證指紋), and **Show the full fingerprint**
214
+ (顯示完整指紋). Press **Trust this Hub and continue** (信任這個 Hub 並繼續) only for your team's pilot Hub, or
215
+ **Cancel** (取消). That press saves the exact certificate for this Hub address and opens company sign-in; a join code
216
+ already typed stays included. The found line then says **You trusted this Hub's self-signed certificate (for testing).**
217
+ (已信任這個 Hub 的自簽憑證(測試用)。). If that certificate changes, the saved pin refuses the connection;
218
+ after the administrator confirms replacement, **Trust again and continue** (重新信任並繼續) explicitly replaces it.
219
+ The Fleet's **Allow trusting a Hub with a self-signed certificate (for testing)** (允許信任自簽憑證的 Hub(測試用))
220
+ switch stays available in **Settings → Hub**, including after connection. Turn it off after the pilot or when the Hub
221
+ uses a trusted certificate. With it off, Hub discovery requires ordinary certificate trust. A trusted certificate needs
222
+ no prompt; expired certificates, incorrect host names and an untrusted issuing chain keep the certificate error.
223
+
224
+ Connecting shares nothing. **Reconnect** appears when the connection stopped (revoked, expired or refused): one press
225
+ ends the old connection and opens the Hub sign-in again. **Remove this connection** ends it from your side ("Agents
226
+ you share will stop answering.").
227
+
228
+ Reconnecting after revocation or removal creates a new Fleet identity on the same Hub. Its member journal and sharing
229
+ consent are separate from the previous identity: old questions and receipts are not replayed. An ordinary network
230
+ reconnect of the same identity keeps its delivery and acknowledgement history. Do not delete journal files to repair a
231
+ connection; partial or inconsistent state is held rather than reset.
232
+
233
+ **Other ways** holds the older **pairing code** method, and appears only for a Hub without company sign-in: once the
234
+ Hub typed in **Hub address** answers that it takes company sign-in, **Other ways** is hidden and the company sign-in is
235
+ the one way in. It stays while the Hub cannot be reached or its certificate is not trusted. A pairing code pasted into
236
+ the address box opens it filled in. Its switch **Allow this fleet to connect to a Hub** (under **Hub membership**)
237
+ applies as soon as it is changed.
238
+
239
+ The pairing form checks the code before anything is confirmed. A pairing code is 12 characters, 0–9 and a–f (dashes
240
+ and spaces are ignored). A join code (XXXX-XXXX) typed there is pointed back to the **Hub address** box at the top of the card:
241
+ the address, a space, then the join code. The form's address is the one shown with the pairing code (it ends in a port), not the address of
242
+ the Hub's pages. When a confirmed pairing is not applied, the page says why, for example "Confirmed, but it was not
243
+ applied: the Hub refused this pairing code (used, expired or not issued for this Hub)."
244
+
245
+ ## Held, refused and queued connections
246
+
247
+ One attempt lasts at most 10 minutes. The page says what happened; do what it names rather than starting again.
248
+
249
+ | The page says | What to do |
250
+ |---|---|
251
+ | Many people are connecting at once. Waiting in the queue… / Waiting in the queue… Retry *n* of 8. | Nothing. The Hub tab retries the same request by itself, up to 8 times a few seconds apart. It never creates a second Fleet. |
252
+ | The Hub is handling other connections and will retry shortly. | Nothing; same queue, seen from the Fleet page. |
253
+ | The Hub is busy. Check this same connection again shortly. | Press the retry on that message; it is still the same request. |
254
+ | **Connection needs attention** | The attempt is held. **Recover this connection** (恢復這次連接) continues the same saved attempt; **Cancel connection** ends it. When the result is unknown, **Check again** (再次檢查) also appears: it asks the Hub how the attempt ended. |
255
+ | Another connection attempt is still open (shown above). | Use **Recover this connection** or **Cancel connection** on it, then start again. A refused or held attempt no longer blocks the next one for 10 minutes once it is cancelled. |
256
+ | This attempt was started in another browser tab or session. | Recover or cancel it here, or finish it there. |
257
+ | The result could not be confirmed. | Use **Check again** on that connection. Do not start another one: a Fleet may already exist on the Hub. |
258
+ | This attempt timed out and nothing was created. | Press **Sign in with company account** again. |
259
+ | This connection request expired. | If a Fleet was already created, inspect or revoke that exact Fleet on the Hub (**Open Hub**) before starting again. |
260
+ | Your company account may not connect a Fleet. | Ask the Hub administrator to add you or one of your groups, or for a join code. |
261
+ | The Hub did not accept this join code… | It ended, was mistyped, or your account may not connect. Ask for a current code, then start again. |
262
+ | This join code is no longer valid or has been used up. / You are outside the scope of this join code. | Ask the Hub administrator for a new code, or one for your group. |
263
+ | You have reached the limit of connected Fleets. | Revoke one of your Fleets on the Hub first. |
264
+ | "*Hub*" presents a different identity than before. | Nothing was connected. Confirm with the Hub administrator before choosing **Replace saved Hub identity**. |
265
+
266
+ ## Sharing agents
267
+
268
+ On your Fleet, **Settings → Hub**, under **Shared agents** (分享的 Agent), once connected.
269
+
270
+ - Each agent has a switch, **Share** *name*. Turning it on asks for your confirmation first ("Waiting for your
271
+ confirmation"): on the confirm card at the top of the page, or on the card in General when the page names Discord or
272
+ Telegram. Then the row reads "Shared: Hub questions go to this agent's own conversation."
273
+ - Turning the switch off withdraws the agent.
274
+ - **Who may share:** when group permissions are on, only people whose group has **Share agents**. Otherwise the row
275
+ reads "Not shared: your Hub administrator hasn't allowed you to share agents. It will be shared once they do."
276
+ (未分享:Hub 管理員還沒有允許你分享 Agent。) with **Don't share it** to take the request back.
277
+ - Only fleet agents can be shared for now: "ClassicBot rooms can't be shared yet." A Fleet with nothing to share reads
278
+ "This fleet has no agents to share yet."
279
+ - "Shared under the older restricted mode. Hub questions are refused until you share this agent again." → **Share
280
+ again**.
281
+ - On the Hub, under **My shared agents**, an owner can **Pause sharing** (暫停分享) and **Resume sharing** (繼續分享). Pause hides the agent from new-chat choices and refuses new questions; existing authorized chats say **Sharing paused** and stay readable. Person and AD group grants, IDs and original expiry dates are kept. Expiry time keeps running: resume does not extend or resurrect an expired/revoked grant, and live AD membership and Hub group permissions still apply. Reconnecting the Fleet or restarting the Hub never resumes sharing.
282
+ - Pause is not instantaneous cancellation: a pre-Pause authorization whose result is already travelling to the Fleet may start its one first input within its existing lease (at most five seconds). Already-running work may finish. The committed authorization version makes members reconnect; after a member observes that fence, old capabilities stay unusable even after Resume. No new authorization is admitted while paused, and old answer-release leases are retired immediately. Do not promise an instant halt or automatic replay.
283
+ - **Stop sharing…** (停止分享) is separate and permanent for the current publication. It means: "No one can ask it any more. To share it again, it has to
284
+ be shared again from its fleet, and everyone has to be allowed to ask again. What was asked stays readable." Its
285
+ state then reads **Sharing stopped on the Hub**. Resume cannot undo Stop sharing or a Hub policy hold. The Fleet Share switch still controls publication; use the Hub page for a resumable pause.
286
+
287
+ ## Who may ask
288
+
289
+ Sharing lets nobody ask yet. The owner allows a person or an AD security group; Hub eligibility and operational group permissions still apply.
290
+
291
+ - From the Fleet row, **Allow someone to ask…** opens the Hub at the agent's page; or on the Hub: **My shared agents**
292
+ → the agent → **Who may ask** → **Allow…**.
293
+ - On a supported AD Hub, **Allow access to** *agent* offers **A person** (search the beginning of their name or login) or **An AD security group** (the same group-search control as Let colleagues join). Select a result, choose **Access lasts** 1, 7 (default), 30 or 90 days, then **Allow**.
294
+ - Group grants bind the directory's immutable GUID, not its name. Every action checks fresh direct membership; nested and primary groups are not included. An AD group manager can change who may ask, as the dialog explains. Each person's chat stays private. Joining or leaving takes effect on the next check. Unknown membership is unavailable, not a grant removal.
295
+ - New personal and group grants are capped at 90 days server-side. Existing longer grants keep their recorded expiry, ID and revision, and remain revocable; show their actual date without shortening it.
296
+ - An older tab or unsupported directory retains the dialog **Allow someone to ask** *agent*: **Their sign-in name**, by exact login, and **For** 1, 7, 30 or 90 days.
297
+ - A person covered by several grants sees one agent entry, preferring an existing still-authorized conversation. History is never transferred to a different grant.
298
+ - Each row shows the person or group and "until *date*"; a group has an **AD group** tag. A person allowed before they ever used the Hub is tagged **Hasn't
299
+ signed in to Hub yet** (還沒登入過 Hub).
300
+ - **Revoke…** on a row: "Revoke *name*'s access? Their conversation closes."
301
+ - **Recent questions**: who asked, when, and whether it was answered. What they asked stays in the Fleet's chat.
302
+ - **Subscription quota** → **Show quota to people asking**: shares only a broad band (Available, Near limit,
303
+ Exhausted, Unknown). Exact usage stays in the Fleet.
304
+
305
+ ## Asking an agent
306
+
307
+ On the Hub: **Chats** → **New chat** lists only the agents someone allowed you to ask ("Answers for *owner* · you can
308
+ ask until *date*"). Pick one and **Ask**.
309
+
310
+ The chat list (the sidebar; on a phone, the Chats page) looks like AgEnD's own chat list. Each chat is a row with the
311
+ agent's avatar, its name and its owner below it; a question still waiting shows the working dot and **Waiting for an
312
+ answer**, and a closed chat says **Closed**. Ctrl K (⌘K on a Mac) filters it by an agent's name or its owner. On a Hub
313
+ that has rooms, the list has two groups: **Rooms** (房間: a square avatar, "3 people · 12 agents", unread count, an @
314
+ mark when someone mentioned you) and **Agents** (one-to-one chats, the agent's status dot, **Hub assistant** last).
315
+ Unread chats come first, then the most recent.
316
+
317
+ Favorites work as in AgEnD's own sidebar: a row's **⋯** menu has **Add to favorites** (加入最愛) and **Remove from
318
+ favorites**. Starred chats and rooms move to **Favorites** (最愛) at the top of the list, in the order you starred them,
319
+ at most 50. With two or more, **Edit** adds **Move up** and **Move down** to their menus; clear the filter first to move
320
+ them. For now, a Hub's favorites are kept in this browser for the person signed in, so another browser or device
321
+ starts without them. A chat or room you leave drops out of Favorites.
322
+
323
+ In a room (a Hub with rooms), everyone sees every message. Each message says who wrote it: a person by name, an agent as
324
+ "*agent* · *owner*'s agent", the room assistant as "Room assistant · Provided by the Hub". An agent answers only when it is
325
+ @-mentioned: type `@` for the menu — **@All agents** (every agent answers; the line above the box says how many are online
326
+ and how many answer when they're back), **@Room assistant**, each agent (its owner and status dot), then people (an @ to a
327
+ person only reminds them). Under a message that asked several agents a line shows the progress ("Answered 7 · working 2 ·
328
+ reply later 3"); each answer is a reply to that message. A message with no @agent is only for the people in the room. If
329
+ the room doesn't let members @All agents, is archived, or you've left it, the box says so. The **Hub assistant** is the
330
+ last chat under **Agents**: your own chat with the Hub's AI, which can't read your computer or other rooms. Room managers
331
+ have the settings button in the room's header; **New room**, **Invitations** and **Administration → Rooms** are in the
332
+ sidebar, the list and Administration.
333
+
334
+ - "You're asking as yourself: the owner sees that you asked. The agent answers within what its owner allows."
335
+ - Everyone who asks one agent shares its one conversation, so it may remember what others asked. Don't send what other
336
+ askers shouldn't see.
337
+ - The marks on a question: **Waiting for the owner's fleet**, **At the owner's fleet**, **Answered**; or **Not
338
+ answered** / **Outcome unknown**. "An answer can take a few minutes."
339
+ - "No agents have been shared with you yet. An agent's owner has to give you access." → ask the owner to allow you.
340
+
341
+ ## Agents in a Hub room
342
+
343
+ On a Hub with rooms, mention a shared agent with **@agent**, or **@all** when the room allows it. A room manager can
344
+ add their own shared agent. Its owner consents to room questions by adding it; this does not grant anyone a private
345
+ one-to-one chat. The separate **Who may ask** list still controls private chats.
346
+
347
+ - The question reaches the agent's existing conversation on its owner's Fleet. It names the room and asker and
348
+ includes recent room messages. The agent keeps its own folder and tools; any required approval goes to its owner.
349
+ - Everyone in the room can see the question and answer. The answer returns to the same question, and a reconnect
350
+ retries the saved answer without entering the question again. Room agent answers are text only for now.
351
+ - **Idle** (待命) means the agent can be woken by a question. **Working** means it is busy. **Paused** (暫停) names a
352
+ known reason such as quota, sign-in or approval. **Stopped** (已停止, grey) means the Fleet is reachable but its owner
353
+ must start the agent. **Offline** (離線) means the Fleet cannot be reached; an older Fleet can instead show an update
354
+ requirement.
355
+ - Offline, stopped or paused targets wait; unanswered room questions expire after 24 hours. A question whose input
356
+ outcome is uncertain is held rather than automatically entered a second time.
357
+
358
+ ### Inviting another owner's agent
359
+
360
+ When the Hub offers room invitations, a room manager can invite another owner's shared agent. The owner sees
361
+ **Invitations** (邀請) above the chat list and at the top of **My shared agents**. The invitation names the inviter,
362
+ agent and room, and says how many people will see the answers. **Agree** (同意) adds the agent; **Decline** (不要)
363
+ does not. The owner does not become a person in that room and cannot read its messages just by accepting.
364
+
365
+ - An invitation lasts seven days from when it was sent. Repeating a pending invitation does not extend it. The
366
+ manager can clear an expired invitation or send a new one; the replacement takes the old entry’s place.
367
+ - Pausing sharing keeps existing room membership and pending invitations, while their expiry clocks keep running.
368
+ Resume sharing before accepting a pending invitation; an expired invitation needs a new invitation.
369
+ - On the shared agent's page, **In these rooms** (在這些房間裡) lists its rooms. **Leave this room** removes the agent.
370
+ Replaying the old acceptance does not join it again; a new invitation is needed.
371
+ - A manager can add their own shared agent directly. This remains separate from private **Who may ask** grants.
372
+
373
+ These controls need the matching invitation service and room UI. Do not invent them on an older Hub. Virtual-team
374
+ management remains a separate slice. The Hub room assistant is described in the next section.
375
+
376
+ ## Rooms and the Hub assistant
377
+
378
+ These controls require the rooms UI and its matching server. An older page may still show direct chats only; reload
379
+ after an upgrade. Do not offer an assistant when the Hub has no enabled assistant provider.
380
+
381
+ - The Hub administrator chooses the people or Teams who may create rooms. Team-based creation follows the current
382
+ roster. Removing that permission prevents new rooms; existing room managers keep their rooms.
383
+ - People expanded from a Team when a room is created stay room members if the Team later changes or is deleted.
384
+ - An AD group adds its currently eligible direct members, including people who have not signed in to the Hub yet;
385
+ nested groups are not expanded. Later directory changes do not rewrite the room's member list. A room holds at
386
+ most 100 people, counting the creator and deduplicating all selected people, groups and Teams. An incomplete
387
+ directory read or an over-limit selection creates nothing; choose a smaller group or Team, or try again later.
388
+ - A selected person can see the room on their first Hub sign-in. Until then the member list can mark them as not
389
+ having signed in; selection does not sign them in or create a session.
390
+ - Administration shows room names, member counts, managers and activity times. It does not grant access to room
391
+ messages. An administrator must explicitly join as a room manager to read or participate, under the room's history
392
+ setting. Archiving keeps members and saved history, and stops new messages.
393
+ - When enabled, each person has a private Hub-assistant conversation. Plain messages there ask the assistant; in a
394
+ group room, add the assistant and mention it. If it cannot answer, the person's message stays saved with a warning.
395
+ - Removing the assistant or archiving a room stops its pending work. Stopping it in administration also cancels the
396
+ room's queued inputs. An interrupted answer is not automatically repeated after a restart.
397
+ - Agent owners can see which rooms their agent is in and remove it. Pausing sharing keeps its room membership;
398
+ invitations to another owner's agent still require that owner's acceptance when the invitation service is available.
399
+ ## Group permissions
400
+
401
+ Optional, for the Hub administrator; needs Active Directory over LDAPS (port 636). Step 2 of **Let colleagues join**
402
+ covers the everyday case. The full editor (turn off, **Paused**, **People excluded**) is a separate page: on
403
+ **Administration**, step 2 of **Let colleagues join** has **All group permissions** (所有群組權限), which opens it;
404
+ from the dashboard of the Fleet that hosts the Hub, **Settings → Hub**, card **Group permissions** → **Open on the Hub**;
405
+ or, signed in as the administrator, the address `https://<hub address>/ui/hub/admin?view=groups`. Until group permissions
406
+ are turned on, the Hub behaves as before: everyone who signs in can chat, and connecting needs the administrator's
407
+ approval or a join code.
408
+
409
+ - Three permissions per AD security group: **Chat with agents**, **Share agents**, **Connect a fleet** with a
410
+ **Fleets** number (0–8). A person in several groups gets everything any group allows and the highest Fleets number.
411
+ **People excluded** win over any group.
412
+ - The editor shows **What this change does** before **Save** (**Turn on and save** the first time).
413
+ - **Turn off** pauses what depends on groups (chatting, sharing, self-service connecting), for the administrator too.
414
+ Turning it on again resumes nothing by itself: **Resume** each paused item under **Paused**.
415
+ - What a colleague sees on the Hub welcome page: cards **Chat with an agent** and **Connect your fleet**, on or off
416
+ with the reason ("Connecting a fleet is not included in your access.", "Paused by your Hub admin.", "Your account
417
+ can sign in, but no actions are allowed yet.").
418
+
419
+ ## Room assistant administration
420
+
421
+ On a Hub that offers the room-assistant pilot, a Hub administrator opens **Administration → Room assistant**
422
+ (房間助理). An older Hub or cached client without this capability leaves these cards out.
423
+
424
+ - **Enable the room assistant** (啟用房間助理), **Backend**, **Account**: the pilot offers only a qualified tools-off
425
+ Claude backend and existing accounts on the Hub computer. Sign in there under AgEnD Settings first; a colleague
426
+ connecting their own Fleet does not provide the assistant's login. It uses the selected account's quota.
427
+ - **At most this many at once** defaults to 3 (range 1–16); **Stop after this many idle minutes** defaults to 15
428
+ (range 1–240). Extra asks queue in arrival order, with one answer at a time per room. The oldest idle room
429
+ controller may be retired to free capacity. A fresh worker answers each ask and then closes.
430
+ - **Now** (現在) lists answering or idle room controllers and their last use. **Stop** stops that room's current
431
+ assistant; a later ask can start it again. It does not remove the assistant from the room.
432
+ - **Usage** (用量) shows seven UTC calendar days of answer counts and the selected account's coarse quota band.
433
+ It is not a per-person billing report. A counter-storage warning does not mean an answer was lost.
434
+ - **Save** applies changed settings after old workers stop; saving unchanged settings leaves current answers alone.
435
+ A failed save leaves the form's edits in place for another try.
436
+
437
+ If an assistant turn is not answered, the Hub host's log records `Hub room assistant could not answer` with its
438
+ request/room IDs and processing phase (and a protocol code when available), without the room text or raw vendor
439
+ error. Previously failed turns are not replayed after an upgrade; send a new message to retry.
440
+
441
+ Each answer uses the latest 30 supplied room messages, plus a replied-to message when it is older. The assistant
442
+ keeps no earlier model conversation, sees no other room and has no tools. Room membership, mentions and delivery
443
+ are supplied by the rooms-server integration; these admin cards alone do not add a chat room or enable an account.
444
+
445
+ ## Administration
446
+
447
+ - **Connected fleets** lists each Fleet by its name with its owner under it. A row's menu has **Revoke…**: "It
448
+ disconnects and everything it shares is withdrawn." Revoked Fleets fold under **Revoked (*n*)**.
449
+ A revoked Fleet's old publications stay hidden even if it reconnects as a new Fleet. Reconnecting does not restore those shares; other active agents and their chats remain available.
450
+ - **Individual invitations** (個別邀請): **Company sign-in name** → **Create invitation** → **Copy invitation**. It lets
451
+ one named, eligible person connect a Fleet without being in an allowed group. Issuing it is the administrator's
452
+ approval; it is bound to that person and this Hub, allows one Fleet connection, and gives no chat or share rights.
453
+ - **Advanced: connect with a pairing code** is the older three-step pairing (make a code, the owner checks the
454
+ fingerprint, the administrator approves). A refusal there names the owner: "*name* can't connect a Fleet right now:
455
+ they aren't in the allowed groups, or they've been blocked from connecting."
456
+ - **Notices**: "When a new fleet connects to this Hub, you're told here. If you don't recognize it, revoke it." A Fleet
457
+ that joined by code reads "Approved with a join code by your Hub administrator." Directory connection changes are
458
+ listed there too and need **Acknowledge**.
459
+ - **This Hub** shows the Hub's name (**Hub name**, up to 64 characters) and what identifies it; **Edit AD connection**
460
+ opens the directory settings.
461
+
462
+ ## Config keys
463
+
464
+ Two keys in `fleet.yaml`, both off unless something turned them on. Prefer the pages above to editing them.
465
+
466
+ | Key | Meaning |
467
+ |---|---|
468
+ | `hub.enabled` | This installation runs a Hub. Set by `agend hub init` or **Set up a Hub**. The Hub's own settings are written by setup and changed on the pages, not by hand: its address in **Settings → Hub → Hub address** on the Hub's computer, its directory and name on the Hub's Administration page. |
469
+ | `hub_member.enabled` | This Fleet may connect to a Hub. Connecting with the Hub address box turns it on by itself; the switch is **Allow this fleet to connect to a Hub**. |
470
+
471
+ ## Limits
472
+
473
+ | What | Limit |
474
+ |---|---|
475
+ | Fleets connected to one Hub | 256 |
476
+ | Fleets per person | set per group or per join code, 0–8 |
477
+ | Agents one Fleet can share | 64 ("At most 64 agents can be shared.") |
478
+ | Join codes | 8 live at once, 10 created per hour; 1–200 Fleets each (30 by default); valid 1 hour, to the end of today, or 7 days |
479
+ | One connection attempt | 10 minutes |
480
+ | Queue retries when the Hub is busy | 8 |
481
+ | An individual invitation | valid 10 minutes |
482
+ | A pairing code (Other ways) | 10 minutes, single use |
483
+ | Allow someone to ask | 1, 7, 30 or 90 days |
484
+
485
+ ## Not available yet
486
+
487
+ Say plainly that these are not in the product yet:
488
+
489
+ - **Custom roles and a manager's team view** (several administrators, roles assigned to people or AD groups, a team
490
+ list with usage counts). Designed and decided; not shipped. Today there is one Hub administrator.
491
+ - **Sharing a ClassicBot room.** Only fleet agents can be shared.
492
+ - **Virtual teams and team-based grants.** They are separate from the existing AD-group grants.
493
+ - **A second sign-in factor on the Hub.** It uses the company account and password only.
494
+ - **Adding to People excluded from the editor.** The list is shown; it cannot be edited there in this release.
495
+ - **Per-person cost or quota figures on the Hub.** Exact usage stays in each Fleet.
496
+
497
+ ## Troubleshooting
498
+
499
+ - **"That is not a Hub address."** Enter just the address (`hub.example.com`), or the address, a space and the join
500
+ code. **"A Hub address must use https."** Drop `http://`.
501
+ - **"*host* cannot be reached."** Check the address, and that this computer is on the company network.
502
+ - **"This computer does not trust *host*'s certificate."** Nothing was connected. The Hub's certificate must be
503
+ trusted by the computer running the Fleet; check with the Hub administrator.
504
+ - **"*host* is not an AgEnD Hub."** Wrong address; ask the Hub administrator.
505
+ - **""*Hub*" does not accept company-account connections yet."** The administrator has not turned on step 1 of **Let
506
+ colleagues join**.
507
+ - **"The Hub and this Fleet need different host names."** Open the Fleet's dashboard under a different host name than
508
+ the Hub's; a different port is not enough.
509
+ - **Connected, but the share switch says Not shared.** The Hub has not allowed you to share agents; with group
510
+ permissions on, no group gives you **Share agents**. This is expected after joining by code alone; ask the Hub
511
+ administrator.
512
+ - **Nothing to ask in New chat.** No owner has allowed you yet; being connected is not enough.
513
+ - **A question stays at "Waiting for the owner's fleet".** It has not reached the owner's Fleet yet; ask the owner
514
+ whether their AgEnD is running and connected.
515
+ - **The Set up a Hub card has no button.** Only this computer's own sign-in can set up a Hub: run `agend web` on the
516
+ computer running AgEnD.
517
+ - **Pages look half old after an upgrade.** A tab opened before the upgrade can mix old and new pages. Reload it once.
518
+ - **"Only the Hub administrator can see this"** on Administration: you are signed in, but not as the administrator.
@@ -60,7 +60,7 @@ The `channel_id` field explicitly binds a general to an adapter. Without it, mat
60
60
  ## Web chat
61
61
 
62
62
  The dashboard's web chat is one more way in, not a `channels:` entry: its messages reach an instance as
63
- `[user:… via web, …]` (`via web (verified)` once that person's account has authorized the browser: check its receipt
63
+ `[user:…@web#…]` (`@web:v` once that person's account has authorized the browser: check its receipt
64
64
  as the cross-instance-messaging skill says) and are answered with `reply` like any other. By default each is also copied to the
65
65
  instance's own topic (`web.echo_to_channel: false` turns that off; a ClassicBot room follows it unless its own `web_echo` is set — `false` keeps that room off).
66
66
 
@@ -7,7 +7,7 @@ roles: [general, worker]
7
7
  ## Tools
8
8
 
9
9
  - `create_schedule` — make a schedule (recurring or one-shot).
10
- - `list_schedules` — list all (optionally filter by target instance).
10
+ - `list_schedules` — list compact titles and timing,20 per page (optionally filter by target instance). Follow `next_cursor` with the same filters. Use `detail:true` without page options for full messages and legacy records before editing.
11
11
  - `update_schedule` — change cron/at/message/target/label/timezone/enabled of an existing one.
12
12
  - `delete_schedule` — remove one.
13
13