@gonzih/cc-discord 0.2.31 → 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.
@@ -301,7 +301,6 @@ function spawnPersistentSession(ns, token, wire, onExit) {
301
301
  const proc = spawn(claudeBin, [
302
302
  "--continue",
303
303
  "--output-format", "stream-json",
304
- "--input-format", "stream-json",
305
304
  "--verbose",
306
305
  "--dangerously-skip-permissions",
307
306
  ], { cwd: wsPath, env, stdio: ["pipe", "pipe", "pipe"] });
@@ -347,9 +346,7 @@ export function createMetaAgentManager() {
347
346
  if (!session)
348
347
  return;
349
348
  try {
350
- // --input-format stream-json expects JSON lines: {"type":"user","message":"..."}
351
- const payload = JSON.stringify({ type: "user", message: line });
352
- session.proc.stdin.write(`${payload}\n`);
349
+ session.proc.stdin.write(`${line}\n`);
353
350
  }
354
351
  catch (err) {
355
352
  console.warn(`[meta-agent-manager] stdin write failed (ns=${ns}):`, err.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonzih/cc-discord",
3
- "version": "0.2.31",
3
+ "version": "0.2.33",
4
4
  "description": "Claude Code Discord bot — chat with Claude Code via Discord",
5
5
  "type": "module",
6
6
  "bin": {