Skip to content

armgit / avibe

Public Imported from GitHub
0

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.

fix(claude): preserve default tool access when no tools list specified

cyhhao35b1175f9145
diff --git a/core/handlers/session_handler.py b/core/handlers/session_handler.py
index d440e5480..0563316a9 100644
--- a/core/handlers/session_handler.py
+++ b/core/handlers/session_handler.py
@@ -182,7 +182,8 @@ class SessionHandler:
system_prompt=final_system_prompt,
resume=stored_claude_session_id if stored_claude_session_id else None,
extra_args=extra_args,
- allowed_tools=agent_allowed_tools or [], # Use agent's allowed tools if specified
+ # Only set allowed_tools if agent file specifies tools; None = use SDK defaults
+ allowed_tools=agent_allowed_tools if agent_allowed_tools else None,
setting_sources=["user"], # Load user settings from ~/.claude/settings.json
# Disable AskUserQuestion tool - SDK cannot respond to it programmatically
# See: https://github.com/anthropics/claude-code/issues/10168