@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.
- package/dist/meta-agent-manager.js +1 -13
- package/package.json +1 -1
|
@@ -211,19 +211,7 @@ function wireStdoutToRedis(proc, ns, wire) {
|
|
|
211
211
|
result: resultText,
|
|
212
212
|
is_error: parsed.is_error ?? false,
|
|
213
213
|
};
|
|
214
|
-
|
|
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;
|