Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): a workflow thread opens with its phases and agents instead of its script #20857

Mergedjuliusmarmingemerged 13 commits intofix/workflow-member-transcript-stream fromrefs/pull/20857/headmerged by juliusmarminge View on GitHub

Showing 14 changed files with 17 additions and 0 deletions (loading 13).

x
0 of 14 viewed, 14 left
17 additions and 0 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -19,6 +19,7 @@
import type { HandoffEndpoints } from "@t3tools/client-runtime/handoff";
import { resolveUserMessagePresentation } from "@t3tools/client-runtime/user-message";
import { canForkProjectedAssistantItem } from "@t3tools/client-runtime/state/thread-workflows";
+import type { WorkflowOpening } from "@t3tools/client-runtime/state/subagentRuntime";
import {
type OrchestrationMessageContext,
ThreadId,
@@ -217,6 +218,7 @@
import * as Option from "effect/Option";
import { appAtomRegistry } from "../../state/atom-registry";
import { environmentThreadShells, threadEnvironment } from "../../state/threads";
+import { ThreadWorkflowOpening, useWorkflowOpening } from "./thread-workflow-opening";
import { useAtomCommand } from "../../state/use-atom-command";
import { useV2ItemSupport } from "../../state/v2-item-support";
import {
@@ -1005,6 +1007,7 @@
readonly markdownContentWidth: number;
readonly contentWidth: number;
readonly threadTitle: string;
+ readonly workflowOpening: WorkflowOpening | null;
const entry = info.item;
@@ -1152,6 +1155,15 @@
!assistantTurnStillInProgress &&
!message.streaming;