agent-Specialization/config
JOJO 8d665ad6de feat(permission): add auto-approval mode with approval agent, UI flow, and docs sync
Implemented a new permission mode  between  and , including backend policy, runtime behavior, frontend display, and documentation updates.

Backend & policy changes:

- Added  to permission mode validation and persistence paths.

- Updated tool permission evaluation: workspace-local  direct pass, out-of-workspace requires approval.

- Kept  readonly-first flow and added auto-approval decision path when permission denial occurs.

- Added approval reason/decider support in tool approval manager.

- Improved rejection tool-content format to natural language: '工具调用被拒绝\n原因:...'

- Fixed permission-mode sync edge cases on conversation create/load and restart-first-switch behavior.

Approval agent subsystem:

- Added  and .

- Added lightweight auto-approval config at  (name/url/key/model/extra_params + timeouts).

- Added optional transcript debug switch in code and transcript output under logs/approval_agent.

- Aligned transcript saving toward cumulative messages format and captured reasoning/content/tool_calls/tool sequence.

Frontend changes:

- Added  option to personalization and permission menus.

- Reworked approval panel auto-review display into a dedicated block with simplified lines: start, command, final approve/reject + reason.

- Added delayed sidebar auto-close (10s) after approval resolved.

- Added stricter permission-switch verification and rollback on mismatch/error.

Docs updated:

- Synced AGENTS.md, README.md, and docs/host_sandbox_and_permission_model.md with new permission mode, approval-agent behavior, config, and current constraints (including docker caveat).
2026-05-11 17:55:27 +08:00
..
__init__.py feat: add MCP management and host-only runtime policy 2026-04-26 23:49:04 +08:00
api.py feat: containerize terminals and add resource controls 2025-11-23 18:49:35 +08:00
auth.py feat: add api admin ui and container status fix 2026-01-25 10:49:52 +08:00
auto_approval.json feat(permission): add auto-approval mode with approval agent, UI flow, and docs sync 2026-05-11 17:55:27 +08:00
conversation.py feat: enhance read tool and config structure 2025-11-14 18:33:55 +08:00
custom_models.json fix(config): restore custom_models.json 2026-05-09 19:34:31 +08:00
custom_models.json.example fix(prompt): merge disabled-tool notice into leading system prompts 2026-05-09 18:56:49 +08:00
custom_tools.py chore: sync pending changes 2026-01-05 21:48:55 +08:00
host_sandbox_policy.json feat(security): unify host sandbox controls across command/python/terminal/sub-agent and add path authorization UI 2026-05-11 13:41:30 +08:00
host_workspaces.json.example feat: add host workspace manager, mcp-tool-config skill, and UI enhancements 2026-04-28 13:04:51 +08:00
limits.py fix: extend run_command foreground timeout limit to 120s 2026-04-25 16:34:56 +08:00
mcp.py feat: add MCP management and host-only runtime policy 2026-04-26 23:49:04 +08:00
memory.py feat: enhance read tool and config structure 2025-11-14 18:33:55 +08:00
model_profiles.py fix: adapt deepseek custom models and harden todo/tool gating 2026-04-24 18:31:03 +08:00
ocr.py chore: snapshot before tool ui fix 2025-11-26 18:07:52 +08:00
paths.py fix(prompt): merge disabled-tool notice into leading system prompts 2026-05-09 18:56:49 +08:00
security.py feat: enhance read tool and config structure 2025-11-14 18:33:55 +08:00
skill_hints.json fix: 完善工具约束与项目文档说明 2026-04-10 14:33:41 +08:00
sub_agent.py fix(prompt): merge disabled-tool notice into leading system prompts 2026-05-09 18:56:49 +08:00
terminal.py feat(security): harden host execution model with sandbox/direct controls 2026-05-10 19:19:01 +08:00
todo.py feat: enhance read tool and config structure 2025-11-14 18:33:55 +08:00
ui.py feat: inline workspace logo with theme adaptation and bump versions 2026-04-07 12:14:10 +08:00
uploads.py feat: improve onboarding and copy ux 2026-01-19 21:02:24 +08:00