sessiongraph 1.0.19 → 1.0.20

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/docs/cli.md CHANGED
@@ -203,6 +203,12 @@ Paths can be configured before they become available.
203
203
  | OpenCode | Data directory or SQLite file, normally `~/.local/share/opencode/opencode.db`; V1 and V2 work offline |
204
204
 
205
205
  Other sources describe their paths in `sources --json` under `pathHint`.
206
+ Without a saved path or `CLAUDE_CONFIG_DIR`, Claude Code searches accessible
207
+ filesystem locations across the computer in cached, resumable passes. `sync`
208
+ continues an unfinished search; keep the app running and refresh to advance
209
+ through very large filesystems. A custom Claude path restricts discovery to that
210
+ home. Permission skips and scan limits are reported as warnings, not erased
211
+ history. See [computer-wide discovery](guide.md#computer-wide-claude-history-discovery).
206
212
  Custom-path sessions use a saved-context handoff when opened from the app.
207
213
  See the [source guide](guide.md#source-coverage) for format coverage.
208
214
 
package/docs/guide.md CHANGED
@@ -113,6 +113,14 @@ See [extended source coverage](import-coverage.md) for all additional harness lo
113
113
 
114
114
  Claude Code's local VS Code extension uses the same transcript directory as its CLI: `~/.claude/projects` (`%USERPROFILE%\.claude\projects` on Windows), or `projects` under `CLAUDE_CONFIG_DIR`. A separate CLI installation is not required for import. History in WSL, SSH hosts, or dev containers must be accessible in the environment running SessionGraph.
115
115
 
116
+ #### Computer-wide Claude history discovery
117
+
118
+ By default, Claude Code discovery searches accessible folders across the computer, including other users' readable homes and mounted drives. It looks for `.claude` homes and renamed/custom homes with native `projects/<project>/<session UUID>.jsonl` layouts. Directory discovery reads names and filesystem metadata, not arbitrary file contents, settings, or credentials. Only selecting Claude Code for import reads the discovered conversations. Copies are deduplicated by native session ID; the newest transcript wins, with the current user's copy preferred on equal modification times. Other users' and relocated histories use saved-context handoffs rather than native resume.
119
+
120
+ The search advances in cached passes with a two-second or 100,000-entry budget, checked between filesystem operations; a slow OS operation can take longer. Refresh sessions (or enabled auto-import) continues an unfinished search while importing known locations. A completed search is cached for five minutes before restarting. Search progress lives only in the current process, so very large filesystems may need several refreshes in the running app. Limits of 100,000 directories, 1,000 history homes, and 128 directory levels prevent unbounded traversal; import file/message limits still apply. Symlinks, virtual Linux filesystems (`/dev`, `/proc`, `/sys`, `/run`), and macOS's duplicate `/System/Volumes` tree are not traversed. OS-protected or unreadable locations are skipped without administrator access or permission changes. **Import details** reports incomplete scans, permission skips, and limits; missing locations never erase saved history.
121
+
122
+ A saved custom source path or `CLAUDE_CONFIG_DIR` disables the computer-wide search and reads only that home. Use one to restrict discovery or import an accessible copy when permissions block the original. To set a path, see [custom source paths](cli.md#custom-paths). Arbitrarily named standalone exports outside a recognized Claude home are not automatically identified.
123
+
116
124
  ### Additional source locations
117
125
 
118
126
  - Gemini respects `GEMINI_CLI_HOME` as a replacement home directory. `SESSIONGRAPH_GEMINI_HOME` selects a `.gemini`-style directory containing `tmp/`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sessiongraph",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -27,11 +27,11 @@
27
27
  "README.md"
28
28
  ],
29
29
  "optionalDependencies": {
30
- "sessiongraph-app-darwin-arm64": "1.0.19",
31
- "sessiongraph-app-darwin-x64": "1.0.19",
32
- "sessiongraph-app-linux-arm64": "1.0.19",
33
- "sessiongraph-app-linux-x64": "1.0.19",
34
- "sessiongraph-app-win32-x64": "1.0.19"
30
+ "sessiongraph-app-darwin-arm64": "1.0.20",
31
+ "sessiongraph-app-darwin-x64": "1.0.20",
32
+ "sessiongraph-app-linux-arm64": "1.0.20",
33
+ "sessiongraph-app-linux-x64": "1.0.20",
34
+ "sessiongraph-app-win32-x64": "1.0.20"
35
35
  },
36
36
  "type": "module",
37
37
  "engines": {
@@ -84,5 +84,5 @@
84
84
  "zod": "4.6.7"
85
85
  },
86
86
  "packageManager": "pnpm@11.10.0",
87
- "sessionGraphCommit": "6ca5fef0d05d2532ca7b077a7d8f10c49dd70f2c"
87
+ "sessionGraphCommit": "c149ab5e094f654fcc05f7954432528435f3470a"
88
88
  }