writethevision 7.0.6 → 7.0.7
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 +1 -1
- package/src/cli.js +9 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "writethevision",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.7",
|
|
4
4
|
"description": "Write The Vision (WTV): vision-driven development with the Habakkuk workflow. 10 agents + 21 skills for Claude Code, Codex CLI, and OpenCode.",
|
|
5
5
|
"author": "Christopher Hogg",
|
|
6
6
|
"license": "MIT",
|
package/src/cli.js
CHANGED
|
@@ -3265,8 +3265,14 @@ async function runEngine(engine, promptText) {
|
|
|
3265
3265
|
}
|
|
3266
3266
|
|
|
3267
3267
|
if (normalized === 'claude') {
|
|
3268
|
+
// Claude Code CLI: explicitly force text output so user config
|
|
3269
|
+
// can't switch this to stream-json (which has extra requirements).
|
|
3268
3270
|
return await new Promise((resolve, reject) => {
|
|
3269
|
-
const child = spawn(
|
|
3271
|
+
const child = spawn(
|
|
3272
|
+
'claude',
|
|
3273
|
+
['--dangerously-skip-permissions', '--print', '--output-format', 'text', promptText],
|
|
3274
|
+
{ stdio: 'inherit' },
|
|
3275
|
+
);
|
|
3270
3276
|
child.on('error', reject);
|
|
3271
3277
|
child.on('exit', (code) => resolve(code ?? 1));
|
|
3272
3278
|
});
|
|
@@ -3389,10 +3395,9 @@ async function visionRunner(opts) {
|
|
|
3389
3395
|
const prdPath = join(process.cwd(), 'PRD.md');
|
|
3390
3396
|
const progressPath = join(process.cwd(), 'progress.txt');
|
|
3391
3397
|
|
|
3392
|
-
|
|
3393
|
-
let engine = defaultEngine;
|
|
3398
|
+
let engine = normalizeVisionRunnerEngine(opts.engine || null);
|
|
3394
3399
|
|
|
3395
|
-
if (
|
|
3400
|
+
if (engine && !isSupportedVisionRunnerEngine(engine)) {
|
|
3396
3401
|
engine = null;
|
|
3397
3402
|
}
|
|
3398
3403
|
|