@rubytech/create-maxy-code 0.1.446 → 0.1.447

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 (232) hide show
  1. package/package.json +1 -1
  2. package/payload/platform/lib/graph-style/dist/index.d.ts.map +1 -1
  3. package/payload/platform/lib/graph-style/dist/index.js +6 -0
  4. package/payload/platform/lib/graph-style/dist/index.js.map +1 -1
  5. package/payload/platform/lib/graph-style/src/index.ts +7 -0
  6. package/payload/platform/neo4j/schema.cypher +32 -1
  7. package/payload/platform/plugins/.claude-plugin/marketplace.json +5 -0
  8. package/payload/platform/plugins/admin/hooks/lib/maxy-mcp-plugins.txt +1 -0
  9. package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +42 -5
  10. package/payload/platform/plugins/docs/references/calendar-booking.md +18 -1
  11. package/payload/platform/plugins/docs/references/claudeai-connectors.md +15 -0
  12. package/payload/platform/plugins/docs/references/outlook-guide.md +8 -3
  13. package/payload/platform/plugins/email/skills/email-composition/SKILL.md +4 -4
  14. package/payload/platform/plugins/memory/references/schema-construction.md +7 -2
  15. package/payload/platform/plugins/outlook/.claude-plugin/plugin.json +1 -1
  16. package/payload/platform/plugins/outlook/PLUGIN.md +23 -5
  17. package/payload/platform/plugins/outlook/mcp/dist/__tests__/draft-edit.test.d.ts +2 -0
  18. package/payload/platform/plugins/outlook/mcp/dist/__tests__/draft-edit.test.d.ts.map +1 -0
  19. package/payload/platform/plugins/outlook/mcp/dist/__tests__/draft-edit.test.js +70 -0
  20. package/payload/platform/plugins/outlook/mcp/dist/__tests__/draft-edit.test.js.map +1 -0
  21. package/payload/platform/plugins/outlook/mcp/dist/__tests__/html-to-text.test.d.ts +2 -0
  22. package/payload/platform/plugins/outlook/mcp/dist/__tests__/html-to-text.test.d.ts.map +1 -0
  23. package/payload/platform/plugins/outlook/mcp/dist/__tests__/html-to-text.test.js +22 -0
  24. package/payload/platform/plugins/outlook/mcp/dist/__tests__/html-to-text.test.js.map +1 -0
  25. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-delete.test.d.ts +2 -0
  26. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-delete.test.d.ts.map +1 -0
  27. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-delete.test.js +60 -0
  28. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-delete.test.js.map +1 -0
  29. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-fetch-body.test.d.ts +2 -0
  30. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-fetch-body.test.d.ts.map +1 -0
  31. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-fetch-body.test.js +80 -0
  32. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-fetch-body.test.js.map +1 -0
  33. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-otp-extract.test.d.ts +2 -0
  34. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-otp-extract.test.d.ts.map +1 -0
  35. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-otp-extract.test.js +90 -0
  36. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-otp-extract.test.js.map +1 -0
  37. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-reply.test.d.ts +2 -0
  38. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-reply.test.d.ts.map +1 -0
  39. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-reply.test.js +194 -0
  40. package/payload/platform/plugins/outlook/mcp/dist/__tests__/mail-reply.test.js.map +1 -0
  41. package/payload/platform/plugins/outlook/mcp/dist/__tests__/otp.test.d.ts +2 -0
  42. package/payload/platform/plugins/outlook/mcp/dist/__tests__/otp.test.d.ts.map +1 -0
  43. package/payload/platform/plugins/outlook/mcp/dist/__tests__/otp.test.js +16 -0
  44. package/payload/platform/plugins/outlook/mcp/dist/__tests__/otp.test.js.map +1 -0
  45. package/payload/platform/plugins/outlook/mcp/dist/__tests__/outbound-attachments.test.d.ts +2 -0
  46. package/payload/platform/plugins/outlook/mcp/dist/__tests__/outbound-attachments.test.d.ts.map +1 -0
  47. package/payload/platform/plugins/outlook/mcp/dist/__tests__/outbound-attachments.test.js +103 -0
  48. package/payload/platform/plugins/outlook/mcp/dist/__tests__/outbound-attachments.test.js.map +1 -0
  49. package/payload/platform/plugins/outlook/mcp/dist/index.js +88 -0
  50. package/payload/platform/plugins/outlook/mcp/dist/index.js.map +1 -1
  51. package/payload/platform/plugins/outlook/mcp/dist/lib/html-to-text.d.ts +9 -0
  52. package/payload/platform/plugins/outlook/mcp/dist/lib/html-to-text.d.ts.map +1 -0
  53. package/payload/platform/plugins/outlook/mcp/dist/lib/html-to-text.js +24 -0
  54. package/payload/platform/plugins/outlook/mcp/dist/lib/html-to-text.js.map +1 -0
  55. package/payload/platform/plugins/outlook/mcp/dist/lib/otp.d.ts +2 -0
  56. package/payload/platform/plugins/outlook/mcp/dist/lib/otp.d.ts.map +1 -0
  57. package/payload/platform/plugins/outlook/mcp/dist/lib/otp.js +49 -0
  58. package/payload/platform/plugins/outlook/mcp/dist/lib/otp.js.map +1 -0
  59. package/payload/platform/plugins/outlook/mcp/dist/lib/outbound-attachments.d.ts +58 -0
  60. package/payload/platform/plugins/outlook/mcp/dist/lib/outbound-attachments.d.ts.map +1 -0
  61. package/payload/platform/plugins/outlook/mcp/dist/lib/outbound-attachments.js +127 -0
  62. package/payload/platform/plugins/outlook/mcp/dist/lib/outbound-attachments.js.map +1 -0
  63. package/payload/platform/plugins/outlook/mcp/dist/lib/upload-session.d.ts +28 -0
  64. package/payload/platform/plugins/outlook/mcp/dist/lib/upload-session.d.ts.map +1 -0
  65. package/payload/platform/plugins/outlook/mcp/dist/lib/upload-session.js +54 -0
  66. package/payload/platform/plugins/outlook/mcp/dist/lib/upload-session.js.map +1 -0
  67. package/payload/platform/plugins/outlook/mcp/dist/tools/draft-edit.d.ts +21 -0
  68. package/payload/platform/plugins/outlook/mcp/dist/tools/draft-edit.d.ts.map +1 -0
  69. package/payload/platform/plugins/outlook/mcp/dist/tools/draft-edit.js +38 -0
  70. package/payload/platform/plugins/outlook/mcp/dist/tools/draft-edit.js.map +1 -0
  71. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-delete.d.ts +14 -0
  72. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-delete.d.ts.map +1 -0
  73. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-delete.js +39 -0
  74. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-delete.js.map +1 -0
  75. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-fetch-body.d.ts +23 -0
  76. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-fetch-body.d.ts.map +1 -0
  77. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-fetch-body.js +44 -0
  78. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-fetch-body.js.map +1 -0
  79. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-otp-extract.d.ts +22 -0
  80. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-otp-extract.d.ts.map +1 -0
  81. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-otp-extract.js +90 -0
  82. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-otp-extract.js.map +1 -0
  83. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-reply.d.ts +27 -0
  84. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-reply.d.ts.map +1 -0
  85. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-reply.js +75 -0
  86. package/payload/platform/plugins/outlook/mcp/dist/tools/mail-reply.js.map +1 -0
  87. package/payload/platform/plugins/outlook/references/graph-surfaces.md +57 -1
  88. package/payload/platform/plugins/outlook/skills/outlook/SKILL.md +15 -4
  89. package/payload/platform/plugins/scheduling/PLUGIN.md +15 -0
  90. package/payload/platform/plugins/scheduling/mcp/dist/index.js +29 -1
  91. package/payload/platform/plugins/scheduling/mcp/dist/index.js.map +1 -1
  92. package/payload/platform/plugins/scheduling/mcp/dist/lib/__tests__/booking-reconcile.test.js +53 -1
  93. package/payload/platform/plugins/scheduling/mcp/dist/lib/__tests__/booking-reconcile.test.js.map +1 -1
  94. package/payload/platform/plugins/scheduling/mcp/dist/lib/booking-reconcile.d.ts +21 -0
  95. package/payload/platform/plugins/scheduling/mcp/dist/lib/booking-reconcile.d.ts.map +1 -1
  96. package/payload/platform/plugins/scheduling/mcp/dist/lib/booking-reconcile.js +80 -0
  97. package/payload/platform/plugins/scheduling/mcp/dist/lib/booking-reconcile.js.map +1 -1
  98. package/payload/platform/plugins/scheduling/mcp/dist/scripts/reconcile-bookings.d.ts +4 -0
  99. package/payload/platform/plugins/scheduling/mcp/dist/scripts/reconcile-bookings.d.ts.map +1 -1
  100. package/payload/platform/plugins/scheduling/mcp/dist/scripts/reconcile-bookings.js +68 -1
  101. package/payload/platform/plugins/scheduling/mcp/dist/scripts/reconcile-bookings.js.map +1 -1
  102. package/payload/platform/plugins/scheduling/mcp/dist/tools/__tests__/schedule-connector-busy-sync.test.d.ts +2 -0
  103. package/payload/platform/plugins/scheduling/mcp/dist/tools/__tests__/schedule-connector-busy-sync.test.d.ts.map +1 -0
  104. package/payload/platform/plugins/scheduling/mcp/dist/tools/__tests__/schedule-connector-busy-sync.test.js +75 -0
  105. package/payload/platform/plugins/scheduling/mcp/dist/tools/__tests__/schedule-connector-busy-sync.test.js.map +1 -0
  106. package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-connector-busy-sync.d.ts +31 -0
  107. package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-connector-busy-sync.d.ts.map +1 -0
  108. package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-connector-busy-sync.js +41 -0
  109. package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-connector-busy-sync.js.map +1 -0
  110. package/payload/platform/plugins/voice-mirror/.claude-plugin/plugin.json +21 -0
  111. package/payload/platform/plugins/voice-mirror/PLUGIN.md +72 -0
  112. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/index.js +10 -10
  113. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/index.js.map +1 -1
  114. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/lib/neo4j.d.ts +1 -1
  115. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/lib/neo4j.js +4 -4
  116. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/lib/neo4j.js.map +1 -1
  117. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-record-feedback.js +1 -1
  118. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-record-feedback.js.map +1 -1
  119. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/package-lock.json +2 -2
  120. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/package.json +1 -1
  121. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/scripts/smoke.mjs +9 -9
  122. package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/skills/voice-mirror/SKILL.md +1 -1
  123. package/payload/platform/services/claude-session-manager/dist/canonical-tool-names.generated.d.ts.map +1 -1
  124. package/payload/platform/services/claude-session-manager/dist/canonical-tool-names.generated.js +12 -0
  125. package/payload/platform/services/claude-session-manager/dist/canonical-tool-names.generated.js.map +1 -1
  126. package/payload/platform/services/claude-session-manager/dist/http-server.js +1 -1
  127. package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
  128. package/payload/platform/templates/agents/admin/AGENTS.md +1 -1
  129. package/payload/platform/templates/specialists/agents/content-producer.md +1 -1
  130. package/payload/platform/templates/specialists/agents/personal-assistant.md +6 -2
  131. package/payload/premium-plugins/writer-craft/.claude-plugin/plugin.json +1 -14
  132. package/payload/premium-plugins/writer-craft/PLUGIN.md +2 -51
  133. package/payload/server/public/assets/{AdminLoginScreens-D9L-CuWi.js → AdminLoginScreens-Bvf4HKmq.js} +1 -1
  134. package/payload/server/public/assets/AdminShell-CaGc8ODG.js +2 -0
  135. package/payload/server/public/assets/{Checkbox-CFdt8ljo.js → Checkbox-2SswiICc.js} +1 -1
  136. package/payload/server/public/assets/admin-B7GPCzpr.js +1 -0
  137. package/payload/server/public/assets/browser-CodHC_MO.js +1 -0
  138. package/payload/server/public/assets/calendar-DH7cyXKF.js +1 -0
  139. package/payload/server/public/assets/chat-BQyPAEMv.js +1 -0
  140. package/payload/server/public/assets/chevron-left-Cmev0R9v.js +1 -0
  141. package/payload/server/public/assets/data-DWxZzMfL.js +1 -0
  142. package/payload/server/public/assets/{graph-DrE7KupQ.js → graph-BToB78LG.js} +2 -2
  143. package/payload/server/public/assets/graph-labels-JRGrstzM.js +1 -0
  144. package/payload/server/public/assets/maximize-2-CEQRv64B.js +1 -0
  145. package/payload/server/public/assets/operator-Cx8cq2wf.js +1 -0
  146. package/payload/server/public/assets/page-D6kzsk18.js +32 -0
  147. package/payload/server/public/assets/page-TCsQy4eP.js +1 -0
  148. package/payload/server/public/assets/public-B61xcmAr.js +1 -0
  149. package/payload/server/public/assets/{rotate-ccw-Cqp4oqHV.js → rotate-ccw-7_3ol0Z4.js} +1 -1
  150. package/payload/server/public/assets/{tasks-bQKOhMga.js → tasks-BY9ajKXf.js} +1 -1
  151. package/payload/server/public/assets/{time-entry-format-BIL4ZaDK.js → time-entry-format-DmNhIJnM.js} +1 -1
  152. package/payload/server/public/assets/useCopyFeedback-C5-GOl5l.js +1 -0
  153. package/payload/server/public/assets/useSelectionMode-UOUVnP9B.js +1 -0
  154. package/payload/server/public/assets/{useSubAccountSwitcher-CVHKTSst.css → useSubAccountSwitcher-DgM1ergs.css} +1 -1
  155. package/payload/server/public/assets/useVoiceRecorder-BAP3yGxs.js +2 -0
  156. package/payload/server/public/browser.html +5 -5
  157. package/payload/server/public/calendar.html +6 -6
  158. package/payload/server/public/chat.html +12 -12
  159. package/payload/server/public/data.html +10 -10
  160. package/payload/server/public/graph.html +11 -11
  161. package/payload/server/public/index.html +13 -13
  162. package/payload/server/public/operator.html +14 -14
  163. package/payload/server/public/public.html +12 -12
  164. package/payload/server/public/tasks.html +5 -5
  165. package/payload/server/server.js +349 -171
  166. package/payload/premium-plugins/writer-craft/lib/mcp-lifeline/dist/index.d.ts +0 -8
  167. package/payload/premium-plugins/writer-craft/lib/mcp-lifeline/dist/index.d.ts.map +0 -1
  168. package/payload/premium-plugins/writer-craft/lib/mcp-lifeline/dist/index.js +0 -71
  169. package/payload/premium-plugins/writer-craft/lib/mcp-lifeline/dist/index.js.map +0 -1
  170. package/payload/premium-plugins/writer-craft/lib/mcp-lifeline/package.json +0 -7
  171. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/dist/index.d.ts +0 -51
  172. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/dist/index.d.ts.map +0 -1
  173. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/dist/index.js +0 -196
  174. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/dist/index.js.map +0 -1
  175. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/package.json +0 -7
  176. package/payload/premium-plugins/writer-craft/mcp/dist/cli/ingest-session-text.d.ts +0 -3
  177. package/payload/premium-plugins/writer-craft/mcp/dist/cli/ingest-session-text.d.ts.map +0 -1
  178. package/payload/premium-plugins/writer-craft/mcp/dist/cli/ingest-session-text.js +0 -58
  179. package/payload/premium-plugins/writer-craft/mcp/dist/cli/ingest-session-text.js.map +0 -1
  180. package/payload/premium-plugins/writer-craft/mcp/src/index.ts +0 -457
  181. package/payload/premium-plugins/writer-craft/mcp/src/lib/neo4j.ts +0 -56
  182. package/payload/premium-plugins/writer-craft/mcp/src/lib/voice-corpus.ts +0 -154
  183. package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-distil-profile.ts +0 -833
  184. package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-ingest-session-text.ts +0 -153
  185. package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-record-feedback.ts +0 -148
  186. package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-retrieve-conditioning.ts +0 -270
  187. package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-tag-content.ts +0 -181
  188. package/payload/premium-plugins/writer-craft/mcp/tsconfig.json +0 -8
  189. package/payload/server/public/assets/AdminShell-DSQrvZXq.js +0 -2
  190. package/payload/server/public/assets/admin-Ch4n-G0j.js +0 -1
  191. package/payload/server/public/assets/browser-B2AIxiuk.js +0 -1
  192. package/payload/server/public/assets/calendar-BvItH3B0.js +0 -1
  193. package/payload/server/public/assets/chat-eQFMaX9y.js +0 -1
  194. package/payload/server/public/assets/chevron-left-D2AnCEyE.js +0 -1
  195. package/payload/server/public/assets/data-BzOmbHoe.js +0 -1
  196. package/payload/server/public/assets/file-download-CK9j_Jx2.js +0 -1
  197. package/payload/server/public/assets/graph-labels-CwEtvIRV.js +0 -1
  198. package/payload/server/public/assets/maximize-2-CuzEom3K.js +0 -1
  199. package/payload/server/public/assets/operator-DlboYPPu.js +0 -1
  200. package/payload/server/public/assets/page-BuWH5gNK.js +0 -1
  201. package/payload/server/public/assets/page-Co9E8U5x.js +0 -32
  202. package/payload/server/public/assets/public-DtFpPMTG.js +0 -1
  203. package/payload/server/public/assets/useCopyFeedback-rB8QuqyH.js +0 -1
  204. package/payload/server/public/assets/useVoiceRecorder-Ctny8qWx.js +0 -2
  205. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/lib/mcp-spawn-tee/index.js +0 -0
  206. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/lib/mcp-spawn-tee/package.json +0 -0
  207. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/index.d.ts +0 -0
  208. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/index.d.ts.map +0 -0
  209. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/lib/neo4j.d.ts.map +0 -0
  210. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/lib/voice-corpus.d.ts +0 -0
  211. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/lib/voice-corpus.d.ts.map +0 -0
  212. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/lib/voice-corpus.js +0 -0
  213. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/lib/voice-corpus.js.map +0 -0
  214. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-distil-profile.d.ts +0 -0
  215. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-distil-profile.d.ts.map +0 -0
  216. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-distil-profile.js +0 -0
  217. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-distil-profile.js.map +0 -0
  218. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-ingest-session-text.d.ts +0 -0
  219. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-ingest-session-text.d.ts.map +0 -0
  220. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-ingest-session-text.js +0 -0
  221. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-ingest-session-text.js.map +0 -0
  222. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-record-feedback.d.ts +0 -0
  223. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-record-feedback.d.ts.map +0 -0
  224. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-retrieve-conditioning.d.ts +0 -0
  225. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-retrieve-conditioning.d.ts.map +0 -0
  226. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-retrieve-conditioning.js +0 -0
  227. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-retrieve-conditioning.js.map +0 -0
  228. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-tag-content.d.ts +0 -0
  229. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-tag-content.d.ts.map +0 -0
  230. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-tag-content.js +0 -0
  231. /package/payload/{premium-plugins/writer-craft → platform/plugins/voice-mirror}/mcp/dist/tools/voice-tag-content.js.map +0 -0
  232. /package/payload/server/public/assets/{useSubAccountSwitcher-CHEt_m6q.js → useSubAccountSwitcher-DF6bohQA.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/create-maxy-code",
3
- "version": "0.1.446",
3
+ "version": "0.1.447",
4
4
  "description": "Install Maxy — AI for Productive People",
5
5
  "bin": {
6
6
  "create-maxy-code": "./dist/index.js"
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAmHtD,CAAA;AAED,eAAO,MAAM,qBAAqB,YAAY,CAAA;AAE9C,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAE7C,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GA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CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CAuD3D"}
@@ -69,6 +69,12 @@ exports.GRAPH_LABEL_COLOURS = {
69
69
  Part: '#7A3326',
70
70
  PurchaseOrder: '#B07050',
71
71
  PpmContract: '#8A4A3A',
72
+ // Job note (Task 1650). A child write-time label attached to its :Job via
73
+ // (:Note)-[:ABOUT]->(:Job). Not a top-level chip (job-attached, not an
74
+ // operator-entry entity) but given a colour so it renders on Job drilldown
75
+ // rather than fallback-grey — same treatment as Message/Section. Steel grey
76
+ // reads as an annotation, apart from the brick-red service family.
77
+ Note: '#5E6B73',
72
78
  // External business entity — schema:Organization, written by memory-write
73
79
  // as the Supplier label. Warm tobacco — distinct hue from internal-business
74
80
  // slates so external entities are scannable at a glance.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAwIH,4CAOC;AAED,wCAEC;AAuCD,sCAEC;AAaD,8CAUC;AA2BD,gDAIC;AAGD,wDAIC;AAgBD,wCAsFC;AAMD,0CAuDC;AA1ZD;;;;GAIG;AACU,QAAA,mBAAmB,GAA2B;IACzD,wCAAwC;IACxC,aAAa,EAAE,SAAS;IACxB,OAAO,EAAE,SAAS;IAClB,kBAAkB,EAAE,SAAS;IAC7B,yBAAyB,EAAE,SAAS;IAEpC,wEAAwE;IACxE,wEAAwE;IACxE,wEAAwE;IACxE,oDAAoD;IACpD,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,SAAS;IACnB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAEhB,6EAA6E;IAC7E,8EAA8E;IAC9E,sEAAsE;IACtE,uEAAuE;IACvE,6EAA6E;IAC7E,4EAA4E;IAC5E,wEAAwE;IACxE,0EAA0E;IAC1E,6EAA6E;IAC7E,uCAAuC;IACvC,GAAG,EAAE,SAAS;IACd,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,SAAS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AAA;AAC5B,CAAC"}
@@ -62,6 +62,13 @@ export const GRAPH_LABEL_COLOURS: Record<string, string> = {
62
62
  PurchaseOrder: '#B07050',
63
63
  PpmContract: '#8A4A3A',
64
64
 
65
+ // Job note (Task 1650). A child write-time label attached to its :Job via
66
+ // (:Note)-[:ABOUT]->(:Job). Not a top-level chip (job-attached, not an
67
+ // operator-entry entity) but given a colour so it renders on Job drilldown
68
+ // rather than fallback-grey — same treatment as Message/Section. Steel grey
69
+ // reads as an annotation, apart from the brick-red service family.
70
+ Note: '#5E6B73',
71
+
65
72
  // External business entity — schema:Organization, written by memory-write
66
73
  // as the Supplier label. Warm tobacco — distinct hue from internal-business
67
74
  // slates so external entities are scannable at a glance.
@@ -466,7 +466,7 @@ CREATE FULLTEXT INDEX entity_search_admin IF NOT EXISTS
466
466
  FOR (n:LocalBusiness|Service|PriceSpecification|OpeningHoursSpecification|Organization
467
467
  |Listing|Property|Viewing|Offer|PostalAddress|Sale|Chain|ChainLink
468
468
  |Job|Quote|QuoteLine|Valuation|Milestone|VariationNote|Invoice|InboundInvoice|JobCost|WhatsAppGroup
469
- |Customer|Site|Asset|Visit|Part|PurchaseOrder|PpmContract|Contact|PurchaseOrderLine|InvoiceLine|InvoicePayment|Credit
469
+ |Customer|Site|Asset|Visit|Part|PurchaseOrder|PpmContract|Contact|PurchaseOrderLine|InvoiceLine|InvoicePayment|Credit|Note
470
470
  |Person|UserProfile|Preference|AdminUser|AccessGrant
471
471
  |KnowledgeDocument|ConversationArchive|Section|Chunk|DigitalDocument|CreativeWork|Question|FAQPage|DefinedTerm|Review|ImageObject
472
472
  |Conversation|AdminConversation|PublicConversation|Message|UserMessage|AssistantMessage|ToolCall
@@ -1515,6 +1515,37 @@ OPTIONS {
1515
1515
  }
1516
1516
  };
1517
1517
 
1518
+ // :Note (Task 1650) — the durable job-note store. A child write-time label
1519
+ // (accountId-index only, mirrors :Milestone), attached to its :Job via
1520
+ // (:Note)-[:ABOUT]->(:Job). Captured append-only (one node per note) by the
1521
+ // sitedesk-job `note-capture` tool; each note carries text, author, createdAt.
1522
+ // Declared here so a fresh install recognises the label before its first write
1523
+ // and so entity_search_admin indexes note text (on n.text). Not a top-level
1524
+ // chip — reached via Job-neighbourhood drilldown, same rule as :Milestone.
1525
+ CREATE CONSTRAINT note_account_noteid_unique IF NOT EXISTS
1526
+ FOR (nt:Note) REQUIRE (nt.accountId, nt.noteId) IS UNIQUE;
1527
+
1528
+ CREATE INDEX note_account IF NOT EXISTS
1529
+ FOR (nt:Note) ON (nt.accountId);
1530
+
1531
+ // Migration (Task 1650): fold each legacy scalar Job.notes into a durable
1532
+ // :Note node, value-preserving, then drop the overwrite-prone scalar. Idempotent
1533
+ // and re-run-safe — MERGE on the deterministic (accountId, noteId) key so a
1534
+ // second apply (or a job whose scalar reappeared via the deprecated path) never
1535
+ // violates the note uniqueness constraint and never aborts the seed; ON CREATE
1536
+ // stamps the migration provenance once. author is 'unknown' (the scalar carried
1537
+ // none) and createdAt is the migration time (the scalar had no timestamp). The
1538
+ // scalar is always removed, so the fold does not double-render as node + scalar.
1539
+ MATCH (j:Job) WHERE j.notes IS NOT NULL AND trim(j.notes) <> ''
1540
+ MERGE (nt:Note { accountId: j.accountId, noteId: 'migrated-job-' + j.jobId })
1541
+ ON CREATE SET nt.text = j.notes,
1542
+ nt.author = 'unknown',
1543
+ nt.createdAt = toString(datetime()),
1544
+ nt.createdByTool = 'schema-migration',
1545
+ nt.migratedFrom = 'Job.notes'
1546
+ MERGE (nt)-[:ABOUT]->(j)
1547
+ REMOVE j.notes;
1548
+
1518
1549
  // Two distinct invoice documents (Task 1084). :InboundInvoice is the received
1519
1550
  // supplier invoice, keyed (accountId, supplier, confirmationNumber) and now
1520
1551
  // linked to a :PurchaseOrder. The customer-facing outbound invoice is the base
@@ -159,6 +159,11 @@
159
159
  "source": "./url-get",
160
160
  "version": "0.1.0"
161
161
  },
162
+ {
163
+ "name": "voice-mirror",
164
+ "source": "./voice-mirror",
165
+ "version": "0.1.0"
166
+ },
162
167
  {
163
168
  "name": "web-designer",
164
169
  "source": "./web-designer",
@@ -16,6 +16,7 @@ scheduling
16
16
  storage-broker
17
17
  telegram
18
18
  url-get
19
+ voice-mirror
19
20
  whatsapp
20
21
  work
21
22
  workflows
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: platform-architecture
3
3
  description: Use when grounding any documented-surface claim about what Maxy 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:a6ec9b14c5c480f4b583a6df46bacf861b99e2493ba3a68c7ca0d3ca96173cab
4
+ content-hash: sha256:c170bc722cc54b4882abbe20267c10b8b007ace08d916b4e857ce0868f3769cb
5
5
  brand: maxy-code
6
6
  product-name: Maxy
7
7
  ---
@@ -1948,6 +1948,21 @@ run anything yourself.
1948
1948
  If a connector still reports that it needs authentication after you have approved it and the session
1949
1949
  has reconnected, that is unexpected. Tell your installer so they can look into it.
1950
1950
 
1951
+ ## Who owns work that depends on a connector
1952
+
1953
+ Because a connector is authorised per client, and your admin chat is the client that holds it, only the
1954
+ admin session can see a connector-backed surface. A specialist the admin spawns to do a subtask is a
1955
+ separate, short-lived client with a fixed tool set that does not include your connectors, so it cannot
1956
+ see them at all.
1957
+
1958
+ This matters most for your calendar. Your real calendar often lives on a connector (Google Calendar,
1959
+ Microsoft 365). The admin session sees it; a specialist does not. So the admin session is the one that
1960
+ answers what is on your calendar, judges whether you are free, and makes any booking that affects your
1961
+ availability, rather than handing that to a specialist that would answer from the built-in calendar
1962
+ alone and miss the connector. A specialist still helps with mechanical calendar chores the admin hands
1963
+ it with the facts already worked out, such as turning named events into a calendar file. The same rule
1964
+ holds for any other connector: the admin session is the seat that reasons over it.
1965
+
1951
1966
  ## What this is not
1952
1967
 
1953
1968
  This is about Anthropic's claude.ai connectors, which authenticate per client. It is separate from the
@@ -2023,7 +2038,7 @@ Source: https://docs.getmaxy.com/outlook-guide.md
2023
2038
 
2024
2039
  # Outlook Plugin — Operator Guide
2025
2040
 
2026
- The `outlook` plugin gives the admin agent access to Microsoft 365 / Outlook.com via Microsoft Graph. Mail is read, draft, and send; contacts are read-only; the calendar is read plus control (create, update, cancel, respond, free/busy). Per-account OAuth (device-code flow), encrypted token storage, automatic refresh.
2041
+ The `outlook` plugin gives the admin agent access to Microsoft 365 / Outlook.com via Microsoft Graph. Mail is read (list, search, full-body), reply, delete, and compose (draft, draft-edit, send); contacts are read-only; the calendar is read plus control (create, update, cancel, respond, free/busy). Per-account OAuth (device-code flow), encrypted token storage, automatic refresh.
2027
2042
 
2028
2043
  ## Quickstart
2029
2044
 
@@ -2040,7 +2055,11 @@ The `outlook` plugin gives the admin agent access to Microsoft 365 / Outlook.com
2040
2055
  | `outlook-account-register` | Start the device-code flow for this account. Returns a user code + `microsoft.com/devicelogin` URL immediately; does not block. |
2041
2056
  | `outlook-account-register-poll` | Finish the device-code flow. One check per call: returns pending, registered, expired, or denied. |
2042
2057
  | `outlook-mail-list` | Recent mail. Default top=25, folder=Inbox. `folder` takes a well-known name or alias (case/space-insensitive): Inbox, Sent Items/sent, Drafts, Deleted Items/trash, Junk Email/junk/spam, Archive, Outbox — or a raw folder id. Custom folder names are not resolved. |
2043
- | `outlook-mail-search` | Microsoft Graph `$search` over the mailbox. |
2058
+ | `outlook-mail-search` | Microsoft Graph `$search` over the mailbox. Preview-only, like `outlook-mail-list`. |
2059
+ | `outlook-mail-fetch-body` | Complete body of one message by id (`GET /me/messages/{id}?$select=body`). HTML decoded to text, no preview cap. The full-read path — list/search return Microsoft's ~255-char preview only. Returns the envelope plus the whole body. |
2060
+ | `outlook-mail-reply` | Reply in-thread (`createReply` / `createReplyAll` + send). Threads natively via conversationId. `replyAll`, added cc/bcc, and account-scoped file attachments (up to 25 MB per file; files over Graph's ~3 MB inline limit use a chunked upload session). Body is plain text, prepended above the quote. Needs `Mail.ReadWrite` + `Mail.Send`. |
2061
+ | `outlook-mail-delete` | Move messages to Deleted Items (`POST /me/messages/{id}/move`). Recoverable — never hard-deletes. An id already gone is counted not-moved. Needs `Mail.ReadWrite`. |
2062
+ | `outlook-mail-otp-extract` | Poll the inbox for a one-time code from a sender (domain). Reads full bodies to extract it; optional subject regex and timeout (default 60 s). |
2044
2063
  | `outlook-calendar-list` | Calendar events in next rangeDays days (default 7, max 365). |
2045
2064
  | `outlook-calendar-event` | Full detail of a single event by id. |
2046
2065
  | `outlook-calendar-create` | Book an event. Needs subject, start, end; optional body, attendees, location, isOnlineMeeting, recurrence. |
@@ -2053,6 +2072,7 @@ The `outlook` plugin gives the admin agent access to Microsoft 365 / Outlook.com
2053
2072
  | `outlook-mailbox-list` | Every connected mailbox with its email, scopes, and token health. Local only — no network — so it also flags a mailbox whose stored credentials cannot be read. |
2054
2073
  | `outlook-mail-send` | Send a message (`POST /me/sendMail`). to/cc/bcc arrays, subject, body, isHtml. Success asserted on Graph 202. Needs `Mail.Send`. |
2055
2074
  | `outlook-draft` | Create a draft in Drafts (`POST /me/messages`). Same body model. Returns the draft id. Needs `Mail.ReadWrite`. |
2075
+ | `outlook-draft-edit` | Update an existing draft in place (`PATCH /me/messages/{draftId}`). Graph drafts are mutable — pass draftId plus the fields to change (to/cc/bcc/subject/body/isHtml). Sent messages cannot be edited. Needs `Mail.ReadWrite`. |
2056
2076
  | `outlook-draft-send` | Send an existing draft by id (`POST /me/messages/{id}/send`). Graph consumes the draft, returns 202. Needs `Mail.Send`. |
2057
2077
 
2058
2078
  ## Observability
@@ -2127,7 +2147,7 @@ Latency triage: `mail-list count=0 elapsedMs<200` consistent → permissions iss
2127
2147
 
2128
2148
  ## Out of scope
2129
2149
 
2130
- Mail move / flag / delete, contacts write, recurring-series occurrence editing, the `scheduling` Neo4j calendar and any auto-sync with it, OneDrive / Files, push notifications, on-premises Exchange, M365 admin scopes (`User.Read.All`, `AuditLog.Read.All`), public-agent exposure, multi-tenant federation. Mail send and draft are supported (`outlook-mail-send`, `outlook-draft`, `outlook-draft-send`), and the calendar is read plus control. See `platform/plugins/outlook/PLUGIN.md` for the full out-of-scope list.
2150
+ Mail move to arbitrary folders / flag, hard (permanent) delete, ingesting reviewed mail into the business graph (the `email-ingest` analogue), contacts write, recurring-series occurrence editing, the `scheduling` Neo4j calendar and any auto-sync with it, OneDrive / Files, push notifications, on-premises Exchange, M365 admin scopes (`User.Read.All`, `AuditLog.Read.All`), public-agent exposure, multi-tenant federation. Mail read, full-body read, reply, delete (to Deleted Items), and compose are supported (`outlook-mail-fetch-body`, `outlook-mail-reply`, `outlook-mail-delete`, `outlook-mail-otp-extract`, `outlook-mail-send`, `outlook-draft`, `outlook-draft-edit`, `outlook-draft-send`), and the calendar is read plus control. See `platform/plugins/outlook/PLUGIN.md` for the full out-of-scope list.
2131
2151
 
2132
2152
  ---
2133
2153
  # QuickBooks Online
@@ -2295,9 +2315,26 @@ Bookings are reconciled on a cycle and the system audits itself each run. In the
2295
2315
 
2296
2316
  A `pendingUnreconciled` number that stays above zero across several runs means the reconcile step is stuck and is worth investigating. To read them: `journalctl --user -u <brand-service> | grep -E '\[calendar-booking\]|\[calendar-reconcile\]'`, then filter by one booking id for its full story. The edge half of a booking (before your device sees it) is in the Cloudflare Pages function logs.
2297
2317
 
2318
+ ## When your real calendar lives elsewhere
2319
+
2320
+ The booking page publishes open slots from the internal calendar, the one Maxy keeps in its own graph.
2321
+ If you also keep commitments on a connected calendar (Google Calendar or Microsoft 365 through a
2322
+ claude.ai connector), those live in the admin session. So the booking page does not offer a time you are
2323
+ busy on the connected calendar, the admin session reads the connector's free/busy every 30 minutes and
2324
+ reflects those busy blocks into the availability the page publishes from. The reflection is read-only: it
2325
+ holds the connector's busy times against the booking page and never writes anything back to your Google
2326
+ or Microsoft calendar.
2327
+
2328
+ This runs from the admin session because it is the only seat that can see both your connected calendar and
2329
+ the internal booking calendar at once. When you ask what you have on or whether you are free, the admin
2330
+ reads the connected calendar directly and answers from the full picture. A specialist cannot do this: it
2331
+ never sees the connected calendar, so it would answer from the internal calendar alone. If the sync ever
2332
+ falls behind, the reconcile run reports it as a drift count so it is caught before a visitor books a slot
2333
+ you are not really free for.
2334
+
2298
2335
  ## What this does not do
2299
2336
 
2300
- One meeting type only (one length, one weekly window, one buffer). No syncing to Google or iCloud calendars: your meetings in Maxy are the source of truth. No rescheduling or cancellation links, reminders, or visitor time-zone selection. The booking page shows open times from a snapshot your device publishes to the edge on a short timer, so the page keeps showing availability and taking bookings even while your device is offline — a slot that gets booked drops off at once, and times that have passed are never shown. If your device stays offline a long time the open times can go stale, but they never vanish; they refresh the moment it is back online.
2337
+ One meeting type only (one length, one weekly window, one buffer). Your meetings in Maxy are the source of truth for the booking page, unless your real calendar is a connected calendar (Google Calendar or Microsoft 365), in which case its busy times are reflected into the page as described above. iCloud and other calendars are not synced. No rescheduling or cancellation links, reminders, or visitor time-zone selection. The booking page shows open times from a snapshot your device publishes to the edge on a short timer, so the page keeps showing availability and taking bookings even while your device is offline — a slot that gets booked drops off at once, and times that have passed are never shown. If your device stays offline a long time the open times can go stale, but they never vanish; they refresh the moment it is back online.
2301
2338
 
2302
2339
  ---
2303
2340
  # LinkedIn Extension
@@ -53,6 +53,23 @@ Bookings are reconciled on a cycle and the system audits itself each run. In the
53
53
 
54
54
  A `pendingUnreconciled` number that stays above zero across several runs means the reconcile step is stuck and is worth investigating. To read them: `journalctl --user -u <brand-service> | grep -E '\[calendar-booking\]|\[calendar-reconcile\]'`, then filter by one booking id for its full story. The edge half of a booking (before your device sees it) is in the Cloudflare Pages function logs.
55
55
 
56
+ ## When your real calendar lives elsewhere
57
+
58
+ The booking page publishes open slots from the internal calendar, the one Maxy keeps in its own graph.
59
+ If you also keep commitments on a connected calendar (Google Calendar or Microsoft 365 through a
60
+ claude.ai connector), those live in the admin session. So the booking page does not offer a time you are
61
+ busy on the connected calendar, the admin session reads the connector's free/busy every 30 minutes and
62
+ reflects those busy blocks into the availability the page publishes from. The reflection is read-only: it
63
+ holds the connector's busy times against the booking page and never writes anything back to your Google
64
+ or Microsoft calendar.
65
+
66
+ This runs from the admin session because it is the only seat that can see both your connected calendar and
67
+ the internal booking calendar at once. When you ask what you have on or whether you are free, the admin
68
+ reads the connected calendar directly and answers from the full picture. A specialist cannot do this: it
69
+ never sees the connected calendar, so it would answer from the internal calendar alone. If the sync ever
70
+ falls behind, the reconcile run reports it as a drift count so it is caught before a visitor books a slot
71
+ you are not really free for.
72
+
56
73
  ## What this does not do
57
74
 
58
- One meeting type only (one length, one weekly window, one buffer). No syncing to Google or iCloud calendars: your meetings in Maxy are the source of truth. No rescheduling or cancellation links, reminders, or visitor time-zone selection. The booking page shows open times from a snapshot your device publishes to the edge on a short timer, so the page keeps showing availability and taking bookings even while your device is offline — a slot that gets booked drops off at once, and times that have passed are never shown. If your device stays offline a long time the open times can go stale, but they never vanish; they refresh the moment it is back online.
75
+ One meeting type only (one length, one weekly window, one buffer). Your meetings in Maxy are the source of truth for the booking page, unless your real calendar is a connected calendar (Google Calendar or Microsoft 365), in which case its busy times are reflected into the page as described above. iCloud and other calendars are not synced. No rescheduling or cancellation links, reminders, or visitor time-zone selection. The booking page shows open times from a snapshot your device publishes to the edge on a short timer, so the page keeps showing availability and taking bookings even while your device is offline — a slot that gets booked drops off at once, and times that have passed are never shown. If your device stays offline a long time the open times can go stale, but they never vanish; they refresh the moment it is back online.
@@ -55,6 +55,21 @@ run anything yourself.
55
55
  If a connector still reports that it needs authentication after you have approved it and the session
56
56
  has reconnected, that is unexpected. Tell your installer so they can look into it.
57
57
 
58
+ ## Who owns work that depends on a connector
59
+
60
+ Because a connector is authorised per client, and your admin chat is the client that holds it, only the
61
+ admin session can see a connector-backed surface. A specialist the admin spawns to do a subtask is a
62
+ separate, short-lived client with a fixed tool set that does not include your connectors, so it cannot
63
+ see them at all.
64
+
65
+ This matters most for your calendar. Your real calendar often lives on a connector (Google Calendar,
66
+ Microsoft 365). The admin session sees it; a specialist does not. So the admin session is the one that
67
+ answers what is on your calendar, judges whether you are free, and makes any booking that affects your
68
+ availability, rather than handing that to a specialist that would answer from the built-in calendar
69
+ alone and miss the connector. A specialist still helps with mechanical calendar chores the admin hands
70
+ it with the facts already worked out, such as turning named events into a calendar file. The same rule
71
+ holds for any other connector: the admin session is the seat that reasons over it.
72
+
58
73
  ## What this is not
59
74
 
60
75
  This is about Anthropic's claude.ai connectors, which authenticate per client. It is separate from the
@@ -1,6 +1,6 @@
1
1
  # Outlook Plugin — Operator Guide
2
2
 
3
- The `outlook` plugin gives the admin agent access to Microsoft 365 / Outlook.com via Microsoft Graph. Mail is read, draft, and send; contacts are read-only; the calendar is read plus control (create, update, cancel, respond, free/busy). Per-account OAuth (device-code flow), encrypted token storage, automatic refresh.
3
+ The `outlook` plugin gives the admin agent access to Microsoft 365 / Outlook.com via Microsoft Graph. Mail is read (list, search, full-body), reply, delete, and compose (draft, draft-edit, send); contacts are read-only; the calendar is read plus control (create, update, cancel, respond, free/busy). Per-account OAuth (device-code flow), encrypted token storage, automatic refresh.
4
4
 
5
5
  ## Quickstart
6
6
 
@@ -17,7 +17,11 @@ The `outlook` plugin gives the admin agent access to Microsoft 365 / Outlook.com
17
17
  | `outlook-account-register` | Start the device-code flow for this account. Returns a user code + `microsoft.com/devicelogin` URL immediately; does not block. |
18
18
  | `outlook-account-register-poll` | Finish the device-code flow. One check per call: returns pending, registered, expired, or denied. |
19
19
  | `outlook-mail-list` | Recent mail. Default top=25, folder=Inbox. `folder` takes a well-known name or alias (case/space-insensitive): Inbox, Sent Items/sent, Drafts, Deleted Items/trash, Junk Email/junk/spam, Archive, Outbox — or a raw folder id. Custom folder names are not resolved. |
20
- | `outlook-mail-search` | Microsoft Graph `$search` over the mailbox. |
20
+ | `outlook-mail-search` | Microsoft Graph `$search` over the mailbox. Preview-only, like `outlook-mail-list`. |
21
+ | `outlook-mail-fetch-body` | Complete body of one message by id (`GET /me/messages/{id}?$select=body`). HTML decoded to text, no preview cap. The full-read path — list/search return Microsoft's ~255-char preview only. Returns the envelope plus the whole body. |
22
+ | `outlook-mail-reply` | Reply in-thread (`createReply` / `createReplyAll` + send). Threads natively via conversationId. `replyAll`, added cc/bcc, and account-scoped file attachments (up to 25 MB per file; files over Graph's ~3 MB inline limit use a chunked upload session). Body is plain text, prepended above the quote. Needs `Mail.ReadWrite` + `Mail.Send`. |
23
+ | `outlook-mail-delete` | Move messages to Deleted Items (`POST /me/messages/{id}/move`). Recoverable — never hard-deletes. An id already gone is counted not-moved. Needs `Mail.ReadWrite`. |
24
+ | `outlook-mail-otp-extract` | Poll the inbox for a one-time code from a sender (domain). Reads full bodies to extract it; optional subject regex and timeout (default 60 s). |
21
25
  | `outlook-calendar-list` | Calendar events in next rangeDays days (default 7, max 365). |
22
26
  | `outlook-calendar-event` | Full detail of a single event by id. |
23
27
  | `outlook-calendar-create` | Book an event. Needs subject, start, end; optional body, attendees, location, isOnlineMeeting, recurrence. |
@@ -30,6 +34,7 @@ The `outlook` plugin gives the admin agent access to Microsoft 365 / Outlook.com
30
34
  | `outlook-mailbox-list` | Every connected mailbox with its email, scopes, and token health. Local only — no network — so it also flags a mailbox whose stored credentials cannot be read. |
31
35
  | `outlook-mail-send` | Send a message (`POST /me/sendMail`). to/cc/bcc arrays, subject, body, isHtml. Success asserted on Graph 202. Needs `Mail.Send`. |
32
36
  | `outlook-draft` | Create a draft in Drafts (`POST /me/messages`). Same body model. Returns the draft id. Needs `Mail.ReadWrite`. |
37
+ | `outlook-draft-edit` | Update an existing draft in place (`PATCH /me/messages/{draftId}`). Graph drafts are mutable — pass draftId plus the fields to change (to/cc/bcc/subject/body/isHtml). Sent messages cannot be edited. Needs `Mail.ReadWrite`. |
33
38
  | `outlook-draft-send` | Send an existing draft by id (`POST /me/messages/{id}/send`). Graph consumes the draft, returns 202. Needs `Mail.Send`. |
34
39
 
35
40
  ## Observability
@@ -104,4 +109,4 @@ Latency triage: `mail-list count=0 elapsedMs<200` consistent → permissions iss
104
109
 
105
110
  ## Out of scope
106
111
 
107
- Mail move / flag / delete, contacts write, recurring-series occurrence editing, the `scheduling` Neo4j calendar and any auto-sync with it, OneDrive / Files, push notifications, on-premises Exchange, M365 admin scopes (`User.Read.All`, `AuditLog.Read.All`), public-agent exposure, multi-tenant federation. Mail send and draft are supported (`outlook-mail-send`, `outlook-draft`, `outlook-draft-send`), and the calendar is read plus control. See `platform/plugins/outlook/PLUGIN.md` for the full out-of-scope list.
112
+ Mail move to arbitrary folders / flag, hard (permanent) delete, ingesting reviewed mail into the business graph (the `email-ingest` analogue), contacts write, recurring-series occurrence editing, the `scheduling` Neo4j calendar and any auto-sync with it, OneDrive / Files, push notifications, on-premises Exchange, M365 admin scopes (`User.Read.All`, `AuditLog.Read.All`), public-agent exposure, multi-tenant federation. Mail read, full-body read, reply, delete (to Deleted Items), and compose are supported (`outlook-mail-fetch-body`, `outlook-mail-reply`, `outlook-mail-delete`, `outlook-mail-otp-extract`, `outlook-mail-send`, `outlook-draft`, `outlook-draft-edit`, `outlook-draft-send`), and the calendar is read plus control. See `platform/plugins/outlook/PLUGIN.md` for the full out-of-scope list.
@@ -57,7 +57,7 @@ Before drafting, check the inbound for:
57
57
 
58
58
  Call `voice-retrieve-conditioning` with `format: "email"`, `length: "short"`, and `topic` set to the inbound thread's subject (or, for a new outbound, the topic the operator named). The tool returns `{styleCard, exemplars[]}` — when `styleCard` is non-null, inject both the style card and the exemplar bodies into the drafting prompt before composing.
59
59
 
60
- If the tool returns `{styleCard: null, exemplars: []}` (the operator has no `:VoiceProfile` yet, or the `writer-craft` plugin isn't enabled on the account), draft in a **neutral British business register** — polite, concise, no slang, no transatlantic spellings — and state explicitly in the presentation: "drafted in neutral British business voice (no voice profile on file)."
60
+ If the tool returns `{styleCard: null, exemplars: []}` (the operator has no `:VoiceProfile` yet the `voice-mirror` plugin is core and present on every brand, so absence means no profile, not a missing plugin), draft in a **neutral British business register** — polite, concise, no slang, no transatlantic spellings — and state explicitly in the presentation: "drafted in neutral British business voice (no voice profile on file)."
61
61
 
62
62
  Emit narration `[email-composition] voice-mirror styleCardBytes=<n> exemplars=<k>` when conditioning was applied. Absence of the line confirms the fallback path was taken.
63
63
 
@@ -93,7 +93,7 @@ The operator may:
93
93
  - **Edit verbally** ("make it shorter", "drop the second paragraph", "say yes to the price but not the timeline"). Apply the edit and re-present. Stay in the loop until approval or abandonment.
94
94
  - **Abandon** ("never mind", "I'll do it myself"). Emit `[email-composition] send-aborted reason=operator-abandoned`. Do not send.
95
95
 
96
- Every operator edit on the draft (before final approval) is downstream feedback for `voice-mirror`. After the operator approves the final send, call `voice-record-feedback` with the original agent draft and the final edited version (`skill: "email-composition"`, `brief` set to the topic/subject). The call is fire-and-forget — failure is logged but does not block the send. If the `writer-craft` plugin isn't enabled on the account the tool call is omitted; no feedback is recorded.
96
+ Every operator edit on the draft (before final approval) is downstream feedback for `voice-mirror`. After the operator approves the final send, call `voice-record-feedback` with the original agent draft and the final edited version (`skill: "email-composition"`, `brief` set to the topic/subject). The call is fire-and-forget — failure is logged but does not block the send. The `voice-mirror` plugin is core (present on every brand), so this feedback call always runs.
97
97
 
98
98
  ### 8. Send
99
99
 
@@ -173,7 +173,7 @@ Delete is move-to-Trash only. There is no permanent/hard delete, no delete-by-cr
173
173
  | Inbound is an out-of-office autoreply | Skip. Flag to operator. Do not draft. |
174
174
  | Inbound is a list / unsubscribe mail | Skip. Flag to operator. Do not draft. |
175
175
  | Inbound is hostile or grief-related | Draft cautiously; flag tone in the presentation. Operator must review explicitly. |
176
- | `voice-mirror` plugin absent | Draft in neutral British business register; state the absence in the presentation. |
176
+ | Operator has no voice profile yet (`voice-retrieve-conditioning` returns no data) | Draft in neutral British business register; state the absence in the presentation. |
177
177
  | `email-reply` returns an error after approval | Surface the error verbatim. Operator decides whether to fix and retry or abandon. Do not silent-retry. |
178
178
  | Delete request without UIDs in hand | Run `email-read`/`email-search` first, show what matched, confirm, then `email-delete`. Never delete by description alone. |
179
179
  | `email-delete` matched more than the operator named | Surface the difference and ask before deleting. Never widen the set silently. |
@@ -222,4 +222,4 @@ returns the full chain for any thread.
222
222
  ## Dependencies
223
223
 
224
224
  - **Required:** `email` plugin (`email-graph-query`, `email-search`, `email-read`, `email-send`, `email-reply`, `email-draft`, `email-draft-edit`, `email-draft-send`, `email-delete`).
225
- - **Optional:** `voice-mirror` plugin. If installed, drafts use the operator's style-card and edits are captured as feedback. If absent, drafts fall back to a neutral British business register.
225
+ - **Core:** `voice-mirror` plugin (present on every brand). When the operator has a style card, drafts use it and edits are captured as feedback; with no profile yet, drafts fall back to a neutral British business register.
@@ -63,6 +63,7 @@ fields (supplier vs customer), so they stay distinct rather than one label with
63
63
  | Invoice line | `InvoiceLine` | `accountId`, `invoiceId`, `lineId`, `description`, `quantity`, `amount` | authored |
64
64
  | Invoice payment | `InvoicePayment` | `accountId`, `invoiceId`, `paymentId`, `amount`, `date`, `paymentType` | JobLogic-exact |
65
65
  | Credit | `Credit` | `accountId`, `creditId`, `amount`, `date` | authored |
66
+ | Job note | `Note` | `accountId`, `noteId`, `text`, `author`, `createdAt` | homegrown |
66
67
 
67
68
  `InvoiceLine`, `InvoicePayment`, and `Credit` carry a line-item monetary `amount`. The global
68
69
  synonym map in `schema-base.md` bans `amount` in favour of `totalPaymentDue`, but that is
@@ -117,6 +118,7 @@ MERGE keys per label:
117
118
  - `:InvoiceLine` — `(accountId, invoiceId, lineId)` — child of `:Invoice`
118
119
  - `:InvoicePayment` — `(accountId, invoiceId, paymentId)` — child of `:Invoice`
119
120
  - `:Credit` — `(accountId, creditId)` — child of `:Invoice`
121
+ - `:Note` — `(accountId, noteId)` — child of `:Job` via `(:Note)-[:ABOUT]->(:Job)`, append-only CREATE (a fresh `noteId` per note, not a content MERGE), so a second note never overwrites the first
120
122
  - `:Engineer` — `(accountId, personId)` — additional label on `:Person`, set via `memory-update`
121
123
  - `:Supplier` — `(accountId, organizationId)` — additional label on `:Organization`
122
124
 
@@ -137,6 +139,7 @@ MERGE keys per label:
137
139
  (:Valuation)-[:VALUES]->(:QuoteLine)
138
140
  (:Job)-[:HAS_VARIATION]->(:VariationNote)
139
141
  (:Job)-[:HAS_MILESTONE]->(:Milestone)
142
+ (:Note)-[:ABOUT]->(:Job)
140
143
  (:Job)-[:HAS_COST]->(:JobCost)
141
144
  (:JobCost)-[:INCURRED_BY]->(:Engineer)
142
145
  (:PurchaseOrder)-[:HAS_PO_LINE]->(:PurchaseOrderLine)
@@ -152,8 +155,10 @@ MERGE keys per label:
152
155
  (:WhatsAppGroup)-[:MAPPED_TO]->(:Job)
153
156
  ```
154
157
 
155
- Every `:Job` is the hub for its visits, quotes, valuations, variations, milestones, and costs,
156
- satisfying the ≥1-adjacency write-gate doctrine. Quote lines are reached from the job through
158
+ Every `:Job` is the hub for its visits, quotes, valuations, variations, milestones, notes, and costs,
159
+ satisfying the ≥1-adjacency write-gate doctrine. Job notes are the operator's free-text remarks
160
+ about a job, captured append-only by the `sitedesk-job` `note-capture` tool — one `:Note` per note,
161
+ never an overwritten scalar. Quote lines are reached from the job through
157
162
  the quote — `(:Job)-[:HAS_QUOTE]->(:Quote)-[:HAS_LINE]->(:QuoteLine)` — and each valuation links
158
163
  the lines it measures with `(:Valuation)-[:VALUES]->(:QuoteLine)`. A job links to its customer
159
164
  and site; an asset hangs off the site it lives at. Costs link to the engineer who incurred them.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "outlook",
3
- "description": "Microsoft 365 / Outlook.com via Microsoft Graph. Mail is read + draft + send; contacts are read-only; calendar is read + control. Per-account OAuth device-code flow; no client secret. One account can hold several mailboxes at once; every operational tool takes an optional mailbox selector (email or graphUserId) and refuses ambiguously when two or more are attached and none is named. Tools — outlook-account-register / outlook-account-register-poll: device-code register (start + poll); outlook-mail-list / outlook-mail-search: inbox; outlook-mail-send / outlook-draft / outlook-draft-send: compose and send; outlook-calendar-list / outlook-calendar-event: read calendar; outlook-calendar-create / outlook-calendar-update / outlook-calendar-cancel / outlook-calendar-respond / outlook-calendar-freebusy: control calendar; outlook-contacts-list: contacts; outlook-mailbox-info: auth state + folder count for one mailbox; outlook-mailbox-list: every connected mailbox.",
3
+ "description": "Microsoft 365 / Outlook.com via Microsoft Graph. Mail is read (list, search, full-body), reply, delete, and compose (draft, draft-edit, send); contacts are read-only; calendar is read + control. Per-account OAuth device-code flow; no client secret. One account can hold several mailboxes at once; every operational tool takes an optional mailbox selector (email or graphUserId) and refuses ambiguously when two or more are attached and none is named. Tools — outlook-account-register / outlook-account-register-poll: device-code register (start + poll); outlook-mail-list / outlook-mail-search: inbox triage (~255-char preview); outlook-mail-fetch-body: full body of one message by id; outlook-mail-reply: in-thread reply (replyAll, cc/bcc, attachments); outlook-mail-delete: move to Deleted Items (recoverable); outlook-mail-otp-extract: poll for a one-time code; outlook-mail-send / outlook-draft / outlook-draft-edit / outlook-draft-send: compose, edit, and send; outlook-calendar-list / outlook-calendar-event: read calendar; outlook-calendar-create / outlook-calendar-update / outlook-calendar-cancel / outlook-calendar-respond / outlook-calendar-freebusy: control calendar; outlook-contacts-list: contacts; outlook-mailbox-info: auth state + folder count for one mailbox; outlook-mailbox-list: every connected mailbox.",
4
4
  "version": "0.1.0",
5
5
  "author": {
6
6
  "name": "Rubytech LLC"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: outlook
3
- description: Microsoft 365 / Outlook.com via Microsoft Graph. Mail is read + draft + send; contacts are read-only; calendar is read + control. Per-account OAuth device-code flow; no client secret. One account can hold several mailboxes at once; every operational tool takes an optional mailbox selector (email or graphUserId) and refuses ambiguously when two or more are attached and none is named. Tools — outlook-account-register / outlook-account-register-poll: device-code register (start + poll); outlook-mail-list / outlook-mail-search: inbox; outlook-mail-send / outlook-draft / outlook-draft-send: compose and send; outlook-calendar-list / outlook-calendar-event: read calendar; outlook-calendar-create / outlook-calendar-update / outlook-calendar-cancel / outlook-calendar-respond / outlook-calendar-freebusy: control calendar; outlook-contacts-list: contacts; outlook-mailbox-info: auth state + folder count for one mailbox; outlook-mailbox-list: every connected mailbox.
3
+ description: Microsoft 365 / Outlook.com via Microsoft Graph. Mail is read (list, search, full-body), reply, delete, and compose (draft, draft-edit, send); contacts are read-only; calendar is read + control. Per-account OAuth device-code flow; no client secret. One account can hold several mailboxes at once; every operational tool takes an optional mailbox selector (email or graphUserId) and refuses ambiguously when two or more are attached and none is named. Tools — outlook-account-register / outlook-account-register-poll: device-code register (start + poll); outlook-mail-list / outlook-mail-search: inbox triage (~255-char preview); outlook-mail-fetch-body: full body of one message by id; outlook-mail-reply: in-thread reply (replyAll, cc/bcc, attachments); outlook-mail-delete: move to Deleted Items (recoverable); outlook-mail-otp-extract: poll for a one-time code; outlook-mail-send / outlook-draft / outlook-draft-edit / outlook-draft-send: compose, edit, and send; outlook-calendar-list / outlook-calendar-event: read calendar; outlook-calendar-create / outlook-calendar-update / outlook-calendar-cancel / outlook-calendar-respond / outlook-calendar-freebusy: control calendar; outlook-contacts-list: contacts; outlook-mailbox-info: auth state + folder count for one mailbox; outlook-mailbox-list: every connected mailbox.
4
4
  tools:
5
5
  - name: outlook-account-register
6
6
  publicAllowlist: false
@@ -14,6 +14,18 @@ tools:
14
14
  - name: outlook-mail-search
15
15
  publicAllowlist: false
16
16
  adminAllowlist: false
17
+ - name: outlook-mail-fetch-body
18
+ publicAllowlist: false
19
+ adminAllowlist: false
20
+ - name: outlook-mail-reply
21
+ publicAllowlist: false
22
+ adminAllowlist: false
23
+ - name: outlook-mail-delete
24
+ publicAllowlist: false
25
+ adminAllowlist: false
26
+ - name: outlook-mail-otp-extract
27
+ publicAllowlist: false
28
+ adminAllowlist: false
17
29
  - name: outlook-mail-send
18
30
  publicAllowlist: false
19
31
  adminAllowlist: false
@@ -23,6 +35,9 @@ tools:
23
35
  - name: outlook-draft-send
24
36
  publicAllowlist: false
25
37
  adminAllowlist: false
38
+ - name: outlook-draft-edit
39
+ publicAllowlist: false
40
+ adminAllowlist: false
26
41
  - name: outlook-calendar-list
27
42
  publicAllowlist: false
28
43
  adminAllowlist: false
@@ -74,21 +89,24 @@ mcp-manifest: auto
74
89
 
75
90
  # Outlook
76
91
 
77
- Microsoft Graph access for Outlook.com / Microsoft 365 mailboxes. Mail is read, draft, and send; contacts are read-only; calendar is read + control. Admin agent only — public agent surface is explicitly excluded.
92
+ Microsoft Graph access for Outlook.com / Microsoft 365 mailboxes. Mail is read (list, search, full-body), reply, delete, and compose (draft, draft-edit, send); contacts are read-only; calendar is read + control. Admin agent only — public agent surface is explicitly excluded.
78
93
 
79
94
  ## Capabilities
80
95
 
81
96
  - **Register:** `outlook-account-register` — starts the OAuth device-code flow against the brand's Entra app and returns a user code + verification URL immediately. The operator opens `microsoft.com/devicelogin` on any device, enters the code, and consents. `outlook-account-register-poll` completes registration — one check per call. Registering a second mailbox on the same account adds it alongside the first rather than replacing it; each mailbox holds its own encrypted tokens (AES-256-CBC) under a shared account key. One device-code flow runs at a time per account; starting another while one is live returns an `in-progress` signal.
82
97
  - **Multiple mailboxes:** one account can hold several mailboxes. Every operational tool takes an optional `mailbox` argument (email or graphUserId). With one mailbox, omit it. With two or more, name it — omitting it returns a refusal listing the connected mailboxes. `outlook-mailbox-list` shows them all.
83
- - **Mail (read):** `outlook-mail-list` returns recent messages; `outlook-mail-search` runs a Graph `$search` query.
84
- - **Mail (send / draft):** `outlook-mail-send` sends via `POST /me/sendMail` (success asserted on Graph 202); `outlook-draft` creates a draft and returns its id; `outlook-draft-send` sends an existing draft by id. Recipients are to/cc/bcc arrays; body is HTML or plain text via `isHtml`. Requires `Mail.Send` + `Mail.ReadWrite`; a mailbox on the old read-only consent returns an actionable "re-register to grant send" signal.
98
+ - **Mail (read):** `outlook-mail-list` returns recent messages and `outlook-mail-search` runs a Graph `$search` query — both return Microsoft's short `bodyPreview` (~255 chars) for cheap triage. `outlook-mail-fetch-body` reads the COMPLETE body of one message by id (HTML decoded to text, no preview cap) — the full-read path.
99
+ - **Mail (reply / delete):** `outlook-mail-reply` replies in-thread (native `conversationId` threading) with `replyAll`, added cc/bcc, and account-scoped file attachments (up to 25 MB per file files over Graph's ~3 MB inline limit stream through a chunked upload session); the body is prepended above the quoted original. `outlook-mail-delete` moves messages to Deleted Items (recoverable never hard-deletes). Both require `Mail.ReadWrite` (reply also needs `Mail.Send`).
100
+ - **Mail (OTP):** `outlook-mail-otp-extract` polls the inbox for a one-time verification code from a named sender, reading full bodies to extract it — used during service authentication.
101
+ - **Mail (send / draft):** `outlook-mail-send` sends via `POST /me/sendMail` (success asserted on Graph 202); `outlook-draft` creates a draft and returns its id; `outlook-draft-edit` updates an existing draft in place (Graph drafts are mutable); `outlook-draft-send` sends an existing draft by id. Recipients are to/cc/bcc arrays; body is HTML or plain text via `isHtml`. Requires `Mail.Send` + `Mail.ReadWrite`; a mailbox on the old read-only consent returns an actionable "re-register to grant send" signal.
85
102
  - **Calendar (read + control):** `outlook-calendar-list` and `outlook-calendar-event` read events; `outlook-calendar-create` books an event; `outlook-calendar-update` reschedules or edits one; `outlook-calendar-cancel` cancels a meeting (notifying attendees when the account organises it) or deletes a personal appointment; `outlook-calendar-respond` accepts, declines, or tentatively accepts an invite; `outlook-calendar-freebusy` reports availability for one or more addresses over a window. Writes require the `Calendars.ReadWrite` consent; a mailbox on stale read-only consent returns a distinct signal naming the scope and `outlook-account-register`.
86
103
  - **Contacts (read-only):** `outlook-contacts-list` returns contacts.
87
104
  - **Health:** `outlook-mailbox-info` reports auth state, refresh-window status, and top-level folder count for one mailbox (name it with `mailbox` when several are attached). `outlook-mailbox-list` lists every attached mailbox with its email, scopes, and token health, reading local stores only, never the network. It reports an `addressable` count and a per-mailbox `status` (`ok` / `blank-email` / `refresh-expired` / `unreadable`) so an authenticated, addressable mailbox is distinguishable from one that is merely present: a bare `count` of 1 is not "connected" unless that mailbox is `status:ok`. Use these to answer "did mailbox X auth?" without grepping logs.
88
105
 
89
106
  ## Out of scope
90
107
 
91
- - Mail move / flag / delete — write surfaces beyond send and draft are not implemented.
108
+ - Mail move (to arbitrary folders) / flag — write surfaces beyond reply, delete (move to Deleted Items), and compose are not implemented. Hard/permanent delete is deliberately excluded; `outlook-mail-delete` only moves to Deleted Items.
109
+ - Ingesting reviewed mail into the business graph — the `outlook-mail-ingest` analogue of `email-ingest` is a follow-up task (adds a Neo4j dependency).
92
110
  - Contacts write — read-only.
93
111
  - Recurring-series occurrence editing (edit-this-occurrence) beyond whole-series create/update.
94
112
  - The `scheduling` (Neo4j graph) plugin and any auto-sync between it and the Outlook calendar.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=draft-edit.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft-edit.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/draft-edit.test.ts"],"names":[],"mappings":""}