Repository navigation
fix(dashboard): simplify local isolation and improve usage documentation - #10487
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
astrbot-docs | b0a9033 | Commit Preview URL Branch Preview URL |
Oct 10 2026, 01:08 PM |
Contributor
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. This changes the permission policy for Agent code execution, filesystem scope, and network access, including automatically forcing execution and networking when isolation is unavailable and the host scope is selected. If that decision is wrong, agents may immediately gain broader access or network capability than intended, and any commands, data access, or external effects that occur cannot be undone by reverting the change.
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When local isolation is unavailable, users should still see execution and file-access controls that remain usable, with clear guidance for the unsupported combination. This PR simplifies those controls and provides linked setup documentation. It also organizes Usage around plugins and built-in AI, expands the plugin introduction for newcomers, and refreshes eight related guides in Chinese and English with current workflows and screenshots.
Modifications
Keep execution and file scope visible when bubblewrap/Seatbelt is unavailable or fails, including native Windows. Hide network controls and disable unsupported workspace execution with a reason on hover or keyboard focus. Display saved policies without changing the form on load; host execution enables network when isolation is unavailable.
Replace runtime cards, lock icons, and the startup warning with a compact underlined setup hint. The dialog includes an explanation, optional startup error details, and a localized documentation link. Update all four UI locales.
Consolidate the Agent Sandbox guides into local and third-party environments, including platform setup, CUA tools, and localized permission screenshots.
Organize Usage into Plugins (Plugins, MCP, Skills) and AstrBot Built-in AI (Agent Sandbox, SubAgent Orchestration, Proactive Capabilities, Web Search, Knowledge Base, Context Compression). Keep Built-in Commands before Plugins; rename CLI Commands to AstrBot CLI and Agent Runner to Agent Execution Mode. This changes documentation navigation, not the WebUI navigation layout.
Remove the Function Calling guides and replace their Web Search references with an inline explanation. Preserve the remaining guide URLs and previous title anchors; redirect
/use/computer.htmlto/use/astrbot-agent-sandbox.htmland the corresponding English URLs. Document old-to-new mappings in the WebUI reference and changelog.Rewrite the Chinese and English plugin guides for newcomers: capabilities, first-install workflow, market selection, repository/ZIP installation, configuration scope, management, MCP/Skills comparison, troubleshooting, development, and publishing. Verify instructions against current routes, labels, and implementation.
Refresh MCP, Skills, SubAgent, Proactive Capabilities, Web Search, Knowledge Base, Context Compression, and Custom Rules in both languages, adding 20 screenshots captured from the current WebUI with ego-browser. Explain prerequisites, first-use steps, configuration scope, verification, and troubleshooting. Correct stale behavior such as MCP connection on save, compression within tool loops, and knowledge-base retrieval modes.
This is not a breaking change. Backend permission enforcement and sandbox detection are unchanged. The removed standalone Function Calling pages are intentionally no longer available.
Verification Steps and Test Results
cd dashboard && pnpm typecheck— passed for the permission UI changes.uv run pytest tests/test_computer_config.py -q— 115 passed for the permission UI changes.cd docs && pnpm run docs:build— passed after the final documentation updates; existing bundle-size warning only.ruff format .,ruff check ., andgit diff --check— passed.Checklist
docs/zhanddocs/enare updated, with old-to-new mappings in the documentation and changelog.