summaryrefslogtreecommitdiffhomepage
path: root/src/app/store-types.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-10-24 18:34:12 +0900
committerAdam Malczewski <[email protected]>2026-10-24 18:34:12 +0900
commit48cdc3d19a319981a8a4128be98db3c283f81790 (patch)
tree0fa6531f3b05c81348f9d3427e9021dbb4832b5d /src/app/store-types.ts
parentdaefad66bdf8dee132d701a3b43ce0d227dde241 (diff)
downloaddispatch-web-48cdc3d19a319981a8a4128be98db3c283f81790.tar.gz
dispatch-web-48cdc3d19a319981a8a4128be98db3c283f81790.zip
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.
Diffstat (limited to 'src/app/store-types.ts')
-rw-r--r--src/app/store-types.ts4
1 files changed, 4 insertions, 0 deletions
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<WarmResult | null>;
/** 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;
/**