claude-threads 0.15.0 → 0.16.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.
Files changed (79) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +5 -5
  3. package/dist/index.js +20397 -387
  4. package/dist/mcp/permission-server.js +34039 -139
  5. package/package.json +14 -18
  6. package/dist/changelog.d.ts +0 -20
  7. package/dist/changelog.js +0 -134
  8. package/dist/claude/cli.d.ts +0 -50
  9. package/dist/claude/cli.js +0 -181
  10. package/dist/config/migration.d.ts +0 -45
  11. package/dist/config/migration.js +0 -35
  12. package/dist/config.d.ts +0 -21
  13. package/dist/config.js +0 -7
  14. package/dist/git/worktree.d.ts +0 -46
  15. package/dist/git/worktree.js +0 -228
  16. package/dist/index.d.ts +0 -2
  17. package/dist/logo.d.ts +0 -14
  18. package/dist/logo.js +0 -41
  19. package/dist/mattermost/api.d.ts +0 -85
  20. package/dist/mattermost/api.js +0 -124
  21. package/dist/mattermost/api.test.d.ts +0 -1
  22. package/dist/mattermost/api.test.js +0 -319
  23. package/dist/mcp/permission-server.d.ts +0 -2
  24. package/dist/onboarding.d.ts +0 -1
  25. package/dist/onboarding.js +0 -318
  26. package/dist/persistence/session-store.d.ts +0 -71
  27. package/dist/persistence/session-store.js +0 -152
  28. package/dist/platform/client.d.ts +0 -140
  29. package/dist/platform/client.js +0 -1
  30. package/dist/platform/formatter.d.ts +0 -74
  31. package/dist/platform/formatter.js +0 -1
  32. package/dist/platform/index.d.ts +0 -11
  33. package/dist/platform/index.js +0 -8
  34. package/dist/platform/mattermost/client.d.ts +0 -70
  35. package/dist/platform/mattermost/client.js +0 -404
  36. package/dist/platform/mattermost/formatter.d.ts +0 -20
  37. package/dist/platform/mattermost/formatter.js +0 -46
  38. package/dist/platform/mattermost/permission-api.d.ts +0 -10
  39. package/dist/platform/mattermost/permission-api.js +0 -139
  40. package/dist/platform/mattermost/types.d.ts +0 -71
  41. package/dist/platform/mattermost/types.js +0 -1
  42. package/dist/platform/permission-api-factory.d.ts +0 -11
  43. package/dist/platform/permission-api-factory.js +0 -21
  44. package/dist/platform/permission-api.d.ts +0 -67
  45. package/dist/platform/permission-api.js +0 -8
  46. package/dist/platform/types.d.ts +0 -70
  47. package/dist/platform/types.js +0 -7
  48. package/dist/session/commands.d.ts +0 -52
  49. package/dist/session/commands.js +0 -323
  50. package/dist/session/events.d.ts +0 -25
  51. package/dist/session/events.js +0 -368
  52. package/dist/session/index.d.ts +0 -7
  53. package/dist/session/index.js +0 -6
  54. package/dist/session/lifecycle.d.ts +0 -70
  55. package/dist/session/lifecycle.js +0 -456
  56. package/dist/session/manager.d.ts +0 -96
  57. package/dist/session/manager.js +0 -537
  58. package/dist/session/reactions.d.ts +0 -25
  59. package/dist/session/reactions.js +0 -151
  60. package/dist/session/streaming.d.ts +0 -47
  61. package/dist/session/streaming.js +0 -152
  62. package/dist/session/types.d.ts +0 -78
  63. package/dist/session/types.js +0 -9
  64. package/dist/session/worktree.d.ts +0 -56
  65. package/dist/session/worktree.js +0 -339
  66. package/dist/update-notifier.d.ts +0 -3
  67. package/dist/update-notifier.js +0 -41
  68. package/dist/utils/emoji.d.ts +0 -43
  69. package/dist/utils/emoji.js +0 -65
  70. package/dist/utils/emoji.test.d.ts +0 -1
  71. package/dist/utils/emoji.test.js +0 -131
  72. package/dist/utils/logger.d.ts +0 -34
  73. package/dist/utils/logger.js +0 -42
  74. package/dist/utils/logger.test.d.ts +0 -1
  75. package/dist/utils/logger.test.js +0 -121
  76. package/dist/utils/tool-formatter.d.ts +0 -53
  77. package/dist/utils/tool-formatter.js +0 -252
  78. package/dist/utils/tool-formatter.test.d.ts +0 -1
  79. package/dist/utils/tool-formatter.test.js +0 -372
package/CHANGELOG.md CHANGED
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.16.2] - 2025-12-31
11
+
12
+ ### Fixed
13
+ - CI: Use npm publish for reliable registry authentication (bun publish auth issues)
14
+
15
+ ## [0.16.1] - 2025-12-31
16
+
17
+ ### Fixed
18
+ - CI: Skip lifecycle scripts during `bun publish` to avoid husky error
19
+
20
+ ## [0.16.0] - 2025-12-31
21
+
22
+ ### Changed
23
+ - **Runtime**: Migrated from Node.js to Bun runtime for 5-8x faster startup
24
+ - **WebSocket**: Replaced `ws` package with native Bun WebSocket (browser-style API)
25
+ - **YAML**: Replaced `yaml` package with native `Bun.YAML`
26
+ - **Testing**: Replaced Vitest with native `bun test`
27
+ - **CI/CD**: Updated GitHub Actions to use Bun
28
+
29
+ ### Removed
30
+ - Node.js dependency - **Bun 1.2.21+ is now required**
31
+ - Dependencies: `ws`, `yaml`, `tsx`, `vitest`, `@vitest/coverage-v8`
32
+
33
+ ### Developer Experience
34
+ - ~2x faster test execution with `bun test`
35
+ - ~7-10x faster CI package installs
36
+ - Native TypeScript execution without transpilation
37
+
10
38
  ## [0.15.0] - 2025-12-30
11
39
 
12
40
  ### Changed
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  [![npm version](https://img.shields.io/npm/v/claude-threads.svg)](https://www.npmjs.com/package/claude-threads)
10
10
  [![npm downloads](https://img.shields.io/npm/dm/claude-threads.svg)](https://www.npmjs.com/package/claude-threads)
11
11
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
12
- [![Node.js](https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg)](https://nodejs.org/)
12
+ [![Bun](https://img.shields.io/badge/Bun-%3E%3D1.2.21-black.svg)](https://bun.sh/)
13
13
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.7-blue.svg)](https://www.typescriptlang.org/)
14
14
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
15
15
 
@@ -51,7 +51,7 @@ Runs entirely on your machine - only **outbound** connections to Mattermost. No
51
51
  ## Prerequisites
52
52
 
53
53
  1. **Claude Code CLI** installed and authenticated (`claude --version`)
54
- 2. **Node.js 18+**
54
+ 2. **Bun 1.2.21+** (`bun --version`) - [Install Bun](https://bun.sh/)
55
55
  3. **Mattermost bot account** with a personal access token
56
56
 
57
57
  ## Quick Start
@@ -59,7 +59,7 @@ Runs entirely on your machine - only **outbound** connections to Mattermost. No
59
59
  ### 1. Install
60
60
 
61
61
  ```bash
62
- npm install -g claude-threads
62
+ bun install -g claude-threads
63
63
  ```
64
64
 
65
65
  ### 2. Run
@@ -394,7 +394,7 @@ claude-threads checks for updates every 30 minutes and notifies you when a new v
394
394
  To update:
395
395
 
396
396
  ```bash
397
- npm install -g claude-threads
397
+ bun install -g claude-threads
398
398
  ```
399
399
 
400
400
  To disable update checks, set `NO_UPDATE_NOTIFIER=1`.
@@ -415,4 +415,4 @@ The bot needs permissions to:
415
415
 
416
416
  ## License
417
417
 
418
- MIT
418
+ Apache-2.0