v1.3.6: browse Grok/Copilot/Antigravity sessions, codex exec as Bash/Script cards, Sessions text size, remove Desktop pane - #32
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates CCBuddy to broaden “Sessions” support beyond Claude/Codex by adding Grok Build, GitHub Copilot CLI, and Antigravity session ingestion/normalization, improving session rendering (including codex code-mode exec blocks as Bash/Script cards with real outputs + screenshots), adding a Settings control to scale Sessions message text size, and removing the Claude Desktop Settings pane while keeping replay support.
Changes:
- Add foreign-session routing + normalization (Grok/Copilot/Antigravity), including a shared JSON sidecar for title/tags/soft-delete for “non-owned” session sources.
- Improve session rendering: codex code-mode
execmapped to Bash/Script cards; tool results can render screenshots; avoid dumping base64 in text fallbacks. - Add configurable Sessions message text size via
--conv-fsscaling, and remove Desktop-pane UI/integration endpoints.
Reviewed changes
Copilot reviewed 24 out of 26 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/shared/i18n-dict.js | Removes Desktop-pane strings; adds Sessions font-size strings; tweaks replay label copy. |
| src/renderer/tauri-bridge.js | Removes Desktop status/connect/disconnect invoke wrappers; keeps replay invocations. |
| src/renderer/styles.css | Adds generated utility classes; applies --conv-fs scaling across session timeline surfaces; adds preview style. |
| src/renderer/renderer.js | Removes Desktop-pane rendering/polling; implements Sessions message text-size control and persistence. |
| src/renderer/input.css | Source CSS updates for --conv-fs scaling + preview styles; scopes code block scaling to session timeline. |
| src/renderer/index.html | Removes Desktop settings pane/nav; adds Sessions font-size settings card; renames update chip class. |
| src/renderer/icons.js | Removes the Desktop icon from the settings sub-nav icon set. |
| src/renderer/conversations.js | Adds source chips for non-Claude sessions; improves tool-result rendering (images, Script tool); adjusts stats tool labeling. |
| src/renderer/analytics.js | Removes Desktop connect event from funnel tracking. |
| src/main/export-assets/runtime.js | Adds “Script” tool rendering in exported HTML runtime. |
| src-tauri/tauri.conf.json | Bumps app version to 1.3.6. |
| src-tauri/src/usage.rs | Skips Grok-encoded session directories during codex file collection to prevent misparsing. |
| src-tauri/src/store.rs | Adds one-time migrations to auto-add Grok/Copilot/Antigravity dirs to historyDirs when detected. |
| src-tauri/src/sidecar.rs | Introduces shared sidecar store with atomic writes + mtime cache and tests. |
| src-tauri/src/lib.rs | Wires in new modules; removes Claude Desktop commands/selfcheck; adds Antigravity raw-export handling. |
| src-tauri/src/history.rs | Adds foreign-source routing, normalization plumbing (Norm), WAL-aware cache stamps, import sniffing guards, and end-to-end tests. |
| src-tauri/src/grok.rs | Implements Grok Build session discovery + normalization + sidecar meta integration + tests. |
| src-tauri/src/gateway.rs | Simplifies Claude tier model list now that Desktop tier metadata is removed. |
| src-tauri/src/exporthtml.rs | Generalizes export shaping for non-Claude sessions; caps Script bodies; routes foreign exports. |
| src-tauri/src/copilot.rs | Implements Copilot CLI session discovery + normalization + sidecar meta integration + tests. |
| src-tauri/src/codex.rs | Adds codex code-mode exec-script parsing/mapping; supports screenshot-carrying outputs; moves to shared sidecar helper. |
| src-tauri/src/claudedesktop.rs | Removes the Claude Desktop profile integration module entirely. |
| src-tauri/src/antigravity.rs | Implements Antigravity SQLite parsing (protobuf-wire walking), normalization, WAL-aware freshness, sidecar meta, and tests. |
| src-tauri/Cargo.toml | Adds rusqlite (bundled) dependency; bumps version to 1.3.6. |
| src-tauri/Cargo.lock | Locks new dependencies (rusqlite + transitive deps); bumps app version. |
| package.json | Bumps frontend version to 1.3.6. |
Files not reviewed (1)
- src/renderer/icons.js: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| 'settings.convFontLarge': 'Large', | ||
| 'settings.convFontXlarge': 'X-Large', | ||
| 'settings.convFontCustom': 'Custom', | ||
| 'settings.convFontPreview': 'Message text will render at this size — fix the login bug and add tests.', |
| 'settings.convFontLarge': '大', | ||
| 'settings.convFontXlarge': '特大', | ||
| 'settings.convFontCustom': '自定义', | ||
| 'settings.convFontPreview': '会话正文将以这个大小显示 — 修复登录问题并补充测试。', |
| 'settings.convFontLarge': '大', | ||
| 'settings.convFontXlarge': '特大', | ||
| 'settings.convFontCustom': '自訂', | ||
| 'settings.convFontPreview': '會話內文將以這個大小顯示 — 修復登入問題並補充測試。', |
| 'settings.convFontLarge': '大', | ||
| 'settings.convFontXlarge': '特大', | ||
| 'settings.convFontCustom': 'カスタム', | ||
| 'settings.convFontPreview': 'セッション本文はこのサイズで表示されます — ログインの不具合を修正しテストを追加。', |
| 'settings.convFontLarge': '크게', | ||
| 'settings.convFontXlarge': '아주 크게', | ||
| 'settings.convFontCustom': '사용자 지정', | ||
| 'settings.convFontPreview': '세션 본문이 이 크기로 표시됩니다 — 로그인 버그를 수정하고 테스트를 추가.', |
| 'conv.replay': 'Analyze in Claude', | ||
| 'conv.replayHint': 'Open in Claude Desktop — new chat with this transcript attached', |
There was a problem hiding this comment.
Intentional: the label mirrors its sibling "Analyze in ChatGPT" for a symmetric pair, and the tooltip already states it opens Claude Desktop.
Adds Grok/Copilot/Antigravity session browsing, renders codex code-mode exec blocks as Bash/Script cards with real results and screenshots, adds an adjustable Sessions message text size, and removes the Claude Desktop pane (a tutorial will replace it).
🤖 Generated with Claude Code