@gonzih/cc-discord 0.2.36 → 0.2.37

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.
@@ -211,19 +211,7 @@ function wireStdoutToRedis(proc, ns, wire) {
211
211
  result: resultText,
212
212
  is_error: parsed.is_error ?? false,
213
213
  };
214
- if (resultText) {
215
- const msg = {
216
- id: crypto.randomUUID(),
217
- source: "claude",
218
- role: "assistant",
219
- content: resultText,
220
- timestamp: new Date().toISOString(),
221
- chatId: 0,
222
- };
223
- wire.discord.publishOutgoing(ns, msg).catch((err) => {
224
- console.warn(`[meta-agent-manager] publishOutgoing (result) failed (ns=${ns}):`, err.message);
225
- });
226
- }
214
+ // Do not re-publish result text — assistant event already published it
227
215
  }
228
216
  else {
229
217
  structuredEvent = parsed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonzih/cc-discord",
3
- "version": "0.2.36",
3
+ "version": "0.2.37",
4
4
  "description": "Claude Code Discord bot — chat with Claude Code via Discord",
5
5
  "type": "module",
6
6
  "bin": {