Releases: suj1e/larkcc
Releases · suj1e/larkcc
v0.13.0
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
anywith proper types across config, cardkit, claude modules - Add null safety for
getReadableStreamcalls in download module - Include
appIdin token cache to prevent cross-profile token reuse
Fixed
- Add try/catch for all
JSON.parsecalls 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
v0.12.6
Fixed
- Fix
Claude Code native binary not founderror on Windows: cross-platform claude binary detection (whereon Windows,whichon POSIX) - Add
claude.pathconfig field for manual override of Claude Code binary location - Fix
ensureEnv()andensureClaudeInPath()for Windows: skip bash PATH injection, use Windows common paths (APPDATA/npm), correct PATH separator (;vs:)
v0.12.5
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.gray→chalk.blue
Fixed
- Tool result truncation: remove 500-char early truncation in agent.ts (both CardKit and non-CardKit paths), let
buildToolResultPanelhandle it uniformly at 2000 chars - Extract
STREAMING_TRUNCATE(4000) andTASK_SUMMARY_TRUNCATE(3000) as shared constants, eliminating duplicatedTRUNCATE_LIMITin cardkit.ts and streaming.ts - Remove unused
truncate()helper andTHINKING_OVERFLOW_TRUNCATEimport in cardkit.ts
v0.12.4
What's Changed
Changed
- Footer stats layout: single-line grey text →
column_setwith 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
What's Changed
Fixed
- Suppress SDK warning for unhandled
im.message.reaction.created_v1/deleted_v1events
Full Changelog: v0.12.2...v0.12.3
v0.12.2
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_panelfield:background_style→background_color(align with official Feishu card JSON v2 spec)
Full Changelog: v0.12.1...v0.12.2
v0.12.1
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_panelfield:background_style→background_color(align with official Feishu card JSON v2 spec)
Full Changelog: v0.12.0...v0.12.1
v0.12.0
Full Changelog: v0.11.1...v0.12.0
v0.11.1
Full Changelog: v0.11.0...v0.11.1