@codemcp/workflows 6.13.5 → 6.14.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/package.json +2 -2
- package/packages/cli/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/packages/docs/package.json +1 -1
- package/packages/mcp-server/package.json +1 -1
- package/packages/opencode-plugin/dist/index.js +15 -2
- package/packages/opencode-plugin/package.json +1 -1
- package/packages/opencode-tui-plugin/package.json +1 -1
- package/packages/visualizer/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemcp/workflows",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.0",
|
|
4
4
|
"description": "A Model Context Protocol server that acts as an intelligent conversation state manager and development guide for LLMs, featuring comprehensive long-term memory with persistent project artifacts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "packages/cli/dist/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"typescript": "^5.9.3",
|
|
52
52
|
"vitepress": "^1.6.4",
|
|
53
53
|
"vitest": "4.0.18",
|
|
54
|
-
"@codemcp/workflows-core": "6.
|
|
54
|
+
"@codemcp/workflows-core": "6.14.0"
|
|
55
55
|
},
|
|
56
56
|
"lint-staged": {
|
|
57
57
|
"*.{ts,js,mts,cts,tsx,jsx}": [
|
|
@@ -28965,7 +28965,7 @@ ${phaseInstructions}`
|
|
|
28965
28965
|
* an error if the agent is not allowed to use workflows.
|
|
28966
28966
|
*/
|
|
28967
28967
|
tool: await (async () => {
|
|
28968
|
-
const wrap = (def) => ({
|
|
28968
|
+
const wrap = (toolName, def) => ({
|
|
28969
28969
|
...def,
|
|
28970
28970
|
execute: async (args, ctx) => {
|
|
28971
28971
|
const agent = ctx.agent;
|
|
@@ -28974,11 +28974,18 @@ ${phaseInstructions}`
|
|
|
28974
28974
|
`Workflows are not enabled for this agent (${agent}). Set WORKFLOW_AGENTS environment variable to include this agent, or use a different agent.`
|
|
28975
28975
|
);
|
|
28976
28976
|
}
|
|
28977
|
+
await ctx.ask({
|
|
28978
|
+
permission: toolName,
|
|
28979
|
+
patterns: ["*"],
|
|
28980
|
+
always: ["*"],
|
|
28981
|
+
metadata: {}
|
|
28982
|
+
});
|
|
28977
28983
|
return def.execute(args, ctx);
|
|
28978
28984
|
}
|
|
28979
28985
|
});
|
|
28980
28986
|
return {
|
|
28981
28987
|
start_development: wrap(
|
|
28988
|
+
"start_development",
|
|
28982
28989
|
createStartDevelopmentTool(
|
|
28983
28990
|
input.directory,
|
|
28984
28991
|
getServerContext,
|
|
@@ -28986,6 +28993,7 @@ ${phaseInstructions}`
|
|
|
28986
28993
|
)
|
|
28987
28994
|
),
|
|
28988
28995
|
proceed_to_phase: wrap(
|
|
28996
|
+
"proceed_to_phase",
|
|
28989
28997
|
createProceedToPhaseTool(
|
|
28990
28998
|
getServerContext,
|
|
28991
28999
|
setBufferedInstructions,
|
|
@@ -28993,11 +29001,16 @@ ${phaseInstructions}`
|
|
|
28993
29001
|
() => lastKnownModel
|
|
28994
29002
|
)
|
|
28995
29003
|
),
|
|
28996
|
-
conduct_review: wrap(
|
|
29004
|
+
conduct_review: wrap(
|
|
29005
|
+
"conduct_review",
|
|
29006
|
+
createConductReviewTool(getServerContext)
|
|
29007
|
+
),
|
|
28997
29008
|
reset_development: wrap(
|
|
29009
|
+
"reset_development",
|
|
28998
29010
|
createResetDevelopmentTool(input.directory, getServerContext)
|
|
28999
29011
|
),
|
|
29000
29012
|
setup_project_docs: wrap(
|
|
29013
|
+
"setup_project_docs",
|
|
29001
29014
|
await createSetupProjectDocsTool(input.directory, getServerContext)
|
|
29002
29015
|
)
|
|
29003
29016
|
};
|