fix(cli): keep search index ephemeral

This commit is contained in:
Hypatia May
2026-07-27 12:51:47 +08:00
parent 31215687f9
commit bd42204e53
10 changed files with 19 additions and 20 deletions

View File

@@ -75,9 +75,9 @@ const STABLE_OBSERVATION_ATTEMPTS = 2
/** Combined session-query configuration backed by SQLite full-text search. */
export interface Config extends SessionQueryConfig {
/**
* Dedicated derived-index path; `:memory:` is supported for tests. Missing
* directories and database files are created owner-only on POSIX filesystems;
* existing modes are preserved.
* Dedicated derived-index path; `:memory:` is supported for ephemeral
* indexes. Missing directories and database files are created owner-only on
* POSIX filesystems; existing modes are preserved.
*/
path: string
/** SQLite journal mode. Defaults to `wal`. */