claude-threads 1.6.0 → 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 CHANGED
@@ -5,6 +5,33 @@ 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
+
8
35
  ## [1.6.0] - 2026-03-27
9
36
 
10
37
  ### Added
package/dist/index.js CHANGED
@@ -54372,11 +54372,19 @@ class ClaudeCli extends EventEmitter2 {
54372
54372
  getMcpServerPath() {
54373
54373
  const __filename2 = fileURLToPath3(import.meta.url);
54374
54374
  const __dirname4 = dirname6(__filename2);
54375
+ const bundledPath = resolve3(__dirname4, "mcp", "permission-server.js");
54376
+ if (existsSync8(bundledPath)) {
54377
+ return bundledPath;
54378
+ }
54375
54379
  return resolve3(__dirname4, "..", "mcp", "permission-server.js");
54376
54380
  }
54377
54381
  getStatusLineWriterPath() {
54378
54382
  const __filename2 = fileURLToPath3(import.meta.url);
54379
54383
  const __dirname4 = dirname6(__filename2);
54384
+ const bundledPath = resolve3(__dirname4, "statusline", "writer.js");
54385
+ if (existsSync8(bundledPath)) {
54386
+ return bundledPath;
54387
+ }
54380
54388
  return resolve3(__dirname4, "..", "statusline", "writer.js");
54381
54389
  }
54382
54390
  }
@@ -79624,7 +79632,7 @@ async function main() {
79624
79632
  env: {
79625
79633
  ...process.env,
79626
79634
  CLAUDE_THREADS_BIN: binPath,
79627
- ...process.stdout.isTTY ? { CLAUDE_THREADS_INTERACTIVE: "1" } : {}
79635
+ CLAUDE_THREADS_INTERACTIVE: ""
79628
79636
  }
79629
79637
  });
79630
79638
  } else {
@@ -79633,7 +79641,7 @@ async function main() {
79633
79641
  env: {
79634
79642
  ...process.env,
79635
79643
  CLAUDE_THREADS_BIN: binPath,
79636
- ...process.stdout.isTTY ? { CLAUDE_THREADS_INTERACTIVE: "1" } : {}
79644
+ CLAUDE_THREADS_INTERACTIVE: ""
79637
79645
  }
79638
79646
  });
79639
79647
  }
@@ -54444,11 +54444,19 @@ class ClaudeCli extends EventEmitter2 {
54444
54444
  getMcpServerPath() {
54445
54445
  const __filename2 = fileURLToPath3(import.meta.url);
54446
54446
  const __dirname4 = dirname4(__filename2);
54447
+ const bundledPath = resolve3(__dirname4, "mcp", "permission-server.js");
54448
+ if (existsSync4(bundledPath)) {
54449
+ return bundledPath;
54450
+ }
54447
54451
  return resolve3(__dirname4, "..", "mcp", "permission-server.js");
54448
54452
  }
54449
54453
  getStatusLineWriterPath() {
54450
54454
  const __filename2 = fileURLToPath3(import.meta.url);
54451
54455
  const __dirname4 = dirname4(__filename2);
54456
+ const bundledPath = resolve3(__dirname4, "statusline", "writer.js");
54457
+ if (existsSync4(bundledPath)) {
54458
+ return bundledPath;
54459
+ }
54452
54460
  return resolve3(__dirname4, "..", "statusline", "writer.js");
54453
54461
  }
54454
54462
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-threads",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "Share Claude Code sessions live in a Mattermost channel with interactive features",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -99,7 +99,7 @@
99
99
  "husky": "^9.1.7",
100
100
  "lint-staged": "^16.2.7",
101
101
  "prettier": "^3.4.2",
102
- "typescript": "^5.9.3",
102
+ "typescript": "^6.0.2",
103
103
  "typescript-eslint": "^8.57.2",
104
104
  "yazl": "^3.3.1"
105
105
  },
@@ -118,13 +118,15 @@
118
118
  "@hono/node-server": "$@hono/node-server",
119
119
  "express-rate-limit": "$express-rate-limit",
120
120
  "flatted": ">=3.4.0",
121
- "picomatch": ">=2.3.2"
121
+ "picomatch": ">=2.3.2",
122
+ "path-to-regexp": ">=8.4.0"
122
123
  },
123
124
  "resolutions": {
124
125
  "hono": "$hono",
125
126
  "@hono/node-server": "$@hono/node-server",
126
127
  "express-rate-limit": "$express-rate-limit",
127
128
  "flatted": ">=3.4.0",
128
- "picomatch": ">=2.3.2"
129
+ "picomatch": ">=2.3.2",
130
+ "path-to-regexp": ">=8.4.0"
129
131
  }
130
132
  }