proagents 1.6.16 → 1.6.18

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 (170) hide show
  1. package/.claude/settings.local.json +169 -0
  2. package/COMMANDS.md +595 -0
  3. package/README.md +22 -64
  4. package/bin/proagents.js +0 -2
  5. package/lib/commands/init.js +4 -174
  6. package/package.json +2 -7
  7. package/.proagents/ai-models/README.md +0 -141
  8. package/.proagents/ai-models/cost-management.md +0 -362
  9. package/.proagents/ai-models/fallbacks.md +0 -342
  10. package/.proagents/ai-models/model-config.md +0 -318
  11. package/.proagents/ai-models/task-routing.md +0 -503
  12. package/.proagents/ai-training/README.md +0 -155
  13. package/.proagents/ai-training/continuous-learning.md +0 -413
  14. package/.proagents/ai-training/domain-knowledge.md +0 -378
  15. package/.proagents/ai-training/pattern-learning.md +0 -455
  16. package/.proagents/ai-training/training-data.md +0 -337
  17. package/.proagents/ai-training/user-preferences.md +0 -346
  18. package/.proagents/approval-workflows/README.md +0 -146
  19. package/.proagents/approval-workflows/approval-config.md +0 -332
  20. package/.proagents/approval-workflows/approval-stages.md +0 -503
  21. package/.proagents/approval-workflows/emergency-bypass.md +0 -351
  22. package/.proagents/approval-workflows/examples.md +0 -859
  23. package/.proagents/approval-workflows/notifications.md +0 -320
  24. package/.proagents/compliance/README.md +0 -206
  25. package/.proagents/compliance/access-control.md +0 -310
  26. package/.proagents/compliance/audit-logging.md +0 -444
  27. package/.proagents/compliance/compliance-frameworks.md +0 -429
  28. package/.proagents/compliance/reports.md +0 -491
  29. package/.proagents/compliance/retention-policies.md +0 -454
  30. package/.proagents/config-versioning/README.md +0 -120
  31. package/.proagents/config-versioning/changelog.md +0 -300
  32. package/.proagents/config-versioning/rollback.md +0 -283
  33. package/.proagents/config-versioning/versioning.md +0 -330
  34. package/.proagents/contract-testing/README.md +0 -223
  35. package/.proagents/contract-testing/contract-testing.md +0 -614
  36. package/.proagents/contract-testing/pact-integration.md +0 -507
  37. package/.proagents/contract-testing/schema-validation.md +0 -565
  38. package/.proagents/dependency-management/README.md +0 -140
  39. package/.proagents/dependency-management/automation.md +0 -363
  40. package/.proagents/dependency-management/compatibility.md +0 -319
  41. package/.proagents/dependency-management/security-scanning.md +0 -413
  42. package/.proagents/dependency-management/update-policies.md +0 -374
  43. package/.proagents/disaster-recovery/README.md +0 -247
  44. package/.proagents/disaster-recovery/automation.md +0 -366
  45. package/.proagents/disaster-recovery/backup-recovery.md +0 -571
  46. package/.proagents/disaster-recovery/incident-response.md +0 -565
  47. package/.proagents/disaster-recovery/rollback-procedures.md +0 -499
  48. package/.proagents/disaster-recovery/runbooks.md +0 -603
  49. package/.proagents/disaster-recovery/scenarios.md +0 -892
  50. package/.proagents/disaster-recovery/testing.md +0 -438
  51. package/.proagents/environments/README.md +0 -244
  52. package/.proagents/environments/configuration.md +0 -437
  53. package/.proagents/environments/promotion.md +0 -434
  54. package/.proagents/environments/setup.md +0 -420
  55. package/.proagents/examples/README.md +0 -55
  56. package/.proagents/examples/backend-nodejs/README.md +0 -188
  57. package/.proagents/examples/backend-nodejs/complete-conversation.md +0 -601
  58. package/.proagents/examples/backend-nodejs/proagents.config.yaml +0 -415
  59. package/.proagents/examples/backend-nodejs/workflow-example.md +0 -909
  60. package/.proagents/examples/fullstack-nextjs/README.md +0 -155
  61. package/.proagents/examples/fullstack-nextjs/complete-conversation.md +0 -604
  62. package/.proagents/examples/fullstack-nextjs/proagents.config.yaml +0 -287
  63. package/.proagents/examples/fullstack-nextjs/workflow-example.md +0 -553
  64. package/.proagents/examples/mobile-react-native/README.md +0 -171
  65. package/.proagents/examples/mobile-react-native/complete-conversation.md +0 -825
  66. package/.proagents/examples/mobile-react-native/proagents.config.yaml +0 -330
  67. package/.proagents/examples/mobile-react-native/workflow-example.md +0 -723
  68. package/.proagents/examples/web-frontend-react/README.md +0 -125
  69. package/.proagents/examples/web-frontend-react/complete-conversation.md +0 -556
  70. package/.proagents/examples/web-frontend-react/proagents.config.yaml +0 -183
  71. package/.proagents/examples/web-frontend-react/workflow-example.md +0 -603
  72. package/.proagents/existing-projects/README.md +0 -65
  73. package/.proagents/existing-projects/challenges.md +0 -861
  74. package/.proagents/existing-projects/coexistence-mode.md +0 -483
  75. package/.proagents/existing-projects/compatibility-assessment.md +0 -541
  76. package/.proagents/existing-projects/gradual-adoption.md +0 -515
  77. package/.proagents/existing-projects/migration-strategies.md +0 -788
  78. package/.proagents/existing-projects/pattern-reconciliation.md +0 -489
  79. package/.proagents/existing-projects/team-onboarding.md +0 -617
  80. package/.proagents/existing-projects/technical-debt-handling.md +0 -644
  81. package/.proagents/feature-flags/README.md +0 -263
  82. package/.proagents/feature-flags/ab-testing.md +0 -413
  83. package/.proagents/feature-flags/configuration.md +0 -420
  84. package/.proagents/feature-flags/kill-switches.md +0 -444
  85. package/.proagents/feature-flags/rollout-strategies.md +0 -392
  86. package/.proagents/history.log +0 -12
  87. package/.proagents/i18n/README.md +0 -133
  88. package/.proagents/i18n/extraction.md +0 -433
  89. package/.proagents/i18n/tms-integration.md +0 -332
  90. package/.proagents/i18n/translation-workflow.md +0 -413
  91. package/.proagents/i18n/validation.md +0 -355
  92. package/.proagents/logging/README.md +0 -276
  93. package/.proagents/logging/aggregation.md +0 -475
  94. package/.proagents/logging/log-levels.md +0 -376
  95. package/.proagents/logging/sensitive-data.md +0 -423
  96. package/.proagents/logging/structured-logging.md +0 -406
  97. package/.proagents/metrics/README.md +0 -69
  98. package/.proagents/metrics/code-quality-kpis.md +0 -461
  99. package/.proagents/metrics/deployment-metrics.md +0 -517
  100. package/.proagents/metrics/developer-productivity.md +0 -368
  101. package/.proagents/metrics/learning-effectiveness.md +0 -478
  102. package/.proagents/migrations/README.md +0 -77
  103. package/.proagents/migrations/from-claude-projects.md +0 -313
  104. package/.proagents/migrations/from-cursor-rules.md +0 -345
  105. package/.proagents/migrations/from-custom-workflows.md +0 -410
  106. package/.proagents/monitoring/README.md +0 -308
  107. package/.proagents/monitoring/alerting.md +0 -449
  108. package/.proagents/monitoring/dashboards.md +0 -454
  109. package/.proagents/monitoring/health-checks.md +0 -436
  110. package/.proagents/monitoring/metrics.md +0 -434
  111. package/.proagents/multi-project/README.md +0 -170
  112. package/.proagents/multi-project/coordinated-deploy.md +0 -510
  113. package/.proagents/multi-project/cross-project-deps.md +0 -395
  114. package/.proagents/multi-project/unified-changelog.md +0 -477
  115. package/.proagents/multi-project/walkthroughs/monorepo-setup.md +0 -787
  116. package/.proagents/multi-project/workspace-config.md +0 -408
  117. package/.proagents/notifications/README.md +0 -151
  118. package/.proagents/notifications/channels.md +0 -457
  119. package/.proagents/notifications/preferences.md +0 -415
  120. package/.proagents/notifications/routing.md +0 -449
  121. package/.proagents/notifications/scheduling.md +0 -425
  122. package/.proagents/notifications/templates.md +0 -446
  123. package/.proagents/offline-mode/README.md +0 -145
  124. package/.proagents/offline-mode/caching.md +0 -344
  125. package/.proagents/offline-mode/offline-operations.md +0 -312
  126. package/.proagents/offline-mode/queue-specifications.md +0 -679
  127. package/.proagents/offline-mode/sync.md +0 -475
  128. package/.proagents/parallel-features/README.md +0 -85
  129. package/.proagents/parallel-features/conflict-detection.md +0 -226
  130. package/.proagents/parallel-features/dependency-management.md +0 -392
  131. package/.proagents/parallel-features/merge-coordination.md +0 -506
  132. package/.proagents/parallel-features/tracking-system.md +0 -416
  133. package/.proagents/performance/README.md +0 -59
  134. package/.proagents/performance/bundle-analysis.md +0 -375
  135. package/.proagents/performance/load-testing.md +0 -563
  136. package/.proagents/performance/runtime-metrics.md +0 -489
  137. package/.proagents/performance/web-vitals.md +0 -425
  138. package/.proagents/plugins/README.md +0 -139
  139. package/.proagents/plugins/creating-plugins.md +0 -504
  140. package/.proagents/plugins/plugin-api.md +0 -467
  141. package/.proagents/plugins/plugin-registry.md +0 -276
  142. package/.proagents/reporting/README.md +0 -158
  143. package/.proagents/reporting/dashboards.md +0 -366
  144. package/.proagents/reporting/exports.md +0 -524
  145. package/.proagents/reporting/quality-metrics.md +0 -385
  146. package/.proagents/reporting/templates/README.md +0 -56
  147. package/.proagents/reporting/templates/dashboard-config.json +0 -187
  148. package/.proagents/reporting/templates/metrics-queries.md +0 -427
  149. package/.proagents/reporting/templates/react-dashboard.tsx +0 -544
  150. package/.proagents/reporting/templates/widgets.md +0 -451
  151. package/.proagents/reporting/velocity-metrics.md +0 -340
  152. package/.proagents/reverse-engineering/README.md +0 -151
  153. package/.proagents/reverse-engineering/architecture-extraction.md +0 -325
  154. package/.proagents/reverse-engineering/code-analysis.md +0 -377
  155. package/.proagents/reverse-engineering/dependency-mapping.md +0 -567
  156. package/.proagents/reverse-engineering/diagram-generation.md +0 -586
  157. package/.proagents/reverse-engineering/documentation-generation.md +0 -468
  158. package/.proagents/reverse-engineering/pattern-detection.md +0 -569
  159. package/.proagents/reverse-engineering/quality-assessment.md +0 -733
  160. package/.proagents/secrets/README.md +0 -278
  161. package/.proagents/secrets/access-control.md +0 -443
  162. package/.proagents/secrets/rotation.md +0 -403
  163. package/.proagents/secrets/scanning.md +0 -487
  164. package/.proagents/secrets/storage.md +0 -394
  165. package/.proagents/webhooks/README.md +0 -126
  166. package/.proagents/webhooks/endpoints.md +0 -298
  167. package/.proagents/webhooks/events.md +0 -316
  168. package/.proagents/webhooks/payloads.md +0 -325
  169. package/.proagents/webhooks/reliability.md +0 -363
  170. package/.proagents/webhooks/security.md +0 -380
package/README.md CHANGED
@@ -4,8 +4,15 @@
4
4
 
5
5
  A portable, universal development workflow framework that works with **any AI platform** (Claude, ChatGPT, Gemini, Cursor, Copilot, etc.) and enables **multi-AI collaboration** on the same project.
6
6
 
7
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
7
  [![npm version](https://img.shields.io/npm/v/proagents.svg)](https://www.npmjs.com/package/proagents)
8
+ [![npm downloads](https://img.shields.io/npm/dm/proagents.svg)](https://www.npmjs.com/package/proagents)
9
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10
+
11
+ ---
12
+
13
+ ### 📚 [COMMANDS.md](COMMANDS.md) - Complete Command Reference (100+ Commands)
14
+
15
+ CLI commands, AI commands (pa:), workflow phases, debugging, testing, deployment, and more.
9
16
 
10
17
  ---
11
18
 
@@ -26,12 +33,6 @@ No install required. Just run:
26
33
  npx proagents init
27
34
  ```
28
35
 
29
- Or with a template:
30
-
31
- ```bash
32
- npx proagents init --template nextjs-saas
33
- ```
34
-
35
36
  ---
36
37
 
37
38
  ## Quick Start
@@ -80,52 +81,25 @@ Next: pa:test
80
81
 
81
82
  ## Features
82
83
 
83
- ### Multi-AI Collaboration & Cross-AI Continuity
84
+ ### Multi-AI Collaboration
84
85
 
85
86
  Multiple AIs can work on the same project with full context sharing:
86
87
 
87
88
  | Feature | Description |
88
89
  |---------|-------------|
89
- | **Auto Context Loading** | AI automatically loads context on first command |
90
- | **Auto Change Logging** | Every code change logged automatically |
91
- | **Feature Changelogs** | Per-feature change history |
92
- | **Module Changelogs** | Per-module change history |
93
- | **Conflict Detection** | Warns if files modified by other AI |
94
- | **Activity Log** | Track what each AI does with model name |
95
- | **Smart Context Summary** | Auto-generated 5-line summary at top of context |
96
- | **Context Changed Alert** | Warns if another AI worked since your last session |
97
- | **Test Status Tracking** | Auto-updates test status after every test run |
98
- | **Feature Progress** | Auto-calculates progress from tasks |
99
- | **AI Performance Stats** | Tracks sessions, tasks, reverts per AI platform |
100
- | **Quick Undo (pa:undo-last)** | Revert last AI's entire session changes |
101
- | **Auto-Archive Old Logs** | Automatically archives logs older than 7 days |
90
+ | **Auto Context Loading** | AI loads project context automatically on first command |
91
+ | **Auto Change Logging** | Every code change logged with AI model name |
92
+ | **Conflict Detection** | Warns if files were modified by another AI |
93
+ | **Feature Changelogs** | Per-feature and per-module change history |
94
+ | **Quick Undo** | `pa:undo-last` reverts last AI's entire session |
95
+ | **Activity Tracking** | Track what each AI does with timestamps |
96
+ | **Handoff Notes** | `pa:handoff` creates notes for next AI session |
97
+ | **Test Status Sync** | Auto-updates test status after every test run |
98
+ | **Progress Tracking** | Auto-calculates feature progress from tasks |
102
99
 
103
100
  ```bash
104
- # Just start working - context loads automatically!
105
101
  pa:feature "add login" # AI auto-loads context, then works
106
- pa:fix "bug in auth" # AI auto-loads context, then fixes
107
-
108
- # No manual pa:sync needed - it's automatic
109
- # No manual pa:session-end needed - changes logged automatically
110
-
111
- # Undo another AI's work if needed
112
- pa:undo-last # Revert last AI's entire session
113
- ```
114
-
115
- ### Project Templates
116
-
117
- Pre-configured settings for common stacks:
118
-
119
- ```bash
120
- npx proagents init --template nextjs-saas # Next.js SaaS
121
- npx proagents init --template react-spa # React SPA
122
- npx proagents init --template react-native-app # React Native
123
- npx proagents init --template express-api # Express API
124
- npx proagents init --template nestjs-api # NestJS API
125
- npx proagents init --template vue-spa # Vue.js SPA
126
- npx proagents init --template python-fastapi # Python FastAPI
127
-
128
- npx proagents init --list-templates # Show all templates
102
+ pa:undo-last # Revert last AI's changes if needed
129
103
  ```
130
104
 
131
105
  ### AI Learning & Feedback
@@ -163,7 +137,6 @@ ProAgents follows **"ALWAYS DO, NEVER JUST TELL"** principle:
163
137
  ```bash
164
138
  # Initialize
165
139
  npx proagents init # Initialize or update ProAgents
166
- npx proagents init --template <name> # Use a project template
167
140
 
168
141
  # Daily Use
169
142
  proagents status # Show ProAgents status
@@ -179,7 +152,7 @@ proagents release # Generate release notes
179
152
  proagents release --changelog # Update CHANGELOG.md
180
153
  ```
181
154
 
182
- Run `proagents commands` for the full list of CLI commands.
155
+ 📖 **Want more?** See [COMMANDS.md](COMMANDS.md) for 30+ CLI commands (release notes, stats, config, backups, shell completions...)
183
156
 
184
157
  ---
185
158
 
@@ -202,23 +175,7 @@ Type these in any AI assistant (Claude, ChatGPT, Gemini, Cursor, etc.):
202
175
 
203
176
  **Quick aliases:** `pa:f` (feature), `pa:s` (status), `pa:t` (test), `pa:h` (help)
204
177
 
205
- For the complete command reference (100+ commands), see **[COMMANDS.md](COMMANDS.md)**.
206
-
207
- ---
208
-
209
- ## Key Files
210
-
211
- After initialization, these files help AI understand your project:
212
-
213
- | File | Purpose | AI Should |
214
- |------|---------|-----------|
215
- | `.proagents/context.md` | Persistent project knowledge | **Read first every session!** |
216
- | `.proagents/feedback.md` | Past corrections & preferences | Learn from mistakes |
217
- | `.proagents/watchlist.yaml` | Protected files list | Ask before modifying |
218
- | `.proagents/activity.log` | AI activity history | Check for conflicts |
219
- | `.proagents/decisions.md` | Architectural decisions | Understand why choices were made |
220
- | `.proagents/errors.md` | Past errors & solutions | Find solutions faster |
221
- | `.proagents/handoff.md` | Handoff notes | Continue where another AI left off |
178
+ 📖 **Want more?** See [COMMANDS.md](COMMANDS.md) for 100+ AI commands (debugging, testing, refactoring, code generation, sprints...)
222
179
 
223
180
  ---
224
181
 
@@ -248,6 +205,7 @@ ProAgents works with **any AI that has agentic capability** (can read files and
248
205
 
249
206
  | Document | Description |
250
207
  |----------|-------------|
208
+ | 📚 **[COMMANDS.md](COMMANDS.md)** | **100+ CLI & AI commands** |
251
209
  | [Getting Started Story](./.proagents/GETTING-STARTED-STORY.md) | Narrative walkthrough |
252
210
  | [Complete Workflow](./.proagents/WORKFLOW.md) | 10-phase workflow guide |
253
211
  | [AI Instructions](./.proagents/AI_INSTRUCTIONS.md) | Full AI command reference |
package/bin/proagents.js CHANGED
@@ -42,8 +42,6 @@ program
42
42
  .description('Initialize ProAgents in the current project')
43
43
  .option('-f, --force', 'Overwrite existing proagents folder')
44
44
  .option('--skip-config', 'Skip creating config file')
45
- .option('-t, --template <name>', 'Use a project template (e.g., nextjs-saas, react-spa)')
46
- .option('--list-templates', 'List available project templates')
47
45
  .action(initCommand);
48
46
 
49
47
  // Feature commands
@@ -316,115 +316,6 @@ const PROJECT_TYPES = [
316
316
  }
317
317
  ];
318
318
 
319
- // Project templates - pre-configured settings for common stacks
320
- const PROJECT_TEMPLATES = {
321
- 'nextjs-saas': {
322
- name: 'Next.js SaaS Starter',
323
- description: 'Full-stack SaaS with authentication, database, and payments',
324
- project: { type: 'nextjs' },
325
- techStack: {
326
- api_style: 'rest',
327
- state_management: 'zustand',
328
- styling: 'tailwind',
329
- database: 'postgresql',
330
- orm: 'prisma',
331
- auth_method: 'nextauth',
332
- test_framework: 'vitest'
333
- },
334
- platforms: ['claude', 'cursor', 'copilot']
335
- },
336
- 'react-spa': {
337
- name: 'React Single Page App',
338
- description: 'Frontend-focused React application with modern tooling',
339
- project: { type: 'react' },
340
- techStack: {
341
- api_style: 'rest',
342
- state_management: 'zustand',
343
- styling: 'tailwind',
344
- database: 'none',
345
- orm: 'none',
346
- auth_method: 'jwt',
347
- test_framework: 'vitest'
348
- },
349
- platforms: ['claude', 'cursor']
350
- },
351
- 'react-native-app': {
352
- name: 'React Native Mobile App',
353
- description: 'Cross-platform mobile app with Expo',
354
- project: { type: 'react-native' },
355
- techStack: {
356
- api_style: 'rest',
357
- state_management: 'zustand',
358
- styling: 'tailwind',
359
- database: 'supabase',
360
- orm: 'none',
361
- auth_method: 'supabase',
362
- test_framework: 'jest'
363
- },
364
- platforms: ['claude', 'cursor']
365
- },
366
- 'express-api': {
367
- name: 'Express.js REST API',
368
- description: 'Backend API with Express, PostgreSQL, and JWT auth',
369
- project: { type: 'express' },
370
- techStack: {
371
- api_style: 'rest',
372
- state_management: 'none',
373
- styling: 'none',
374
- database: 'postgresql',
375
- orm: 'prisma',
376
- auth_method: 'jwt',
377
- test_framework: 'jest'
378
- },
379
- platforms: ['claude', 'cursor']
380
- },
381
- 'nestjs-api': {
382
- name: 'NestJS Enterprise API',
383
- description: 'Enterprise-grade API with NestJS and TypeORM',
384
- project: { type: 'nestjs' },
385
- techStack: {
386
- api_style: 'rest',
387
- state_management: 'none',
388
- styling: 'none',
389
- database: 'postgresql',
390
- orm: 'typeorm',
391
- auth_method: 'jwt',
392
- test_framework: 'jest'
393
- },
394
- platforms: ['claude', 'cursor']
395
- },
396
- 'vue-spa': {
397
- name: 'Vue.js Single Page App',
398
- description: 'Vue 3 with Composition API and Pinia',
399
- project: { type: 'vue' },
400
- techStack: {
401
- api_style: 'rest',
402
- state_management: 'none',
403
- styling: 'tailwind',
404
- database: 'none',
405
- orm: 'none',
406
- auth_method: 'jwt',
407
- test_framework: 'vitest'
408
- },
409
- platforms: ['claude', 'cursor']
410
- },
411
- 'python-fastapi': {
412
- name: 'Python FastAPI',
413
- description: 'Modern Python API with FastAPI and SQLAlchemy',
414
- project: { type: 'python' },
415
- techStack: {
416
- api_style: 'rest',
417
- state_management: 'none',
418
- styling: 'none',
419
- database: 'postgresql',
420
- orm: 'none',
421
- auth_method: 'jwt',
422
- test_framework: 'pytest'
423
- },
424
- platforms: ['claude', 'cursor']
425
- }
426
- };
427
-
428
319
  // Tech stack configuration options
429
320
  const TECH_STACK_OPTIONS = {
430
321
  api_style: {
@@ -963,41 +854,6 @@ async function promptProjectConfig(targetDir, existingConfig = {}) {
963
854
  };
964
855
  }
965
856
 
966
- /**
967
- * List available templates
968
- */
969
- export function listTemplates() {
970
- console.log(chalk.bold('\nAvailable Project Templates'));
971
- console.log(chalk.gray('─'.repeat(50)));
972
-
973
- for (const [id, template] of Object.entries(PROJECT_TEMPLATES)) {
974
- console.log(`\n ${chalk.cyan(id)}`);
975
- console.log(` ${template.name}`);
976
- console.log(chalk.gray(` ${template.description}`));
977
- }
978
-
979
- console.log(chalk.gray('\n\nUsage: npx proagents init --template <name>\n'));
980
- }
981
-
982
- /**
983
- * Apply a project template
984
- */
985
- function applyTemplate(templateId, targetDir) {
986
- const template = PROJECT_TEMPLATES[templateId];
987
- if (!template) {
988
- return null;
989
- }
990
-
991
- // Return config object that matches what promptProjectConfig returns
992
- return {
993
- name: basename(targetDir),
994
- type: template.project.type,
995
- typeName: PROJECT_TYPES.find(t => t.id === template.project.type)?.name || template.project.type,
996
- techStack: template.techStack,
997
- platforms: template.platforms
998
- };
999
- }
1000
-
1001
857
  /**
1002
858
  * Load existing partial config (for resume after interrupted setup)
1003
859
  */
@@ -1331,27 +1187,8 @@ No releases yet. Use \`pa:release\` to generate release notes.
1331
1187
  console.log(chalk.green('✓ Created RELEASE_NOTES.md'));
1332
1188
  }
1333
1189
 
1334
- // Project configuration - either from template or interactive prompt
1335
- let projectConfig;
1336
-
1337
- if (options.listTemplates) {
1338
- listTemplates();
1339
- return;
1340
- }
1341
-
1342
- if (options.template) {
1343
- // Use template
1344
- projectConfig = applyTemplate(options.template, targetDir);
1345
- if (!projectConfig) {
1346
- console.log(chalk.red(`\nError: Template "${options.template}" not found.`));
1347
- listTemplates();
1348
- return;
1349
- }
1350
- console.log(chalk.green(`\n✓ Using template: ${PROJECT_TEMPLATES[options.template].name}`));
1351
- } else {
1352
- // Interactive prompts - pass existing config for pre-filling
1353
- projectConfig = await promptProjectConfig(targetDir, existingConfig);
1354
- }
1190
+ // Project configuration - interactive prompts with auto-detection
1191
+ const projectConfig = await promptProjectConfig(targetDir, existingConfig);
1355
1192
 
1356
1193
  // Save progress after project config
1357
1194
  savePartialConfig(configPath, {
@@ -1394,15 +1231,8 @@ For detailed commands, see \`./.proagents/PROAGENTS.md\`
1394
1231
  console.log(chalk.green('✓ Created README.md with ProAgents commands'));
1395
1232
  }
1396
1233
 
1397
- // AI platform selection - from template or interactive
1398
- let selectedPlatforms;
1399
- if (options.template && projectConfig.platforms) {
1400
- selectedPlatforms = projectConfig.platforms;
1401
- console.log(chalk.gray(` Using template platforms: ${selectedPlatforms.join(', ')}`));
1402
- } else {
1403
- // Pass existing config for pre-selection
1404
- selectedPlatforms = await selectPlatforms(existingConfig.ai_platforms);
1405
- }
1234
+ // AI platform selection - interactive with auto-detection
1235
+ const selectedPlatforms = await selectPlatforms(existingConfig.ai_platforms);
1406
1236
 
1407
1237
  // Save progress after platform selection
1408
1238
  savePartialConfig(configPath, {
package/package.json CHANGED
@@ -1,21 +1,16 @@
1
1
  {
2
2
  "name": "proagents",
3
- "version": "1.6.16",
3
+ "version": "1.6.18",
4
4
  "description": "AI-agnostic development workflow framework that automates the full software development lifecycle",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "bin": {
8
- "proagents": "./bin/proagents.js"
8
+ "proagents": "bin/proagents.js"
9
9
  },
10
10
  "scripts": {
11
11
  "test": "echo \"No tests yet\" && exit 0",
12
12
  "lint": "echo \"No linting configured\" && exit 0"
13
13
  },
14
- "files": [
15
- "bin/",
16
- "lib/",
17
- ".proagents/"
18
- ],
19
14
  "keywords": [
20
15
  "ai",
21
16
  "workflow",
@@ -1,141 +0,0 @@
1
- # AI Model Selection & Management
2
-
3
- Configure and manage AI models for different tasks.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- ProAgents is AI-agnostic and supports multiple AI providers. Configure which models to use for different tasks to optimize cost, speed, and quality.
10
-
11
- ```
12
- ┌─────────────────────────────────────────────────────────────┐
13
- │ AI Model Architecture │
14
- ├─────────────────────────────────────────────────────────────┤
15
- │ │
16
- │ Task ──► Model Router ──► Selected Model ──► Response │
17
- │ │ │
18
- │ ├── Task Type Detection │
19
- │ ├── Cost Optimization │
20
- │ ├── Fallback Handling │
21
- │ └── Rate Limiting │
22
- │ │
23
- │ Supported Providers: │
24
- │ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
25
- │ │ Claude │ │ OpenAI │ │ Gemini │ │ Others │ │
26
- │ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │
27
- │ │
28
- └─────────────────────────────────────────────────────────────┘
29
- ```
30
-
31
- ---
32
-
33
- ## Quick Start
34
-
35
- ### Configure Default Model
36
-
37
- ```yaml
38
- # proagents.config.yaml
39
-
40
- ai:
41
- default_provider: "anthropic"
42
- default_model: "claude-3-sonnet"
43
- ```
44
-
45
- ### Use Different Models
46
-
47
- ```bash
48
- # Use specific model for a task
49
- proagents analyze --model claude-3-opus
50
-
51
- # Use fast model for quick tasks
52
- proagents quick "Fix typo" --model claude-3-haiku
53
- ```
54
-
55
- ---
56
-
57
- ## Supported Providers
58
-
59
- | Provider | Models | Best For |
60
- |----------|--------|----------|
61
- | **Anthropic** | Claude 3 Opus, Sonnet, Haiku | Code analysis, planning |
62
- | **OpenAI** | GPT-4, GPT-4 Turbo, GPT-3.5 | General tasks, docs |
63
- | **Google** | Gemini Pro, Gemini Ultra | Research, analysis |
64
- | **Cohere** | Command, Command Light | Summarization |
65
- | **Local** | Ollama, LM Studio | Privacy, offline |
66
-
67
- ---
68
-
69
- ## Documentation Files
70
-
71
- | File | Description |
72
- |------|-------------|
73
- | [model-config.md](./model-config.md) | Model configuration |
74
- | [task-routing.md](./task-routing.md) | Task-based model selection |
75
- | [cost-management.md](./cost-management.md) | Cost optimization |
76
- | [fallbacks.md](./fallbacks.md) | Fallback strategies |
77
-
78
- ---
79
-
80
- ## Configuration
81
-
82
- ```yaml
83
- # proagents.config.yaml
84
-
85
- ai:
86
- # Default settings
87
- default_provider: "anthropic"
88
- default_model: "claude-3-sonnet"
89
-
90
- # Provider configurations
91
- providers:
92
- anthropic:
93
- api_key: "${ANTHROPIC_API_KEY}"
94
- models:
95
- - claude-3-opus
96
- - claude-3-sonnet
97
- - claude-3-haiku
98
-
99
- openai:
100
- api_key: "${OPENAI_API_KEY}"
101
- models:
102
- - gpt-4-turbo
103
- - gpt-4
104
- - gpt-3.5-turbo
105
-
106
- google:
107
- api_key: "${GOOGLE_API_KEY}"
108
- models:
109
- - gemini-pro
110
- - gemini-ultra
111
-
112
- # Task-specific models
113
- task_routing:
114
- code_analysis: "claude-3-opus"
115
- code_generation: "claude-3-sonnet"
116
- quick_tasks: "claude-3-haiku"
117
- documentation: "gpt-4"
118
-
119
- # Cost management
120
- cost:
121
- daily_limit: 50.00
122
- alert_threshold: 40.00
123
- fallback_on_limit: true
124
-
125
- # Fallback chain
126
- fallback:
127
- primary: "claude-3-sonnet"
128
- secondary: "gpt-4"
129
- tertiary: "gemini-pro"
130
- ```
131
-
132
- ---
133
-
134
- ## Commands
135
-
136
- | Command | Description |
137
- |---------|-------------|
138
- | `proagents ai status` | Show AI configuration status |
139
- | `proagents ai models` | List available models |
140
- | `proagents ai usage` | Show usage and costs |
141
- | `proagents ai test` | Test model connectivity |