ai-first-cli 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +292 -6
- package/README.md +24 -4
- package/dist/analyzers/symbols.d.ts.map +1 -1
- package/dist/analyzers/symbols.js +9 -7
- package/dist/analyzers/symbols.js.map +1 -1
- package/dist/analyzers/techStack.d.ts.map +1 -1
- package/dist/analyzers/techStack.js +198 -3
- package/dist/analyzers/techStack.js.map +1 -1
- package/dist/commands/ai-first.d.ts.map +1 -1
- package/dist/commands/ai-first.js +14 -13
- package/dist/commands/ai-first.js.map +1 -1
- package/dist/core/adapters/baseAdapter.d.ts +1 -1
- package/dist/core/adapters/baseAdapter.d.ts.map +1 -1
- package/dist/core/adapters/baseAdapter.js +50 -12
- package/dist/core/adapters/baseAdapter.js.map +1 -1
- package/dist/core/analysis/architectureDetector.d.ts +37 -0
- package/dist/core/analysis/architectureDetector.d.ts.map +1 -0
- package/dist/core/analysis/architectureDetector.js +316 -0
- package/dist/core/analysis/architectureDetector.js.map +1 -0
- package/dist/core/analysis/callGraphBuilder.d.ts +37 -0
- package/dist/core/analysis/callGraphBuilder.d.ts.map +1 -0
- package/dist/core/analysis/callGraphBuilder.js +101 -0
- package/dist/core/analysis/callGraphBuilder.js.map +1 -0
- package/dist/core/analysis/dependencyAnalyzer.d.ts +45 -0
- package/dist/core/analysis/dependencyAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/dependencyAnalyzer.js +98 -0
- package/dist/core/analysis/dependencyAnalyzer.js.map +1 -0
- package/dist/core/analysis/index.d.ts +5 -0
- package/dist/core/analysis/index.d.ts.map +1 -0
- package/dist/core/analysis/index.js +5 -0
- package/dist/core/analysis/index.js.map +1 -0
- package/dist/core/analysis/inheritanceAnalyzer.d.ts +35 -0
- package/dist/core/analysis/inheritanceAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/inheritanceAnalyzer.js +115 -0
- package/dist/core/analysis/inheritanceAnalyzer.js.map +1 -0
- package/dist/core/ccp.d.ts.map +1 -1
- package/dist/core/ccp.js +3 -2
- package/dist/core/ccp.js.map +1 -1
- package/dist/core/generation/aiContextGenerator.d.ts +71 -0
- package/dist/core/generation/aiContextGenerator.d.ts.map +1 -0
- package/dist/core/generation/aiContextGenerator.js +217 -0
- package/dist/core/generation/aiContextGenerator.js.map +1 -0
- package/dist/core/generation/architectureGenerator.d.ts +17 -0
- package/dist/core/generation/architectureGenerator.d.ts.map +1 -0
- package/dist/core/generation/architectureGenerator.js +160 -0
- package/dist/core/generation/architectureGenerator.js.map +1 -0
- package/dist/core/generation/flowGenerator.d.ts +52 -0
- package/dist/core/generation/flowGenerator.d.ts.map +1 -0
- package/dist/core/generation/flowGenerator.js +164 -0
- package/dist/core/generation/flowGenerator.js.map +1 -0
- package/dist/core/generation/index.d.ts +4 -0
- package/dist/core/generation/index.d.ts.map +1 -0
- package/dist/core/generation/index.js +4 -0
- package/dist/core/generation/index.js.map +1 -0
- package/dist/core/hierarchyGenerator.d.ts.map +1 -1
- package/dist/core/hierarchyGenerator.js +3 -2
- package/dist/core/hierarchyGenerator.js.map +1 -1
- package/dist/core/parsers/index.d.ts +20 -0
- package/dist/core/parsers/index.d.ts.map +1 -0
- package/dist/core/parsers/index.js +76 -0
- package/dist/core/parsers/index.js.map +1 -0
- package/dist/core/parsers/pythonParser.d.ts +37 -0
- package/dist/core/parsers/pythonParser.d.ts.map +1 -0
- package/dist/core/parsers/pythonParser.js +229 -0
- package/dist/core/parsers/pythonParser.js.map +1 -0
- package/dist/core/parsers/typescriptParser.d.ts +54 -0
- package/dist/core/parsers/typescriptParser.d.ts.map +1 -0
- package/dist/core/parsers/typescriptParser.js +291 -0
- package/dist/core/parsers/typescriptParser.js.map +1 -0
- package/dist/core/pipeline.d.ts +42 -0
- package/dist/core/pipeline.d.ts.map +1 -0
- package/dist/core/pipeline.js +172 -0
- package/dist/core/pipeline.js.map +1 -0
- package/dist/core/semanticContexts.d.ts.map +1 -1
- package/dist/core/semanticContexts.js +23 -61
- package/dist/core/semanticContexts.js.map +1 -1
- package/dist/utils/constants.d.ts +46 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/constants.js +67 -0
- package/dist/utils/constants.js.map +1 -0
- package/install.sh +143 -17
- package/package.json +1 -1
- package/run-all-tests.sh +184 -0
- package/src/analyzers/symbols.ts +12 -7
- package/src/analyzers/techStack.ts +203 -3
- package/src/commands/ai-first.ts +14 -13
- package/src/core/adapters/baseAdapter.ts +61 -12
- package/src/core/analysis/architectureDetector.ts +487 -0
- package/src/core/analysis/callGraphBuilder.ts +158 -0
- package/src/core/analysis/dependencyAnalyzer.ts +167 -0
- package/src/core/analysis/index.ts +28 -0
- package/src/core/analysis/inheritanceAnalyzer.ts +169 -0
- package/src/core/ccp.ts +3 -2
- package/src/core/generation/aiContextGenerator.ts +335 -0
- package/src/core/generation/architectureGenerator.ts +200 -0
- package/src/core/generation/flowGenerator.ts +238 -0
- package/src/core/generation/index.ts +16 -0
- package/src/core/hierarchyGenerator.ts +3 -2
- package/src/core/parsers/index.ts +99 -0
- package/src/core/parsers/pythonParser.ts +302 -0
- package/src/core/parsers/typescriptParser.ts +445 -0
- package/src/core/pipeline.ts +241 -0
- package/src/core/semanticContexts.ts +25 -67
- package/src/utils/constants.ts +78 -0
- package/tests/analysis.test.ts +283 -0
- package/tests/architectureDetector.test.ts +137 -0
- package/tests/generation.test.ts +216 -0
- package/tests/parserRegistry.test.ts +139 -0
- package/tests/pipeline.integration.test.ts +245 -0
- package/tests/pythonParser.test.ts +210 -0
- package/tests/typescriptParser.test.ts +197 -0
- package/.ai-dev/index.db +0 -0
- package/ANALISIS_COMPLETO.md +0 -424
- package/ANALISIS_MEJORAS.md +0 -327
- package/BUGS.md +0 -455
- package/PLAN_MEJORAS.md +0 -216
- package/STATUS_ADAPTADORES +0 -126
- 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/TEST_RESULTS_PHASE1.md +0 -420
- package/ai-context/ai_context.md +0 -130
- package/ai-context/ai_rules.md +0 -54
- package/ai-context/architecture.md +0 -136
- package/ai-context/cache.json +0 -2349
- package/ai-context/ccp/jira-123/context.json +0 -7
- package/ai-context/context/features/commands.json +0 -18
- package/ai-context/context/features/src.json +0 -61
- package/ai-context/context/features/test-projects.json +0 -69
- package/ai-context/context/flows/account.json +0 -9
- package/ai-context/context/flows/ai-first.json +0 -9
- package/ai-context/context/flows/api.json +0 -9
- package/ai-context/context/flows/auth.json +0 -13
- package/ai-context/context/flows/category.json +0 -12
- package/ai-context/context/flows/comment.json +0 -16
- package/ai-context/context/flows/dashboard.json +0 -9
- package/ai-context/context/flows/doctor.json +0 -9
- package/ai-context/context/flows/explore.json +0 -9
- package/ai-context/context/flows/login.json +0 -9
- package/ai-context/context/flows/opportunity.json +0 -9
- package/ai-context/context/flows/post.json +0 -18
- package/ai-context/context/flows/routes.json +0 -19
- package/ai-context/context/flows/user.json +0 -20
- package/ai-context/context/flows/users.json +0 -9
- package/ai-context/context/flows/views.json +0 -14
- package/ai-context/context/repo.json +0 -56
- package/ai-context/context/utils.json +0 -7
- package/ai-context/conventions.md +0 -53
- package/ai-context/dependencies.json +0 -2946
- package/ai-context/embeddings.json +0 -23828
- package/ai-context/entrypoints.md +0 -42
- package/ai-context/files.json +0 -2944
- package/ai-context/git/commit-activity.json +0 -8646
- package/ai-context/git/recent-features.json +0 -1
- package/ai-context/git/recent-files.json +0 -52
- package/ai-context/git/recent-flows.json +0 -1
- package/ai-context/graph/knowledge-graph.json +0 -44314
- package/ai-context/graph/module-graph.json +0 -866
- package/ai-context/graph/symbol-graph.json +0 -200622
- package/ai-context/graph/symbol-references.json +0 -6778
- package/ai-context/hierarchy.json +0 -20
- package/ai-context/index-state.json +0 -4340
- package/ai-context/index.db +0 -0
- package/ai-context/modules.json +0 -532
- package/ai-context/project.json +0 -30
- package/ai-context/repo_map.json +0 -5818
- package/ai-context/repo_map.md +0 -1327
- package/ai-context/schema.json +0 -5
- package/ai-context/summary.md +0 -42
- package/ai-context/symbols.json +0 -7
- package/ai-context/tech_stack.md +0 -46
- package/ai-context/tools.json +0 -10
- package/test-projects/django-app/.ai-dev/index.db +0 -0
- package/test-projects/django-app/ai-context/ai_context.md +0 -92
- package/test-projects/django-app/ai-context/ai_rules.md +0 -47
- package/test-projects/django-app/ai-context/architecture.md +0 -57
- package/test-projects/django-app/ai-context/cache.json +0 -169
- package/test-projects/django-app/ai-context/context/flows/views.json +0 -10
- package/test-projects/django-app/ai-context/conventions.md +0 -51
- package/test-projects/django-app/ai-context/dependencies.json +0 -312
- package/test-projects/django-app/ai-context/entrypoints.md +0 -4
- package/test-projects/django-app/ai-context/files.json +0 -209
- package/test-projects/django-app/ai-context/graph/knowledge-graph.json +0 -36
- package/test-projects/django-app/ai-context/graph/module-graph.json +0 -145
- package/test-projects/django-app/ai-context/graph/symbol-graph.json +0 -1488
- package/test-projects/django-app/ai-context/graph/symbol-references.json +0 -1
- package/test-projects/django-app/ai-context/index-state.json +0 -294
- package/test-projects/django-app/ai-context/index.db +0 -0
- package/test-projects/django-app/ai-context/modules.json +0 -35
- package/test-projects/django-app/ai-context/project.json +0 -11
- package/test-projects/django-app/ai-context/repo_map.json +0 -412
- package/test-projects/django-app/ai-context/repo_map.md +0 -105
- package/test-projects/django-app/ai-context/schema.json +0 -5
- package/test-projects/django-app/ai-context/summary.md +0 -15
- package/test-projects/django-app/ai-context/symbols.json +0 -1
- package/test-projects/django-app/ai-context/tech_stack.md +0 -32
- package/test-projects/django-app/ai-context/tools.json +0 -10
- package/test-projects/express-api/ai-context/ai_context.md +0 -112
- package/test-projects/express-api/ai-context/ai_rules.md +0 -50
- package/test-projects/express-api/ai-context/architecture.md +0 -62
- package/test-projects/express-api/ai-context/context/features/controllers.json +0 -13
- package/test-projects/express-api/ai-context/context/features/services.json +0 -13
- package/test-projects/express-api/ai-context/context/flows/auth.json +0 -12
- package/test-projects/express-api/ai-context/context/flows/user.json +0 -13
- package/test-projects/express-api/ai-context/conventions.md +0 -51
- package/test-projects/express-api/ai-context/dependencies.json +0 -54
- package/test-projects/express-api/ai-context/entrypoints.md +0 -17
- package/test-projects/express-api/ai-context/modules.json +0 -30
- package/test-projects/express-api/ai-context/project.json +0 -15
- package/test-projects/express-api/ai-context/repo_map.json +0 -100
- package/test-projects/express-api/ai-context/repo_map.md +0 -36
- package/test-projects/express-api/ai-context/schema.json +0 -5
- package/test-projects/express-api/ai-context/summary.md +0 -14
- package/test-projects/express-api/ai-context/symbols.json +0 -7
- package/test-projects/express-api/ai-context/tech_stack.md +0 -38
- package/test-projects/express-api/ai-context/tools.json +0 -10
- package/test-projects/fastapi-app/.ai-dev/index.db +0 -0
- package/test-projects/fastapi-app/ai-context/ai_context.md +0 -89
- package/test-projects/fastapi-app/ai-context/ai_rules.md +0 -47
- package/test-projects/fastapi-app/ai-context/architecture.md +0 -39
- package/test-projects/fastapi-app/ai-context/cache.json +0 -125
- package/test-projects/fastapi-app/ai-context/conventions.md +0 -51
- package/test-projects/fastapi-app/ai-context/dependencies.json +0 -244
- package/test-projects/fastapi-app/ai-context/entrypoints.md +0 -4
- package/test-projects/fastapi-app/ai-context/files.json +0 -154
- package/test-projects/fastapi-app/ai-context/graph/knowledge-graph.json +0 -15
- package/test-projects/fastapi-app/ai-context/graph/module-graph.json +0 -78
- package/test-projects/fastapi-app/ai-context/graph/symbol-graph.json +0 -1724
- package/test-projects/fastapi-app/ai-context/graph/symbol-references.json +0 -51
- package/test-projects/fastapi-app/ai-context/index-state.json +0 -217
- package/test-projects/fastapi-app/ai-context/index.db +0 -0
- package/test-projects/fastapi-app/ai-context/modules.json +0 -16
- package/test-projects/fastapi-app/ai-context/project.json +0 -9
- package/test-projects/fastapi-app/ai-context/repo_map.json +0 -298
- package/test-projects/fastapi-app/ai-context/repo_map.md +0 -74
- package/test-projects/fastapi-app/ai-context/schema.json +0 -5
- package/test-projects/fastapi-app/ai-context/summary.md +0 -12
- package/test-projects/fastapi-app/ai-context/symbols.json +0 -1
- package/test-projects/fastapi-app/ai-context/tech_stack.md +0 -32
- package/test-projects/fastapi-app/ai-context/tools.json +0 -10
- package/test-projects/flask-app/.ai-dev/index.db +0 -0
- package/test-projects/flask-app/ai-context/ai_context.md +0 -94
- package/test-projects/flask-app/ai-context/ai_rules.md +0 -47
- package/test-projects/flask-app/ai-context/architecture.md +0 -49
- package/test-projects/flask-app/ai-context/cache.json +0 -157
- package/test-projects/flask-app/ai-context/context/features/app.json +0 -25
- package/test-projects/flask-app/ai-context/context/flows/routes.json +0 -14
- package/test-projects/flask-app/ai-context/conventions.md +0 -51
- package/test-projects/flask-app/ai-context/dependencies.json +0 -298
- package/test-projects/flask-app/ai-context/entrypoints.md +0 -4
- package/test-projects/flask-app/ai-context/files.json +0 -194
- package/test-projects/flask-app/ai-context/graph/knowledge-graph.json +0 -60
- package/test-projects/flask-app/ai-context/graph/module-graph.json +0 -95
- package/test-projects/flask-app/ai-context/graph/symbol-graph.json +0 -1448
- package/test-projects/flask-app/ai-context/graph/symbol-references.json +0 -45
- package/test-projects/flask-app/ai-context/index-state.json +0 -273
- package/test-projects/flask-app/ai-context/index.db +0 -0
- package/test-projects/flask-app/ai-context/modules.json +0 -21
- package/test-projects/flask-app/ai-context/project.json +0 -13
- package/test-projects/flask-app/ai-context/repo_map.json +0 -400
- package/test-projects/flask-app/ai-context/repo_map.md +0 -98
- package/test-projects/flask-app/ai-context/schema.json +0 -5
- package/test-projects/flask-app/ai-context/summary.md +0 -13
- package/test-projects/flask-app/ai-context/symbols.json +0 -1
- package/test-projects/flask-app/ai-context/tech_stack.md +0 -32
- package/test-projects/flask-app/ai-context/tools.json +0 -10
- package/test-projects/laravel-app/.ai-dev/index.db +0 -0
- package/test-projects/laravel-app/ai-context/ai_context.md +0 -97
- package/test-projects/laravel-app/ai-context/ai_rules.md +0 -47
- package/test-projects/laravel-app/ai-context/architecture.md +0 -60
- package/test-projects/laravel-app/ai-context/cache.json +0 -161
- package/test-projects/laravel-app/ai-context/context/features/app.json +0 -21
- package/test-projects/laravel-app/ai-context/context/flows/.json +0 -9
- package/test-projects/laravel-app/ai-context/context/flows/category.json +0 -12
- package/test-projects/laravel-app/ai-context/context/flows/comment.json +0 -12
- package/test-projects/laravel-app/ai-context/context/flows/post.json +0 -12
- package/test-projects/laravel-app/ai-context/context/flows/unnamed.json +0 -9
- package/test-projects/laravel-app/ai-context/conventions.md +0 -51
- package/test-projects/laravel-app/ai-context/dependencies.json +0 -6
- package/test-projects/laravel-app/ai-context/entrypoints.md +0 -4
- package/test-projects/laravel-app/ai-context/files.json +0 -199
- package/test-projects/laravel-app/ai-context/graph/knowledge-graph.json +0 -98
- package/test-projects/laravel-app/ai-context/graph/module-graph.json +0 -30
- package/test-projects/laravel-app/ai-context/graph/symbol-graph.json +0 -5
- package/test-projects/laravel-app/ai-context/graph/symbol-references.json +0 -1
- package/test-projects/laravel-app/ai-context/index-state.json +0 -280
- package/test-projects/laravel-app/ai-context/index.db +0 -0
- package/test-projects/laravel-app/ai-context/modules.json +0 -29
- package/test-projects/laravel-app/ai-context/project.json +0 -17
- package/test-projects/laravel-app/ai-context/repo_map.json +0 -419
- package/test-projects/laravel-app/ai-context/repo_map.md +0 -106
- package/test-projects/laravel-app/ai-context/schema.json +0 -5
- package/test-projects/laravel-app/ai-context/summary.md +0 -15
- package/test-projects/laravel-app/ai-context/symbols.json +0 -1
- package/test-projects/laravel-app/ai-context/tech_stack.md +0 -34
- package/test-projects/laravel-app/ai-context/tools.json +0 -10
- package/test-projects/nestjs-backend/.ai-dev/index.db +0 -0
- package/test-projects/nestjs-backend/ai-context/ai_context.md +0 -111
- package/test-projects/nestjs-backend/ai-context/ai_rules.md +0 -52
- package/test-projects/nestjs-backend/ai-context/architecture.md +0 -49
- package/test-projects/nestjs-backend/ai-context/cache.json +0 -169
- package/test-projects/nestjs-backend/ai-context/context/features/src.json +0 -23
- package/test-projects/nestjs-backend/ai-context/context/flows/auth.controller.json +0 -14
- package/test-projects/nestjs-backend/ai-context/context/flows/auth.json +0 -10
- package/test-projects/nestjs-backend/ai-context/context/flows/users..json +0 -10
- package/test-projects/nestjs-backend/ai-context/context/flows/users.controller.json +0 -14
- package/test-projects/nestjs-backend/ai-context/context/flows/users.json +0 -10
- package/test-projects/nestjs-backend/ai-context/conventions.md +0 -52
- package/test-projects/nestjs-backend/ai-context/dependencies.json +0 -152
- package/test-projects/nestjs-backend/ai-context/entrypoints.md +0 -18
- package/test-projects/nestjs-backend/ai-context/files.json +0 -209
- package/test-projects/nestjs-backend/ai-context/graph/knowledge-graph.json +0 -132
- package/test-projects/nestjs-backend/ai-context/graph/module-graph.json +0 -29
- package/test-projects/nestjs-backend/ai-context/graph/symbol-graph.json +0 -304
- package/test-projects/nestjs-backend/ai-context/graph/symbol-references.json +0 -5
- package/test-projects/nestjs-backend/ai-context/index-state.json +0 -294
- package/test-projects/nestjs-backend/ai-context/index.db +0 -0
- package/test-projects/nestjs-backend/ai-context/modules.json +0 -19
- package/test-projects/nestjs-backend/ai-context/project.json +0 -18
- package/test-projects/nestjs-backend/ai-context/repo_map.json +0 -427
- package/test-projects/nestjs-backend/ai-context/repo_map.md +0 -104
- package/test-projects/nestjs-backend/ai-context/schema.json +0 -5
- package/test-projects/nestjs-backend/ai-context/summary.md +0 -13
- package/test-projects/nestjs-backend/ai-context/symbols.json +0 -1
- package/test-projects/nestjs-backend/ai-context/tech_stack.md +0 -38
- package/test-projects/nestjs-backend/ai-context/tools.json +0 -10
- package/test-projects/python-cli/.ai-dev/index.db +0 -0
- package/test-projects/python-cli/ai-context/ai_context.md +0 -95
- package/test-projects/python-cli/ai-context/ai_rules.md +0 -47
- package/test-projects/python-cli/ai-context/architecture.md +0 -55
- package/test-projects/python-cli/ai-context/cache.json +0 -149
- package/test-projects/python-cli/ai-context/context/features/cli.json +0 -16
- package/test-projects/python-cli/ai-context/context/flows/list_.json +0 -9
- package/test-projects/python-cli/ai-context/context/flows/remove_.json +0 -9
- package/test-projects/python-cli/ai-context/conventions.md +0 -51
- package/test-projects/python-cli/ai-context/dependencies.json +0 -66
- package/test-projects/python-cli/ai-context/entrypoints.md +0 -4
- package/test-projects/python-cli/ai-context/files.json +0 -184
- package/test-projects/python-cli/ai-context/graph/knowledge-graph.json +0 -83
- package/test-projects/python-cli/ai-context/graph/module-graph.json +0 -31
- package/test-projects/python-cli/ai-context/graph/symbol-graph.json +0 -358
- package/test-projects/python-cli/ai-context/graph/symbol-references.json +0 -11
- package/test-projects/python-cli/ai-context/index-state.json +0 -259
- package/test-projects/python-cli/ai-context/index.db +0 -0
- package/test-projects/python-cli/ai-context/modules.json +0 -21
- package/test-projects/python-cli/ai-context/project.json +0 -15
- package/test-projects/python-cli/ai-context/repo_map.json +0 -367
- package/test-projects/python-cli/ai-context/repo_map.md +0 -93
- package/test-projects/python-cli/ai-context/schema.json +0 -5
- package/test-projects/python-cli/ai-context/summary.md +0 -14
- package/test-projects/python-cli/ai-context/symbols.json +0 -1
- package/test-projects/python-cli/ai-context/tech_stack.md +0 -32
- package/test-projects/python-cli/ai-context/tools.json +0 -10
- package/test-projects/rails-app/.ai-dev/index.db +0 -0
- package/test-projects/rails-app/ai-context/ai_context.md +0 -94
- package/test-projects/rails-app/ai-context/ai_rules.md +0 -47
- package/test-projects/rails-app/ai-context/architecture.md +0 -49
- package/test-projects/rails-app/ai-context/cache.json +0 -193
- package/test-projects/rails-app/ai-context/context/features/app.json +0 -24
- package/test-projects/rails-app/ai-context/context/features/config.json +0 -13
- package/test-projects/rails-app/ai-context/context/flows/application.json +0 -9
- package/test-projects/rails-app/ai-context/context/flows/application_.json +0 -9
- package/test-projects/rails-app/ai-context/context/flows/comments.json +0 -11
- package/test-projects/rails-app/ai-context/context/flows/comments_.json +0 -11
- package/test-projects/rails-app/ai-context/context/flows/posts.json +0 -11
- package/test-projects/rails-app/ai-context/context/flows/posts_.json +0 -11
- package/test-projects/rails-app/ai-context/context/flows/routes.json +0 -9
- package/test-projects/rails-app/ai-context/context/flows/users.json +0 -11
- package/test-projects/rails-app/ai-context/context/flows/users_.json +0 -11
- package/test-projects/rails-app/ai-context/conventions.md +0 -51
- package/test-projects/rails-app/ai-context/dependencies.json +0 -6
- package/test-projects/rails-app/ai-context/entrypoints.md +0 -4
- package/test-projects/rails-app/ai-context/files.json +0 -239
- package/test-projects/rails-app/ai-context/graph/knowledge-graph.json +0 -130
- package/test-projects/rails-app/ai-context/graph/module-graph.json +0 -27
- package/test-projects/rails-app/ai-context/graph/symbol-graph.json +0 -5
- package/test-projects/rails-app/ai-context/graph/symbol-references.json +0 -1
- package/test-projects/rails-app/ai-context/index-state.json +0 -336
- package/test-projects/rails-app/ai-context/index.db +0 -0
- package/test-projects/rails-app/ai-context/modules.json +0 -26
- package/test-projects/rails-app/ai-context/project.json +0 -22
- package/test-projects/rails-app/ai-context/repo_map.json +0 -486
- package/test-projects/rails-app/ai-context/repo_map.md +0 -117
- package/test-projects/rails-app/ai-context/schema.json +0 -5
- package/test-projects/rails-app/ai-context/summary.md +0 -13
- package/test-projects/rails-app/ai-context/symbols.json +0 -1
- package/test-projects/rails-app/ai-context/tech_stack.md +0 -32
- package/test-projects/rails-app/ai-context/tools.json +0 -10
- package/test-projects/react-app/.ai-dev/index.db +0 -0
- package/test-projects/react-app/ai-context/ai_context.md +0 -96
- package/test-projects/react-app/ai-context/ai_rules.md +0 -49
- package/test-projects/react-app/ai-context/architecture.md +0 -39
- package/test-projects/react-app/ai-context/cache.json +0 -153
- package/test-projects/react-app/ai-context/context/features/src.json +0 -18
- package/test-projects/react-app/ai-context/context/flows/UsersPage.json +0 -14
- package/test-projects/react-app/ai-context/context/flows/dashboard.json +0 -9
- package/test-projects/react-app/ai-context/context/flows/login.json +0 -9
- package/test-projects/react-app/ai-context/context/flows/users.json +0 -9
- package/test-projects/react-app/ai-context/conventions.md +0 -52
- package/test-projects/react-app/ai-context/dependencies.json +0 -128
- package/test-projects/react-app/ai-context/entrypoints.md +0 -4
- package/test-projects/react-app/ai-context/files.json +0 -189
- package/test-projects/react-app/ai-context/graph/knowledge-graph.json +0 -112
- package/test-projects/react-app/ai-context/graph/module-graph.json +0 -31
- package/test-projects/react-app/ai-context/graph/symbol-graph.json +0 -868
- package/test-projects/react-app/ai-context/graph/symbol-references.json +0 -31
- package/test-projects/react-app/ai-context/index-state.json +0 -266
- package/test-projects/react-app/ai-context/index.db +0 -0
- package/test-projects/react-app/ai-context/modules.json +0 -17
- package/test-projects/react-app/ai-context/project.json +0 -16
- package/test-projects/react-app/ai-context/repo_map.json +0 -391
- package/test-projects/react-app/ai-context/repo_map.md +0 -94
- package/test-projects/react-app/ai-context/schema.json +0 -5
- package/test-projects/react-app/ai-context/summary.md +0 -13
- package/test-projects/react-app/ai-context/symbols.json +0 -1
- package/test-projects/react-app/ai-context/tech_stack.md +0 -39
- package/test-projects/react-app/ai-context/tools.json +0 -10
- package/test-projects/salesforce-cli/.ai-dev/index.db +0 -0
- package/test-projects/salesforce-cli/ai-context/ai_context.md +0 -89
- package/test-projects/salesforce-cli/ai-context/ai_rules.md +0 -47
- package/test-projects/salesforce-cli/ai-context/architecture.md +0 -39
- package/test-projects/salesforce-cli/ai-context/cache.json +0 -125
- package/test-projects/salesforce-cli/ai-context/context/features/force-app.json +0 -14
- package/test-projects/salesforce-cli/ai-context/context/flows/account.json +0 -9
- package/test-projects/salesforce-cli/ai-context/context/flows/opportunity.json +0 -9
- package/test-projects/salesforce-cli/ai-context/conventions.md +0 -51
- package/test-projects/salesforce-cli/ai-context/dependencies.json +0 -6
- package/test-projects/salesforce-cli/ai-context/entrypoints.md +0 -4
- package/test-projects/salesforce-cli/ai-context/files.json +0 -154
- package/test-projects/salesforce-cli/ai-context/graph/knowledge-graph.json +0 -64
- package/test-projects/salesforce-cli/ai-context/graph/module-graph.json +0 -13
- package/test-projects/salesforce-cli/ai-context/graph/symbol-graph.json +0 -148
- package/test-projects/salesforce-cli/ai-context/graph/symbol-references.json +0 -1
- package/test-projects/salesforce-cli/ai-context/index-state.json +0 -217
- package/test-projects/salesforce-cli/ai-context/index.db +0 -0
- package/test-projects/salesforce-cli/ai-context/modules.json +0 -12
- package/test-projects/salesforce-cli/ai-context/project.json +0 -14
- package/test-projects/salesforce-cli/ai-context/repo_map.json +0 -328
- package/test-projects/salesforce-cli/ai-context/repo_map.md +0 -80
- package/test-projects/salesforce-cli/ai-context/schema.json +0 -5
- package/test-projects/salesforce-cli/ai-context/summary.md +0 -13
- package/test-projects/salesforce-cli/ai-context/symbols.json +0 -1
- package/test-projects/salesforce-cli/ai-context/tech_stack.md +0 -31
- package/test-projects/salesforce-cli/ai-context/tools.json +0 -10
- package/test-projects/spring-boot-app/.ai-dev/index.db +0 -0
- package/test-projects/spring-boot-app/ai-context/ai_context.md +0 -91
- package/test-projects/spring-boot-app/ai-context/ai_rules.md +0 -48
- package/test-projects/spring-boot-app/ai-context/architecture.md +0 -39
- package/test-projects/spring-boot-app/ai-context/cache.json +0 -173
- package/test-projects/spring-boot-app/ai-context/context/features/src.json +0 -26
- package/test-projects/spring-boot-app/ai-context/context/flows/PostController.json +0 -19
- package/test-projects/spring-boot-app/ai-context/context/flows/UserController.json +0 -19
- package/test-projects/spring-boot-app/ai-context/context/flows/comment.json +0 -11
- package/test-projects/spring-boot-app/ai-context/context/flows/post.json +0 -14
- package/test-projects/spring-boot-app/ai-context/context/flows/user.json +0 -14
- package/test-projects/spring-boot-app/ai-context/conventions.md +0 -52
- package/test-projects/spring-boot-app/ai-context/dependencies.json +0 -326
- package/test-projects/spring-boot-app/ai-context/entrypoints.md +0 -4
- package/test-projects/spring-boot-app/ai-context/files.json +0 -214
- package/test-projects/spring-boot-app/ai-context/graph/knowledge-graph.json +0 -231
- package/test-projects/spring-boot-app/ai-context/graph/module-graph.json +0 -22
- package/test-projects/spring-boot-app/ai-context/graph/symbol-graph.json +0 -794
- package/test-projects/spring-boot-app/ai-context/graph/symbol-references.json +0 -70
- package/test-projects/spring-boot-app/ai-context/index-state.json +0 -301
- package/test-projects/spring-boot-app/ai-context/index.db +0 -0
- package/test-projects/spring-boot-app/ai-context/modules.json +0 -21
- package/test-projects/spring-boot-app/ai-context/project.json +0 -17
- package/test-projects/spring-boot-app/ai-context/repo_map.json +0 -461
- package/test-projects/spring-boot-app/ai-context/repo_map.md +0 -109
- package/test-projects/spring-boot-app/ai-context/schema.json +0 -5
- package/test-projects/spring-boot-app/ai-context/summary.md +0 -12
- package/test-projects/spring-boot-app/ai-context/symbols.json +0 -1
- package/test-projects/spring-boot-app/ai-context/tech_stack.md +0 -32
- package/test-projects/spring-boot-app/ai-context/tools.json +0 -10
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# AI Rules
|
|
2
|
-
|
|
3
|
-
> Guidelines for AI assistants working on this project
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Guidelines
|
|
8
|
-
|
|
9
|
-
- Language: Use JavaScript, JSON
|
|
10
|
-
- Frameworks: Express.js
|
|
11
|
-
- Architecture: Follow MVC (Model-View-Controller) pattern
|
|
12
|
-
- File naming: camelCase
|
|
13
|
-
- Main entry: package.json#scripts.start
|
|
14
|
-
- Dev command: npm run dev
|
|
15
|
-
|
|
16
|
-
## Patterns
|
|
17
|
-
|
|
18
|
-
- Layer structure: application → domain
|
|
19
|
-
|
|
20
|
-
## Constraints
|
|
21
|
-
|
|
22
|
-
- Always use semicolons
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## Quick Reference
|
|
27
|
-
|
|
28
|
-
| Category | Value |
|
|
29
|
-
|----------|-------|
|
|
30
|
-
| Language | JavaScript, JSON |
|
|
31
|
-
| Framework | Express.js |
|
|
32
|
-
| Architecture | MVC (Model-View-Controller) |
|
|
33
|
-
| Naming | camelCase |
|
|
34
|
-
| Indentation | unknown |
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## Best Practices
|
|
39
|
-
|
|
40
|
-
1. Follow the established naming conventions
|
|
41
|
-
2. Keep functions small and focused
|
|
42
|
-
3. Write tests for new features
|
|
43
|
-
4. Use descriptive variable names
|
|
44
|
-
5. Keep the architecture consistent
|
|
45
|
-
6. Document complex logic
|
|
46
|
-
7. Review code before committing
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
*Generated by ai-first*
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# Architecture
|
|
2
|
-
|
|
3
|
-
## Architectural Pattern
|
|
4
|
-
**Primary**: MVC (Model-View-Controller)
|
|
5
|
-
**Secondary**: Layered Architecture, Microservices
|
|
6
|
-
|
|
7
|
-
## Layers Identified
|
|
8
|
-
- Application
|
|
9
|
-
- Domain
|
|
10
|
-
|
|
11
|
-
## Key Modules
|
|
12
|
-
| Module | Responsibility |
|
|
13
|
-
|--------|----------------|
|
|
14
|
-
| `controllers` | API endpoints and request handling |
|
|
15
|
-
| `index.js` | Contains 0 files |
|
|
16
|
-
| `middleware` | Request/response middleware |
|
|
17
|
-
| `models` | Data models and entities |
|
|
18
|
-
| `package.json` | Contains 0 files |
|
|
19
|
-
| `services` | Business logic and use cases |
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## Module Details
|
|
23
|
-
|
|
24
|
-
### controllers
|
|
25
|
-
- **Path**: `controllers`
|
|
26
|
-
- **Responsibility**: API endpoints and request handling
|
|
27
|
-
- **Depends on**: service, model
|
|
28
|
-
|
|
29
|
-
### index.js
|
|
30
|
-
- **Path**: `index.js`
|
|
31
|
-
- **Responsibility**: Contains 0 files
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### middleware
|
|
35
|
-
- **Path**: `middleware`
|
|
36
|
-
- **Responsibility**: Request/response middleware
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### models
|
|
40
|
-
- **Path**: `models`
|
|
41
|
-
- **Responsibility**: Data models and entities
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### package.json
|
|
45
|
-
- **Path**: `package.json`
|
|
46
|
-
- **Responsibility**: Contains 0 files
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
### services
|
|
50
|
-
- **Path**: `services`
|
|
51
|
-
- **Responsibility**: Business logic and use cases
|
|
52
|
-
- **Depends on**: model, repository
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
## Recommendations
|
|
56
|
-
|
|
57
|
-
- Keep the architecture consistent as the project grows
|
|
58
|
-
- Follow the established layer structure
|
|
59
|
-
- Use dependency injection to manage module relationships
|
|
60
|
-
|
|
61
|
-
---
|
|
62
|
-
*Generated by ai-first*
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "controllers",
|
|
3
|
-
"path": "controllers",
|
|
4
|
-
"files": [
|
|
5
|
-
"controllers/authController.js",
|
|
6
|
-
"controllers/userController.js"
|
|
7
|
-
],
|
|
8
|
-
"entrypoints": [
|
|
9
|
-
"controllers/authController.js",
|
|
10
|
-
"controllers/userController.js"
|
|
11
|
-
],
|
|
12
|
-
"dependencies": []
|
|
13
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Code Conventions
|
|
2
|
-
|
|
3
|
-
## Naming Conventions
|
|
4
|
-
- **Files**: camelCase
|
|
5
|
-
|
|
6
|
-
## Project Structure
|
|
7
|
-
|
|
8
|
-
## Code Style
|
|
9
|
-
- **Semicolons**: Required
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## Naming Conventions
|
|
13
|
-
|
|
14
|
-
| Element | Convention |
|
|
15
|
-
|---------|------------|
|
|
16
|
-
| Files | camelCase |
|
|
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*
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"totalDependencies": 6,
|
|
3
|
-
"totalModules": 5,
|
|
4
|
-
"dependencies": [
|
|
5
|
-
{
|
|
6
|
-
"source": "controllers/authController.js",
|
|
7
|
-
"target": "services/authService",
|
|
8
|
-
"type": "require"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"source": "controllers/userController.js",
|
|
12
|
-
"target": "services/userService",
|
|
13
|
-
"type": "require"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"source": "index.js",
|
|
17
|
-
"target": "controllers/authController",
|
|
18
|
-
"type": "require"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"source": "index.js",
|
|
22
|
-
"target": "controllers/userController",
|
|
23
|
-
"type": "require"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"source": "services/authService.js",
|
|
27
|
-
"target": "models/userRepository",
|
|
28
|
-
"type": "require"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"source": "services/userService.js",
|
|
32
|
-
"target": "models/userRepository",
|
|
33
|
-
"type": "require"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"byFile": {
|
|
37
|
-
"controllers/authController.js": [
|
|
38
|
-
"services/authService"
|
|
39
|
-
],
|
|
40
|
-
"controllers/userController.js": [
|
|
41
|
-
"services/userService"
|
|
42
|
-
],
|
|
43
|
-
"index.js": [
|
|
44
|
-
"controllers/authController",
|
|
45
|
-
"controllers/userController"
|
|
46
|
-
],
|
|
47
|
-
"services/authService.js": [
|
|
48
|
-
"models/userRepository"
|
|
49
|
-
],
|
|
50
|
-
"services/userService.js": [
|
|
51
|
-
"models/userRepository"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Entrypoints
|
|
2
|
-
|
|
3
|
-
## Library
|
|
4
|
-
|
|
5
|
-
| Name | Path | Command |
|
|
6
|
-
|------|------|--------|
|
|
7
|
-
| Main | `index.js` | - |
|
|
8
|
-
|
|
9
|
-
## Server
|
|
10
|
-
|
|
11
|
-
| Name | Path | Command |
|
|
12
|
-
|------|------|--------|
|
|
13
|
-
| start | `package.json#scripts.start` | npm run start |
|
|
14
|
-
| dev | `package.json#scripts.dev` | npm run dev |
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
*Generated by ai-first*
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"modules": {
|
|
3
|
-
"controllers": {
|
|
4
|
-
"path": "controllers",
|
|
5
|
-
"files": [
|
|
6
|
-
"controllers/authController.js",
|
|
7
|
-
"controllers/userController.js"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"middleware": {
|
|
11
|
-
"path": "middleware",
|
|
12
|
-
"files": [
|
|
13
|
-
"middleware/authMiddleware.js"
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
"models": {
|
|
17
|
-
"path": "models",
|
|
18
|
-
"files": [
|
|
19
|
-
"models/userRepository.js"
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
"services": {
|
|
23
|
-
"path": "services",
|
|
24
|
-
"files": [
|
|
25
|
-
"services/authService.js",
|
|
26
|
-
"services/userService.js"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "express-api",
|
|
3
|
-
"rootDir": "/mnt/m2/Código/opencode-ai-first/test-projects/express-api",
|
|
4
|
-
"features": [
|
|
5
|
-
"controllers",
|
|
6
|
-
"services"
|
|
7
|
-
],
|
|
8
|
-
"flows": [
|
|
9
|
-
"auth",
|
|
10
|
-
"user"
|
|
11
|
-
],
|
|
12
|
-
"languages": [],
|
|
13
|
-
"frameworks": [],
|
|
14
|
-
"generatedAt": "2026-03-19T15:33:16.713Z"
|
|
15
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"generated": "2026-03-19T15:33:16.703Z",
|
|
3
|
-
"totalFiles": 8,
|
|
4
|
-
"structure": {
|
|
5
|
-
"controllers": {
|
|
6
|
-
"type": "directory",
|
|
7
|
-
"children": {
|
|
8
|
-
"authController.js": {
|
|
9
|
-
"type": "file",
|
|
10
|
-
"extension": "js"
|
|
11
|
-
},
|
|
12
|
-
"userController.js": {
|
|
13
|
-
"type": "file",
|
|
14
|
-
"extension": "js"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"index.js": {
|
|
19
|
-
"type": "file",
|
|
20
|
-
"extension": "js"
|
|
21
|
-
},
|
|
22
|
-
"middleware": {
|
|
23
|
-
"type": "directory",
|
|
24
|
-
"children": {
|
|
25
|
-
"authMiddleware.js": {
|
|
26
|
-
"type": "file",
|
|
27
|
-
"extension": "js"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"models": {
|
|
32
|
-
"type": "directory",
|
|
33
|
-
"children": {
|
|
34
|
-
"userRepository.js": {
|
|
35
|
-
"type": "file",
|
|
36
|
-
"extension": "js"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"package.json": {
|
|
41
|
-
"type": "file",
|
|
42
|
-
"extension": "json"
|
|
43
|
-
},
|
|
44
|
-
"services": {
|
|
45
|
-
"type": "directory",
|
|
46
|
-
"children": {
|
|
47
|
-
"authService.js": {
|
|
48
|
-
"type": "file",
|
|
49
|
-
"extension": "js"
|
|
50
|
-
},
|
|
51
|
-
"userService.js": {
|
|
52
|
-
"type": "file",
|
|
53
|
-
"extension": "js"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"files": [
|
|
59
|
-
{
|
|
60
|
-
"path": "controllers/authController.js",
|
|
61
|
-
"name": "authController.js",
|
|
62
|
-
"extension": "js"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"path": "controllers/userController.js",
|
|
66
|
-
"name": "userController.js",
|
|
67
|
-
"extension": "js"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"path": "index.js",
|
|
71
|
-
"name": "index.js",
|
|
72
|
-
"extension": "js"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"path": "middleware/authMiddleware.js",
|
|
76
|
-
"name": "authMiddleware.js",
|
|
77
|
-
"extension": "js"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"path": "models/userRepository.js",
|
|
81
|
-
"name": "userRepository.js",
|
|
82
|
-
"extension": "js"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"path": "package.json",
|
|
86
|
-
"name": "package.json",
|
|
87
|
-
"extension": "json"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"path": "services/authService.js",
|
|
91
|
-
"name": "authService.js",
|
|
92
|
-
"extension": "js"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"path": "services/userService.js",
|
|
96
|
-
"name": "userService.js",
|
|
97
|
-
"extension": "js"
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Repository Map
|
|
2
|
-
## controllers
|
|
3
|
-
- authController.js
|
|
4
|
-
- userController.js
|
|
5
|
-
|
|
6
|
-
## index.js
|
|
7
|
-
- index.js
|
|
8
|
-
|
|
9
|
-
## middleware
|
|
10
|
-
- authMiddleware.js
|
|
11
|
-
|
|
12
|
-
## models
|
|
13
|
-
- userRepository.js
|
|
14
|
-
|
|
15
|
-
## package.json
|
|
16
|
-
- package.json
|
|
17
|
-
|
|
18
|
-
## services
|
|
19
|
-
- authService.js
|
|
20
|
-
- userService.js
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
# Repository Structure (Tree View)
|
|
25
|
-
├── controllers/
|
|
26
|
-
│ ├── authController.js
|
|
27
|
-
│ └── userController.js
|
|
28
|
-
├── middleware/
|
|
29
|
-
│ └── authMiddleware.js
|
|
30
|
-
├── models/
|
|
31
|
-
│ └── userRepository.js
|
|
32
|
-
├── services/
|
|
33
|
-
│ ├── authService.js
|
|
34
|
-
│ └── userService.js
|
|
35
|
-
├── index.js
|
|
36
|
-
└── package.json
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Technology Stack
|
|
2
|
-
|
|
3
|
-
**Languages**: JavaScript, JSON
|
|
4
|
-
|
|
5
|
-
**Frameworks**: Express.js
|
|
6
|
-
|
|
7
|
-
**Libraries**: Bcrypt, JWT
|
|
8
|
-
|
|
9
|
-
**Package Managers**: npm
|
|
10
|
-
|
|
11
|
-
## Languages
|
|
12
|
-
- JavaScript
|
|
13
|
-
- JSON
|
|
14
|
-
|
|
15
|
-
## Frameworks
|
|
16
|
-
- Express.js
|
|
17
|
-
|
|
18
|
-
## Key Libraries
|
|
19
|
-
- Bcrypt
|
|
20
|
-
- JWT
|
|
21
|
-
|
|
22
|
-
## Development Tools
|
|
23
|
-
- None detected
|
|
24
|
-
|
|
25
|
-
## Package Managers
|
|
26
|
-
- npm
|
|
27
|
-
|
|
28
|
-
## Testing
|
|
29
|
-
- None detected
|
|
30
|
-
|
|
31
|
-
## Linters
|
|
32
|
-
- None detected
|
|
33
|
-
|
|
34
|
-
## Formatters
|
|
35
|
-
- None detected
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
*Generated by ai-first*
|
|
Binary file
|
|
@@ -1,89 +0,0 @@
|
|
|
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**: Flat / Simple Structure
|
|
10
|
-
- **Languages**: Markdown, JSON, Python
|
|
11
|
-
- **Frameworks**: None
|
|
12
|
-
- **Total Files**: 30
|
|
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**: Markdown, JSON, Python
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## Architecture
|
|
34
|
-
|
|
35
|
-
## Architectural Pattern
|
|
36
|
-
**Primary**: Flat / Simple Structure
|
|
37
|
-
|
|
38
|
-
## Key Modules
|
|
39
|
-
| Module | Responsibility |
|
|
40
|
-
|--------|----------------|
|
|
41
|
-
| `README.md` | Contains 0 files |
|
|
42
|
-
| `ai` | Contains 22 files |
|
|
43
|
-
| `app` | Contains 7 files |
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
## Key Entrypoints
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## Code Conventions
|
|
53
|
-
|
|
54
|
-
## Naming Conventions
|
|
55
|
-
- **Files**: PascalCase
|
|
56
|
-
|
|
57
|
-
## Project Structure
|
|
58
|
-
|
|
59
|
-
## Code Style
|
|
60
|
-
- **Semicolons**: Required
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
## AI Rules
|
|
66
|
-
|
|
67
|
-
- Language: Use Markdown, JSON, Python
|
|
68
|
-
- Architecture: Follow Flat / Simple Structure pattern
|
|
69
|
-
- File naming: PascalCase
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
## Repository Map
|
|
74
|
-
|
|
75
|
-
See repo_map.md for the full structure.
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Notes for AI Assistants
|
|
80
|
-
|
|
81
|
-
1. Follow the established naming conventions (see conventions.md)
|
|
82
|
-
2. Use the detected frameworks and libraries
|
|
83
|
-
3. Target the correct entrypoints for modifications
|
|
84
|
-
4. Maintain the detected architecture patterns
|
|
85
|
-
5. Follow AI rules in ai_rules.md
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
*Generated by ai-first*
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# AI Rules
|
|
2
|
-
|
|
3
|
-
> Guidelines for AI assistants working on this project
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Guidelines
|
|
8
|
-
|
|
9
|
-
- Language: Use Markdown, JSON, Python
|
|
10
|
-
- Architecture: Follow Flat / Simple Structure pattern
|
|
11
|
-
- File naming: PascalCase
|
|
12
|
-
|
|
13
|
-
## Patterns
|
|
14
|
-
|
|
15
|
-
- Layer structure:
|
|
16
|
-
|
|
17
|
-
## Constraints
|
|
18
|
-
|
|
19
|
-
- Always use semicolons
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## Quick Reference
|
|
24
|
-
|
|
25
|
-
| Category | Value |
|
|
26
|
-
|----------|-------|
|
|
27
|
-
| Language | Markdown, JSON, Python |
|
|
28
|
-
| Framework | N/A |
|
|
29
|
-
| Architecture | Flat / Simple Structure |
|
|
30
|
-
| Naming | PascalCase |
|
|
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*
|