@prmichaelsen/task-mcp 0.2.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.
- package/.env.example +19 -0
- package/AGENT.md +1165 -0
- package/CHANGELOG.md +72 -0
- package/agent/commands/acp.commit.md +511 -0
- package/agent/commands/acp.init.md +376 -0
- package/agent/commands/acp.package-install.md +347 -0
- package/agent/commands/acp.proceed.md +311 -0
- package/agent/commands/acp.report.md +392 -0
- package/agent/commands/acp.status.md +280 -0
- package/agent/commands/acp.sync.md +323 -0
- package/agent/commands/acp.update.md +301 -0
- package/agent/commands/acp.validate.md +385 -0
- package/agent/commands/acp.version-check-for-updates.md +275 -0
- package/agent/commands/acp.version-check.md +190 -0
- package/agent/commands/acp.version-update.md +288 -0
- package/agent/commands/command.template.md +273 -0
- package/agent/commands/git.commit.md +511 -0
- package/agent/commands/git.init.md +513 -0
- package/agent/design/.gitkeep +0 -0
- package/agent/design/acp-task-execution-requirements.md +555 -0
- package/agent/design/api-dto-design.md +394 -0
- package/agent/design/code-extraction-guide.md +827 -0
- package/agent/design/design.template.md +136 -0
- package/agent/design/requirements.template.md +387 -0
- package/agent/design/rest-api-integration.md +489 -0
- package/agent/design/sdk-export-requirements.md +549 -0
- package/agent/milestones/.gitkeep +0 -0
- package/agent/milestones/milestone-1-{title}.template.md +206 -0
- package/agent/milestones/milestone-2-task-infrastructure.md +232 -0
- package/agent/milestones/milestone-4-autonomous-execution.md +235 -0
- package/agent/patterns/.gitkeep +0 -0
- package/agent/patterns/bootstrap.md +1271 -0
- package/agent/patterns/bootstrap.template.md +1237 -0
- package/agent/patterns/pattern.template.md +364 -0
- package/agent/progress.template.yaml +158 -0
- package/agent/progress.yaml +375 -0
- package/agent/scripts/check-for-updates.sh +88 -0
- package/agent/scripts/install.sh +157 -0
- package/agent/scripts/uninstall.sh +75 -0
- package/agent/scripts/update.sh +139 -0
- package/agent/scripts/version.sh +35 -0
- package/agent/tasks/.gitkeep +0 -0
- package/agent/tasks/task-1-{title}.template.md +225 -0
- package/agent/tasks/task-86-task-data-model-schemas.md +143 -0
- package/agent/tasks/task-87-task-database-service.md +220 -0
- package/agent/tasks/task-88-firebase-client-wrapper.md +139 -0
- package/agent/tasks/task-88-task-execution-engine.md +277 -0
- package/agent/tasks/task-89-mcp-server-implementation.md +197 -0
- package/agent/tasks/task-90-build-configuration.md +146 -0
- package/agent/tasks/task-91-deployment-configuration.md +128 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +191 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +191 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov-report/src/client.ts.html +1030 -0
- package/coverage/lcov-report/src/constant/collections.ts.html +469 -0
- package/coverage/lcov-report/src/constant/index.html +116 -0
- package/coverage/lcov-report/src/dto/index.html +116 -0
- package/coverage/lcov-report/src/dto/transformers.ts.html +568 -0
- package/coverage/lcov-report/src/index.html +146 -0
- package/coverage/lcov-report/src/schemas/index.html +116 -0
- package/coverage/lcov-report/src/schemas/task.ts.html +547 -0
- package/coverage/lcov-report/src/server-factory.ts.html +418 -0
- package/coverage/lcov-report/src/server.ts.html +289 -0
- package/coverage/lcov-report/src/services/index.html +116 -0
- package/coverage/lcov-report/src/services/task-database.service.ts.html +1495 -0
- package/coverage/lcov-report/src/tools/index.html +236 -0
- package/coverage/lcov-report/src/tools/index.ts.html +292 -0
- package/coverage/lcov-report/src/tools/task-add-message.ts.html +277 -0
- package/coverage/lcov-report/src/tools/task-complete-task-item.ts.html +343 -0
- package/coverage/lcov-report/src/tools/task-create-milestone.ts.html +286 -0
- package/coverage/lcov-report/src/tools/task-create-task-item.ts.html +358 -0
- package/coverage/lcov-report/src/tools/task-get-next-step.ts.html +460 -0
- package/coverage/lcov-report/src/tools/task-get-status.ts.html +316 -0
- package/coverage/lcov-report/src/tools/task-report-completion.ts.html +343 -0
- package/coverage/lcov-report/src/tools/task-update-progress.ts.html +232 -0
- package/coverage/lcov.info +974 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +210 -0
- package/coverage/src/client.ts.html +1030 -0
- package/coverage/src/constant/collections.ts.html +469 -0
- package/coverage/src/constant/index.html +116 -0
- package/coverage/src/dto/index.html +116 -0
- package/coverage/src/dto/transformers.ts.html +568 -0
- package/coverage/src/index.html +146 -0
- package/coverage/src/schemas/index.html +116 -0
- package/coverage/src/schemas/task.ts.html +547 -0
- package/coverage/src/server-factory.ts.html +418 -0
- package/coverage/src/server.ts.html +289 -0
- package/coverage/src/services/index.html +116 -0
- package/coverage/src/services/task-database.service.ts.html +1495 -0
- package/coverage/src/tools/index.html +236 -0
- package/coverage/src/tools/index.ts.html +292 -0
- package/coverage/src/tools/task-add-message.ts.html +277 -0
- package/coverage/src/tools/task-complete-task-item.ts.html +343 -0
- package/coverage/src/tools/task-create-milestone.ts.html +286 -0
- package/coverage/src/tools/task-create-task-item.ts.html +358 -0
- package/coverage/src/tools/task-get-next-step.ts.html +460 -0
- package/coverage/src/tools/task-get-status.ts.html +316 -0
- package/coverage/src/tools/task-report-completion.ts.html +343 -0
- package/coverage/src/tools/task-update-progress.ts.html +232 -0
- package/firestore.rules +95 -0
- package/jest.config.js +31 -0
- package/package.json +67 -0
- package/src/client.spec.ts +199 -0
- package/src/client.ts +315 -0
- package/src/constant/collections.ts +128 -0
- package/src/dto/index.ts +47 -0
- package/src/dto/task-api.dto.ts +219 -0
- package/src/dto/transformers.spec.ts +462 -0
- package/src/dto/transformers.ts +161 -0
- package/src/schemas/task.ts +154 -0
- package/src/server-factory.spec.ts +70 -0
- package/src/server-factory.ts +111 -0
- package/src/server.ts +68 -0
- package/src/services/task-database.service.e2e.ts +116 -0
- package/src/services/task-database.service.spec.ts +479 -0
- package/src/services/task-database.service.ts +470 -0
- package/src/test-schemas.ts +161 -0
- package/src/tools/index.ts +69 -0
- package/src/tools/task-add-message.ts +64 -0
- package/src/tools/task-complete-task-item.ts +86 -0
- package/src/tools/task-create-milestone.ts +67 -0
- package/src/tools/task-create-task-item.ts +91 -0
- package/src/tools/task-get-next-step.spec.ts +136 -0
- package/src/tools/task-get-next-step.ts +125 -0
- package/src/tools/task-get-status.spec.ts +213 -0
- package/src/tools/task-get-status.ts +77 -0
- package/src/tools/task-report-completion.ts +86 -0
- package/src/tools/task-update-progress.ts +49 -0
- package/src/tools/tools.spec.ts +194 -0
- package/tsconfig.json +31 -0
|
@@ -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
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
# Command: version-update
|
|
2
|
+
|
|
3
|
+
> **🤖 Agent Directive**: If you are reading this file, the command `@acp-version-update` 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**: Update ACP files (AGENT.md, templates, scripts) to the latest version
|
|
14
|
+
**Category**: Maintenance
|
|
15
|
+
**Frequency**: When Updates Available
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## What This Command Does
|
|
20
|
+
|
|
21
|
+
This command updates your ACP installation to the latest version by running the update script. It downloads the latest AGENT.md, template files, and utility scripts from the ACP repository, replacing your current versions while preserving your project-specific files.
|
|
22
|
+
|
|
23
|
+
Use this command when `@acp-version-check-for-updates` reports that updates are available, or when you want to get the latest ACP improvements. The update process is git-friendly and reversible.
|
|
24
|
+
|
|
25
|
+
Unlike `@acp-version-check-for-updates` which only checks, this command actually applies the updates. It's recommended to commit your changes before updating so you can revert if needed.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Prerequisites
|
|
30
|
+
|
|
31
|
+
- [ ] ACP installed in project
|
|
32
|
+
- [ ] `agent/scripts/update.sh` exists
|
|
33
|
+
- [ ] Internet connection available
|
|
34
|
+
- [ ] Git repository initialized (recommended for easy rollback)
|
|
35
|
+
- [ ] Changes committed (recommended)
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Steps
|
|
40
|
+
|
|
41
|
+
### 1. Verify Prerequisites
|
|
42
|
+
|
|
43
|
+
Check that update can proceed safely.
|
|
44
|
+
|
|
45
|
+
**Actions**:
|
|
46
|
+
- Verify `./agent/scripts/update.sh` exists
|
|
47
|
+
- Check internet connection
|
|
48
|
+
- Recommend committing changes if git repo exists
|
|
49
|
+
- Warn user that files will be updated
|
|
50
|
+
|
|
51
|
+
**Expected Outcome**: Prerequisites confirmed or user warned
|
|
52
|
+
|
|
53
|
+
### 2. Run Update Script
|
|
54
|
+
|
|
55
|
+
Execute the update script.
|
|
56
|
+
|
|
57
|
+
**Actions**:
|
|
58
|
+
- Run `./agent/scripts/update.sh`
|
|
59
|
+
- Script will:
|
|
60
|
+
- Clone latest ACP repository
|
|
61
|
+
- Update AGENT.md
|
|
62
|
+
- Update all template files
|
|
63
|
+
- Update utility scripts
|
|
64
|
+
- Preserve your project files (non-templates)
|
|
65
|
+
|
|
66
|
+
**Expected Outcome**: Update script completes successfully
|
|
67
|
+
|
|
68
|
+
### 3. Review Changes
|
|
69
|
+
|
|
70
|
+
Show what was updated.
|
|
71
|
+
|
|
72
|
+
**Actions**:
|
|
73
|
+
- List files that were updated
|
|
74
|
+
- Show version change (old → new)
|
|
75
|
+
- Highlight major changes from CHANGELOG
|
|
76
|
+
- Note any breaking changes
|
|
77
|
+
|
|
78
|
+
**Expected Outcome**: User understands what changed
|
|
79
|
+
|
|
80
|
+
### 4. Verify Update Success
|
|
81
|
+
|
|
82
|
+
Confirm update completed correctly.
|
|
83
|
+
|
|
84
|
+
**Actions**:
|
|
85
|
+
- Check AGENT.md version number updated
|
|
86
|
+
- Verify template files updated
|
|
87
|
+
- Confirm scripts updated
|
|
88
|
+
- Test that ACP still works
|
|
89
|
+
|
|
90
|
+
**Expected Outcome**: Update verified successful
|
|
91
|
+
|
|
92
|
+
### 5. Suggest Next Actions
|
|
93
|
+
|
|
94
|
+
Provide recommendations after update.
|
|
95
|
+
|
|
96
|
+
**Actions**:
|
|
97
|
+
- Suggest reviewing changes: `git diff`
|
|
98
|
+
- Recommend reading CHANGELOG for details
|
|
99
|
+
- Suggest running `@acp-init` to reload context
|
|
100
|
+
- Note any action items from update
|
|
101
|
+
|
|
102
|
+
**Expected Outcome**: User knows what to do next
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Verification
|
|
107
|
+
|
|
108
|
+
- [ ] Update script executed successfully
|
|
109
|
+
- [ ] AGENT.md updated to new version
|
|
110
|
+
- [ ] Template files updated
|
|
111
|
+
- [ ] Scripts updated
|
|
112
|
+
- [ ] Project-specific files preserved (not overwritten)
|
|
113
|
+
- [ ] No errors encountered
|
|
114
|
+
- [ ] Git shows clean diff of changes
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Expected Output
|
|
119
|
+
|
|
120
|
+
### Files Modified
|
|
121
|
+
- `AGENT.md` - Updated to latest version
|
|
122
|
+
- `agent/design/*.template.md` - Updated templates
|
|
123
|
+
- `agent/milestones/*.template.md` - Updated templates
|
|
124
|
+
- `agent/patterns/*.template.md` - Updated templates
|
|
125
|
+
- `agent/tasks/*.template.md` - Updated templates
|
|
126
|
+
- `agent/commands/command.template.md` - Updated template
|
|
127
|
+
- `agent/commands/acp.*.md` - Updated core commands (if any)
|
|
128
|
+
- `agent/progress.template.yaml` - Updated template
|
|
129
|
+
- `agent/scripts/*.sh` - Updated utility scripts
|
|
130
|
+
|
|
131
|
+
### Console Output
|
|
132
|
+
```
|
|
133
|
+
🔄 Updating ACP to latest version...
|
|
134
|
+
|
|
135
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
136
|
+
|
|
137
|
+
📥 Fetching latest files...
|
|
138
|
+
✓ Latest files fetched
|
|
139
|
+
|
|
140
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
141
|
+
|
|
142
|
+
📝 Updating files...
|
|
143
|
+
✓ Updated AGENT.md (1.0.3 → 1.1.0)
|
|
144
|
+
✓ Updated design templates
|
|
145
|
+
✓ Updated milestone templates
|
|
146
|
+
✓ Updated pattern templates
|
|
147
|
+
✓ Updated task templates
|
|
148
|
+
✓ Updated command template
|
|
149
|
+
✓ Updated core commands (3 files)
|
|
150
|
+
✓ Updated progress template
|
|
151
|
+
✓ Updated utility scripts
|
|
152
|
+
|
|
153
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
154
|
+
|
|
155
|
+
✅ Update complete!
|
|
156
|
+
|
|
157
|
+
Version: 1.0.3 → 1.1.0
|
|
158
|
+
Files updated: 15
|
|
159
|
+
|
|
160
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
161
|
+
|
|
162
|
+
🎯 Next steps:
|
|
163
|
+
1. Review changes: git diff
|
|
164
|
+
2. See what changed: git status
|
|
165
|
+
3. Revert if needed: git checkout <file>
|
|
166
|
+
4. Read changelog: @acp-version-check
|
|
167
|
+
|
|
168
|
+
📚 Full changelog:
|
|
169
|
+
https://github.com/prmichaelsen/agent-context-protocol/blob/mainline/CHANGELOG.md
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Status Update
|
|
173
|
+
- ACP version: 1.0.3 → 1.1.0
|
|
174
|
+
- Template files updated
|
|
175
|
+
- Scripts updated
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Examples
|
|
180
|
+
|
|
181
|
+
### Example 1: Applying Available Update
|
|
182
|
+
|
|
183
|
+
**Context**: `@acp-version-check-for-updates` reported version 1.1.0 available
|
|
184
|
+
|
|
185
|
+
**Invocation**: `@acp-version-update`
|
|
186
|
+
|
|
187
|
+
**Result**: Updates from 1.0.3 to 1.1.0, shows 15 files updated, suggests reviewing changes with git diff
|
|
188
|
+
|
|
189
|
+
### Example 2: Already Up to Date
|
|
190
|
+
|
|
191
|
+
**Context**: Running update when already on latest version
|
|
192
|
+
|
|
193
|
+
**Invocation**: `@acp-version-update`
|
|
194
|
+
|
|
195
|
+
**Result**: Script reports already up to date, no files modified
|
|
196
|
+
|
|
197
|
+
### Example 3: Update with Git Review
|
|
198
|
+
|
|
199
|
+
**Context**: Want to see exactly what changed
|
|
200
|
+
|
|
201
|
+
**Invocation**: `@acp-version-update` then `git diff`
|
|
202
|
+
|
|
203
|
+
**Result**: Updates applied, git diff shows line-by-line changes, can revert specific files if needed
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Related Commands
|
|
208
|
+
|
|
209
|
+
- [`@acp-version-check-for-updates`](acp.version-check-for-updates.md) - Check before updating
|
|
210
|
+
- [`@acp-version-check`](acp.version-check.md) - Verify version after updating
|
|
211
|
+
- [`@acp-init`](acp.init.md) - Reload context after updating
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## Troubleshooting
|
|
216
|
+
|
|
217
|
+
### Issue 1: Script not found
|
|
218
|
+
|
|
219
|
+
**Symptom**: Error "update.sh not found"
|
|
220
|
+
|
|
221
|
+
**Cause**: Older ACP installation without update scripts
|
|
222
|
+
|
|
223
|
+
**Solution**: Manually download latest AGENT.md from repository, or install update scripts
|
|
224
|
+
|
|
225
|
+
### Issue 2: Network error
|
|
226
|
+
|
|
227
|
+
**Symptom**: Error "Cannot fetch repository"
|
|
228
|
+
|
|
229
|
+
**Cause**: No internet connection or GitHub unavailable
|
|
230
|
+
|
|
231
|
+
**Solution**: Check internet connection and try again later
|
|
232
|
+
|
|
233
|
+
### Issue 3: Permission denied
|
|
234
|
+
|
|
235
|
+
**Symptom**: Error "Permission denied" when running script
|
|
236
|
+
|
|
237
|
+
**Cause**: Script not executable
|
|
238
|
+
|
|
239
|
+
**Solution**: Run `chmod +x agent/scripts/update.sh` to make it executable
|
|
240
|
+
|
|
241
|
+
### Issue 4: Merge conflicts
|
|
242
|
+
|
|
243
|
+
**Symptom**: Git reports conflicts after update
|
|
244
|
+
|
|
245
|
+
**Cause**: Local modifications to template files
|
|
246
|
+
|
|
247
|
+
**Solution**: Review conflicts, keep your changes or accept updates, resolve conflicts manually
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## Security Considerations
|
|
252
|
+
|
|
253
|
+
### File Access
|
|
254
|
+
- **Reads**: Current ACP files to determine what to update
|
|
255
|
+
- **Writes**: AGENT.md, all template files, utility scripts
|
|
256
|
+
- **Executes**: `./agent/scripts/update.sh`
|
|
257
|
+
|
|
258
|
+
### Network Access
|
|
259
|
+
- **APIs**: GitHub API (via update script)
|
|
260
|
+
- **Repositories**: Clones ACP repository to temporary directory
|
|
261
|
+
|
|
262
|
+
### Sensitive Data
|
|
263
|
+
- **Secrets**: Does not access any secrets or credentials
|
|
264
|
+
- **Credentials**: Does not access any credentials
|
|
265
|
+
- **Project Files**: Does not modify your project-specific files (non-templates)
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## Notes
|
|
270
|
+
|
|
271
|
+
- **Backup recommended**: Commit changes before updating
|
|
272
|
+
- **Reversible**: Use `git checkout <file>` to revert specific files
|
|
273
|
+
- **Template-only**: Only updates `.template.md` files and core ACP files
|
|
274
|
+
- **Preserves your work**: Your project-specific files are not touched
|
|
275
|
+
- **Safe operation**: Can be reverted via git
|
|
276
|
+
- **Git-friendly**: Creates clean diffs for review
|
|
277
|
+
- **Run after update**: Consider running `@acp-init` to reload context
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
**Namespace**: acp
|
|
282
|
+
**Command**: version-update
|
|
283
|
+
**Version**: 1.0.0
|
|
284
|
+
**Created**: 2026-02-16
|
|
285
|
+
**Last Updated**: 2026-02-16
|
|
286
|
+
**Status**: Active
|
|
287
|
+
**Compatibility**: ACP 1.0.3+
|
|
288
|
+
**Author**: ACP Project
|