claude-threads 1.5.1 → 1.6.2
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 +44 -0
- package/bin/claude-threads-daemon +3 -0
- package/dist/index.js +192 -1118
- package/dist/mcp/permission-server.js +41 -13
- package/dist/statusline/writer.js +3 -2
- package/package.json +13 -7
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,50 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.6.2] - 2026-04-20
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **MCP server path resolution in bundled builds** - Fixes `__dirname` resolution when the project is bundled with `bun build` into a single `dist/index.js` (#316)
|
|
12
|
+
- **CLAUDE_THREADS_INTERACTIVE forwarding to daemon subprocess** - Parent no longer falsely advertises a TTY to the piped-stdio child in daemon mode (#312, #317)
|
|
13
|
+
- **Sticky message test regex** - Updated to match the actual header format (#319)
|
|
14
|
+
- **Flaky permissions integration test** - Uses pattern-based waits instead of fixed post counts to tolerate intermittent CI 500s (#320)
|
|
15
|
+
|
|
16
|
+
### Security
|
|
17
|
+
- **Override path-to-regexp to >=8.4.0** - Fixes CVE-2026-4926 (HIGH severity DoS) pulled in transitively via @modelcontextprotocol/sdk → express → router (#318)
|
|
18
|
+
- **Bump hono to 4.12.14** - Fixes GHSA-458j-xx4x-4375 (improper JSX attribute name handling in hono/jsx SSR) (#324)
|
|
19
|
+
|
|
20
|
+
### Dependencies
|
|
21
|
+
- **Bump production dependencies** - @hono/node-server, hono, @redactpii/node, react (#311, #326)
|
|
22
|
+
- **Bump dev dependencies** - @types/yazl, @types/bun, @types/node, prettier, typescript-eslint (#310, #322)
|
|
23
|
+
- **Bump CI actions** - actions/upload-pages-artifact 4 to 5 (#321)
|
|
24
|
+
|
|
25
|
+
## [1.6.1] - 2026-04-07
|
|
26
|
+
|
|
27
|
+
### Security
|
|
28
|
+
- **Bump path-to-regexp to 8.4.0** - Fixes CVE-2026-4926 (DoS via malicious route patterns) (#303)
|
|
29
|
+
|
|
30
|
+
### Dependencies
|
|
31
|
+
- **Bump production dependencies** - @hono/node-server, @modelcontextprotocol/sdk, express-rate-limit, yauzl (#308)
|
|
32
|
+
- **Bump dev dependencies** - TypeScript 5.9 to 6.0, @types/bun, @types/node, @types/react, lint-staged, typescript-eslint (#309)
|
|
33
|
+
- **Bump CI actions** - actions/configure-pages 5 to 6, actions/deploy-pages 4 to 5, schneegans/dynamic-badges-action 1.7 to 1.8 (#304, #305, #306)
|
|
34
|
+
|
|
35
|
+
## [1.6.0] - 2026-03-27
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- **Windows compatibility** - Process spawning now works on Windows via Git Bash or WSL (#295)
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
- **False headless detection via daemon** - Bot no longer incorrectly activates headless mode when spawned by the auto-restart daemon. The daemon runs the child as a background job which stripped TTY assignment; now the parent's TTY status is forwarded via environment variable (#299, #300)
|
|
42
|
+
|
|
43
|
+
### Security
|
|
44
|
+
- **Override picomatch to >=2.3.2** - Fixes GHSA-c2c7-rcm5-vvqj (ReDoS via extglob quantifiers) in transitive dependencies (#302)
|
|
45
|
+
- **Override flatted to >=3.4.0** - Fixes GHSA-25h7-pfq9-p65f
|
|
46
|
+
|
|
47
|
+
### Dependencies
|
|
48
|
+
- **Bump production dependencies** - hono, @hono/node-server, picomatch, and others (#289, #292, #297, #298)
|
|
49
|
+
- **Bump dev dependencies** - eslint 9→10, typescript 5.7→5.9, typescript-eslint 8.50→8.57 (#301)
|
|
50
|
+
- **Bump CI actions** - aquasecurity/trivy-action 0.35.0 (#288)
|
|
51
|
+
|
|
8
52
|
## [1.5.1] - 2026-03-09
|
|
9
53
|
|
|
10
54
|
### Fixed
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
# Environment variables:
|
|
24
24
|
# CLAUDE_THREADS_MAX_RESTARTS - Maximum restart attempts (default: unlimited)
|
|
25
25
|
# CLAUDE_THREADS_RESTART_DELAY - Delay between restarts in seconds (default: 2)
|
|
26
|
+
# CLAUDE_THREADS_INTERACTIVE - Set by index.ts when spawning the daemon to
|
|
27
|
+
# indicate the parent had an interactive terminal.
|
|
28
|
+
# Passed through to the child process.
|
|
26
29
|
#
|
|
27
30
|
|
|
28
31
|
set -e
|