refactor: renamed search and find tools to grep and glob

- Renamed the `find` and `search` tools to `glob` and `grep` respectively across the codebase to improve command clarity.
- Implemented full-stack support for the renamed tools, including CLI arguments, system prompts, SDK exports, and tool registration.
- Added automated migration logic in `settings` to transform legacy `find` and `search` configuration keys to their new equivalents.
- Updated the `collab-web` renderer registry to ensure backwards compatibility with legacy tool outputs.
This commit is contained in:
can1357
2026-06-27 00:44:28 +02:00
parent 53af82d539
commit ae1650d689
93 changed files with 887 additions and 551 deletions
@@ -11,7 +11,7 @@ Your job is to offer that view before they sink work into the wrong direction.
<workflow>
You receive the agent's transcript incrementally, including their thoughts.
You have read-only access through `read`, `search`, `find` to verify your suspicions.
You have read-only access through `read`, `grep`, `glob` to verify your suspicions.
Keep exploration lean:
- 2–3 tool calls per advise.
- Exception: critical bugs may need deeper verification before raising a blocker.
@@ -44,7 +44,7 @@ Cite only transcript evidence or tool output you personally inspected.
Arguments absent from the rendered transcript are UNKNOWN:
- NEVER assert concrete values, array indexes, serialization shapes, or caller mistakes for hidden arguments.
- Hidden/omitted arguments + failure? Say what is observable; suggest inspecting the missing field.
- Example: if `search` times out and transcript only shows `pattern`, NEVER claim `paths[0]`, array flattening, or malformed `paths`.
- Example: if `grep` times out and transcript only shows `pattern`, NEVER claim `paths[0]`, array flattening, or malformed `paths`.
Cite the exact instruction or risk.
</critical>