sessiongraph 1.0.4 → 1.0.5
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/README.md +2 -1
- package/dist/assets/{index-ngj67_1P.js → index-3_I59bPI.js} +1 -1
- package/dist/assets/{index-DZ3QjOks.js → index-86i6pjnx.js} +1 -1
- package/dist/assets/{index-Ca1o8F2F.js → index-BEabiGl5.js} +16 -16
- package/dist/assets/{index-DmhroAg3.js → index-DxQk-77k.js} +1 -1
- package/dist/assets/{index-Oz3Ov7Mv.css → index-vX8x5oFC.css} +1 -1
- package/dist/assets/{scene-DpPyjrii.js → scene-CEalI0mr.js} +1 -1
- package/dist/assets/{share-BDMRLovI.js → share-BydK_UaB.js} +3 -3
- package/dist/assets/worker-DwqxiDWY.js +2 -0
- package/dist/index.html +2 -2
- package/dist/sources/LICENSE-OFL-1.1.txt +93 -0
- package/dist/sources/NOTICE.txt +22 -0
- package/dist/sources/amp.svg +1 -0
- package/dist/sources/antigravity.svg +1 -0
- package/dist/sources/aside.svg +1 -0
- package/dist/sources/augment.svg +1 -0
- package/dist/sources/cherry.svg +1 -0
- package/dist/sources/codebuddy.svg +1 -0
- package/dist/sources/codebuff.svg +1 -0
- package/dist/sources/commandcode.svg +1 -0
- package/dist/sources/crush.svg +1 -0
- package/dist/sources/deepseek.svg +1 -0
- package/dist/sources/devin.svg +1 -0
- package/dist/sources/droid.svg +1 -0
- package/dist/sources/freebuff.svg +1 -0
- package/dist/sources/fx.svg +1 -0
- package/dist/sources/gajae.svg +1 -0
- package/dist/sources/goose.svg +1 -0
- package/dist/sources/grok.svg +1 -0
- package/dist/sources/hermes.svg +1 -0
- package/dist/sources/hindsight.svg +1 -0
- package/dist/sources/jcode.svg +1 -0
- package/dist/sources/junie.svg +1 -0
- package/dist/sources/kimchi.svg +1 -0
- package/dist/sources/kimi.svg +1 -0
- package/dist/sources/kiro.svg +1 -0
- package/dist/sources/lmstudio.svg +1 -0
- package/dist/sources/mimo.svg +1 -0
- package/dist/sources/minimax.svg +1 -0
- package/dist/sources/mistral.svg +1 -0
- package/dist/sources/muse.svg +1 -0
- package/dist/sources/mux.svg +1 -0
- package/dist/sources/octofriend.svg +1 -0
- package/dist/sources/openclaw.svg +1 -0
- package/dist/sources/prime.svg +1 -0
- package/dist/sources/proma.svg +1 -0
- package/dist/sources/reasonix.svg +1 -0
- package/dist/sources/senpi.svg +1 -0
- package/dist/sources/t3.svg +1 -0
- package/dist/sources/trae.svg +1 -0
- package/dist/sources/unsloth.svg +1 -0
- package/dist/sources/warp.svg +1 -0
- package/dist/sources/zcode.svg +1 -0
- package/dist/sources/zed.svg +1 -0
- package/dist-server/server.mjs +425 -134
- package/docs/guide.md +3 -0
- package/docs/import-coverage.md +1 -1
- package/package.json +7 -7
- package/dist/assets/worker-YMPBjASm.js +0 -2
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
[Watch the 60 FPS demo →](https://github.com/arvindell/sessiongraph/releases/latest/download/sessiongraph-demo.mp4)
|
|
13
13
|
|
|
14
|
-
Explore local history from **OpenCode, Claude Code, Codex, Cursor, Gemini, Pi, OpenClaw, Hermes, Kiro, Mux, and many more** in one app. [Source-by-source coverage →](docs/import-coverage.md)
|
|
14
|
+
Explore local history from **OpenCode, Claude Code, Codex, T3 Code, Cursor, Gemini, Pi, OpenClaw, Hermes, Kiro, Mux, and many more** in one app. [Source-by-source coverage →](docs/import-coverage.md)
|
|
15
15
|
Search conversations, explore user and assistant messages, inspect changed files, and continue in another harness.
|
|
16
16
|
Hover to preview messages, click to focus, and click empty space to deselect. Tune the glowing map, trails, and click sounds in Settings.
|
|
17
17
|
During playback, session orbs travel through time, leaving trails behind them. Message dots match their session's color.
|
|
@@ -57,6 +57,7 @@ npx sessiongraph --browser
|
|
|
57
57
|
| <img src="public/sources/opencode.svg" width="14" alt=""/> **OpenCode** | Authenticated local API; run OpenCode when importing | Native resume / saved-context handoff |
|
|
58
58
|
| <img src="public/sources/claude.svg" width="14" alt=""/> **Claude Code** | Local projects, worktrees, and subagents via SDK | Native resume / saved-context handoff |
|
|
59
59
|
| <img src="public/sources/openai.svg" width="14" alt=""/> **Codex** | Active and archived local rollouts | Native resume / saved-context handoff |
|
|
60
|
+
| <img src="public/sources/t3.svg" width="14" alt=""/> **T3 Code** | Local server SQLite threads and activity | Saved-context handoff to a supported CLI |
|
|
60
61
|
| <img src="public/sources/cursor.svg" width="14" alt=""/> **Cursor** | IDE transcripts, legacy Composer, CLI and ACP stores | CLI resume where supported / saved-context handoff |
|
|
61
62
|
| <img src="public/sources/gemini.svg" width="14" alt=""/> **Gemini CLI** | Local JSON and append-only JSONL chats | Native resume / saved-context handoff |
|
|
62
63
|
| <img src="public/sources/qwen.svg" width="14" alt=""/> **Qwen Code** | Local project chat records | Native resume / saved-context handoff |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{v as a,R as i,C as o}from"./index-
|
|
1
|
+
import{v as a,R as i,C as o}from"./index-BEabiGl5.js";class l extends i{constructor(e){super(e.rid),this.available=!0,this.currentVersion=e.currentVersion,this.version=e.version,this.date=e.date,this.body=e.body,this.rawJson=e.rawJson}async download(e,n){const d=new o;e&&(d.onmessage=e);const r=await a("plugin:updater|download",{onEvent:d,rid:this.rid,...n,headers:t(n?.headers)});await this.downloadedBytes?.close().catch(()=>{}),this.downloadedBytes=new i(r)}async install(e){if(!this.downloadedBytes)throw new Error("Update.install called before Update.download");await a("plugin:updater|install",{updateRid:this.rid,bytesRid:this.downloadedBytes.rid,...e}),this.downloadedBytes=void 0}async downloadAndInstall(e,n){const d=new o;e&&(d.onmessage=e),await a("plugin:updater|download_and_install",{onEvent:d,rid:this.rid,...n,headers:t(n?.headers)})}async close(){await this.downloadedBytes?.close(),await super.close()}}async function w(s){const e=await a("plugin:updater|check",{...s,headers:t(s?.headers)});return e?new l(e):null}function t(s){return s?Array.from(new Headers(s).entries()):void 0}export{l as Update,w as check};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as a,v as i,C as R}from"./index-
|
|
1
|
+
import{R as a,v as i,C as R}from"./index-BEabiGl5.js";var w;(function(n){n[n.Audio=1]="Audio",n[n.Cache=2]="Cache",n[n.Config=3]="Config",n[n.Data=4]="Data",n[n.LocalData=5]="LocalData",n[n.Document=6]="Document",n[n.Download=7]="Download",n[n.Picture=8]="Picture",n[n.Public=9]="Public",n[n.Video=10]="Video",n[n.Resource=11]="Resource",n[n.Temp=12]="Temp",n[n.AppConfig=13]="AppConfig",n[n.AppData=14]="AppData",n[n.AppLocalData=15]="AppLocalData",n[n.AppCache=16]="AppCache",n[n.AppLog=17]="AppLog",n[n.Desktop=18]="Desktop",n[n.Executable=19]="Executable",n[n.Font=20]="Font",n[n.Home=21]="Home",n[n.Runtime=22]="Runtime",n[n.Template=23]="Template"})(w||(w={}));var d;(function(n){n[n.Start=0]="Start",n[n.Current=1]="Current",n[n.End=2]="End"})(d||(d={}));function u(n){return{isFile:n.isFile,isDirectory:n.isDirectory,isSymlink:n.isSymlink,size:n.size,mtime:n.mtime!==null?new Date(n.mtime):null,atime:n.atime!==null?new Date(n.atime):null,birthtime:n.birthtime!==null?new Date(n.birthtime):null,readonly:n.readonly,fileAttributes:n.fileAttributes,dev:n.dev,ino:n.ino,mode:n.mode,nlink:n.nlink,uid:n.uid,gid:n.gid,rdev:n.rdev,blksize:n.blksize,blocks:n.blocks}}function U(n){const e=new Uint8ClampedArray(n),t=e.byteLength;let o=0;for(let r=0;r<t;r++){const s=e[r];o*=256,o+=s}return o}class g extends a{async read(e){if(e.byteLength===0)return 0;const t=await i("plugin:fs|read",{rid:this.rid,len:e.byteLength}),o=U(t.slice(-8)),r=t instanceof ArrayBuffer?new Uint8Array(t):t;return e.set(r.slice(0,r.length-8)),o===0?null:o}async seek(e,t){return await i("plugin:fs|seek",{rid:this.rid,offset:e,whence:t})}async stat(){const e=await i("plugin:fs|fstat",{rid:this.rid});return u(e)}async truncate(e){await i("plugin:fs|ftruncate",{rid:this.rid,len:e})}async write(e){return await i("plugin:fs|write",{rid:this.rid,data:e})}}async function b(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");const t=await i("plugin:fs|create",{path:n instanceof URL?n.toString():n,options:e});return new g(t)}async function p(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");const t=await i("plugin:fs|open",{path:n instanceof URL?n.toString():n,options:e});return new g(t)}async function S(n,e,t){if(n instanceof URL&&n.protocol!=="file:"||e instanceof URL&&e.protocol!=="file:")throw new TypeError("Must be a file URL.");await i("plugin:fs|copy_file",{fromPath:n instanceof URL?n.toString():n,toPath:e instanceof URL?e.toString():e,options:t})}async function A(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");await i("plugin:fs|mkdir",{path:n instanceof URL?n.toString():n,options:e})}async function T(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");return await i("plugin:fs|read_dir",{path:n instanceof URL?n.toString():n,options:e})}async function E(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");const t=await i("plugin:fs|read_file",{path:n instanceof URL?n.toString():n,options:e});return t instanceof ArrayBuffer?new Uint8Array(t):Uint8Array.from(t)}async function _(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");const t=await i("plugin:fs|read_text_file",{path:n instanceof URL?n.toString():n,options:e}),o=t instanceof ArrayBuffer?t:Uint8Array.from(t);return new TextDecoder(e?.encoding??"utf-8").decode(o)}async function x(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");const t=n instanceof URL?n.toString():n;return await Promise.resolve({path:t,rid:null,async next(){const o=new TextDecoder(e?.encoding??"utf-8");if(this.rid===null){const l=o.encoding;this.rid=await i("plugin:fs|read_text_file_lines",{path:t,options:e!=null?{...e,encoding:l}:void 0})}let r;try{r=await i("plugin:fs|read_text_file_lines_next",{rid:this.rid})}catch(l){throw this.rid=null,l}const s=r instanceof ArrayBuffer?new Uint8Array(r):Uint8Array.from(r),f=s[s.byteLength-1]===1;return f?(this.rid=null,{value:null,done:f}):{value:o.decode(s.slice(0,s.byteLength-1)),done:f}},async return(){if(this.rid!==null){const o=this.rid;this.rid=null,await new a(o).close()}return{value:null,done:!0}},[Symbol.asyncIterator](){return this}})}async function v(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");await i("plugin:fs|remove",{path:n instanceof URL?n.toString():n,options:e})}async function M(n,e,t){if(n instanceof URL&&n.protocol!=="file:"||e instanceof URL&&e.protocol!=="file:")throw new TypeError("Must be a file URL.");await i("plugin:fs|rename",{oldPath:n instanceof URL?n.toString():n,newPath:e instanceof URL?e.toString():e,options:t})}async function C(n,e){const t=await i("plugin:fs|stat",{path:n instanceof URL?n.toString():n,options:e});return u(t)}async function k(n,e){const t=await i("plugin:fs|lstat",{path:n instanceof URL?n.toString():n,options:e});return u(t)}async function F(n,e,t){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");await i("plugin:fs|truncate",{path:n instanceof URL?n.toString():n,len:e,options:t})}async function z(n,e,t){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");if(e instanceof ReadableStream){const o=await p(n,{read:!1,create:!0,write:!0,...t,truncate:!t?.append}),r=e.getReader();try{for(;;){const{done:s,value:f}=await r.read();if(s)break;await o.write(f)}}finally{r.releaseLock(),await o.close()}}else await i("plugin:fs|write_file",e,{headers:{path:encodeURIComponent(n instanceof URL?n.toString():n),options:JSON.stringify(t)}})}async function I(n,e,t){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");const o=new TextEncoder;await i("plugin:fs|write_text_file",o.encode(e),{headers:{path:encodeURIComponent(n instanceof URL?n.toString():n),options:JSON.stringify(t)}})}async function H(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");return await i("plugin:fs|exists",{path:n instanceof URL?n.toString():n,options:e})}class y extends a{}async function L(n,e,t){const o=Array.isArray(n)?n:[n];for(const c of o)if(c instanceof URL&&c.protocol!=="file:")throw new TypeError("Must be a file URL.");const r=new R;r.onmessage=e;const s=await i("plugin:fs|watch",{paths:o.map(c=>c instanceof URL?c.toString():c),options:t,onEvent:r}),f=new y(s);return()=>{f.close()}}async function J(n,e,t){return await L(n,e,{delayMs:2e3,...t})}async function N(n,e,t){return await L(n,e,{...t,delayMs:void 0})}async function O(n,e){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");return await i("plugin:fs|size",{path:n instanceof URL?n.toString():n,options:e})}async function V(n){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");await i("plugin:fs|start_accessing_security_scoped_resource",{path:n instanceof URL?n.toString():n})}async function h(n){if(n instanceof URL&&n.protocol!=="file:")throw new TypeError("Must be a file URL.");await i("plugin:fs|stop_accessing_security_scoped_resource",{path:n instanceof URL?n.toString():n})}export{w as BaseDirectory,g as FileHandle,d as SeekMode,S as copyFile,b as create,H as exists,k as lstat,A as mkdir,p as open,T as readDir,E as readFile,_ as readTextFile,x as readTextFileLines,v as remove,M as rename,O as size,V as startAccessingSecurityScopedResource,C as stat,h as stopAccessingSecurityScopedResource,F as truncate,J as watch,N as watchImmediate,z as writeFile,I as writeTextFile};
|