Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(agent-core): bash description names the bounded log; edits needs at least one item
cyhaf16c7cc9634
diff --git a/core/agent_core/tools/bash.py b/core/agent_core/tools/bash.pyindex 8cc2923d1..10246c8eb 100644--- a/core/agent_core/tools/bash.py+++ b/core/agent_core/tools/bash.py@@ -56,8 +56,8 @@ BASH_SCHEMA: Mapping[str, Any] = {def bash_description(foreground_window_s: float = DEFAULT_FOREGROUND_WINDOW_S) -> str:return ("Execute a bash command in the current working directory. Returns stdout and stderr. Output is truncated to "- f"last {MAX_LINES} lines or {MAX_BYTES // 1024}KB (whichever is hit first). If truncated, full output is saved "- "to a temp file. Optionally provide a timeout in seconds. "+ f"last {MAX_LINES} lines or {MAX_BYTES // 1024}KB (whichever is hit first). If truncated, the output log is saved "+ "to a file; very large logs keep their beginning and end. Optionally provide a timeout in seconds. "f"Commands still running after {format_number(foreground_window_s)} seconds, or started with watch=true, ""continue in the background as an Avibe Watch; you get a follow-up message when they finish.")diff --git a/core/agent_core/tools/edit.py b/core/agent_core/tools/edit.pyindex 9244a4ac8..c74245df6 100644--- a/core/agent_core/tools/edit.py+++ b/core/agent_core/tools/edit.py@@ -36,6 +36,7 @@ EDIT_SCHEMA: Mapping[str, Any] = {"path": {"type": "string", "description": "Path to the file to edit (relative or absolute)"},"edits": {"type": "array",+ "minItems": 1,"description": ("One or more targeted replacements. Each edit is matched against the original file, not ""incrementally. Do not include overlapping or nested edits. If two changes touch the same block or "diff --git a/tests/agent_core/tools/test_write_edit.py b/tests/agent_core/tools/test_write_edit.pyindex feb31aa1d..ec898254c 100644--- a/tests/agent_core/tools/test_write_edit.py+++ b/tests/agent_core/tools/test_write_edit.py@@ -248,6 +248,10 @@ async def test_an_edit_never_changes_bytes_outside_the_lines_it_replaces(tmp_pat[{"oldText": "alpha", "newText": "A"}, {"oldText": "beta ", "newText": "B"}],"edits[0] and edits[1] overlap in f.txt. Merge them into one edit or target disjoint regions.",),+ (+ [],+ "Edit tool input is invalid. edits must contain at least one replacement.",+ ),([{"oldText": "alpha", "newText": "A"}, {"oldText": "", "newText": "x"}],"edits[1].oldText must not be empty in f.txt.",