claude-threads 0.33.8 → 0.34.0

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/CHANGELOG.md CHANGED
@@ -7,10 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.34.0] - 2026-01-05
11
+
12
+ ### Added
13
+ - **Ink/React CLI UI** - Complete rewrite of the terminal interface using Ink (React for CLI). Features include:
14
+ - Collapsible session panels with real-time log streaming
15
+ - Header with logo, version, and working directory
16
+ - Platform status indicators (connected/reconnecting)
17
+ - Per-session and global log panels with color-coded levels
18
+ - Spinner animations for typing/starting states
19
+ - **Keyboard toggles** - Runtime settings can be changed without restart:
20
+ - `[d]` Debug mode - toggle verbose logging
21
+ - `[p]` Permissions - toggle interactive/auto mode for new sessions
22
+ - `[c]` Chrome - toggle Chrome integration for new sessions
23
+ - `[k]` Keep-alive - toggle system sleep prevention
24
+ - `[1-9]` Toggle session panel expansion
25
+ - `[q]` Quit
26
+ - **Comprehensive logging** - Added debug logging throughout the codebase for better observability:
27
+ - Platform layer (API calls, WebSocket events, user lookups)
28
+ - Session layer (streaming, reactions, commands, lifecycle)
29
+ - CLI layer (process spawn, kill, interrupt)
30
+ - Git worktree operations
31
+
32
+ ### Changed
33
+ - **Session status tracking** - New `isProcessing` and `hasClaudeResponded` flags for accurate status display (starting → active → idle)
34
+ - **Pre-commit hooks** - Added `typecheck` to lint-staged to match CI checks
35
+
36
+ ### Fixed
37
+ - **Duplicate log entries** - Removed redundant logging that caused duplicate entries in UI
38
+ - **Pre-UI logging** - Version check no longer logs before UI starts (was cluttering terminal)
39
+
10
40
  ## [0.33.8] - 2026-01-04
11
41
 
12
42
  ### Fixed
13
43
  - **Session resume broken after v0.33.7** - Fixed migration issue where sessions persisted with the old `timeoutPostId` field name couldn't be resumed after upgrading to v0.33.7. The `timeoutPostId` → `lifecyclePostId` rename now includes a proper migration that converts existing sessions on first load.
44
+ - **Defensive defaults for persisted session fields** - Session resume now uses safe defaults for all optional fields, preventing crashes when loading sessions from older versions that may have missing fields. Fields like `sessionAllowedUsers`, `planApproved`, `forceInteractivePermissions`, etc. now gracefully default instead of potentially causing undefined errors.
45
+ - **Validate required fields before resume** - Sessions with missing critical fields (`threadId`, `platformId`, `claudeSessionId`, `workingDir`) are now skipped gracefully with a warning instead of crashing.
14
46
 
15
47
  ## [0.33.7] - 2026-01-04
16
48