Skip to content

Commit 0c8b651

Browse files
chore(web): keep the thread structure strip helpers private
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent b7c85b7 commit 0c8b651

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/client-runtime/src/state/threadDetail.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type VisibleTurnItem = OrchestrationV2ThreadProjection["visibleTurnItems"][numbe
4747
const structureTurnItems = new WeakMap<TurnItem, ThreadStructureTurnItem>();
4848
const structureVisibleTurnItems = new WeakMap<VisibleTurnItem, ThreadStructureVisibleTurnItem>();
4949

50-
export function toThreadStructureTurnItem(item: TurnItem): ThreadStructureTurnItem {
50+
function toThreadStructureTurnItem(item: TurnItem): ThreadStructureTurnItem {
5151
if (item.type !== "assistant_message" && item.type !== "reasoning") return item;
5252
let structure = structureTurnItems.get(item);
5353
if (structure === undefined) {
@@ -76,7 +76,7 @@ export function isCompleteTurnItemRow(row: ThreadStructureVisibleTurnItem): row
7676
return row.item.type !== "assistant_message" && row.item.type !== "reasoning";
7777
}
7878

79-
export function toThreadStructure(projection: OrchestrationV2ThreadProjection): ThreadStructure {
79+
function toThreadStructure(projection: OrchestrationV2ThreadProjection): ThreadStructure {
8080
const { updatedAt: _updatedAt, ...structure } = projection;
8181
return {
8282
...structure,

0 commit comments

Comments
 (0)