fix(web): honor search ownership and cancellation

This commit is contained in:
Hypatia May
2026-07-27 12:42:46 +08:00
parent 222096e3cf
commit 31215687f9
9 changed files with 75 additions and 18 deletions

View File

@@ -89,12 +89,14 @@
config:
root: './.sessions'
# Lazy content index for session.search. Opening the database at boot does
# not scan logs; the first search reconciles changed live/persisted sessions.
# Lazy, process-owned content index for session.search. Opening the database
# at boot does not scan logs; the first search reconciles changed
# live/persisted sessions. The pid prevents concurrent dsh processes in the
# same cwd from sharing one unsupported SQLite owner path.
- id: session-query-sqlite
name: '@deepseek-ai/dsh-session-query-sqlite'
config:
path: './.sessions/session-query.db'
path: !!js "'./.sessions/session-query-' + process.pid + '.db'"
- id: storage
name: '@deepseek-ai/dsh-storage'