sessiongraph-app-win32-x64 1.0.14 → 1.0.15
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sessiongraph-app-win32-x64",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Explore & visualize all your LLM sessions — win32/x64",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"access": "public",
|
|
11
11
|
"registry": "https://registry.npmjs.org/"
|
|
12
12
|
},
|
|
13
|
-
"sessionGraphCommit": "
|
|
13
|
+
"sessionGraphCommit": "2fcc680e82c9ff9ceee8eba719488ca17ffb6dfa",
|
|
14
14
|
"os": [
|
|
15
15
|
"win32"
|
|
16
16
|
],
|
package/payload/SessionGraph.exe
CHANGED
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/payload/resources/node.exe
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 93944648 bytes
|
|
4
|
+
sha256: 86fc4785327db5f5c7558dc6156c543b433c313e813a222e088086222ab4afa6
|
|
@@ -30810,7 +30810,11 @@ function localFileAdapter(source) {
|
|
|
30810
30810
|
let candidate = metadata2.get(path);
|
|
30811
30811
|
if (!candidate || candidate.revision !== rev) {
|
|
30812
30812
|
const history = await load(path, rev, before);
|
|
30813
|
-
if (!history)
|
|
30813
|
+
if (!history) {
|
|
30814
|
+
const nativeID = source.authoritativeIdentity?.(path);
|
|
30815
|
+
if (nativeID) blocked.add(identity(source.id, nativeID));
|
|
30816
|
+
continue;
|
|
30817
|
+
}
|
|
30814
30818
|
const session = { ...blankSession(source.id, history.nativeID), ...history.session };
|
|
30815
30819
|
session.id = identity(source.id, history.nativeID);
|
|
30816
30820
|
session.nativeID = history.nativeID;
|
|
@@ -34308,7 +34312,7 @@ var SessionGraphStore = class {
|
|
|
34308
34312
|
writeEvents(this.db, s.id, this.db.prepare("SELECT data FROM messages WHERE session_id=? ORDER BY ordinal").iterate(s.id));
|
|
34309
34313
|
const commits = writeCommits(this.db, s);
|
|
34310
34314
|
const activity = this.db.prepare(activitySQL).get(s.id);
|
|
34311
|
-
this.db.prepare("UPDATE sessions SET metadata=?, imported_revision=? WHERE id=?").run(JSON.stringify({ ...s, activity, commits }), candidate.revision, s.id);
|
|
34315
|
+
this.db.prepare("UPDATE sessions SET metadata=?, imported_revision=?, locator=? WHERE id=?").run(JSON.stringify({ ...s, activity, commits }), candidate.revision, JSON.stringify(candidate.locator), s.id);
|
|
34312
34316
|
this.db.prepare("DELETE FROM search_cache WHERE id=?").run(s.id);
|
|
34313
34317
|
this.db.exec("COMMIT");
|
|
34314
34318
|
} catch (error) {
|
|
@@ -34601,13 +34605,14 @@ var Importer = class {
|
|
|
34601
34605
|
this.status.errors.push(...discovery.warnings);
|
|
34602
34606
|
for (const project2 of discovery.projects) this.store.db.prepare("INSERT INTO projects VALUES (?,?,?) ON CONFLICT(id) DO UPDATE SET data=excluded.data").run(project2.id, adapter.id, JSON.stringify(project2));
|
|
34603
34607
|
for (const candidate of seen.values()) {
|
|
34604
|
-
this.store.upsert(candidate);
|
|
34605
34608
|
const saved = this.store.getSession(candidate.session.id);
|
|
34606
34609
|
const retry = !saved?.coverage?.importedAt || saved.coverage.note?.startsWith("Latest import failed:") || !this.store.commitsCurrent(candidate.session.id);
|
|
34607
34610
|
if (!retry && saved?.revision === candidate.revision && this.store.revision(candidate.session.id) === candidate.revision) {
|
|
34611
|
+
this.store.upsert(candidate);
|
|
34608
34612
|
this.status.unchanged++;
|
|
34609
34613
|
continue;
|
|
34610
34614
|
}
|
|
34615
|
+
if (!saved) this.store.upsert(candidate);
|
|
34611
34616
|
try {
|
|
34612
34617
|
const messages = /* @__PURE__ */ new Map();
|
|
34613
34618
|
const cursors = /* @__PURE__ */ new Set();
|