@prmichaelsen/acp-visualizer 0.1.0

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 (180) hide show
  1. package/README.md +68 -0
  2. package/agent/commands/acp.clarification-address.md +417 -0
  3. package/agent/commands/acp.clarification-capture.md +386 -0
  4. package/agent/commands/acp.clarification-create.md +437 -0
  5. package/agent/commands/acp.clarifications-research.md +326 -0
  6. package/agent/commands/acp.command-create.md +432 -0
  7. package/agent/commands/acp.design-create.md +286 -0
  8. package/agent/commands/acp.design-reference.md +355 -0
  9. package/agent/commands/acp.handoff.md +270 -0
  10. package/agent/commands/acp.index.md +423 -0
  11. package/agent/commands/acp.init.md +546 -0
  12. package/agent/commands/acp.package-create.md +895 -0
  13. package/agent/commands/acp.package-info.md +212 -0
  14. package/agent/commands/acp.package-install.md +539 -0
  15. package/agent/commands/acp.package-list.md +280 -0
  16. package/agent/commands/acp.package-publish.md +541 -0
  17. package/agent/commands/acp.package-remove.md +293 -0
  18. package/agent/commands/acp.package-search.md +307 -0
  19. package/agent/commands/acp.package-update.md +361 -0
  20. package/agent/commands/acp.package-validate.md +540 -0
  21. package/agent/commands/acp.pattern-create.md +386 -0
  22. package/agent/commands/acp.plan.md +587 -0
  23. package/agent/commands/acp.proceed.md +882 -0
  24. package/agent/commands/acp.project-create.md +675 -0
  25. package/agent/commands/acp.project-info.md +312 -0
  26. package/agent/commands/acp.project-list.md +226 -0
  27. package/agent/commands/acp.project-remove.md +379 -0
  28. package/agent/commands/acp.project-set.md +227 -0
  29. package/agent/commands/acp.project-update.md +307 -0
  30. package/agent/commands/acp.projects-restore.md +228 -0
  31. package/agent/commands/acp.projects-sync.md +347 -0
  32. package/agent/commands/acp.report.md +407 -0
  33. package/agent/commands/acp.resume.md +239 -0
  34. package/agent/commands/acp.sessions.md +301 -0
  35. package/agent/commands/acp.status.md +293 -0
  36. package/agent/commands/acp.sync.md +364 -0
  37. package/agent/commands/acp.task-create.md +500 -0
  38. package/agent/commands/acp.update.md +302 -0
  39. package/agent/commands/acp.validate.md +466 -0
  40. package/agent/commands/acp.version-check-for-updates.md +276 -0
  41. package/agent/commands/acp.version-check.md +191 -0
  42. package/agent/commands/acp.version-update.md +289 -0
  43. package/agent/commands/command.template.md +339 -0
  44. package/agent/commands/git.commit.md +526 -0
  45. package/agent/commands/git.init.md +514 -0
  46. package/agent/commands/tanstack-cloudflare.deploy.md +272 -0
  47. package/agent/commands/tanstack-cloudflare.tail.md +275 -0
  48. package/agent/design/.gitkeep +0 -0
  49. package/agent/design/design.template.md +154 -0
  50. package/agent/design/local.dashboard-layout-routing.md +288 -0
  51. package/agent/design/local.data-model-yaml-parsing.md +310 -0
  52. package/agent/design/local.search-filtering.md +331 -0
  53. package/agent/design/local.server-api-auto-refresh.md +235 -0
  54. package/agent/design/local.table-tree-views.md +299 -0
  55. package/agent/design/local.visualizer-requirements.md +349 -0
  56. package/agent/design/requirements.template.md +387 -0
  57. package/agent/index/.gitkeep +0 -0
  58. package/agent/index/acp.core.yaml +137 -0
  59. package/agent/index/local.main.template.yaml +37 -0
  60. package/agent/manifest.template.yaml +13 -0
  61. package/agent/manifest.yaml +302 -0
  62. package/agent/milestones/.gitkeep +0 -0
  63. package/agent/milestones/milestone-1-project-scaffold-data-pipeline.md +67 -0
  64. package/agent/milestones/milestone-1-{title}.template.md +206 -0
  65. package/agent/milestones/milestone-2-dashboard-views-interaction.md +79 -0
  66. package/agent/package.template.yaml +86 -0
  67. package/agent/patterns/.gitkeep +0 -0
  68. package/agent/patterns/bootstrap.template.md +1237 -0
  69. package/agent/patterns/pattern.template.md +382 -0
  70. package/agent/patterns/tanstack-cloudflare.acl-permissions.md +332 -0
  71. package/agent/patterns/tanstack-cloudflare.action-bar-item.md +416 -0
  72. package/agent/patterns/tanstack-cloudflare.api-route-handlers.md +401 -0
  73. package/agent/patterns/tanstack-cloudflare.auth-session-management.md +387 -0
  74. package/agent/patterns/tanstack-cloudflare.card-and-list.md +271 -0
  75. package/agent/patterns/tanstack-cloudflare.chat-engine.md +353 -0
  76. package/agent/patterns/tanstack-cloudflare.confirmation-tokens.md +346 -0
  77. package/agent/patterns/tanstack-cloudflare.durable-objects-websocket.md +516 -0
  78. package/agent/patterns/tanstack-cloudflare.email-service.md +431 -0
  79. package/agent/patterns/tanstack-cloudflare.expander.md +98 -0
  80. package/agent/patterns/tanstack-cloudflare.fcm-push.md +115 -0
  81. package/agent/patterns/tanstack-cloudflare.firebase-anonymous-sessions.md +441 -0
  82. package/agent/patterns/tanstack-cloudflare.firebase-auth.md +348 -0
  83. package/agent/patterns/tanstack-cloudflare.firebase-firestore.md +550 -0
  84. package/agent/patterns/tanstack-cloudflare.firebase-storage.md +369 -0
  85. package/agent/patterns/tanstack-cloudflare.form-controls.md +145 -0
  86. package/agent/patterns/tanstack-cloudflare.global-search-context.md +93 -0
  87. package/agent/patterns/tanstack-cloudflare.image-carousel.md +126 -0
  88. package/agent/patterns/tanstack-cloudflare.library-services.md +553 -0
  89. package/agent/patterns/tanstack-cloudflare.lightbox.md +169 -0
  90. package/agent/patterns/tanstack-cloudflare.markdown-content.md +115 -0
  91. package/agent/patterns/tanstack-cloudflare.mention-suggestions.md +98 -0
  92. package/agent/patterns/tanstack-cloudflare.modal.md +156 -0
  93. package/agent/patterns/tanstack-cloudflare.nextjs-to-tanstack-routing.md +461 -0
  94. package/agent/patterns/tanstack-cloudflare.notifications-engine.md +151 -0
  95. package/agent/patterns/tanstack-cloudflare.oauth-token-refresh.md +90 -0
  96. package/agent/patterns/tanstack-cloudflare.og-metadata.md +296 -0
  97. package/agent/patterns/tanstack-cloudflare.pagination.md +442 -0
  98. package/agent/patterns/tanstack-cloudflare.pill-input.md +220 -0
  99. package/agent/patterns/tanstack-cloudflare.provider-adapter.md +401 -0
  100. package/agent/patterns/tanstack-cloudflare.rate-limiting.md +323 -0
  101. package/agent/patterns/tanstack-cloudflare.scheduled-tasks.md +338 -0
  102. package/agent/patterns/tanstack-cloudflare.searchable-settings.md +375 -0
  103. package/agent/patterns/tanstack-cloudflare.slide-over.md +129 -0
  104. package/agent/patterns/tanstack-cloudflare.ssr-preload.md +571 -0
  105. package/agent/patterns/tanstack-cloudflare.third-party-api-integration.md +508 -0
  106. package/agent/patterns/tanstack-cloudflare.toast-system.md +142 -0
  107. package/agent/patterns/tanstack-cloudflare.unified-header.md +280 -0
  108. package/agent/patterns/tanstack-cloudflare.user-scoped-collections.md +628 -0
  109. package/agent/patterns/tanstack-cloudflare.websocket-manager.md +237 -0
  110. package/agent/patterns/tanstack-cloudflare.wrangler-configuration.md +358 -0
  111. package/agent/patterns/tanstack-cloudflare.zod-schema-validation.md +336 -0
  112. package/agent/progress.template.yaml +161 -0
  113. package/agent/progress.yaml +145 -0
  114. package/agent/schemas/package.schema.yaml +276 -0
  115. package/agent/scripts/acp.common.sh +1781 -0
  116. package/agent/scripts/acp.install.sh +333 -0
  117. package/agent/scripts/acp.package-create.sh +924 -0
  118. package/agent/scripts/acp.package-info.sh +288 -0
  119. package/agent/scripts/acp.package-install.sh +893 -0
  120. package/agent/scripts/acp.package-list.sh +311 -0
  121. package/agent/scripts/acp.package-publish.sh +420 -0
  122. package/agent/scripts/acp.package-remove.sh +348 -0
  123. package/agent/scripts/acp.package-search.sh +156 -0
  124. package/agent/scripts/acp.package-update.sh +517 -0
  125. package/agent/scripts/acp.package-validate.sh +1018 -0
  126. package/agent/scripts/acp.uninstall.sh +85 -0
  127. package/agent/scripts/acp.version-check-for-updates.sh +98 -0
  128. package/agent/scripts/acp.version-check.sh +47 -0
  129. package/agent/scripts/acp.version-update.sh +176 -0
  130. package/agent/scripts/acp.yaml-parser.sh +985 -0
  131. package/agent/scripts/acp.yaml-validate.sh +205 -0
  132. package/agent/tasks/.gitkeep +0 -0
  133. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-1-initialize-tanstack-start-project.md +210 -0
  134. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-2-implement-data-model-yaml-parser.md +294 -0
  135. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-3-build-server-api-data-loading.md +193 -0
  136. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-4-add-auto-refresh-sse.md +262 -0
  137. package/agent/tasks/milestone-2-dashboard-views-interaction/task-10-polish-integration-testing.md +156 -0
  138. package/agent/tasks/milestone-2-dashboard-views-interaction/task-5-build-dashboard-layout-routing.md +178 -0
  139. package/agent/tasks/milestone-2-dashboard-views-interaction/task-6-build-overview-page.md +141 -0
  140. package/agent/tasks/milestone-2-dashboard-views-interaction/task-7-implement-milestone-table-view.md +153 -0
  141. package/agent/tasks/milestone-2-dashboard-views-interaction/task-8-implement-milestone-tree-view.md +174 -0
  142. package/agent/tasks/milestone-2-dashboard-views-interaction/task-9-implement-search-filtering.md +233 -0
  143. package/agent/tasks/task-1-{title}.template.md +244 -0
  144. package/bin/visualize.mjs +84 -0
  145. package/package.json +48 -0
  146. package/src/components/ExtraFieldsBadge.tsx +15 -0
  147. package/src/components/FilterBar.tsx +33 -0
  148. package/src/components/Header.tsx +23 -0
  149. package/src/components/MilestoneTable.tsx +167 -0
  150. package/src/components/MilestoneTree.tsx +84 -0
  151. package/src/components/ProgressBar.tsx +20 -0
  152. package/src/components/SearchInput.tsx +22 -0
  153. package/src/components/Sidebar.tsx +54 -0
  154. package/src/components/StatusBadge.tsx +23 -0
  155. package/src/components/StatusDot.tsx +12 -0
  156. package/src/components/TaskList.tsx +36 -0
  157. package/src/components/ViewToggle.tsx +31 -0
  158. package/src/lib/config.ts +8 -0
  159. package/src/lib/file-watcher.ts +43 -0
  160. package/src/lib/search.ts +48 -0
  161. package/src/lib/types.ts +73 -0
  162. package/src/lib/useAutoRefresh.ts +31 -0
  163. package/src/lib/useCollapse.ts +31 -0
  164. package/src/lib/useFilteredData.ts +55 -0
  165. package/src/lib/yaml-loader-real.spec.ts +47 -0
  166. package/src/lib/yaml-loader.spec.ts +201 -0
  167. package/src/lib/yaml-loader.ts +265 -0
  168. package/src/routeTree.gen.ts +140 -0
  169. package/src/router.tsx +10 -0
  170. package/src/routes/__root.tsx +75 -0
  171. package/src/routes/api/watch.ts +29 -0
  172. package/src/routes/index.tsx +115 -0
  173. package/src/routes/milestones.tsx +50 -0
  174. package/src/routes/search.tsx +84 -0
  175. package/src/routes/tasks.tsx +63 -0
  176. package/src/services/progress-database.service.ts +46 -0
  177. package/src/styles.css +25 -0
  178. package/tsconfig.json +24 -0
  179. package/vite.config.ts +16 -0
  180. package/vitest.config.ts +27 -0
@@ -0,0 +1,280 @@
1
+ # Command: package-list
2
+
3
+ > **🤖 Agent Directive**: If you are reading this file, the command `@acp.package-list` has been invoked. Follow the steps below to execute this command.
4
+
5
+ **Namespace**: acp
6
+ **Version**: 1.0.0
7
+ **Created**: 2026-02-18
8
+ **Last Updated**: 2026-02-18
9
+ **Status**: Active
10
+ **Scripts**: acp.package-list.sh, acp.common.sh, acp.yaml-parser.sh
11
+
12
+ ---
13
+
14
+ **Purpose**: List installed ACP packages with versions, file counts, and optional details
15
+ **Category**: Information
16
+ **Frequency**: As Needed
17
+
18
+ ---
19
+
20
+ ## What This Command Does
21
+
22
+ This command displays all installed ACP packages by reading `agent/manifest.yaml` (local) or `~/.acp/manifest.yaml` (global) and showing package names, versions, and file counts. It provides optional verbose mode for detailed information and filters for outdated or modified packages.
23
+
24
+ Use this command when you want to see what packages are installed locally or globally, check package versions, identify packages with updates available, or find packages with local modifications.
25
+
26
+ ---
27
+
28
+ ## Auto-Initialization
29
+
30
+ When using the `--global` flag for the first time, the system automatically initializes `~/.acp/` infrastructure:
31
+ - Creates `~/.acp/` directory
32
+ - Installs full ACP (templates, scripts, schemas)
33
+ - Creates `~/.acp/projects/` directory
34
+ - Creates `~/.acp/agent/manifest.yaml` for package tracking
35
+
36
+ This happens automatically - no manual setup required.
37
+
38
+ ---
39
+
40
+ ## Prerequisites
41
+
42
+ - [ ] ACP installed in project
43
+ - [ ] `agent/manifest.yaml` exists (packages have been installed)
44
+ - [ ] `agent/scripts/acp.package-list.sh` exists
45
+
46
+ ---
47
+
48
+ ## Steps
49
+
50
+ ### 1. Run Package List Script
51
+
52
+ Execute the list script with desired options.
53
+
54
+ **Actions**:
55
+ - Run `./agent/scripts/acp.package-list.sh` with optional flags:
56
+ ```bash
57
+ # Basic list (local packages)
58
+ ./agent/scripts/acp.package-list.sh
59
+
60
+ # List global packages
61
+ ./agent/scripts/acp.package-list.sh --global
62
+
63
+ # Verbose mode (detailed information)
64
+ ./agent/scripts/acp.package-list.sh --verbose
65
+
66
+ # Show only outdated packages
67
+ ./agent/scripts/acp.package-list.sh --outdated
68
+
69
+ # Show only packages with local modifications
70
+ ./agent/scripts/acp.package-list.sh --modified
71
+
72
+ # Combine flags
73
+ ./agent/scripts/acp.package-list.sh --global --verbose
74
+ ```
75
+
76
+ **Expected Outcome**: Package list displayed
77
+
78
+ ### 2. Review Package Information
79
+
80
+ Analyze the displayed information.
81
+
82
+ **Actions**:
83
+ - Note which packages are installed
84
+ - Check versions
85
+ - Identify packages with many files
86
+ - Note any outdated packages (if using --outdated)
87
+ - Note any modified packages (if using --modified)
88
+
89
+ **Expected Outcome**: Understanding of installed packages
90
+
91
+ ---
92
+
93
+ ## Verification
94
+
95
+ - [ ] Script executed successfully
96
+ - [ ] All installed packages displayed
97
+ - [ ] Package versions shown correctly
98
+ - [ ] File counts accurate
99
+ - [ ] Verbose mode shows detailed information (if used)
100
+ - [ ] Outdated filter works (if used)
101
+ - [ ] Modified filter works (if used)
102
+ - [ ] Handles empty manifest gracefully
103
+ - [ ] No errors during execution
104
+
105
+ ---
106
+
107
+ ## Expected Output
108
+
109
+ ### Files Modified
110
+ None - this is a read-only command
111
+
112
+ ### Console Output
113
+
114
+ **Basic Mode**:
115
+ ```
116
+ 📦 Installed ACP Packages
117
+
118
+ firebase (1.2.0) - 6 file(s)
119
+ mcp-integration (2.0.1) - 4 file(s)
120
+ oauth (1.0.0) - 2 file(s)
121
+
122
+ Total: 3 of 3 package(s)
123
+ ```
124
+
125
+ **Verbose Mode** (`--verbose`):
126
+ ```
127
+ 📦 Installed ACP Packages
128
+
129
+ firebase (1.2.0) - 6 file(s)
130
+ Source: https://github.com/prmichaelsen/acp-firebase.git
131
+ Installed: 2026-02-18T10:30:00Z
132
+ Updated: 2026-02-18T15:45:00Z
133
+ Files:
134
+ - 3 pattern(s)
135
+ - 2 command(s)
136
+ - 1 design(s)
137
+ Modified files:
138
+ - patterns/firebase-security-rules.md
139
+
140
+ mcp-integration (2.0.1) - 4 file(s)
141
+ Source: https://github.com/prmichaelsen/acp-mcp-integration.git
142
+ Installed: 2026-02-15T14:20:00Z
143
+ Files:
144
+ - 2 pattern(s)
145
+ - 2 command(s)
146
+
147
+ oauth (1.0.0) - 2 file(s)
148
+ Source: https://github.com/prmichaelsen/acp-oauth.git
149
+ Installed: 2026-02-16T09:15:00Z
150
+ Files:
151
+ - 2 pattern(s)
152
+
153
+ Total: 3 of 3 package(s)
154
+ ```
155
+
156
+ **Outdated Filter** (`--outdated`):
157
+ ```
158
+ 📦 Installed ACP Packages
159
+
160
+ firebase (1.2.0) - 6 file(s)
161
+ Update available
162
+
163
+ Total: 1 of 3 package(s)
164
+
165
+ To update: ./agent/scripts/acp.package-update.sh firebase
166
+ ```
167
+
168
+ **Modified Filter** (`--modified`):
169
+ ```
170
+ 📦 Installed ACP Packages
171
+
172
+ firebase (1.2.0) - 6 file(s)
173
+ Modified files:
174
+ - patterns/firebase-security-rules.md
175
+
176
+ Total: 1 of 3 package(s)
177
+ ```
178
+
179
+ **Empty Manifest**:
180
+ ```
181
+ No packages installed
182
+
183
+ To install a package:
184
+ ./agent/scripts/acp.package-install.sh <repository-url>
185
+ ```
186
+
187
+ ---
188
+
189
+ ## Examples
190
+
191
+ ### Example 1: Basic List
192
+
193
+ **Context**: Want to see what packages are installed
194
+
195
+ **Invocation**: `@acp.package-list`
196
+
197
+ **Result**: Shows 3 packages with versions and file counts
198
+
199
+ ### Example 2: Detailed Information
200
+
201
+ **Context**: Need detailed info about installed packages
202
+
203
+ **Invocation**: `@acp.package-list --verbose`
204
+
205
+ **Result**: Shows all packages with source URLs, timestamps, file breakdowns, and modified files
206
+
207
+ ### Example 3: Check for Outdated Packages
208
+
209
+ **Context**: Want to see which packages have updates available
210
+
211
+ **Invocation**: `@acp.package-list --outdated`
212
+
213
+ **Result**: Shows only firebase (1.2.0) has update available, suggests update command
214
+
215
+ ### Example 4: Find Modified Packages
216
+
217
+ **Context**: Want to see which packages have local modifications
218
+
219
+ **Invocation**: `@acp.package-list --modified`
220
+
221
+ **Result**: Shows only firebase has 1 modified file (firebase-security-rules.md)
222
+
223
+ ---
224
+
225
+ ## Related Commands
226
+
227
+ - [`@acp.package-install`](acp.package-install.md) - Install packages
228
+ - [`@acp.package-update`](acp.package-update.md) - Update packages
229
+ - [`@acp.package-info`](acp.package-info.md) - Show detailed package info
230
+ - [`@acp.package-remove`](acp.package-remove.md) - Remove packages
231
+
232
+ ---
233
+
234
+ ## Troubleshooting
235
+
236
+ ### Issue 1: No packages shown
237
+
238
+ **Symptom**: "No packages installed" message
239
+
240
+ **Cause**: No packages installed or manifest doesn't exist
241
+
242
+ **Solution**: Install packages using `@acp.package-install`
243
+
244
+ ### Issue 2: File counts seem wrong
245
+
246
+ **Symptom**: File count doesn't match actual files
247
+
248
+ **Cause**: Manifest out of sync with actual files
249
+
250
+ **Solution**: Reinstall package or manually fix manifest
251
+
252
+ ### Issue 3: Outdated check is slow
253
+
254
+ **Symptom**: `--outdated` flag takes a long time
255
+
256
+ **Cause**: Cloning repositories to check versions
257
+
258
+ **Solution**: This is normal for multiple packages, be patient or check specific package with `@acp.package-update <name> --check`
259
+
260
+ ---
261
+
262
+ ## Notes
263
+
264
+ - Read-only operation (doesn't modify anything)
265
+ - `--outdated` requires network access (clones repos)
266
+ - `--modified` uses local checksums (no network)
267
+ - Verbose mode shows all available information
268
+ - Filters can be combined: `--verbose --outdated`
269
+ - Fast operation for basic list (no network)
270
+
271
+ ---
272
+
273
+ **Namespace**: acp
274
+ **Command**: package-list
275
+ **Version**: 1.0.0
276
+ **Created**: 2026-02-18
277
+ **Last Updated**: 2026-02-18
278
+ **Status**: Active
279
+ **Compatibility**: ACP 2.0.0+
280
+ **Author**: ACP Project