|
Add multi-user sandbox: filesystem, terminal, code_exec, security policy
- filesystem, share_file: sandbox non-admin users to user_data/<user_id>/ - terminal: working_dir sandbox + allowlist + dangerous pattern block for users - code_exec: sandbox CWD and temp files to user_data/<user_id>/ for users - context_builder: inject dynamic security policy into LLM context (user/admin) - config: terminal_user_allowed_commands setting - agent: wire user_id/user_role through ContextBuilder.build() - base: add current_user_role ContextVar; run_ephemeral inherits role Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| navi/api/routes/messages.py |
|---|
| navi/api/websocket.py |
|---|
| navi/config.py |
|---|
| navi/core/agent.py |
|---|
| navi/core/context_builder.py |
|---|
| navi/tools/base.py |
|---|
| navi/tools/code_exec.py |
|---|
| navi/tools/filesystem.py |
|---|
| navi/tools/share_file.py |
|---|
| navi/tools/terminal.py |
|---|