Skip to content

v1.3.182

Choose a tag to compare

@topcheer topcheer released this 28 Jul 03:38
· 2114 commits to main since this release

v1.3.182

Highlights

  • Context window protection: output caps across 10+ tools (LSP, git_status,
    list_directory, MCP, debug_log, mobile snapshot, etc.) to prevent context
    exhaustion from large results.
  • Agent stability: per-tool-call timeout with goroutine leak prevention,
    adaptive 429 retry with backoff, cache invalidation after git operations.
  • Safety: warnings for secret staging, protected branch commits, and
    enhanced permission denial guidance.
  • UX: search suggestions on zero matches (grep, glob, search_files, slash
    commands), commit message quality advisory, diagnostic hints on failures.

Context Window Protection

Tool Cap
LSP tool results 20KB
MCP read_resource 50KB
MCP tool results capped
debug_log read 20KB
git_status output 200 lines + summary
list_directory 200 entries
mobile snapshot UI tree 500 elements / 30KB
todo_write 50 items max
multi_file_write batch count + payload size
task_create subject 200 chars

Agent Stability

  • Per-tool-call timeout: each tool call has a timeout; slow tools logged.
    Sub-agent and delegation tools are exempt.
  • Goroutine leak fix: context cancelled on tool timeout.
  • Adaptive 429 retry: rate limit and server overload retried with backoff.
    Quota-exhausted 429 excluded from retry.
  • Context/drift warnings reworked: no longer stops long-running tasks.
  • Cache invalidation: caches invalidated after git stash and worktree ops.
  • Dedup identical tool calls: duplicate read-only calls in same response
    are deduplicated.
  • Task dependency validation: prevents circular and self-referencing deps.

Security

  • Secret staging warning: git_add warns when staging files that may contain
    secrets (.env, credentials).
  • Protected branch commit warning: git_commit warns when committing to
    main/master.
  • Enhanced permission denial: provides actionable guidance on denial.
  • save_memory validation: key length and content size validated.
  • cron minimum interval: enforced 5-minute minimum on create/update.

UX Improvements

  • Zero-match suggestions: grep, glob, search_files, and slash commands now
    suggest similar alternatives when no results found.
  • Commit message advisory: quality feedback on commit messages.
  • Diagnostic hints: run_command provides hints on failure.
  • write_file: distinguishes create vs overwrite in result message.
  • git_stash warning: warns about untracked files excluded from stash.

Compare

v1.3.181...v1.3.182