codingbuddy 5.1.3 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/src/agent/agent-prompt.builder.js +135 -2
- package/dist/src/agent/agent-stack.loader.d.ts +3 -0
- package/dist/src/agent/agent-stack.loader.js +38 -0
- package/dist/src/agent/agent-stack.schema.d.ts +14 -0
- package/dist/src/agent/agent-stack.schema.js +19 -0
- package/dist/src/agent/agent-stack.service.d.ts +15 -0
- package/dist/src/agent/agent-stack.service.js +112 -0
- package/dist/src/agent/agent.module.js +5 -2
- package/dist/src/agent/agent.service.d.ts +8 -1
- package/dist/src/agent/agent.service.js +126 -40
- package/dist/src/agent/agent.types.d.ts +26 -46
- package/dist/src/agent/council-preset.service.d.ts +6 -0
- package/dist/src/agent/council-preset.service.js +46 -0
- package/dist/src/agent/council-preset.types.d.ts +6 -0
- package/dist/src/agent/council-preset.types.js +3 -0
- package/dist/src/agent/execution-plan.d.ts +8 -0
- package/dist/src/agent/execution-plan.js +73 -0
- package/dist/src/agent/execution-plan.types.d.ts +74 -0
- package/dist/src/agent/execution-plan.types.js +3 -0
- package/dist/src/agent/index.d.ts +8 -0
- package/dist/src/agent/index.js +8 -0
- package/dist/src/agent/teams-capability.service.d.ts +11 -0
- package/dist/src/agent/teams-capability.service.js +74 -0
- package/dist/src/agent/teams-capability.types.d.ts +6 -0
- package/dist/src/agent/teams-capability.types.js +3 -0
- package/dist/src/app.module.js +2 -0
- package/dist/src/cli/cli.d.ts +4 -3
- package/dist/src/cli/cli.js +172 -1
- package/dist/src/cli/cli.types.d.ts +18 -0
- package/dist/src/cli/completion/completion.d.ts +16 -0
- package/dist/src/cli/completion/completion.js +276 -0
- package/dist/src/cli/completion/index.d.ts +2 -0
- package/dist/src/cli/completion/index.js +7 -0
- package/dist/src/cli/init/init.constants.js +0 -1
- package/dist/src/cli/plugin/create-plugin.command.d.ts +21 -0
- package/dist/src/cli/plugin/create-plugin.command.js +151 -0
- package/dist/src/cli/plugin/install.command.d.ts +10 -0
- package/dist/src/cli/plugin/install.command.js +31 -0
- package/dist/src/cli/plugin/plugins.command.d.ts +9 -0
- package/dist/src/cli/plugin/plugins.command.js +51 -0
- package/dist/src/cli/plugin/search.command.d.ts +9 -0
- package/dist/src/cli/plugin/search.command.js +53 -0
- package/dist/src/cli/plugin/uninstall.command.d.ts +12 -0
- package/dist/src/cli/plugin/uninstall.command.js +79 -0
- package/dist/src/cli/plugin/update.command.d.ts +11 -0
- package/dist/src/cli/plugin/update.command.js +103 -0
- package/dist/src/cli/run-tui.d.ts +1 -0
- package/dist/src/cli/run-tui.js +7 -1
- package/dist/src/collaboration/council-summary.service.d.ts +2 -0
- package/dist/src/collaboration/council-summary.service.js +114 -0
- package/dist/src/collaboration/council-summary.types.d.ts +24 -0
- package/dist/src/collaboration/council-summary.types.js +3 -0
- package/dist/src/collaboration/index.d.ts +2 -0
- package/dist/src/collaboration/index.js +3 -1
- package/dist/src/config/config.schema.d.ts +3 -0
- package/dist/src/config/config.schema.js +5 -0
- package/dist/src/context/briefing-loader.service.d.ts +27 -0
- package/dist/src/context/briefing-loader.service.js +124 -0
- package/dist/src/context/briefing.service.d.ts +27 -0
- package/dist/src/context/briefing.service.js +181 -0
- package/dist/src/context/briefing.types.d.ts +13 -0
- package/dist/src/context/briefing.types.js +6 -0
- package/dist/src/context/context.module.js +16 -2
- package/dist/src/context/index.d.ts +2 -0
- package/dist/src/context/index.js +2 -0
- package/dist/src/keyword/keyword.types.d.ts +8 -0
- package/dist/src/main.js +0 -17
- package/dist/src/mcp/handlers/agent.handler.d.ts +6 -1
- package/dist/src/mcp/handlers/agent.handler.js +81 -8
- package/dist/src/mcp/handlers/briefing.handler.d.ts +12 -0
- package/dist/src/mcp/handlers/briefing.handler.js +71 -0
- package/dist/src/mcp/handlers/checklist-context.handler.d.ts +3 -1
- package/dist/src/mcp/handlers/checklist-context.handler.js +17 -2
- package/dist/src/mcp/handlers/discussion.handler.d.ts +3 -0
- package/dist/src/mcp/handlers/discussion.handler.js +22 -1
- package/dist/src/mcp/handlers/index.d.ts +4 -0
- package/dist/src/mcp/handlers/index.js +9 -1
- package/dist/src/mcp/handlers/mode.handler.d.ts +9 -1
- package/dist/src/mcp/handlers/mode.handler.js +79 -2
- package/dist/src/mcp/handlers/quality-report.handler.d.ts +14 -0
- package/dist/src/mcp/handlers/quality-report.handler.js +93 -0
- package/dist/src/mcp/handlers/resume.handler.d.ts +12 -0
- package/dist/src/mcp/handlers/resume.handler.js +63 -0
- package/dist/src/mcp/handlers/rule-impact.handler.d.ts +23 -0
- package/dist/src/mcp/handlers/rule-impact.handler.js +241 -0
- package/dist/src/mcp/handlers/skill.handler.js +2 -2
- package/dist/src/mcp/mcp.module.js +6 -0
- package/dist/src/plugin/plugin-installer.service.d.ts +41 -0
- package/dist/src/plugin/plugin-installer.service.js +183 -0
- package/dist/src/plugin/plugin-manifest.schema.d.ts +21 -0
- package/dist/src/plugin/plugin-manifest.schema.js +45 -0
- package/dist/src/plugin/plugin.module.d.ts +2 -0
- package/dist/src/plugin/plugin.module.js +17 -0
- package/dist/src/plugin/plugin.types.d.ts +7 -0
- package/dist/src/plugin/plugin.types.js +3 -0
- package/dist/src/plugin/registry-client.d.ts +24 -0
- package/dist/src/plugin/registry-client.js +45 -0
- package/dist/src/rules/rule-event-collector.d.ts +7 -0
- package/dist/src/rules/rule-event-collector.js +38 -0
- package/dist/src/rules/rule-event.types.d.ts +9 -0
- package/dist/src/rules/rule-event.types.js +10 -0
- package/dist/src/rules/rule-stats-writer.d.ts +23 -0
- package/dist/src/rules/rule-stats-writer.js +138 -0
- package/dist/src/rules/rules.module.js +4 -2
- package/dist/src/rules/rules.service.d.ts +8 -1
- package/dist/src/rules/rules.service.js +3 -0
- package/dist/src/rules/skill.schema.d.ts +10 -0
- package/dist/src/rules/skill.schema.js +42 -0
- package/dist/src/shared/rules-core.d.ts +7 -1
- package/dist/src/shared/rules-core.js +6 -0
- package/dist/src/shared/version.d.ts +1 -1
- package/dist/src/shared/version.js +1 -1
- package/dist/src/ship/file-specialist-mapper.d.ts +9 -0
- package/dist/src/ship/file-specialist-mapper.js +56 -0
- package/dist/src/ship/quality-report.service.d.ts +6 -0
- package/dist/src/ship/quality-report.service.js +56 -0
- package/dist/src/ship/quality-report.types.d.ts +20 -0
- package/dist/src/ship/quality-report.types.js +3 -0
- package/dist/src/ship/ship.module.d.ts +2 -0
- package/dist/src/ship/ship.module.js +21 -0
- package/dist/src/skill/i18n/keywords.js +921 -0
- package/dist/src/skill/skill-recommendation.service.d.ts +10 -2
- package/dist/src/skill/skill-recommendation.service.js +120 -16
- package/dist/src/skill/skill-recommendation.types.d.ts +5 -0
- package/dist/src/skill/skill.module.js +2 -0
- package/dist/src/tui/events/hud-file-bridge.d.ts +4 -0
- package/dist/src/tui/events/hud-file-bridge.js +36 -0
- package/dist/src/tui/testing/tui-test-utils.d.ts +2 -0
- package/dist/src/tui/testing/tui-test-utils.js +25 -0
- package/dist/src/tui-bundle.mjs +239 -36
- package/package.json +7 -2
- package/dist/api/mcp.js.map +0 -1
- package/dist/src/agent/agent-prompt.builder.js.map +0 -1
- package/dist/src/agent/agent-summary.utils.js.map +0 -1
- package/dist/src/agent/agent.module.js.map +0 -1
- package/dist/src/agent/agent.service.js.map +0 -1
- package/dist/src/agent/agent.types.js.map +0 -1
- package/dist/src/agent/index.js.map +0 -1
- package/dist/src/analyzer/analyzer.module.js.map +0 -1
- package/dist/src/analyzer/analyzer.service.js.map +0 -1
- package/dist/src/analyzer/analyzer.types.js.map +0 -1
- package/dist/src/analyzer/code.sampler.js.map +0 -1
- package/dist/src/analyzer/config.analyzer.js.map +0 -1
- package/dist/src/analyzer/conventions.analyzer.js.map +0 -1
- package/dist/src/analyzer/conventions.schemas.js.map +0 -1
- package/dist/src/analyzer/conventions.types.js.map +0 -1
- package/dist/src/analyzer/directory.analyzer.js.map +0 -1
- package/dist/src/analyzer/index.js.map +0 -1
- package/dist/src/analyzer/package.analyzer.js.map +0 -1
- package/dist/src/app.module.js.map +0 -1
- package/dist/src/checklist/checklist.module.js.map +0 -1
- package/dist/src/checklist/checklist.schema.js.map +0 -1
- package/dist/src/checklist/checklist.service.js.map +0 -1
- package/dist/src/checklist/checklist.types.js.map +0 -1
- package/dist/src/checklist/index.js.map +0 -1
- package/dist/src/cli/cli.js.map +0 -1
- package/dist/src/cli/cli.types.js.map +0 -1
- package/dist/src/cli/index.js.map +0 -1
- package/dist/src/cli/init/claude-settings.utils.js.map +0 -1
- package/dist/src/cli/init/config.generator.js.map +0 -1
- package/dist/src/cli/init/config.writer.js.map +0 -1
- package/dist/src/cli/init/gitignore.utils.js.map +0 -1
- package/dist/src/cli/init/index.js.map +0 -1
- package/dist/src/cli/init/init.command.js.map +0 -1
- package/dist/src/cli/init/init.constants.js.map +0 -1
- package/dist/src/cli/init/init.wizard.js.map +0 -1
- package/dist/src/cli/init/prompt.builder.js.map +0 -1
- package/dist/src/cli/init/prompts/agent-prompt.js.map +0 -1
- package/dist/src/cli/init/prompts/architecture-prompt.js.map +0 -1
- package/dist/src/cli/init/prompts/basic-prompt.js.map +0 -1
- package/dist/src/cli/init/prompts/conventions-prompt.js.map +0 -1
- package/dist/src/cli/init/prompts/index.js.map +0 -1
- package/dist/src/cli/init/prompts/language-prompt.js.map +0 -1
- package/dist/src/cli/init/prompts/model-prompt.js.map +0 -1
- package/dist/src/cli/init/prompts/tech-stack-prompt.js.map +0 -1
- package/dist/src/cli/init/prompts/test-strategy-prompt.js.map +0 -1
- package/dist/src/cli/init/summary/index.js.map +0 -1
- package/dist/src/cli/init/summary/summary.prompt.js.map +0 -1
- package/dist/src/cli/init/summary/summary.renderer.js.map +0 -1
- package/dist/src/cli/init/templates/config-renderer.js.map +0 -1
- package/dist/src/cli/init/templates/frameworks/default.template.js.map +0 -1
- package/dist/src/cli/init/templates/frameworks/express.template.js.map +0 -1
- package/dist/src/cli/init/templates/frameworks/index.js.map +0 -1
- package/dist/src/cli/init/templates/frameworks/nestjs.template.js.map +0 -1
- package/dist/src/cli/init/templates/frameworks/nextjs.template.js.map +0 -1
- package/dist/src/cli/init/templates/frameworks/node.template.js.map +0 -1
- package/dist/src/cli/init/templates/frameworks/react.template.js.map +0 -1
- package/dist/src/cli/init/templates/index.js.map +0 -1
- package/dist/src/cli/init/templates/template.renderer.js.map +0 -1
- package/dist/src/cli/init/templates/template.selector.js.map +0 -1
- package/dist/src/cli/init/templates/template.types.js.map +0 -1
- package/dist/src/cli/restart-tui.js.map +0 -1
- package/dist/src/cli/run-tui.js.map +0 -1
- package/dist/src/cli/utils/console.js.map +0 -1
- package/dist/src/cli/utils/index.js.map +0 -1
- package/dist/src/collaboration/discussion-engine.js.map +0 -1
- package/dist/src/collaboration/index.js.map +0 -1
- package/dist/src/collaboration/opinion-adapter.js.map +0 -1
- package/dist/src/collaboration/terminal-formatter.js.map +0 -1
- package/dist/src/collaboration/types.js.map +0 -1
- package/dist/src/config/config-diff.service.js.map +0 -1
- package/dist/src/config/config.loader.js.map +0 -1
- package/dist/src/config/config.module.js.map +0 -1
- package/dist/src/config/config.schema.js.map +0 -1
- package/dist/src/config/config.service.js.map +0 -1
- package/dist/src/config/context.loader.js.map +0 -1
- package/dist/src/config/ignore.parser.js.map +0 -1
- package/dist/src/config/index.js.map +0 -1
- package/dist/src/context/context-archive.service.js.map +0 -1
- package/dist/src/context/context-archive.types.js.map +0 -1
- package/dist/src/context/context-document.service.js.map +0 -1
- package/dist/src/context/context-document.types.js.map +0 -1
- package/dist/src/context/context-parser.utils.js.map +0 -1
- package/dist/src/context/context-serializer.utils.js.map +0 -1
- package/dist/src/context/context.module.js.map +0 -1
- package/dist/src/context/context.service.js.map +0 -1
- package/dist/src/context/context.types.js.map +0 -1
- package/dist/src/context/index.js.map +0 -1
- package/dist/src/context/intent-patterns.js.map +0 -1
- package/dist/src/custom/custom.module.js.map +0 -1
- package/dist/src/custom/custom.service.js.map +0 -1
- package/dist/src/custom/custom.types.js.map +0 -1
- package/dist/src/custom/index.js.map +0 -1
- package/dist/src/diagnostic/diagnostic-log.service.js.map +0 -1
- package/dist/src/diagnostic/diagnostic.module.js.map +0 -1
- package/dist/src/diagnostic/diagnostic.types.js.map +0 -1
- package/dist/src/diagnostic/index.js.map +0 -1
- package/dist/src/impact/impact-event.service.js.map +0 -1
- package/dist/src/impact/impact-report.service.js.map +0 -1
- package/dist/src/impact/impact.module.js.map +0 -1
- package/dist/src/impact/impact.types.js.map +0 -1
- package/dist/src/impact/index.js.map +0 -1
- package/dist/src/keyword/activation-message.builder.js.map +0 -1
- package/dist/src/keyword/auto-executor.js.map +0 -1
- package/dist/src/keyword/auto-executor.types.js.map +0 -1
- package/dist/src/keyword/auto-formatter.js.map +0 -1
- package/dist/src/keyword/auto-prompt-builder.js.map +0 -1
- package/dist/src/keyword/complexity-classifier.js.map +0 -1
- package/dist/src/keyword/complexity-indicators.js.map +0 -1
- package/dist/src/keyword/diff-analyzer.js.map +0 -1
- package/dist/src/keyword/explicit-pattern-matcher.js.map +0 -1
- package/dist/src/keyword/index.js.map +0 -1
- package/dist/src/keyword/keyword.module.js.map +0 -1
- package/dist/src/keyword/keyword.service.js.map +0 -1
- package/dist/src/keyword/keyword.types.js.map +0 -1
- package/dist/src/keyword/patterns/agent.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/ai-ml.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/backend.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/context.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/data-science.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/data.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/devops.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/explicit.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/frontend.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/index.js.map +0 -1
- package/dist/src/keyword/patterns/intent-pattern-checks.js.map +0 -1
- package/dist/src/keyword/patterns/intent-patterns.types.js.map +0 -1
- package/dist/src/keyword/patterns/meta-discussion.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/mobile.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/platform.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/security.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/systems.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/test.patterns.js.map +0 -1
- package/dist/src/keyword/patterns/tooling.patterns.js.map +0 -1
- package/dist/src/keyword/primary-agent-resolver.js.map +0 -1
- package/dist/src/keyword/rule-filter.js.map +0 -1
- package/dist/src/keyword/srp-template.js.map +0 -1
- package/dist/src/keyword/strategies/__tests__/strategy-test.utils.js.map +0 -1
- package/dist/src/keyword/strategies/act-agent.strategy.js.map +0 -1
- package/dist/src/keyword/strategies/eval-agent.strategy.js.map +0 -1
- package/dist/src/keyword/strategies/index.js.map +0 -1
- package/dist/src/keyword/strategies/plan-agent.strategy.js.map +0 -1
- package/dist/src/keyword/strategies/resolution-strategy.interface.js.map +0 -1
- package/dist/src/keyword/taskmaestro-detector.js.map +0 -1
- package/dist/src/keyword/visual-data.builder.js.map +0 -1
- package/dist/src/main.js.map +0 -1
- package/dist/src/mcp/handlers/abstract-handler.js.map +0 -1
- package/dist/src/mcp/handlers/agent.handler.js.map +0 -1
- package/dist/src/mcp/handlers/base.handler.js.map +0 -1
- package/dist/src/mcp/handlers/checklist-context.handler.js.map +0 -1
- package/dist/src/mcp/handlers/config.handler.js.map +0 -1
- package/dist/src/mcp/handlers/context-archive.handler.js.map +0 -1
- package/dist/src/mcp/handlers/context-document.handler.js.map +0 -1
- package/dist/src/mcp/handlers/conventions.handler.js.map +0 -1
- package/dist/src/mcp/handlers/discussion.handler.js.map +0 -1
- package/dist/src/mcp/handlers/discussion.types.js.map +0 -1
- package/dist/src/mcp/handlers/impact.handler.js.map +0 -1
- package/dist/src/mcp/handlers/index.js.map +0 -1
- package/dist/src/mcp/handlers/mode.handler.js.map +0 -1
- package/dist/src/mcp/handlers/pipeline.handler.js.map +0 -1
- package/dist/src/mcp/handlers/plugin-validation.handler.js.map +0 -1
- package/dist/src/mcp/handlers/release-check.handler.js.map +0 -1
- package/dist/src/mcp/handlers/rule-insights.handler.js.map +0 -1
- package/dist/src/mcp/handlers/rules.handler.js.map +0 -1
- package/dist/src/mcp/handlers/skill.handler.js.map +0 -1
- package/dist/src/mcp/handlers/tui.handler.js.map +0 -1
- package/dist/src/mcp/mcp-serverless.js.map +0 -1
- package/dist/src/mcp/mcp.controller.js.map +0 -1
- package/dist/src/mcp/mcp.module.js.map +0 -1
- package/dist/src/mcp/mcp.service.js.map +0 -1
- package/dist/src/mcp/response.utils.js.map +0 -1
- package/dist/src/mcp/sse-auth.guard.js.map +0 -1
- package/dist/src/model/index.js.map +0 -1
- package/dist/src/model/model-resolver.service.js.map +0 -1
- package/dist/src/model/model.constants.js.map +0 -1
- package/dist/src/model/model.resolver.js.map +0 -1
- package/dist/src/model/model.types.js.map +0 -1
- package/dist/src/parallel-validation/extract-file-paths.js.map +0 -1
- package/dist/src/parallel-validation/index.js.map +0 -1
- package/dist/src/parallel-validation/overlap-matrix.js.map +0 -1
- package/dist/src/parallel-validation/parallel-validation.handler.js.map +0 -1
- package/dist/src/parallel-validation/parallel-validation.types.js.map +0 -1
- package/dist/src/parallel-validation/wave-splitter.js.map +0 -1
- package/dist/src/pipeline/index.js.map +0 -1
- package/dist/src/pipeline/pipeline.executors.js.map +0 -1
- package/dist/src/pipeline/pipeline.module.js.map +0 -1
- package/dist/src/pipeline/pipeline.service.js.map +0 -1
- package/dist/src/pipeline/pipeline.types.js.map +0 -1
- package/dist/src/rules/agent.schema.js.map +0 -1
- package/dist/src/rules/rule-insights.service.js.map +0 -1
- package/dist/src/rules/rule-tracker.js.map +0 -1
- package/dist/src/rules/rules-content.utils.js.map +0 -1
- package/dist/src/rules/rules.module.js.map +0 -1
- package/dist/src/rules/rules.service.js.map +0 -1
- package/dist/src/rules/rules.types.js.map +0 -1
- package/dist/src/rules/skill.schema.js.map +0 -1
- package/dist/src/shared/agent.utils.js.map +0 -1
- package/dist/src/shared/async.utils.js.map +0 -1
- package/dist/src/shared/client-type.js.map +0 -1
- package/dist/src/shared/error.utils.js.map +0 -1
- package/dist/src/shared/esm-import.js.map +0 -1
- package/dist/src/shared/event-bridge-reader.js.map +0 -1
- package/dist/src/shared/file.utils.js.map +0 -1
- package/dist/src/shared/filesystem.interface.js.map +0 -1
- package/dist/src/shared/format.utils.js.map +0 -1
- package/dist/src/shared/keyword-core.js.map +0 -1
- package/dist/src/shared/language.service.js.map +0 -1
- package/dist/src/shared/language.types.js.map +0 -1
- package/dist/src/shared/lru-cache.js.map +0 -1
- package/dist/src/shared/node-filesystem.service.js.map +0 -1
- package/dist/src/shared/path.utils.js.map +0 -1
- package/dist/src/shared/pattern-matcher.js.map +0 -1
- package/dist/src/shared/rules-core.js.map +0 -1
- package/dist/src/shared/security.utils.js.map +0 -1
- package/dist/src/shared/slug.utils.js.map +0 -1
- package/dist/src/shared/tui-bundle-path.js.map +0 -1
- package/dist/src/shared/validation.constants.js.map +0 -1
- package/dist/src/shared/verbosity.types.js.map +0 -1
- package/dist/src/shared/version.js.map +0 -1
- package/dist/src/shared/version.utils.js.map +0 -1
- package/dist/src/skill/i18n/index.js.map +0 -1
- package/dist/src/skill/i18n/keywords.js.map +0 -1
- package/dist/src/skill/i18n/keywords.types.js.map +0 -1
- package/dist/src/skill/index.js.map +0 -1
- package/dist/src/skill/skill-content.utils.js.map +0 -1
- package/dist/src/skill/skill-recommendation.service.js.map +0 -1
- package/dist/src/skill/skill-recommendation.types.js.map +0 -1
- package/dist/src/skill/skill-triggers.js.map +0 -1
- package/dist/src/skill/skill.module.js.map +0 -1
- package/dist/src/state/index.js.map +0 -1
- package/dist/src/state/state.module.js.map +0 -1
- package/dist/src/state/state.service.js.map +0 -1
- package/dist/src/state/state.types.js.map +0 -1
- package/dist/src/tui/__perf__/memory-stability.spec.d.ts +0 -1
- package/dist/src/tui/__perf__/memory-stability.spec.js +0 -105
- package/dist/src/tui/__perf__/memory-stability.spec.js.map +0 -1
- package/dist/src/tui/__perf__/rendering-performance.spec.d.ts +0 -1
- package/dist/src/tui/__perf__/rendering-performance.spec.js +0 -166
- package/dist/src/tui/__perf__/rendering-performance.spec.js.map +0 -1
- package/dist/src/tui/cli-flags.js.map +0 -1
- package/dist/src/tui/components/ActModeScreen.js.map +0 -1
- package/dist/src/tui/components/ActivityVisualizer.js.map +0 -1
- package/dist/src/tui/components/ActivityVisualizer.spec.d.ts +0 -1
- package/dist/src/tui/components/ActivityVisualizer.spec.js +0 -91
- package/dist/src/tui/components/ActivityVisualizer.spec.js.map +0 -1
- package/dist/src/tui/components/AgentDiscussionPanel.js.map +0 -1
- package/dist/src/tui/components/AgentDiscussionPanel.spec.d.ts +0 -1
- package/dist/src/tui/components/AgentDiscussionPanel.spec.js +0 -229
- package/dist/src/tui/components/AgentDiscussionPanel.spec.js.map +0 -1
- package/dist/src/tui/components/ChecklistPanel.js.map +0 -1
- package/dist/src/tui/components/ChecklistPanel.spec.d.ts +0 -1
- package/dist/src/tui/components/ChecklistPanel.spec.js +0 -45
- package/dist/src/tui/components/ChecklistPanel.spec.js.map +0 -1
- package/dist/src/tui/components/ContextSection.js.map +0 -1
- package/dist/src/tui/components/EvalModeScreen.js.map +0 -1
- package/dist/src/tui/components/FlowMap.js.map +0 -1
- package/dist/src/tui/components/FlowMap.spec.d.ts +0 -1
- package/dist/src/tui/components/FlowMap.spec.js +0 -147
- package/dist/src/tui/components/FlowMap.spec.js.map +0 -1
- package/dist/src/tui/components/FocusedAgentPanel.js.map +0 -1
- package/dist/src/tui/components/FocusedAgentPanel.spec.d.ts +0 -1
- package/dist/src/tui/components/FocusedAgentPanel.spec.js +0 -183
- package/dist/src/tui/components/FocusedAgentPanel.spec.js.map +0 -1
- package/dist/src/tui/components/HeaderBar.js.map +0 -1
- package/dist/src/tui/components/HeaderBar.spec.d.ts +0 -1
- package/dist/src/tui/components/HeaderBar.spec.js +0 -96
- package/dist/src/tui/components/HeaderBar.spec.js.map +0 -1
- package/dist/src/tui/components/ModeScreenRouter.js.map +0 -1
- package/dist/src/tui/components/PlanModeScreen.js.map +0 -1
- package/dist/src/tui/components/SessionDashboard.js.map +0 -1
- package/dist/src/tui/components/SessionTabBar.js.map +0 -1
- package/dist/src/tui/components/SessionTabBar.spec.d.ts +0 -1
- package/dist/src/tui/components/SessionTabBar.spec.js +0 -59
- package/dist/src/tui/components/SessionTabBar.spec.js.map +0 -1
- package/dist/src/tui/components/StageHealthBar.js.map +0 -1
- package/dist/src/tui/components/StageHealthBar.spec.d.ts +0 -1
- package/dist/src/tui/components/StageHealthBar.spec.js +0 -99
- package/dist/src/tui/components/StageHealthBar.spec.js.map +0 -1
- package/dist/src/tui/components/act-screen.pure.js.map +0 -1
- package/dist/src/tui/components/activity-visualizer.pure.js.map +0 -1
- package/dist/src/tui/components/agent-discussion-panel.pure.js.map +0 -1
- package/dist/src/tui/components/checklist-panel.pure.js.map +0 -1
- package/dist/src/tui/components/context-section.pure.js.map +0 -1
- package/dist/src/tui/components/eval-screen.pure.js.map +0 -1
- package/dist/src/tui/components/flow-map.pure.js.map +0 -1
- package/dist/src/tui/components/focused-agent.pure.js.map +0 -1
- package/dist/src/tui/components/grid-layout.pure.js.map +0 -1
- package/dist/src/tui/components/index.js.map +0 -1
- package/dist/src/tui/components/live.pure.js.map +0 -1
- package/dist/src/tui/components/plan-screen.pure.js.map +0 -1
- package/dist/src/tui/components/session-dashboard.pure.js.map +0 -1
- package/dist/src/tui/components/session-tab-bar.pure.js.map +0 -1
- package/dist/src/tui/components/stage-health.pure.js.map +0 -1
- package/dist/src/tui/dashboard-app.js.map +0 -1
- package/dist/src/tui/dashboard-app.spec.d.ts +0 -1
- package/dist/src/tui/dashboard-app.spec.js +0 -158
- package/dist/src/tui/dashboard-app.spec.js.map +0 -1
- package/dist/src/tui/dashboard-types.js.map +0 -1
- package/dist/src/tui/ensure-tui-ready.js.map +0 -1
- package/dist/src/tui/eventbus-ui.integration.spec.d.ts +0 -1
- package/dist/src/tui/eventbus-ui.integration.spec.js +0 -577
- package/dist/src/tui/eventbus-ui.integration.spec.js.map +0 -1
- package/dist/src/tui/events/agent-metadata.service.js.map +0 -1
- package/dist/src/tui/events/agent-metadata.types.js.map +0 -1
- package/dist/src/tui/events/event-bus.js.map +0 -1
- package/dist/src/tui/events/events.module.js.map +0 -1
- package/dist/src/tui/events/hud-file-bridge.js.map +0 -1
- package/dist/src/tui/events/index.js.map +0 -1
- package/dist/src/tui/events/parse-agent.js.map +0 -1
- package/dist/src/tui/events/parse-tool-response.js.map +0 -1
- package/dist/src/tui/events/response-event-extractor.js.map +0 -1
- package/dist/src/tui/events/tui-interceptor.js.map +0 -1
- package/dist/src/tui/events/types.js.map +0 -1
- package/dist/src/tui/hooks/index.js.map +0 -1
- package/dist/src/tui/hooks/use-dashboard-state.js.map +0 -1
- package/dist/src/tui/hooks/use-focus-agent.js.map +0 -1
- package/dist/src/tui/hooks/use-multi-session-state.js.map +0 -1
- package/dist/src/tui/hooks/use-terminal-size.js.map +0 -1
- package/dist/src/tui/hooks/use-tick.js.map +0 -1
- package/dist/src/tui/hooks/use-tick.spec.d.ts +0 -1
- package/dist/src/tui/hooks/use-tick.spec.js +0 -70
- package/dist/src/tui/hooks/use-tick.spec.js.map +0 -1
- package/dist/src/tui/index.js.map +0 -1
- package/dist/src/tui/ipc/index.js.map +0 -1
- package/dist/src/tui/ipc/instance-registry.js.map +0 -1
- package/dist/src/tui/ipc/ipc-bridge.js.map +0 -1
- package/dist/src/tui/ipc/ipc-client.js.map +0 -1
- package/dist/src/tui/ipc/ipc-debug.js.map +0 -1
- package/dist/src/tui/ipc/ipc-server.js.map +0 -1
- package/dist/src/tui/ipc/ipc-state-cache.js.map +0 -1
- package/dist/src/tui/ipc/ipc.types.js.map +0 -1
- package/dist/src/tui/ipc/multi-session-manager.js.map +0 -1
- package/dist/src/tui/ipc/shutdown-manager.js.map +0 -1
- package/dist/src/tui/ipc/test-utils.js.map +0 -1
- package/dist/src/tui/ipc/tui-auto-launcher.js.map +0 -1
- package/dist/src/tui/multi-session-app.js.map +0 -1
- package/dist/src/tui/multi-session-app.spec.d.ts +0 -1
- package/dist/src/tui/multi-session-app.spec.js +0 -95
- package/dist/src/tui/multi-session-app.spec.js.map +0 -1
- package/dist/src/tui/transport-tui.integration.spec.d.ts +0 -1
- package/dist/src/tui/transport-tui.integration.spec.js +0 -189
- package/dist/src/tui/transport-tui.integration.spec.js.map +0 -1
- package/dist/src/tui/tui-config.js.map +0 -1
- package/dist/src/tui/types.js.map +0 -1
- package/dist/src/tui/utils/color-buffer.js.map +0 -1
- package/dist/src/tui/utils/colors.js.map +0 -1
- package/dist/src/tui/utils/display-width.js.map +0 -1
- package/dist/src/tui/utils/edge-router.js.map +0 -1
- package/dist/src/tui/utils/icons.js.map +0 -1
- package/dist/src/tui/utils/index.js.map +0 -1
- package/dist/src/tui/utils/theme.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
type Mode = 'PLAN' | 'ACT' | 'EVAL' | 'AUTO';
|
|
2
|
+
import type { DispatchedAgent, TaskmaestroDispatch, TeamsDispatch, VisibilityConfig, ExecutionPlan } from './execution-plan.types';
|
|
3
|
+
export interface AgentStack {
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
category: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
primary_agent: string;
|
|
9
|
+
specialist_agents: string[];
|
|
10
|
+
recommended_for?: {
|
|
11
|
+
file_patterns?: string[];
|
|
12
|
+
modes?: string[];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
2
15
|
export interface AgentContext {
|
|
3
16
|
mode: Mode;
|
|
4
17
|
targetFiles?: string[];
|
|
@@ -31,50 +44,7 @@ export interface ParallelAgentSet {
|
|
|
31
44
|
parallelExecutionHint: string;
|
|
32
45
|
failedAgents?: FailedAgent[];
|
|
33
46
|
}
|
|
34
|
-
export
|
|
35
|
-
subagent_type: 'general-purpose';
|
|
36
|
-
prompt: string;
|
|
37
|
-
description: string;
|
|
38
|
-
run_in_background?: true;
|
|
39
|
-
}
|
|
40
|
-
export interface DispatchedAgent {
|
|
41
|
-
name: string;
|
|
42
|
-
displayName: string;
|
|
43
|
-
description: string;
|
|
44
|
-
dispatchParams: DispatchParams;
|
|
45
|
-
}
|
|
46
|
-
export interface TaskmaestroAssignment {
|
|
47
|
-
name: string;
|
|
48
|
-
displayName: string;
|
|
49
|
-
prompt: string;
|
|
50
|
-
}
|
|
51
|
-
export interface TaskmaestroDispatch {
|
|
52
|
-
sessionName: string;
|
|
53
|
-
paneCount: number;
|
|
54
|
-
assignments: TaskmaestroAssignment[];
|
|
55
|
-
}
|
|
56
|
-
export interface TeamsTeammate {
|
|
57
|
-
name: string;
|
|
58
|
-
subagent_type: 'general-purpose';
|
|
59
|
-
team_name: string;
|
|
60
|
-
prompt: string;
|
|
61
|
-
}
|
|
62
|
-
export interface TeamsDispatch {
|
|
63
|
-
team_name: string;
|
|
64
|
-
description: string;
|
|
65
|
-
teammates: TeamsTeammate[];
|
|
66
|
-
}
|
|
67
|
-
export interface VisibilityMessages {
|
|
68
|
-
onStart: string;
|
|
69
|
-
onFinding: string;
|
|
70
|
-
onComplete: string;
|
|
71
|
-
}
|
|
72
|
-
export interface VisibilityConfig {
|
|
73
|
-
reportTo: string;
|
|
74
|
-
format: string;
|
|
75
|
-
includeProgress: boolean;
|
|
76
|
-
messages?: VisibilityMessages;
|
|
77
|
-
}
|
|
47
|
+
export type { DispatchParams, DispatchedAgent, InnerTeamsSpec, TaskmaestroAssignment, TaskmaestroDispatch, TeamsTeammate, TeamsDispatch, VisibilityMessages, VisibilityConfig, SubagentLayer, TaskmaestroLayer, TeamsLayer, ExecutionLayer, ExecutionPlan, } from './execution-plan.types';
|
|
78
48
|
export interface DispatchResult {
|
|
79
49
|
primaryAgent?: DispatchedAgent;
|
|
80
50
|
parallelAgents?: DispatchedAgent[];
|
|
@@ -84,6 +54,7 @@ export interface DispatchResult {
|
|
|
84
54
|
teams?: TeamsDispatch;
|
|
85
55
|
executionStrategy?: string;
|
|
86
56
|
visibility?: VisibilityConfig;
|
|
57
|
+
executionPlan?: ExecutionPlan;
|
|
87
58
|
}
|
|
88
59
|
export interface InlineAgentDefinition {
|
|
89
60
|
name: string;
|
|
@@ -100,6 +71,14 @@ export interface InlineAgentDefinition {
|
|
|
100
71
|
};
|
|
101
72
|
[key: string]: unknown;
|
|
102
73
|
}
|
|
74
|
+
export interface AgentStackSummary {
|
|
75
|
+
name: string;
|
|
76
|
+
description: string;
|
|
77
|
+
category: string;
|
|
78
|
+
primary_agent: string;
|
|
79
|
+
specialist_count: number;
|
|
80
|
+
tags: string[];
|
|
81
|
+
}
|
|
103
82
|
export interface DispatchAgentsInput {
|
|
104
83
|
mode: Mode;
|
|
105
84
|
taskDescription?: string;
|
|
@@ -107,7 +86,8 @@ export interface DispatchAgentsInput {
|
|
|
107
86
|
specialists?: string[];
|
|
108
87
|
includeParallel?: boolean;
|
|
109
88
|
primaryAgent?: string;
|
|
110
|
-
|
|
89
|
+
agentStack?: string;
|
|
90
|
+
executionStrategy?: 'subagent' | 'taskmaestro' | 'teams' | 'taskmaestro+teams';
|
|
111
91
|
inlineAgents?: Record<string, InlineAgentDefinition>;
|
|
112
92
|
}
|
|
113
93
|
export declare const FILE_PATTERN_SPECIALISTS: Record<string, string[]>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.CouncilPresetService = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const COUNCIL_PRESETS = {
|
|
12
|
+
PLAN: {
|
|
13
|
+
mode: 'PLAN',
|
|
14
|
+
primary: 'technical-planner',
|
|
15
|
+
specialists: [
|
|
16
|
+
'architecture-specialist',
|
|
17
|
+
'test-strategy-specialist',
|
|
18
|
+
'code-quality-specialist',
|
|
19
|
+
'security-specialist',
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
EVAL: {
|
|
23
|
+
mode: 'EVAL',
|
|
24
|
+
primary: 'code-reviewer',
|
|
25
|
+
specialists: ['security-specialist', 'performance-specialist', 'accessibility-specialist'],
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
let CouncilPresetService = class CouncilPresetService {
|
|
29
|
+
resolvePreset(mode) {
|
|
30
|
+
const preset = COUNCIL_PRESETS[mode];
|
|
31
|
+
if (!preset)
|
|
32
|
+
return null;
|
|
33
|
+
return { ...preset, specialists: [...preset.specialists] };
|
|
34
|
+
}
|
|
35
|
+
listPresets() {
|
|
36
|
+
return Object.values(COUNCIL_PRESETS).map(p => ({
|
|
37
|
+
...p,
|
|
38
|
+
specialists: [...p.specialists],
|
|
39
|
+
}));
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.CouncilPresetService = CouncilPresetService;
|
|
43
|
+
exports.CouncilPresetService = CouncilPresetService = __decorate([
|
|
44
|
+
(0, common_1.Injectable)()
|
|
45
|
+
], CouncilPresetService);
|
|
46
|
+
//# sourceMappingURL=council-preset.service.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ExecutionPlan, ExecutionLayer, DispatchedAgent, TaskmaestroDispatch, TeamsDispatch, VisibilityConfig } from './execution-plan.types';
|
|
2
|
+
export declare function buildSimplePlan(layer: ExecutionLayer): ExecutionPlan;
|
|
3
|
+
export declare function buildNestedPlan(outer: ExecutionLayer, inner: ExecutionLayer): ExecutionPlan;
|
|
4
|
+
export declare function isNestedPlan(plan: ExecutionPlan): boolean;
|
|
5
|
+
export declare function subagentLayer(agents: DispatchedAgent[]): ExecutionLayer;
|
|
6
|
+
export declare function taskmaestroLayer(config: TaskmaestroDispatch): ExecutionLayer;
|
|
7
|
+
export declare function teamsLayer(config: TeamsDispatch, visibility?: VisibilityConfig): ExecutionLayer;
|
|
8
|
+
export declare function serializeExecutionPlan(plan: ExecutionPlan): Record<string, unknown>;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildSimplePlan = buildSimplePlan;
|
|
4
|
+
exports.buildNestedPlan = buildNestedPlan;
|
|
5
|
+
exports.isNestedPlan = isNestedPlan;
|
|
6
|
+
exports.subagentLayer = subagentLayer;
|
|
7
|
+
exports.taskmaestroLayer = taskmaestroLayer;
|
|
8
|
+
exports.teamsLayer = teamsLayer;
|
|
9
|
+
exports.serializeExecutionPlan = serializeExecutionPlan;
|
|
10
|
+
function buildSimplePlan(layer) {
|
|
11
|
+
return { outerExecution: layer };
|
|
12
|
+
}
|
|
13
|
+
function buildNestedPlan(outer, inner) {
|
|
14
|
+
return { outerExecution: outer, innerCoordination: inner };
|
|
15
|
+
}
|
|
16
|
+
function isNestedPlan(plan) {
|
|
17
|
+
return plan.innerCoordination !== undefined;
|
|
18
|
+
}
|
|
19
|
+
function subagentLayer(agents) {
|
|
20
|
+
return { type: 'subagent', agents };
|
|
21
|
+
}
|
|
22
|
+
function taskmaestroLayer(config) {
|
|
23
|
+
return { type: 'taskmaestro', config };
|
|
24
|
+
}
|
|
25
|
+
function teamsLayer(config, visibility) {
|
|
26
|
+
return { type: 'teams', config, ...(visibility ? { visibility } : {}) };
|
|
27
|
+
}
|
|
28
|
+
function serializeExecutionPlan(plan) {
|
|
29
|
+
const serialized = {
|
|
30
|
+
outerExecution: serializeLayer(plan.outerExecution),
|
|
31
|
+
isNested: isNestedPlan(plan),
|
|
32
|
+
strategy: plan.innerCoordination
|
|
33
|
+
? `${plan.outerExecution.type}+${plan.innerCoordination.type}`
|
|
34
|
+
: plan.outerExecution.type,
|
|
35
|
+
};
|
|
36
|
+
if (plan.innerCoordination) {
|
|
37
|
+
serialized.innerCoordination = serializeLayer(plan.innerCoordination);
|
|
38
|
+
}
|
|
39
|
+
return serialized;
|
|
40
|
+
}
|
|
41
|
+
function serializeLayer(layer) {
|
|
42
|
+
switch (layer.type) {
|
|
43
|
+
case 'subagent':
|
|
44
|
+
return {
|
|
45
|
+
type: 'subagent',
|
|
46
|
+
agentCount: layer.agents.length,
|
|
47
|
+
agents: layer.agents.map(a => ({
|
|
48
|
+
name: a.name,
|
|
49
|
+
displayName: a.displayName,
|
|
50
|
+
description: a.description,
|
|
51
|
+
})),
|
|
52
|
+
};
|
|
53
|
+
case 'taskmaestro':
|
|
54
|
+
return {
|
|
55
|
+
type: 'taskmaestro',
|
|
56
|
+
sessionName: layer.config.sessionName,
|
|
57
|
+
paneCount: layer.config.paneCount,
|
|
58
|
+
assignments: layer.config.assignments.map(a => ({
|
|
59
|
+
name: a.name,
|
|
60
|
+
displayName: a.displayName,
|
|
61
|
+
})),
|
|
62
|
+
};
|
|
63
|
+
case 'teams':
|
|
64
|
+
return {
|
|
65
|
+
type: 'teams',
|
|
66
|
+
teamName: layer.config.team_name,
|
|
67
|
+
teammateCount: layer.config.teammates.length,
|
|
68
|
+
teammates: layer.config.teammates.map(t => ({ name: t.name })),
|
|
69
|
+
...(layer.visibility ? { visibility: layer.visibility } : {}),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=execution-plan.js.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export interface DispatchParams {
|
|
2
|
+
subagent_type: 'general-purpose';
|
|
3
|
+
prompt: string;
|
|
4
|
+
description: string;
|
|
5
|
+
run_in_background?: true;
|
|
6
|
+
}
|
|
7
|
+
export interface DispatchedAgent {
|
|
8
|
+
name: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
description: string;
|
|
11
|
+
dispatchParams: DispatchParams;
|
|
12
|
+
}
|
|
13
|
+
export interface InnerTeamsSpec {
|
|
14
|
+
type: 'teams';
|
|
15
|
+
teamSpec: {
|
|
16
|
+
team_name: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
teammates: Array<{
|
|
20
|
+
name: string;
|
|
21
|
+
subagent_type: 'general-purpose';
|
|
22
|
+
}>;
|
|
23
|
+
}
|
|
24
|
+
export interface TaskmaestroAssignment {
|
|
25
|
+
name: string;
|
|
26
|
+
displayName: string;
|
|
27
|
+
prompt: string;
|
|
28
|
+
innerCoordination?: InnerTeamsSpec;
|
|
29
|
+
}
|
|
30
|
+
export interface TaskmaestroDispatch {
|
|
31
|
+
sessionName: string;
|
|
32
|
+
paneCount: number;
|
|
33
|
+
assignments: TaskmaestroAssignment[];
|
|
34
|
+
}
|
|
35
|
+
export interface TeamsTeammate {
|
|
36
|
+
name: string;
|
|
37
|
+
subagent_type: 'general-purpose';
|
|
38
|
+
team_name: string;
|
|
39
|
+
prompt: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TeamsDispatch {
|
|
42
|
+
team_name: string;
|
|
43
|
+
description: string;
|
|
44
|
+
teammates: TeamsTeammate[];
|
|
45
|
+
}
|
|
46
|
+
export interface VisibilityMessages {
|
|
47
|
+
onStart: string;
|
|
48
|
+
onFinding: string;
|
|
49
|
+
onComplete: string;
|
|
50
|
+
}
|
|
51
|
+
export interface VisibilityConfig {
|
|
52
|
+
reportTo: string;
|
|
53
|
+
format: string;
|
|
54
|
+
includeProgress: boolean;
|
|
55
|
+
messages?: VisibilityMessages;
|
|
56
|
+
}
|
|
57
|
+
export interface SubagentLayer {
|
|
58
|
+
type: 'subagent';
|
|
59
|
+
agents: DispatchedAgent[];
|
|
60
|
+
}
|
|
61
|
+
export interface TaskmaestroLayer {
|
|
62
|
+
type: 'taskmaestro';
|
|
63
|
+
config: TaskmaestroDispatch;
|
|
64
|
+
}
|
|
65
|
+
export interface TeamsLayer {
|
|
66
|
+
type: 'teams';
|
|
67
|
+
config: TeamsDispatch;
|
|
68
|
+
visibility?: VisibilityConfig;
|
|
69
|
+
}
|
|
70
|
+
export type ExecutionLayer = SubagentLayer | TaskmaestroLayer | TeamsLayer;
|
|
71
|
+
export interface ExecutionPlan {
|
|
72
|
+
outerExecution: ExecutionLayer;
|
|
73
|
+
innerCoordination?: ExecutionLayer;
|
|
74
|
+
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export * from './agent.module';
|
|
2
2
|
export * from './agent.service';
|
|
3
|
+
export * from './agent-stack.service';
|
|
4
|
+
export * from './council-preset.service';
|
|
5
|
+
export * from './teams-capability.service';
|
|
6
|
+
export * from './teams-capability.types';
|
|
3
7
|
export * from './agent.types';
|
|
4
8
|
export * from './agent-prompt.builder';
|
|
9
|
+
export * from './agent-stack.schema';
|
|
10
|
+
export * from './agent-stack.loader';
|
|
11
|
+
export * from './execution-plan';
|
|
12
|
+
export * from './execution-plan.types';
|
package/dist/src/agent/index.js
CHANGED
|
@@ -16,6 +16,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./agent.module"), exports);
|
|
18
18
|
__exportStar(require("./agent.service"), exports);
|
|
19
|
+
__exportStar(require("./agent-stack.service"), exports);
|
|
20
|
+
__exportStar(require("./council-preset.service"), exports);
|
|
21
|
+
__exportStar(require("./teams-capability.service"), exports);
|
|
22
|
+
__exportStar(require("./teams-capability.types"), exports);
|
|
19
23
|
__exportStar(require("./agent.types"), exports);
|
|
20
24
|
__exportStar(require("./agent-prompt.builder"), exports);
|
|
25
|
+
__exportStar(require("./agent-stack.schema"), exports);
|
|
26
|
+
__exportStar(require("./agent-stack.loader"), exports);
|
|
27
|
+
__exportStar(require("./execution-plan"), exports);
|
|
28
|
+
__exportStar(require("./execution-plan.types"), exports);
|
|
21
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ConfigService } from '../config/config.service';
|
|
2
|
+
import type { TeamsCapabilityStatus } from './teams-capability.types';
|
|
3
|
+
export declare class TeamsCapabilityService {
|
|
4
|
+
private readonly configService;
|
|
5
|
+
private readonly logger;
|
|
6
|
+
constructor(configService: ConfigService);
|
|
7
|
+
getStatus(): Promise<TeamsCapabilityStatus>;
|
|
8
|
+
isAvailable(): Promise<boolean>;
|
|
9
|
+
readEnvFlag(): boolean | undefined;
|
|
10
|
+
private readConfigFlag;
|
|
11
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var TeamsCapabilityService_1;
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.TeamsCapabilityService = void 0;
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const config_service_1 = require("../config/config.service");
|
|
16
|
+
let TeamsCapabilityService = TeamsCapabilityService_1 = class TeamsCapabilityService {
|
|
17
|
+
constructor(configService) {
|
|
18
|
+
this.configService = configService;
|
|
19
|
+
this.logger = new common_1.Logger(TeamsCapabilityService_1.name);
|
|
20
|
+
}
|
|
21
|
+
async getStatus() {
|
|
22
|
+
const envValue = this.readEnvFlag();
|
|
23
|
+
if (envValue !== undefined) {
|
|
24
|
+
const status = {
|
|
25
|
+
available: envValue,
|
|
26
|
+
reason: envValue
|
|
27
|
+
? 'Enabled via CODINGBUDDY_TEAMS_ENABLED environment variable'
|
|
28
|
+
: 'Disabled via CODINGBUDDY_TEAMS_ENABLED environment variable',
|
|
29
|
+
source: 'environment',
|
|
30
|
+
};
|
|
31
|
+
this.logger.debug(`Teams capability: ${status.reason}`);
|
|
32
|
+
return status;
|
|
33
|
+
}
|
|
34
|
+
const configValue = await this.readConfigFlag();
|
|
35
|
+
if (configValue !== undefined) {
|
|
36
|
+
const status = {
|
|
37
|
+
available: configValue,
|
|
38
|
+
reason: configValue
|
|
39
|
+
? 'Enabled via experimental.teamsCoordination config'
|
|
40
|
+
: 'Disabled via experimental.teamsCoordination config',
|
|
41
|
+
source: 'config',
|
|
42
|
+
};
|
|
43
|
+
this.logger.debug(`Teams capability: ${status.reason}`);
|
|
44
|
+
return status;
|
|
45
|
+
}
|
|
46
|
+
const status = {
|
|
47
|
+
available: false,
|
|
48
|
+
reason: 'Teams coordination is experimental and disabled by default',
|
|
49
|
+
source: 'default',
|
|
50
|
+
};
|
|
51
|
+
this.logger.debug(`Teams capability: ${status.reason}`);
|
|
52
|
+
return status;
|
|
53
|
+
}
|
|
54
|
+
async isAvailable() {
|
|
55
|
+
const status = await this.getStatus();
|
|
56
|
+
return status.available;
|
|
57
|
+
}
|
|
58
|
+
readEnvFlag() {
|
|
59
|
+
const raw = process.env.CODINGBUDDY_TEAMS_ENABLED;
|
|
60
|
+
if (raw === undefined || raw === '')
|
|
61
|
+
return undefined;
|
|
62
|
+
return raw === 'true' || raw === '1';
|
|
63
|
+
}
|
|
64
|
+
async readConfigFlag() {
|
|
65
|
+
const settings = await this.configService.getSettings();
|
|
66
|
+
return settings.experimental?.teamsCoordination ?? undefined;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
exports.TeamsCapabilityService = TeamsCapabilityService;
|
|
70
|
+
exports.TeamsCapabilityService = TeamsCapabilityService = TeamsCapabilityService_1 = __decorate([
|
|
71
|
+
(0, common_1.Injectable)(),
|
|
72
|
+
__metadata("design:paramtypes", [config_service_1.ConfigService])
|
|
73
|
+
], TeamsCapabilityService);
|
|
74
|
+
//# sourceMappingURL=teams-capability.service.js.map
|
package/dist/src/app.module.js
CHANGED
|
@@ -16,6 +16,7 @@ const agent_module_1 = require("./agent/agent.module");
|
|
|
16
16
|
const checklist_module_1 = require("./checklist/checklist.module");
|
|
17
17
|
const context_module_1 = require("./context/context.module");
|
|
18
18
|
const events_module_1 = require("./tui/events/events.module");
|
|
19
|
+
const plugin_module_1 = require("./plugin/plugin.module");
|
|
19
20
|
let AppModule = class AppModule {
|
|
20
21
|
};
|
|
21
22
|
exports.AppModule = AppModule;
|
|
@@ -30,6 +31,7 @@ exports.AppModule = AppModule = __decorate([
|
|
|
30
31
|
checklist_module_1.ChecklistModule,
|
|
31
32
|
context_module_1.ContextModule,
|
|
32
33
|
events_module_1.TuiEventsModule,
|
|
34
|
+
plugin_module_1.PluginModule,
|
|
33
35
|
],
|
|
34
36
|
})
|
|
35
37
|
], AppModule);
|
package/dist/src/cli/cli.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import type { InitOptions, TuiOptions } from './cli.types';
|
|
2
|
+
import type { InitOptions, TuiOptions, InstallOptions, UninstallOptions, SearchOptions, UpdateOptions, CreatePluginOptions } from './cli.types';
|
|
3
|
+
import type { CompletionOptions } from './completion';
|
|
3
4
|
export interface ParsedArgs {
|
|
4
|
-
command: 'init' | 'mcp' | 'tui' | 'help' | 'version';
|
|
5
|
-
options: Partial<InitOptions> & Partial<TuiOptions>;
|
|
5
|
+
command: 'init' | 'install' | 'plugins' | 'uninstall' | 'search' | 'update' | 'create-plugin' | 'mcp' | 'tui' | 'completion' | 'help' | 'version';
|
|
6
|
+
options: Partial<InitOptions> & Partial<TuiOptions> & Partial<InstallOptions> & Partial<UninstallOptions> & Partial<SearchOptions> & Partial<UpdateOptions> & Partial<CreatePluginOptions> & Partial<CompletionOptions>;
|
|
6
7
|
}
|
|
7
8
|
export declare function parseArgs(args: string[]): ParsedArgs;
|
|
8
9
|
export declare function printUsage(): void;
|