larkcc 0.12.6 → 0.13.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
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.13.0] - 2026-05-12
11
+
12
+ ### Changed
13
+
14
+ - Extract shared utilities to `src/shared/`: `claude-binary`, `tool-labels`, `image-type` — eliminate code duplication across modules
15
+ - Replace string concatenation with `string[]` for text/thinking buffers in agent loop
16
+ - Replace polling-based card creation with Promise-based approach in CardKit controller
17
+ - Tighten types: replace `any` with proper types across config, cardkit, claude modules
18
+ - Add null safety for `getReadableStream` calls in download module
19
+ - Include `appId` in token cache to prevent cross-profile token reuse
20
+
21
+ ### Fixed
22
+
23
+ - Add try/catch for all `JSON.parse` calls in message handler
24
+ - Add buffer truncation in flush controller to prevent unbounded memory growth
25
+ - Fix async signal handler (`SIGINT`/`SIGTERM`) to properly catch errors
26
+ - Add error logging for WebSocket connection and bot info fetch failures
27
+
28
+ ## [0.12.7] - 2026-05-10
29
+
30
+ ### Changed
31
+
32
+ - Upgrade `@larksuiteoapi/node-sdk` 1.61.1 → 1.63.1
33
+ - Restructure streaming modules into `streaming/` subdirectory
34
+ - Reorganize module structure and rename files for clarity
35
+ - Consolidate directories and rename modules for clarity
36
+
10
37
  ## [0.12.6] - 2026-05-09
11
38
 
12
39
  ### Fixed