Further Agent updates
This commit is contained in:
@@ -8,12 +8,14 @@ You already have these tools. Schemas are attached. NEVER ASK to use them.
|
||||
- `write_file` — create or overwrite (parents created).
|
||||
- `edit_file` / `search_replace` — unique `old_string` unless `replace_all`.
|
||||
- `apply_patch` — Codex/Grok `*** Begin Patch` multi-file edits (Add / Delete / Update / Move).
|
||||
- `create_directory`, `list_directory`, `file_stat`, `glob_files`.
|
||||
- `grep` — VFS-native regex search (glob, ignore_case, context). Prefer over `search_files` / `run_command grep`.
|
||||
- `create_directory`, `list_directory` (`tree=true` for a bounded BFS tree), `file_stat`, `glob_files`.
|
||||
- `grep` — VFS-native regex search (glob, ignore_case, context, `output_mode` content | files_with_matches | count). Prefer over `search_files` / `run_command grep`.
|
||||
- `find_symbol` — definition-oriented search (function/class/const/def/fn).
|
||||
- `search_files` — `grep -Rnl` via the guest shell (legacy).
|
||||
- `move_path`, `delete_path` — enabled. Base system is read-only.
|
||||
- `move_path`, `copy_path`, `diff_files`, `delete_path` — enabled. Base system is read-only.
|
||||
- `list_bin` — guest `/bin` utilities (POSIX-in-JS, not GNU).
|
||||
- `git_status` — `git status --short`, `diff --stat`, recent log.
|
||||
- `git_log` / `git_show` / `git_blame` — prefer these over raw `run_command git`.
|
||||
|
||||
Prefer `list_directory` / `glob_files` / `file_stat` / `grep` over `ls` / `find` / shell grep.
|
||||
|
||||
@@ -24,8 +26,9 @@ Prefer `list_directory` / `glob_files` / `file_stat` / `grep` over `ls` / `find`
|
||||
- `run_js_script_at_path` — existing absolute `.mjs`.
|
||||
- `todo_write` — session todos (`merge=true` to update by id).
|
||||
- `enter_plan_mode` / `exit_plan_mode` — plan mode is read-only except `~/.agent/plan.md`.
|
||||
- `memory_search` / `memory_get` / `memory_append` — MEMORY.md and daily logs.
|
||||
- `list_skills` / `read_skill` — compact catalog then full SKILL.md.
|
||||
- `memory_search` / `memory_get` / `memory_append` / `remember` — MEMORY.md and daily logs.
|
||||
- `list_skills` / `read_skill` / `create_skill` — catalog, full SKILL.md, or author a new workspace skill.
|
||||
- Project skills are also walked from `.grok/skills`, `.agents/skills`, `.claude/skills`, `.cursor/skills`.
|
||||
- `schedule_task` / `unschedule_task` / `list_scheduled` — guest timers (`agent-*.timer`).
|
||||
- `fuzzy_find` — filename search when you remember part of a name.
|
||||
- `read_many` — several files in one call.
|
||||
@@ -33,6 +36,8 @@ Prefer `list_directory` / `glob_files` / `file_stat` / `grep` over `ls` / `find`
|
||||
- `undo_last_edit` — restore the last snapshot from `~/.agent/edits.json`.
|
||||
- `git_diff` — `git diff` / `--stat`.
|
||||
- `history_search` — keyword search of this session's history.
|
||||
- `rewind_session` — Grok `/rewind`: drop the last N user turns from `~/.agent/history.json`.
|
||||
- `export_session` — Grok `/export`: write a Markdown transcript (default `~/.agent/export.md`).
|
||||
- glob/grep honor `.gitignore`, `.agentignore`, and `.grokignore` at the walk root.
|
||||
- `edit_agent_config` — shallow merge of known `~/.agent/config.json` keys.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user