ai-first-cli 1.1.3 → 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 +18 -11
- package/{ai → .ai-dev}/ai_rules.md +5 -3
- package/{ai → .ai-dev}/architecture.md +52 -16
- package/.ai-dev/cache.json +2349 -0
- package/.ai-dev/context/features/commands.json +18 -0
- package/.ai-dev/context/features/src.json +61 -0
- package/.ai-dev/context/features/test-projects.json +69 -0
- package/.ai-dev/context/flows/account.json +9 -0
- package/.ai-dev/context/flows/ai-first.json +9 -0
- package/.ai-dev/context/flows/api.json +9 -0
- package/.ai-dev/context/flows/auth.json +13 -0
- package/.ai-dev/context/flows/category.json +12 -0
- package/.ai-dev/context/flows/comment.json +16 -0
- package/.ai-dev/context/flows/dashboard.json +9 -0
- package/.ai-dev/context/flows/doctor.json +9 -0
- package/.ai-dev/context/flows/explore.json +9 -0
- package/.ai-dev/context/flows/login.json +9 -0
- package/.ai-dev/context/flows/opportunity.json +9 -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/users.json +9 -0
- package/.ai-dev/context/flows/views.json +14 -0
- package/.ai-dev/conventions.md +53 -0
- package/.ai-dev/dependencies.json +2946 -0
- package/{ai → .ai-dev}/entrypoints.md +10 -0
- package/.ai-dev/files.json +2944 -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-dev/project.json +30 -0
- package/.ai-dev/repo_map.json +5818 -0
- package/.ai-dev/repo_map.md +1327 -0
- package/.ai-dev/schema.json +5 -0
- package/.ai-dev/summary.md +42 -0
- package/.ai-dev/symbols.json +7 -0
- package/.ai-dev/tech_stack.md +46 -0
- package/.ai-dev/tools.json +10 -0
- package/.github/workflows/publish.yml +55 -0
- package/BUGS.md +455 -0
- package/CHANGELOG.md +218 -218
- 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 -43639
- 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-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/ai-context/schema.json +5 -0
- package/ai-context/summary.md +42 -0
- package/ai-context/symbols.json +7 -0
- package/ai-context/tech_stack.md +46 -0
- package/ai-context/tools.json +10 -0
- package/dist/analyzers/dependencies.d.ts.map +1 -1
- package/dist/analyzers/dependencies.js +8 -16
- package/dist/analyzers/dependencies.js.map +1 -1
- package/dist/analyzers/symbols.d.ts.map +1 -1
- package/dist/analyzers/symbols.js +194 -6
- package/dist/analyzers/symbols.js.map +1 -1
- package/dist/commands/ai-first.d.ts.map +1 -1
- package/dist/commands/ai-first.js +63 -21
- 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 +61 -30
- package/dist/core/semanticContexts.js.map +1 -1
- package/dist/core/symbolGraph.d.ts.map +1 -1
- package/dist/core/symbolGraph.js +14 -2
- package/dist/core/symbolGraph.js.map +1 -1
- package/dist/utils/fileUtils.d.ts.map +1 -1
- package/dist/utils/fileUtils.js +5 -0
- package/dist/utils/fileUtils.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 +2 -2
- package/src/analyzers/dependencies.ts +10 -20
- package/src/analyzers/symbols.ts +207 -6
- package/src/commands/ai-first.ts +67 -22
- 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 +68 -33
- package/src/core/symbolGraph.ts +16 -2
- package/src/utils/fileUtils.ts +5 -0
- 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/conventions.md +51 -0
- package/test-projects/django-app/.ai-dev/dependencies.json +312 -0
- package/test-projects/django-app/.ai-dev/entrypoints.md +4 -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/graph/symbol-references.json +1 -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/django-app/.ai-dev/schema.json +5 -0
- 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/.ai-dev/tools.json +10 -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/entrypoints.md +4 -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/test-projects/django-app/ai-context/schema.json +5 -0
- 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/ai-context/tools.json +10 -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-dev/ai_context.md +112 -0
- package/test-projects/express-api/.ai-dev/ai_rules.md +50 -0
- package/test-projects/express-api/.ai-dev/architecture.md +62 -0
- package/test-projects/express-api/.ai-dev/context/features/controllers.json +13 -0
- package/test-projects/express-api/.ai-dev/context/features/services.json +13 -0
- package/test-projects/express-api/.ai-dev/context/flows/auth.json +12 -0
- package/test-projects/express-api/.ai-dev/context/flows/user.json +13 -0
- package/test-projects/express-api/.ai-dev/conventions.md +51 -0
- package/test-projects/express-api/.ai-dev/dependencies.json +54 -0
- package/test-projects/express-api/.ai-dev/entrypoints.md +17 -0
- package/test-projects/express-api/.ai-dev/modules.json +30 -0
- package/test-projects/express-api/.ai-dev/project.json +15 -0
- package/test-projects/express-api/.ai-dev/repo_map.json +100 -0
- package/test-projects/express-api/.ai-dev/repo_map.md +36 -0
- package/test-projects/express-api/.ai-dev/schema.json +5 -0
- package/test-projects/express-api/.ai-dev/summary.md +14 -0
- package/test-projects/express-api/.ai-dev/symbols.json +7 -0
- package/test-projects/express-api/.ai-dev/tech_stack.md +38 -0
- package/test-projects/express-api/.ai-dev/tools.json +10 -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/ai-context/tools.json +10 -0
- package/test-projects/express-api/controllers/authController.js +32 -0
- package/test-projects/express-api/controllers/userController.js +51 -0
- package/test-projects/express-api/index.js +30 -0
- package/test-projects/express-api/middleware/authMiddleware.js +30 -0
- package/test-projects/express-api/models/userRepository.js +25 -0
- package/test-projects/express-api/package.json +18 -0
- package/test-projects/express-api/services/authService.js +17 -0
- package/test-projects/express-api/services/userService.js +28 -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/entrypoints.md +4 -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/fastapi-app/.ai-dev/repo_map.json +298 -0
- 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/dependencies.json +6 -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-dev/ai_context.md +111 -0
- package/test-projects/nestjs-backend/.ai-dev/ai_rules.md +52 -0
- package/test-projects/nestjs-backend/.ai-dev/architecture.md +49 -0
- package/test-projects/nestjs-backend/.ai-dev/cache.json +169 -0
- package/test-projects/nestjs-backend/.ai-dev/context/features/src.json +23 -0
- package/test-projects/nestjs-backend/.ai-dev/context/flows/auth.controller.json +14 -0
- package/test-projects/nestjs-backend/.ai-dev/context/flows/auth.json +10 -0
- package/test-projects/nestjs-backend/.ai-dev/context/flows/users..json +10 -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-dev/dependencies.json +152 -0
- package/test-projects/nestjs-backend/.ai-dev/entrypoints.md +18 -0
- package/test-projects/nestjs-backend/.ai-dev/files.json +209 -0
- package/test-projects/nestjs-backend/.ai-dev/graph/knowledge-graph.json +132 -0
- package/test-projects/nestjs-backend/.ai-dev/graph/module-graph.json +29 -0
- package/test-projects/nestjs-backend/.ai-dev/graph/symbol-graph.json +304 -0
- package/test-projects/nestjs-backend/.ai-dev/graph/symbol-references.json +5 -0
- package/test-projects/nestjs-backend/.ai-dev/index-state.json +294 -0
- package/test-projects/nestjs-backend/.ai-dev/index.db +0 -0
- package/test-projects/nestjs-backend/.ai-dev/modules.json +19 -0
- package/test-projects/nestjs-backend/.ai-dev/project.json +18 -0
- package/test-projects/nestjs-backend/.ai-dev/repo_map.json +427 -0
- 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-dev/summary.md +13 -0
- package/test-projects/nestjs-backend/.ai-dev/symbols.json +1 -0
- package/{ai → test-projects/nestjs-backend/.ai-dev}/tech_stack.md +6 -7
- 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/nestjs-backend/package.json +22 -0
- package/test-projects/nestjs-backend/src/app.module.ts +8 -0
- package/test-projects/nestjs-backend/src/auth/auth.controller.ts +22 -0
- package/test-projects/nestjs-backend/src/auth/auth.module.ts +11 -0
- package/test-projects/nestjs-backend/src/auth/auth.service.ts +28 -0
- package/test-projects/nestjs-backend/src/auth/dto/login.dto.ts +4 -0
- package/test-projects/nestjs-backend/src/auth/strategies/jwt.strategy.ts +18 -0
- package/test-projects/nestjs-backend/src/main.ts +9 -0
- package/test-projects/nestjs-backend/src/users/users.controller.ts +32 -0
- package/test-projects/nestjs-backend/src/users/users.module.ts +10 -0
- package/test-projects/nestjs-backend/src/users/users.service.ts +42 -0
- package/test-projects/nestjs-backend/tsconfig.json +21 -0
- package/test-projects/python-cli/.ai-dev/ai_context.md +95 -0
- package/test-projects/python-cli/.ai-dev/ai_rules.md +47 -0
- package/test-projects/python-cli/.ai-dev/architecture.md +55 -0
- package/test-projects/python-cli/.ai-dev/cache.json +149 -0
- package/test-projects/python-cli/.ai-dev/context/features/cli.json +16 -0
- package/test-projects/python-cli/.ai-dev/context/flows/list_.json +9 -0
- package/test-projects/python-cli/.ai-dev/context/flows/remove_.json +9 -0
- package/test-projects/python-cli/.ai-dev/conventions.md +51 -0
- package/test-projects/python-cli/.ai-dev/dependencies.json +66 -0
- package/test-projects/python-cli/.ai-dev/entrypoints.md +4 -0
- package/test-projects/python-cli/.ai-dev/files.json +184 -0
- package/test-projects/python-cli/.ai-dev/graph/knowledge-graph.json +83 -0
- package/test-projects/python-cli/.ai-dev/graph/module-graph.json +31 -0
- package/test-projects/python-cli/.ai-dev/graph/symbol-graph.json +358 -0
- package/test-projects/python-cli/.ai-dev/graph/symbol-references.json +11 -0
- package/test-projects/python-cli/.ai-dev/index-state.json +259 -0
- package/test-projects/python-cli/.ai-dev/index.db +0 -0
- package/test-projects/python-cli/.ai-dev/modules.json +21 -0
- package/test-projects/python-cli/.ai-dev/project.json +15 -0
- package/test-projects/python-cli/.ai-dev/repo_map.json +367 -0
- 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-dev/summary.md +14 -0
- 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/__init__.py +1 -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/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/python-cli/cli/__init__.py +1 -0
- package/test-projects/python-cli/cli/add_command.py +6 -0
- package/test-projects/python-cli/cli/list_command.py +7 -0
- package/test-projects/python-cli/cli/remove_command.py +6 -0
- package/test-projects/python-cli/main.py +34 -0
- package/test-projects/python-cli/models/__init__.py +2 -0
- package/test-projects/python-cli/models/task.py +19 -0
- package/test-projects/python-cli/models/task_repository.py +44 -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-dev/ai_context.md +96 -0
- package/test-projects/react-app/.ai-dev/ai_rules.md +49 -0
- package/test-projects/react-app/.ai-dev/architecture.md +39 -0
- package/test-projects/react-app/.ai-dev/cache.json +153 -0
- package/test-projects/react-app/.ai-dev/context/features/src.json +18 -0
- package/test-projects/react-app/.ai-dev/context/flows/UsersPage.json +14 -0
- package/test-projects/react-app/.ai-dev/context/flows/dashboard.json +9 -0
- package/test-projects/react-app/.ai-dev/context/flows/login.json +9 -0
- package/test-projects/react-app/.ai-dev/context/flows/users.json +9 -0
- package/test-projects/react-app/.ai-dev/dependencies.json +128 -0
- package/test-projects/react-app/.ai-dev/entrypoints.md +4 -0
- package/test-projects/react-app/.ai-dev/files.json +189 -0
- package/test-projects/react-app/.ai-dev/graph/knowledge-graph.json +112 -0
- package/test-projects/react-app/.ai-dev/graph/module-graph.json +31 -0
- package/test-projects/react-app/.ai-dev/graph/symbol-graph.json +868 -0
- package/test-projects/react-app/.ai-dev/graph/symbol-references.json +31 -0
- package/test-projects/react-app/.ai-dev/index-state.json +266 -0
- package/test-projects/react-app/.ai-dev/index.db +0 -0
- package/test-projects/react-app/.ai-dev/modules.json +17 -0
- package/test-projects/react-app/.ai-dev/project.json +16 -0
- package/test-projects/react-app/.ai-dev/repo_map.json +391 -0
- 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-dev/summary.md +13 -0
- package/test-projects/react-app/.ai-dev/symbols.json +1 -0
- package/test-projects/react-app/.ai-dev/tech_stack.md +39 -0
- 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/react-app/ai-context/conventions.md +52 -0
- 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/react-app/package.json +16 -0
- package/test-projects/react-app/src/App.tsx +21 -0
- package/test-projects/react-app/src/context/AuthContext.tsx +41 -0
- package/test-projects/react-app/src/hooks/useAuth.ts +10 -0
- package/test-projects/react-app/src/main.tsx +10 -0
- package/test-projects/react-app/src/pages/DashboardPage.tsx +17 -0
- package/test-projects/react-app/src/pages/LoginPage.tsx +41 -0
- package/test-projects/react-app/src/pages/UsersPage.tsx +36 -0
- package/test-projects/react-app/src/services/userService.ts +37 -0
- package/test-projects/salesforce-cli/.ai-dev/ai_context.md +89 -0
- package/test-projects/salesforce-cli/.ai-dev/ai_rules.md +47 -0
- package/test-projects/salesforce-cli/.ai-dev/architecture.md +39 -0
- package/test-projects/salesforce-cli/.ai-dev/cache.json +125 -0
- package/test-projects/salesforce-cli/.ai-dev/context/features/force-app.json +14 -0
- package/test-projects/salesforce-cli/.ai-dev/context/flows/account.json +9 -0
- package/test-projects/salesforce-cli/.ai-dev/context/flows/opportunity.json +9 -0
- 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-dev/files.json +154 -0
- package/test-projects/salesforce-cli/.ai-dev/graph/knowledge-graph.json +64 -0
- package/test-projects/salesforce-cli/.ai-dev/graph/module-graph.json +13 -0
- package/test-projects/salesforce-cli/.ai-dev/graph/symbol-graph.json +148 -0
- package/test-projects/salesforce-cli/.ai-dev/graph/symbol-references.json +1 -0
- package/test-projects/salesforce-cli/.ai-dev/index-state.json +217 -0
- package/test-projects/salesforce-cli/.ai-dev/index.db +0 -0
- package/test-projects/salesforce-cli/.ai-dev/modules.json +12 -0
- package/test-projects/salesforce-cli/.ai-dev/project.json +14 -0
- package/test-projects/salesforce-cli/.ai-dev/repo_map.json +328 -0
- 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-dev/summary.md +13 -0
- package/test-projects/salesforce-cli/.ai-dev/symbols.json +1 -0
- package/test-projects/salesforce-cli/.ai-dev/tech_stack.md +31 -0
- package/test-projects/salesforce-cli/.ai-dev/tools.json +10 -0
- package/test-projects/salesforce-cli/.forceignore +27 -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/salesforce-cli/ai-context/files.json +154 -0
- 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/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/salesforce-cli/ai-context/tech_stack.md +31 -0
- package/test-projects/salesforce-cli/ai-context/tools.json +10 -0
- package/test-projects/salesforce-cli/force-app/main/default/classes/AccountController.cls +24 -0
- package/test-projects/salesforce-cli/force-app/main/default/classes/OpportunityController.cls +25 -0
- package/test-projects/salesforce-cli/force-app/main/default/objects/Project__c.object.xml +45 -0
- package/test-projects/salesforce-cli/force-app/main/default/triggers/AccountTrigger.trigger +33 -0
- package/test-projects/salesforce-cli/sfdx-project.json +11 -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 +85 -0
- package/tests/e2e/run-e2e.sh +88 -0
- package/tests/phase2-fixes.test.ts +200 -0
- package/tests/semanticContexts.test.ts +23 -25
- package/ai/cache.json +0 -329
- package/ai/dependencies.json +0 -307
- package/ai/files.json +0 -1253
- package/ai/graph/module-graph.json +0 -119
- package/ai/graph/symbol-graph.json +0 -52738
- package/ai/graph/symbol-references.json +0 -1810
- package/ai/hierarchy.json +0 -28
- package/ai/index-state.json +0 -931
- package/ai/index.db +0 -0
- package/ai/modules.json +0 -73
- package/ai/repo-map.json +0 -833
- package/ai/repo_map.json +0 -833
- package/ai/repo_map.md +0 -211
- package/ai/summary.md +0 -23
- /package/{ai → .ai-dev}/ccp/jira-123/context.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}/embeddings.json +0 -0
- /package/{ai → .ai-dev}/git/commit-activity.json +0 -0
- /package/{ai → .ai-dev}/git/recent-features.json +0 -0
- /package/{ai → .ai-dev}/git/recent-files.json +0 -0
- /package/{ai → .ai-dev}/git/recent-flows.json +0 -0
- /package/{ai/symbols.json → ai-context/git/recent-features.json} +0 -0
- /package/{ai → test-projects/react-app/.ai-dev}/conventions.md +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Injectable } from '@nestjs/common';
|
|
2
|
+
import { PassportStrategy } from '@nestjs/passport';
|
|
3
|
+
import { ExtractJwt, Strategy } from 'passport-jwt';
|
|
4
|
+
|
|
5
|
+
@Injectable()
|
|
6
|
+
export class JwtStrategy extends PassportStrategy(Strategy) {
|
|
7
|
+
constructor() {
|
|
8
|
+
super({
|
|
9
|
+
jwtFromRequest: ExtractJwt.fromAuthHeaderAsBearerToken(),
|
|
10
|
+
ignoreExpiration: false,
|
|
11
|
+
secretOrKey: 'secret',
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
async validate(payload: any) {
|
|
16
|
+
return { userId: payload.sub, email: payload.email, role: payload.role };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NestFactory } from '@nestjs/core';
|
|
2
|
+
import { AppModule } from './app.module';
|
|
3
|
+
|
|
4
|
+
async function bootstrap() {
|
|
5
|
+
const app = await NestFactory.create(AppModule);
|
|
6
|
+
await app.listen(3000);
|
|
7
|
+
console.log('Application is running on: http://localhost:3000');
|
|
8
|
+
}
|
|
9
|
+
bootstrap();
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Controller, Get, Post, Put, Delete, Body, Param } from '@nestjs/common';
|
|
2
|
+
import { UsersService } from './users.service';
|
|
3
|
+
|
|
4
|
+
@Controller('users')
|
|
5
|
+
export class UsersController {
|
|
6
|
+
constructor(private readonly usersService: UsersService) {}
|
|
7
|
+
|
|
8
|
+
@Get()
|
|
9
|
+
findAll() {
|
|
10
|
+
return this.usersService.findAll();
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@Get(':id')
|
|
14
|
+
findOne(@Param('id') id: string) {
|
|
15
|
+
return this.usersService.findOne(id);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@Post()
|
|
19
|
+
create(@Body() body: { email: string; name: string }) {
|
|
20
|
+
return this.usersService.create(body);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@Put(':id')
|
|
24
|
+
update(@Param('id') id: string, @Body() body: any) {
|
|
25
|
+
return this.usersService.update(id, body);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@Delete(':id')
|
|
29
|
+
remove(@Param('id') id: string) {
|
|
30
|
+
return this.usersService.remove(id);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Module } from '@nestjs/common';
|
|
2
|
+
import { UsersController } from './users.controller';
|
|
3
|
+
import { UsersService } from './users.service';
|
|
4
|
+
|
|
5
|
+
@Module({
|
|
6
|
+
controllers: [UsersController],
|
|
7
|
+
providers: [UsersService],
|
|
8
|
+
exports: [UsersService],
|
|
9
|
+
})
|
|
10
|
+
export class UsersModule {}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Injectable, NotFoundException } from '@nestjs/common';
|
|
2
|
+
|
|
3
|
+
interface User {
|
|
4
|
+
id: string;
|
|
5
|
+
email: string;
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@Injectable()
|
|
10
|
+
export class UsersService {
|
|
11
|
+
private users: User[] = [
|
|
12
|
+
{ id: '1', email: 'test@test.com', name: 'Test User' }
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
findAll(): User[] {
|
|
16
|
+
return this.users;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
findOne(id: string): User {
|
|
20
|
+
const user = this.users.find(u => u.id === id);
|
|
21
|
+
if (!user) throw new NotFoundException('User not found');
|
|
22
|
+
return user;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
create(data: { email: string; name: string }): User {
|
|
26
|
+
const user = { id: String(this.users.length + 1), ...data };
|
|
27
|
+
this.users.push(user);
|
|
28
|
+
return user;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
update(id: string, data: Partial<User>): User {
|
|
32
|
+
const index = this.users.findIndex(u => u.id === id);
|
|
33
|
+
if (index === -1) throw new NotFoundException('User not found');
|
|
34
|
+
this.users[index] = { ...this.users[index], ...data };
|
|
35
|
+
return this.users[index];
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
remove(id: string): void {
|
|
39
|
+
const index = this.users.findIndex(u => u.id === id);
|
|
40
|
+
if (index !== -1) this.users.splice(index, 1);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "commonjs",
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"removeComments": true,
|
|
6
|
+
"emitDecoratorMetadata": true,
|
|
7
|
+
"experimentalDecorators": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"target": "ES2021",
|
|
10
|
+
"sourceMap": true,
|
|
11
|
+
"outDir": "./dist",
|
|
12
|
+
"baseUrl": "./",
|
|
13
|
+
"incremental": true,
|
|
14
|
+
"skipLibCheck": true,
|
|
15
|
+
"strictNullChecks": false,
|
|
16
|
+
"noImplicitAny": false,
|
|
17
|
+
"strictBindCallApply": false,
|
|
18
|
+
"forceConsistentCasingInFileNames": false,
|
|
19
|
+
"noFallthroughCasesInSwitch": false
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# AI Context
|
|
2
|
+
|
|
3
|
+
> This file provides a comprehensive overview of the repository for AI coding assistants.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Quick Overview
|
|
8
|
+
|
|
9
|
+
- **Pattern**: MVC (Model-View-Controller)
|
|
10
|
+
- **Languages**: Python, Markdown, JSON
|
|
11
|
+
- **Frameworks**: None
|
|
12
|
+
- **Total Files**: 36
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Table of Contents
|
|
17
|
+
|
|
18
|
+
1. [Tech Stack](#tech-stack)
|
|
19
|
+
2. [Architecture](#architecture)
|
|
20
|
+
3. [Key Entrypoints](#key-entrypoints)
|
|
21
|
+
4. [Code Conventions](#code-conventions)
|
|
22
|
+
5. [AI Rules](#ai-rules)
|
|
23
|
+
6. [Repository Map](#repository-map)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Tech Stack
|
|
28
|
+
|
|
29
|
+
**Languages**: Python, Markdown, JSON
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Architecture
|
|
34
|
+
|
|
35
|
+
## Architectural Pattern
|
|
36
|
+
**Primary**: MVC (Model-View-Controller)
|
|
37
|
+
**Secondary**: CLI Application
|
|
38
|
+
|
|
39
|
+
## Layers Identified
|
|
40
|
+
- Domain
|
|
41
|
+
|
|
42
|
+
## Key Modules
|
|
43
|
+
| Module | Responsibility |
|
|
44
|
+
|--------|----------------|
|
|
45
|
+
| `__init__.py` | Contains 0 files |
|
|
46
|
+
| `ai` | Contains 27 files |
|
|
47
|
+
| `cli` | Contains 4 files |
|
|
48
|
+
| `main.py` | Contains 0 files |
|
|
49
|
+
| `models` | Data models and entities |
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Key Entrypoints
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Code Conventions
|
|
59
|
+
|
|
60
|
+
## Naming Conventions
|
|
61
|
+
- **Files**: kebab-case or snake_case
|
|
62
|
+
|
|
63
|
+
## Project Structure
|
|
64
|
+
|
|
65
|
+
## Code Style
|
|
66
|
+
- **Semicolons**: Required
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## AI Rules
|
|
72
|
+
|
|
73
|
+
- Language: Use Python, Markdown, JSON
|
|
74
|
+
- Architecture: Follow MVC (Model-View-Controller) pattern
|
|
75
|
+
- File naming: kebab-case or snake_case
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Repository Map
|
|
80
|
+
|
|
81
|
+
See repo_map.md for the full structure.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Notes for AI Assistants
|
|
86
|
+
|
|
87
|
+
1. Follow the established naming conventions (see conventions.md)
|
|
88
|
+
2. Use the detected frameworks and libraries
|
|
89
|
+
3. Target the correct entrypoints for modifications
|
|
90
|
+
4. Maintain the detected architecture patterns
|
|
91
|
+
5. Follow AI rules in ai_rules.md
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
*Generated by ai-first*
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# AI Rules
|
|
2
|
+
|
|
3
|
+
> Guidelines for AI assistants working on this project
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Guidelines
|
|
8
|
+
|
|
9
|
+
- Language: Use Python, Markdown, JSON
|
|
10
|
+
- Architecture: Follow MVC (Model-View-Controller) pattern
|
|
11
|
+
- File naming: kebab-case or snake_case
|
|
12
|
+
|
|
13
|
+
## Patterns
|
|
14
|
+
|
|
15
|
+
- Layer structure: domain
|
|
16
|
+
|
|
17
|
+
## Constraints
|
|
18
|
+
|
|
19
|
+
- Always use semicolons
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Quick Reference
|
|
24
|
+
|
|
25
|
+
| Category | Value |
|
|
26
|
+
|----------|-------|
|
|
27
|
+
| Language | Python, Markdown, JSON |
|
|
28
|
+
| Framework | N/A |
|
|
29
|
+
| Architecture | MVC (Model-View-Controller) |
|
|
30
|
+
| Naming | kebab-case or snake_case |
|
|
31
|
+
| Indentation | unknown |
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Best Practices
|
|
36
|
+
|
|
37
|
+
1. Follow the established naming conventions
|
|
38
|
+
2. Keep functions small and focused
|
|
39
|
+
3. Write tests for new features
|
|
40
|
+
4. Use descriptive variable names
|
|
41
|
+
5. Keep the architecture consistent
|
|
42
|
+
6. Document complex logic
|
|
43
|
+
7. Review code before committing
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
*Generated by ai-first*
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
## Architectural Pattern
|
|
4
|
+
**Primary**: MVC (Model-View-Controller)
|
|
5
|
+
**Secondary**: CLI Application
|
|
6
|
+
|
|
7
|
+
## Layers Identified
|
|
8
|
+
- Domain
|
|
9
|
+
|
|
10
|
+
## Key Modules
|
|
11
|
+
| Module | Responsibility |
|
|
12
|
+
|--------|----------------|
|
|
13
|
+
| `__init__.py` | Contains 0 files |
|
|
14
|
+
| `ai` | Contains 27 files |
|
|
15
|
+
| `cli` | Contains 4 files |
|
|
16
|
+
| `main.py` | Contains 0 files |
|
|
17
|
+
| `models` | Data models and entities |
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Module Details
|
|
21
|
+
|
|
22
|
+
### __init__.py
|
|
23
|
+
- **Path**: `__init__.py`
|
|
24
|
+
- **Responsibility**: Contains 0 files
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### ai
|
|
28
|
+
- **Path**: `ai`
|
|
29
|
+
- **Responsibility**: Contains 27 files
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### cli
|
|
33
|
+
- **Path**: `cli`
|
|
34
|
+
- **Responsibility**: Contains 4 files
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### main.py
|
|
38
|
+
- **Path**: `main.py`
|
|
39
|
+
- **Responsibility**: Contains 0 files
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### models
|
|
43
|
+
- **Path**: `models`
|
|
44
|
+
- **Responsibility**: Data models and entities
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## Recommendations
|
|
49
|
+
|
|
50
|
+
- Keep the architecture consistent as the project grows
|
|
51
|
+
- Follow the established layer structure
|
|
52
|
+
- Use dependency injection to manage module relationships
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
*Generated by ai-first*
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": {
|
|
3
|
+
"__init__.py": {
|
|
4
|
+
"hash": "b8e919564af9b6e38c79d449bb77a7b5",
|
|
5
|
+
"mtime": 1773777152897.4336
|
|
6
|
+
},
|
|
7
|
+
"ai/ai_context.md": {
|
|
8
|
+
"hash": "d0800a3667801289b2a5af7211c67dc6",
|
|
9
|
+
"mtime": 1773861712940.3997
|
|
10
|
+
},
|
|
11
|
+
"ai/ai_rules.md": {
|
|
12
|
+
"hash": "50ada89dc1c9d56765cd1a1a9e52c0de",
|
|
13
|
+
"mtime": 1773861712940.3997
|
|
14
|
+
},
|
|
15
|
+
"ai/architecture.md": {
|
|
16
|
+
"hash": "9fea3a721185697f8798c296a826014a",
|
|
17
|
+
"mtime": 1773861712933.3997
|
|
18
|
+
},
|
|
19
|
+
"ai/cache.json": {
|
|
20
|
+
"hash": "fa069f54b96796535e6acc9b3238696b",
|
|
21
|
+
"mtime": 1773854929732.0337
|
|
22
|
+
},
|
|
23
|
+
"ai/context/features/cli.json": {
|
|
24
|
+
"hash": "db233eedf90a4de1cbb42f260b4ec159",
|
|
25
|
+
"mtime": 1773861712942.4
|
|
26
|
+
},
|
|
27
|
+
"ai/context/flows/add_.json": {
|
|
28
|
+
"hash": "8fd1b0ccd628661384b1982917527e10",
|
|
29
|
+
"mtime": 1773861712942.4
|
|
30
|
+
},
|
|
31
|
+
"ai/context/flows/list_.json": {
|
|
32
|
+
"hash": "2307454625174d3b69e727acf6e10261",
|
|
33
|
+
"mtime": 1773861712942.4
|
|
34
|
+
},
|
|
35
|
+
"ai/context/flows/remove_.json": {
|
|
36
|
+
"hash": "12bece7cdabce999d2430fee0b316b3b",
|
|
37
|
+
"mtime": 1773861712942.4
|
|
38
|
+
},
|
|
39
|
+
"ai/conventions.md": {
|
|
40
|
+
"hash": "9c37d280c1cab6899447a58aa03b0f44",
|
|
41
|
+
"mtime": 1773861712936.3997
|
|
42
|
+
},
|
|
43
|
+
"ai/dependencies.json": {
|
|
44
|
+
"hash": "b1333fe58b2dddfa6ecb8c53292f442f",
|
|
45
|
+
"mtime": 1773861712938.3997
|
|
46
|
+
},
|
|
47
|
+
"ai/entrypoints.md": {
|
|
48
|
+
"hash": "34c8965a66697d9f1d428bb0904f5d8d",
|
|
49
|
+
"mtime": 1773861712935.3997
|
|
50
|
+
},
|
|
51
|
+
"ai/files.json": {
|
|
52
|
+
"hash": "c82d9d1331bd255fc43be845aa368725",
|
|
53
|
+
"mtime": 1773861713023.4011
|
|
54
|
+
},
|
|
55
|
+
"ai/graph/knowledge-graph.json": {
|
|
56
|
+
"hash": "9641492007f1599955e6db2b90705b53",
|
|
57
|
+
"mtime": 1773796549477.293
|
|
58
|
+
},
|
|
59
|
+
"ai/graph/module-graph.json": {
|
|
60
|
+
"hash": "54539a6536c57542d107b5e587852d21",
|
|
61
|
+
"mtime": 1773861713017.401
|
|
62
|
+
},
|
|
63
|
+
"ai/graph/symbol-graph.json": {
|
|
64
|
+
"hash": "d142e1a1a55b23200fe02b7aee7472df",
|
|
65
|
+
"mtime": 1773861713023.4011
|
|
66
|
+
},
|
|
67
|
+
"ai/graph/symbol-references.json": {
|
|
68
|
+
"hash": "de6f7fd1e3fb7cc19d8ec0efd2ac8d57",
|
|
69
|
+
"mtime": 1773861713023.4011
|
|
70
|
+
},
|
|
71
|
+
"ai/index-state.json": {
|
|
72
|
+
"hash": "853666bdf0060524fb4bebdc2afae5b0",
|
|
73
|
+
"mtime": 1773854832868.3074
|
|
74
|
+
},
|
|
75
|
+
"ai/modules.json": {
|
|
76
|
+
"hash": "366ccb4be2fcb4b7098548e68cee7a06",
|
|
77
|
+
"mtime": 1773861713008.401
|
|
78
|
+
},
|
|
79
|
+
"ai/project.json": {
|
|
80
|
+
"hash": "38788d3e810561337eb26aeec511bb2f",
|
|
81
|
+
"mtime": 1773861712942.4
|
|
82
|
+
},
|
|
83
|
+
"ai/repo-map.json": {
|
|
84
|
+
"hash": "fe4076a85b7cf737896ea51705e819ce",
|
|
85
|
+
"mtime": 1773861713009.401
|
|
86
|
+
},
|
|
87
|
+
"ai/repo_map.json": {
|
|
88
|
+
"hash": "90797f90b1f95bc11e215d6dbccf5868",
|
|
89
|
+
"mtime": 1773861712932.3997
|
|
90
|
+
},
|
|
91
|
+
"ai/repo_map.md": {
|
|
92
|
+
"hash": "36db09c801bf6474469bc9fbc5160393",
|
|
93
|
+
"mtime": 1773861712932.3997
|
|
94
|
+
},
|
|
95
|
+
"ai/schema.json": {
|
|
96
|
+
"hash": "9d44be6b19a72b186150a70e30d5fbca",
|
|
97
|
+
"mtime": 1773861712942.4
|
|
98
|
+
},
|
|
99
|
+
"ai/summary.md": {
|
|
100
|
+
"hash": "d0de787a3249dec53c9d879c8a39b636",
|
|
101
|
+
"mtime": 1773861712932.3997
|
|
102
|
+
},
|
|
103
|
+
"ai/symbols.json": {
|
|
104
|
+
"hash": "cd04c4c359d5fdffb6f49d080ee81749",
|
|
105
|
+
"mtime": 1773861712937.3997
|
|
106
|
+
},
|
|
107
|
+
"ai/tech_stack.md": {
|
|
108
|
+
"hash": "896df6d750a2773f4dd10c0882995767",
|
|
109
|
+
"mtime": 1773861712935.3997
|
|
110
|
+
},
|
|
111
|
+
"ai/tools.json": {
|
|
112
|
+
"hash": "b1356e52c74e9b3b6a0d397b790a4968",
|
|
113
|
+
"mtime": 1773861712942.4
|
|
114
|
+
},
|
|
115
|
+
"cli/__init__.py": {
|
|
116
|
+
"hash": "a3b6d5054e9628836636cf4d6927e33a",
|
|
117
|
+
"mtime": 1773777227193.3157
|
|
118
|
+
},
|
|
119
|
+
"cli/add_command.py": {
|
|
120
|
+
"hash": "d9b48d790c714aebf7b29db0f8aa3464",
|
|
121
|
+
"mtime": 1773777196493.9478
|
|
122
|
+
},
|
|
123
|
+
"cli/list_command.py": {
|
|
124
|
+
"hash": "fd7ca8830013f013e16afd191e6c5c75",
|
|
125
|
+
"mtime": 1773777202889.024
|
|
126
|
+
},
|
|
127
|
+
"cli/remove_command.py": {
|
|
128
|
+
"hash": "1209f465970ad86ef87ed6c0409cef50",
|
|
129
|
+
"mtime": 1773777208836.0952
|
|
130
|
+
},
|
|
131
|
+
"main.py": {
|
|
132
|
+
"hash": "8e7d98c3b644a2b27f760c017100e886",
|
|
133
|
+
"mtime": 1773777186036.8235
|
|
134
|
+
},
|
|
135
|
+
"models/__init__.py": {
|
|
136
|
+
"hash": "a99db8f336d72b5c5700545705baf7de",
|
|
137
|
+
"mtime": 1773777266541.7935
|
|
138
|
+
},
|
|
139
|
+
"models/task.py": {
|
|
140
|
+
"hash": "95274739cbb686a2f8c661836623c692",
|
|
141
|
+
"mtime": 1773777234068.3987
|
|
142
|
+
},
|
|
143
|
+
"models/task_repository.py": {
|
|
144
|
+
"hash": "68215671f3b74e5dbd6fdc06671b08b1",
|
|
145
|
+
"mtime": 1773777261367.7302
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"lastIndexed": "2026-03-18T19:21:53.025Z"
|
|
149
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cli",
|
|
3
|
+
"path": "cli",
|
|
4
|
+
"files": [
|
|
5
|
+
"cli/__init__.py",
|
|
6
|
+
"cli/add_command.py",
|
|
7
|
+
"cli/list_command.py",
|
|
8
|
+
"cli/remove_command.py"
|
|
9
|
+
],
|
|
10
|
+
"entrypoints": [
|
|
11
|
+
"cli/add_command.py",
|
|
12
|
+
"cli/list_command.py",
|
|
13
|
+
"cli/remove_command.py"
|
|
14
|
+
],
|
|
15
|
+
"dependencies": []
|
|
16
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Code Conventions
|
|
2
|
+
|
|
3
|
+
## Naming Conventions
|
|
4
|
+
- **Files**: kebab-case or snake_case
|
|
5
|
+
|
|
6
|
+
## Project Structure
|
|
7
|
+
|
|
8
|
+
## Code Style
|
|
9
|
+
- **Semicolons**: Required
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Naming Conventions
|
|
13
|
+
|
|
14
|
+
| Element | Convention |
|
|
15
|
+
|---------|------------|
|
|
16
|
+
| Files | kebab-case or snake_case |
|
|
17
|
+
| Components | unknown |
|
|
18
|
+
| Test Files | unknown |
|
|
19
|
+
| Directories | unknown |
|
|
20
|
+
|
|
21
|
+
## Project Structure
|
|
22
|
+
|
|
23
|
+
| Directory | Location |
|
|
24
|
+
|-----------|----------|
|
|
25
|
+
| Source | unknown |
|
|
26
|
+
| Tests | unknown |
|
|
27
|
+
| Config | unknown |
|
|
28
|
+
|
|
29
|
+
## Code Style
|
|
30
|
+
|
|
31
|
+
| Style Element | Value |
|
|
32
|
+
|---------------|-------|
|
|
33
|
+
| Indentation | unknown |
|
|
34
|
+
| Semicolons | Required |
|
|
35
|
+
|
|
36
|
+
## Testing
|
|
37
|
+
|
|
38
|
+
| Aspect | Value |
|
|
39
|
+
|--------|-------|
|
|
40
|
+
| Framework | unknown |
|
|
41
|
+
| Test Pattern | unknown |
|
|
42
|
+
|
|
43
|
+
## Git
|
|
44
|
+
|
|
45
|
+
| Aspect | Value |
|
|
46
|
+
|--------|-------|
|
|
47
|
+
| Branch Strategy | Trunk-based (main/master) |
|
|
48
|
+
| Commit Format | unknown |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
*Generated by ai-first*
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"totalDependencies": 8,
|
|
3
|
+
"totalModules": 5,
|
|
4
|
+
"dependencies": [
|
|
5
|
+
{
|
|
6
|
+
"source": "cli/__init__.py",
|
|
7
|
+
"target": "/.py",
|
|
8
|
+
"type": "from"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"source": "main.py",
|
|
12
|
+
"target": "cli/commands.py",
|
|
13
|
+
"type": "from"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"source": "main.py",
|
|
17
|
+
"target": "argparse.py",
|
|
18
|
+
"type": "import"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"source": "models/__init__.py",
|
|
22
|
+
"target": "/task.py",
|
|
23
|
+
"type": "from"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"source": "models/__init__.py",
|
|
27
|
+
"target": "/task_repository.py",
|
|
28
|
+
"type": "from"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"source": "models/task.py",
|
|
32
|
+
"target": "datetime.py",
|
|
33
|
+
"type": "from"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"source": "models/task_repository.py",
|
|
37
|
+
"target": "models/task.py",
|
|
38
|
+
"type": "from"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"source": "models/task_repository.py",
|
|
42
|
+
"target": "datetime.py",
|
|
43
|
+
"type": "from"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"byFile": {
|
|
47
|
+
"cli/__init__.py": [
|
|
48
|
+
"/.py"
|
|
49
|
+
],
|
|
50
|
+
"main.py": [
|
|
51
|
+
"cli/commands.py",
|
|
52
|
+
"argparse.py"
|
|
53
|
+
],
|
|
54
|
+
"models/__init__.py": [
|
|
55
|
+
"/task.py",
|
|
56
|
+
"/task_repository.py"
|
|
57
|
+
],
|
|
58
|
+
"models/task.py": [
|
|
59
|
+
"datetime.py"
|
|
60
|
+
],
|
|
61
|
+
"models/task_repository.py": [
|
|
62
|
+
"models/task.py",
|
|
63
|
+
"datetime.py"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
}
|