cowork-flow 1.1.3 → 1.1.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.4 - 2026-08-31
4
+
5
+ ### 修复
6
+
7
+ - **Windows 启动修复**:`mcp-state` 子进程在 Windows 平台改为经 `cmd.exe` 启动(`shell: true`),与 npm shims 的启动方式保持一致——绕过 Node 24+ 直接 spawn `.cmd` 文件(如 `cowork-flow.cmd` 的 shell 入口)时抛出的 EINVAL 错误。
8
+
3
9
  ## 1.1.3 - 2026-08-30
4
10
 
5
11
  > **版本内容载体说明**:1.1.1(守卫修复批次)与 1.1.2(Review 基线 diff)章节内容随本 1.1.3 首次进入 npm 分发——三个批次同属一个发布周期,章节按批次序号记录,包内容以最新版本号为载体(与 1.1.0 承载 1.0.0 章节内容同一惯例)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "CLI for installing and maintaining cowork-flow collaboration templates.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -54,6 +54,9 @@ export async function runMcpState(args, options = {}) {
54
54
  const child = spawn(runner, ['mcp-state', ...args], {
55
55
  stdio: 'inherit',
56
56
  cwd: root,
57
+ // Windows: newer Node (v24+) throws EINVAL when spawning .cmd files
58
+ // directly; routing through cmd.exe matches how npm shims launch.
59
+ shell: process.platform === 'win32',
57
60
  });
58
61
  child.on('error', (error) => {
59
62
  io.writeErr(`Error: failed to launch ${runner}: ${error.message}\n`);
@@ -1 +1 @@
1
- 1.1.3
1
+ 1.1.4
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "AI 协作工作流引擎:任务生命周期、子代理调度、门禁与状态注入。将 cowork-flow 的完整工作流带入 ZCode。",
5
5
  "author": {
6
6
  "name": "fisklikewater"