@prmichaelsen/remember-mcp 2.2.1 → 2.3.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 (61) hide show
  1. package/AGENT.md +4 -4
  2. package/CHANGELOG.md +45 -0
  3. package/README.md +43 -3
  4. package/agent/commands/acp.init.md +376 -0
  5. package/agent/commands/acp.proceed.md +311 -0
  6. package/agent/commands/acp.status.md +280 -0
  7. package/agent/commands/acp.version-check-for-updates.md +275 -0
  8. package/agent/commands/acp.version-check.md +190 -0
  9. package/agent/commands/acp.version-update.md +288 -0
  10. package/agent/commands/command.template.md +273 -0
  11. package/agent/design/core-memory-user-profile.md +1253 -0
  12. package/agent/design/ghost-profiles-pseudonymous-identity.md +194 -0
  13. package/agent/design/publish-tools-confirmation-flow.md +922 -0
  14. package/agent/milestones/milestone-10-shared-spaces.md +169 -0
  15. package/agent/progress.yaml +90 -4
  16. package/agent/scripts/install.sh +118 -0
  17. package/agent/scripts/update.sh +22 -10
  18. package/agent/scripts/version.sh +35 -0
  19. package/agent/tasks/task-27-implement-llm-provider-interface.md +51 -0
  20. package/agent/tasks/task-28-implement-llm-provider-factory.md +64 -0
  21. package/agent/tasks/task-29-update-config-for-llm.md +71 -0
  22. package/agent/tasks/task-30-implement-bedrock-provider.md +147 -0
  23. package/agent/tasks/task-31-implement-background-job-service.md +120 -0
  24. package/agent/tasks/task-32-test-llm-provider-integration.md +152 -0
  25. package/agent/tasks/task-34-create-confirmation-token-service.md +191 -0
  26. package/agent/tasks/task-35-create-space-memory-types-schema.md +183 -0
  27. package/agent/tasks/task-36-implement-remember-publish.md +227 -0
  28. package/agent/tasks/task-37-implement-remember-confirm.md +225 -0
  29. package/agent/tasks/task-38-implement-remember-deny.md +161 -0
  30. package/agent/tasks/task-39-implement-remember-search-space.md +188 -0
  31. package/agent/tasks/task-40-implement-remember-query-space.md +193 -0
  32. package/agent/tasks/task-41-configure-firestore-ttl.md +188 -0
  33. package/agent/tasks/task-42-create-tests-shared-spaces.md +216 -0
  34. package/agent/tasks/task-43-update-documentation.md +255 -0
  35. package/dist/llm/types.d.ts +1 -0
  36. package/dist/server-factory.js +914 -1
  37. package/dist/server.js +916 -3
  38. package/dist/services/confirmation-token.service.d.ts +99 -0
  39. package/dist/services/confirmation-token.service.spec.d.ts +5 -0
  40. package/dist/tools/confirm.d.ts +20 -0
  41. package/dist/tools/deny.d.ts +19 -0
  42. package/dist/tools/publish.d.ts +22 -0
  43. package/dist/tools/query-space.d.ts +28 -0
  44. package/dist/tools/search-space.d.ts +29 -0
  45. package/dist/types/space-memory.d.ts +80 -0
  46. package/dist/weaviate/space-schema.d.ts +59 -0
  47. package/dist/weaviate/space-schema.spec.d.ts +5 -0
  48. package/package.json +1 -1
  49. package/src/llm/types.ts +0 -0
  50. package/src/server-factory.ts +33 -0
  51. package/src/server.ts +33 -0
  52. package/src/services/confirmation-token.service.spec.ts +254 -0
  53. package/src/services/confirmation-token.service.ts +232 -0
  54. package/src/tools/confirm.ts +176 -0
  55. package/src/tools/deny.ts +70 -0
  56. package/src/tools/publish.ts +167 -0
  57. package/src/tools/query-space.ts +197 -0
  58. package/src/tools/search-space.ts +189 -0
  59. package/src/types/space-memory.ts +94 -0
  60. package/src/weaviate/space-schema.spec.ts +131 -0
  61. package/src/weaviate/space-schema.ts +275 -0
@@ -0,0 +1,275 @@
1
+ # Command: version-check-for-updates
2
+
3
+ > **🤖 Agent Directive**: If you are reading this file, the command `@acp-version-check-for-updates` has been invoked. Follow the steps below to execute this command.
4
+
5
+ **Namespace**: acp
6
+ **Version**: 1.0.0
7
+ **Created**: 2026-02-16
8
+ **Last Updated**: 2026-02-16
9
+ **Status**: Active
10
+
11
+ ---
12
+
13
+ **Purpose**: Check if newer version of ACP is available without applying updates
14
+ **Category**: Maintenance
15
+ **Frequency**: Per Session
16
+
17
+ ---
18
+
19
+ ## What This Command Does
20
+
21
+ This command checks if a newer version of ACP is available by running the update check script. It's a non-destructive operation that only reports whether updates exist and what changed, without modifying any files.
22
+
23
+ Use this command at the start of sessions (it's part of `@acp-init`) or when you want to see if improvements are available. It shows what's new via the CHANGELOG and lets you decide whether to update.
24
+
25
+ Unlike `@acp-version-update` which applies updates immediately, this command only checks and reports, giving you control over when to update.
26
+
27
+ ---
28
+
29
+ ## Prerequisites
30
+
31
+ - [ ] ACP installed in project
32
+ - [ ] `agent/scripts/check-for-updates.sh` exists
33
+ - [ ] Internet connection available
34
+ - [ ] Git installed
35
+
36
+ ---
37
+
38
+ ## Steps
39
+
40
+ ### 1. Run Update Check Script
41
+
42
+ Execute the check-for-updates script.
43
+
44
+ **Actions**:
45
+ - Check if `./agent/scripts/check-for-updates.sh` exists
46
+ - If exists, run the script
47
+ - If doesn't exist, report that update checking is unavailable
48
+ - Capture script output
49
+
50
+ **Expected Outcome**: Update status determined
51
+
52
+ ### 2. Parse Script Output
53
+
54
+ Interpret the results from the update check.
55
+
56
+ **Actions**:
57
+ - Check if updates are available
58
+ - Extract available version number (if updates exist)
59
+ - Note if already up to date
60
+ - Handle any errors from script
61
+
62
+ **Expected Outcome**: Update status understood
63
+
64
+ ### 3. Display Update Status
65
+
66
+ Show whether updates are available.
67
+
68
+ **Actions**:
69
+ - If up to date: Display success message
70
+ - If updates available: Show new version number
71
+ - Display current version for comparison
72
+ - Show update availability clearly
73
+
74
+ **Expected Outcome**: User knows if updates exist
75
+
76
+ ### 4. Show What Changed
77
+
78
+ If updates are available, display changelog.
79
+
80
+ **Actions**:
81
+ - Fetch CHANGELOG from repository
82
+ - Show changes between current and new version
83
+ - Highlight Added, Changed, Removed, Fixed sections
84
+ - Make it easy to understand what's new
85
+
86
+ **Expected Outcome**: User understands what would change
87
+
88
+ ### 5. Prompt for Action
89
+
90
+ Ask user if they want to update.
91
+
92
+ **Actions**:
93
+ - If updates available: Suggest running `@acp-version-update`
94
+ - If up to date: No action needed
95
+ - Provide clear next steps
96
+
97
+ **Expected Outcome**: User knows what to do next
98
+
99
+ ---
100
+
101
+ ## Verification
102
+
103
+ - [ ] Update check script executed successfully
104
+ - [ ] Update status determined (up to date or updates available)
105
+ - [ ] If updates available, changelog displayed
106
+ - [ ] Clear next steps provided
107
+ - [ ] No files modified
108
+
109
+ ---
110
+
111
+ ## Expected Output
112
+
113
+ ### Files Modified
114
+ None - this is a read-only command
115
+
116
+ ### Console Output (Up to Date)
117
+ ```
118
+ 🔍 Checking for ACP updates...
119
+
120
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
121
+
122
+ ✅ Your ACP is up to date!
123
+
124
+ Current Version: 1.0.3
125
+ Latest Version: 1.0.3
126
+ Released: 2026-02-13
127
+
128
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
129
+
130
+ ℹ️ No action needed.
131
+ ```
132
+
133
+ ### Console Output (Updates Available)
134
+ ```
135
+ 🔍 Checking for ACP updates...
136
+
137
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
138
+
139
+ 🆕 Updates Available!
140
+
141
+ Current Version: 1.0.3
142
+ Latest Version: 1.1.0
143
+ Released: 2026-02-20
144
+
145
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
146
+
147
+ 📋 What's New in 1.1.0:
148
+
149
+ Added:
150
+ • ACP Commands system with 15 core commands
151
+ • Flat directory structure with dot notation
152
+ • Command template for creating custom commands
153
+ • Third-party command installation via @acp-install
154
+
155
+ Changed:
156
+ • Improved installation scripts
157
+ • Better autocomplete support
158
+ • Enhanced documentation
159
+
160
+ Fixed:
161
+ • Various bug fixes and improvements
162
+
163
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
164
+
165
+ 🎯 To update, run: @acp-version-update
166
+
167
+ 📚 Full changelog:
168
+ https://github.com/prmichaelsen/agent-context-protocol/blob/mainline/CHANGELOG.md
169
+ ```
170
+
171
+ ### Status Update
172
+ No status changes - read-only operation
173
+
174
+ ---
175
+
176
+ ## Examples
177
+
178
+ ### Example 1: Session Start Check
179
+
180
+ **Context**: Starting work session, want to check for updates
181
+
182
+ **Invocation**: `@acp-version-check-for-updates`
183
+
184
+ **Result**: Shows you're on 1.0.3, latest is 1.1.0, displays what's new, suggests updating
185
+
186
+ ### Example 2: Already Up to Date
187
+
188
+ **Context**: Checking for updates after recent update
189
+
190
+ **Invocation**: `@acp-version-check-for-updates`
191
+
192
+ **Result**: Confirms you're on latest version (1.0.3), no action needed
193
+
194
+ ### Example 3: No Internet Connection
195
+
196
+ **Context**: Offline, trying to check for updates
197
+
198
+ **Invocation**: `@acp-version-check-for-updates`
199
+
200
+ **Result**: Reports cannot connect to repository, shows current version, suggests trying again when online
201
+
202
+ ---
203
+
204
+ ## Related Commands
205
+
206
+ - [`@acp-version-check`](acp.version-check.md) - Show current version without checking for updates
207
+ - [`@acp-version-update`](acp.version-update.md) - Apply updates if available
208
+ - [`@acp-init`](acp.init.md) - Includes update check as first step
209
+
210
+ ---
211
+
212
+ ## Troubleshooting
213
+
214
+ ### Issue 1: Script not found
215
+
216
+ **Symptom**: Error "check-for-updates.sh not found"
217
+
218
+ **Cause**: Older ACP installation without update scripts
219
+
220
+ **Solution**: Update ACP manually by downloading latest AGENT.md, or install update scripts from repository
221
+
222
+ ### Issue 2: Network error
223
+
224
+ **Symptom**: Error "Cannot connect to repository"
225
+
226
+ **Cause**: No internet connection or GitHub unavailable
227
+
228
+ **Solution**: Check internet connection and try again. Use `@acp-version-check` to see current version offline.
229
+
230
+ ### Issue 3: Permission denied
231
+
232
+ **Symptom**: Error "Permission denied" when running script
233
+
234
+ **Cause**: Script not executable
235
+
236
+ **Solution**: Run `chmod +x agent/scripts/check-for-updates.sh` to make it executable
237
+
238
+ ---
239
+
240
+ ## Security Considerations
241
+
242
+ ### File Access
243
+ - **Reads**: `AGENT.md`, `CHANGELOG.md`
244
+ - **Writes**: None (read-only command)
245
+ - **Executes**: `./agent/scripts/check-for-updates.sh`
246
+
247
+ ### Network Access
248
+ - **APIs**: GitHub API (via check-for-updates script)
249
+ - **Repositories**: Accesses ACP repository to check latest version
250
+
251
+ ### Sensitive Data
252
+ - **Secrets**: Does not access any secrets or credentials
253
+ - **Credentials**: Does not access any credentials
254
+
255
+ ---
256
+
257
+ ## Notes
258
+
259
+ - Non-destructive operation - only checks, doesn't modify files
260
+ - Requires internet connection to check for updates
261
+ - Part of `@acp-init` workflow
262
+ - Safe to run multiple times
263
+ - Update check script may cache results briefly
264
+ - Shows changelog diff between versions
265
+
266
+ ---
267
+
268
+ **Namespace**: acp
269
+ **Command**: version-check-for-updates
270
+ **Version**: 1.0.0
271
+ **Created**: 2026-02-16
272
+ **Last Updated**: 2026-02-16
273
+ **Status**: Active
274
+ **Compatibility**: ACP 1.0.3+
275
+ **Author**: ACP Project
@@ -0,0 +1,190 @@
1
+ # Command: version-check
2
+
3
+ > **🤖 Agent Directive**: If you are reading this file, the command `@acp-version-check` has been invoked. Follow the steps below to execute this command.
4
+
5
+ **Namespace**: acp
6
+ **Version**: 1.0.0
7
+ **Created**: 2026-02-16
8
+ **Last Updated**: 2026-02-16
9
+ **Status**: Active
10
+
11
+ ---
12
+
13
+ **Purpose**: Display current ACP version and compatibility information
14
+ **Category**: Maintenance
15
+ **Frequency**: As Needed
16
+
17
+ ---
18
+
19
+ ## What This Command Does
20
+
21
+ This command displays the current version of ACP installed in the project by running a simple script that extracts version information from AGENT.md. It provides a quick way to check which version you're using without needing to manually open files.
22
+
23
+ Use this command when you need to verify your ACP version, check compatibility with other tools, or before reporting issues. It's a simple, read-only operation that provides version information at a glance.
24
+
25
+ Unlike `@acp-version-check-for-updates` which checks for newer versions, this command only shows your current version without making any network requests.
26
+
27
+ ---
28
+
29
+ ## Prerequisites
30
+
31
+ - [ ] ACP installed in project (AGENT.md exists)
32
+ - [ ] `agent/scripts/version.sh` exists (or can extract from AGENT.md directly)
33
+
34
+ ---
35
+
36
+ ## Steps
37
+
38
+ ### 1. Run Version Script
39
+
40
+ Execute the version check script.
41
+
42
+ **Actions**:
43
+ - Run `./agent/scripts/version.sh`
44
+ - Script extracts version from AGENT.md using grep
45
+ - Displays version, created date, and status
46
+
47
+ **Expected Outcome**: Version information displayed
48
+
49
+ **Alternative** (if script doesn't exist):
50
+ ```bash
51
+ # Extract version directly from AGENT.md
52
+ grep -m 1 "^\*\*Version\*\*:" AGENT.md | sed 's/.*: //'
53
+ ```
54
+
55
+ ---
56
+
57
+ ## Verification
58
+
59
+ - [ ] Version script executed successfully (or AGENT.md read directly)
60
+ - [ ] Version number displayed
61
+ - [ ] Output is clear and well-formatted
62
+ - [ ] No errors encountered
63
+
64
+ ---
65
+
66
+ ## Expected Output
67
+
68
+ ### Files Modified
69
+ None - this is a read-only command
70
+
71
+ ### Console Output
72
+ ```
73
+ 📦 ACP Version Information
74
+
75
+ Version: 1.0.3
76
+ Created: 2026-02-11
77
+ Status: Production Pattern
78
+
79
+ ✓ ACP is installed
80
+
81
+ To check for updates: ./agent/scripts/check-for-updates.sh
82
+ To update ACP: ./agent/scripts/update.sh
83
+ ```
84
+
85
+ ### Status Update
86
+ No status changes - read-only operation
87
+
88
+ ---
89
+
90
+ ## Examples
91
+
92
+ ### Example 1: Quick Version Check
93
+
94
+ **Context**: Want to know which ACP version you're using
95
+
96
+ **Invocation**: `@acp-version-check`
97
+
98
+ **Result**: Shows version 1.0.3, created 2026-02-11, status: Production Pattern
99
+
100
+ ### Example 2: Before Reporting Issue
101
+
102
+ **Context**: Need to report a bug and want to include version info
103
+
104
+ **Invocation**: `@acp-version-check`
105
+
106
+ **Result**: Displays version 1.0.3, helps you provide accurate bug report
107
+
108
+ ### Example 3: Verifying Installation
109
+
110
+ **Context**: Just installed ACP, want to confirm it worked
111
+
112
+ **Invocation**: `@acp-version-check`
113
+
114
+ **Result**: Shows version installed, confirms ACP is working
115
+
116
+ ---
117
+
118
+ ## Related Commands
119
+
120
+ - [`@acp-version-check-for-updates`](acp.version-check-for-updates.md) - Check if newer version available
121
+ - [`@acp-version-update`](acp.version-update.md) - Update to latest version
122
+ - [`@acp-init`](acp.init.md) - Includes version check as part of initialization
123
+
124
+ ---
125
+
126
+ ## Troubleshooting
127
+
128
+ ### Issue 1: AGENT.md not found
129
+
130
+ **Symptom**: Error message "AGENT.md not found"
131
+
132
+ **Cause**: ACP not installed or AGENT.md deleted
133
+
134
+ **Solution**: Reinstall ACP using the installation script
135
+
136
+ ### Issue 2: Script not found
137
+
138
+ **Symptom**: Error "version.sh not found"
139
+
140
+ **Cause**: Older ACP installation without version script
141
+
142
+ **Solution**: Extract version directly from AGENT.md using grep command shown in Steps section
143
+
144
+ ### Issue 3: Version not found in AGENT.md
145
+
146
+ **Symptom**: Grep returns no results
147
+
148
+ **Cause**: AGENT.md format changed or corrupted
149
+
150
+ **Solution**: Manually open AGENT.md and check header, or update ACP to latest version
151
+
152
+ ---
153
+
154
+ ## Security Considerations
155
+
156
+ ### File Access
157
+ - **Reads**: `AGENT.md`
158
+ - **Writes**: None (read-only command)
159
+ - **Executes**: `./agent/scripts/version.sh` (simple grep script)
160
+
161
+ ### Network Access
162
+ - **APIs**: None
163
+ - **Repositories**: None
164
+
165
+ ### Sensitive Data
166
+ - **Secrets**: Does not access any secrets or credentials
167
+ - **Credentials**: Does not access any credentials
168
+
169
+ ---
170
+
171
+ ## Notes
172
+
173
+ - This is a read-only command with no side effects
174
+ - No network access required
175
+ - Fast operation (runs simple grep command)
176
+ - Safe to run anytime
177
+ - Useful for troubleshooting and bug reports
178
+ - Can be run offline
179
+ - Script is simple and safe (just reads AGENT.md)
180
+
181
+ ---
182
+
183
+ **Namespace**: acp
184
+ **Command**: version-check
185
+ **Version**: 1.0.0
186
+ **Created**: 2026-02-16
187
+ **Last Updated**: 2026-02-16
188
+ **Status**: Active
189
+ **Compatibility**: ACP 1.0.3+
190
+ **Author**: ACP Project