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: enable project and local setting sources for Claude Code sessions

Xisheng-Zhao9a80aa4d643e
diff --git a/core/agent_auth_service.py b/core/agent_auth_service.py
index a3410a0ad..ab43004b3 100644
--- a/core/agent_auth_service.py
+++ b/core/agent_auth_service.py
@@ -646,7 +646,7 @@ class AgentAuthService:
option_kwargs = {
"cwd": working_path,
"env": claude_env,
- "setting_sources": ["user"],
+ "setting_sources": ["user", "project", "local"],
}
permission_mode = getattr(getattr(self.controller.config, "claude", None), "permission_mode", None)
if permission_mode:
diff --git a/core/handlers/session_handler.py b/core/handlers/session_handler.py
index d3d8f6d5d..0af29509f 100644
--- a/core/handlers/session_handler.py
+++ b/core/handlers/session_handler.py
@@ -515,7 +515,7 @@ class SessionHandler(BaseHandler):
"system_prompt": final_system_prompt,
"resume": stored_claude_session_id if stored_claude_session_id else None,
"extra_args": extra_args,
- "setting_sources": ["user"], # Load user settings from ~/.claude/settings.json
+ "setting_sources": ["user", "project", "local"], # Load all setting sources (user, project CLAUDE.md, local overrides)
# Disable AskUserQuestion tool - SDK cannot respond to it programmatically
# See: https://github.com/anthropics/claude-code/issues/10168
"disallowed_tools": ["AskUserQuestion"],