@prmichaelsen/remember-mcp 2.7.11 → 3.0.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 (101) hide show
  1. package/.env.example +6 -0
  2. package/AGENT.md +224 -21
  3. package/CHANGELOG.md +155 -915
  4. package/README.md +130 -1
  5. package/agent/commands/acp.command-create.md +372 -0
  6. package/agent/commands/acp.design-create.md +224 -0
  7. package/agent/commands/acp.init.md +39 -5
  8. package/agent/commands/acp.package-create.md +894 -0
  9. package/agent/commands/acp.package-info.md +211 -0
  10. package/agent/commands/acp.package-install.md +206 -33
  11. package/agent/commands/acp.package-list.md +279 -0
  12. package/agent/commands/acp.package-publish.md +540 -0
  13. package/agent/commands/acp.package-remove.md +292 -0
  14. package/agent/commands/acp.package-search.md +306 -0
  15. package/agent/commands/acp.package-update.md +360 -0
  16. package/agent/commands/acp.package-validate.md +539 -0
  17. package/agent/commands/acp.pattern-create.md +326 -0
  18. package/agent/commands/acp.plan.md +552 -0
  19. package/agent/commands/acp.proceed.md +111 -86
  20. package/agent/commands/acp.project-create.md +672 -0
  21. package/agent/commands/acp.project-list.md +224 -0
  22. package/agent/commands/acp.project-set.md +226 -0
  23. package/agent/commands/acp.report.md +2 -0
  24. package/agent/commands/acp.resume.md +237 -0
  25. package/agent/commands/acp.sync.md +55 -15
  26. package/agent/commands/acp.task-create.md +390 -0
  27. package/agent/commands/acp.validate.md +61 -10
  28. package/agent/commands/acp.version-check-for-updates.md +5 -5
  29. package/agent/commands/acp.version-check.md +6 -6
  30. package/agent/commands/acp.version-update.md +6 -6
  31. package/agent/commands/command.template.md +43 -0
  32. package/agent/commands/git.commit.md +5 -3
  33. package/agent/design/soft-delete-system.md +291 -0
  34. package/agent/manifest.template.yaml +13 -0
  35. package/agent/milestones/milestone-13-soft-delete-system.md +306 -0
  36. package/agent/package.template.yaml +36 -0
  37. package/agent/progress.template.yaml +3 -0
  38. package/agent/progress.yaml +238 -6
  39. package/agent/scripts/acp.common.sh +1536 -0
  40. package/agent/scripts/{install.sh → acp.install.sh} +82 -26
  41. package/agent/scripts/acp.package-create.sh +925 -0
  42. package/agent/scripts/acp.package-info.sh +270 -0
  43. package/agent/scripts/acp.package-install.sh +596 -0
  44. package/agent/scripts/acp.package-list.sh +263 -0
  45. package/agent/scripts/acp.package-publish.sh +420 -0
  46. package/agent/scripts/acp.package-remove.sh +272 -0
  47. package/agent/scripts/acp.package-search.sh +156 -0
  48. package/agent/scripts/acp.package-update.sh +438 -0
  49. package/agent/scripts/acp.package-validate.sh +855 -0
  50. package/agent/scripts/acp.project-list.sh +121 -0
  51. package/agent/scripts/acp.project-set.sh +138 -0
  52. package/agent/scripts/{uninstall.sh → acp.uninstall.sh} +25 -15
  53. package/agent/scripts/{check-for-updates.sh → acp.version-check-for-updates.sh} +24 -14
  54. package/agent/scripts/{version.sh → acp.version-check.sh} +20 -8
  55. package/agent/scripts/{update.sh → acp.version-update.sh} +44 -25
  56. package/agent/scripts/acp.yaml-parser.sh +853 -0
  57. package/agent/scripts/acp.yaml-validate.sh +205 -0
  58. package/agent/tasks/task-68-fix-missing-space-properties.md +192 -0
  59. package/agent/tasks/task-69-add-comprehensive-tool-debugging.md +454 -0
  60. package/agent/tasks/task-70-add-soft-delete-schema-fields.md +165 -0
  61. package/agent/tasks/task-71-implement-delete-confirmation-flow.md +257 -0
  62. package/agent/tasks/task-72-add-deleted-filter-to-search-tools.md +18 -0
  63. package/agent/tasks/task-73-update-relationship-handling.md +18 -0
  64. package/agent/tasks/task-74-add-unit-tests-soft-delete.md +18 -0
  65. package/agent/tasks/task-75-update-documentation-changelog.md +26 -0
  66. package/dist/config.d.ts +18 -0
  67. package/dist/server-factory.js +788 -355
  68. package/dist/server.js +788 -355
  69. package/dist/tools/delete-memory.d.ts +5 -30
  70. package/dist/tools/find-similar.d.ts +8 -1
  71. package/dist/tools/query-memory.d.ts +8 -1
  72. package/dist/tools/search-memory.d.ts +6 -0
  73. package/dist/tools/search-relationship.d.ts +8 -1
  74. package/dist/types/memory.d.ts +8 -0
  75. package/dist/types/space-memory.d.ts +3 -0
  76. package/dist/utils/debug.d.ts +52 -0
  77. package/dist/utils/debug.spec.d.ts +5 -0
  78. package/dist/utils/weaviate-filters.d.ts +19 -0
  79. package/dist/weaviate/client.d.ts +1 -1
  80. package/package.json +1 -1
  81. package/src/config.ts +33 -0
  82. package/src/tools/confirm.ts +113 -8
  83. package/src/tools/create-relationship.ts +14 -1
  84. package/src/tools/delete-memory.ts +91 -63
  85. package/src/tools/find-similar.ts +30 -5
  86. package/src/tools/publish.ts +19 -1
  87. package/src/tools/query-memory.ts +18 -5
  88. package/src/tools/query-space.ts +36 -3
  89. package/src/tools/search-memory.ts +18 -5
  90. package/src/tools/search-relationship.ts +19 -5
  91. package/src/tools/search-space.ts +36 -3
  92. package/src/tools/update-memory.ts +8 -0
  93. package/src/types/memory.ts +11 -0
  94. package/src/types/space-memory.ts +5 -0
  95. package/src/utils/debug.spec.ts +257 -0
  96. package/src/utils/debug.ts +138 -0
  97. package/src/utils/weaviate-filters.ts +28 -1
  98. package/src/weaviate/client.ts +47 -3
  99. package/src/weaviate/schema.ts +17 -0
  100. package/src/weaviate/space-schema.spec.ts +5 -2
  101. package/src/weaviate/space-schema.ts +17 -5
@@ -0,0 +1,279 @@
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
+
11
+ ---
12
+
13
+ **Purpose**: List installed ACP packages with versions, file counts, and optional details
14
+ **Category**: Information
15
+ **Frequency**: As Needed
16
+
17
+ ---
18
+
19
+ ## What This Command Does
20
+
21
+ 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.
22
+
23
+ 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.
24
+
25
+ ---
26
+
27
+ ## Auto-Initialization
28
+
29
+ When using the `--global` flag for the first time, the system automatically initializes `~/.acp/` infrastructure:
30
+ - Creates `~/.acp/` directory
31
+ - Installs full ACP (templates, scripts, schemas)
32
+ - Creates `~/.acp/projects/` directory
33
+ - Creates `~/.acp/agent/manifest.yaml` for package tracking
34
+
35
+ This happens automatically - no manual setup required.
36
+
37
+ ---
38
+
39
+ ## Prerequisites
40
+
41
+ - [ ] ACP installed in project
42
+ - [ ] `agent/manifest.yaml` exists (packages have been installed)
43
+ - [ ] `agent/scripts/acp.package-list.sh` exists
44
+
45
+ ---
46
+
47
+ ## Steps
48
+
49
+ ### 1. Run Package List Script
50
+
51
+ Execute the list script with desired options.
52
+
53
+ **Actions**:
54
+ - Run `./agent/scripts/acp.package-list.sh` with optional flags:
55
+ ```bash
56
+ # Basic list (local packages)
57
+ ./agent/scripts/acp.package-list.sh
58
+
59
+ # List global packages
60
+ ./agent/scripts/acp.package-list.sh --global
61
+
62
+ # Verbose mode (detailed information)
63
+ ./agent/scripts/acp.package-list.sh --verbose
64
+
65
+ # Show only outdated packages
66
+ ./agent/scripts/acp.package-list.sh --outdated
67
+
68
+ # Show only packages with local modifications
69
+ ./agent/scripts/acp.package-list.sh --modified
70
+
71
+ # Combine flags
72
+ ./agent/scripts/acp.package-list.sh --global --verbose
73
+ ```
74
+
75
+ **Expected Outcome**: Package list displayed
76
+
77
+ ### 2. Review Package Information
78
+
79
+ Analyze the displayed information.
80
+
81
+ **Actions**:
82
+ - Note which packages are installed
83
+ - Check versions
84
+ - Identify packages with many files
85
+ - Note any outdated packages (if using --outdated)
86
+ - Note any modified packages (if using --modified)
87
+
88
+ **Expected Outcome**: Understanding of installed packages
89
+
90
+ ---
91
+
92
+ ## Verification
93
+
94
+ - [ ] Script executed successfully
95
+ - [ ] All installed packages displayed
96
+ - [ ] Package versions shown correctly
97
+ - [ ] File counts accurate
98
+ - [ ] Verbose mode shows detailed information (if used)
99
+ - [ ] Outdated filter works (if used)
100
+ - [ ] Modified filter works (if used)
101
+ - [ ] Handles empty manifest gracefully
102
+ - [ ] No errors during execution
103
+
104
+ ---
105
+
106
+ ## Expected Output
107
+
108
+ ### Files Modified
109
+ None - this is a read-only command
110
+
111
+ ### Console Output
112
+
113
+ **Basic Mode**:
114
+ ```
115
+ 📦 Installed ACP Packages
116
+
117
+ firebase (1.2.0) - 6 file(s)
118
+ mcp-integration (2.0.1) - 4 file(s)
119
+ oauth (1.0.0) - 2 file(s)
120
+
121
+ Total: 3 of 3 package(s)
122
+ ```
123
+
124
+ **Verbose Mode** (`--verbose`):
125
+ ```
126
+ 📦 Installed ACP Packages
127
+
128
+ firebase (1.2.0) - 6 file(s)
129
+ Source: https://github.com/prmichaelsen/acp-firebase.git
130
+ Installed: 2026-02-18T10:30:00Z
131
+ Updated: 2026-02-18T15:45:00Z
132
+ Files:
133
+ - 3 pattern(s)
134
+ - 2 command(s)
135
+ - 1 design(s)
136
+ Modified files:
137
+ - patterns/firebase-security-rules.md
138
+
139
+ mcp-integration (2.0.1) - 4 file(s)
140
+ Source: https://github.com/prmichaelsen/acp-mcp-integration.git
141
+ Installed: 2026-02-15T14:20:00Z
142
+ Files:
143
+ - 2 pattern(s)
144
+ - 2 command(s)
145
+
146
+ oauth (1.0.0) - 2 file(s)
147
+ Source: https://github.com/prmichaelsen/acp-oauth.git
148
+ Installed: 2026-02-16T09:15:00Z
149
+ Files:
150
+ - 2 pattern(s)
151
+
152
+ Total: 3 of 3 package(s)
153
+ ```
154
+
155
+ **Outdated Filter** (`--outdated`):
156
+ ```
157
+ 📦 Installed ACP Packages
158
+
159
+ firebase (1.2.0) - 6 file(s)
160
+ Update available
161
+
162
+ Total: 1 of 3 package(s)
163
+
164
+ To update: ./agent/scripts/acp.package-update.sh firebase
165
+ ```
166
+
167
+ **Modified Filter** (`--modified`):
168
+ ```
169
+ 📦 Installed ACP Packages
170
+
171
+ firebase (1.2.0) - 6 file(s)
172
+ Modified files:
173
+ - patterns/firebase-security-rules.md
174
+
175
+ Total: 1 of 3 package(s)
176
+ ```
177
+
178
+ **Empty Manifest**:
179
+ ```
180
+ No packages installed
181
+
182
+ To install a package:
183
+ ./agent/scripts/acp.package-install.sh <repository-url>
184
+ ```
185
+
186
+ ---
187
+
188
+ ## Examples
189
+
190
+ ### Example 1: Basic List
191
+
192
+ **Context**: Want to see what packages are installed
193
+
194
+ **Invocation**: `@acp.package-list`
195
+
196
+ **Result**: Shows 3 packages with versions and file counts
197
+
198
+ ### Example 2: Detailed Information
199
+
200
+ **Context**: Need detailed info about installed packages
201
+
202
+ **Invocation**: `@acp.package-list --verbose`
203
+
204
+ **Result**: Shows all packages with source URLs, timestamps, file breakdowns, and modified files
205
+
206
+ ### Example 3: Check for Outdated Packages
207
+
208
+ **Context**: Want to see which packages have updates available
209
+
210
+ **Invocation**: `@acp.package-list --outdated`
211
+
212
+ **Result**: Shows only firebase (1.2.0) has update available, suggests update command
213
+
214
+ ### Example 4: Find Modified Packages
215
+
216
+ **Context**: Want to see which packages have local modifications
217
+
218
+ **Invocation**: `@acp.package-list --modified`
219
+
220
+ **Result**: Shows only firebase has 1 modified file (firebase-security-rules.md)
221
+
222
+ ---
223
+
224
+ ## Related Commands
225
+
226
+ - [`@acp.package-install`](acp.package-install.md) - Install packages
227
+ - [`@acp.package-update`](acp.package-update.md) - Update packages
228
+ - [`@acp.package-info`](acp.package-info.md) - Show detailed package info
229
+ - [`@acp.package-remove`](acp.package-remove.md) - Remove packages
230
+
231
+ ---
232
+
233
+ ## Troubleshooting
234
+
235
+ ### Issue 1: No packages shown
236
+
237
+ **Symptom**: "No packages installed" message
238
+
239
+ **Cause**: No packages installed or manifest doesn't exist
240
+
241
+ **Solution**: Install packages using `@acp.package-install`
242
+
243
+ ### Issue 2: File counts seem wrong
244
+
245
+ **Symptom**: File count doesn't match actual files
246
+
247
+ **Cause**: Manifest out of sync with actual files
248
+
249
+ **Solution**: Reinstall package or manually fix manifest
250
+
251
+ ### Issue 3: Outdated check is slow
252
+
253
+ **Symptom**: `--outdated` flag takes a long time
254
+
255
+ **Cause**: Cloning repositories to check versions
256
+
257
+ **Solution**: This is normal for multiple packages, be patient or check specific package with `@acp.package-update <name> --check`
258
+
259
+ ---
260
+
261
+ ## Notes
262
+
263
+ - Read-only operation (doesn't modify anything)
264
+ - `--outdated` requires network access (clones repos)
265
+ - `--modified` uses local checksums (no network)
266
+ - Verbose mode shows all available information
267
+ - Filters can be combined: `--verbose --outdated`
268
+ - Fast operation for basic list (no network)
269
+
270
+ ---
271
+
272
+ **Namespace**: acp
273
+ **Command**: package-list
274
+ **Version**: 1.0.0
275
+ **Created**: 2026-02-18
276
+ **Last Updated**: 2026-02-18
277
+ **Status**: Active
278
+ **Compatibility**: ACP 2.0.0+
279
+ **Author**: ACP Project