@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,273 @@
|
|
|
1
|
+
# Command: {command-name}
|
|
2
|
+
|
|
3
|
+
> **🤖 Agent Directive**: If you are reading this file, the command `@{namespace}-{command-name}` has been invoked. Follow the steps below to execute this command.
|
|
4
|
+
|
|
5
|
+
**Namespace**: {namespace}
|
|
6
|
+
**Version**: 1.0.0
|
|
7
|
+
**Created**: YYYY-MM-DD
|
|
8
|
+
**Last Updated**: YYYY-MM-DD
|
|
9
|
+
**Status**: [Draft | Active | Deprecated]
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
**Purpose**: [One-line description of what this command does]
|
|
14
|
+
**Category**: [Workflow | Documentation | Maintenance | Creation | Custom]
|
|
15
|
+
**Frequency**: [Once | Per Session | As Needed | Continuous]
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## What This Command Does
|
|
20
|
+
|
|
21
|
+
[2-3 paragraph explanation of:
|
|
22
|
+
- What the command accomplishes
|
|
23
|
+
- When to use it
|
|
24
|
+
- What problems it solves
|
|
25
|
+
- Any important context]
|
|
26
|
+
|
|
27
|
+
**Example**: "This command initializes the agent context by reading all documentation in the agent/ directory, reviewing key source files, and updating progress tracking. Use this at the start of each session to ensure the agent has complete project context."
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Prerequisites
|
|
32
|
+
|
|
33
|
+
[List any requirements before running this command:]
|
|
34
|
+
|
|
35
|
+
- [ ] Prerequisite 1 (e.g., "Docker must be installed")
|
|
36
|
+
- [ ] Prerequisite 2 (e.g., "AWS credentials configured")
|
|
37
|
+
- [ ] Prerequisite 3 (e.g., "Build completed successfully")
|
|
38
|
+
|
|
39
|
+
**Example** (for a deployment command):
|
|
40
|
+
- [ ] Docker installed and running
|
|
41
|
+
- [ ] AWS CLI configured with valid credentials
|
|
42
|
+
- [ ] Application built successfully (`npm run build` completed)
|
|
43
|
+
- [ ] Environment variables configured in `.env.production`
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Steps
|
|
48
|
+
|
|
49
|
+
[Detailed, sequential steps the agent should follow:]
|
|
50
|
+
|
|
51
|
+
### 1. [Step Name]
|
|
52
|
+
|
|
53
|
+
[Description of what to do in this step]
|
|
54
|
+
|
|
55
|
+
**Actions**:
|
|
56
|
+
- Action item 1
|
|
57
|
+
- Action item 2
|
|
58
|
+
- Action item 3
|
|
59
|
+
|
|
60
|
+
**Expected Outcome**: [What should happen after this step]
|
|
61
|
+
|
|
62
|
+
**Example**:
|
|
63
|
+
```bash
|
|
64
|
+
# If shell commands needed
|
|
65
|
+
command --with-flags
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
// If code examples needed
|
|
70
|
+
const example = "code";
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### 2. [Next Step]
|
|
74
|
+
|
|
75
|
+
[Description of what to do]
|
|
76
|
+
|
|
77
|
+
**Actions**:
|
|
78
|
+
- Action item 1
|
|
79
|
+
- Action item 2
|
|
80
|
+
|
|
81
|
+
**Expected Outcome**: [What should happen]
|
|
82
|
+
|
|
83
|
+
### 3. [Next Step]
|
|
84
|
+
|
|
85
|
+
[Continue with additional steps as needed]
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Verification
|
|
90
|
+
|
|
91
|
+
[Checklist to confirm command executed successfully:]
|
|
92
|
+
|
|
93
|
+
- [ ] Verification item 1: [Specific condition to check]
|
|
94
|
+
- [ ] Verification item 2: [Specific condition to check]
|
|
95
|
+
- [ ] Verification item 3: [Specific condition to check]
|
|
96
|
+
- [ ] Verification item 4: [Specific condition to check]
|
|
97
|
+
|
|
98
|
+
**Example**:
|
|
99
|
+
- [ ] All agent files read successfully
|
|
100
|
+
- [ ] Key source files identified and reviewed
|
|
101
|
+
- [ ] `agent/progress.yaml` updated with current status
|
|
102
|
+
- [ ] No errors encountered during execution
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Expected Output
|
|
107
|
+
|
|
108
|
+
[Describe what the user should see after command execution:]
|
|
109
|
+
|
|
110
|
+
### Files Modified
|
|
111
|
+
- `path/to/file1` - [What changed]
|
|
112
|
+
- `path/to/file2` - [What changed]
|
|
113
|
+
|
|
114
|
+
### Console Output
|
|
115
|
+
```
|
|
116
|
+
Example output message or status report
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Status Update
|
|
120
|
+
[Description of any status changes in progress.yaml or other tracking]
|
|
121
|
+
|
|
122
|
+
**Example**:
|
|
123
|
+
|
|
124
|
+
### Files Modified
|
|
125
|
+
- `agent/progress.yaml` - Updated current status and recent work
|
|
126
|
+
|
|
127
|
+
### Console Output
|
|
128
|
+
```
|
|
129
|
+
✓ Read 15 agent files
|
|
130
|
+
✓ Reviewed 8 source files
|
|
131
|
+
✓ Updated progress tracking
|
|
132
|
+
✓ Ready to proceed with task-3
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Status Update
|
|
136
|
+
- Current milestone: M1 (Foundation)
|
|
137
|
+
- Current task: task-3 (Implement core logic)
|
|
138
|
+
- Progress: 40% complete
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Examples
|
|
143
|
+
|
|
144
|
+
### Example 1: [Scenario Name]
|
|
145
|
+
|
|
146
|
+
**Context**: [When you'd use this command in this way]
|
|
147
|
+
|
|
148
|
+
**Invocation**: `@{namespace}-{command-name}`
|
|
149
|
+
|
|
150
|
+
**Result**: [What happens]
|
|
151
|
+
|
|
152
|
+
**Example**:
|
|
153
|
+
|
|
154
|
+
### Example 1: Starting Fresh Session
|
|
155
|
+
|
|
156
|
+
**Context**: Beginning work on a project after a break
|
|
157
|
+
|
|
158
|
+
**Invocation**: `@acp-init`
|
|
159
|
+
|
|
160
|
+
**Result**: Agent reads all documentation, reviews source code, updates progress tracking, and reports current status with next steps.
|
|
161
|
+
|
|
162
|
+
### Example 2: [Another Scenario]
|
|
163
|
+
|
|
164
|
+
**Context**: [Different use case]
|
|
165
|
+
|
|
166
|
+
**Invocation**: `@{namespace}-{command-name}`
|
|
167
|
+
|
|
168
|
+
**Result**: [What happens]
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Related Commands
|
|
173
|
+
|
|
174
|
+
[Link to related commands and explain relationships:]
|
|
175
|
+
|
|
176
|
+
- [`@{namespace}-{related-command}`](../{namespace}/{related-command}.md) - [When to use instead or in combination]
|
|
177
|
+
- [`@{namespace}-{another-command}`](../{namespace}/{another-command}.md) - [How it relates]
|
|
178
|
+
|
|
179
|
+
**Example**:
|
|
180
|
+
- [`@acp-proceed`](../acp/proceed.md) - Use after `@acp-init` to start working on tasks
|
|
181
|
+
- [`@acp-status`](../acp/status.md) - Use to check current status without full initialization
|
|
182
|
+
- [`@acp-sync`](../acp/sync.md) - Use to update documentation after code changes
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Troubleshooting
|
|
187
|
+
|
|
188
|
+
### Issue 1: [Common Problem]
|
|
189
|
+
|
|
190
|
+
**Symptom**: [What the user sees]
|
|
191
|
+
|
|
192
|
+
**Cause**: [Why this happens]
|
|
193
|
+
|
|
194
|
+
**Solution**: [How to fix it]
|
|
195
|
+
|
|
196
|
+
**Example** (for a deployment command):
|
|
197
|
+
|
|
198
|
+
### Issue 1: Deployment fails with authentication error
|
|
199
|
+
|
|
200
|
+
**Symptom**: Error message "AWS credentials not found"
|
|
201
|
+
|
|
202
|
+
**Cause**: AWS CLI not configured or credentials expired
|
|
203
|
+
|
|
204
|
+
**Solution**: Run `aws configure` to set up credentials, or refresh your AWS SSO session with `aws sso login`
|
|
205
|
+
|
|
206
|
+
### Issue 2: [Another Common Problem]
|
|
207
|
+
|
|
208
|
+
**Symptom**: [What the user sees]
|
|
209
|
+
|
|
210
|
+
**Cause**: [Why this happens]
|
|
211
|
+
|
|
212
|
+
**Solution**: [How to fix it]
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## Security Considerations
|
|
217
|
+
|
|
218
|
+
[Document any security implications of this command:]
|
|
219
|
+
|
|
220
|
+
### File Access
|
|
221
|
+
- **Reads**: [What files this command reads]
|
|
222
|
+
- **Writes**: [What files this command modifies]
|
|
223
|
+
- **Executes**: [Any scripts or commands this executes]
|
|
224
|
+
|
|
225
|
+
### Network Access
|
|
226
|
+
- **APIs**: [Any external APIs called]
|
|
227
|
+
- **Repositories**: [Any git operations]
|
|
228
|
+
|
|
229
|
+
### Sensitive Data
|
|
230
|
+
- **Secrets**: [How this command handles secrets - should never read them]
|
|
231
|
+
- **Credentials**: [How this command handles credentials]
|
|
232
|
+
|
|
233
|
+
**Example**:
|
|
234
|
+
|
|
235
|
+
### File Access
|
|
236
|
+
- **Reads**: All files in `agent/` directory, key source files in `src/`
|
|
237
|
+
- **Writes**: `agent/progress.yaml` only
|
|
238
|
+
- **Executes**: None
|
|
239
|
+
|
|
240
|
+
### Network Access
|
|
241
|
+
- **APIs**: None
|
|
242
|
+
- **Repositories**: None
|
|
243
|
+
|
|
244
|
+
### Sensitive Data
|
|
245
|
+
- **Secrets**: Never reads `.env` files or credential files
|
|
246
|
+
- **Credentials**: Does not access any credentials
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## Notes
|
|
251
|
+
|
|
252
|
+
[Any additional context, warnings, or considerations:]
|
|
253
|
+
|
|
254
|
+
- Note 1: [Important information]
|
|
255
|
+
- Note 2: [Important information]
|
|
256
|
+
- Note 3: [Important information]
|
|
257
|
+
|
|
258
|
+
**Example**:
|
|
259
|
+
- This command should be run at the start of each session
|
|
260
|
+
- Reading all agent files may take 30-60 seconds for large projects
|
|
261
|
+
- If source code is very large, consider specifying which files to review
|
|
262
|
+
- Always review the output to ensure context was loaded correctly
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
**Namespace**: {namespace}
|
|
267
|
+
**Command**: {command-name}
|
|
268
|
+
**Version**: 1.0.0
|
|
269
|
+
**Created**: YYYY-MM-DD
|
|
270
|
+
**Last Updated**: YYYY-MM-DD
|
|
271
|
+
**Status**: [Draft | Active | Deprecated]
|
|
272
|
+
**Compatibility**: ACP 1.1.0+
|
|
273
|
+
**Author**: [Your name or organization]
|