paqad-ai 0.3.3 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +26 -20
  2. package/dist/cli/index.js +14409 -7192
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/index.d.ts +1245 -438
  5. package/dist/index.js +18056 -11934
  6. package/dist/index.js.map +1 -1
  7. package/package.json +2 -2
  8. package/runtime/capabilities/coding/stacks/astro/pack.yaml +2 -1
  9. package/runtime/capabilities/coding/stacks/django/pack.yaml +1 -0
  10. package/runtime/capabilities/coding/stacks/dotnet/pack.yaml +73 -0
  11. package/runtime/capabilities/coding/stacks/dotnet/references/tools/security-review-checklist.md +6 -0
  12. package/runtime/capabilities/coding/stacks/dotnet/references/tools/testing.md +5 -0
  13. package/runtime/capabilities/coding/stacks/dotnet/references/tools-catalog.md +4 -0
  14. package/runtime/capabilities/coding/stacks/dotnet/rules/conventions.md +6 -0
  15. package/runtime/capabilities/coding/stacks/dotnet/scripts/extract-error-codes.sh +6 -0
  16. package/runtime/capabilities/coding/stacks/dotnet/scripts/extract-models.sh +6 -0
  17. package/runtime/capabilities/coding/stacks/dotnet/scripts/extract-routes.sh +6 -0
  18. package/runtime/capabilities/coding/stacks/express/pack.yaml +3 -1
  19. package/runtime/capabilities/coding/stacks/fastapi/pack.yaml +1 -0
  20. package/runtime/capabilities/coding/stacks/flask/pack.yaml +56 -0
  21. package/runtime/capabilities/coding/stacks/flask/references/tools/security-review-checklist.md +6 -0
  22. package/runtime/capabilities/coding/stacks/flask/references/tools/testing.md +5 -0
  23. package/runtime/capabilities/coding/stacks/flask/references/tools-catalog.md +4 -0
  24. package/runtime/capabilities/coding/stacks/flask/rules/conventions.md +6 -0
  25. package/runtime/capabilities/coding/stacks/flask/scripts/extract-error-codes.sh +5 -0
  26. package/runtime/capabilities/coding/stacks/flask/scripts/extract-models.sh +5 -0
  27. package/runtime/capabilities/coding/stacks/flask/scripts/extract-routes.sh +5 -0
  28. package/runtime/capabilities/coding/stacks/flutter/pack.yaml +1 -0
  29. package/runtime/capabilities/coding/stacks/kotlin-android/pack.yaml +63 -0
  30. package/runtime/capabilities/coding/stacks/kotlin-android/references/tools/security-review-checklist.md +6 -0
  31. package/runtime/capabilities/coding/stacks/kotlin-android/references/tools/testing.md +5 -0
  32. package/runtime/capabilities/coding/stacks/kotlin-android/references/tools-catalog.md +4 -0
  33. package/runtime/capabilities/coding/stacks/kotlin-android/rules/conventions.md +6 -0
  34. package/runtime/capabilities/coding/stacks/kotlin-android/scripts/extract-error-codes.sh +5 -0
  35. package/runtime/capabilities/coding/stacks/kotlin-android/scripts/extract-models.sh +5 -0
  36. package/runtime/capabilities/coding/stacks/kotlin-android/scripts/extract-routes.sh +5 -0
  37. package/runtime/capabilities/coding/stacks/nestjs/pack.yaml +62 -0
  38. package/runtime/capabilities/coding/stacks/nestjs/references/tools/security-review-checklist.md +6 -0
  39. package/runtime/capabilities/coding/stacks/nestjs/references/tools/testing.md +5 -0
  40. package/runtime/capabilities/coding/stacks/nestjs/references/tools-catalog.md +4 -0
  41. package/runtime/capabilities/coding/stacks/nestjs/rules/conventions.md +6 -0
  42. package/runtime/capabilities/coding/stacks/nestjs/scripts/extract-error-codes.sh +5 -0
  43. package/runtime/capabilities/coding/stacks/nestjs/scripts/extract-models.sh +5 -0
  44. package/runtime/capabilities/coding/stacks/nestjs/scripts/extract-routes.sh +5 -0
  45. package/runtime/capabilities/coding/stacks/nextjs/pack.yaml +62 -0
  46. package/runtime/capabilities/coding/stacks/nextjs/references/tools/security-review-checklist.md +6 -0
  47. package/runtime/capabilities/coding/stacks/nextjs/references/tools/testing.md +5 -0
  48. package/runtime/capabilities/coding/stacks/nextjs/references/tools-catalog.md +4 -0
  49. package/runtime/capabilities/coding/stacks/nextjs/rules/conventions.md +6 -0
  50. package/runtime/capabilities/coding/stacks/nextjs/scripts/extract-error-codes.sh +5 -0
  51. package/runtime/capabilities/coding/stacks/nextjs/scripts/extract-models.sh +5 -0
  52. package/runtime/capabilities/coding/stacks/nextjs/scripts/extract-routes.sh +5 -0
  53. package/runtime/capabilities/coding/stacks/node-cli/pack.yaml +2 -1
  54. package/runtime/capabilities/coding/stacks/node-library/pack.yaml +2 -1
  55. package/runtime/capabilities/coding/stacks/node-service/pack.yaml +2 -1
  56. package/runtime/capabilities/coding/stacks/react/pack.yaml +3 -1
  57. package/runtime/capabilities/coding/stacks/spring-boot/pack.yaml +1 -1
  58. package/runtime/capabilities/coding/stacks/svelte/pack.yaml +2 -1
  59. package/runtime/capabilities/coding/stacks/vue/pack.yaml +2 -1
  60. package/runtime/hooks/module-health-sync.sh +15 -0
  61. package/runtime/hooks/stale-doc-detector.sh +78 -7
  62. package/runtime/templates/agent-configs/agents.md.hbs +17 -8
  63. package/runtime/templates/agent-configs/aider.md.hbs +16 -7
  64. package/runtime/templates/agent-configs/antigravity.md.hbs +17 -8
  65. package/runtime/templates/agent-configs/claude.md.hbs +17 -8
  66. package/runtime/templates/agent-configs/continue.md.hbs +17 -8
  67. package/runtime/templates/agent-configs/copilot.md.hbs +16 -7
  68. package/runtime/templates/agent-configs/cursor.md.hbs +17 -8
  69. package/runtime/templates/agent-configs/gemini.md.hbs +17 -8
  70. package/runtime/templates/agent-configs/junie.md.hbs +11 -10
  71. package/runtime/templates/agent-configs/windsurf.md.hbs +17 -8
  72. package/runtime/templates/runner-scripts/extract-models.sh.hbs +26 -0
  73. package/runtime/templates/runner-scripts/extract-routes.sh.hbs +22 -1
  74. package/scripts/run-vitest-with-summary.mjs +2 -1
package/README.md CHANGED
@@ -104,13 +104,13 @@ That is **20 built-in agent roles** in the shipped runtime, in addition to the s
104
104
 
105
105
  ---
106
106
 
107
- ## 17 built-in Stack Packs
107
+ ## 22 built-in Stack Packs
108
108
 
109
109
  paqad-ai parses manifests and lockfiles across 9 ecosystems. It doesn't ask what stack you use — it reads your repo to figure it out.
110
110
 
111
- **14 framework packs:**
111
+ **19 framework packs:**
112
112
 
113
- `laravel` · `react` · `vue` · `flutter` · `django` · `fastapi` · `rails` · `spring-boot` · `express` · `angular` · `svelte` · `astro` · `go-web` · `rust-web`
113
+ `laravel` · `react` · `vue` · `flutter` · `django` · `fastapi` · `rails` · `spring-boot` · `express` · `angular` · `svelte` · `astro` · `go-web` · `rust-web` · `dotnet` · `nextjs` · `flask` · `nestjs` · `kotlin-android`
114
114
 
115
115
  **3 archetype packs** (fallback for Node projects that don't match a framework):
116
116
 
@@ -135,22 +135,27 @@ Lockfiles always win over manifest constraints. Traits like `inertia`, `tailwind
135
135
 
136
136
  **Stack + capability matrix:**
137
137
 
138
- | Stack | Available traits |
139
- | --------------- | ------------------------------------------------- |
140
- | **Laravel** | `inertia`, `react`, `vue`, `tailwind`, `boost` |
141
- | **React** | `next`, `remix`, `vite-spa`, `gatsby`, `tailwind` |
142
- | **Vue** | `nuxt`, `vite-spa`, `quasar`, `tailwind` |
143
- | **Flutter** | `docker`, `compose` |
144
- | **Django** | `docker`, `compose` |
145
- | **FastAPI** | `docker`, `compose` |
146
- | **Rails** | `docker`, `compose` |
147
- | **Spring Boot** | `docker`, `compose` |
148
- | **Express** | `docker`, `compose` |
149
- | **Angular** | `docker`, `compose` |
150
- | **Svelte** | `docker`, `compose` |
151
- | **Astro** | `docker`, `compose` |
152
- | **Go Web** | `docker`, `compose` |
153
- | **Rust Web** | `docker`, `compose` |
138
+ | Stack | Available traits |
139
+ | ------------------ | -------------------------------------------------- |
140
+ | **Laravel** | `inertia`, `react`, `vue`, `tailwind`, `boost` |
141
+ | **React** | `next`, `remix`, `vite-spa`, `gatsby`, `tailwind` |
142
+ | **Vue** | `nuxt`, `vite-spa`, `quasar`, `tailwind` |
143
+ | **Flutter** | `docker`, `compose` |
144
+ | **Django** | `docker`, `compose` |
145
+ | **FastAPI** | `docker`, `compose` |
146
+ | **Rails** | `docker`, `compose` |
147
+ | **Spring Boot** | `docker`, `compose` |
148
+ | **Express** | `docker`, `compose` |
149
+ | **Angular** | `docker`, `compose` |
150
+ | **Svelte** | `docker`, `compose` |
151
+ | **Astro** | `docker`, `compose` |
152
+ | **Go Web** | `docker`, `compose` |
153
+ | **Rust Web** | `docker`, `compose` |
154
+ | **ASP.NET Core** | `ef-core`, `mvc`, `minimal-api`, `blazor` |
155
+ | **Next.js** | `app-router`, `pages-router`, `tailwind`, `prisma` |
156
+ | **Flask** | `sqlalchemy`, `blueprints`, `celery`, `gunicorn` |
157
+ | **NestJS** | `prisma`, `typeorm`, `graphql`, `swagger` |
158
+ | **Kotlin Android** | `jetpack-compose`, `room`, `hilt`, `navigation` |
154
159
 
155
160
  Laravel also detects `pest`, `phpunit`, `sail`, `docker`, and `compose` automatically. Environment traits like Docker and Compose are detected across all stacks.
156
161
 
@@ -360,13 +365,14 @@ paqad-ai onboard --providers windsurf continue
360
365
  | `--capability <traits...>` | Manual trait overrides (e.g., `inertia tailwind docker`) |
361
366
  | `--providers <agents...>` | Which agents to generate for |
362
367
 
363
- **Available `--stack` values:** `laravel`, `flutter`, `react`, `vue`, `django`, `fastapi`, `rails`, `spring-boot`, `express`, `angular`, `svelte`, `astro`, `go-web`, `rust-web`, `short-video`
368
+ **Available `--stack` values:** `laravel`, `flutter`, `react`, `vue`, `django`, `fastapi`, `rails`, `spring-boot`, `express`, `angular`, `svelte`, `astro`, `go-web`, `rust-web`, `dotnet`, `nextjs`, `flask`, `nestjs`, `kotlin-android`, `short-video`
364
369
 
365
370
  **Available `--providers`:** `claude-code`, `codex-cli`, `antigravity`, `gemini-cli`, `junie`, `cursor`, `github-copilot`, `windsurf`, `continue`, `aider`
366
371
 
367
372
  **Notes:**
368
373
 
369
374
  - `react` and `vue` are mutually exclusive — pick one
375
+ - `nextjs` supersedes standalone `react`, and `nestjs` supersedes standalone `express`
370
376
  - Standalone React/Vue brings sub-stack rule bundles (`next`, `remix`, `nuxt`, etc.)
371
377
  - Laravel auto-detects Pest vs PHPUnit from Composer dependencies
372
378
  - Empty or content-only repos onboard as `active_capabilities: [content]`