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,392 +0,0 @@
1
- # Rollout Strategies
2
-
3
- Strategies for safely releasing features to users.
4
-
5
- ---
6
-
7
- ## Strategy Types
8
-
9
- | Strategy | Risk Level | Use Case | Rollback Speed |
10
- |----------|------------|----------|----------------|
11
- | **Big Bang** | High | Low-risk changes | Instant |
12
- | **Percentage** | Medium | Most features | Instant |
13
- | **Canary** | Low | High-risk features | Instant |
14
- | **Ring-Based** | Low | Enterprise features | Instant |
15
- | **Geographic** | Medium | Regional features | Instant |
16
-
17
- ---
18
-
19
- ## Percentage-Based Rollout
20
-
21
- ### Configuration
22
-
23
- ```yaml
24
- feature_flags:
25
- strategies:
26
- percentage_rollout:
27
- flag: "new_checkout"
28
-
29
- phases:
30
- - name: "Initial"
31
- percentage: 1
32
- duration: "24h"
33
- success_criteria:
34
- error_rate: "< 0.5%"
35
- conversion_rate: ">= baseline"
36
-
37
- - name: "Early Adopters"
38
- percentage: 10
39
- duration: "48h"
40
- success_criteria:
41
- error_rate: "< 0.3%"
42
- nps_score: ">= baseline"
43
-
44
- - name: "Quarter"
45
- percentage: 25
46
- duration: "72h"
47
- success_criteria:
48
- error_rate: "< 0.2%"
49
-
50
- - name: "Half"
51
- percentage: 50
52
- duration: "1w"
53
- success_criteria:
54
- error_rate: "< 0.1%"
55
-
56
- - name: "Full"
57
- percentage: 100
58
- ```
59
-
60
- ### Sticky Assignment
61
-
62
- ```yaml
63
- feature_flags:
64
- strategies:
65
- percentage_rollout:
66
- flag: "new_ui"
67
-
68
- assignment:
69
- # Ensure same user gets same experience
70
- sticky: true
71
- seed: "new_ui_rollout"
72
-
73
- # Hash based on user ID
74
- hash_attribute: "user_id"
75
-
76
- # Fallback for anonymous users
77
- anonymous_handling: "session_based"
78
- ```
79
-
80
- ### Automatic Progression
81
-
82
- ```yaml
83
- feature_flags:
84
- strategies:
85
- percentage_rollout:
86
- flag: "new_feature"
87
-
88
- automation:
89
- # Auto-progress if criteria met
90
- auto_progress: true
91
-
92
- # Auto-rollback if issues
93
- auto_rollback:
94
- enabled: true
95
- conditions:
96
- - "error_rate > 1%"
97
- - "p99_latency > 3x_baseline"
98
- - "conversion_drop > 10%"
99
-
100
- # Notifications
101
- notify_on_progress: ["#releases"]
102
- notify_on_rollback: ["#incidents", "oncall"]
103
- ```
104
-
105
- ---
106
-
107
- ## Canary Releases
108
-
109
- ### Canary Configuration
110
-
111
- ```yaml
112
- feature_flags:
113
- strategies:
114
- canary:
115
- flag: "new_payment_processor"
116
-
117
- # Canary group selection
118
- canary_group:
119
- size: 100 # Fixed number of users
120
- selection: "random"
121
- sticky: true
122
-
123
- # Or percentage-based
124
- # percentage: 0.1
125
-
126
- # Success criteria
127
- monitoring:
128
- duration: "4h"
129
- metrics:
130
- - name: "error_rate"
131
- threshold: "< 0.1%"
132
- - name: "latency_p99"
133
- threshold: "< 500ms"
134
- - name: "success_rate"
135
- threshold: "> 99.9%"
136
-
137
- # Comparison
138
- comparison:
139
- baseline: "control_group"
140
- method: "statistical"
141
- confidence: 0.95
142
- ```
143
-
144
- ### Canary Analysis
145
-
146
- ```yaml
147
- feature_flags:
148
- strategies:
149
- canary:
150
- analysis:
151
- # Real-time analysis
152
- frequency: "5m"
153
-
154
- # Metrics to compare
155
- compare:
156
- - metric: "request_success_rate"
157
- weight: 0.4
158
- - metric: "latency_p95"
159
- weight: 0.3
160
- - metric: "error_count"
161
- weight: 0.3
162
-
163
- # Scoring
164
- scoring:
165
- pass: ">= 95"
166
- marginal: ">= 80"
167
- fail: "< 80"
168
-
169
- # Actions
170
- actions:
171
- on_pass: "promote"
172
- on_marginal: "hold"
173
- on_fail: "rollback"
174
- ```
175
-
176
- ---
177
-
178
- ## Ring-Based Deployment
179
-
180
- ### Ring Definition
181
-
182
- ```yaml
183
- feature_flags:
184
- strategies:
185
- ring_based:
186
- flag: "enterprise_feature"
187
-
188
- rings:
189
- - name: "Ring 0 - Internal"
190
- description: "Internal employees"
191
- targeting:
192
- attribute: "email"
193
- contains: "@company.com"
194
- wait_time: "24h"
195
-
196
- - name: "Ring 1 - Beta Users"
197
- description: "Opted-in beta testers"
198
- targeting:
199
- attribute: "beta_program"
200
- equals: true
201
- wait_time: "48h"
202
-
203
- - name: "Ring 2 - Early Adopters"
204
- description: "Power users, low-risk accounts"
205
- targeting:
206
- attribute: "account_tier"
207
- in: ["professional", "business"]
208
- percentage: 10
209
- wait_time: "1w"
210
-
211
- - name: "Ring 3 - General Availability"
212
- description: "All remaining users"
213
- targeting:
214
- all: true
215
- ```
216
-
217
- ### Ring Progression
218
-
219
- ```yaml
220
- feature_flags:
221
- strategies:
222
- ring_based:
223
- progression:
224
- # Manual vs automatic
225
- mode: "manual" # or "automatic"
226
-
227
- # Approval for each ring
228
- approvals:
229
- ring_2: ["tech-lead"]
230
- ring_3: ["tech-lead", "product-manager"]
231
-
232
- # Criteria to progress
233
- criteria:
234
- - "no_critical_bugs"
235
- - "positive_feedback > 80%"
236
- - "wait_time_elapsed"
237
- ```
238
-
239
- ---
240
-
241
- ## Geographic Rollout
242
-
243
- ### Region-Based Release
244
-
245
- ```yaml
246
- feature_flags:
247
- strategies:
248
- geographic:
249
- flag: "new_pricing"
250
-
251
- regions:
252
- - name: "pilot"
253
- countries: ["NZ"] # Start small
254
- percentage: 100
255
- start_date: "2024-01-15"
256
-
257
- - name: "apac"
258
- countries: ["AU", "SG", "JP"]
259
- percentage: 50
260
- start_date: "2024-01-22"
261
-
262
- - name: "europe"
263
- countries: ["UK", "DE", "FR"]
264
- percentage: 25
265
- start_date: "2024-02-01"
266
-
267
- - name: "americas"
268
- countries: ["US", "CA"]
269
- percentage: 10
270
- start_date: "2024-02-15"
271
-
272
- # Timezone considerations
273
- timezone_aware: true
274
- business_hours_only: false
275
- ```
276
-
277
- ### Regulatory Compliance
278
-
279
- ```yaml
280
- feature_flags:
281
- strategies:
282
- geographic:
283
- flag: "ai_features"
284
-
285
- # Compliance restrictions
286
- compliance:
287
- # GDPR regions
288
- gdpr:
289
- countries: ["EU"]
290
- requires:
291
- - "consent_captured"
292
- - "data_processing_agreement"
293
-
294
- # CCPA
295
- ccpa:
296
- regions: ["California"]
297
- requires:
298
- - "opt_out_available"
299
- ```
300
-
301
- ---
302
-
303
- ## Rollout Monitoring
304
-
305
- ### Metrics Dashboard
306
-
307
- ```yaml
308
- feature_flags:
309
- monitoring:
310
- dashboard:
311
- # Key metrics
312
- metrics:
313
- - name: "Rollout Progress"
314
- type: "gauge"
315
- source: "flag_percentage"
316
-
317
- - name: "Error Rate Comparison"
318
- type: "comparison"
319
- treatment: "new_feature_enabled"
320
- control: "new_feature_disabled"
321
-
322
- - name: "Performance Impact"
323
- type: "timeseries"
324
- metrics: ["latency_p50", "latency_p95", "latency_p99"]
325
-
326
- - name: "User Feedback"
327
- type: "sentiment"
328
- source: "support_tickets"
329
- ```
330
-
331
- ### Alerting
332
-
333
- ```yaml
334
- feature_flags:
335
- monitoring:
336
- alerts:
337
- - name: "High Error Rate"
338
- condition: "error_rate > baseline * 2"
339
- severity: "critical"
340
- action: "auto_rollback"
341
-
342
- - name: "Degraded Performance"
343
- condition: "latency_p95 > baseline * 1.5"
344
- severity: "warning"
345
- action: "pause_rollout"
346
-
347
- - name: "Negative Feedback Spike"
348
- condition: "negative_feedback > 10/hour"
349
- severity: "warning"
350
- action: "notify"
351
- ```
352
-
353
- ---
354
-
355
- ## Commands
356
-
357
- ```bash
358
- # Start rollout
359
- proagents rollout start new_checkout --strategy percentage
360
-
361
- # Progress to next phase
362
- proagents rollout progress new_checkout
363
-
364
- # Check rollout status
365
- proagents rollout status new_checkout
366
-
367
- # Pause rollout
368
- proagents rollout pause new_checkout
369
-
370
- # Resume rollout
371
- proagents rollout resume new_checkout
372
-
373
- # Rollback
374
- proagents rollout rollback new_checkout
375
-
376
- # View rollout history
377
- proagents rollout history new_checkout
378
-
379
- # Compare metrics
380
- proagents rollout compare new_checkout --metrics error_rate,latency
381
- ```
382
-
383
- ---
384
-
385
- ## Best Practices
386
-
387
- 1. **Start Small**: Begin with 1% or internal users
388
- 2. **Define Success**: Clear metrics before starting
389
- 3. **Monitor Closely**: Watch metrics during each phase
390
- 4. **Automate Rollback**: Set up automatic rollback triggers
391
- 5. **Document Progress**: Keep records of each phase
392
- 6. **Communicate**: Keep stakeholders informed of progress
@@ -1,12 +0,0 @@
1
- # ProAgents Command History
2
- # Format: [TIMESTAMP] [AI:MODEL] COMMAND → RESULT
3
- # Track which commands were executed and their outcomes
4
- #
5
- # Example:
6
- # 2024-03-06 15:10 [Claude:opus-4] pa:feature "user-auth" → Started
7
- # 2024-03-06 15:30 [Claude:opus-4] pa:feature "user-auth" → Completed
8
- # 2024-03-06 15:35 [Cursor:gpt-4o] pa:test → 15 passed, 2 failed
9
- # 2024-03-06 15:40 [Claude:sonnet-4] pa:fix "login bug" → Fixed
10
- #
11
- # --- Command History Start ---
12
-
@@ -1,133 +0,0 @@
1
- # Localization (i18n) Support
2
-
3
- Multi-language support for international development teams and applications.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- Integrate localization into your development workflow for seamless multi-language support.
10
-
11
- ```
12
- ┌─────────────────────────────────────────────────────────────┐
13
- │ i18n Workflow │
14
- ├─────────────────────────────────────────────────────────────┤
15
- │ │
16
- │ Development │
17
- │ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
18
- │ │ Code │──►│ Extract │──►│Translate│──►│ Deploy │ │
19
- │ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │
20
- │ │ │ │ │ │
21
- │ ▼ ▼ ▼ ▼ │
22
- │ Use t() keys Generate Send to TMS All languages │
23
- │ Mark strings JSON/YAML or translate ready │
24
- │ │
25
- │ Validation: Check coverage, missing keys, plurals │
26
- │ │
27
- └─────────────────────────────────────────────────────────────┘
28
- ```
29
-
30
- ---
31
-
32
- ## Quick Start
33
-
34
- ### Enable i18n
35
-
36
- ```yaml
37
- # proagents.config.yaml
38
-
39
- i18n:
40
- enabled: true
41
- source_language: "en"
42
- target_languages: ["es", "fr", "de", "ja", "zh"]
43
- ```
44
-
45
- ### Extract Strings
46
-
47
- ```bash
48
- # Extract translatable strings
49
- proagents i18n extract
50
-
51
- # Check translation coverage
52
- proagents i18n coverage
53
- ```
54
-
55
- ---
56
-
57
- ## Features
58
-
59
- | Feature | Description |
60
- |---------|-------------|
61
- | **String Extraction** | Auto-extract translatable strings |
62
- | **Coverage Reports** | Track translation completion |
63
- | **Missing Key Detection** | Find untranslated strings |
64
- | **Plural Validation** | Verify plural forms |
65
- | **TMS Integration** | Connect to translation services |
66
- | **CI/CD Checks** | Validate in pipeline |
67
-
68
- ---
69
-
70
- ## Documentation Files
71
-
72
- | File | Description |
73
- |------|-------------|
74
- | [extraction.md](./extraction.md) | String extraction setup |
75
- | [translation-workflow.md](./translation-workflow.md) | Translation process |
76
- | [tms-integration.md](./tms-integration.md) | Translation management systems |
77
- | [validation.md](./validation.md) | Quality checks |
78
-
79
- ---
80
-
81
- ## Configuration
82
-
83
- ```yaml
84
- # proagents.config.yaml
85
-
86
- i18n:
87
- enabled: true
88
-
89
- # Languages
90
- source_language: "en"
91
- target_languages: ["es", "fr", "de", "ja", "zh"]
92
-
93
- # File structure
94
- files:
95
- format: "json" # json, yaml, po
96
- directory: "src/locales"
97
- naming: "{{locale}}/{{namespace}}.json"
98
-
99
- # Extraction
100
- extraction:
101
- patterns:
102
- - "t('...')"
103
- - "i18n.t('...')"
104
- - "<Trans>...</Trans>"
105
- exclude:
106
- - "node_modules"
107
- - "**/*.test.ts"
108
-
109
- # Validation
110
- validation:
111
- missing_translations: "warning"
112
- unused_keys: "info"
113
- placeholder_mismatch: "error"
114
-
115
- # TMS Integration
116
- tms:
117
- provider: "crowdin" # crowdin, lokalise, phrase
118
- project_id: "my-project"
119
- auto_sync: true
120
- ```
121
-
122
- ---
123
-
124
- ## Commands
125
-
126
- | Command | Description |
127
- |---------|-------------|
128
- | `proagents i18n extract` | Extract strings from code |
129
- | `proagents i18n coverage` | Show translation coverage |
130
- | `proagents i18n validate` | Validate translations |
131
- | `proagents i18n sync` | Sync with TMS |
132
- | `proagents i18n add-key` | Add new translation key |
133
- | `proagents i18n missing` | List missing translations |