@mc1global/opencode-jarvis 0.12.0 → 0.13.1
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/.opencode/agents/_domain-agent-base.md +131 -0
- package/.opencode/agents/agent-integration.md +197 -0
- package/.opencode/agents/agent-invoker.md +90 -0
- package/.opencode/agents/ai-multimodal-integration-agent.md +421 -0
- package/.opencode/agents/beverage-domain-expert-agent.md +470 -0
- package/.opencode/agents/beverage-ocr-backend-agent.md +314 -0
- package/.opencode/agents/boilerplate-sync.md +92 -0
- package/.opencode/agents/code-management-agent-complex.md +104 -0
- package/.opencode/agents/code-management-agent-medium.md +102 -0
- package/.opencode/agents/code-management-agent-simple.md +86 -0
- package/.opencode/agents/code-reviewer.md +138 -0
- package/.opencode/agents/context-memory-domain-agent-complex.md +48 -0
- package/.opencode/agents/context-memory-domain-agent-medium.md +49 -0
- package/.opencode/agents/context-memory-domain-agent-simple.md +48 -0
- package/.opencode/agents/data-engineer.md +114 -0
- package/.opencode/agents/explore.md +123 -0
- package/.opencode/agents/jarvis-installer.md +123 -0
- package/.opencode/agents/jarvis.md +209 -0
- package/.opencode/agents/kanban-domain-agent-complex.md +113 -0
- package/.opencode/agents/kanban-domain-agent-medium.md +98 -0
- package/.opencode/agents/kanban-domain-agent-simple.md +94 -0
- package/.opencode/agents/mindfulness.md +112 -0
- package/.opencode/agents/mobile-tester.md +306 -0
- package/.opencode/agents/ollama-model-finder.md +119 -0
- package/.opencode/agents/plan.md +152 -0
- package/.opencode/agents/product-owner.md +113 -0
- package/.opencode/agents/rag-domain-agent-complex.md +48 -0
- package/.opencode/agents/rag-domain-agent-medium.md +49 -0
- package/.opencode/agents/rag-domain-agent-simple.md +48 -0
- package/.opencode/agents/script-developer-optimized.md +62 -0
- package/.opencode/agents/script-developer.md +57 -0
- package/.opencode/agents/scrum-master.md +60 -0
- package/.opencode/agents/solution-architect.md +45 -0
- package/.opencode/commands/azure-push-with-pr.md +158 -0
- package/.opencode/commands/devlog-current.md +63 -0
- package/.opencode/commands/devlog-end.md +84 -0
- package/.opencode/commands/devlog-help.md +79 -0
- package/.opencode/commands/devlog-list.md +63 -0
- package/.opencode/commands/devlog-start.md +64 -0
- package/.opencode/commands/devlog-update.md +66 -0
- package/.opencode/commands/domain-map.md +120 -0
- package/.opencode/commands/jarvis-config.md +52 -0
- package/.opencode/commands/jarvis-plan.md +53 -0
- package/.opencode/commands/reindex-rag.md +98 -0
- package/.opencode/commands/workflow-reinforcement.md +73 -0
- package/.opencode/devlogs/Backlog Audit & Cleanup/.current-devlog +1 -0
- package/.opencode/devlogs/Backlog Audit & Cleanup/2026-02-10-1054-neural-agents.md +30 -0
- package/.opencode/devlogs/BrainWaves-iPad-Support-continued/.current-devlog +0 -0
- package/.opencode/devlogs/BrainWaves-iPad-Support-continued/2026-02-09-1938-jarvis-opencode.md +34 -0
- package/.opencode/devlogs/EP-005 Sprint 6: SSE Streaming Implementation/.current-devlog +1 -0
- package/.opencode/devlogs/EP-005 Sprint 6: SSE Streaming Implementation/2026-02-09-2332-neural-agents.md +26 -0
- package/.opencode/devlogs/JARVIS/.current-devlog +0 -0
- package/.opencode/devlogs/JARVIS/2026-01-14-2315-agents-skills-review.md +270 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-0052-check-python-scripts-skills.md +25 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-1036-fix-canonical-paths-for-core-content.md +261 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-1103-review-rag-pipeline-and-commands.md +204 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-1133-review-command-intelligence.md +172 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-1251-review-command-intelligence-phase2.md +160 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-1302-review-duplicatas.md +106 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-1312-review-kanban-planning-pipeline.md +243 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-1439-review-code-intelligence-kanban.md +143 -0
- package/.opencode/devlogs/JARVIS/2026-01-15-1806-revire-rag-chunks-metadata.md +27 -0
- package/.opencode/devlogs/JARVIS/2026-01-16-1145-building-helpers-for-agents.md +393 -0
- package/.opencode/devlogs/JARVIS/2026-01-17-1656-JARVIS.md +142 -0
- package/.opencode/devlogs/JARVIS/2026-01-17-1814-JARVIS.md +173 -0
- package/.opencode/devlogs/brain_v1/.current-devlog +0 -0
- package/.opencode/devlogs/brain_v1/2026-01-18-1818-pattern-context-integration.md +526 -0
- package/.opencode/devlogs/dash-david/.current-devlog +1 -0
- package/.opencode/devlogs/dash-david/2026-01-26-1836-planning-azure-devops-automation.md +115 -0
- package/.opencode/devlogs/data-analysis/.current-devlog +1 -0
- package/.opencode/devlogs/data-analysis/2026-01-28-1700-ma-cpg-intelligence-analysis.md +132 -0
- package/.opencode/devlogs/ire-vision/.current-devlog +1 -0
- package/.opencode/devlogs/ire-vision/2026-01-25-2208-Integra/303/247/303/243o de DividerMergeService e UUID tracking do branch remoto.md" +26 -0
- package/.opencode/devlogs/jarvis-opencode/.current-devlog +0 -0
- package/.opencode/devlogs/jarvis-opencode/2026-02-03-1613-BrainWaves-iPad-Support.md +219 -0
- package/.opencode/devlogs/jarvis-opencode-plugin/.current-devlog +1 -0
- package/.opencode/devlogs/jarvis-opencode-plugin/2026-02-13-2330-Jarvis Framework to OpenCode Plugin Migration.md +321 -0
- package/.opencode/devlogs/menu-ocr/.current-devlog +1 -0
- package/.opencode/devlogs/menu-ocr/2026-01-31-0227-full-front-end-web-development.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-01-31-1601-phase-4-rest-apis.md +279 -0
- package/.opencode/devlogs/menu-ocr/2026-01-31-1701-phase-5-api-key-auth.md +186 -0
- package/.opencode/devlogs/menu-ocr/2026-01-31-2027-phase-6-next-steps.md +26 -0
- package/.opencode/devlogs/menu-ocr/2026-02-01-2228-phase-3-operations-audit-cli-notifications.md +208 -0
- package/.opencode/devlogs/menu-ocr/2026-02-02-1050-dev-environment-setup.md +90 -0
- package/.opencode/devlogs/menu-ocr/2026-02-02-1659-client-portal-refinements.md +134 -0
- package/.opencode/devlogs/menu-ocr/2026-02-03-1820-ep006-sprint2-admin-ui.md +165 -0
- package/.opencode/devlogs/menu-ocr/2026-02-03-2214-EP-006 Sprint 3 - Testing and Integration.md +87 -0
- package/.opencode/devlogs/menu-ocr/2026-02-03-2244-EP-007 Client Portal Analytics - AI-Powered Geomarketing Insights.md +84 -0
- package/.opencode/devlogs/menu-ocr/2026-02-03-2300-EP-008 Batch Image Processing with Resumable Upload.md +133 -0
- package/.opencode/devlogs/menu-ocr/2026-02-04-1249-GCP Deployment Automation.md +75 -0
- package/.opencode/devlogs/menu-ocr/2026-02-05-1535-Client Portal API Keys Management - Provider Plans.md +552 -0
- package/.opencode/devlogs/menu-ocr/2026-02-07-2044-Prompt Templates - Seed Data and Provider Model Selection.md +451 -0
- package/.opencode/devlogs/menu-ocr/2026-02-09-1853-secure-auth-architecture.md +167 -0
- package/.opencode/devlogs/menu-ocr/2026-02-11-1952-pipeline-config-consistency.md +89 -0
- package/.opencode/devlogs/menu-ocr/2026-02-13-2237-cd-258-fix-autocuration-entity-creation.md +42 -0
- package/.opencode/devlogs/menu-ocr/2026-02-13-2340-ep016-s1-foundation.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-14-1858-pipeline-activation-usermenu-fix.md +38 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-0240-ep017-cd303-types.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-0242-ep017-cd304-resolution-builder.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-0245-ep017-cd305-perplexity-client.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-0253-ep017-cd306-initializer.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-0256-ep017-cd307-resolution-applier.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-0257-ep017-cd308-facade.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-0310-ep017-cd309-verify-commit.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-0315-ep018-knowledgebase-decomposition.md +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1020-sp024-tech-debt-600-guardrail.md +38 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1023-ep019-referencedata-decomposition.md +42 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1705-SP-025 EP-018: Decompose 12 domain files >600 lines.md +46 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1746-Vault Documentation Update.md +38 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1754-Vault Restructure - Team-Oriented Documentation.md +38 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1759-Backend Module Guide v2 - Environments and Embeddings.md +38 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1835-Security hardening follow-up: cloudbuild.yaml fixes, Secrets Inventory update, production deploy prep.md +38 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1902-Security hardening session 2: localhost fallbacks, admin-seed cleanup, cloudbuild fix.md +46 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-1959-EP-023: Session Management /342/200/224 CD-359 backend 401 differentiation + CD-355 admin portal token refresh.md" +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-2113-EP-024: Unified Admin Auth /342/200/224 Route shadowing fix, Google OAuth button, token refresh consolidation.md" +34 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-2241-EP-021: Tenant Business Profile & Category Management /342/200/224 Client Portal Implementation.md" +162 -0
- package/.opencode/devlogs/menu-ocr/2026-02-15-2254-EP-021: Editable Onboarding Wizard /342/200/224 CategoryDraftEditor component, template preview endpoint, rewrite Step 2 from read-only to inline-editable draft.md" +34 -0
- package/.opencode/devlogs/neural-agents/.current-devlog +1 -0
- package/.opencode/devlogs/neural-agents/2026-01-17-1851-revisar-itera/303/247/303/243o-autom/303/241tica-entre-agentes.md +3309 -0
- package/.opencode/devlogs/neural-agents/2026-01-31-1756-a2a-protocol-review.md +367 -0
- package/.opencode/devlogs/neural-agents/2026-01-31-1805-a2a-security-hardening-implementation.md +494 -0
- package/.opencode/devlogs/neural-agents/2026-01-31-2034-sprint-2-observability-reliability-implementation.md +114 -0
- package/.opencode/devlogs/neural-agents/2026-01-31-2042-sprint-2-validation-final-summary.md +101 -0
- package/.opencode/devlogs/neural-agents/2026-01-31-2045-sprint-3-neural-feedback-loop-implementation.md +96 -0
- package/.opencode/devlogs/neural-agents/2026-01-31-2053-neural-intelligence-adaptive-evolution-jarvis-methodology.md +257 -0
- package/.opencode/devlogs/neural-agents/2026-01-31-2106-neural-intelligence-system-implementation.md +72 -0
- package/.opencode/devlogs/neural-agents/2026-02-09-1614-neural-feedback-loop-cd044.md +99 -0
- package/.opencode/devlogs/neural-agents/2026-02-09-2036-EP-004-grooming.md +103 -0
- package/.opencode/devlogs/neural-agents/2026-02-10-1530-EP-012 Neural Tables UI + EP-007 agent_worker Refactoring.md +124 -0
- package/.opencode/package-lock.json +82 -0
- package/.opencode/settings.json +765 -0
- package/.opencode/settings.local.json +64 -0
- package/.opencode/skills/bash-optimizer/EXAMPLES.md +138 -0
- package/.opencode/skills/bash-optimizer/REFERENCE.md +288 -0
- package/.opencode/skills/bash-optimizer/SKILL.md +27 -0
- package/.opencode/skills/bash-optimizer/TROUBLESHOOTING.md +156 -0
- package/.opencode/skills/code-block-manager/EXAMPLES.md +223 -0
- package/.opencode/skills/code-block-manager/REFERENCE.md +321 -0
- package/.opencode/skills/code-block-manager/SKILL.md +46 -0
- package/.opencode/skills/code-block-manager/TROUBLESHOOTING.md +340 -0
- package/.opencode/skills/code-intelligence/EXAMPLES.md +250 -0
- package/.opencode/skills/code-intelligence/REFERENCE.md +177 -0
- package/.opencode/skills/code-intelligence/SKILL.md +25 -0
- package/.opencode/skills/code-validator/SKILL.md +26 -0
- package/.opencode/skills/command-intelligence/SKILL.md +159 -0
- package/.opencode/skills/component-generator/SKILL.md +26 -0
- package/.opencode/skills/config-manager/SKILL.md +27 -0
- package/.opencode/skills/config-manager/examples.md +457 -0
- package/.opencode/skills/config-manager/reference.md +416 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_base.cpython-311.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_base.cpython-313.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_cli.cpython-311.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_cli.cpython-313.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_manager.cpython-311.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_manager.cpython-313.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_operations.cpython-311.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_operations.cpython-313.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_validator.cpython-311.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/__pycache__/config_validator.cpython-313.pyc +0 -0
- package/.opencode/skills/config-manager/scripts/config_base.py +189 -0
- package/.opencode/skills/config-manager/scripts/config_cli.py +230 -0
- package/.opencode/skills/config-manager/scripts/config_manager.py +76 -0
- package/.opencode/skills/config-manager/scripts/config_manager_v2.py +390 -0
- package/.opencode/skills/config-manager/scripts/config_operations.py +476 -0
- package/.opencode/skills/config-manager/scripts/config_validator.py +280 -0
- package/.opencode/skills/context-memory-guide/EXAMPLES.md +5 -0
- package/.opencode/skills/context-memory-guide/REFERENCE.md +5 -0
- package/.opencode/skills/context-memory-guide/SKILL.md +28 -0
- package/.opencode/skills/csv-manager/EXAMPLES.md +84 -0
- package/.opencode/skills/csv-manager/SKILL.md +29 -0
- package/.opencode/skills/data-validator/SKILL.md +27 -0
- package/.opencode/skills/data-validator/scripts/__pycache__/data_validator.cpython-313.pyc +0 -0
- package/.opencode/skills/data-validator/scripts/data_validator.py +254 -0
- package/.opencode/skills/doc-generator/EXAMPLES.md +33 -0
- package/.opencode/skills/doc-generator/REFERENCE.md +37 -0
- package/.opencode/skills/doc-generator/SKILL.md +26 -0
- package/.opencode/skills/doc-generator/TROUBLESHOOTING.md +26 -0
- package/.opencode/skills/e2e-tester.md +206 -0
- package/.opencode/skills/env-manager/README.md +246 -0
- package/.opencode/skills/env-manager/SKILL.md +26 -0
- package/.opencode/skills/env-manager/examples.md +584 -0
- package/.opencode/skills/env-manager/reference.md +717 -0
- package/.opencode/skills/file-manager/SKILL.md +28 -0
- package/.opencode/skills/git-repo-manager/EXAMPLES.md +5 -0
- package/.opencode/skills/git-repo-manager/REFERENCE.md +5 -0
- package/.opencode/skills/git-repo-manager/SKILL.md +32 -0
- package/.opencode/skills/jarvis-config/REFERENCE.md +116 -0
- package/.opencode/skills/jarvis-config/SKILL.md +78 -0
- package/.opencode/skills/jarvis-helper/INTEGRATION_VERIFICATION.md +508 -0
- package/.opencode/skills/jarvis-helper/ORACLE_AGENT_INTEGRATION.md +573 -0
- package/.opencode/skills/jarvis-helper/REFERENCE.md +380 -0
- package/.opencode/skills/jarvis-helper/SKILL.md +549 -0
- package/.opencode/skills/jarvis-helper/scripts/__pycache__/oracle_helper.cpython-311.pyc +0 -0
- package/.opencode/skills/jarvis-helper/scripts/__pycache__/oracle_helper.cpython-313.pyc +0 -0
- package/.opencode/skills/jarvis-helper/scripts/__pycache__/oracle_rag_integration.cpython-311.pyc +0 -0
- package/.opencode/skills/jarvis-helper/scripts/__pycache__/oracle_rag_integration.cpython-313.pyc +0 -0
- package/.opencode/skills/jarvis-helper/scripts/oracle_helper.py +639 -0
- package/.opencode/skills/jarvis-helper/scripts/oracle_rag_integration.py +511 -0
- package/.opencode/skills/json-manager/EXAMPLES.md +366 -0
- package/.opencode/skills/json-manager/REFERENCE_JQ.md +3 -0
- package/.opencode/skills/json-manager/SKILL.md +30 -0
- package/.opencode/skills/llm-manager/SKILL.md +28 -0
- package/.opencode/skills/lsp-navigator/EXAMPLES.md +204 -0
- package/.opencode/skills/lsp-navigator/REFERENCE.md +177 -0
- package/.opencode/skills/lsp-navigator/SKILL.md +58 -0
- package/.opencode/skills/markdown-manager/EXAMPLES.md +235 -0
- package/.opencode/skills/markdown-manager/REFERENCE.md +82 -0
- package/.opencode/skills/markdown-manager/SKILL.md +28 -0
- package/.opencode/skills/migration-manager/EXAMPLES.md +5 -0
- package/.opencode/skills/migration-manager/REFERENCE.md +5 -0
- package/.opencode/skills/migration-manager/SKILL.md +28 -0
- package/.opencode/skills/migration-manager/scripts/__pycache__/migration_manager.cpython-313.pyc +0 -0
- package/.opencode/skills/migration-manager/scripts/migration_manager.py +432 -0
- package/.opencode/skills/model-router/EXAMPLES.md +5 -0
- package/.opencode/skills/model-router/REFERENCE.md +5 -0
- package/.opencode/skills/model-router/SKILL.md +27 -0
- package/.opencode/skills/model-router/routing_config.json +144 -0
- package/.opencode/skills/perplexity-research/REFERENCE.md +236 -0
- package/.opencode/skills/perplexity-research/skill.md +27 -0
- package/.opencode/skills/policy-manager/EXAMPLES.md +332 -0
- package/.opencode/skills/policy-manager/README.md +75 -0
- package/.opencode/skills/policy-manager/REFERENCE.md +510 -0
- package/.opencode/skills/policy-manager/SKILL.md +26 -0
- package/.opencode/skills/policy-manager/TROUBLESHOOTING.md +566 -0
- package/.opencode/skills/process-manager/EXAMPLES.md +318 -0
- package/.opencode/skills/process-manager/REFERENCE.md +237 -0
- package/.opencode/skills/process-manager/SKILL.md +28 -0
- package/.opencode/skills/reporting-framework/EXAMPLES.md +507 -0
- package/.opencode/skills/reporting-framework/REFERENCE.md +303 -0
- package/.opencode/skills/reporting-framework/SKILL.md +26 -0
- package/.opencode/skills/safe-script-development/EXAMPLES.md +268 -0
- package/.opencode/skills/safe-script-development/REFERENCE.md +273 -0
- package/.opencode/skills/safe-script-development/SKILL.md +28 -0
- package/.opencode/skills/schema-mapper/SKILL.md +27 -0
- package/.opencode/skills/schema-mapper/examples.md +574 -0
- package/.opencode/skills/schema-mapper/reference.md +494 -0
- package/.opencode/skills/schema-mapper/scripts/__pycache__/schema_mapper.cpython-313.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__init__.py +25 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/__init__.cpython-311.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/__init__.cpython-313.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/cli.cpython-311.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/cli.cpython-313.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/introspector.cpython-311.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/introspector.cpython-313.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/models.cpython-311.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/models.cpython-313.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/serializers.cpython-311.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/serializers.cpython-313.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/validator.cpython-311.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/__pycache__/validator.cpython-313.pyc +0 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/cli.py +179 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/introspector.py +151 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/models.py +48 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/serializers.py +139 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper/validator.py +64 -0
- package/.opencode/skills/schema-mapper/scripts/schema_mapper.py +17 -0
- package/.opencode/skills/session-startup/EXAMPLES.md +0 -0
- package/.opencode/skills/session-startup/REFERENCE.md +5 -0
- package/.opencode/skills/session-startup/SKILL.md +45 -0
- package/.opencode/skills/snapshot-manager/QUICK_REFERENCE.md +147 -0
- package/.opencode/skills/snapshot-manager/SKILL.md +27 -0
- package/.opencode/skills/snapshot-manager/__pycache__/agent_integration.cpython-313.pyc +0 -0
- package/.opencode/skills/snapshot-manager/agent_integration.py +269 -0
- package/.opencode/skills/snapshot-manager/metadata.json +83 -0
- package/.opencode/skills/task-complexity-analyzer/SKILL.md +27 -0
- package/.opencode/skills/toon-manager/EXAMPLES.md +175 -0
- package/.opencode/skills/toon-manager/REFERENCE.md +171 -0
- package/.opencode/skills/toon-manager/SKILL.md +27 -0
- package/.opencode/skills/user-story-chat/EXAMPLES.md +54 -0
- package/.opencode/skills/user-story-chat/REFERENCE.md +58 -0
- package/.opencode/skills/user-story-chat/SKILL.md +25 -0
- package/.opencode/skills/user-story-chat/TROUBLESHOOTING.md +71 -0
- package/.opencode/skills/user-story-dev/EXAMPLES.md +5 -0
- package/.opencode/skills/user-story-dev/REFERENCE.md +5 -0
- package/.opencode/skills/user-story-dev/SKILL.md +27 -0
- package/.opencode/skills/user-story-manager/EXAMPLES.md +219 -0
- package/.opencode/skills/user-story-manager/REFERENCE.md +192 -0
- package/.opencode/skills/user-story-manager/SKILL.md +27 -0
- package/.opencode/skills/workspace-agents-mcp/SKILL.md +26 -0
- package/.opencode/skills/workspace-manager/SKILL.md +27 -0
- package/.opencode/skills/yaml-manager/IMPLEMENTATION_SUMMARY.md +478 -0
- package/.opencode/skills/yaml-manager/QUICK_REFERENCE.md +319 -0
- package/.opencode/skills/yaml-manager/README.md +274 -0
- package/.opencode/skills/yaml-manager/SKILL.md +28 -0
- package/.opencode/skills/yaml-manager/examples/basic_usage.md +452 -0
- package/.opencode/skills/yaml-manager/templates/telegram_bot.yaml +62 -0
- package/.opencode/skills/yaml-manager/templates/trading_strategy.yaml +75 -0
- package/.opencode/skills/yaml-manager/templates/workspace_metadata.yaml +64 -0
- package/.opencode/tools/DOMAIN_MAP_TOOLS.md +331 -0
- package/.opencode/tools/README.md +179 -0
- package/.opencode/tools/USER_STORY_MANAGER_IMPLEMENTATION.md +318 -0
- package/.opencode/tools/cardboard-setup.ts +423 -0
- package/.opencode/tools/code-block-extract.ts +33 -0
- package/.opencode/tools/code-block-update.ts +23 -0
- package/.opencode/tools/code-get-class.ts +25 -0
- package/.opencode/tools/code-get-function.ts +27 -0
- package/.opencode/tools/code-get-imports.ts +24 -0
- package/.opencode/tools/code-list-classes.ts +26 -0
- package/.opencode/tools/code-list-functions.ts +27 -0
- package/.opencode/tools/code-update-function.ts +29 -0
- package/.opencode/tools/context-note-add.ts +24 -0
- package/.opencode/tools/context-search.ts +25 -0
- package/.opencode/tools/csv-manager.ts +36 -0
- package/.opencode/tools/devlog-manager.ts +45 -0
- package/.opencode/tools/domain-map-analyze.ts +249 -0
- package/.opencode/tools/domain-map-compare.ts +228 -0
- package/.opencode/tools/domain-map-generate.ts +156 -0
- package/.opencode/tools/domain-map-index.ts +31 -0
- package/.opencode/tools/domain-map-update.ts +129 -0
- package/.opencode/tools/file-manager.ts +36 -0
- package/.opencode/tools/git-repo-manager.ts +43 -0
- package/.opencode/tools/json-manager.ts +41 -0
- package/.opencode/tools/kanban-card-create.ts +21 -0
- package/.opencode/tools/kanban-card-get.ts +19 -0
- package/.opencode/tools/kanban-card-list.ts +26 -0
- package/.opencode/tools/kanban-card-move.ts +25 -0
- package/.opencode/tools/lsp-navigator.ts +42 -0
- package/.opencode/tools/markdown-add.ts +30 -0
- package/.opencode/tools/markdown-get.ts +24 -0
- package/.opencode/tools/markdown-list.ts +23 -0
- package/.opencode/tools/markdown-manager.ts +42 -0
- package/.opencode/tools/markdown-meta.ts +21 -0
- package/.opencode/tools/markdown-navigate.ts +26 -0
- package/.opencode/tools/markdown-search.ts +24 -0
- package/.opencode/tools/markdown-set.ts +25 -0
- package/.opencode/tools/markdown-validate.ts +21 -0
- package/.opencode/tools/milestone-create.ts +30 -0
- package/.opencode/tools/obsidian-setup.ts +18 -0
- package/.opencode/tools/obsidian-sync.ts +310 -0
- package/.opencode/tools/oracle-query.ts +29 -0
- package/.opencode/tools/package-lock.json +119 -0
- package/.opencode/tools/rag-delete.ts +29 -0
- package/.opencode/tools/rag-detect-project.ts +29 -0
- package/.opencode/tools/rag-index.ts +45 -0
- package/.opencode/tools/rag-search.ts +35 -0
- package/.opencode/tools/rag-smart-index.ts +37 -0
- package/.opencode/tools/rag-snippet.ts +35 -0
- package/.opencode/tools/rag-status.ts +28 -0
- package/.opencode/tools/rag-update.ts +29 -0
- package/.opencode/tools/release-create.ts +37 -0
- package/.opencode/tools/release-list.ts +27 -0
- package/.opencode/tools/roadmap-create.ts +32 -0
- package/.opencode/tools/roadmap-list.ts +23 -0
- package/.opencode/tools/roadmap-status.ts +18 -0
- package/.opencode/tools/session-start.ts +20 -0
- package/.opencode/tools/src/application/user-stories/dtos.ts +100 -0
- package/.opencode/tools/src/application/user-stories/feature-use-cases.ts +181 -0
- package/.opencode/tools/src/application/user-stories/story-use-cases.ts +254 -0
- package/.opencode/tools/src/application/user-stories/use-cases.ts +212 -0
- package/.opencode/tools/src/domain/code-management/README.md +259 -0
- package/.opencode/tools/src/domain/code-management/entities.ts +516 -0
- package/.opencode/tools/src/domain/code-management/index.ts +283 -0
- package/.opencode/tools/src/domain/code-management/repositories.ts +454 -0
- package/.opencode/tools/src/domain/code-management/services.ts +545 -0
- package/.opencode/tools/src/domain/code-management/value-objects.ts +595 -0
- package/.opencode/tools/src/domain/user-stories/entities.ts +403 -0
- package/.opencode/tools/src/domain/user-stories/services.ts +408 -0
- package/.opencode/tools/src/domain/user-stories/value-objects.ts +391 -0
- package/.opencode/tools/src/index.ts +101 -0
- package/.opencode/tools/src/infrastructure/user-stories/mock-repositories.ts +427 -0
- package/.opencode/tools/src/infrastructure/user-stories/repositories.ts +56 -0
- package/.opencode/tools/todo-manager.ts +42 -0
- package/.opencode/tools/tsconfig.json +21 -0
- package/.opencode/tools/user-story-manager.ts +578 -0
- package/.opencode/tools/user-story-manager.ts-backup +536 -0
- package/.opencode/tools/workspace-create.ts +43 -0
- package/.opencode/tools/workspace-list.ts +19 -0
- package/.opencode/tools/workspace-manager.ts +165 -0
- package/.opencode/tools/yaml-add.ts +20 -0
- package/.opencode/tools/yaml-delete.ts +19 -0
- package/.opencode/tools/yaml-get.ts +19 -0
- package/.opencode/tools/yaml-list.ts +18 -0
- package/.opencode/tools/yaml-manager.ts +41 -0
- package/.opencode/tools/yaml-search.ts +19 -0
- package/.opencode/tools/yaml-set.ts +20 -0
- package/.opencode/tools/yaml-validate.ts +18 -0
- package/.opencode/tsconfig.json +48 -0
- package/LICENSE +123 -7
- package/OPENCODE.md +61 -0
- package/README.md +359 -399
- package/config/.yaml_backups/llm_prompts_20251125_124831.yaml +215 -0
- package/config/.yaml_backups/llm_prompts_20251125_124848.yaml +216 -0
- package/config/.yaml_backups/llm_prompts_20251125_133953.yaml +226 -0
- package/config/.yaml_backups/rag_20251125_122310.yaml +307 -0
- package/config/.yaml_backups/rag_20260109_121038.yaml +323 -0
- package/config/.yaml_backups/rag_20260110_182224.yaml +323 -0
- package/config/.yaml_backups/rag_20260110_182225.yaml +323 -0
- package/config/.yaml_backups/rag_20260110_183528.yaml +323 -0
- package/config/.yaml_backups/rag_20260115_230621.yaml +384 -0
- package/config/.yaml_backups/user_story_chat_20251125_011132.yaml +16 -0
- package/config/.yaml_backups/user_story_chat_20251125_011138.yaml +19 -0
- package/config/.yaml_backups/user_story_chat_20251125_011145.yaml +19 -0
- package/config/.yaml_backups/workspace_paths_20260112_022108.yaml +22 -0
- package/config/.yaml_backups/workspace_paths_20260112_022115.yaml +22 -0
- package/config/.yaml_backups/workspace_paths_20260112_022116.yaml +23 -0
- package/config/.yaml_backups/workspace_paths_20260114_001440.yaml +22 -0
- package/config/.yaml_backups/workspace_paths_20260114_204748.yaml +23 -0
- package/config/.yaml_backups/workspace_paths_20260121_162935.yaml +66 -0
- package/config/.yaml_backups/workspace_paths_20260121_162948.yaml +71 -0
- package/config/.yaml_backups/workspace_paths_20260123_155242.yaml +78 -0
- package/config/.yaml_backups/workspace_paths_20260201_152120.yaml +33 -0
- package/config/.yaml_backups/workspace_paths_20260201_180540.yaml +39 -0
- package/config/agents.default.yaml +151 -0
- package/config/command_intelligence/datasets/combined.jsonl +8367 -0
- package/config/command_intelligence/datasets/combined_enriched.jsonl +3144 -0
- package/config/command_intelligence/datasets/command.jsonl +157 -0
- package/config/command_intelligence/datasets/command_enriched.jsonl +307 -0
- package/config/command_intelligence/datasets/discovery.jsonl +3850 -0
- package/config/command_intelligence/datasets/discovery_enriched.jsonl +983 -0
- package/config/command_intelligence/datasets/example.jsonl +3190 -0
- package/config/command_intelligence/datasets/example_enriched.jsonl +931 -0
- package/config/command_intelligence/datasets/explanation.jsonl +1170 -0
- package/config/command_intelligence/datasets/explanation_enriched.jsonl +923 -0
- package/config/command_intelligence/models/Modelfile +34 -0
- package/config/command_intelligence.yaml +779 -0
- package/config/config.yaml +66 -0
- package/config/dacl_permissions.yaml +159 -0
- package/config/domain_mapper.yaml +106 -0
- package/config/file_types.yaml +253 -0
- package/config/jarvis.yaml +45 -0
- package/config/language_parsers.yaml +123 -0
- package/config/languages/cpp.yaml +53 -0
- package/config/languages/csharp_linux.yaml +51 -0
- package/config/languages/csharp_windows.yaml +48 -0
- package/config/languages/golang.yaml +88 -0
- package/config/languages/javascript.yaml +92 -0
- package/config/languages/kotlin_macos.yaml +50 -0
- package/config/languages/kotlin_windows.yaml +49 -0
- package/config/languages/pinescript.yaml +134 -0
- package/config/languages/python.yaml +70 -0
- package/config/languages/swift.yaml +58 -0
- package/config/languages/swiftui.yaml +51 -0
- package/config/llm_prompts.yaml +238 -0
- package/config/lsp_config.yaml +98 -0
- package/config/parameters.yaml +234 -0
- package/config/policies.yaml +212 -0
- package/config/rag.yaml +499 -0
- package/config/rag_external_sources.yaml +57 -0
- package/config/rag_ignore_templates.yaml +90 -0
- package/config/rag_templates/README.md +207 -0
- package/config/rag_templates/android.yaml +66 -0
- package/config/rag_templates/dotnet.yaml +130 -0
- package/config/rag_templates/go.yaml +51 -0
- package/config/rag_templates/java.yaml +89 -0
- package/config/rag_templates/nodejs.yaml +96 -0
- package/config/rag_templates/php.yaml +68 -0
- package/config/rag_templates/python.yaml +102 -0
- package/config/rag_templates/ruby.yaml +69 -0
- package/config/rag_templates/rust.yaml +35 -0
- package/config/rag_templates/xcode.yaml +89 -0
- package/config/templates/external_project_workspace.yaml +101 -0
- package/config/user_story_chat.yaml +13 -0
- package/config/user_story_schema.yaml +171 -0
- package/config/workspace_paths.yaml +33 -0
- package/package.json +34 -54
- package/pyproject.toml +57 -0
- package/requirements.txt +139 -0
- package/scripts/README.md +160 -0
- package/scripts/__pycache__/agent_invoker.cpython-311.pyc +0 -0
- package/scripts/__pycache__/audit_orphan_analysis.cpython-311.pyc +0 -0
- package/scripts/__pycache__/audit_orphan_files.cpython-311.pyc +0 -0
- package/scripts/__pycache__/change_detector.cpython-311.pyc +0 -0
- package/scripts/__pycache__/cli_executor.cpython-311.pyc +0 -0
- package/scripts/__pycache__/code_block_manager.cpython-311.pyc +0 -0
- package/scripts/__pycache__/code_block_manager.cpython-313.pyc +0 -0
- package/scripts/__pycache__/context_active_context.cpython-311.pyc +0 -0
- package/scripts/__pycache__/context_memory_cli.cpython-311.pyc +0 -0
- package/scripts/__pycache__/context_memory_cli.cpython-313.pyc +0 -0
- package/scripts/__pycache__/cross_workspace_orchestrator.cpython-311.pyc +0 -0
- package/scripts/__pycache__/doc_generator.cpython-311.pyc +0 -0
- package/scripts/__pycache__/epic_completion_checker.cpython-311.pyc +0 -0
- package/scripts/__pycache__/error_router.cpython-311.pyc +0 -0
- package/scripts/__pycache__/file_manager.cpython-311.pyc +0 -0
- package/scripts/__pycache__/file_manager.cpython-313.pyc +0 -0
- package/scripts/__pycache__/git_repo_manager.cpython-311.pyc +0 -0
- package/scripts/__pycache__/impact_analyzer.cpython-311.pyc +0 -0
- package/scripts/__pycache__/kanban_manager.cpython-311.pyc +0 -0
- package/scripts/__pycache__/kanban_manager.cpython-312.pyc +0 -0
- package/scripts/__pycache__/kanban_manager.cpython-313.pyc +0 -0
- package/scripts/__pycache__/lsp_navigator.cpython-311.pyc +0 -0
- package/scripts/__pycache__/lsp_navigator.cpython-313.pyc +0 -0
- package/scripts/__pycache__/scrum_master.cpython-313.pyc +0 -0
- package/scripts/__pycache__/session_auto_setup.cpython-311.pyc +0 -0
- package/scripts/__pycache__/user_story_chat.cpython-311.pyc +0 -0
- package/scripts/__pycache__/user_story_manager.cpython-311.pyc +0 -0
- package/scripts/__pycache__/workspace_dependency_manager.cpython-311.pyc +0 -0
- package/scripts/__pycache__/workspace_detector.cpython-311.pyc +0 -0
- package/scripts/__pycache__/workspace_manager.cpython-311.pyc +0 -0
- package/scripts/_help/.!13625!git_repo_manager.yaml +31 -0
- package/scripts/_help/code_block_manager.yaml +82 -0
- package/scripts/_help/context_memory_cli.yaml +172 -0
- package/scripts/_help/doc_generator.yaml +49 -0
- package/scripts/_help/file_manager.yaml +42 -0
- package/scripts/_help/git_repo_manager.yaml +214 -0
- package/scripts/_help/index_external_sources.yaml +71 -0
- package/scripts/_help/user_story_chat.yaml +13 -0
- package/scripts/_temp/__pycache__/check_rag_metadata.cpython-311.pyc +0 -0
- package/scripts/_temp/check_rag_metadata.py +55 -0
- package/scripts/admin/__pycache__/dacl_admin.cpython-313.pyc +0 -0
- package/scripts/admin/code_review_cli.py +401 -0
- package/scripts/admin/dacl_admin.py +350 -0
- package/scripts/admin/dacl_dashboard.py +462 -0
- package/scripts/agent_invoker.py +192 -0
- package/scripts/artifact_manager.py +270 -0
- package/scripts/audit_orphan_analysis.py +278 -0
- package/scripts/audit_orphan_files.py +276 -0
- package/scripts/azure_pr_workflow.sh +134 -0
- package/scripts/change_detector.py +341 -0
- package/scripts/cleanup_orphans_safe.sh +183 -0
- package/scripts/cli/__init__.py +13 -0
- package/scripts/cli/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/cli/__pycache__/context_memory_base.cpython-311.pyc +0 -0
- package/scripts/cli/__pycache__/database_cli.cpython-311.pyc +0 -0
- package/scripts/cli/__pycache__/message_cli.cpython-311.pyc +0 -0
- package/scripts/cli/__pycache__/search_cli.cpython-311.pyc +0 -0
- package/scripts/cli/__pycache__/session_cli.cpython-311.pyc +0 -0
- package/scripts/cli/__pycache__/todo_cli.cpython-311.pyc +0 -0
- package/scripts/cli/context_memory_base.py +112 -0
- package/scripts/cli/database_cli.py +224 -0
- package/scripts/cli/message_cli.py +153 -0
- package/scripts/cli/search_cli.py +300 -0
- package/scripts/cli/session_cli.py +379 -0
- package/scripts/cli/todo_cli.py +226 -0
- package/scripts/cli_executor.py +457 -0
- package/scripts/code_block_manager.py +847 -0
- package/scripts/code_management/__init__.py +21 -0
- package/scripts/code_management/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/code_management/__pycache__/ast_parser.cpython-311.pyc +0 -0
- package/scripts/code_management/__pycache__/code_block_base.cpython-311.pyc +0 -0
- package/scripts/code_management/__pycache__/code_block_cli.cpython-311.pyc +0 -0
- package/scripts/code_management/__pycache__/code_block_manager.cpython-311.pyc +0 -0
- package/scripts/code_management/__pycache__/lsp_integration.cpython-311.pyc +0 -0
- package/scripts/code_management/__pycache__/ollama_parser.cpython-311.pyc +0 -0
- package/scripts/code_management/__pycache__/rag_sync.cpython-311.pyc +0 -0
- package/scripts/code_management/ast_parser.py +337 -0
- package/scripts/code_management/code_block_base.py +87 -0
- package/scripts/code_management/code_block_cli.py +205 -0
- package/scripts/code_management/code_block_manager.py +319 -0
- package/scripts/code_management/lsp_integration.py +268 -0
- package/scripts/code_management/ollama_parser.py +289 -0
- package/scripts/code_management/rag_sync.py +126 -0
- package/scripts/command_discovery.py +143 -0
- package/scripts/context_active_context.py +338 -0
- package/scripts/context_memory_cli.py +1093 -0
- package/scripts/convert_cards_to_tasks.py +85 -0
- package/scripts/cross_workspace_orchestrator.py +343 -0
- package/scripts/devlog_manager.py +320 -0
- package/scripts/doc_generator.py +357 -0
- package/scripts/domain_mapping_monitor.py +180 -0
- package/scripts/e2e_tester/e2e_cli.py +306 -0
- package/scripts/e2e_tester/e2e_runner.js +715 -0
- package/scripts/e2e_tester/neural-network-demo.js +235 -0
- package/scripts/e2e_tester/neural-network-test.js +241 -0
- package/scripts/e2e_tester/package-lock.json +1202 -0
- package/scripts/e2e_tester/package.json +17 -0
- package/scripts/e2e_tester/tests/menu-ocr-admin-portal.json +379 -0
- package/scripts/e2e_tester/tests/menu-ocr-credits.json +265 -0
- package/scripts/e2e_tester/tests/menu-ocr-portfolio.json +483 -0
- package/scripts/emergency/emergency_access.py +365 -0
- package/scripts/epic_completion_checker.py +122 -0
- package/scripts/error_router.py +467 -0
- package/scripts/examples/__pycache__/example.cpython-311.pyc +0 -0
- package/scripts/examples/__pycache__/integration_example.cpython-311.pyc +0 -0
- package/scripts/examples/example.py +166 -0
- package/scripts/examples/integration_example.py +175 -0
- package/scripts/file_manager.py +547 -0
- package/scripts/git_repo_manager.py +283 -0
- package/scripts/helpers/command_intelligence/__init__.py +12 -0
- package/scripts/helpers/command_intelligence/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/helpers/command_intelligence/__pycache__/__init__.cpython-312.pyc +0 -0
- package/scripts/helpers/command_intelligence/__pycache__/inference.cpython-311.pyc +0 -0
- package/scripts/helpers/command_intelligence/__pycache__/llm_dataset_enricher.cpython-311.pyc +0 -0
- package/scripts/helpers/command_intelligence/__pycache__/models.cpython-311.pyc +0 -0
- package/scripts/helpers/command_intelligence/__pycache__/models.cpython-312.pyc +0 -0
- package/scripts/helpers/command_intelligence/__pycache__/script_extractor.cpython-311.pyc +0 -0
- package/scripts/helpers/command_intelligence/__pycache__/skill_extractor.cpython-311.pyc +0 -0
- package/scripts/helpers/command_intelligence/dataset_generator.py +298 -0
- package/scripts/helpers/command_intelligence/inference.py +337 -0
- package/scripts/helpers/command_intelligence/llm_dataset_enricher.py +458 -0
- package/scripts/helpers/command_intelligence/models.py +220 -0
- package/scripts/helpers/command_intelligence/script_extractor.py +418 -0
- package/scripts/helpers/command_intelligence/semantic_search.py +165 -0
- package/scripts/helpers/command_intelligence/skill_extractor.py +338 -0
- package/scripts/helpers/command_intelligence/training_pipeline.py +377 -0
- package/scripts/helpers/startup_protocol_reminder.py +34 -0
- package/scripts/helpers/verify_oracle_hierarchy.py +225 -0
- package/scripts/impact_analyzer.py +314 -0
- package/scripts/install_ollama_models.sh +246 -0
- package/scripts/jarvis_domain_mapper_tui.py +33 -0
- package/scripts/jarvis_mode.sh +62 -0
- package/scripts/jarvis_status.py +57 -0
- package/scripts/jarvis_tui.py +31 -0
- package/scripts/kanban_manager.py +1771 -0
- package/scripts/kanban_session_manager.py +151 -0
- package/scripts/llm/__pycache__/code_generator_with_governance.cpython-311.pyc +0 -0
- package/scripts/llm/__pycache__/llm_ops.cpython-311.pyc +0 -0
- package/scripts/llm/code_generator_with_governance.py +318 -0
- package/scripts/llm/llm_ops.py +208 -0
- package/scripts/llm/test_code_generation_pipeline.sh +125 -0
- package/scripts/log_manager.py +203 -0
- package/scripts/lsp/README_FALLBACK.md +261 -0
- package/scripts/lsp/__init__.py +64 -0
- package/scripts/lsp/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/lsp/__pycache__/__init__.cpython-312.pyc +0 -0
- package/scripts/lsp/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/lsp/__pycache__/enable_fallback.cpython-312.pyc +0 -0
- package/scripts/lsp/__pycache__/enable_fallback.cpython-313.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_base.cpython-311.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_base.cpython-312.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_base.cpython-313.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_cli.cpython-311.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_cli.cpython-312.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_cli.cpython-313.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_client.cpython-311.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_client.cpython-312.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_client.cpython-313.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_config_manager.cpython-312.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_config_manager.cpython-313.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_servers.cpython-311.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_servers.cpython-312.pyc +0 -0
- package/scripts/lsp/__pycache__/lsp_servers.cpython-313.pyc +0 -0
- package/scripts/lsp/__pycache__/tree_sitter_fallback.cpython-312.pyc +0 -0
- package/scripts/lsp/__pycache__/tree_sitter_fallback.cpython-313.pyc +0 -0
- package/scripts/lsp/enable_fallback.py +147 -0
- package/scripts/lsp/lsp_base.py +177 -0
- package/scripts/lsp/lsp_cli.py +721 -0
- package/scripts/lsp/lsp_client.py +361 -0
- package/scripts/lsp/lsp_config_manager.py +314 -0
- package/scripts/lsp/lsp_servers.py +208 -0
- package/scripts/lsp/lsp_servers_test.py +157 -0
- package/scripts/lsp/lsp_servers_test_kotlin.py +50 -0
- package/scripts/lsp/tree_sitter_fallback.py +253 -0
- package/scripts/lsp_navigator.py +268 -0
- package/scripts/maintenance/__pycache__/clean_context_memory.cpython-311.pyc +0 -0
- package/scripts/maintenance/__pycache__/fix_context_memory.cpython-311.pyc +0 -0
- package/scripts/maintenance/__pycache__/reindex_all_rag.cpython-311.pyc +0 -0
- package/scripts/maintenance/__pycache__/reset_context_memory.cpython-311.pyc +0 -0
- package/scripts/maintenance/__pycache__/simple_context_memory.cpython-311.pyc +0 -0
- package/scripts/maintenance/clean_context_memory.py +182 -0
- package/scripts/maintenance/fix_context_memory.py +114 -0
- package/scripts/maintenance/reindex_all_rag.py +352 -0
- package/scripts/maintenance/reset_context_memory.py +138 -0
- package/scripts/maintenance/simple_context_memory.py +199 -0
- package/scripts/managers/__pycache__/bash_optimizer.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/config_manager.cpython-312.pyc +0 -0
- package/scripts/managers/__pycache__/config_manager.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/credential_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/csv_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/domain_map_db.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/env_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/json_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/json_manager.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/markdown_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/markdown_manager.cpython-312.pyc +0 -0
- package/scripts/managers/__pycache__/markdown_manager.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/migration_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/model_router.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/obsidian_config_manager.cpython-312.pyc +0 -0
- package/scripts/managers/__pycache__/obsidian_config_manager.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/obsidian_markdown_manager.cpython-312.pyc +0 -0
- package/scripts/managers/__pycache__/obsidian_markdown_manager.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/path_manager.cpython-310.pyc +0 -0
- package/scripts/managers/__pycache__/path_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/path_manager.cpython-312.pyc +0 -0
- package/scripts/managers/__pycache__/path_manager.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/policy_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/process_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/schema_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/snapshot_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/toon_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/toon_manager.cpython-312.pyc +0 -0
- package/scripts/managers/__pycache__/toon_manager.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/workspace_path_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/workspace_path_manager.cpython-312.pyc +0 -0
- package/scripts/managers/__pycache__/workspace_path_manager.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/workspace_path_manager_v2.cpython-313.pyc +0 -0
- package/scripts/managers/__pycache__/yaml_manager.cpython-311.pyc +0 -0
- package/scripts/managers/__pycache__/yaml_manager.cpython-313.pyc +0 -0
- package/scripts/managers/bash_optimizer.py +209 -0
- package/scripts/managers/config_manager.py +229 -0
- package/scripts/managers/credential_manager.py +579 -0
- package/scripts/managers/csv_manager.py +515 -0
- package/scripts/managers/domain_map_db.py +422 -0
- package/scripts/managers/env_manager.py +732 -0
- package/scripts/managers/json_manager.py +22 -0
- package/scripts/managers/markdown_manager.py +893 -0
- package/scripts/managers/migration_manager.py +115 -0
- package/scripts/managers/model_router.py +436 -0
- package/scripts/managers/obsidian_config_manager.py +621 -0
- package/scripts/managers/obsidian_markdown_manager.py +601 -0
- package/scripts/managers/path_manager.py +164 -0
- package/scripts/managers/policy_manager.py +628 -0
- package/scripts/managers/process_manager.py +285 -0
- package/scripts/managers/schema_manager.py +292 -0
- package/scripts/managers/snapshot_manager.py +14 -0
- package/scripts/managers/toon_manager.py +407 -0
- package/scripts/managers/workspace_path_manager.py +299 -0
- package/scripts/managers/workspace_path_manager_v2.py +414 -0
- package/scripts/managers/yaml_manager.py +17 -0
- package/scripts/markdown/__init__.py +21 -0
- package/scripts/markdown/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_base.cpython-311.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_base.cpython-312.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_base.cpython-313.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_cli.cpython-311.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_cli.cpython-312.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_cli.cpython-313.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_editor.cpython-311.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_editor.cpython-312.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_editor.cpython-313.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_manager.cpython-311.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_parser.cpython-311.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_parser.cpython-312.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_parser.cpython-313.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_validator.cpython-311.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_validator.cpython-312.pyc +0 -0
- package/scripts/markdown/__pycache__/markdown_validator.cpython-313.pyc +0 -0
- package/scripts/markdown/markdown_base.py +118 -0
- package/scripts/markdown/markdown_cli.py +310 -0
- package/scripts/markdown/markdown_editor.py +321 -0
- package/scripts/markdown/markdown_manager.py +209 -0
- package/scripts/markdown/markdown_parser.py +378 -0
- package/scripts/markdown/markdown_validator.py +196 -0
- package/scripts/migrate_artifacts.py +237 -0
- package/scripts/migration/__pycache__/workspace_structure_migration.cpython-313.pyc +0 -0
- package/scripts/migration/domain_map_v1_to_v2_migration.py +363 -0
- package/scripts/migration/test_single_workspace_migration.py +83 -0
- package/scripts/migration/workspace_structure_migration.py +740 -0
- package/scripts/mobile/README_maestro_runner.md +101 -0
- package/scripts/mobile/REQUIREMENTS_device_manager.md +133 -0
- package/scripts/mobile/REQUIREMENTS_mobile_cli.md +185 -0
- package/scripts/mobile/__init__.py +1 -0
- package/scripts/mobile/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/mobile/__pycache__/device_manager.cpython-313.pyc +0 -0
- package/scripts/mobile/__pycache__/maestro_runner.cpython-313.pyc +0 -0
- package/scripts/mobile/__pycache__/screenshot_manager.cpython-313.pyc +0 -0
- package/scripts/mobile/__pycache__/test_device_manager.cpython-313-pytest-9.0.2.pyc +0 -0
- package/scripts/mobile/device_manager.py +312 -0
- package/scripts/mobile/domain/__init__.py +1 -0
- package/scripts/mobile/domain/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/mobile/domain/__pycache__/device.cpython-313.pyc +0 -0
- package/scripts/mobile/domain/device.py +128 -0
- package/scripts/mobile/examples/config_example.py +51 -0
- package/scripts/mobile/examples/sample_test.yaml +38 -0
- package/scripts/mobile/infrastructure/__init__.py +1 -0
- package/scripts/mobile/infrastructure/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/mobile/infrastructure/__pycache__/connectors.cpython-313.pyc +0 -0
- package/scripts/mobile/infrastructure/connectors.py +316 -0
- package/scripts/mobile/maestro/__init__.py +1 -0
- package/scripts/mobile/maestro/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/mobile/maestro/__pycache__/test_executor.cpython-313.pyc +0 -0
- package/scripts/mobile/maestro/test_executor.py +203 -0
- package/scripts/mobile/maestro_runner.py +336 -0
- package/scripts/mobile/maestro_runner_complex.py +329 -0
- package/scripts/mobile/maestro_runner_original.py +477 -0
- package/scripts/mobile/mobile_cli.py +339 -0
- package/scripts/mobile/screenshot_manager.py +595 -0
- package/scripts/mobile/test_device_manager.py +322 -0
- package/scripts/obsidian_cardboard_sync.py +454 -0
- package/scripts/obsidian_diagnostic.py +787 -0
- package/scripts/obsidian_setup_tool.py +619 -0
- package/scripts/obsidian_sync_cli.py +964 -0
- package/scripts/obsidian_test_demo.py +547 -0
- package/scripts/parsers/__init__.py +0 -0
- package/scripts/parsers/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/parsers/__pycache__/__init__.cpython-312.pyc +0 -0
- package/scripts/parsers/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/parsers/__pycache__/language_parsers.cpython-311.pyc +0 -0
- package/scripts/parsers/__pycache__/language_parsers.cpython-312.pyc +0 -0
- package/scripts/parsers/__pycache__/language_parsers.cpython-313.pyc +0 -0
- package/scripts/parsers/__pycache__/language_parsers_new.cpython-311.pyc +0 -0
- package/scripts/parsers/__pycache__/parser_base.cpython-311.pyc +0 -0
- package/scripts/parsers/__pycache__/parser_registry.cpython-311.pyc +0 -0
- package/scripts/parsers/language_parsers.py +966 -0
- package/scripts/parsers/parser_base.py +93 -0
- package/scripts/parsers/parser_registry.py +127 -0
- package/scripts/parsers/parsers/__init__.py +17 -0
- package/scripts/parsers/parsers/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/parsers/parsers/__pycache__/go_parser.cpython-311.pyc +0 -0
- package/scripts/parsers/parsers/__pycache__/javascript_parser.cpython-311.pyc +0 -0
- package/scripts/parsers/parsers/__pycache__/kotlin_parser.cpython-311.pyc +0 -0
- package/scripts/parsers/parsers/__pycache__/python_parser.cpython-311.pyc +0 -0
- package/scripts/parsers/parsers/__pycache__/swift_parser.cpython-311.pyc +0 -0
- package/scripts/parsers/parsers/__pycache__/typescript_parser.cpython-311.pyc +0 -0
- package/scripts/parsers/parsers/go_parser.py +251 -0
- package/scripts/parsers/parsers/javascript_parser.py +285 -0
- package/scripts/parsers/parsers/kotlin_parser.py +282 -0
- package/scripts/parsers/parsers/python_parser.py +248 -0
- package/scripts/parsers/parsers/swift_parser.py +281 -0
- package/scripts/parsers/parsers/typescript_parser.py +127 -0
- package/scripts/policy_check.sh +126 -0
- package/scripts/rag/CD-027_IMPLEMENTATION_SUMMARY.md +347 -0
- package/scripts/rag/FEATURE_COVERAGE.md +393 -0
- package/scripts/rag/MEASURE_PRECISION_REQUIREMENTS.md +273 -0
- package/scripts/rag/ORACLE_FILTERS.md +317 -0
- package/scripts/rag/QUICK_START.md +173 -0
- package/scripts/rag/REQUIREMENTS.md +320 -0
- package/scripts/rag/REQUIREMENTS_oracle_rag_integration.md +115 -0
- package/scripts/rag/__init__.py +12 -0
- package/scripts/rag/__pycache__/__init__.cpython-310.pyc +0 -0
- package/scripts/rag/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/rag/__pycache__/__init__.cpython-312.pyc +0 -0
- package/scripts/rag/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/oracle_rag.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/oracle_rag_cli.cpython-311.pyc +0 -0
- package/scripts/rag/__pycache__/oracle_rag_cli.cpython-312.pyc +0 -0
- package/scripts/rag/__pycache__/oracle_rag_cli.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/oracle_rag_cli_commands.cpython-311.pyc +0 -0
- package/scripts/rag/__pycache__/oracle_rag_cli_commands.cpython-312.pyc +0 -0
- package/scripts/rag/__pycache__/oracle_rag_cli_commands.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/project_type_detector.cpython-312.pyc +0 -0
- package/scripts/rag/__pycache__/project_type_detector.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli_commands.cpython-310.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli_commands.cpython-311.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli_commands.cpython-312.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli_commands.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli_search_commands.cpython-310.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli_search_commands.cpython-311.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli_search_commands.cpython-312.pyc +0 -0
- package/scripts/rag/__pycache__/rag_cli_search_commands.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/rag_config.cpython-310.pyc +0 -0
- package/scripts/rag/__pycache__/rag_config.cpython-311.pyc +0 -0
- package/scripts/rag/__pycache__/rag_config.cpython-312.pyc +0 -0
- package/scripts/rag/__pycache__/rag_config.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/smart_rag_index.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/smart_rag_index_hybrid.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/smart_rag_index_tui.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/smart_rag_index_v2.cpython-313.pyc +0 -0
- package/scripts/rag/__pycache__/suppress_logs.cpython-312.pyc +0 -0
- package/scripts/rag/__pycache__/suppress_logs.cpython-313.pyc +0 -0
- package/scripts/rag/auto_reindex_oracle.py +278 -0
- package/scripts/rag/code_intelligence.py +366 -0
- package/scripts/rag/command_intelligence.py +245 -0
- package/scripts/rag/command_intelligence_cli.py +360 -0
- package/scripts/rag/command_intelligence_config.py +258 -0
- package/scripts/rag/command_intelligence_nlp.py +324 -0
- package/scripts/rag/command_intelligence_search.py +288 -0
- package/scripts/rag/detect_duplicates.py +180 -0
- package/scripts/rag/domain_mapper/__init__.py +33 -0
- package/scripts/rag/domain_mapper/__pycache__/__init__.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/__init__.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/cli.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/cli.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/config.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/config.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/config.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/config.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/discovery.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/discovery.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/discovery.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/discovery.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/llm.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/llm.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/llm.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/llm.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/mapper.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/mapper.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/mapper.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/mapper.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/models.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/models.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/models.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/models.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/parser.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/parser.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/parser.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/parser.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/persistence.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/persistence.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/persistence.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/persistence.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/vectorstore.cpython-310.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/vectorstore.cpython-311.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/vectorstore.cpython-312.pyc +0 -0
- package/scripts/rag/domain_mapper/__pycache__/vectorstore.cpython-313.pyc +0 -0
- package/scripts/rag/domain_mapper/cli.py +181 -0
- package/scripts/rag/domain_mapper/config.py +185 -0
- package/scripts/rag/domain_mapper/discovery.py +284 -0
- package/scripts/rag/domain_mapper/llm.py +67 -0
- package/scripts/rag/domain_mapper/mapper.py +419 -0
- package/scripts/rag/domain_mapper/models.py +82 -0
- package/scripts/rag/domain_mapper/parser.py +123 -0
- package/scripts/rag/domain_mapper/persistence.py +167 -0
- package/scripts/rag/domain_mapper/vectorstore.py +82 -0
- package/scripts/rag/index_external_sources.py +268 -0
- package/scripts/rag/index_menu_ocr_hybrid.sh +191 -0
- package/scripts/rag/index_menu_ocr_modular.sh +195 -0
- package/scripts/rag/measure_precision.py +520 -0
- package/scripts/rag/oracle_rag.py +342 -0
- package/scripts/rag/oracle_rag_cli.py +440 -0
- package/scripts/rag/oracle_rag_cli_commands.py +425 -0
- package/scripts/rag/project_type_detector.py +424 -0
- package/scripts/rag/rag_cli.py +334 -0
- package/scripts/rag/rag_cli_commands.py +1431 -0
- package/scripts/rag/rag_cli_commands.py.bak4 +1557 -0
- package/scripts/rag/rag_cli_search_commands.py +616 -0
- package/scripts/rag/rag_config.py +414 -0
- package/scripts/rag/rag_config_v2.py +377 -0
- package/scripts/rag/rag_hook.py +46 -0
- package/scripts/rag/rag_update_file.py +271 -0
- package/scripts/rag/reindex_all_workspaces.sh +177 -0
- package/scripts/rag/reindex_workspaces.sh +79 -0
- package/scripts/rag/smart_rag_index.py +426 -0
- package/scripts/rag/suppress_logs.py +89 -0
- package/scripts/rag/test_oracle_filters.py +196 -0
- package/scripts/rag_index_clean.py +200 -0
- package/scripts/rag_index_smart.py +71 -0
- package/scripts/rag_workflow/README.md +142 -0
- package/scripts/rag_workflow/__init__.py +27 -0
- package/scripts/rag_workflow/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/rag_workflow/core/__pycache__/exceptions.cpython-311.pyc +0 -0
- package/scripts/rag_workflow/core/__pycache__/interfaces.cpython-311.pyc +0 -0
- package/scripts/rag_workflow/core/exceptions.py +381 -0
- package/scripts/rag_workflow/core/interfaces.py +534 -0
- package/scripts/research/__pycache__/perplexity_research.cpython-311.pyc +0 -0
- package/scripts/research/perplexity_research.py +390 -0
- package/scripts/roadmap_manager.py +369 -0
- package/scripts/run_tests.sh +5 -0
- package/scripts/scrum_master.py +733 -0
- package/scripts/security/README.md +373 -0
- package/scripts/security/REQUIREMENTS.md +278 -0
- package/scripts/security/__init__.py +20 -0
- package/scripts/security/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/security/__pycache__/mobile_security_analyzer.cpython-313.pyc +0 -0
- package/scripts/security/__pycache__/mobsf_cli.cpython-313.pyc +0 -0
- package/scripts/security/__pycache__/mobsf_integration.cpython-313.pyc +0 -0
- package/scripts/security/__pycache__/mobsf_integration_runner.cpython-313.pyc +0 -0
- package/scripts/security/__pycache__/security_report_generator.cpython-313.pyc +0 -0
- package/scripts/security/mobile_security_analyzer.py +369 -0
- package/scripts/security/mobsf_cli.py +365 -0
- package/scripts/security/mobsf_integration.py +534 -0
- package/scripts/security/mobsf_integration_runner.py +360 -0
- package/scripts/security/security_report_generator.py +474 -0
- package/scripts/security/test_mobsf_integration.py +152 -0
- package/scripts/session_auto_setup.py +217 -0
- package/scripts/setup/Install-Global.ps1 +167 -0
- package/scripts/setup/__pycache__/configure_hybrid_routing.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/configure_ollama_only.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/init_database.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/install_rag_dependencies.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/install_rag_lite.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/jarvis_automated_installer.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/register_all_skills.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/setup_advanced.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/setup_dependencies.cpython-311.pyc +0 -0
- package/scripts/setup/__pycache__/verify_package.cpython-311.pyc +0 -0
- package/scripts/setup/configure_hybrid_routing.py +340 -0
- package/scripts/setup/configure_ollama_only.py +270 -0
- package/scripts/setup/fix_workspace_kanban_schema.py +240 -0
- package/scripts/setup/index_initial_rag.py +386 -0
- package/scripts/setup/init_database.py +358 -0
- package/scripts/setup/install.sh +171 -0
- package/scripts/setup/install_global.sh +115 -0
- package/scripts/setup/install_ollama.py +184 -0
- package/scripts/setup/install_ollama_models.sh +246 -0
- package/scripts/setup/install_rag_dependencies.py +162 -0
- package/scripts/setup/install_rag_lite.py +225 -0
- package/scripts/setup/install_required_models.py +178 -0
- package/scripts/setup/jarvis.cmd +49 -0
- package/scripts/setup/jarvis_automated_installer.py +959 -0
- package/scripts/setup/jarvis_wrapper.sh +49 -0
- package/scripts/setup/policy_check.sh +126 -0
- package/scripts/setup/register_all_skills.py +132 -0
- package/scripts/setup/setup.sh +184 -0
- package/scripts/setup/setup_advanced.py +158 -0
- package/scripts/setup/setup_all.sh +217 -0
- package/scripts/setup/setup_complete.sh +247 -0
- package/scripts/setup/setup_dependencies.py +460 -0
- package/scripts/setup/setup_domain_map_v2.py +452 -0
- package/scripts/setup/setup_environment.sh +296 -0
- package/scripts/setup/setup_golang.sh +80 -0
- package/scripts/setup/setup_javascript.sh +55 -0
- package/scripts/setup/setup_python.sh +64 -0
- package/scripts/setup/validate_dependencies.py +236 -0
- package/scripts/setup/validate_installation.py +166 -0
- package/scripts/setup/validate_ollama_models.py +233 -0
- package/scripts/setup/validate_setup.sh +347 -0
- package/scripts/setup/verify_package.py +220 -0
- package/scripts/setup_cpp_unix.sh +58 -0
- package/scripts/setup_csharp_linux.sh +61 -0
- package/scripts/setup_csharp_windows.ps1 +63 -0
- package/scripts/setup_kotlin_macos.sh +40 -0
- package/scripts/setup_kotlin_windows.ps1 +68 -0
- package/scripts/setup_lsp.sh +131 -0
- package/scripts/setup_lsp_servers.sh +252 -0
- package/scripts/setup_python.sh +64 -0
- package/scripts/setup_swift_macos.sh +77 -0
- package/scripts/snapshot/ARCHITECTURE.md +423 -0
- package/scripts/snapshot/README.md +180 -0
- package/scripts/snapshot/__init__.py +11 -0
- package/scripts/snapshot/__pycache__/__init__.cpython-311.pyc +0 -0
- package/scripts/snapshot/__pycache__/cli.cpython-311.pyc +0 -0
- package/scripts/snapshot/__pycache__/database_repository.cpython-311.pyc +0 -0
- package/scripts/snapshot/__pycache__/file_repository.cpython-311.pyc +0 -0
- package/scripts/snapshot/__pycache__/git_repository.cpython-311.pyc +0 -0
- package/scripts/snapshot/__pycache__/models.cpython-311.pyc +0 -0
- package/scripts/snapshot/__pycache__/snapshot_lite.cpython-311.pyc +0 -0
- package/scripts/snapshot/__pycache__/snapshot_service.cpython-311.pyc +0 -0
- package/scripts/snapshot/cli.py +193 -0
- package/scripts/snapshot/database_repository.py +276 -0
- package/scripts/snapshot/file_repository.py +248 -0
- package/scripts/snapshot/git_repository.py +161 -0
- package/scripts/snapshot/models.py +97 -0
- package/scripts/snapshot/snapshot_lite.py +466 -0
- package/scripts/snapshot/snapshot_service.py +319 -0
- package/scripts/sync/__pycache__/sync_improvements_to_boilerplate.cpython-311.pyc +0 -0
- package/scripts/sync/__pycache__/sync_to_boilerplate.cpython-311.pyc +0 -0
- package/scripts/sync/sync_improvements_to_boilerplate.py +284 -0
- package/scripts/sync/sync_to_boilerplate.py +383 -0
- package/scripts/test_domain_map_tools.py +94 -0
- package/scripts/test_domain_map_v2.py +202 -0
- package/scripts/test_domain_map_v2_no_llm.py +97 -0
- package/scripts/test_domain_map_v2_simple.py +84 -0
- package/scripts/test_local_installation.py +436 -0
- package/scripts/test_local_installation.sh +201 -0
- package/scripts/tests/README.md +145 -0
- package/scripts/tests/__pycache__/test_path_registry_workspace_rag.cpython-311-pytest-9.0.1.pyc +0 -0
- package/scripts/tests/__pycache__/test_rag_autosync.cpython-311.pyc +0 -0
- package/scripts/tests/__pycache__/test_rag_cli_workspace.cpython-311-pytest-9.0.1.pyc +0 -0
- package/scripts/tests/__pycache__/test_rag_config_workspace.cpython-311-pytest-9.0.1.pyc +0 -0
- package/scripts/tests/__pycache__/test_vector_store_workspace.cpython-311-pytest-9.0.1.pyc +0 -0
- package/scripts/tests/dry_run_session_integration.sh +329 -0
- package/scripts/tests/test_command_intelligence_coverage.sh +102 -0
- package/scripts/tests/test_epic_auto_injection.sh +71 -0
- package/scripts/tests/test_mcp_server.sh +110 -0
- package/scripts/tests/test_path_registry_workspace_rag.py +146 -0
- package/scripts/tests/test_permission_hook.sh +118 -0
- package/scripts/tests/test_rag_autosync.py +318 -0
- package/scripts/tests/test_rag_cli_workspace.py +275 -0
- package/scripts/tests/test_rag_config_workspace.py +72 -0
- package/scripts/tests/test_vector_store_workspace.py +133 -0
- package/scripts/tests/test_workspace_context.sh +69 -0
- package/scripts/token_metrics.py +546 -0
- package/scripts/user_story_chat.py +271 -0
- package/scripts/user_story_manager.py +483 -0
- package/scripts/utilities/WORKSPACE_ANALYZER_README.md +307 -0
- package/scripts/utilities/__pycache__/apply_toon_to_all.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/boilerplate_sync.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/check_skills_loaded.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/context_memory_toon.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/convert_skill_to_toon.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/help_loader.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/markdown_template_enforcer.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/optimize_markdown.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/optimize_md_preserve_header.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/remove_emojis_safe.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/report_generator.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/token_savings_monitor.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/workspace_analyzer.cpython-311.pyc +0 -0
- package/scripts/utilities/__pycache__/workspace_analyzer.cpython-312.pyc +0 -0
- package/scripts/utilities/apply_toon_to_all.py +103 -0
- package/scripts/utilities/boilerplate_sync.py +359 -0
- package/scripts/utilities/check_skills_loaded.py +97 -0
- package/scripts/utilities/context_memory_toon.py +145 -0
- package/scripts/utilities/convert_skill_to_toon.py +671 -0
- package/scripts/utilities/help_loader.py +175 -0
- package/scripts/utilities/markdown_template_enforcer.py +570 -0
- package/scripts/utilities/optimize_markdown.py +188 -0
- package/scripts/utilities/optimize_md_preserve_header.py +192 -0
- package/scripts/utilities/remove_emojis_safe.py +85 -0
- package/scripts/utilities/report_generator.py +335 -0
- package/scripts/utilities/token_savings_monitor.py +307 -0
- package/scripts/utilities/workspace_analyzer.py +520 -0
- package/scripts/validators/__pycache__/code_validator.cpython-311.pyc +0 -0
- package/scripts/validators/__pycache__/file_governance_manager.cpython-311.pyc +0 -0
- package/scripts/validators/__pycache__/operation_validator.cpython-311.pyc +0 -0
- package/scripts/validators/__pycache__/policy_guard.cpython-311.pyc +0 -0
- package/scripts/validators/__pycache__/validate_code_operations.cpython-311.pyc +0 -0
- package/scripts/validators/__pycache__/validate_code_operations_v2.cpython-311.pyc +0 -0
- package/scripts/validators/__pycache__/validate_command.cpython-311.pyc +0 -0
- package/scripts/validators/__pycache__/validate_compliance.cpython-311.pyc +0 -0
- package/scripts/validators/__pycache__/validate_ddd_migration.cpython-311.pyc +0 -0
- package/scripts/validators/code_validator.py +364 -0
- package/scripts/validators/data_validator.py +353 -0
- package/scripts/validators/file_governance_manager.py +22 -0
- package/scripts/validators/operation_validator.py +360 -0
- package/scripts/validators/policy_guard.py +248 -0
- package/scripts/validators/schema_mapper.py +348 -0
- package/scripts/validators/validate_code_operations.py +114 -0
- package/scripts/validators/validate_code_operations_v2.py +305 -0
- package/scripts/validators/validate_command.py +97 -0
- package/scripts/validators/validate_compliance.py +362 -0
- package/scripts/validators/validate_ddd_migration.py +384 -0
- package/scripts/workspace_dependency_manager.py +417 -0
- package/scripts/workspace_detector.py +179 -0
- package/scripts/workspace_manager.py +17 -0
- package/src/__init__.py +1 -0
- package/src/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/adapters/__init__.py +0 -0
- package/src/adapters/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/adapters/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/adapters/__pycache__/context_memory_adapter.cpython-312.pyc +0 -0
- package/src/adapters/__pycache__/context_memory_adapter.cpython-313.pyc +0 -0
- package/src/adapters/context_memory_adapter.py +356 -0
- package/src/application/__init__.py +18 -0
- package/src/application/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/application/code_management/use_cases/extract_function_use_case.py +309 -0
- package/src/application/context_memory/__init__.py +10 -0
- package/src/application/context_memory/context_memory_service.py +154 -0
- package/src/application/context_memory/use_cases/__init__.py +15 -0
- package/src/application/context_memory/use_cases/add_todo_use_case.py +99 -0
- package/src/application/context_memory/use_cases/complete_todo_use_case.py +73 -0
- package/src/application/context_memory/use_cases/list_todos_use_case.py +86 -0
- package/src/application/context_memory/use_cases/read_messages_use_case.py +105 -0
- package/src/application/context_memory/use_cases/send_message_use_case.py +107 -0
- package/src/application/domain_maps/__init__.py +10 -0
- package/src/application/domain_maps/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/domain_maps/__pycache__/domain_map_service.cpython-312.pyc +0 -0
- package/src/application/domain_maps/__pycache__/domain_map_service_v2.cpython-312.pyc +0 -0
- package/src/application/domain_maps/__pycache__/input_validators.cpython-312.pyc +0 -0
- package/src/application/domain_maps/domain_map_service.py +496 -0
- package/src/application/domain_maps/domain_map_service_v2.py +790 -0
- package/src/application/domain_maps/input_validators.py +63 -0
- package/src/application/file_governance/__init__.py +9 -0
- package/src/application/file_governance/file_governance_service.py +163 -0
- package/src/application/file_governance/use_cases/__init__.py +11 -0
- package/src/application/file_governance/use_cases/apply_rules_use_case.py +118 -0
- package/src/application/file_governance/use_cases/list_violations_use_case.py +102 -0
- package/src/application/file_governance/use_cases/validate_file_access_use_case.py +109 -0
- package/src/application/git_repository/__init__.py +10 -0
- package/src/application/git_repository/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/git_repository/__pycache__/git_repo_service.cpython-312.pyc +0 -0
- package/src/application/git_repository/__pycache__/git_repository_service.cpython-312.pyc +0 -0
- package/src/application/git_repository/git_repo_service.py +407 -0
- package/src/application/git_repository/git_repository_service.py +92 -0
- package/src/application/git_repository/use_cases/__init__.py +9 -0
- package/src/application/git_repository/use_cases/commit_use_case.py +97 -0
- package/src/application/git_repository/use_cases/status_use_case.py +76 -0
- package/src/application/governance/__init__.py +16 -0
- package/src/application/governance/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/governance/__pycache__/artifact_service.cpython-312.pyc +0 -0
- package/src/application/governance/artifact_service.py +482 -0
- package/src/application/kanban/__init__.py +19 -0
- package/src/application/kanban/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/kanban/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/application/kanban/__pycache__/artifact_service.cpython-312.pyc +0 -0
- package/src/application/kanban/__pycache__/artifact_service.cpython-313.pyc +0 -0
- package/src/application/kanban/__pycache__/context_bridge.cpython-312.pyc +0 -0
- package/src/application/kanban/__pycache__/context_bridge.cpython-313.pyc +0 -0
- package/src/application/kanban/__pycache__/grooming_validator.cpython-312.pyc +0 -0
- package/src/application/kanban/__pycache__/kanban_service.cpython-312.pyc +0 -0
- package/src/application/kanban/__pycache__/kanban_service.cpython-313.pyc +0 -0
- package/src/application/kanban/__pycache__/migration_runner.cpython-312.pyc +0 -0
- package/src/application/kanban/__pycache__/session_integration.cpython-312.pyc +0 -0
- package/src/application/kanban/__pycache__/session_integration.cpython-313.pyc +0 -0
- package/src/application/kanban/__pycache__/token_metrics_service.cpython-312.pyc +0 -0
- package/src/application/kanban/__pycache__/token_metrics_service.cpython-313.pyc +0 -0
- package/src/application/kanban/artifact_service.py +326 -0
- package/src/application/kanban/batch_service.py +601 -0
- package/src/application/kanban/context_bridge.py +244 -0
- package/src/application/kanban/grooming_validator.py +219 -0
- package/src/application/kanban/kanban_service.py +553 -0
- package/src/application/kanban/migration_runner.py +278 -0
- package/src/application/kanban/session_integration.py +135 -0
- package/src/application/kanban/token_metrics_service.py +495 -0
- package/src/application/orchestration/__init__.py +9 -0
- package/src/application/orchestration/scrum_master_service.py +993 -0
- package/src/application/quality/code_review_system.py +573 -0
- package/src/application/rag/__init__.py +6 -0
- package/src/application/rag/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/rag/use_cases/__init__.py +5 -0
- package/src/application/rag/use_cases/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/rag/use_cases/__pycache__/index_code_use_case.cpython-312.pyc +0 -0
- package/src/application/rag/use_cases/__pycache__/semantic_search_use_case.cpython-312.pyc +0 -0
- package/src/application/rag/use_cases/__pycache__/snippet_retrieval_use_case.cpython-312.pyc +0 -0
- package/src/application/rag/use_cases/index_code_use_case.py +134 -0
- package/src/application/rag/use_cases/semantic_search_use_case.py +92 -0
- package/src/application/rag/use_cases/snippet_retrieval_use_case.py +92 -0
- package/src/application/user_stories/__init__.py +9 -0
- package/src/application/user_stories/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/user_stories/__pycache__/user_story_service.cpython-312.pyc +0 -0
- package/src/application/user_stories/user_story_service.py +437 -0
- package/src/application/user_story_chat/__init__.py +9 -0
- package/src/application/user_story_chat/user_story_chat_service.py +250 -0
- package/src/application/workspace/__init__.py +32 -0
- package/src/application/workspace/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/application/workspace/__pycache__/cross_workspace_orchestrator.cpython-312.pyc +0 -0
- package/src/application/workspace/__pycache__/mcp_integration_service.cpython-312.pyc +0 -0
- package/src/application/workspace/__pycache__/workspace_service.cpython-312.pyc +0 -0
- package/src/application/workspace/change_detector.py +360 -0
- package/src/application/workspace/context_switcher.py +294 -0
- package/src/application/workspace/cross_workspace_orchestrator.py +410 -0
- package/src/application/workspace/error_router.py +325 -0
- package/src/application/workspace/impact_analyzer.py +434 -0
- package/src/application/workspace/mcp_integration_service.py +305 -0
- package/src/application/workspace/rag_client.py +89 -0
- package/src/application/workspace/use_cases/__init__.py +9 -0
- package/src/application/workspace/use_cases/create_workspace_use_case.py +98 -0
- package/src/application/workspace/use_cases/list_workspaces_use_case.py +92 -0
- package/src/application/workspace/workspace_service.py +668 -0
- package/src/context_memory/__init__.py +22 -0
- package/src/context_memory/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/context_memory/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/context_memory/__pycache__/manager.cpython-312.pyc +0 -0
- package/src/context_memory/__pycache__/manager.cpython-313.pyc +0 -0
- package/src/context_memory/__pycache__/models.cpython-312.pyc +0 -0
- package/src/context_memory/__pycache__/models.cpython-313.pyc +0 -0
- package/src/context_memory/manager.py +635 -0
- package/src/context_memory/models.py +223 -0
- package/src/context_memory/schema.sql +64 -0
- package/src/domain/__init__.py +12 -0
- package/src/domain/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/domain/architecture/__pycache__/pattern_detector.cpython-312.pyc +0 -0
- package/src/domain/architecture/pattern_detector.py +641 -0
- package/src/domain/code_management/README.md +112 -0
- package/src/domain/code_management/__init__.py +9 -0
- package/src/domain/code_management/entities/code_block.py +131 -0
- package/src/domain/code_management/events.py +393 -0
- package/src/domain/code_management/repositories.py +145 -0
- package/src/domain/code_management/services.py +377 -0
- package/src/domain/code_management/validators.py +53 -0
- package/src/domain/code_management/value_objects.py +212 -0
- package/src/domain/context_memory/README.md +80 -0
- package/src/domain/context_memory/__init__.py +9 -0
- package/src/domain/context_memory/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/context_entry.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/context_entry.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/context_entry_query_service.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/context_entry_query_service.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/entities.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/entities.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/repositories.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/repositories.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/services.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/services.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/session.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/session.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/session_coordinator.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/session_coordinator.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/todo.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/todo.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/todo_query_service.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/todo_query_service.cpython-313.pyc +0 -0
- package/src/domain/context_memory/__pycache__/value_objects.cpython-312.pyc +0 -0
- package/src/domain/context_memory/__pycache__/value_objects.cpython-313.pyc +0 -0
- package/src/domain/context_memory/context_entry.py +125 -0
- package/src/domain/context_memory/context_entry_query_service.py +116 -0
- package/src/domain/context_memory/entities.py +12 -0
- package/src/domain/context_memory/events.py +254 -0
- package/src/domain/context_memory/repositories.py +324 -0
- package/src/domain/context_memory/services.py +17 -0
- package/src/domain/context_memory/session.py +282 -0
- package/src/domain/context_memory/session_coordinator.py +77 -0
- package/src/domain/context_memory/session_marker_manager.py +419 -0
- package/src/domain/context_memory/todo.py +155 -0
- package/src/domain/context_memory/todo_query_service.py +237 -0
- package/src/domain/context_memory/value_objects.py +287 -0
- package/src/domain/domain_maps/__init__.py +33 -0
- package/src/domain/domain_maps/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/domain_maps/__pycache__/repositories.cpython-312.pyc +0 -0
- package/src/domain/domain_maps/__pycache__/value_objects.cpython-312.pyc +0 -0
- package/src/domain/domain_maps/domain_map.json +783 -0
- package/src/domain/domain_maps/entities/__init__.py +6 -0
- package/src/domain/domain_maps/entities/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/domain_maps/entities/__pycache__/bounded_context.cpython-312.pyc +0 -0
- package/src/domain/domain_maps/entities/__pycache__/domain_map.cpython-312.pyc +0 -0
- package/src/domain/domain_maps/entities/bounded_context.py +176 -0
- package/src/domain/domain_maps/entities/domain_map.py +194 -0
- package/src/domain/domain_maps/events.py +159 -0
- package/src/domain/domain_maps/repositories.py +179 -0
- package/src/domain/domain_maps/services.py +197 -0
- package/src/domain/domain_maps/value_objects.py +138 -0
- package/src/domain/entities/__pycache__/entity_extractor.cpython-312.pyc +0 -0
- package/src/domain/entities/entity_extractor.py +556 -0
- package/src/domain/file_governance/README.md +70 -0
- package/src/domain/file_governance/__init__.py +9 -0
- package/src/domain/file_governance/entities/__init__.py +15 -0
- package/src/domain/file_governance/entities/file_operation.py +135 -0
- package/src/domain/file_governance/entities/file_policy.py +127 -0
- package/src/domain/file_governance/entities/file_rule.py +157 -0
- package/src/domain/file_governance/events.py +192 -0
- package/src/domain/file_governance/repositories.py +220 -0
- package/src/domain/file_governance/services.py +372 -0
- package/src/domain/file_governance/value_objects.py +307 -0
- package/src/domain/git_repository/README.md +94 -0
- package/src/domain/git_repository/__init__.py +45 -0
- package/src/domain/git_repository/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/git_repository/__pycache__/entities.cpython-312.pyc +0 -0
- package/src/domain/git_repository/__pycache__/repositories.cpython-312.pyc +0 -0
- package/src/domain/git_repository/__pycache__/value_objects.cpython-312.pyc +0 -0
- package/src/domain/git_repository/entities.py +271 -0
- package/src/domain/git_repository/repositories.py +73 -0
- package/src/domain/git_repository/value_objects.py +377 -0
- package/src/domain/governance/__init__.py +83 -0
- package/src/domain/governance/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/governance/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/domain/governance/__pycache__/artifact_frontmatter.cpython-312.pyc +0 -0
- package/src/domain/governance/__pycache__/artifact_frontmatter.cpython-313.pyc +0 -0
- package/src/domain/governance/__pycache__/artifact_path.cpython-312.pyc +0 -0
- package/src/domain/governance/__pycache__/artifact_path.cpython-313.pyc +0 -0
- package/src/domain/governance/__pycache__/location_rules.cpython-312.pyc +0 -0
- package/src/domain/governance/__pycache__/location_rules.cpython-313.pyc +0 -0
- package/src/domain/governance/__pycache__/path_governance.cpython-312.pyc +0 -0
- package/src/domain/governance/__pycache__/path_governance.cpython-313.pyc +0 -0
- package/src/domain/governance/__pycache__/path_keys.cpython-312.pyc +0 -0
- package/src/domain/governance/__pycache__/path_keys.cpython-313.pyc +0 -0
- package/src/domain/governance/artifact_frontmatter.py +380 -0
- package/src/domain/governance/artifact_path.py +346 -0
- package/src/domain/governance/location_rules.py +157 -0
- package/src/domain/governance/path_governance.py +331 -0
- package/src/domain/governance/path_keys.py +52 -0
- package/src/domain/kanban/__init__.py +30 -0
- package/src/domain/kanban/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/kanban/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/domain/kanban/__pycache__/schema_provider.cpython-312.pyc +0 -0
- package/src/domain/kanban/__pycache__/value_objects.cpython-312.pyc +0 -0
- package/src/domain/kanban/__pycache__/value_objects.cpython-313.pyc +0 -0
- package/src/domain/kanban/schema.sql +340 -0
- package/src/domain/kanban/schema_provider.py +347 -0
- package/src/domain/kanban/value_objects.py +242 -0
- package/src/domain/mobile_testing/__init__.py +54 -0
- package/src/domain/mobile_testing/device_repository.py +240 -0
- package/src/domain/mobile_testing/entities.py +450 -0
- package/src/domain/mobile_testing/test_repository.py +499 -0
- package/src/domain/mobile_testing/value_objects.py +232 -0
- package/src/domain/orchestration/__init__.py +38 -0
- package/src/domain/orchestration/agent_config_schema.py +398 -0
- package/src/domain/orchestration/config_validator.py +572 -0
- package/src/domain/rag/README.md +66 -0
- package/src/domain/rag/__init__.py +43 -0
- package/src/domain/rag/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/rag/__pycache__/entities.cpython-312.pyc +0 -0
- package/src/domain/rag/__pycache__/repositories.cpython-312.pyc +0 -0
- package/src/domain/rag/__pycache__/services.cpython-312.pyc +0 -0
- package/src/domain/rag/__pycache__/value_objects.cpython-312.pyc +0 -0
- package/src/domain/rag/domain_map.json +90 -0
- package/src/domain/rag/entities.py +154 -0
- package/src/domain/rag/events.py +107 -0
- package/src/domain/rag/file_splitter_service.py +312 -0
- package/src/domain/rag/indexing_strategy_service.py +133 -0
- package/src/domain/rag/repositories.py +192 -0
- package/src/domain/rag/services.py +240 -0
- package/src/domain/rag/value_objects.py +177 -0
- package/src/domain/relationships/__pycache__/relationship_mapper.cpython-312.pyc +0 -0
- package/src/domain/relationships/relationship_mapper.py +712 -0
- package/src/domain/shared/README.md +95 -0
- package/src/domain/shared/__init__.py +108 -0
- package/src/domain/shared/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/shared/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/domain/shared/__pycache__/toon_formatter.cpython-312.pyc +0 -0
- package/src/domain/shared/toon_formatter.py +365 -0
- package/src/domain/user_stories/README.md +129 -0
- package/src/domain/user_stories/__init__.py +46 -0
- package/src/domain/user_stories/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/user_stories/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/domain/user_stories/__pycache__/entities.cpython-312.pyc +0 -0
- package/src/domain/user_stories/__pycache__/entities.cpython-313.pyc +0 -0
- package/src/domain/user_stories/__pycache__/repositories.cpython-312.pyc +0 -0
- package/src/domain/user_stories/__pycache__/repositories.cpython-313.pyc +0 -0
- package/src/domain/user_stories/__pycache__/value_objects.cpython-312.pyc +0 -0
- package/src/domain/user_stories/__pycache__/value_objects.cpython-313.pyc +0 -0
- package/src/domain/user_stories/entities.py +385 -0
- package/src/domain/user_stories/repositories.py +333 -0
- package/src/domain/user_stories/value_objects.py +383 -0
- package/src/domain/user_story_chat/README.md +83 -0
- package/src/domain/user_story_chat/__init__.py +34 -0
- package/src/domain/user_story_chat/entities.py +171 -0
- package/src/domain/user_story_chat/repositories.py +74 -0
- package/src/domain/user_story_chat/value_objects.py +140 -0
- package/src/domain/workspace/README.md +114 -0
- package/src/domain/workspace/__init__.py +74 -0
- package/src/domain/workspace/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/domain/workspace/__pycache__/entities.cpython-312.pyc +0 -0
- package/src/domain/workspace/__pycache__/event_handlers.cpython-312.pyc +0 -0
- package/src/domain/workspace/__pycache__/events.cpython-312.pyc +0 -0
- package/src/domain/workspace/__pycache__/value_objects.cpython-312.pyc +0 -0
- package/src/domain/workspace/__pycache__/workspace.cpython-312.pyc +0 -0
- package/src/domain/workspace/__pycache__/workspace_repository.cpython-312.pyc +0 -0
- package/src/domain/workspace/change_detection_vos.py +331 -0
- package/src/domain/workspace/entities.py +184 -0
- package/src/domain/workspace/event_handlers.py +140 -0
- package/src/domain/workspace/events.py +294 -0
- package/src/domain/workspace/value_objects.py +493 -0
- package/src/domain/workspace/workspace.py +282 -0
- package/src/domain/workspace/workspace_repository.py +238 -0
- package/src/infrastructure/README.md +310 -0
- package/src/infrastructure/__init__.py +0 -0
- package/src/infrastructure/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/infrastructure/__pycache__/workspace_cli.cpython-312.pyc +0 -0
- package/src/infrastructure/cli/__init__.py +1 -0
- package/src/infrastructure/cli/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/cli/commands/__init__.py +1 -0
- package/src/infrastructure/cli/commands/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/cli/commands/__pycache__/yaml_commands.cpython-312.pyc +0 -0
- package/src/infrastructure/cli/commands/yaml_commands.py +577 -0
- package/src/infrastructure/code_management/__init__.py +31 -0
- package/src/infrastructure/code_management/code_analysis_repository.py +399 -0
- package/src/infrastructure/code_management/converters.py +206 -0
- package/src/infrastructure/code_management/examples.py +362 -0
- package/src/infrastructure/code_management/ollama_semantic_repository.py +409 -0
- package/src/infrastructure/code_management/sqlite_code_repository.py +341 -0
- package/src/infrastructure/context_memory/__init__.py +0 -0
- package/src/infrastructure/context_memory/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/context_memory/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/infrastructure/context_memory/__pycache__/converters.cpython-312.pyc +0 -0
- package/src/infrastructure/context_memory/__pycache__/converters.cpython-313.pyc +0 -0
- package/src/infrastructure/context_memory/__pycache__/sqlite_session_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/context_memory/__pycache__/sqlite_session_repository.cpython-313.pyc +0 -0
- package/src/infrastructure/context_memory/converters.py +220 -0
- package/src/infrastructure/context_memory/sqlite_context_entry_repository.py +422 -0
- package/src/infrastructure/context_memory/sqlite_session_repository.py +448 -0
- package/src/infrastructure/context_memory/sqlite_todo_repository.py +442 -0
- package/src/infrastructure/domain_maps/__init__.py +17 -0
- package/src/infrastructure/domain_maps/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/domain_maps/__pycache__/converters.cpython-312.pyc +0 -0
- package/src/infrastructure/domain_maps/__pycache__/sqlite_domain_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/domain_maps/__pycache__/sqlite_workspace_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/domain_maps/converters.py +214 -0
- package/src/infrastructure/domain_maps/sqlite_domain_repository.py +293 -0
- package/src/infrastructure/domain_maps/sqlite_workspace_repository.py +377 -0
- package/src/infrastructure/event_adapters/__init__.py +10 -0
- package/src/infrastructure/event_adapters/hybrid_adapter.py +181 -0
- package/src/infrastructure/event_adapters/memory_adapter.py +234 -0
- package/src/infrastructure/event_bus/README.md +284 -0
- package/src/infrastructure/event_bus/__init__.py +27 -0
- package/src/infrastructure/event_bus/base.py +263 -0
- package/src/infrastructure/event_bus/decorators.py +351 -0
- package/src/infrastructure/event_bus/event_persistence.py +131 -0
- package/src/infrastructure/event_bus/event_queries.py +210 -0
- package/src/infrastructure/event_bus/event_reconstruction.py +111 -0
- package/src/infrastructure/event_bus/event_sourcing_operations.py +180 -0
- package/src/infrastructure/event_bus/examples.py +411 -0
- package/src/infrastructure/event_bus/hybrid_event_bus.py +360 -0
- package/src/infrastructure/event_bus/in_memory_event_bus.py +328 -0
- package/src/infrastructure/event_bus/sqlite_event_store.py +310 -0
- package/src/infrastructure/event_bus_adapter.py +320 -0
- package/src/infrastructure/file_governance/__init__.py +0 -0
- package/src/infrastructure/file_governance/converters.py +182 -0
- package/src/infrastructure/file_governance/sqlite_file_rule_repository.py +410 -0
- package/src/infrastructure/git_repo_cli.py +368 -0
- package/src/infrastructure/git_repository/__init__.py +0 -0
- package/src/infrastructure/git_repository/converters.py +139 -0
- package/src/infrastructure/git_repository/git_repository_impl.py +333 -0
- package/src/infrastructure/git_repository/git_stats_operations.py +127 -0
- package/src/infrastructure/git_repository/git_status_operations.py +165 -0
- package/src/infrastructure/governance/__init__.py +20 -0
- package/src/infrastructure/governance/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/governance/__pycache__/artifact_storage.cpython-312.pyc +0 -0
- package/src/infrastructure/governance/artifact_storage.py +584 -0
- package/src/infrastructure/kanban/__init__.py +9 -0
- package/src/infrastructure/kanban/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/kanban/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/infrastructure/kanban/__pycache__/sqlite_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/kanban/__pycache__/sqlite_repository.cpython-313.pyc +0 -0
- package/src/infrastructure/kanban/sqlite_repository.py +960 -0
- package/src/infrastructure/llm/__pycache__/domain_map_llm.cpython-312.pyc +0 -0
- package/src/infrastructure/llm/domain_map_llm.py +649 -0
- package/src/infrastructure/lsp/__pycache__/language_server_manager.cpython-312.pyc +0 -0
- package/src/infrastructure/lsp/language_server_manager.py +706 -0
- package/src/infrastructure/mobile/__init__.py +19 -0
- package/src/infrastructure/mobile/adb_adapter.py +687 -0
- package/src/infrastructure/mobile/xcrun_adapter.py +621 -0
- package/src/infrastructure/orchestration/__init__.py +15 -0
- package/src/infrastructure/orchestration/config_loader.py +416 -0
- package/src/infrastructure/rag/REQUIREMENTS_cli_metadata_loader.md +315 -0
- package/src/infrastructure/rag/__init__.py +9 -0
- package/src/infrastructure/rag/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/document_loader_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/domain_map_loader.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/gitignore_aware_loader.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/hierarchical_domain_inference.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/oracle_document_loader.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/oracle_governance_loader.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/vector_store_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/vector_store_repository.cpython-313.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/vector_store_repository_observable.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/__pycache__/workspace_utils.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/cli_metadata_loader.py +456 -0
- package/src/infrastructure/rag/document_loader_repository.py +1495 -0
- package/src/infrastructure/rag/domain_map_loader.py +117 -0
- package/src/infrastructure/rag/domain_map_repository.py +207 -0
- package/src/infrastructure/rag/extractors/__init__.py +13 -0
- package/src/infrastructure/rag/extractors/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/extractors/__pycache__/category_extractor.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/extractors/__pycache__/command_extractor.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/extractors/__pycache__/intent_classifier.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/extractors/__pycache__/skill_extractor.cpython-312.pyc +0 -0
- package/src/infrastructure/rag/extractors/category_extractor.py +89 -0
- package/src/infrastructure/rag/extractors/command_extractor.py +138 -0
- package/src/infrastructure/rag/extractors/intent_classifier.py +181 -0
- package/src/infrastructure/rag/extractors/skill_extractor.py +115 -0
- package/src/infrastructure/rag/gitignore_aware_loader.py +709 -0
- package/src/infrastructure/rag/hierarchical_domain_inference.py +385 -0
- package/src/infrastructure/rag/llm_content_optimizer.py +93 -0
- package/src/infrastructure/rag/oracle_document_loader.py +228 -0
- package/src/infrastructure/rag/oracle_governance_loader.py +285 -0
- package/src/infrastructure/rag/project_structure_detector.py +662 -0
- package/src/infrastructure/rag/strategic_document_loader.py +259 -0
- package/src/infrastructure/rag/subprocess_rag_client.py +348 -0
- package/src/infrastructure/rag/template_repository.py +192 -0
- package/src/infrastructure/rag/type_filter_aliases.py +234 -0
- package/src/infrastructure/rag/vector_store_repository.py +490 -0
- package/src/infrastructure/rag/vector_store_repository_observable.py +417 -0
- package/src/infrastructure/rag/workspace_utils.py +155 -0
- package/src/infrastructure/roadmap/__init__.py +5 -0
- package/src/infrastructure/roadmap/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/roadmap/__pycache__/sqlite_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/roadmap/schema.sql +123 -0
- package/src/infrastructure/roadmap/sqlite_repository.py +497 -0
- package/src/infrastructure/security/README.md +164 -0
- package/src/infrastructure/security/__init__.py +5 -0
- package/src/infrastructure/security/dacl_kanban_repository.py +456 -0
- package/src/infrastructure/security/database_access_control.py +423 -0
- package/src/infrastructure/security/privilege_system.py +215 -0
- package/src/infrastructure/security/workflow_enforcer.py +326 -0
- package/src/infrastructure/tui/__init__.py +9 -0
- package/src/infrastructure/tui/jarvis_integrated_tui.py +582 -0
- package/src/infrastructure/user_stories/__init__.py +31 -0
- package/src/infrastructure/user_stories/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/user_stories/__pycache__/converters.cpython-312.pyc +0 -0
- package/src/infrastructure/user_stories/__pycache__/yaml_user_story_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/user_stories/converters.py +316 -0
- package/src/infrastructure/user_stories/yaml_user_story_repository.py +551 -0
- package/src/infrastructure/user_story_chat/__init__.py +9 -0
- package/src/infrastructure/user_story_chat/langchain_adapter.py +22 -0
- package/src/infrastructure/user_story_chat/langchain_chat_repository.py +190 -0
- package/src/infrastructure/workspace/__init__.py +15 -0
- package/src/infrastructure/workspace/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/infrastructure/workspace/__pycache__/converters.cpython-312.pyc +0 -0
- package/src/infrastructure/workspace/__pycache__/event_bus.cpython-312.pyc +0 -0
- package/src/infrastructure/workspace/__pycache__/sqlite_workspace_dependency_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/workspace/__pycache__/sqlite_workspace_repository.cpython-312.pyc +0 -0
- package/src/infrastructure/workspace/change_detection_handler.py +119 -0
- package/src/infrastructure/workspace/converters.py +71 -0
- package/src/infrastructure/workspace/error_detection_handler.py +284 -0
- package/src/infrastructure/workspace/event_bus.py +217 -0
- package/src/infrastructure/workspace/jarvis_rag_client.py +288 -0
- package/src/infrastructure/workspace/sqlite_workspace_dependency_repository.py +419 -0
- package/src/infrastructure/workspace/sqlite_workspace_repository.py +358 -0
- package/src/infrastructure/workspace_cli.py +457 -0
- package/src/jarvis_opencode.egg-info/PKG-INFO +7 -0
- package/src/jarvis_opencode.egg-info/SOURCES.txt +279 -0
- package/src/jarvis_opencode.egg-info/dependency_links.txt +1 -0
- package/src/jarvis_opencode.egg-info/top_level.txt +7 -0
- package/src/shared/__init__.py +1 -0
- package/src/shared/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/shared/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/shared/__pycache__/jarvis_home.cpython-312.pyc +0 -0
- package/src/shared/__pycache__/jarvis_home.cpython-313.pyc +0 -0
- package/src/shared/__pycache__/paths.cpython-312.pyc +0 -0
- package/src/shared/__pycache__/paths.cpython-313.pyc +0 -0
- package/src/shared/__pycache__/workspace_paths.cpython-312.pyc +0 -0
- package/src/shared/cli/__init__.py +23 -0
- package/src/shared/cli/__pycache__/__init__.cpython-312.pyc +0 -0
- package/src/shared/cli/__pycache__/__init__.cpython-313.pyc +0 -0
- package/src/shared/cli/__pycache__/output_mode.cpython-312.pyc +0 -0
- package/src/shared/cli/__pycache__/output_mode.cpython-313.pyc +0 -0
- package/src/shared/cli/output_mode.py +139 -0
- package/src/shared/jarvis_home.py +138 -0
- package/src/shared/logging_config.py +76 -0
- package/src/shared/ollama_config.py +75 -0
- package/src/shared/paths.py +332 -0
- package/src/shared/ui/__pycache__/kanban_ui.cpython-312.pyc +0 -0
- package/src/shared/ui/__pycache__/kanban_ui.cpython-313.pyc +0 -0
- package/src/shared/ui/__pycache__/terminal_ui.cpython-312.pyc +0 -0
- package/src/shared/ui/domain_ui.py +410 -0
- package/src/shared/ui/kanban_ui.py +660 -0
- package/src/shared/ui/rag_ui.py +571 -0
- package/src/shared/ui/terminal_ui.py +219 -0
- package/src/shared/workspace_ollama_config.py +270 -0
- package/src/shared/workspace_paths.py +379 -0
- package/QUICK-GUIDE.md +0 -67
- package/dist/application/agent-registry/dtos.d.ts +0 -66
- package/dist/application/agent-registry/dtos.d.ts.map +0 -1
- package/dist/application/agent-registry/dtos.js +0 -11
- package/dist/application/agent-registry/dtos.js.map +0 -1
- package/dist/application/agent-registry/use-cases.d.ts +0 -39
- package/dist/application/agent-registry/use-cases.d.ts.map +0 -1
- package/dist/application/agent-registry/use-cases.js +0 -222
- package/dist/application/agent-registry/use-cases.js.map +0 -1
- package/dist/application/azure-sync/dtos.d.ts +0 -210
- package/dist/application/azure-sync/dtos.d.ts.map +0 -1
- package/dist/application/azure-sync/dtos.js +0 -11
- package/dist/application/azure-sync/dtos.js.map +0 -1
- package/dist/application/azure-sync/field-builders.d.ts +0 -54
- package/dist/application/azure-sync/field-builders.d.ts.map +0 -1
- package/dist/application/azure-sync/field-builders.js +0 -166
- package/dist/application/azure-sync/field-builders.js.map +0 -1
- package/dist/application/azure-sync/index.d.ts +0 -18
- package/dist/application/azure-sync/index.d.ts.map +0 -1
- package/dist/application/azure-sync/index.js +0 -11
- package/dist/application/azure-sync/index.js.map +0 -1
- package/dist/application/azure-sync/poll-service.d.ts +0 -94
- package/dist/application/azure-sync/poll-service.d.ts.map +0 -1
- package/dist/application/azure-sync/poll-service.js +0 -227
- package/dist/application/azure-sync/poll-service.js.map +0 -1
- package/dist/application/azure-sync/pr-use-cases.d.ts +0 -39
- package/dist/application/azure-sync/pr-use-cases.d.ts.map +0 -1
- package/dist/application/azure-sync/pr-use-cases.js +0 -192
- package/dist/application/azure-sync/pr-use-cases.js.map +0 -1
- package/dist/application/azure-sync/pull-use-cases.d.ts +0 -43
- package/dist/application/azure-sync/pull-use-cases.d.ts.map +0 -1
- package/dist/application/azure-sync/pull-use-cases.js +0 -322
- package/dist/application/azure-sync/pull-use-cases.js.map +0 -1
- package/dist/application/azure-sync/push-use-cases.d.ts +0 -58
- package/dist/application/azure-sync/push-use-cases.d.ts.map +0 -1
- package/dist/application/azure-sync/push-use-cases.js +0 -367
- package/dist/application/azure-sync/push-use-cases.js.map +0 -1
- package/dist/application/azure-sync/reverse-field-builder.d.ts +0 -52
- package/dist/application/azure-sync/reverse-field-builder.d.ts.map +0 -1
- package/dist/application/azure-sync/reverse-field-builder.js +0 -130
- package/dist/application/azure-sync/reverse-field-builder.js.map +0 -1
- package/dist/application/azure-sync/task-push-use-cases.d.ts +0 -68
- package/dist/application/azure-sync/task-push-use-cases.d.ts.map +0 -1
- package/dist/application/azure-sync/task-push-use-cases.js +0 -162
- package/dist/application/azure-sync/task-push-use-cases.js.map +0 -1
- package/dist/application/bootstrap/healthcheck-use-cases.d.ts +0 -68
- package/dist/application/bootstrap/healthcheck-use-cases.d.ts.map +0 -1
- package/dist/application/bootstrap/healthcheck-use-cases.js +0 -303
- package/dist/application/bootstrap/healthcheck-use-cases.js.map +0 -1
- package/dist/application/bootstrap/index.d.ts +0 -12
- package/dist/application/bootstrap/index.d.ts.map +0 -1
- package/dist/application/bootstrap/index.js +0 -9
- package/dist/application/bootstrap/index.js.map +0 -1
- package/dist/application/bootstrap/terminal-commands-use-cases.d.ts +0 -72
- package/dist/application/bootstrap/terminal-commands-use-cases.d.ts.map +0 -1
- package/dist/application/bootstrap/terminal-commands-use-cases.js +0 -132
- package/dist/application/bootstrap/terminal-commands-use-cases.js.map +0 -1
- package/dist/application/bootstrap/use-cases.d.ts +0 -69
- package/dist/application/bootstrap/use-cases.d.ts.map +0 -1
- package/dist/application/bootstrap/use-cases.js +0 -206
- package/dist/application/bootstrap/use-cases.js.map +0 -1
- package/dist/application/config/config-service.d.ts +0 -66
- package/dist/application/config/config-service.d.ts.map +0 -1
- package/dist/application/config/config-service.js +0 -114
- package/dist/application/config/config-service.js.map +0 -1
- package/dist/application/config/config-write-service.d.ts +0 -86
- package/dist/application/config/config-write-service.d.ts.map +0 -1
- package/dist/application/config/config-write-service.js +0 -237
- package/dist/application/config/config-write-service.js.map +0 -1
- package/dist/application/config/index.d.ts +0 -7
- package/dist/application/config/index.d.ts.map +0 -1
- package/dist/application/config/index.js +0 -6
- package/dist/application/config/index.js.map +0 -1
- package/dist/application/context-memory/dtos.d.ts +0 -100
- package/dist/application/context-memory/dtos.d.ts.map +0 -1
- package/dist/application/context-memory/dtos.js +0 -11
- package/dist/application/context-memory/dtos.js.map +0 -1
- package/dist/application/context-memory/execution-journal-use-cases.d.ts +0 -69
- package/dist/application/context-memory/execution-journal-use-cases.d.ts.map +0 -1
- package/dist/application/context-memory/execution-journal-use-cases.js +0 -89
- package/dist/application/context-memory/execution-journal-use-cases.js.map +0 -1
- package/dist/application/context-memory/note-use-cases.d.ts +0 -22
- package/dist/application/context-memory/note-use-cases.d.ts.map +0 -1
- package/dist/application/context-memory/note-use-cases.js +0 -76
- package/dist/application/context-memory/note-use-cases.js.map +0 -1
- package/dist/application/context-memory/session-use-cases.d.ts +0 -23
- package/dist/application/context-memory/session-use-cases.d.ts.map +0 -1
- package/dist/application/context-memory/session-use-cases.js +0 -63
- package/dist/application/context-memory/session-use-cases.js.map +0 -1
- package/dist/application/context-memory/todo-use-cases.d.ts +0 -25
- package/dist/application/context-memory/todo-use-cases.d.ts.map +0 -1
- package/dist/application/context-memory/todo-use-cases.js +0 -100
- package/dist/application/context-memory/todo-use-cases.js.map +0 -1
- package/dist/application/domain-map/dtos.d.ts +0 -58
- package/dist/application/domain-map/dtos.d.ts.map +0 -1
- package/dist/application/domain-map/dtos.js +0 -11
- package/dist/application/domain-map/dtos.js.map +0 -1
- package/dist/application/domain-map/use-cases.d.ts +0 -64
- package/dist/application/domain-map/use-cases.d.ts.map +0 -1
- package/dist/application/domain-map/use-cases.js +0 -217
- package/dist/application/domain-map/use-cases.js.map +0 -1
- package/dist/application/environment/dtos.d.ts +0 -74
- package/dist/application/environment/dtos.d.ts.map +0 -1
- package/dist/application/environment/dtos.js +0 -10
- package/dist/application/environment/dtos.js.map +0 -1
- package/dist/application/environment/use-cases.d.ts +0 -29
- package/dist/application/environment/use-cases.d.ts.map +0 -1
- package/dist/application/environment/use-cases.js +0 -232
- package/dist/application/environment/use-cases.js.map +0 -1
- package/dist/application/governance/validation-use-cases.d.ts +0 -45
- package/dist/application/governance/validation-use-cases.d.ts.map +0 -1
- package/dist/application/governance/validation-use-cases.js +0 -51
- package/dist/application/governance/validation-use-cases.js.map +0 -1
- package/dist/application/kanban/board-use-cases.d.ts +0 -45
- package/dist/application/kanban/board-use-cases.d.ts.map +0 -1
- package/dist/application/kanban/board-use-cases.js +0 -138
- package/dist/application/kanban/board-use-cases.js.map +0 -1
- package/dist/application/kanban/card-use-cases.d.ts +0 -66
- package/dist/application/kanban/card-use-cases.d.ts.map +0 -1
- package/dist/application/kanban/card-use-cases.js +0 -396
- package/dist/application/kanban/card-use-cases.js.map +0 -1
- package/dist/application/kanban/dtos.d.ts +0 -224
- package/dist/application/kanban/dtos.d.ts.map +0 -1
- package/dist/application/kanban/dtos.js +0 -11
- package/dist/application/kanban/dtos.js.map +0 -1
- package/dist/application/kanban/sprint-use-cases.d.ts +0 -34
- package/dist/application/kanban/sprint-use-cases.d.ts.map +0 -1
- package/dist/application/kanban/sprint-use-cases.js +0 -243
- package/dist/application/kanban/sprint-use-cases.js.map +0 -1
- package/dist/application/mcp/index.d.ts +0 -10
- package/dist/application/mcp/index.d.ts.map +0 -1
- package/dist/application/mcp/index.js +0 -8
- package/dist/application/mcp/index.js.map +0 -1
- package/dist/application/mcp/middleware.d.ts +0 -91
- package/dist/application/mcp/middleware.d.ts.map +0 -1
- package/dist/application/mcp/middleware.js +0 -84
- package/dist/application/mcp/middleware.js.map +0 -1
- package/dist/application/mcp/tool-adapter.d.ts +0 -72
- package/dist/application/mcp/tool-adapter.d.ts.map +0 -1
- package/dist/application/mcp/tool-adapter.js +0 -132
- package/dist/application/mcp/tool-adapter.js.map +0 -1
- package/dist/application/pipeline/dtos.d.ts +0 -135
- package/dist/application/pipeline/dtos.d.ts.map +0 -1
- package/dist/application/pipeline/dtos.js +0 -11
- package/dist/application/pipeline/dtos.js.map +0 -1
- package/dist/application/pipeline/index.d.ts +0 -8
- package/dist/application/pipeline/index.d.ts.map +0 -1
- package/dist/application/pipeline/index.js +0 -7
- package/dist/application/pipeline/index.js.map +0 -1
- package/dist/application/pipeline/use-cases.d.ts +0 -67
- package/dist/application/pipeline/use-cases.d.ts.map +0 -1
- package/dist/application/pipeline/use-cases.js +0 -413
- package/dist/application/pipeline/use-cases.js.map +0 -1
- package/dist/application/rag/dtos.d.ts +0 -119
- package/dist/application/rag/dtos.d.ts.map +0 -1
- package/dist/application/rag/dtos.js +0 -11
- package/dist/application/rag/dtos.js.map +0 -1
- package/dist/application/rag/oracle-use-cases.d.ts +0 -30
- package/dist/application/rag/oracle-use-cases.d.ts.map +0 -1
- package/dist/application/rag/oracle-use-cases.js +0 -91
- package/dist/application/rag/oracle-use-cases.js.map +0 -1
- package/dist/application/rag/use-cases.d.ts +0 -45
- package/dist/application/rag/use-cases.d.ts.map +0 -1
- package/dist/application/rag/use-cases.js +0 -377
- package/dist/application/rag/use-cases.js.map +0 -1
- package/dist/application/token-metrics/dtos.d.ts +0 -138
- package/dist/application/token-metrics/dtos.d.ts.map +0 -1
- package/dist/application/token-metrics/dtos.js +0 -11
- package/dist/application/token-metrics/dtos.js.map +0 -1
- package/dist/application/token-metrics/tracking-use-cases.d.ts +0 -54
- package/dist/application/token-metrics/tracking-use-cases.d.ts.map +0 -1
- package/dist/application/token-metrics/tracking-use-cases.js +0 -288
- package/dist/application/token-metrics/tracking-use-cases.js.map +0 -1
- package/dist/application/vault/dtos.d.ts +0 -91
- package/dist/application/vault/dtos.d.ts.map +0 -1
- package/dist/application/vault/dtos.js +0 -11
- package/dist/application/vault/dtos.js.map +0 -1
- package/dist/application/vault/use-cases.d.ts +0 -30
- package/dist/application/vault/use-cases.d.ts.map +0 -1
- package/dist/application/vault/use-cases.js +0 -307
- package/dist/application/vault/use-cases.js.map +0 -1
- package/dist/application/vault/vault-manager.d.ts +0 -47
- package/dist/application/vault/vault-manager.d.ts.map +0 -1
- package/dist/application/vault/vault-manager.js +0 -272
- package/dist/application/vault/vault-manager.js.map +0 -1
- package/dist/application/workspace-registry/dtos.d.ts +0 -91
- package/dist/application/workspace-registry/dtos.d.ts.map +0 -1
- package/dist/application/workspace-registry/dtos.js +0 -11
- package/dist/application/workspace-registry/dtos.js.map +0 -1
- package/dist/application/workspace-registry/use-cases.d.ts +0 -29
- package/dist/application/workspace-registry/use-cases.d.ts.map +0 -1
- package/dist/application/workspace-registry/use-cases.js +0 -249
- package/dist/application/workspace-registry/use-cases.js.map +0 -1
- package/dist/cli/config-wizard.d.ts +0 -14
- package/dist/cli/config-wizard.d.ts.map +0 -1
- package/dist/cli/config-wizard.js +0 -120
- package/dist/cli/config-wizard.js.map +0 -1
- package/dist/cli/section-editors.d.ts +0 -33
- package/dist/cli/section-editors.d.ts.map +0 -1
- package/dist/cli/section-editors.js +0 -286
- package/dist/cli/section-editors.js.map +0 -1
- package/dist/cli/wizard-prompts.d.ts +0 -76
- package/dist/cli/wizard-prompts.d.ts.map +0 -1
- package/dist/cli/wizard-prompts.js +0 -98
- package/dist/cli/wizard-prompts.js.map +0 -1
- package/dist/domain/agent-registry/entities.d.ts +0 -68
- package/dist/domain/agent-registry/entities.d.ts.map +0 -1
- package/dist/domain/agent-registry/entities.js +0 -177
- package/dist/domain/agent-registry/entities.js.map +0 -1
- package/dist/domain/agent-registry/repositories.d.ts +0 -56
- package/dist/domain/agent-registry/repositories.d.ts.map +0 -1
- package/dist/domain/agent-registry/repositories.js +0 -12
- package/dist/domain/agent-registry/repositories.js.map +0 -1
- package/dist/domain/agent-registry/services.d.ts +0 -87
- package/dist/domain/agent-registry/services.d.ts.map +0 -1
- package/dist/domain/agent-registry/services.js +0 -188
- package/dist/domain/agent-registry/services.js.map +0 -1
- package/dist/domain/agent-registry/value-objects.d.ts +0 -145
- package/dist/domain/agent-registry/value-objects.d.ts.map +0 -1
- package/dist/domain/agent-registry/value-objects.js +0 -339
- package/dist/domain/agent-registry/value-objects.js.map +0 -1
- package/dist/domain/azure-sync/entities.d.ts +0 -222
- package/dist/domain/azure-sync/entities.d.ts.map +0 -1
- package/dist/domain/azure-sync/entities.js +0 -262
- package/dist/domain/azure-sync/entities.js.map +0 -1
- package/dist/domain/azure-sync/index.d.ts +0 -16
- package/dist/domain/azure-sync/index.d.ts.map +0 -1
- package/dist/domain/azure-sync/index.js +0 -14
- package/dist/domain/azure-sync/index.js.map +0 -1
- package/dist/domain/azure-sync/ports.d.ts +0 -119
- package/dist/domain/azure-sync/ports.d.ts.map +0 -1
- package/dist/domain/azure-sync/ports.js +0 -13
- package/dist/domain/azure-sync/ports.js.map +0 -1
- package/dist/domain/azure-sync/repositories.d.ts +0 -73
- package/dist/domain/azure-sync/repositories.d.ts.map +0 -1
- package/dist/domain/azure-sync/repositories.js +0 -11
- package/dist/domain/azure-sync/repositories.js.map +0 -1
- package/dist/domain/azure-sync/services.d.ts +0 -107
- package/dist/domain/azure-sync/services.d.ts.map +0 -1
- package/dist/domain/azure-sync/services.js +0 -316
- package/dist/domain/azure-sync/services.js.map +0 -1
- package/dist/domain/azure-sync/value-objects.d.ts +0 -151
- package/dist/domain/azure-sync/value-objects.d.ts.map +0 -1
- package/dist/domain/azure-sync/value-objects.js +0 -388
- package/dist/domain/azure-sync/value-objects.js.map +0 -1
- package/dist/domain/config/index.d.ts +0 -9
- package/dist/domain/config/index.d.ts.map +0 -1
- package/dist/domain/config/index.js +0 -7
- package/dist/domain/config/index.js.map +0 -1
- package/dist/domain/config/repositories.d.ts +0 -56
- package/dist/domain/config/repositories.d.ts.map +0 -1
- package/dist/domain/config/repositories.js +0 -12
- package/dist/domain/config/repositories.js.map +0 -1
- package/dist/domain/config/value-objects.d.ts +0 -129
- package/dist/domain/config/value-objects.d.ts.map +0 -1
- package/dist/domain/config/value-objects.js +0 -101
- package/dist/domain/config/value-objects.js.map +0 -1
- package/dist/domain/context-memory/entities.d.ts +0 -171
- package/dist/domain/context-memory/entities.d.ts.map +0 -1
- package/dist/domain/context-memory/entities.js +0 -319
- package/dist/domain/context-memory/entities.js.map +0 -1
- package/dist/domain/context-memory/repositories.d.ts +0 -59
- package/dist/domain/context-memory/repositories.d.ts.map +0 -1
- package/dist/domain/context-memory/repositories.js +0 -2
- package/dist/domain/context-memory/repositories.js.map +0 -1
- package/dist/domain/context-memory/services.d.ts +0 -62
- package/dist/domain/context-memory/services.d.ts.map +0 -1
- package/dist/domain/context-memory/services.js +0 -162
- package/dist/domain/context-memory/services.js.map +0 -1
- package/dist/domain/context-memory/value-objects.d.ts +0 -82
- package/dist/domain/context-memory/value-objects.d.ts.map +0 -1
- package/dist/domain/context-memory/value-objects.js +0 -143
- package/dist/domain/context-memory/value-objects.js.map +0 -1
- package/dist/domain/domain-map/repositories.d.ts +0 -126
- package/dist/domain/domain-map/repositories.d.ts.map +0 -1
- package/dist/domain/domain-map/repositories.js +0 -2
- package/dist/domain/domain-map/repositories.js.map +0 -1
- package/dist/domain/domain-map/services.d.ts +0 -108
- package/dist/domain/domain-map/services.d.ts.map +0 -1
- package/dist/domain/domain-map/services.js +0 -335
- package/dist/domain/domain-map/services.js.map +0 -1
- package/dist/domain/domain-map/value-objects.d.ts +0 -186
- package/dist/domain/domain-map/value-objects.d.ts.map +0 -1
- package/dist/domain/domain-map/value-objects.js +0 -215
- package/dist/domain/domain-map/value-objects.js.map +0 -1
- package/dist/domain/environment/entities.d.ts +0 -93
- package/dist/domain/environment/entities.d.ts.map +0 -1
- package/dist/domain/environment/entities.js +0 -207
- package/dist/domain/environment/entities.js.map +0 -1
- package/dist/domain/environment/renderers.d.ts +0 -30
- package/dist/domain/environment/renderers.d.ts.map +0 -1
- package/dist/domain/environment/renderers.js +0 -139
- package/dist/domain/environment/renderers.js.map +0 -1
- package/dist/domain/environment/repositories.d.ts +0 -73
- package/dist/domain/environment/repositories.d.ts.map +0 -1
- package/dist/domain/environment/repositories.js +0 -16
- package/dist/domain/environment/repositories.js.map +0 -1
- package/dist/domain/environment/services.d.ts +0 -62
- package/dist/domain/environment/services.d.ts.map +0 -1
- package/dist/domain/environment/services.js +0 -282
- package/dist/domain/environment/services.js.map +0 -1
- package/dist/domain/environment/value-objects.d.ts +0 -127
- package/dist/domain/environment/value-objects.d.ts.map +0 -1
- package/dist/domain/environment/value-objects.js +0 -179
- package/dist/domain/environment/value-objects.js.map +0 -1
- package/dist/domain/governance/policies.d.ts +0 -42
- package/dist/domain/governance/policies.d.ts.map +0 -1
- package/dist/domain/governance/policies.js +0 -374
- package/dist/domain/governance/policies.js.map +0 -1
- package/dist/domain/governance/services.d.ts +0 -38
- package/dist/domain/governance/services.d.ts.map +0 -1
- package/dist/domain/governance/services.js +0 -42
- package/dist/domain/governance/services.js.map +0 -1
- package/dist/domain/kanban/entities.d.ts +0 -157
- package/dist/domain/kanban/entities.d.ts.map +0 -1
- package/dist/domain/kanban/entities.js +0 -374
- package/dist/domain/kanban/entities.js.map +0 -1
- package/dist/domain/kanban/grooming.d.ts +0 -60
- package/dist/domain/kanban/grooming.d.ts.map +0 -1
- package/dist/domain/kanban/grooming.js +0 -88
- package/dist/domain/kanban/grooming.js.map +0 -1
- package/dist/domain/kanban/repositories.d.ts +0 -41
- package/dist/domain/kanban/repositories.d.ts.map +0 -1
- package/dist/domain/kanban/repositories.js +0 -2
- package/dist/domain/kanban/repositories.js.map +0 -1
- package/dist/domain/kanban/services.d.ts +0 -63
- package/dist/domain/kanban/services.d.ts.map +0 -1
- package/dist/domain/kanban/services.js +0 -181
- package/dist/domain/kanban/services.js.map +0 -1
- package/dist/domain/kanban/sprint.d.ts +0 -103
- package/dist/domain/kanban/sprint.d.ts.map +0 -1
- package/dist/domain/kanban/sprint.js +0 -192
- package/dist/domain/kanban/sprint.js.map +0 -1
- package/dist/domain/kanban/value-objects.d.ts +0 -139
- package/dist/domain/kanban/value-objects.d.ts.map +0 -1
- package/dist/domain/kanban/value-objects.js +0 -220
- package/dist/domain/kanban/value-objects.js.map +0 -1
- package/dist/domain/pipeline/gate.d.ts +0 -75
- package/dist/domain/pipeline/gate.d.ts.map +0 -1
- package/dist/domain/pipeline/gate.js +0 -158
- package/dist/domain/pipeline/gate.js.map +0 -1
- package/dist/domain/pipeline/index.d.ts +0 -13
- package/dist/domain/pipeline/index.d.ts.map +0 -1
- package/dist/domain/pipeline/index.js +0 -14
- package/dist/domain/pipeline/index.js.map +0 -1
- package/dist/domain/pipeline/pipeline.d.ts +0 -99
- package/dist/domain/pipeline/pipeline.d.ts.map +0 -1
- package/dist/domain/pipeline/pipeline.js +0 -257
- package/dist/domain/pipeline/pipeline.js.map +0 -1
- package/dist/domain/pipeline/ports.d.ts +0 -120
- package/dist/domain/pipeline/ports.d.ts.map +0 -1
- package/dist/domain/pipeline/ports.js +0 -12
- package/dist/domain/pipeline/ports.js.map +0 -1
- package/dist/domain/pipeline/repositories.d.ts +0 -66
- package/dist/domain/pipeline/repositories.d.ts.map +0 -1
- package/dist/domain/pipeline/repositories.js +0 -11
- package/dist/domain/pipeline/repositories.js.map +0 -1
- package/dist/domain/pipeline/services.d.ts +0 -77
- package/dist/domain/pipeline/services.d.ts.map +0 -1
- package/dist/domain/pipeline/services.js +0 -156
- package/dist/domain/pipeline/services.js.map +0 -1
- package/dist/domain/pipeline/value-objects.d.ts +0 -117
- package/dist/domain/pipeline/value-objects.d.ts.map +0 -1
- package/dist/domain/pipeline/value-objects.js +0 -313
- package/dist/domain/pipeline/value-objects.js.map +0 -1
- package/dist/domain/rag/repositories.d.ts +0 -194
- package/dist/domain/rag/repositories.d.ts.map +0 -1
- package/dist/domain/rag/repositories.js +0 -2
- package/dist/domain/rag/repositories.js.map +0 -1
- package/dist/domain/rag/services.d.ts +0 -67
- package/dist/domain/rag/services.d.ts.map +0 -1
- package/dist/domain/rag/services.js +0 -262
- package/dist/domain/rag/services.js.map +0 -1
- package/dist/domain/rag/value-objects.d.ts +0 -125
- package/dist/domain/rag/value-objects.d.ts.map +0 -1
- package/dist/domain/rag/value-objects.js +0 -120
- package/dist/domain/rag/value-objects.js.map +0 -1
- package/dist/domain/shared/value-objects.d.ts +0 -56
- package/dist/domain/shared/value-objects.d.ts.map +0 -1
- package/dist/domain/shared/value-objects.js +0 -89
- package/dist/domain/shared/value-objects.js.map +0 -1
- package/dist/domain/token-metrics/entities.d.ts +0 -90
- package/dist/domain/token-metrics/entities.d.ts.map +0 -1
- package/dist/domain/token-metrics/entities.js +0 -115
- package/dist/domain/token-metrics/entities.js.map +0 -1
- package/dist/domain/token-metrics/ports.d.ts +0 -79
- package/dist/domain/token-metrics/ports.d.ts.map +0 -1
- package/dist/domain/token-metrics/ports.js +0 -71
- package/dist/domain/token-metrics/ports.js.map +0 -1
- package/dist/domain/token-metrics/repositories.d.ts +0 -93
- package/dist/domain/token-metrics/repositories.d.ts.map +0 -1
- package/dist/domain/token-metrics/repositories.js +0 -2
- package/dist/domain/token-metrics/repositories.js.map +0 -1
- package/dist/domain/token-metrics/value-objects.d.ts +0 -81
- package/dist/domain/token-metrics/value-objects.d.ts.map +0 -1
- package/dist/domain/token-metrics/value-objects.js +0 -144
- package/dist/domain/token-metrics/value-objects.js.map +0 -1
- package/dist/domain/vault/canvas.d.ts +0 -70
- package/dist/domain/vault/canvas.d.ts.map +0 -1
- package/dist/domain/vault/canvas.js +0 -70
- package/dist/domain/vault/canvas.js.map +0 -1
- package/dist/domain/vault/document.d.ts +0 -71
- package/dist/domain/vault/document.d.ts.map +0 -1
- package/dist/domain/vault/document.js +0 -244
- package/dist/domain/vault/document.js.map +0 -1
- package/dist/domain/vault/repositories.d.ts +0 -35
- package/dist/domain/vault/repositories.d.ts.map +0 -1
- package/dist/domain/vault/repositories.js +0 -2
- package/dist/domain/vault/repositories.js.map +0 -1
- package/dist/domain/vault/section.d.ts +0 -33
- package/dist/domain/vault/section.d.ts.map +0 -1
- package/dist/domain/vault/section.js +0 -39
- package/dist/domain/vault/section.js.map +0 -1
- package/dist/domain/vault/services.d.ts +0 -48
- package/dist/domain/vault/services.d.ts.map +0 -1
- package/dist/domain/vault/services.js +0 -249
- package/dist/domain/vault/services.js.map +0 -1
- package/dist/domain/vault/table.d.ts +0 -58
- package/dist/domain/vault/table.d.ts.map +0 -1
- package/dist/domain/vault/table.js +0 -204
- package/dist/domain/vault/table.js.map +0 -1
- package/dist/domain/vault/timeline.d.ts +0 -53
- package/dist/domain/vault/timeline.d.ts.map +0 -1
- package/dist/domain/vault/timeline.js +0 -214
- package/dist/domain/vault/timeline.js.map +0 -1
- package/dist/domain/vault/value-objects.d.ts +0 -45
- package/dist/domain/vault/value-objects.d.ts.map +0 -1
- package/dist/domain/vault/value-objects.js +0 -89
- package/dist/domain/vault/value-objects.js.map +0 -1
- package/dist/domain/workspace-registry/entities.d.ts +0 -57
- package/dist/domain/workspace-registry/entities.d.ts.map +0 -1
- package/dist/domain/workspace-registry/entities.js +0 -148
- package/dist/domain/workspace-registry/entities.js.map +0 -1
- package/dist/domain/workspace-registry/repositories.d.ts +0 -57
- package/dist/domain/workspace-registry/repositories.d.ts.map +0 -1
- package/dist/domain/workspace-registry/repositories.js +0 -12
- package/dist/domain/workspace-registry/repositories.js.map +0 -1
- package/dist/domain/workspace-registry/services.d.ts +0 -56
- package/dist/domain/workspace-registry/services.d.ts.map +0 -1
- package/dist/domain/workspace-registry/services.js +0 -283
- package/dist/domain/workspace-registry/services.js.map +0 -1
- package/dist/domain/workspace-registry/value-objects.d.ts +0 -113
- package/dist/domain/workspace-registry/value-objects.d.ts.map +0 -1
- package/dist/domain/workspace-registry/value-objects.js +0 -235
- package/dist/domain/workspace-registry/value-objects.js.map +0 -1
- package/dist/hooks/config-command.d.ts +0 -37
- package/dist/hooks/config-command.d.ts.map +0 -1
- package/dist/hooks/config-command.js +0 -68
- package/dist/hooks/config-command.js.map +0 -1
- package/dist/hooks/context-compacting.d.ts +0 -35
- package/dist/hooks/context-compacting.d.ts.map +0 -1
- package/dist/hooks/context-compacting.js +0 -48
- package/dist/hooks/context-compacting.js.map +0 -1
- package/dist/hooks/event-handlers.d.ts +0 -48
- package/dist/hooks/event-handlers.d.ts.map +0 -1
- package/dist/hooks/event-handlers.js +0 -104
- package/dist/hooks/event-handlers.js.map +0 -1
- package/dist/hooks/execution-journal.d.ts +0 -40
- package/dist/hooks/execution-journal.d.ts.map +0 -1
- package/dist/hooks/execution-journal.js +0 -102
- package/dist/hooks/execution-journal.js.map +0 -1
- package/dist/hooks/first-run-guide.d.ts +0 -35
- package/dist/hooks/first-run-guide.d.ts.map +0 -1
- package/dist/hooks/first-run-guide.js +0 -100
- package/dist/hooks/first-run-guide.js.map +0 -1
- package/dist/hooks/guardrails.d.ts +0 -33
- package/dist/hooks/guardrails.d.ts.map +0 -1
- package/dist/hooks/guardrails.js +0 -22
- package/dist/hooks/guardrails.js.map +0 -1
- package/dist/hooks/logger.d.ts +0 -46
- package/dist/hooks/logger.d.ts.map +0 -1
- package/dist/hooks/logger.js +0 -79
- package/dist/hooks/logger.js.map +0 -1
- package/dist/hooks/shell-env.d.ts +0 -28
- package/dist/hooks/shell-env.d.ts.map +0 -1
- package/dist/hooks/shell-env.js +0 -17
- package/dist/hooks/shell-env.js.map +0 -1
- package/dist/hooks/slash-commands.d.ts +0 -36
- package/dist/hooks/slash-commands.d.ts.map +0 -1
- package/dist/hooks/slash-commands.js +0 -121
- package/dist/hooks/slash-commands.js.map +0 -1
- package/dist/index.d.ts +0 -16
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -589
- package/dist/index.js.map +0 -1
- package/dist/infrastructure/agent-registry/agent-profile-repository.d.ts +0 -29
- package/dist/infrastructure/agent-registry/agent-profile-repository.d.ts.map +0 -1
- package/dist/infrastructure/agent-registry/agent-profile-repository.js +0 -109
- package/dist/infrastructure/agent-registry/agent-profile-repository.js.map +0 -1
- package/dist/infrastructure/agent-registry/agent-session-adapter.d.ts +0 -28
- package/dist/infrastructure/agent-registry/agent-session-adapter.d.ts.map +0 -1
- package/dist/infrastructure/agent-registry/agent-session-adapter.js +0 -61
- package/dist/infrastructure/agent-registry/agent-session-adapter.js.map +0 -1
- package/dist/infrastructure/agent-registry/built-in-profiles.d.ts +0 -19
- package/dist/infrastructure/agent-registry/built-in-profiles.d.ts.map +0 -1
- package/dist/infrastructure/agent-registry/built-in-profiles.js +0 -210
- package/dist/infrastructure/agent-registry/built-in-profiles.js.map +0 -1
- package/dist/infrastructure/azure-sync/azure-auth.d.ts +0 -40
- package/dist/infrastructure/azure-sync/azure-auth.d.ts.map +0 -1
- package/dist/infrastructure/azure-sync/azure-auth.js +0 -94
- package/dist/infrastructure/azure-sync/azure-auth.js.map +0 -1
- package/dist/infrastructure/azure-sync/azure-devops-client.d.ts +0 -44
- package/dist/infrastructure/azure-sync/azure-devops-client.d.ts.map +0 -1
- package/dist/infrastructure/azure-sync/azure-devops-client.js +0 -293
- package/dist/infrastructure/azure-sync/azure-devops-client.js.map +0 -1
- package/dist/infrastructure/azure-sync/index.d.ts +0 -10
- package/dist/infrastructure/azure-sync/index.d.ts.map +0 -1
- package/dist/infrastructure/azure-sync/index.js +0 -13
- package/dist/infrastructure/azure-sync/index.js.map +0 -1
- package/dist/infrastructure/azure-sync/sqlite-event-repository.d.ts +0 -31
- package/dist/infrastructure/azure-sync/sqlite-event-repository.d.ts.map +0 -1
- package/dist/infrastructure/azure-sync/sqlite-event-repository.js +0 -105
- package/dist/infrastructure/azure-sync/sqlite-event-repository.js.map +0 -1
- package/dist/infrastructure/azure-sync/sqlite-sync-repository.d.ts +0 -39
- package/dist/infrastructure/azure-sync/sqlite-sync-repository.d.ts.map +0 -1
- package/dist/infrastructure/azure-sync/sqlite-sync-repository.js +0 -202
- package/dist/infrastructure/azure-sync/sqlite-sync-repository.js.map +0 -1
- package/dist/infrastructure/config/index.d.ts +0 -6
- package/dist/infrastructure/config/index.d.ts.map +0 -1
- package/dist/infrastructure/config/index.js +0 -6
- package/dist/infrastructure/config/index.js.map +0 -1
- package/dist/infrastructure/config/yaml-config-repository.d.ts +0 -22
- package/dist/infrastructure/config/yaml-config-repository.d.ts.map +0 -1
- package/dist/infrastructure/config/yaml-config-repository.js +0 -68
- package/dist/infrastructure/config/yaml-config-repository.js.map +0 -1
- package/dist/infrastructure/config/yaml-config-writer.d.ts +0 -16
- package/dist/infrastructure/config/yaml-config-writer.d.ts.map +0 -1
- package/dist/infrastructure/config/yaml-config-writer.js +0 -49
- package/dist/infrastructure/config/yaml-config-writer.js.map +0 -1
- package/dist/infrastructure/context-memory/execution-journal-repository.d.ts +0 -26
- package/dist/infrastructure/context-memory/execution-journal-repository.d.ts.map +0 -1
- package/dist/infrastructure/context-memory/execution-journal-repository.js +0 -110
- package/dist/infrastructure/context-memory/execution-journal-repository.js.map +0 -1
- package/dist/infrastructure/context-memory/note-repository.d.ts +0 -26
- package/dist/infrastructure/context-memory/note-repository.d.ts.map +0 -1
- package/dist/infrastructure/context-memory/note-repository.js +0 -87
- package/dist/infrastructure/context-memory/note-repository.js.map +0 -1
- package/dist/infrastructure/context-memory/search-repository.d.ts +0 -20
- package/dist/infrastructure/context-memory/search-repository.d.ts.map +0 -1
- package/dist/infrastructure/context-memory/search-repository.js +0 -44
- package/dist/infrastructure/context-memory/search-repository.js.map +0 -1
- package/dist/infrastructure/context-memory/session-repository.d.ts +0 -26
- package/dist/infrastructure/context-memory/session-repository.d.ts.map +0 -1
- package/dist/infrastructure/context-memory/session-repository.js +0 -79
- package/dist/infrastructure/context-memory/session-repository.js.map +0 -1
- package/dist/infrastructure/context-memory/todo-repository.d.ts +0 -26
- package/dist/infrastructure/context-memory/todo-repository.d.ts.map +0 -1
- package/dist/infrastructure/context-memory/todo-repository.js +0 -105
- package/dist/infrastructure/context-memory/todo-repository.js.map +0 -1
- package/dist/infrastructure/database/sqlite-adapter.d.ts +0 -58
- package/dist/infrastructure/database/sqlite-adapter.d.ts.map +0 -1
- package/dist/infrastructure/database/sqlite-adapter.js +0 -107
- package/dist/infrastructure/database/sqlite-adapter.js.map +0 -1
- package/dist/infrastructure/domain-map/llm-analyzer.d.ts +0 -60
- package/dist/infrastructure/domain-map/llm-analyzer.d.ts.map +0 -1
- package/dist/infrastructure/domain-map/llm-analyzer.js +0 -249
- package/dist/infrastructure/domain-map/llm-analyzer.js.map +0 -1
- package/dist/infrastructure/domain-map/llm-prompt-factory.d.ts +0 -21
- package/dist/infrastructure/domain-map/llm-prompt-factory.d.ts.map +0 -1
- package/dist/infrastructure/domain-map/llm-prompt-factory.js +0 -49
- package/dist/infrastructure/domain-map/llm-prompt-factory.js.map +0 -1
- package/dist/infrastructure/domain-map/lsp-adapter.d.ts +0 -61
- package/dist/infrastructure/domain-map/lsp-adapter.d.ts.map +0 -1
- package/dist/infrastructure/domain-map/lsp-adapter.js +0 -210
- package/dist/infrastructure/domain-map/lsp-adapter.js.map +0 -1
- package/dist/infrastructure/domain-map/lsp-configs.d.ts +0 -53
- package/dist/infrastructure/domain-map/lsp-configs.d.ts.map +0 -1
- package/dist/infrastructure/domain-map/lsp-configs.js +0 -274
- package/dist/infrastructure/domain-map/lsp-configs.js.map +0 -1
- package/dist/infrastructure/domain-map/lsp-json-rpc.d.ts +0 -132
- package/dist/infrastructure/domain-map/lsp-json-rpc.d.ts.map +0 -1
- package/dist/infrastructure/domain-map/lsp-json-rpc.js +0 -320
- package/dist/infrastructure/domain-map/lsp-json-rpc.js.map +0 -1
- package/dist/infrastructure/domain-map/project-scanner.d.ts +0 -43
- package/dist/infrastructure/domain-map/project-scanner.d.ts.map +0 -1
- package/dist/infrastructure/domain-map/project-scanner.js +0 -193
- package/dist/infrastructure/domain-map/project-scanner.js.map +0 -1
- package/dist/infrastructure/environment/environment-repository.d.ts +0 -33
- package/dist/infrastructure/environment/environment-repository.d.ts.map +0 -1
- package/dist/infrastructure/environment/environment-repository.js +0 -161
- package/dist/infrastructure/environment/environment-repository.js.map +0 -1
- package/dist/infrastructure/environment/scanner-adapter.d.ts +0 -23
- package/dist/infrastructure/environment/scanner-adapter.d.ts.map +0 -1
- package/dist/infrastructure/environment/scanner-adapter.js +0 -102
- package/dist/infrastructure/environment/scanner-adapter.js.map +0 -1
- package/dist/infrastructure/kanban/card-repository.d.ts +0 -47
- package/dist/infrastructure/kanban/card-repository.d.ts.map +0 -1
- package/dist/infrastructure/kanban/card-repository.js +0 -257
- package/dist/infrastructure/kanban/card-repository.js.map +0 -1
- package/dist/infrastructure/kanban/sprint-repository.d.ts +0 -40
- package/dist/infrastructure/kanban/sprint-repository.d.ts.map +0 -1
- package/dist/infrastructure/kanban/sprint-repository.js +0 -186
- package/dist/infrastructure/kanban/sprint-repository.js.map +0 -1
- package/dist/infrastructure/pipeline/dagger-adapter.d.ts +0 -50
- package/dist/infrastructure/pipeline/dagger-adapter.d.ts.map +0 -1
- package/dist/infrastructure/pipeline/dagger-adapter.js +0 -153
- package/dist/infrastructure/pipeline/dagger-adapter.js.map +0 -1
- package/dist/infrastructure/pipeline/dagger-scaffold-generator.d.ts +0 -35
- package/dist/infrastructure/pipeline/dagger-scaffold-generator.d.ts.map +0 -1
- package/dist/infrastructure/pipeline/dagger-scaffold-generator.js +0 -132
- package/dist/infrastructure/pipeline/dagger-scaffold-generator.js.map +0 -1
- package/dist/infrastructure/pipeline/index.d.ts +0 -20
- package/dist/infrastructure/pipeline/index.d.ts.map +0 -1
- package/dist/infrastructure/pipeline/index.js +0 -19
- package/dist/infrastructure/pipeline/index.js.map +0 -1
- package/dist/infrastructure/pipeline/pipeline-template-registry.d.ts +0 -23
- package/dist/infrastructure/pipeline/pipeline-template-registry.d.ts.map +0 -1
- package/dist/infrastructure/pipeline/pipeline-template-registry.js +0 -63
- package/dist/infrastructure/pipeline/pipeline-template-registry.js.map +0 -1
- package/dist/infrastructure/pipeline/scaffold-templates-extra.d.ts +0 -17
- package/dist/infrastructure/pipeline/scaffold-templates-extra.d.ts.map +0 -1
- package/dist/infrastructure/pipeline/scaffold-templates-extra.js +0 -467
- package/dist/infrastructure/pipeline/scaffold-templates-extra.js.map +0 -1
- package/dist/infrastructure/pipeline/scaffold-templates.d.ts +0 -23
- package/dist/infrastructure/pipeline/scaffold-templates.d.ts.map +0 -1
- package/dist/infrastructure/pipeline/scaffold-templates.js +0 -476
- package/dist/infrastructure/pipeline/scaffold-templates.js.map +0 -1
- package/dist/infrastructure/pipeline/sqlite-pipeline-repository.d.ts +0 -32
- package/dist/infrastructure/pipeline/sqlite-pipeline-repository.d.ts.map +0 -1
- package/dist/infrastructure/pipeline/sqlite-pipeline-repository.js +0 -197
- package/dist/infrastructure/pipeline/sqlite-pipeline-repository.js.map +0 -1
- package/dist/infrastructure/rag/file-discovery.d.ts +0 -19
- package/dist/infrastructure/rag/file-discovery.d.ts.map +0 -1
- package/dist/infrastructure/rag/file-discovery.js +0 -202
- package/dist/infrastructure/rag/file-discovery.js.map +0 -1
- package/dist/infrastructure/rag/file-index-registry.d.ts +0 -18
- package/dist/infrastructure/rag/file-index-registry.d.ts.map +0 -1
- package/dist/infrastructure/rag/file-index-registry.js +0 -67
- package/dist/infrastructure/rag/file-index-registry.js.map +0 -1
- package/dist/infrastructure/rag/ollama-embeddings.d.ts +0 -18
- package/dist/infrastructure/rag/ollama-embeddings.d.ts.map +0 -1
- package/dist/infrastructure/rag/ollama-embeddings.js +0 -54
- package/dist/infrastructure/rag/ollama-embeddings.js.map +0 -1
- package/dist/infrastructure/rag/text-splitter.d.ts +0 -19
- package/dist/infrastructure/rag/text-splitter.d.ts.map +0 -1
- package/dist/infrastructure/rag/text-splitter.js +0 -38
- package/dist/infrastructure/rag/text-splitter.js.map +0 -1
- package/dist/infrastructure/rag/vectra-adapter.d.ts +0 -38
- package/dist/infrastructure/rag/vectra-adapter.d.ts.map +0 -1
- package/dist/infrastructure/rag/vectra-adapter.js +0 -275
- package/dist/infrastructure/rag/vectra-adapter.js.map +0 -1
- package/dist/infrastructure/token-metrics/token-metrics-repository.d.ts +0 -29
- package/dist/infrastructure/token-metrics/token-metrics-repository.d.ts.map +0 -1
- package/dist/infrastructure/token-metrics/token-metrics-repository.js +0 -254
- package/dist/infrastructure/token-metrics/token-metrics-repository.js.map +0 -1
- package/dist/infrastructure/vault/markdown-parser.d.ts +0 -35
- package/dist/infrastructure/vault/markdown-parser.d.ts.map +0 -1
- package/dist/infrastructure/vault/markdown-parser.js +0 -145
- package/dist/infrastructure/vault/markdown-parser.js.map +0 -1
- package/dist/infrastructure/vault/vault-fs-adapter.d.ts +0 -17
- package/dist/infrastructure/vault/vault-fs-adapter.d.ts.map +0 -1
- package/dist/infrastructure/vault/vault-fs-adapter.js +0 -105
- package/dist/infrastructure/vault/vault-fs-adapter.js.map +0 -1
- package/dist/infrastructure/workspace-registry/dependency-repository.d.ts +0 -27
- package/dist/infrastructure/workspace-registry/dependency-repository.d.ts.map +0 -1
- package/dist/infrastructure/workspace-registry/dependency-repository.js +0 -89
- package/dist/infrastructure/workspace-registry/dependency-repository.js.map +0 -1
- package/dist/infrastructure/workspace-registry/workspace-repository.d.ts +0 -28
- package/dist/infrastructure/workspace-registry/workspace-repository.d.ts.map +0 -1
- package/dist/infrastructure/workspace-registry/workspace-repository.js +0 -108
- package/dist/infrastructure/workspace-registry/workspace-repository.js.map +0 -1
- package/dist/mcp-server.d.ts +0 -3
- package/dist/mcp-server.d.ts.map +0 -1
- package/dist/mcp-server.js +0 -373
- package/dist/mcp-server.js.map +0 -1
- package/dist/tools/agent-registry-tools.d.ts +0 -11
- package/dist/tools/agent-registry-tools.d.ts.map +0 -1
- package/dist/tools/agent-registry-tools.js +0 -208
- package/dist/tools/agent-registry-tools.js.map +0 -1
- package/dist/tools/agent-tools.d.ts +0 -14
- package/dist/tools/agent-tools.d.ts.map +0 -1
- package/dist/tools/agent-tools.js +0 -238
- package/dist/tools/agent-tools.js.map +0 -1
- package/dist/tools/azure-sync-event-tools.d.ts +0 -13
- package/dist/tools/azure-sync-event-tools.d.ts.map +0 -1
- package/dist/tools/azure-sync-event-tools.js +0 -100
- package/dist/tools/azure-sync-event-tools.js.map +0 -1
- package/dist/tools/azure-sync-tools.d.ts +0 -15
- package/dist/tools/azure-sync-tools.d.ts.map +0 -1
- package/dist/tools/azure-sync-tools.js +0 -332
- package/dist/tools/azure-sync-tools.js.map +0 -1
- package/dist/tools/bootstrap-tools.d.ts +0 -17
- package/dist/tools/bootstrap-tools.d.ts.map +0 -1
- package/dist/tools/bootstrap-tools.js +0 -171
- package/dist/tools/bootstrap-tools.js.map +0 -1
- package/dist/tools/config-tools.d.ts +0 -12
- package/dist/tools/config-tools.d.ts.map +0 -1
- package/dist/tools/config-tools.js +0 -136
- package/dist/tools/config-tools.js.map +0 -1
- package/dist/tools/context-memory-tools.d.ts +0 -16
- package/dist/tools/context-memory-tools.d.ts.map +0 -1
- package/dist/tools/context-memory-tools.js +0 -242
- package/dist/tools/context-memory-tools.js.map +0 -1
- package/dist/tools/data-tools.d.ts +0 -3
- package/dist/tools/data-tools.d.ts.map +0 -1
- package/dist/tools/data-tools.js +0 -383
- package/dist/tools/data-tools.js.map +0 -1
- package/dist/tools/domain-map-tools.d.ts +0 -41
- package/dist/tools/domain-map-tools.d.ts.map +0 -1
- package/dist/tools/domain-map-tools.js +0 -134
- package/dist/tools/domain-map-tools.js.map +0 -1
- package/dist/tools/environment-tools.d.ts +0 -85
- package/dist/tools/environment-tools.d.ts.map +0 -1
- package/dist/tools/environment-tools.js +0 -223
- package/dist/tools/environment-tools.js.map +0 -1
- package/dist/tools/governance-tools.d.ts +0 -7
- package/dist/tools/governance-tools.d.ts.map +0 -1
- package/dist/tools/governance-tools.js +0 -73
- package/dist/tools/governance-tools.js.map +0 -1
- package/dist/tools/kanban-board-tools.d.ts +0 -11
- package/dist/tools/kanban-board-tools.d.ts.map +0 -1
- package/dist/tools/kanban-board-tools.js +0 -354
- package/dist/tools/kanban-board-tools.js.map +0 -1
- package/dist/tools/kanban-card-tools.d.ts +0 -11
- package/dist/tools/kanban-card-tools.d.ts.map +0 -1
- package/dist/tools/kanban-card-tools.js +0 -432
- package/dist/tools/kanban-card-tools.js.map +0 -1
- package/dist/tools/kanban-gate-tools.d.ts +0 -7
- package/dist/tools/kanban-gate-tools.d.ts.map +0 -1
- package/dist/tools/kanban-gate-tools.js +0 -106
- package/dist/tools/kanban-gate-tools.js.map +0 -1
- package/dist/tools/kanban-grooming-tools.d.ts +0 -7
- package/dist/tools/kanban-grooming-tools.d.ts.map +0 -1
- package/dist/tools/kanban-grooming-tools.js +0 -180
- package/dist/tools/kanban-grooming-tools.js.map +0 -1
- package/dist/tools/pipeline-tools.d.ts +0 -15
- package/dist/tools/pipeline-tools.d.ts.map +0 -1
- package/dist/tools/pipeline-tools.js +0 -424
- package/dist/tools/pipeline-tools.js.map +0 -1
- package/dist/tools/rag-tools.d.ts +0 -10
- package/dist/tools/rag-tools.d.ts.map +0 -1
- package/dist/tools/rag-tools.js +0 -286
- package/dist/tools/rag-tools.js.map +0 -1
- package/dist/tools/token-metrics-tools.d.ts +0 -98
- package/dist/tools/token-metrics-tools.d.ts.map +0 -1
- package/dist/tools/token-metrics-tools.js +0 -301
- package/dist/tools/token-metrics-tools.js.map +0 -1
- package/dist/tools/vault-manage-tool.d.ts +0 -7
- package/dist/tools/vault-manage-tool.d.ts.map +0 -1
- package/dist/tools/vault-manage-tool.js +0 -193
- package/dist/tools/vault-manage-tool.js.map +0 -1
- package/dist/tools/vault-tools.d.ts +0 -7
- package/dist/tools/vault-tools.d.ts.map +0 -1
- package/dist/tools/vault-tools.js +0 -348
- package/dist/tools/vault-tools.js.map +0 -1
- package/dist/tools/workspace-registry-tools.d.ts +0 -93
- package/dist/tools/workspace-registry-tools.d.ts.map +0 -1
- package/dist/tools/workspace-registry-tools.js +0 -217
- package/dist/tools/workspace-registry-tools.js.map +0 -1
- package/scripts/setup/setup-linux.sh +0 -124
- package/scripts/setup/setup-macos.sh +0 -137
- package/scripts/setup/setup-wsl.sh +0 -175
- package/templates/agents-md.template.md +0 -232
|
@@ -0,0 +1,1093 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Context Memory CLI - Unified interface for context management
|
|
4
|
+
|
|
5
|
+
Replaces todo_manager.py and agent_messenger.py with single interface.
|
|
6
|
+
|
|
7
|
+
Features:
|
|
8
|
+
- TODO management (add, list, complete, search)
|
|
9
|
+
- Agent messaging (send, inbox, read)
|
|
10
|
+
- Session management (start, finish, list, status)
|
|
11
|
+
- Full-text search across all context
|
|
12
|
+
- Session summaries (Llama-powered if available)
|
|
13
|
+
- Database management (stats, archive, clean, vacuum)
|
|
14
|
+
- Workspace metadata in all TOON outputs
|
|
15
|
+
|
|
16
|
+
Usage:
|
|
17
|
+
context-memory todo add "Task X" --priority=3
|
|
18
|
+
context-memory message send --from=A --to=B --subject="Task"
|
|
19
|
+
context-memory session start --workspace=prod --purpose="Feature X"
|
|
20
|
+
context-memory search "schema extraction"
|
|
21
|
+
context-memory summary --workspace=prod
|
|
22
|
+
|
|
23
|
+
Requirements:
|
|
24
|
+
- click>=8.1.0
|
|
25
|
+
- src.context_memory module
|
|
26
|
+
- src.domain.context_memory (Session entities)
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
import click
|
|
30
|
+
import json
|
|
31
|
+
import os
|
|
32
|
+
import sys
|
|
33
|
+
import sqlite3
|
|
34
|
+
from pathlib import Path
|
|
35
|
+
from datetime import datetime, timedelta
|
|
36
|
+
|
|
37
|
+
# Add project root to path
|
|
38
|
+
sys.path.insert(0, str(Path(__file__).parent.parent))
|
|
39
|
+
|
|
40
|
+
from src.context_memory import ContextMemoryManager, LlamaSummarizer
|
|
41
|
+
from src.domain.context_memory.entities import Session
|
|
42
|
+
from src.domain.context_memory.value_objects import SessionState
|
|
43
|
+
from src.domain.context_memory.services import SessionCoordinator
|
|
44
|
+
from src.infrastructure.context_memory.sqlite_session_repository import (
|
|
45
|
+
SQLiteSessionRepository,
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def get_active_workspace() -> str:
|
|
50
|
+
"""
|
|
51
|
+
Get active workspace from environment or default.
|
|
52
|
+
|
|
53
|
+
Priority:
|
|
54
|
+
1. JARVIS_ACTIVE_WORKSPACE env var
|
|
55
|
+
2. Default to 'default'
|
|
56
|
+
|
|
57
|
+
Returns:
|
|
58
|
+
str: Workspace name
|
|
59
|
+
"""
|
|
60
|
+
return os.getenv("JARVIS_ACTIVE_WORKSPACE", "default")
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def toon_format(data: dict, workspace: str = None) -> str:
|
|
64
|
+
"""
|
|
65
|
+
Format data in TOON notation for compact output.
|
|
66
|
+
|
|
67
|
+
Includes workspace metadata if provided.
|
|
68
|
+
|
|
69
|
+
Args:
|
|
70
|
+
data: Dictionary to format
|
|
71
|
+
workspace: Optional workspace name to include
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
str: Formatted TOON string
|
|
75
|
+
|
|
76
|
+
Example:
|
|
77
|
+
toon_format({'count': 5, 'ids': [1,2,3,4,5]}, workspace='default')
|
|
78
|
+
# Returns: 'count:5,workspace:default,ids:[1,2,3,4,5]'
|
|
79
|
+
"""
|
|
80
|
+
parts = []
|
|
81
|
+
|
|
82
|
+
for key, value in data.items():
|
|
83
|
+
if isinstance(value, list):
|
|
84
|
+
if len(value) == 0:
|
|
85
|
+
parts.append(f"{key}:[]")
|
|
86
|
+
elif len(value) <= 10:
|
|
87
|
+
parts.append(f"{key}:[{','.join(map(str, value))}]")
|
|
88
|
+
else:
|
|
89
|
+
parts.append(
|
|
90
|
+
f"{key}:[{','.join(map(str, value[:5]))}...+{len(value) - 5}]"
|
|
91
|
+
)
|
|
92
|
+
elif isinstance(value, dict):
|
|
93
|
+
parts.append(f"{key}:{{{len(value)}items}}")
|
|
94
|
+
else:
|
|
95
|
+
parts.append(f"{key}:{value}")
|
|
96
|
+
|
|
97
|
+
# Add workspace if provided
|
|
98
|
+
if workspace:
|
|
99
|
+
parts.insert(1, f"workspace:{workspace}")
|
|
100
|
+
|
|
101
|
+
return ",".join(parts)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
# Initialize manager with Llama
|
|
105
|
+
try:
|
|
106
|
+
llm = LlamaSummarizer()
|
|
107
|
+
manager = ContextMemoryManager()
|
|
108
|
+
LLAMA_AVAILABLE = llm.is_available()
|
|
109
|
+
except Exception:
|
|
110
|
+
manager = ContextMemoryManager()
|
|
111
|
+
LLAMA_AVAILABLE = False
|
|
112
|
+
|
|
113
|
+
# Initialize session repository
|
|
114
|
+
session_repo = SQLiteSessionRepository(db_path=manager.db_path)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
@click.group()
|
|
118
|
+
@click.version_option(version="1.0.0")
|
|
119
|
+
def cli():
|
|
120
|
+
"""Context Memory CLI - Unified context management."""
|
|
121
|
+
pass
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
# =============================================================================
|
|
125
|
+
# TODO Commands
|
|
126
|
+
# =============================================================================
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
@cli.group()
|
|
130
|
+
def todo():
|
|
131
|
+
"""Manage TODO tasks."""
|
|
132
|
+
pass
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
@todo.command("add")
|
|
136
|
+
@click.argument("task")
|
|
137
|
+
@click.option("--workspace", "-w", help="Workspace name")
|
|
138
|
+
@click.option("--priority", "-p", default=3, type=int, help="Priority 1-5")
|
|
139
|
+
@click.option("--tags", "-t", help="Comma-separated tags")
|
|
140
|
+
@click.option("--session", "-s", help="Session ID (auto-detects active if omitted)")
|
|
141
|
+
@click.option("--verbose", is_flag=True, help="Full formatted output")
|
|
142
|
+
def todo_add(task, workspace, priority, tags, session, verbose):
|
|
143
|
+
"""Add new TODO task."""
|
|
144
|
+
try:
|
|
145
|
+
# Use provided workspace or detect from environment
|
|
146
|
+
workspace = workspace or get_active_workspace()
|
|
147
|
+
|
|
148
|
+
# Auto-detect active session if not provided
|
|
149
|
+
if not session:
|
|
150
|
+
active = session_repo.find_active_by_workspace(workspace)
|
|
151
|
+
if active:
|
|
152
|
+
session = active.id
|
|
153
|
+
if verbose:
|
|
154
|
+
click.echo(
|
|
155
|
+
f"ℹ️ Auto-linked to active session: {session[:8]}...", err=True
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
tags_list = [t.strip() for t in tags.split(",")] if tags else []
|
|
159
|
+
|
|
160
|
+
entry_id = manager.store_todo(
|
|
161
|
+
content=task,
|
|
162
|
+
workspace=workspace,
|
|
163
|
+
priority=priority,
|
|
164
|
+
tags=tags_list,
|
|
165
|
+
session_id=session,
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
if verbose:
|
|
169
|
+
# Full formatted output
|
|
170
|
+
priority_icon = "🔴" if priority <= 2 else "🟡" if priority == 3 else "🟢"
|
|
171
|
+
click.echo(f"{priority_icon} TODO created: #{entry_id}")
|
|
172
|
+
click.echo(f" {task}")
|
|
173
|
+
else:
|
|
174
|
+
# TOON compact (default)
|
|
175
|
+
click.echo(f"ok:id:{entry_id},workspace:{workspace}")
|
|
176
|
+
|
|
177
|
+
except Exception as e:
|
|
178
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
179
|
+
sys.exit(1)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
@todo.command("list")
|
|
183
|
+
@click.option("--workspace", "-w", help="Filter by workspace")
|
|
184
|
+
@click.option("--priority-min", "-p", default=0, type=int, help="Min priority")
|
|
185
|
+
@click.option("--limit", "-l", default=50, type=int, help="Max results")
|
|
186
|
+
@click.option("--verbose", "-v", is_flag=True, help="Full formatted output")
|
|
187
|
+
def todo_list(workspace, priority_min, limit, verbose):
|
|
188
|
+
"""List TODO tasks."""
|
|
189
|
+
try:
|
|
190
|
+
# Use provided workspace or detect from environment
|
|
191
|
+
workspace = workspace or get_active_workspace()
|
|
192
|
+
|
|
193
|
+
todos = manager.get_active_todos(workspace=workspace, limit=limit)
|
|
194
|
+
|
|
195
|
+
# Filter by priority if needed
|
|
196
|
+
if priority_min > 0:
|
|
197
|
+
todos = [t for t in todos if t.priority <= priority_min]
|
|
198
|
+
|
|
199
|
+
if not todos:
|
|
200
|
+
click.echo(f"ok:count:0,workspace:{workspace}")
|
|
201
|
+
return
|
|
202
|
+
|
|
203
|
+
if verbose:
|
|
204
|
+
# Full formatted output (only if --verbose)
|
|
205
|
+
click.echo(f"\n{'=' * 70}")
|
|
206
|
+
click.echo(f"📋 Active TODOs ({len(todos)})")
|
|
207
|
+
if workspace:
|
|
208
|
+
click.echo(f" Workspace: {workspace}")
|
|
209
|
+
click.echo(f"{'=' * 70}\n")
|
|
210
|
+
|
|
211
|
+
for todo in todos:
|
|
212
|
+
priority = todo.priority
|
|
213
|
+
priority_icon = (
|
|
214
|
+
"🔴" if priority <= 2 else "🟡" if priority == 3 else "🟢"
|
|
215
|
+
)
|
|
216
|
+
|
|
217
|
+
click.echo(
|
|
218
|
+
f"{priority_icon} [#{todo.id}] {todo.summary or todo.content}"
|
|
219
|
+
)
|
|
220
|
+
|
|
221
|
+
if todo.workspace:
|
|
222
|
+
click.echo(f" 📂 {todo.workspace}")
|
|
223
|
+
|
|
224
|
+
if todo.tags:
|
|
225
|
+
click.echo(f" 🏷️ {', '.join(todo.tags)}")
|
|
226
|
+
|
|
227
|
+
click.echo()
|
|
228
|
+
else:
|
|
229
|
+
# TOON compact output (default)
|
|
230
|
+
ids = [t.id for t in todos]
|
|
231
|
+
data = {"count": len(todos), "ids": ids}
|
|
232
|
+
click.echo(f"ok:{toon_format(data, workspace=workspace)}")
|
|
233
|
+
|
|
234
|
+
except Exception as e:
|
|
235
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
236
|
+
sys.exit(1)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
@todo.command("complete")
|
|
240
|
+
@click.argument("todo_id", type=int)
|
|
241
|
+
def todo_complete(todo_id):
|
|
242
|
+
"""Mark TODO as completed."""
|
|
243
|
+
try:
|
|
244
|
+
success = manager.complete_todo(todo_id)
|
|
245
|
+
if success:
|
|
246
|
+
click.echo(f"✅ TODO #{todo_id} completed")
|
|
247
|
+
else:
|
|
248
|
+
click.echo(f"❌ TODO #{todo_id} not found", err=True)
|
|
249
|
+
sys.exit(1)
|
|
250
|
+
|
|
251
|
+
except Exception as e:
|
|
252
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
253
|
+
sys.exit(1)
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
@todo.command("search")
|
|
257
|
+
@click.argument("query")
|
|
258
|
+
@click.option("--workspace", "-w", help="Filter by workspace")
|
|
259
|
+
@click.option("--limit", "-l", default=20, type=int, help="Max results")
|
|
260
|
+
def todo_search(query, workspace, limit):
|
|
261
|
+
"""Search TODOs by full-text."""
|
|
262
|
+
try:
|
|
263
|
+
# Use provided workspace or detect from environment
|
|
264
|
+
workspace = workspace or get_active_workspace()
|
|
265
|
+
|
|
266
|
+
results = manager.search(
|
|
267
|
+
query, context_type="todo", workspace=workspace, limit=limit
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
if not results:
|
|
271
|
+
click.echo(f"📭 No TODOs found for '{query}'")
|
|
272
|
+
return
|
|
273
|
+
|
|
274
|
+
click.echo(f"\n🔍 Search: '{query}' ({len(results)} results)\n")
|
|
275
|
+
|
|
276
|
+
for r in results:
|
|
277
|
+
click.echo(f"[#{r.id}] {r.summary or r.content[:80]}")
|
|
278
|
+
click.echo(f" 📅 {r.created_at}")
|
|
279
|
+
if r.workspace:
|
|
280
|
+
click.echo(f" 📂 {r.workspace}")
|
|
281
|
+
click.echo()
|
|
282
|
+
|
|
283
|
+
except Exception as e:
|
|
284
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
285
|
+
sys.exit(1)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
# =============================================================================
|
|
289
|
+
# Message Commands
|
|
290
|
+
# =============================================================================
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
@cli.group()
|
|
294
|
+
def message():
|
|
295
|
+
"""Manage agent messages."""
|
|
296
|
+
pass
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
@message.command("send")
|
|
300
|
+
@click.option("--from", "sender", required=True, help="Sender agent")
|
|
301
|
+
@click.option("--to", "recipient", required=True, help="Recipient agent")
|
|
302
|
+
@click.option("--subject", "-s", required=True, help="Message subject")
|
|
303
|
+
@click.option("--content", "-c", required=True, help="Message content")
|
|
304
|
+
@click.option("--priority", "-p", default=3, type=int, help="Priority 1-5")
|
|
305
|
+
@click.option("--workspace", "-w", help="Workspace context")
|
|
306
|
+
def message_send(sender, recipient, subject, content, priority, workspace):
|
|
307
|
+
"""Send inter-agent message."""
|
|
308
|
+
try:
|
|
309
|
+
# Use provided workspace or detect from environment
|
|
310
|
+
workspace = workspace or get_active_workspace()
|
|
311
|
+
|
|
312
|
+
entry_id = manager.store_message(
|
|
313
|
+
content=f"{subject}\n\n{content}",
|
|
314
|
+
from_agent=sender,
|
|
315
|
+
to_agent=recipient,
|
|
316
|
+
workspace=workspace,
|
|
317
|
+
priority=priority,
|
|
318
|
+
tags=["message"],
|
|
319
|
+
)
|
|
320
|
+
|
|
321
|
+
click.echo(f"✅ Message sent: #{entry_id}")
|
|
322
|
+
click.echo(f" {sender} → {recipient}: {subject}")
|
|
323
|
+
|
|
324
|
+
except Exception as e:
|
|
325
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
326
|
+
sys.exit(1)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
@message.command("inbox")
|
|
330
|
+
@click.option("--agent", "-a", required=True, help="Agent name")
|
|
331
|
+
@click.option("--workspace", "-w", help="Filter by workspace")
|
|
332
|
+
@click.option("--all", "show_all", is_flag=True, help="Show all messages")
|
|
333
|
+
@click.option("--limit", "-l", default=50, type=int, help="Max results")
|
|
334
|
+
def message_inbox(agent, workspace, show_all, limit):
|
|
335
|
+
"""View agent inbox."""
|
|
336
|
+
try:
|
|
337
|
+
# Use provided workspace or detect from environment
|
|
338
|
+
workspace = workspace or get_active_workspace()
|
|
339
|
+
|
|
340
|
+
status = "active" if not show_all else None
|
|
341
|
+
|
|
342
|
+
if status:
|
|
343
|
+
messages = manager.get_messages_for_agent(agent, status=status, limit=limit)
|
|
344
|
+
else:
|
|
345
|
+
# Get all messages for agent
|
|
346
|
+
conn = manager._get_connection()
|
|
347
|
+
cursor = conn.execute(
|
|
348
|
+
"""
|
|
349
|
+
SELECT *
|
|
350
|
+
FROM context_entries
|
|
351
|
+
WHERE context_type = 'message'
|
|
352
|
+
AND json_extract(metadata, '$.to') = ?
|
|
353
|
+
ORDER BY priority ASC, created_at DESC
|
|
354
|
+
LIMIT ?
|
|
355
|
+
""",
|
|
356
|
+
(agent, limit),
|
|
357
|
+
)
|
|
358
|
+
messages = [manager._row_to_entry(row) for row in cursor.fetchall()]
|
|
359
|
+
conn.close()
|
|
360
|
+
|
|
361
|
+
if not messages:
|
|
362
|
+
status_text = "unread " if not show_all else ""
|
|
363
|
+
click.echo(f"📭 No {status_text}messages for {agent}")
|
|
364
|
+
return
|
|
365
|
+
|
|
366
|
+
click.echo(f"\n{'=' * 70}")
|
|
367
|
+
click.echo(f"📨 Inbox: {agent} ({len(messages)} messages)")
|
|
368
|
+
click.echo(f"{'=' * 70}\n")
|
|
369
|
+
|
|
370
|
+
for msg in messages:
|
|
371
|
+
status_icon = "📩" if msg.status == "active" else "📨"
|
|
372
|
+
sender = msg.metadata.get("from", "unknown")
|
|
373
|
+
|
|
374
|
+
# Extract subject from content (first line)
|
|
375
|
+
lines = msg.content.split("\n", 1)
|
|
376
|
+
subject = lines[0] if lines else msg.summary
|
|
377
|
+
|
|
378
|
+
click.echo(f"{status_icon} [#{msg.id}] From {sender}: {subject}")
|
|
379
|
+
click.echo(f" 📅 {msg.created_at}")
|
|
380
|
+
click.echo()
|
|
381
|
+
|
|
382
|
+
except Exception as e:
|
|
383
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
384
|
+
sys.exit(1)
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
@message.command("read")
|
|
388
|
+
@click.argument("message_id", type=int)
|
|
389
|
+
def message_read(message_id):
|
|
390
|
+
"""Mark message as read and show full content."""
|
|
391
|
+
try:
|
|
392
|
+
# Get message
|
|
393
|
+
conn = manager._get_connection()
|
|
394
|
+
cursor = conn.execute(
|
|
395
|
+
"SELECT * FROM context_entries WHERE id = ?", (message_id,)
|
|
396
|
+
)
|
|
397
|
+
row = cursor.fetchone()
|
|
398
|
+
conn.close()
|
|
399
|
+
|
|
400
|
+
if not row:
|
|
401
|
+
click.echo(f"❌ Message #{message_id} not found", err=True)
|
|
402
|
+
sys.exit(1)
|
|
403
|
+
|
|
404
|
+
msg = manager._row_to_entry(row)
|
|
405
|
+
|
|
406
|
+
# Show full message
|
|
407
|
+
click.echo(f"\n{'=' * 70}")
|
|
408
|
+
click.echo(f"📧 Message #{msg.id}")
|
|
409
|
+
click.echo(f"{'=' * 70}\n")
|
|
410
|
+
click.echo(f"From: {msg.metadata.get('from', 'unknown')}")
|
|
411
|
+
click.echo(f"To: {msg.metadata.get('to', 'unknown')}")
|
|
412
|
+
click.echo(f"Date: {msg.created_at}")
|
|
413
|
+
click.echo(f"Priority: {msg.priority}")
|
|
414
|
+
click.echo(f"\n{msg.content}\n")
|
|
415
|
+
|
|
416
|
+
# Mark as read
|
|
417
|
+
manager.mark_as_read(message_id)
|
|
418
|
+
click.echo("✅ Message marked as read")
|
|
419
|
+
|
|
420
|
+
except Exception as e:
|
|
421
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
422
|
+
sys.exit(1)
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
# =============================================================================
|
|
426
|
+
# Session Commands
|
|
427
|
+
# =============================================================================
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
@cli.group()
|
|
431
|
+
def session():
|
|
432
|
+
"""Manage agent sessions."""
|
|
433
|
+
pass
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
@session.command("start")
|
|
437
|
+
@click.option("--workspace", "-w", help="Workspace name")
|
|
438
|
+
@click.option("--agent-name", "-a", default="opencode", help="Agent name")
|
|
439
|
+
@click.option("--purpose", "-p", help="Session purpose/description")
|
|
440
|
+
@click.option("--verbose", is_flag=True, help="Full formatted output")
|
|
441
|
+
def session_start(workspace, agent_name, purpose, verbose):
|
|
442
|
+
"""Create new session (enforces single WIP per workspace)."""
|
|
443
|
+
try:
|
|
444
|
+
# Use provided workspace or detect from environment
|
|
445
|
+
workspace = workspace or get_active_workspace()
|
|
446
|
+
|
|
447
|
+
# Enforce business rule: only one WIP session per workspace
|
|
448
|
+
SessionCoordinator.ensure_no_active_session(workspace, session_repo)
|
|
449
|
+
|
|
450
|
+
# Create new session
|
|
451
|
+
new_session = Session(
|
|
452
|
+
workspace=workspace,
|
|
453
|
+
agent_name=agent_name,
|
|
454
|
+
purpose=purpose,
|
|
455
|
+
state=SessionState.WIP,
|
|
456
|
+
)
|
|
457
|
+
|
|
458
|
+
# Save to repository
|
|
459
|
+
session_id = session_repo.save(new_session)
|
|
460
|
+
|
|
461
|
+
if verbose:
|
|
462
|
+
click.echo(f"✅ Session started: #{session_id}")
|
|
463
|
+
click.echo(f" Workspace: {workspace}")
|
|
464
|
+
click.echo(f" Agent: {agent_name}")
|
|
465
|
+
if purpose:
|
|
466
|
+
click.echo(f" Purpose: {purpose}")
|
|
467
|
+
else:
|
|
468
|
+
# TOON compact
|
|
469
|
+
click.echo(f"ok:session:{session_id},workspace:{workspace},state:wip")
|
|
470
|
+
|
|
471
|
+
except Exception as e:
|
|
472
|
+
click.echo(f"error:{e}", err=True)
|
|
473
|
+
sys.exit(1)
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
@session.command("finish")
|
|
477
|
+
@click.argument("session_id")
|
|
478
|
+
@click.option("--summary", "-s", help="Completion summary")
|
|
479
|
+
@click.option("--verbose", is_flag=True, help="Full formatted output")
|
|
480
|
+
def session_finish(session_id, summary, verbose):
|
|
481
|
+
"""Mark session as FINISHED with summary."""
|
|
482
|
+
try:
|
|
483
|
+
# Find session
|
|
484
|
+
existing_session = session_repo.find_by_id(session_id)
|
|
485
|
+
|
|
486
|
+
if not existing_session:
|
|
487
|
+
click.echo(f"error:session_not_found:{session_id}", err=True)
|
|
488
|
+
sys.exit(1)
|
|
489
|
+
|
|
490
|
+
# Mark as finished (validates state transition)
|
|
491
|
+
existing_session.mark_as_finished(summary=summary)
|
|
492
|
+
|
|
493
|
+
# Update in repository
|
|
494
|
+
success = session_repo.update(existing_session)
|
|
495
|
+
|
|
496
|
+
if not success:
|
|
497
|
+
click.echo(f"error:update_failed:{session_id}", err=True)
|
|
498
|
+
sys.exit(1)
|
|
499
|
+
|
|
500
|
+
if verbose:
|
|
501
|
+
click.echo(f"✅ Session finished: #{session_id}")
|
|
502
|
+
click.echo(f" State: {existing_session.state.value}")
|
|
503
|
+
click.echo(f" Duration: {existing_session.get_duration()}")
|
|
504
|
+
if summary:
|
|
505
|
+
click.echo(f" Summary: {summary}")
|
|
506
|
+
else:
|
|
507
|
+
# TOON compact
|
|
508
|
+
click.echo(f"ok:session:{session_id},state:finished")
|
|
509
|
+
|
|
510
|
+
except Exception as e:
|
|
511
|
+
click.echo(f"error:{e}", err=True)
|
|
512
|
+
sys.exit(1)
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
@session.command("list")
|
|
516
|
+
@click.option("--workspace", "-w", help="Filter by workspace")
|
|
517
|
+
@click.option(
|
|
518
|
+
"--state",
|
|
519
|
+
"-s",
|
|
520
|
+
type=click.Choice(["WIP", "FINISHED", "ALL"], case_sensitive=False),
|
|
521
|
+
default="ALL",
|
|
522
|
+
help="Filter by state",
|
|
523
|
+
)
|
|
524
|
+
@click.option("--limit", "-l", default=50, type=int, help="Max results")
|
|
525
|
+
@click.option("--verbose", is_flag=True, help="Full formatted output")
|
|
526
|
+
def session_list(workspace, state, limit, verbose):
|
|
527
|
+
"""List sessions by workspace with filters."""
|
|
528
|
+
try:
|
|
529
|
+
# Use provided workspace or detect from environment
|
|
530
|
+
workspace = workspace or get_active_workspace()
|
|
531
|
+
|
|
532
|
+
# Get sessions by workspace
|
|
533
|
+
sessions = session_repo.find_by_workspace(workspace, limit=limit)
|
|
534
|
+
|
|
535
|
+
# Filter by state if not ALL
|
|
536
|
+
if state.upper() != "ALL":
|
|
537
|
+
target_state = (
|
|
538
|
+
SessionState.WIP if state.upper() == "WIP" else SessionState.FINISHED
|
|
539
|
+
)
|
|
540
|
+
sessions = [s for s in sessions if s.state == target_state]
|
|
541
|
+
|
|
542
|
+
if not sessions:
|
|
543
|
+
click.echo(f"ok:count:0,workspace:{workspace}")
|
|
544
|
+
return
|
|
545
|
+
|
|
546
|
+
if verbose:
|
|
547
|
+
click.echo(f"\n{'=' * 70}")
|
|
548
|
+
click.echo(f"🔄 Sessions ({len(sessions)} found)")
|
|
549
|
+
click.echo(f" Workspace: {workspace}")
|
|
550
|
+
if state.upper() != "ALL":
|
|
551
|
+
click.echo(f" State: {state.upper()}")
|
|
552
|
+
click.echo(f"{'=' * 70}\n")
|
|
553
|
+
|
|
554
|
+
for sess in sessions:
|
|
555
|
+
state_icon = "⏳" if sess.state == SessionState.WIP else "✅"
|
|
556
|
+
click.echo(f"{state_icon} [#{sess.id}] {sess.agent_name}")
|
|
557
|
+
click.echo(f" State: {sess.state.value}")
|
|
558
|
+
click.echo(f" Created: {sess.created_at}")
|
|
559
|
+
if sess.purpose:
|
|
560
|
+
click.echo(f" Purpose: {sess.purpose}")
|
|
561
|
+
if sess.ended_at:
|
|
562
|
+
click.echo(f" Duration: {sess.get_duration()}")
|
|
563
|
+
click.echo()
|
|
564
|
+
else:
|
|
565
|
+
# TOON compact
|
|
566
|
+
session_ids = [s.id for s in sessions]
|
|
567
|
+
data = {"count": len(sessions), "sessions": session_ids}
|
|
568
|
+
click.echo(f"ok:{toon_format(data, workspace=workspace)}")
|
|
569
|
+
|
|
570
|
+
except Exception as e:
|
|
571
|
+
click.echo(f"error:{e}", err=True)
|
|
572
|
+
sys.exit(1)
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
@session.command("status")
|
|
576
|
+
@click.option("--workspace", "-w", help="Workspace name")
|
|
577
|
+
@click.option("--verbose", is_flag=True, help="Full formatted output")
|
|
578
|
+
def session_status(workspace, verbose):
|
|
579
|
+
"""Show current active session for workspace."""
|
|
580
|
+
try:
|
|
581
|
+
# Use provided workspace or detect from environment
|
|
582
|
+
workspace = workspace or get_active_workspace()
|
|
583
|
+
|
|
584
|
+
# Get active session
|
|
585
|
+
active = SessionCoordinator.get_active_session(workspace, session_repo)
|
|
586
|
+
|
|
587
|
+
if not active:
|
|
588
|
+
if verbose:
|
|
589
|
+
click.echo(f"ℹ️ No active session in workspace '{workspace}'")
|
|
590
|
+
else:
|
|
591
|
+
click.echo("error:no_active_session")
|
|
592
|
+
return
|
|
593
|
+
|
|
594
|
+
if verbose:
|
|
595
|
+
click.echo(f"\n{'=' * 70}")
|
|
596
|
+
click.echo(f"⏳ Active Session")
|
|
597
|
+
click.echo(f"{'=' * 70}\n")
|
|
598
|
+
click.echo(f"ID: {active.id}")
|
|
599
|
+
click.echo(f"Workspace: {active.workspace}")
|
|
600
|
+
click.echo(f"Agent: {active.agent_name}")
|
|
601
|
+
click.echo(f"State: {active.state.value}")
|
|
602
|
+
click.echo(f"Created: {active.created_at}")
|
|
603
|
+
click.echo(f"Duration: {active.get_duration()}")
|
|
604
|
+
if active.purpose:
|
|
605
|
+
click.echo(f"Purpose: {active.purpose}")
|
|
606
|
+
click.echo()
|
|
607
|
+
else:
|
|
608
|
+
# TOON compact
|
|
609
|
+
click.echo(f"ok:session:{active.id},state:{active.state.value}")
|
|
610
|
+
|
|
611
|
+
except Exception as e:
|
|
612
|
+
click.echo(f"error:{e}", err=True)
|
|
613
|
+
sys.exit(1)
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
# =============================================================================
|
|
617
|
+
# Note Commands
|
|
618
|
+
# =============================================================================
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
@cli.group()
|
|
622
|
+
def note():
|
|
623
|
+
"""Manage notes (auto-completed findings/decisions)."""
|
|
624
|
+
pass
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
@note.command("add")
|
|
628
|
+
@click.argument("content")
|
|
629
|
+
@click.option("--tags", "-t", required=True, help="Comma-separated tags")
|
|
630
|
+
@click.option("--workspace", "-w", help="Workspace name")
|
|
631
|
+
@click.option("--session", "-s", help="Session ID (auto-detects active if omitted)")
|
|
632
|
+
@click.option("--verbose", is_flag=True, help="Full formatted output")
|
|
633
|
+
def note_add(content, tags, workspace, session, verbose):
|
|
634
|
+
"""Add note (auto-completes immediately)."""
|
|
635
|
+
try:
|
|
636
|
+
# Use provided workspace or detect from environment
|
|
637
|
+
workspace = workspace or get_active_workspace()
|
|
638
|
+
|
|
639
|
+
# Auto-detect active session if not provided
|
|
640
|
+
if not session:
|
|
641
|
+
active = session_repo.find_active_by_workspace(workspace)
|
|
642
|
+
if active:
|
|
643
|
+
session = active.id
|
|
644
|
+
if verbose:
|
|
645
|
+
click.echo(
|
|
646
|
+
f"ℹ️ Auto-linked to active session: {session[:8]}...", err=True
|
|
647
|
+
)
|
|
648
|
+
|
|
649
|
+
tags_list = [t.strip() for t in tags.split(",")]
|
|
650
|
+
|
|
651
|
+
# Store as completed TODO with [NOTE] prefix
|
|
652
|
+
entry_id = manager.store_todo(
|
|
653
|
+
content=f"[NOTE] {content}",
|
|
654
|
+
workspace=workspace,
|
|
655
|
+
priority=3,
|
|
656
|
+
tags=tags_list + ["note"],
|
|
657
|
+
session_id=session,
|
|
658
|
+
)
|
|
659
|
+
|
|
660
|
+
# Mark as completed immediately
|
|
661
|
+
manager.complete_todo(entry_id)
|
|
662
|
+
|
|
663
|
+
if verbose:
|
|
664
|
+
click.echo(f"📝 Note created: #{entry_id}")
|
|
665
|
+
click.echo(f" {content}")
|
|
666
|
+
else:
|
|
667
|
+
# TOON compact
|
|
668
|
+
click.echo(f"ok:note:{entry_id},workspace:{workspace}")
|
|
669
|
+
|
|
670
|
+
except Exception as e:
|
|
671
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
672
|
+
sys.exit(1)
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
@note.command("list")
|
|
676
|
+
@click.option("--tags", "-t", help="Filter by tags")
|
|
677
|
+
@click.option("--workspace", "-w", help="Filter by workspace")
|
|
678
|
+
@click.option("--limit", "-l", default=50, type=int, help="Max results")
|
|
679
|
+
@click.option("--verbose", is_flag=True, help="Full formatted output")
|
|
680
|
+
def note_list(tags, workspace, limit, verbose):
|
|
681
|
+
"""List notes."""
|
|
682
|
+
try:
|
|
683
|
+
# Use provided workspace or detect from environment
|
|
684
|
+
workspace = workspace or get_active_workspace()
|
|
685
|
+
|
|
686
|
+
# Search for notes (completed TODOs with [NOTE] prefix)
|
|
687
|
+
results = manager.search(
|
|
688
|
+
query="NOTE", limit=limit, context_type="todo", workspace=workspace
|
|
689
|
+
)
|
|
690
|
+
|
|
691
|
+
# Filter by tags if specified
|
|
692
|
+
if tags:
|
|
693
|
+
tags_list = [t.strip() for t in tags.split(",")]
|
|
694
|
+
results = [r for r in results if any(t in r.tags for t in tags_list)]
|
|
695
|
+
|
|
696
|
+
# Filter only completed notes
|
|
697
|
+
notes = [
|
|
698
|
+
r
|
|
699
|
+
for r in results
|
|
700
|
+
if r.content.startswith("[NOTE]") and r.status == "completed"
|
|
701
|
+
]
|
|
702
|
+
|
|
703
|
+
if not notes:
|
|
704
|
+
click.echo(f"ok:count:0,workspace:{workspace}")
|
|
705
|
+
return
|
|
706
|
+
|
|
707
|
+
if verbose:
|
|
708
|
+
click.echo(f"\n{'=' * 70}")
|
|
709
|
+
click.echo(f"📝 Notes ({len(notes)} found)")
|
|
710
|
+
click.echo(f"{'=' * 70}\n")
|
|
711
|
+
for note in notes[:limit]:
|
|
712
|
+
content = note.content.replace("[NOTE] ", "")
|
|
713
|
+
click.echo(
|
|
714
|
+
f"#{note.id} | {note.created_at.strftime('%Y-%m-%d')} | "
|
|
715
|
+
f"{', '.join(note.tags)}"
|
|
716
|
+
)
|
|
717
|
+
click.echo(f" {content}")
|
|
718
|
+
click.echo()
|
|
719
|
+
else:
|
|
720
|
+
# TOON compact
|
|
721
|
+
ids = [n.id for n in notes[:limit]]
|
|
722
|
+
click.echo(
|
|
723
|
+
f"ok:{toon_format({'count': len(notes), 'ids': ids}, workspace=workspace)}"
|
|
724
|
+
)
|
|
725
|
+
|
|
726
|
+
except Exception as e:
|
|
727
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
728
|
+
sys.exit(1)
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
# =============================================================================
|
|
732
|
+
# Context Commands
|
|
733
|
+
# =============================================================================
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
@cli.command("search")
|
|
737
|
+
@click.argument("query")
|
|
738
|
+
@click.option("--type", "context_type", help="Filter by type")
|
|
739
|
+
@click.option("--workspace", "-w", help="Filter by workspace")
|
|
740
|
+
@click.option("--limit", "-l", default=20, type=int, help="Max results")
|
|
741
|
+
def search(query, context_type, workspace, limit):
|
|
742
|
+
"""Full-text search across all context."""
|
|
743
|
+
try:
|
|
744
|
+
# Use provided workspace or detect from environment
|
|
745
|
+
workspace = workspace or get_active_workspace()
|
|
746
|
+
|
|
747
|
+
results = manager.search(
|
|
748
|
+
query, context_type=context_type, workspace=workspace, limit=limit
|
|
749
|
+
)
|
|
750
|
+
|
|
751
|
+
if not results:
|
|
752
|
+
click.echo(f"📭 No results for '{query}'")
|
|
753
|
+
return
|
|
754
|
+
|
|
755
|
+
click.echo(f"\n🔍 Search: '{query}' ({len(results)} results)\n")
|
|
756
|
+
|
|
757
|
+
for r in results:
|
|
758
|
+
type_icon = {
|
|
759
|
+
"todo": "📋",
|
|
760
|
+
"message": "📩",
|
|
761
|
+
"decision": "💡",
|
|
762
|
+
"learning": "🎓",
|
|
763
|
+
"workspace": "📂",
|
|
764
|
+
}.get(r.context_type, "📄")
|
|
765
|
+
|
|
766
|
+
click.echo(f"{type_icon} [{r.context_type}] #{r.id}")
|
|
767
|
+
click.echo(f" {r.summary or r.content[:80]}")
|
|
768
|
+
click.echo(f" 📅 {r.created_at}")
|
|
769
|
+
if r.workspace:
|
|
770
|
+
click.echo(f" 📂 {r.workspace}")
|
|
771
|
+
click.echo()
|
|
772
|
+
|
|
773
|
+
except Exception as e:
|
|
774
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
775
|
+
sys.exit(1)
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
@cli.command("summary")
|
|
779
|
+
@click.option("--workspace", "-w", help="Filter by workspace")
|
|
780
|
+
@click.option("--hours", "-h", default=24, type=int, help="Time window")
|
|
781
|
+
@click.option("--verbose", "-v", is_flag=True, help="Full formatted output")
|
|
782
|
+
def summary(workspace, hours, verbose):
|
|
783
|
+
"""Get activity summary for recent period."""
|
|
784
|
+
try:
|
|
785
|
+
# Use provided workspace or detect from environment
|
|
786
|
+
workspace = workspace or get_active_workspace()
|
|
787
|
+
|
|
788
|
+
if verbose:
|
|
789
|
+
# Show header only in verbose mode
|
|
790
|
+
llama_status = "🤖 Llama" if LLAMA_AVAILABLE else "📝 Basic"
|
|
791
|
+
click.echo(f"\n{'=' * 70}")
|
|
792
|
+
click.echo(f"📊 Activity Summary ({hours}h) - {llama_status}")
|
|
793
|
+
if workspace:
|
|
794
|
+
click.echo(f" Workspace: {workspace}")
|
|
795
|
+
click.echo(f"{'=' * 70}\n")
|
|
796
|
+
|
|
797
|
+
# Get recent entries
|
|
798
|
+
cutoff = datetime.utcnow() - timedelta(hours=hours)
|
|
799
|
+
cutoff_str = cutoff.isoformat() + "Z"
|
|
800
|
+
|
|
801
|
+
conn = manager._get_connection()
|
|
802
|
+
|
|
803
|
+
# Count by type
|
|
804
|
+
where_clause = " AND workspace = ?" if workspace else ""
|
|
805
|
+
params = (cutoff_str, workspace) if workspace else (cutoff_str,)
|
|
806
|
+
|
|
807
|
+
cursor = conn.execute(
|
|
808
|
+
f"""
|
|
809
|
+
SELECT context_type, status, COUNT(*) as count
|
|
810
|
+
FROM context_entries
|
|
811
|
+
WHERE created_at >= ?
|
|
812
|
+
{where_clause}
|
|
813
|
+
GROUP BY context_type, status
|
|
814
|
+
""",
|
|
815
|
+
params,
|
|
816
|
+
)
|
|
817
|
+
|
|
818
|
+
stats = {}
|
|
819
|
+
for row in cursor.fetchall():
|
|
820
|
+
ctx_type = row["context_type"]
|
|
821
|
+
status = row["status"]
|
|
822
|
+
count = row["count"]
|
|
823
|
+
if ctx_type not in stats:
|
|
824
|
+
stats[ctx_type] = {}
|
|
825
|
+
stats[ctx_type][status] = count
|
|
826
|
+
|
|
827
|
+
conn.close()
|
|
828
|
+
|
|
829
|
+
if not stats:
|
|
830
|
+
click.echo(f"ok:count:0,workspace:{workspace}")
|
|
831
|
+
return
|
|
832
|
+
|
|
833
|
+
if verbose:
|
|
834
|
+
# Full formatted output
|
|
835
|
+
for ctx_type, statuses in sorted(stats.items()):
|
|
836
|
+
total = sum(statuses.values())
|
|
837
|
+
icon = {
|
|
838
|
+
"todo": "📋",
|
|
839
|
+
"message": "📩",
|
|
840
|
+
"decision": "💡",
|
|
841
|
+
"learning": "🎓",
|
|
842
|
+
}.get(ctx_type, "📄")
|
|
843
|
+
click.echo(f"{icon} {ctx_type.upper()}: {total}")
|
|
844
|
+
for status, count in sorted(statuses.items()):
|
|
845
|
+
click.echo(f" - {status}: {count}")
|
|
846
|
+
click.echo()
|
|
847
|
+
else:
|
|
848
|
+
# TOON compact (default)
|
|
849
|
+
totals = {
|
|
850
|
+
ctx_type: sum(statuses.values()) for ctx_type, statuses in stats.items()
|
|
851
|
+
}
|
|
852
|
+
data = {"hours": hours, **totals}
|
|
853
|
+
click.echo(f"ok:{toon_format(data, workspace=workspace)}")
|
|
854
|
+
|
|
855
|
+
except Exception as e:
|
|
856
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
857
|
+
sys.exit(1)
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
@cli.command("export")
|
|
861
|
+
@click.option("--format", "-f", default="json", type=click.Choice(["json"]))
|
|
862
|
+
@click.option("--output", "-o", help="Output file (default: stdout)")
|
|
863
|
+
@click.option("--type", "context_type", help="Filter by type")
|
|
864
|
+
@click.option("--workspace", "-w", help="Filter by workspace")
|
|
865
|
+
def export(format, output, context_type, workspace):
|
|
866
|
+
"""Export context memory to JSON."""
|
|
867
|
+
try:
|
|
868
|
+
conn = manager._get_connection()
|
|
869
|
+
|
|
870
|
+
sql = "SELECT * FROM context_entries WHERE 1=1"
|
|
871
|
+
params = []
|
|
872
|
+
|
|
873
|
+
if context_type:
|
|
874
|
+
sql += " AND context_type = ?"
|
|
875
|
+
params.append(context_type)
|
|
876
|
+
|
|
877
|
+
if workspace:
|
|
878
|
+
sql += " AND workspace = ?"
|
|
879
|
+
params.append(workspace)
|
|
880
|
+
|
|
881
|
+
sql += " ORDER BY created_at"
|
|
882
|
+
|
|
883
|
+
cursor = conn.execute(sql, params)
|
|
884
|
+
entries = [dict(row) for row in cursor.fetchall()]
|
|
885
|
+
conn.close()
|
|
886
|
+
|
|
887
|
+
output_text = json.dumps(entries, indent=2)
|
|
888
|
+
|
|
889
|
+
if output:
|
|
890
|
+
Path(output).write_text(output_text)
|
|
891
|
+
click.echo(f"✅ Exported {len(entries)} entries to {output}")
|
|
892
|
+
else:
|
|
893
|
+
click.echo(output_text)
|
|
894
|
+
|
|
895
|
+
except Exception as e:
|
|
896
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
897
|
+
sys.exit(1)
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
# =============================================================================
|
|
901
|
+
# Management Commands
|
|
902
|
+
# =============================================================================
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
@cli.command("stats")
|
|
906
|
+
def stats():
|
|
907
|
+
"""Show database statistics."""
|
|
908
|
+
try:
|
|
909
|
+
conn = manager._get_connection()
|
|
910
|
+
|
|
911
|
+
click.echo(f"\n{'=' * 70}")
|
|
912
|
+
click.echo("📊 Context Memory Statistics")
|
|
913
|
+
click.echo(f"{'=' * 70}\n")
|
|
914
|
+
|
|
915
|
+
# Total entries
|
|
916
|
+
cursor = conn.execute("SELECT COUNT(*) FROM context_entries")
|
|
917
|
+
total = cursor.fetchone()[0]
|
|
918
|
+
click.echo(f"Total entries: {total}")
|
|
919
|
+
|
|
920
|
+
# By type
|
|
921
|
+
cursor = conn.execute("""
|
|
922
|
+
SELECT context_type, COUNT(*)
|
|
923
|
+
FROM context_entries
|
|
924
|
+
GROUP BY context_type
|
|
925
|
+
ORDER BY COUNT(*) DESC
|
|
926
|
+
""")
|
|
927
|
+
click.echo("\nBy type:")
|
|
928
|
+
for row in cursor.fetchall():
|
|
929
|
+
click.echo(f" - {row[0]}: {row[1]}")
|
|
930
|
+
|
|
931
|
+
# By status
|
|
932
|
+
cursor = conn.execute("""
|
|
933
|
+
SELECT status, COUNT(*)
|
|
934
|
+
FROM context_entries
|
|
935
|
+
GROUP BY status
|
|
936
|
+
""")
|
|
937
|
+
click.echo("\nBy status:")
|
|
938
|
+
for row in cursor.fetchall():
|
|
939
|
+
click.echo(f" - {row[0]}: {row[1]}")
|
|
940
|
+
|
|
941
|
+
# Database size
|
|
942
|
+
cursor = conn.execute(
|
|
943
|
+
"SELECT page_count * page_size FROM pragma_page_count(), pragma_page_size()"
|
|
944
|
+
)
|
|
945
|
+
size_bytes = cursor.fetchone()[0]
|
|
946
|
+
click.echo(f"\nDatabase size: {size_bytes / 1024 / 1024:.2f} MB")
|
|
947
|
+
|
|
948
|
+
# FTS index
|
|
949
|
+
cursor = conn.execute("SELECT COUNT(*) FROM context_fts")
|
|
950
|
+
fts_count = cursor.fetchone()[0]
|
|
951
|
+
synced = "✅" if fts_count == total else "❌"
|
|
952
|
+
click.echo(f"FTS index: {fts_count} {synced}")
|
|
953
|
+
|
|
954
|
+
# Llama availability
|
|
955
|
+
llama_icon = "✅" if LLAMA_AVAILABLE else "❌"
|
|
956
|
+
click.echo(f"Llama available: {llama_icon}")
|
|
957
|
+
|
|
958
|
+
conn.close()
|
|
959
|
+
click.echo()
|
|
960
|
+
|
|
961
|
+
except Exception as e:
|
|
962
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
963
|
+
sys.exit(1)
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
@cli.command("archive")
|
|
967
|
+
@click.option("--days", default=90, type=int, help="Archive older than days")
|
|
968
|
+
@click.option("--dry-run", is_flag=True, help="Show what would be archived")
|
|
969
|
+
def archive(days, dry_run):
|
|
970
|
+
"""Archive old completed entries."""
|
|
971
|
+
try:
|
|
972
|
+
if dry_run:
|
|
973
|
+
# Count entries that would be archived
|
|
974
|
+
cutoff = datetime.utcnow() - timedelta(days=days)
|
|
975
|
+
cutoff_str = cutoff.isoformat() + "Z"
|
|
976
|
+
|
|
977
|
+
conn = manager._get_connection()
|
|
978
|
+
cursor = conn.execute(
|
|
979
|
+
"""
|
|
980
|
+
SELECT COUNT(*) FROM context_entries
|
|
981
|
+
WHERE updated_at < ?
|
|
982
|
+
AND status IN ('completed', 'cancelled')
|
|
983
|
+
""",
|
|
984
|
+
(cutoff_str,),
|
|
985
|
+
)
|
|
986
|
+
count = cursor.fetchone()[0]
|
|
987
|
+
conn.close()
|
|
988
|
+
|
|
989
|
+
click.echo(
|
|
990
|
+
f"🔍 Dry run: would archive {count} entries older than {days} days"
|
|
991
|
+
)
|
|
992
|
+
return
|
|
993
|
+
|
|
994
|
+
count = manager.archive_old_entries(older_than_days=days)
|
|
995
|
+
click.echo(f"✅ Archived {count} entries older than {days} days")
|
|
996
|
+
|
|
997
|
+
except Exception as e:
|
|
998
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
999
|
+
sys.exit(1)
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
@cli.command("clean")
|
|
1003
|
+
@click.option(
|
|
1004
|
+
"--strategy",
|
|
1005
|
+
type=click.Choice(["notes", "completed", "old", "all"]),
|
|
1006
|
+
default="old",
|
|
1007
|
+
help="Cleanup strategy",
|
|
1008
|
+
)
|
|
1009
|
+
@click.option("--days", default=30, type=int, help="Age threshold (for old strategy)")
|
|
1010
|
+
@click.option(
|
|
1011
|
+
"--keep-tagged", is_flag=True, default=True, help="Protect tagged entries"
|
|
1012
|
+
)
|
|
1013
|
+
@click.option("--dry-run", is_flag=True, help="Preview without deleting")
|
|
1014
|
+
def clean(strategy, days, keep_tagged, dry_run):
|
|
1015
|
+
"""Clean up context entries based on strategy."""
|
|
1016
|
+
try:
|
|
1017
|
+
if dry_run:
|
|
1018
|
+
# Count entries that would be deleted
|
|
1019
|
+
cutoff = datetime.utcnow() - timedelta(days=days)
|
|
1020
|
+
cutoff_str = cutoff.isoformat() + "Z"
|
|
1021
|
+
|
|
1022
|
+
conn = manager._get_connection()
|
|
1023
|
+
|
|
1024
|
+
sql = "SELECT COUNT(*) FROM context_entries WHERE 1=1"
|
|
1025
|
+
params = []
|
|
1026
|
+
|
|
1027
|
+
if strategy == "notes":
|
|
1028
|
+
sql += " AND context_type = 'learning'"
|
|
1029
|
+
elif strategy == "completed":
|
|
1030
|
+
sql += " AND status IN ('completed', 'cancelled')"
|
|
1031
|
+
elif strategy == "old":
|
|
1032
|
+
sql += " AND created_at < ?"
|
|
1033
|
+
params.append(cutoff_str)
|
|
1034
|
+
|
|
1035
|
+
if keep_tagged:
|
|
1036
|
+
sql += " AND (tags IS NULL OR tags = '[]')"
|
|
1037
|
+
|
|
1038
|
+
cursor = conn.execute(sql, params)
|
|
1039
|
+
count = cursor.fetchone()[0]
|
|
1040
|
+
conn.close()
|
|
1041
|
+
|
|
1042
|
+
strategy_desc = {
|
|
1043
|
+
"notes": "learning entries",
|
|
1044
|
+
"completed": "completed/cancelled entries",
|
|
1045
|
+
"old": f"entries older than {days} days",
|
|
1046
|
+
"all": "ALL entries",
|
|
1047
|
+
}
|
|
1048
|
+
click.echo(f"🔍 Dry run: would delete {count} {strategy_desc[strategy]}")
|
|
1049
|
+
if keep_tagged:
|
|
1050
|
+
click.echo(" (protecting tagged entries)")
|
|
1051
|
+
return
|
|
1052
|
+
|
|
1053
|
+
count = manager.clean_entries(
|
|
1054
|
+
strategy=strategy, days=days, keep_tagged=keep_tagged
|
|
1055
|
+
)
|
|
1056
|
+
|
|
1057
|
+
strategy_desc = {
|
|
1058
|
+
"notes": "learning entries",
|
|
1059
|
+
"completed": "completed/cancelled entries",
|
|
1060
|
+
"old": f"entries older than {days} days",
|
|
1061
|
+
"all": "entries",
|
|
1062
|
+
}
|
|
1063
|
+
click.echo(f"✅ Deleted {count} {strategy_desc[strategy]}")
|
|
1064
|
+
|
|
1065
|
+
except ValueError as e:
|
|
1066
|
+
click.echo(f"❌ Invalid strategy: {e}", err=True)
|
|
1067
|
+
sys.exit(1)
|
|
1068
|
+
except Exception as e:
|
|
1069
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
1070
|
+
sys.exit(1)
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
@cli.command("vacuum")
|
|
1074
|
+
def vacuum():
|
|
1075
|
+
"""Optimize database (reclaim space, rebuild indexes)."""
|
|
1076
|
+
try:
|
|
1077
|
+
manager.vacuum()
|
|
1078
|
+
click.echo("✅ Database optimized")
|
|
1079
|
+
|
|
1080
|
+
except Exception as e:
|
|
1081
|
+
click.echo(f"❌ Error: {e}", err=True)
|
|
1082
|
+
sys.exit(1)
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
# Alias: status → stats
|
|
1086
|
+
@cli.command("status")
|
|
1087
|
+
def status():
|
|
1088
|
+
"""Alias for stats command."""
|
|
1089
|
+
stats.invoke(click.Context(stats))
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
if __name__ == "__main__":
|
|
1093
|
+
cli()
|