codehere 0.3.0 → 0.5.0-alpha
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/LICENSE +1 -1
- package/README.md +329 -65
- package/dist/application/agents/documentation-agent.d.ts +24 -0
- package/dist/application/agents/documentation-agent.d.ts.map +1 -0
- package/dist/application/agents/documentation-agent.js +399 -0
- package/dist/application/agents/documentation-agent.js.map +1 -0
- package/dist/application/agents/execution-agent.d.ts +11 -0
- package/dist/application/agents/execution-agent.d.ts.map +1 -1
- package/dist/application/agents/execution-agent.js +289 -80
- package/dist/application/agents/execution-agent.js.map +1 -1
- package/dist/application/agents/multi-agent-orchestrator.d.ts +4 -0
- package/dist/application/agents/multi-agent-orchestrator.d.ts.map +1 -1
- package/dist/application/agents/multi-agent-orchestrator.js +95 -2
- package/dist/application/agents/multi-agent-orchestrator.js.map +1 -1
- package/dist/application/agents/planning-agent.d.ts +3 -0
- package/dist/application/agents/planning-agent.d.ts.map +1 -1
- package/dist/application/agents/planning-agent.js +151 -71
- package/dist/application/agents/planning-agent.js.map +1 -1
- package/dist/application/agents/product-requirements-agent.d.ts +21 -0
- package/dist/application/agents/product-requirements-agent.d.ts.map +1 -0
- package/dist/application/agents/product-requirements-agent.js +247 -0
- package/dist/application/agents/product-requirements-agent.js.map +1 -0
- package/dist/application/agents/validation-agent.d.ts +5 -1
- package/dist/application/agents/validation-agent.d.ts.map +1 -1
- package/dist/application/agents/validation-agent.js +156 -21
- package/dist/application/agents/validation-agent.js.map +1 -1
- package/dist/application/reasoning/multi-model-planning-strategy.d.ts +21 -0
- package/dist/application/reasoning/multi-model-planning-strategy.d.ts.map +1 -0
- package/dist/application/reasoning/multi-model-planning-strategy.js +158 -0
- package/dist/application/reasoning/multi-model-planning-strategy.js.map +1 -0
- package/dist/application/reasoning/reasoning-config.d.ts +15 -0
- package/dist/application/reasoning/reasoning-config.d.ts.map +1 -0
- package/dist/application/reasoning/reasoning-config.js +50 -0
- package/dist/application/reasoning/reasoning-config.js.map +1 -0
- package/dist/application/reasoning/reasoning-orchestrator.d.ts +18 -0
- package/dist/application/reasoning/reasoning-orchestrator.d.ts.map +1 -0
- package/dist/application/reasoning/reasoning-orchestrator.js +170 -0
- package/dist/application/reasoning/reasoning-orchestrator.js.map +1 -0
- package/dist/application/reasoning/reasoning-strategy.interface.d.ts +24 -0
- package/dist/application/reasoning/reasoning-strategy.interface.d.ts.map +1 -0
- package/dist/application/reasoning/reasoning-strategy.interface.js +6 -0
- package/dist/application/reasoning/reasoning-strategy.interface.js.map +1 -0
- package/dist/application/reasoning/role-provider-resolver.d.ts +36 -0
- package/dist/application/reasoning/role-provider-resolver.d.ts.map +1 -0
- package/dist/application/reasoning/role-provider-resolver.js +74 -0
- package/dist/application/reasoning/role-provider-resolver.js.map +1 -0
- package/dist/application/reasoning/simple-planning-strategy.d.ts +22 -0
- package/dist/application/reasoning/simple-planning-strategy.d.ts.map +1 -0
- package/dist/application/reasoning/simple-planning-strategy.js +217 -0
- package/dist/application/reasoning/simple-planning-strategy.js.map +1 -0
- package/dist/application/reasoning/types.d.ts +65 -0
- package/dist/application/reasoning/types.d.ts.map +1 -0
- package/dist/application/reasoning/types.js +6 -0
- package/dist/application/reasoning/types.js.map +1 -0
- package/dist/application/reasoning/validator-strategy.d.ts +56 -0
- package/dist/application/reasoning/validator-strategy.d.ts.map +1 -0
- package/dist/application/reasoning/validator-strategy.js +103 -0
- package/dist/application/reasoning/validator-strategy.js.map +1 -0
- package/dist/application/services/dependency-container.d.ts +46 -2
- package/dist/application/services/dependency-container.d.ts.map +1 -1
- package/dist/application/services/dependency-container.js +198 -8
- package/dist/application/services/dependency-container.js.map +1 -1
- package/dist/application/services/intelligent-router.d.ts +19 -0
- package/dist/application/services/intelligent-router.d.ts.map +1 -1
- package/dist/application/services/intelligent-router.js +393 -91
- package/dist/application/services/intelligent-router.js.map +1 -1
- package/dist/application/use-cases/ask-question-use-case.d.ts +20 -0
- package/dist/application/use-cases/ask-question-use-case.d.ts.map +1 -1
- package/dist/application/use-cases/ask-question-use-case.js +129 -49
- package/dist/application/use-cases/ask-question-use-case.js.map +1 -1
- package/dist/application/use-cases/edit-file-use-case.d.ts.map +1 -1
- package/dist/application/use-cases/edit-file-use-case.js +16 -1
- package/dist/application/use-cases/edit-file-use-case.js.map +1 -1
- package/dist/application/use-cases/planning-use-case.d.ts +14 -1
- package/dist/application/use-cases/planning-use-case.d.ts.map +1 -1
- package/dist/application/use-cases/planning-use-case.js +109 -2
- package/dist/application/use-cases/planning-use-case.js.map +1 -1
- package/dist/domain/entities/documentation.d.ts +35 -0
- package/dist/domain/entities/documentation.d.ts.map +1 -0
- package/dist/domain/entities/documentation.js +6 -0
- package/dist/domain/entities/documentation.js.map +1 -0
- package/dist/domain/entities/memory.d.ts.map +1 -1
- package/dist/domain/entities/product-requirements.d.ts +50 -0
- package/dist/domain/entities/product-requirements.d.ts.map +1 -0
- package/dist/domain/entities/product-requirements.js +6 -0
- package/dist/domain/entities/product-requirements.js.map +1 -0
- package/dist/domain/entities/task.d.ts +152 -0
- package/dist/domain/entities/task.d.ts.map +1 -0
- package/dist/domain/entities/task.js +61 -0
- package/dist/domain/entities/task.js.map +1 -0
- package/dist/domain/errors/embeddings-not-found-error.d.ts +9 -0
- package/dist/domain/errors/embeddings-not-found-error.d.ts.map +1 -0
- package/dist/domain/errors/embeddings-not-found-error.js +13 -0
- package/dist/domain/errors/embeddings-not-found-error.js.map +1 -0
- package/dist/domain/interfaces/agent.interface.d.ts +15 -0
- package/dist/domain/interfaces/agent.interface.d.ts.map +1 -0
- package/dist/domain/interfaces/agent.interface.js +6 -0
- package/dist/domain/interfaces/agent.interface.js.map +1 -0
- package/dist/domain/interfaces/embedding-repository.interface.d.ts +5 -0
- package/dist/domain/interfaces/embedding-repository.interface.d.ts.map +1 -1
- package/dist/domain/services/environment-mode-manager.d.ts +12 -0
- package/dist/domain/services/environment-mode-manager.d.ts.map +1 -0
- package/dist/domain/services/environment-mode-manager.js +22 -0
- package/dist/domain/services/environment-mode-manager.js.map +1 -0
- package/dist/domain/services/query-intent-classifier.d.ts.map +1 -1
- package/dist/domain/services/query-intent-classifier.js +20 -1
- package/dist/domain/services/query-intent-classifier.js.map +1 -1
- package/dist/domain/services/risk-tier-detector.d.ts +17 -0
- package/dist/domain/services/risk-tier-detector.d.ts.map +1 -0
- package/dist/domain/services/risk-tier-detector.js +78 -0
- package/dist/domain/services/risk-tier-detector.js.map +1 -0
- package/dist/embed.d.ts.map +1 -1
- package/dist/embed.js +18 -8
- package/dist/embed.js.map +1 -1
- package/dist/formatter.d.ts.map +1 -1
- package/dist/formatter.js +10 -3
- package/dist/formatter.js.map +1 -1
- package/dist/index.js +494 -167
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/ai/cohere-ai-service.d.ts.map +1 -1
- package/dist/infrastructure/ai/cohere-ai-service.js +19 -6
- package/dist/infrastructure/ai/cohere-ai-service.js.map +1 -1
- package/dist/infrastructure/ai/fake-ai-service.d.ts +22 -0
- package/dist/infrastructure/ai/fake-ai-service.d.ts.map +1 -0
- package/dist/infrastructure/ai/fake-ai-service.js +59 -0
- package/dist/infrastructure/ai/fake-ai-service.js.map +1 -0
- package/dist/infrastructure/ai/provider-ai-service.d.ts +59 -0
- package/dist/infrastructure/ai/provider-ai-service.d.ts.map +1 -0
- package/dist/infrastructure/ai/provider-ai-service.js +477 -0
- package/dist/infrastructure/ai/provider-ai-service.js.map +1 -0
- package/dist/infrastructure/cache/embedding-cache.d.ts +13 -1
- package/dist/infrastructure/cache/embedding-cache.d.ts.map +1 -1
- package/dist/infrastructure/cache/embedding-cache.js +80 -9
- package/dist/infrastructure/cache/embedding-cache.js.map +1 -1
- package/dist/infrastructure/cache/query-result-cache.d.ts +14 -55
- package/dist/infrastructure/cache/query-result-cache.d.ts.map +1 -1
- package/dist/infrastructure/cache/query-result-cache.js +40 -112
- package/dist/infrastructure/cache/query-result-cache.js.map +1 -1
- package/dist/infrastructure/cache/response-cache.d.ts +18 -0
- package/dist/infrastructure/cache/response-cache.d.ts.map +1 -0
- package/dist/infrastructure/cache/response-cache.js +48 -0
- package/dist/infrastructure/cache/response-cache.js.map +1 -0
- package/dist/infrastructure/cache/security-scan-cache.d.ts +8 -49
- package/dist/infrastructure/cache/security-scan-cache.d.ts.map +1 -1
- package/dist/infrastructure/cache/security-scan-cache.js +25 -102
- package/dist/infrastructure/cache/security-scan-cache.js.map +1 -1
- package/dist/infrastructure/completion/bash-completion.d.ts +2 -3
- package/dist/infrastructure/completion/bash-completion.d.ts.map +1 -1
- package/dist/infrastructure/completion/bash-completion.js +11 -87
- package/dist/infrastructure/completion/bash-completion.js.map +1 -1
- package/dist/infrastructure/completion/fish-completion.d.ts +2 -3
- package/dist/infrastructure/completion/fish-completion.d.ts.map +1 -1
- package/dist/infrastructure/completion/fish-completion.js +15 -58
- package/dist/infrastructure/completion/fish-completion.js.map +1 -1
- package/dist/infrastructure/completion/zsh-completion.d.ts +2 -3
- package/dist/infrastructure/completion/zsh-completion.d.ts.map +1 -1
- package/dist/infrastructure/completion/zsh-completion.js +18 -73
- package/dist/infrastructure/completion/zsh-completion.js.map +1 -1
- package/dist/infrastructure/config/config-manager.d.ts +10 -0
- package/dist/infrastructure/config/config-manager.d.ts.map +1 -1
- package/dist/infrastructure/config/config-manager.js +13 -2
- package/dist/infrastructure/config/config-manager.js.map +1 -1
- package/dist/infrastructure/context/conversation-context.d.ts +54 -0
- package/dist/infrastructure/context/conversation-context.d.ts.map +1 -0
- package/dist/infrastructure/context/conversation-context.js +129 -0
- package/dist/infrastructure/context/conversation-context.js.map +1 -0
- package/dist/infrastructure/context/session-manager.d.ts +42 -0
- package/dist/infrastructure/context/session-manager.d.ts.map +1 -0
- package/dist/infrastructure/context/session-manager.js +94 -0
- package/dist/infrastructure/context/session-manager.js.map +1 -0
- package/dist/infrastructure/cost/cost-tracker.d.ts +1 -0
- package/dist/infrastructure/cost/cost-tracker.d.ts.map +1 -1
- package/dist/infrastructure/cost/cost-tracker.js +12 -5
- package/dist/infrastructure/cost/cost-tracker.js.map +1 -1
- package/dist/infrastructure/governance/nist-ai-rmf.d.ts +6 -8
- package/dist/infrastructure/governance/nist-ai-rmf.d.ts.map +1 -1
- package/dist/infrastructure/governance/nist-ai-rmf.js +6 -8
- package/dist/infrastructure/governance/nist-ai-rmf.js.map +1 -1
- package/dist/infrastructure/governance/policy-as-code.d.ts +6 -8
- package/dist/infrastructure/governance/policy-as-code.d.ts.map +1 -1
- package/dist/infrastructure/governance/policy-as-code.js +6 -8
- package/dist/infrastructure/governance/policy-as-code.js.map +1 -1
- package/dist/infrastructure/governance/prompt-to-code-lineage.d.ts +7 -9
- package/dist/infrastructure/governance/prompt-to-code-lineage.d.ts.map +1 -1
- package/dist/infrastructure/governance/prompt-to-code-lineage.js +7 -9
- package/dist/infrastructure/governance/prompt-to-code-lineage.js.map +1 -1
- package/dist/infrastructure/protocols/a2a-metadata.js +1 -1
- package/dist/infrastructure/protocols/mcp-oauth.js +1 -1
- package/dist/infrastructure/providers/cohere-provider.d.ts +39 -0
- package/dist/infrastructure/providers/cohere-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/cohere-provider.js +444 -0
- package/dist/infrastructure/providers/cohere-provider.js.map +1 -0
- package/dist/infrastructure/providers/fake-provider.d.ts +43 -0
- package/dist/infrastructure/providers/fake-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/fake-provider.js +130 -0
- package/dist/infrastructure/providers/fake-provider.js.map +1 -0
- package/dist/infrastructure/providers/local-llm-provider.d.ts +49 -0
- package/dist/infrastructure/providers/local-llm-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/local-llm-provider.js +330 -0
- package/dist/infrastructure/providers/local-llm-provider.js.map +1 -0
- package/dist/infrastructure/providers/model-config.types.d.ts +70 -0
- package/dist/infrastructure/providers/model-config.types.d.ts.map +1 -0
- package/dist/infrastructure/providers/model-config.types.js +9 -0
- package/dist/infrastructure/providers/model-config.types.js.map +1 -0
- package/dist/infrastructure/providers/model-provider.interface.d.ts +113 -0
- package/dist/infrastructure/providers/model-provider.interface.d.ts.map +1 -0
- package/dist/infrastructure/providers/model-provider.interface.js +8 -0
- package/dist/infrastructure/providers/model-provider.interface.js.map +1 -0
- package/dist/infrastructure/providers/openai-provider.d.ts +38 -0
- package/dist/infrastructure/providers/openai-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/openai-provider.js +413 -0
- package/dist/infrastructure/providers/openai-provider.js.map +1 -0
- package/dist/infrastructure/providers/openrouter-provider.d.ts +42 -0
- package/dist/infrastructure/providers/openrouter-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/openrouter-provider.js +401 -0
- package/dist/infrastructure/providers/openrouter-provider.js.map +1 -0
- package/dist/infrastructure/providers/operation-provider-resolver.d.ts +48 -0
- package/dist/infrastructure/providers/operation-provider-resolver.d.ts.map +1 -0
- package/dist/infrastructure/providers/operation-provider-resolver.js +131 -0
- package/dist/infrastructure/providers/operation-provider-resolver.js.map +1 -0
- package/dist/infrastructure/providers/provider-config-loader.d.ts +37 -0
- package/dist/infrastructure/providers/provider-config-loader.d.ts.map +1 -0
- package/dist/infrastructure/providers/provider-config-loader.js +120 -0
- package/dist/infrastructure/providers/provider-config-loader.js.map +1 -0
- package/dist/infrastructure/providers/provider-registry.d.ts +53 -0
- package/dist/infrastructure/providers/provider-registry.d.ts.map +1 -0
- package/dist/infrastructure/providers/provider-registry.js +88 -0
- package/dist/infrastructure/providers/provider-registry.js.map +1 -0
- package/dist/infrastructure/security/input-validator.d.ts.map +1 -1
- package/dist/infrastructure/security/input-validator.js +19 -6
- package/dist/infrastructure/security/input-validator.js.map +1 -1
- package/dist/infrastructure/serialization/toon-serializer.d.ts +45 -0
- package/dist/infrastructure/serialization/toon-serializer.d.ts.map +1 -0
- package/dist/infrastructure/serialization/toon-serializer.js +119 -0
- package/dist/infrastructure/serialization/toon-serializer.js.map +1 -0
- package/dist/infrastructure/storage/embeddings-path.d.ts +18 -0
- package/dist/infrastructure/storage/embeddings-path.d.ts.map +1 -0
- package/dist/infrastructure/storage/embeddings-path.js +37 -0
- package/dist/infrastructure/storage/embeddings-path.js.map +1 -0
- package/dist/infrastructure/storage/plan-repository.d.ts +2 -0
- package/dist/infrastructure/storage/plan-repository.d.ts.map +1 -1
- package/dist/infrastructure/storage/plan-repository.js +36 -73
- package/dist/infrastructure/storage/plan-repository.js.map +1 -1
- package/dist/infrastructure/storage/sqlite-embedding-repository.d.ts +10 -1
- package/dist/infrastructure/storage/sqlite-embedding-repository.d.ts.map +1 -1
- package/dist/infrastructure/storage/sqlite-embedding-repository.js +37 -3
- package/dist/infrastructure/storage/sqlite-embedding-repository.js.map +1 -1
- package/dist/infrastructure/storage/task-helpers.d.ts +69 -0
- package/dist/infrastructure/storage/task-helpers.d.ts.map +1 -0
- package/dist/infrastructure/storage/task-helpers.js +197 -0
- package/dist/infrastructure/storage/task-helpers.js.map +1 -0
- package/dist/infrastructure/storage/task-repository.d.ts +68 -0
- package/dist/infrastructure/storage/task-repository.d.ts.map +1 -0
- package/dist/infrastructure/storage/task-repository.js +216 -0
- package/dist/infrastructure/storage/task-repository.js.map +1 -0
- package/dist/infrastructure/telemetry/telemetry-service.d.ts +74 -0
- package/dist/infrastructure/telemetry/telemetry-service.d.ts.map +1 -0
- package/dist/infrastructure/telemetry/telemetry-service.js +167 -0
- package/dist/infrastructure/telemetry/telemetry-service.js.map +1 -0
- package/dist/infrastructure/ux/bi-directional-learning.d.ts +22 -0
- package/dist/infrastructure/ux/bi-directional-learning.d.ts.map +1 -1
- package/dist/infrastructure/ux/bi-directional-learning.js +144 -7
- package/dist/infrastructure/ux/bi-directional-learning.js.map +1 -1
- package/dist/infrastructure/ux/capability-boundaries.d.ts +22 -0
- package/dist/infrastructure/ux/capability-boundaries.d.ts.map +1 -0
- package/dist/infrastructure/ux/capability-boundaries.js +42 -0
- package/dist/infrastructure/ux/capability-boundaries.js.map +1 -0
- package/dist/infrastructure/ux/comprehensive-formatter.d.ts +21 -0
- package/dist/infrastructure/ux/comprehensive-formatter.d.ts.map +1 -0
- package/dist/infrastructure/ux/comprehensive-formatter.js +117 -0
- package/dist/infrastructure/ux/comprehensive-formatter.js.map +1 -0
- package/dist/infrastructure/ux/contextual-feature-discovery.d.ts +5 -18
- package/dist/infrastructure/ux/contextual-feature-discovery.d.ts.map +1 -1
- package/dist/infrastructure/ux/contextual-feature-discovery.js +5 -139
- package/dist/infrastructure/ux/contextual-feature-discovery.js.map +1 -1
- package/dist/infrastructure/ux/feature-discovery.d.ts +3 -33
- package/dist/infrastructure/ux/feature-discovery.d.ts.map +1 -1
- package/dist/infrastructure/ux/feature-discovery.js +5 -181
- package/dist/infrastructure/ux/feature-discovery.js.map +1 -1
- package/dist/infrastructure/ux/feedback-prompt.d.ts +26 -0
- package/dist/infrastructure/ux/feedback-prompt.d.ts.map +1 -0
- package/dist/infrastructure/ux/feedback-prompt.js +45 -0
- package/dist/infrastructure/ux/feedback-prompt.js.map +1 -0
- package/dist/infrastructure/ux/hitl-review-portal.d.ts.map +1 -1
- package/dist/infrastructure/ux/hitl-review-portal.js +4 -1
- package/dist/infrastructure/ux/hitl-review-portal.js.map +1 -1
- package/dist/infrastructure/ux/hitl-validation.d.ts +35 -0
- package/dist/infrastructure/ux/hitl-validation.d.ts.map +1 -1
- package/dist/infrastructure/ux/hitl-validation.js +86 -0
- package/dist/infrastructure/ux/hitl-validation.js.map +1 -1
- package/dist/infrastructure/ux/progress-indicator.d.ts +5 -6
- package/dist/infrastructure/ux/progress-indicator.d.ts.map +1 -1
- package/dist/infrastructure/ux/progress-indicator.js +36 -41
- package/dist/infrastructure/ux/progress-indicator.js.map +1 -1
- package/dist/infrastructure/ux/proportional-friction.d.ts +73 -0
- package/dist/infrastructure/ux/proportional-friction.d.ts.map +1 -0
- package/dist/infrastructure/ux/proportional-friction.js +200 -0
- package/dist/infrastructure/ux/proportional-friction.js.map +1 -0
- package/dist/infrastructure/ux/review-checkpoint.d.ts +3 -1
- package/dist/infrastructure/ux/review-checkpoint.d.ts.map +1 -1
- package/dist/infrastructure/ux/review-checkpoint.js +33 -80
- package/dist/infrastructure/ux/review-checkpoint.js.map +1 -1
- package/dist/infrastructure/ux/staged-feature-intro.d.ts +14 -39
- package/dist/infrastructure/ux/staged-feature-intro.d.ts.map +1 -1
- package/dist/infrastructure/ux/staged-feature-intro.js +12 -132
- package/dist/infrastructure/ux/staged-feature-intro.js.map +1 -1
- package/dist/infrastructure/ux/syntax-highlighter.d.ts +1 -2
- package/dist/infrastructure/ux/syntax-highlighter.d.ts.map +1 -1
- package/dist/infrastructure/ux/syntax-highlighter.js +67 -148
- package/dist/infrastructure/ux/syntax-highlighter.js.map +1 -1
- package/dist/infrastructure/validation/agent-feedback.d.ts +51 -0
- package/dist/infrastructure/validation/agent-feedback.d.ts.map +1 -0
- package/dist/infrastructure/validation/agent-feedback.js +55 -0
- package/dist/infrastructure/validation/agent-feedback.js.map +1 -0
- package/dist/infrastructure/validation/agent-validation-helper.d.ts +75 -0
- package/dist/infrastructure/validation/agent-validation-helper.d.ts.map +1 -0
- package/dist/infrastructure/validation/agent-validation-helper.js +137 -0
- package/dist/infrastructure/validation/agent-validation-helper.js.map +1 -0
- package/dist/infrastructure/validation/feedback-stats.d.ts +99 -0
- package/dist/infrastructure/validation/feedback-stats.d.ts.map +1 -0
- package/dist/infrastructure/validation/feedback-stats.js +173 -0
- package/dist/infrastructure/validation/feedback-stats.js.map +1 -0
- package/dist/infrastructure/validation/review-handler.d.ts +26 -0
- package/dist/infrastructure/validation/review-handler.d.ts.map +1 -0
- package/dist/infrastructure/validation/review-handler.js +40 -0
- package/dist/infrastructure/validation/review-handler.js.map +1 -0
- package/dist/infrastructure/validation/summary-aggregator.d.ts +45 -0
- package/dist/infrastructure/validation/summary-aggregator.d.ts.map +1 -0
- package/dist/infrastructure/validation/summary-aggregator.js +70 -0
- package/dist/infrastructure/validation/summary-aggregator.js.map +1 -0
- package/dist/infrastructure/validation/summary-extractor.d.ts +24 -0
- package/dist/infrastructure/validation/summary-extractor.d.ts.map +1 -0
- package/dist/infrastructure/validation/summary-extractor.js +45 -0
- package/dist/infrastructure/validation/summary-extractor.js.map +1 -0
- package/dist/infrastructure/validation/trace-summary.d.ts +45 -0
- package/dist/infrastructure/validation/trace-summary.d.ts.map +1 -0
- package/dist/infrastructure/validation/trace-summary.js +52 -0
- package/dist/infrastructure/validation/trace-summary.js.map +1 -0
- package/dist/infrastructure/validation/trust-config.d.ts +27 -0
- package/dist/infrastructure/validation/trust-config.d.ts.map +1 -0
- package/dist/infrastructure/validation/trust-config.js +113 -0
- package/dist/infrastructure/validation/trust-config.js.map +1 -0
- package/dist/infrastructure/xai/attention-visualizer.d.ts +6 -8
- package/dist/infrastructure/xai/attention-visualizer.d.ts.map +1 -1
- package/dist/infrastructure/xai/attention-visualizer.js +6 -8
- package/dist/infrastructure/xai/attention-visualizer.js.map +1 -1
- package/dist/infrastructure/xai/cot-visualizer.d.ts +6 -9
- package/dist/infrastructure/xai/cot-visualizer.d.ts.map +1 -1
- package/dist/infrastructure/xai/cot-visualizer.js +6 -9
- package/dist/infrastructure/xai/cot-visualizer.js.map +1 -1
- package/dist/infrastructure/xai/decision-tree-log.d.ts +6 -10
- package/dist/infrastructure/xai/decision-tree-log.d.ts.map +1 -1
- package/dist/infrastructure/xai/decision-tree-log.js +6 -10
- package/dist/infrastructure/xai/decision-tree-log.js.map +1 -1
- package/dist/infrastructure/xai/interactive-xai.d.ts +6 -8
- package/dist/infrastructure/xai/interactive-xai.d.ts.map +1 -1
- package/dist/infrastructure/xai/interactive-xai.js +6 -8
- package/dist/infrastructure/xai/interactive-xai.js.map +1 -1
- package/dist/infrastructure/xai/uncertainty-quantifier.d.ts +6 -9
- package/dist/infrastructure/xai/uncertainty-quantifier.d.ts.map +1 -1
- package/dist/infrastructure/xai/uncertainty-quantifier.js +6 -9
- package/dist/infrastructure/xai/uncertainty-quantifier.js.map +1 -1
- package/dist/monitoring.d.ts +1 -1
- package/dist/monitoring.d.ts.map +1 -1
- package/dist/monitoring.js +12 -9
- package/dist/monitoring.js.map +1 -1
- package/dist/parallel-processor.d.ts.map +1 -1
- package/dist/parallel-processor.js +124 -45
- package/dist/parallel-processor.js.map +1 -1
- package/dist/presentation/cli/commands/ask-command.d.ts +2 -0
- package/dist/presentation/cli/commands/ask-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/ask-command.js +356 -87
- package/dist/presentation/cli/commands/ask-command.js.map +1 -1
- package/dist/presentation/cli/commands/config-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/config-command.js +22 -8
- package/dist/presentation/cli/commands/config-command.js.map +1 -1
- package/dist/presentation/cli/commands/decision-command.js +23 -6
- package/dist/presentation/cli/commands/decision-command.js.map +1 -1
- package/dist/presentation/cli/commands/docs-command.d.ts +14 -0
- package/dist/presentation/cli/commands/docs-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/docs-command.js +25 -0
- package/dist/presentation/cli/commands/docs-command.js.map +1 -0
- package/dist/presentation/cli/commands/fix-command.d.ts +10 -0
- package/dist/presentation/cli/commands/fix-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/fix-command.js +94 -0
- package/dist/presentation/cli/commands/fix-command.js.map +1 -0
- package/dist/presentation/cli/commands/help-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/help-command.js +23 -1
- package/dist/presentation/cli/commands/help-command.js.map +1 -1
- package/dist/presentation/cli/commands/memory-command.d.ts +17 -0
- package/dist/presentation/cli/commands/memory-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/memory-command.js +252 -0
- package/dist/presentation/cli/commands/memory-command.js.map +1 -0
- package/dist/presentation/cli/commands/models-command.d.ts +13 -0
- package/dist/presentation/cli/commands/models-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/models-command.js +194 -0
- package/dist/presentation/cli/commands/models-command.js.map +1 -0
- package/dist/presentation/cli/commands/orchestrate-command.d.ts +2 -0
- package/dist/presentation/cli/commands/orchestrate-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/orchestrate-command.js +182 -14
- package/dist/presentation/cli/commands/orchestrate-command.js.map +1 -1
- package/dist/presentation/cli/commands/plan-command.d.ts +2 -0
- package/dist/presentation/cli/commands/plan-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/plan-command.js +212 -26
- package/dist/presentation/cli/commands/plan-command.js.map +1 -1
- package/dist/presentation/cli/commands/product-command.d.ts +14 -0
- package/dist/presentation/cli/commands/product-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/product-command.js +22 -0
- package/dist/presentation/cli/commands/product-command.js.map +1 -0
- package/dist/presentation/cli/commands/react-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/react-command.js +8 -2
- package/dist/presentation/cli/commands/react-command.js.map +1 -1
- package/dist/presentation/cli/commands/review-command.d.ts +14 -0
- package/dist/presentation/cli/commands/review-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/review-command.js +173 -0
- package/dist/presentation/cli/commands/review-command.js.map +1 -0
- package/dist/presentation/cli/commands/run-command.d.ts +13 -0
- package/dist/presentation/cli/commands/run-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/run-command.js +188 -0
- package/dist/presentation/cli/commands/run-command.js.map +1 -0
- package/dist/presentation/cli/commands/setup-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/setup-command.js +15 -0
- package/dist/presentation/cli/commands/setup-command.js.map +1 -1
- package/dist/presentation/cli/commands/smart-command.d.ts +3 -1
- package/dist/presentation/cli/commands/smart-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/smart-command.js +165 -11
- package/dist/presentation/cli/commands/smart-command.js.map +1 -1
- package/dist/presentation/cli/commands/status-command.d.ts +14 -0
- package/dist/presentation/cli/commands/status-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/status-command.js +171 -0
- package/dist/presentation/cli/commands/status-command.js.map +1 -0
- package/dist/presentation/cli/commands/suggest-command.d.ts +11 -0
- package/dist/presentation/cli/commands/suggest-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/suggest-command.js +138 -0
- package/dist/presentation/cli/commands/suggest-command.js.map +1 -0
- package/dist/presentation/cli/error-display.d.ts.map +1 -1
- package/dist/presentation/cli/error-display.js +118 -17
- package/dist/presentation/cli/error-display.js.map +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.js +6 -1
- package/dist/search.js.map +1 -1
- package/dist/session.d.ts +1 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +69 -4
- package/dist/session.js.map +1 -1
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/bash.js +3 -0
- package/dist/tools/bash.js.map +1 -1
- package/dist/tools/git-tool.js +7 -7
- package/dist/tools/git-tool.js.map +1 -1
- package/dist/ui.d.ts +11 -0
- package/dist/ui.d.ts.map +1 -1
- package/dist/ui.js +62 -6
- package/dist/ui.js.map +1 -1
- package/package.json +22 -4
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI Command: Memory
|
|
3
|
+
* View and manage Codehere's operation history (v0.5: operation history only, not full long-term memory)
|
|
4
|
+
*
|
|
5
|
+
* Focus: Delightful UX, XAI, Responsible AI
|
|
6
|
+
*/
|
|
7
|
+
import { container } from '../../../application/services/dependency-container.js';
|
|
8
|
+
import { colors, formatNumber, newline, separator, createBanner, warning, info, } from '../../../ui.js';
|
|
9
|
+
import { findCodebaseRoot } from '../../../domain/services/codebase-detector.js';
|
|
10
|
+
import { executionTracer } from '../../../infrastructure/observability/execution-tracer.js';
|
|
11
|
+
import { displayError } from '../error-display.js';
|
|
12
|
+
export async function executeMemoryCommand(options = {}) {
|
|
13
|
+
const codebaseInfo = findCodebaseRoot(process.cwd());
|
|
14
|
+
const codebaseId = codebaseInfo?.rootPath || process.cwd();
|
|
15
|
+
const runId = executionTracer.startRun('memory', {
|
|
16
|
+
codebaseId,
|
|
17
|
+
});
|
|
18
|
+
try {
|
|
19
|
+
const memoryRepository = container.memoryRepository;
|
|
20
|
+
// Get all recent memories (we'll filter by codebase if needed)
|
|
21
|
+
// Note: Some memories might not have codebaseId in metadata (older format)
|
|
22
|
+
const allRecent = await memoryRepository.findRecent(1000);
|
|
23
|
+
// Filter by codebase if codebaseId is available
|
|
24
|
+
// Also include memories without codebaseId (for backward compatibility)
|
|
25
|
+
let memories = allRecent.filter(m => {
|
|
26
|
+
const metadata = typeof m.metadata === 'string' ? JSON.parse(m.metadata) : (m.metadata || {});
|
|
27
|
+
return !metadata.codebaseId || metadata.codebaseId === codebaseId || metadata.codebasePath === codebaseId;
|
|
28
|
+
});
|
|
29
|
+
// Filter by type if specified
|
|
30
|
+
if (options.type) {
|
|
31
|
+
memories = memories.filter(m => m.type === options.type);
|
|
32
|
+
}
|
|
33
|
+
// Handle clear action
|
|
34
|
+
if (options.clear) {
|
|
35
|
+
if (memories.length === 0) {
|
|
36
|
+
console.log(info('No memories found to clear.'));
|
|
37
|
+
newline();
|
|
38
|
+
executionTracer.endRun();
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
// Show confirmation
|
|
42
|
+
console.log(warning(`⚠️ This will clear ${memories.length} memory item(s) for this codebase.`));
|
|
43
|
+
console.log(colors.dim('This action cannot be undone.'));
|
|
44
|
+
newline();
|
|
45
|
+
console.log(colors.bold('To confirm, run:'));
|
|
46
|
+
console.log(colors.cyan(` codehere memory --clear --confirm`));
|
|
47
|
+
newline();
|
|
48
|
+
executionTracer.endRun();
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
// Handle stats
|
|
52
|
+
if (options.stats || (!options.list && !options.search)) {
|
|
53
|
+
if (options.json) {
|
|
54
|
+
// P0 FIX: JSON output for stats
|
|
55
|
+
const { container } = await import('../../../application/services/dependency-container.js');
|
|
56
|
+
const provider = container.aiService.provider?.name || container.aiService.provider?.id || 'unknown';
|
|
57
|
+
const output = {
|
|
58
|
+
provider,
|
|
59
|
+
stats: {
|
|
60
|
+
total: memories.length,
|
|
61
|
+
byType: memories.reduce((acc, m) => {
|
|
62
|
+
acc[m.type] = (acc[m.type] || 0) + 1;
|
|
63
|
+
return acc;
|
|
64
|
+
}, {}),
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
console.log(JSON.stringify(output, null, 2));
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
showMemoryStats(memories, codebaseId);
|
|
71
|
+
}
|
|
72
|
+
executionTracer.endRun();
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
// Handle search
|
|
76
|
+
if (options.search) {
|
|
77
|
+
const searchTerm = options.search.toLowerCase();
|
|
78
|
+
const filtered = memories.filter(m => m.description.toLowerCase().includes(searchTerm) ||
|
|
79
|
+
m.type.toLowerCase().includes(searchTerm));
|
|
80
|
+
if (filtered.length === 0) {
|
|
81
|
+
if (options.json) {
|
|
82
|
+
// P0 FIX: Return empty JSON array for JSON mode
|
|
83
|
+
const { container } = await import('../../../application/services/dependency-container.js');
|
|
84
|
+
const provider = container.aiService.provider?.name || container.aiService.provider?.id || 'unknown';
|
|
85
|
+
console.log(JSON.stringify({ provider, memories: [] }, null, 2));
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
console.log(info(`No memories found matching "${options.search}"`));
|
|
89
|
+
newline();
|
|
90
|
+
}
|
|
91
|
+
executionTracer.endRun();
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
await showMemoryList(filtered, options.limit || 20, options.json);
|
|
95
|
+
executionTracer.endRun();
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
// Handle list (default)
|
|
99
|
+
if (options.list || (!options.stats && !options.search)) {
|
|
100
|
+
const limit = options.limit || 20;
|
|
101
|
+
await showMemoryList(memories, limit, options.json);
|
|
102
|
+
executionTracer.endRun();
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
executionTracer.endRun();
|
|
106
|
+
}
|
|
107
|
+
catch (err) {
|
|
108
|
+
displayError(err, { operation: 'memory' });
|
|
109
|
+
executionTracer.endRun();
|
|
110
|
+
process.exit(1);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
function showMemoryStats(memories, codebaseId) {
|
|
114
|
+
console.log(createBanner('Memory Statistics', 'What Codehere remembers'));
|
|
115
|
+
newline();
|
|
116
|
+
if (memories.length === 0) {
|
|
117
|
+
console.log(info('No memories found for this codebase.'));
|
|
118
|
+
console.log(colors.dim('Memories are created as you use Codehere.'));
|
|
119
|
+
newline();
|
|
120
|
+
console.log(colors.bold('Try:'));
|
|
121
|
+
console.log(colors.cyan(' codehere "explain this function"'));
|
|
122
|
+
console.log(colors.cyan(' codehere plan "refactor authentication"'));
|
|
123
|
+
newline();
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
// Group by type
|
|
127
|
+
const byType = {};
|
|
128
|
+
const byImportance = {
|
|
129
|
+
high: 0,
|
|
130
|
+
medium: 0,
|
|
131
|
+
low: 0,
|
|
132
|
+
};
|
|
133
|
+
let totalImportance = 0;
|
|
134
|
+
const now = Date.now();
|
|
135
|
+
const oneDayAgo = now - 24 * 60 * 60 * 1000;
|
|
136
|
+
const oneWeekAgo = now - 7 * 24 * 60 * 60 * 1000;
|
|
137
|
+
let recentCount = 0;
|
|
138
|
+
let weekCount = 0;
|
|
139
|
+
memories.forEach(m => {
|
|
140
|
+
byType[m.type] = (byType[m.type] || 0) + 1;
|
|
141
|
+
if (m.importance >= 7)
|
|
142
|
+
byImportance.high++;
|
|
143
|
+
else if (m.importance >= 4)
|
|
144
|
+
byImportance.medium++;
|
|
145
|
+
else
|
|
146
|
+
byImportance.low++;
|
|
147
|
+
totalImportance += m.importance;
|
|
148
|
+
const timestamp = m.timestamp instanceof Date ? m.timestamp.getTime() : m.timestamp;
|
|
149
|
+
if (timestamp > oneDayAgo)
|
|
150
|
+
recentCount++;
|
|
151
|
+
if (timestamp > oneWeekAgo)
|
|
152
|
+
weekCount++;
|
|
153
|
+
});
|
|
154
|
+
const avgImportance = totalImportance / memories.length;
|
|
155
|
+
console.log(colors.bold('Overview:'));
|
|
156
|
+
console.log(` Total Memories: ${colors.cyan(formatNumber(memories.length))}`);
|
|
157
|
+
console.log(` Average Importance: ${colors.cyan(avgImportance.toFixed(1))}/10`);
|
|
158
|
+
console.log(` Recent (24h): ${colors.cyan(formatNumber(recentCount))}`);
|
|
159
|
+
console.log(` This Week: ${colors.cyan(formatNumber(weekCount))}`);
|
|
160
|
+
newline();
|
|
161
|
+
console.log(colors.bold('By Type:'));
|
|
162
|
+
Object.entries(byType)
|
|
163
|
+
.sort((a, b) => b[1] - a[1])
|
|
164
|
+
.forEach(([type, count]) => {
|
|
165
|
+
const percentage = ((count / memories.length) * 100).toFixed(1);
|
|
166
|
+
console.log(` ${colors.cyan(type.padEnd(12))} ${formatNumber(count).padStart(6)} (${percentage}%)`);
|
|
167
|
+
});
|
|
168
|
+
newline();
|
|
169
|
+
console.log(colors.bold('By Importance:'));
|
|
170
|
+
console.log(` High (7-10): ${colors.green(formatNumber(byImportance.high))}`);
|
|
171
|
+
console.log(` Medium (4-6): ${colors.yellow(formatNumber(byImportance.medium))}`);
|
|
172
|
+
console.log(` Low (1-3): ${colors.dim(formatNumber(byImportance.low))}`);
|
|
173
|
+
newline();
|
|
174
|
+
// Show Responsible AI indicator
|
|
175
|
+
console.log(separator('─', 60));
|
|
176
|
+
console.log(colors.dim('🔒 Privacy: All memories stored locally in SQLite'));
|
|
177
|
+
console.log(colors.dim('📊 Data: No external transmission, your codebase stays private'));
|
|
178
|
+
newline();
|
|
179
|
+
}
|
|
180
|
+
async function showMemoryList(memories, limit, json) {
|
|
181
|
+
if (json) {
|
|
182
|
+
// P0 FIX: Ensure pure JSON output with provider field
|
|
183
|
+
const { container } = await import('../../../application/services/dependency-container.js');
|
|
184
|
+
const provider = container.aiService.provider?.name || container.aiService.provider?.id || 'unknown';
|
|
185
|
+
const output = {
|
|
186
|
+
provider,
|
|
187
|
+
memories: memories.slice(0, limit).map(m => ({
|
|
188
|
+
id: m.id,
|
|
189
|
+
type: m.type,
|
|
190
|
+
description: m.description,
|
|
191
|
+
importance: m.importance,
|
|
192
|
+
timestamp: m.timestamp instanceof Date ? m.timestamp.toISOString() : new Date(m.timestamp).toISOString(),
|
|
193
|
+
lastAccessed: m.lastAccessed instanceof Date ? m.lastAccessed.toISOString() : new Date(m.lastAccessed).toISOString(),
|
|
194
|
+
})),
|
|
195
|
+
};
|
|
196
|
+
console.log(JSON.stringify(output, null, 2));
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
console.log(createBanner('Memory List', 'What Codehere remembers'));
|
|
200
|
+
newline();
|
|
201
|
+
if (memories.length === 0) {
|
|
202
|
+
console.log(info('No memories found.'));
|
|
203
|
+
console.log(colors.dim('Memories are created as you use Codehere.'));
|
|
204
|
+
newline();
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
const displayMemories = memories.slice(0, limit);
|
|
208
|
+
console.log(colors.bold(`Showing ${displayMemories.length} of ${memories.length} memories:`));
|
|
209
|
+
newline();
|
|
210
|
+
displayMemories.forEach((memory, index) => {
|
|
211
|
+
const timestamp = memory.timestamp instanceof Date ? memory.timestamp : new Date(memory.timestamp);
|
|
212
|
+
const timeAgo = getTimeAgo(timestamp);
|
|
213
|
+
const importanceColor = memory.importance >= 7 ? colors.green : memory.importance >= 4 ? colors.yellow : colors.dim;
|
|
214
|
+
console.log(separator('─', 60));
|
|
215
|
+
console.log(`${colors.bold(`[${index + 1}]`)} ${colors.cyan(memory.type.toUpperCase())} ${importanceColor(`(importance: ${memory.importance}/10)`)}`);
|
|
216
|
+
console.log(colors.dim(` ${timeAgo}`));
|
|
217
|
+
console.log(` ${memory.description}`);
|
|
218
|
+
if (memory.metadata) {
|
|
219
|
+
const metadata = typeof memory.metadata === 'string' ? JSON.parse(memory.metadata) : memory.metadata;
|
|
220
|
+
if (metadata.codebasePath) {
|
|
221
|
+
console.log(colors.dim(` Codebase: ${metadata.codebasePath}`));
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
if (memories.length > limit) {
|
|
226
|
+
newline();
|
|
227
|
+
console.log(colors.dim(`... and ${memories.length - limit} more memories`));
|
|
228
|
+
console.log(colors.dim(`Use --limit <number> to see more`));
|
|
229
|
+
}
|
|
230
|
+
newline();
|
|
231
|
+
console.log(separator('─', 60));
|
|
232
|
+
console.log(colors.dim('💡 Tip: Use "codehere memory --search <term>" to search memories'));
|
|
233
|
+
console.log(colors.dim('🔒 Privacy: All memories stored locally, never transmitted'));
|
|
234
|
+
newline();
|
|
235
|
+
}
|
|
236
|
+
function getTimeAgo(date) {
|
|
237
|
+
const now = Date.now();
|
|
238
|
+
const then = date.getTime();
|
|
239
|
+
const diff = now - then;
|
|
240
|
+
const seconds = Math.floor(diff / 1000);
|
|
241
|
+
const minutes = Math.floor(seconds / 60);
|
|
242
|
+
const hours = Math.floor(minutes / 60);
|
|
243
|
+
const days = Math.floor(hours / 24);
|
|
244
|
+
if (days > 0)
|
|
245
|
+
return `${days} day${days > 1 ? 's' : ''} ago`;
|
|
246
|
+
if (hours > 0)
|
|
247
|
+
return `${hours} hour${hours > 1 ? 's' : ''} ago`;
|
|
248
|
+
if (minutes > 0)
|
|
249
|
+
return `${minutes} minute${minutes > 1 ? 's' : ''} ago`;
|
|
250
|
+
return 'just now';
|
|
251
|
+
}
|
|
252
|
+
//# sourceMappingURL=memory-command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-command.js","sourceRoot":"","sources":["../../../../src/presentation/cli/commands/memory-command.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,uDAAuD,CAAC;AAClF,OAAO,EACL,MAAM,EAEN,YAAY,EACZ,OAAO,EACP,SAAS,EAET,YAAY,EAEZ,OAAO,EACP,IAAI,GACL,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAC5F,OA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ACtF,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,SAAS,UAAU,CAAC,IAAU;IAC5B,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IACvB,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAC5B,MAAM,IAAI,GAAG,GAAG,GAAG,IAAI,CAAC;IAExB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACxC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;IACvC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,EAAE,CAAC,CAAC;IAEpC,IAAI,IAAI,GAAG,CAAC;QAAE,OAAO,GAAG,IAAI,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAC7D,IAAI,KAAK,GAAG,CAAC;QAAE,OAAO,GAAG,KAAK,QAAQ,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IACjE,IAAI,OAAO,GAAG,CAAC;QAAE,OAAO,GAAG,OAAO,UAAU,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IACzE,OAAO,UAAU,CAAC;AACpB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Models Command
|
|
3
|
+
* List, search, and get info about available AI models
|
|
4
|
+
*/
|
|
5
|
+
export interface ModelsCommandOptions {
|
|
6
|
+
list?: boolean;
|
|
7
|
+
search?: string;
|
|
8
|
+
info?: string;
|
|
9
|
+
provider?: string;
|
|
10
|
+
json?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function executeModelsCommand(options: ModelsCommandOptions): Promise<void>;
|
|
13
|
+
//# sourceMappingURL=models-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models-command.d.ts","sourceRoot":"","sources":["../../../../src/presentation/cli/commands/models-command.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2BvF"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Models Command
|
|
3
|
+
* List, search, and get info about available AI models
|
|
4
|
+
*/
|
|
5
|
+
import { DependencyContainer } from '../../../application/services/dependency-container.js';
|
|
6
|
+
import { createBanner, newline, isMinimalStyle } from '../../../ui.js';
|
|
7
|
+
import chalk from 'chalk';
|
|
8
|
+
export async function executeModelsCommand(options) {
|
|
9
|
+
const container = new DependencyContainer();
|
|
10
|
+
const registry = container.providerRegistry;
|
|
11
|
+
// Show header
|
|
12
|
+
if (!isMinimalStyle()) {
|
|
13
|
+
console.log(createBanner('AI Models', 'Available models across all providers'));
|
|
14
|
+
newline();
|
|
15
|
+
}
|
|
16
|
+
// List all models
|
|
17
|
+
if (options.list || (!options.search && !options.info)) {
|
|
18
|
+
await listModels(registry, options.provider, options.json);
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
// Search models
|
|
22
|
+
if (options.search) {
|
|
23
|
+
await searchModels(registry, options.search, options.provider, options.json);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
// Get model info
|
|
27
|
+
if (options.info) {
|
|
28
|
+
await getModelInfo(registry, options.info, options.provider, options.json);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
async function listModels(registry, providerFilter, jsonOutput) {
|
|
33
|
+
const allModels = [];
|
|
34
|
+
// Get models from all providers
|
|
35
|
+
const providers = providerFilter
|
|
36
|
+
? [registry.get(providerFilter)].filter(Boolean)
|
|
37
|
+
: Array.from(registry.getAll().values());
|
|
38
|
+
for (const provider of providers) {
|
|
39
|
+
try {
|
|
40
|
+
const models = await provider.getModels();
|
|
41
|
+
for (const model of models) {
|
|
42
|
+
const capabilities = [];
|
|
43
|
+
if (model.capabilities.chat)
|
|
44
|
+
capabilities.push('chat');
|
|
45
|
+
if (model.capabilities.streaming)
|
|
46
|
+
capabilities.push('streaming');
|
|
47
|
+
if (model.capabilities.embedding)
|
|
48
|
+
capabilities.push('embedding');
|
|
49
|
+
if (model.capabilities.rerank)
|
|
50
|
+
capabilities.push('rerank');
|
|
51
|
+
if (model.capabilities.toolCalling)
|
|
52
|
+
capabilities.push('tools');
|
|
53
|
+
allModels.push({
|
|
54
|
+
id: model.id,
|
|
55
|
+
name: model.name,
|
|
56
|
+
provider: provider.id,
|
|
57
|
+
contextWindow: model.contextWindow,
|
|
58
|
+
capabilities,
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch (error) {
|
|
63
|
+
// Skip providers that fail
|
|
64
|
+
if (!jsonOutput) {
|
|
65
|
+
console.warn(chalk.yellow(`⚠️ Failed to get models from ${provider.id}: ${error instanceof Error ? error.message : String(error)}`));
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
if (jsonOutput) {
|
|
70
|
+
console.log(JSON.stringify(allModels, null, 2));
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
// Group by provider
|
|
74
|
+
const byProvider = new Map();
|
|
75
|
+
for (const model of allModels) {
|
|
76
|
+
if (!byProvider.has(model.provider)) {
|
|
77
|
+
byProvider.set(model.provider, []);
|
|
78
|
+
}
|
|
79
|
+
byProvider.get(model.provider).push(model);
|
|
80
|
+
}
|
|
81
|
+
// Display
|
|
82
|
+
for (const [providerId, models] of byProvider.entries()) {
|
|
83
|
+
const provider = registry.get(providerId);
|
|
84
|
+
const providerName = provider?.name || providerId;
|
|
85
|
+
console.log(chalk.bold(`\n${providerName} (${models.length} models):`));
|
|
86
|
+
for (const model of models.slice(0, 20)) { // Limit to 20 per provider
|
|
87
|
+
const caps = model.capabilities.join(', ');
|
|
88
|
+
console.log(` ${chalk.cyan(model.id)} - ${model.name}`);
|
|
89
|
+
console.log(` Context: ${model.contextWindow.toLocaleString()} tokens | Capabilities: ${caps}`);
|
|
90
|
+
}
|
|
91
|
+
if (models.length > 20) {
|
|
92
|
+
console.log(chalk.dim(` ... and ${models.length - 20} more models`));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
console.log(chalk.dim(`\nTotal: ${allModels.length} models from ${byProvider.size} providers`));
|
|
96
|
+
console.log(chalk.dim('Use "codehere models search <query>" to search, or "codehere models info <model-id>" for details'));
|
|
97
|
+
}
|
|
98
|
+
async function searchModels(registry, query, providerFilter, jsonOutput) {
|
|
99
|
+
const allModels = [];
|
|
100
|
+
const providers = providerFilter
|
|
101
|
+
? [registry.get(providerFilter)].filter(Boolean)
|
|
102
|
+
: Array.from(registry.getAll().values());
|
|
103
|
+
for (const provider of providers) {
|
|
104
|
+
try {
|
|
105
|
+
const models = await provider.getModels();
|
|
106
|
+
for (const model of models) {
|
|
107
|
+
const searchText = `${model.id} ${model.name}`.toLowerCase();
|
|
108
|
+
if (searchText.includes(query.toLowerCase())) {
|
|
109
|
+
const capabilities = [];
|
|
110
|
+
if (model.capabilities.chat)
|
|
111
|
+
capabilities.push('chat');
|
|
112
|
+
if (model.capabilities.streaming)
|
|
113
|
+
capabilities.push('streaming');
|
|
114
|
+
if (model.capabilities.embedding)
|
|
115
|
+
capabilities.push('embedding');
|
|
116
|
+
if (model.capabilities.rerank)
|
|
117
|
+
capabilities.push('rerank');
|
|
118
|
+
if (model.capabilities.toolCalling)
|
|
119
|
+
capabilities.push('tools');
|
|
120
|
+
allModels.push({
|
|
121
|
+
id: model.id,
|
|
122
|
+
name: model.name,
|
|
123
|
+
provider: provider.id,
|
|
124
|
+
contextWindow: model.contextWindow,
|
|
125
|
+
capabilities,
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
catch (error) {
|
|
131
|
+
// Skip providers that fail
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
if (jsonOutput) {
|
|
135
|
+
console.log(JSON.stringify(allModels, null, 2));
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
if (allModels.length === 0) {
|
|
139
|
+
console.log(chalk.yellow(`No models found matching "${query}"`));
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
console.log(chalk.bold(`Found ${allModels.length} model(s) matching "${query}":\n`));
|
|
143
|
+
for (const model of allModels) {
|
|
144
|
+
const caps = model.capabilities.join(', ');
|
|
145
|
+
console.log(`${chalk.cyan(model.id)} - ${model.name}`);
|
|
146
|
+
console.log(` Provider: ${model.provider} | Context: ${model.contextWindow.toLocaleString()} tokens | Capabilities: ${caps}`);
|
|
147
|
+
console.log();
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
async function getModelInfo(registry, modelId, providerFilter, jsonOutput) {
|
|
151
|
+
const providers = providerFilter
|
|
152
|
+
? [registry.get(providerFilter)].filter(Boolean)
|
|
153
|
+
: Array.from(registry.getAll().values());
|
|
154
|
+
for (const provider of providers) {
|
|
155
|
+
try {
|
|
156
|
+
const models = await provider.getModels();
|
|
157
|
+
const model = models.find((m) => m.id === modelId || m.providerModelId === modelId);
|
|
158
|
+
if (model) {
|
|
159
|
+
if (jsonOutput) {
|
|
160
|
+
console.log(JSON.stringify({
|
|
161
|
+
id: model.id,
|
|
162
|
+
name: model.name,
|
|
163
|
+
provider: provider.id,
|
|
164
|
+
providerModelId: model.providerModelId,
|
|
165
|
+
contextWindow: model.contextWindow,
|
|
166
|
+
capabilities: model.capabilities,
|
|
167
|
+
}, null, 2));
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
console.log(chalk.bold(`\nModel: ${model.name}`));
|
|
171
|
+
console.log(` ID: ${chalk.cyan(model.id)}`);
|
|
172
|
+
console.log(` Provider: ${provider.name} (${provider.id})`);
|
|
173
|
+
console.log(` Provider Model ID: ${model.providerModelId}`);
|
|
174
|
+
console.log(` Context Window: ${model.contextWindow.toLocaleString()} tokens`);
|
|
175
|
+
console.log(` Capabilities:`);
|
|
176
|
+
console.log(` - Chat: ${model.capabilities.chat ? '✅' : '❌'}`);
|
|
177
|
+
console.log(` - Streaming: ${model.capabilities.streaming ? '✅' : '❌'}`);
|
|
178
|
+
console.log(` - Embedding: ${model.capabilities.embedding ? '✅' : '❌'}`);
|
|
179
|
+
console.log(` - Rerank: ${model.capabilities.rerank ? '✅' : '❌'}`);
|
|
180
|
+
console.log(` - Tool Calling: ${model.capabilities.toolCalling ? '✅' : '❌'}`);
|
|
181
|
+
}
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
catch (error) {
|
|
186
|
+
// Continue searching
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
if (!jsonOutput) {
|
|
190
|
+
console.log(chalk.red(`Model "${modelId}" not found`));
|
|
191
|
+
console.log(chalk.dim('Use "codehere models list" to see all available models'));
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
//# sourceMappingURL=models-command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models-command.js","sourceRoot":"","sources":["../../../../src/presentation/cli/commands/models-command.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,OAAO,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C,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;oBAC5E,OAAO,CAAC,GAAG,CAAC,iBAAiB,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;oBACtE,OAAO,CAAC,GAAG,CAAC,uBAAuB,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;gBACnF,CAAC;gBACD,OAAO;YACT,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,qBAAqB;QACvB,CAAC;IACH,CAAC;IAED,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,OAAO,aAAa,CAAC,CAAC,CAAC;QACvD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,wDAAwD,CAAC,CAAC,CAAC;IACnF,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrate-command.d.ts","sourceRoot":"","sources":["../../../../src/presentation/cli/commands/orchestrate-command.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"orchestrate-command.d.ts","sourceRoot":"","sources":["../../../../src/presentation/cli/commands/orchestrate-command.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyBH,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,WAAW,GAAG,cAAc,GAAG,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,GAChH,OAAO,CAAC,IAAI,CAAC,CAgVf"}
|