@workflow-code/cli 0.2.4-20261011003.codex-cli-web → 0.2.4-20261011004.codex-cli-web

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.
@@ -43,7 +43,10 @@ async function requiresSystemAi(directory) {
43
43
  }
44
44
 
45
45
  try {
46
- const request = JSON.parse(readFileSync(0, 'utf8'));
46
+ // Pipe requests can arrive in several chunks, including inside a UTF-8 sequence.
47
+ const chunks = [];
48
+ for await (const chunk of process.stdin) { chunks.push(chunk); }
49
+ const request = JSON.parse(Buffer.concat(chunks).toString('utf8'));
47
50
  const projectDir = path.resolve(request.project?.folderPath ?? request.paths?.[0]);
48
51
  const runtimeProjectDir = path.resolve(request.runtimeProjectDir ?? projectDir);
49
52
  let coreUrl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workflow-code/cli",
3
- "version": "0.2.4-20261011003.codex-cli-web",
3
+ "version": "0.2.4-20261011004.codex-cli-web",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "workflow-code": "./dist/index.js"
@@ -37,8 +37,8 @@
37
37
  "vitest": "^4.1.7",
38
38
  "workflow-code": "0.2.4-20260929001",
39
39
  "@workflow-code/auth-config": "0.1.0",
40
- "@workflow-code/execution-targets": "0.1.0",
41
40
  "@workflow-code/i18n": "0.1.0",
41
+ "@workflow-code/execution-targets": "0.1.0",
42
42
  "@workflow-code/openai-responses": "0.1.0",
43
43
  "@workflow-code/project-dependencies": "0.1.0",
44
44
  "@workflow-code/project-info": "0.1.0",