@codemcp/workflows 6.14.0 → 6.14.1
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.d.ts +3 -1
- package/packages/opencode-plugin/dist/index.js +11 -6
- package/packages/opencode-plugin/package.json +7 -2
- 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.14.
|
|
3
|
+
"version": "6.14.1",
|
|
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.14.
|
|
54
|
+
"@codemcp/workflows-core": "6.14.1"
|
|
55
55
|
},
|
|
56
56
|
"lint-staged": {
|
|
57
57
|
"*.{ts,js,mts,cts,tsx,jsx}": [
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { Effect } from 'effect';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* OpenCode Plugin Types
|
|
@@ -42,6 +43,7 @@ type PluginInput = {
|
|
|
42
43
|
serverUrl: URL;
|
|
43
44
|
$: unknown;
|
|
44
45
|
};
|
|
46
|
+
|
|
45
47
|
type ToolContext = {
|
|
46
48
|
sessionID: string;
|
|
47
49
|
messageID: string;
|
|
@@ -58,7 +60,7 @@ type ToolContext = {
|
|
|
58
60
|
patterns: string[];
|
|
59
61
|
always: string[];
|
|
60
62
|
metadata: Record<string, unknown>;
|
|
61
|
-
}):
|
|
63
|
+
}): Effect.Effect<void>;
|
|
62
64
|
};
|
|
63
65
|
type ToolDefinition = {
|
|
64
66
|
description: string;
|
|
@@ -6790,6 +6790,9 @@ var require_dist = __commonJS({
|
|
|
6790
6790
|
}
|
|
6791
6791
|
});
|
|
6792
6792
|
|
|
6793
|
+
// src/plugin.ts
|
|
6794
|
+
import { Effect } from "effect";
|
|
6795
|
+
|
|
6793
6796
|
// src/tool-handlers/proceed-to-phase.ts
|
|
6794
6797
|
import { z as z5 } from "zod";
|
|
6795
6798
|
|
|
@@ -28974,12 +28977,14 @@ ${phaseInstructions}`
|
|
|
28974
28977
|
`Workflows are not enabled for this agent (${agent}). Set WORKFLOW_AGENTS environment variable to include this agent, or use a different agent.`
|
|
28975
28978
|
);
|
|
28976
28979
|
}
|
|
28977
|
-
await
|
|
28978
|
-
|
|
28979
|
-
|
|
28980
|
-
|
|
28981
|
-
|
|
28982
|
-
|
|
28980
|
+
await Effect.runPromise(
|
|
28981
|
+
ctx.ask({
|
|
28982
|
+
permission: toolName,
|
|
28983
|
+
patterns: ["*"],
|
|
28984
|
+
always: ["*"],
|
|
28985
|
+
metadata: {}
|
|
28986
|
+
})
|
|
28987
|
+
);
|
|
28983
28988
|
return def.execute(args, ctx);
|
|
28984
28989
|
}
|
|
28985
28990
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemcp/workflows-opencode",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.1",
|
|
4
4
|
"description": "OpenCode plugin for structured development workflows",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -29,16 +29,21 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@codemcp/workflows-core": "workspace:*",
|
|
31
31
|
"@codemcp/workflows-server": "workspace:*",
|
|
32
|
+
"effect": "3.21.1",
|
|
32
33
|
"rimraf": "^6.0.1",
|
|
33
34
|
"tsup": "^8.0.0",
|
|
34
35
|
"vitest": "4.0.18"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
|
-
"@anthropic-ai/sdk": "*"
|
|
38
|
+
"@anthropic-ai/sdk": "*",
|
|
39
|
+
"effect": ">=3.0.0"
|
|
38
40
|
},
|
|
39
41
|
"peerDependenciesMeta": {
|
|
40
42
|
"@anthropic-ai/sdk": {
|
|
41
43
|
"optional": true
|
|
44
|
+
},
|
|
45
|
+
"effect": {
|
|
46
|
+
"optional": true
|
|
42
47
|
}
|
|
43
48
|
},
|
|
44
49
|
"keywords": [
|