summaryrefslogtreecommitdiffhomepage
path: root/src/app/store-types.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-10-21 14:26:35 +0900
committerAdam Malczewski <[email protected]>2026-10-21 14:26:35 +0900
commit8eefbc5287f73414df7feba6c78dc8ca73783b1d (patch)
treeecb0b0286f22eb082c8c4cce6adf1d535b0b7fed /src/app/store-types.ts
parenta7b041f0f8989373404c35d3fe4b20b1e89d2440 (diff)
downloaddispatch-web-8eefbc5287f73414df7feba6c78dc8ca73783b1d.tar.gz
dispatch-web-8eefbc5287f73414df7feba6c78dc8ca73783b1d.zip
fix(review-followup-fea): clarify Stop with queued input
Diffstat (limited to 'src/app/store-types.ts')
-rw-r--r--src/app/store-types.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/app/store-types.ts b/src/app/store-types.ts
index 465b21d..774d041 100644
--- a/src/app/store-types.ts
+++ b/src/app/store-types.ts
@@ -153,8 +153,11 @@ export interface AppStore {
/** The localStorage instance the store uses for persistence (tabs, chatLimit).
* Exposed so the shell can persist sidebar layout via the same adapter. */
readonly storage: Storage | undefined;
- /** The current spec for one surface by id (discovery-by-id), or null if absent. */
- surface(surfaceId: string): SurfaceSpec | null;
+ /**
+ * The current spec by id, or null if absent. With conversationId, require a
+ * snapshot received for that conversation (not a retained prior-scope spec).
+ */
+ surface(surfaceId: string, conversationId?: string): SurfaceSpec | null;
/**
* Send a user message (start a turn). Forwards any staged `images`
* (`ImageInput[]` — base64 data URLs / https URLs) on the `chat.send` op;