@rubytech/create-sitedesk-code 0.1.514 → 0.1.516

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 (220) hide show
  1. package/dist/__tests__/launchd-bootstrap.test.js +164 -18
  2. package/dist/index.js +15 -14
  3. package/dist/launchd-bootstrap.js +86 -17
  4. package/package.json +1 -1
  5. package/payload/platform/docs/superpowers/plans/2026-07-27-task-2016-disabled-agent-routing.md +624 -0
  6. package/payload/platform/docs/superpowers/specs/2026-07-27-task-2016-disabled-agent-routing-design.md +139 -0
  7. package/payload/platform/plugins/admin/mcp/dist/index.js +14 -16
  8. package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
  9. package/payload/platform/plugins/admin/mcp/dist/specialist-registry.d.ts +14 -0
  10. package/payload/platform/plugins/admin/mcp/dist/specialist-registry.d.ts.map +1 -0
  11. package/payload/platform/plugins/admin/mcp/dist/specialist-registry.js +57 -0
  12. package/payload/platform/plugins/admin/mcp/dist/specialist-registry.js.map +1 -0
  13. package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +66 -5
  14. package/payload/platform/plugins/admin/skills/whats-new/SKILL.md +12 -0
  15. package/payload/platform/plugins/docs/references/admin-ui.md +38 -3
  16. package/payload/platform/plugins/docs/references/deployment.md +4 -0
  17. package/payload/platform/plugins/email/PLUGIN.md +1 -1
  18. package/payload/platform/plugins/email/mcp/dist/__tests__/attachment-metadata-calendar.test.d.ts +2 -0
  19. package/payload/platform/plugins/email/mcp/dist/__tests__/attachment-metadata-calendar.test.d.ts.map +1 -0
  20. package/payload/platform/plugins/email/mcp/dist/__tests__/attachment-metadata-calendar.test.js +94 -0
  21. package/payload/platform/plugins/email/mcp/dist/__tests__/attachment-metadata-calendar.test.js.map +1 -0
  22. package/payload/platform/plugins/email/mcp/dist/index.js +1 -1
  23. package/payload/platform/plugins/email/mcp/dist/index.js.map +1 -1
  24. package/payload/platform/plugins/email/mcp/dist/lib/imap.d.ts +21 -1
  25. package/payload/platform/plugins/email/mcp/dist/lib/imap.d.ts.map +1 -1
  26. package/payload/platform/plugins/email/mcp/dist/lib/imap.js +49 -8
  27. package/payload/platform/plugins/email/mcp/dist/lib/imap.js.map +1 -1
  28. package/payload/platform/plugins/email/references/email-reference.md +4 -0
  29. package/payload/platform/plugins/outlook/mcp/dist/__tests__/graph-client-retry.test.js +143 -2
  30. package/payload/platform/plugins/outlook/mcp/dist/__tests__/graph-client-retry.test.js.map +1 -1
  31. package/payload/platform/plugins/outlook/mcp/dist/__tests__/graph-client.test.js +33 -3
  32. package/payload/platform/plugins/outlook/mcp/dist/__tests__/graph-client.test.js.map +1 -1
  33. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-search-paging.test.js +142 -0
  34. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-search-paging.test.js.map +1 -1
  35. package/payload/platform/plugins/outlook/mcp/dist/lib/graph-client.d.ts +8 -0
  36. package/payload/platform/plugins/outlook/mcp/dist/lib/graph-client.d.ts.map +1 -1
  37. package/payload/platform/plugins/outlook/mcp/dist/lib/graph-client.js +40 -0
  38. package/payload/platform/plugins/outlook/mcp/dist/lib/graph-client.js.map +1 -1
  39. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-search.d.ts.map +1 -1
  40. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-search.js +54 -3
  41. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-search.js.map +1 -1
  42. package/payload/platform/plugins/outlook/references/graph-surfaces.md +9 -3
  43. package/payload/platform/plugins/whatsapp/references/channels-whatsapp.md +2 -2
  44. package/payload/platform/scripts/__tests__/agents-md-bootstrap.test.sh +47 -0
  45. package/payload/platform/scripts/lib/agents-md-bootstrap.sh +58 -1
  46. package/payload/platform/services/claude-session-manager/dist/config.d.ts +48 -12
  47. package/payload/platform/services/claude-session-manager/dist/config.d.ts.map +1 -1
  48. package/payload/platform/services/claude-session-manager/dist/config.js +65 -15
  49. package/payload/platform/services/claude-session-manager/dist/config.js.map +1 -1
  50. package/payload/platform/services/claude-session-manager/dist/index.js +7 -4
  51. package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
  52. package/payload/platform/services/claude-session-manager/dist/rootless-client-audit.d.ts.map +1 -1
  53. package/payload/platform/services/claude-session-manager/dist/rootless-client-audit.js +17 -2
  54. package/payload/platform/services/claude-session-manager/dist/rootless-client-audit.js.map +1 -1
  55. package/payload/server/public/activity.html +5 -5
  56. package/payload/server/public/agents.html +4 -4
  57. package/payload/server/public/assets/{AdminLoginScreens-Cs1jSnOF.js → AdminLoginScreens-B5qKb3YK.js} +1 -1
  58. package/payload/server/public/assets/AdminLoginScreens-B5qKb3YK.js.br +0 -0
  59. package/payload/server/public/assets/AdminLoginScreens-B5qKb3YK.js.gz +0 -0
  60. package/payload/server/public/assets/{AdminShell-DkrURZnF.js → AdminShell-BgJEq2zJ.js} +1 -1
  61. package/payload/server/public/assets/AdminShell-BgJEq2zJ.js.br +0 -0
  62. package/payload/server/public/assets/AdminShell-BgJEq2zJ.js.gz +0 -0
  63. package/payload/server/public/assets/{activity-BgZISMuE.js → activity-DmnVUDYO.js} +1 -1
  64. package/payload/server/public/assets/activity-DmnVUDYO.js.br +0 -0
  65. package/payload/server/public/assets/activity-DmnVUDYO.js.gz +0 -0
  66. package/payload/server/public/assets/{admin-DjFysc3-.js → admin-Dpge4OG9.js} +1 -1
  67. package/payload/server/public/assets/admin-Dpge4OG9.js.br +0 -0
  68. package/payload/server/public/assets/admin-Dpge4OG9.js.gz +0 -0
  69. package/payload/server/public/assets/{agents-Bx-MSZW6.js → agents-Bmq9X7P3.js} +1 -1
  70. package/payload/server/public/assets/agents-Bmq9X7P3.js.br +0 -0
  71. package/payload/server/public/assets/agents-Bmq9X7P3.js.gz +0 -0
  72. package/payload/server/public/assets/{browser-1I7syhHu.js → browser-B1G-W80B.js} +1 -1
  73. package/payload/server/public/assets/browser-B1G-W80B.js.br +0 -0
  74. package/payload/server/public/assets/browser-B1G-W80B.js.gz +0 -0
  75. package/payload/server/public/assets/{calendar-D_04JIo1.js → calendar-CHgrOFIN.js} +1 -1
  76. package/payload/server/public/assets/calendar-CHgrOFIN.js.br +0 -0
  77. package/payload/server/public/assets/calendar-CHgrOFIN.js.gz +0 -0
  78. package/payload/server/public/assets/chat-CIwmmtwP.js +1 -0
  79. package/payload/server/public/assets/chat-CIwmmtwP.js.br +0 -0
  80. package/payload/server/public/assets/chat-CIwmmtwP.js.gz +0 -0
  81. package/payload/server/public/assets/chevron-left-EQjfaQ-n.js +1 -0
  82. package/payload/server/public/assets/chevron-left-EQjfaQ-n.js.br +0 -0
  83. package/payload/server/public/assets/chevron-right-Ct8jZUGP.js +1 -0
  84. package/payload/server/public/assets/chevron-right-Ct8jZUGP.js.br +0 -0
  85. package/payload/server/public/assets/clock-Cxz5ybck.js +1 -0
  86. package/payload/server/public/assets/clock-Cxz5ybck.js.br +0 -0
  87. package/payload/server/public/assets/clock-Cxz5ybck.js.gz +0 -0
  88. package/payload/server/public/assets/data-BQVXKVsJ.js +1 -0
  89. package/payload/server/public/assets/data-BQVXKVsJ.js.br +1 -0
  90. package/payload/server/public/assets/data-BQVXKVsJ.js.gz +0 -0
  91. package/payload/server/public/assets/{file-text-DkvKqHMx.js → file-text-BVqqaDun.js} +1 -1
  92. package/payload/server/public/assets/file-text-BVqqaDun.js.br +0 -0
  93. package/payload/server/public/assets/file-text-BVqqaDun.js.gz +0 -0
  94. package/payload/server/public/assets/{graph-CCZhrwZX.js → graph-CEcME0lp.js} +1 -1
  95. package/payload/server/public/assets/graph-CEcME0lp.js.br +0 -0
  96. package/payload/server/public/assets/graph-CEcME0lp.js.gz +0 -0
  97. package/payload/server/public/assets/{graph-labels-BJ7puQkX.js → graph-labels-Zl32_AOH.js} +1 -1
  98. package/payload/server/public/assets/graph-labels-Zl32_AOH.js.br +0 -0
  99. package/payload/server/public/assets/graph-labels-Zl32_AOH.js.gz +0 -0
  100. package/payload/server/public/assets/{maximize-2-Xdj804U1.js → maximize-2-rkkMyAhf.js} +1 -1
  101. package/payload/server/public/assets/maximize-2-rkkMyAhf.js.br +0 -0
  102. package/payload/server/public/assets/maximize-2-rkkMyAhf.js.gz +0 -0
  103. package/payload/server/public/assets/{operator-BkfNpBs7.js → operator-DlL023ch.js} +1 -1
  104. package/payload/server/public/assets/operator-DlL023ch.js.br +0 -0
  105. package/payload/server/public/assets/operator-DlL023ch.js.gz +0 -0
  106. package/payload/server/public/assets/{page-D5n8ShE7.js → page-BAmYYqxp.js} +1 -1
  107. package/payload/server/public/assets/page-BAmYYqxp.js.br +0 -0
  108. package/payload/server/public/assets/page-BAmYYqxp.js.gz +0 -0
  109. package/payload/server/public/assets/{page-BoYc9c4a.js → page-k0BhBkA2.js} +1 -1
  110. package/payload/server/public/assets/page-k0BhBkA2.js.br +0 -0
  111. package/payload/server/public/assets/page-k0BhBkA2.js.gz +0 -0
  112. package/payload/server/public/assets/{public-CX5XSrxD.js → public-Cqgfmo1D.js} +1 -1
  113. package/payload/server/public/assets/public-Cqgfmo1D.js.br +0 -0
  114. package/payload/server/public/assets/public-Cqgfmo1D.js.gz +0 -0
  115. package/payload/server/public/assets/{rotate-ccw-dh_OhL23.js → rotate-ccw-O3RmqoTy.js} +1 -1
  116. package/payload/server/public/assets/rotate-ccw-O3RmqoTy.js.br +0 -0
  117. package/payload/server/public/assets/rotate-ccw-O3RmqoTy.js.gz +0 -0
  118. package/payload/server/public/assets/{routines-bb7dxcrr.js → routines-DMYObMUy.js} +1 -1
  119. package/payload/server/public/assets/routines-DMYObMUy.js.br +0 -0
  120. package/payload/server/public/assets/routines-DMYObMUy.js.gz +0 -0
  121. package/payload/server/public/assets/{skills-TeMwxXmJ.js → skills-DON1BKu5.js} +1 -1
  122. package/payload/server/public/assets/skills-DON1BKu5.js.br +0 -0
  123. package/payload/server/public/assets/skills-DON1BKu5.js.gz +0 -0
  124. package/payload/server/public/assets/{tasks-BqBBJlkg.js → tasks-C2PhUSrf.js} +1 -1
  125. package/payload/server/public/assets/tasks-C2PhUSrf.js.br +0 -0
  126. package/payload/server/public/assets/tasks-C2PhUSrf.js.gz +0 -0
  127. package/payload/server/public/assets/{time-entry-format-Cy_T-wiD.js → time-entry-format-4zgmuQI0.js} +1 -1
  128. package/payload/server/public/assets/time-entry-format-4zgmuQI0.js.br +0 -0
  129. package/payload/server/public/assets/time-entry-format-4zgmuQI0.js.gz +0 -0
  130. package/payload/server/public/assets/{triangle-alert-D-bSbPnX.js → triangle-alert-By5D7wuI.js} +1 -1
  131. package/payload/server/public/assets/triangle-alert-By5D7wuI.js.br +0 -0
  132. package/payload/server/public/assets/triangle-alert-By5D7wuI.js.gz +0 -0
  133. package/payload/server/public/assets/{useCopyFeedback-L7L55nFl.js → useCopyFeedback-Dx0vtm9s.js} +1 -1
  134. package/payload/server/public/assets/useCopyFeedback-Dx0vtm9s.js.br +0 -0
  135. package/payload/server/public/assets/useCopyFeedback-Dx0vtm9s.js.gz +0 -0
  136. package/payload/server/public/assets/{useSubAccountSwitcher-BYl2c7xA.css → useSubAccountSwitcher-UQQDcj0B.css} +1 -1
  137. package/payload/server/public/assets/useSubAccountSwitcher-UQQDcj0B.css.br +0 -0
  138. package/payload/server/public/assets/useSubAccountSwitcher-UQQDcj0B.css.gz +0 -0
  139. package/payload/server/public/assets/{useVoiceRecorder-MuZ7lpet.js → useVoiceRecorder-BgwOCCwj.js} +1 -1
  140. package/payload/server/public/assets/useVoiceRecorder-BgwOCCwj.js.br +0 -0
  141. package/payload/server/public/assets/useVoiceRecorder-BgwOCCwj.js.gz +0 -0
  142. package/payload/server/public/assets/{wrench-DUG1SZQB.js → wrench-CHfMwLza.js} +1 -1
  143. package/payload/server/public/assets/wrench-CHfMwLza.js.br +0 -0
  144. package/payload/server/public/assets/wrench-CHfMwLza.js.gz +0 -0
  145. package/payload/server/public/browser.html +4 -4
  146. package/payload/server/public/calendar.html +7 -7
  147. package/payload/server/public/chat.html +13 -13
  148. package/payload/server/public/data.html +11 -11
  149. package/payload/server/public/graph.html +9 -9
  150. package/payload/server/public/index.html +14 -14
  151. package/payload/server/public/operator.html +14 -14
  152. package/payload/server/public/public.html +13 -13
  153. package/payload/server/public/routines.html +6 -6
  154. package/payload/server/public/skills.html +5 -5
  155. package/payload/server/public/tasks.html +6 -6
  156. package/payload/server/server.js +139 -17
  157. package/payload/server/public/assets/AdminLoginScreens-Cs1jSnOF.js.br +0 -0
  158. package/payload/server/public/assets/AdminLoginScreens-Cs1jSnOF.js.gz +0 -0
  159. package/payload/server/public/assets/AdminShell-DkrURZnF.js.br +0 -0
  160. package/payload/server/public/assets/AdminShell-DkrURZnF.js.gz +0 -0
  161. package/payload/server/public/assets/activity-BgZISMuE.js.br +0 -0
  162. package/payload/server/public/assets/activity-BgZISMuE.js.gz +0 -0
  163. package/payload/server/public/assets/admin-DjFysc3-.js.br +0 -0
  164. package/payload/server/public/assets/admin-DjFysc3-.js.gz +0 -0
  165. package/payload/server/public/assets/agents-Bx-MSZW6.js.br +0 -0
  166. package/payload/server/public/assets/agents-Bx-MSZW6.js.gz +0 -0
  167. package/payload/server/public/assets/browser-1I7syhHu.js.br +0 -0
  168. package/payload/server/public/assets/browser-1I7syhHu.js.gz +0 -0
  169. package/payload/server/public/assets/calendar-D_04JIo1.js.br +0 -0
  170. package/payload/server/public/assets/calendar-D_04JIo1.js.gz +0 -0
  171. package/payload/server/public/assets/chat-BFH3FM5a.js +0 -1
  172. package/payload/server/public/assets/chat-BFH3FM5a.js.br +0 -0
  173. package/payload/server/public/assets/chat-BFH3FM5a.js.gz +0 -0
  174. package/payload/server/public/assets/chevron-left-Ux9-qLkk.js +0 -1
  175. package/payload/server/public/assets/chevron-right-BwIuCfyG.js +0 -1
  176. package/payload/server/public/assets/chevron-right-BwIuCfyG.js.br +0 -0
  177. package/payload/server/public/assets/clock-DhJdZRhC.js +0 -1
  178. package/payload/server/public/assets/clock-DhJdZRhC.js.br +0 -0
  179. package/payload/server/public/assets/data-ChY_uSIk.js +0 -1
  180. package/payload/server/public/assets/data-ChY_uSIk.js.br +0 -0
  181. package/payload/server/public/assets/data-ChY_uSIk.js.gz +0 -0
  182. package/payload/server/public/assets/file-text-DkvKqHMx.js.br +0 -0
  183. package/payload/server/public/assets/file-text-DkvKqHMx.js.gz +0 -0
  184. package/payload/server/public/assets/graph-CCZhrwZX.js.br +0 -0
  185. package/payload/server/public/assets/graph-CCZhrwZX.js.gz +0 -0
  186. package/payload/server/public/assets/graph-labels-BJ7puQkX.js.br +0 -0
  187. package/payload/server/public/assets/graph-labels-BJ7puQkX.js.gz +0 -0
  188. package/payload/server/public/assets/maximize-2-Xdj804U1.js.br +0 -0
  189. package/payload/server/public/assets/maximize-2-Xdj804U1.js.gz +0 -0
  190. package/payload/server/public/assets/operator-BkfNpBs7.js.br +0 -0
  191. package/payload/server/public/assets/operator-BkfNpBs7.js.gz +0 -0
  192. package/payload/server/public/assets/page-BoYc9c4a.js.br +0 -0
  193. package/payload/server/public/assets/page-BoYc9c4a.js.gz +0 -0
  194. package/payload/server/public/assets/page-D5n8ShE7.js.br +0 -0
  195. package/payload/server/public/assets/page-D5n8ShE7.js.gz +0 -0
  196. package/payload/server/public/assets/public-CX5XSrxD.js.br +0 -0
  197. package/payload/server/public/assets/public-CX5XSrxD.js.gz +0 -0
  198. package/payload/server/public/assets/rotate-ccw-dh_OhL23.js.br +0 -0
  199. package/payload/server/public/assets/rotate-ccw-dh_OhL23.js.gz +0 -0
  200. package/payload/server/public/assets/routines-bb7dxcrr.js.br +0 -0
  201. package/payload/server/public/assets/routines-bb7dxcrr.js.gz +0 -0
  202. package/payload/server/public/assets/skills-TeMwxXmJ.js.br +0 -0
  203. package/payload/server/public/assets/skills-TeMwxXmJ.js.gz +0 -0
  204. package/payload/server/public/assets/tasks-BqBBJlkg.js.br +0 -0
  205. package/payload/server/public/assets/tasks-BqBBJlkg.js.gz +0 -0
  206. package/payload/server/public/assets/time-entry-format-Cy_T-wiD.js.br +0 -3
  207. package/payload/server/public/assets/time-entry-format-Cy_T-wiD.js.gz +0 -0
  208. package/payload/server/public/assets/triangle-alert-D-bSbPnX.js.br +0 -1
  209. package/payload/server/public/assets/triangle-alert-D-bSbPnX.js.gz +0 -0
  210. package/payload/server/public/assets/useCopyFeedback-L7L55nFl.js.br +0 -0
  211. package/payload/server/public/assets/useCopyFeedback-L7L55nFl.js.gz +0 -0
  212. package/payload/server/public/assets/useSubAccountSwitcher-BYl2c7xA.css.br +0 -0
  213. package/payload/server/public/assets/useSubAccountSwitcher-BYl2c7xA.css.gz +0 -0
  214. package/payload/server/public/assets/useVoiceRecorder-MuZ7lpet.js.br +0 -0
  215. package/payload/server/public/assets/useVoiceRecorder-MuZ7lpet.js.gz +0 -0
  216. package/payload/server/public/assets/wrench-DUG1SZQB.js.br +0 -0
  217. package/payload/server/public/assets/wrench-DUG1SZQB.js.gz +0 -0
  218. /package/payload/server/public/assets/{useSubAccountSwitcher-DH0P6QMV.js → useSubAccountSwitcher-CRWoQXuU.js} +0 -0
  219. /package/payload/server/public/assets/{useSubAccountSwitcher-DH0P6QMV.js.br → useSubAccountSwitcher-CRWoQXuU.js.br} +0 -0
  220. /package/payload/server/public/assets/{useSubAccountSwitcher-DH0P6QMV.js.gz → useSubAccountSwitcher-CRWoQXuU.js.gz} +0 -0
@@ -0,0 +1,14 @@
1
+ export interface SpecialistRegistryReport {
2
+ /** One ` <name>: <status>` line per AGENTS.md entry, in file order. */
3
+ lines: string[];
4
+ registered: number;
5
+ missing: number;
6
+ disabled: number;
7
+ }
8
+ export declare function classifySpecialists(opts: {
9
+ agentsMd: string;
10
+ specialistsAgentsDir: string;
11
+ accountDir: string;
12
+ chromeUp: boolean;
13
+ }): SpecialistRegistryReport;
14
+ //# sourceMappingURL=specialist-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"specialist-registry.d.ts","sourceRoot":"","sources":["../src/specialist-registry.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,wBAAwB;IACvC,wEAAwE;IACxE,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAkBD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB,GAAG,wBAAwB,CA4B3B"}
@@ -0,0 +1,57 @@
1
+ // Task 2016 — the specialist half of `system-status`.
2
+ //
3
+ // Disabling an agent MOVES its file out of `specialists/agents/` (Task 1996),
4
+ // so a walk of AGENTS.md against that directory sees an absent file and, before
5
+ // this module, called it `missing file` — an operator action rendered as an
6
+ // install fault. The disabled store is what tells the two apart.
7
+ import { existsSync, readFileSync } from "node:fs";
8
+ import { join, resolve } from "node:path";
9
+ /** Basenames the operator switched off. An unreadable store names nothing: a
10
+ * corrupt file is not evidence that an agent was disabled, and the absent file
11
+ * stays `missing file`, which is the honest answer when the store cannot be
12
+ * read. */
13
+ function readDisabledStore(accountDir) {
14
+ const p = resolve(accountDir, "agents-disabled.json");
15
+ if (!existsSync(p))
16
+ return new Set();
17
+ try {
18
+ const parsed = JSON.parse(readFileSync(p, "utf-8"));
19
+ if (!Array.isArray(parsed.disabled))
20
+ return new Set();
21
+ return new Set(parsed.disabled.filter((x) => typeof x === "string"));
22
+ }
23
+ catch {
24
+ return new Set();
25
+ }
26
+ }
27
+ export function classifySpecialists(opts) {
28
+ const entries = opts.agentsMd.match(/^- \*\*specialists:([^*]+)\*\*/gm) ?? [];
29
+ const disabled = readDisabledStore(opts.accountDir);
30
+ const lines = [];
31
+ let missingCount = 0;
32
+ let disabledCount = 0;
33
+ for (const entry of entries) {
34
+ const nameMatch = entry.match(/specialists:([^*]+)/);
35
+ if (!nameMatch)
36
+ continue;
37
+ const name = nameMatch[1];
38
+ let status;
39
+ if (existsSync(join(opts.specialistsAgentsDir, `${name}.md`))) {
40
+ status =
41
+ name === "personal-assistant" && !opts.chromeUp
42
+ ? "degraded — chrome not running"
43
+ : "ok";
44
+ }
45
+ else if (disabled.has(`${name}.md`)) {
46
+ status = "disabled (operator)";
47
+ disabledCount++;
48
+ }
49
+ else {
50
+ status = "missing file";
51
+ missingCount++;
52
+ }
53
+ lines.push(` ${name}: ${status}`);
54
+ }
55
+ return { lines, registered: lines.length, missing: missingCount, disabled: disabledCount };
56
+ }
57
+ //# sourceMappingURL=specialist-registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"specialist-registry.js","sourceRoot":"","sources":["../src/specialist-registry.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,EAAE;AACF,8EAA8E;AAC9E,gFAAgF;AAChF,4EAA4E;AAC5E,iEAAiE;AACjE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAU1C;;;YAGY;AACZ,SAAS,iBAAiB,CAAC,UAAkB;IAC3C,MAAM,CAAC,GAAG,OAAO,CAAC,UAAU,EAAE,sBAAsB,CAAC,CAAC;IACtD,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;QAAE,OAAO,IAAI,GAAG,EAAE,CAAC;IACrC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,CAA2B,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC;YAAE,OAAO,IAAI,GAAG,EAAE,CAAC;QACtD,OAAO,IAAI,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC;IACpF,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,GAAG,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E,aAAa,EAAE,CAAC;AAC7F,CAAC"}
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: platform-architecture
3
3
  description: Use when grounding any documented-surface claim about what SiteDesk ships — plugins, skills, specialists, install/deploy flows, internals. This is the install catalogue, not evidence of what is enabled on the current account. For install state on this account, call `capabilities-here`; for documented surface, cite the `Source:` URL inline.
4
- content-hash: sha256:86e768fb27dbcb38fc304ace12dbca3462943fcb58435cea6925ebf2469a0647
4
+ content-hash: sha256:f164b44ebf79eb2e637d1157465fb53eb4d226989b350d3dbcf2df4fc8afd6b2
5
5
  brand: sitedesk-code
6
6
  product-name: SiteDesk
7
7
  ---
@@ -793,7 +793,29 @@ cat ~/Library/LaunchAgents/com.rubytech.maxy-code.plist
793
793
 
794
794
  The plist points at the wrapper script the installer wrote and at log files under `$HOME/.maxy-code/logs/`. `launchctl bootstrap`'s exit code is recorded in the install log as `[create-maxy] launchd-plist=… loaded=true|false`.
795
795
 
796
- Each brand runs two LaunchAgents: the main service (`com.rubytech.maxy-code`) and a session manager (`com.rubytech.maxy-code-claude-session-manager`). On a re-install `launchctl bootstrap` of the session-manager agent can return a transient `exit 5: Input/output error` even when the agent was not already loaded; the installer boots the agent out and retries automatically. Each attempt is logged as `[launchd] agent=<label> bootout=<rc> bootstrap=<rc> attempt=<n>`, and only an EIO that persists across every attempt aborts the install.
796
+ Each brand runs the main service (`com.rubytech.maxy-code`) plus three supporting LaunchAgents: a session manager (`…-claude-session-manager`), a heartbeat (`…-heartbeat`) and a log rotator (`…-logs-rotate`). A brand with a dedicated Neo4j adds a fifth, `…-neo4j`.
797
+
798
+ On a re-install the installer boots an agent out before bootstrapping it back. `launchctl bootout` returns as soon as launchd accepts the request, but the job's process keeps running — Neo4j's JVM took 14.2 s to finish its store flush on one host — and `launchctl bootstrap` returns `exit 5: Input/output error` for that entire window. So after the bootout the installer polls `launchctl print gui/$UID/<label>` every 500 ms until the label leaves the domain, up to 60 s in total across all attempts, and only then bootstraps. If the label has still not left when the budget runs out, it bootstraps anyway and the resulting exit code decides.
799
+
800
+ This applies to the four supporting agents and the dedicated Neo4j agent. The main service (`com.rubytech.maxy-code`) bootstraps directly and does not wait.
801
+
802
+ Every step is one line in the install log, keyed by `agent=<label>`:
803
+
804
+ ```
805
+ [launchd] agent=<label> op=bootout rc=<n> attempt=<n>
806
+ [launchd] agent=<label> op=wait-poll present=<bool> probeRc=<n|null> elapsedMs=<n>
807
+ [launchd] agent=<label> op=gone goneMs=<n> polls=<n> attempt=<n>
808
+ [launchd] agent=<label> op=bootstrap rc=<n> attempt=<n> waitedMs=<n>
809
+ [launchd] agent=<label> op=result ok=<bool> attempts=<n> totalWaitedMs=<n> probeFailures=<n> rc=<n>
810
+ ```
811
+
812
+ Read one agent's whole lifeline with:
813
+
814
+ ```bash
815
+ grep '\[launchd\]' ~/.maxy-code/logs/install-*.log | grep 'agent=com.rubytech.maxy-code-neo4j'
816
+ ```
817
+
818
+ `op=gone goneMs=<n>` is how long the previous instance actually took to exit. `op=wait-timeout` means it never left within 60 s. `probeRc=null` on a `wait-poll` line means `launchctl print` could not run at all — the wait then continues rather than treating an unrunnable probe as a clear domain, and `probeFailures=<n>` on the result line counts how often that happened. Only an EIO that persists across every attempt aborts the install.
797
819
 
798
820
  ## 4. Open the admin UI
799
821
 
@@ -3134,6 +3156,22 @@ both `kind: 'specialist'` and differ only by origin.
3134
3156
  highest-capability agents on the box were the ones the operator could not see.
3135
3157
  These are the only agents that can be disabled, and the route enforces that
3136
3158
  rather than relying on the UI to withhold the control.
3159
+ **A file in the LIVE directory whose name also exists under
3160
+ `<accountDir>/plugins/*/agents/` is excluded from this set.** `agent-builder`
3161
+ copies the authored file into `specialists/agents/` because presence there is
3162
+ what makes an agent dispatchable, so the live directory says nothing about who
3163
+ wrote the agent and every activated user-created specialist used to render
3164
+ twice, the second time as Shipped. The account plugin tree is the authorship
3165
+ evidence and its row wins, which is also why `disable` refuses a slug present
3166
+ under `plugins/*/agents/`: quarantine exists to stop provisioning re-delivering
3167
+ a file, and provisioning never writes that tree. Both gates read filenames off
3168
+ disk, so a plugin file whose frontmatter does not parse still suppresses its
3169
+ live twin — it is authored either way, and `specialistsSkipped` is what reports
3170
+ the parse failure. The exclusion applies to the live copy only: a copy found in
3171
+ quarantine is operator state, keeps its Shipped row and its `disabled:true`,
3172
+ and is therefore still switchable back on. Each exclusion logs
3173
+ `op=list-shipped-dedup file=<name>` and the count rides `op=list` and the
3174
+ response as `deduped`.
3137
3175
 
3138
3176
  The former "Public" flyout toggle in the account menu was removed; this page is
3139
3177
  the sole agent surface.
@@ -3176,6 +3214,18 @@ and removes anything named in it, so an upgrade does not silently re-deliver a
3176
3214
  disabled agent. An unreadable store withholds nothing and says so: a corrupt
3177
3215
  file is not evidence that an agent was disabled.
3178
3216
 
3217
+ Disabling also reconciles the admin's routing prose. `agents/admin/AGENTS.md`
3218
+ carries one `- **specialists:<name>**:` line per dispatchable specialist, and
3219
+ `agents-md-bootstrap.sh` used to only ever append, so a disabled agent stayed
3220
+ advertised and the admin dispatched to a file that was no longer there. The
3221
+ script now withholds a line for every name in the store, and both routes exec it
3222
+ after the move, so the prose is right immediately rather than after the next
3223
+ provisioning run. It emits `[agents-md] op=specialist-lines account=<id8>
3224
+ kept=<n> withheld=<comma-list|none|store-unreadable>`. `system-status` reads the
3225
+ same store, so a disabled agent reports `disabled (operator)` rather than
3226
+ `missing file`, and the header counts the two separately
3227
+ (`<n> registered, missing=<x> disabled=<y>`).
3228
+
3179
3229
  **Account scope.** The route (`server/routes/admin/agents.ts`) never infers an
3180
3230
  account from device state. The two reads resolve from the caller's admin session
3181
3231
  (`requireAdminSession` + the shared `accountDirForSession` in
@@ -3189,10 +3239,10 @@ explicit `?plugin=` parameter, not inferred from `--` in the slug.
3189
3239
 
3190
3240
  | Route | Behaviour |
3191
3241
  |-------|-----------|
3192
- | `GET /api/admin/agents` | Session-scoped. Lists the session account's public `agents/*/` dirs (never the `admin` agent), its user-created specialists from `plugins/*/agents/*.md`, and its shipped specialists, each row tagged `kind` and `origin` and carrying `risk`, `riskiestTool`, `unresolved` and `disabled`. Returns `{agents, accountId, skipped, specialistsSkipped, shippedSkipped}`. 401 when the session maps to no account. |
3242
+ | `GET /api/admin/agents` | Session-scoped. Lists the session account's public `agents/*/` dirs (never the `admin` agent), its user-created specialists from `plugins/*/agents/*.md`, and its shipped specialists, each row tagged `kind` and `origin` and carrying `risk`, `riskiestTool`, `unresolved` and `disabled`. A live-directory candidate whose filename also exists under `plugins/*/agents/` is dropped and counted, so an activated user-created agent is listed once. Returns `{agents, accountId, skipped, specialistsSkipped, shippedSkipped, deduped, riskSurfaceFailed}`. 401 when the session maps to no account. |
3193
3243
  | `GET /api/admin/agents/:slug` | Session-scoped. Without `?plugin=` or `?origin=`, returns a public agent's config fields + four owned docs + a `present` map (a missing or unreadable doc is `''`/`present.<role>=false`, never a 500). With `?plugin=`, that plugin's user-created specialist; with `?origin=shipped`, the shipped one. Both specialist shapes add `{risk, riskiestTool, unresolved, byTool, disabled}`, where `byTool` is one class per declared tool. Selection is explicit rather than inferred, because a premium file and a user-created specialist under a plugin of the same name produce the same slug. Unknown 404s, 401 as above. |
3194
- | `POST /api/admin/agents/:slug/disable?accountId=` | Shipped agents only, enforced here: a slug present in none of the three shipped directories 404s. Moves the file from `specialists/agents/` to `specialists/agents-disabled/` and records the basename in the 0600 store. Returns `{ok, moved}`; `moved:false` means the agent existed only as a bundled template, so nothing was there to move and the store entry is what stops the next provisioning run delivering it. The store is read strictly before anything moves, so an unreadable store 500s with the file untouched rather than rewriting the file whole from an empty set and dropping every other disabled agent. Same `accountId` contract as delete. |
3195
- | `POST /api/admin/agents/:slug/enable?accountId=` | Covers both of disable's outcomes. Returns `{ok, restored}`: a quarantined file moves back (`restored:true`); a bundled-only agent has nothing to move, so clearing the store entry is the whole job (`restored:false`), which is what stops provisioning withholding it. Treating that second case as "nothing to restore" made disable a one-way door. 404 only when neither directory nor store knows the agent. |
3244
+ | `POST /api/admin/agents/:slug/disable?accountId=` | Shipped agents only, enforced here: a slug present in none of the three shipped directories 404s, and so does a slug present under `plugins/*/agents/` (a user-created specialist, `reason=user-created-specialist`), because its activated copy in the live directory would otherwise pass the shipped test. Moves the file from `specialists/agents/` to `specialists/agents-disabled/` and records the basename in the 0600 store. Returns `{ok, moved}`; `moved:false` means the agent existed only as a bundled template, so nothing was there to move and the store entry is what stops the next provisioning run delivering it. The store is read strictly before anything moves, so an unreadable store 500s with the file untouched rather than rewriting the file whole from an empty set and dropping every other disabled agent. Returns `routingReconciled`, which is `false` when the AGENTS.md reconcile threw: the move and the store write already happened, so the request is not failed, and the caller is told rather than left assuming the prose is correct. Same `accountId` contract as delete. |
3245
+ | `POST /api/admin/agents/:slug/enable?accountId=` | Covers both of disable's outcomes. Returns `{ok, restored}`: a quarantined file moves back (`restored:true`); a bundled-only agent has nothing to move, so clearing the store entry is the whole job (`restored:false`), which is what stops provisioning withholding it. Treating that second case as "nothing to restore" made disable a one-way door. 404 only when neither directory nor store knows the agent. Carries the same `routingReconciled` field; the restored file is what puts the routing line back. |
3196
3246
  | `DELETE /api/admin/agents/:slug?accountId=` | Public agents only, on the named validated account. Removes the dir after `deleteAgentProjection`; refuses the `admin` slug (403) and a missing/unknown `accountId` (400) with no write. Loud-fail: a graph-cleanup throw aborts the file removal. |
3197
3247
  | `POST /api/admin/agents/:slug/project?accountId=` | Re-projects the named account's on-disk agent into the graph. Same `accountId` contract as delete. |
3198
3248
 
@@ -3219,6 +3269,13 @@ Agents page survived undiagnosed on a multi-account install.
3219
3269
  - `op=delete accountId=<id8> slug=<…> outcome=<ok|failed>` with
3220
3270
  `reason=<graph-cleanup-failed|rm-error>` on failure (files preserved on a
3221
3271
  graph-cleanup throw).
3272
+ - `op=list-shipped-dedup file=<name>` — one line per live-directory candidate
3273
+ dropped as an authored duplicate, with `deduped=<n>` on the `op=list` line and
3274
+ in the response. `shipped + shippedSkipped + deduped` equals the number of
3275
+ distinct `.md` names across the three source directories, so a listing that
3276
+ does not add up is visible without reproducing anything. The over-exclusion to
3277
+ watch for is a `deduped` line naming a file that is also a bundled or premium
3278
+ agent: the authored file then hides a genuinely shipped one.
3222
3279
  - `op=classify account=<id8> agent=<name> origin=<shipped|public|specialist>
3223
3280
  risk=<green|amber|red> riskiestTool=<tool> tools=<n> unresolved=<comma-list|none>
3224
3281
  disabled=<bool>` — one line per classified agent per listing, so it fires on
@@ -4783,6 +4840,10 @@ npx -y @rubytech/create-realagent-code # realagent brand
4783
4840
 
4784
4841
  **LaunchAgent.** The installer registers `SiteDesk` as a launchd LaunchAgent at `~/Library/LaunchAgents/com.rubytech.<brand-hostname>.plist` — for example `com.rubytech.maxy-code.plist`. Survives logout/login and reboot via `KeepAlive=true` and `RunAtLoad=true`. Two brands on the same Mac get two distinct plists (brand-hostname-keyed), so install order is independent. Use `launchctl print gui/$UID/com.rubytech.<brand-hostname>` for service state. The `[create-maxy] launchd-plist=<path> loaded=true` line in the install log confirms `launchctl bootstrap` accepted the plist; `loaded=false exit=<n>` is the failure signal (run `plutil -lint <path>` to diagnose).
4785
4842
 
4843
+ **Restart waits for the old instance.** This covers the session-manager, heartbeat, logs-rotate and dedicated-Neo4j agents — not the main service above, which bootstraps directly. A re-install boots the agent out first, but `launchctl bootout` returns as soon as launchd accepts the request: the job's process can keep running for seconds afterwards (a dedicated Neo4j's JVM took 14.2 s to finish its store flush), and `launchctl bootstrap` returns `exit 5: Input/output error` for that whole window. The installer therefore polls `launchctl print gui/$UID/<label>` every 500 ms until the label leaves the domain, up to 60 s total across all attempts, before bootstrapping; if it never leaves, the installer bootstraps anyway and the exit code decides. The lifecycle is one log line per step, keyed `agent=<label>`: `op=bootout`, `op=wait-poll present=<bool> probeRc=<n|null>`, `op=gone goneMs=<n> polls=<n>`, `op=bootstrap rc=<n> waitedMs=<n>`, `op=result ok=<bool> totalWaitedMs=<n> probeFailures=<n>`. `op=gone goneMs=<n>` is how long the previous instance actually took to exit; `op=wait-timeout` means it never left within 60 s; `probeFailures=<n>` counts probes that could not run at all, which makes the wait blind.
4844
+
4845
+ Note `launchctl print`'s exit code reports domain membership, not liveness — a job that loads and exits immediately still returns 0. Detecting a dead-on-arrival agent needs a different primitive and is not attempted; for the main service and the session manager the existing `/healthz` probe is what catches it.
4846
+
4786
4847
  **Cloudflare on darwin.** The installer brew-installs the `cloudflared` binary so it is on PATH, but does not invoke `cloudflared service install` or `cloudflared tunnel route dns` — public reach is opt-in. After install, the operator runs `cloudflared tunnel login` (browser-driven) followed by the existing tunnel-setup flow if they want a public address. Grep `[create-maxy] darwin-cloudflare-skip=true` in the install log to confirm the installer took the documented skip path.
4787
4848
 
4788
4849
  **Uninstall.** `npx -y @rubytech/create-maxy-code uninstall` (or the realagent equivalent) bootsout the LaunchAgent, removes the plist, and deletes `~/.<brand>/`. Homebrew-installed dependencies (curl, git, unzip, jq, poppler, ffmpeg, node@22, neo4j, cloudflared) remain — remove them with `brew uninstall` if you want a clean slate.
@@ -9,6 +9,18 @@ Invoked by the admin agent directly.
9
9
 
10
10
  This is the platform's release timeline, newest first. Each entry shows the date it shipped and the version it shipped in, so you can tell the operator how current their install is. To compare, read the installed version from `capabilities-here` and match it against the versions below. Keep answers high level and in plain English; this is a summary, not a full commit log.
11
11
 
12
+ ## 2026-07-27 (0.1.516)
13
+
14
+ - Meeting invitations attached to an email are no longer invisible: a calendar part now counts as an attachment on every read path.
15
+ - The Agents page no longer lists a specialist you created twice, once as your own and again as shipped.
16
+ - Outlook errors now say what actually happened. A refusal on an item that was deleted reads as deletion rather than a missing permission, and a mailbox being moved gets its own message instead of a bare server error.
17
+
18
+ ## 2026-07-27 (0.1.515)
19
+
20
+ - Disabling an agent now takes effect straight away: it is dropped from the routing table, reported as disabled rather than missing, and the agents file is reconciled on both disable and enable.
21
+ - Scheduled WhatsApp messages and live incoming messages now work out which account they belong to through the same code, so a scheduled send cannot land on a different account than a live reply would.
22
+ - When an account folder cannot be read at startup, the log now reports the actual error and names the files that failed to parse, instead of reporting that there are no accounts.
23
+
12
24
  ## 2026-07-27 (0.1.514)
13
25
 
14
26
  - Three delete and danger buttons had no visible hover state, because their hover colour resolved to white. They now have a real hover step on the colour ramp.
@@ -181,6 +181,22 @@ both `kind: 'specialist'` and differ only by origin.
181
181
  highest-capability agents on the box were the ones the operator could not see.
182
182
  These are the only agents that can be disabled, and the route enforces that
183
183
  rather than relying on the UI to withhold the control.
184
+ **A file in the LIVE directory whose name also exists under
185
+ `<accountDir>/plugins/*/agents/` is excluded from this set.** `agent-builder`
186
+ copies the authored file into `specialists/agents/` because presence there is
187
+ what makes an agent dispatchable, so the live directory says nothing about who
188
+ wrote the agent and every activated user-created specialist used to render
189
+ twice, the second time as Shipped. The account plugin tree is the authorship
190
+ evidence and its row wins, which is also why `disable` refuses a slug present
191
+ under `plugins/*/agents/`: quarantine exists to stop provisioning re-delivering
192
+ a file, and provisioning never writes that tree. Both gates read filenames off
193
+ disk, so a plugin file whose frontmatter does not parse still suppresses its
194
+ live twin — it is authored either way, and `specialistsSkipped` is what reports
195
+ the parse failure. The exclusion applies to the live copy only: a copy found in
196
+ quarantine is operator state, keeps its Shipped row and its `disabled:true`,
197
+ and is therefore still switchable back on. Each exclusion logs
198
+ `op=list-shipped-dedup file=<name>` and the count rides `op=list` and the
199
+ response as `deduped`.
184
200
 
185
201
  The former "Public" flyout toggle in the account menu was removed; this page is
186
202
  the sole agent surface.
@@ -223,6 +239,18 @@ and removes anything named in it, so an upgrade does not silently re-deliver a
223
239
  disabled agent. An unreadable store withholds nothing and says so: a corrupt
224
240
  file is not evidence that an agent was disabled.
225
241
 
242
+ Disabling also reconciles the admin's routing prose. `agents/admin/AGENTS.md`
243
+ carries one `- **specialists:<name>**:` line per dispatchable specialist, and
244
+ `agents-md-bootstrap.sh` used to only ever append, so a disabled agent stayed
245
+ advertised and the admin dispatched to a file that was no longer there. The
246
+ script now withholds a line for every name in the store, and both routes exec it
247
+ after the move, so the prose is right immediately rather than after the next
248
+ provisioning run. It emits `[agents-md] op=specialist-lines account=<id8>
249
+ kept=<n> withheld=<comma-list|none|store-unreadable>`. `system-status` reads the
250
+ same store, so a disabled agent reports `disabled (operator)` rather than
251
+ `missing file`, and the header counts the two separately
252
+ (`<n> registered, missing=<x> disabled=<y>`).
253
+
226
254
  **Account scope.** The route (`server/routes/admin/agents.ts`) never infers an
227
255
  account from device state. The two reads resolve from the caller's admin session
228
256
  (`requireAdminSession` + the shared `accountDirForSession` in
@@ -236,10 +264,10 @@ explicit `?plugin=` parameter, not inferred from `--` in the slug.
236
264
 
237
265
  | Route | Behaviour |
238
266
  |-------|-----------|
239
- | `GET /api/admin/agents` | Session-scoped. Lists the session account's public `agents/*/` dirs (never the `admin` agent), its user-created specialists from `plugins/*/agents/*.md`, and its shipped specialists, each row tagged `kind` and `origin` and carrying `risk`, `riskiestTool`, `unresolved` and `disabled`. Returns `{agents, accountId, skipped, specialistsSkipped, shippedSkipped}`. 401 when the session maps to no account. |
267
+ | `GET /api/admin/agents` | Session-scoped. Lists the session account's public `agents/*/` dirs (never the `admin` agent), its user-created specialists from `plugins/*/agents/*.md`, and its shipped specialists, each row tagged `kind` and `origin` and carrying `risk`, `riskiestTool`, `unresolved` and `disabled`. A live-directory candidate whose filename also exists under `plugins/*/agents/` is dropped and counted, so an activated user-created agent is listed once. Returns `{agents, accountId, skipped, specialistsSkipped, shippedSkipped, deduped, riskSurfaceFailed}`. 401 when the session maps to no account. |
240
268
  | `GET /api/admin/agents/:slug` | Session-scoped. Without `?plugin=` or `?origin=`, returns a public agent's config fields + four owned docs + a `present` map (a missing or unreadable doc is `''`/`present.<role>=false`, never a 500). With `?plugin=`, that plugin's user-created specialist; with `?origin=shipped`, the shipped one. Both specialist shapes add `{risk, riskiestTool, unresolved, byTool, disabled}`, where `byTool` is one class per declared tool. Selection is explicit rather than inferred, because a premium file and a user-created specialist under a plugin of the same name produce the same slug. Unknown 404s, 401 as above. |
241
- | `POST /api/admin/agents/:slug/disable?accountId=` | Shipped agents only, enforced here: a slug present in none of the three shipped directories 404s. Moves the file from `specialists/agents/` to `specialists/agents-disabled/` and records the basename in the 0600 store. Returns `{ok, moved}`; `moved:false` means the agent existed only as a bundled template, so nothing was there to move and the store entry is what stops the next provisioning run delivering it. The store is read strictly before anything moves, so an unreadable store 500s with the file untouched rather than rewriting the file whole from an empty set and dropping every other disabled agent. Same `accountId` contract as delete. |
242
- | `POST /api/admin/agents/:slug/enable?accountId=` | Covers both of disable's outcomes. Returns `{ok, restored}`: a quarantined file moves back (`restored:true`); a bundled-only agent has nothing to move, so clearing the store entry is the whole job (`restored:false`), which is what stops provisioning withholding it. Treating that second case as "nothing to restore" made disable a one-way door. 404 only when neither directory nor store knows the agent. |
269
+ | `POST /api/admin/agents/:slug/disable?accountId=` | Shipped agents only, enforced here: a slug present in none of the three shipped directories 404s, and so does a slug present under `plugins/*/agents/` (a user-created specialist, `reason=user-created-specialist`), because its activated copy in the live directory would otherwise pass the shipped test. Moves the file from `specialists/agents/` to `specialists/agents-disabled/` and records the basename in the 0600 store. Returns `{ok, moved}`; `moved:false` means the agent existed only as a bundled template, so nothing was there to move and the store entry is what stops the next provisioning run delivering it. The store is read strictly before anything moves, so an unreadable store 500s with the file untouched rather than rewriting the file whole from an empty set and dropping every other disabled agent. Returns `routingReconciled`, which is `false` when the AGENTS.md reconcile threw: the move and the store write already happened, so the request is not failed, and the caller is told rather than left assuming the prose is correct. Same `accountId` contract as delete. |
270
+ | `POST /api/admin/agents/:slug/enable?accountId=` | Covers both of disable's outcomes. Returns `{ok, restored}`: a quarantined file moves back (`restored:true`); a bundled-only agent has nothing to move, so clearing the store entry is the whole job (`restored:false`), which is what stops provisioning withholding it. Treating that second case as "nothing to restore" made disable a one-way door. 404 only when neither directory nor store knows the agent. Carries the same `routingReconciled` field; the restored file is what puts the routing line back. |
243
271
  | `DELETE /api/admin/agents/:slug?accountId=` | Public agents only, on the named validated account. Removes the dir after `deleteAgentProjection`; refuses the `admin` slug (403) and a missing/unknown `accountId` (400) with no write. Loud-fail: a graph-cleanup throw aborts the file removal. |
244
272
  | `POST /api/admin/agents/:slug/project?accountId=` | Re-projects the named account's on-disk agent into the graph. Same `accountId` contract as delete. |
245
273
 
@@ -266,6 +294,13 @@ Agents page survived undiagnosed on a multi-account install.
266
294
  - `op=delete accountId=<id8> slug=<…> outcome=<ok|failed>` with
267
295
  `reason=<graph-cleanup-failed|rm-error>` on failure (files preserved on a
268
296
  graph-cleanup throw).
297
+ - `op=list-shipped-dedup file=<name>` — one line per live-directory candidate
298
+ dropped as an authored duplicate, with `deduped=<n>` on the `op=list` line and
299
+ in the response. `shipped + shippedSkipped + deduped` equals the number of
300
+ distinct `.md` names across the three source directories, so a listing that
301
+ does not add up is visible without reproducing anything. The over-exclusion to
302
+ watch for is a `deduped` line naming a file that is also a bundled or premium
303
+ agent: the authored file then hides a genuinely shipped one.
269
304
  - `op=classify account=<id8> agent=<name> origin=<shipped|public|specialist>
270
305
  risk=<green|amber|red> riskiestTool=<tool> tools=<n> unresolved=<comma-list|none>
271
306
  disabled=<bool>` — one line per classified agent per listing, so it fires on
@@ -41,6 +41,10 @@ npx -y @rubytech/create-realagent-code # realagent brand
41
41
 
42
42
  **LaunchAgent.** The installer registers `{{productName}}` as a launchd LaunchAgent at `~/Library/LaunchAgents/com.rubytech.<brand-hostname>.plist` — for example `com.rubytech.maxy-code.plist`. Survives logout/login and reboot via `KeepAlive=true` and `RunAtLoad=true`. Two brands on the same Mac get two distinct plists (brand-hostname-keyed), so install order is independent. Use `launchctl print gui/$UID/com.rubytech.<brand-hostname>` for service state. The `[create-maxy] launchd-plist=<path> loaded=true` line in the install log confirms `launchctl bootstrap` accepted the plist; `loaded=false exit=<n>` is the failure signal (run `plutil -lint <path>` to diagnose).
43
43
 
44
+ **Restart waits for the old instance.** This covers the session-manager, heartbeat, logs-rotate and dedicated-Neo4j agents — not the main service above, which bootstraps directly. A re-install boots the agent out first, but `launchctl bootout` returns as soon as launchd accepts the request: the job's process can keep running for seconds afterwards (a dedicated Neo4j's JVM took 14.2 s to finish its store flush), and `launchctl bootstrap` returns `exit 5: Input/output error` for that whole window. The installer therefore polls `launchctl print gui/$UID/<label>` every 500 ms until the label leaves the domain, up to 60 s total across all attempts, before bootstrapping; if it never leaves, the installer bootstraps anyway and the exit code decides. The lifecycle is one log line per step, keyed `agent=<label>`: `op=bootout`, `op=wait-poll present=<bool> probeRc=<n|null>`, `op=gone goneMs=<n> polls=<n>`, `op=bootstrap rc=<n> waitedMs=<n>`, `op=result ok=<bool> totalWaitedMs=<n> probeFailures=<n>`. `op=gone goneMs=<n>` is how long the previous instance actually took to exit; `op=wait-timeout` means it never left within 60 s; `probeFailures=<n>` counts probes that could not run at all, which makes the wait blind.
45
+
46
+ Note `launchctl print`'s exit code reports domain membership, not liveness — a job that loads and exits immediately still returns 0. Detecting a dead-on-arrival agent needs a different primitive and is not attempted; for the main service and the session manager the existing `/healthz` probe is what catches it.
47
+
44
48
  **Cloudflare on darwin.** The installer brew-installs the `cloudflared` binary so it is on PATH, but does not invoke `cloudflared service install` or `cloudflared tunnel route dns` — public reach is opt-in. After install, the operator runs `cloudflared tunnel login` (browser-driven) followed by the existing tunnel-setup flow if they want a public address. Grep `[create-maxy] darwin-cloudflare-skip=true` in the install log to confirm the installer took the documented skip path.
45
49
 
46
50
  **Uninstall.** `npx -y @rubytech/create-maxy-code uninstall` (or the realagent equivalent) bootsout the LaunchAgent, removes the plist, and deletes `~/.<brand>/`. Homebrew-installed dependencies (curl, git, unzip, jq, poppler, ffmpeg, node@22, neo4j, cloudflared) remain — remove them with `brew uninstall` if you want a clean slate.
@@ -104,7 +104,7 @@ Manages the agent's own dedicated email account — IMAP for reading, SMTP for s
104
104
  - **Read inbox:** `email-read` — metadata only (UID, sender, subject, date), plus a best-effort `Archive`/`Archive-Section` hint when the IMAP message's `receivedAt` falls inside a stored `:ConversationArchive {source:'email'}` section, plus an `Attachments (N): filename (mime, size); …` footer when the message carries enclosures. Supports pagination (`before_uid`), folders (`inbox`/`sent`), filtering by sender/date/subject. Metadata is derived from IMAP `bodyStructure` — no bytes downloaded.
105
105
  - **Search inbox:** `email-search` — live IMAP search by sender, subject, body keyword, date range. Same per-archive hint and attachment footer as `email-read`.
106
106
  - **Delete (move to Trash):** `email-delete` — move the messages named by `uids` (from a prior `email-read`/`email-search`, scoped to a source `folder` of `inbox` or `sent`) into the mailbox's Trash folder. **Recoverable, never an expunge** — the message leaves the inbox and permanent removal is left to the operator's own mail client or the provider's Trash auto-purge; this tool never permanently deletes. Trash is resolved per provider: the `\Trash` special-use folder if advertised, else the first existing of `Trash`, `[Gmail]/Trash`, `Deleted Items`, `Deleted Messages`. `Junk` is never treated as Trash. A mailbox with no resolvable Trash yields a typed error and moves nothing — there is no silent expunge fallback. A `uid` that is already gone is counted not-moved without failing the rest; the result reports `Moved N of M message(s) to <Trash>`. It deletes only the UIDs you name, never by search criteria.
107
- - **Read one attachment's text:** `email-fetch-attachment` — the extracted text of a single inbox attachment, addressed by `uid` plus an optional `index` (1-based, matching the `Attachments (N): …` footer order) or `filename`. With one attachment and no selector, that attachment is read; with more than one and no selector, or an ambiguous filename, the call is refused with a numbered listing. `application/pdf` is extracted via `pdftotext`, `text/*` by decode; any other type reports that it cannot be extracted, and a PDF with no text layer reports it is a scanned image (no OCR), so "no data in the attachment" never reads the same as "the attachment could not be read". Bytes are downloaded once through the 25 MB-capped fetch path; inbox only. Use this when actionable data (a meeting date, an amount) may sit inside a PDF rather than the email body.
107
+ - **Read one attachment's text:** `email-fetch-attachment` — the extracted text of a single inbox attachment, addressed by `uid` plus an optional `index` (1-based, matching the `Attachments (N): …` footer order) or `filename`. With one attachment and no selector, that attachment is read; with more than one and no selector, or an ambiguous filename, the call is refused with a numbered listing. `application/pdf` is extracted via `pdftotext`, `text/*` by decode; any other type reports that it cannot be extracted, and a PDF with no text layer reports it is a scanned image (no OCR), so "no data in the attachment" never reads the same as "the attachment could not be read". Bytes are downloaded once through the 25 MB-capped fetch path; inbox only. A `text/calendar` part counts as an attachment whatever its disposition and whatever its name — a named one keeps its name, an unnamed one is listed as `invite-<part>.ics` — so a meeting invite whose message body is empty is still readable. A calendar part inside a forwarded `message/rfc822` wrapper is not listed (IMAP gives it the wrapper's part number, which fetches the whole encapsulated message). Use this when actionable data (a meeting date, an amount) may sit inside a file rather than the email body.
108
108
  - **Read one whole message:** `email-fetch-body` — the COMPLETE decoded body of a single message addressed by `uid` (with optional `folder`) or `message_id` (resolved across inbox and sent). No 500-char preview cap. Downloads the full RFC822 source and decodes it with `mailparser`, so every MIME shape — flat text, single-part HTML, `multipart/alternative`, and nested `multipart/related`/`multipart/mixed` (Outlook's inline-image house style) — yields a body; the preview tools above intentionally stay preview-only. Use this when the operator wants to read or act on a message's actual content.
109
109
  - **Send:** `email-send` — new outbound email. Pass `cc`/`bcc` (each an array of email addresses) to copy or blind-copy recipients — CC appears in the message header, BCC recipients receive the message without appearing in any header. Pass `attachments` (absolute file paths under the account directory, ≤25 MB each) to attach files as SMTP attachments; an invalid path fails the send with no email dispatched. The success message names the CC recipients and reports the BCC count without naming them.
110
110
  - **Reply:** `email-reply` — threaded reply to an existing email by `messageId`. Resolves the original envelope via IMAP `SEARCH HEADER Message-ID` (INBOX then `\Sent`), so threading works for any message still present on the server even if the graph never ingested it. Supports `replyAll`, `cc`/`bcc`, and `attachments` (same path rules as `email-send`). Explicit `cc`/`bcc` are added in addition to whatever `replyAll` places in `To`, passed through as given (no overlap de-duplication against `To`).
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=attachment-metadata-calendar.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachment-metadata-calendar.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/attachment-metadata-calendar.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,94 @@
1
+ import { describe, expect, it } from 'vitest';
2
+ import { walkAttachmentMetadata, countBodyStructureLeaves } from '../lib/imap.js';
3
+ // Measured on the live mailbox 2026-07-27: UIDs 5104/5105, Outlook meeting
4
+ // invites from ebony@magneticbd.co.uk. The calendar leaf carries no
5
+ // disposition and no name, which is why it was dropped (Task 2066).
6
+ const INVITE = {
7
+ type: 'multipart/alternative',
8
+ parameters: { boundary: '_000_LO2P123MB4336_' },
9
+ childNodes: [
10
+ { part: '1', type: 'text/plain', parameters: { charset: 'iso-8859-1' }, encoding: 'quoted-printable', size: 2 },
11
+ { part: '2', type: 'text/html', parameters: { charset: 'iso-8859-1' }, encoding: 'quoted-printable', size: 1496 },
12
+ { part: '3', type: 'text/calendar', parameters: { charset: 'utf-8', method: 'REQUEST' }, encoding: 'base64', size: 3470 },
13
+ ],
14
+ };
15
+ describe('Task 2066 — text/calendar leaves are attachment-shaped', () => {
16
+ it('surfaces the unnamed calendar part of an Outlook invite', () => {
17
+ expect(walkAttachmentMetadata(INVITE)).toEqual([
18
+ { partKey: '3', filename: 'invite-3.ics', mimeType: 'text/calendar', sizeBytes: 3470, encoding: 'base64' },
19
+ ]);
20
+ });
21
+ it('keeps a calendar part that carries its own name', () => {
22
+ const named = {
23
+ type: 'multipart/mixed',
24
+ childNodes: [
25
+ { part: '1', type: 'text/plain', size: 10 },
26
+ { part: '2', type: 'text/calendar', parameters: { name: 'meeting.ics' }, encoding: 'base64', size: 900 },
27
+ ],
28
+ };
29
+ expect(walkAttachmentMetadata(named).map((a) => a.filename)).toEqual(['meeting.ics']);
30
+ });
31
+ it('still excludes an unnamed inline image with no disposition', () => {
32
+ const inlineImage = {
33
+ type: 'multipart/related',
34
+ childNodes: [
35
+ { part: '1', type: 'text/html', size: 500 },
36
+ { part: '2', type: 'image/png', encoding: 'base64', size: 4096 },
37
+ ],
38
+ };
39
+ expect(walkAttachmentMetadata(inlineImage)).toEqual([]);
40
+ });
41
+ it('skips a calendar part reached through a message/rfc822 wrapper', () => {
42
+ // ImapFlow gives an embedded single-part message the WRAPPER's part number
43
+ // (tools.js walk(node, path) for message/rfc822), so partKey '2' would fetch
44
+ // the whole encapsulated message rather than the calendar leaf.
45
+ const forwarded = {
46
+ type: 'multipart/mixed',
47
+ childNodes: [
48
+ { part: '1', type: 'text/plain', size: 40 },
49
+ {
50
+ part: '2',
51
+ type: 'message/rfc822',
52
+ disposition: 'attachment',
53
+ dispositionParameters: { filename: 'Invite.eml' },
54
+ size: 4200,
55
+ childNodes: [{ part: '2', type: 'text/calendar', encoding: 'base64', size: 3470 }],
56
+ },
57
+ ],
58
+ };
59
+ expect(walkAttachmentMetadata(forwarded)).toEqual([]);
60
+ });
61
+ it('returns a named PDF and an unnamed calendar part, in part order', () => {
62
+ const both = {
63
+ type: 'multipart/mixed',
64
+ childNodes: [
65
+ { part: '1', type: 'text/plain', size: 20 },
66
+ {
67
+ part: '2',
68
+ type: 'application/pdf',
69
+ disposition: 'attachment',
70
+ dispositionParameters: { filename: 'proposal.pdf' },
71
+ encoding: 'base64',
72
+ size: 12345,
73
+ },
74
+ { part: '3', type: 'text/calendar', parameters: { method: 'REQUEST' }, encoding: 'base64', size: 3470 },
75
+ ],
76
+ };
77
+ expect(walkAttachmentMetadata(both).map((a) => `${a.partKey}:${a.filename}`)).toEqual([
78
+ '2:proposal.pdf',
79
+ '3:invite-3.ics',
80
+ ]);
81
+ });
82
+ });
83
+ describe('Task 2066 — leaf count for the attachments diag', () => {
84
+ it('counts every non-multipart leaf of the invite', () => {
85
+ expect(countBodyStructureLeaves(INVITE)).toBe(3);
86
+ });
87
+ it('counts a flat single-part message as one leaf', () => {
88
+ expect(countBodyStructureLeaves({ part: '1', type: 'text/plain', size: 12 })).toBe(1);
89
+ });
90
+ it('returns 0 for an absent structure', () => {
91
+ expect(countBodyStructureLeaves(undefined)).toBe(0);
92
+ });
93
+ });
94
+ //# sourceMappingURL=attachment-metadata-calendar.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachment-metadata-calendar.test.js","sourceRoot":"","sources":["../../src/__tests__/attachment-metadata-calendar.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAC7C,OAA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;QACvD,MAAM,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAClD,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,wBAAwB,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACvF,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE;QAC3C,MAAM,CAAC,wBAAwB,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACrD,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -210,7 +210,7 @@ eagerTool(server, "email-fetch-body", "Retrieve the COMPLETE decoded body of one
210
210
  // ===================================================================
211
211
  // email-fetch-attachment — extract the text of one attachment
212
212
  // ===================================================================
213
- eagerTool(server, "email-fetch-attachment", "Return the extracted TEXT of one attachment on an inbox message, addressed by uid plus an optional index (1-based, matching the Attachments (N): footer order) or filename. PDF is read via pdftotext, text/* by decode; other types report that they cannot be extracted, and a scanned PDF reports its missing text layer. This is the read-side twin of email-fetch-body (which returns the message body). Use it when actionable data (a meeting date, an amount) may sit inside a PDF rather than the email text.", {
213
+ eagerTool(server, "email-fetch-attachment", "Return the extracted TEXT of one attachment on an inbox message, addressed by uid plus an optional index (1-based, matching the Attachments (N): footer order) or filename. PDF is read via pdftotext, text/* by decode; other types report that they cannot be extracted, and a scanned PDF reports its missing text layer. This is the read-side twin of email-fetch-body (which returns the message body). A meeting invite's calendar part is an attachment too (unnamed ones are listed as invite-<part>.ics), so an invite with an empty body is read this way. Use it when actionable data (a meeting date, an amount) may sit inside a file rather than the email text.", {
214
214
  ...MAILBOX_ARG,
215
215
  uid: z.coerce.number().int().describe("IMAP UID of the inbox message (from email-read/email-search/email-fetch output)."),
216
216
  index: z.coerce.number().int().positive().optional().describe("1-based attachment number from the Attachments (N): footer. Omit when the message has a single attachment."),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,6EAA6E;AAC7E,8EAA8E;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,sBAAsB,EAAE,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,M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