@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.
- package/.claude/commands/init-maestro.md +292 -29
- package/.gitignore +29 -0
- package/README.md +220 -344
- package/bin/maestro.mjs +462 -7
- package/lib/action-executor.js +225 -0
- package/lib/index.js +16 -0
- package/lib/singleton.js +116 -0
- package/lib/tool-definitions.js +510 -0
- package/package.json +12 -2
- package/scaffold/CLAUDE.md +207 -0
- package/scripts/daemon/maestro-daemon.mjs +37 -0
- package/scripts/local-triggers/generate-plists.sh +235 -0
- package/scripts/local-triggers/install-all.sh +18 -12
- package/scripts/setup/init-agent.sh +58 -27
- package/scripts/slack-events-server.mjs +10 -0
- package/scripts/huddle/node_modules/.package-lock.json +0 -50
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/CHANGELOG.md +0 -1677
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/LICENSE +0 -8
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/README.md +0 -674
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +0 -226
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +0 -223
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/cli +0 -53
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/migration-config.json +0 -7
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts +0 -225
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts +0 -225
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js +0 -536
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs +0 -531
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +0 -49
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +0 -49
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js +0 -76
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +0 -72
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts +0 -47
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts +0 -47
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js +0 -114
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs +0 -98
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +0 -63
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +0 -63
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js +0 -123
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs +0 -117
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js +0 -11
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs +0 -7
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +0 -31
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +0 -31
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js +0 -282
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs +0 -277
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts +0 -7
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts +0 -7
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js +0 -35
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs +0 -8
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +0 -73
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +0 -73
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +0 -5
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +0 -5
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js +0 -15
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs +0 -12
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +0 -10
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +0 -10
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +0 -39
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +0 -35
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +0 -17
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +0 -17
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +0 -113
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +0 -108
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +0 -15
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +0 -15
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +0 -162
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +0 -157
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js +0 -41
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs +0 -36
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +0 -22
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +0 -22
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js +0 -79
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs +0 -74
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +0 -17
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +0 -17
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js +0 -55
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs +0 -51
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +0 -34
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +0 -34
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js +0 -14
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +0 -10
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +0 -28
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +0 -28
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +0 -20
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +0 -20
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js +0 -92
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs +0 -85
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +0 -8
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +0 -8
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +0 -38
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +0 -35
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +0 -45
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +0 -45
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js +0 -96
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +0 -93
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.js +0 -81
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +0 -17
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts +0 -67
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts +0 -67
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +0 -42
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +0 -42
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js +0 -146
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +0 -136
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +0 -38
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +0 -33
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +0 -31
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +0 -26
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +0 -9
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +0 -9
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js +0 -22
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +0 -18
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +0 -37
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +0 -37
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js +0 -86
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +0 -80
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +0 -15
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +0 -15
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js +0 -58
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +0 -53
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +0 -7
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +0 -5
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +0 -5
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +0 -19
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +0 -15
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +0 -16
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +0 -16
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js +0 -109
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +0 -92
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +0 -7
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +0 -7
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js +0 -11
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs +0 -8
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +0 -114
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +0 -114
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +0 -553
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +0 -549
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +0 -114
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +0 -114
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +0 -553
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +0 -549
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/package.json +0 -185
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +0 -61
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +0 -61
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +0 -25
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +0 -20
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +0 -151
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +0 -151
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js +0 -122
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +0 -118
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +0 -5
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +0 -5
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js +0 -13
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +0 -343
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +0 -343
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +0 -204
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +0 -200
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +0 -9
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +0 -1561
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +0 -1561
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +0 -86
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +0 -81
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +0 -74
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +0 -74
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js +0 -60
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +0 -56
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +0 -183
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +0 -183
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js +0 -23
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs +0 -19
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js +0 -15
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs +0 -7
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +0 -304
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +0 -304
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +0 -153
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +0 -149
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js +0 -9
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +0 -1264
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +0 -1264
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +0 -72
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +0 -67
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts +0 -59
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts +0 -59
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js +0 -45
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs +0 -41
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +0 -42
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +0 -42
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js +0 -5
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +0 -264
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/api-promise.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/client.ts +0 -1070
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/README.md +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +0 -101
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/error.ts +0 -133
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +0 -201
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/resource.ts +0 -11
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +0 -331
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/error.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/index.ts +0 -23
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/README.md +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +0 -93
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +0 -12
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +0 -48
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +0 -135
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +0 -196
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +0 -33
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +0 -99
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +0 -84
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +0 -39
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shim-types.d.ts +0 -28
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +0 -107
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +0 -32
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +0 -159
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/types.ts +0 -92
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +0 -193
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +0 -40
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +0 -32
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +0 -18
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +0 -127
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +0 -65
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +0 -17
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +0 -102
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +0 -8
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/.keep +0 -4
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +0 -683
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +0 -684
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/pagination.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resource.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +0 -380
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +0 -258
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +0 -148
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +0 -502
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +0 -135
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +0 -2249
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +0 -118
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +0 -231
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/index.ts +0 -121
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +0 -396
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +0 -110
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +0 -1783
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/models.ts +0 -103
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +0 -72
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +0 -3
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources.ts +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/streaming.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/tsconfig.json +0 -11
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/uploads.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/version.ts +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js +0 -6
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js +0 -5
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js.map +0 -1
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs +0 -2
- package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs.map +0 -1
- package/scripts/huddle/node_modules/dotenv/CHANGELOG.md +0 -520
- package/scripts/huddle/node_modules/dotenv/LICENSE +0 -23
- package/scripts/huddle/node_modules/dotenv/README-es.md +0 -411
- package/scripts/huddle/node_modules/dotenv/README.md +0 -645
- package/scripts/huddle/node_modules/dotenv/SECURITY.md +0 -1
- package/scripts/huddle/node_modules/dotenv/config.d.ts +0 -1
- package/scripts/huddle/node_modules/dotenv/config.js +0 -9
- package/scripts/huddle/node_modules/dotenv/lib/cli-options.js +0 -17
- package/scripts/huddle/node_modules/dotenv/lib/env-options.js +0 -28
- package/scripts/huddle/node_modules/dotenv/lib/main.d.ts +0 -162
- package/scripts/huddle/node_modules/dotenv/lib/main.js +0 -386
- package/scripts/huddle/node_modules/dotenv/package.json +0 -62
- package/scripts/huddle/node_modules/ws/LICENSE +0 -20
- package/scripts/huddle/node_modules/ws/README.md +0 -548
- package/scripts/huddle/node_modules/ws/browser.js +0 -8
- package/scripts/huddle/node_modules/ws/index.js +0 -22
- package/scripts/huddle/node_modules/ws/lib/buffer-util.js +0 -131
- package/scripts/huddle/node_modules/ws/lib/constants.js +0 -19
- package/scripts/huddle/node_modules/ws/lib/event-target.js +0 -292
- package/scripts/huddle/node_modules/ws/lib/extension.js +0 -203
- package/scripts/huddle/node_modules/ws/lib/limiter.js +0 -55
- package/scripts/huddle/node_modules/ws/lib/permessage-deflate.js +0 -528
- package/scripts/huddle/node_modules/ws/lib/receiver.js +0 -706
- package/scripts/huddle/node_modules/ws/lib/sender.js +0 -602
- package/scripts/huddle/node_modules/ws/lib/stream.js +0 -161
- package/scripts/huddle/node_modules/ws/lib/subprotocol.js +0 -62
- package/scripts/huddle/node_modules/ws/lib/validation.js +0 -152
- package/scripts/huddle/node_modules/ws/lib/websocket-server.js +0 -554
- package/scripts/huddle/node_modules/ws/lib/websocket.js +0 -1393
- package/scripts/huddle/node_modules/ws/package.json +0 -70
- package/scripts/huddle/node_modules/ws/wrapper.mjs +0 -21
- package/scripts/local-triggers/plists/ai.adaptic.slack-events-server.plist +0 -45
package/README.md
CHANGED
|
@@ -1,162 +1,175 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @adaptic/maestro
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@adaptic/maestro)
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
31
|
+
### Prerequisites
|
|
58
32
|
|
|
59
|
-
|
|
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
|
-
|
|
41
|
+
---
|
|
62
42
|
|
|
63
|
-
|
|
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
|
-
##
|
|
65
|
+
## What Lives in the Agent Repo (Not in the Package)
|
|
68
66
|
|
|
69
|
-
|
|
67
|
+
These files are specific to your agent and are never overwritten by framework upgrades:
|
|
70
68
|
|
|
71
|
-
|
|
|
72
|
-
|
|
73
|
-
|
|
|
74
|
-
|
|
|
75
|
-
|
|
|
76
|
-
|
|
|
77
|
-
|
|
|
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
|
-
|
|
83
|
+
---
|
|
80
84
|
|
|
81
|
-
|
|
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
|
-
|
|
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
|
-
|
|
89
|
+
Scaffolds a new agent repository. This command:
|
|
96
90
|
|
|
97
|
-
|
|
98
|
-
|
|
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
|
-
|
|
101
|
+
### `npx @adaptic/maestro upgrade`
|
|
102
102
|
|
|
103
|
-
|
|
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
|
-
|
|
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
|
-
|
|
112
|
+
Agent-specific files (`config/`, `CLAUDE.md`, `knowledge/`, `memory/`, `state/`, `logs/`) are never touched.
|
|
117
113
|
|
|
118
|
-
###
|
|
114
|
+
### `npx @adaptic/maestro doctor`
|
|
119
115
|
|
|
120
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
136
|
+
---
|
|
129
137
|
|
|
130
|
-
|
|
131
|
-
# Check all launchd agents are loaded
|
|
132
|
-
launchctl list | grep adaptic
|
|
138
|
+
## The /init-maestro Wizard
|
|
133
139
|
|
|
134
|
-
|
|
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
|
-
|
|
138
|
-
|
|
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
|
|
146
|
-
|
|
147
|
-
| Anthropic API
|
|
148
|
-
| Slack
|
|
149
|
-
| Gmail
|
|
150
|
-
| Google Calendar
|
|
151
|
-
| Google Drive
|
|
152
|
-
| OpenAI
|
|
153
|
-
| Google Gemini
|
|
154
|
-
| Twilio
|
|
155
|
-
| Deepgram
|
|
156
|
-
| ElevenLabs
|
|
157
|
-
| Greptile
|
|
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.
|
|
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
|
-
##
|
|
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
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
│
|
|
217
|
-
│
|
|
218
|
-
│
|
|
219
|
-
|
|
220
|
-
│
|
|
221
|
-
│
|
|
222
|
-
│
|
|
223
|
-
│
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
│
|
|
229
|
-
│
|
|
230
|
-
|
|
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
|
-
|
|
234
|
+
**Tier 1 -- Domain Controllers:** Specialised reasoning modules for briefing, strategic planning, domain operations, communications governance, and task execution.
|
|
261
235
|
|
|
262
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
###
|
|
242
|
+
### Operating Modes
|
|
272
243
|
|
|
273
|
-
|
|
244
|
+
All Maestro agents operate in three concurrent modes:
|
|
274
245
|
|
|
275
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
252
|
+
---
|
|
285
253
|
|
|
286
|
-
-
|
|
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
|
-
|
|
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
|
-
##
|
|
298
|
-
|
|
299
|
-
All Maestro agents follow a structured governance framework for outbound communications.
|
|
260
|
+
## Agent Roster (Example)
|
|
300
261
|
|
|
301
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
340
|
-
|
|
341
|
-
**
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
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
|
-
|
|
294
|
+
### Usage
|
|
349
295
|
|
|
350
|
-
```
|
|
351
|
-
|
|
352
|
-
```
|
|
296
|
+
```js
|
|
297
|
+
import { getToolsForAccessLevel, executeAction } from "@adaptic/maestro";
|
|
353
298
|
|
|
354
|
-
|
|
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
|
-
|
|
357
|
-
|
|
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
|
-
|
|
308
|
+
### RAG Architecture
|
|
361
309
|
|
|
362
|
-
|
|
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
|
-
###
|
|
312
|
+
### Agent-Specific Tools
|
|
373
313
|
|
|
374
|
-
|
|
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
|
-
##
|
|
316
|
+
## Global vs Agent-Specific Features
|
|
386
317
|
|
|
387
|
-
|
|
318
|
+
When building new capabilities, decide where they belong:
|
|
388
319
|
|
|
389
|
-
|
|
|
390
|
-
|
|
391
|
-
|
|
|
392
|
-
|
|
|
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
|
-
|
|
331
|
+
**Decision rule:** Would another agent at Adaptic ever need this? **YES** → `~/maestro`. **NO** → agent repo only.
|
|
395
332
|
|
|
396
|
-
|
|
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** --
|
|
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
|
-
##
|
|
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
|
-
- [
|
|
482
|
-
- [
|
|
483
|
-
- [
|
|
484
|
-
- [
|
|
485
|
-
- [
|
|
486
|
-
- [
|
|
487
|
-
- [
|
|
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
|
|
367
|
+
Built by [Adaptic.ai](https://adaptic.ai)
|