Skip to content

fix(tools): improve executor reliability and add PatchFile tool#23

Merged
enowdev merged 1 commit into
enowdev:mainfrom
danuseta:fix/tool-executor-improvements
May 15, 2026
Merged

fix(tools): improve executor reliability and add PatchFile tool#23
enowdev merged 1 commit into
enowdev:mainfrom
danuseta:fix/tool-executor-improvements

Conversation

@danuseta
Copy link
Copy Markdown

No description provided.

- web_search: parse DuckDuckGo JSON into readable format instead of
  returning raw JSON blob. Extracts summary, direct answer, and
  related topics (max 8).

- list_dir/search_files: skip common noise directories (node_modules,
  .git, target, dist, build, .next, __pycache__, .venv, .turbo,
  .cache) via filter_entry. Prevents slow traversal and noisy results
  on large projects.

- run_command: add 256KB output size limit per stream (stdout/stderr).
  Prevents OOM when commands produce massive output. Truncated output
  includes total byte count for context.

- PatchFile tool: find-and-replace for partial file edits. Requires
  old_string to be unique in the file (rejects ambiguous matches).
  Reports lines replaced. Registered in agent tool definitions.
@enowdev enowdev merged commit 11c241f into enowdev:main May 15, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants