Commit 88f28c7
committed
v0.4.6
# v0.4.6 — HTML/PDF Previews, Event Adapters & OSS Bug Fixes
Major feature release adding inline HTML and PDF preview rendering, a new unified event adapter architecture for multi-backend support, batch session operations, and fixes for several community-reported issues.
---
## Features
- **HTML & PDF inline previews** — New `html-preview` and `pdf-preview` code blocks render rich HTML content and PDF documents directly in chat, with multi-item tab support and fullscreen overlay viewing (0d22069b)
- **Batch session context menu** — Right-clicking during multi-select now shows batch operations (status, labels, flag, archive, delete) instead of single-session actions (61759915)
- **Dynamic Codex model discovery** — Fetch available models from Codex app-server with 30-min periodic refresh, falling back to hardcoded registry on failure. Support for multiple connections of the same provider type with unique slug generation (1bcb1083)
- **Mustache template engine** — New template system for dynamic content rendering with `{{variable}}` syntax, partials, conditionals, and loops (a779bf83)
- **Source templates** — Sources can now ship HTML templates for branded, consistent rendering of their data via the new `render_template` tool. Templates use Mustache syntax with self-describing metadata headers (992a1a50)
- **Fast mode feature flag** — Moved to shared package for cross-package availability (e8295580)
## Bug Fixes
- **Chat history empty on macOS login launch** — Added Promise-based initialization gate to SessionManager; `GET_SESSIONS` handler now awaits init completion to prevent returning empty results during startup race. Fixes [#254](#254) (9ed91fbf)
- **Window not draggable across all panel headers** — App menu, session list panel, and panel headers now have consistent drag regions so the window can be moved from any header area. Fixes [#255](#255) (e1ed6619)
- **Skills can't auto-activate required sources** — Added `requiredSources` field to SKILL.md frontmatter; skills now declare source dependencies that are auto-enabled before the agent's first turn. Fixes [#249](#249) (9ed91fbf)
- **File links in chat not clickable** — csv, pdf, png, and other file types were not matched by the link click handler. Extension list is now derived from `file-classification.ts` to stay in sync automatically (a3fa35e4)
- **source_test reports expired for valid OAuth tokens** — Now attempts token refresh before reporting expired, matching the actual connection pipeline behavior (7a9bc9d9)
- **Interrupted responses cause LLM confusion** — Partial content from stopped/redirected responses now gets a context note injected so the model doesn't misinterpret follow-up messages (8fd1eb7d)
- **Oversize icons in workflow selectors and dropdowns** — Fixed icon sizing in StyledDropdown and workflow selector components (2c917b88, aef87854)
- **Windows Git Bash path not persisted** — Detected `CLAUDE_CODE_GIT_BASH_PATH` is now saved to config and restored on startup (9ed91fbf)
- **Per-session env override race condition** — Replaced global mutable `optionsEnv` with per-session `envOverrides` to fix `ANTHROPIC_BASE_URL` race across concurrent sessions (1bcb1083)
## Improvements
- **Unified event adapter architecture** — Extracted common streaming/event logic into `BaseEventAdapter` with backend-specific adapters for Claude, Codex, and Copilot. Includes new `EventQueue` for ordered event delivery (multiple commits)
- **TodoState → SessionStatus rename** — Consistent naming across 54+ files with backward compatibility for existing hook configs and session file migration (e5987124)
- **Block spacing improvements** — Better visual spacing between content blocks in chat (a0402076)
- **Transform tool timeout improvements** — More robust timeout handling for data transformation scripts (c03011b6)1 parent c91ce59 commit 88f28c7
File tree
142 files changed
+10225
-1811
lines changed- .github/ISSUE_TEMPLATE
- apps
- electron
- resources
- docs
- release-notes
- src
- main
- __tests__
- preload
- renderer
- atoms
- components
- app-shell
- input
- onboarding
- ui
- config
- contexts
- context
- event-processor
- handlers
- hooks
- pages
- settings
- playground/registry
- viewer
- packages
- bridge-mcp-server
- codex-types
- core
- src/types
- mermaid
- session-mcp-server
- session-tools-core
- src/handlers
- ui
- src
- components
- markdown
- overlay
- ui
- context
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
142 files changed
+10225
-1811
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments