From 48cdc3d19a319981a8a4128be98db3c283f81790 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sat, 24 Oct 2026 18:34:12 +0900 Subject: feat: render live text-file embeds in expandable Markdown blocks Show rendered first/last six-line previews with expand, refresh and retry; bound and deduplicate context-guarded fetches. Verify 2586 tests twice with Node Web Storage compatibility flag, 2 live integration tests, typecheck, Biome and production build. --- src/app/store-types.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/app/store-types.ts') diff --git a/src/app/store-types.ts b/src/app/store-types.ts index 774d041..6835166 100644 --- a/src/app/store-types.ts +++ b/src/app/store-types.ts @@ -35,6 +35,7 @@ import type { HeartbeatStopResult, } from "../features/heartbeat"; import type { LayoutStore } from "../features/layout"; +import type { TextFileClient } from "../features/markdown"; import type { NamedAgent, NamedAgentDeleteResult, @@ -215,6 +216,9 @@ export interface AppStore { warmNow(): Promise; /** The workspace conversation's persisted working directory, or null when unset. */ readonly cwd: string | null; + /** Invalidates live-file routing after known settings changes. */ + readonly textFileContextRevision: number; + createTextFileClient(conversationId: string): TextFileClient; /** The conversation workspace settings target: the active tab, or the pending draft's id. */ readonly currentConversationId: string; /** -- cgit v1.2.3