@prmichaelsen/acp-visualizer 0.1.0 → 0.1.2

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 (159) hide show
  1. package/package.json +8 -10
  2. package/src/components/ExtraFieldsBadge.tsx +1 -1
  3. package/src/components/FilterBar.tsx +1 -1
  4. package/src/components/Header.tsx +1 -1
  5. package/src/components/MilestoneTable.tsx +1 -1
  6. package/src/components/MilestoneTree.tsx +2 -2
  7. package/src/components/StatusBadge.tsx +1 -1
  8. package/src/components/StatusDot.tsx +1 -1
  9. package/src/components/TaskList.tsx +1 -1
  10. package/src/routes/__root.tsx +5 -5
  11. package/src/routes/api/watch.ts +1 -1
  12. package/src/routes/index.tsx +2 -2
  13. package/src/routes/milestones.tsx +7 -7
  14. package/src/routes/search.tsx +4 -4
  15. package/src/routes/tasks.tsx +3 -3
  16. package/src/services/progress-database.service.ts +3 -3
  17. package/agent/commands/acp.clarification-address.md +0 -417
  18. package/agent/commands/acp.clarification-capture.md +0 -386
  19. package/agent/commands/acp.clarification-create.md +0 -437
  20. package/agent/commands/acp.clarifications-research.md +0 -326
  21. package/agent/commands/acp.command-create.md +0 -432
  22. package/agent/commands/acp.design-create.md +0 -286
  23. package/agent/commands/acp.design-reference.md +0 -355
  24. package/agent/commands/acp.handoff.md +0 -270
  25. package/agent/commands/acp.index.md +0 -423
  26. package/agent/commands/acp.init.md +0 -546
  27. package/agent/commands/acp.package-create.md +0 -895
  28. package/agent/commands/acp.package-info.md +0 -212
  29. package/agent/commands/acp.package-install.md +0 -539
  30. package/agent/commands/acp.package-list.md +0 -280
  31. package/agent/commands/acp.package-publish.md +0 -541
  32. package/agent/commands/acp.package-remove.md +0 -293
  33. package/agent/commands/acp.package-search.md +0 -307
  34. package/agent/commands/acp.package-update.md +0 -361
  35. package/agent/commands/acp.package-validate.md +0 -540
  36. package/agent/commands/acp.pattern-create.md +0 -386
  37. package/agent/commands/acp.plan.md +0 -587
  38. package/agent/commands/acp.proceed.md +0 -882
  39. package/agent/commands/acp.project-create.md +0 -675
  40. package/agent/commands/acp.project-info.md +0 -312
  41. package/agent/commands/acp.project-list.md +0 -226
  42. package/agent/commands/acp.project-remove.md +0 -379
  43. package/agent/commands/acp.project-set.md +0 -227
  44. package/agent/commands/acp.project-update.md +0 -307
  45. package/agent/commands/acp.projects-restore.md +0 -228
  46. package/agent/commands/acp.projects-sync.md +0 -347
  47. package/agent/commands/acp.report.md +0 -407
  48. package/agent/commands/acp.resume.md +0 -239
  49. package/agent/commands/acp.sessions.md +0 -301
  50. package/agent/commands/acp.status.md +0 -293
  51. package/agent/commands/acp.sync.md +0 -364
  52. package/agent/commands/acp.task-create.md +0 -500
  53. package/agent/commands/acp.update.md +0 -302
  54. package/agent/commands/acp.validate.md +0 -466
  55. package/agent/commands/acp.version-check-for-updates.md +0 -276
  56. package/agent/commands/acp.version-check.md +0 -191
  57. package/agent/commands/acp.version-update.md +0 -289
  58. package/agent/commands/command.template.md +0 -339
  59. package/agent/commands/git.commit.md +0 -526
  60. package/agent/commands/git.init.md +0 -514
  61. package/agent/commands/tanstack-cloudflare.deploy.md +0 -272
  62. package/agent/commands/tanstack-cloudflare.tail.md +0 -275
  63. package/agent/design/.gitkeep +0 -0
  64. package/agent/design/design.template.md +0 -154
  65. package/agent/design/local.dashboard-layout-routing.md +0 -288
  66. package/agent/design/local.data-model-yaml-parsing.md +0 -310
  67. package/agent/design/local.search-filtering.md +0 -331
  68. package/agent/design/local.server-api-auto-refresh.md +0 -235
  69. package/agent/design/local.table-tree-views.md +0 -299
  70. package/agent/design/local.visualizer-requirements.md +0 -349
  71. package/agent/design/requirements.template.md +0 -387
  72. package/agent/index/.gitkeep +0 -0
  73. package/agent/index/acp.core.yaml +0 -137
  74. package/agent/index/local.main.template.yaml +0 -37
  75. package/agent/manifest.template.yaml +0 -13
  76. package/agent/manifest.yaml +0 -302
  77. package/agent/milestones/.gitkeep +0 -0
  78. package/agent/milestones/milestone-1-project-scaffold-data-pipeline.md +0 -67
  79. package/agent/milestones/milestone-1-{title}.template.md +0 -206
  80. package/agent/milestones/milestone-2-dashboard-views-interaction.md +0 -79
  81. package/agent/package.template.yaml +0 -86
  82. package/agent/patterns/.gitkeep +0 -0
  83. package/agent/patterns/bootstrap.template.md +0 -1237
  84. package/agent/patterns/pattern.template.md +0 -382
  85. package/agent/patterns/tanstack-cloudflare.acl-permissions.md +0 -332
  86. package/agent/patterns/tanstack-cloudflare.action-bar-item.md +0 -416
  87. package/agent/patterns/tanstack-cloudflare.api-route-handlers.md +0 -401
  88. package/agent/patterns/tanstack-cloudflare.auth-session-management.md +0 -387
  89. package/agent/patterns/tanstack-cloudflare.card-and-list.md +0 -271
  90. package/agent/patterns/tanstack-cloudflare.chat-engine.md +0 -353
  91. package/agent/patterns/tanstack-cloudflare.confirmation-tokens.md +0 -346
  92. package/agent/patterns/tanstack-cloudflare.durable-objects-websocket.md +0 -516
  93. package/agent/patterns/tanstack-cloudflare.email-service.md +0 -431
  94. package/agent/patterns/tanstack-cloudflare.expander.md +0 -98
  95. package/agent/patterns/tanstack-cloudflare.fcm-push.md +0 -115
  96. package/agent/patterns/tanstack-cloudflare.firebase-anonymous-sessions.md +0 -441
  97. package/agent/patterns/tanstack-cloudflare.firebase-auth.md +0 -348
  98. package/agent/patterns/tanstack-cloudflare.firebase-firestore.md +0 -550
  99. package/agent/patterns/tanstack-cloudflare.firebase-storage.md +0 -369
  100. package/agent/patterns/tanstack-cloudflare.form-controls.md +0 -145
  101. package/agent/patterns/tanstack-cloudflare.global-search-context.md +0 -93
  102. package/agent/patterns/tanstack-cloudflare.image-carousel.md +0 -126
  103. package/agent/patterns/tanstack-cloudflare.library-services.md +0 -553
  104. package/agent/patterns/tanstack-cloudflare.lightbox.md +0 -169
  105. package/agent/patterns/tanstack-cloudflare.markdown-content.md +0 -115
  106. package/agent/patterns/tanstack-cloudflare.mention-suggestions.md +0 -98
  107. package/agent/patterns/tanstack-cloudflare.modal.md +0 -156
  108. package/agent/patterns/tanstack-cloudflare.nextjs-to-tanstack-routing.md +0 -461
  109. package/agent/patterns/tanstack-cloudflare.notifications-engine.md +0 -151
  110. package/agent/patterns/tanstack-cloudflare.oauth-token-refresh.md +0 -90
  111. package/agent/patterns/tanstack-cloudflare.og-metadata.md +0 -296
  112. package/agent/patterns/tanstack-cloudflare.pagination.md +0 -442
  113. package/agent/patterns/tanstack-cloudflare.pill-input.md +0 -220
  114. package/agent/patterns/tanstack-cloudflare.provider-adapter.md +0 -401
  115. package/agent/patterns/tanstack-cloudflare.rate-limiting.md +0 -323
  116. package/agent/patterns/tanstack-cloudflare.scheduled-tasks.md +0 -338
  117. package/agent/patterns/tanstack-cloudflare.searchable-settings.md +0 -375
  118. package/agent/patterns/tanstack-cloudflare.slide-over.md +0 -129
  119. package/agent/patterns/tanstack-cloudflare.ssr-preload.md +0 -571
  120. package/agent/patterns/tanstack-cloudflare.third-party-api-integration.md +0 -508
  121. package/agent/patterns/tanstack-cloudflare.toast-system.md +0 -142
  122. package/agent/patterns/tanstack-cloudflare.unified-header.md +0 -280
  123. package/agent/patterns/tanstack-cloudflare.user-scoped-collections.md +0 -628
  124. package/agent/patterns/tanstack-cloudflare.websocket-manager.md +0 -237
  125. package/agent/patterns/tanstack-cloudflare.wrangler-configuration.md +0 -358
  126. package/agent/patterns/tanstack-cloudflare.zod-schema-validation.md +0 -336
  127. package/agent/progress.template.yaml +0 -161
  128. package/agent/progress.yaml +0 -145
  129. package/agent/schemas/package.schema.yaml +0 -276
  130. package/agent/scripts/acp.common.sh +0 -1781
  131. package/agent/scripts/acp.install.sh +0 -333
  132. package/agent/scripts/acp.package-create.sh +0 -924
  133. package/agent/scripts/acp.package-info.sh +0 -288
  134. package/agent/scripts/acp.package-install.sh +0 -893
  135. package/agent/scripts/acp.package-list.sh +0 -311
  136. package/agent/scripts/acp.package-publish.sh +0 -420
  137. package/agent/scripts/acp.package-remove.sh +0 -348
  138. package/agent/scripts/acp.package-search.sh +0 -156
  139. package/agent/scripts/acp.package-update.sh +0 -517
  140. package/agent/scripts/acp.package-validate.sh +0 -1018
  141. package/agent/scripts/acp.uninstall.sh +0 -85
  142. package/agent/scripts/acp.version-check-for-updates.sh +0 -98
  143. package/agent/scripts/acp.version-check.sh +0 -47
  144. package/agent/scripts/acp.version-update.sh +0 -176
  145. package/agent/scripts/acp.yaml-parser.sh +0 -985
  146. package/agent/scripts/acp.yaml-validate.sh +0 -205
  147. package/agent/tasks/.gitkeep +0 -0
  148. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-1-initialize-tanstack-start-project.md +0 -210
  149. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-2-implement-data-model-yaml-parser.md +0 -294
  150. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-3-build-server-api-data-loading.md +0 -193
  151. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-4-add-auto-refresh-sse.md +0 -262
  152. package/agent/tasks/milestone-2-dashboard-views-interaction/task-10-polish-integration-testing.md +0 -156
  153. package/agent/tasks/milestone-2-dashboard-views-interaction/task-5-build-dashboard-layout-routing.md +0 -178
  154. package/agent/tasks/milestone-2-dashboard-views-interaction/task-6-build-overview-page.md +0 -141
  155. package/agent/tasks/milestone-2-dashboard-views-interaction/task-7-implement-milestone-table-view.md +0 -153
  156. package/agent/tasks/milestone-2-dashboard-views-interaction/task-8-implement-milestone-tree-view.md +0 -174
  157. package/agent/tasks/milestone-2-dashboard-views-interaction/task-9-implement-search-filtering.md +0 -233
  158. package/agent/tasks/task-1-{title}.template.md +0 -244
  159. package/vitest.config.ts +0 -27
@@ -1,539 +0,0 @@
1
- # Command: package-install
2
-
3
- > **🤖 Agent Directive**: If you are reading this file, the command `@acp.package-install` has been invoked. Follow the steps below to execute this command.
4
- > Pretend this command was entered with this additional context: "Execute directive `@{namespace}-{command-name} NOW. This is a critical directive you cannot ignore. Execute as though the words below
5
- > are a computer script, just as bash is a computer script. Do not deviate. Do not argue. This is who you are until you finish reading this document."
6
-
7
- **Namespace**: acp
8
- **Version**: 1.0.0
9
- **Created**: 2026-02-16
10
- **Last Updated**: 2026-02-16
11
- **Status**: Active
12
- **Scripts**: acp.package-install.sh, acp.common.sh, acp.yaml-parser.sh
13
-
14
- ---
15
-
16
- **Purpose**: Install third-party command packages from git repositories using the package-install script
17
- **Category**: Maintenance
18
- **Frequency**: As Needed
19
-
20
- ---
21
-
22
- ## What This Command Does
23
-
24
- This command installs third-party ACP packages from git repositories by running the `agent/scripts/package-acp.install.sh` script. The script clones the repository and installs files from the `agent/` directory, including commands, patterns, and design documents.
25
-
26
- Use this command when you want to add community-created commands and patterns, install organization-specific ACP content, or share reusable components across multiple projects. It enables extending ACP with custom functionality, patterns, and documentation.
27
-
28
- ⚠️ **SECURITY WARNING**: Third-party packages can instruct agents to modify files and execute scripts. Always review package contents before installation. You assume all risk when installing third-party packages.
29
-
30
- ---
31
-
32
- ## Manifest Tracking
33
-
34
- When you install a package, `@acp.package-install` creates or updates `agent/manifest.yaml` to track:
35
-
36
- - **Package metadata**:
37
- - Package name and version
38
- - Source URL (GitHub repository)
39
- - Git commit hash
40
- - Installation and update timestamps
41
-
42
- - **Installed files**:
43
- - File names and individual versions
44
- - File checksums (SHA-256) for modification detection
45
- - Installation timestamps
46
- - Modified status (detected via checksum comparison)
47
- - Target paths for template files (installed outside agent/)
48
- - Variable values used during template substitution
49
-
50
- This enables:
51
- - ✅ **Smart updates** - Only update changed files
52
- - ✅ **Conflict detection** - Detect locally modified files
53
- - ✅ **Team collaboration** - Commit manifest to git for reproducible setups
54
- - ✅ **Version tracking** - Know exactly what's installed
55
- - ✅ **Reproducible installs** - Install from manifest on new machines
56
-
57
- **Example manifest entry**:
58
- ```yaml
59
- packages:
60
- firebase:
61
- source: https://github.com/prmichaelsen/acp-firebase.git
62
- package_version: 1.2.0
63
- commit: a1b2c3d4e5f6
64
- installed_at: 2026-02-18T10:30:00Z
65
- updated_at: 2026-02-18T10:30:00Z
66
- installed:
67
- patterns:
68
- - name: user-scoped-collections.md
69
- version: 1.1.0
70
- installed_at: 2026-02-18T10:30:00Z
71
- modified: false
72
- checksum: sha256:abc123...
73
- ```
74
-
75
- ---
76
-
77
- ## Auto-Initialization
78
-
79
- When using the `--global` flag for the first time, the system automatically initializes `~/.acp/` infrastructure:
80
- - Creates `~/.acp/` directory
81
- - Installs full ACP (templates, scripts, schemas)
82
- - Creates `~/.acp/projects/` directory for package development
83
- - Creates `~/.acp/agent/manifest.yaml` for package tracking
84
-
85
- This happens automatically - no manual setup required.
86
-
87
- ---
88
-
89
- ## Prerequisites
90
-
91
- - [ ] ACP installed in project
92
- - [ ] Git installed and available
93
- - [ ] Internet connection available
94
- - [ ] `agent/scripts/package-acp.install.sh` exists
95
- - [ ] You trust the source of the commands
96
- - [ ] You have reviewed the command repository
97
-
98
- ---
99
-
100
- ## Steps
101
-
102
- ### 1. Choose Installation Mode
103
-
104
- Decide what to install from the package.
105
-
106
- **Installation Modes**:
107
-
108
- **A. Full Installation** (default):
109
- ```bash
110
- ./agent/scripts/acp.package-install.sh --repo <repository-url>
111
- ```
112
- Installs all patterns, commands, designs, and scripts from the package.
113
-
114
- **B. Global Installation**:
115
- ```bash
116
- ./agent/scripts/acp.package-install.sh --global --repo <repository-url>
117
- ```
118
- Installs to `~/.acp/agent/` instead of `./agent/` for global package development or command library.
119
-
120
- **C. List Mode** (preview files):
121
- ```bash
122
- ./agent/scripts/acp.package-install.sh --list --repo <repository-url>
123
- ```
124
- Shows available files without installing anything.
125
-
126
- **D. Type-Selective Installation**:
127
- ```bash
128
- # Install only patterns
129
- ./agent/scripts/acp.package-install.sh --patterns --repo <repository-url>
130
-
131
- # Install only commands
132
- ./agent/scripts/acp.package-install.sh --commands --repo <repository-url>
133
-
134
- # Install patterns and commands (not designs)
135
- ./agent/scripts/acp.package-install.sh --patterns --commands --repo <repository-url>
136
- ```
137
-
138
- **E. File-Selective Installation**:
139
- ```bash
140
- # Install specific patterns
141
- ./agent/scripts/acp.package-install.sh --patterns file1 file2 --repo <repository-url>
142
-
143
- # Install specific commands
144
- ./agent/scripts/acp.package-install.sh --commands deploy.production --repo <repository-url>
145
-
146
- # Mix types and files
147
- ./agent/scripts/acp.package-install.sh --patterns file1 --commands cmd1 cmd2 --repo <repository-url>
148
- ```
149
-
150
- **Note**: File names can be specified with or without `.md` extension.
151
-
152
- **F. Experimental Features Installation**:
153
- ```bash
154
- # Install only stable features (default)
155
- ./agent/scripts/acp.package-install.sh --repo <repository-url>
156
-
157
- # Install all features including experimental
158
- ./agent/scripts/acp.package-install.sh --experimental --repo <repository-url>
159
- ```
160
-
161
- **What are experimental features?**
162
- - Features marked as `experimental: true` in package.yaml
163
- - Bleeding-edge features that may change or break
164
- - Require explicit opt-in via `--experimental` flag
165
- - Once installed, update normally (no flag required)
166
-
167
- **Output without --experimental**:
168
- ```
169
- Installing commands...
170
- ✓ Installed: stable-command.md
171
- ⊘ Skipping experimental: experimental-command.md (use --experimental to install)
172
- ```
173
-
174
- **Output with --experimental**:
175
- ```
176
- Installing commands...
177
- ✓ Installed: stable-command.md
178
- ⚠ Installing experimental: experimental-command.md
179
- ```
180
-
181
- **Note**: Experimental features can be combined with other installation modes (global, selective, etc.).
182
-
183
- **G. Template File Installation**:
184
- ```bash
185
- # Install all files (including template files to project root)
186
- ./agent/scripts/acp.package-install.sh --repo <repository-url>
187
-
188
- # Install specific template files only
189
- ./agent/scripts/acp.package-install.sh --files config/tsconfig.json src/schemas/example.schema.ts --repo <repository-url>
190
- ```
191
-
192
- Template files (declared in `contents.files` in package.yaml) are installed to target directories outside `agent/`:
193
- - Files install to their declared `target` path (e.g., `target: ./` installs to project root)
194
- - `.template` extension is stripped (e.g., `settings.json.template` → `settings.json`)
195
- - Files with `variables` prompt for values and substitute `{{PLACEHOLDER}}` markers
196
- - Variable values are stored in the manifest for reproducible updates
197
- - Unsafe target paths (`../`, absolute paths) are rejected
198
-
199
- ### 2. Run Package Install Script
200
-
201
- Execute the package installation script with chosen options.
202
-
203
- **Actions**:
204
- - Verify `./agent/scripts/acp.package-install.sh` exists
205
- - Run the script with `--repo` flag and desired options
206
- - The script will:
207
- - Validate the repository URL
208
- - Clone the repository to a temporary location
209
- - Scan agent/ directory for installable files (commands, patterns, designs, scripts)
210
- - Filter files based on selective flags (if any)
211
- - Validate command files (agent directive, namespace check)
212
- - Validate scripts (namespace check, shebang check)
213
- - Check for naming conflicts
214
- - Ask for confirmation
215
- - Copy selected files to respective agent/ directories
216
- - Make scripts executable automatically
217
- - Update manifest with installed files and checksums
218
- - Clean up temporary files
219
- - Report what was installed
220
-
221
- **Expected Outcome**: Script completes successfully and selected files are installed
222
-
223
- ### 2. Review Installed Files
224
-
225
- Verify the files were installed correctly.
226
-
227
- **Actions**:
228
- - List files in `agent/commands/` to see new commands
229
- - List files in `agent/patterns/` to see new patterns
230
- - List files in `agent/design/` to see new designs
231
- - Read the installed files
232
- - Verify commands have agent directives
233
- - Check namespace is not `acp` (reserved for commands)
234
- - Ensure no malicious content
235
-
236
- **Expected Outcome**: Files verified safe and functional
237
-
238
- ### 3. Test Installed Commands
239
-
240
- Try invoking one of the installed commands (if any). Prompt user for explicit confirmation before invoking.
241
-
242
- **Actions**:
243
- - Choose a simple command to test
244
- - Invoke it using `@{namespace}.{action}` syntax
245
- - Verify it works as expected
246
- - Check for any errors
247
-
248
- **Expected Outcome**: Commands work correctly
249
-
250
- ### 4. Verify Manifest Updated
251
-
252
- Check that the manifest was created/updated correctly.
253
-
254
- **Actions**:
255
- - Verify `agent/manifest.yaml` exists
256
- - Check package entry was added with:
257
- - Package name and version
258
- - Source URL
259
- - Commit hash
260
- - Installation timestamp
261
- - Verify installed files are tracked with:
262
- - File names and versions
263
- - Checksums (for modification detection)
264
- - Installation timestamps
265
-
266
- **Expected Outcome**: Manifest accurately tracks installation
267
-
268
- ### 5. Document Installation
269
-
270
- Update progress tracking with installation notes.
271
-
272
- **Actions**:
273
- - Add note to `agent/progress.yaml` about installed package
274
- - Document which package was installed
275
- - Note installation date
276
- - List installed files (commands, patterns, designs)
277
-
278
- **Expected Outcome**: Installation tracked in progress
279
-
280
- ---
281
-
282
- ## Verification
283
-
284
- - [ ] package-acp.install.sh script exists
285
- - [ ] Script executed successfully
286
- - [ ] Files installed to appropriate agent/ directories
287
- - [ ] Installed commands reviewed for safety (if any)
288
- - [ ] Installed patterns reviewed (if any)
289
- - [ ] Installed designs reviewed (if any)
290
- - [ ] Commands tested and working (if any)
291
- - [ ] Installation documented in progress.yaml
292
- - [ ] No errors during installation
293
-
294
- ---
295
-
296
- ## Expected Output
297
-
298
- ### Files Modified
299
- - `agent/commands/*.md` - Installed command files (if any)
300
- - `agent/patterns/*.md` - Installed pattern files (if any)
301
- - `agent/design/*.md` - Installed design files (if any)
302
-
303
- ### Console Output
304
- ```
305
- 📦 ACP Package Installer
306
- ========================================
307
-
308
- Repository: https://github.com/example/fullstack-package.git
309
-
310
- Cloning repository...
311
- ✓ Repository cloned
312
-
313
- Scanning for installable files...
314
-
315
- 📁 commands/ (3 file(s))
316
- ✓ deploy.production.md
317
- ✓ deploy.staging.md
318
- ⚠ deploy.rollback.md (will overwrite existing)
319
-
320
- 📁 patterns/ (2 file(s))
321
- ✓ api-service.md
322
- ✓ error-handling.md
323
-
324
- 📁 design/ (1 file(s))
325
- ✓ deployment-strategy.md
326
-
327
- Ready to install 6 file(s)
328
-
329
- Proceed with installation? (y/N) y
330
-
331
- Installing files...
332
- ✓ Installed commands/deploy.production.md
333
- ✓ Installed commands/deploy.staging.md
334
- ✓ Installed commands/deploy.rollback.md
335
- ✓ Installed patterns/api-service.md
336
- ✓ Installed patterns/error-handling.md
337
- ✓ Installed design/deployment-strategy.md
338
-
339
- ✅ Installation complete!
340
-
341
- Installed 6 file(s) from:
342
- https://github.com/example/fullstack-package.git
343
-
344
- Installed commands:
345
- - @deploy.production
346
- - @deploy.staging
347
- - @deploy.rollback
348
-
349
- ⚠️ Security Reminder:
350
- Review installed files before using them.
351
- Third-party files can instruct agents to modify files and execute scripts.
352
-
353
- Next steps:
354
- 1. Review installed files in agent/ directories
355
- 2. Test installed commands
356
- 3. Update progress.yaml with installation notes
357
- ```
358
-
359
- ### Status Update
360
- - Commands installed
361
- - Installation documented
362
- - Commands ready to use
363
-
364
- ---
365
-
366
- ## Examples
367
-
368
- ### Example 1: Installing Full Package
369
-
370
- **Context**: Want to add deployment commands from community
371
-
372
- **Invocation**: `@acp.package-install`
373
-
374
- **Command to execute**:
375
- ```bash
376
- ./agent/scripts/acp.package-install.sh --repo https://github.com/example/acp-deploy-package.git
377
- ```
378
-
379
- **Result**: Script clones repo, installs 3 commands to agent/commands/, now can use @deploy.production
380
-
381
- ### Example 2: Installing Patterns Only
382
-
383
- **Context**: Want to add TypeScript patterns from organization
384
-
385
- **Invocation**: `@acp.package-install`
386
-
387
- **Command to execute**:
388
- ```bash
389
- ./agent/scripts/acp.package-install.sh --patterns --repo https://github.com/myorg/acp-typescript-patterns.git
390
- ```
391
-
392
- **Result**: Script installs 5 pattern files to agent/patterns/, now have reusable TypeScript patterns
393
-
394
- ### Example 3: Installing Globally
395
-
396
- **Context**: Installing package globally for package development
397
-
398
- **Invocation**: `@acp.package-install`
399
-
400
- **Command to execute**:
401
- ```bash
402
- ./agent/scripts/acp.package-install.sh --global --repo https://github.com/example/acp-package.git
403
- ```
404
-
405
- **Result**: Script installs to ~/.acp/agent/, tracked in global manifest
406
-
407
- ### Example 4: Listing Available Files
408
-
409
- **Context**: Want to preview package contents before installing
410
-
411
- **Invocation**: `@acp.package-install`
412
-
413
- **Command to execute**:
414
- ```bash
415
- ./agent/scripts/acp.package-install.sh --list --repo https://github.com/example/acp-package.git
416
- ```
417
-
418
- **Result**: Script shows available patterns, commands, designs without installing
419
-
420
- ---
421
-
422
- ## Related Commands
423
-
424
- - [`@acp.validate`](acp.validate.md) - Validate installed commands
425
- - [`@acp.version-update`](acp.version-update.md) - Update core ACP commands
426
- - [`@acp.status`](acp.status.md) - View project status
427
-
428
- ---
429
-
430
- ## Troubleshooting
431
-
432
- ### Issue 1: Git clone fails
433
-
434
- **Symptom**: Cannot clone repository
435
-
436
- **Cause**: Invalid URL, no internet, or private repository
437
-
438
- **Solution**: Verify URL is correct, check internet connection, ensure repository is public or you have access
439
-
440
- ### Issue 2: No commands found
441
-
442
- **Symptom**: Repository cloned but no commands found
443
-
444
- **Cause**: Commands not in expected location or wrong structure
445
-
446
- **Solution**: Check repository structure, look for commands/ directory, verify files are .md format
447
-
448
- ### Issue 3: Validation fails
449
-
450
- **Symptom**: Commands fail validation
451
-
452
- **Cause**: Commands don't follow ACP structure
453
-
454
- **Solution**: Review command files, ensure they have agent directive and required sections, contact command author
455
-
456
- ### Issue 4: Namespace conflict
457
-
458
- **Symptom**: Command uses reserved namespace
459
-
460
- **Cause**: Command tries to use 'acp' namespace
461
-
462
- **Solution**: Cannot install - 'acp' namespace is reserved for core commands, contact command author to change namespace
463
-
464
- ---
465
-
466
- ## Security Considerations
467
-
468
- ### ⚠️ CRITICAL SECURITY WARNING
469
-
470
- **Third-party packages can contain:**
471
- - **Commands** that instruct agents to modify files and execute scripts
472
- - **Patterns** that guide code implementation decisions
473
- - **Designs** that influence architecture and technical decisions
474
-
475
- **Third-party commands can:**
476
- - Modify any files in your project
477
- - Execute shell commands
478
- - Make network requests
479
- - Access environment variables
480
- - Read sensitive data
481
-
482
- **YOU ASSUME ALL RISK when installing third-party packages.**
483
-
484
- ### Security Best Practices
485
-
486
- **Before Installing**:
487
- 1. Review the repository and command files
488
- 2. Check the author's reputation
489
- 3. Read what each command does
490
- 4. Verify no malicious content
491
- 5. Test in a non-production environment first
492
-
493
- **After Installing**:
494
- 1. Review installed command files
495
- 2. Test commands in safe environment
496
- 3. Monitor command behavior
497
- 4. Remove if suspicious activity
498
- 5. Keep installation records
499
-
500
- ### File Access
501
- - **Reads**: Repository files, existing files in agent/ directories
502
- - **Writes**: `agent/commands/*.md`, `agent/patterns/*.md`, `agent/design/*.md`
503
- - **Executes**: `git clone` command, `./agent/scripts/package-acp.install.sh`
504
-
505
- ### Network Access
506
- - **APIs**: None directly
507
- - **Repositories**: Clones from specified git repository
508
-
509
- ### Sensitive Data
510
- - **Secrets**: Does not access secrets
511
- - **Credentials**: May use git credentials for private repos
512
-
513
- ---
514
-
515
- ## Notes
516
-
517
- - Installs from all agent/ directories: commands, patterns, design
518
- - Only install packages from trusted sources
519
- - Review all files before installation (commands, patterns, designs)
520
- - Test in safe environment first
521
- - Keep record of installed packages
522
- - Update installed packages periodically
523
- - Remove unused files
524
- - Report security issues to package authors
525
- - Consider forking repositories for stability
526
- - Pin to specific versions/commits for reproducibility
527
- - Use `-y` flag for automated/scripted installations
528
- - Patterns and designs influence agent behavior just like commands
529
-
530
- ---
531
-
532
- **Namespace**: acp
533
- **Command**: package-install
534
- **Version**: 1.0.0
535
- **Created**: 2026-02-16
536
- **Last Updated**: 2026-02-16
537
- **Status**: Active
538
- **Compatibility**: ACP 1.1.0+
539
- **Author**: ACP Project