claude-threads 1.34.0 → 1.34.1

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,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.34.1] - 2026-09-06
11
+
12
+ ### Fixed
13
+ - **A long message no longer stalls message handling** (#551). The bot-to-bot status-post guard runs on every inbound message, on the event loop, before routing — and its authorization-refusal pattern used a greedy `\S+`, so any message that was *not* a refusal made the engine retry the split at every position before failing. Measured quadratic: ~150 ms at Mattermost's 16k post limit, 3.7 s at 80k, triggerable by any channel member with one long token. The quantifier is now lazy, which matches exactly the same strings (the addressee is a single whitespace-free token) in well under a millisecond. Measured under JSC, the engine Bun uses; V8 optimizes the greedy form away, so the fault is invisible when re-measured under Node.
14
+
10
15
  ## [1.34.0] - 2026-09-05
11
16
 
12
17
  ### Added
package/dist/index.js CHANGED
@@ -85801,7 +85801,7 @@ var ackLog = createLogger("ack");
85801
85801
  var PAUSED_SAFE_COMMANDS = new Set(["help", "release-notes", "usage"]);
85802
85802
  var BOLD = String.raw`(?:\*{1,2}|_{1,2})?`;
85803
85803
  var STATUS_POST_PATTERNS = [
85804
- /^⚠️\s+\S+ is not authorized\b/u,
85804
+ /^⚠️\s+\S+? is not authorized\b/u,
85805
85805
  new RegExp(`^⚠️\\s+${BOLD}Too busy${BOLD} -`, "u"),
85806
85806
  new RegExp(`^⏱️\\s+${BOLD}Session (?:timed out|idle)${BOLD}`, "u"),
85807
85807
  new RegExp(`^⏱️\\s+${BOLD}Session stopped responding${BOLD} - no output for `, "u"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-threads",
3
- "version": "1.34.0",
3
+ "version": "1.34.1",
4
4
  "description": "Run Claude Code from Slack or Mattermost. Sessions stream live into threads where your whole team can watch and steer.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",