codesesh 0.7.1 → 0.7.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/{chunk-7GQEIPVK.js → chunk-XANARSZG.js} +7 -8
- package/dist/chunk-XANARSZG.js.map +1 -0
- package/dist/{dist-L4XKQDGX.js → dist-WJUBVCLN.js} +2 -2
- package/dist/index.js +40 -80
- package/dist/index.js.map +1 -1
- package/dist/scan-refresh-worker.js +80 -11
- package/dist/scan-refresh-worker.js.map +1 -1
- package/dist/search-index-worker.js +1 -1
- package/dist/smart-tag-worker.js +1 -1
- package/dist/web/assets/{index-LM0Z2sjk.js → index-Dfz6SLxJ.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/dist/chunk-7GQEIPVK.js.map +0 -1
- /package/dist/{dist-L4XKQDGX.js.map → dist-WJUBVCLN.js.map} +0 -0
|
@@ -3330,18 +3330,18 @@ var CodexAgent = class extends BaseAgent {
|
|
|
3330
3330
|
if (meta.parserVersion !== PARSER_VERSION) return true;
|
|
3331
3331
|
if (typeof meta.sourceMtimeMs !== "number") return true;
|
|
3332
3332
|
if (statSync4(meta.sourcePath).mtimeMs !== meta.sourceMtimeMs) return true;
|
|
3333
|
-
const
|
|
3334
|
-
return
|
|
3333
|
+
const indexTitle = this.getTitleForSession(meta.id);
|
|
3334
|
+
return indexTitle !== null && indexTitle !== meta.title;
|
|
3335
3335
|
}
|
|
3336
3336
|
sourceFingerprint(file) {
|
|
3337
3337
|
const stat = statSync4(file);
|
|
3338
|
-
const
|
|
3338
|
+
const sessionId = extractSessionId(file);
|
|
3339
3339
|
return JSON.stringify([
|
|
3340
3340
|
HEAD_INDEX_VERSION2,
|
|
3341
3341
|
PARSER_VERSION,
|
|
3342
3342
|
stat.mtimeMs,
|
|
3343
3343
|
stat.size,
|
|
3344
|
-
this.
|
|
3344
|
+
this.getTitleForSession(sessionId)
|
|
3345
3345
|
]);
|
|
3346
3346
|
}
|
|
3347
3347
|
getSessionIndexPath() {
|
|
@@ -5191,7 +5191,6 @@ function extractSessionFileActivity(agentName, sessionId, projectIdentityKey, me
|
|
|
5191
5191
|
}
|
|
5192
5192
|
var CACHE_SCHEMA_VERSION = 13;
|
|
5193
5193
|
var CACHE_INITIALIZATION_VERSION = "session-cache-v2";
|
|
5194
|
-
var CACHE_TTL = 7 * 24 * 60 * 60 * 1e3;
|
|
5195
5194
|
var CACHE_FILENAME = "codesesh.db";
|
|
5196
5195
|
var LEGACY_CACHE_FILENAME = "scan-cache.json";
|
|
5197
5196
|
var SEARCH_INDEX_BULK_SYNC_THRESHOLD = 100;
|
|
@@ -6653,14 +6652,14 @@ function deleteLegacyCacheFile() {
|
|
|
6653
6652
|
} catch {
|
|
6654
6653
|
}
|
|
6655
6654
|
}
|
|
6656
|
-
function loadCachedSessions(agentName
|
|
6655
|
+
function loadCachedSessions(agentName) {
|
|
6657
6656
|
if (!hasCacheStorage()) {
|
|
6658
6657
|
return null;
|
|
6659
6658
|
}
|
|
6660
6659
|
return withCacheDb((db) => {
|
|
6661
6660
|
const timestampRow = db.prepare("SELECT timestamp AS value FROM agent_cache WHERE agent_name = ?").get(agentName);
|
|
6662
6661
|
const timestamp = Number(timestampRow?.value ?? 0);
|
|
6663
|
-
if (!timestamp
|
|
6662
|
+
if (!timestamp) {
|
|
6664
6663
|
return null;
|
|
6665
6664
|
}
|
|
6666
6665
|
const rows = db.prepare(
|
|
@@ -8557,4 +8556,4 @@ export {
|
|
|
8557
8556
|
importBookmarks,
|
|
8558
8557
|
deleteBookmark
|
|
8559
8558
|
};
|
|
8560
|
-
//# sourceMappingURL=chunk-
|
|
8559
|
+
//# sourceMappingURL=chunk-XANARSZG.js.map
|