@compass-ai/nova 1.0.73 → 1.0.74
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/dist/acp/agent.d.ts +318 -0
- package/dist/acp/agent.d.ts.map +1 -0
- package/dist/acp/agent.js +795 -0
- package/dist/acp/agent.js.map +1 -0
- package/dist/acp/backpressure-writer.d.ts +49 -0
- package/dist/acp/backpressure-writer.d.ts.map +1 -0
- package/dist/acp/backpressure-writer.js +153 -0
- package/dist/acp/backpressure-writer.js.map +1 -0
- package/dist/acp/event-adapter.d.ts +242 -0
- package/dist/acp/event-adapter.d.ts.map +1 -0
- package/dist/acp/event-adapter.js +456 -0
- package/dist/acp/event-adapter.js.map +1 -0
- package/dist/acp/index.d.ts +30 -0
- package/dist/acp/index.d.ts.map +1 -0
- package/dist/acp/index.js +36 -0
- package/dist/acp/index.js.map +1 -0
- package/dist/acp/modes.d.ts +56 -0
- package/dist/acp/modes.d.ts.map +1 -0
- package/dist/acp/modes.js +135 -0
- package/dist/acp/modes.js.map +1 -0
- package/dist/acp/session-manager.d.ts +170 -0
- package/dist/acp/session-manager.d.ts.map +1 -0
- package/dist/acp/session-manager.js +381 -0
- package/dist/acp/session-manager.js.map +1 -0
- package/dist/acp/text-coalescer.d.ts +45 -0
- package/dist/acp/text-coalescer.d.ts.map +1 -0
- package/dist/acp/text-coalescer.js +110 -0
- package/dist/acp/text-coalescer.js.map +1 -0
- package/dist/acp/tool-bridge.d.ts +156 -0
- package/dist/acp/tool-bridge.d.ts.map +1 -0
- package/dist/acp/tool-bridge.js +381 -0
- package/dist/acp/tool-bridge.js.map +1 -0
- package/dist/acp/types.d.ts +314 -0
- package/dist/acp/types.d.ts.map +1 -0
- package/dist/acp/types.js +8 -0
- package/dist/acp/types.js.map +1 -0
- package/dist/cli.d.ts +9 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +185 -184
- package/dist/cli.js.map +1 -0
- package/dist/commands/acp.d.ts +26 -0
- package/dist/commands/acp.d.ts.map +1 -0
- package/dist/commands/acp.js +492 -0
- package/dist/commands/acp.js.map +1 -0
- package/dist/commands/cache.d.ts +33 -0
- package/dist/commands/cache.d.ts.map +1 -0
- package/dist/commands/cache.js +537 -0
- package/dist/commands/cache.js.map +1 -0
- package/dist/commands/config.d.ts +10 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +367 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/consent.d.ts +21 -0
- package/dist/commands/consent.d.ts.map +1 -0
- package/dist/commands/consent.js +334 -0
- package/dist/commands/consent.js.map +1 -0
- package/dist/commands/data.d.ts +24 -0
- package/dist/commands/data.d.ts.map +1 -0
- package/dist/commands/data.js +586 -0
- package/dist/commands/data.js.map +1 -0
- package/dist/commands/index.d.ts +145 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +210 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/init.d.ts +106 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +349 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/logs.d.ts +13 -0
- package/dist/commands/logs.d.ts.map +1 -0
- package/dist/commands/logs.js +359 -0
- package/dist/commands/logs.js.map +1 -0
- package/dist/commands/mcp.d.ts +20 -0
- package/dist/commands/mcp.d.ts.map +1 -0
- package/dist/commands/mcp.js +687 -0
- package/dist/commands/mcp.js.map +1 -0
- package/dist/commands/reset.d.ts +20 -0
- package/dist/commands/reset.d.ts.map +1 -0
- package/dist/commands/reset.js +372 -0
- package/dist/commands/reset.js.map +1 -0
- package/dist/commands/setup.d.ts +74 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +863 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/commands/slash/agents.d.ts +40 -0
- package/dist/commands/slash/agents.d.ts.map +1 -0
- package/dist/commands/slash/agents.js +519 -0
- package/dist/commands/slash/agents.js.map +1 -0
- package/dist/commands/slash/approve.d.ts +46 -0
- package/dist/commands/slash/approve.d.ts.map +1 -0
- package/dist/commands/slash/approve.js +239 -0
- package/dist/commands/slash/approve.js.map +1 -0
- package/dist/commands/slash/attach.d.ts +70 -0
- package/dist/commands/slash/attach.d.ts.map +1 -0
- package/dist/commands/slash/attach.js +333 -0
- package/dist/commands/slash/attach.js.map +1 -0
- package/dist/commands/slash/clear.d.ts +47 -0
- package/dist/commands/slash/clear.d.ts.map +1 -0
- package/dist/commands/slash/clear.js +261 -0
- package/dist/commands/slash/clear.js.map +1 -0
- package/dist/commands/slash/commit.d.ts +40 -0
- package/dist/commands/slash/commit.d.ts.map +1 -0
- package/dist/commands/slash/commit.js +337 -0
- package/dist/commands/slash/commit.js.map +1 -0
- package/dist/commands/slash/compact.d.ts +48 -0
- package/dist/commands/slash/compact.d.ts.map +1 -0
- package/dist/commands/slash/compact.js +288 -0
- package/dist/commands/slash/compact.js.map +1 -0
- package/dist/commands/slash/config.d.ts +20 -0
- package/dist/commands/slash/config.d.ts.map +1 -0
- package/dist/commands/slash/config.js +136 -0
- package/dist/commands/slash/config.js.map +1 -0
- package/dist/commands/slash/context.d.ts +49 -0
- package/dist/commands/slash/context.d.ts.map +1 -0
- package/dist/commands/slash/context.js +430 -0
- package/dist/commands/slash/context.js.map +1 -0
- package/dist/commands/slash/cost.d.ts +34 -0
- package/dist/commands/slash/cost.d.ts.map +1 -0
- package/dist/commands/slash/cost.js +312 -0
- package/dist/commands/slash/cost.js.map +1 -0
- package/dist/commands/slash/custom.d.ts +41 -0
- package/dist/commands/slash/custom.d.ts.map +1 -0
- package/dist/commands/slash/custom.js +126 -0
- package/dist/commands/slash/custom.js.map +1 -0
- package/dist/commands/slash/exit.d.ts +25 -0
- package/dist/commands/slash/exit.d.ts.map +1 -0
- package/dist/commands/slash/exit.js +186 -0
- package/dist/commands/slash/exit.js.map +1 -0
- package/dist/commands/slash/export.d.ts +27 -0
- package/dist/commands/slash/export.d.ts.map +1 -0
- package/dist/commands/slash/export.js +318 -0
- package/dist/commands/slash/export.js.map +1 -0
- package/dist/commands/slash/files.d.ts +47 -0
- package/dist/commands/slash/files.d.ts.map +1 -0
- package/dist/commands/slash/files.js +521 -0
- package/dist/commands/slash/files.js.map +1 -0
- package/dist/commands/slash/help.d.ts +50 -0
- package/dist/commands/slash/help.d.ts.map +1 -0
- package/dist/commands/slash/help.js +282 -0
- package/dist/commands/slash/help.js.map +1 -0
- package/dist/commands/slash/index-cmd.d.ts +41 -0
- package/dist/commands/slash/index-cmd.d.ts.map +1 -0
- package/dist/commands/slash/index-cmd.js +349 -0
- package/dist/commands/slash/index-cmd.js.map +1 -0
- package/dist/commands/slash/index.d.ts +97 -0
- package/dist/commands/slash/index.d.ts.map +1 -0
- package/dist/commands/slash/index.js +251 -0
- package/dist/commands/slash/index.js.map +1 -0
- package/dist/commands/slash/login.d.ts +23 -0
- package/dist/commands/slash/login.d.ts.map +1 -0
- package/dist/commands/slash/login.js +175 -0
- package/dist/commands/slash/login.js.map +1 -0
- package/dist/commands/slash/logout.d.ts +23 -0
- package/dist/commands/slash/logout.d.ts.map +1 -0
- package/dist/commands/slash/logout.js +153 -0
- package/dist/commands/slash/logout.js.map +1 -0
- package/dist/commands/slash/logs.d.ts +29 -0
- package/dist/commands/slash/logs.d.ts.map +1 -0
- package/dist/commands/slash/logs.js +423 -0
- package/dist/commands/slash/logs.js.map +1 -0
- package/dist/commands/slash/mcp.d.ts +29 -0
- package/dist/commands/slash/mcp.d.ts.map +1 -0
- package/dist/commands/slash/mcp.js +1026 -0
- package/dist/commands/slash/mcp.js.map +1 -0
- package/dist/commands/slash/model.d.ts +60 -0
- package/dist/commands/slash/model.d.ts.map +1 -0
- package/dist/commands/slash/model.js +466 -0
- package/dist/commands/slash/model.js.map +1 -0
- package/dist/commands/slash/personality.d.ts +40 -0
- package/dist/commands/slash/personality.d.ts.map +1 -0
- package/dist/commands/slash/personality.js +272 -0
- package/dist/commands/slash/personality.js.map +1 -0
- package/dist/commands/slash/purge.d.ts +42 -0
- package/dist/commands/slash/purge.d.ts.map +1 -0
- package/dist/commands/slash/purge.js +233 -0
- package/dist/commands/slash/purge.js.map +1 -0
- package/dist/commands/slash/reset.d.ts +44 -0
- package/dist/commands/slash/reset.d.ts.map +1 -0
- package/dist/commands/slash/reset.js +326 -0
- package/dist/commands/slash/reset.js.map +1 -0
- package/dist/commands/slash/skills.d.ts +40 -0
- package/dist/commands/slash/skills.d.ts.map +1 -0
- package/dist/commands/slash/skills.js +207 -0
- package/dist/commands/slash/skills.js.map +1 -0
- package/dist/commands/slash/tokens.d.ts +34 -0
- package/dist/commands/slash/tokens.d.ts.map +1 -0
- package/dist/commands/slash/tokens.js +205 -0
- package/dist/commands/slash/tokens.js.map +1 -0
- package/dist/commands/slash/unleash.d.ts +50 -0
- package/dist/commands/slash/unleash.d.ts.map +1 -0
- package/dist/commands/slash/unleash.js +262 -0
- package/dist/commands/slash/unleash.js.map +1 -0
- package/dist/commands/slash/update.d.ts +34 -0
- package/dist/commands/slash/update.d.ts.map +1 -0
- package/dist/commands/slash/update.js +364 -0
- package/dist/commands/slash/update.js.map +1 -0
- package/dist/commands/slash/wrap.d.ts +18 -0
- package/dist/commands/slash/wrap.d.ts.map +1 -0
- package/dist/commands/slash/wrap.js +21 -0
- package/dist/commands/slash/wrap.js.map +1 -0
- package/dist/commands/tokens.d.ts +26 -0
- package/dist/commands/tokens.d.ts.map +1 -0
- package/dist/commands/tokens.js +245 -0
- package/dist/commands/tokens.js.map +1 -0
- package/dist/constants/builtin-agents.d.ts +27 -0
- package/dist/constants/builtin-agents.d.ts.map +1 -0
- package/dist/constants/builtin-agents.js +710 -0
- package/dist/constants/builtin-agents.js.map +1 -0
- package/dist/constants/builtin-skills.d.ts +32 -0
- package/dist/constants/builtin-skills.d.ts.map +1 -0
- package/dist/constants/builtin-skills.js +389 -0
- package/dist/constants/builtin-skills.js.map +1 -0
- package/dist/constants/defaults.d.ts +448 -0
- package/dist/constants/defaults.d.ts.map +1 -0
- package/dist/constants/defaults.js +829 -0
- package/dist/constants/defaults.js.map +1 -0
- package/dist/constants/index.d.ts +27 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/index.js +85 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/install-hints.d.ts +7 -0
- package/dist/constants/install-hints.d.ts.map +1 -0
- package/dist/constants/install-hints.js +123 -0
- package/dist/constants/install-hints.js.map +1 -0
- package/dist/constants/models.d.ts +255 -0
- package/dist/constants/models.d.ts.map +1 -0
- package/dist/constants/models.js +596 -0
- package/dist/constants/models.js.map +1 -0
- package/dist/constants/schedule.d.ts +43 -0
- package/dist/constants/schedule.d.ts.map +1 -0
- package/dist/constants/schedule.js +110 -0
- package/dist/constants/schedule.js.map +1 -0
- package/dist/constants/system-utilities.d.ts +57 -0
- package/dist/constants/system-utilities.d.ts.map +1 -0
- package/dist/constants/system-utilities.js +421 -0
- package/dist/constants/system-utilities.js.map +1 -0
- package/dist/constants/token-limits.d.ts +102 -0
- package/dist/constants/token-limits.d.ts.map +1 -0
- package/dist/constants/token-limits.js +286 -0
- package/dist/constants/token-limits.js.map +1 -0
- package/dist/core/autocomplete.d.ts +132 -0
- package/dist/core/autocomplete.d.ts.map +1 -0
- package/dist/core/autocomplete.js +653 -0
- package/dist/core/autocomplete.js.map +1 -0
- package/dist/core/command-parser.d.ts +301 -0
- package/dist/core/command-parser.d.ts.map +1 -0
- package/dist/core/command-parser.js +526 -0
- package/dist/core/command-parser.js.map +1 -0
- package/dist/core/context-builder.d.ts +264 -0
- package/dist/core/context-builder.d.ts.map +1 -0
- package/dist/core/context-builder.js +1018 -0
- package/dist/core/context-builder.js.map +1 -0
- package/dist/core/event-emitter.d.ts +411 -0
- package/dist/core/event-emitter.d.ts.map +1 -0
- package/dist/core/event-emitter.js +138 -0
- package/dist/core/event-emitter.js.map +1 -0
- package/dist/core/history-manager.d.ts +62 -0
- package/dist/core/history-manager.d.ts.map +1 -0
- package/dist/core/history-manager.js +151 -0
- package/dist/core/history-manager.js.map +1 -0
- package/dist/core/slash-command-handler.d.ts +352 -0
- package/dist/core/slash-command-handler.d.ts.map +1 -0
- package/dist/core/slash-command-handler.js +563 -0
- package/dist/core/slash-command-handler.js.map +1 -0
- package/dist/core/task-processor.d.ts +179 -0
- package/dist/core/task-processor.d.ts.map +1 -0
- package/dist/core/task-processor.js +519 -0
- package/dist/core/task-processor.js.map +1 -0
- package/dist/index.d.ts +90 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -0
- package/dist/prompts/agent-prompt-generator.d.ts +26 -0
- package/dist/prompts/agent-prompt-generator.d.ts.map +1 -0
- package/dist/prompts/agent-prompt-generator.js +244 -0
- package/dist/prompts/agent-prompt-generator.js.map +1 -0
- package/dist/prompts/commit-message.d.ts +35 -0
- package/dist/prompts/commit-message.d.ts.map +1 -0
- package/dist/prompts/commit-message.js +187 -0
- package/dist/prompts/commit-message.js.map +1 -0
- package/dist/prompts/conversation.d.ts +51 -0
- package/dist/prompts/conversation.d.ts.map +1 -0
- package/dist/prompts/conversation.js +115 -0
- package/dist/prompts/conversation.js.map +1 -0
- package/dist/prompts/index.d.ts +39 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +74 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/memory.d.ts +6 -0
- package/dist/prompts/memory.d.ts.map +1 -0
- package/dist/prompts/memory.js +29 -0
- package/dist/prompts/memory.js.map +1 -0
- package/dist/prompts/personality.d.ts +77 -0
- package/dist/prompts/personality.d.ts.map +1 -0
- package/dist/prompts/personality.js +393 -0
- package/dist/prompts/personality.js.map +1 -0
- package/dist/prompts/plan-generator.d.ts +144 -0
- package/dist/prompts/plan-generator.d.ts.map +1 -0
- package/dist/prompts/plan-generator.js +553 -0
- package/dist/prompts/plan-generator.js.map +1 -0
- package/dist/prompts/system.d.ts +95 -0
- package/dist/prompts/system.d.ts.map +1 -0
- package/dist/prompts/system.js +461 -0
- package/dist/prompts/system.js.map +1 -0
- package/dist/prompts/task-processor.d.ts +94 -0
- package/dist/prompts/task-processor.d.ts.map +1 -0
- package/dist/prompts/task-processor.js +554 -0
- package/dist/prompts/task-processor.js.map +1 -0
- package/dist/prompts/unguarded.d.ts +78 -0
- package/dist/prompts/unguarded.d.ts.map +1 -0
- package/dist/prompts/unguarded.js +418 -0
- package/dist/prompts/unguarded.js.map +1 -0
- package/dist/prompts/utils.d.ts +73 -0
- package/dist/prompts/utils.d.ts.map +1 -0
- package/dist/prompts/utils.js +114 -0
- package/dist/prompts/utils.js.map +1 -0
- package/dist/prompts/workflow.d.ts +241 -0
- package/dist/prompts/workflow.d.ts.map +1 -0
- package/dist/prompts/workflow.js +608 -0
- package/dist/prompts/workflow.js.map +1 -0
- package/dist/services/action-logger.d.ts +383 -0
- package/dist/services/action-logger.d.ts.map +1 -0
- package/dist/services/action-logger.js +544 -0
- package/dist/services/action-logger.js.map +1 -0
- package/dist/services/agent-budget-allocator.d.ts +111 -0
- package/dist/services/agent-budget-allocator.d.ts.map +1 -0
- package/dist/services/agent-budget-allocator.js +278 -0
- package/dist/services/agent-budget-allocator.js.map +1 -0
- package/dist/services/agent-manager.d.ts +181 -0
- package/dist/services/agent-manager.d.ts.map +1 -0
- package/dist/services/agent-manager.js +749 -0
- package/dist/services/agent-manager.js.map +1 -0
- package/dist/services/agent-spawner.d.ts +138 -0
- package/dist/services/agent-spawner.d.ts.map +1 -0
- package/dist/services/agent-spawner.js +748 -0
- package/dist/services/agent-spawner.js.map +1 -0
- package/dist/services/agent-state-service.d.ts +145 -0
- package/dist/services/agent-state-service.d.ts.map +1 -0
- package/dist/services/agent-state-service.js +247 -0
- package/dist/services/agent-state-service.js.map +1 -0
- package/dist/services/anthropic-client.d.ts +357 -0
- package/dist/services/anthropic-client.d.ts.map +1 -0
- package/dist/services/anthropic-client.js +1451 -0
- package/dist/services/anthropic-client.js.map +1 -0
- package/dist/services/approval-manager.d.ts +385 -0
- package/dist/services/approval-manager.d.ts.map +1 -0
- package/dist/services/approval-manager.js +1044 -0
- package/dist/services/approval-manager.js.map +1 -0
- package/dist/services/audit-logger.d.ts +245 -0
- package/dist/services/audit-logger.d.ts.map +1 -0
- package/dist/services/audit-logger.js +324 -0
- package/dist/services/audit-logger.js.map +1 -0
- package/dist/services/backup-manager.d.ts +136 -0
- package/dist/services/backup-manager.d.ts.map +1 -0
- package/dist/services/backup-manager.js +260 -0
- package/dist/services/backup-manager.js.map +1 -0
- package/dist/services/cache-service.d.ts +247 -0
- package/dist/services/cache-service.d.ts.map +1 -0
- package/dist/services/cache-service.js +558 -0
- package/dist/services/cache-service.js.map +1 -0
- package/dist/services/chat-archival-service.d.ts +108 -0
- package/dist/services/chat-archival-service.d.ts.map +1 -0
- package/dist/services/chat-archival-service.js +465 -0
- package/dist/services/chat-archival-service.js.map +1 -0
- package/dist/services/codebase-indexer.d.ts +272 -0
- package/dist/services/codebase-indexer.d.ts.map +1 -0
- package/dist/services/codebase-indexer.js +863 -0
- package/dist/services/codebase-indexer.js.map +1 -0
- package/dist/services/compass-auth-service.d.ts +204 -0
- package/dist/services/compass-auth-service.d.ts.map +1 -0
- package/dist/services/compass-auth-service.js +391 -0
- package/dist/services/compass-auth-service.js.map +1 -0
- package/dist/services/complexity-classifier.d.ts +208 -0
- package/dist/services/complexity-classifier.d.ts.map +1 -0
- package/dist/services/complexity-classifier.js +1410 -0
- package/dist/services/complexity-classifier.js.map +1 -0
- package/dist/services/config-manager.d.ts +278 -0
- package/dist/services/config-manager.d.ts.map +1 -0
- package/dist/services/config-manager.js +651 -0
- package/dist/services/config-manager.js.map +1 -0
- package/dist/services/consent-manager.d.ts +239 -0
- package/dist/services/consent-manager.d.ts.map +1 -0
- package/dist/services/consent-manager.js +516 -0
- package/dist/services/consent-manager.js.map +1 -0
- package/dist/services/conversation-compactor.d.ts +223 -0
- package/dist/services/conversation-compactor.d.ts.map +1 -0
- package/dist/services/conversation-compactor.js +750 -0
- package/dist/services/conversation-compactor.js.map +1 -0
- package/dist/services/cost-tracker.d.ts +167 -0
- package/dist/services/cost-tracker.d.ts.map +1 -0
- package/dist/services/cost-tracker.js +199 -0
- package/dist/services/cost-tracker.js.map +1 -0
- package/dist/services/credential-store.d.ts +273 -0
- package/dist/services/credential-store.d.ts.map +1 -0
- package/dist/services/credential-store.js +877 -0
- package/dist/services/credential-store.js.map +1 -0
- package/dist/services/custom-command-service.d.ts +112 -0
- package/dist/services/custom-command-service.d.ts.map +1 -0
- package/dist/services/custom-command-service.js +464 -0
- package/dist/services/custom-command-service.js.map +1 -0
- package/dist/services/default-statusline-renderer.d.ts +60 -0
- package/dist/services/default-statusline-renderer.d.ts.map +1 -0
- package/dist/services/default-statusline-renderer.js +110 -0
- package/dist/services/default-statusline-renderer.js.map +1 -0
- package/dist/services/enhanced-context-gatherer.d.ts +116 -0
- package/dist/services/enhanced-context-gatherer.d.ts.map +1 -0
- package/dist/services/enhanced-context-gatherer.js +605 -0
- package/dist/services/enhanced-context-gatherer.js.map +1 -0
- package/dist/services/file-hash-tracker.d.ts +95 -0
- package/dist/services/file-hash-tracker.d.ts.map +1 -0
- package/dist/services/file-hash-tracker.js +199 -0
- package/dist/services/file-hash-tracker.js.map +1 -0
- package/dist/services/file-service.d.ts +274 -0
- package/dist/services/file-service.d.ts.map +1 -0
- package/dist/services/file-service.js +876 -0
- package/dist/services/file-service.js.map +1 -0
- package/dist/services/git-service.d.ts +536 -0
- package/dist/services/git-service.d.ts.map +1 -0
- package/dist/services/git-service.js +1215 -0
- package/dist/services/git-service.js.map +1 -0
- package/dist/services/hook-service.d.ts +148 -0
- package/dist/services/hook-service.d.ts.map +1 -0
- package/dist/services/hook-service.js +705 -0
- package/dist/services/hook-service.js.map +1 -0
- package/dist/services/ide-state-service.d.ts +114 -0
- package/dist/services/ide-state-service.d.ts.map +1 -0
- package/dist/services/ide-state-service.js +204 -0
- package/dist/services/ide-state-service.js.map +1 -0
- package/dist/services/interactive-clarifier.d.ts +90 -0
- package/dist/services/interactive-clarifier.d.ts.map +1 -0
- package/dist/services/interactive-clarifier.js +446 -0
- package/dist/services/interactive-clarifier.js.map +1 -0
- package/dist/services/iteration-scoper.d.ts +225 -0
- package/dist/services/iteration-scoper.d.ts.map +1 -0
- package/dist/services/iteration-scoper.js +387 -0
- package/dist/services/iteration-scoper.js.map +1 -0
- package/dist/services/llm-plan-generator.d.ts +44 -0
- package/dist/services/llm-plan-generator.d.ts.map +1 -0
- package/dist/services/llm-plan-generator.js +863 -0
- package/dist/services/llm-plan-generator.js.map +1 -0
- package/dist/services/llm-system-prompt-generator.d.ts +85 -0
- package/dist/services/llm-system-prompt-generator.d.ts.map +1 -0
- package/dist/services/llm-system-prompt-generator.js +257 -0
- package/dist/services/llm-system-prompt-generator.js.map +1 -0
- package/dist/services/log-interpreter.d.ts +190 -0
- package/dist/services/log-interpreter.d.ts.map +1 -0
- package/dist/services/log-interpreter.js +520 -0
- package/dist/services/log-interpreter.js.map +1 -0
- package/dist/services/mcp-config-manager.d.ts +141 -0
- package/dist/services/mcp-config-manager.d.ts.map +1 -0
- package/dist/services/mcp-config-manager.js +678 -0
- package/dist/services/mcp-config-manager.js.map +1 -0
- package/dist/services/mcp-oauth-service.d.ts +170 -0
- package/dist/services/mcp-oauth-service.d.ts.map +1 -0
- package/dist/services/mcp-oauth-service.js +892 -0
- package/dist/services/mcp-oauth-service.js.map +1 -0
- package/dist/services/mcp-plugin-support.d.ts +81 -0
- package/dist/services/mcp-plugin-support.d.ts.map +1 -0
- package/dist/services/mcp-plugin-support.js +305 -0
- package/dist/services/mcp-plugin-support.js.map +1 -0
- package/dist/services/mcp-server-manager.d.ts +134 -0
- package/dist/services/mcp-server-manager.d.ts.map +1 -0
- package/dist/services/mcp-server-manager.js +613 -0
- package/dist/services/mcp-server-manager.js.map +1 -0
- package/dist/services/mcp-tool-integration.d.ts +119 -0
- package/dist/services/mcp-tool-integration.d.ts.map +1 -0
- package/dist/services/mcp-tool-integration.js +381 -0
- package/dist/services/mcp-tool-integration.js.map +1 -0
- package/dist/services/mcp-transport.d.ts +105 -0
- package/dist/services/mcp-transport.d.ts.map +1 -0
- package/dist/services/mcp-transport.js +1316 -0
- package/dist/services/mcp-transport.js.map +1 -0
- package/dist/services/memory-service.d.ts +55 -0
- package/dist/services/memory-service.d.ts.map +1 -0
- package/dist/services/memory-service.js +251 -0
- package/dist/services/memory-service.js.map +1 -0
- package/dist/services/model-availability.d.ts +64 -0
- package/dist/services/model-availability.d.ts.map +1 -0
- package/dist/services/model-availability.js +114 -0
- package/dist/services/model-availability.js.map +1 -0
- package/dist/services/plan-generator.d.ts +98 -0
- package/dist/services/plan-generator.d.ts.map +1 -0
- package/dist/services/plan-generator.js +658 -0
- package/dist/services/plan-generator.js.map +1 -0
- package/dist/services/plan-mode-fallback.d.ts +80 -0
- package/dist/services/plan-mode-fallback.d.ts.map +1 -0
- package/dist/services/plan-mode-fallback.js +307 -0
- package/dist/services/plan-mode-fallback.js.map +1 -0
- package/dist/services/plan-mode-handler.d.ts +42 -0
- package/dist/services/plan-mode-handler.d.ts.map +1 -0
- package/dist/services/plan-mode-handler.js +388 -0
- package/dist/services/plan-mode-handler.js.map +1 -0
- package/dist/services/plan-persistence.d.ts +203 -0
- package/dist/services/plan-persistence.d.ts.map +1 -0
- package/dist/services/plan-persistence.js +538 -0
- package/dist/services/plan-persistence.js.map +1 -0
- package/dist/services/prompt-preprocessor.d.ts +73 -0
- package/dist/services/prompt-preprocessor.d.ts.map +1 -0
- package/dist/services/prompt-preprocessor.js +146 -0
- package/dist/services/prompt-preprocessor.js.map +1 -0
- package/dist/services/rating-service.d.ts +84 -0
- package/dist/services/rating-service.d.ts.map +1 -0
- package/dist/services/rating-service.js +171 -0
- package/dist/services/rating-service.js.map +1 -0
- package/dist/services/rating-state-manager.d.ts +131 -0
- package/dist/services/rating-state-manager.d.ts.map +1 -0
- package/dist/services/rating-state-manager.js +270 -0
- package/dist/services/rating-state-manager.js.map +1 -0
- package/dist/services/sdk-runner.d.ts +113 -0
- package/dist/services/sdk-runner.d.ts.map +1 -0
- package/dist/services/sdk-runner.js +1424 -0
- package/dist/services/sdk-runner.js.map +1 -0
- package/dist/services/session-manager.d.ts +528 -0
- package/dist/services/session-manager.d.ts.map +1 -0
- package/dist/services/session-manager.js +1184 -0
- package/dist/services/session-manager.js.map +1 -0
- package/dist/services/shell-executor.d.ts +337 -0
- package/dist/services/shell-executor.d.ts.map +1 -0
- package/dist/services/shell-executor.js +1201 -0
- package/dist/services/shell-executor.js.map +1 -0
- package/dist/services/skill-service.d.ts +149 -0
- package/dist/services/skill-service.d.ts.map +1 -0
- package/dist/services/skill-service.js +594 -0
- package/dist/services/skill-service.js.map +1 -0
- package/dist/services/statusline-executor.d.ts +102 -0
- package/dist/services/statusline-executor.d.ts.map +1 -0
- package/dist/services/statusline-executor.js +305 -0
- package/dist/services/statusline-executor.js.map +1 -0
- package/dist/services/step-tracker.d.ts +356 -0
- package/dist/services/step-tracker.d.ts.map +1 -0
- package/dist/services/step-tracker.js +634 -0
- package/dist/services/step-tracker.js.map +1 -0
- package/dist/services/system-event-logger.d.ts +473 -0
- package/dist/services/system-event-logger.d.ts.map +1 -0
- package/dist/services/system-event-logger.js +790 -0
- package/dist/services/system-event-logger.js.map +1 -0
- package/dist/services/system-utility-detector.d.ts +91 -0
- package/dist/services/system-utility-detector.d.ts.map +1 -0
- package/dist/services/system-utility-detector.js +238 -0
- package/dist/services/system-utility-detector.js.map +1 -0
- package/dist/services/team-context-store.d.ts +100 -0
- package/dist/services/team-context-store.d.ts.map +1 -0
- package/dist/services/team-context-store.js +513 -0
- package/dist/services/team-context-store.js.map +1 -0
- package/dist/services/temp-file-service.d.ts +164 -0
- package/dist/services/temp-file-service.d.ts.map +1 -0
- package/dist/services/temp-file-service.js +303 -0
- package/dist/services/temp-file-service.js.map +1 -0
- package/dist/services/token-limit-enforcer.d.ts +53 -0
- package/dist/services/token-limit-enforcer.d.ts.map +1 -0
- package/dist/services/token-limit-enforcer.js +90 -0
- package/dist/services/token-limit-enforcer.js.map +1 -0
- package/dist/services/token-limit-store.d.ts +105 -0
- package/dist/services/token-limit-store.d.ts.map +1 -0
- package/dist/services/token-limit-store.js +288 -0
- package/dist/services/token-limit-store.js.map +1 -0
- package/dist/services/token-tracker.d.ts +290 -0
- package/dist/services/token-tracker.d.ts.map +1 -0
- package/dist/services/token-tracker.js +751 -0
- package/dist/services/token-tracker.js.map +1 -0
- package/dist/services/tool-registry.d.ts +302 -0
- package/dist/services/tool-registry.d.ts.map +1 -0
- package/dist/services/tool-registry.js +606 -0
- package/dist/services/tool-registry.js.map +1 -0
- package/dist/services/tools-logger.d.ts +152 -0
- package/dist/services/tools-logger.d.ts.map +1 -0
- package/dist/services/tools-logger.js +222 -0
- package/dist/services/tools-logger.js.map +1 -0
- package/dist/services/update-plan-handler.d.ts +56 -0
- package/dist/services/update-plan-handler.d.ts.map +1 -0
- package/dist/services/update-plan-handler.js +372 -0
- package/dist/services/update-plan-handler.js.map +1 -0
- package/dist/services/update-service.d.ts +197 -0
- package/dist/services/update-service.d.ts.map +1 -0
- package/dist/services/update-service.js +749 -0
- package/dist/services/update-service.js.map +1 -0
- package/dist/services/verifier.d.ts +113 -0
- package/dist/services/verifier.d.ts.map +1 -0
- package/dist/services/verifier.js +541 -0
- package/dist/services/verifier.js.map +1 -0
- package/dist/services/workflow-manager.d.ts +277 -0
- package/dist/services/workflow-manager.d.ts.map +1 -0
- package/dist/services/workflow-manager.js +616 -0
- package/dist/services/workflow-manager.js.map +1 -0
- package/dist/services/workflow-orchestrator.d.ts +148 -0
- package/dist/services/workflow-orchestrator.d.ts.map +1 -0
- package/dist/services/workflow-orchestrator.js +617 -0
- package/dist/services/workflow-orchestrator.js.map +1 -0
- package/dist/services/worktree-manager.d.ts +36 -0
- package/dist/services/worktree-manager.d.ts.map +1 -0
- package/dist/services/worktree-manager.js +185 -0
- package/dist/services/worktree-manager.js.map +1 -0
- package/dist/templates/ascii-art.d.ts +136 -0
- package/dist/templates/ascii-art.d.ts.map +1 -0
- package/dist/templates/ascii-art.js +286 -0
- package/dist/templates/ascii-art.js.map +1 -0
- package/dist/templates/help.d.ts +186 -0
- package/dist/templates/help.d.ts.map +1 -0
- package/dist/templates/help.js +588 -0
- package/dist/templates/help.js.map +1 -0
- package/dist/templates/prompts/workflow-prompts.d.ts +9 -0
- package/dist/templates/prompts/workflow-prompts.d.ts.map +1 -0
- package/dist/templates/prompts/workflow-prompts.js +9 -0
- package/dist/templates/prompts/workflow-prompts.js.map +1 -0
- package/dist/tools/agent-tools.d.ts +9 -0
- package/dist/tools/agent-tools.d.ts.map +1 -0
- package/dist/tools/agent-tools.js +349 -0
- package/dist/tools/agent-tools.js.map +1 -0
- package/dist/tools/edit-replacers.d.ts +90 -0
- package/dist/tools/edit-replacers.d.ts.map +1 -0
- package/dist/tools/edit-replacers.js +553 -0
- package/dist/tools/edit-replacers.js.map +1 -0
- package/dist/tools/file-tools.d.ts +13 -0
- package/dist/tools/file-tools.d.ts.map +1 -0
- package/dist/tools/file-tools.js +954 -0
- package/dist/tools/file-tools.js.map +1 -0
- package/dist/tools/git-tools.d.ts +9 -0
- package/dist/tools/git-tools.d.ts.map +1 -0
- package/dist/tools/git-tools.js +261 -0
- package/dist/tools/git-tools.js.map +1 -0
- package/dist/tools/index.d.ts +13 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +70 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/network-tools.d.ts +8 -0
- package/dist/tools/network-tools.d.ts.map +1 -0
- package/dist/tools/network-tools.js +261 -0
- package/dist/tools/network-tools.js.map +1 -0
- package/dist/tools/openai-tools.d.ts +16 -0
- package/dist/tools/openai-tools.d.ts.map +1 -0
- package/dist/tools/openai-tools.js +385 -0
- package/dist/tools/openai-tools.js.map +1 -0
- package/dist/tools/plan-tools.d.ts +9 -0
- package/dist/tools/plan-tools.d.ts.map +1 -0
- package/dist/tools/plan-tools.js +223 -0
- package/dist/tools/plan-tools.js.map +1 -0
- package/dist/tools/schedule-tools.d.ts +9 -0
- package/dist/tools/schedule-tools.d.ts.map +1 -0
- package/dist/tools/schedule-tools.js +405 -0
- package/dist/tools/schedule-tools.js.map +1 -0
- package/dist/tools/search-tools.d.ts +8 -0
- package/dist/tools/search-tools.d.ts.map +1 -0
- package/dist/tools/search-tools.js +357 -0
- package/dist/tools/search-tools.js.map +1 -0
- package/dist/tools/shared-utils.d.ts +91 -0
- package/dist/tools/shared-utils.d.ts.map +1 -0
- package/dist/tools/shared-utils.js +385 -0
- package/dist/tools/shared-utils.js.map +1 -0
- package/dist/tools/shell-tools.d.ts +9 -0
- package/dist/tools/shell-tools.d.ts.map +1 -0
- package/dist/tools/shell-tools.js +409 -0
- package/dist/tools/shell-tools.js.map +1 -0
- package/dist/tools/skill-tools.d.ts +13 -0
- package/dist/tools/skill-tools.d.ts.map +1 -0
- package/dist/tools/skill-tools.js +244 -0
- package/dist/tools/skill-tools.js.map +1 -0
- package/dist/tools/swarm-tools.d.ts +9 -0
- package/dist/tools/swarm-tools.d.ts.map +1 -0
- package/dist/tools/swarm-tools.js +422 -0
- package/dist/tools/swarm-tools.js.map +1 -0
- package/dist/tools/user-tools.d.ts +13 -0
- package/dist/tools/user-tools.d.ts.map +1 -0
- package/dist/tools/user-tools.js +232 -0
- package/dist/tools/user-tools.js.map +1 -0
- package/dist/types/agent-process.d.ts +244 -0
- package/dist/types/agent-process.d.ts.map +1 -0
- package/dist/types/agent-process.js +93 -0
- package/dist/types/agent-process.js.map +1 -0
- package/dist/types/agent.d.ts +358 -0
- package/dist/types/agent.d.ts.map +1 -0
- package/dist/types/agent.js +171 -0
- package/dist/types/agent.js.map +1 -0
- package/dist/types/anthropic.d.ts +438 -0
- package/dist/types/anthropic.d.ts.map +1 -0
- package/dist/types/anthropic.js +9 -0
- package/dist/types/anthropic.js.map +1 -0
- package/dist/types/approval.d.ts +332 -0
- package/dist/types/approval.d.ts.map +1 -0
- package/dist/types/approval.js +44 -0
- package/dist/types/approval.js.map +1 -0
- package/dist/types/autocomplete.d.ts +57 -0
- package/dist/types/autocomplete.d.ts.map +1 -0
- package/dist/types/autocomplete.js +7 -0
- package/dist/types/autocomplete.js.map +1 -0
- package/dist/types/chat-archive.d.ts +161 -0
- package/dist/types/chat-archive.d.ts.map +1 -0
- package/dist/types/chat-archive.js +36 -0
- package/dist/types/chat-archive.js.map +1 -0
- package/dist/types/config.d.ts +268 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +188 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/consent.d.ts +191 -0
- package/dist/types/consent.d.ts.map +1 -0
- package/dist/types/consent.js +119 -0
- package/dist/types/consent.js.map +1 -0
- package/dist/types/custom-command.d.ts +139 -0
- package/dist/types/custom-command.d.ts.map +1 -0
- package/dist/types/custom-command.js +7 -0
- package/dist/types/custom-command.js.map +1 -0
- package/dist/types/git.d.ts +20 -0
- package/dist/types/git.d.ts.map +1 -0
- package/dist/types/git.js +2 -0
- package/dist/types/git.js.map +1 -0
- package/dist/types/hook.d.ts +342 -0
- package/dist/types/hook.d.ts.map +1 -0
- package/dist/types/hook.js +84 -0
- package/dist/types/hook.js.map +1 -0
- package/dist/types/index.d.ts +86 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +71 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/mcp.d.ts +456 -0
- package/dist/types/mcp.d.ts.map +1 -0
- package/dist/types/mcp.js +94 -0
- package/dist/types/mcp.js.map +1 -0
- package/dist/types/rating.d.ts +110 -0
- package/dist/types/rating.d.ts.map +1 -0
- package/dist/types/rating.js +53 -0
- package/dist/types/rating.js.map +1 -0
- package/dist/types/schedule.d.ts +91 -0
- package/dist/types/schedule.d.ts.map +1 -0
- package/dist/types/schedule.js +8 -0
- package/dist/types/schedule.js.map +1 -0
- package/dist/types/session.d.ts +361 -0
- package/dist/types/session.d.ts.map +1 -0
- package/dist/types/session.js +9 -0
- package/dist/types/session.js.map +1 -0
- package/dist/types/skill.d.ts +258 -0
- package/dist/types/skill.d.ts.map +1 -0
- package/dist/types/skill.js +79 -0
- package/dist/types/skill.js.map +1 -0
- package/dist/types/statusline.d.ts +212 -0
- package/dist/types/statusline.d.ts.map +1 -0
- package/dist/types/statusline.js +8 -0
- package/dist/types/statusline.js.map +1 -0
- package/dist/types/stream.d.ts +61 -0
- package/dist/types/stream.d.ts.map +1 -0
- package/dist/types/stream.js +17 -0
- package/dist/types/stream.js.map +1 -0
- package/dist/types/swarm.d.ts +132 -0
- package/dist/types/swarm.d.ts.map +1 -0
- package/dist/types/swarm.js +21 -0
- package/dist/types/swarm.js.map +1 -0
- package/dist/types/token-limits.d.ts +107 -0
- package/dist/types/token-limits.d.ts.map +1 -0
- package/dist/types/token-limits.js +57 -0
- package/dist/types/token-limits.js.map +1 -0
- package/dist/types/token.d.ts +329 -0
- package/dist/types/token.d.ts.map +1 -0
- package/dist/types/token.js +9 -0
- package/dist/types/token.js.map +1 -0
- package/dist/types/update.d.ts +189 -0
- package/dist/types/update.d.ts.map +1 -0
- package/dist/types/update.js +55 -0
- package/dist/types/update.js.map +1 -0
- package/dist/types/workflow.d.ts +396 -0
- package/dist/types/workflow.d.ts.map +1 -0
- package/dist/types/workflow.js +46 -0
- package/dist/types/workflow.js.map +1 -0
- package/dist/ui/App.d.ts +62 -0
- package/dist/ui/App.d.ts.map +1 -0
- package/dist/ui/App.js +511 -0
- package/dist/ui/App.js.map +1 -0
- package/dist/ui/InteractiveSession.d.ts +34 -0
- package/dist/ui/InteractiveSession.d.ts.map +1 -0
- package/dist/ui/InteractiveSession.js +3611 -0
- package/dist/ui/InteractiveSession.js.map +1 -0
- package/dist/ui/MCPApprovalPrompt.d.ts +27 -0
- package/dist/ui/MCPApprovalPrompt.d.ts.map +1 -0
- package/dist/ui/MCPApprovalPrompt.js +51 -0
- package/dist/ui/MCPApprovalPrompt.js.map +1 -0
- package/dist/ui/SetupWizard.d.ts +26 -0
- package/dist/ui/SetupWizard.d.ts.map +1 -0
- package/dist/ui/SetupWizard.js +396 -0
- package/dist/ui/SetupWizard.js.map +1 -0
- package/dist/ui/components/AgentCreationWizard.d.ts +36 -0
- package/dist/ui/components/AgentCreationWizard.d.ts.map +1 -0
- package/dist/ui/components/AgentCreationWizard.js +619 -0
- package/dist/ui/components/AgentCreationWizard.js.map +1 -0
- package/dist/ui/components/AgentManager.d.ts +41 -0
- package/dist/ui/components/AgentManager.d.ts.map +1 -0
- package/dist/ui/components/AgentManager.js +343 -0
- package/dist/ui/components/AgentManager.js.map +1 -0
- package/dist/ui/components/ApprovalDialog.d.ts +18 -0
- package/dist/ui/components/ApprovalDialog.d.ts.map +1 -0
- package/dist/ui/components/ApprovalDialog.js +439 -0
- package/dist/ui/components/ApprovalDialog.js.map +1 -0
- package/dist/ui/components/AsciiArt.d.ts +54 -0
- package/dist/ui/components/AsciiArt.d.ts.map +1 -0
- package/dist/ui/components/AsciiArt.js +89 -0
- package/dist/ui/components/AsciiArt.js.map +1 -0
- package/dist/ui/components/ClarificationWizard.d.ts +36 -0
- package/dist/ui/components/ClarificationWizard.d.ts.map +1 -0
- package/dist/ui/components/ClarificationWizard.js +407 -0
- package/dist/ui/components/ClarificationWizard.js.map +1 -0
- package/dist/ui/components/CompassSpinner.d.ts +15 -0
- package/dist/ui/components/CompassSpinner.d.ts.map +1 -0
- package/dist/ui/components/CompassSpinner.js +50 -0
- package/dist/ui/components/CompassSpinner.js.map +1 -0
- package/dist/ui/components/ConfirmationSelector.d.ts +45 -0
- package/dist/ui/components/ConfirmationSelector.d.ts.map +1 -0
- package/dist/ui/components/ConfirmationSelector.js +106 -0
- package/dist/ui/components/ConfirmationSelector.js.map +1 -0
- package/dist/ui/components/ContextUsage.d.ts +76 -0
- package/dist/ui/components/ContextUsage.d.ts.map +1 -0
- package/dist/ui/components/ContextUsage.js +188 -0
- package/dist/ui/components/ContextUsage.js.map +1 -0
- package/dist/ui/components/DiffPreview.d.ts +13 -0
- package/dist/ui/components/DiffPreview.d.ts.map +1 -0
- package/dist/ui/components/DiffPreview.js +30 -0
- package/dist/ui/components/DiffPreview.js.map +1 -0
- package/dist/ui/components/ExecutionModeSelector.d.ts +45 -0
- package/dist/ui/components/ExecutionModeSelector.d.ts.map +1 -0
- package/dist/ui/components/ExecutionModeSelector.js +120 -0
- package/dist/ui/components/ExecutionModeSelector.js.map +1 -0
- package/dist/ui/components/FileTree.d.ts +47 -0
- package/dist/ui/components/FileTree.d.ts.map +1 -0
- package/dist/ui/components/FileTree.js +258 -0
- package/dist/ui/components/FileTree.js.map +1 -0
- package/dist/ui/components/HelpMenu.d.ts +49 -0
- package/dist/ui/components/HelpMenu.d.ts.map +1 -0
- package/dist/ui/components/HelpMenu.js +91 -0
- package/dist/ui/components/HelpMenu.js.map +1 -0
- package/dist/ui/components/InterleavedStream.d.ts +42 -0
- package/dist/ui/components/InterleavedStream.d.ts.map +1 -0
- package/dist/ui/components/InterleavedStream.js +1500 -0
- package/dist/ui/components/InterleavedStream.js.map +1 -0
- package/dist/ui/components/ModelSelector.d.ts +81 -0
- package/dist/ui/components/ModelSelector.d.ts.map +1 -0
- package/dist/ui/components/ModelSelector.js +305 -0
- package/dist/ui/components/ModelSelector.js.map +1 -0
- package/dist/ui/components/PlanApprovalDialog.d.ts +21 -0
- package/dist/ui/components/PlanApprovalDialog.d.ts.map +1 -0
- package/dist/ui/components/PlanApprovalDialog.js +189 -0
- package/dist/ui/components/PlanApprovalDialog.js.map +1 -0
- package/dist/ui/components/PlanExecutionTracker.d.ts +53 -0
- package/dist/ui/components/PlanExecutionTracker.d.ts.map +1 -0
- package/dist/ui/components/PlanExecutionTracker.js +113 -0
- package/dist/ui/components/PlanExecutionTracker.js.map +1 -0
- package/dist/ui/components/ProgressIndicator.d.ts +151 -0
- package/dist/ui/components/ProgressIndicator.d.ts.map +1 -0
- package/dist/ui/components/ProgressIndicator.js +171 -0
- package/dist/ui/components/ProgressIndicator.js.map +1 -0
- package/dist/ui/components/Prompt.d.ts +47 -0
- package/dist/ui/components/Prompt.d.ts.map +1 -0
- package/dist/ui/components/Prompt.js +632 -0
- package/dist/ui/components/Prompt.js.map +1 -0
- package/dist/ui/components/RatingPanel.d.ts +45 -0
- package/dist/ui/components/RatingPanel.d.ts.map +1 -0
- package/dist/ui/components/RatingPanel.js +119 -0
- package/dist/ui/components/RatingPanel.js.map +1 -0
- package/dist/ui/components/StatusLine.d.ts +43 -0
- package/dist/ui/components/StatusLine.d.ts.map +1 -0
- package/dist/ui/components/StatusLine.js +44 -0
- package/dist/ui/components/StatusLine.js.map +1 -0
- package/dist/ui/components/StreamingResponse.d.ts +45 -0
- package/dist/ui/components/StreamingResponse.d.ts.map +1 -0
- package/dist/ui/components/StreamingResponse.js +56 -0
- package/dist/ui/components/StreamingResponse.js.map +1 -0
- package/dist/ui/components/TokenUsage.d.ts +89 -0
- package/dist/ui/components/TokenUsage.d.ts.map +1 -0
- package/dist/ui/components/TokenUsage.js +99 -0
- package/dist/ui/components/TokenUsage.js.map +1 -0
- package/dist/ui/components/ToolSummary.d.ts +77 -0
- package/dist/ui/components/ToolSummary.d.ts.map +1 -0
- package/dist/ui/components/ToolSummary.js +162 -0
- package/dist/ui/components/ToolSummary.js.map +1 -0
- package/dist/ui/components/UpdateNotification.d.ts +65 -0
- package/dist/ui/components/UpdateNotification.d.ts.map +1 -0
- package/dist/ui/components/UpdateNotification.js +166 -0
- package/dist/ui/components/UpdateNotification.js.map +1 -0
- package/dist/ui/diff-renderer.d.ts +18 -0
- package/dist/ui/diff-renderer.d.ts.map +1 -0
- package/dist/ui/diff-renderer.js +206 -0
- package/dist/ui/diff-renderer.js.map +1 -0
- package/dist/ui/themes/markdown-theme.d.ts +48 -0
- package/dist/ui/themes/markdown-theme.d.ts.map +1 -0
- package/dist/ui/themes/markdown-theme.js +79 -0
- package/dist/ui/themes/markdown-theme.js.map +1 -0
- package/dist/ui/themes/ui-theme.d.ts +301 -0
- package/dist/ui/themes/ui-theme.d.ts.map +1 -0
- package/dist/ui/themes/ui-theme.js +204 -0
- package/dist/ui/themes/ui-theme.js.map +1 -0
- package/dist/utils/attachment-handler.d.ts +129 -0
- package/dist/utils/attachment-handler.d.ts.map +1 -0
- package/dist/utils/attachment-handler.js +280 -0
- package/dist/utils/attachment-handler.js.map +1 -0
- package/dist/utils/backup-cleanup.d.ts +28 -0
- package/dist/utils/backup-cleanup.d.ts.map +1 -0
- package/dist/utils/backup-cleanup.js +99 -0
- package/dist/utils/backup-cleanup.js.map +1 -0
- package/dist/utils/clipboard-handler.d.ts +82 -0
- package/dist/utils/clipboard-handler.d.ts.map +1 -0
- package/dist/utils/clipboard-handler.js +311 -0
- package/dist/utils/clipboard-handler.js.map +1 -0
- package/dist/utils/cloud-detection.d.ts +14 -0
- package/dist/utils/cloud-detection.d.ts.map +1 -0
- package/dist/utils/cloud-detection.js +92 -0
- package/dist/utils/cloud-detection.js.map +1 -0
- package/dist/utils/command-parser.d.ts +56 -0
- package/dist/utils/command-parser.d.ts.map +1 -0
- package/dist/utils/command-parser.js +206 -0
- package/dist/utils/command-parser.js.map +1 -0
- package/dist/utils/console-capture.d.ts +30 -0
- package/dist/utils/console-capture.d.ts.map +1 -0
- package/dist/utils/console-capture.js +88 -0
- package/dist/utils/console-capture.js.map +1 -0
- package/dist/utils/cron-parser.d.ts +52 -0
- package/dist/utils/cron-parser.d.ts.map +1 -0
- package/dist/utils/cron-parser.js +455 -0
- package/dist/utils/cron-parser.js.map +1 -0
- package/dist/utils/crypto.d.ts +351 -0
- package/dist/utils/crypto.d.ts.map +1 -0
- package/dist/utils/crypto.js +615 -0
- package/dist/utils/crypto.js.map +1 -0
- package/dist/utils/diff.d.ts +311 -0
- package/dist/utils/diff.d.ts.map +1 -0
- package/dist/utils/diff.js +566 -0
- package/dist/utils/diff.js.map +1 -0
- package/dist/utils/editor.d.ts +12 -0
- package/dist/utils/editor.d.ts.map +1 -0
- package/dist/utils/editor.js +30 -0
- package/dist/utils/editor.js.map +1 -0
- package/dist/utils/file-system.d.ts +512 -0
- package/dist/utils/file-system.d.ts.map +1 -0
- package/dist/utils/file-system.js +798 -0
- package/dist/utils/file-system.js.map +1 -0
- package/dist/utils/format.d.ts +318 -0
- package/dist/utils/format.d.ts.map +1 -0
- package/dist/utils/format.js +587 -0
- package/dist/utils/format.js.map +1 -0
- package/dist/utils/ignore-patterns.d.ts +93 -0
- package/dist/utils/ignore-patterns.d.ts.map +1 -0
- package/dist/utils/ignore-patterns.js +710 -0
- package/dist/utils/ignore-patterns.js.map +1 -0
- package/dist/utils/log-cleanup.d.ts +16 -0
- package/dist/utils/log-cleanup.d.ts.map +1 -0
- package/dist/utils/log-cleanup.js +51 -0
- package/dist/utils/log-cleanup.js.map +1 -0
- package/dist/utils/logger.d.ts +305 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +447 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/path.d.ts +406 -0
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/path.js +549 -0
- package/dist/utils/path.js.map +1 -0
- package/dist/utils/schedule-file.d.ts +63 -0
- package/dist/utils/schedule-file.d.ts.map +1 -0
- package/dist/utils/schedule-file.js +244 -0
- package/dist/utils/schedule-file.js.map +1 -0
- package/dist/utils/task-id.d.ts +29 -0
- package/dist/utils/task-id.d.ts.map +1 -0
- package/dist/utils/task-id.js +53 -0
- package/dist/utils/task-id.js.map +1 -0
- package/dist/utils/temp-cleanup.d.ts +46 -0
- package/dist/utils/temp-cleanup.d.ts.map +1 -0
- package/dist/utils/temp-cleanup.js +95 -0
- package/dist/utils/temp-cleanup.js.map +1 -0
- package/dist/utils/terminal-output.d.ts +34 -0
- package/dist/utils/terminal-output.d.ts.map +1 -0
- package/dist/utils/terminal-output.js +40 -0
- package/dist/utils/terminal-output.js.map +1 -0
- package/dist/utils/token-counter.d.ts +224 -0
- package/dist/utils/token-counter.d.ts.map +1 -0
- package/dist/utils/token-counter.js +332 -0
- package/dist/utils/token-counter.js.map +1 -0
- package/dist/utils/tool-mapper.d.ts +70 -0
- package/dist/utils/tool-mapper.d.ts.map +1 -0
- package/dist/utils/tool-mapper.js +234 -0
- package/dist/utils/tool-mapper.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow prompts for the planning and execution system.
|
|
3
|
+
*
|
|
4
|
+
* These templates are used for LLM interactions during the workflow phases.
|
|
5
|
+
* Templates use {{variable}} syntax for interpolation.
|
|
6
|
+
*
|
|
7
|
+
* The classification prompts are designed to be domain-agnostic, supporting both
|
|
8
|
+
* development tasks and productivity automation via MCP tools.
|
|
9
|
+
*/
|
|
10
|
+
import { interpolateTemplate } from './utils.js';
|
|
11
|
+
import { DEFAULT_PERSONALITY_MODE } from '../constants/index.js';
|
|
12
|
+
import * as os from 'os';
|
|
13
|
+
import { execSync } from 'child_process';
|
|
14
|
+
import { getPreferredShell } from '../services/shell-executor.js';
|
|
15
|
+
/**
|
|
16
|
+
* Prompt template for context analysis - analyzes codebase structure
|
|
17
|
+
* to understand its architecture and find relevant files.
|
|
18
|
+
*
|
|
19
|
+
* Variables:
|
|
20
|
+
* - {{userRequest}} - The user's request
|
|
21
|
+
* - {{projectType}} - Type of project (Node.js, React, etc.)
|
|
22
|
+
* - {{languages}} - Languages detected in the project
|
|
23
|
+
* - {{projectRoot}} - Root directory of the project
|
|
24
|
+
* - {{directoryTree}} - Directory structure
|
|
25
|
+
*/
|
|
26
|
+
export const CONTEXT_ANALYSIS_PROMPT = `
|
|
27
|
+
You are analyzing a codebase to understand its structure and find files relevant to a user request.
|
|
28
|
+
|
|
29
|
+
## User Request
|
|
30
|
+
{{userRequest}}
|
|
31
|
+
|
|
32
|
+
## Project Information
|
|
33
|
+
- Type: {{projectType}}
|
|
34
|
+
- Languages: {{languages}}
|
|
35
|
+
- Root: {{projectRoot}}
|
|
36
|
+
|
|
37
|
+
## Directory Structure
|
|
38
|
+
{{directoryTree}}
|
|
39
|
+
|
|
40
|
+
## Task
|
|
41
|
+
Analyze the project structure and identify:
|
|
42
|
+
1. Which areas of the codebase are likely affected (UI, backend, database, tests, etc.)
|
|
43
|
+
2. Key files that should be examined
|
|
44
|
+
3. Potential dependencies or related files
|
|
45
|
+
4. Any configuration that might need updating
|
|
46
|
+
|
|
47
|
+
Provide a structured analysis.
|
|
48
|
+
`;
|
|
49
|
+
/**
|
|
50
|
+
* Prompt template for complexity assessment - determines the best execution approach.
|
|
51
|
+
*
|
|
52
|
+
* Variables:
|
|
53
|
+
* - {{userRequest}} - The user's request
|
|
54
|
+
* - {{filesCount}} - Number of files potentially affected
|
|
55
|
+
* - {{affectedAreas}} - Areas of the codebase affected
|
|
56
|
+
* - {{recentChanges}} - Recent changes in the codebase
|
|
57
|
+
*/
|
|
58
|
+
export const COMPLEXITY_ASSESSMENT_PROMPT = `
|
|
59
|
+
You are assessing the complexity of a development task to determine the best execution approach.
|
|
60
|
+
|
|
61
|
+
## User Request
|
|
62
|
+
{{userRequest}}
|
|
63
|
+
|
|
64
|
+
## Context Summary
|
|
65
|
+
- Files potentially affected: {{filesCount}}
|
|
66
|
+
- Areas affected: {{affectedAreas}}
|
|
67
|
+
- Recent changes in codebase: {{recentChanges}}
|
|
68
|
+
|
|
69
|
+
## Assessment Criteria
|
|
70
|
+
|
|
71
|
+
**Simple/Direct Mode** - Execute immediately without planning:
|
|
72
|
+
- 1-3 files affected
|
|
73
|
+
- Less than 50 lines changed
|
|
74
|
+
- Clear, unambiguous requirements
|
|
75
|
+
- No architectural changes
|
|
76
|
+
- No breaking changes
|
|
77
|
+
|
|
78
|
+
**Clarification Needed** - Requires user input first:
|
|
79
|
+
- Ambiguous requirements
|
|
80
|
+
- Multiple valid approaches
|
|
81
|
+
- User preferences needed
|
|
82
|
+
- Missing information
|
|
83
|
+
|
|
84
|
+
**Plan Mode Required** - Needs detailed implementation plan:
|
|
85
|
+
- 4+ files affected
|
|
86
|
+
- 100+ lines of changes
|
|
87
|
+
- Architectural changes
|
|
88
|
+
- Breaking changes possible
|
|
89
|
+
- Cross-cutting concerns
|
|
90
|
+
|
|
91
|
+
## Task
|
|
92
|
+
Analyze the request and determine:
|
|
93
|
+
1. Which mode is appropriate
|
|
94
|
+
2. Key complexity factors
|
|
95
|
+
3. If clarification needed, what questions to ask
|
|
96
|
+
4. Estimated effort level
|
|
97
|
+
`;
|
|
98
|
+
/**
|
|
99
|
+
* Prompt template for plan generation - creates detailed implementation plans.
|
|
100
|
+
*
|
|
101
|
+
* Variables:
|
|
102
|
+
* - {{userRequest}} - The user's request
|
|
103
|
+
* - {{contextSummary}} - Summary of the gathered context
|
|
104
|
+
* - {{clarificationSummary}} - Summary of user clarifications (if any)
|
|
105
|
+
*/
|
|
106
|
+
export const PLAN_GENERATION_PROMPT = `
|
|
107
|
+
You are creating a detailed implementation plan for a development task.
|
|
108
|
+
|
|
109
|
+
## User Request
|
|
110
|
+
{{userRequest}}
|
|
111
|
+
|
|
112
|
+
## Context
|
|
113
|
+
{{contextSummary}}
|
|
114
|
+
|
|
115
|
+
## Clarification Answers (if any)
|
|
116
|
+
{{clarificationSummary}}
|
|
117
|
+
|
|
118
|
+
## Requirements
|
|
119
|
+
Generate a comprehensive implementation plan with:
|
|
120
|
+
|
|
121
|
+
1. **Problem Statement** - Clear description of what we're building and why
|
|
122
|
+
|
|
123
|
+
2. **Requirements Analysis**
|
|
124
|
+
- Extract explicit requirements from user request
|
|
125
|
+
- Infer implicit requirements
|
|
126
|
+
- Reference clarification answers where applicable
|
|
127
|
+
|
|
128
|
+
3. **Edge Cases** - Identify potential edge cases and how to handle them
|
|
129
|
+
|
|
130
|
+
4. **Impact Assessment**
|
|
131
|
+
- Files to create/modify/delete
|
|
132
|
+
- Dependencies affected
|
|
133
|
+
- Breaking changes if any
|
|
134
|
+
- Migration needs
|
|
135
|
+
|
|
136
|
+
5. **Task Breakdown**
|
|
137
|
+
For each task include:
|
|
138
|
+
- Clear description
|
|
139
|
+
- Target files and specific code sections
|
|
140
|
+
- Dependencies on other tasks
|
|
141
|
+
- Verification criteria
|
|
142
|
+
|
|
143
|
+
6. **Risk Analysis**
|
|
144
|
+
- Potential issues
|
|
145
|
+
- Mitigation strategies
|
|
146
|
+
- Rollback approach
|
|
147
|
+
|
|
148
|
+
7. **Testing Requirements**
|
|
149
|
+
- Unit tests needed
|
|
150
|
+
- Integration tests needed
|
|
151
|
+
- Manual testing steps
|
|
152
|
+
|
|
153
|
+
Ensure tasks are ordered by dependencies and each task is atomic and independently verifiable.
|
|
154
|
+
`;
|
|
155
|
+
/**
|
|
156
|
+
* Prompt template for verification - verifies implementation matches its plan.
|
|
157
|
+
*
|
|
158
|
+
* Variables:
|
|
159
|
+
* - {{planSummary}} - Summary of the original plan
|
|
160
|
+
* - {{executionResults}} - Results of the implementation
|
|
161
|
+
* - {{diffSummary}} - Summary of changes made
|
|
162
|
+
*/
|
|
163
|
+
export const VERIFICATION_PROMPT = `
|
|
164
|
+
You are verifying that an implementation matches its plan.
|
|
165
|
+
|
|
166
|
+
## Original Plan
|
|
167
|
+
{{planSummary}}
|
|
168
|
+
|
|
169
|
+
## Implementation Results
|
|
170
|
+
{{executionResults}}
|
|
171
|
+
|
|
172
|
+
## Changes Made
|
|
173
|
+
{{diffSummary}}
|
|
174
|
+
|
|
175
|
+
## Verification Tasks
|
|
176
|
+
1. Verify each planned task was completed correctly
|
|
177
|
+
2. Check for orphaned or incomplete code
|
|
178
|
+
3. Verify all requirements are addressed
|
|
179
|
+
4. Check alignment with clarification answers
|
|
180
|
+
5. Identify any deviations from the plan
|
|
181
|
+
|
|
182
|
+
Provide a detailed verification report.
|
|
183
|
+
`;
|
|
184
|
+
/**
|
|
185
|
+
* Prompt template for LLM-based complexity classification decision.
|
|
186
|
+
*
|
|
187
|
+
* This prompt presents all gathered factors and heuristic analysis to the LLM,
|
|
188
|
+
* allowing it to make the final decision about execution mode with full context.
|
|
189
|
+
*
|
|
190
|
+
* Variables:
|
|
191
|
+
* - {{userRequest}} - The user's request
|
|
192
|
+
* - {{filesAffected}} - Number of files potentially affected
|
|
193
|
+
* - {{linesChanged}} - Estimated lines to be changed
|
|
194
|
+
* - {{requirementsClear}} - Whether requirements are clear (true/false)
|
|
195
|
+
* - {{architecturalChange}} - Whether this involves architectural changes
|
|
196
|
+
* - {{breakingChanges}} - Whether this may cause breaking changes
|
|
197
|
+
* - {{crossCuttingConcerns}} - Whether multiple subsystems are affected
|
|
198
|
+
* - {{createsAbstractions}} - Whether new abstractions will be created
|
|
199
|
+
* - {{requiresMigration}} - Whether data migration is needed
|
|
200
|
+
* - {{implementationApproaches}} - Number of valid implementation approaches
|
|
201
|
+
* - {{riskLevel}} - Risk level (1-10)
|
|
202
|
+
* - {{heuristicMode}} - What the rule-based system suggests
|
|
203
|
+
* - {{heuristicConfidence}} - Confidence of heuristic suggestion (0-100)
|
|
204
|
+
* - {{heuristicReasoning}} - Reasoning from heuristic analysis
|
|
205
|
+
* - {{affectedAreas}} - Codebase areas affected
|
|
206
|
+
* - {{relevantFiles}} - Key files identified
|
|
207
|
+
*/
|
|
208
|
+
export const LLM_COMPLEXITY_CLASSIFICATION_PROMPT = `You are determining the appropriate execution mode for a development task.
|
|
209
|
+
|
|
210
|
+
## Execution Modes
|
|
211
|
+
|
|
212
|
+
**DIRECT** - Execute immediately without planning:
|
|
213
|
+
- Simple, focused changes (1-3 files, <50 lines)
|
|
214
|
+
- Clear, unambiguous requirements with single obvious approach
|
|
215
|
+
- No architectural impact, no breaking changes
|
|
216
|
+
- Low risk (e.g., typo fixes, simple bug fixes, adding logs)
|
|
217
|
+
- **Requests to understand, explain, or analyze existing code** - the codebase needs to be explored thoroughly
|
|
218
|
+
|
|
219
|
+
**NO_ACTION** - Nothing needs to be done:
|
|
220
|
+
- The requested feature/change is already fully implemented in the codebase
|
|
221
|
+
- The request doesn't make sense given the current code structure or project context
|
|
222
|
+
- The request conflicts with existing functionality or architecture in a way that makes it invalid
|
|
223
|
+
- **NOT for requests to understand, explain, analyze, or explore existing code** - those need DIRECT mode to properly search the codebase
|
|
224
|
+
- When using this mode: provide clear explanation of why no action is needed, and offer a helpful follow-up question or tip to guide the user
|
|
225
|
+
|
|
226
|
+
**TODO_LIST** - Create a simple task checklist:
|
|
227
|
+
- Medium complexity tasks (2-8 files, 30-200 lines)
|
|
228
|
+
- Requirements are clear OR sufficient code context is available to proceed
|
|
229
|
+
- No architectural changes or breaking changes
|
|
230
|
+
- Multiple sequential steps that benefit from tracking
|
|
231
|
+
- Moderate risk level (not too simple, not too complex)
|
|
232
|
+
- PREFER this mode when code snippets/files have been analyzed and provide sufficient context
|
|
233
|
+
- Good for: adding a feature across a few files, implementing a well-defined component, updating multiple related files
|
|
234
|
+
|
|
235
|
+
**PLAN** - Requires detailed implementation plan:
|
|
236
|
+
- Large refactoring across many existing files (4+ files, 100+ lines)
|
|
237
|
+
- Architectural modifications to existing systems
|
|
238
|
+
- Breaking changes or migrations of existing data/APIs
|
|
239
|
+
- High risk changes to production code
|
|
240
|
+
- Cross-cutting concerns affecting multiple existing subsystems
|
|
241
|
+
|
|
242
|
+
**PLAN_ADOPT** - User has already provided a structured plan:
|
|
243
|
+
- Input contains numbered steps, ordered tasks, or a clear implementation sequence
|
|
244
|
+
- Often comes from user approving/refining a previous LLM suggestion
|
|
245
|
+
- Indicators: "1.", "2.", "3." sequence, bullet points with specific actions, task lists
|
|
246
|
+
- Your job: validate feasibility, enrich with technical details, format to schema
|
|
247
|
+
- PRESERVE user's task order and descriptions - do NOT regenerate or reorder
|
|
248
|
+
- Use this when the user's input already IS the plan, not just a request FOR a plan
|
|
249
|
+
|
|
250
|
+
## Important Guidance
|
|
251
|
+
- **TODO_LIST is the balanced default** for medium-complexity tasks when code context is available. It provides structure without over-planning.
|
|
252
|
+
- **Default to DIRECT for simple tasks** and TODO_LIST for multi-step tasks - the agentic loop has AskUserQuestion tool available for questions during execution
|
|
253
|
+
- For **new programs/scripts**: Use TODO_LIST if the request is reasonably specific
|
|
254
|
+
- PLAN is mainly for **modifying existing complex codebases** with architectural changes, not for greenfield development
|
|
255
|
+
- When in doubt between TODO_LIST and PLAN, prefer TODO_LIST if there are no architectural changes
|
|
256
|
+
- **PLAN_ADOPT saves time** when users provide structured input - don't regenerate what they've already defined
|
|
257
|
+
|
|
258
|
+
## User Request
|
|
259
|
+
{{userRequest}}
|
|
260
|
+
|
|
261
|
+
## Analyzed Complexity Factors
|
|
262
|
+
| Factor | Value |
|
|
263
|
+
|--------|-------|
|
|
264
|
+
| Files likely affected | {{filesAffected}} |
|
|
265
|
+
| Estimated lines changed | {{linesChanged}} |
|
|
266
|
+
| Requirements clear | {{requirementsClear}} |
|
|
267
|
+
| Context sufficiency | {{contextSufficiency}} |
|
|
268
|
+
| Architectural change | {{architecturalChange}} |
|
|
269
|
+
| Breaking changes | {{breakingChanges}} |
|
|
270
|
+
| Cross-cutting concerns | {{crossCuttingConcerns}} |
|
|
271
|
+
| Creates abstractions | {{createsAbstractions}} |
|
|
272
|
+
| Requires migration | {{requiresMigration}} |
|
|
273
|
+
| Implementation approaches | {{implementationApproaches}} |
|
|
274
|
+
| Risk level | {{riskLevel}}/10 |
|
|
275
|
+
|
|
276
|
+
## Heuristic Analysis (Rule-Based)
|
|
277
|
+
- **Suggested Mode**: {{heuristicMode}}
|
|
278
|
+
- **Confidence**: {{heuristicConfidence}}%
|
|
279
|
+
- **Reasoning**: {{heuristicReasoning}}
|
|
280
|
+
|
|
281
|
+
## Codebase Context
|
|
282
|
+
- **Affected Areas**: {{affectedAreas}}
|
|
283
|
+
- **Key Files**: {{relevantFiles}}
|
|
284
|
+
|
|
285
|
+
## Your Task
|
|
286
|
+
Analyze the request and factors above. Consider:
|
|
287
|
+
1. Does the heuristic suggestion make sense, or does context warrant a different mode?
|
|
288
|
+
2. **Context sufficiency is key**: If context sufficiency is "medium" or "high", prefer TODO_LIST.
|
|
289
|
+
3. Are there nuances the rules might miss (e.g., security implications, hidden complexity)?
|
|
290
|
+
4. Default to DIRECT for simple tasks, TODO_LIST for multi-step tasks, PLAN only for genuine architectural complexity
|
|
291
|
+
|
|
292
|
+
## Reasoning Guidelines
|
|
293
|
+
Your reasoning should be **concise and actionable**:
|
|
294
|
+
- State the key insight about what's needed to proceed
|
|
295
|
+
- Do NOT list multiple interpretations ("The user could mean: (1)..., (2)..., (3)...")
|
|
296
|
+
- Do NOT enumerate possibilities or reflect on ambiguity
|
|
297
|
+
- Focus on **what information is missing** or **why the chosen mode is appropriate**
|
|
298
|
+
|
|
299
|
+
## Response Format
|
|
300
|
+
|
|
301
|
+
**CRITICAL**: You MUST respond with ONLY valid JSON wrapped in a markdown code block. Your response will be parsed with JSON.parse().
|
|
302
|
+
|
|
303
|
+
\`\`\`json
|
|
304
|
+
{
|
|
305
|
+
"mode": "TODO_LIST",
|
|
306
|
+
"confidence": 80,
|
|
307
|
+
"reasoning": "Medium complexity task with clear implementation path.",
|
|
308
|
+
"agreesWithHeuristic": true
|
|
309
|
+
}
|
|
310
|
+
\`\`\`
|
|
311
|
+
|
|
312
|
+
**Field Requirements:**
|
|
313
|
+
- **mode** (required): Exactly one of: "NO_ACTION", "DIRECT", "TODO_LIST", "PLAN", "PLAN_ADOPT"
|
|
314
|
+
- **confidence** (required): Number 0-100 (integer, no quotes)
|
|
315
|
+
- **reasoning** (required): String with 1-2 concise sentences
|
|
316
|
+
- **agreesWithHeuristic** (required): Boolean (true or false, no quotes)
|
|
317
|
+
- **noActionExplanation** (conditional): String, ONLY if mode is "NO_ACTION"
|
|
318
|
+
- **adoptedPlanSummary** (conditional): String, ONLY if mode is "PLAN_ADOPT"
|
|
319
|
+
|
|
320
|
+
**Common Mistakes:**
|
|
321
|
+
- Do NOT use "DIRECT" | "TODO_LIST" - choose ONE mode
|
|
322
|
+
- Do NOT use <number> or <boolean> - use actual values
|
|
323
|
+
- Do NOT include conditional fields unless their condition applies`;
|
|
324
|
+
// =============================================================================
|
|
325
|
+
// CLASSIFIER PERSONALITY GUIDELINES
|
|
326
|
+
// =============================================================================
|
|
327
|
+
/**
|
|
328
|
+
* Classifier-specific personality guidelines.
|
|
329
|
+
* These are lighter-weight than the main prompt personalities, focused on
|
|
330
|
+
* how the classifier should reason and communicate its analysis.
|
|
331
|
+
*/
|
|
332
|
+
export const CLASSIFIER_PERSONALITY_GUIDELINES = {
|
|
333
|
+
professional: `## Communication Style
|
|
334
|
+
- Be concise and direct in your reasoning (1-2 sentences)
|
|
335
|
+
- Focus on actionable insights, not listing possibilities
|
|
336
|
+
- State the key factors that drove your decision
|
|
337
|
+
- Avoid hedging or over-qualifying your assessment`,
|
|
338
|
+
brutally_honest: `## Communication Style
|
|
339
|
+
- Be blunt and direct - no hedging, no "might be" or "could be"
|
|
340
|
+
- One sentence reasoning max unless something is genuinely complex
|
|
341
|
+
- Call out bad practices or unclear requests directly
|
|
342
|
+
- Don't soften your assessment to be polite`,
|
|
343
|
+
verbose_analyst: `## Communication Style
|
|
344
|
+
- Explain your reasoning process step by step
|
|
345
|
+
- Discuss what factors you weighed and why
|
|
346
|
+
- Mention alternatives you considered if relevant
|
|
347
|
+
- Provide context for your decision
|
|
348
|
+
- It's okay to be thorough - understanding matters more than brevity`,
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Gets the classifier personality guidelines for a given mode.
|
|
352
|
+
*/
|
|
353
|
+
export function getClassifierPersonalityGuidelines(mode) {
|
|
354
|
+
return CLASSIFIER_PERSONALITY_GUIDELINES[mode] || CLASSIFIER_PERSONALITY_GUIDELINES.professional;
|
|
355
|
+
}
|
|
356
|
+
// =============================================================================
|
|
357
|
+
// REFACTORED SYSTEM PROMPT (contains all static instructions)
|
|
358
|
+
// =============================================================================
|
|
359
|
+
/**
|
|
360
|
+
* System prompt for LLM-first classification.
|
|
361
|
+
* This establishes the LLM's role as a task complexity analyzer.
|
|
362
|
+
*
|
|
363
|
+
* Contains all static content that can be cached:
|
|
364
|
+
* - Role definition
|
|
365
|
+
* - Execution mode definitions
|
|
366
|
+
* - Decision guidelines
|
|
367
|
+
* - Response format specification
|
|
368
|
+
* - Personality guidelines (interpolated)
|
|
369
|
+
* - Directory structure (interpolated)
|
|
370
|
+
*
|
|
371
|
+
* Variables:
|
|
372
|
+
* - {{personalityGuidelines}} - Communication style based on personality mode
|
|
373
|
+
* - {{directoryTree}} - Directory structure of the project
|
|
374
|
+
*/
|
|
375
|
+
export const LLM_FIRST_CLASSIFICATION_SYSTEM_PROMPT = `You are a task complexity analyzer for a CLI assistant that handles both development tasks and productivity automation.
|
|
376
|
+
|
|
377
|
+
Your role is to examine user requests and available context to determine the optimal execution approach.
|
|
378
|
+
|
|
379
|
+
{{personalityGuidelines}}
|
|
380
|
+
|
|
381
|
+
## Available External Tools
|
|
382
|
+
{{availableMCPTools}}
|
|
383
|
+
|
|
384
|
+
## Available Sub-Agents
|
|
385
|
+
{{availableSubAgents}}
|
|
386
|
+
|
|
387
|
+
## System Information
|
|
388
|
+
{{systemInfo}}
|
|
389
|
+
|
|
390
|
+
## Execution Modes
|
|
391
|
+
|
|
392
|
+
**NO_ACTION** - Nothing needs to be done:
|
|
393
|
+
- The requested feature/change is already fully implemented
|
|
394
|
+
- The request doesn't make sense given the current context
|
|
395
|
+
- **IMPORTANT**: Do NOT use NO_ACTION just because there are no relevant code files. If the request can be accomplished via available MCP tools, use DIRECT or TODO_LIST instead.
|
|
396
|
+
- **NOT for requests to understand, explain, analyze, or explore** - those need DIRECT mode
|
|
397
|
+
- When using this mode: provide clear explanation of why no action is needed, and offer a helpful follow-up question or tip to guide the user
|
|
398
|
+
|
|
399
|
+
**DIRECT** - Execute immediately without planning:
|
|
400
|
+
- Simple, focused tasks with clear implementation path
|
|
401
|
+
- Examples for code: renaming a variable, fixing a typo, adding a log statement
|
|
402
|
+
- Examples for external tools: creating a single meeting, sending an email, running a web search
|
|
403
|
+
- **Requests to understand, explain, or analyze existing content**
|
|
404
|
+
- Clear implementation path, no design decisions needed
|
|
405
|
+
|
|
406
|
+
**TODO_LIST** - Create a simple task checklist:
|
|
407
|
+
- Medium complexity tasks (3-6 files or multiple steps)
|
|
408
|
+
- Clear requirements with straightforward implementation
|
|
409
|
+
- No architectural changes, but multiple steps to track
|
|
410
|
+
- Good for: well-defined features, multi-step workflows, sequential tasks
|
|
411
|
+
|
|
412
|
+
**PLAN** - Requires detailed implementation plan:
|
|
413
|
+
- Genuinely complex architectural changes
|
|
414
|
+
- Multiple interdependent systems affected
|
|
415
|
+
- Breaking changes or risky modifications
|
|
416
|
+
- Complex coordination required across multiple components
|
|
417
|
+
|
|
418
|
+
**PLAN_ADOPT** - User has already provided a structured plan:
|
|
419
|
+
- Input contains numbered steps, ordered tasks, or a clear implementation sequence
|
|
420
|
+
- Often comes from user approving/refining a previous LLM suggestion
|
|
421
|
+
- Indicators: "1.", "2.", "3." sequence, "first... then... finally", bullet points with specific actions, task lists
|
|
422
|
+
- Your job: validate feasibility, enrich with technical details (file paths, IDs, dependencies), format to schema
|
|
423
|
+
- PRESERVE user's task order and descriptions - do NOT regenerate or reorder unless dependencies are clearly wrong
|
|
424
|
+
- Use this when the user's input already IS the plan, not just a request FOR a plan
|
|
425
|
+
|
|
426
|
+
**SPAWN_AGENT** - Delegate to a specialized sub-agent:
|
|
427
|
+
- Task matches the specialization of an available sub-agent (see Available Sub-Agents section above)
|
|
428
|
+
- Sub-agent can handle the task more efficiently than the main agentic loop
|
|
429
|
+
- Examples: codebase exploration, code review, debugging, planning
|
|
430
|
+
- Benefits: reduced context usage, specialized expertise, isolated execution
|
|
431
|
+
- When using this mode: specify which agent to spawn and provide a refined task description
|
|
432
|
+
- The sub-agent will be invoked automatically via the spawn_task tool
|
|
433
|
+
|
|
434
|
+
## Decision Guidelines
|
|
435
|
+
|
|
436
|
+
### For Code Tasks:
|
|
437
|
+
- **Don't be fooled by file count.** 20 files with the same simple change = DIRECT. 3 files with complex interdependencies = PLAN.
|
|
438
|
+
- **Look at the actual code.** Are these files genuinely interconnected, or just keyword matches?
|
|
439
|
+
- **When in doubt:** prefer TODO_LIST/DIRECT. The agent has AskUserQuestion tool for questions during execution.
|
|
440
|
+
|
|
441
|
+
### For External Tool Tasks (MCP/automation):
|
|
442
|
+
- If the task can be accomplished with available MCP tools, it's a valid task
|
|
443
|
+
- Simple single-action tasks (create meeting, send email) = DIRECT
|
|
444
|
+
- Multi-step workflows = TODO_LIST
|
|
445
|
+
|
|
446
|
+
### General:
|
|
447
|
+
- **Default to DIRECT or TODO_LIST** - The agent can ask questions during execution via AskUserQuestion tool as needed
|
|
448
|
+
- **TODO_LIST** is great for medium-complexity tasks with clear requirements - simpler than PLAN but provides tracking
|
|
449
|
+
- **PLAN is for genuine complexity**, not bureaucratic overhead
|
|
450
|
+
- **PLAN_ADOPT saves time** when users provide structured input - don't regenerate what they've already defined
|
|
451
|
+
|
|
452
|
+
## Response Format
|
|
453
|
+
|
|
454
|
+
Respond with JSON conforming to the provided schema. Include only fields relevant to the chosen mode.
|
|
455
|
+
|
|
456
|
+
## Project Directory Structure
|
|
457
|
+
{{directoryTree}}`;
|
|
458
|
+
/**
|
|
459
|
+
* User prompt template for LLM-first classification.
|
|
460
|
+
*
|
|
461
|
+
* Contains only the request-specific, dynamic data. All static instructions
|
|
462
|
+
* (mode definitions, guidelines, response format) are in the system prompt
|
|
463
|
+
* for better caching and token efficiency.
|
|
464
|
+
*
|
|
465
|
+
* Variables:
|
|
466
|
+
* - {{userRequest}} - The user's request
|
|
467
|
+
* - {{projectType}} - Type of project
|
|
468
|
+
* - {{languages}} - Languages in the project
|
|
469
|
+
* - {{fileCount}} - Total files gathered
|
|
470
|
+
* - {{affectedAreas}} - Detected codebase areas
|
|
471
|
+
*/
|
|
472
|
+
export const LLM_FIRST_CLASSIFICATION_PROMPT = `## User Request
|
|
473
|
+
{{userRequest}}
|
|
474
|
+
|
|
475
|
+
## Project Context
|
|
476
|
+
- **Type:** {{projectType}}
|
|
477
|
+
- **Languages:** {{languages}}
|
|
478
|
+
- **Files gathered:** {{fileCount}}
|
|
479
|
+
- **Affected Areas:** {{affectedAreas}}`;
|
|
480
|
+
/**
|
|
481
|
+
* Prompt template for rollback analysis - analyzes rollback strategy.
|
|
482
|
+
*
|
|
483
|
+
* Variables:
|
|
484
|
+
* - {{planSummary}} - Summary of the plan
|
|
485
|
+
* - {{fileOperations}} - File operations performed
|
|
486
|
+
* - {{commits}} - Git commits made
|
|
487
|
+
*/
|
|
488
|
+
export const ROLLBACK_ANALYSIS_PROMPT = `
|
|
489
|
+
Analyze the rollback strategy for this implementation plan.
|
|
490
|
+
|
|
491
|
+
## Plan Summary
|
|
492
|
+
{{planSummary}}
|
|
493
|
+
|
|
494
|
+
## File Operations
|
|
495
|
+
{{fileOperations}}
|
|
496
|
+
|
|
497
|
+
## Git Commits
|
|
498
|
+
{{commits}}
|
|
499
|
+
|
|
500
|
+
## Task
|
|
501
|
+
Determine the safest rollback approach:
|
|
502
|
+
1. Order of operations to undo changes
|
|
503
|
+
2. Data migration reversals if applicable
|
|
504
|
+
3. Dependencies to consider
|
|
505
|
+
4. Potential data loss warnings
|
|
506
|
+
`;
|
|
507
|
+
/**
|
|
508
|
+
* All workflow prompt templates exported as a collection.
|
|
509
|
+
*/
|
|
510
|
+
export const WORKFLOW_PROMPTS = {
|
|
511
|
+
contextAnalysis: CONTEXT_ANALYSIS_PROMPT,
|
|
512
|
+
complexityAssessment: COMPLEXITY_ASSESSMENT_PROMPT,
|
|
513
|
+
llmComplexityClassification: LLM_COMPLEXITY_CLASSIFICATION_PROMPT,
|
|
514
|
+
llmFirstClassification: LLM_FIRST_CLASSIFICATION_PROMPT,
|
|
515
|
+
llmFirstClassificationSystem: LLM_FIRST_CLASSIFICATION_SYSTEM_PROMPT,
|
|
516
|
+
classifierPersonalityGuidelines: CLASSIFIER_PERSONALITY_GUIDELINES,
|
|
517
|
+
planGeneration: PLAN_GENERATION_PROMPT,
|
|
518
|
+
verification: VERIFICATION_PROMPT,
|
|
519
|
+
rollbackAnalysis: ROLLBACK_ANALYSIS_PROMPT,
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* Helper functions for workflow prompts
|
|
523
|
+
*/
|
|
524
|
+
export const WorkflowPromptHelpers = {
|
|
525
|
+
/**
|
|
526
|
+
* Interpolates the context analysis prompt with variables.
|
|
527
|
+
*/
|
|
528
|
+
buildContextAnalysisPrompt: (variables) => interpolateTemplate(CONTEXT_ANALYSIS_PROMPT, variables),
|
|
529
|
+
/**
|
|
530
|
+
* Interpolates the complexity assessment prompt with variables.
|
|
531
|
+
*/
|
|
532
|
+
buildComplexityAssessmentPrompt: (variables) => interpolateTemplate(COMPLEXITY_ASSESSMENT_PROMPT, variables),
|
|
533
|
+
/**
|
|
534
|
+
* Interpolates the plan generation prompt with variables.
|
|
535
|
+
*/
|
|
536
|
+
buildPlanGenerationPrompt: (variables) => interpolateTemplate(PLAN_GENERATION_PROMPT, variables),
|
|
537
|
+
/**
|
|
538
|
+
* Interpolates the verification prompt with variables.
|
|
539
|
+
*/
|
|
540
|
+
buildVerificationPrompt: (variables) => interpolateTemplate(VERIFICATION_PROMPT, variables),
|
|
541
|
+
/**
|
|
542
|
+
* Interpolates the rollback analysis prompt with variables.
|
|
543
|
+
*/
|
|
544
|
+
buildRollbackAnalysisPrompt: (variables) => interpolateTemplate(ROLLBACK_ANALYSIS_PROMPT, variables),
|
|
545
|
+
/**
|
|
546
|
+
* Interpolates the LLM complexity classification prompt with all factors.
|
|
547
|
+
*/
|
|
548
|
+
buildLLMComplexityClassificationPrompt: (variables) => interpolateTemplate(LLM_COMPLEXITY_CLASSIFICATION_PROMPT, variables),
|
|
549
|
+
/**
|
|
550
|
+
* Interpolates the LLM-first classification user prompt.
|
|
551
|
+
* Contains only dynamic data - all static instructions are in the system prompt.
|
|
552
|
+
*/
|
|
553
|
+
buildLLMFirstClassificationPrompt: (variables) => interpolateTemplate(LLM_FIRST_CLASSIFICATION_PROMPT, variables),
|
|
554
|
+
/**
|
|
555
|
+
* Builds the complete system prompt for LLM-first classification.
|
|
556
|
+
* Includes personality guidelines for consistent tone with the main assistant.
|
|
557
|
+
*/
|
|
558
|
+
/**
|
|
559
|
+
* Gathers current system information for injection into the prompt.
|
|
560
|
+
*/
|
|
561
|
+
getSystemInfo(workingDirectory) {
|
|
562
|
+
const cwd = workingDirectory || process.cwd();
|
|
563
|
+
// Check if directory is a git repo
|
|
564
|
+
let isGitRepo = false;
|
|
565
|
+
try {
|
|
566
|
+
execSync('git rev-parse --is-inside-work-tree', {
|
|
567
|
+
cwd,
|
|
568
|
+
stdio: 'pipe',
|
|
569
|
+
encoding: 'utf-8'
|
|
570
|
+
});
|
|
571
|
+
isGitRepo = true;
|
|
572
|
+
}
|
|
573
|
+
catch {
|
|
574
|
+
isGitRepo = false;
|
|
575
|
+
}
|
|
576
|
+
// Get platform
|
|
577
|
+
const platform = process.platform;
|
|
578
|
+
// Get OS version
|
|
579
|
+
const osVersion = `${os.type()} ${os.release()}`;
|
|
580
|
+
// Get preferred shell (uses cached detection from shell-executor)
|
|
581
|
+
const shell = getPreferredShell();
|
|
582
|
+
// Get today's date in YYYY-MM-DD format
|
|
583
|
+
const today = new Date().toISOString().split('T')[0];
|
|
584
|
+
return `Working directory: ${cwd}
|
|
585
|
+
Is directory a git repo: ${isGitRepo ? 'Yes' : 'No'}
|
|
586
|
+
Platform: ${platform}
|
|
587
|
+
OS Version: ${osVersion}
|
|
588
|
+
Shell: ${shell}
|
|
589
|
+
Today's date: ${today}`;
|
|
590
|
+
},
|
|
591
|
+
/**
|
|
592
|
+
* Builds the complete system prompt for LLM-first classification.
|
|
593
|
+
* Includes personality guidelines for consistent tone with the main assistant.
|
|
594
|
+
*/
|
|
595
|
+
buildClassifierSystemPrompt: (options) => {
|
|
596
|
+
const { personalityMode = DEFAULT_PERSONALITY_MODE, directoryTree = 'Directory structure not available', availableMCPTools = 'No external tools currently connected.', availableSubAgents = 'No specialized sub-agents are currently available.', workingDirectory, } = options;
|
|
597
|
+
const personalityGuidelines = getClassifierPersonalityGuidelines(personalityMode);
|
|
598
|
+
const systemInfo = WorkflowPromptHelpers.getSystemInfo(workingDirectory);
|
|
599
|
+
return interpolateTemplate(LLM_FIRST_CLASSIFICATION_SYSTEM_PROMPT, {
|
|
600
|
+
personalityGuidelines,
|
|
601
|
+
directoryTree,
|
|
602
|
+
availableMCPTools,
|
|
603
|
+
availableSubAgents,
|
|
604
|
+
systemInfo,
|
|
605
|
+
});
|
|
606
|
+
},
|
|
607
|
+
};
|
|
608
|
+
//# sourceMappingURL=workflow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../src/prompts/workflow.ts"],"names":[],"mappings":"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"}
|