@qiaolei81/copilot-session-viewer 0.3.5 → 0.3.7
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 +3 -3
- package/dist/server.min.js +45 -40
- package/package.json +10 -8
- package/public/js/homepage.min.js +9 -9
- package/public/js/session-detail.min.js +105 -7
- package/views/index.ejs +243 -0
- package/views/session-vue.ejs +140 -2
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ copilot-session-viewer
|
|
|
69
69
|
- **Vue 3** - Reactive virtual scrolling
|
|
70
70
|
- **Express.js** - Robust backend API
|
|
71
71
|
- **ZIP Import/Export** - Session sharing capabilities with security validation
|
|
72
|
-
- **Multi-Source Support** - Copilot CLI (`~/.copilot/session-state/`), Copilot Chat (
|
|
72
|
+
- **Multi-Source Support** - Copilot CLI (`~/.copilot/session-state/`), Copilot Chat (auto-detected per OS), Claude (`~/.claude/projects/`), Pi-Mono (`~/.pi/agent/sessions/`)
|
|
73
73
|
- **Unified Event Format** - Consistent schema across all sources
|
|
74
74
|
- **Memory Pagination** - Efficient handling of large sessions
|
|
75
75
|
- **XSS Protection** - DOMPurify-based HTML sanitization
|
|
@@ -82,7 +82,7 @@ copilot-session-viewer
|
|
|
82
82
|
1. **Generate Sessions** - Use GitHub Copilot CLI, Claude Code CLI, or Pi-Mono to create session logs
|
|
83
83
|
2. **Auto-Discovery** - Sessions are automatically detected from:
|
|
84
84
|
- Copilot CLI: `~/.copilot/session-state/`
|
|
85
|
-
- Copilot Chat: `~/Library/Application Support/Code/User/workspaceStorage/`
|
|
85
|
+
- Copilot Chat: auto-detected — `~/Library/Application Support/Code/User/workspaceStorage/` (macOS), `~/.config/Code/User/workspaceStorage/` (Linux), `%APPDATA%\Code\User\workspaceStorage\` (Windows)
|
|
86
86
|
- Claude: `~/.claude/projects/`
|
|
87
87
|
- Pi-Mono: `~/.pi/agent/sessions/`
|
|
88
88
|
3. **Browse & Analyze** - View sessions with infinite scroll and detailed event streams
|
|
@@ -189,7 +189,7 @@ GitHub Actions workflow includes:
|
|
|
189
189
|
┌─────────────────────────────────────────────────┐
|
|
190
190
|
│ Data Layer (Multi-Source) │
|
|
191
191
|
│ • Copilot CLI: ~/.copilot/session-state/ │
|
|
192
|
-
│ • Copilot Chat:
|
|
192
|
+
│ • Copilot Chat: <OS-specific>/workspaceStorage/ │
|
|
193
193
|
│ • Claude: ~/.claude/projects/ │
|
|
194
194
|
│ • Pi-Mono: ~/.pi/agent/sessions/ │
|
|
195
195
|
└─────────────────────────────────────────────────┘
|