@adaptic/maestro 1.0.1 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (604) hide show
  1. package/.claude/commands/init-maestro.md +292 -29
  2. package/.gitignore +29 -0
  3. package/README.md +220 -344
  4. package/bin/maestro.mjs +462 -7
  5. package/lib/action-executor.js +225 -0
  6. package/lib/index.js +16 -0
  7. package/lib/singleton.js +116 -0
  8. package/lib/tool-definitions.js +510 -0
  9. package/package.json +12 -2
  10. package/scaffold/CLAUDE.md +207 -0
  11. package/scripts/daemon/maestro-daemon.mjs +37 -0
  12. package/scripts/local-triggers/generate-plists.sh +235 -0
  13. package/scripts/local-triggers/install-all.sh +18 -12
  14. package/scripts/setup/init-agent.sh +58 -27
  15. package/scripts/slack-events-server.mjs +10 -0
  16. package/scripts/huddle/node_modules/.package-lock.json +0 -50
  17. package/scripts/huddle/node_modules/@anthropic-ai/sdk/CHANGELOG.md +0 -1677
  18. package/scripts/huddle/node_modules/@anthropic-ai/sdk/LICENSE +0 -8
  19. package/scripts/huddle/node_modules/@anthropic-ai/sdk/README.md +0 -674
  20. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +0 -3
  21. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +0 -1
  22. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +0 -3
  23. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +0 -1
  24. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +0 -226
  25. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +0 -1
  26. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +0 -223
  27. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +0 -1
  28. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts +0 -2
  29. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +0 -1
  30. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts +0 -2
  31. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +0 -1
  32. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js +0 -6
  33. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js.map +0 -1
  34. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs +0 -2
  35. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +0 -1
  36. package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/cli +0 -53
  37. package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/migration-config.json +0 -7
  38. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts +0 -225
  39. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts.map +0 -1
  40. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts +0 -225
  41. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts.map +0 -1
  42. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js +0 -536
  43. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js.map +0 -1
  44. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs +0 -531
  45. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs.map +0 -1
  46. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +0 -49
  47. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +0 -1
  48. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +0 -49
  49. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +0 -1
  50. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js +0 -76
  51. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +0 -1
  52. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +0 -72
  53. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +0 -1
  54. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts +0 -47
  55. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +0 -1
  56. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts +0 -47
  57. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +0 -1
  58. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js +0 -114
  59. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js.map +0 -1
  60. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs +0 -98
  61. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs.map +0 -1
  62. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +0 -63
  63. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +0 -1
  64. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +0 -63
  65. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +0 -1
  66. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js +0 -123
  67. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js.map +0 -1
  68. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs +0 -117
  69. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +0 -1
  70. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts +0 -6
  71. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +0 -1
  72. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts +0 -6
  73. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +0 -1
  74. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js +0 -11
  75. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js.map +0 -1
  76. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs +0 -7
  77. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +0 -1
  78. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +0 -31
  79. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +0 -1
  80. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +0 -31
  81. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +0 -1
  82. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js +0 -282
  83. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js.map +0 -1
  84. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs +0 -277
  85. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +0 -1
  86. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +0 -3
  87. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +0 -1
  88. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +0 -3
  89. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +0 -1
  90. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js +0 -6
  91. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js.map +0 -1
  92. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs +0 -2
  93. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +0 -1
  94. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts +0 -2
  95. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts.map +0 -1
  96. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts +0 -2
  97. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts.map +0 -1
  98. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js +0 -6
  99. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js.map +0 -1
  100. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs +0 -2
  101. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs.map +0 -1
  102. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts +0 -7
  103. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts.map +0 -1
  104. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts +0 -7
  105. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts.map +0 -1
  106. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js +0 -35
  107. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js.map +0 -1
  108. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs +0 -8
  109. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs.map +0 -1
  110. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +0 -73
  111. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +0 -1
  112. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +0 -73
  113. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +0 -1
  114. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +0 -4
  115. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +0 -1
  116. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +0 -3
  117. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +0 -1
  118. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +0 -5
  119. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +0 -1
  120. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +0 -5
  121. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +0 -1
  122. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js +0 -15
  123. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js.map +0 -1
  124. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs +0 -12
  125. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +0 -1
  126. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +0 -10
  127. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +0 -1
  128. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +0 -10
  129. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +0 -1
  130. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +0 -39
  131. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +0 -1
  132. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +0 -35
  133. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +0 -1
  134. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +0 -17
  135. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +0 -1
  136. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +0 -17
  137. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +0 -1
  138. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +0 -113
  139. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +0 -1
  140. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +0 -108
  141. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +0 -1
  142. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +0 -15
  143. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +0 -1
  144. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +0 -15
  145. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +0 -1
  146. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +0 -162
  147. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +0 -1
  148. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +0 -157
  149. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +0 -1
  150. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +0 -3
  151. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +0 -1
  152. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +0 -3
  153. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +0 -1
  154. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js +0 -41
  155. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js.map +0 -1
  156. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs +0 -36
  157. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +0 -1
  158. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +0 -22
  159. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +0 -1
  160. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +0 -22
  161. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +0 -1
  162. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js +0 -79
  163. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js.map +0 -1
  164. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs +0 -74
  165. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +0 -1
  166. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +0 -17
  167. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +0 -1
  168. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +0 -17
  169. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +0 -1
  170. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js +0 -55
  171. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js.map +0 -1
  172. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs +0 -51
  173. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +0 -1
  174. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +0 -34
  175. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +0 -1
  176. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +0 -34
  177. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +0 -1
  178. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js +0 -14
  179. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +0 -1
  180. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +0 -10
  181. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +0 -1
  182. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +0 -28
  183. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +0 -28
  184. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +0 -20
  185. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +0 -1
  186. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +0 -20
  187. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +0 -1
  188. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js +0 -92
  189. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js.map +0 -1
  190. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs +0 -85
  191. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +0 -1
  192. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +0 -8
  193. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +0 -1
  194. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +0 -8
  195. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +0 -1
  196. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +0 -38
  197. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +0 -1
  198. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +0 -35
  199. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +0 -1
  200. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +0 -45
  201. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +0 -1
  202. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +0 -45
  203. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +0 -1
  204. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js +0 -96
  205. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +0 -1
  206. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +0 -93
  207. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +0 -1
  208. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.js +0 -81
  209. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +0 -17
  210. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts +0 -67
  211. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +0 -1
  212. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts +0 -67
  213. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +0 -1
  214. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js +0 -4
  215. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js.map +0 -1
  216. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs +0 -3
  217. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +0 -1
  218. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +0 -42
  219. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +0 -1
  220. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +0 -42
  221. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +0 -1
  222. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js +0 -146
  223. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +0 -1
  224. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +0 -136
  225. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +0 -1
  226. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +0 -3
  227. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +0 -1
  228. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +0 -3
  229. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +0 -1
  230. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +0 -38
  231. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +0 -1
  232. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +0 -33
  233. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +0 -1
  234. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +0 -4
  235. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +0 -1
  236. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +0 -4
  237. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +0 -1
  238. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +0 -31
  239. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +0 -1
  240. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +0 -26
  241. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +0 -1
  242. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +0 -9
  243. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +0 -1
  244. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +0 -9
  245. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +0 -1
  246. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js +0 -22
  247. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +0 -1
  248. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +0 -18
  249. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +0 -1
  250. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +0 -37
  251. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +0 -1
  252. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +0 -37
  253. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +0 -1
  254. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js +0 -86
  255. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +0 -1
  256. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +0 -80
  257. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +0 -1
  258. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +0 -15
  259. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +0 -1
  260. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +0 -15
  261. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +0 -1
  262. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js +0 -58
  263. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +0 -1
  264. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +0 -53
  265. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +0 -1
  266. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +0 -2
  267. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +0 -1
  268. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +0 -2
  269. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +0 -1
  270. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +0 -7
  271. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +0 -1
  272. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +0 -3
  273. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +0 -1
  274. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +0 -5
  275. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +0 -1
  276. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +0 -5
  277. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +0 -1
  278. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +0 -19
  279. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +0 -1
  280. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +0 -15
  281. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +0 -1
  282. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +0 -16
  283. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +0 -1
  284. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +0 -16
  285. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +0 -1
  286. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js +0 -109
  287. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +0 -1
  288. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +0 -92
  289. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +0 -1
  290. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +0 -7
  291. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +0 -1
  292. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +0 -7
  293. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +0 -1
  294. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js +0 -11
  295. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js.map +0 -1
  296. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs +0 -8
  297. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +0 -1
  298. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +0 -114
  299. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +0 -1
  300. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +0 -114
  301. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +0 -1
  302. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +0 -553
  303. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +0 -1
  304. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +0 -549
  305. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +0 -1
  306. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +0 -114
  307. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +0 -1
  308. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +0 -114
  309. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +0 -1
  310. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +0 -553
  311. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +0 -1
  312. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +0 -549
  313. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +0 -1
  314. package/scripts/huddle/node_modules/@anthropic-ai/sdk/package.json +0 -185
  315. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts +0 -2
  316. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +0 -1
  317. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts +0 -2
  318. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +0 -1
  319. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js +0 -6
  320. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js.map +0 -1
  321. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs +0 -2
  322. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs.map +0 -1
  323. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts +0 -2
  324. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts.map +0 -1
  325. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts +0 -2
  326. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts.map +0 -1
  327. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js +0 -6
  328. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js.map +0 -1
  329. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs +0 -2
  330. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs.map +0 -1
  331. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +0 -61
  332. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +0 -1
  333. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +0 -61
  334. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +0 -1
  335. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +0 -25
  336. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +0 -1
  337. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +0 -20
  338. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +0 -1
  339. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +0 -151
  340. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +0 -1
  341. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +0 -151
  342. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +0 -1
  343. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js +0 -122
  344. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +0 -1
  345. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +0 -118
  346. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +0 -1
  347. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +0 -5
  348. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +0 -1
  349. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +0 -5
  350. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +0 -1
  351. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js +0 -13
  352. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +0 -1
  353. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +0 -6
  354. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +0 -1
  355. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +0 -343
  356. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +0 -1
  357. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +0 -343
  358. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +0 -1
  359. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +0 -204
  360. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +0 -1
  361. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +0 -200
  362. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +0 -1
  363. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +0 -3
  364. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +0 -1
  365. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +0 -3
  366. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +0 -1
  367. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +0 -9
  368. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +0 -1
  369. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +0 -4
  370. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +0 -1
  371. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +0 -1561
  372. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +0 -1
  373. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +0 -1561
  374. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +0 -1
  375. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +0 -86
  376. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +0 -1
  377. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +0 -81
  378. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +0 -1
  379. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +0 -2
  380. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +0 -1
  381. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +0 -2
  382. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +0 -1
  383. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +0 -6
  384. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +0 -1
  385. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +0 -3
  386. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +0 -1
  387. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +0 -74
  388. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +0 -1
  389. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +0 -74
  390. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +0 -1
  391. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js +0 -60
  392. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +0 -1
  393. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +0 -56
  394. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +0 -1
  395. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +0 -2
  396. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +0 -1
  397. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +0 -2
  398. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +0 -1
  399. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js +0 -6
  400. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js.map +0 -1
  401. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs +0 -3
  402. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +0 -1
  403. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +0 -183
  404. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +0 -1
  405. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +0 -183
  406. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +0 -1
  407. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js +0 -23
  408. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js.map +0 -1
  409. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs +0 -19
  410. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +0 -1
  411. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts +0 -6
  412. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +0 -1
  413. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts +0 -6
  414. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +0 -1
  415. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js +0 -15
  416. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js.map +0 -1
  417. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs +0 -7
  418. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +0 -1
  419. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +0 -304
  420. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +0 -1
  421. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +0 -304
  422. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +0 -1
  423. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +0 -153
  424. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +0 -1
  425. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +0 -149
  426. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +0 -1
  427. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +0 -3
  428. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +0 -1
  429. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +0 -3
  430. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +0 -1
  431. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js +0 -9
  432. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +0 -1
  433. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +0 -4
  434. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +0 -1
  435. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +0 -1264
  436. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +0 -1
  437. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +0 -1264
  438. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +0 -1
  439. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +0 -72
  440. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +0 -1
  441. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +0 -67
  442. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +0 -1
  443. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +0 -2
  444. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +0 -1
  445. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +0 -2
  446. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +0 -1
  447. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js +0 -6
  448. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js.map +0 -1
  449. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs +0 -3
  450. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +0 -1
  451. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts +0 -59
  452. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +0 -1
  453. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts +0 -59
  454. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +0 -1
  455. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js +0 -45
  456. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js.map +0 -1
  457. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs +0 -41
  458. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +0 -1
  459. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +0 -42
  460. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +0 -1
  461. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +0 -42
  462. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +0 -1
  463. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js +0 -4
  464. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js.map +0 -1
  465. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs +0 -3
  466. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +0 -1
  467. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +0 -2
  468. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +0 -1
  469. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +0 -2
  470. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +0 -1
  471. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js +0 -4
  472. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +0 -1
  473. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +0 -3
  474. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +0 -1
  475. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts +0 -2
  476. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts.map +0 -1
  477. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts +0 -2
  478. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts.map +0 -1
  479. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js +0 -5
  480. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js.map +0 -1
  481. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs +0 -2
  482. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs.map +0 -1
  483. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +0 -3
  484. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +0 -264
  485. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/api-promise.ts +0 -2
  486. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/client.ts +0 -1070
  487. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/README.md +0 -3
  488. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +0 -101
  489. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/error.ts +0 -133
  490. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +0 -201
  491. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/resource.ts +0 -11
  492. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +0 -331
  493. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +0 -2
  494. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/error.ts +0 -2
  495. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/index.ts +0 -23
  496. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/README.md +0 -3
  497. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +0 -93
  498. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +0 -12
  499. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +0 -48
  500. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +0 -135
  501. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +0 -196
  502. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +0 -33
  503. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +0 -99
  504. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +0 -84
  505. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +0 -39
  506. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shim-types.d.ts +0 -28
  507. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +0 -107
  508. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +0 -32
  509. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +0 -159
  510. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/types.ts +0 -92
  511. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +0 -193
  512. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +0 -40
  513. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +0 -32
  514. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +0 -18
  515. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +0 -127
  516. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +0 -65
  517. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +0 -3
  518. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +0 -17
  519. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +0 -102
  520. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +0 -8
  521. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/.keep +0 -4
  522. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +0 -683
  523. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +0 -684
  524. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/pagination.ts +0 -2
  525. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resource.ts +0 -2
  526. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +0 -380
  527. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +0 -258
  528. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +0 -148
  529. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +0 -502
  530. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +0 -135
  531. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +0 -2249
  532. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +0 -3
  533. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +0 -118
  534. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +0 -3
  535. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +0 -231
  536. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/index.ts +0 -121
  537. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +0 -396
  538. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +0 -110
  539. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +0 -1783
  540. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +0 -3
  541. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/models.ts +0 -103
  542. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +0 -72
  543. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +0 -3
  544. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources.ts +0 -1
  545. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/streaming.ts +0 -2
  546. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/tsconfig.json +0 -11
  547. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/uploads.ts +0 -2
  548. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/version.ts +0 -1
  549. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts +0 -2
  550. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +0 -1
  551. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts +0 -2
  552. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +0 -1
  553. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js +0 -6
  554. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js.map +0 -1
  555. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs +0 -2
  556. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs.map +0 -1
  557. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts +0 -2
  558. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +0 -1
  559. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts +0 -2
  560. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +0 -1
  561. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js +0 -6
  562. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js.map +0 -1
  563. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs +0 -2
  564. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs.map +0 -1
  565. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts +0 -2
  566. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts.map +0 -1
  567. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts +0 -2
  568. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts.map +0 -1
  569. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js +0 -5
  570. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js.map +0 -1
  571. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs +0 -2
  572. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs.map +0 -1
  573. package/scripts/huddle/node_modules/dotenv/CHANGELOG.md +0 -520
  574. package/scripts/huddle/node_modules/dotenv/LICENSE +0 -23
  575. package/scripts/huddle/node_modules/dotenv/README-es.md +0 -411
  576. package/scripts/huddle/node_modules/dotenv/README.md +0 -645
  577. package/scripts/huddle/node_modules/dotenv/SECURITY.md +0 -1
  578. package/scripts/huddle/node_modules/dotenv/config.d.ts +0 -1
  579. package/scripts/huddle/node_modules/dotenv/config.js +0 -9
  580. package/scripts/huddle/node_modules/dotenv/lib/cli-options.js +0 -17
  581. package/scripts/huddle/node_modules/dotenv/lib/env-options.js +0 -28
  582. package/scripts/huddle/node_modules/dotenv/lib/main.d.ts +0 -162
  583. package/scripts/huddle/node_modules/dotenv/lib/main.js +0 -386
  584. package/scripts/huddle/node_modules/dotenv/package.json +0 -62
  585. package/scripts/huddle/node_modules/ws/LICENSE +0 -20
  586. package/scripts/huddle/node_modules/ws/README.md +0 -548
  587. package/scripts/huddle/node_modules/ws/browser.js +0 -8
  588. package/scripts/huddle/node_modules/ws/index.js +0 -22
  589. package/scripts/huddle/node_modules/ws/lib/buffer-util.js +0 -131
  590. package/scripts/huddle/node_modules/ws/lib/constants.js +0 -19
  591. package/scripts/huddle/node_modules/ws/lib/event-target.js +0 -292
  592. package/scripts/huddle/node_modules/ws/lib/extension.js +0 -203
  593. package/scripts/huddle/node_modules/ws/lib/limiter.js +0 -55
  594. package/scripts/huddle/node_modules/ws/lib/permessage-deflate.js +0 -528
  595. package/scripts/huddle/node_modules/ws/lib/receiver.js +0 -706
  596. package/scripts/huddle/node_modules/ws/lib/sender.js +0 -602
  597. package/scripts/huddle/node_modules/ws/lib/stream.js +0 -161
  598. package/scripts/huddle/node_modules/ws/lib/subprotocol.js +0 -62
  599. package/scripts/huddle/node_modules/ws/lib/validation.js +0 -152
  600. package/scripts/huddle/node_modules/ws/lib/websocket-server.js +0 -554
  601. package/scripts/huddle/node_modules/ws/lib/websocket.js +0 -1393
  602. package/scripts/huddle/node_modules/ws/package.json +0 -70
  603. package/scripts/huddle/node_modules/ws/wrapper.mjs +0 -21
  604. package/scripts/local-triggers/plists/ai.adaptic.slack-events-server.plist +0 -45
package/README.md CHANGED
@@ -1,162 +1,175 @@
1
- # Maestro
1
+ # @adaptic/maestro
2
2
 
3
- **A production-grade framework for deploying autonomous AI agents on dedicated Mac minis.**
3
+ [![npm](https://img.shields.io/npm/v/@adaptic/maestro)](https://www.npmjs.com/package/@adaptic/maestro)
4
4
 
5
- Maestro turns a Mac mini into a perpetually running AI employee. Each agent uses Claude Code as its reasoning engine, integrates with Slack, Gmail, Google Calendar, WhatsApp, SMS, and 25+ MCP-connected services, and operates autonomously around the clock -- observing events, executing tasks, communicating with humans, and maintaining institutional memory across sessions.
5
+ A production-grade npm package for deploying autonomous AI agents on dedicated Mac minis.
6
6
 
7
7
  ---
8
8
 
9
9
  ## What is Maestro?
10
10
 
11
- Maestro is an autonomous AI agent operating system. It provides the complete infrastructure to deploy, run, and govern an AI agent that functions as a real member of your team -- with its own identity, responsibilities, communication channels, and institutional memory.
11
+ Maestro is an autonomous AI agent operating system, distributed as an npm package. It provides the complete infrastructure to deploy, run, and govern an AI agent that functions as a real member of your team -- with its own identity, responsibilities, communication channels, and institutional memory.
12
12
 
13
- **What it does:**
14
- - Runs 24/7 on a dedicated Mac mini, polling Slack, Gmail, and Calendar for events
15
- - Reasons about incoming information and takes action autonomously
16
- - Sends messages, drafts documents, follows up on open loops, and coordinates work
17
- - Maintains persistent memory, decision logs, and strategic context across sessions
18
- - Spawns parallel sub-agents for complex, multi-track execution
19
- - Produces branded PDFs, executive briefs, and media assets
13
+ Each agent lives in its own repository. You install `@adaptic/maestro` to scaffold that repo, and the package provides the framework: scripts, agent definitions, workflow templates, governance policies, macOS automation, and Claude Code integration. Your repo holds the agent's identity, configuration, secrets, and runtime data. The framework and the agent's state are cleanly separated, so framework upgrades never overwrite your agent's personality or operational history.
20
14
 
21
- **What it is NOT:**
22
- - Not a chatbot. The agent operates proactively, not just in response to prompts.
23
- - Not a demo or prototype. This is production infrastructure for real organisations.
24
- - Not a generic agent framework. It is opinionated about deployment (Mac mini), reasoning (Claude Code), and governance (audit trails, approval policies, rate limits).
15
+ Maestro uses Claude Code as its reasoning engine and integrates with Slack, Gmail, Google Calendar, WhatsApp, SMS, and 25+ MCP-connected services. Agents run 24/7 on a dedicated Mac mini, polling for events, reasoning about incoming information, executing tasks autonomously, and maintaining persistent memory across sessions. They send messages, draft documents, follow up on open loops, spawn parallel sub-agents for complex work, and produce branded PDFs and media assets.
25
16
 
26
- **Who it is for:**
27
- Companies deploying AI employees -- autonomous agents that hold real roles, communicate with real people, and execute real work across real tools. If you need a Chief of Staff, a Head of Compliance, a quant researcher, or any other knowledge worker that runs continuously without human prompting, Maestro is the deployment framework.
17
+ The package provides: framework scripts (poller, daemon, triggers, hooks, PDF and media generation), 31 agent definitions with mandates and prompts, workflow templates across daily/weekly/monthly/quarterly cadences, operational skills as a Claude Code plugin, slash commands for agent setup, macOS launchd configuration, and comprehensive documentation and runbooks.
28
18
 
29
19
  ---
30
20
 
31
- ## Architecture
21
+ ## Quick Start
32
22
 
23
+ ```bash
24
+ npx @adaptic/maestro create jacob-ai
25
+ cd jacob-ai
26
+ sudo npm run configure-macos # Auto-login, disable sleep, Parsec, Slack CDP
27
+ npm run init-agent # Create directories, install launchd agents, configure Claude Code
28
+ claude "/init-maestro" # Interactive identity and services wizard
33
29
  ```
34
- ┌─────────────────────────────────────────────────────┐
35
- │ Your Agent │
36
- │ Executive Cortex (Tier 0) │
37
- ├──────────┬──────────┬──────────┬──────────┬─────────┤
38
- │ Briefing │ Strategic│ Domain │ Comms │ Task │
39
- │ │ Planning │ Ops │ Gov. │ Exec. │
40
- │ (Tier 1) │ (Tier 1) │ (Tier 1) │ (Tier 1) │(Tier 1)│
41
- ├──────────┴──────────┴──────────┴──────────┴─────────┤
42
- │ 20+ Specialist Agents (Tier 2) │
43
- │ Research · Product · Engineering · Legal · Ops · │
44
- │ Finance · Partnerships · Hiring · Market Intel · │
45
- │ Board Prep · Compliance · Writing · ... │
46
- ├─────────────────────────────────────────────────────┤
47
- │ Desktop Operations (Tier 3) │
48
- │ Slack · Gmail · WhatsApp · Browser · Calendar │
49
- ├─────────────────────────────────────────────────────┤
50
- │ Governance & Memory (Tier 4) │
51
- │ Decision Log · Risk Register · Knowledge Base │
52
- └─────────────────────────────────────────────────────┘
53
- ```
54
-
55
- **Tier 0 -- Executive Cortex:** The agent's core identity and reasoning loop. Reads dashboards, processes inbound events, makes decisions, and orchestrates lower tiers.
56
30
 
57
- **Tier 1 -- Domain Controllers:** Specialised reasoning modules for briefing, strategic planning, domain operations, communications governance, and task execution.
31
+ ### Prerequisites
58
32
 
59
- **Tier 2 -- Specialist Agents:** 20+ sub-agents that can be spawned in parallel for focused work -- research, document drafting, code review, legal analysis, hiring pipelines, and more.
33
+ | Dependency | Install | Purpose |
34
+ |-------------------|------------------------------------------------------------|--------------------------------|
35
+ | Node.js 20+ | `brew install node` | Runtime for poller, triggers |
36
+ | Claude CLI | `npm install -g @anthropic-ai/claude-code` | Agent reasoning engine |
37
+ | jq | `brew install jq` | Used by hook scripts |
38
+ | Pandoc + MacTeX | `brew install pandoc && brew install --cask mactex-no-gui` | PDF generation (optional) |
39
+ | Anthropic API key | Set `ANTHROPIC_API_KEY` env var | Required for Claude CLI |
60
40
 
61
- **Tier 3 -- Desktop Operations:** Integrations with external services via MCP servers, APIs, and local tooling. Slack, Gmail, Google Calendar, WhatsApp, SMS, browser automation.
41
+ ---
62
42
 
63
- **Tier 4 -- Governance & Memory:** Persistent state layer. Decision logs, risk registers, knowledge bases, interaction history, queue management, and audit trails.
43
+ ## What the Package Provides
44
+
45
+ When you run `npx @adaptic/maestro create <name>`, the following framework files are copied into your new agent repo:
46
+
47
+ | Directory | Description |
48
+ |--------------------------|-----------------------------------------------------------------------------|
49
+ | `scripts/` | Poller, daemon, trigger runner, hooks, PDF generation, media generation, setup scripts, healthcheck, emergency stop |
50
+ | `agents/` | 31 specialist agent definitions with mandates, responsibilities, and prompts |
51
+ | `workflows/` | Workflow templates: continuous, daily, weekly, monthly, quarterly cadences |
52
+ | `policies/` | Action classification, information barriers, prompt injection defence |
53
+ | `plugins/maestro-skills/`| Operational skills plugin for Claude Code (memory, comms, queue management) |
54
+ | `.claude/commands/` | Slash commands including `/init-maestro` for identity setup |
55
+ | `.claude/settings.json` | Project-level Claude Code hooks and permissions |
56
+ | `schedules/` | Trigger prompt templates for launchd-scheduled sessions |
57
+ | `teams/` | Agent team compositions and coordination definitions |
58
+ | `docs/` | Architecture docs, governance policies, runbooks, workflow documentation |
59
+ | `public/assets/` | Brand SVG assets (icon and logo, dark and light variants) |
60
+ | `desktop-control/` | macOS app control profiles for desktop automation |
61
+ | `scaffold/` | Template files for agent-specific config (CLAUDE.md, config/agent.ts) |
64
62
 
65
63
  ---
66
64
 
67
- ## Getting Started
65
+ ## What Lives in the Agent Repo (Not in the Package)
68
66
 
69
- ### Prerequisites
67
+ These files are specific to your agent and are never overwritten by framework upgrades:
70
68
 
71
- | Dependency | Install | Purpose |
72
- |---------------------|------------------------------------------------------------|----------------------------------|
73
- | Node.js 25+ | `brew install node` | Runtime for poller, triggers |
74
- | Claude CLI | `npm install -g @anthropic-ai/claude-code` | Agent reasoning engine |
75
- | jq | `brew install jq` | Used by hook scripts |
76
- | Pandoc + MacTeX | `brew install pandoc && brew install --cask mactex-no-gui` | PDF generation (optional) |
77
- | Anthropic API key | Set `ANTHROPIC_API_KEY` env var | Required for Claude CLI |
69
+ | File / Directory | Purpose |
70
+ |--------------------------|------------------------------------------------------------------|
71
+ | `CLAUDE.md` | The agent's behavioural charter -- identity, principles, communication rules, operating modes |
72
+ | `config/agent.ts` | Structured identity data: name, title, email, archetype, schedule, communication style |
73
+ | `config/contacts.yaml` | Key relationships and communication permissions |
74
+ | `config/priorities.yaml` | Strategic focus areas and milestones |
75
+ | `config/environment.yaml`| System-level settings: paths, scheduling, secrets references |
76
+ | `.env` | API keys and credentials (never committed to git) |
77
+ | `knowledge/` | Sources, syntheses, entities, decisions, and memory |
78
+ | `memory/` | Interaction history, user and channel profiles, precedents |
79
+ | `state/` | Queues, inbox, dashboards, polling cursors, locks |
80
+ | `logs/` | Audit trails, polling logs, workflow logs, session logs |
81
+ | `outputs/` | Briefs, memos, drafts, research, and generated deliverables |
78
82
 
79
- ### Step 1: Clone and Install
83
+ ---
80
84
 
81
- ```bash
82
- git clone git@github.com:your-org/maestro.git ~/your-agent
83
- cd ~/your-agent
84
- npm run init-agent
85
- ```
85
+ ## CLI Reference
86
86
 
87
- The `init-agent` script handles all machine setup:
88
- - Installs npm dependencies
89
- - Creates all required `state/`, `logs/`, `memory/` directories
90
- - Installs global Claude Code settings with hook configuration
91
- - Generates and loads 12 macOS launchd agents (poller, inbox processor, backlog executor, meeting prep, weekly triggers, etc.)
92
- - Creates a `.env` template for API keys
93
- - Runs a health check
87
+ ### `npx @adaptic/maestro create <name>`
94
88
 
95
- ### Step 2: Configure Your Agent
89
+ Scaffolds a new agent repository. This command:
96
90
 
97
- ```bash
98
- claude "/init-maestro"
99
- ```
91
+ 1. Creates the target directory
92
+ 2. Copies all framework files (scripts, agents, workflows, policies, plugins, docs)
93
+ 3. Copies scaffold templates (CLAUDE.md and config/agent.ts stubs)
94
+ 4. Copies `.claude/` directory (settings and commands)
95
+ 5. Creates 30+ agent-specific directories (config, knowledge, memory, state, logs, outputs)
96
+ 6. Generates a `package.json` with all required scripts and dependencies
97
+ 7. Copies `.env.example` and `.gitignore`
98
+ 8. Initializes a git repository
99
+ 9. Runs `npm install`
100
100
 
101
- This launches an interactive Claude Code session that rewrites the repository for your agent's identity. You will be asked for:
101
+ ### `npx @adaptic/maestro upgrade`
102
102
 
103
- | Field | Example |
104
- |-------------------------|----------------------------------------|
105
- | Agent name | "Jordan" |
106
- | Agent surname | "Blake" |
107
- | Agent role/title | "Chief of Staff" |
108
- | Directory name | "jordan-ai" |
109
- | Mac mini hostname | "jordan-mini" |
110
- | Key responsibilities | 2-5 bullet points |
111
- | Reporting line | "CEO" or specific person |
112
- | Communication style | Formal/casual, proactive/reactive |
103
+ Updates framework files in an existing agent repo. This command copies the latest versions of:
113
104
 
114
- The wizard updates `CLAUDE.md` (identity and principles), all script variables, launchd plist labels and paths, `package.json`, config files, trigger prompts, and agent definitions.
105
+ - `scripts/` -- poller, daemon, hooks, PDF generation, setup scripts
106
+ - `policies/` -- action classification, information barriers, prompt injection defence
107
+ - `docs/` -- architecture, governance, runbooks
108
+ - `public/assets/` -- brand assets
109
+ - `.claude/commands/` -- slash commands
110
+ - `plugins/maestro-skills/` -- operational skills
115
111
 
116
- See `docs/guides/agent-persona-setup.md` for the detailed persona configuration guide.
112
+ Agent-specific files (`config/`, `CLAUDE.md`, `knowledge/`, `memory/`, `state/`, `logs/`) are never touched.
117
113
 
118
- ### Step 3: Set Up Integrations
114
+ ### `npx @adaptic/maestro doctor`
119
115
 
120
- Copy `.env.example` to `.env` and fill in your API keys and tokens:
116
+ Verifies the agent installation. Checks for:
117
+
118
+ - Essential files: `config/agent.ts`, `CLAUDE.md`, `.claude/settings.json`, `package.json`, setup scripts
119
+ - Environment variables: `ANTHROPIC_API_KEY` (required), `SLACK_USER_TOKEN`, `GMAIL_APP_PASSWORD` (optional)
120
+ - `node_modules` installation
121
+ - Claude CLI availability
122
+
123
+ ---
124
+
125
+ ## Updating the Framework
121
126
 
122
127
  ```bash
123
- cp .env.example .env
128
+ npm update @adaptic/maestro # Get the latest version from npm
129
+ npm run upgrade # Copy updated framework files into your repo
130
+ git diff # Review what changed
131
+ git add -A && git commit -m "Upgrade maestro framework"
124
132
  ```
125
133
 
126
- At minimum, configure Slack and Gmail credentials. See the Required Services table below for the full list.
134
+ The `upgrade` command only updates framework infrastructure: scripts, policies, documentation, brand assets, commands, and plugins. It never modifies your agent's identity (`CLAUDE.md`, `config/agent.ts`), configuration (`config/*.yaml`), secrets (`.env`), or runtime data (`knowledge/`, `memory/`, `state/`, `logs/`, `outputs/`). Your agent's personality, relationships, and operational history remain intact.
127
135
 
128
- ### Verifying the Setup
136
+ ---
129
137
 
130
- ```bash
131
- # Check all launchd agents are loaded
132
- launchctl list | grep adaptic
138
+ ## The /init-maestro Wizard
133
139
 
134
- # Run health check
135
- npm run healthcheck
140
+ After scaffolding, run `claude "/init-maestro"` to configure your agent's identity. The wizard runs in five phases:
136
141
 
137
- # Check poller is writing logs
138
- tail -f logs/polling/$(date +%Y-%m-%d)-poller.jsonl
139
- ```
142
+ 1. **Identity gathering** -- Prompts for agent name, surname, title, archetype, email, phone, Mac mini hostname, principal (reporting line), responsibilities, communication style, and operating principles.
143
+
144
+ 2. **Parallel file rewriting** -- Rewrites `config/agent.ts` with structured identity data, generates `CLAUDE.md` with the full behavioural charter, updates `config/environment.yaml` with paths and schedule, and adapts `schedules/triggers/*.md` with the new identity.
145
+
146
+ 3. **macOS configuration** -- Updates launchd plist labels and paths, sets `package.json` name and description, and configures script variables.
147
+
148
+ 4. **Third-party services** -- Walks through Slack, Gmail, Calendar, and optional integrations, writing credentials to `.env`.
149
+
150
+ 5. **Verification** -- Runs a health check to confirm all components are correctly configured.
151
+
152
+ See [docs/guides/agent-persona-setup.md](docs/guides/agent-persona-setup.md) for the full persona configuration guide, including archetype defaults, Control Tower selection, contact classification, and manual fine-tuning.
140
153
 
141
154
  ---
142
155
 
143
156
  ## Required Services and API Keys
144
157
 
145
- | Service | Purpose | Required? | Signup URL | Tier / Pricing |
146
- |--------------------|----------------------------------|-------------|---------------------------------------------|-----------------------------------------|
147
- | Anthropic API | Primary reasoning engine (Claude)| Required | https://console.anthropic.com | Pay-per-token or Max subscription |
148
- | Slack | Team communication | Required | https://api.slack.com/apps | Free (workspace needed) |
149
- | Gmail | Email monitoring and sending | Required | https://myaccount.google.com/apppasswords | Google Workspace or free Gmail |
150
- | Google Calendar | Meeting and schedule awareness | Recommended | Via Google Workspace | Same account as Gmail |
151
- | Google Drive | Document sharing | Recommended | Via Google Workspace | Same account as Gmail |
152
- | OpenAI | Supplemental model access | Optional | https://platform.openai.com | Pay-per-token |
153
- | Google Gemini | Media generation (images, video) | Optional | https://aistudio.google.com | Free tier available |
154
- | Twilio | SMS, voice, and WhatsApp | Optional | https://www.twilio.com | Pay-as-you-go (~$1/mo + usage) |
155
- | Deepgram | Speech-to-text transcription | Optional | https://deepgram.com | Free tier (200 hrs/yr) |
156
- | ElevenLabs | Text-to-speech voice synthesis | Optional | https://elevenlabs.io | Free tier available |
157
- | Greptile | Codebase search and indexing | Optional | https://greptile.com | Free tier available |
158
-
159
- Additional services are available via MCP servers and can be configured separately. Supported integrations include Airtable, Linear, Figma, Notion, Jira, Calendly, and more. See your Claude Code MCP configuration for the full list.
158
+ | Service | Purpose | Required? | Signup URL | Tier / Pricing |
159
+ |------------------|------------------------------------|-------------|-------------------------------------------|-----------------------------------|
160
+ | Anthropic API | Primary reasoning engine (Claude) | Required | https://console.anthropic.com | Pay-per-token or Max subscription |
161
+ | Slack | Team communication | Required | https://api.slack.com/apps | Free (workspace needed) |
162
+ | Gmail | Email monitoring and sending | Required | https://myaccount.google.com/apppasswords | Google Workspace or free Gmail |
163
+ | Google Calendar | Meeting and schedule awareness | Recommended | Via Google Workspace | Same account as Gmail |
164
+ | Google Drive | Document sharing | Recommended | Via Google Workspace | Same account as Gmail |
165
+ | OpenAI | Supplemental model access | Optional | https://platform.openai.com | Pay-per-token |
166
+ | Google Gemini | Media generation (images, video) | Optional | https://aistudio.google.com | Free tier available |
167
+ | Twilio | SMS, voice, and WhatsApp | Optional | https://www.twilio.com | Pay-as-you-go (~$1/mo + usage) |
168
+ | Deepgram | Speech-to-text transcription | Optional | https://deepgram.com | Free tier (200 hrs/yr) |
169
+ | ElevenLabs | Text-to-speech voice synthesis | Optional | https://elevenlabs.io | Free tier available |
170
+ | Greptile | Codebase search and indexing | Optional | https://greptile.com | Free tier available |
171
+
172
+ Additional services are available via MCP servers and can be configured separately. Supported integrations include Airtable, Linear, Figma, Notion, Jira, Calendly, and more.
160
173
 
161
174
  ### Environment Variables
162
175
 
@@ -192,253 +205,132 @@ GEMINI_API_KEY=...
192
205
 
193
206
  ---
194
207
 
195
- ## Agent Configuration
196
-
197
- The central identity file is `config/agent.ts` (or the `CLAUDE.md` identity section, depending on your setup). This defines:
198
-
199
- - **Agent name, role, and title** -- who the agent is
200
- - **Operating principles** -- how the agent makes decisions
201
- - **Communication rules** -- voice modes, autonomy levels, escalation triggers
202
- - **Domain context** -- what the agent knows about the organisation
203
- - **Reporting line** -- who the agent escalates to
204
-
205
- Run `claude "/init-maestro"` for interactive setup, or see `docs/guides/agent-persona-setup.md` for manual configuration.
206
-
207
- ---
208
-
209
- ## Directory Structure
208
+ ## Architecture
210
209
 
211
210
  ```
212
- maestro/
213
- ├── README.md # This file
214
- ├── CLAUDE.md # Claude Code operating instructions (identity + behaviour)
215
- ├── .claude/
216
- ├── settings.json # Project-level Claude Code hooks and permissions
217
- └── commands/
218
- └── init-agent.md # /init-maestro command for identity setup
219
- ├── docs/
220
- ├── architecture/ # System and agent architecture
221
- ├── governance/ # Approval models, communications policy, safety
222
- ├── runbooks/ # Mac mini bootstrap, perpetual ops, recovery
223
- ├── workflows/ # Cadence documentation
224
- │ └── prompts/ # Output templates (briefs, memos, decisions)
225
- ├── agents/ # 30+ agent definitions with mandates and prompts
226
- ├── teams/ # Agent team compositions and responsibilities
227
- ├── workflows/
228
- ├── continuous/ # Always-on inbound monitoring loop
229
- ├── daily/ # Morning brief, evening wrap, comms triage
230
- │ ├── weekly/ # Strategic memo, pipeline review
231
- │ ├── monthly/ # Board readiness, risk refresh
232
- │ └── quarterly/ # Scenario analysis, board pack
233
- ├── schedules/
234
- │ └── triggers/ # Trigger prompts for launchd-scheduled sessions
235
- ├── scripts/
236
- │ ├── setup/
237
- │ │ └── init-agent.sh # One-line machine setup script
238
- │ ├── local-triggers/
239
- │ │ ├── run-trigger.sh # Trigger runner (invoked by launchd)
240
- │ │ ├── install-all.sh # Install launchd plists
241
- │ │ └── plists/ # macOS launchd plist templates
242
- │ ├── daemon/ # Main agent daemon
243
- │ ├── poller/ # Event polling (Slack, Gmail, Calendar)
244
- │ ├── hooks/ # Claude Code hook scripts
245
- │ ├── pdf-generation/ # Branded PDF generation (Pandoc + XeLaTeX)
246
- │ └── media-generation/ # AI illustration/video generation
247
- ├── knowledge/ # Sources, syntheses, memory, entities, decisions
248
- ├── config/ # Environment, priorities, contacts, repos, brand
249
- ├── policies/ # Action classification, approval rules
250
- ├── state/ # Queues, inbox, dashboards, polling cursors
251
- ├── outputs/ # Briefs, memos, drafts, research
252
- ├── memory/ # Interaction history, profiles, precedents
253
- └── logs/ # Operational logs (audit, polling, workflows)
211
+ ┌─────────────────────────────────────────────────────┐
212
+ │ Your Agent │
213
+ │ Executive Cortex (Tier 0)
214
+ ├──────────┬──────────┬──────────┬──────────┬─────────┤
215
+ Briefing Strategic│ Domain │ Comms │ Task │
216
+ │ Planning │ Ops │ Gov. │ Exec.
217
+ (Tier 1) (Tier 1) │ (Tier 1) │ (Tier 1) │(Tier 1)│
218
+ ├──────────┴──────────┴──────────┴──────────┴─────────┤
219
+ 20+ Specialist Agents (Tier 2) │
220
+ Research · Product · Engineering · Legal · Ops · │
221
+ Finance · Partnerships · Hiring · Market Intel · │
222
+ Board Prep · Compliance · Writing · ... │
223
+ ├─────────────────────────────────────────────────────┤
224
+ │ Desktop Operations (Tier 3) │
225
+ │ Slack · Gmail · WhatsApp · Browser · Calendar │
226
+ ├─────────────────────────────────────────────────────┤
227
+ Governance & Memory (Tier 4) │
228
+ Decision Log · Risk Register · Knowledge Base │
229
+ └─────────────────────────────────────────────────────┘
254
230
  ```
255
231
 
256
- ---
257
-
258
- ## Operating Modes
232
+ **Tier 0 -- Executive Cortex:** The agent's core identity and reasoning loop. Reads dashboards, processes inbound events, makes decisions, and orchestrates lower tiers.
259
233
 
260
- Maestro agents operate in three concurrent modes at all times.
234
+ **Tier 1 -- Domain Controllers:** Specialised reasoning modules for briefing, strategic planning, domain operations, communications governance, and task execution.
261
235
 
262
- ### Mode 1: Reactive -- Respond to Events
236
+ **Tier 2 -- Specialist Agents:** 20+ sub-agents that can be spawned in parallel for focused work -- research, document drafting, code review, legal analysis, hiring pipelines, and more.
263
237
 
264
- The nervous system. Always on, always listening.
238
+ **Tier 3 -- Desktop Operations:** Integrations with external services via MCP servers, APIs, and local tooling. Slack, Gmail, Google Calendar, WhatsApp, SMS, browser automation.
265
239
 
266
- - A lightweight poller checks Slack, Gmail, and Calendar for new events every 60 seconds
267
- - An inbox processor classifies and routes incoming items every 5 minutes
268
- - Priority events (CEO DMs, urgent tags, direct mentions) trigger immediate processing sessions
269
- - All inbound events land in `state/inbox/` as structured YAML before being routed to the appropriate queue
240
+ **Tier 4 -- Governance & Memory:** Persistent state layer. Decision logs, risk registers, knowledge bases, interaction history, queue management, and audit trails.
270
241
 
271
- ### Mode 2: Scheduled -- Run Cadence Workflows
242
+ ### Operating Modes
272
243
 
273
- The heartbeat. Ensures nothing falls through the cracks.
244
+ All Maestro agents operate in three concurrent modes:
274
245
 
275
- - **Daily:** Morning brief, midday sweep, evening wrap, communications triage
276
- - **Weekly:** Strategic memo, pipeline review, hiring review, engineering health check, execution review
277
- - **Monthly:** Board readiness, risk register refresh, financial integration
278
- - **Quarterly:** Self-assessment, scenario analysis, board pack generation
246
+ **Mode 1: Reactive** -- The nervous system. A lightweight poller checks Slack, Gmail, and Calendar every 60 seconds. An inbox processor classifies and routes incoming items every 5 minutes. Priority events trigger immediate processing.
279
247
 
280
- All scheduled workflows are defined in `workflows/` and triggered via macOS launchd agents.
248
+ **Mode 2: Scheduled** -- The heartbeat. Daily morning brief, midday sweep, evening wrap. Weekly strategic memo, pipeline review, execution review. Monthly board readiness, risk refresh. Quarterly self-assessment and board pack. All triggered via macOS launchd.
281
249
 
282
- ### Mode 3: Proactive -- Execute the Backlog
250
+ **Mode 3: Proactive** -- The engine. The backlog executor runs every 10 minutes, reads all queues, selects the top actionable items by priority, and spawns parallel agents to execute them. Items move continuously from `open` to `in_progress` to `resolved` to `closed`.
283
251
 
284
- The engine. This is where the real work gets done.
252
+ ---
285
253
 
286
- - The backlog executor runs every 10 minutes via launchd
287
- - It reads all operational queues, selects the top 3-5 actionable items by priority
288
- - It spawns parallel background agents to execute each item independently
289
- - Agents do the actual work: draft documents, chase people, research topics, build deliverables
290
- - Results are reviewed, queues are updated, and the next batch is picked up
291
- - Items continuously move from `open` to `in_progress` to `resolved` to `closed`
254
+ ## Auto-Publishing
292
255
 
293
- The goal is continuous forward motion. Items should not sit in queues -- they should be getting done.
256
+ Pushes to the `main` branch of the Maestro repository automatically publish to npm via GitHub Actions. Version bumps are handled automatically -- patch versions for fixes and minor changes, minor versions for new features. You do not need to manually publish or manage versions. When a new version is available, agent repos pick it up with `npm update @adaptic/maestro`.
294
257
 
295
258
  ---
296
259
 
297
- ## Communication Governance
298
-
299
- All Maestro agents follow a structured governance framework for outbound communications.
260
+ ## Agent Roster (Example)
300
261
 
301
- | Action Level | Policy |
302
- |----------------------------------|-----------------------------------------------------|
303
- | Observe | Always permitted |
304
- | Draft | Always permitted |
305
- | Recommend | Always permitted |
306
- | Send (internal, routine) | Pre-approved categories with full logging |
307
- | Send (external) | Requires explicit approval from the agent's manager |
308
- | Send (investor/regulator/board) | Requires approval + confirmation |
262
+ Maestro supports deploying any number of agents, each on its own Mac mini with a distinct role and domain focus:
309
263
 
310
- Additional safeguards:
264
+ | Agent | Role | Archetype | Repo |
265
+ |---------|-----------------------------|----------------------|--------------------|
266
+ | Sophie | Chief of Staff | executive-operator | adapticai/sophie-ai |
267
+ | Jacob | Chief AI Scientist | technical-leader | adapticai/jacob-ai |
268
+ | Isla | Head of Engineering | technical-leader | adapticai/isla-ai |
269
+ | Nadia | Head of Compliance | compliance-officer | adapticai/nadia-ai |
270
+ | Luca | Head of Product | product-leader | adapticai/luca-ai |
271
+ | Amara | Head of Investor Relations | commercial-leader | adapticai/amara-ai |
272
+ | Kai | Head of Fund Operations | operations-leader | adapticai/kai-ai |
273
+ | Rowan | Head of Quant Engineering | technical-leader | adapticai/rowan-ai |
311
274
 
312
- - **Pre-send audit hook** gates all outbound Slack and Gmail communications
313
- - **Rate limits** prevent runaway sending (configurable per channel)
314
- - **Duplicate detection** prevents the agent from replying to the same thread multiple times
315
- - **Information barriers** prevent confidential information from leaking across recipient boundaries
316
- - **Prompt injection defence** (5-layer) protects the agent from adversarial inbound messages
317
-
318
- Communication governance policies are defined in `policies/action-classification.yaml`.
275
+ Each agent gets its own identity, operating principles, communication style, contact graph, priority stack, and specialist sub-agents -- all configured through the `/init-maestro` wizard.
319
276
 
320
277
  ---
321
278
 
322
- ## Deploying Multiple Agents
323
-
324
- Maestro is designed to be forked for each AI agent in your organisation. Each agent runs on its own dedicated Mac mini with its own identity, domain focus, and operational context.
279
+ ## Tool Library (`lib/`)
325
280
 
326
- ### Example: Multi-Agent Deployment
281
+ Maestro provides a comprehensive library of 27+ reusable tools that agents can use during voice conversations, huddles, and autonomous operations. Tools are scoped by access level and executed via the Claude API `tool_use` protocol.
327
282
 
328
- | Agent | Role | Mac Mini | Repo |
329
- |---------|-----------------------------|---------------|-----------------|
330
- | Jordan | Chief of Staff | jordan-mini | jordan-ai |
331
- | Alex | Chief AI Scientist | alex-mini | alex-ai |
332
- | Morgan | Head of Quant Engineering | morgan-mini | morgan-ai |
333
- | Riley | Head of Engineering | riley-mini | riley-ai |
334
- | Sam | Head of Compliance | sam-mini | sam-ai |
335
- | Taylor | Head of Product | taylor-mini | taylor-ai |
336
- | Casey | Head of Investor Relations | casey-mini | casey-ai |
337
- | Robin | Head of Fund Operations | robin-mini | robin-ai |
283
+ ### Categories
338
284
 
339
- ### Setup: New Agent in 3 Steps
340
-
341
- **Step 1: Fork, clone, rename**
342
-
343
- ```bash
344
- git clone git@github.com:your-org/maestro.git ~/alex-ai
345
- cd ~/alex-ai
346
- ```
285
+ | Category | Tools | Description |
286
+ |----------|-------|-------------|
287
+ | **Communication** | `slack_send`, `draft_email`, `whatsapp_send`, `sms_send` | Send messages across all channels |
288
+ | **Search / RAG** | `search_email`, `search_calendar`, `search_files`, `search_meetings`, `search_slack`, `search_web`, `search_documents` | Real-time lookup via MCP-backed queries |
289
+ | **Knowledge** | `search_decisions`, `lookup_person`, `search_regulatory`, `search_strategy`, `search_precedents` | Institutional memory and governance |
290
+ | **Operations** | `queue_update`, `create_action_item`, `schedule_meeting`, `create_reminder` | Operational queue and calendar management |
291
+ | **Analysis** | `search_financial`, `search_pipeline`, `search_engineering`, `search_hiring`, `search_risk` | Cross-functional health and pipeline data |
292
+ | **Documents** | `generate_memo`, `generate_report` | Branded document generation |
347
293
 
348
- **Step 2: Run machine setup**
294
+ ### Usage
349
295
 
350
- ```bash
351
- npm run init-agent
352
- ```
296
+ ```js
297
+ import { getToolsForAccessLevel, executeAction } from "@adaptic/maestro";
353
298
 
354
- **Step 3: Configure the agent identity**
299
+ // Get tools for a Claude API call
300
+ const tools = getToolsForAccessLevel("ceo"); // 27 tools
301
+ const tools = getToolsForAccessLevel("leadership"); // 19 tools (no WhatsApp/SMS/memo)
302
+ const tools = getToolsForAccessLevel("default"); // 17 tools (search/lookup only)
355
303
 
356
- ```bash
357
- claude "/init-maestro"
304
+ // Execute a tool call from Claude's response
305
+ const result = await executeAction("search_email", { query: "DFSA update" }, callerInfo, sessionId);
358
306
  ```
359
307
 
360
- The `/init-maestro` wizard handles the full identity transformation:
308
+ ### RAG Architecture
361
309
 
362
- | What changes | Example |
363
- |--------------------------------------|--------------------------------------------------|
364
- | `CLAUDE.md` identity and principles | "Alex Park, Chief AI Scientist..." |
365
- | Variable names in scripts | `AGENT_DIR` updated to new paths |
366
- | Launchd plist labels | `ai.adaptic.agent-*` labels updated |
367
- | `package.json` name and description | `"alex-ai"`, `"Autonomous AI scientist for..."` |
368
- | `config/` files | Priorities, contacts, environment paths |
369
- | `schedules/triggers/` | Trigger prompts reference the new identity |
370
- | `agents/` definitions | Domain-specific agents adapted for the role |
310
+ Lookup tools use `claude --print --model haiku` under the hood, which leverages the agent's Max subscription and all configured MCP servers (Gmail, Calendar, Slack, filesystem, Granola, etc.). This means every agent automatically gets search capabilities across all connected services without additional API costs.
371
311
 
372
- ### What Stays the Same
312
+ ### Agent-Specific Tools
373
313
 
374
- The following infrastructure is shared across all agents and does not need per-agent changes:
375
-
376
- - **Poller architecture** (`scripts/poller/`) -- Slack, Gmail, Calendar polling
377
- - **Trigger runner** (`scripts/local-triggers/run-trigger.sh`) -- launchd-to-Claude bridge
378
- - **Hook scripts** -- Pre/post tool hooks, session lifecycle
379
- - **Brand assets** (`public/assets/`) -- Organisation-wide branding
380
- - **PDF generation** (`scripts/pdf-generation/`) -- document templates
381
- - **Governance framework** (`policies/`, `docs/governance/`) -- same rules, different agent
382
-
383
- ---
314
+ During `/init-maestro`, Sub-agent 8 generates role-specific tools based on the agent's archetype and responsibilities. These extend the base set — e.g., a compliance officer gets `licence_gap_check` and `regulatory_submission_status`, while an engineering leader gets `code_review_trigger` and `deployment_status`.
384
315
 
385
- ## Commands Reference
316
+ ## Global vs Agent-Specific Features
386
317
 
387
- ### Machine Setup
318
+ When building new capabilities, decide where they belong:
388
319
 
389
- | Command | Purpose |
390
- |---------------------------------|----------------------------------------------------|
391
- | `npm run init-agent` | Full machine setup (deps, dirs, launchd, env) |
392
- | `claude "/init-maestro"` | Interactive agent identity wizard |
320
+ | Push to `~/maestro` (global) | Keep agent-local |
321
+ |-----|-----|
322
+ | Role-agnostic tools any agent could use | Identity-specific configurations |
323
+ | Communication primitives | Domain tools only this role needs |
324
+ | Search/RAG capabilities | Custom MCP integrations for one agent |
325
+ | Operational patterns | Hardcoded contacts, channels, API keys |
326
+ | Infrastructure (audio, CDP, polling) | Agent-specific prompts and style |
327
+ | Document generation templates | Workflow overrides |
328
+ | Claude Code skills/plugins for dev experience | |
329
+ | Governance patterns | |
393
330
 
394
- ### Daemon Management
331
+ **Decision rule:** Would another agent at Adaptic ever need this? **YES** → `~/maestro`. **NO** → agent repo only.
395
332
 
396
- | Command | Purpose |
397
- |---------------------------------|----------------------------------------------------|
398
- | `npm run daemon` | Run the main agent daemon (foreground) |
399
- | `npm run daemon:start` | Start daemon via launchd (background) |
400
- | `npm run daemon:stop` | Stop the launchd daemon |
401
- | `npm run daemon:status` | Check daemon status and recent logs |
402
-
403
- ### Operations
404
-
405
- | Command | Purpose |
406
- |---------------------------------|----------------------------------------------------|
407
- | `npm run healthcheck` | Run system health check |
408
- | `npm run emergency-stop` | Halt all autonomous operations immediately |
409
- | `npm run resume` | Resume operations after emergency stop |
410
-
411
- ### Slack Events
412
-
413
- | Command | Purpose |
414
- |---------------------------------|----------------------------------------------------|
415
- | `npm run slack:events:start` | Start the Slack events server |
416
- | `npm run slack:events:stop` | Stop the Slack events server |
417
- | `npm run slack:events:status` | Check Slack events server status |
418
-
419
- ### PDF Generation
420
-
421
- | Command | Purpose |
422
- |---------------------------------|----------------------------------------------------|
423
- | `npm run pdf:memo -- --input <file>` | Generate internal memo PDF |
424
- | `npm run pdf:board-pack -- --input <file>` | Generate board pack with cover and TOC |
425
- | `npm run pdf:letter -- --input <file>` | Generate corporate correspondence PDF |
426
- | `npm run pdf:investor -- --input <file>` | Generate investor communication PDF |
427
-
428
- ### Media Generation
429
-
430
- | Command | Purpose |
431
- |---------------------------------|----------------------------------------------------|
432
- | `npm run gen:illustration -- <slug>` | Generate a single illustration via Gemini |
433
- | `npm run gen:video -- <slug>` | Generate a single video via Veo |
434
- | `npm run gen:all-missing` | Batch generate all missing illustrations |
435
- | `npm run gen:list` | List available prompt specs |
436
-
437
- ### Testing
438
-
439
- | Command | Purpose |
440
- |---------------------------------|----------------------------------------------------|
441
- | `npm run test:daemon` | Run daemon unit and integration tests |
333
+ After pushing to maestro: bump version → commit → push. Agent repos update via `npm update @adaptic/maestro`.
442
334
 
443
335
  ---
444
336
 
@@ -447,45 +339,29 @@ The following infrastructure is shared across all agents and does not need per-a
447
339
  - **Secrets management** -- All credentials via environment variables, never committed to the repository
448
340
  - **Full audit trail** -- Every action, communication, and decision is logged to `logs/`
449
341
  - **Approval policies** -- Outbound communications require appropriate approval levels based on risk classification
450
- - **Emergency stop** -- A single command halts all autonomous operations immediately
342
+ - **Emergency stop** -- `npm run emergency-stop` halts all autonomous operations immediately
451
343
  - **Default-deny** -- Unclassified actions are blocked; only explicitly permitted actions proceed
452
344
  - **Rate limiting** -- Configurable limits on all communication channels (default: 3,000 sends/hour, 20,000/day)
453
345
  - **Prompt injection defence** -- 5-layer defence system: identity lock, sender privilege model, message classification, content isolation, anomaly detection
454
346
  - **Information barriers** -- Dynamic disclosure assessment prevents confidential information from crossing recipient boundaries
455
347
  - **Session logging** -- Every agent session is logged with start time, actions taken, and outcomes
348
+ - **Communication governance** -- Pre-send audit hook gates all outbound Slack and Gmail; duplicate detection prevents replying to the same thread multiple times
456
349
 
457
350
  Security policies are defined in `policies/` and `docs/governance/`.
458
351
 
459
352
  ---
460
353
 
461
- ## Troubleshooting
462
-
463
- | Symptom | Cause | Fix |
464
- |-----------------------------------------------|----------------------------------------------|--------------------------------------------------------|
465
- | `cb.apply is not a function` on every hook | Legacy standalone `npx` package installed | `npm uninstall -g npx` |
466
- | `MODULE_NOT_FOUND` in poller logs | Launchd plists point to wrong directory | Re-run `npm run init-agent` |
467
- | Hook errors on every tool call | Hook package not correctly installed | Check `~/.claude/settings.json` uses correct package |
468
- | Launchd agent exit code 78 | Missing directories or config files | Run `npm run init-agent` to recreate |
469
- | Poller rate limited | Too many Slack API calls | Increase `StartInterval` in the poller plist |
470
- | Agent not responding to Slack messages | Bot token missing or incorrect | Verify `SLACK_BOT_TOKEN` in `.env` |
471
- | Gmail polling returns no results | OAuth tokens expired | Refresh Gmail credentials and update `.env` |
472
- | Daemon exits immediately on start | Missing `ANTHROPIC_API_KEY` | Ensure the key is set in `.env` or shell environment |
473
- | PDF generation fails | Pandoc or MacTeX not installed | `brew install pandoc && brew install --cask mactex-no-gui` |
474
- | Launchd agents not visible | Plists not loaded | Run `scripts/local-triggers/install-all.sh` |
475
- | Memory/state files corrupted | Concurrent write conflict | Check session locks; restart daemon |
476
-
477
- ---
478
-
479
- ## Key Documents
354
+ ## Key Documentation
480
355
 
481
- - [System Architecture](docs/architecture/system-architecture.md)
482
- - [Agent Topology](docs/architecture/agent-topology.md)
483
- - [Action Approval Model](docs/governance/action-approval-model.md)
484
- - [Communications Policy](docs/governance/communications-policy.md)
485
- - [Mac Mini Bootstrap](docs/runbooks/mac-mini-bootstrap.md)
486
- - [Perpetual Operations](docs/runbooks/perpetual-operations.md)
487
- - [Recovery and Failover](docs/runbooks/recovery-and-failover.md)
356
+ - [Agent Persona Setup Guide](docs/guides/agent-persona-setup.md) -- Detailed guide for configuring identity, operating charter, and behavioural policies
357
+ - [System Architecture](docs/architecture/system-architecture.md) -- Full system design and component overview
358
+ - [Agent Topology](docs/architecture/agent-topology.md) -- Sub-agent hierarchy and delegation model
359
+ - [Action Approval Model](docs/governance/action-approval-model.md) -- Communication governance and approval levels
360
+ - [Communications Policy](docs/governance/communications-policy.md) -- Voice modes, autonomy model, escalation rules
361
+ - [Mac Mini Bootstrap](docs/runbooks/mac-mini-bootstrap.md) -- Hardware setup and initial configuration
362
+ - [Perpetual Operations](docs/runbooks/perpetual-operations.md) -- Keeping the agent running 24/7
363
+ - [Recovery and Failover](docs/runbooks/recovery-and-failover.md) -- Disaster recovery procedures
488
364
 
489
365
  ---
490
366
 
491
- Built with Maestro. Designed for autonomous AI workforces.
367
+ Built by [Adaptic.ai](https://adaptic.ai)