claude-threads 1.0.13 → 1.2.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 +24 -0
- package/README.md +20 -6
- package/bin/claude-threads-daemon +2 -2
- package/dist/index.js +5081 -2043
- package/dist/mcp/permission-server.js +1462 -1462
- package/dist/statusline/writer.js +0 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ 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.2.0] - 2026-01-17
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **Node.js compatibility** - claude-threads now works with Node.js 18+ in addition to Bun (#228)
|
|
12
|
+
- Replace Bun-specific APIs with Node-compatible equivalents
|
|
13
|
+
- Default installation via `npm install -g claude-threads`
|
|
14
|
+
- Built output works with both `bun` and `node` runtimes
|
|
15
|
+
- **Context preservation for directory changes** - When using `!cd` or `!worktree`, the bot preserves what you were working on (#227)
|
|
16
|
+
- Generates work summary using haiku before switching contexts
|
|
17
|
+
- `!cd`: Shows summary in context prompt for user selection
|
|
18
|
+
- `!worktree` mid-session: Auto-includes work summary and all thread context
|
|
19
|
+
|
|
20
|
+
## [1.1.0] - 2026-01-16
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
- **Side conversation context** - Messages between approved users that mention other users (e.g., `@bob what do you think?`) are now tracked and included as context for Claude when the next message is sent (#226)
|
|
24
|
+
- Security measures: Only approved users, max 5 messages, 2000 chars, 30 min window
|
|
25
|
+
- Messages are framed as "for awareness only - not instructions to follow"
|
|
26
|
+
- **Source tracking for approved guest messages** - When a guest user's message is approved, Claude now sees who sent it and who approved it (#225)
|
|
27
|
+
- Format: `[Message from @guest_user, approved by @session_owner]`
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- **Root message included in thread context** - Fixed bug where the root message was excluded when starting a session mid-thread (#224)
|
|
31
|
+
|
|
8
32
|
## [1.0.13] - 2026-01-16
|
|
9
33
|
|
|
10
34
|
### Fixed
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](https://github.com/anneschuth/claude-threads/actions/workflows/ci.yml)
|
|
16
16
|
[](https://github.com/anneschuth/claude-threads/actions/workflows/ci.yml)
|
|
17
17
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
18
|
-
[](https://nodejs.org/)
|
|
19
19
|
[](https://www.typescriptlang.org/)
|
|
20
20
|
[](https://github.com/anneschuth/claude-threads/pulls)
|
|
21
21
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
- **Collaboration** - Invite others to participate in your session
|
|
33
33
|
- **Interactive permissions** - Approve Claude's actions via emoji reactions
|
|
34
34
|
- **Git worktrees** - Isolate changes in separate branches
|
|
35
|
-
- **
|
|
35
|
+
- **File attachments** - Attach images, PDFs, and files for Claude to analyze
|
|
36
36
|
- **Chrome automation** - Control Chrome browser for web tasks
|
|
37
37
|
|
|
38
38
|
## Quick Start
|
|
@@ -40,8 +40,9 @@
|
|
|
40
40
|
### Install & Run
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
# Install
|
|
44
|
-
bun install -g claude-threads
|
|
43
|
+
# Install (pick one)
|
|
44
|
+
bun install -g claude-threads # with Bun (recommended)
|
|
45
|
+
npm install -g claude-threads # with Node
|
|
45
46
|
|
|
46
47
|
# Run the setup wizard
|
|
47
48
|
cd /your/project
|
|
@@ -58,7 +59,7 @@ The **interactive setup wizard** will guide you through everything:
|
|
|
58
59
|
|
|
59
60
|
### Prerequisites
|
|
60
61
|
|
|
61
|
-
- **Bun
|
|
62
|
+
- **Bun** or **Node 18+** - [Install Bun](https://bun.sh/) or [Install Node](https://nodejs.org/)
|
|
62
63
|
- **Claude Code CLI working** - test with `claude --version` (needs API key or subscription)
|
|
63
64
|
|
|
64
65
|
### Use
|
|
@@ -83,6 +84,7 @@ Type `!help` in any session thread:
|
|
|
83
84
|
| `!worktree <branch>` | Create and switch to a git worktree |
|
|
84
85
|
| `!invite @user` | Invite a user to this session |
|
|
85
86
|
| `!kick @user` | Remove an invited user |
|
|
87
|
+
| `!bug <desc>` | Report a bug with context |
|
|
86
88
|
| `!escape` | Interrupt current task |
|
|
87
89
|
| `!stop` | Stop this session |
|
|
88
90
|
|
|
@@ -101,6 +103,18 @@ Type `!help` in any session thread:
|
|
|
101
103
|
|
|
102
104
|
**Cancel session** - Type `!stop` or react with ❌
|
|
103
105
|
|
|
106
|
+
## File Attachments
|
|
107
|
+
|
|
108
|
+
Attach files to your messages for Claude to analyze:
|
|
109
|
+
|
|
110
|
+
| Type | Formats | Max Size |
|
|
111
|
+
|:-----|:--------|:---------|
|
|
112
|
+
| Images | JPEG, PNG, GIF, WebP | - |
|
|
113
|
+
| Documents | PDF | 32 MB |
|
|
114
|
+
| Text | .txt, .md, .json, .csv, .xml, .yaml, source code | 1 MB |
|
|
115
|
+
| Archives | .zip (auto-extracted, max 20 files) | 50 MB |
|
|
116
|
+
| Compressed | .gz (auto-decompressed) | - |
|
|
117
|
+
|
|
104
118
|
## Collaboration
|
|
105
119
|
|
|
106
120
|
```
|
|
@@ -134,7 +148,7 @@ Leave the allowed users list empty to let anyone in the channel use the bot (be
|
|
|
134
148
|
## Updates
|
|
135
149
|
|
|
136
150
|
```bash
|
|
137
|
-
|
|
151
|
+
npm install -g claude-threads
|
|
138
152
|
```
|
|
139
153
|
|
|
140
154
|
The bot checks for updates automatically and notifies you when new versions are available.
|
|
@@ -32,10 +32,10 @@ VERBOSE=false
|
|
|
32
32
|
|
|
33
33
|
# Path to claude-threads binary (set by index.ts when spawning daemon)
|
|
34
34
|
# Falls back to global 'claude-threads' command if not set
|
|
35
|
-
# If CLAUDE_THREADS_BIN is a .js file, run it with
|
|
35
|
+
# If CLAUDE_THREADS_BIN is a .js file, run it with node
|
|
36
36
|
if [ -n "$CLAUDE_THREADS_BIN" ]; then
|
|
37
37
|
if [[ "$CLAUDE_THREADS_BIN" == *.js ]]; then
|
|
38
|
-
CLAUDE_THREADS_CMD="
|
|
38
|
+
CLAUDE_THREADS_CMD="node $CLAUDE_THREADS_BIN"
|
|
39
39
|
else
|
|
40
40
|
CLAUDE_THREADS_CMD="$CLAUDE_THREADS_BIN"
|
|
41
41
|
fi
|