claude-opencode-viewer 2.6.34 → 2.6.35
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/server.js +2 -2
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -650,9 +650,9 @@ const requestHandler = async (req, res) => {
|
|
|
650
650
|
status: line.substring(0, 2).trim(),
|
|
651
651
|
file: line.substring(3),
|
|
652
652
|
})).filter(c => !/^core-/.test(c.file));
|
|
653
|
-
res.end(JSON.stringify({ changes }));
|
|
653
|
+
res.end(JSON.stringify({ changes, cwd: gitCwd }));
|
|
654
654
|
} catch {
|
|
655
|
-
res.end(JSON.stringify({ changes: [] }));
|
|
655
|
+
res.end(JSON.stringify({ changes: [], cwd: process.env.PROJECT_DIR || process.cwd() }));
|
|
656
656
|
}
|
|
657
657
|
return;
|
|
658
658
|
}
|