The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 16:00 UTC
Remove assistant-complete text payload from orchestration flow
- Drop optional `text` from `ThreadMessageAssistantCompleteCommand` - Stop passing text on assistant-complete ingestion and decider paths - Ensure completion events no longer overwrite message content
Julius Marminge committed
Feb 26, 2026 at 20:35 UTC
7e4da5b15780307d7616e6b9db190a60a8a2fd90
3 files changed
+1
-3
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
-1
@@ -288,7 +288,6 @@ const make = Effect.gen(function* () {
288
threadId: input.threadId,
289
messageId: input.messageId,
290
...(input.turnId ? { turnId: input.turnId } : {}),
291
- text: "",
291
createdAt: input.createdAt,
292
});
293
yield* clearAssistantMessageState(input.messageId);
apps/server/src/orchestration/decider.ts
+1
-1
@@ -425,7 +425,7 @@ export const decideOrchestrationCommand = Effect.fn("decideOrchestrationCommand"
425
threadId: command.threadId,
426
messageId: command.messageId,
427
role: "assistant",
428
- text: command.text ?? "",
428
+ text: "",
429
turnId: command.turnId ?? null,
430
streaming: false,
431
createdAt: command.createdAt,
packages/contracts/src/orchestration.ts
-1
@@ -356,7 +356,6 @@ export const ThreadMessageAssistantCompleteCommand = Schema.Struct({
356
threadId: ThreadId,
357
messageId: MessageId,
358
turnId: Schema.optional(TurnId),
359
- text: Schema.optional(Schema.String),
359
createdAt: IsoDateTime,
360
});
361