@gonzih/cc-discord 0.2.32 → 0.2.33
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.
|
@@ -300,9 +300,7 @@ function spawnPersistentSession(ns, token, wire, onExit) {
|
|
|
300
300
|
console.log(`[meta-agent-manager] spawning persistent session (ns=${ns})`);
|
|
301
301
|
const proc = spawn(claudeBin, [
|
|
302
302
|
"--continue",
|
|
303
|
-
"-p",
|
|
304
303
|
"--output-format", "stream-json",
|
|
305
|
-
"--input-format", "stream-json",
|
|
306
304
|
"--verbose",
|
|
307
305
|
"--dangerously-skip-permissions",
|
|
308
306
|
], { cwd: wsPath, env, stdio: ["pipe", "pipe", "pipe"] });
|
|
@@ -348,9 +346,7 @@ export function createMetaAgentManager() {
|
|
|
348
346
|
if (!session)
|
|
349
347
|
return;
|
|
350
348
|
try {
|
|
351
|
-
|
|
352
|
-
const payload = JSON.stringify({ role: "user", content: line });
|
|
353
|
-
session.proc.stdin.write(`${payload}\n`);
|
|
349
|
+
session.proc.stdin.write(`${line}\n`);
|
|
354
350
|
}
|
|
355
351
|
catch (err) {
|
|
356
352
|
console.warn(`[meta-agent-manager] stdin write failed (ns=${ns}):`, err.message);
|