@hailer/mcp 1.2.0 → 1.3.9
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/agents/agent-hailer-helper.md +118 -0
- package/.claude/commands/debug-squad.md +13 -290
- package/.claude/commands/publish.md +2 -2
- package/.claude/commands/review-squad.md +17 -139
- package/.claude/skills/create-and-publish-app/SKILL.md +148 -81
- package/.claude/skills/hailer-app-builder/SKILL.md +29 -2
- package/.claude/skills/hailer-ui-guide/SKILL.md +265 -0
- package/.env.example +50 -1
- package/CLAUDE.md +141 -10
- package/dist/app-prep.d.ts +27 -0
- package/dist/app-prep.d.ts.map +1 -0
- package/dist/app-prep.js +94 -0
- package/dist/app-prep.js.map +1 -0
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +3 -0
- package/dist/app.js.map +1 -1
- package/dist/bot/bot-manager.d.ts +9 -6
- package/dist/bot/bot-manager.d.ts.map +1 -1
- package/dist/bot/bot-manager.js +142 -31
- package/dist/bot/bot-manager.js.map +1 -1
- package/dist/bot/bot.d.ts +61 -16
- package/dist/bot/bot.d.ts.map +1 -1
- package/dist/bot/bot.js +927 -151
- package/dist/bot/bot.js.map +1 -1
- package/dist/bot/operation-logger.d.ts.map +1 -1
- package/dist/bot/operation-logger.js +24 -12
- package/dist/bot/operation-logger.js.map +1 -1
- package/dist/bot/services/bot-permissions.d.ts +37 -5
- package/dist/bot/services/bot-permissions.d.ts.map +1 -1
- package/dist/bot/services/bot-permissions.js +159 -35
- package/dist/bot/services/bot-permissions.js.map +1 -1
- package/dist/bot/services/conversation-manager.d.ts +23 -23
- package/dist/bot/services/conversation-manager.d.ts.map +1 -1
- package/dist/bot/services/conversation-manager.js +52 -49
- package/dist/bot/services/conversation-manager.js.map +1 -1
- package/dist/bot/services/helper-prompt.d.ts +8 -0
- package/dist/bot/services/helper-prompt.d.ts.map +1 -0
- package/dist/bot/services/helper-prompt.js +177 -0
- package/dist/bot/services/helper-prompt.js.map +1 -0
- package/dist/bot/services/message-classifier.d.ts +16 -16
- package/dist/bot/services/message-classifier.d.ts.map +1 -1
- package/dist/bot/services/message-classifier.js +55 -49
- package/dist/bot/services/message-classifier.js.map +1 -1
- package/dist/bot/services/message-formatter.d.ts +47 -38
- package/dist/bot/services/message-formatter.d.ts.map +1 -1
- package/dist/bot/services/message-formatter.js +99 -80
- package/dist/bot/services/message-formatter.js.map +1 -1
- package/dist/bot/services/permission-guard.d.ts.map +1 -1
- package/dist/bot/services/permission-guard.js +20 -10
- package/dist/bot/services/permission-guard.js.map +1 -1
- package/dist/bot/services/signal-router.d.ts.map +1 -1
- package/dist/bot/services/signal-router.js +11 -6
- package/dist/bot/services/signal-router.js.map +1 -1
- package/dist/bot/services/system-prompt.d.ts +14 -0
- package/dist/bot/services/system-prompt.d.ts.map +1 -1
- package/dist/bot/services/system-prompt.js +181 -4
- package/dist/bot/services/system-prompt.js.map +1 -1
- package/dist/bot/services/token-billing.d.ts +23 -23
- package/dist/bot/services/token-billing.d.ts.map +1 -1
- package/dist/bot/services/token-billing.js +51 -36
- package/dist/bot/services/token-billing.js.map +1 -1
- package/dist/bot/services/types.d.ts +3 -1
- package/dist/bot/services/types.d.ts.map +1 -1
- package/dist/bot/services/typing-indicator.d.ts +8 -8
- package/dist/bot/services/typing-indicator.d.ts.map +1 -1
- package/dist/bot/services/typing-indicator.js +12 -10
- package/dist/bot/services/typing-indicator.js.map +1 -1
- package/dist/bot/services/workspace-refresh.d.ts +3 -3
- package/dist/bot/services/workspace-refresh.d.ts.map +1 -1
- package/dist/bot/services/workspace-refresh.js +23 -13
- package/dist/bot/services/workspace-refresh.js.map +1 -1
- package/dist/bot/tool-executor.d.ts +10 -6
- package/dist/bot/tool-executor.d.ts.map +1 -1
- package/dist/bot/tool-executor.js +12 -6
- package/dist/bot/tool-executor.js.map +1 -1
- package/dist/bot/workspace-overview.d.ts.map +1 -1
- package/dist/bot/workspace-overview.js +6 -3
- package/dist/bot/workspace-overview.js.map +1 -1
- package/dist/bot-config/activity-error.d.ts +47 -0
- package/dist/bot-config/activity-error.d.ts.map +1 -0
- package/dist/bot-config/activity-error.js +67 -0
- package/dist/bot-config/activity-error.js.map +1 -0
- package/dist/bot-config/context.d.ts +4 -4
- package/dist/bot-config/context.d.ts.map +1 -1
- package/dist/bot-config/context.js +18 -14
- package/dist/bot-config/context.js.map +1 -1
- package/dist/bot-config/events.d.ts +45 -0
- package/dist/bot-config/events.d.ts.map +1 -0
- package/dist/bot-config/events.js +51 -0
- package/dist/bot-config/events.js.map +1 -0
- package/dist/bot-config/index.d.ts +3 -0
- package/dist/bot-config/index.d.ts.map +1 -1
- package/dist/bot-config/index.js +8 -1
- package/dist/bot-config/index.js.map +1 -1
- package/dist/bot-config/loader.d.ts +3 -0
- package/dist/bot-config/loader.d.ts.map +1 -1
- package/dist/bot-config/loader.js +45 -20
- package/dist/bot-config/loader.js.map +1 -1
- package/dist/bot-config/persistence.js.map +1 -1
- package/dist/bot-config/reconciler.d.ts +11 -0
- package/dist/bot-config/reconciler.d.ts.map +1 -0
- package/dist/bot-config/reconciler.js +121 -0
- package/dist/bot-config/reconciler.js.map +1 -0
- package/dist/bot-config/state.d.ts.map +1 -1
- package/dist/bot-config/state.js.map +1 -1
- package/dist/bot-config/types.d.ts +32 -0
- package/dist/bot-config/types.d.ts.map +1 -1
- package/dist/bot-config/webhooks.d.ts.map +1 -1
- package/dist/bot-config/webhooks.js.map +1 -1
- package/dist/bot-config/workflow-installer.d.ts +37 -0
- package/dist/bot-config/workflow-installer.d.ts.map +1 -0
- package/dist/bot-config/workflow-installer.js +346 -0
- package/dist/bot-config/workflow-installer.js.map +1 -0
- package/dist/cli.d.ts +4 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +92 -11
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +23 -19
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +65 -27
- package/dist/config.js.map +1 -1
- package/dist/core.d.ts +6 -4
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js +11 -16
- package/dist/core.js.map +1 -1
- package/dist/lib/logger.d.ts.map +1 -1
- package/dist/lib/logger.js +7 -4
- package/dist/lib/logger.js.map +1 -1
- package/dist/lib/request-logger.d.ts +19 -19
- package/dist/lib/request-logger.d.ts.map +1 -1
- package/dist/lib/request-logger.js +19 -19
- package/dist/lib/request-logger.js.map +1 -1
- package/dist/mcp/UserContextCache.d.ts +28 -22
- package/dist/mcp/UserContextCache.d.ts.map +1 -1
- package/dist/mcp/UserContextCache.js +23 -23
- package/dist/mcp/UserContextCache.js.map +1 -1
- package/dist/mcp/auth.js.map +1 -1
- package/dist/mcp/hailer-clients.d.ts +5 -4
- package/dist/mcp/hailer-clients.d.ts.map +1 -1
- package/dist/mcp/hailer-clients.js +83 -34
- package/dist/mcp/hailer-clients.js.map +1 -1
- package/dist/mcp/hailer-rpc.d.ts +40 -0
- package/dist/mcp/hailer-rpc.d.ts.map +1 -0
- package/dist/mcp/hailer-rpc.js +43 -0
- package/dist/mcp/hailer-rpc.js.map +1 -0
- package/dist/mcp/publish-auth-injector.d.ts +22 -0
- package/dist/mcp/publish-auth-injector.d.ts.map +1 -0
- package/dist/mcp/publish-auth-injector.js +100 -0
- package/dist/mcp/publish-auth-injector.js.map +1 -0
- package/dist/mcp/session-store.d.ts +16 -16
- package/dist/mcp/session-store.d.ts.map +1 -1
- package/dist/mcp/session-store.js +16 -16
- package/dist/mcp/session-store.js.map +1 -1
- package/dist/mcp/tool-profiles.d.ts +69 -0
- package/dist/mcp/tool-profiles.d.ts.map +1 -0
- package/dist/mcp/tool-profiles.js +176 -0
- package/dist/mcp/tool-profiles.js.map +1 -0
- package/dist/mcp/tool-registry.d.ts +16 -0
- package/dist/mcp/tool-registry.d.ts.map +1 -1
- package/dist/mcp/tool-registry.js +91 -39
- package/dist/mcp/tool-registry.js.map +1 -1
- package/dist/mcp/tools/activity.d.ts +2 -0
- package/dist/mcp/tools/activity.d.ts.map +1 -1
- package/dist/mcp/tools/activity.js +575 -218
- package/dist/mcp/tools/activity.js.map +1 -1
- package/dist/mcp/tools/aliases.d.ts +11 -0
- package/dist/mcp/tools/aliases.d.ts.map +1 -0
- package/dist/mcp/tools/aliases.js +182 -0
- package/dist/mcp/tools/aliases.js.map +1 -0
- package/dist/mcp/tools/app-core.d.ts +6 -8
- package/dist/mcp/tools/app-core.d.ts.map +1 -1
- package/dist/mcp/tools/app-core.js +355 -254
- package/dist/mcp/tools/app-core.js.map +1 -1
- package/dist/mcp/tools/app-marketplace.d.ts +8 -16
- package/dist/mcp/tools/app-marketplace.d.ts.map +1 -1
- package/dist/mcp/tools/app-marketplace.js +604 -932
- package/dist/mcp/tools/app-marketplace.js.map +1 -1
- package/dist/mcp/tools/app.d.ts +4 -7
- package/dist/mcp/tools/app.d.ts.map +1 -1
- package/dist/mcp/tools/app.js +4 -7
- package/dist/mcp/tools/app.js.map +1 -1
- package/dist/mcp/tools/bot-self.d.ts +21 -0
- package/dist/mcp/tools/bot-self.d.ts.map +1 -0
- package/dist/mcp/tools/bot-self.js +174 -0
- package/dist/mcp/tools/bot-self.js.map +1 -0
- package/dist/mcp/tools/calendar.d.ts +21 -0
- package/dist/mcp/tools/calendar.d.ts.map +1 -0
- package/dist/mcp/tools/calendar.js +741 -0
- package/dist/mcp/tools/calendar.js.map +1 -0
- package/dist/mcp/tools/company.d.ts.map +1 -1
- package/dist/mcp/tools/company.js +2 -1
- package/dist/mcp/tools/company.js.map +1 -1
- package/dist/mcp/tools/date.js.map +1 -1
- package/dist/mcp/tools/discussion.d.ts +29 -3
- package/dist/mcp/tools/discussion.d.ts.map +1 -1
- package/dist/mcp/tools/discussion.js +419 -534
- package/dist/mcp/tools/discussion.js.map +1 -1
- package/dist/mcp/tools/file.d.ts.map +1 -1
- package/dist/mcp/tools/file.js +18 -16
- package/dist/mcp/tools/file.js.map +1 -1
- package/dist/mcp/tools/index.js +4 -4
- package/dist/mcp/tools/index.js.map +1 -1
- package/dist/mcp/tools/insight.d.ts +24 -5
- package/dist/mcp/tools/insight.d.ts.map +1 -1
- package/dist/mcp/tools/insight.js +513 -480
- package/dist/mcp/tools/insight.js.map +1 -1
- package/dist/mcp/tools/user.d.ts.map +1 -1
- package/dist/mcp/tools/user.js +15 -13
- package/dist/mcp/tools/user.js.map +1 -1
- package/dist/mcp/tools/workflow-permissions.d.ts +2 -4
- package/dist/mcp/tools/workflow-permissions.d.ts.map +1 -1
- package/dist/mcp/tools/workflow-permissions.js +88 -97
- package/dist/mcp/tools/workflow-permissions.js.map +1 -1
- package/dist/mcp/tools/workflow.d.ts +9 -7
- package/dist/mcp/tools/workflow.d.ts.map +1 -1
- package/dist/mcp/tools/workflow.js +852 -860
- package/dist/mcp/tools/workflow.js.map +1 -1
- package/dist/mcp/utils/api-errors.d.ts.map +1 -1
- package/dist/mcp/utils/api-errors.js +2 -2
- package/dist/mcp/utils/api-errors.js.map +1 -1
- package/dist/mcp/utils/data-transformers.d.ts +0 -3
- package/dist/mcp/utils/data-transformers.d.ts.map +1 -1
- package/dist/mcp/utils/data-transformers.js +32 -5
- package/dist/mcp/utils/data-transformers.js.map +1 -1
- package/dist/mcp/utils/file-upload.d.ts.map +1 -1
- package/dist/mcp/utils/file-upload.js +1 -1
- package/dist/mcp/utils/file-upload.js.map +1 -1
- package/dist/mcp/utils/hailer-api-client.d.ts +81 -81
- package/dist/mcp/utils/hailer-api-client.d.ts.map +1 -1
- package/dist/mcp/utils/hailer-api-client.js +113 -103
- package/dist/mcp/utils/hailer-api-client.js.map +1 -1
- package/dist/mcp/utils/index.d.ts.map +1 -1
- package/dist/mcp/utils/index.js.map +1 -1
- package/dist/mcp/utils/logger.d.ts.map +1 -1
- package/dist/mcp/utils/logger.js.map +1 -1
- package/dist/mcp/utils/response-builder.d.ts.map +1 -1
- package/dist/mcp/utils/response-builder.js +8 -4
- package/dist/mcp/utils/response-builder.js.map +1 -1
- package/dist/mcp/utils/role-utils.d.ts.map +1 -1
- package/dist/mcp/utils/role-utils.js +6 -3
- package/dist/mcp/utils/role-utils.js.map +1 -1
- package/dist/mcp/utils/tool-helpers.d.ts.map +1 -1
- package/dist/mcp/utils/tool-helpers.js +2 -2
- package/dist/mcp/utils/tool-helpers.js.map +1 -1
- package/dist/mcp/utils/types.d.ts +2 -1
- package/dist/mcp/utils/types.d.ts.map +1 -1
- package/dist/mcp/utils/types.js.map +1 -1
- package/dist/mcp/webhook-handler.d.ts +43 -8
- package/dist/mcp/webhook-handler.d.ts.map +1 -1
- package/dist/mcp/webhook-handler.js +861 -116
- package/dist/mcp/webhook-handler.js.map +1 -1
- package/dist/mcp/workspace-admin-store.d.ts +49 -0
- package/dist/mcp/workspace-admin-store.d.ts.map +1 -0
- package/dist/mcp/workspace-admin-store.js +168 -0
- package/dist/mcp/workspace-admin-store.js.map +1 -0
- package/dist/mcp/workspace-cache.d.ts +2 -2
- package/dist/mcp/workspace-cache.d.ts.map +1 -1
- package/dist/mcp/workspace-cache.js +9 -5
- package/dist/mcp/workspace-cache.js.map +1 -1
- package/dist/mcp-server.d.ts +26 -11
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +367 -48
- package/dist/mcp-server.js.map +1 -1
- package/dist/plugins/vipunen/client.d.ts +41 -41
- package/dist/plugins/vipunen/client.d.ts.map +1 -1
- package/dist/plugins/vipunen/client.js +53 -48
- package/dist/plugins/vipunen/client.js.map +1 -1
- package/dist/plugins/vipunen/index.js.map +1 -1
- package/dist/plugins/vipunen/tools.d.ts.map +1 -1
- package/dist/plugins/vipunen/tools.js +6 -3
- package/dist/plugins/vipunen/tools.js.map +1 -1
- package/dist/public-chat/graduate.d.ts +29 -0
- package/dist/public-chat/graduate.d.ts.map +1 -0
- package/dist/public-chat/graduate.js +593 -0
- package/dist/public-chat/graduate.js.map +1 -0
- package/dist/public-chat/handler.d.ts +12 -0
- package/dist/public-chat/handler.d.ts.map +1 -0
- package/dist/public-chat/handler.js +183 -0
- package/dist/public-chat/handler.js.map +1 -0
- package/dist/public-chat/index.d.ts +16 -0
- package/dist/public-chat/index.d.ts.map +1 -0
- package/dist/public-chat/index.js +74 -0
- package/dist/public-chat/index.js.map +1 -0
- package/dist/public-chat/knowledge.d.ts +3 -0
- package/dist/public-chat/knowledge.d.ts.map +1 -0
- package/dist/public-chat/knowledge.js +1340 -0
- package/dist/public-chat/knowledge.js.map +1 -0
- package/dist/public-chat/rate-limit.d.ts +16 -0
- package/dist/public-chat/rate-limit.d.ts.map +1 -0
- package/dist/public-chat/rate-limit.js +51 -0
- package/dist/public-chat/rate-limit.js.map +1 -0
- package/dist/public-chat/session-store.d.ts +41 -0
- package/dist/public-chat/session-store.d.ts.map +1 -0
- package/dist/public-chat/session-store.js +95 -0
- package/dist/public-chat/session-store.js.map +1 -0
- package/dist/public-chat/studio-prewarm.d.ts +61 -0
- package/dist/public-chat/studio-prewarm.d.ts.map +1 -0
- package/dist/public-chat/studio-prewarm.js +162 -0
- package/dist/public-chat/studio-prewarm.js.map +1 -0
- package/dist/public-chat/system-prompt.d.ts +22 -0
- package/dist/public-chat/system-prompt.d.ts.map +1 -0
- package/dist/public-chat/system-prompt.js +435 -0
- package/dist/public-chat/system-prompt.js.map +1 -0
- package/package.json +15 -7
- package/scripts/build-public-chat-knowledge.py +101 -0
- package/scripts/smoke-public-chat-live.ts +148 -0
- package/scripts/smoke-public-chat.ts +110 -0
- package/.claude/CLAUDE.md +0 -126
- package/.claude/commands/app-squad.md +0 -131
- package/.claude/commands/audit-squad.md +0 -158
- package/.claude/commands/cleanup-squad.md +0 -98
- package/.claude/commands/config-squad.md +0 -106
- package/.claude/commands/crud-squad.md +0 -87
- package/.claude/commands/data-squad.md +0 -97
- package/.claude/commands/doc-squad.md +0 -65
- package/.claude/commands/help.md +0 -29
- package/.claude/commands/help:agents.md +0 -182
- package/.claude/commands/help:commands.md +0 -78
- package/.claude/commands/help:faq.md +0 -79
- package/.claude/commands/help:plugins.md +0 -50
- package/.claude/commands/help:skills.md +0 -87
- package/.claude/commands/help:tools.md +0 -75
- package/.claude/commands/hotfix-squad.md +0 -112
- package/.claude/commands/integration-squad.md +0 -82
- package/.claude/commands/janitor-squad.md +0 -167
- package/.claude/commands/onboard-squad.md +0 -130
- package/.claude/commands/swarm.md +0 -210
- package/.claude/commands/tool-builder.md +0 -39
- package/.claude/skills/publish-hailer-app/SKILL.md +0 -280
- package/dist/CLAUDE.md +0 -370
- package/dist/agents/bot-manager.d.ts +0 -48
- package/dist/agents/bot-manager.d.ts.map +0 -1
- package/dist/agents/bot-manager.js +0 -254
- package/dist/agents/bot-manager.js.map +0 -1
- package/dist/agents/bug-fixer/ai.d.ts +0 -80
- package/dist/agents/bug-fixer/ai.d.ts.map +0 -1
- package/dist/agents/bug-fixer/ai.js +0 -466
- package/dist/agents/bug-fixer/ai.js.map +0 -1
- package/dist/agents/bug-fixer/bot.d.ts +0 -92
- package/dist/agents/bug-fixer/bot.d.ts.map +0 -1
- package/dist/agents/bug-fixer/bot.js +0 -687
- package/dist/agents/bug-fixer/bot.js.map +0 -1
- package/dist/agents/bug-fixer/config.d.ts +0 -21
- package/dist/agents/bug-fixer/config.d.ts.map +0 -1
- package/dist/agents/bug-fixer/config.js +0 -218
- package/dist/agents/bug-fixer/config.js.map +0 -1
- package/dist/agents/bug-fixer/files.d.ts +0 -67
- package/dist/agents/bug-fixer/files.d.ts.map +0 -1
- package/dist/agents/bug-fixer/files.js +0 -386
- package/dist/agents/bug-fixer/files.js.map +0 -1
- package/dist/agents/bug-fixer/git.d.ts +0 -48
- package/dist/agents/bug-fixer/git.d.ts.map +0 -1
- package/dist/agents/bug-fixer/git.js +0 -298
- package/dist/agents/bug-fixer/git.js.map +0 -1
- package/dist/agents/bug-fixer/index.d.ts +0 -103
- package/dist/agents/bug-fixer/index.d.ts.map +0 -1
- package/dist/agents/bug-fixer/index.js +0 -262
- package/dist/agents/bug-fixer/index.js.map +0 -1
- package/dist/agents/bug-fixer/lsp.d.ts +0 -113
- package/dist/agents/bug-fixer/lsp.d.ts.map +0 -1
- package/dist/agents/bug-fixer/lsp.js +0 -485
- package/dist/agents/bug-fixer/lsp.js.map +0 -1
- package/dist/agents/bug-fixer/monitor.d.ts +0 -123
- package/dist/agents/bug-fixer/monitor.d.ts.map +0 -1
- package/dist/agents/bug-fixer/monitor.js +0 -629
- package/dist/agents/bug-fixer/monitor.js.map +0 -1
- package/dist/agents/bug-fixer/prompt.d.ts +0 -5
- package/dist/agents/bug-fixer/prompt.d.ts.map +0 -1
- package/dist/agents/bug-fixer/prompt.js +0 -94
- package/dist/agents/bug-fixer/prompt.js.map +0 -1
- package/dist/agents/bug-fixer/registries/pending-classification.d.ts +0 -28
- package/dist/agents/bug-fixer/registries/pending-classification.d.ts.map +0 -1
- package/dist/agents/bug-fixer/registries/pending-classification.js +0 -50
- package/dist/agents/bug-fixer/registries/pending-classification.js.map +0 -1
- package/dist/agents/bug-fixer/registries/pending-fix.d.ts +0 -33
- package/dist/agents/bug-fixer/registries/pending-fix.d.ts.map +0 -1
- package/dist/agents/bug-fixer/registries/pending-fix.js +0 -64
- package/dist/agents/bug-fixer/registries/pending-fix.js.map +0 -1
- package/dist/agents/bug-fixer/registries/pending.d.ts +0 -27
- package/dist/agents/bug-fixer/registries/pending.d.ts.map +0 -1
- package/dist/agents/bug-fixer/registries/pending.js +0 -49
- package/dist/agents/bug-fixer/registries/pending.js.map +0 -1
- package/dist/agents/bug-fixer/specialist-daemon.d.ts +0 -88
- package/dist/agents/bug-fixer/specialist-daemon.d.ts.map +0 -1
- package/dist/agents/bug-fixer/specialist-daemon.js +0 -431
- package/dist/agents/bug-fixer/specialist-daemon.js.map +0 -1
- package/dist/agents/bug-fixer/specialist.d.ts +0 -47
- package/dist/agents/bug-fixer/specialist.d.ts.map +0 -1
- package/dist/agents/bug-fixer/specialist.js +0 -327
- package/dist/agents/bug-fixer/specialist.js.map +0 -1
- package/dist/agents/bug-fixer/types.d.ts +0 -123
- package/dist/agents/bug-fixer/types.d.ts.map +0 -1
- package/dist/agents/bug-fixer/types.js +0 -9
- package/dist/agents/bug-fixer/types.js.map +0 -1
- package/dist/agents/factory.d.ts +0 -172
- package/dist/agents/factory.d.ts.map +0 -1
- package/dist/agents/factory.js +0 -706
- package/dist/agents/factory.js.map +0 -1
- package/dist/agents/hailer-expert/index.d.ts +0 -8
- package/dist/agents/hailer-expert/index.d.ts.map +0 -1
- package/dist/agents/hailer-expert/index.js +0 -14
- package/dist/agents/hailer-expert/index.js.map +0 -1
- package/dist/agents/hal/daemon.d.ts +0 -174
- package/dist/agents/hal/daemon.d.ts.map +0 -1
- package/dist/agents/hal/daemon.js +0 -1385
- package/dist/agents/hal/daemon.js.map +0 -1
- package/dist/agents/hal/definitions.d.ts +0 -42
- package/dist/agents/hal/definitions.d.ts.map +0 -1
- package/dist/agents/hal/definitions.js +0 -300
- package/dist/agents/hal/definitions.js.map +0 -1
- package/dist/agents/hal/index.d.ts +0 -3
- package/dist/agents/hal/index.d.ts.map +0 -1
- package/dist/agents/hal/index.js +0 -8
- package/dist/agents/hal/index.js.map +0 -1
- package/dist/agents/index.d.ts +0 -18
- package/dist/agents/index.d.ts.map +0 -1
- package/dist/agents/index.js +0 -48
- package/dist/agents/index.js.map +0 -1
- package/dist/agents/shared/base.d.ts +0 -253
- package/dist/agents/shared/base.d.ts.map +0 -1
- package/dist/agents/shared/base.js +0 -1122
- package/dist/agents/shared/base.js.map +0 -1
- package/dist/agents/shared/schemas/action-schema.d.ts +0 -62
- package/dist/agents/shared/schemas/action-schema.d.ts.map +0 -1
- package/dist/agents/shared/schemas/action-schema.js +0 -483
- package/dist/agents/shared/schemas/action-schema.js.map +0 -1
- package/dist/agents/shared/services/agent-registry.d.ts +0 -108
- package/dist/agents/shared/services/agent-registry.d.ts.map +0 -1
- package/dist/agents/shared/services/agent-registry.js +0 -469
- package/dist/agents/shared/services/agent-registry.js.map +0 -1
- package/dist/agents/shared/services/conversation-manager.d.ts +0 -57
- package/dist/agents/shared/services/conversation-manager.d.ts.map +0 -1
- package/dist/agents/shared/services/conversation-manager.js +0 -168
- package/dist/agents/shared/services/conversation-manager.js.map +0 -1
- package/dist/agents/shared/services/mcp-client.d.ts +0 -56
- package/dist/agents/shared/services/mcp-client.d.ts.map +0 -1
- package/dist/agents/shared/services/mcp-client.js +0 -124
- package/dist/agents/shared/services/mcp-client.js.map +0 -1
- package/dist/agents/shared/services/message-classifier.d.ts +0 -37
- package/dist/agents/shared/services/message-classifier.d.ts.map +0 -1
- package/dist/agents/shared/services/message-classifier.js +0 -203
- package/dist/agents/shared/services/message-classifier.js.map +0 -1
- package/dist/agents/shared/services/message-formatter.d.ts +0 -89
- package/dist/agents/shared/services/message-formatter.d.ts.map +0 -1
- package/dist/agents/shared/services/message-formatter.js +0 -390
- package/dist/agents/shared/services/message-formatter.js.map +0 -1
- package/dist/agents/shared/services/session-logger.d.ts +0 -162
- package/dist/agents/shared/services/session-logger.d.ts.map +0 -1
- package/dist/agents/shared/services/session-logger.js +0 -724
- package/dist/agents/shared/services/session-logger.js.map +0 -1
- package/dist/agents/shared/services/structured-output-executor.d.ts +0 -88
- package/dist/agents/shared/services/structured-output-executor.d.ts.map +0 -1
- package/dist/agents/shared/services/structured-output-executor.js +0 -296
- package/dist/agents/shared/services/structured-output-executor.js.map +0 -1
- package/dist/agents/shared/services/token-billing.d.ts +0 -72
- package/dist/agents/shared/services/token-billing.d.ts.map +0 -1
- package/dist/agents/shared/services/token-billing.js +0 -198
- package/dist/agents/shared/services/token-billing.js.map +0 -1
- package/dist/agents/shared/services/tool-executor.d.ts +0 -43
- package/dist/agents/shared/services/tool-executor.d.ts.map +0 -1
- package/dist/agents/shared/services/tool-executor.js +0 -175
- package/dist/agents/shared/services/tool-executor.js.map +0 -1
- package/dist/agents/shared/services/typing-indicator.d.ts +0 -24
- package/dist/agents/shared/services/typing-indicator.d.ts.map +0 -1
- package/dist/agents/shared/services/typing-indicator.js +0 -54
- package/dist/agents/shared/services/typing-indicator.js.map +0 -1
- package/dist/agents/shared/services/workspace-schema-cache.d.ts +0 -122
- package/dist/agents/shared/services/workspace-schema-cache.d.ts.map +0 -1
- package/dist/agents/shared/services/workspace-schema-cache.js +0 -507
- package/dist/agents/shared/services/workspace-schema-cache.js.map +0 -1
- package/dist/agents/shared/specialist.d.ts +0 -91
- package/dist/agents/shared/specialist.d.ts.map +0 -1
- package/dist/agents/shared/specialist.js +0 -399
- package/dist/agents/shared/specialist.js.map +0 -1
- package/dist/agents/shared/tool-schema-loader.d.ts +0 -65
- package/dist/agents/shared/tool-schema-loader.d.ts.map +0 -1
- package/dist/agents/shared/tool-schema-loader.js +0 -238
- package/dist/agents/shared/tool-schema-loader.js.map +0 -1
- package/dist/agents/shared/types.d.ts +0 -190
- package/dist/agents/shared/types.d.ts.map +0 -1
- package/dist/agents/shared/types.js +0 -13
- package/dist/agents/shared/types.js.map +0 -1
- package/dist/bot/bot-config.d.ts +0 -37
- package/dist/bot/bot-config.d.ts.map +0 -1
- package/dist/bot/bot-config.js +0 -219
- package/dist/bot/bot-config.js.map +0 -1
- package/dist/bot/services/__tests__/permission-guard.test.d.ts +0 -2
- package/dist/bot/services/__tests__/permission-guard.test.d.ts.map +0 -1
- package/dist/bot/services/__tests__/permission-guard.test.js +0 -357
- package/dist/bot/services/__tests__/permission-guard.test.js.map +0 -1
- package/dist/bot/services/session-logger.d.ts +0 -162
- package/dist/bot/services/session-logger.d.ts.map +0 -1
- package/dist/bot/services/session-logger.js +0 -724
- package/dist/bot/services/session-logger.js.map +0 -1
- package/dist/bot/services/workspace-schema-cache.d.ts +0 -122
- package/dist/bot/services/workspace-schema-cache.d.ts.map +0 -1
- package/dist/bot/services/workspace-schema-cache.js +0 -506
- package/dist/bot/services/workspace-schema-cache.js.map +0 -1
- package/dist/bot-config/tools.d.ts +0 -28
- package/dist/bot-config/tools.d.ts.map +0 -1
- package/dist/bot-config/tools.js +0 -279
- package/dist/bot-config/tools.js.map +0 -1
- package/dist/client/agents/base.d.ts +0 -207
- package/dist/client/agents/base.d.ts.map +0 -1
- package/dist/client/agents/base.js +0 -744
- package/dist/client/agents/base.js.map +0 -1
- package/dist/client/agents/definitions.d.ts +0 -53
- package/dist/client/agents/definitions.d.ts.map +0 -1
- package/dist/client/agents/definitions.js +0 -263
- package/dist/client/agents/definitions.js.map +0 -1
- package/dist/client/agents/orchestrator.d.ts +0 -141
- package/dist/client/agents/orchestrator.d.ts.map +0 -1
- package/dist/client/agents/orchestrator.js +0 -1062
- package/dist/client/agents/orchestrator.js.map +0 -1
- package/dist/client/agents/specialist.d.ts +0 -86
- package/dist/client/agents/specialist.d.ts.map +0 -1
- package/dist/client/agents/specialist.js +0 -340
- package/dist/client/agents/specialist.js.map +0 -1
- package/dist/client/bot-entrypoint.d.ts +0 -7
- package/dist/client/bot-entrypoint.d.ts.map +0 -1
- package/dist/client/bot-entrypoint.js +0 -103
- package/dist/client/bot-entrypoint.js.map +0 -1
- package/dist/client/bot-manager.d.ts +0 -44
- package/dist/client/bot-manager.d.ts.map +0 -1
- package/dist/client/bot-manager.js +0 -173
- package/dist/client/bot-manager.js.map +0 -1
- package/dist/client/bot-runner.d.ts +0 -35
- package/dist/client/bot-runner.d.ts.map +0 -1
- package/dist/client/bot-runner.js +0 -188
- package/dist/client/bot-runner.js.map +0 -1
- package/dist/client/chat-agent-daemon.d.ts +0 -464
- package/dist/client/chat-agent-daemon.d.ts.map +0 -1
- package/dist/client/chat-agent-daemon.js +0 -1774
- package/dist/client/chat-agent-daemon.js.map +0 -1
- package/dist/client/daemon-factory.d.ts +0 -106
- package/dist/client/daemon-factory.d.ts.map +0 -1
- package/dist/client/daemon-factory.js +0 -301
- package/dist/client/daemon-factory.js.map +0 -1
- package/dist/client/factory.d.ts +0 -111
- package/dist/client/factory.d.ts.map +0 -1
- package/dist/client/factory.js +0 -314
- package/dist/client/factory.js.map +0 -1
- package/dist/client/index.d.ts +0 -17
- package/dist/client/index.d.ts.map +0 -1
- package/dist/client/index.js +0 -38
- package/dist/client/index.js.map +0 -1
- package/dist/client/multi-bot-manager.d.ts +0 -42
- package/dist/client/multi-bot-manager.d.ts.map +0 -1
- package/dist/client/multi-bot-manager.js +0 -161
- package/dist/client/multi-bot-manager.js.map +0 -1
- package/dist/client/orchestrator-daemon.d.ts +0 -87
- package/dist/client/orchestrator-daemon.d.ts.map +0 -1
- package/dist/client/orchestrator-daemon.js +0 -444
- package/dist/client/orchestrator-daemon.js.map +0 -1
- package/dist/client/server.d.ts +0 -8
- package/dist/client/server.d.ts.map +0 -1
- package/dist/client/server.js +0 -251
- package/dist/client/server.js.map +0 -1
- package/dist/client/services/agent-registry.d.ts +0 -108
- package/dist/client/services/agent-registry.d.ts.map +0 -1
- package/dist/client/services/agent-registry.js +0 -630
- package/dist/client/services/agent-registry.js.map +0 -1
- package/dist/client/services/conversation-manager.d.ts +0 -50
- package/dist/client/services/conversation-manager.d.ts.map +0 -1
- package/dist/client/services/conversation-manager.js +0 -136
- package/dist/client/services/conversation-manager.js.map +0 -1
- package/dist/client/services/mcp-client.d.ts +0 -48
- package/dist/client/services/mcp-client.d.ts.map +0 -1
- package/dist/client/services/mcp-client.js +0 -105
- package/dist/client/services/mcp-client.js.map +0 -1
- package/dist/client/services/message-classifier.d.ts +0 -37
- package/dist/client/services/message-classifier.d.ts.map +0 -1
- package/dist/client/services/message-classifier.js +0 -187
- package/dist/client/services/message-classifier.js.map +0 -1
- package/dist/client/services/message-formatter.d.ts +0 -84
- package/dist/client/services/message-formatter.d.ts.map +0 -1
- package/dist/client/services/message-formatter.js +0 -353
- package/dist/client/services/message-formatter.js.map +0 -1
- package/dist/client/services/session-logger.d.ts +0 -106
- package/dist/client/services/session-logger.d.ts.map +0 -1
- package/dist/client/services/session-logger.js +0 -446
- package/dist/client/services/session-logger.js.map +0 -1
- package/dist/client/services/tool-executor.d.ts +0 -41
- package/dist/client/services/tool-executor.d.ts.map +0 -1
- package/dist/client/services/tool-executor.js +0 -169
- package/dist/client/services/tool-executor.js.map +0 -1
- package/dist/client/services/workspace-schema-cache.d.ts +0 -149
- package/dist/client/services/workspace-schema-cache.d.ts.map +0 -1
- package/dist/client/services/workspace-schema-cache.js +0 -732
- package/dist/client/services/workspace-schema-cache.js.map +0 -1
- package/dist/client/specialist-daemon.d.ts +0 -77
- package/dist/client/specialist-daemon.d.ts.map +0 -1
- package/dist/client/specialist-daemon.js +0 -197
- package/dist/client/specialist-daemon.js.map +0 -1
- package/dist/client/specialists.d.ts +0 -53
- package/dist/client/specialists.d.ts.map +0 -1
- package/dist/client/specialists.js +0 -178
- package/dist/client/specialists.js.map +0 -1
- package/dist/client/tool-schema-loader.d.ts +0 -62
- package/dist/client/tool-schema-loader.d.ts.map +0 -1
- package/dist/client/tool-schema-loader.js +0 -232
- package/dist/client/tool-schema-loader.js.map +0 -1
- package/dist/client/types.d.ts +0 -327
- package/dist/client/types.d.ts.map +0 -1
- package/dist/client/types.js +0 -121
- package/dist/client/types.js.map +0 -1
- package/dist/commands/seed-config.d.ts +0 -9
- package/dist/commands/seed-config.d.ts.map +0 -1
- package/dist/commands/seed-config.js +0 -377
- package/dist/commands/seed-config.js.map +0 -1
- package/dist/commands/setup.d.ts +0 -11
- package/dist/commands/setup.d.ts.map +0 -1
- package/dist/commands/setup.js +0 -320
- package/dist/commands/setup.js.map +0 -1
- package/dist/lib/discussion-lock.d.ts +0 -42
- package/dist/lib/discussion-lock.d.ts.map +0 -1
- package/dist/lib/discussion-lock.js +0 -110
- package/dist/lib/discussion-lock.js.map +0 -1
- package/dist/mcp/signal-handler.d.ts +0 -82
- package/dist/mcp/signal-handler.d.ts.map +0 -1
- package/dist/mcp/signal-handler.js +0 -406
- package/dist/mcp/signal-handler.js.map +0 -1
- package/dist/mcp/tools/__tests__/discussion-forward.test.d.ts +0 -2
- package/dist/mcp/tools/__tests__/discussion-forward.test.d.ts.map +0 -1
- package/dist/mcp/tools/__tests__/discussion-forward.test.js +0 -218
- package/dist/mcp/tools/__tests__/discussion-forward.test.js.map +0 -1
- package/dist/mcp/tools/app-member.d.ts +0 -14
- package/dist/mcp/tools/app-member.d.ts.map +0 -1
- package/dist/mcp/tools/app-member.js +0 -195
- package/dist/mcp/tools/app-member.js.map +0 -1
- package/dist/mcp/tools/app-scaffold.d.ts +0 -14
- package/dist/mcp/tools/app-scaffold.d.ts.map +0 -1
- package/dist/mcp/tools/app-scaffold.js +0 -581
- package/dist/mcp/tools/app-scaffold.js.map +0 -1
- package/dist/mcp/tools/bot-config/constants.d.ts +0 -23
- package/dist/mcp/tools/bot-config/constants.d.ts.map +0 -1
- package/dist/mcp/tools/bot-config/constants.js +0 -94
- package/dist/mcp/tools/bot-config/constants.js.map +0 -1
- package/dist/mcp/tools/bot-config/core.d.ts +0 -253
- package/dist/mcp/tools/bot-config/core.d.ts.map +0 -1
- package/dist/mcp/tools/bot-config/core.js +0 -2456
- package/dist/mcp/tools/bot-config/core.js.map +0 -1
- package/dist/mcp/tools/bot-config/index.d.ts +0 -10
- package/dist/mcp/tools/bot-config/index.d.ts.map +0 -1
- package/dist/mcp/tools/bot-config/index.js +0 -59
- package/dist/mcp/tools/bot-config/index.js.map +0 -1
- package/dist/mcp/tools/bot-config/tools.d.ts +0 -7
- package/dist/mcp/tools/bot-config/tools.d.ts.map +0 -1
- package/dist/mcp/tools/bot-config/tools.js +0 -15
- package/dist/mcp/tools/bot-config/tools.js.map +0 -1
- package/dist/mcp/tools/bot-config/types.d.ts +0 -50
- package/dist/mcp/tools/bot-config/types.d.ts.map +0 -1
- package/dist/mcp/tools/bot-config/types.js +0 -6
- package/dist/mcp/tools/bot-config/types.js.map +0 -1
- package/dist/mcp/tools/bug-fixer-tools.d.ts +0 -45
- package/dist/mcp/tools/bug-fixer-tools.d.ts.map +0 -1
- package/dist/mcp/tools/bug-fixer-tools.js +0 -1096
- package/dist/mcp/tools/bug-fixer-tools.js.map +0 -1
- package/dist/mcp/tools/document.d.ts +0 -11
- package/dist/mcp/tools/document.d.ts.map +0 -1
- package/dist/mcp/tools/document.js +0 -741
- package/dist/mcp/tools/document.js.map +0 -1
- package/dist/mcp/tools/investigate.d.ts +0 -9
- package/dist/mcp/tools/investigate.d.ts.map +0 -1
- package/dist/mcp/tools/investigate.js +0 -254
- package/dist/mcp/tools/investigate.js.map +0 -1
- package/dist/mcp/utils/pagination.d.ts +0 -40
- package/dist/mcp/utils/pagination.d.ts.map +0 -1
- package/dist/mcp/utils/pagination.js +0 -55
- package/dist/mcp/utils/pagination.js.map +0 -1
- package/dist/modules/bug-reports/bug-config.d.ts +0 -25
- package/dist/modules/bug-reports/bug-config.d.ts.map +0 -1
- package/dist/modules/bug-reports/bug-config.js +0 -187
- package/dist/modules/bug-reports/bug-config.js.map +0 -1
- package/dist/modules/bug-reports/bug-monitor.d.ts +0 -108
- package/dist/modules/bug-reports/bug-monitor.d.ts.map +0 -1
- package/dist/modules/bug-reports/bug-monitor.js +0 -510
- package/dist/modules/bug-reports/bug-monitor.js.map +0 -1
- package/dist/modules/bug-reports/giuseppe-agent.d.ts +0 -58
- package/dist/modules/bug-reports/giuseppe-agent.d.ts.map +0 -1
- package/dist/modules/bug-reports/giuseppe-agent.js +0 -467
- package/dist/modules/bug-reports/giuseppe-agent.js.map +0 -1
- package/dist/modules/bug-reports/giuseppe-ai.d.ts +0 -83
- package/dist/modules/bug-reports/giuseppe-ai.d.ts.map +0 -1
- package/dist/modules/bug-reports/giuseppe-ai.js +0 -466
- package/dist/modules/bug-reports/giuseppe-ai.js.map +0 -1
- package/dist/modules/bug-reports/giuseppe-bot.d.ts +0 -110
- package/dist/modules/bug-reports/giuseppe-bot.d.ts.map +0 -1
- package/dist/modules/bug-reports/giuseppe-bot.js +0 -804
- package/dist/modules/bug-reports/giuseppe-bot.js.map +0 -1
- package/dist/modules/bug-reports/giuseppe-daemon.d.ts +0 -80
- package/dist/modules/bug-reports/giuseppe-daemon.d.ts.map +0 -1
- package/dist/modules/bug-reports/giuseppe-daemon.js +0 -617
- package/dist/modules/bug-reports/giuseppe-daemon.js.map +0 -1
- package/dist/modules/bug-reports/giuseppe-files.d.ts +0 -64
- package/dist/modules/bug-reports/giuseppe-files.d.ts.map +0 -1
- package/dist/modules/bug-reports/giuseppe-files.js +0 -375
- package/dist/modules/bug-reports/giuseppe-files.js.map +0 -1
- package/dist/modules/bug-reports/giuseppe-git.d.ts +0 -48
- package/dist/modules/bug-reports/giuseppe-git.d.ts.map +0 -1
- package/dist/modules/bug-reports/giuseppe-git.js +0 -298
- package/dist/modules/bug-reports/giuseppe-git.js.map +0 -1
- package/dist/modules/bug-reports/giuseppe-lsp.d.ts +0 -113
- package/dist/modules/bug-reports/giuseppe-lsp.d.ts.map +0 -1
- package/dist/modules/bug-reports/giuseppe-lsp.js +0 -485
- package/dist/modules/bug-reports/giuseppe-lsp.js.map +0 -1
- package/dist/modules/bug-reports/giuseppe-prompt.d.ts +0 -5
- package/dist/modules/bug-reports/giuseppe-prompt.d.ts.map +0 -1
- package/dist/modules/bug-reports/giuseppe-prompt.js +0 -94
- package/dist/modules/bug-reports/giuseppe-prompt.js.map +0 -1
- package/dist/modules/bug-reports/index.d.ts +0 -77
- package/dist/modules/bug-reports/index.d.ts.map +0 -1
- package/dist/modules/bug-reports/index.js +0 -215
- package/dist/modules/bug-reports/index.js.map +0 -1
- package/dist/modules/bug-reports/pending-classification-registry.d.ts +0 -28
- package/dist/modules/bug-reports/pending-classification-registry.d.ts.map +0 -1
- package/dist/modules/bug-reports/pending-classification-registry.js +0 -50
- package/dist/modules/bug-reports/pending-classification-registry.js.map +0 -1
- package/dist/modules/bug-reports/pending-fix-registry.d.ts +0 -30
- package/dist/modules/bug-reports/pending-fix-registry.d.ts.map +0 -1
- package/dist/modules/bug-reports/pending-fix-registry.js +0 -42
- package/dist/modules/bug-reports/pending-fix-registry.js.map +0 -1
- package/dist/modules/bug-reports/pending-registry.d.ts +0 -27
- package/dist/modules/bug-reports/pending-registry.d.ts.map +0 -1
- package/dist/modules/bug-reports/pending-registry.js +0 -49
- package/dist/modules/bug-reports/pending-registry.js.map +0 -1
- package/dist/modules/bug-reports/types.d.ts +0 -123
- package/dist/modules/bug-reports/types.d.ts.map +0 -1
- package/dist/modules/bug-reports/types.js +0 -9
- package/dist/modules/bug-reports/types.js.map +0 -1
- package/dist/plugins/bug-fixer/index.d.ts +0 -2
- package/dist/plugins/bug-fixer/index.d.ts.map +0 -1
- package/dist/plugins/bug-fixer/index.js +0 -18
- package/dist/plugins/bug-fixer/index.js.map +0 -1
- package/dist/plugins/bug-fixer/tools.d.ts +0 -45
- package/dist/plugins/bug-fixer/tools.d.ts.map +0 -1
- package/dist/plugins/bug-fixer/tools.js +0 -1096
- package/dist/plugins/bug-fixer/tools.js.map +0 -1
- package/dist/plugins/vipunen/__tests__/tools.test.d.ts +0 -10
- package/dist/plugins/vipunen/__tests__/tools.test.d.ts.map +0 -1
- package/dist/plugins/vipunen/__tests__/tools.test.js +0 -646
- package/dist/plugins/vipunen/__tests__/tools.test.js.map +0 -1
- package/dist/routes/agents.d.ts +0 -44
- package/dist/routes/agents.d.ts.map +0 -1
- package/dist/routes/agents.js +0 -311
- package/dist/routes/agents.js.map +0 -1
- package/dist/services/agent-credential-store.d.ts +0 -73
- package/dist/services/agent-credential-store.d.ts.map +0 -1
- package/dist/services/agent-credential-store.js +0 -212
- package/dist/services/agent-credential-store.js.map +0 -1
- package/dist/stdio-server.d.ts +0 -14
- package/dist/stdio-server.d.ts.map +0 -1
- package/dist/stdio-server.js +0 -101
- package/dist/stdio-server.js.map +0 -1
- package/dist/workspace/context.d.ts +0 -148
- package/dist/workspace/context.d.ts.map +0 -1
- package/dist/workspace/context.js +0 -339
- package/dist/workspace/context.js.map +0 -1
- package/dist/workspace/credentials.d.ts +0 -55
- package/dist/workspace/credentials.d.ts.map +0 -1
- package/dist/workspace/credentials.js +0 -239
- package/dist/workspace/credentials.js.map +0 -1
- package/dist/workspace/index.d.ts +0 -21
- package/dist/workspace/index.d.ts.map +0 -1
- package/dist/workspace/index.js +0 -45
- package/dist/workspace/index.js.map +0 -1
- package/dist/workspace/loader.d.ts +0 -27
- package/dist/workspace/loader.d.ts.map +0 -1
- package/dist/workspace/loader.js +0 -222
- package/dist/workspace/loader.js.map +0 -1
- package/dist/workspace/schema.d.ts +0 -37
- package/dist/workspace/schema.d.ts.map +0 -1
- package/dist/workspace/schema.js +0 -192
- package/dist/workspace/schema.js.map +0 -1
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Run parallel security and permissions audit
|
|
3
|
-
argument-hint: [files, app name, or blank for full audit]
|
|
4
|
-
allowed-tools: Task, Bash
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Audit Squad
|
|
8
|
-
|
|
9
|
-
Parallel security and permissions audit: code hardening, access control verification, and MCP tool validation.
|
|
10
|
-
|
|
11
|
-
**Roles:**
|
|
12
|
-
- **Code Reviewer** - Code review (hardcoded secrets, injection vulnerabilities, insecure patterns, OWASP top 10)
|
|
13
|
-
- **Permissions Auditor** - Access control audit (effective permissions, team access levels, permission matrix)
|
|
14
|
-
- **Tool Security Auditor** - MCP tools security (input validation, data exposure, security best practices)
|
|
15
|
-
|
|
16
|
-
**Target:** $ARGUMENTS (if blank, use full project scope)
|
|
17
|
-
|
|
18
|
-
**Scope options:**
|
|
19
|
-
- Specific files or directory path
|
|
20
|
-
- App name (checks that app's code and permissions)
|
|
21
|
-
- Blank for full project audit
|
|
22
|
-
|
|
23
|
-
## Protocol
|
|
24
|
-
|
|
25
|
-
### Step 1: Determine Target
|
|
26
|
-
|
|
27
|
-
If `$ARGUMENTS` has specific files/directories or app name, use those.
|
|
28
|
-
Otherwise, scope is the entire project (workspace/ + apps/ + integrations/).
|
|
29
|
-
|
|
30
|
-
If `$ARGUMENTS` contains `--code-only`:
|
|
31
|
-
- Remove flag from target
|
|
32
|
-
- Skip Permissions Auditor and Tool Security Auditor in Step 2
|
|
33
|
-
|
|
34
|
-
If `$ARGUMENTS` contains `--permissions-only`:
|
|
35
|
-
- Remove flag from target
|
|
36
|
-
- Skip Code Reviewer and Tool Security Auditor in Step 2
|
|
37
|
-
|
|
38
|
-
If `$ARGUMENTS` contains `--bg`:
|
|
39
|
-
- Launch all agents in background mode
|
|
40
|
-
|
|
41
|
-
### Step 2: Launch Audit Agents in Parallel
|
|
42
|
-
|
|
43
|
-
Spawn all applicable agents simultaneously using multiple Task tool calls in a single message:
|
|
44
|
-
|
|
45
|
-
**Code Reviewer:**
|
|
46
|
-
```
|
|
47
|
-
Task(prompt="Security audit of these files: [TARGET]. Focus on: hardcoded secrets, API keys, credentials, injection vulnerabilities (SQL/XSS/Command), insecure crypto usage, missing input validation, OWASP Top 10 issues, unsafe deserialization, missing authentication/authorization checks. Return verdict (PASS/FAIL), critical count, and detailed findings per file.")
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
**Permissions Auditor:**
|
|
51
|
-
```
|
|
52
|
-
Task(prompt="Load hailer-permissions-system skill for understanding the permissions model.\n\nAudit access control for the entire project. Map effective permissions: who has access to which apps, which teams have what access levels, which users are admins, workspace-wide versus app-specific permissions. Produce a permission matrix showing [User/Team] → [App] → [Access Level]. Flag any excessive or unclear permissions.")
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**Tool Security Auditor:**
|
|
56
|
-
```
|
|
57
|
-
Task(prompt="Load tool-builder skill for understanding MCP tool patterns.\n\nSecurity audit of custom MCP tools (if any exist in src/mcp/tools/). Verify: input validation with Zod schemas, no unintended data exposure, proper error handling, rate limiting awareness, secure defaults. Report security posture per tool. If no custom tools exist, report that.")
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### Step 3: Categorize and Aggregate Results
|
|
61
|
-
|
|
62
|
-
Collect results from all agents. Categorize findings into three tiers:
|
|
63
|
-
|
|
64
|
-
**CRITICAL:**
|
|
65
|
-
- Hardcoded secrets/credentials
|
|
66
|
-
- SQL injection, XSS, command injection vulnerabilities
|
|
67
|
-
- Authentication/authorization bypasses
|
|
68
|
-
- Excessive uncontrolled permissions
|
|
69
|
-
- MCP tools exposing sensitive data
|
|
70
|
-
|
|
71
|
-
**WARNING:**
|
|
72
|
-
- Weak crypto usage
|
|
73
|
-
- Missing input sanitization
|
|
74
|
-
- Unclear permission delegations
|
|
75
|
-
- Unvalidated MCP tool inputs
|
|
76
|
-
- Missing rate limiting on tools
|
|
77
|
-
|
|
78
|
-
**INFO:**
|
|
79
|
-
- Best practice improvements
|
|
80
|
-
- Code hardening suggestions
|
|
81
|
-
- Permission clarity recommendations
|
|
82
|
-
|
|
83
|
-
### Step 4: Report
|
|
84
|
-
|
|
85
|
-
```markdown
|
|
86
|
-
## Audit Squad Report
|
|
87
|
-
|
|
88
|
-
### Scope
|
|
89
|
-
[What was audited]
|
|
90
|
-
|
|
91
|
-
### Overall Security Posture
|
|
92
|
-
[Rating: PASS / WARNING / CRITICAL]
|
|
93
|
-
- Critical findings: X
|
|
94
|
-
- Warnings: X
|
|
95
|
-
- Info items: X
|
|
96
|
-
|
|
97
|
-
### Code Reviewer
|
|
98
|
-
**Verdict:** PASS / FAIL / WARNINGS
|
|
99
|
-
- Critical: X [list]
|
|
100
|
-
- Warnings: X [list]
|
|
101
|
-
- Info: X [list]
|
|
102
|
-
- Files affected: [grouped summary]
|
|
103
|
-
|
|
104
|
-
### Permissions Auditor
|
|
105
|
-
**Matrix Status:** [OK / EXCESSIVE / UNCLEAR]
|
|
106
|
-
- Total apps: X
|
|
107
|
-
- Total teams: X
|
|
108
|
-
- Users with admin access: X
|
|
109
|
-
- Flagged permissions: [list]
|
|
110
|
-
- [Permission matrix if findings exist]
|
|
111
|
-
|
|
112
|
-
### Tool Security Auditor
|
|
113
|
-
**Status:** [No tools / PASS / WARNINGS / CRITICAL]
|
|
114
|
-
[If tools exist:]
|
|
115
|
-
- Tools audited: X
|
|
116
|
-
- Input validation issues: X
|
|
117
|
-
- Data exposure risks: X
|
|
118
|
-
- Best practice gaps: X
|
|
119
|
-
|
|
120
|
-
### Findings by Severity
|
|
121
|
-
|
|
122
|
-
#### CRITICAL (Require Immediate Action)
|
|
123
|
-
[List all critical findings with file/tool and remediation steps]
|
|
124
|
-
|
|
125
|
-
#### WARNING (Address in Next Sprint)
|
|
126
|
-
[List all warnings with context]
|
|
127
|
-
|
|
128
|
-
#### INFO (Consider for Hardening)
|
|
129
|
-
[List informational recommendations]
|
|
130
|
-
|
|
131
|
-
### Remediation Checklist
|
|
132
|
-
- [ ] [Critical issue 1]: [Action]
|
|
133
|
-
- [ ] [Critical issue 2]: [Action]
|
|
134
|
-
- [ ] [Warning 1]: [Action]
|
|
135
|
-
|
|
136
|
-
### Summary
|
|
137
|
-
[1-2 sentence overall assessment of security posture and next steps]
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
If any agent fails or times out, report partial results from successful agents, note which failed, and offer to re-run individually.
|
|
141
|
-
|
|
142
|
-
## Options
|
|
143
|
-
|
|
144
|
-
| Flag | Effect |
|
|
145
|
-
|------|--------|
|
|
146
|
-
| `--code-only` | Skip permissions and MCP tools (code review only, faster) |
|
|
147
|
-
| `--permissions-only` | Skip code review and MCP tools (permissions matrix only) |
|
|
148
|
-
| `--bg` | Run all agents in background mode |
|
|
149
|
-
|
|
150
|
-
If `--bg` is present, launch all agents with `run_in_background: true` and tell the user they'll be notified when complete.
|
|
151
|
-
|
|
152
|
-
## Notes
|
|
153
|
-
|
|
154
|
-
- Default scope is full project if no arguments provided
|
|
155
|
-
- Code Reviewer focuses on secrets and injection attacks; general code quality is separate (/review-squad)
|
|
156
|
-
- Permissions Auditor is organization-wide - includes team and app-level settings
|
|
157
|
-
- Tool Security Auditor only validates if custom MCP tools exist in the project
|
|
158
|
-
- Critical findings should block deployment; warnings should be tracked for next sprint
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Clean up codebase with config audit, code simplification, and dead code detection
|
|
3
|
-
argument-hint: [files, directory, or blank for recent changes]
|
|
4
|
-
allowed-tools: Task, Bash
|
|
5
|
-
---
|
|
6
|
-
# Cleanup Squad
|
|
7
|
-
|
|
8
|
-
Run parallel codebase cleanup using three agents simultaneously.
|
|
9
|
-
|
|
10
|
-
**Roles:**
|
|
11
|
-
- **Config Auditor** - Configuration audit (verify CLAUDE.md, hooks, workspace structure)
|
|
12
|
-
- **Code Simplifier** - Refactor (improve code clarity and maintainability)
|
|
13
|
-
- **Dead Code Inspector** - Dead code detection (find unused imports, dead code, type errors)
|
|
14
|
-
|
|
15
|
-
**Target:** $ARGUMENTS (if blank, use recent git changes)
|
|
16
|
-
|
|
17
|
-
**Changed files (auto-injected):**
|
|
18
|
-
!git diff --name-only HEAD
|
|
19
|
-
|
|
20
|
-
## Protocol
|
|
21
|
-
|
|
22
|
-
### Step 1: Determine Target
|
|
23
|
-
|
|
24
|
-
If `$ARGUMENTS` has specific files/directories, use those.
|
|
25
|
-
Otherwise, use the changed files list above as the target.
|
|
26
|
-
|
|
27
|
-
If `$ARGUMENTS` contains `--skip-config`:
|
|
28
|
-
- Remove flag from target
|
|
29
|
-
- Skip Config Auditor in Step 2
|
|
30
|
-
|
|
31
|
-
If `$ARGUMENTS` contains `--skip-dead-code`:
|
|
32
|
-
- Remove flag from target
|
|
33
|
-
- Skip Dead Code Inspector in Step 2
|
|
34
|
-
|
|
35
|
-
### Step 2: Launch Agents in Parallel
|
|
36
|
-
|
|
37
|
-
Spawn all agents simultaneously using multiple Task tool calls in a single message:
|
|
38
|
-
|
|
39
|
-
**Config Auditor:**
|
|
40
|
-
```
|
|
41
|
-
Task(prompt="Audit codebase configuration for: [TARGET]. Check:\n- CLAUDE.md accuracy and completeness\n- Hook configurations\n- Workspace structure\n- Agent definitions\n\nReturn list of issues found with severity levels.")
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
**Code Simplifier:**
|
|
45
|
-
```
|
|
46
|
-
Task(prompt="Refactor these files for clarity and maintainability: [TARGET]. Focus on:\n- Variable naming\n- Function complexity\n- Comment clarity\n- Code organization\n\nReturn refactoring suggestions with before/after examples.")
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
**Dead Code Inspector:**
|
|
50
|
-
```
|
|
51
|
-
Task(prompt="Load lsp-setup skill for code inspection.\n\nInspect these files for dead code: [TARGET]. Find:\n- Unused imports\n- Unreachable code\n- Unused variables\n- Type errors\n\nUse LSP if available. Return detailed list grouped by file.")
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Step 3: Aggregate Results
|
|
55
|
-
|
|
56
|
-
Compile a unified cleanup report:
|
|
57
|
-
|
|
58
|
-
```markdown
|
|
59
|
-
## Cleanup Squad Report
|
|
60
|
-
|
|
61
|
-
### Config Auditor
|
|
62
|
-
- Issues found: X
|
|
63
|
-
- Critical: X
|
|
64
|
-
- Warnings: X
|
|
65
|
-
- [Issues grouped by category]
|
|
66
|
-
|
|
67
|
-
### Code Simplifier
|
|
68
|
-
- Files analyzed: X
|
|
69
|
-
- Refactoring suggestions: X
|
|
70
|
-
- [Suggestions grouped by file]
|
|
71
|
-
|
|
72
|
-
### Dead Code Inspector
|
|
73
|
-
- Unused imports: X
|
|
74
|
-
- Dead code blocks: X
|
|
75
|
-
- Type errors: X
|
|
76
|
-
- [Details grouped by file]
|
|
77
|
-
|
|
78
|
-
### Summary
|
|
79
|
-
[Overall assessment of codebase health]
|
|
80
|
-
[Prioritized action items]
|
|
81
|
-
|
|
82
|
-
### Recommended Order
|
|
83
|
-
1. [Fix critical config issues first]
|
|
84
|
-
2. [Remove dead code]
|
|
85
|
-
3. [Apply refactoring suggestions]
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
If any agent fails or times out, report partial results from successful agents, note which failed, and offer to re-run individually.
|
|
89
|
-
|
|
90
|
-
## Options
|
|
91
|
-
|
|
92
|
-
| Flag | Effect |
|
|
93
|
-
|------|--------|
|
|
94
|
-
| `--skip-config` | Skip Config Auditor (faster, no config validation) |
|
|
95
|
-
| `--skip-dead-code` | Skip Dead Code Inspector (when LSP not configured) |
|
|
96
|
-
| `--bg` | Run all agents in background mode |
|
|
97
|
-
|
|
98
|
-
If `--bg` is present, launch all agents with `run_in_background: true` and tell the user they'll be notified when complete.
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Set up workflow config with infrastructure, functions, and insights
|
|
3
|
-
argument-hint: "workflow/config description"
|
|
4
|
-
allowed-tools: Task, Bash, Read
|
|
5
|
-
---
|
|
6
|
-
# Config Squad
|
|
7
|
-
|
|
8
|
-
Sequential pipeline: Create workflow infrastructure, then calculated fields, then insights.
|
|
9
|
-
|
|
10
|
-
**Roles:**
|
|
11
|
-
1. **Workflow Config** - Workflow configuration (fields, phases, teams, groups)
|
|
12
|
-
2. **Function Fields** - Calculated fields and nameFunction
|
|
13
|
-
3. **SQL Insights** - SQL insights for reporting
|
|
14
|
-
|
|
15
|
-
**Goal:** $ARGUMENTS
|
|
16
|
-
|
|
17
|
-
## Protocol
|
|
18
|
-
|
|
19
|
-
### Step 1: Understand Scope
|
|
20
|
-
|
|
21
|
-
Parse `$ARGUMENTS` to determine what's needed:
|
|
22
|
-
|
|
23
|
-
| Keyword | Steps to Run |
|
|
24
|
-
|---------|-------------|
|
|
25
|
-
| "workflow", "fields", "phases" | Workflow Config (+ Function Fields if calculated fields mentioned) |
|
|
26
|
-
| "insight", "report", "dashboard" | SQL Insights (may need schema discovery first) |
|
|
27
|
-
| "function", "calculated", "nameFunction" | Function Fields only |
|
|
28
|
-
| General description | All three in sequence |
|
|
29
|
-
|
|
30
|
-
If scope is unclear, use AskUserQuestion:
|
|
31
|
-
- What workflow(s) does this involve?
|
|
32
|
-
- Do you need calculated fields?
|
|
33
|
-
- Do you need reports/insights?
|
|
34
|
-
|
|
35
|
-
If `$ARGUMENTS` contains `--skip-insights`: skip SQL Insights step.
|
|
36
|
-
If `$ARGUMENTS` contains `--skip-functions`: skip Function Fields step.
|
|
37
|
-
|
|
38
|
-
### Step 2: Workflow Config
|
|
39
|
-
|
|
40
|
-
Spawn a workflow config agent:
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
Task(prompt="Load sdk-ws-config-skill for understanding workspace configuration.\n\n$ARGUMENTS")
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Wait for result. If the agent returns `"status": "ready_to_push"`:
|
|
47
|
-
- Run the push commands it provides (e.g., `npm run fields-push:force`)
|
|
48
|
-
- Then run `npm run pull` to refresh local workspace with new IDs
|
|
49
|
-
|
|
50
|
-
**Important:** The workflow config agent ALWAYS spawns a function fields agent for nameFunction after creating a workflow. Check the result - if it reports the function fields agent created the nameFunction and all needed function fields, skip Step 3. Only proceed to Step 3 if additional function fields are needed beyond what was already created.
|
|
51
|
-
|
|
52
|
-
### Step 3: Function Fields
|
|
53
|
-
|
|
54
|
-
Only if function fields or nameFunction are needed and weren't handled in Step 2.
|
|
55
|
-
|
|
56
|
-
Spawn a function fields agent:
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
Task(prompt="Load sdk-function-fields and sdk-ws-config-skill skills for creating calculated fields.\n\nCreate function fields for: $ARGUMENTS. Workflow config agent created these workflows: [SUMMARIZE STEP 2 RESULT - workflow names and any IDs returned]. Read workspace/ to discover field IDs and types. New fields created in Step 2: [LIST FROM STEP 2 RESULT IF ANY].")
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Wait for result. If `"status": "ready_to_push"`:
|
|
63
|
-
- Run the push commands
|
|
64
|
-
|
|
65
|
-
### Step 4: SQL Insights
|
|
66
|
-
|
|
67
|
-
Only if reporting/insights are needed.
|
|
68
|
-
|
|
69
|
-
Spawn an SQL insights agent:
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
Task(prompt="Load sdk-insight-queries and sdk-ws-config-skill skills for building insights.\n\nCreate insights for: $ARGUMENTS. Read workspace/ to discover workflow IDs and field IDs for SQL queries. Workflow config agent created: [SUMMARIZE STEP 2 RESULT].")
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
Wait for result. If `"status": "ready_to_push"`:
|
|
76
|
-
- Run the push commands (e.g., `npm run insights-push:force`)
|
|
77
|
-
|
|
78
|
-
### Step 5: Report
|
|
79
|
-
|
|
80
|
-
```markdown
|
|
81
|
-
## Config Squad Complete
|
|
82
|
-
|
|
83
|
-
### Workflow Config
|
|
84
|
-
- Workflows: [created/modified]
|
|
85
|
-
- Fields: [count]
|
|
86
|
-
- Phases: [count]
|
|
87
|
-
- Commands run: [list]
|
|
88
|
-
|
|
89
|
-
### Function Fields
|
|
90
|
-
- Function fields: [list with formulas]
|
|
91
|
-
- Name function: [pattern]
|
|
92
|
-
- Skipped: [reason if skipped]
|
|
93
|
-
|
|
94
|
-
### SQL Insights
|
|
95
|
-
- Insights: [list with descriptions]
|
|
96
|
-
- Skipped: [reason if skipped]
|
|
97
|
-
|
|
98
|
-
### Workspace State
|
|
99
|
-
Run `npm run pull` to ensure workspace/ is up to date.
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
## Notes
|
|
103
|
-
|
|
104
|
-
- Each agent in the pipeline needs IDs from the previous step. Always `npm run pull` between steps.
|
|
105
|
-
- Workflow config auto-spawns function fields agent for nameFunction - check the output before spawning separately.
|
|
106
|
-
- SQL insights agent needs real field IDs for SQL queries - never let it guess.
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create, update, or manage activities with schema discovery and CRUD operations
|
|
3
|
-
argument-hint: "what to create/update and in which workflow"
|
|
4
|
-
allowed-tools: Task, Bash, Read
|
|
5
|
-
---
|
|
6
|
-
# CRUD Squad
|
|
7
|
-
|
|
8
|
-
Sequential pipeline: Discover schema, execute CRUD operations, verify results.
|
|
9
|
-
|
|
10
|
-
**Roles:**
|
|
11
|
-
1. **Data Reader** - Schema discovery + pre-read existing data
|
|
12
|
-
2. **Activity Writer** - Create/update activities
|
|
13
|
-
3. **Data Reader** - Verify results (count/list after changes)
|
|
14
|
-
|
|
15
|
-
**Goal:** $ARGUMENTS
|
|
16
|
-
|
|
17
|
-
## Protocol
|
|
18
|
-
|
|
19
|
-
### Step 1: Schema Discovery
|
|
20
|
-
|
|
21
|
-
Discover workflow schema and existing data relevant to the task:
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
Task(prompt="Load sdk-ws-config-skill and sdk-activity-patterns skills for data operations.\n\nFor this task: $ARGUMENTS\n\n1. List the relevant workflow(s) with field IDs, types, and dropdown/enum options\n2. List phases and their IDs\n3. If updating existing activities: list the activities that match (include their IDs)\n4. If creating new activities: show a sample existing activity so we know the expected field format")
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Wait for result. This gives the activity writer the real IDs and field formats.
|
|
28
|
-
|
|
29
|
-
### Step 2: CRUD Operations
|
|
30
|
-
|
|
31
|
-
Spawn an activity writer with full schema context:
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
Task(prompt="Load sdk-activity-patterns skill for activity creation and updates.\n\nTask: $ARGUMENTS\n\nWorkflow schema from data reader:\n[PASTE DATA READER OUTPUT - workflow ID, field IDs, types, phase IDs, enum options]\n\n[IF UPDATING: Target activities:\nPASTE ACTIVITY IDs AND CURRENT VALUES]\n\nExecute the CRUD operations using the correct field IDs and value formats.")
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Wait for result. Check for errors - if the activity writer reports validation failures, review field formats and retry once.
|
|
38
|
-
|
|
39
|
-
### Step 3: Verify Results
|
|
40
|
-
|
|
41
|
-
Skip if `--skip-verify` flag is set.
|
|
42
|
-
|
|
43
|
-
Verify the operations succeeded:
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
Task(prompt="Load sdk-ws-config-skill for data verification.\n\nVerify CRUD operations for: $ARGUMENTS\n\nExpected changes:\n[PASTE ACTIVITY WRITER OUTPUT - created/updated activity IDs]\n\nCount activities in the workflow and list the recently created/modified ones to confirm they exist with correct values.")
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Step 4: Report
|
|
50
|
-
|
|
51
|
-
```markdown
|
|
52
|
-
## CRUD Squad Complete
|
|
53
|
-
|
|
54
|
-
### Data Reader (Schema Discovery)
|
|
55
|
-
- Workflow: [name] ([id])
|
|
56
|
-
- Fields mapped: [count]
|
|
57
|
-
- Existing activities found: [count or "N/A"]
|
|
58
|
-
|
|
59
|
-
### Activity Writer (CRUD Operations)
|
|
60
|
-
- Created: [count] activities
|
|
61
|
-
- Updated: [count] activities
|
|
62
|
-
- Errors: [count or "none"]
|
|
63
|
-
|
|
64
|
-
### Data Reader (Verification)
|
|
65
|
-
- Activities confirmed: [count]
|
|
66
|
-
- Discrepancies: [list or "none"]
|
|
67
|
-
|
|
68
|
-
### Summary
|
|
69
|
-
[Brief description of what was done]
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Options
|
|
73
|
-
|
|
74
|
-
| Flag | Effect |
|
|
75
|
-
|------|--------|
|
|
76
|
-
| `--skip-verify` | Skip verification (trust Activity Writer's response) |
|
|
77
|
-
| `--skip-discovery` | Skip schema discovery (when you already know the workflow schema) |
|
|
78
|
-
| `--dry-run` | Run Data Reader discovery only, show what Activity Writer would do, but don't execute |
|
|
79
|
-
|
|
80
|
-
## Difference from Direct Activity Writer
|
|
81
|
-
|
|
82
|
-
| | Direct Activity Writer | CRUD Squad |
|
|
83
|
-
|---|---|---|
|
|
84
|
-
| **Schema context** | You must provide IDs manually | Data Reader discovers IDs automatically |
|
|
85
|
-
| **Verification** | Trust Activity Writer's response | Data Reader independently verifies |
|
|
86
|
-
| **Bulk ops** | Single prompt | Discovery → execute → verify pipeline |
|
|
87
|
-
| **Use when** | You already know exact IDs and format | "Create 5 customers" or "Update all overdue tasks" |
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Build reports with schema discovery, function fields, and insights
|
|
3
|
-
argument-hint: "report/dashboard description"
|
|
4
|
-
allowed-tools: Task, Bash, Read
|
|
5
|
-
---
|
|
6
|
-
# Data Squad
|
|
7
|
-
|
|
8
|
-
Sequential pipeline: Discover schema, create calculated fields if needed, then build insights.
|
|
9
|
-
|
|
10
|
-
**Roles:**
|
|
11
|
-
1. **Data Reader** - Schema discovery (workflow fields, types, IDs)
|
|
12
|
-
2. **Function Fields** - Calculated fields (if needed)
|
|
13
|
-
3. **SQL Insights** - SQL insights (queries, aggregations, reports)
|
|
14
|
-
|
|
15
|
-
**Goal:** $ARGUMENTS
|
|
16
|
-
|
|
17
|
-
## Protocol
|
|
18
|
-
|
|
19
|
-
### Step 1: Schema Discovery
|
|
20
|
-
|
|
21
|
-
Always start with schema discovery to get real IDs and field types:
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
Task(prompt="Load sdk-ws-config-skill for understanding workspace structure.\n\nList all workflows and their fields relevant to: $ARGUMENTS. Include field IDs, types, and dropdown options. Also list existing insights if any.")
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Wait for result. This gives the function fields and SQL insights agents the real IDs they need.
|
|
28
|
-
|
|
29
|
-
### Step 2: Check if Function Fields Needed
|
|
30
|
-
|
|
31
|
-
Review the schema discovery output. Function fields are needed when:
|
|
32
|
-
- The report needs **calculated values** not already in the schema (totals, percentages, date diffs)
|
|
33
|
-
- An existing function field needs modification
|
|
34
|
-
- A **nameFunction** is missing or needs updating
|
|
35
|
-
|
|
36
|
-
If no calculated fields needed, skip to Step 3.
|
|
37
|
-
|
|
38
|
-
If needed, spawn a function fields agent:
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
Task(prompt="Load sdk-function-fields and sdk-ws-config-skill skills for creating calculated fields.\n\nCreate function fields for: $ARGUMENTS.\n\nWorkflow schema from data reader:\n[PASTE SCHEMA DISCOVERY OUTPUT - workflow IDs, field IDs, types]\n\nCreate the calculated fields needed for this report.")
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Wait for result. If `"status": "ready_to_push"`:
|
|
45
|
-
- Run the push commands
|
|
46
|
-
- Run `npm run pull` to get new field IDs
|
|
47
|
-
|
|
48
|
-
### Step 3: SQL Insights
|
|
49
|
-
|
|
50
|
-
Spawn an SQL insights agent with full schema context:
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
Task(prompt="Load sdk-insight-queries and sdk-ws-config-skill skills for building insights.\n\nCreate insights for: $ARGUMENTS.\n\nWorkflow schema:\n[Data reader found these workflows and fields: SUMMARIZE SCHEMA DISCOVERY RESULT.]\n\n[IF FUNCTION FIELDS AGENT RAN: It created these function fields: SUMMARIZE FUNCTION FIELDS RESULT.]\n\nBuild SQL queries with correct field IDs. Never guess IDs.")
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Wait for result. If `"status": "ready_to_push"`:
|
|
57
|
-
- Run the push commands (e.g., `npm run insights-push:force`)
|
|
58
|
-
|
|
59
|
-
### Step 4: Report
|
|
60
|
-
|
|
61
|
-
```markdown
|
|
62
|
-
## Data Squad Complete
|
|
63
|
-
|
|
64
|
-
### Data Reader (Schema Discovery)
|
|
65
|
-
- Workflows found: [list]
|
|
66
|
-
- Fields mapped: [count]
|
|
67
|
-
- Existing insights: [list or "none"]
|
|
68
|
-
|
|
69
|
-
### Function Fields
|
|
70
|
-
- Created: [list with formulas]
|
|
71
|
-
- Skipped: [reason if not needed]
|
|
72
|
-
|
|
73
|
-
### SQL Insights
|
|
74
|
-
- Insights created: [list]
|
|
75
|
-
- Query summary: [brief description of each]
|
|
76
|
-
- Public: [yes/no for each]
|
|
77
|
-
|
|
78
|
-
### Next Steps
|
|
79
|
-
- Preview insights in Hailer
|
|
80
|
-
- Use insights as data source for apps (if needed)
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## Options
|
|
84
|
-
|
|
85
|
-
| Flag | Effect |
|
|
86
|
-
|------|--------|
|
|
87
|
-
| `--skip-functions` | Skip Function Fields step (when not needed) |
|
|
88
|
-
| `--skip-insights` | Skip SQL Insights step (when not needed) |
|
|
89
|
-
|
|
90
|
-
## Difference from Config Squad
|
|
91
|
-
|
|
92
|
-
| | Config Squad | Data Squad |
|
|
93
|
-
|---|---|---|
|
|
94
|
-
| **Starting point** | New workflow needed | Workflow already exists |
|
|
95
|
-
| **First agent** | Workflow Config (create workflow) | Data Reader (read existing schema) |
|
|
96
|
-
| **Focus** | Infrastructure setup | Reporting and analytics |
|
|
97
|
-
| **Use when** | "Create a Tasks workflow with..." | "Build a report showing..." |
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Document API endpoints with code analysis and documentation generation
|
|
3
|
-
argument-hint: "endpoint or module to document"
|
|
4
|
-
allowed-tools: Task, Bash
|
|
5
|
-
---
|
|
6
|
-
# Doc Squad
|
|
7
|
-
|
|
8
|
-
Sequential pipeline: Code analysis, then generate documentation.
|
|
9
|
-
|
|
10
|
-
**Roles:**
|
|
11
|
-
1. **Code Inspector** - LSP code analysis (inspect types, schemas, function signatures)
|
|
12
|
-
2. **Documentation Generator** - API documentation (generate endpoint docs from analysis)
|
|
13
|
-
|
|
14
|
-
**Goal:** $ARGUMENTS
|
|
15
|
-
|
|
16
|
-
## Protocol
|
|
17
|
-
|
|
18
|
-
### Step 1: Code Analysis
|
|
19
|
-
|
|
20
|
-
Spawn a code inspector to analyze code and extract types/schemas:
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
Task(prompt="Load lsp-setup skill for code inspection.\n\nInspect code for: $ARGUMENTS. Extract:\n- Function signatures\n- Type definitions\n- Return types\n- Parameter schemas\n- Joi/Zod validation rules\n\nUse LSP if available. Return structured analysis with types and schemas.")
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Wait for result. Save the analysis output - the documentation generator needs these type definitions.
|
|
27
|
-
|
|
28
|
-
### Step 2: Generate Documentation
|
|
29
|
-
|
|
30
|
-
Spawn a documentation generator with the code analysis:
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
Task(prompt="Load api-documentation-patterns skill for creating API documentation.\n\nGenerate API documentation for: $ARGUMENTS.\n\nCode analysis from code inspector:\n[PASTE CODE INSPECTOR OUTPUT - types, schemas, function signatures]\n\nCreate comprehensive endpoint documentation including:\n- Endpoint path and method\n- Description\n- Parameters and types\n- Request/response examples\n- Error codes and handling\n- Usage examples with @hailer/cli")
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Wait for result. If `"status": "ready_to_push"`:
|
|
37
|
-
- Run the push commands provided
|
|
38
|
-
|
|
39
|
-
### Step 3: Report
|
|
40
|
-
|
|
41
|
-
```markdown
|
|
42
|
-
## Doc Squad Complete
|
|
43
|
-
|
|
44
|
-
### Code Inspector
|
|
45
|
-
- Files analyzed: [count]
|
|
46
|
-
- Functions found: [count]
|
|
47
|
-
- Types extracted: [count]
|
|
48
|
-
- Schemas identified: [list]
|
|
49
|
-
|
|
50
|
-
### Documentation Generator
|
|
51
|
-
- Endpoints documented: [count]
|
|
52
|
-
- Examples created: [count]
|
|
53
|
-
- Files generated: [list]
|
|
54
|
-
|
|
55
|
-
### Next Steps
|
|
56
|
-
- Review generated documentation
|
|
57
|
-
- Add to API reference
|
|
58
|
-
- Test examples with @hailer/cli
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Notes
|
|
62
|
-
|
|
63
|
-
- Code Inspector runs first to extract accurate types - never guess schemas
|
|
64
|
-
- Documentation Generator creates human-friendly docs from the type analysis
|
|
65
|
-
- Documentation stays in sync with actual code signatures
|
package/.claude/commands/help.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Show help topics for Hailer MCP
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Hailer MCP Help
|
|
6
|
-
|
|
7
|
-
Display available help topics to the user.
|
|
8
|
-
|
|
9
|
-
## Output
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
╭─────────────────────────────────────────╮
|
|
13
|
-
│ HAILER MCP HELP SYSTEM │
|
|
14
|
-
╰─────────────────────────────────────────╯
|
|
15
|
-
|
|
16
|
-
Available topics:
|
|
17
|
-
|
|
18
|
-
/help agents How agents work and delegation
|
|
19
|
-
/help skills Skills reference (patterns, templates, fixes)
|
|
20
|
-
/help commands All slash commands
|
|
21
|
-
/help tools MCP tools reference
|
|
22
|
-
/help plugins Plugin system (install, uninstall, publish)
|
|
23
|
-
/help faq Common questions
|
|
24
|
-
|
|
25
|
-
───────────────────────────────────────────
|
|
26
|
-
Type /help <topic> for details
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Always show this exactly as formatted above.
|