Adopts the round's main features into the v2 architecture: the #9023 media rework (streamed videos, media-file assets, protocol-relative links), #9098 shared live-activity row folded into the v2 working and thinking rows, the #9084/#9078 Claude model catalog for v2 consumers, a native #9005 OpenCode child-session abort in the v2 adapter, #9013's landed LegendList patch, and per-environment sidebar provider entries. For #8600 the server-side pieces land, but auto-settle evaluation stays client-side (reading the new server-owned settings) until the v2 orchestrator grows its own settlement reactor; main's v1-only reactor and coalescer additions are dropped with the rest of the v1 path.
Showing the changes to packages/client-runtime/src/work-log (2 of 47 files). Show all
Unified · Split
| @@ -444,7 +444,7 @@ describe("resolveViewedImageAsset", () => { · 443 unmodified lines | ||
| 444 | 444 | }), |
| 445 | 445 | ).toEqual({ |
| 446 | 446 | resource: { |
| 447 | − _tag: "workspace-file", | |
| 447 | + _tag: "media-file", | |
| 448 | 448 | threadId, |
| 449 | 449 | path: "/workspace/screens/logo.svg", |
| 450 | 450 | }, |
| @@ -135,7 +135,7 @@ export function workEntryViewedImagePath(entry: WorkLogPresentationEntry): strin · 134 unmodified lines | ||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | export interface ViewedImageAsset { |
| 138 | − readonly resource: Extract<AssetResource, { readonly _tag: "attachment" | "workspace-file" }>; | |
| 138 | + readonly resource: Extract<AssetResource, { readonly _tag: "attachment" | "media-file" }>; | |
| 139 | 139 | readonly alt: string; |
| 140 | 140 | readonly srcFragment: string; |
| 141 | 141 | } |
| @@ -165,7 +165,7 @@ export function resolveViewedImageAsset( · 23 unmodified lines | ||
| 165 | 165 | return { |
| 166 | 166 | resource: attachmentId |
| 167 | 167 | ? { _tag: "attachment", attachmentId } |
| 168 | − : { _tag: "workspace-file", threadId: input.threadId, path }, | |
| 168 | + : { _tag: "media-file", threadId: input.threadId, path }, | |
| 169 | 169 | alt: path.split(/[\\/]/).at(-1) ?? "image", |
| 170 | 170 | srcFragment: markdownImageSourceFragment(source), |
| 171 | 171 | }; |