@hailer/mcp 1.2.1 → 1.3.10
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 +133 -143
- 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 +184 -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 +12 -16
- package/dist/mcp/tools/app-marketplace.d.ts.map +1 -1
- package/dist/mcp/tools/app-marketplace.js +748 -856
- 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 +13 -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,78 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: All slash commands for Hailer MCP
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Commands Reference
|
|
6
|
-
|
|
7
|
-
Display all available commands to the user.
|
|
8
|
-
|
|
9
|
-
## Output
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
╭─────────────────────────────────────────╮
|
|
13
|
-
│ HAILER MCP - ALL COMMANDS │
|
|
14
|
-
╰─────────────────────────────────────────╯
|
|
15
|
-
|
|
16
|
-
HELP SYSTEM
|
|
17
|
-
/help Show all help topics
|
|
18
|
-
/help:agents Agent usage, relationships, tool access
|
|
19
|
-
/help:commands This reference
|
|
20
|
-
/help:plugins Plugin system guide
|
|
21
|
-
/help:tools MCP tools reference
|
|
22
|
-
/help:faq Common questions
|
|
23
|
-
|
|
24
|
-
PLUGINS
|
|
25
|
-
/marketplace-setup Clone/update marketplace repo
|
|
26
|
-
/list-plugins List available plugins
|
|
27
|
-
/install-plugin <name> Install a plugin
|
|
28
|
-
/uninstall-plugin <name> Remove a plugin
|
|
29
|
-
/publish-plugin Publish to marketplace
|
|
30
|
-
/publish Publish (alias)
|
|
31
|
-
/version-check Show out-of-sync plugins
|
|
32
|
-
|
|
33
|
-
WORKSPACE
|
|
34
|
-
/ws-pull Pull workspace config from Hailer (read-only)
|
|
35
|
-
|
|
36
|
-
DEVELOPMENT
|
|
37
|
-
/tool-builder Enter MCP tool building mode
|
|
38
|
-
/stats View agent usage statistics
|
|
39
|
-
/stats recent Show last 20 agent calls
|
|
40
|
-
/health Run project health check
|
|
41
|
-
|
|
42
|
-
PLANNING
|
|
43
|
-
/autoplan <desc> Quick project planning with PRDs
|
|
44
|
-
/plan-workspace <desc> Thorough workspace discovery (10 phases)
|
|
45
|
-
/prd <feature> Create PRD for a feature
|
|
46
|
-
/project-status Sync DEVELOPMENT.md with PRD statuses
|
|
47
|
-
|
|
48
|
-
SQUADS (multi-agent commands)
|
|
49
|
-
/review-squad [files] Parallel+Loop: Code Reviewer + LSP Inspector + Test Runner + Code Editor
|
|
50
|
-
/cleanup-squad [files] Parallel: Config Auditor + Code Simplifier + LSP Inspector
|
|
51
|
-
/app-squad <desc> Pipeline+Loop: Data Reader → UI Designer → App Builder → Test Runner (build verify)
|
|
52
|
-
/config-squad <desc> Pipeline: Workflow Config → Function Fields → SQL Insights
|
|
53
|
-
/crud-squad <desc> Pipeline: Data Reader → Activity Writer → Data Reader (verify)
|
|
54
|
-
/data-squad <desc> Pipeline: Data Reader → Function Fields → SQL Insights
|
|
55
|
-
/integration-squad <desc> Pipeline: Data Reader → Monolith Automations → Test Runner
|
|
56
|
-
/doc-squad <desc> Pipeline: LSP Inspector → API Documenter
|
|
57
|
-
/hotfix-squad <desc> Pipeline+Loop: Test Runner → Code Editor → Code Reviewer (max 3 iter)
|
|
58
|
-
/debug-squad <desc> Parallel+Loop: Data Reader + SQL Insights + Code Reviewer + Test Runner (--debate for competing hypotheses)
|
|
59
|
-
/audit-squad Parallel: Code Reviewer + Permissions Auditor + Tool Security Auditor (security audit)
|
|
60
|
-
/onboard-squad <desc> Pipeline+Loop: Workflow Config → Function Fields → App Builder → Config Auditor (bootstrap)
|
|
61
|
-
/janitor-squad Parallel+Loop: LSP Inspector + Config Auditor + SQL Insights → Code Editor (cleanup)
|
|
62
|
-
/swarm <desc> Swarm: orchestrator picks agents, splits work, dispatches parallel workers
|
|
63
|
-
|
|
64
|
-
SESSION
|
|
65
|
-
/recap [focus] Resume session - load handoff, status, learnings
|
|
66
|
-
/save <message> Save changes to git (local commit)
|
|
67
|
-
/restore Restore to a previous save point
|
|
68
|
-
/handoff Create session handoff for next session
|
|
69
|
-
/learn <cat> <desc> Capture learning and apply fix (cat: skill/X, pattern, bug, gotcha)
|
|
70
|
-
|
|
71
|
-
───────────────────────────────────────────
|
|
72
|
-
Examples:
|
|
73
|
-
/plan-workspace "CRM system" Thorough discovery for new project
|
|
74
|
-
/autoplan "Add invoicing" Quick planning for feature
|
|
75
|
-
/prd "customer portal" Create PRD for feature
|
|
76
|
-
/save "Add customer form" Local git commit
|
|
77
|
-
/learn skill/data-reader "Check enums first"
|
|
78
|
-
```
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Frequently asked questions for Hailer MCP
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# FAQ
|
|
6
|
-
|
|
7
|
-
Display frequently asked questions to the user.
|
|
8
|
-
|
|
9
|
-
## Output
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
╭─────────────────────────────────────────╮
|
|
13
|
-
│ HAILER MCP - FAQ │
|
|
14
|
-
╰─────────────────────────────────────────╯
|
|
15
|
-
|
|
16
|
-
Q: Why is Claude failing at Hailer tasks?
|
|
17
|
-
A: Check two things:
|
|
18
|
-
1. Run /mcp-list to verify Claude is connected to the Hailer MCP
|
|
19
|
-
2. Make sure you're running Claude from the correct project folder
|
|
20
|
-
(the one with CLAUDE.md and .claude/ folder)
|
|
21
|
-
|
|
22
|
-
Q: Why do I need to restart Claude Code after installing a plugin?
|
|
23
|
-
A: Claude Code reloads configuration at startup. New skills and hooks
|
|
24
|
-
won't be active until restart. Use 'claude -c' to keep context.
|
|
25
|
-
|
|
26
|
-
Q: What's the difference between /plugin install and /install-plugin?
|
|
27
|
-
A: /plugin install - Claude's built-in plugin system (global)
|
|
28
|
-
/install-plugin - Our local marketplace system (per-project)
|
|
29
|
-
|
|
30
|
-
Q: Can I create my own skills?
|
|
31
|
-
A: Yes! Add a SKILL.md file to .claude/skills/<name>/ following the
|
|
32
|
-
skill structure. See existing skills for examples.
|
|
33
|
-
|
|
34
|
-
Q: How do I publish my skill or hook to the marketplace?
|
|
35
|
-
A: Use /publish-plugin. It creates a PR that gets reviewed.
|
|
36
|
-
See /help plugins for details.
|
|
37
|
-
|
|
38
|
-
Q: Why does Claude spawn sub-agents instead of doing work directly?
|
|
39
|
-
A: Sub-agents with focused skills produce better results for domain-
|
|
40
|
-
specific tasks by loading only the relevant context.
|
|
41
|
-
|
|
42
|
-
Q: What happens if a sub-agent fails?
|
|
43
|
-
A: The orchestrator receives an error and reports the failure.
|
|
44
|
-
It should identify root cause and fix it, never apply bandaids.
|
|
45
|
-
|
|
46
|
-
Q: How does Claude decide which skills to use?
|
|
47
|
-
A: Check the skill catalog in CLAUDE.md. Skills are loaded based on
|
|
48
|
-
the task domain (workspace config, app building, testing, etc.).
|
|
49
|
-
|
|
50
|
-
Q: Can I use MCP tools directly without agents?
|
|
51
|
-
A: Yes! Tools like list_workflows, create_activity, etc. are
|
|
52
|
-
available directly. Agents just provide structured workflows.
|
|
53
|
-
|
|
54
|
-
Q: Where is configuration stored?
|
|
55
|
-
A: - Skills: .claude/skills/
|
|
56
|
-
- Hooks: .claude/hooks/
|
|
57
|
-
- Commands: .claude/commands/
|
|
58
|
-
- Settings: .claude/settings.json
|
|
59
|
-
- Instructions: CLAUDE.md
|
|
60
|
-
|
|
61
|
-
Q: How do I update an installed plugin?
|
|
62
|
-
A: Uninstall and reinstall:
|
|
63
|
-
/uninstall-plugin <name>
|
|
64
|
-
/install-plugin <name>
|
|
65
|
-
|
|
66
|
-
Q: What's the difference between /autoplan and /plan-workspace?
|
|
67
|
-
A: /autoplan - Quick planning, creates DEVELOPMENT.md + PRDs
|
|
68
|
-
/plan-workspace - Thorough 10-phase discovery for complex workspaces
|
|
69
|
-
Use /autoplan for features, /plan-workspace for new projects.
|
|
70
|
-
|
|
71
|
-
Q: How do PRDs and DEVELOPMENT.md work together?
|
|
72
|
-
A: DEVELOPMENT.md is the big picture (roadmap, status, decisions).
|
|
73
|
-
PRDs (docs/prd-*.md) are detailed requirements for each feature.
|
|
74
|
-
DEVELOPMENT.md roadmap links to individual PRDs.
|
|
75
|
-
|
|
76
|
-
MORE HELP:
|
|
77
|
-
/help plugins - Plugin system
|
|
78
|
-
/help agents - Agent usage
|
|
79
|
-
```
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Plugin system help for Hailer MCP
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Plugin System Help
|
|
6
|
-
|
|
7
|
-
Display plugin system instructions to the user.
|
|
8
|
-
|
|
9
|
-
## Output
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
HAILER MCP - PLUGIN SYSTEM
|
|
13
|
-
|
|
14
|
-
The plugin system lets you install community agents from the marketplace.
|
|
15
|
-
|
|
16
|
-
COMMANDS:
|
|
17
|
-
|
|
18
|
-
/marketplace-setup
|
|
19
|
-
Clone or pull the marketplace repo to ./hailer-marketplace
|
|
20
|
-
Only needed once. Commands will prompt you if missing.
|
|
21
|
-
|
|
22
|
-
/list-plugins
|
|
23
|
-
List all available plugins (auto-pulls latest).
|
|
24
|
-
|
|
25
|
-
/install-plugin <name>
|
|
26
|
-
Install a plugin to .claude/ folder.
|
|
27
|
-
Example: /install-plugin my-custom-plugin
|
|
28
|
-
|
|
29
|
-
/uninstall-plugin <name>
|
|
30
|
-
Remove a plugin from .claude/ folder.
|
|
31
|
-
|
|
32
|
-
/publish-plugin
|
|
33
|
-
Publish your plugin to marketplace (creates PR).
|
|
34
|
-
|
|
35
|
-
PLUGIN TYPES:
|
|
36
|
-
|
|
37
|
-
Agents AI specialists (.claude/agents/)
|
|
38
|
-
Skills On-demand docs (.claude/skills/)
|
|
39
|
-
Hooks Event scripts (.claude/hooks/)
|
|
40
|
-
|
|
41
|
-
WORKFLOW:
|
|
42
|
-
|
|
43
|
-
1. /list-plugins # See what's available
|
|
44
|
-
2. /install-plugin <name> # Install what you need
|
|
45
|
-
3. Restart: claude -c # Load new agents
|
|
46
|
-
|
|
47
|
-
SEE ALSO:
|
|
48
|
-
/help agents - How to use installed agents
|
|
49
|
-
/help faq - Common questions
|
|
50
|
-
```
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Skills reference for Hailer MCP
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Skills Reference
|
|
6
|
-
|
|
7
|
-
Display skills reference to the user.
|
|
8
|
-
|
|
9
|
-
## Output
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
╭─────────────────────────────────────────╮
|
|
13
|
-
│ HAILER MCP - SKILLS REFERENCE │
|
|
14
|
-
╰─────────────────────────────────────────╯
|
|
15
|
-
|
|
16
|
-
Skills are reusable knowledge files (.claude/skills/<name>/SKILL.md) that
|
|
17
|
-
give agents domain-specific patterns, API references, and code templates.
|
|
18
|
-
|
|
19
|
-
HOW SKILLS WORK:
|
|
20
|
-
|
|
21
|
-
Auto-injected: Agents declare skills in their frontmatter. The
|
|
22
|
-
SubagentStart hook injects them automatically when the agent spawns.
|
|
23
|
-
|
|
24
|
-
On-demand: The orchestrator tells an agent to load a skill via the
|
|
25
|
-
Skill tool. Load skills before spawning sub-agents or doing domain-specific work.
|
|
26
|
-
|
|
27
|
-
─────────────────────────────────────────────────────────────────────────
|
|
28
|
-
|
|
29
|
-
SDK SKILLS (core patterns):
|
|
30
|
-
sdk-activity-patterns - Field value formats, dates, users, links
|
|
31
|
-
sdk-document-templates - PDF/CSV template structure + generation
|
|
32
|
-
sdk-function-fields - Calculated fields in Hailer workflows
|
|
33
|
-
sdk-insight-queries - SQL query patterns for insights, cross-workflow JOINs
|
|
34
|
-
sdk-ws-config-skill - Workflow config: fields, phases, schemas, type generation, project setup
|
|
35
|
-
|
|
36
|
-
HAILER PLATFORM SKILLS:
|
|
37
|
-
hailer-api-client - @hailer/cli auth, requests, signals, direct HTTP API endpoints
|
|
38
|
-
hailer-app-builder - Build apps with @hailer/app-sdk
|
|
39
|
-
hailer-apps-pictures - Fetch and display images from Hailer
|
|
40
|
-
hailer-design-system - Chakra UI theme, colors, icons, components, UI/UX patterns
|
|
41
|
-
hailer-monolith-automations - Webhooks, scheduled jobs in monolith, phase cascade bots
|
|
42
|
-
hailer-permissions-system - Users, teams, access control
|
|
43
|
-
hailer-project-protocol - Full SDK workflow reference
|
|
44
|
-
|
|
45
|
-
INTEGRATION SKILLS:
|
|
46
|
-
integration-patterns - Activity movers, webhooks, SCIM, Kafka
|
|
47
|
-
zapier-hailer-patterns - Zapier triggers, actions, Zap configs
|
|
48
|
-
TOOL & AGENT SKILLS:
|
|
49
|
-
agent-structure - Template for creating new agents
|
|
50
|
-
delegation-routing - Full routing table + chaining patterns
|
|
51
|
-
tool-builder - Building MCP tools for Hailer server
|
|
52
|
-
mcp-direct-tools - MCP tools not assigned to agents
|
|
53
|
-
|
|
54
|
-
QUALITY & FIX SKILLS (auto-loaded on errors):
|
|
55
|
-
tool-parameter-usage - Extract IDs, correct parameter formats
|
|
56
|
-
tool-response-verification - Verify MCP results before reporting
|
|
57
|
-
optional-parameters - Omit optional params vs empty values
|
|
58
|
-
json-only-output - Fix agents adding prose after JSON
|
|
59
|
-
testing-patterns - vitest, playwright, build verification
|
|
60
|
-
|
|
61
|
-
REFERENCE SKILLS:
|
|
62
|
-
api-documentation-patterns - API endpoint documentation standards
|
|
63
|
-
chrome-mcp-reference - Browser automation reference
|
|
64
|
-
lsp-setup - Language Server Protocol setup
|
|
65
|
-
publish-hailer-app - App publishing to production
|
|
66
|
-
|
|
67
|
-
─────────────────────────────────────────────────────────────────────────
|
|
68
|
-
|
|
69
|
-
ON-DEMAND SKILL LOADING:
|
|
70
|
-
|
|
71
|
-
Tell the orchestrator which skill a sub-agent needs:
|
|
72
|
-
"Load hailer-apps-pictures for the app builder sub-agent"
|
|
73
|
-
→ Sub-agent gets image handling patterns
|
|
74
|
-
|
|
75
|
-
"Load sdk-insight-queries for this SQL query"
|
|
76
|
-
→ Sub-agent gets insight patterns including JOIN syntax for cross-workflow data
|
|
77
|
-
|
|
78
|
-
Skill content is loaded by the orchestrator and pasted directly
|
|
79
|
-
into the sub-agent prompt — agents never load skills themselves.
|
|
80
|
-
|
|
81
|
-
─────────────────────────────────────────────────────────────────────────
|
|
82
|
-
|
|
83
|
-
SEE ALSO:
|
|
84
|
-
/help agents - Which agents use which skills
|
|
85
|
-
/help commands - All slash commands
|
|
86
|
-
/help tools - MCP tools reference
|
|
87
|
-
```
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: MCP tools reference for Hailer MCP
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# MCP Tools Reference
|
|
6
|
-
|
|
7
|
-
Display MCP tools reference to the user.
|
|
8
|
-
|
|
9
|
-
## Output
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
╭─────────────────────────────────────────╮
|
|
13
|
-
│ HAILER MCP - TOOLS REFERENCE │
|
|
14
|
-
╰─────────────────────────────────────────╯
|
|
15
|
-
|
|
16
|
-
MCP tools provide direct access to Hailer APIs. These are used by
|
|
17
|
-
agents but can also be called directly.
|
|
18
|
-
|
|
19
|
-
WORKFLOW TOOLS:
|
|
20
|
-
list_workflows - List all workflows in workspace
|
|
21
|
-
list_workflows_minimal - Compact workflow list with counts
|
|
22
|
-
list_workflow_phases - Get phases for a workflow
|
|
23
|
-
get_workflow_schema - Get field definitions for a workflow
|
|
24
|
-
install_workflow - Create workflow from template
|
|
25
|
-
|
|
26
|
-
ACTIVITY TOOLS:
|
|
27
|
-
list_activities - List activities in a workflow phase
|
|
28
|
-
show_activity_by_id - Get single activity details
|
|
29
|
-
create_activity - Create new activity (single or bulk)
|
|
30
|
-
update_activity - Update activity (single or bulk)
|
|
31
|
-
count_activities - Count activities in workflow
|
|
32
|
-
|
|
33
|
-
DISCUSSION TOOLS:
|
|
34
|
-
list_my_discussions - List discussions you're in
|
|
35
|
-
fetch_discussion_messages - Read messages from discussion
|
|
36
|
-
add_discussion_message - Post to a discussion
|
|
37
|
-
join_discussion - Join a discussion
|
|
38
|
-
leave_discussion - Leave a discussion
|
|
39
|
-
invite_discussion_members - Invite users to discussion
|
|
40
|
-
|
|
41
|
-
INSIGHT TOOLS:
|
|
42
|
-
list_insights - List all insights
|
|
43
|
-
create_insight - Create SQL-like insight
|
|
44
|
-
preview_insight - Test insight query
|
|
45
|
-
get_insight_data - Execute insight and get results
|
|
46
|
-
update_insight - Modify existing insight
|
|
47
|
-
|
|
48
|
-
APP TOOLS:
|
|
49
|
-
list_apps - List apps in workspace
|
|
50
|
-
create_app - Create app entry
|
|
51
|
-
update_app - Update app properties
|
|
52
|
-
scaffold_hailer_app - Generate app from template
|
|
53
|
-
publish_hailer_app - Deploy app to production
|
|
54
|
-
|
|
55
|
-
FILE TOOLS:
|
|
56
|
-
upload_files - Upload files to Hailer
|
|
57
|
-
download_file - Download file from Hailer
|
|
58
|
-
|
|
59
|
-
USER TOOLS:
|
|
60
|
-
search_workspace_users - Find users by name
|
|
61
|
-
|
|
62
|
-
TEMPLATE TOOLS:
|
|
63
|
-
list_templates - List marketplace templates
|
|
64
|
-
get_template - Get template details
|
|
65
|
-
install_template - Install template to workspace
|
|
66
|
-
publish_template - Publish workspace as template
|
|
67
|
-
|
|
68
|
-
USAGE:
|
|
69
|
-
Tools are called via the MCP protocol. The orchestrator and
|
|
70
|
-
agents use them automatically based on your requests.
|
|
71
|
-
|
|
72
|
-
SEE ALSO:
|
|
73
|
-
/help agents - How agents use these tools
|
|
74
|
-
/help commands - Slash commands available
|
|
75
|
-
```
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Quick bug fix with test creation, code editing, and security review
|
|
3
|
-
argument-hint: "bug description"
|
|
4
|
-
allowed-tools: Task, Bash
|
|
5
|
-
---
|
|
6
|
-
# Hotfix Squad
|
|
7
|
-
|
|
8
|
-
Sequential pipeline with iterative loop: Reproduce bug, apply fix, verify, review. Loops back if review fails.
|
|
9
|
-
|
|
10
|
-
**Roles:**
|
|
11
|
-
1. **Test Runner** - Test runner (create failing test, verify fix)
|
|
12
|
-
2. **Code Editor** - Code editor (apply minimal fix)
|
|
13
|
-
3. **Code Reviewer** - Code review (security audit of the fix)
|
|
14
|
-
|
|
15
|
-
**Goal:** $ARGUMENTS
|
|
16
|
-
|
|
17
|
-
## Protocol
|
|
18
|
-
|
|
19
|
-
### Step 1: Reproduce Bug
|
|
20
|
-
|
|
21
|
-
Spawn a test runner to create a test that demonstrates the bug:
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
Task(prompt="Load testing-patterns skill for writing focused tests.\n\nCreate a test that reproduces this bug: $ARGUMENTS.\n\nThe test should:\n- Fail with the current code (red)\n- Clearly demonstrate the bug\n- Be minimal and focused\n\nDo NOT fix the bug yet. Just create the failing test and report the failure.")
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Wait for result. The test should be failing (RED state).
|
|
28
|
-
|
|
29
|
-
### Step 2: Fix-Verify-Review Loop
|
|
30
|
-
|
|
31
|
-
Track iteration count. Max **3 iterations** before escalating to user with remaining issues.
|
|
32
|
-
|
|
33
|
-
**Set:** `iteration = 1`
|
|
34
|
-
|
|
35
|
-
#### Step 2a: Apply Fix
|
|
36
|
-
|
|
37
|
-
Spawn a code editor with accumulated context from all previous iterations:
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
Task(prompt="Fix the bug in: $ARGUMENTS.\n\nContext:\nTest runner created a failing test that reproduces the bug:\n[PASTE TEST CODE AND FAILURE OUTPUT]\n\n[IF iteration > 1: Include ALL accumulated feedback:\n- Test runner's latest test results (pass/fail details)\n- Code Reviewer's feedback (if review was reached in previous iteration)\n- What was already tried and why it didn't fully work\nThis prevents repeating previous mistakes.]\n\nMake the MINIMAL change needed to make the test pass (GREEN state). Do not refactor or improve surrounding code.")
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
#### Step 2b: Verify Fix
|
|
44
|
-
|
|
45
|
-
Run the test to confirm the fix works:
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
Task(prompt="Load testing-patterns skill for test execution.\n\nRe-run the test for: $ARGUMENTS. Confirm it now passes with the code editor's fix. Also run any related tests to check for regressions.")
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
If tests FAIL:
|
|
52
|
-
- If `iteration < 3`: increment iteration, go back to **Step 2a** with the test failure output
|
|
53
|
-
- If `iteration >= 3`: escalate to user (see Step 3)
|
|
54
|
-
|
|
55
|
-
#### Step 2c: Security Review
|
|
56
|
-
|
|
57
|
-
Tests passed. Spawn a code reviewer to audit the fix:
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
Task(prompt="Security review of the hotfix for: $ARGUMENTS.\n\nFix applied by code editor:\n[PASTE CODE EDITOR'S CHANGES]\n\nIteration: [iteration] of 3\n\nCheck for:\n- Security vulnerabilities\n- Data validation issues\n- Authentication/authorization concerns\n- Edge cases that could be exploited\n\nReturn verdict: APPROVED or REQUEST_CHANGES with specific issues to fix.")
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
**If APPROVED:** proceed to Step 3 (report).
|
|
64
|
-
|
|
65
|
-
**If REQUEST_CHANGES:**
|
|
66
|
-
- If `iteration < 3`: increment iteration, go back to **Step 2a** with Code Reviewer's feedback
|
|
67
|
-
- If `iteration >= 3`: escalate to user (see Step 3)
|
|
68
|
-
|
|
69
|
-
### Step 3: Report
|
|
70
|
-
|
|
71
|
-
```markdown
|
|
72
|
-
## Hotfix Squad Complete
|
|
73
|
-
|
|
74
|
-
### Loop Summary
|
|
75
|
-
- Iterations: [count] of 3 max
|
|
76
|
-
- Final status: FIXED / ESCALATED
|
|
77
|
-
|
|
78
|
-
### Test Runner
|
|
79
|
-
- Bug reproduced: YES
|
|
80
|
-
- Test status before fix: FAILED
|
|
81
|
-
- Test status after fix: PASSED / STILL FAILING
|
|
82
|
-
- Regressions found: [yes/no]
|
|
83
|
-
|
|
84
|
-
### Code Editor
|
|
85
|
-
- Files modified: [list]
|
|
86
|
-
- Lines changed: [count]
|
|
87
|
-
- Approach: [brief description]
|
|
88
|
-
|
|
89
|
-
### Code Reviewer
|
|
90
|
-
- Verdict: APPROVED / REQUEST_CHANGES
|
|
91
|
-
- Critical issues: [count]
|
|
92
|
-
- Warnings: [count]
|
|
93
|
-
- [If REQUEST_CHANGES: list remaining issues]
|
|
94
|
-
|
|
95
|
-
### Next Steps
|
|
96
|
-
[If FIXED:]
|
|
97
|
-
- Deploy to staging
|
|
98
|
-
- Monitor error logs
|
|
99
|
-
|
|
100
|
-
[If ESCALATED after 3 iterations:]
|
|
101
|
-
- Manual intervention needed
|
|
102
|
-
- Remaining issues: [list from security reviewer/test runner]
|
|
103
|
-
- Attempted fixes: [summary of what was tried]
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
## Notes
|
|
107
|
-
|
|
108
|
-
- RED -> GREEN -> REVIEW loop ensures quality
|
|
109
|
-
- Fix must be minimal - no refactoring
|
|
110
|
-
- Max 3 iterations prevents infinite loops
|
|
111
|
-
- Each iteration passes previous feedback to the code editor so it doesn't repeat mistakes
|
|
112
|
-
- Security check is mandatory before reporting success
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Build backend integrations with schema discovery and automation
|
|
3
|
-
argument-hint: "integration description"
|
|
4
|
-
allowed-tools: Task, Bash, Read
|
|
5
|
-
---
|
|
6
|
-
# Integration Squad
|
|
7
|
-
|
|
8
|
-
Sequential pipeline: Schema discovery, build integration, then verify with tests.
|
|
9
|
-
|
|
10
|
-
**Roles:**
|
|
11
|
-
1. **Data Reader** - Schema discovery (workflow fields, types, IDs)
|
|
12
|
-
2. **Automation Builder** - Build integration (monolith webhooks, scheduled jobs, automations)
|
|
13
|
-
3. **Test Runner** - Test runner (verify integration with tests)
|
|
14
|
-
|
|
15
|
-
**Goal:** $ARGUMENTS
|
|
16
|
-
|
|
17
|
-
## Protocol
|
|
18
|
-
|
|
19
|
-
### Step 1: Schema Discovery
|
|
20
|
-
|
|
21
|
-
Start with schema discovery to gather workflow schema and field IDs needed for the integration:
|
|
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 any existing integrations. Also identify webhook URLs and activity phase names needed.")
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Wait for result. Save the schema output - the automation builder needs these IDs.
|
|
28
|
-
|
|
29
|
-
### Step 2: Build Integration
|
|
30
|
-
|
|
31
|
-
Spawn an automation builder with the schema context:
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
Task(prompt="Load hailer-monolith-automations skill for building integrations.\n\nBuild a backend integration for: $ARGUMENTS.\n\nWorkflow schema from data reader:\n[PASTE SCHEMA DISCOVERY OUTPUT - workflow IDs, field IDs, types, phases]\n\nImplement in the hailer-integration monolith. Use correct IDs for webhooks, scheduled jobs, or automations.")
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Wait for result. If `"status": "ready_to_push"`:
|
|
38
|
-
- Run the push commands provided
|
|
39
|
-
|
|
40
|
-
### Step 3: Test Integration
|
|
41
|
-
|
|
42
|
-
Spawn a test runner to verify the integration works:
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
Task(prompt="Load testing-patterns skill for integration testing.\n\nTest the integration for: $ARGUMENTS.\n\nTest coverage needed:\n- Webhook payload validation (if webhook)\n- Scheduled job execution (if scheduled)\n- Activity creation/phase transitions\n- Error handling and edge cases\n\nRun tests and report pass/fail counts.")
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Wait for result. If tests fail, report which ones and offer to have the automation builder fix issues.
|
|
49
|
-
|
|
50
|
-
### Step 4: Report
|
|
51
|
-
|
|
52
|
-
```markdown
|
|
53
|
-
## Integration Squad Complete
|
|
54
|
-
|
|
55
|
-
### Data Reader (Schema Discovery)
|
|
56
|
-
- Workflows found: [list]
|
|
57
|
-
- Fields mapped: [count]
|
|
58
|
-
- Phases identified: [list]
|
|
59
|
-
- Existing integrations: [list or "none"]
|
|
60
|
-
|
|
61
|
-
### Automation Builder
|
|
62
|
-
- Integration type: [webhook/scheduled/automation]
|
|
63
|
-
- Files created/modified: [list]
|
|
64
|
-
- Endpoints: [list if webhook]
|
|
65
|
-
- Commands run: [list]
|
|
66
|
-
|
|
67
|
-
### Test Runner
|
|
68
|
-
- Tests: X passed, X failed
|
|
69
|
-
- Build: Pass/Fail
|
|
70
|
-
- [Failed test details if any]
|
|
71
|
-
|
|
72
|
-
### Next Steps
|
|
73
|
-
- Deploy to staging environment
|
|
74
|
-
- Test end-to-end in Hailer
|
|
75
|
-
- Monitor for errors in production logs
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Notes
|
|
79
|
-
|
|
80
|
-
- Data Reader must run first to get real IDs - never let automation builder guess IDs
|
|
81
|
-
- Each agent in the pipeline depends on output from the previous step
|
|
82
|
-
- If tests fail, the automation builder may need to revise the integration code
|