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 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
  [![CI](https://github.com/anneschuth/claude-threads/actions/workflows/ci.yml/badge.svg)](https://github.com/anneschuth/claude-threads/actions/workflows/ci.yml)
16
16
  [![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/anneschuth/4951f9235658e276208942986092e5ab/raw/coverage-badge.json)](https://github.com/anneschuth/claude-threads/actions/workflows/ci.yml)
17
17
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
18
- [![Bun](https://img.shields.io/badge/Bun-%3E%3D1.2.21-black.svg)](https://bun.sh/)
18
+ [![Node](https://img.shields.io/badge/Node-%3E%3D18-green.svg)](https://nodejs.org/)
19
19
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.7-blue.svg)](https://www.typescriptlang.org/)
20
20
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](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
- - **Image attachments** - Attach images for Claude to analyze
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 1.2.21+** - [Install Bun](https://bun.sh/)
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
- bun install -g claude-threads
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 bun
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="bun $CLAUDE_THREADS_BIN"
38
+ CLAUDE_THREADS_CMD="node $CLAUDE_THREADS_BIN"
39
39
  else
40
40
  CLAUDE_THREADS_CMD="$CLAUDE_THREADS_BIN"
41
41
  fi