@codemcp/workflows 6.11.1 → 6.12.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 +19 -11
- 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.12.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.12.0"
|
|
55
55
|
},
|
|
56
56
|
"lint-staged": {
|
|
57
57
|
"*.{ts,js,mts,cts,tsx,jsx}": [
|
|
@@ -28202,17 +28202,25 @@ function createProceedToPhaseTool(getServerContext, setBufferedInstructions, cli
|
|
|
28202
28202
|
plan_file_path: data.plan_file_path,
|
|
28203
28203
|
allowed_file_patterns: data.allowed_file_patterns
|
|
28204
28204
|
});
|
|
28205
|
-
const
|
|
28206
|
-
|
|
28207
|
-
|
|
28208
|
-
|
|
28209
|
-
|
|
28210
|
-
|
|
28211
|
-
|
|
28212
|
-
|
|
28213
|
-
|
|
28214
|
-
|
|
28215
|
-
|
|
28205
|
+
const autoCompact = process.env["WORKFLOW_AUTO_COMPACT"]?.trim()?.toLowerCase();
|
|
28206
|
+
if (autoCompact !== "false") {
|
|
28207
|
+
const model = getModel();
|
|
28208
|
+
client.session.summarize({
|
|
28209
|
+
path: { id: context.sessionID },
|
|
28210
|
+
...model ? { body: model } : {}
|
|
28211
|
+
}).catch(() => {
|
|
28212
|
+
});
|
|
28213
|
+
logger37.info("Triggered compaction after phase transition", {
|
|
28214
|
+
phase: data.phase,
|
|
28215
|
+
sessionID: context.sessionID,
|
|
28216
|
+
hasModel: !!model
|
|
28217
|
+
});
|
|
28218
|
+
} else {
|
|
28219
|
+
logger37.debug("Skipped compaction: WORKFLOW_AUTO_COMPACT=false", {
|
|
28220
|
+
phase: data.phase,
|
|
28221
|
+
sessionID: context.sessionID
|
|
28222
|
+
});
|
|
28223
|
+
}
|
|
28216
28224
|
const lines = [];
|
|
28217
28225
|
lines.push(`Transitioned to: ${data.phase}`);
|
|
28218
28226
|
if (data.transition_reason) {
|