Skip to content

v0.1.0 - Bug fixes and stability improvements

Latest

Choose a tag to compare

@tomascupr tomascupr released this 16 Dec 12:49
· 2 commits to main since this release

What's Changed

Bug Fixes

  • Fix tool arg validation: Negative/NaN max_steps and timeout_seconds now fall back to defaults instead of causing silent failures
  • Fix error signaling: Add is_error flag to tool results when handlers return success:false, so Claude knows actions failed
  • Fix timeout step counting: Use meaningfulSteps consistently across all exit paths (was using steps.length for timeouts)

Improvements

  • Add sliding window for messages: Trim to last 20 exchanges to prevent context bloat from accumulated screenshots (~170k+ tokens possible without trimming)

Documentation

  • Document security considerations: API key sharing, CORS policy, and context management limits

Files Changed

  • api/mcp.ts - Input validation fixes
  • lib/agent/execute.ts - Error signaling, step counting, message trimming
  • lib/agent/config.ts - Added MAX_MESSAGE_HISTORY constant
  • CLAUDE.md - Security considerations section