@threadbase-sh/streamer 1.24.5 → 1.24.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +3235 -4212
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4884,7 +4884,9 @@ var StreamerServer = class {
|
|
|
4884
4884
|
pendingPermission = /* @__PURE__ */ new Map();
|
|
4885
4885
|
scanner = null;
|
|
4886
4886
|
// Set when better-sqlite3 is unusable (e.g. node ABI mismatch made
|
|
4887
|
-
// ConversationCache.open throw)
|
|
4887
|
+
// ConversationCache.open throw), or when config.scannerPersistent is false
|
|
4888
|
+
// (test isolation — the scanner's default SQLite index is a single shared
|
|
4889
|
+
// file unscoped by scanProfiles). All scanners are then built with
|
|
4888
4890
|
// persistent: false so requests serve from disk instead of 500ing on
|
|
4889
4891
|
// every touch of the scanner's own SQLite index.
|
|
4890
4892
|
scannerPersistenceDisabled = false;
|
|
@@ -4968,6 +4970,7 @@ var StreamerServer = class {
|
|
|
4968
4970
|
}
|
|
4969
4971
|
this.verbose = config.verbose ?? false;
|
|
4970
4972
|
this.disableDb = config.disableDb ?? false;
|
|
4973
|
+
this.scannerPersistenceDisabled = config.scannerPersistent === false;
|
|
4971
4974
|
this.scanProfiles = config.scanProfiles;
|
|
4972
4975
|
this.codexRoots = config.codexRoots ?? [join12(homedir5(), ".codex", "sessions")];
|
|
4973
4976
|
this.ptyGracePeriodMs = config.ptyGracePeriodMs ?? DEFAULT_PTY_GRACE_PERIOD_MS;
|