ai-first-cli 1.1.5 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ai → .ai-dev}/ai_context.md +8 -8
- package/{ai → .ai-dev}/ai_rules.md +2 -2
- package/{ai → .ai-dev}/architecture.md +38 -23
- package/.ai-dev/cache.json +2349 -0
- package/.ai-dev/context/features/test-projects.json +69 -0
- package/.ai-dev/context/flows/api.json +9 -0
- package/{ai → .ai-dev}/context/flows/auth.json +2 -1
- package/.ai-dev/context/flows/category.json +12 -0
- package/.ai-dev/context/flows/comment.json +16 -0
- package/.ai-dev/context/flows/post.json +18 -0
- package/.ai-dev/context/flows/routes.json +19 -0
- package/.ai-dev/context/flows/user.json +20 -0
- package/.ai-dev/context/flows/views.json +14 -0
- package/.ai-dev/dependencies.json +2946 -0
- package/.ai-dev/files.json +2944 -0
- package/{ai → .ai-dev}/git/commit-activity.json +39 -126
- package/{ai → .ai-dev}/git/recent-files.json +6 -6
- package/.ai-dev/git/recent-flows.json +1 -0
- package/.ai-dev/graph/knowledge-graph.json +44314 -0
- package/.ai-dev/graph/module-graph.json +866 -0
- package/.ai-dev/graph/symbol-graph.json +200622 -0
- package/.ai-dev/graph/symbol-references.json +6778 -0
- package/.ai-dev/hierarchy.json +20 -0
- package/.ai-dev/index-state.json +4123 -0
- package/.ai-dev/index.db +0 -0
- package/.ai-dev/modules.json +532 -0
- package/{ai → .ai-dev}/project.json +8 -7
- package/{ai → .ai-dev}/repo_map.json +3403 -918
- package/{ai → .ai-dev}/repo_map.md +604 -45
- package/{test-projects/nestjs-backend/ai → .ai-dev}/schema.json +1 -1
- package/{ai → .ai-dev}/summary.md +15 -5
- package/.ai-dev/symbols.json +7 -0
- package/{ai → .ai-dev}/tech_stack.md +7 -3
- package/.github/workflows/publish.yml +55 -0
- package/CHANGELOG.md +125 -0
- package/PLAN_MEJORAS.md +216 -0
- package/README.es.md +82 -99
- package/README.md +70 -89
- package/STATUS_ADAPTADORES +126 -0
- package/TEST_RESULTS_PHASE1.md +420 -0
- package/ai/graph/knowledge-graph.json +6 -44411
- package/ai-context/ai_context.md +130 -0
- package/ai-context/ai_rules.md +54 -0
- package/ai-context/architecture.md +136 -0
- package/ai-context/cache.json +2349 -0
- package/ai-context/ccp/jira-123/context.json +7 -0
- package/ai-context/context/features/commands.json +18 -0
- package/ai-context/context/features/src.json +61 -0
- package/ai-context/context/features/test-projects.json +69 -0
- package/ai-context/context/flows/account.json +9 -0
- package/ai-context/context/flows/ai-first.json +9 -0
- package/ai-context/context/flows/api.json +9 -0
- package/ai-context/context/flows/auth.json +13 -0
- package/ai-context/context/flows/category.json +12 -0
- package/ai-context/context/flows/comment.json +16 -0
- package/ai-context/context/flows/dashboard.json +9 -0
- package/ai-context/context/flows/doctor.json +9 -0
- package/ai-context/context/flows/explore.json +9 -0
- package/ai-context/context/flows/login.json +9 -0
- package/ai-context/context/flows/opportunity.json +9 -0
- package/ai-context/context/flows/post.json +18 -0
- package/ai-context/context/flows/routes.json +19 -0
- package/ai-context/context/flows/user.json +20 -0
- package/ai-context/context/flows/users.json +9 -0
- package/ai-context/context/flows/views.json +14 -0
- package/ai-context/context/repo.json +56 -0
- package/ai-context/context/utils.json +7 -0
- package/ai-context/conventions.md +53 -0
- package/ai-context/dependencies.json +2946 -0
- package/ai-context/embeddings.json +23828 -0
- package/ai-context/entrypoints.md +42 -0
- package/ai-context/files.json +2944 -0
- package/ai-context/git/commit-activity.json +8646 -0
- package/ai-context/git/recent-features.json +1 -0
- package/ai-context/git/recent-files.json +52 -0
- package/ai-context/git/recent-flows.json +1 -0
- package/ai-context/graph/knowledge-graph.json +44314 -0
- package/ai-context/graph/module-graph.json +866 -0
- package/ai-context/graph/symbol-graph.json +200622 -0
- package/ai-context/graph/symbol-references.json +6778 -0
- package/ai-context/hierarchy.json +20 -0
- package/ai-context/index-state.json +4123 -0
- package/ai-context/index.db +0 -0
- package/ai-context/modules.json +532 -0
- package/ai-context/project.json +30 -0
- package/ai-context/repo_map.json +5818 -0
- package/ai-context/repo_map.md +1327 -0
- package/{test-projects/python-cli/ai → ai-context}/schema.json +1 -1
- package/ai-context/summary.md +42 -0
- package/ai-context/symbols.json +7 -0
- package/ai-context/tech_stack.md +46 -0
- package/dist/analyzers/symbols.d.ts.map +1 -1
- package/dist/analyzers/symbols.js +135 -7
- package/dist/analyzers/symbols.js.map +1 -1
- package/dist/commands/ai-first.d.ts.map +1 -1
- package/dist/commands/ai-first.js +35 -15
- package/dist/commands/ai-first.js.map +1 -1
- package/dist/commands/doctor.js +1 -1
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/explore.js +1 -1
- package/dist/commands/explore.js.map +1 -1
- package/dist/core/ccp.js +1 -1
- package/dist/core/ccp.js.map +1 -1
- package/dist/core/embeddings.d.ts +11 -6
- package/dist/core/embeddings.d.ts.map +1 -1
- package/dist/core/embeddings.js +88 -38
- package/dist/core/embeddings.js.map +1 -1
- package/dist/core/gitAnalyzer.js +3 -3
- package/dist/core/gitAnalyzer.js.map +1 -1
- package/dist/core/incrementalAnalyzer.d.ts.map +1 -1
- package/dist/core/incrementalAnalyzer.js +76 -14
- package/dist/core/incrementalAnalyzer.js.map +1 -1
- package/dist/core/knowledgeGraphBuilder.js +1 -1
- package/dist/core/knowledgeGraphBuilder.js.map +1 -1
- package/dist/core/semanticContexts.d.ts.map +1 -1
- package/dist/core/semanticContexts.js +13 -4
- package/dist/core/semanticContexts.js.map +1 -1
- package/docs/guide/getting-started.md +8 -8
- package/docs/guide/quick-start.md +8 -8
- package/examples/01-express-api.md +3 -3
- package/examples/02-react-app.md +3 -3
- package/examples/03-python-django.md +3 -3
- package/examples/README.md +3 -3
- package/package.json +1 -1
- package/src/analyzers/symbols.ts +144 -7
- package/src/commands/ai-first.ts +37 -15
- package/src/commands/doctor.ts +1 -1
- package/src/commands/explore.ts +1 -1
- package/src/core/ccp.ts +1 -1
- package/src/core/embeddings.ts +106 -40
- package/src/core/gitAnalyzer.ts +3 -3
- package/src/core/incrementalAnalyzer.ts +101 -11
- package/src/core/knowledgeGraphBuilder.ts +1 -1
- package/src/core/semanticContexts.ts +14 -4
- package/test-projects/django-app/.ai-dev/ai_context.md +92 -0
- package/test-projects/django-app/.ai-dev/ai_rules.md +47 -0
- package/test-projects/django-app/.ai-dev/architecture.md +57 -0
- package/test-projects/django-app/.ai-dev/cache.json +169 -0
- package/test-projects/django-app/.ai-dev/context/flows/views.json +10 -0
- package/test-projects/django-app/.ai-dev/dependencies.json +312 -0
- package/test-projects/django-app/.ai-dev/files.json +209 -0
- package/test-projects/django-app/.ai-dev/graph/knowledge-graph.json +36 -0
- package/test-projects/django-app/.ai-dev/graph/module-graph.json +145 -0
- package/test-projects/django-app/.ai-dev/graph/symbol-graph.json +1488 -0
- package/test-projects/django-app/.ai-dev/index-state.json +294 -0
- package/test-projects/django-app/.ai-dev/index.db +0 -0
- package/test-projects/django-app/.ai-dev/modules.json +35 -0
- package/test-projects/django-app/.ai-dev/project.json +11 -0
- package/test-projects/django-app/.ai-dev/repo_map.json +412 -0
- package/test-projects/django-app/.ai-dev/repo_map.md +105 -0
- package/test-projects/{express-api/ai → django-app/.ai-dev}/schema.json +1 -1
- package/test-projects/django-app/.ai-dev/summary.md +15 -0
- package/test-projects/django-app/.ai-dev/symbols.json +1 -0
- package/test-projects/django-app/.ai-dev/tech_stack.md +32 -0
- package/test-projects/django-app/README.md +91 -0
- package/test-projects/django-app/ai-context/ai_context.md +92 -0
- package/test-projects/django-app/ai-context/ai_rules.md +47 -0
- package/test-projects/django-app/ai-context/architecture.md +57 -0
- package/test-projects/django-app/ai-context/cache.json +169 -0
- package/test-projects/django-app/ai-context/context/flows/views.json +10 -0
- package/test-projects/django-app/ai-context/conventions.md +51 -0
- package/test-projects/django-app/ai-context/dependencies.json +312 -0
- package/test-projects/django-app/ai-context/files.json +209 -0
- package/test-projects/django-app/ai-context/graph/knowledge-graph.json +36 -0
- package/test-projects/django-app/ai-context/graph/module-graph.json +145 -0
- package/test-projects/django-app/ai-context/graph/symbol-graph.json +1488 -0
- package/test-projects/django-app/ai-context/graph/symbol-references.json +1 -0
- package/test-projects/django-app/ai-context/index-state.json +294 -0
- package/test-projects/django-app/ai-context/index.db +0 -0
- package/test-projects/django-app/ai-context/modules.json +35 -0
- package/test-projects/django-app/ai-context/project.json +11 -0
- package/test-projects/django-app/ai-context/repo_map.json +412 -0
- package/test-projects/django-app/ai-context/repo_map.md +105 -0
- package/{ai → test-projects/django-app/ai-context}/schema.json +1 -1
- package/test-projects/django-app/ai-context/summary.md +15 -0
- package/test-projects/django-app/ai-context/symbols.json +1 -0
- package/test-projects/django-app/ai-context/tech_stack.md +32 -0
- package/test-projects/django-app/blog/__init__.py +0 -0
- package/test-projects/django-app/blog/admin.py +31 -0
- package/test-projects/django-app/blog/models.py +55 -0
- package/test-projects/django-app/blog/serializers.py +69 -0
- package/test-projects/django-app/blog/urls.py +14 -0
- package/test-projects/django-app/blog/views.py +96 -0
- package/test-projects/django-app/django_app/__init__.py +0 -0
- package/test-projects/django-app/django_app/settings.py +90 -0
- package/test-projects/django-app/django_app/urls.py +11 -0
- package/test-projects/django-app/django_app/wsgi.py +9 -0
- package/test-projects/django-app/manage.py +23 -0
- package/test-projects/django-app/requirements.txt +3 -0
- package/test-projects/django-app/users/__init__.py +0 -0
- package/test-projects/django-app/users/admin.py +42 -0
- package/test-projects/django-app/users/models.py +54 -0
- package/test-projects/django-app/users/serializers.py +113 -0
- package/test-projects/django-app/users/urls.py +13 -0
- package/test-projects/django-app/users/views.py +135 -0
- package/test-projects/express-api/{ai → .ai-dev}/project.json +2 -2
- package/test-projects/express-api/{ai → .ai-dev}/repo_map.json +1 -1
- package/test-projects/express-api/.ai-dev/schema.json +5 -0
- package/test-projects/express-api/.ai-dev/symbols.json +7 -0
- package/test-projects/express-api/ai-context/ai_context.md +112 -0
- package/test-projects/express-api/ai-context/ai_rules.md +50 -0
- package/test-projects/express-api/ai-context/architecture.md +62 -0
- package/test-projects/express-api/ai-context/context/features/controllers.json +13 -0
- package/test-projects/express-api/ai-context/context/features/services.json +13 -0
- package/test-projects/express-api/ai-context/context/flows/auth.json +12 -0
- package/test-projects/express-api/ai-context/context/flows/user.json +13 -0
- package/test-projects/express-api/ai-context/conventions.md +51 -0
- package/test-projects/express-api/ai-context/dependencies.json +54 -0
- package/test-projects/express-api/ai-context/entrypoints.md +17 -0
- package/test-projects/express-api/ai-context/modules.json +30 -0
- package/test-projects/express-api/ai-context/project.json +15 -0
- package/test-projects/express-api/ai-context/repo_map.json +100 -0
- package/test-projects/express-api/ai-context/repo_map.md +36 -0
- package/test-projects/express-api/ai-context/schema.json +5 -0
- package/test-projects/express-api/ai-context/summary.md +14 -0
- package/test-projects/express-api/ai-context/symbols.json +7 -0
- package/test-projects/express-api/ai-context/tech_stack.md +38 -0
- package/test-projects/express-api/index.js +9 -0
- package/test-projects/fastapi-app/.ai-dev/ai_context.md +89 -0
- package/test-projects/fastapi-app/.ai-dev/ai_rules.md +47 -0
- package/test-projects/fastapi-app/.ai-dev/architecture.md +39 -0
- package/test-projects/fastapi-app/.ai-dev/cache.json +125 -0
- package/test-projects/fastapi-app/.ai-dev/conventions.md +51 -0
- package/test-projects/fastapi-app/.ai-dev/dependencies.json +244 -0
- package/test-projects/fastapi-app/.ai-dev/files.json +154 -0
- package/test-projects/fastapi-app/.ai-dev/graph/knowledge-graph.json +15 -0
- package/test-projects/fastapi-app/.ai-dev/graph/module-graph.json +78 -0
- package/test-projects/fastapi-app/.ai-dev/graph/symbol-graph.json +1724 -0
- package/test-projects/fastapi-app/.ai-dev/graph/symbol-references.json +51 -0
- package/test-projects/fastapi-app/.ai-dev/index-state.json +217 -0
- package/test-projects/fastapi-app/.ai-dev/index.db +0 -0
- package/test-projects/fastapi-app/.ai-dev/modules.json +16 -0
- package/test-projects/fastapi-app/.ai-dev/project.json +9 -0
- package/test-projects/{express-api/ai/repo-map.json → fastapi-app/.ai-dev/repo_map.json} +121 -114
- package/test-projects/fastapi-app/.ai-dev/repo_map.md +74 -0
- package/test-projects/fastapi-app/.ai-dev/schema.json +5 -0
- package/test-projects/fastapi-app/.ai-dev/summary.md +12 -0
- package/test-projects/fastapi-app/.ai-dev/symbols.json +1 -0
- package/test-projects/fastapi-app/.ai-dev/tech_stack.md +32 -0
- package/test-projects/fastapi-app/.ai-dev/tools.json +10 -0
- package/test-projects/fastapi-app/README.md +118 -0
- package/test-projects/fastapi-app/ai-context/ai_context.md +89 -0
- package/test-projects/fastapi-app/ai-context/ai_rules.md +47 -0
- package/test-projects/fastapi-app/ai-context/architecture.md +39 -0
- package/test-projects/fastapi-app/ai-context/cache.json +125 -0
- package/test-projects/fastapi-app/ai-context/conventions.md +51 -0
- package/test-projects/fastapi-app/ai-context/dependencies.json +244 -0
- package/test-projects/fastapi-app/ai-context/entrypoints.md +4 -0
- package/test-projects/fastapi-app/ai-context/files.json +154 -0
- package/test-projects/fastapi-app/ai-context/graph/knowledge-graph.json +15 -0
- package/test-projects/fastapi-app/ai-context/graph/module-graph.json +78 -0
- package/test-projects/fastapi-app/ai-context/graph/symbol-graph.json +1724 -0
- package/test-projects/fastapi-app/ai-context/graph/symbol-references.json +51 -0
- package/test-projects/fastapi-app/ai-context/index-state.json +217 -0
- package/test-projects/fastapi-app/ai-context/index.db +0 -0
- package/test-projects/fastapi-app/ai-context/modules.json +16 -0
- package/test-projects/fastapi-app/ai-context/project.json +9 -0
- package/test-projects/fastapi-app/ai-context/repo_map.json +298 -0
- package/test-projects/fastapi-app/ai-context/repo_map.md +74 -0
- package/test-projects/fastapi-app/ai-context/schema.json +5 -0
- package/test-projects/fastapi-app/ai-context/summary.md +12 -0
- package/test-projects/fastapi-app/ai-context/symbols.json +1 -0
- package/test-projects/fastapi-app/ai-context/tech_stack.md +32 -0
- package/test-projects/fastapi-app/ai-context/tools.json +10 -0
- package/test-projects/fastapi-app/app/database.py +21 -0
- package/test-projects/fastapi-app/app/dependencies.py +107 -0
- package/test-projects/fastapi-app/app/main.py +47 -0
- package/test-projects/fastapi-app/app/models.py +149 -0
- package/test-projects/fastapi-app/app/routers/auth.py +117 -0
- package/test-projects/fastapi-app/app/routers/posts.py +272 -0
- package/test-projects/fastapi-app/app/schemas.py +191 -0
- package/test-projects/fastapi-app/requirements.txt +10 -0
- package/test-projects/flask-app/.ai-dev/ai_context.md +94 -0
- package/test-projects/flask-app/.ai-dev/ai_rules.md +47 -0
- package/test-projects/flask-app/.ai-dev/architecture.md +49 -0
- package/test-projects/flask-app/.ai-dev/cache.json +157 -0
- package/test-projects/flask-app/.ai-dev/context/features/app.json +25 -0
- package/test-projects/flask-app/.ai-dev/context/flows/routes.json +14 -0
- package/test-projects/flask-app/.ai-dev/conventions.md +51 -0
- package/test-projects/flask-app/.ai-dev/dependencies.json +298 -0
- package/test-projects/flask-app/.ai-dev/entrypoints.md +4 -0
- package/test-projects/flask-app/.ai-dev/files.json +194 -0
- package/test-projects/flask-app/.ai-dev/graph/knowledge-graph.json +60 -0
- package/test-projects/flask-app/.ai-dev/graph/module-graph.json +95 -0
- package/test-projects/flask-app/.ai-dev/graph/symbol-graph.json +1448 -0
- package/test-projects/flask-app/.ai-dev/graph/symbol-references.json +45 -0
- package/test-projects/flask-app/.ai-dev/index-state.json +273 -0
- package/test-projects/flask-app/.ai-dev/index.db +0 -0
- package/test-projects/flask-app/.ai-dev/modules.json +21 -0
- package/test-projects/flask-app/.ai-dev/project.json +13 -0
- package/test-projects/flask-app/.ai-dev/repo_map.json +400 -0
- package/test-projects/flask-app/.ai-dev/repo_map.md +98 -0
- package/test-projects/flask-app/.ai-dev/schema.json +5 -0
- package/test-projects/flask-app/.ai-dev/summary.md +13 -0
- package/test-projects/flask-app/.ai-dev/symbols.json +1 -0
- package/test-projects/flask-app/.ai-dev/tech_stack.md +32 -0
- package/test-projects/flask-app/.ai-dev/tools.json +10 -0
- package/test-projects/flask-app/README.md +129 -0
- package/test-projects/flask-app/ai-context/ai_context.md +94 -0
- package/test-projects/flask-app/ai-context/ai_rules.md +47 -0
- package/test-projects/flask-app/ai-context/architecture.md +49 -0
- package/test-projects/flask-app/ai-context/cache.json +157 -0
- package/test-projects/flask-app/ai-context/context/features/app.json +25 -0
- package/test-projects/flask-app/ai-context/context/flows/routes.json +14 -0
- package/test-projects/flask-app/ai-context/conventions.md +51 -0
- package/test-projects/flask-app/ai-context/dependencies.json +298 -0
- package/test-projects/flask-app/ai-context/entrypoints.md +4 -0
- package/test-projects/flask-app/ai-context/files.json +194 -0
- package/test-projects/flask-app/ai-context/graph/knowledge-graph.json +60 -0
- package/test-projects/flask-app/ai-context/graph/module-graph.json +95 -0
- package/test-projects/flask-app/ai-context/graph/symbol-graph.json +1448 -0
- package/test-projects/flask-app/ai-context/graph/symbol-references.json +45 -0
- package/test-projects/flask-app/ai-context/index-state.json +273 -0
- package/test-projects/flask-app/ai-context/index.db +0 -0
- package/test-projects/flask-app/ai-context/modules.json +21 -0
- package/test-projects/flask-app/ai-context/project.json +13 -0
- package/test-projects/flask-app/ai-context/repo_map.json +400 -0
- package/test-projects/flask-app/ai-context/repo_map.md +98 -0
- package/test-projects/flask-app/ai-context/schema.json +5 -0
- package/test-projects/flask-app/ai-context/summary.md +13 -0
- package/test-projects/flask-app/ai-context/symbols.json +1 -0
- package/test-projects/flask-app/ai-context/tech_stack.md +32 -0
- package/test-projects/flask-app/ai-context/tools.json +10 -0
- package/test-projects/flask-app/app/__init__.py +46 -0
- package/test-projects/flask-app/app/api/__init__.py +7 -0
- package/test-projects/flask-app/app/api/routes.py +122 -0
- package/test-projects/flask-app/app/auth/__init__.py +7 -0
- package/test-projects/flask-app/app/auth/forms.py +52 -0
- package/test-projects/flask-app/app/auth/routes.py +68 -0
- package/test-projects/flask-app/app/blog/__init__.py +7 -0
- package/test-projects/flask-app/app/blog/forms.py +35 -0
- package/test-projects/flask-app/app/blog/routes.py +140 -0
- package/test-projects/flask-app/app/main/__init__.py +7 -0
- package/test-projects/flask-app/app/main/routes.py +88 -0
- package/test-projects/flask-app/app/models.py +177 -0
- package/test-projects/flask-app/config.py +64 -0
- package/test-projects/flask-app/requirements.txt +10 -0
- package/test-projects/laravel-app/.ai-dev/ai_context.md +97 -0
- package/test-projects/laravel-app/.ai-dev/ai_rules.md +47 -0
- package/test-projects/laravel-app/.ai-dev/architecture.md +60 -0
- package/test-projects/laravel-app/.ai-dev/cache.json +161 -0
- package/test-projects/laravel-app/.ai-dev/context/features/app.json +21 -0
- package/test-projects/laravel-app/.ai-dev/context/flows/.json +9 -0
- package/test-projects/laravel-app/.ai-dev/context/flows/category.json +12 -0
- package/test-projects/laravel-app/.ai-dev/context/flows/comment.json +12 -0
- package/test-projects/laravel-app/.ai-dev/context/flows/post.json +12 -0
- package/test-projects/laravel-app/.ai-dev/context/flows/unnamed.json +9 -0
- package/test-projects/laravel-app/.ai-dev/conventions.md +51 -0
- package/test-projects/laravel-app/.ai-dev/entrypoints.md +4 -0
- package/test-projects/laravel-app/.ai-dev/files.json +199 -0
- package/test-projects/laravel-app/.ai-dev/graph/knowledge-graph.json +98 -0
- package/test-projects/laravel-app/.ai-dev/graph/module-graph.json +30 -0
- package/test-projects/laravel-app/.ai-dev/graph/symbol-graph.json +5 -0
- package/test-projects/laravel-app/.ai-dev/graph/symbol-references.json +1 -0
- package/test-projects/laravel-app/.ai-dev/index-state.json +280 -0
- package/test-projects/laravel-app/.ai-dev/index.db +0 -0
- package/test-projects/laravel-app/.ai-dev/modules.json +29 -0
- package/test-projects/laravel-app/.ai-dev/project.json +17 -0
- package/test-projects/laravel-app/.ai-dev/repo_map.json +419 -0
- package/test-projects/laravel-app/.ai-dev/repo_map.md +106 -0
- package/test-projects/laravel-app/.ai-dev/schema.json +5 -0
- package/test-projects/laravel-app/.ai-dev/summary.md +15 -0
- package/test-projects/laravel-app/.ai-dev/symbols.json +1 -0
- package/test-projects/laravel-app/.ai-dev/tech_stack.md +34 -0
- package/test-projects/laravel-app/.ai-dev/tools.json +10 -0
- package/test-projects/laravel-app/README.md +107 -0
- package/test-projects/laravel-app/ai-context/ai_context.md +97 -0
- package/test-projects/laravel-app/ai-context/ai_rules.md +47 -0
- package/test-projects/laravel-app/ai-context/architecture.md +60 -0
- package/test-projects/laravel-app/ai-context/cache.json +161 -0
- package/test-projects/laravel-app/ai-context/context/features/app.json +21 -0
- package/test-projects/laravel-app/ai-context/context/flows/.json +9 -0
- package/test-projects/laravel-app/ai-context/context/flows/category.json +12 -0
- package/test-projects/laravel-app/ai-context/context/flows/comment.json +12 -0
- package/test-projects/laravel-app/ai-context/context/flows/post.json +12 -0
- package/test-projects/laravel-app/ai-context/context/flows/unnamed.json +9 -0
- package/test-projects/laravel-app/ai-context/conventions.md +51 -0
- package/test-projects/laravel-app/ai-context/dependencies.json +6 -0
- package/test-projects/laravel-app/ai-context/entrypoints.md +4 -0
- package/test-projects/laravel-app/ai-context/files.json +199 -0
- package/test-projects/laravel-app/ai-context/graph/knowledge-graph.json +98 -0
- package/test-projects/laravel-app/ai-context/graph/module-graph.json +30 -0
- package/test-projects/laravel-app/ai-context/graph/symbol-graph.json +5 -0
- package/test-projects/laravel-app/ai-context/graph/symbol-references.json +1 -0
- package/test-projects/laravel-app/ai-context/index-state.json +280 -0
- package/test-projects/laravel-app/ai-context/index.db +0 -0
- package/test-projects/laravel-app/ai-context/modules.json +29 -0
- package/test-projects/laravel-app/ai-context/project.json +17 -0
- package/test-projects/laravel-app/ai-context/repo_map.json +419 -0
- package/test-projects/laravel-app/ai-context/repo_map.md +106 -0
- package/test-projects/laravel-app/ai-context/schema.json +5 -0
- package/test-projects/laravel-app/ai-context/summary.md +15 -0
- package/test-projects/laravel-app/ai-context/symbols.json +1 -0
- package/test-projects/laravel-app/ai-context/tech_stack.md +34 -0
- package/test-projects/laravel-app/ai-context/tools.json +10 -0
- package/test-projects/laravel-app/app/Http/Controllers/Api/CategoryController.php +88 -0
- package/test-projects/laravel-app/app/Http/Controllers/Api/CommentController.php +56 -0
- package/test-projects/laravel-app/app/Http/Controllers/Api/PostController.php +174 -0
- package/test-projects/laravel-app/app/Http/Controllers/Controller.php +12 -0
- package/test-projects/laravel-app/app/Models/Category.php +34 -0
- package/test-projects/laravel-app/app/Models/Comment.php +51 -0
- package/test-projects/laravel-app/app/Models/Post.php +108 -0
- package/test-projects/laravel-app/app/Models/User.php +85 -0
- package/test-projects/laravel-app/bootstrap/app.php +25 -0
- package/test-projects/laravel-app/composer.json +35 -0
- package/test-projects/laravel-app/routes/api.php +40 -0
- package/test-projects/nestjs-backend/{ai → .ai-dev}/ai_context.md +7 -6
- package/test-projects/nestjs-backend/{ai → .ai-dev}/ai_rules.md +4 -4
- package/test-projects/nestjs-backend/{ai → .ai-dev}/architecture.md +6 -0
- package/test-projects/nestjs-backend/{ai → .ai-dev}/cache.json +65 -33
- package/test-projects/nestjs-backend/.ai-dev/context/flows/auth.controller.json +14 -0
- package/test-projects/nestjs-backend/.ai-dev/context/flows/users.controller.json +14 -0
- package/test-projects/nestjs-backend/.ai-dev/context/flows/users.json +10 -0
- package/test-projects/nestjs-backend/.ai-dev/conventions.md +52 -0
- package/test-projects/nestjs-backend/{ai → .ai-dev}/files.json +25 -0
- package/test-projects/nestjs-backend/.ai-dev/graph/knowledge-graph.json +132 -0
- package/test-projects/nestjs-backend/{ai → .ai-dev}/index-state.json +122 -87
- package/{ai → test-projects/nestjs-backend/.ai-dev}/index.db +0 -0
- package/test-projects/nestjs-backend/{ai → .ai-dev}/project.json +6 -2
- package/test-projects/nestjs-backend/{ai/repo-map.json → .ai-dev/repo_map.json} +106 -2
- package/test-projects/nestjs-backend/.ai-dev/repo_map.md +104 -0
- package/test-projects/nestjs-backend/.ai-dev/schema.json +5 -0
- package/test-projects/nestjs-backend/{ai → .ai-dev}/summary.md +4 -2
- package/test-projects/nestjs-backend/.ai-dev/symbols.json +1 -0
- package/test-projects/nestjs-backend/{ai → .ai-dev}/tech_stack.md +2 -1
- package/test-projects/nestjs-backend/.ai-dev/tools.json +10 -0
- package/test-projects/nestjs-backend/ai-context/ai_context.md +111 -0
- package/test-projects/nestjs-backend/ai-context/ai_rules.md +52 -0
- package/test-projects/nestjs-backend/ai-context/architecture.md +49 -0
- package/test-projects/nestjs-backend/ai-context/cache.json +169 -0
- package/test-projects/nestjs-backend/ai-context/context/features/src.json +23 -0
- package/test-projects/nestjs-backend/ai-context/context/flows/auth.controller.json +14 -0
- package/test-projects/nestjs-backend/ai-context/context/flows/auth.json +10 -0
- package/test-projects/nestjs-backend/ai-context/context/flows/users..json +10 -0
- package/test-projects/nestjs-backend/ai-context/context/flows/users.controller.json +14 -0
- package/test-projects/nestjs-backend/ai-context/context/flows/users.json +10 -0
- package/test-projects/nestjs-backend/ai-context/conventions.md +52 -0
- package/test-projects/nestjs-backend/ai-context/dependencies.json +152 -0
- package/test-projects/nestjs-backend/ai-context/entrypoints.md +18 -0
- package/test-projects/nestjs-backend/ai-context/files.json +209 -0
- package/test-projects/nestjs-backend/ai-context/graph/knowledge-graph.json +132 -0
- package/test-projects/nestjs-backend/ai-context/graph/module-graph.json +29 -0
- package/test-projects/nestjs-backend/ai-context/graph/symbol-graph.json +304 -0
- package/test-projects/nestjs-backend/ai-context/graph/symbol-references.json +5 -0
- package/test-projects/nestjs-backend/ai-context/index-state.json +294 -0
- package/test-projects/nestjs-backend/ai-context/index.db +0 -0
- package/test-projects/nestjs-backend/ai-context/modules.json +19 -0
- package/test-projects/nestjs-backend/ai-context/project.json +18 -0
- package/test-projects/nestjs-backend/ai-context/repo_map.json +427 -0
- package/test-projects/nestjs-backend/ai-context/repo_map.md +104 -0
- package/test-projects/nestjs-backend/ai-context/schema.json +5 -0
- package/test-projects/nestjs-backend/ai-context/summary.md +13 -0
- package/test-projects/nestjs-backend/ai-context/symbols.json +1 -0
- package/test-projects/nestjs-backend/ai-context/tech_stack.md +38 -0
- package/test-projects/nestjs-backend/ai-context/tools.json +10 -0
- package/test-projects/python-cli/{ai → .ai-dev}/ai_context.md +5 -4
- package/test-projects/python-cli/{ai → .ai-dev}/ai_rules.md +2 -2
- package/test-projects/python-cli/{ai → .ai-dev}/architecture.md +6 -0
- package/test-projects/python-cli/{ai → .ai-dev}/cache.json +53 -33
- package/test-projects/python-cli/.ai-dev/entrypoints.md +4 -0
- package/test-projects/python-cli/{ai → .ai-dev}/files.json +10 -0
- package/test-projects/python-cli/{ai → .ai-dev}/graph/knowledge-graph.json +1 -1
- package/test-projects/python-cli/{ai → .ai-dev}/index-state.json +97 -83
- package/test-projects/python-cli/{ai → .ai-dev}/index.db +0 -0
- package/test-projects/python-cli/{ai → .ai-dev}/project.json +1 -1
- package/test-projects/python-cli/{ai/repo-map.json → .ai-dev/repo_map.json} +79 -2
- package/test-projects/python-cli/.ai-dev/repo_map.md +93 -0
- package/test-projects/python-cli/.ai-dev/schema.json +5 -0
- package/test-projects/python-cli/{ai → .ai-dev}/summary.md +4 -1
- package/test-projects/python-cli/.ai-dev/symbols.json +1 -0
- package/test-projects/python-cli/.ai-dev/tech_stack.md +32 -0
- package/test-projects/python-cli/.ai-dev/tools.json +10 -0
- package/test-projects/python-cli/ai-context/ai_context.md +95 -0
- package/test-projects/python-cli/ai-context/ai_rules.md +47 -0
- package/test-projects/python-cli/ai-context/architecture.md +55 -0
- package/test-projects/python-cli/ai-context/cache.json +149 -0
- package/test-projects/python-cli/ai-context/context/features/cli.json +16 -0
- package/test-projects/python-cli/ai-context/context/flows/list_.json +9 -0
- package/test-projects/python-cli/ai-context/context/flows/remove_.json +9 -0
- package/test-projects/python-cli/ai-context/conventions.md +51 -0
- package/test-projects/python-cli/ai-context/dependencies.json +66 -0
- package/test-projects/python-cli/ai-context/entrypoints.md +4 -0
- package/test-projects/python-cli/ai-context/files.json +184 -0
- package/test-projects/python-cli/ai-context/graph/knowledge-graph.json +83 -0
- package/test-projects/python-cli/ai-context/graph/module-graph.json +31 -0
- package/test-projects/python-cli/ai-context/graph/symbol-graph.json +358 -0
- package/test-projects/python-cli/ai-context/graph/symbol-references.json +11 -0
- package/test-projects/python-cli/ai-context/index-state.json +259 -0
- package/test-projects/{nestjs-backend/ai → python-cli/ai-context}/index.db +0 -0
- package/test-projects/python-cli/ai-context/modules.json +21 -0
- package/test-projects/python-cli/ai-context/project.json +15 -0
- package/test-projects/python-cli/ai-context/repo_map.json +367 -0
- package/test-projects/python-cli/ai-context/repo_map.md +93 -0
- package/test-projects/python-cli/ai-context/schema.json +5 -0
- package/test-projects/python-cli/ai-context/summary.md +14 -0
- package/test-projects/python-cli/ai-context/symbols.json +1 -0
- package/test-projects/python-cli/ai-context/tech_stack.md +32 -0
- package/test-projects/python-cli/ai-context/tools.json +10 -0
- package/test-projects/rails-app/.ai-dev/ai_context.md +94 -0
- package/test-projects/rails-app/.ai-dev/ai_rules.md +47 -0
- package/test-projects/rails-app/.ai-dev/architecture.md +49 -0
- package/test-projects/rails-app/.ai-dev/cache.json +193 -0
- package/test-projects/rails-app/.ai-dev/context/features/app.json +24 -0
- package/test-projects/rails-app/.ai-dev/context/features/config.json +13 -0
- package/test-projects/rails-app/.ai-dev/context/flows/application.json +9 -0
- package/test-projects/rails-app/.ai-dev/context/flows/application_.json +9 -0
- package/test-projects/rails-app/.ai-dev/context/flows/comments.json +11 -0
- package/test-projects/rails-app/.ai-dev/context/flows/comments_.json +11 -0
- package/test-projects/rails-app/.ai-dev/context/flows/posts.json +11 -0
- package/test-projects/rails-app/.ai-dev/context/flows/posts_.json +11 -0
- package/test-projects/rails-app/.ai-dev/context/flows/routes.json +9 -0
- package/test-projects/rails-app/.ai-dev/context/flows/users.json +11 -0
- package/test-projects/rails-app/.ai-dev/context/flows/users_.json +11 -0
- package/test-projects/rails-app/.ai-dev/conventions.md +51 -0
- package/test-projects/rails-app/.ai-dev/dependencies.json +6 -0
- package/test-projects/rails-app/.ai-dev/entrypoints.md +4 -0
- package/test-projects/rails-app/.ai-dev/files.json +239 -0
- package/test-projects/rails-app/.ai-dev/graph/knowledge-graph.json +130 -0
- package/test-projects/rails-app/.ai-dev/graph/module-graph.json +27 -0
- package/test-projects/rails-app/.ai-dev/graph/symbol-graph.json +5 -0
- package/test-projects/rails-app/.ai-dev/graph/symbol-references.json +1 -0
- package/test-projects/rails-app/.ai-dev/index-state.json +336 -0
- package/test-projects/rails-app/.ai-dev/index.db +0 -0
- package/test-projects/rails-app/.ai-dev/modules.json +26 -0
- package/test-projects/rails-app/.ai-dev/project.json +22 -0
- package/test-projects/rails-app/.ai-dev/repo_map.json +486 -0
- package/test-projects/rails-app/.ai-dev/repo_map.md +117 -0
- package/test-projects/rails-app/.ai-dev/schema.json +5 -0
- package/test-projects/rails-app/.ai-dev/summary.md +13 -0
- package/test-projects/rails-app/.ai-dev/symbols.json +1 -0
- package/test-projects/rails-app/.ai-dev/tech_stack.md +32 -0
- package/test-projects/rails-app/.ai-dev/tools.json +10 -0
- package/test-projects/rails-app/Gemfile +38 -0
- package/test-projects/rails-app/README.md +140 -0
- package/test-projects/rails-app/Rakefile +8 -0
- package/test-projects/rails-app/ai-context/ai_context.md +94 -0
- package/test-projects/rails-app/ai-context/ai_rules.md +47 -0
- package/test-projects/rails-app/ai-context/architecture.md +49 -0
- package/test-projects/rails-app/ai-context/cache.json +193 -0
- package/test-projects/rails-app/ai-context/context/features/app.json +24 -0
- package/test-projects/rails-app/ai-context/context/features/config.json +13 -0
- package/test-projects/rails-app/ai-context/context/flows/application.json +9 -0
- package/test-projects/rails-app/ai-context/context/flows/application_.json +9 -0
- package/test-projects/rails-app/ai-context/context/flows/comments.json +11 -0
- package/test-projects/rails-app/ai-context/context/flows/comments_.json +11 -0
- package/test-projects/rails-app/ai-context/context/flows/posts.json +11 -0
- package/test-projects/rails-app/ai-context/context/flows/posts_.json +11 -0
- package/test-projects/rails-app/ai-context/context/flows/routes.json +9 -0
- package/test-projects/rails-app/ai-context/context/flows/users.json +11 -0
- package/test-projects/rails-app/ai-context/context/flows/users_.json +11 -0
- package/test-projects/rails-app/ai-context/conventions.md +51 -0
- package/test-projects/rails-app/ai-context/dependencies.json +6 -0
- package/test-projects/rails-app/ai-context/entrypoints.md +4 -0
- package/test-projects/rails-app/ai-context/files.json +239 -0
- package/test-projects/rails-app/ai-context/graph/knowledge-graph.json +130 -0
- package/test-projects/rails-app/ai-context/graph/module-graph.json +27 -0
- package/test-projects/rails-app/ai-context/graph/symbol-graph.json +5 -0
- package/test-projects/rails-app/ai-context/graph/symbol-references.json +1 -0
- package/test-projects/rails-app/ai-context/index-state.json +336 -0
- package/test-projects/rails-app/ai-context/index.db +0 -0
- package/test-projects/rails-app/ai-context/modules.json +26 -0
- package/test-projects/rails-app/ai-context/project.json +22 -0
- package/test-projects/rails-app/ai-context/repo_map.json +486 -0
- package/test-projects/rails-app/ai-context/repo_map.md +117 -0
- package/test-projects/rails-app/ai-context/schema.json +5 -0
- package/test-projects/rails-app/ai-context/summary.md +13 -0
- package/test-projects/rails-app/ai-context/symbols.json +1 -0
- package/test-projects/rails-app/ai-context/tech_stack.md +32 -0
- package/test-projects/rails-app/ai-context/tools.json +10 -0
- package/test-projects/rails-app/app/controllers/api/comments_controller.rb +75 -0
- package/test-projects/rails-app/app/controllers/api/posts_controller.rb +68 -0
- package/test-projects/rails-app/app/controllers/api/users_controller.rb +54 -0
- package/test-projects/rails-app/app/controllers/application_controller.rb +31 -0
- package/test-projects/rails-app/app/models/comment.rb +34 -0
- package/test-projects/rails-app/app/models/post.rb +36 -0
- package/test-projects/rails-app/app/models/user.rb +28 -0
- package/test-projects/rails-app/app/services/post_service.rb +92 -0
- package/test-projects/rails-app/app/services/user_service.rb +76 -0
- package/test-projects/rails-app/config/application.rb +27 -0
- package/test-projects/rails-app/config/environment.rb +7 -0
- package/test-projects/rails-app/config/routes.rb +15 -0
- package/test-projects/react-app/{ai → .ai-dev}/ai_context.md +5 -4
- package/test-projects/react-app/{ai → .ai-dev}/ai_rules.md +2 -2
- package/test-projects/react-app/{ai → .ai-dev}/architecture.md +6 -0
- package/test-projects/react-app/{ai → .ai-dev}/cache.json +57 -33
- package/test-projects/react-app/.ai-dev/context/flows/UsersPage.json +14 -0
- package/test-projects/react-app/.ai-dev/entrypoints.md +4 -0
- package/test-projects/react-app/{ai → .ai-dev}/files.json +15 -0
- package/test-projects/react-app/{ai → .ai-dev}/graph/knowledge-graph.json +32 -3
- package/test-projects/react-app/{ai → .ai-dev}/index-state.json +105 -84
- package/test-projects/react-app/{ai → .ai-dev}/index.db +0 -0
- package/test-projects/react-app/{ai → .ai-dev}/project.json +2 -1
- package/test-projects/react-app/{ai/repo-map.json → .ai-dev/repo_map.json} +88 -2
- package/test-projects/react-app/.ai-dev/repo_map.md +94 -0
- package/test-projects/react-app/.ai-dev/schema.json +5 -0
- package/test-projects/react-app/{ai → .ai-dev}/summary.md +4 -2
- package/test-projects/react-app/.ai-dev/symbols.json +1 -0
- package/test-projects/react-app/{ai → .ai-dev}/tech_stack.md +2 -1
- package/test-projects/react-app/.ai-dev/tools.json +10 -0
- package/test-projects/react-app/ai-context/ai_context.md +96 -0
- package/test-projects/react-app/ai-context/ai_rules.md +49 -0
- package/test-projects/react-app/ai-context/architecture.md +39 -0
- package/test-projects/react-app/ai-context/cache.json +153 -0
- package/test-projects/react-app/ai-context/context/features/src.json +18 -0
- package/test-projects/react-app/ai-context/context/flows/UsersPage.json +14 -0
- package/test-projects/react-app/ai-context/context/flows/dashboard.json +9 -0
- package/test-projects/react-app/ai-context/context/flows/login.json +9 -0
- package/test-projects/react-app/ai-context/context/flows/users.json +9 -0
- package/test-projects/{nestjs-backend/ai → react-app/ai-context}/conventions.md +2 -2
- package/test-projects/react-app/ai-context/dependencies.json +128 -0
- package/test-projects/react-app/ai-context/entrypoints.md +4 -0
- package/test-projects/react-app/ai-context/files.json +189 -0
- package/test-projects/react-app/ai-context/graph/knowledge-graph.json +112 -0
- package/test-projects/react-app/ai-context/graph/module-graph.json +31 -0
- package/test-projects/react-app/ai-context/graph/symbol-graph.json +868 -0
- package/test-projects/react-app/ai-context/graph/symbol-references.json +31 -0
- package/test-projects/react-app/ai-context/index-state.json +266 -0
- package/test-projects/react-app/ai-context/index.db +0 -0
- package/test-projects/react-app/ai-context/modules.json +17 -0
- package/test-projects/react-app/ai-context/project.json +16 -0
- package/test-projects/react-app/ai-context/repo_map.json +391 -0
- package/test-projects/react-app/ai-context/repo_map.md +94 -0
- package/test-projects/react-app/ai-context/schema.json +5 -0
- package/test-projects/react-app/ai-context/summary.md +13 -0
- package/test-projects/react-app/ai-context/symbols.json +1 -0
- package/test-projects/react-app/ai-context/tech_stack.md +39 -0
- package/test-projects/react-app/ai-context/tools.json +10 -0
- package/test-projects/salesforce-cli/{ai → .ai-dev}/ai_context.md +5 -4
- package/test-projects/salesforce-cli/{ai → .ai-dev}/ai_rules.md +2 -2
- package/test-projects/salesforce-cli/{ai → .ai-dev}/architecture.md +6 -0
- package/test-projects/salesforce-cli/{ai → .ai-dev}/cache.json +52 -32
- package/test-projects/salesforce-cli/.ai-dev/conventions.md +51 -0
- package/test-projects/salesforce-cli/.ai-dev/dependencies.json +6 -0
- package/test-projects/salesforce-cli/.ai-dev/entrypoints.md +4 -0
- package/test-projects/salesforce-cli/{ai → .ai-dev}/files.json +10 -0
- package/test-projects/salesforce-cli/{ai → .ai-dev}/graph/knowledge-graph.json +1 -1
- package/test-projects/salesforce-cli/.ai-dev/graph/symbol-references.json +1 -0
- package/test-projects/salesforce-cli/{ai → .ai-dev}/index-state.json +90 -76
- package/test-projects/salesforce-cli/{ai → .ai-dev}/index.db +0 -0
- package/test-projects/salesforce-cli/{ai → .ai-dev}/project.json +1 -1
- package/test-projects/salesforce-cli/{ai/repo-map.json → .ai-dev/repo_map.json} +79 -2
- package/test-projects/salesforce-cli/.ai-dev/repo_map.md +80 -0
- package/test-projects/salesforce-cli/.ai-dev/schema.json +5 -0
- package/test-projects/salesforce-cli/{ai → .ai-dev}/summary.md +4 -2
- package/test-projects/salesforce-cli/.ai-dev/symbols.json +1 -0
- package/test-projects/salesforce-cli/{ai → .ai-dev}/tech_stack.md +2 -1
- package/test-projects/salesforce-cli/.ai-dev/tools.json +10 -0
- package/test-projects/salesforce-cli/ai-context/ai_context.md +89 -0
- package/test-projects/salesforce-cli/ai-context/ai_rules.md +47 -0
- package/test-projects/salesforce-cli/ai-context/architecture.md +39 -0
- package/test-projects/salesforce-cli/ai-context/cache.json +125 -0
- package/test-projects/salesforce-cli/ai-context/context/features/force-app.json +14 -0
- package/test-projects/salesforce-cli/ai-context/context/flows/account.json +9 -0
- package/test-projects/salesforce-cli/ai-context/context/flows/opportunity.json +9 -0
- package/test-projects/salesforce-cli/ai-context/conventions.md +51 -0
- package/test-projects/salesforce-cli/ai-context/dependencies.json +6 -0
- package/test-projects/salesforce-cli/ai-context/entrypoints.md +4 -0
- package/test-projects/{express-api/ai → salesforce-cli/ai-context}/files.json +27 -42
- package/test-projects/salesforce-cli/ai-context/graph/knowledge-graph.json +64 -0
- package/test-projects/salesforce-cli/ai-context/graph/module-graph.json +13 -0
- package/test-projects/salesforce-cli/ai-context/graph/symbol-graph.json +148 -0
- package/test-projects/salesforce-cli/ai-context/graph/symbol-references.json +1 -0
- package/test-projects/salesforce-cli/ai-context/index-state.json +217 -0
- package/test-projects/{express-api/ai → salesforce-cli/ai-context}/index.db +0 -0
- package/test-projects/salesforce-cli/ai-context/modules.json +12 -0
- package/test-projects/salesforce-cli/ai-context/project.json +14 -0
- package/test-projects/salesforce-cli/ai-context/repo_map.json +328 -0
- package/test-projects/salesforce-cli/ai-context/repo_map.md +80 -0
- package/test-projects/salesforce-cli/ai-context/schema.json +5 -0
- package/test-projects/salesforce-cli/ai-context/summary.md +13 -0
- package/test-projects/salesforce-cli/ai-context/symbols.json +1 -0
- package/test-projects/{python-cli/ai → salesforce-cli/ai-context}/tech_stack.md +3 -2
- package/test-projects/salesforce-cli/ai-context/tools.json +10 -0
- package/test-projects/spring-boot-app/.ai-dev/ai_context.md +91 -0
- package/test-projects/spring-boot-app/.ai-dev/ai_rules.md +48 -0
- package/test-projects/spring-boot-app/.ai-dev/architecture.md +39 -0
- package/test-projects/spring-boot-app/.ai-dev/cache.json +173 -0
- package/test-projects/spring-boot-app/.ai-dev/context/features/src.json +26 -0
- package/test-projects/spring-boot-app/.ai-dev/context/flows/PostController.json +19 -0
- package/test-projects/spring-boot-app/.ai-dev/context/flows/UserController.json +19 -0
- package/test-projects/spring-boot-app/.ai-dev/context/flows/comment.json +11 -0
- package/test-projects/spring-boot-app/.ai-dev/context/flows/post.json +14 -0
- package/test-projects/spring-boot-app/.ai-dev/context/flows/user.json +14 -0
- package/test-projects/spring-boot-app/.ai-dev/conventions.md +52 -0
- package/test-projects/spring-boot-app/.ai-dev/dependencies.json +326 -0
- package/test-projects/spring-boot-app/.ai-dev/entrypoints.md +4 -0
- package/test-projects/spring-boot-app/.ai-dev/files.json +214 -0
- package/test-projects/spring-boot-app/.ai-dev/graph/knowledge-graph.json +231 -0
- package/test-projects/spring-boot-app/.ai-dev/graph/module-graph.json +22 -0
- package/test-projects/spring-boot-app/.ai-dev/graph/symbol-graph.json +794 -0
- package/test-projects/spring-boot-app/.ai-dev/graph/symbol-references.json +70 -0
- package/test-projects/spring-boot-app/.ai-dev/index-state.json +301 -0
- package/test-projects/spring-boot-app/.ai-dev/index.db +0 -0
- package/test-projects/spring-boot-app/.ai-dev/modules.json +21 -0
- package/test-projects/spring-boot-app/.ai-dev/project.json +17 -0
- package/test-projects/spring-boot-app/.ai-dev/repo_map.json +461 -0
- package/test-projects/spring-boot-app/.ai-dev/repo_map.md +109 -0
- package/test-projects/spring-boot-app/.ai-dev/schema.json +5 -0
- package/test-projects/spring-boot-app/.ai-dev/summary.md +12 -0
- package/test-projects/spring-boot-app/.ai-dev/symbols.json +1 -0
- package/test-projects/spring-boot-app/.ai-dev/tech_stack.md +32 -0
- package/test-projects/spring-boot-app/.ai-dev/tools.json +10 -0
- package/test-projects/spring-boot-app/.classpath +57 -0
- package/test-projects/spring-boot-app/.factorypath +69 -0
- package/test-projects/spring-boot-app/.project +34 -0
- package/test-projects/spring-boot-app/.settings/org.eclipse.core.resources.prefs +4 -0
- package/test-projects/spring-boot-app/.settings/org.eclipse.jdt.apt.core.prefs +4 -0
- package/test-projects/spring-boot-app/.settings/org.eclipse.jdt.core.prefs +10 -0
- package/test-projects/spring-boot-app/.settings/org.eclipse.m2e.core.prefs +4 -0
- package/test-projects/spring-boot-app/README.md +122 -0
- package/test-projects/spring-boot-app/ai-context/ai_context.md +91 -0
- package/test-projects/spring-boot-app/ai-context/ai_rules.md +48 -0
- package/test-projects/spring-boot-app/ai-context/architecture.md +39 -0
- package/test-projects/spring-boot-app/ai-context/cache.json +173 -0
- package/test-projects/spring-boot-app/ai-context/context/features/src.json +26 -0
- package/test-projects/spring-boot-app/ai-context/context/flows/PostController.json +19 -0
- package/test-projects/spring-boot-app/ai-context/context/flows/UserController.json +19 -0
- package/test-projects/spring-boot-app/ai-context/context/flows/comment.json +11 -0
- package/test-projects/spring-boot-app/ai-context/context/flows/post.json +14 -0
- package/test-projects/spring-boot-app/ai-context/context/flows/user.json +14 -0
- package/test-projects/spring-boot-app/ai-context/conventions.md +52 -0
- package/test-projects/spring-boot-app/ai-context/dependencies.json +326 -0
- package/test-projects/spring-boot-app/ai-context/entrypoints.md +4 -0
- package/test-projects/spring-boot-app/ai-context/files.json +214 -0
- package/test-projects/spring-boot-app/ai-context/graph/knowledge-graph.json +231 -0
- package/test-projects/spring-boot-app/ai-context/graph/module-graph.json +22 -0
- package/test-projects/spring-boot-app/ai-context/graph/symbol-graph.json +794 -0
- package/test-projects/spring-boot-app/ai-context/graph/symbol-references.json +70 -0
- package/test-projects/spring-boot-app/ai-context/index-state.json +301 -0
- package/test-projects/spring-boot-app/ai-context/index.db +0 -0
- package/test-projects/spring-boot-app/ai-context/modules.json +21 -0
- package/test-projects/spring-boot-app/ai-context/project.json +17 -0
- package/test-projects/spring-boot-app/ai-context/repo_map.json +461 -0
- package/test-projects/spring-boot-app/ai-context/repo_map.md +109 -0
- package/test-projects/spring-boot-app/ai-context/schema.json +5 -0
- package/test-projects/spring-boot-app/ai-context/summary.md +12 -0
- package/test-projects/spring-boot-app/ai-context/symbols.json +1 -0
- package/test-projects/spring-boot-app/ai-context/tech_stack.md +32 -0
- package/test-projects/spring-boot-app/ai-context/tools.json +10 -0
- package/test-projects/spring-boot-app/pom.xml +79 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/DemoApplication.java +12 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/controllers/CommentController.java +89 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/controllers/PostController.java +92 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/controllers/UserController.java +84 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/models/Comment.java +38 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/models/Post.java +56 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/models/User.java +44 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/repositories/CommentRepository.java +21 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/repositories/PostRepository.java +18 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/repositories/UserRepository.java +15 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/services/PostService.java +83 -0
- package/test-projects/spring-boot-app/src/main/java/com/example/demo/services/UserService.java +62 -0
- package/test-projects/spring-boot-app/src/main/resources/application.properties +22 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/DemoApplication.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/CommentController$CommentCreateRequest.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/CommentController$CommentUpdateRequest.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/CommentController.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/PostController$PostCreateRequest.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/PostController$PostUpdateRequest.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/PostController.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/UserController$UserCreateRequest.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/UserController$UserUpdateRequest.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/controllers/UserController.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/models/Comment.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/models/Post.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/models/User.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/repositories/CommentRepository.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/repositories/PostRepository.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/repositories/UserRepository.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/services/PostService.class +0 -0
- package/test-projects/spring-boot-app/target/classes/com/example/demo/services/UserService.class +0 -0
- package/test_adapters.mjs +87 -0
- package/tests/e2e/README.md +20 -20
- package/tests/phase2-fixes.test.ts +200 -0
- package/ANALISIS_MEJORAS.md +0 -327
- package/TEST_RESULTS.md +0 -198
- package/TEST_RESULTS_COMPARATIVE.md +0 -159
- package/TEST_RESULTS_COMPLETE.md +0 -127
- package/TEST_RESULTS_COMPREHENSIVE.md +0 -208
- package/ai/cache.json +0 -1109
- package/ai/context/features/test-projects.json +0 -56
- package/ai/context/flows/add_.json +0 -9
- package/ai/context/flows/auth..json +0 -10
- package/ai/context/flows/list_.json +0 -9
- package/ai/context/flows/remove_.json +0 -9
- package/ai/context/flows/user.json +0 -14
- package/ai/context/flows/users..json +0 -10
- package/ai/dependencies.json +0 -485
- package/ai/files.json +0 -2029
- package/ai/git/recent-features.json +0 -3
- package/ai/git/recent-flows.json +0 -3
- package/ai/graph/module-graph.json +0 -389
- package/ai/graph/symbol-graph.json +0 -85206
- package/ai/graph/symbol-references.json +0 -2707
- package/ai/hierarchy.json +0 -7
- package/ai/index-state.json +0 -1939
- package/ai/modules.json +0 -299
- package/ai/repo-map.json +0 -2867
- package/test-projects/express-api/ai/cache.json +0 -125
- package/test-projects/express-api/ai/graph/knowledge-graph.json +0 -98
- package/test-projects/express-api/ai/graph/module-graph.json +0 -44
- package/test-projects/express-api/ai/graph/symbol-graph.json +0 -882
- package/test-projects/express-api/ai/graph/symbol-references.json +0 -51
- package/test-projects/express-api/ai/index-state.json +0 -238
- package/test-projects/express-api/ai/symbols.json +0 -1174
- package/test-projects/nestjs-backend/ai/graph/knowledge-graph.json +0 -74
- package/test-projects/nestjs-backend/ai/repo_map.json +0 -141
- package/test-projects/nestjs-backend/ai/repo_map.md +0 -39
- package/test-projects/nestjs-backend/ai/symbols.json +0 -527
- package/test-projects/python-cli/ai/context/flows/add_.json +0 -9
- package/test-projects/python-cli/ai/repo_map.json +0 -99
- package/test-projects/python-cli/ai/repo_map.md +0 -32
- package/test-projects/python-cli/ai/symbols.json +0 -475
- package/test-projects/react-app/ai/repo_map.json +0 -114
- package/test-projects/react-app/ai/repo_map.md +0 -31
- package/test-projects/react-app/ai/schema.json +0 -5
- package/test-projects/react-app/ai/symbols.json +0 -985
- package/test-projects/salesforce-cli/ai/repo_map.json +0 -69
- package/test-projects/salesforce-cli/ai/repo_map.md +0 -21
- package/test-projects/salesforce-cli/ai/schema.json +0 -5
- package/test-projects/salesforce-cli/ai/symbols.json +0 -245
- /package/{ai → .ai-dev}/ccp/jira-123/context.json +0 -0
- /package/{ai → .ai-dev}/context/features/commands.json +0 -0
- /package/{ai → .ai-dev}/context/features/src.json +0 -0
- /package/{ai → .ai-dev}/context/flows/account.json +0 -0
- /package/{ai → .ai-dev}/context/flows/ai-first.json +0 -0
- /package/{ai → .ai-dev}/context/flows/dashboard.json +0 -0
- /package/{ai → .ai-dev}/context/flows/doctor.json +0 -0
- /package/{ai → .ai-dev}/context/flows/explore.json +0 -0
- /package/{ai → .ai-dev}/context/flows/login.json +0 -0
- /package/{ai → .ai-dev}/context/flows/opportunity.json +0 -0
- /package/{ai → .ai-dev}/context/flows/users.json +0 -0
- /package/{ai → .ai-dev}/context/repo.json +0 -0
- /package/{ai → .ai-dev}/context/utils.json +0 -0
- /package/{ai → .ai-dev}/conventions.md +0 -0
- /package/{ai → .ai-dev}/embeddings.json +0 -0
- /package/{ai → .ai-dev}/entrypoints.md +0 -0
- /package/{ai/symbols.json → .ai-dev/git/recent-features.json} +0 -0
- /package/{ai → .ai-dev}/tools.json +0 -0
- /package/{test-projects/express-api/ai → ai-context}/tools.json +0 -0
- /package/test-projects/{salesforce-cli/ai → django-app/.ai-dev}/conventions.md +0 -0
- /package/test-projects/{python-cli/ai → django-app/.ai-dev}/entrypoints.md +0 -0
- /package/test-projects/{salesforce-cli/ai → django-app/.ai-dev}/graph/symbol-references.json +0 -0
- /package/test-projects/{nestjs-backend/ai → django-app/.ai-dev}/tools.json +0 -0
- /package/test-projects/{react-app/ai → django-app/ai-context}/entrypoints.md +0 -0
- /package/test-projects/{python-cli/ai → django-app/ai-context}/tools.json +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/ai_context.md +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/ai_rules.md +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/architecture.md +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/context/features/controllers.json +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/context/features/services.json +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/context/flows/auth.json +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/context/flows/user.json +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/conventions.md +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/dependencies.json +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/entrypoints.md +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/modules.json +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/repo_map.md +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/summary.md +0 -0
- /package/test-projects/express-api/{ai → .ai-dev}/tech_stack.md +0 -0
- /package/test-projects/{react-app/ai → express-api/.ai-dev}/tools.json +0 -0
- /package/test-projects/{salesforce-cli/ai → express-api/ai-context}/tools.json +0 -0
- /package/test-projects/{salesforce-cli/ai → fastapi-app/.ai-dev}/entrypoints.md +0 -0
- /package/test-projects/{salesforce-cli/ai → laravel-app/.ai-dev}/dependencies.json +0 -0
- /package/test-projects/nestjs-backend/{ai → .ai-dev}/context/features/src.json +0 -0
- /package/test-projects/nestjs-backend/{ai/context/flows/auth..json → .ai-dev/context/flows/auth.json} +0 -0
- /package/test-projects/nestjs-backend/{ai → .ai-dev}/context/flows/users..json +0 -0
- /package/test-projects/nestjs-backend/{ai → .ai-dev}/dependencies.json +0 -0
- /package/test-projects/nestjs-backend/{ai → .ai-dev}/entrypoints.md +0 -0
- /package/test-projects/nestjs-backend/{ai → .ai-dev}/graph/module-graph.json +0 -0
- /package/test-projects/nestjs-backend/{ai → .ai-dev}/graph/symbol-graph.json +0 -0
- /package/test-projects/nestjs-backend/{ai → .ai-dev}/graph/symbol-references.json +0 -0
- /package/test-projects/nestjs-backend/{ai → .ai-dev}/modules.json +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/context/features/cli.json +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/context/flows/list_.json +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/context/flows/remove_.json +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/conventions.md +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/dependencies.json +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/graph/module-graph.json +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/graph/symbol-graph.json +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/graph/symbol-references.json +0 -0
- /package/test-projects/python-cli/{ai → .ai-dev}/modules.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/context/features/src.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/context/flows/dashboard.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/context/flows/login.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/context/flows/users.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/conventions.md +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/dependencies.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/graph/module-graph.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/graph/symbol-graph.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/graph/symbol-references.json +0 -0
- /package/test-projects/react-app/{ai → .ai-dev}/modules.json +0 -0
- /package/test-projects/salesforce-cli/{ai → .ai-dev}/context/features/force-app.json +0 -0
- /package/test-projects/salesforce-cli/{ai → .ai-dev}/context/flows/account.json +0 -0
- /package/test-projects/salesforce-cli/{ai → .ai-dev}/context/flows/opportunity.json +0 -0
- /package/test-projects/salesforce-cli/{ai → .ai-dev}/graph/module-graph.json +0 -0
- /package/test-projects/salesforce-cli/{ai → .ai-dev}/graph/symbol-graph.json +0 -0
- /package/test-projects/salesforce-cli/{ai → .ai-dev}/modules.json +0 -0
|
@@ -1,32 +1,42 @@
|
|
|
1
1
|
# Repository Summary
|
|
2
|
-
- **Total files**:
|
|
2
|
+
- **Total files**: 565
|
|
3
3
|
|
|
4
4
|
## Files by Extension
|
|
5
5
|
- .cls: 2
|
|
6
6
|
- .css: 1
|
|
7
|
+
- .java: 12
|
|
7
8
|
- .js: 7
|
|
8
|
-
- .json:
|
|
9
|
-
- .md:
|
|
10
|
-
- .
|
|
9
|
+
- .json: 248
|
|
10
|
+
- .md: 150
|
|
11
|
+
- .php: 10
|
|
12
|
+
- .py: 46
|
|
13
|
+
- .rb: 12
|
|
11
14
|
- .trigger: 1
|
|
12
15
|
- .ts: 70
|
|
13
16
|
- .tsx: 6
|
|
14
17
|
|
|
15
18
|
## Files by Directory
|
|
16
19
|
- .netlify: 1
|
|
20
|
+
- ANALISIS_COMPLETO.md: 1
|
|
21
|
+
- ANALISIS_MEJORAS.md: 1
|
|
17
22
|
- BUGS.md: 1
|
|
18
23
|
- CHANGELOG.md: 1
|
|
19
24
|
- CONTRIBUTING.md: 1
|
|
20
25
|
- FLOW.md: 1
|
|
26
|
+
- PLAN_MEJORAS.md: 1
|
|
21
27
|
- README.es.md: 1
|
|
22
28
|
- README.md: 1
|
|
23
29
|
- TEST_RESULTS.md: 1
|
|
30
|
+
- TEST_RESULTS_COMPARATIVE.md: 1
|
|
31
|
+
- TEST_RESULTS_COMPLETE.md: 1
|
|
32
|
+
- TEST_RESULTS_COMPREHENSIVE.md: 1
|
|
33
|
+
- TEST_RESULTS_PHASE1.md: 1
|
|
24
34
|
- ai: 50
|
|
25
35
|
- docs: 32
|
|
26
36
|
- examples: 4
|
|
27
37
|
- package-lock.json: 1
|
|
28
38
|
- package.json: 1
|
|
29
39
|
- src: 49
|
|
30
|
-
- test-projects:
|
|
40
|
+
- test-projects: 404
|
|
31
41
|
- tests: 8
|
|
32
42
|
- tsconfig.json: 1
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
# Technology Stack
|
|
2
2
|
|
|
3
|
-
**Languages**: JSON, Markdown, TypeScript, CSS, JavaScript,
|
|
3
|
+
**Languages**: JSON, Markdown, TypeScript, CSS, Python, JavaScript, PHP, Ruby, TypeScript (React), Java
|
|
4
4
|
|
|
5
5
|
**Frameworks**: Vue.js, Nuxt.js, TypeScript
|
|
6
6
|
|
|
7
|
-
**Package Managers**: npm
|
|
7
|
+
**Package Managers**: npm, Composer
|
|
8
8
|
|
|
9
9
|
## Languages
|
|
10
10
|
- JSON
|
|
11
11
|
- Markdown
|
|
12
12
|
- TypeScript
|
|
13
13
|
- CSS
|
|
14
|
-
- JavaScript
|
|
15
14
|
- Python
|
|
15
|
+
- JavaScript
|
|
16
|
+
- PHP
|
|
17
|
+
- Ruby
|
|
16
18
|
- TypeScript (React)
|
|
19
|
+
- Java
|
|
17
20
|
|
|
18
21
|
## Frameworks
|
|
19
22
|
- Vue.js
|
|
@@ -28,6 +31,7 @@
|
|
|
28
31
|
|
|
29
32
|
## Package Managers
|
|
30
33
|
- npm
|
|
34
|
+
- Composer
|
|
31
35
|
|
|
32
36
|
## Testing
|
|
33
37
|
- None detected
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: Publish to npm
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
inputs:
|
|
9
|
+
version:
|
|
10
|
+
description: 'Version to publish (e.g., 1.2.0)'
|
|
11
|
+
required: false
|
|
12
|
+
default: 'patch'
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
publish:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout code
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Setup Node.js
|
|
23
|
+
uses: actions/setup-node@v4
|
|
24
|
+
with:
|
|
25
|
+
node-version: '20'
|
|
26
|
+
registry-url: 'https://registry.npmjs.org'
|
|
27
|
+
|
|
28
|
+
- name: Install dependencies
|
|
29
|
+
run: npm install
|
|
30
|
+
|
|
31
|
+
- name: Run tests
|
|
32
|
+
run: npm test || true
|
|
33
|
+
|
|
34
|
+
- name: Build
|
|
35
|
+
run: npm run build
|
|
36
|
+
|
|
37
|
+
- name: Run adapter tests
|
|
38
|
+
run: node test_adapters.mjs
|
|
39
|
+
|
|
40
|
+
- name: Publish to npm
|
|
41
|
+
if: success()
|
|
42
|
+
run: npm publish
|
|
43
|
+
env:
|
|
44
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
45
|
+
|
|
46
|
+
- name: Create GitHub Release
|
|
47
|
+
if: success()
|
|
48
|
+
uses: actions/create-release@v1
|
|
49
|
+
env:
|
|
50
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
51
|
+
with:
|
|
52
|
+
tag_name: v${{ github.event.inputs.version || 'latest' }}
|
|
53
|
+
release_name: Release v${{ github.event.inputs.version || 'latest' }}
|
|
54
|
+
draft: false
|
|
55
|
+
prerelease: false
|
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,131 @@ All notable changes to `ai-first` will be documented in this file.
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
### Phase 2: Code Quality - Completed (v1.2.0)
|
|
10
|
+
|
|
11
|
+
**Date:** 2026-03-18
|
|
12
|
+
|
|
13
|
+
#### Fixed
|
|
14
|
+
|
|
15
|
+
- **Symbol Extraction Extension Bug**
|
|
16
|
+
- Files affected: `src/analyzers/symbols.ts`
|
|
17
|
+
- Issue: Extension checks were missing dots (`"js"` instead of `".js"`)
|
|
18
|
+
- Fix: All extension checks now use correct format with dot
|
|
19
|
+
|
|
20
|
+
- **Flow Name Sanitization**
|
|
21
|
+
- Files affected: `src/core/semanticContexts.ts`
|
|
22
|
+
- Issue: Malformed flow names like `auth..json`, `add_.json`
|
|
23
|
+
- Fix: Added `sanitizeFlowName()` function
|
|
24
|
+
|
|
25
|
+
- **Duplicate Files**
|
|
26
|
+
- Issue: `repo-map.json` and `repo_map.json` coexisted
|
|
27
|
+
- Fix: Consolidated to `repo_map.json` only
|
|
28
|
+
|
|
29
|
+
- **PHP Parser**
|
|
30
|
+
- Files affected: `src/analyzers/symbols.ts`
|
|
31
|
+
- Issue: Laravel adapter returned 0 symbols
|
|
32
|
+
- Fix: Added `parsePHP()` function
|
|
33
|
+
|
|
34
|
+
- **Ruby Parser**
|
|
35
|
+
- Files affected: `src/analyzers/symbols.ts`
|
|
36
|
+
- Issue: Rails adapter returned 0 symbols
|
|
37
|
+
- Fix: Added `parseRuby()` function
|
|
38
|
+
|
|
39
|
+
#### Added
|
|
40
|
+
|
|
41
|
+
- **Functional Tests for Phase 2 Fixes**
|
|
42
|
+
- File: `tests/phase2-fixes.test.ts`
|
|
43
|
+
- Tests symbol extraction, flow sanitization, file consolidation
|
|
44
|
+
|
|
45
|
+
- **Adapter Test Script**
|
|
46
|
+
- File: `test_adapters.mjs`
|
|
47
|
+
- Tests all 11 adapters for symbol extraction (11/11 PASS)
|
|
48
|
+
|
|
49
|
+
#### Changed
|
|
50
|
+
|
|
51
|
+
- **Breaking Change:** Flow files are now sanitized
|
|
52
|
+
- Old names: `auth..json`, `users..json`, `add_.json`
|
|
53
|
+
- New names: `auth.json`, `users.json`, `add.json`
|
|
54
|
+
|
|
55
|
+
- **Breaking Change:** `repo-map.json` renamed to `repo_map.json`
|
|
56
|
+
|
|
57
|
+
### Phase 3: Architecture - Completed (v1.2.0)
|
|
58
|
+
|
|
59
|
+
**Date:** 2026-03-18
|
|
60
|
+
|
|
61
|
+
#### Changed
|
|
62
|
+
|
|
63
|
+
- **Breaking Change:** Directory renamed from `ai/` to `ai-context/`
|
|
64
|
+
- Reason: Hidden directory (starts with `.`) keeps project root cleaner
|
|
65
|
+
- Affects: All generated files, test projects, documentation
|
|
66
|
+
- Files updated: 21 source files + all README/docs
|
|
67
|
+
|
|
68
|
+
#### Technical Details
|
|
69
|
+
|
|
70
|
+
- Changed: `path.join(rootDir, "ai")` → `path.join(rootDir, "ai-context")` in all source files
|
|
71
|
+
- Renamed: Main project directory `ai/` → `ai-context/`
|
|
72
|
+
- Renamed: All 11 test project directories `*/ai/` → `*/ai-context/`
|
|
73
|
+
- Updated: README.md, README.es.md, CHANGELOG.md, PLAN_MEJORAS.md
|
|
74
|
+
|
|
75
|
+
### Phase 4: Performance - Completed (v1.2.0)
|
|
76
|
+
|
|
77
|
+
**Date:** 2026-03-19
|
|
78
|
+
|
|
79
|
+
#### Changed
|
|
80
|
+
|
|
81
|
+
- **Embeddings storage moved from JSON to SQLite**
|
|
82
|
+
- Embeddings now stored in `index.db` alongside other index data
|
|
83
|
+
- Removed `embeddings.json` file generation
|
|
84
|
+
- Performance improvement: Single database file instead of multiple JSON files
|
|
85
|
+
- Files affected: `src/core/embeddings.ts`, `src/commands/ai-first.ts`
|
|
86
|
+
|
|
87
|
+
#### Technical Details
|
|
88
|
+
|
|
89
|
+
- Added `embeddings` table to SQLite database
|
|
90
|
+
- Schema: `(id, vector, metadata, chunk_id, file_path, start_line, end_line, type, language)`
|
|
91
|
+
- Vector and metadata stored as JSON strings
|
|
92
|
+
- Same `index.db` used for files, symbols, imports, and embeddings
|
|
93
|
+
|
|
94
|
+
### Phase 5: Documentation - Completed (v1.2.0)
|
|
95
|
+
|
|
96
|
+
**Date:** 2026-03-19
|
|
97
|
+
|
|
98
|
+
#### Changed
|
|
99
|
+
|
|
100
|
+
- **Documentation consistency fixed**
|
|
101
|
+
- Updated all documentation files to use `ai-context/` instead of `ai/`
|
|
102
|
+
- Files updated: README.md, README.es.md, tests/e2e/README.md, examples/README.md
|
|
103
|
+
- Files updated: docs/guide/quick-start.md, docs/guide/getting-started.md
|
|
104
|
+
- Examples updated: examples/01-express-api.md, examples/02-react-app.md, examples/03-python-django.md
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## [1.1.6] - 2026-03-18
|
|
109
|
+
|
|
110
|
+
### Added
|
|
111
|
+
- **Phase 1: Testing Infrastructure** - Complete test project coverage for 10/16 adapters (62.5%)
|
|
112
|
+
- Test projects added:
|
|
113
|
+
- `django-app` (Django Web framework)
|
|
114
|
+
- `laravel-app` (Laravel PHP framework)
|
|
115
|
+
- `fastapi-app` (FastAPI Python)
|
|
116
|
+
- `flask-app` (Flask Python micro-framework)
|
|
117
|
+
- `rails-app` (Ruby on Rails)
|
|
118
|
+
- `spring-boot-app` (Spring Boot Java)
|
|
119
|
+
- All 11 commands tested on all 11 projects (121/121 functional tests passing)
|
|
120
|
+
- All projects generate valid JSON, SQLite databases, and Markdown files
|
|
121
|
+
|
|
122
|
+
### Fixed
|
|
123
|
+
- **Ruby Parser**: Added `parseRuby()` function to extract symbols from Ruby files
|
|
124
|
+
- rails-app now extracts 74 symbols (was 0)
|
|
125
|
+
- **Flow Name Sanitization**: Added `sanitizeFileName()` function in semanticContexts.ts
|
|
126
|
+
- Fixes malformed names: `auth..json` → `auth.json`, `add_.json` → `add.json`
|
|
127
|
+
- **Laravel/PHP Relationships**: Now properly detecting relationships (was 0, now 3+)
|
|
128
|
+
|
|
129
|
+
### Verified
|
|
130
|
+
- All 11 test projects pass doctor command (6/6 checks)
|
|
131
|
+
- All adapters detect their respective frameworks correctly
|
|
132
|
+
- All 11 commands (init, map, index, doctor, graph, summarize, update, explore, query, context, adapters) work on all projects
|
|
133
|
+
|
|
9
134
|
---
|
|
10
135
|
|
|
11
136
|
## [1.1.5] - 2026-03-17
|
package/PLAN_MEJORAS.md
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
# 📋 PLAN DE MEJORAS - ai-first-cli
|
|
2
|
+
## Roadmap de 5 Fases
|
|
3
|
+
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## 🎯 OBJETIVO GENERAL
|
|
7
|
+
|
|
8
|
+
Implementar todas las mejoras identificadas en el análisis mediante un proceso estructurado de 5 fases, donde cada fase:
|
|
9
|
+
- Tiene su propia branch
|
|
10
|
+
- Incluye desarrollo + pruebas exhaustivas
|
|
11
|
+
- No se mergea hasta que todas las pruebas pasen
|
|
12
|
+
- Actualiza documentación (ENG + ES) y changelog
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 📊 RESUMEN DE FASES
|
|
17
|
+
|
|
18
|
+
| Fase | Nombre | Branch | Prioridad | Estado | Breaking Changes |
|
|
19
|
+
|------|--------|--------|-----------|--------|------------------|
|
|
20
|
+
| 1 | Testing Infrastructure | `feature/phase-1-testing-infrastructure` | 🔴 Crítica | ✅ **COMPLETADO** | ❌ No |
|
|
21
|
+
| 2 | Code Quality | `feature/phase-2-code-quality` | 🔴 Crítica | ✅ **COMPLETADO** | ✅ Sí |
|
|
22
|
+
| 3 | Architecture | `feature/phase-3-architecture` | 🟠 Alta | ⏳ Pendiente | ✅ Sí |
|
|
23
|
+
| 4 | Performance | `feature/phase-4-performance` | 🟡 Media | ⏳ Pendiente | ❌ No |
|
|
24
|
+
| 5 | Documentation | `feature/phase-5-documentation` | 🟢 Baja | ⏳ Pendiente | ❌ No |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## ✅ CRITERIOS DE ÉXITO POR FASE
|
|
29
|
+
|
|
30
|
+
1. **Todas las pruebas funcionales pasan** (11 comandos × N proyectos mínimo)
|
|
31
|
+
2. **Resultados esperados = Resultados obtenidos**
|
|
32
|
+
3. **Documentación actualizada** (README.md, README.es.md, CHANGELOG.md, CHANGELOG.es.md)
|
|
33
|
+
4. **Commit claro** con mensaje descriptivo
|
|
34
|
+
5. **Push a GitHub** en branch correspondiente
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 📊 ESTADO ACTUAL - PHASE 2 COMPLETADO ✅
|
|
39
|
+
|
|
40
|
+
### Commit: `b9d50bc`
|
|
41
|
+
**Fecha:** 2026-03-18
|
|
42
|
+
**Branch:** `feature/phase-2-code-quality`
|
|
43
|
+
**Push:** ✅ Subido a `upstream/feature/phase-2-code-quality`
|
|
44
|
+
|
|
45
|
+
### Bugs Arreglados en Phase 2:
|
|
46
|
+
|
|
47
|
+
1. **Symbol Extraction Extension Bug** ✅
|
|
48
|
+
- `src/analyzers/symbols.ts` - Extension checks faltaban puntos
|
|
49
|
+
- `"ts"` → `".ts"`, `"js"` → `".js"`, etc.
|
|
50
|
+
|
|
51
|
+
2. **Flow Name Sanitization** ✅
|
|
52
|
+
- `src/core/semanticContexts.ts` - Nueva función `sanitizeFlowName()`
|
|
53
|
+
- Elimina: double dots (`..`), trailing underscores (`_`)
|
|
54
|
+
|
|
55
|
+
3. **Duplicate Files Consolidation** ✅
|
|
56
|
+
- `repo-map.json` → `repo_map.json` (11 archivos eliminados)
|
|
57
|
+
|
|
58
|
+
4. **Missing Parsers (PHP & Ruby)** ✅
|
|
59
|
+
- `parsePHP()` - Laravel adapter ahora funciona
|
|
60
|
+
- `parseRuby()` - Rails adapter ahora funciona
|
|
61
|
+
|
|
62
|
+
### Test Results - Symbol Extraction (11/11 PASS):
|
|
63
|
+
|
|
64
|
+
| Adapter | Ext | File | Symbols | Status |
|
|
65
|
+
|---------|-----|------|---------|--------|
|
|
66
|
+
| Django | .py | blog/models.py | 10 | ✅ |
|
|
67
|
+
| Laravel | .php | Controller.php | 1 | ✅ |
|
|
68
|
+
| FastAPI | .py | app/main.py | 2 | ✅ |
|
|
69
|
+
| Flask | .py | app/models.py | 17 | ✅ |
|
|
70
|
+
| Rails | .rb | app/models/user.rb | 4 | ✅ |
|
|
71
|
+
| Spring Boot | .java | DemoApplication.java | 2 | ✅ |
|
|
72
|
+
| NestJS | .ts | src/main.ts | 2 | ✅ |
|
|
73
|
+
| Express | .js | index.js | 7 | ✅ |
|
|
74
|
+
| React | .tsx | src/App.tsx | 1 | ✅ |
|
|
75
|
+
| Salesforce | .cls | AccountController.cls | 3 | ✅ |
|
|
76
|
+
| Python CLI | .py | main.py | 1 | ✅ |
|
|
77
|
+
|
|
78
|
+
### Adapter Coverage: 11/11 (100%) ✅
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 🚀 PROMPTS DE DESARROLLO POR FASE
|
|
83
|
+
|
|
84
|
+
### FASE 1: TESTING INFRASTRUCTURE ✅ COMPLETADO
|
|
85
|
+
**Branch:** `feature/phase-1-testing-infrastructure`
|
|
86
|
+
**Commit:** `a5562f1`
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
### FASE 2: CODE QUALITY ✅ COMPLETADO
|
|
91
|
+
**Branch:** `feature/phase-2-code-quality`
|
|
92
|
+
**Commits:**
|
|
93
|
+
- `b9d50bc` - fix: Add PHP and Ruby parsers for symbol extraction
|
|
94
|
+
- `9fb4196` - test: Add functional tests for Phase 2 fixes
|
|
95
|
+
- `c6a8a31` - chore: Regenerate main project AI context with sanitized flow names
|
|
96
|
+
- `a9bf9df` - chore: Regenerate test project AI contexts and clean up malformed files
|
|
97
|
+
- `2b4f1a2` - fix(Phase 2): Core code fixes for symbol extraction and flow names
|
|
98
|
+
- `0559783` - fix(Phase 2): Multiple code quality improvements
|
|
99
|
+
|
|
100
|
+
**FIXES IMPLEMENTADOS:**
|
|
101
|
+
|
|
102
|
+
1. **Symbol Extraction Extension Fix**
|
|
103
|
+
- Archivo: `src/analyzers/symbols.ts`
|
|
104
|
+
- Problema: `path.extname()` devuelve `.js` pero el check era `=== "js"` (sin punto)
|
|
105
|
+
- Solución: Cambiar todos los checks a formato con punto: `".js"`, `".ts"`, etc.
|
|
106
|
+
|
|
107
|
+
2. **Flow Name Sanitization**
|
|
108
|
+
- Archivo: `src/core/semanticContexts.ts`
|
|
109
|
+
- Función: `sanitizeFlowName()`
|
|
110
|
+
- Sanitiza: `..` → `.`, trailing `_` → removed
|
|
111
|
+
|
|
112
|
+
3. **repo-map.json Consolidation**
|
|
113
|
+
- Archivo: `src/commands/ai-first.ts`
|
|
114
|
+
- Cambio: `repo-map.json` → `repo_map.json`
|
|
115
|
+
|
|
116
|
+
4. **PHP Parser Added**
|
|
117
|
+
- Archivo: `src/analyzers/symbols.ts`
|
|
118
|
+
- Función: `parsePHP()`
|
|
119
|
+
- Soporta: classes, interfaces, functions, constants
|
|
120
|
+
|
|
121
|
+
5. **Ruby Parser Added**
|
|
122
|
+
- Archivo: `src/analyzers/symbols.ts`
|
|
123
|
+
- Función: `parseRuby()`
|
|
124
|
+
- Soporta: classes, modules, methods, constants
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
### FASE 3: ARCHITECTURE ✅ COMPLETADO
|
|
129
|
+
**Branch:** `feature/phase-3-architecture`
|
|
130
|
+
**Objetivo:** Renombrar ai/ a ai-context/ y reorganizar estructura
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
### FASE 4: PERFORMANCE ✅ COMPLETADO
|
|
135
|
+
**Branch:** `feature/phase-4-performance`
|
|
136
|
+
**Objetivo:** Mover embeddings a SQLite y fixes menores
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
### FASE 5: DOCUMENTATION ✅ COMPLETADO
|
|
141
|
+
**Branch:** `feature/phase-5-documentation`
|
|
142
|
+
**Objetivo:** Actualizar documentación en español y crear changelogs
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## 📊 CRONOGRAMA ACTUALIZADO
|
|
147
|
+
|
|
148
|
+
| Fase | Duración Estimada | Dependencias | Estado |
|
|
149
|
+
|------|-------------------|--------------|--------|
|
|
150
|
+
| Phase 1: Testing | 3-4 días | Ninguna | ✅ **COMPLETADO** |
|
|
151
|
+
| Phase 2: Code Quality | 2-3 días | Ninguna | ✅ **COMPLETADO** |
|
|
152
|
+
| Phase 3: Architecture | 2 días | Phase 2 | ✅ **COMPLETADO** |
|
|
153
|
+
| Phase 4: Performance | 1-2 días | Phase 3 | ✅ **COMPLETADO** |
|
|
154
|
+
| Phase 5: Documentation | 1-2 días | Todas las anteriores | ✅ **COMPLETADO** |
|
|
155
|
+
|
|
156
|
+
**Total:** 9-13 días de desarrollo
|
|
157
|
+
**Completado:** 5/5 fases (100%)
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## 🔄 PROCESO DE MERGE
|
|
162
|
+
|
|
163
|
+
1. **Cada fase se desarrolla en su branch**
|
|
164
|
+
2. **Todas las pruebas deben pasar** antes de considerar merge
|
|
165
|
+
3. **Code review** entre fases
|
|
166
|
+
4. **Merge a master** solo cuando todas las fases estén completas
|
|
167
|
+
5. **Release v1.2.0** al final de Phase 5
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## ✅ CHECKLIST PRE-RELEASE v1.2.0
|
|
172
|
+
|
|
173
|
+
- [x] Phase 1: 11 test projects working (5 old + 6 new)
|
|
174
|
+
- [x] Phase 1: Commit pushed to GitHub
|
|
175
|
+
- [x] Phase 2: No duplicate files, all snake_case
|
|
176
|
+
- [x] Phase 2: Symbol extraction fixed for all 11 adapters
|
|
177
|
+
- [x] Phase 2: Flow names sanitized (no more auth..json, add_.json)
|
|
178
|
+
- [x] Phase 3: New folder structure working (ai-context/ instead of ai/)
|
|
179
|
+
- [ ] Phase 4: Performance improvements verified
|
|
180
|
+
- [ ] Phase 5: Documentation complete (ENG + ES)
|
|
181
|
+
- [ ] All 11 commands work on all 11 projects
|
|
182
|
+
- [ ] CHANGELOG.md and CHANGELOG.es.md updated
|
|
183
|
+
- [ ] README.md and README.es.md synchronized
|
|
184
|
+
- [ ] Migration guide created
|
|
185
|
+
- [ ] Breaking changes documented
|
|
186
|
+
- [ ] Version bumped to 1.2.0
|
|
187
|
+
- [ ] Published to npm
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## 📁 DOCUMENTACIÓN CREADA DURANTE PHASE 2
|
|
192
|
+
|
|
193
|
+
1. **tests/phase2-fixes.test.ts** - Pruebas funcionales para fixes de Phase 2
|
|
194
|
+
2. **test_adapters.mjs** - Script de prueba para 11 adapters
|
|
195
|
+
3. **PLAN_MEJORAS.md** - Actualizado con estado de Phase 2
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## ⚠️ PROBLEMAS CONOCIDOS - RESOLVED
|
|
200
|
+
|
|
201
|
+
### 1. Archivos Duplicados ✅ RESUELTO
|
|
202
|
+
- `repo-map.json` eliminado, solo `repo_map.json` existe
|
|
203
|
+
|
|
204
|
+
### 2. Nombres de Flows Malformados ✅ RESUELTO
|
|
205
|
+
- Función `sanitizeFlowName()` implementada
|
|
206
|
+
- Archivos malformados eliminados
|
|
207
|
+
|
|
208
|
+
### 3. Symbol Extraction Fallando ✅ RESUELTO
|
|
209
|
+
- Extension checks corregidos (`.js`, `.ts`, etc.)
|
|
210
|
+
- PHP y Ruby parsers agregados
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
*Plan creado: 2026-03-17*
|
|
215
|
+
*Última actualización: 2026-03-18*
|
|
216
|
+
*Version target: 1.2.0*
|