claude-threads 0.58.0 → 0.60.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 +30 -0
- package/README.md +19 -18
- package/dist/index.js +17154 -16268
- package/docs/CONFIGURATION.md +114 -0
- package/docs/pm2/ecosystem.config.js +63 -0
- package/docs/slack-app-manifest.yaml +34 -0
- package/docs/systemd/claude-threads.service +55 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.60.0] - 2026-01-11
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Background cleanup scheduler** - Log cleanup and orphan worktree cleanup now run in the background (every hour) instead of blocking startup (#191)
|
|
14
|
+
- **Session monitor class** - Idle session timeout check and sticky refresh now use a proper class with start/stop interface (#191)
|
|
15
|
+
|
|
16
|
+
### Improved
|
|
17
|
+
- **Faster bot startup** - Cleanup tasks run fire-and-forget instead of blocking initialization (#191)
|
|
18
|
+
- **Consistent background task interface** - Both `SessionMonitor` and `CleanupScheduler` have matching `start()`/`stop()` methods (#191)
|
|
19
|
+
- **Better naming** - Renamed `cleanupTimer` to `sessionMonitor` for clarity (#191)
|
|
20
|
+
|
|
21
|
+
## [0.59.0] - 2026-01-11
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
- **Comprehensive setup guide** - New consolidated SETUP_GUIDE.md with step-by-step instructions for Mattermost and Slack bot creation (#190)
|
|
25
|
+
- **Slack app manifest in onboarding** - Option to copy Slack app manifest to clipboard for quick setup (#190)
|
|
26
|
+
- **Smart display name defaults** - Automatically derive display names from Mattermost server URLs (e.g., "acme-corp.mattermost.com" → "Acme Corp") (#190)
|
|
27
|
+
- **Claude CLI validation** - Onboarding now checks for Claude CLI installation and compatible version before continuing (#190)
|
|
28
|
+
- **Credential validation** - Real-time validation of Mattermost and Slack credentials with helpful error messages (#190)
|
|
29
|
+
- **Secure config file permissions** - Config file now saved with 0o600 permissions (owner-only) since it contains API tokens (#190)
|
|
30
|
+
|
|
31
|
+
### Improved
|
|
32
|
+
- **Dramatically improved onboarding UX** - Complete rewrite of the setup wizard with better prompts, contextual hints, and retry loops (#190)
|
|
33
|
+
- **Reconfigure flow** - New smart reconfigure mode that shows existing config and lets you edit specific sections (#190)
|
|
34
|
+
- **Security warnings** - Warning when allowing anyone in the channel to use the bot (#190)
|
|
35
|
+
- **Platform instructions shown inline** - Setup instructions for each platform shown after selecting it, reducing need to consult external docs (#190)
|
|
36
|
+
|
|
37
|
+
### Removed
|
|
38
|
+
- **Legacy setup docs** - Removed docs/MATTERMOST_SETUP.md and docs/SLACK_SETUP.md in favor of consolidated SETUP_GUIDE.md (#190)
|
|
39
|
+
|
|
10
40
|
## [0.58.0] - 2026-01-10
|
|
11
41
|
|
|
12
42
|
### Improved
|
package/README.md
CHANGED
|
@@ -37,21 +37,29 @@
|
|
|
37
37
|
|
|
38
38
|
## Quick Start
|
|
39
39
|
|
|
40
|
-
### Prerequisites
|
|
41
|
-
|
|
42
|
-
1. **Claude Code CLI** installed and authenticated (`claude --version`)
|
|
43
|
-
2. **Bun 1.2.21+** - [Install Bun](https://bun.sh/)
|
|
44
|
-
3. **Bot account** - [Mattermost](docs/MATTERMOST_SETUP.md) or [Slack](docs/SLACK_SETUP.md)
|
|
45
|
-
|
|
46
40
|
### Install & Run
|
|
47
41
|
|
|
48
42
|
```bash
|
|
43
|
+
# Install
|
|
49
44
|
bun install -g claude-threads
|
|
45
|
+
|
|
46
|
+
# Run the setup wizard
|
|
50
47
|
cd /your/project
|
|
51
48
|
claude-threads
|
|
52
49
|
```
|
|
53
50
|
|
|
54
|
-
|
|
51
|
+
The **interactive setup wizard** will guide you through everything:
|
|
52
|
+
- Configure Claude Code CLI (if needed)
|
|
53
|
+
- Set up your Mattermost or Slack bot
|
|
54
|
+
- Test credentials and permissions
|
|
55
|
+
- Get you up and running in minutes
|
|
56
|
+
|
|
57
|
+
**Need help with platform setup?** See the [Setup Guide](SETUP_GUIDE.md) for Mattermost or Slack bot creation.
|
|
58
|
+
|
|
59
|
+
### Prerequisites
|
|
60
|
+
|
|
61
|
+
- **Bun 1.2.21+** - [Install Bun](https://bun.sh/)
|
|
62
|
+
- **Claude Code CLI working** - test with `claude --version` (needs API key or subscription)
|
|
55
63
|
|
|
56
64
|
### Use
|
|
57
65
|
|
|
@@ -114,21 +122,14 @@ Or mid-session: `!worktree feature/add-auth`
|
|
|
114
122
|
|
|
115
123
|
## Access Control
|
|
116
124
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
```yaml
|
|
120
|
-
platforms:
|
|
121
|
-
- id: slack-team
|
|
122
|
-
allowedUsers: [alice, bob, carol]
|
|
123
|
-
```
|
|
125
|
+
Restrict who can use the bot during setup (or reconfigure later with `claude-threads --setup`).
|
|
124
126
|
|
|
125
|
-
|
|
127
|
+
Leave the allowed users list empty to let anyone in the channel use the bot (be careful!)
|
|
126
128
|
|
|
127
129
|
## Documentation
|
|
128
130
|
|
|
129
|
-
- **[
|
|
130
|
-
- **[
|
|
131
|
-
- **[Configuration Reference](docs/CONFIGURATION.md)** - All settings and options
|
|
131
|
+
- **[Setup Guide](SETUP_GUIDE.md)** - Step-by-step setup for Mattermost and Slack
|
|
132
|
+
- **[Configuration Reference](CLAUDE.md)** - Technical details and architecture
|
|
132
133
|
|
|
133
134
|
## Updates
|
|
134
135
|
|