proagents 1.6.17 → 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 (168) hide show
  1. package/.claude/settings.local.json +169 -0
  2. package/COMMANDS.md +595 -0
  3. package/README.md +13 -23
  4. package/package.json +2 -7
  5. package/.proagents/ai-models/README.md +0 -141
  6. package/.proagents/ai-models/cost-management.md +0 -362
  7. package/.proagents/ai-models/fallbacks.md +0 -342
  8. package/.proagents/ai-models/model-config.md +0 -318
  9. package/.proagents/ai-models/task-routing.md +0 -503
  10. package/.proagents/ai-training/README.md +0 -155
  11. package/.proagents/ai-training/continuous-learning.md +0 -413
  12. package/.proagents/ai-training/domain-knowledge.md +0 -378
  13. package/.proagents/ai-training/pattern-learning.md +0 -455
  14. package/.proagents/ai-training/training-data.md +0 -337
  15. package/.proagents/ai-training/user-preferences.md +0 -346
  16. package/.proagents/approval-workflows/README.md +0 -146
  17. package/.proagents/approval-workflows/approval-config.md +0 -332
  18. package/.proagents/approval-workflows/approval-stages.md +0 -503
  19. package/.proagents/approval-workflows/emergency-bypass.md +0 -351
  20. package/.proagents/approval-workflows/examples.md +0 -859
  21. package/.proagents/approval-workflows/notifications.md +0 -320
  22. package/.proagents/compliance/README.md +0 -206
  23. package/.proagents/compliance/access-control.md +0 -310
  24. package/.proagents/compliance/audit-logging.md +0 -444
  25. package/.proagents/compliance/compliance-frameworks.md +0 -429
  26. package/.proagents/compliance/reports.md +0 -491
  27. package/.proagents/compliance/retention-policies.md +0 -454
  28. package/.proagents/config-versioning/README.md +0 -120
  29. package/.proagents/config-versioning/changelog.md +0 -300
  30. package/.proagents/config-versioning/rollback.md +0 -283
  31. package/.proagents/config-versioning/versioning.md +0 -330
  32. package/.proagents/contract-testing/README.md +0 -223
  33. package/.proagents/contract-testing/contract-testing.md +0 -614
  34. package/.proagents/contract-testing/pact-integration.md +0 -507
  35. package/.proagents/contract-testing/schema-validation.md +0 -565
  36. package/.proagents/dependency-management/README.md +0 -140
  37. package/.proagents/dependency-management/automation.md +0 -363
  38. package/.proagents/dependency-management/compatibility.md +0 -319
  39. package/.proagents/dependency-management/security-scanning.md +0 -413
  40. package/.proagents/dependency-management/update-policies.md +0 -374
  41. package/.proagents/disaster-recovery/README.md +0 -247
  42. package/.proagents/disaster-recovery/automation.md +0 -366
  43. package/.proagents/disaster-recovery/backup-recovery.md +0 -571
  44. package/.proagents/disaster-recovery/incident-response.md +0 -565
  45. package/.proagents/disaster-recovery/rollback-procedures.md +0 -499
  46. package/.proagents/disaster-recovery/runbooks.md +0 -603
  47. package/.proagents/disaster-recovery/scenarios.md +0 -892
  48. package/.proagents/disaster-recovery/testing.md +0 -438
  49. package/.proagents/environments/README.md +0 -244
  50. package/.proagents/environments/configuration.md +0 -437
  51. package/.proagents/environments/promotion.md +0 -434
  52. package/.proagents/environments/setup.md +0 -420
  53. package/.proagents/examples/README.md +0 -55
  54. package/.proagents/examples/backend-nodejs/README.md +0 -188
  55. package/.proagents/examples/backend-nodejs/complete-conversation.md +0 -601
  56. package/.proagents/examples/backend-nodejs/proagents.config.yaml +0 -415
  57. package/.proagents/examples/backend-nodejs/workflow-example.md +0 -909
  58. package/.proagents/examples/fullstack-nextjs/README.md +0 -155
  59. package/.proagents/examples/fullstack-nextjs/complete-conversation.md +0 -604
  60. package/.proagents/examples/fullstack-nextjs/proagents.config.yaml +0 -287
  61. package/.proagents/examples/fullstack-nextjs/workflow-example.md +0 -553
  62. package/.proagents/examples/mobile-react-native/README.md +0 -171
  63. package/.proagents/examples/mobile-react-native/complete-conversation.md +0 -825
  64. package/.proagents/examples/mobile-react-native/proagents.config.yaml +0 -330
  65. package/.proagents/examples/mobile-react-native/workflow-example.md +0 -723
  66. package/.proagents/examples/web-frontend-react/README.md +0 -125
  67. package/.proagents/examples/web-frontend-react/complete-conversation.md +0 -556
  68. package/.proagents/examples/web-frontend-react/proagents.config.yaml +0 -183
  69. package/.proagents/examples/web-frontend-react/workflow-example.md +0 -603
  70. package/.proagents/existing-projects/README.md +0 -65
  71. package/.proagents/existing-projects/challenges.md +0 -861
  72. package/.proagents/existing-projects/coexistence-mode.md +0 -483
  73. package/.proagents/existing-projects/compatibility-assessment.md +0 -541
  74. package/.proagents/existing-projects/gradual-adoption.md +0 -515
  75. package/.proagents/existing-projects/migration-strategies.md +0 -788
  76. package/.proagents/existing-projects/pattern-reconciliation.md +0 -489
  77. package/.proagents/existing-projects/team-onboarding.md +0 -617
  78. package/.proagents/existing-projects/technical-debt-handling.md +0 -644
  79. package/.proagents/feature-flags/README.md +0 -263
  80. package/.proagents/feature-flags/ab-testing.md +0 -413
  81. package/.proagents/feature-flags/configuration.md +0 -420
  82. package/.proagents/feature-flags/kill-switches.md +0 -444
  83. package/.proagents/feature-flags/rollout-strategies.md +0 -392
  84. package/.proagents/history.log +0 -12
  85. package/.proagents/i18n/README.md +0 -133
  86. package/.proagents/i18n/extraction.md +0 -433
  87. package/.proagents/i18n/tms-integration.md +0 -332
  88. package/.proagents/i18n/translation-workflow.md +0 -413
  89. package/.proagents/i18n/validation.md +0 -355
  90. package/.proagents/logging/README.md +0 -276
  91. package/.proagents/logging/aggregation.md +0 -475
  92. package/.proagents/logging/log-levels.md +0 -376
  93. package/.proagents/logging/sensitive-data.md +0 -423
  94. package/.proagents/logging/structured-logging.md +0 -406
  95. package/.proagents/metrics/README.md +0 -69
  96. package/.proagents/metrics/code-quality-kpis.md +0 -461
  97. package/.proagents/metrics/deployment-metrics.md +0 -517
  98. package/.proagents/metrics/developer-productivity.md +0 -368
  99. package/.proagents/metrics/learning-effectiveness.md +0 -478
  100. package/.proagents/migrations/README.md +0 -77
  101. package/.proagents/migrations/from-claude-projects.md +0 -313
  102. package/.proagents/migrations/from-cursor-rules.md +0 -345
  103. package/.proagents/migrations/from-custom-workflows.md +0 -410
  104. package/.proagents/monitoring/README.md +0 -308
  105. package/.proagents/monitoring/alerting.md +0 -449
  106. package/.proagents/monitoring/dashboards.md +0 -454
  107. package/.proagents/monitoring/health-checks.md +0 -436
  108. package/.proagents/monitoring/metrics.md +0 -434
  109. package/.proagents/multi-project/README.md +0 -170
  110. package/.proagents/multi-project/coordinated-deploy.md +0 -510
  111. package/.proagents/multi-project/cross-project-deps.md +0 -395
  112. package/.proagents/multi-project/unified-changelog.md +0 -477
  113. package/.proagents/multi-project/walkthroughs/monorepo-setup.md +0 -787
  114. package/.proagents/multi-project/workspace-config.md +0 -408
  115. package/.proagents/notifications/README.md +0 -151
  116. package/.proagents/notifications/channels.md +0 -457
  117. package/.proagents/notifications/preferences.md +0 -415
  118. package/.proagents/notifications/routing.md +0 -449
  119. package/.proagents/notifications/scheduling.md +0 -425
  120. package/.proagents/notifications/templates.md +0 -446
  121. package/.proagents/offline-mode/README.md +0 -145
  122. package/.proagents/offline-mode/caching.md +0 -344
  123. package/.proagents/offline-mode/offline-operations.md +0 -312
  124. package/.proagents/offline-mode/queue-specifications.md +0 -679
  125. package/.proagents/offline-mode/sync.md +0 -475
  126. package/.proagents/parallel-features/README.md +0 -85
  127. package/.proagents/parallel-features/conflict-detection.md +0 -226
  128. package/.proagents/parallel-features/dependency-management.md +0 -392
  129. package/.proagents/parallel-features/merge-coordination.md +0 -506
  130. package/.proagents/parallel-features/tracking-system.md +0 -416
  131. package/.proagents/performance/README.md +0 -59
  132. package/.proagents/performance/bundle-analysis.md +0 -375
  133. package/.proagents/performance/load-testing.md +0 -563
  134. package/.proagents/performance/runtime-metrics.md +0 -489
  135. package/.proagents/performance/web-vitals.md +0 -425
  136. package/.proagents/plugins/README.md +0 -139
  137. package/.proagents/plugins/creating-plugins.md +0 -504
  138. package/.proagents/plugins/plugin-api.md +0 -467
  139. package/.proagents/plugins/plugin-registry.md +0 -276
  140. package/.proagents/reporting/README.md +0 -158
  141. package/.proagents/reporting/dashboards.md +0 -366
  142. package/.proagents/reporting/exports.md +0 -524
  143. package/.proagents/reporting/quality-metrics.md +0 -385
  144. package/.proagents/reporting/templates/README.md +0 -56
  145. package/.proagents/reporting/templates/dashboard-config.json +0 -187
  146. package/.proagents/reporting/templates/metrics-queries.md +0 -427
  147. package/.proagents/reporting/templates/react-dashboard.tsx +0 -544
  148. package/.proagents/reporting/templates/widgets.md +0 -451
  149. package/.proagents/reporting/velocity-metrics.md +0 -340
  150. package/.proagents/reverse-engineering/README.md +0 -151
  151. package/.proagents/reverse-engineering/architecture-extraction.md +0 -325
  152. package/.proagents/reverse-engineering/code-analysis.md +0 -377
  153. package/.proagents/reverse-engineering/dependency-mapping.md +0 -567
  154. package/.proagents/reverse-engineering/diagram-generation.md +0 -586
  155. package/.proagents/reverse-engineering/documentation-generation.md +0 -468
  156. package/.proagents/reverse-engineering/pattern-detection.md +0 -569
  157. package/.proagents/reverse-engineering/quality-assessment.md +0 -733
  158. package/.proagents/secrets/README.md +0 -278
  159. package/.proagents/secrets/access-control.md +0 -443
  160. package/.proagents/secrets/rotation.md +0 -403
  161. package/.proagents/secrets/scanning.md +0 -487
  162. package/.proagents/secrets/storage.md +0 -394
  163. package/.proagents/webhooks/README.md +0 -126
  164. package/.proagents/webhooks/endpoints.md +0 -298
  165. package/.proagents/webhooks/events.md +0 -316
  166. package/.proagents/webhooks/payloads.md +0 -325
  167. package/.proagents/webhooks/reliability.md +0 -363
  168. package/.proagents/webhooks/security.md +0 -380
@@ -1,586 +0,0 @@
1
- # Diagram Generation
2
-
3
- Generate visual diagrams from existing code automatically.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- Transform code into visual representations for:
10
- - Architecture understanding
11
- - Documentation
12
- - Team communication
13
- - Onboarding
14
-
15
- ---
16
-
17
- ## Diagram Types
18
-
19
- ### 1. Component Hierarchy Diagram
20
-
21
- Visualize React/Vue/Angular component relationships.
22
-
23
- ```mermaid
24
- graph TB
25
- subgraph Pages
26
- Dashboard[Dashboard Page]
27
- Profile[Profile Page]
28
- Settings[Settings Page]
29
- end
30
-
31
- subgraph Layout
32
- AppLayout[App Layout]
33
- Sidebar[Sidebar]
34
- Header[Header]
35
- end
36
-
37
- subgraph Shared
38
- Button[Button]
39
- Modal[Modal]
40
- Card[Card]
41
- end
42
-
43
- Dashboard --> AppLayout
44
- Dashboard --> Card
45
- Dashboard --> Button
46
-
47
- Profile --> AppLayout
48
- Profile --> Card
49
- Profile --> Modal
50
-
51
- AppLayout --> Sidebar
52
- AppLayout --> Header
53
- ```
54
-
55
- **Generated From:**
56
- ```yaml
57
- component_scan:
58
- entry: "src/pages/Dashboard.tsx"
59
-
60
- detected_hierarchy:
61
- Dashboard:
62
- imports:
63
- - AppLayout
64
- - Card
65
- - Button
66
- children:
67
- - StatsWidget
68
- - ActivityFeed
69
- - QuickActions
70
- ```
71
-
72
- ---
73
-
74
- ### 2. Module Dependency Diagram
75
-
76
- Show how modules depend on each other.
77
-
78
- ```mermaid
79
- graph LR
80
- subgraph Core
81
- Auth[Auth Module]
82
- User[User Module]
83
- API[API Module]
84
- end
85
-
86
- subgraph Features
87
- Dashboard[Dashboard]
88
- Settings[Settings]
89
- Notifications[Notifications]
90
- end
91
-
92
- subgraph Shared
93
- Utils[Utils]
94
- Types[Types]
95
- UI[UI Components]
96
- end
97
-
98
- Dashboard --> Auth
99
- Dashboard --> User
100
- Dashboard --> API
101
- Dashboard --> UI
102
-
103
- Settings --> User
104
- Settings --> UI
105
-
106
- Auth --> API
107
- Auth --> Utils
108
-
109
- User --> API
110
- User --> Types
111
-
112
- Notifications --> User
113
- Notifications --> API
114
- ```
115
-
116
- ---
117
-
118
- ### 3. Data Flow Diagram
119
-
120
- Visualize how data moves through the application.
121
-
122
- ```mermaid
123
- flowchart LR
124
- subgraph UI
125
- Component[React Component]
126
- Form[Form Input]
127
- end
128
-
129
- subgraph State
130
- Hook[Custom Hook]
131
- Store[Zustand Store]
132
- Query[React Query]
133
- end
134
-
135
- subgraph API
136
- Service[API Service]
137
- Endpoint[REST Endpoint]
138
- end
139
-
140
- subgraph Backend
141
- Handler[Route Handler]
142
- DB[(Database)]
143
- end
144
-
145
- Form -->|user input| Component
146
- Component -->|calls| Hook
147
- Hook -->|uses| Query
148
- Query -->|fetches via| Service
149
- Service -->|HTTP| Endpoint
150
- Endpoint -->|Next.js| Handler
151
- Handler -->|Prisma| DB
152
-
153
- DB -->|data| Handler
154
- Handler -->|JSON| Endpoint
155
- Endpoint -->|response| Service
156
- Service -->|cache| Query
157
- Query -->|data| Hook
158
- Hook -->|render| Component
159
- ```
160
-
161
- ---
162
-
163
- ### 4. Database Schema Diagram
164
-
165
- Generate ER diagrams from Prisma/TypeORM/Sequelize schemas.
166
-
167
- ```mermaid
168
- erDiagram
169
- User ||--o{ Post : writes
170
- User ||--|| Profile : has
171
- User ||--o{ Comment : writes
172
- Post ||--o{ Comment : has
173
- Post }o--o{ Category : belongs_to
174
-
175
- User {
176
- string id PK
177
- string email UK
178
- string password
179
- string name
180
- datetime createdAt
181
- }
182
-
183
- Post {
184
- string id PK
185
- string title
186
- text content
187
- boolean published
188
- string authorId FK
189
- datetime createdAt
190
- }
191
-
192
- Profile {
193
- string id PK
194
- string bio
195
- string avatar
196
- string userId FK
197
- }
198
-
199
- Comment {
200
- string id PK
201
- text content
202
- string authorId FK
203
- string postId FK
204
- datetime createdAt
205
- }
206
-
207
- Category {
208
- string id PK
209
- string name UK
210
- string slug UK
211
- }
212
- ```
213
-
214
- **Generated From:**
215
- ```prisma
216
- model User {
217
- id String @id @default(cuid())
218
- email String @unique
219
- password String
220
- name String?
221
- posts Post[]
222
- profile Profile?
223
- comments Comment[]
224
- createdAt DateTime @default(now())
225
- }
226
-
227
- model Post {
228
- id String @id @default(cuid())
229
- title String
230
- content String?
231
- published Boolean @default(false)
232
- author User @relation(fields: [authorId], references: [id])
233
- authorId String
234
- comments Comment[]
235
- categories Category[]
236
- createdAt DateTime @default(now())
237
- }
238
- ```
239
-
240
- ---
241
-
242
- ### 5. API Route Diagram
243
-
244
- Visualize all API endpoints.
245
-
246
- ```mermaid
247
- graph TB
248
- subgraph API["/api"]
249
- subgraph Auth["/auth"]
250
- Login[POST /login]
251
- Register[POST /register]
252
- Logout[POST /logout]
253
- Refresh[POST /refresh]
254
- end
255
-
256
- subgraph Users["/users"]
257
- ListUsers[GET /]
258
- GetUser[GET /:id]
259
- CreateUser[POST /]
260
- UpdateUser[PUT /:id]
261
- DeleteUser[DELETE /:id]
262
- UserPosts[GET /:id/posts]
263
- end
264
-
265
- subgraph Posts["/posts"]
266
- ListPosts[GET /]
267
- GetPost[GET /:id]
268
- CreatePost[POST /]
269
- UpdatePost[PUT /:id]
270
- DeletePost[DELETE /:id]
271
- PostComments[GET /:id/comments]
272
- end
273
- end
274
-
275
- style Login fill:#90EE90
276
- style Register fill:#90EE90
277
- style Logout fill:#FFB6C1
278
- style CreateUser fill:#90EE90
279
- style UpdateUser fill:#87CEEB
280
- style DeleteUser fill:#FFB6C1
281
- ```
282
-
283
- ---
284
-
285
- ### 6. State Management Diagram
286
-
287
- Visualize application state structure.
288
-
289
- ```mermaid
290
- stateDiagram-v2
291
- [*] --> Unauthenticated
292
-
293
- Unauthenticated --> Authenticating: login()
294
- Authenticating --> Authenticated: success
295
- Authenticating --> Unauthenticated: failure
296
- Authenticated --> Unauthenticated: logout()
297
-
298
- state Authenticated {
299
- [*] --> Idle
300
- Idle --> Loading: fetchData()
301
- Loading --> Success: data received
302
- Loading --> Error: request failed
303
- Error --> Loading: retry()
304
- Success --> Idle: reset()
305
- }
306
- ```
307
-
308
- **Store Visualization:**
309
- ```mermaid
310
- graph TB
311
- subgraph GlobalState[Global State - Zustand]
312
- AuthStore[Auth Store]
313
- UIStore[UI Store]
314
- UserStore[User Store]
315
- end
316
-
317
- subgraph ServerState[Server State - React Query]
318
- UsersQuery[Users Query]
319
- PostsQuery[Posts Query]
320
- CommentsQuery[Comments Query]
321
- end
322
-
323
- subgraph LocalState[Local State - useState]
324
- FormState[Form State]
325
- ModalState[Modal State]
326
- FilterState[Filter State]
327
- end
328
-
329
- AuthStore --> UsersQuery
330
- UserStore --> PostsQuery
331
- PostsQuery --> CommentsQuery
332
- ```
333
-
334
- ---
335
-
336
- ### 7. Sequence Diagram
337
-
338
- Show interaction flow for specific features.
339
-
340
- ```mermaid
341
- sequenceDiagram
342
- participant U as User
343
- participant C as Component
344
- participant H as useAuth Hook
345
- participant S as AuthService
346
- participant A as API
347
- participant D as Database
348
-
349
- U->>C: Click Login
350
- C->>H: login(email, password)
351
- H->>S: authService.login()
352
- S->>A: POST /api/auth/login
353
- A->>D: Query user
354
- D-->>A: User data
355
- A->>A: Verify password
356
- A->>A: Generate tokens
357
- A-->>S: { user, accessToken, refreshToken }
358
- S->>S: Store tokens
359
- S-->>H: User object
360
- H->>H: Update auth state
361
- H-->>C: { user, isAuthenticated: true }
362
- C-->>U: Redirect to dashboard
363
- ```
364
-
365
- ---
366
-
367
- ### 8. Deployment Architecture Diagram
368
-
369
- Visualize infrastructure and deployment.
370
-
371
- ```mermaid
372
- graph TB
373
- subgraph Client
374
- Browser[Browser]
375
- Mobile[Mobile App]
376
- end
377
-
378
- subgraph CDN
379
- CloudFront[CloudFront]
380
- Assets[Static Assets]
381
- end
382
-
383
- subgraph Vercel
384
- NextApp[Next.js App]
385
- ServerlessAPI[Serverless Functions]
386
- end
387
-
388
- subgraph AWS
389
- RDS[(PostgreSQL RDS)]
390
- S3[S3 Bucket]
391
- Redis[ElastiCache Redis]
392
- end
393
-
394
- subgraph External
395
- Auth0[Auth0]
396
- Stripe[Stripe]
397
- SendGrid[SendGrid]
398
- end
399
-
400
- Browser --> CloudFront
401
- Mobile --> CloudFront
402
- CloudFront --> Assets
403
- CloudFront --> NextApp
404
-
405
- NextApp --> ServerlessAPI
406
- ServerlessAPI --> RDS
407
- ServerlessAPI --> Redis
408
- ServerlessAPI --> S3
409
-
410
- ServerlessAPI --> Auth0
411
- ServerlessAPI --> Stripe
412
- ServerlessAPI --> SendGrid
413
- ```
414
-
415
- ---
416
-
417
- ## Generation Process
418
-
419
- ### Step 1: Code Analysis
420
-
421
- ```yaml
422
- analysis:
423
- scan:
424
- - component_imports
425
- - module_dependencies
426
- - database_schema
427
- - api_routes
428
- - state_management
429
- - type_definitions
430
- ```
431
-
432
- ### Step 2: Relationship Extraction
433
-
434
- ```yaml
435
- relationships:
436
- components:
437
- - parent_child
438
- - imports
439
- - props_passing
440
-
441
- modules:
442
- - dependencies
443
- - exports
444
- - shared_types
445
-
446
- data:
447
- - api_calls
448
- - state_updates
449
- - event_handlers
450
- ```
451
-
452
- ### Step 3: Diagram Generation
453
-
454
- ```yaml
455
- generation:
456
- format: "mermaid" # mermaid | plantuml | ascii | svg
457
-
458
- options:
459
- group_by_module: true
460
- show_external_deps: false
461
- highlight_critical_paths: true
462
- max_depth: 3
463
- ```
464
-
465
- ---
466
-
467
- ## Output Formats
468
-
469
- ### Mermaid (Default)
470
-
471
- ```markdown
472
- ```mermaid
473
- graph TB
474
- A --> B
475
- B --> C
476
- ```
477
- ```
478
-
479
- **Best for:** GitHub, GitLab, Notion, Obsidian
480
-
481
- ### PlantUML
482
-
483
- ```
484
- @startuml
485
- A --> B
486
- B --> C
487
- @enduml
488
- ```
489
-
490
- **Best for:** Confluence, enterprise documentation
491
-
492
- ### ASCII Art
493
-
494
- ```
495
- ┌─────┐ ┌─────┐ ┌─────┐
496
- │ A │────▶│ B │────▶│ C │
497
- └─────┘ └─────┘ └─────┘
498
- ```
499
-
500
- **Best for:** Terminal, plain text docs
501
-
502
- ### SVG/PNG Export
503
-
504
- For embedding in presentations, wikis, or external tools.
505
-
506
- ---
507
-
508
- ## Configuration
509
-
510
- ```yaml
511
- # proagents.config.yaml
512
-
513
- reverse_engineering:
514
- diagrams:
515
- enabled: true
516
-
517
- default_format: "mermaid"
518
-
519
- types:
520
- - component_hierarchy
521
- - module_dependency
522
- - data_flow
523
- - database_schema
524
- - api_routes
525
- - state_management
526
- - sequence_diagrams
527
-
528
- options:
529
- theme: "default" # default | dark | forest | neutral
530
- direction: "TB" # TB | BT | LR | RL
531
- max_nodes: 50 # Limit for readability
532
- group_threshold: 5 # Group if more than N items
533
-
534
- output:
535
- directory: "docs/diagrams/"
536
- formats: ["mermaid", "svg"]
537
-
538
- auto_generate:
539
- on_analysis: true
540
- on_feature_complete: false
541
- ```
542
-
543
- ---
544
-
545
- ## Interactive Diagram Features
546
-
547
- ### Zoom & Filter
548
-
549
- ```yaml
550
- interactive:
551
- zoom:
552
- enabled: true
553
- min: 0.5
554
- max: 3.0
555
-
556
- filter:
557
- by_module: true
558
- by_type: true
559
- hide_external: true
560
-
561
- highlight:
562
- on_hover: true
563
- show_details: true
564
- ```
565
-
566
- ### Click-Through Navigation
567
-
568
- Clicking a node in the diagram navigates to:
569
- - Source file for that component/module
570
- - Related documentation
571
- - API reference
572
-
573
- ---
574
-
575
- ## Commands
576
-
577
- | Command | Description |
578
- |---------|-------------|
579
- | `pa:re-diagrams` | Generate all diagrams |
580
- | `pa:re-diagrams --type components` | Component hierarchy only |
581
- | `pa:re-diagrams --type dependencies` | Module dependencies only |
582
- | `pa:re-diagrams --type database` | Database schema only |
583
- | `pa:re-diagrams --type api` | API routes only |
584
- | `pa:re-diagrams --type flow` | Data flow diagrams |
585
- | `pa:re-diagrams --format svg` | Export as SVG |
586
- | `pa:re-diagrams --module auth` | Diagrams for specific module |