@useconductor/conductor 1.0.0
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-plugin/marketplace.json +33 -0
- package/.claude-plugin/plugin.json +23 -0
- package/.eslintrc.json +23 -0
- package/.gitattributes +6 -0
- package/.github/FUNDING.yml +15 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +91 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +63 -0
- package/.github/ISSUE_TEMPLATE/plugin_request.yml +71 -0
- package/.github/README.md +13 -0
- package/.github/workflows/README.md +22 -0
- package/.github/workflows/auto-release.yml +112 -0
- package/.github/workflows/ci.yml +49 -0
- package/.github/workflows/claude-code-review.yml +44 -0
- package/.github/workflows/claude.yml +36 -0
- package/.github/workflows/sync-install.yml +47 -0
- package/.mcp.json +9 -0
- package/.prettierrc.json +7 -0
- package/C.png +0 -0
- package/CHANGELOG.md +74 -0
- package/CLAUDE.md +118 -0
- package/CONTRIBUTING.md +231 -0
- package/LICENSE +201 -0
- package/README.md +179 -0
- package/SECURITY.md +47 -0
- package/commands/conductor-setup.md +11 -0
- package/commands/conductor-status.md +7 -0
- package/dist/ai/base.d.ts +44 -0
- package/dist/ai/base.d.ts.map +1 -0
- package/dist/ai/base.js +47 -0
- package/dist/ai/base.js.map +1 -0
- package/dist/ai/claude.d.ts +11 -0
- package/dist/ai/claude.d.ts.map +1 -0
- package/dist/ai/claude.js +149 -0
- package/dist/ai/claude.js.map +1 -0
- package/dist/ai/gemini.d.ts +15 -0
- package/dist/ai/gemini.d.ts.map +1 -0
- package/dist/ai/gemini.js +156 -0
- package/dist/ai/gemini.js.map +1 -0
- package/dist/ai/maestro.d.ts +22 -0
- package/dist/ai/maestro.d.ts.map +1 -0
- package/dist/ai/maestro.js +142 -0
- package/dist/ai/maestro.js.map +1 -0
- package/dist/ai/manager.d.ts +47 -0
- package/dist/ai/manager.d.ts.map +1 -0
- package/dist/ai/manager.js +450 -0
- package/dist/ai/manager.js.map +1 -0
- package/dist/ai/ollama.d.ts +16 -0
- package/dist/ai/ollama.d.ts.map +1 -0
- package/dist/ai/ollama.js +151 -0
- package/dist/ai/ollama.js.map +1 -0
- package/dist/ai/openai.d.ts +11 -0
- package/dist/ai/openai.d.ts.map +1 -0
- package/dist/ai/openai.js +132 -0
- package/dist/ai/openai.js.map +1 -0
- package/dist/ai/openrouter.d.ts +11 -0
- package/dist/ai/openrouter.d.ts.map +1 -0
- package/dist/ai/openrouter.js +139 -0
- package/dist/ai/openrouter.js.map +1 -0
- package/dist/bot/slack.d.ts +17 -0
- package/dist/bot/slack.d.ts.map +1 -0
- package/dist/bot/slack.js +144 -0
- package/dist/bot/slack.js.map +1 -0
- package/dist/bot/telegram.d.ts +19 -0
- package/dist/bot/telegram.d.ts.map +1 -0
- package/dist/bot/telegram.js +157 -0
- package/dist/bot/telegram.js.map +1 -0
- package/dist/cli/commands/ai.d.ts +4 -0
- package/dist/cli/commands/ai.d.ts.map +1 -0
- package/dist/cli/commands/ai.js +161 -0
- package/dist/cli/commands/ai.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +18 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +213 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/init.d.ts +15 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +281 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/install.d.ts +16 -0
- package/dist/cli/commands/install.d.ts.map +1 -0
- package/dist/cli/commands/install.js +750 -0
- package/dist/cli/commands/install.js.map +1 -0
- package/dist/cli/commands/lifecycle.d.ts +4 -0
- package/dist/cli/commands/lifecycle.d.ts.map +1 -0
- package/dist/cli/commands/lifecycle.js +84 -0
- package/dist/cli/commands/lifecycle.js.map +1 -0
- package/dist/cli/commands/marketplace.d.ts +13 -0
- package/dist/cli/commands/marketplace.d.ts.map +1 -0
- package/dist/cli/commands/marketplace.js +197 -0
- package/dist/cli/commands/marketplace.js.map +1 -0
- package/dist/cli/commands/mcp.d.ts +6 -0
- package/dist/cli/commands/mcp.d.ts.map +1 -0
- package/dist/cli/commands/mcp.js +83 -0
- package/dist/cli/commands/mcp.js.map +1 -0
- package/dist/cli/commands/onboard.d.ts +10 -0
- package/dist/cli/commands/onboard.d.ts.map +1 -0
- package/dist/cli/commands/onboard.js +207 -0
- package/dist/cli/commands/onboard.js.map +1 -0
- package/dist/cli/commands/plugin-create.d.ts +13 -0
- package/dist/cli/commands/plugin-create.d.ts.map +1 -0
- package/dist/cli/commands/plugin-create.js +122 -0
- package/dist/cli/commands/plugin-create.js.map +1 -0
- package/dist/cli/commands/plugins.d.ts +5 -0
- package/dist/cli/commands/plugins.d.ts.map +1 -0
- package/dist/cli/commands/plugins.js +30 -0
- package/dist/cli/commands/plugins.js.map +1 -0
- package/dist/cli/commands/release.d.ts +13 -0
- package/dist/cli/commands/release.d.ts.map +1 -0
- package/dist/cli/commands/release.js +243 -0
- package/dist/cli/commands/release.js.map +1 -0
- package/dist/cli/commands/telegram.d.ts +3 -0
- package/dist/cli/commands/telegram.d.ts.map +1 -0
- package/dist/cli/commands/telegram.js +20 -0
- package/dist/cli/commands/telegram.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +402 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/config/oauth.d.ts +8 -0
- package/dist/config/oauth.d.ts.map +1 -0
- package/dist/config/oauth.js +13 -0
- package/dist/config/oauth.js.map +1 -0
- package/dist/core/audit.d.ts +91 -0
- package/dist/core/audit.d.ts.map +1 -0
- package/dist/core/audit.js +233 -0
- package/dist/core/audit.js.map +1 -0
- package/dist/core/circuit-breaker.d.ts +56 -0
- package/dist/core/circuit-breaker.d.ts.map +1 -0
- package/dist/core/circuit-breaker.js +107 -0
- package/dist/core/circuit-breaker.js.map +1 -0
- package/dist/core/conductor.d.ts +44 -0
- package/dist/core/conductor.d.ts.map +1 -0
- package/dist/core/conductor.js +200 -0
- package/dist/core/conductor.js.map +1 -0
- package/dist/core/config.d.ts +66 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +86 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/database.d.ts +59 -0
- package/dist/core/database.d.ts.map +1 -0
- package/dist/core/database.js +342 -0
- package/dist/core/database.js.map +1 -0
- package/dist/core/errors.d.ts +231 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +254 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/health.d.ts +72 -0
- package/dist/core/health.d.ts.map +1 -0
- package/dist/core/health.js +116 -0
- package/dist/core/health.js.map +1 -0
- package/dist/core/interfaces.d.ts +62 -0
- package/dist/core/interfaces.d.ts.map +1 -0
- package/dist/core/interfaces.js +8 -0
- package/dist/core/interfaces.js.map +1 -0
- package/dist/core/logger.d.ts +15 -0
- package/dist/core/logger.d.ts.map +1 -0
- package/dist/core/logger.js +30 -0
- package/dist/core/logger.js.map +1 -0
- package/dist/core/rbac.d.ts +132 -0
- package/dist/core/rbac.d.ts.map +1 -0
- package/dist/core/rbac.js +230 -0
- package/dist/core/rbac.js.map +1 -0
- package/dist/core/retry.d.ts +22 -0
- package/dist/core/retry.d.ts.map +1 -0
- package/dist/core/retry.js +41 -0
- package/dist/core/retry.js.map +1 -0
- package/dist/core/webhooks.d.ts +92 -0
- package/dist/core/webhooks.d.ts.map +1 -0
- package/dist/core/webhooks.js +176 -0
- package/dist/core/webhooks.js.map +1 -0
- package/dist/core/zero-config.d.ts +22 -0
- package/dist/core/zero-config.d.ts.map +1 -0
- package/dist/core/zero-config.js +59 -0
- package/dist/core/zero-config.js.map +1 -0
- package/dist/dashboard/cli.d.ts +6 -0
- package/dist/dashboard/cli.d.ts.map +1 -0
- package/dist/dashboard/cli.js +42 -0
- package/dist/dashboard/cli.js.map +1 -0
- package/dist/dashboard/index.html +3426 -0
- package/dist/dashboard/server.d.ts +7 -0
- package/dist/dashboard/server.d.ts.map +1 -0
- package/dist/dashboard/server.js +1427 -0
- package/dist/dashboard/server.js.map +1 -0
- package/dist/mcp/server.d.ts +27 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +380 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools/misc.d.ts +15 -0
- package/dist/mcp/tools/misc.d.ts.map +1 -0
- package/dist/mcp/tools/misc.js +49 -0
- package/dist/mcp/tools/misc.js.map +1 -0
- package/dist/plugins/builtin/calculator.d.ts +11 -0
- package/dist/plugins/builtin/calculator.d.ts.map +1 -0
- package/dist/plugins/builtin/calculator.js +166 -0
- package/dist/plugins/builtin/calculator.js.map +1 -0
- package/dist/plugins/builtin/colors.d.ts +15 -0
- package/dist/plugins/builtin/colors.d.ts.map +1 -0
- package/dist/plugins/builtin/colors.js +193 -0
- package/dist/plugins/builtin/colors.js.map +1 -0
- package/dist/plugins/builtin/cron.d.ts +40 -0
- package/dist/plugins/builtin/cron.d.ts.map +1 -0
- package/dist/plugins/builtin/cron.js +578 -0
- package/dist/plugins/builtin/cron.js.map +1 -0
- package/dist/plugins/builtin/crypto.d.ts +11 -0
- package/dist/plugins/builtin/crypto.d.ts.map +1 -0
- package/dist/plugins/builtin/crypto.js +83 -0
- package/dist/plugins/builtin/crypto.js.map +1 -0
- package/dist/plugins/builtin/database.d.ts +29 -0
- package/dist/plugins/builtin/database.d.ts.map +1 -0
- package/dist/plugins/builtin/database.js +230 -0
- package/dist/plugins/builtin/database.js.map +1 -0
- package/dist/plugins/builtin/docker.d.ts +12 -0
- package/dist/plugins/builtin/docker.d.ts.map +1 -0
- package/dist/plugins/builtin/docker.js +436 -0
- package/dist/plugins/builtin/docker.js.map +1 -0
- package/dist/plugins/builtin/fun.d.ts +11 -0
- package/dist/plugins/builtin/fun.d.ts.map +1 -0
- package/dist/plugins/builtin/fun.js +114 -0
- package/dist/plugins/builtin/fun.js.map +1 -0
- package/dist/plugins/builtin/gcal.d.ts +38 -0
- package/dist/plugins/builtin/gcal.d.ts.map +1 -0
- package/dist/plugins/builtin/gcal.js +280 -0
- package/dist/plugins/builtin/gcal.js.map +1 -0
- package/dist/plugins/builtin/gdrive.d.ts +26 -0
- package/dist/plugins/builtin/gdrive.d.ts.map +1 -0
- package/dist/plugins/builtin/gdrive.js +295 -0
- package/dist/plugins/builtin/gdrive.js.map +1 -0
- package/dist/plugins/builtin/github-actions.d.ts +38 -0
- package/dist/plugins/builtin/github-actions.d.ts.map +1 -0
- package/dist/plugins/builtin/github-actions.js +629 -0
- package/dist/plugins/builtin/github-actions.js.map +1 -0
- package/dist/plugins/builtin/github.d.ts +26 -0
- package/dist/plugins/builtin/github.d.ts.map +1 -0
- package/dist/plugins/builtin/github.js +800 -0
- package/dist/plugins/builtin/github.js.map +1 -0
- package/dist/plugins/builtin/gmail.d.ts +50 -0
- package/dist/plugins/builtin/gmail.d.ts.map +1 -0
- package/dist/plugins/builtin/gmail.js +445 -0
- package/dist/plugins/builtin/gmail.js.map +1 -0
- package/dist/plugins/builtin/hash.d.ts +11 -0
- package/dist/plugins/builtin/hash.d.ts.map +1 -0
- package/dist/plugins/builtin/hash.js +95 -0
- package/dist/plugins/builtin/hash.js.map +1 -0
- package/dist/plugins/builtin/homekit.d.ts +53 -0
- package/dist/plugins/builtin/homekit.d.ts.map +1 -0
- package/dist/plugins/builtin/homekit.js +341 -0
- package/dist/plugins/builtin/homekit.js.map +1 -0
- package/dist/plugins/builtin/index.d.ts +4 -0
- package/dist/plugins/builtin/index.d.ts.map +1 -0
- package/dist/plugins/builtin/index.js +96 -0
- package/dist/plugins/builtin/index.js.map +1 -0
- package/dist/plugins/builtin/jira.d.ts +50 -0
- package/dist/plugins/builtin/jira.d.ts.map +1 -0
- package/dist/plugins/builtin/jira.js +353 -0
- package/dist/plugins/builtin/jira.js.map +1 -0
- package/dist/plugins/builtin/linear.d.ts +35 -0
- package/dist/plugins/builtin/linear.d.ts.map +1 -0
- package/dist/plugins/builtin/linear.js +397 -0
- package/dist/plugins/builtin/linear.js.map +1 -0
- package/dist/plugins/builtin/lumen.d.ts +21 -0
- package/dist/plugins/builtin/lumen.d.ts.map +1 -0
- package/dist/plugins/builtin/lumen.js +404 -0
- package/dist/plugins/builtin/lumen.js.map +1 -0
- package/dist/plugins/builtin/memory.d.ts +22 -0
- package/dist/plugins/builtin/memory.d.ts.map +1 -0
- package/dist/plugins/builtin/memory.js +184 -0
- package/dist/plugins/builtin/memory.js.map +1 -0
- package/dist/plugins/builtin/n8n.d.ts +60 -0
- package/dist/plugins/builtin/n8n.d.ts.map +1 -0
- package/dist/plugins/builtin/n8n.js +519 -0
- package/dist/plugins/builtin/n8n.js.map +1 -0
- package/dist/plugins/builtin/network.d.ts +11 -0
- package/dist/plugins/builtin/network.d.ts.map +1 -0
- package/dist/plugins/builtin/network.js +88 -0
- package/dist/plugins/builtin/network.js.map +1 -0
- package/dist/plugins/builtin/notes.d.ts +47 -0
- package/dist/plugins/builtin/notes.d.ts.map +1 -0
- package/dist/plugins/builtin/notes.js +641 -0
- package/dist/plugins/builtin/notes.js.map +1 -0
- package/dist/plugins/builtin/notion.d.ts +47 -0
- package/dist/plugins/builtin/notion.d.ts.map +1 -0
- package/dist/plugins/builtin/notion.js +317 -0
- package/dist/plugins/builtin/notion.js.map +1 -0
- package/dist/plugins/builtin/shell.d.ts +12 -0
- package/dist/plugins/builtin/shell.d.ts.map +1 -0
- package/dist/plugins/builtin/shell.js +310 -0
- package/dist/plugins/builtin/shell.js.map +1 -0
- package/dist/plugins/builtin/slack.d.ts +31 -0
- package/dist/plugins/builtin/slack.d.ts.map +1 -0
- package/dist/plugins/builtin/slack.js +295 -0
- package/dist/plugins/builtin/slack.js.map +1 -0
- package/dist/plugins/builtin/spotify.d.ts +55 -0
- package/dist/plugins/builtin/spotify.d.ts.map +1 -0
- package/dist/plugins/builtin/spotify.js +623 -0
- package/dist/plugins/builtin/spotify.js.map +1 -0
- package/dist/plugins/builtin/stripe.d.ts +35 -0
- package/dist/plugins/builtin/stripe.d.ts.map +1 -0
- package/dist/plugins/builtin/stripe.js +376 -0
- package/dist/plugins/builtin/stripe.js.map +1 -0
- package/dist/plugins/builtin/system.d.ts +11 -0
- package/dist/plugins/builtin/system.d.ts.map +1 -0
- package/dist/plugins/builtin/system.js +91 -0
- package/dist/plugins/builtin/system.js.map +1 -0
- package/dist/plugins/builtin/text-tools.d.ts +11 -0
- package/dist/plugins/builtin/text-tools.d.ts.map +1 -0
- package/dist/plugins/builtin/text-tools.js +146 -0
- package/dist/plugins/builtin/text-tools.js.map +1 -0
- package/dist/plugins/builtin/timezone.d.ts +13 -0
- package/dist/plugins/builtin/timezone.d.ts.map +1 -0
- package/dist/plugins/builtin/timezone.js +164 -0
- package/dist/plugins/builtin/timezone.js.map +1 -0
- package/dist/plugins/builtin/todoist.d.ts +49 -0
- package/dist/plugins/builtin/todoist.d.ts.map +1 -0
- package/dist/plugins/builtin/todoist.js +540 -0
- package/dist/plugins/builtin/todoist.js.map +1 -0
- package/dist/plugins/builtin/translate.d.ts +11 -0
- package/dist/plugins/builtin/translate.d.ts.map +1 -0
- package/dist/plugins/builtin/translate.js +42 -0
- package/dist/plugins/builtin/translate.js.map +1 -0
- package/dist/plugins/builtin/url-tools.d.ts +11 -0
- package/dist/plugins/builtin/url-tools.d.ts.map +1 -0
- package/dist/plugins/builtin/url-tools.js +70 -0
- package/dist/plugins/builtin/url-tools.js.map +1 -0
- package/dist/plugins/builtin/vercel.d.ts +55 -0
- package/dist/plugins/builtin/vercel.d.ts.map +1 -0
- package/dist/plugins/builtin/vercel.js +514 -0
- package/dist/plugins/builtin/vercel.js.map +1 -0
- package/dist/plugins/builtin/weather.d.ts +13 -0
- package/dist/plugins/builtin/weather.d.ts.map +1 -0
- package/dist/plugins/builtin/weather.js +103 -0
- package/dist/plugins/builtin/weather.js.map +1 -0
- package/dist/plugins/builtin/x.d.ts +54 -0
- package/dist/plugins/builtin/x.d.ts.map +1 -0
- package/dist/plugins/builtin/x.js +402 -0
- package/dist/plugins/builtin/x.js.map +1 -0
- package/dist/plugins/manager.d.ts +77 -0
- package/dist/plugins/manager.d.ts.map +1 -0
- package/dist/plugins/manager.js +141 -0
- package/dist/plugins/manager.js.map +1 -0
- package/dist/plugins/validation.d.ts +18 -0
- package/dist/plugins/validation.d.ts.map +1 -0
- package/dist/plugins/validation.js +81 -0
- package/dist/plugins/validation.js.map +1 -0
- package/dist/security/auth.d.ts +23 -0
- package/dist/security/auth.d.ts.map +1 -0
- package/dist/security/auth.js +56 -0
- package/dist/security/auth.js.map +1 -0
- package/dist/security/keychain.d.ts +60 -0
- package/dist/security/keychain.d.ts.map +1 -0
- package/dist/security/keychain.js +213 -0
- package/dist/security/keychain.js.map +1 -0
- package/dist/utils/google-auth.d.ts +21 -0
- package/dist/utils/google-auth.d.ts.map +1 -0
- package/dist/utils/google-auth.js +135 -0
- package/dist/utils/google-auth.js.map +1 -0
- package/dist/utils/retry.d.ts +5 -0
- package/dist/utils/retry.d.ts.map +1 -0
- package/dist/utils/retry.js +34 -0
- package/dist/utils/retry.js.map +1 -0
- package/docs/README.md +13 -0
- package/docs/api.md +210 -0
- package/docs/getting-started.md +100 -0
- package/docs/plugins.md +306 -0
- package/docs-site/.vitepress/config.ts +59 -0
- package/docs-site/README.md +12 -0
- package/docs-site/index.md +30 -0
- package/eslint.config.js +29 -0
- package/install.ps1 +334 -0
- package/install.sh +1119 -0
- package/local-install.sh +304 -0
- package/package.json +90 -0
- package/packages/README.md +11 -0
- package/packages/plugin-sdk/README.md +12 -0
- package/packages/plugin-sdk/package.json +22 -0
- package/packages/plugin-sdk/src/README.md +11 -0
- package/packages/plugin-sdk/src/index.ts +191 -0
- package/sdks/README.md +26 -0
- package/sdks/csharp/ConductorClient.cs +65 -0
- package/sdks/csharp/README.md +11 -0
- package/sdks/go/README.md +11 -0
- package/sdks/go/conductor.go +257 -0
- package/sdks/java/ConductorClient.java +27 -0
- package/sdks/java/README.md +11 -0
- package/sdks/php/README.md +11 -0
- package/sdks/php/src/Client.php +72 -0
- package/sdks/python/README.md +12 -0
- package/sdks/python/conductor/__init__.py +227 -0
- package/sdks/python/pyproject.toml +30 -0
- package/sdks/ruby/README.md +11 -0
- package/sdks/ruby/lib/conductor.rb +46 -0
- package/sdks/rust/Cargo.toml +14 -0
- package/sdks/rust/README.md +11 -0
- package/sdks/swift/README.md +11 -0
- package/sdks/swift/Sources/Conductor/ConductorClient.swift +65 -0
- package/skills/conductor-mcp/SKILL.md +38 -0
- package/src/README.md +20 -0
- package/src/ai/README.md +18 -0
- package/src/ai/base.ts +93 -0
- package/src/ai/claude.ts +162 -0
- package/src/ai/gemini.ts +188 -0
- package/src/ai/maestro.ts +168 -0
- package/src/ai/manager.ts +537 -0
- package/src/ai/ollama.ts +186 -0
- package/src/ai/openai.ts +147 -0
- package/src/ai/openrouter.ts +152 -0
- package/src/bot/README.md +12 -0
- package/src/bot/slack.ts +164 -0
- package/src/bot/telegram.ts +185 -0
- package/src/cli/README.md +24 -0
- package/src/cli/commands/README.md +20 -0
- package/src/cli/commands/ai.ts +170 -0
- package/src/cli/commands/doctor.ts +221 -0
- package/src/cli/commands/init.ts +348 -0
- package/src/cli/commands/install.ts +792 -0
- package/src/cli/commands/lifecycle.ts +95 -0
- package/src/cli/commands/marketplace.ts +253 -0
- package/src/cli/commands/mcp.ts +92 -0
- package/src/cli/commands/onboard.ts +248 -0
- package/src/cli/commands/plugin-create.ts +130 -0
- package/src/cli/commands/plugins.ts +36 -0
- package/src/cli/commands/release.ts +251 -0
- package/src/cli/commands/telegram.ts +25 -0
- package/src/cli/index.ts +450 -0
- package/src/config/README.md +11 -0
- package/src/config/oauth.ts +26 -0
- package/src/core/README.md +22 -0
- package/src/core/audit.ts +291 -0
- package/src/core/circuit-breaker.ts +129 -0
- package/src/core/conductor.ts +240 -0
- package/src/core/config.ts +149 -0
- package/src/core/database.ts +411 -0
- package/src/core/errors.ts +275 -0
- package/src/core/health.ts +159 -0
- package/src/core/interfaces.ts +75 -0
- package/src/core/logger.ts +33 -0
- package/src/core/rbac.ts +321 -0
- package/src/core/retry.ts +61 -0
- package/src/core/webhooks.ts +234 -0
- package/src/core/zero-config.ts +72 -0
- package/src/dashboard/README.md +15 -0
- package/src/dashboard/cli.ts +48 -0
- package/src/dashboard/index.html +3426 -0
- package/src/dashboard/server.ts +1544 -0
- package/src/mcp/README.md +20 -0
- package/src/mcp/server.ts +475 -0
- package/src/mcp/tools/README.md +11 -0
- package/src/mcp/tools/misc.ts +61 -0
- package/src/plugins/README.md +28 -0
- package/src/plugins/builtin/README.md +23 -0
- package/src/plugins/builtin/calculator.ts +178 -0
- package/src/plugins/builtin/colors.ts +201 -0
- package/src/plugins/builtin/cron.ts +649 -0
- package/src/plugins/builtin/crypto.ts +85 -0
- package/src/plugins/builtin/database.ts +235 -0
- package/src/plugins/builtin/docker.ts +426 -0
- package/src/plugins/builtin/fun.ts +118 -0
- package/src/plugins/builtin/gcal.ts +305 -0
- package/src/plugins/builtin/gdrive.ts +326 -0
- package/src/plugins/builtin/github-actions.ts +666 -0
- package/src/plugins/builtin/github.ts +912 -0
- package/src/plugins/builtin/gmail.ts +492 -0
- package/src/plugins/builtin/hash.ts +98 -0
- package/src/plugins/builtin/homekit.ts +389 -0
- package/src/plugins/builtin/index.ts +116 -0
- package/src/plugins/builtin/jira.ts +380 -0
- package/src/plugins/builtin/linear.ts +448 -0
- package/src/plugins/builtin/lumen.ts +497 -0
- package/src/plugins/builtin/memory.ts +200 -0
- package/src/plugins/builtin/n8n.ts +565 -0
- package/src/plugins/builtin/network.ts +92 -0
- package/src/plugins/builtin/notes.ts +689 -0
- package/src/plugins/builtin/notion.ts +348 -0
- package/src/plugins/builtin/shell.ts +334 -0
- package/src/plugins/builtin/slack.ts +327 -0
- package/src/plugins/builtin/spotify.ts +665 -0
- package/src/plugins/builtin/stripe.ts +388 -0
- package/src/plugins/builtin/system.ts +93 -0
- package/src/plugins/builtin/text-tools.ts +150 -0
- package/src/plugins/builtin/timezone.ts +173 -0
- package/src/plugins/builtin/todoist.ts +625 -0
- package/src/plugins/builtin/translate.ts +47 -0
- package/src/plugins/builtin/url-tools.ts +73 -0
- package/src/plugins/builtin/vercel.ts +546 -0
- package/src/plugins/builtin/weather.ts +112 -0
- package/src/plugins/builtin/x.ts +440 -0
- package/src/plugins/manager.ts +213 -0
- package/src/plugins/validation.ts +94 -0
- package/src/security/README.md +12 -0
- package/src/security/auth.ts +72 -0
- package/src/security/keychain.ts +226 -0
- package/src/utils/README.md +12 -0
- package/src/utils/google-auth.ts +159 -0
- package/src/utils/retry.ts +41 -0
- package/test-all.mjs +1256 -0
- package/test.mjs +633 -0
- package/tests/README.md +19 -0
- package/tests/calculator.test.ts +54 -0
- package/tests/docker.test.ts +42 -0
- package/tests/load.test.ts +129 -0
- package/tests/mcp.test.ts +14 -0
- package/tests/shell.test.ts +42 -0
- package/tsconfig.json +21 -0
- package/vitest.config.ts +14 -0
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HomeKit Plugin — TheAlxLabs / Conductor
|
|
3
|
+
*
|
|
4
|
+
* Control HomeKit smart home devices via the Homebridge UI REST API
|
|
5
|
+
* (homebridge-config-ui-x). Requires Homebridge with the UI plugin installed.
|
|
6
|
+
*
|
|
7
|
+
* Setup:
|
|
8
|
+
* 1. Install Homebridge: https://homebridge.io
|
|
9
|
+
* (homebridge-config-ui-x is included by default with most install methods)
|
|
10
|
+
* 2. Run: conductor plugins config homekit base_url http://homebridge.local:8581
|
|
11
|
+
* 3. Run: conductor plugins config homekit username admin
|
|
12
|
+
* 4. Run: conductor plugins config homekit password <YOUR_PASSWORD>
|
|
13
|
+
*
|
|
14
|
+
* Keychain entries: homekit/base_url, homekit/username, homekit/password
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { Plugin, PluginTool } from '../manager.js';
|
|
18
|
+
import { Conductor } from '../../core/conductor.js';
|
|
19
|
+
import { Keychain } from '../../security/keychain.js';
|
|
20
|
+
|
|
21
|
+
export class HomeKitPlugin implements Plugin {
|
|
22
|
+
name = 'homekit';
|
|
23
|
+
description = 'Control HomeKit smart home devices via Homebridge — list, get, and control accessories';
|
|
24
|
+
version = '1.0.0';
|
|
25
|
+
|
|
26
|
+
configSchema = {
|
|
27
|
+
fields: [
|
|
28
|
+
{
|
|
29
|
+
key: 'base_url',
|
|
30
|
+
label: 'Homebridge URL',
|
|
31
|
+
type: 'string' as const,
|
|
32
|
+
required: true,
|
|
33
|
+
secret: false,
|
|
34
|
+
description: 'e.g. http://homebridge.local:8581 or http://192.168.1.100:8581',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
key: 'username',
|
|
38
|
+
label: 'Homebridge Username',
|
|
39
|
+
type: 'string' as const,
|
|
40
|
+
required: true,
|
|
41
|
+
secret: false,
|
|
42
|
+
description: 'Your Homebridge UI login username (default: admin)',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
key: 'password',
|
|
46
|
+
label: 'Homebridge Password',
|
|
47
|
+
type: 'password' as const,
|
|
48
|
+
required: true,
|
|
49
|
+
secret: true,
|
|
50
|
+
service: 'homekit',
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
setupInstructions:
|
|
54
|
+
'Install Homebridge (https://homebridge.io) on your local network. ' +
|
|
55
|
+
'The homebridge-config-ui-x plugin must be installed (it is by default with most install methods). ' +
|
|
56
|
+
'Find your Homebridge URL by opening the Homebridge UI in a browser (usually http://homebridge.local:8581 ' +
|
|
57
|
+
'or http://<your-pi-ip>:8581).',
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
private keychain!: Keychain;
|
|
61
|
+
private cachedToken: string | null = null;
|
|
62
|
+
private tokenExpiry: number = 0;
|
|
63
|
+
|
|
64
|
+
async initialize(conductor: Conductor): Promise<void> {
|
|
65
|
+
this.keychain = new Keychain(conductor.getConfig().getConfigDir());
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
isConfigured(): boolean {
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
private async getCredentials(): Promise<{ baseUrl: string; username: string; password: string }> {
|
|
73
|
+
const rawUrl = await this.keychain.get('homekit', 'base_url');
|
|
74
|
+
const username = await this.keychain.get('homekit', 'username');
|
|
75
|
+
const password = await this.keychain.get('homekit', 'password');
|
|
76
|
+
|
|
77
|
+
if (!rawUrl) {
|
|
78
|
+
throw new Error(
|
|
79
|
+
'Homebridge URL not configured.\n' +
|
|
80
|
+
'Run: conductor plugins config homekit base_url http://homebridge.local:8581',
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
if (!username) {
|
|
84
|
+
throw new Error('Homebridge username not configured.\n' + 'Run: conductor plugins config homekit username admin');
|
|
85
|
+
}
|
|
86
|
+
if (!password) {
|
|
87
|
+
throw new Error(
|
|
88
|
+
'Homebridge password not configured.\n' + 'Run: conductor plugins config homekit password <YOUR_PASSWORD>',
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return { baseUrl: rawUrl.replace(/\/$/, ''), username, password };
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
private async getToken(): Promise<string> {
|
|
96
|
+
if (this.cachedToken && Date.now() < this.tokenExpiry - 5 * 60 * 1000) {
|
|
97
|
+
return this.cachedToken;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
const { baseUrl, username, password } = await this.getCredentials();
|
|
101
|
+
|
|
102
|
+
const res = await fetch(`${baseUrl}/api/auth/sign-in`, {
|
|
103
|
+
method: 'POST',
|
|
104
|
+
headers: { 'Content-Type': 'application/json' },
|
|
105
|
+
body: JSON.stringify({ username, password }),
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
if (!res.ok) {
|
|
109
|
+
const text = await res.text().catch(() => res.statusText);
|
|
110
|
+
throw new Error(`Homebridge auth failed (${res.status}): ${text}`);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const data = (await res.json()) as any;
|
|
114
|
+
if (!data.access_token) {
|
|
115
|
+
throw new Error('Homebridge did not return an access token. Check credentials.');
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
this.cachedToken = data.access_token;
|
|
119
|
+
this.tokenExpiry = Date.now() + (data.expires_in ?? 28_800) * 1000;
|
|
120
|
+
return this.cachedToken!;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
private async homebridgeFetch(path: string, options: { method?: string; body?: any } = {}): Promise<any> {
|
|
124
|
+
const { baseUrl } = await this.getCredentials();
|
|
125
|
+
const token = await this.getToken();
|
|
126
|
+
|
|
127
|
+
const res = await fetch(`${baseUrl}${path}`, {
|
|
128
|
+
method: options.method ?? 'GET',
|
|
129
|
+
headers: {
|
|
130
|
+
Authorization: `Bearer ${token}`,
|
|
131
|
+
'Content-Type': 'application/json',
|
|
132
|
+
Accept: 'application/json',
|
|
133
|
+
},
|
|
134
|
+
body: options.body ? JSON.stringify(options.body) : undefined,
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
if (res.status === 204) return {};
|
|
138
|
+
|
|
139
|
+
if (res.status === 401) {
|
|
140
|
+
this.cachedToken = null;
|
|
141
|
+
throw new Error('Homebridge session expired. Please retry the request.');
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (!res.ok) {
|
|
145
|
+
const err = (await res.json().catch(() => ({ message: res.statusText }))) as any;
|
|
146
|
+
throw new Error(`Homebridge API ${res.status}: ${err.message ?? res.statusText}`);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return res.json();
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
private formatAccessory(acc: any) {
|
|
153
|
+
return {
|
|
154
|
+
uniqueId: acc.uniqueId,
|
|
155
|
+
name: acc.serviceName ?? acc.displayName ?? 'Unknown',
|
|
156
|
+
type: acc.humanType ?? acc.type ?? 'Unknown',
|
|
157
|
+
room: acc.roomName ?? null,
|
|
158
|
+
values: acc.values ?? {},
|
|
159
|
+
on: acc.values?.On ?? null,
|
|
160
|
+
reachable: acc.reachable ?? true,
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
getTools(): PluginTool[] {
|
|
165
|
+
return [
|
|
166
|
+
// ── homekit_status ────────────────────────────────────────────────────
|
|
167
|
+
{
|
|
168
|
+
name: 'homekit_status',
|
|
169
|
+
description: 'Check Homebridge connection status, version, and a summary of all accessories',
|
|
170
|
+
inputSchema: { type: 'object', properties: {} },
|
|
171
|
+
handler: async () => {
|
|
172
|
+
const [accessoriesResult, serverResult] = await Promise.allSettled([
|
|
173
|
+
this.homebridgeFetch('/api/accessories'),
|
|
174
|
+
this.homebridgeFetch('/api/server/version'),
|
|
175
|
+
]);
|
|
176
|
+
|
|
177
|
+
const accessories = accessoriesResult.status === 'fulfilled' ? (accessoriesResult.value as any[]) : [];
|
|
178
|
+
const server = serverResult.status === 'fulfilled' ? (serverResult.value as any) : {};
|
|
179
|
+
|
|
180
|
+
const byType: Record<string, number> = {};
|
|
181
|
+
for (const acc of accessories) {
|
|
182
|
+
const type = acc.humanType ?? 'Unknown';
|
|
183
|
+
byType[type] = (byType[type] ?? 0) + 1;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const { baseUrl } = await this.getCredentials();
|
|
187
|
+
|
|
188
|
+
return {
|
|
189
|
+
connected: accessoriesResult.status === 'fulfilled',
|
|
190
|
+
homebridgeUrl: baseUrl,
|
|
191
|
+
homebridgeVersion: server.homebridgeVersion ?? server.currentVersion ?? 'unknown',
|
|
192
|
+
nodeVersion: server.nodeVersion ?? 'unknown',
|
|
193
|
+
totalAccessories: accessories.length,
|
|
194
|
+
byType,
|
|
195
|
+
};
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
|
|
199
|
+
// ── homekit_accessories ───────────────────────────────────────────────
|
|
200
|
+
{
|
|
201
|
+
name: 'homekit_accessories',
|
|
202
|
+
description: 'List all HomeKit accessories with their current state',
|
|
203
|
+
inputSchema: {
|
|
204
|
+
type: 'object',
|
|
205
|
+
properties: {
|
|
206
|
+
type: {
|
|
207
|
+
type: 'string',
|
|
208
|
+
description: 'Filter by accessory type (e.g. "Lightbulb", "Switch", "Thermostat", "Lock", "Fan")',
|
|
209
|
+
},
|
|
210
|
+
room: {
|
|
211
|
+
type: 'string',
|
|
212
|
+
description: 'Filter by room name (partial match, case-insensitive)',
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
handler: async ({ type, room }: any) => {
|
|
217
|
+
const accessories = (await this.homebridgeFetch('/api/accessories')) as any[];
|
|
218
|
+
let filtered = accessories;
|
|
219
|
+
|
|
220
|
+
if (type) {
|
|
221
|
+
const q = type.toLowerCase();
|
|
222
|
+
filtered = filtered.filter((a: any) => (a.humanType ?? a.type ?? '').toLowerCase().includes(q));
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (room) {
|
|
226
|
+
const q = room.toLowerCase();
|
|
227
|
+
filtered = filtered.filter((a: any) => (a.roomName ?? '').toLowerCase().includes(q));
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
return {
|
|
231
|
+
count: filtered.length,
|
|
232
|
+
accessories: filtered.map(this.formatAccessory.bind(this)),
|
|
233
|
+
};
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
// ── homekit_get_accessory ─────────────────────────────────────────────
|
|
238
|
+
{
|
|
239
|
+
name: 'homekit_get_accessory',
|
|
240
|
+
description: 'Get the current state and all characteristics of a specific HomeKit accessory',
|
|
241
|
+
inputSchema: {
|
|
242
|
+
type: 'object',
|
|
243
|
+
properties: {
|
|
244
|
+
uniqueId: {
|
|
245
|
+
type: 'string',
|
|
246
|
+
description: 'Accessory uniqueId (from homekit_accessories)',
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
required: ['uniqueId'],
|
|
250
|
+
},
|
|
251
|
+
handler: async ({ uniqueId }: any) => {
|
|
252
|
+
const acc = await this.homebridgeFetch(`/api/accessories/${encodeURIComponent(uniqueId)}`);
|
|
253
|
+
return {
|
|
254
|
+
...this.formatAccessory(acc),
|
|
255
|
+
serviceCharacteristics: (acc.serviceCharacteristics ?? []).map((c: any) => ({
|
|
256
|
+
type: c.type,
|
|
257
|
+
description: c.description,
|
|
258
|
+
value: c.value,
|
|
259
|
+
format: c.format,
|
|
260
|
+
unit: c.unit ?? null,
|
|
261
|
+
minValue: c.minValue ?? null,
|
|
262
|
+
maxValue: c.maxValue ?? null,
|
|
263
|
+
canRead: c.canRead ?? true,
|
|
264
|
+
canWrite: c.canWrite ?? false,
|
|
265
|
+
})),
|
|
266
|
+
};
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
|
|
270
|
+
// ── homekit_set ───────────────────────────────────────────────────────
|
|
271
|
+
{
|
|
272
|
+
name: 'homekit_set',
|
|
273
|
+
description:
|
|
274
|
+
'Set a characteristic on a HomeKit accessory. ' +
|
|
275
|
+
'Common examples: On (true/false), Brightness (0-100), ' +
|
|
276
|
+
'TargetTemperature (degrees), Hue (0-360), Saturation (0-100), ' +
|
|
277
|
+
'LockTargetState (0=unsecured, 1=secured).',
|
|
278
|
+
inputSchema: {
|
|
279
|
+
type: 'object',
|
|
280
|
+
properties: {
|
|
281
|
+
uniqueId: {
|
|
282
|
+
type: 'string',
|
|
283
|
+
description: 'Accessory uniqueId (from homekit_accessories)',
|
|
284
|
+
},
|
|
285
|
+
characteristicType: {
|
|
286
|
+
type: 'string',
|
|
287
|
+
description: 'The characteristic to set (e.g. "On", "Brightness", "TargetTemperature", "Hue")',
|
|
288
|
+
},
|
|
289
|
+
value: {
|
|
290
|
+
description: 'The value to set (boolean, number, or string)',
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
required: ['uniqueId', 'characteristicType', 'value'],
|
|
294
|
+
},
|
|
295
|
+
requiresApproval: true,
|
|
296
|
+
handler: async ({ uniqueId, characteristicType, value }: any) => {
|
|
297
|
+
await this.homebridgeFetch(`/api/accessories/${encodeURIComponent(uniqueId)}`, {
|
|
298
|
+
method: 'PUT',
|
|
299
|
+
body: { characteristicType, value },
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
const updated = await this.homebridgeFetch(`/api/accessories/${encodeURIComponent(uniqueId)}`);
|
|
303
|
+
|
|
304
|
+
return {
|
|
305
|
+
success: true,
|
|
306
|
+
set: { characteristicType, value },
|
|
307
|
+
accessory: this.formatAccessory(updated),
|
|
308
|
+
};
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
|
|
312
|
+
// ── homekit_toggle ────────────────────────────────────────────────────
|
|
313
|
+
{
|
|
314
|
+
name: 'homekit_toggle',
|
|
315
|
+
description:
|
|
316
|
+
'Toggle a HomeKit accessory on or off by name. ' +
|
|
317
|
+
'Finds the accessory by partial name match and flips (or sets) its On state.',
|
|
318
|
+
inputSchema: {
|
|
319
|
+
type: 'object',
|
|
320
|
+
properties: {
|
|
321
|
+
name: {
|
|
322
|
+
type: 'string',
|
|
323
|
+
description: 'Accessory name (partial match, case-insensitive)',
|
|
324
|
+
},
|
|
325
|
+
on: {
|
|
326
|
+
type: 'boolean',
|
|
327
|
+
description: 'Force on (true) or off (false). If omitted, toggles the current state.',
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
required: ['name'],
|
|
331
|
+
},
|
|
332
|
+
requiresApproval: true,
|
|
333
|
+
handler: async ({ name, on }: any) => {
|
|
334
|
+
const accessories = (await this.homebridgeFetch('/api/accessories')) as any[];
|
|
335
|
+
const q = name.toLowerCase();
|
|
336
|
+
const acc = accessories.find((a: any) => (a.serviceName ?? a.displayName ?? '').toLowerCase().includes(q));
|
|
337
|
+
|
|
338
|
+
if (!acc) {
|
|
339
|
+
const available = accessories
|
|
340
|
+
.map((a: any) => a.serviceName ?? a.displayName)
|
|
341
|
+
.filter(Boolean)
|
|
342
|
+
.join(', ');
|
|
343
|
+
return {
|
|
344
|
+
error: `No accessory found matching "${name}".`,
|
|
345
|
+
available,
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
const currentOn = acc.values?.On ?? false;
|
|
350
|
+
const targetOn = on !== undefined ? on : !currentOn;
|
|
351
|
+
|
|
352
|
+
await this.homebridgeFetch(`/api/accessories/${encodeURIComponent(acc.uniqueId)}`, {
|
|
353
|
+
method: 'PUT',
|
|
354
|
+
body: { characteristicType: 'On', value: targetOn },
|
|
355
|
+
});
|
|
356
|
+
|
|
357
|
+
return {
|
|
358
|
+
success: true,
|
|
359
|
+
accessory: acc.serviceName ?? acc.displayName,
|
|
360
|
+
uniqueId: acc.uniqueId,
|
|
361
|
+
previousState: currentOn,
|
|
362
|
+
on: targetOn,
|
|
363
|
+
};
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
|
|
367
|
+
// ── homekit_rooms ─────────────────────────────────────────────────────
|
|
368
|
+
{
|
|
369
|
+
name: 'homekit_rooms',
|
|
370
|
+
description: 'Get the room layout from Homebridge — shows which accessories are in which rooms',
|
|
371
|
+
inputSchema: { type: 'object', properties: {} },
|
|
372
|
+
handler: async () => {
|
|
373
|
+
const layout = (await this.homebridgeFetch('/api/accessories/layout')) as any[];
|
|
374
|
+
return {
|
|
375
|
+
count: layout.length,
|
|
376
|
+
rooms: layout.map((room: any) => ({
|
|
377
|
+
name: room.name ?? 'Default Room',
|
|
378
|
+
accessories: (room.services ?? []).map((s: any) => ({
|
|
379
|
+
uniqueId: s.uniqueId,
|
|
380
|
+
name: s.customName ?? s.serviceName ?? s.displayName,
|
|
381
|
+
type: s.humanType ?? s.type,
|
|
382
|
+
})),
|
|
383
|
+
})),
|
|
384
|
+
};
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
];
|
|
388
|
+
}
|
|
389
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Plugin } from '../manager.js';
|
|
2
|
+
|
|
3
|
+
// ── Core utilities ─────────────────────────────────────────────────────────
|
|
4
|
+
import { CryptoPlugin } from './crypto.js';
|
|
5
|
+
import { WeatherPlugin } from './weather.js';
|
|
6
|
+
import { SystemInfoPlugin } from './system.js';
|
|
7
|
+
import { URLToolsPlugin } from './url-tools.js';
|
|
8
|
+
import { FunPlugin } from './fun.js';
|
|
9
|
+
import { HashPlugin } from './hash.js';
|
|
10
|
+
import { TranslatePlugin } from './translate.js';
|
|
11
|
+
import { CalculatorPlugin } from './calculator.js';
|
|
12
|
+
import { ColorPlugin } from './colors.js';
|
|
13
|
+
import { NetworkPlugin } from './network.js';
|
|
14
|
+
import { TextToolsPlugin } from './text-tools.js';
|
|
15
|
+
import { GitHubPlugin } from './github.js';
|
|
16
|
+
import { TimezonePlugin } from './timezone.js';
|
|
17
|
+
|
|
18
|
+
// ── Memory & scheduling ────────────────────────────────────────────────────
|
|
19
|
+
import { MemoryPlugin } from './memory.js';
|
|
20
|
+
import { NotesPlugin } from './notes.js';
|
|
21
|
+
import { CronPlugin } from './cron.js';
|
|
22
|
+
|
|
23
|
+
// ── Google services ────────────────────────────────────────────────────────
|
|
24
|
+
import { GmailPlugin } from './gmail.js';
|
|
25
|
+
import { GoogleCalendarPlugin } from './gcal.js';
|
|
26
|
+
import { GoogleDrivePlugin } from './gdrive.js';
|
|
27
|
+
|
|
28
|
+
// ── Developer tools ────────────────────────────────────────────────────────
|
|
29
|
+
import { GitHubActionsPlugin } from './github-actions.js';
|
|
30
|
+
import { VercelPlugin } from './vercel.js';
|
|
31
|
+
import { N8nPlugin } from './n8n.js';
|
|
32
|
+
|
|
33
|
+
// ── Infrastructure ─────────────────────────────────────────────────────────
|
|
34
|
+
import { DockerPlugin } from './docker.js';
|
|
35
|
+
import { DatabasePlugin } from './database.js';
|
|
36
|
+
import { ShellPlugin } from './shell.js';
|
|
37
|
+
|
|
38
|
+
// ── Third-party services ───────────────────────────────────────────────────
|
|
39
|
+
import { NotionPlugin } from './notion.js';
|
|
40
|
+
import { XPlugin } from './x.js';
|
|
41
|
+
import { SpotifyPlugin } from './spotify.js';
|
|
42
|
+
import { HomeKitPlugin } from './homekit.js';
|
|
43
|
+
import { SlackPlugin } from './slack.js';
|
|
44
|
+
import { TodoistPlugin } from './todoist.js';
|
|
45
|
+
|
|
46
|
+
// ── Project management ─────────────────────────────────────────────────────
|
|
47
|
+
import { LinearPlugin } from './linear.js';
|
|
48
|
+
import { JiraPlugin } from './jira.js';
|
|
49
|
+
|
|
50
|
+
// ── Finance & commerce ─────────────────────────────────────────────────────
|
|
51
|
+
import { StripePlugin } from './stripe.js';
|
|
52
|
+
|
|
53
|
+
// ── Lumen — agentic AI coding assistant ───────────────────────────────────
|
|
54
|
+
import { LumenPlugin } from './lumen.js';
|
|
55
|
+
|
|
56
|
+
/** Returns all builtin plugins (not initialized — just constructed). */
|
|
57
|
+
export function getAllBuiltinPlugins(): Plugin[] {
|
|
58
|
+
return [
|
|
59
|
+
// ── Utilities (zero config, always available) ──────────────────────────
|
|
60
|
+
new CryptoPlugin(),
|
|
61
|
+
new WeatherPlugin(),
|
|
62
|
+
new SystemInfoPlugin(),
|
|
63
|
+
new URLToolsPlugin(),
|
|
64
|
+
new FunPlugin(),
|
|
65
|
+
new HashPlugin(),
|
|
66
|
+
new TranslatePlugin(),
|
|
67
|
+
new CalculatorPlugin(),
|
|
68
|
+
new ColorPlugin(),
|
|
69
|
+
new NetworkPlugin(),
|
|
70
|
+
new TextToolsPlugin(),
|
|
71
|
+
new GitHubPlugin(),
|
|
72
|
+
new TimezonePlugin(),
|
|
73
|
+
|
|
74
|
+
// ── Memory & productivity (zero config) ────────────────────────────────
|
|
75
|
+
new MemoryPlugin(),
|
|
76
|
+
new NotesPlugin(),
|
|
77
|
+
new CronPlugin(),
|
|
78
|
+
|
|
79
|
+
// ── Infrastructure (zero config for shell, needs URLs for database) ────
|
|
80
|
+
new ShellPlugin(),
|
|
81
|
+
new DockerPlugin(),
|
|
82
|
+
new DatabasePlugin(),
|
|
83
|
+
|
|
84
|
+
// ── Google (require Google OAuth) ──────────────────────────────────────
|
|
85
|
+
new GmailPlugin(),
|
|
86
|
+
new GoogleCalendarPlugin(),
|
|
87
|
+
new GoogleDrivePlugin(),
|
|
88
|
+
|
|
89
|
+
// ── Developer (require API tokens) ────────────────────────────────────
|
|
90
|
+
new GitHubActionsPlugin(),
|
|
91
|
+
new VercelPlugin(),
|
|
92
|
+
new N8nPlugin(),
|
|
93
|
+
|
|
94
|
+
// ── Services (require API tokens) ─────────────────────────────────────
|
|
95
|
+
new NotionPlugin(),
|
|
96
|
+
new XPlugin(),
|
|
97
|
+
new SpotifyPlugin(),
|
|
98
|
+
new TodoistPlugin(),
|
|
99
|
+
|
|
100
|
+
// ── Smart home ────────────────────────────────────────────────────────
|
|
101
|
+
new HomeKitPlugin(),
|
|
102
|
+
|
|
103
|
+
// ── Messaging ─────────────────────────────────────────────────────────
|
|
104
|
+
new SlackPlugin(),
|
|
105
|
+
|
|
106
|
+
// ── Project management ─────────────────────────────────────────────────
|
|
107
|
+
new LinearPlugin(),
|
|
108
|
+
new JiraPlugin(),
|
|
109
|
+
|
|
110
|
+
// ── Finance & commerce ─────────────────────────────────────────────────
|
|
111
|
+
new StripePlugin(),
|
|
112
|
+
|
|
113
|
+
// ── Lumen — agentic AI coding assistant ───────────────────────────────
|
|
114
|
+
new LumenPlugin(),
|
|
115
|
+
];
|
|
116
|
+
}
|