@programinglive/dev-workflow-mcp-server 1.5.2 → 1.5.3
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/.agent/workflows/dev-workflow-bugfix.md +250 -250
- package/.agent/workflows/dev-workflow-feature.md +201 -201
- package/.agent/workflows/dev-workflow-full-cycle.md +400 -400
- package/.agent/workflows/dev-workflow-refactor.md +238 -238
- package/.github/ISSUE_TEMPLATE/bug_report.md +34 -34
- package/.github/ISSUE_TEMPLATE/feature_request.md +25 -25
- package/.github/pull_request_template.md +22 -22
- package/.github/workflows/npm-publish.yml +50 -50
- package/.husky/commit-msg +0 -0
- package/CHANGELOG.md +748 -741
- package/CODE_OF_CONDUCT.md +79 -79
- package/CONTRIBUTING.md +60 -60
- package/LICENSE +21 -21
- package/README.md +632 -632
- package/SECURITY.md +20 -20
- package/db/index.js +204 -204
- package/docs/NETLIFY_DEPLOYMENT.md +125 -125
- package/docs/PLESK_DEPLOYMENT.md +170 -170
- package/docs/WORKFLOW-BEST-PRACTICES.md +58 -58
- package/docs/antigravity/EXAMPLES.md +535 -535
- package/docs/antigravity/GETTING-STARTED.md +292 -292
- package/docs/antigravity/TROUBLESHOOTING.md +742 -742
- package/docs/antigravity/WALKTHROUGH.md +25 -25
- package/docs/antigravity/WORKFLOW-TEMPLATES.md +670 -670
- package/docs/product/PRD.md +67 -67
- package/docs/release-notes/RELEASE_NOTES.md +226 -226
- package/docs/web-dashboard.md +175 -175
- package/exec.js +49 -49
- package/index.js +279 -279
- package/install.js +73 -73
- package/package.json +8 -8
- package/release-wrapper.js +192 -192
- package/scripts/build-docs.js +63 -63
- package/scripts/hello-world.js +1 -1
- package/scripts/release.cjs +252 -252
- package/scripts/release.js +252 -0
- package/scripts/update-release-notes.cjs +178 -178
- package/scripts/update-release-notes.js +182 -0
- package/server.json +23 -23
- package/tailwind.config.js +8 -8
- package/tests/build.test.js +83 -83
- package/tests/exec.test.js +35 -35
- package/tests/handlers.test.js +1058 -1058
- package/tests/hello-world.test.js +13 -13
- package/tests/mcpRegistry.test.js +65 -65
- package/tests/patch-release.test.js +7 -0
- package/tests/release-wrapper.test.js +107 -107
- package/tests/workflowState.test.js +505 -505
- package/tools/definitions.js +332 -332
- package/tools/handlers.js +1019 -1019
- package/vite.config.js +43 -43
- package/vite.web.config.js +23 -23
- package/web/README.md +36 -36
- package/web/app/docs/page.tsx +202 -202
- package/web/app/globals.css +90 -90
- package/web/app/layout.tsx +36 -36
- package/web/app/page.tsx +15 -15
- package/web/components/ApiReference.tsx +20 -20
- package/web/components/Features.tsx +61 -61
- package/web/components/Footer.tsx +9 -9
- package/web/components/Hero.tsx +96 -96
- package/web/components/History.tsx +143 -143
- package/web/components/Navbar.tsx +64 -64
- package/web/components/Terminal.tsx +114 -114
- package/web/eslint.config.mjs +18 -18
- package/web/lib/db.js +131 -131
- package/web/lib/docs.js +73 -73
- package/web/netlify.toml +3 -3
- package/web/next.config.ts +12 -12
- package/web/package-lock.json +6560 -6560
- package/web/package.json +28 -28
- package/web/postcss.config.mjs +9 -9
- package/web/server.js +31 -31
- package/web/tailwind.config.ts +19 -19
- package/web/tsconfig.json +42 -42
- package/workflow-state.js +612 -612
package/tools/definitions.js
CHANGED
|
@@ -1,332 +1,332 @@
|
|
|
1
|
-
export function getToolList() {
|
|
2
|
-
return [
|
|
3
|
-
{
|
|
4
|
-
name: "start_task",
|
|
5
|
-
description:
|
|
6
|
-
"Start a new coding task. This is the first step - be conscious about what you're coding.",
|
|
7
|
-
inputSchema: {
|
|
8
|
-
type: "object",
|
|
9
|
-
properties: {
|
|
10
|
-
description: {
|
|
11
|
-
type: "string",
|
|
12
|
-
description: "Clear description of what you're going to code",
|
|
13
|
-
},
|
|
14
|
-
type: {
|
|
15
|
-
type: "string",
|
|
16
|
-
enum: ["feature", "bugfix", "refactor", "other"],
|
|
17
|
-
description: "Type of task",
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
required: ["description", "type"],
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
name: "mark_bug_fixed",
|
|
25
|
-
description:
|
|
26
|
-
"Mark that the bug/feature is fixed. Reminder: Now you MUST create tests!",
|
|
27
|
-
inputSchema: {
|
|
28
|
-
type: "object",
|
|
29
|
-
properties: {
|
|
30
|
-
summary: {
|
|
31
|
-
type: "string",
|
|
32
|
-
description: "Brief summary of what was fixed/implemented",
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
required: ["summary"],
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
name: "create_tests",
|
|
40
|
-
description: "Mark that tests covering the change have been created.",
|
|
41
|
-
inputSchema: {
|
|
42
|
-
type: "object",
|
|
43
|
-
properties: {},
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: "skip_tests",
|
|
48
|
-
description:
|
|
49
|
-
"Record that tests were intentionally skipped, with a justification.",
|
|
50
|
-
inputSchema: {
|
|
51
|
-
type: "object",
|
|
52
|
-
properties: {
|
|
53
|
-
reason: {
|
|
54
|
-
type: "string",
|
|
55
|
-
description: "Why tests cannot be created or executed",
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
required: ["reason"],
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
name: "run_tests",
|
|
63
|
-
description:
|
|
64
|
-
"Record test results. NEVER commit if tests fail! Only proceed if all tests are green.",
|
|
65
|
-
inputSchema: {
|
|
66
|
-
type: "object",
|
|
67
|
-
properties: {
|
|
68
|
-
passed: {
|
|
69
|
-
type: "boolean",
|
|
70
|
-
description: "Did all tests pass?",
|
|
71
|
-
},
|
|
72
|
-
testCommand: {
|
|
73
|
-
type: "string",
|
|
74
|
-
description: "The test command that was run",
|
|
75
|
-
},
|
|
76
|
-
details: {
|
|
77
|
-
type: "string",
|
|
78
|
-
description: "Test results details",
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
required: ["passed", "testCommand"],
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: "create_documentation",
|
|
86
|
-
description:
|
|
87
|
-
"Mark that documentation has been created/updated. This is required before committing.",
|
|
88
|
-
inputSchema: {
|
|
89
|
-
type: "object",
|
|
90
|
-
properties: {
|
|
91
|
-
documentationType: {
|
|
92
|
-
type: "string",
|
|
93
|
-
enum: ["PRD", "README", "RELEASE_NOTES", "inline-comments", "API-docs", "changelog", "other"],
|
|
94
|
-
description: "Type of documentation created",
|
|
95
|
-
},
|
|
96
|
-
summary: {
|
|
97
|
-
type: "string",
|
|
98
|
-
description: "What was documented",
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
required: ["documentationType", "summary"],
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
name: "check_ready_to_commit",
|
|
106
|
-
description:
|
|
107
|
-
"Check if all workflow steps are completed and you're ready to commit & push.",
|
|
108
|
-
inputSchema: {
|
|
109
|
-
type: "object",
|
|
110
|
-
properties: {},
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
name: "commit_and_push",
|
|
115
|
-
description:
|
|
116
|
-
"Automatically run git add, commit, and push once the ready check passes.",
|
|
117
|
-
inputSchema: {
|
|
118
|
-
type: "object",
|
|
119
|
-
properties: {
|
|
120
|
-
commitMessage: {
|
|
121
|
-
type: "string",
|
|
122
|
-
description: "Commit message to use",
|
|
123
|
-
},
|
|
124
|
-
branch: {
|
|
125
|
-
type: "string",
|
|
126
|
-
description: "Optional branch name to push to (defaults to current branch)",
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
required: [],
|
|
130
|
-
},
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
name: "perform_release",
|
|
134
|
-
description:
|
|
135
|
-
"Record release details after committing and pushing your changes.",
|
|
136
|
-
inputSchema: {
|
|
137
|
-
type: "object",
|
|
138
|
-
properties: {
|
|
139
|
-
command: {
|
|
140
|
-
type: "string",
|
|
141
|
-
description: "Release command that was executed",
|
|
142
|
-
},
|
|
143
|
-
notes: {
|
|
144
|
-
type: "string",
|
|
145
|
-
description: "Optional release notes",
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
required: ["command"],
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
name: "complete_task",
|
|
153
|
-
description:
|
|
154
|
-
"Mark the task as complete after successful commit & push. Resets workflow for next task.",
|
|
155
|
-
inputSchema: {
|
|
156
|
-
type: "object",
|
|
157
|
-
properties: {
|
|
158
|
-
commitMessage: {
|
|
159
|
-
type: "string",
|
|
160
|
-
description: "The commit message used",
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
required: ["commitMessage"],
|
|
164
|
-
},
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
name: "force_complete_task",
|
|
168
|
-
description:
|
|
169
|
-
"Force completion of the current task even if workflow steps are incomplete. Records history entry and resets the workflow.",
|
|
170
|
-
inputSchema: {
|
|
171
|
-
type: "object",
|
|
172
|
-
properties: {
|
|
173
|
-
commitMessage: {
|
|
174
|
-
type: "string",
|
|
175
|
-
description: "Commit message or summary to record (optional)",
|
|
176
|
-
},
|
|
177
|
-
reason: {
|
|
178
|
-
type: "string",
|
|
179
|
-
description: "Why the task was force completed",
|
|
180
|
-
},
|
|
181
|
-
},
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
name: "drop_task",
|
|
186
|
-
description:
|
|
187
|
-
"Abandon the current task and reset the workflow without completing it.",
|
|
188
|
-
inputSchema: {
|
|
189
|
-
type: "object",
|
|
190
|
-
properties: {
|
|
191
|
-
reason: {
|
|
192
|
-
type: "string",
|
|
193
|
-
description: "Optional explanation for dropping the task",
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
name: "get_workflow_status",
|
|
200
|
-
description: "Get current workflow status and what needs to be done next.",
|
|
201
|
-
inputSchema: {
|
|
202
|
-
type: "object",
|
|
203
|
-
properties: {},
|
|
204
|
-
},
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
name: "view_history",
|
|
208
|
-
description: "View workflow history of completed tasks.",
|
|
209
|
-
inputSchema: {
|
|
210
|
-
type: "object",
|
|
211
|
-
properties: {
|
|
212
|
-
limit: {
|
|
213
|
-
type: "number",
|
|
214
|
-
description: "Number of recent tasks to show (default: 10)",
|
|
215
|
-
},
|
|
216
|
-
},
|
|
217
|
-
},
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
name: "continue_workflow",
|
|
221
|
-
description:
|
|
222
|
-
"Get guidance on the next workflow step. Automatically performs the ready check when appropriate.",
|
|
223
|
-
inputSchema: {
|
|
224
|
-
type: "object",
|
|
225
|
-
properties: {},
|
|
226
|
-
},
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
name: "rerun_workflow",
|
|
230
|
-
description:
|
|
231
|
-
"Reset and restart the current task from the beginning. Useful when you want to replay the entire workflow from start to finish.",
|
|
232
|
-
inputSchema: {
|
|
233
|
-
type: "object",
|
|
234
|
-
properties: {},
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
name: "run_full_workflow",
|
|
239
|
-
description:
|
|
240
|
-
"Execute every workflow step in sequence using the provided arguments (mark fixed → tests → run tests → docs → ready check → commit → release → complete).",
|
|
241
|
-
inputSchema: {
|
|
242
|
-
type: "object",
|
|
243
|
-
properties: {
|
|
244
|
-
summary: {
|
|
245
|
-
type: "string",
|
|
246
|
-
description: "Brief summary recorded when marking the bug/feature as fixed",
|
|
247
|
-
},
|
|
248
|
-
testsPassed: {
|
|
249
|
-
type: "boolean",
|
|
250
|
-
description: "Whether tests passed (defaults to true)",
|
|
251
|
-
},
|
|
252
|
-
testCommand: {
|
|
253
|
-
type: "string",
|
|
254
|
-
description: "Command used to run tests",
|
|
255
|
-
},
|
|
256
|
-
testDetails: {
|
|
257
|
-
type: "string",
|
|
258
|
-
description: "Additional test output or notes",
|
|
259
|
-
},
|
|
260
|
-
documentationType: {
|
|
261
|
-
type: "string",
|
|
262
|
-
enum: ["PRD", "README", "RELEASE_NOTES", "inline-comments", "API-docs", "changelog", "other"],
|
|
263
|
-
description: "Type of documentation created",
|
|
264
|
-
},
|
|
265
|
-
documentationSummary: {
|
|
266
|
-
type: "string",
|
|
267
|
-
description: "Summary of documentation updates",
|
|
268
|
-
},
|
|
269
|
-
commitMessage: {
|
|
270
|
-
type: "string",
|
|
271
|
-
description: "Commit message used for commit_and_push and complete_task",
|
|
272
|
-
},
|
|
273
|
-
branch: {
|
|
274
|
-
type: "string",
|
|
275
|
-
description: "Optional branch name to push to",
|
|
276
|
-
},
|
|
277
|
-
releaseCommand: {
|
|
278
|
-
type: "string",
|
|
279
|
-
description: "Release command executed during perform_release",
|
|
280
|
-
},
|
|
281
|
-
releaseNotes: {
|
|
282
|
-
type: "string",
|
|
283
|
-
description: "Optional release notes to record",
|
|
284
|
-
},
|
|
285
|
-
releaseType: {
|
|
286
|
-
type: "string",
|
|
287
|
-
description: "Optional release type override (major/minor/patch)",
|
|
288
|
-
},
|
|
289
|
-
preset: {
|
|
290
|
-
type: "string",
|
|
291
|
-
description: "Optional preset argument for perform_release",
|
|
292
|
-
},
|
|
293
|
-
},
|
|
294
|
-
required: [
|
|
295
|
-
"summary",
|
|
296
|
-
"testCommand",
|
|
297
|
-
"documentationType",
|
|
298
|
-
"documentationSummary",
|
|
299
|
-
"commitMessage",
|
|
300
|
-
"releaseCommand",
|
|
301
|
-
],
|
|
302
|
-
},
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
name: "project_summary",
|
|
306
|
-
description:
|
|
307
|
-
"Get a project knowledge summary that aggregates completed tasks, task types, and recent activity to help understand the project and fix bugs faster over time.",
|
|
308
|
-
inputSchema: {
|
|
309
|
-
type: "object",
|
|
310
|
-
properties: {},
|
|
311
|
-
},
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
name: "project_summary_data",
|
|
315
|
-
description:
|
|
316
|
-
"Get the persisted project knowledge summary from a structured JSON file (project-summary.json). Falls back to in-memory if the file doesn't exist. This file can be used as a simple database for future features.",
|
|
317
|
-
inputSchema: {
|
|
318
|
-
type: "object",
|
|
319
|
-
properties: {},
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
name: "project_summary_db",
|
|
324
|
-
description:
|
|
325
|
-
"Get the per-user project knowledge summary from SQLite. Use DEV_WORKFLOW_USER_ID env var to isolate users.",
|
|
326
|
-
inputSchema: {
|
|
327
|
-
type: "object",
|
|
328
|
-
properties: {},
|
|
329
|
-
},
|
|
330
|
-
},
|
|
331
|
-
];
|
|
332
|
-
}
|
|
1
|
+
export function getToolList() {
|
|
2
|
+
return [
|
|
3
|
+
{
|
|
4
|
+
name: "start_task",
|
|
5
|
+
description:
|
|
6
|
+
"Start a new coding task. This is the first step - be conscious about what you're coding.",
|
|
7
|
+
inputSchema: {
|
|
8
|
+
type: "object",
|
|
9
|
+
properties: {
|
|
10
|
+
description: {
|
|
11
|
+
type: "string",
|
|
12
|
+
description: "Clear description of what you're going to code",
|
|
13
|
+
},
|
|
14
|
+
type: {
|
|
15
|
+
type: "string",
|
|
16
|
+
enum: ["feature", "bugfix", "refactor", "other"],
|
|
17
|
+
description: "Type of task",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
required: ["description", "type"],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "mark_bug_fixed",
|
|
25
|
+
description:
|
|
26
|
+
"Mark that the bug/feature is fixed. Reminder: Now you MUST create tests!",
|
|
27
|
+
inputSchema: {
|
|
28
|
+
type: "object",
|
|
29
|
+
properties: {
|
|
30
|
+
summary: {
|
|
31
|
+
type: "string",
|
|
32
|
+
description: "Brief summary of what was fixed/implemented",
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
required: ["summary"],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "create_tests",
|
|
40
|
+
description: "Mark that tests covering the change have been created.",
|
|
41
|
+
inputSchema: {
|
|
42
|
+
type: "object",
|
|
43
|
+
properties: {},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: "skip_tests",
|
|
48
|
+
description:
|
|
49
|
+
"Record that tests were intentionally skipped, with a justification.",
|
|
50
|
+
inputSchema: {
|
|
51
|
+
type: "object",
|
|
52
|
+
properties: {
|
|
53
|
+
reason: {
|
|
54
|
+
type: "string",
|
|
55
|
+
description: "Why tests cannot be created or executed",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
required: ["reason"],
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: "run_tests",
|
|
63
|
+
description:
|
|
64
|
+
"Record test results. NEVER commit if tests fail! Only proceed if all tests are green.",
|
|
65
|
+
inputSchema: {
|
|
66
|
+
type: "object",
|
|
67
|
+
properties: {
|
|
68
|
+
passed: {
|
|
69
|
+
type: "boolean",
|
|
70
|
+
description: "Did all tests pass?",
|
|
71
|
+
},
|
|
72
|
+
testCommand: {
|
|
73
|
+
type: "string",
|
|
74
|
+
description: "The test command that was run",
|
|
75
|
+
},
|
|
76
|
+
details: {
|
|
77
|
+
type: "string",
|
|
78
|
+
description: "Test results details",
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
required: ["passed", "testCommand"],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: "create_documentation",
|
|
86
|
+
description:
|
|
87
|
+
"Mark that documentation has been created/updated. This is required before committing.",
|
|
88
|
+
inputSchema: {
|
|
89
|
+
type: "object",
|
|
90
|
+
properties: {
|
|
91
|
+
documentationType: {
|
|
92
|
+
type: "string",
|
|
93
|
+
enum: ["PRD", "README", "RELEASE_NOTES", "inline-comments", "API-docs", "changelog", "other"],
|
|
94
|
+
description: "Type of documentation created",
|
|
95
|
+
},
|
|
96
|
+
summary: {
|
|
97
|
+
type: "string",
|
|
98
|
+
description: "What was documented",
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
required: ["documentationType", "summary"],
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "check_ready_to_commit",
|
|
106
|
+
description:
|
|
107
|
+
"Check if all workflow steps are completed and you're ready to commit & push.",
|
|
108
|
+
inputSchema: {
|
|
109
|
+
type: "object",
|
|
110
|
+
properties: {},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: "commit_and_push",
|
|
115
|
+
description:
|
|
116
|
+
"Automatically run git add, commit, and push once the ready check passes.",
|
|
117
|
+
inputSchema: {
|
|
118
|
+
type: "object",
|
|
119
|
+
properties: {
|
|
120
|
+
commitMessage: {
|
|
121
|
+
type: "string",
|
|
122
|
+
description: "Commit message to use",
|
|
123
|
+
},
|
|
124
|
+
branch: {
|
|
125
|
+
type: "string",
|
|
126
|
+
description: "Optional branch name to push to (defaults to current branch)",
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
required: [],
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: "perform_release",
|
|
134
|
+
description:
|
|
135
|
+
"Record release details after committing and pushing your changes.",
|
|
136
|
+
inputSchema: {
|
|
137
|
+
type: "object",
|
|
138
|
+
properties: {
|
|
139
|
+
command: {
|
|
140
|
+
type: "string",
|
|
141
|
+
description: "Release command that was executed",
|
|
142
|
+
},
|
|
143
|
+
notes: {
|
|
144
|
+
type: "string",
|
|
145
|
+
description: "Optional release notes",
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
required: ["command"],
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "complete_task",
|
|
153
|
+
description:
|
|
154
|
+
"Mark the task as complete after successful commit & push. Resets workflow for next task.",
|
|
155
|
+
inputSchema: {
|
|
156
|
+
type: "object",
|
|
157
|
+
properties: {
|
|
158
|
+
commitMessage: {
|
|
159
|
+
type: "string",
|
|
160
|
+
description: "The commit message used",
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
required: ["commitMessage"],
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: "force_complete_task",
|
|
168
|
+
description:
|
|
169
|
+
"Force completion of the current task even if workflow steps are incomplete. Records history entry and resets the workflow.",
|
|
170
|
+
inputSchema: {
|
|
171
|
+
type: "object",
|
|
172
|
+
properties: {
|
|
173
|
+
commitMessage: {
|
|
174
|
+
type: "string",
|
|
175
|
+
description: "Commit message or summary to record (optional)",
|
|
176
|
+
},
|
|
177
|
+
reason: {
|
|
178
|
+
type: "string",
|
|
179
|
+
description: "Why the task was force completed",
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: "drop_task",
|
|
186
|
+
description:
|
|
187
|
+
"Abandon the current task and reset the workflow without completing it.",
|
|
188
|
+
inputSchema: {
|
|
189
|
+
type: "object",
|
|
190
|
+
properties: {
|
|
191
|
+
reason: {
|
|
192
|
+
type: "string",
|
|
193
|
+
description: "Optional explanation for dropping the task",
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
name: "get_workflow_status",
|
|
200
|
+
description: "Get current workflow status and what needs to be done next.",
|
|
201
|
+
inputSchema: {
|
|
202
|
+
type: "object",
|
|
203
|
+
properties: {},
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: "view_history",
|
|
208
|
+
description: "View workflow history of completed tasks.",
|
|
209
|
+
inputSchema: {
|
|
210
|
+
type: "object",
|
|
211
|
+
properties: {
|
|
212
|
+
limit: {
|
|
213
|
+
type: "number",
|
|
214
|
+
description: "Number of recent tasks to show (default: 10)",
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
name: "continue_workflow",
|
|
221
|
+
description:
|
|
222
|
+
"Get guidance on the next workflow step. Automatically performs the ready check when appropriate.",
|
|
223
|
+
inputSchema: {
|
|
224
|
+
type: "object",
|
|
225
|
+
properties: {},
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: "rerun_workflow",
|
|
230
|
+
description:
|
|
231
|
+
"Reset and restart the current task from the beginning. Useful when you want to replay the entire workflow from start to finish.",
|
|
232
|
+
inputSchema: {
|
|
233
|
+
type: "object",
|
|
234
|
+
properties: {},
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: "run_full_workflow",
|
|
239
|
+
description:
|
|
240
|
+
"Execute every workflow step in sequence using the provided arguments (mark fixed → tests → run tests → docs → ready check → commit → release → complete).",
|
|
241
|
+
inputSchema: {
|
|
242
|
+
type: "object",
|
|
243
|
+
properties: {
|
|
244
|
+
summary: {
|
|
245
|
+
type: "string",
|
|
246
|
+
description: "Brief summary recorded when marking the bug/feature as fixed",
|
|
247
|
+
},
|
|
248
|
+
testsPassed: {
|
|
249
|
+
type: "boolean",
|
|
250
|
+
description: "Whether tests passed (defaults to true)",
|
|
251
|
+
},
|
|
252
|
+
testCommand: {
|
|
253
|
+
type: "string",
|
|
254
|
+
description: "Command used to run tests",
|
|
255
|
+
},
|
|
256
|
+
testDetails: {
|
|
257
|
+
type: "string",
|
|
258
|
+
description: "Additional test output or notes",
|
|
259
|
+
},
|
|
260
|
+
documentationType: {
|
|
261
|
+
type: "string",
|
|
262
|
+
enum: ["PRD", "README", "RELEASE_NOTES", "inline-comments", "API-docs", "changelog", "other"],
|
|
263
|
+
description: "Type of documentation created",
|
|
264
|
+
},
|
|
265
|
+
documentationSummary: {
|
|
266
|
+
type: "string",
|
|
267
|
+
description: "Summary of documentation updates",
|
|
268
|
+
},
|
|
269
|
+
commitMessage: {
|
|
270
|
+
type: "string",
|
|
271
|
+
description: "Commit message used for commit_and_push and complete_task",
|
|
272
|
+
},
|
|
273
|
+
branch: {
|
|
274
|
+
type: "string",
|
|
275
|
+
description: "Optional branch name to push to",
|
|
276
|
+
},
|
|
277
|
+
releaseCommand: {
|
|
278
|
+
type: "string",
|
|
279
|
+
description: "Release command executed during perform_release",
|
|
280
|
+
},
|
|
281
|
+
releaseNotes: {
|
|
282
|
+
type: "string",
|
|
283
|
+
description: "Optional release notes to record",
|
|
284
|
+
},
|
|
285
|
+
releaseType: {
|
|
286
|
+
type: "string",
|
|
287
|
+
description: "Optional release type override (major/minor/patch)",
|
|
288
|
+
},
|
|
289
|
+
preset: {
|
|
290
|
+
type: "string",
|
|
291
|
+
description: "Optional preset argument for perform_release",
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
required: [
|
|
295
|
+
"summary",
|
|
296
|
+
"testCommand",
|
|
297
|
+
"documentationType",
|
|
298
|
+
"documentationSummary",
|
|
299
|
+
"commitMessage",
|
|
300
|
+
"releaseCommand",
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
name: "project_summary",
|
|
306
|
+
description:
|
|
307
|
+
"Get a project knowledge summary that aggregates completed tasks, task types, and recent activity to help understand the project and fix bugs faster over time.",
|
|
308
|
+
inputSchema: {
|
|
309
|
+
type: "object",
|
|
310
|
+
properties: {},
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
name: "project_summary_data",
|
|
315
|
+
description:
|
|
316
|
+
"Get the persisted project knowledge summary from a structured JSON file (project-summary.json). Falls back to in-memory if the file doesn't exist. This file can be used as a simple database for future features.",
|
|
317
|
+
inputSchema: {
|
|
318
|
+
type: "object",
|
|
319
|
+
properties: {},
|
|
320
|
+
},
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
name: "project_summary_db",
|
|
324
|
+
description:
|
|
325
|
+
"Get the per-user project knowledge summary from SQLite. Use DEV_WORKFLOW_USER_ID env var to isolate users.",
|
|
326
|
+
inputSchema: {
|
|
327
|
+
type: "object",
|
|
328
|
+
properties: {},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
];
|
|
332
|
+
}
|