vipcare 0.3.26 → 0.3.28
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/lib/synthesizer.js +3 -3
- package/package.json +1 -1
package/lib/synthesizer.js
CHANGED
|
@@ -33,13 +33,13 @@ function copilotAvailable() {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
function callClaudeCli(prompt, timeout =
|
|
36
|
+
function callClaudeCli(prompt, timeout = 600000) {
|
|
37
37
|
// Write prompt to temp file, pass via -p flag reading from file
|
|
38
38
|
const tmpFile = path.join(os.tmpdir(), `vip-prompt-${Date.now()}.txt`);
|
|
39
39
|
try {
|
|
40
40
|
fs.writeFileSync(tmpFile, prompt);
|
|
41
|
-
//
|
|
42
|
-
const result = spawnSync('claude', ['--print'], {
|
|
41
|
+
// Disable tools (text-only), no session persistence
|
|
42
|
+
const result = spawnSync('claude', ['--print', '--tools', '', '--no-session-persistence'], {
|
|
43
43
|
input: prompt,
|
|
44
44
|
encoding: 'utf-8',
|
|
45
45
|
timeout,
|