@threadbase-sh/streamer 1.28.1 → 1.28.2
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 +6 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -136996,6 +136996,9 @@ var ConversationCache = class _ConversationCache {
|
|
|
136996
136996
|
deleteAll: db.prepare("DELETE FROM conversation_meta"),
|
|
136997
136997
|
deleteTailAll: db.prepare("DELETE FROM conversation_tail"),
|
|
136998
136998
|
getIdByFilePath: db.prepare("SELECT id FROM conversation_meta WHERE file_path = ?"),
|
|
136999
|
+
getProviderByFilePath: db.prepare(
|
|
137000
|
+
"SELECT provider FROM conversation_meta WHERE file_path = ?"
|
|
137001
|
+
),
|
|
136999
137002
|
allFilePaths: db.prepare("SELECT id, file_path FROM conversation_meta"),
|
|
137000
137003
|
allFileStats: db.prepare(
|
|
137001
137004
|
"SELECT file_path, mtime_ms, file_size FROM conversation_meta WHERE mtime_ms IS NOT NULL AND file_size IS NOT NULL"
|
|
@@ -137149,8 +137152,9 @@ var ConversationCache = class _ConversationCache {
|
|
|
137149
137152
|
// excluded from the index entirely; the scanner serves them (it routes each
|
|
137150
137153
|
// provider to its own parser).
|
|
137151
137154
|
isIndexableFile(filePath) {
|
|
137152
|
-
const
|
|
137153
|
-
|
|
137155
|
+
const row = this.stmts.getProviderByFilePath.get(filePath);
|
|
137156
|
+
if (!row) return false;
|
|
137157
|
+
return (row.provider ?? CLAUDE_CODE_PROVIDER2) === CLAUDE_CODE_PROVIDER2;
|
|
137154
137158
|
}
|
|
137155
137159
|
/**
|
|
137156
137160
|
* Incremental offset-index writer: extend the index for a burst of appended
|