Skip to content

Releases: suj1e/larkcc

v0.13.0

12 May 12:20

Choose a tag to compare

Changed

  • Extract shared utilities to src/shared/: claude-binary, tool-labels, image-type — eliminate code duplication across modules
  • Replace string concatenation with string[] for text/thinking buffers in agent loop
  • Replace polling-based card creation with Promise-based approach in CardKit controller
  • Tighten types: replace any with proper types across config, cardkit, claude modules
  • Add null safety for getReadableStream calls in download module
  • Include appId in token cache to prevent cross-profile token reuse

Fixed

  • Add try/catch for all JSON.parse calls in message handler
  • Add buffer truncation in flush controller to prevent unbounded memory growth
  • Fix async signal handler (SIGINT/SIGTERM) to properly catch errors
  • Add error logging for WebSocket connection and bot info fetch failures

v0.12.7

09 May 16:30

Choose a tag to compare

  • Upgrade @larksuiteoapi/node-sdk 1.61.1 → 1.63.1
  • Restructure streaming modules into streaming/ subdirectory
  • Reorganize module structure and rename files for clarity
  • Consolidate directories and rename modules for clarity

v0.12.6

09 May 07:22

Choose a tag to compare

Fixed

  • Fix Claude Code native binary not found error on Windows: cross-platform claude binary detection (where on Windows, which on POSIX)
  • Add claude.path config field for manual override of Claude Code binary location
  • Fix ensureEnv() and ensureClaudeInPath() for Windows: skip bash PATH injection, use Windows common paths (APPDATA/npm), correct PATH separator (; vs :)

v0.12.5

09 May 05:28

Choose a tag to compare

Changed

  • Sub-agent card: swap header title/subtitle (description as title, "Sub Agent" as subtitle), add header tags (elapsed time + tokens)
  • Sub-agent card: display tool call sequence with arrow display; terminal state merges consecutive duplicates with counts
  • Replace sub-agent footer column_set with header text_tag_list, removing duplicate info between header and footer
  • Accumulate tool call history from progress events in TaskPanelController
  • Logger timestamp color: chalk.graychalk.blue

Fixed

  • Tool result truncation: remove 500-char early truncation in agent.ts (both CardKit and non-CardKit paths), let buildToolResultPanel handle it uniformly at 2000 chars
  • Extract STREAMING_TRUNCATE (4000) and TASK_SUMMARY_TRUNCATE (3000) as shared constants, eliminating duplicated TRUNCATE_LIMIT in cardkit.ts and streaming.ts
  • Remove unused truncate() helper and THINKING_OVERFLOW_TRUNCATE import in cardkit.ts

v0.12.4

09 May 04:08

Choose a tag to compare

What's Changed

Changed

  • Footer stats layout: single-line grey text → column_set with equal-width columns (input/output tokens, tool count)
  • Tool panel header: plain text → markdown formatting (bold label + inline code detail)
  • Task panel footer: single-line grey text → column_set
  • Extract buildStatsTags() to eliminate duplicated tag construction

Full Changelog: v0.12.3...v0.12.4

v0.12.3

09 May 03:07

Choose a tag to compare

What's Changed

Fixed

  • Suppress SDK warning for unhandled im.message.reaction.created_v1 / deleted_v1 events

Full Changelog: v0.12.2...v0.12.3

v0.12.2

09 May 02:43

Choose a tag to compare

What's Changed

Added

  • Tool result collapsible panels in CardKit mode: each tool call is shown as a collapsed panel with result preview in the final card
  • Format tool result content by type: Read results use language-tagged code blocks (auto-detected from file extension), Bash results use bash code blocks
  • Increase tool result truncation threshold from 500 to 2000 characters

Fixed

  • Fix collapsible_panel field: background_stylebackground_color (align with official Feishu card JSON v2 spec)

Full Changelog: v0.12.1...v0.12.2

v0.12.1

08 May 17:34

Choose a tag to compare

What's Changed

Added

  • Tool result collapsible panels in CardKit mode: each tool call is shown as a collapsed panel with result preview in the final card

Fixed

  • Fix collapsible_panel field: background_stylebackground_color (align with official Feishu card JSON v2 spec)

Full Changelog: v0.12.0...v0.12.1

v0.12.0

08 May 16:55

Choose a tag to compare

Full Changelog: v0.11.1...v0.12.0

v0.11.1

29 Apr 05:19

Choose a tag to compare

Full Changelog: v0.11.0...v0.11.1