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
@@ -1,395 +0,0 @@
1
- # Cross-Project Dependencies
2
-
3
- Track and manage dependencies between projects in a workspace.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- Cross-project dependency tracking ensures changes are coordinated across related projects.
10
-
11
- ```
12
- ┌─────────────────────────────────────────────────────────────┐
13
- │ Dependency Graph │
14
- ├─────────────────────────────────────────────────────────────┤
15
- │ │
16
- │ shared-utils ◄────────────────────────────────────────┐ │
17
- │ │ │ │
18
- │ ▼ │ │
19
- │ shared-ui ◄─────────────────────────────────────┐ │ │
20
- │ │ │ │ │
21
- │ ├─────────────► web-app │ │ │
22
- │ │ │ │ │ │
23
- │ │ ▼ │ │ │
24
- │ │ api-gateway ◄───────────────┼────┘ │
25
- │ │ │ │ │
26
- │ ├─────────────► mobile-ios ◄───────────────┘ │
27
- │ │ │
28
- │ └─────────────► mobile-android ◄────────────────────┘
29
- │ │
30
- └─────────────────────────────────────────────────────────────┘
31
- ```
32
-
33
- ---
34
-
35
- ## Dependency Declaration
36
-
37
- ### In Workspace Config
38
-
39
- ```yaml
40
- # proagents.workspace.yaml
41
-
42
- workspace:
43
- projects:
44
- - name: web-app
45
- dependencies:
46
- - shared-ui
47
- - api-gateway # Runtime dependency
48
-
49
- - name: api-gateway
50
- dependencies:
51
- - shared-utils
52
-
53
- - name: mobile-ios
54
- dependencies:
55
- - shared-ui
56
- - api-gateway
57
-
58
- - name: shared-ui
59
- dependencies:
60
- - shared-utils
61
-
62
- - name: shared-utils
63
- dependencies: [] # No dependencies
64
- ```
65
-
66
- ### In Project Config
67
-
68
- ```yaml
69
- # apps/web/.proagents/proagents.config.yaml
70
-
71
- project:
72
- name: web-app
73
-
74
- dependencies:
75
- internal:
76
- - name: shared-ui
77
- type: build # Build-time dependency
78
- version: "^1.0"
79
-
80
- - name: api-gateway
81
- type: runtime # Runtime dependency (API contract)
82
- contract: ./api-contract.yaml
83
-
84
- external:
85
- - name: react
86
- type: package
87
- version: "^18.0"
88
- ```
89
-
90
- ---
91
-
92
- ## Dependency Types
93
-
94
- | Type | Description | Impact |
95
- |------|-------------|--------|
96
- | **Build** | Required at build time | Blocks build if unavailable |
97
- | **Runtime** | Required at runtime | Blocks deploy if incompatible |
98
- | **Development** | Required for development | No deployment impact |
99
- | **Optional** | Nice to have | Graceful degradation |
100
-
101
- ### Build Dependencies
102
-
103
- ```yaml
104
- dependencies:
105
- - name: shared-ui
106
- type: build
107
- reason: "UI components used in app"
108
- import_from: "@company/shared-ui"
109
- ```
110
-
111
- ### Runtime Dependencies
112
-
113
- ```yaml
114
- dependencies:
115
- - name: api-gateway
116
- type: runtime
117
- reason: "API calls at runtime"
118
- contract:
119
- file: ./api-contract.yaml
120
- version_check: true
121
- ```
122
-
123
- ### API Contracts
124
-
125
- ```yaml
126
- # api-contract.yaml
127
-
128
- api:
129
- name: api-gateway
130
- version: "2.0"
131
-
132
- endpoints:
133
- - path: /users
134
- methods: [GET, POST]
135
- version_added: "1.0"
136
-
137
- - path: /users/:id
138
- methods: [GET, PUT, DELETE]
139
- version_added: "1.0"
140
-
141
- breaking_changes:
142
- - version: "2.0"
143
- change: "Renamed /user to /users"
144
- migration: "Update all /user calls to /users"
145
- ```
146
-
147
- ---
148
-
149
- ## Dependency Analysis
150
-
151
- ### View Dependencies
152
-
153
- ```bash
154
- # Show dependency graph
155
- proagents workspace deps
156
-
157
- # Output:
158
- ┌─────────────────────────────────────────────────────────────┐
159
- │ Workspace Dependencies │
160
- ├─────────────────────────────────────────────────────────────┤
161
- │ │
162
- │ shared-utils (0 dependencies) │
163
- │ └── Used by: shared-ui, api-gateway │
164
- │ │
165
- │ shared-ui (1 dependency) │
166
- │ ├── Depends on: shared-utils │
167
- │ └── Used by: web-app, mobile-ios, mobile-android │
168
- │ │
169
- │ api-gateway (1 dependency) │
170
- │ ├── Depends on: shared-utils │
171
- │ └── Used by: web-app, mobile-ios, mobile-android │
172
- │ │
173
- │ web-app (2 dependencies) │
174
- │ ├── Depends on: shared-ui, api-gateway │
175
- │ └── Used by: (none) │
176
- │ │
177
- └─────────────────────────────────────────────────────────────┘
178
- ```
179
-
180
- ### Visualize Dependencies
181
-
182
- ```bash
183
- # Generate visual graph
184
- proagents workspace deps --graph
185
-
186
- # Export as image
187
- proagents workspace deps --graph --output deps.png
188
- ```
189
-
190
- ### Check for Issues
191
-
192
- ```bash
193
- # Check for circular dependencies
194
- proagents workspace deps --check
195
-
196
- # Check for version conflicts
197
- proagents workspace deps --check-versions
198
-
199
- # Output:
200
- ✅ No circular dependencies
201
- ⚠️ Version conflict: shared-utils
202
- - web-app requires: ^1.2.0
203
- - mobile-ios requires: ^1.1.0
204
- Recommendation: Update mobile-ios to use ^1.2.0
205
- ```
206
-
207
- ---
208
-
209
- ## Impact Analysis
210
-
211
- ### Change Impact
212
-
213
- When modifying a project, understand the impact:
214
-
215
- ```bash
216
- # Analyze impact of changes to shared-ui
217
- proagents workspace impact --project shared-ui
218
-
219
- # Output:
220
- ┌─────────────────────────────────────────────────────────────┐
221
- │ Impact Analysis: shared-ui │
222
- ├─────────────────────────────────────────────────────────────┤
223
- │ │
224
- │ Direct Dependents (3): │
225
- │ ├── web-app (build dependency) │
226
- │ ├── mobile-ios (build dependency) │
227
- │ └── mobile-android (build dependency) │
228
- │ │
229
- │ Impact Summary: │
230
- │ • 3 projects need rebuild │
231
- │ • 3 test suites should run │
232
- │ • 3 deployments may be needed │
233
- │ │
234
- │ Recommended Actions: │
235
- │ 1. Run tests in: web-app, mobile-ios, mobile-android │
236
- │ 2. Update version in dependents │
237
- │ 3. Coordinate deployment order │
238
- │ │
239
- └─────────────────────────────────────────────────────────────┘
240
- ```
241
-
242
- ### Breaking Change Detection
243
-
244
- ```bash
245
- # Check if changes are breaking
246
- proagents workspace breaking-changes --project api-gateway
247
-
248
- # Output:
249
- ⚠️ Breaking Changes Detected:
250
-
251
- 1. Endpoint removed: GET /users/legacy
252
- Affected: web-app (2 calls), mobile-ios (1 call)
253
-
254
- 2. Response schema changed: GET /users/:id
255
- Field removed: 'legacyField'
256
- Affected: web-app, mobile-ios, mobile-android
257
-
258
- Recommendations:
259
- - Deprecate endpoint before removing
260
- - Provide migration path for schema changes
261
- - Coordinate with dependent teams
262
- ```
263
-
264
- ---
265
-
266
- ## Dependency Synchronization
267
-
268
- ### Version Synchronization
269
-
270
- ```bash
271
- # Sync all project versions
272
- proagents workspace sync-versions
273
-
274
- # Sync specific dependency
275
- proagents workspace sync-versions --package shared-ui
276
- ```
277
-
278
- ### Lock File Management
279
-
280
- ```yaml
281
- # .proagents/workspace-lock.yaml
282
-
283
- locked_versions:
284
- shared-utils: "1.2.3"
285
- shared-ui: "2.0.1"
286
-
287
- external:
288
- react: "18.2.0"
289
- typescript: "5.0.0"
290
- ```
291
-
292
- ### Automatic Updates
293
-
294
- ```yaml
295
- workspace:
296
- dependency_management:
297
- auto_update:
298
- internal: true # Auto-update internal dependencies
299
- external: false # Manual external updates
300
-
301
- update_strategy:
302
- internal: "latest"
303
- external: "minor" # Only minor/patch updates
304
- ```
305
-
306
- ---
307
-
308
- ## Notifications
309
-
310
- ### Dependency Change Notifications
311
-
312
- ```yaml
313
- workspace:
314
- notifications:
315
- dependency_changes:
316
- enabled: true
317
- channels:
318
- - slack: "#platform"
319
-
320
- notify_on:
321
- - breaking_changes
322
- - version_updates
323
- - new_dependencies
324
- ```
325
-
326
- ### Example Notification
327
-
328
- ```
329
- 🔔 Dependency Update: shared-ui v2.0.1
330
-
331
- Changes:
332
- • New: Button loading state prop
333
- • Fixed: Modal accessibility issues
334
-
335
- Affected Projects:
336
- • web-app - needs update
337
- • mobile-ios - needs update
338
- • mobile-android - needs update
339
-
340
- Action Required: Update imports in affected projects
341
- ```
342
-
343
- ---
344
-
345
- ## CI/CD Integration
346
-
347
- ### Dependency-Aware CI
348
-
349
- ```yaml
350
- # .github/workflows/ci.yml
351
-
352
- on:
353
- push:
354
- paths:
355
- - 'packages/shared-ui/**'
356
-
357
- jobs:
358
- test-dependents:
359
- runs-on: ubuntu-latest
360
- steps:
361
- - uses: actions/checkout@v3
362
-
363
- - name: Get affected projects
364
- id: affected
365
- run: |
366
- proagents workspace impact --project shared-ui --json > affected.json
367
-
368
- - name: Test affected projects
369
- run: |
370
- proagents workspace test --projects $(cat affected.json | jq -r '.dependents[]')
371
- ```
372
-
373
- ### Coordinated Builds
374
-
375
- ```bash
376
- # Build in dependency order
377
- proagents workspace build --ordered
378
-
379
- # Build order:
380
- # 1. shared-utils
381
- # 2. shared-ui (depends on shared-utils)
382
- # 3. api-gateway (depends on shared-utils)
383
- # 4. web-app, mobile-ios, mobile-android (parallel)
384
- ```
385
-
386
- ---
387
-
388
- ## Best Practices
389
-
390
- 1. **Minimize Dependencies**: Keep dependency graph shallow
391
- 2. **Version Everything**: Use semantic versioning
392
- 3. **Document Contracts**: Define API contracts explicitly
393
- 4. **Test Thoroughly**: Test dependents when changing shared code
394
- 5. **Communicate Changes**: Notify teams of breaking changes
395
- 6. **Automate Detection**: Use CI to detect dependency issues