mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-03 22:44:28 +00:00
docs(team-settings): add resource quotas documentation and update readme features (#326)
* docs(team-settings): add resource quotas documentation and update readme features * fix(webui): correct sandbox filesystem description
This commit is contained in:
@@ -505,7 +505,7 @@
|
||||
"pending_domains_description": "These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.",
|
||||
"no_pending_domains": "No pending domains requiring approval",
|
||||
"filesystem_restriction": "Filesystem Restriction",
|
||||
"filesystem_restriction_description": "The agent is restricted to reading and writing only within the .pi and /tmp folders. These settings are currently hardcoded for security.",
|
||||
"filesystem_restriction_description": "Sandboxed shell commands can read workspace files except sensitive environment, certificate, and key files. They can write to the project's .pi folder and the system temporary directory, plus a few runtime-managed system paths. These filesystem rules are currently hardcoded for security.",
|
||||
|
||||
"position_and_resize": "Position and resize",
|
||||
"avatar_source": "Avatar Source",
|
||||
|
||||
@@ -505,7 +505,7 @@
|
||||
"pending_domains_description": "这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。",
|
||||
"no_pending_domains": "没有待审核的域名",
|
||||
"filesystem_restriction": "文件系统限制",
|
||||
"filesystem_restriction_description": "智能体仅限于在 .pi 和 /tmp 文件夹内读写。这些设置目前出于安全考虑已硬编码。",
|
||||
"filesystem_restriction_description": "沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。",
|
||||
|
||||
"position_and_resize": "定位和调整大小",
|
||||
"avatar_source": "头像来源",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "The agent is restricted to reading and writing only within the .pi and /tmp folders. These settings are currently hardcoded for security." |
|
||||
* | "Sandboxed shell commands can read workspace files except sensitive environment, certificate, and key files. They can write to the project's .pi folder and th..." |
|
||||
*
|
||||
* @param {Filesystem_Restriction_DescriptionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
|
||||
@@ -6,17 +6,17 @@ import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
/** @typedef {{}} Filesystem_Restriction_DescriptionInputs */
|
||||
|
||||
const en_filesystem_restriction_description = /** @type {(inputs: Filesystem_Restriction_DescriptionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`The agent is restricted to reading and writing only within the .pi and /tmp folders. These settings are currently hardcoded for security.`)
|
||||
return /** @type {LocalizedString} */ (`Sandboxed shell commands can read workspace files except sensitive environment, certificate, and key files. They can write to the project's .pi folder and the system temporary directory, plus a few runtime-managed system paths. These filesystem rules are currently hardcoded for security.`)
|
||||
};
|
||||
|
||||
const zh_filesystem_restriction_description = /** @type {(inputs: Filesystem_Restriction_DescriptionInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`智能体仅限于在 .pi 和 /tmp 文件夹内读写。这些设置目前出于安全考虑已硬编码。`)
|
||||
return /** @type {LocalizedString} */ (`沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "The agent is restricted to reading and writing only within the .pi and /tmp folders. These settings are currently hardcoded for security." |
|
||||
* | "Sandboxed shell commands can read workspace files except sensitive environment, certificate, and key files. They can write to the project's .pi folder and th..." |
|
||||
*
|
||||
* @param {Filesystem_Restriction_DescriptionInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
|
||||
Reference in New Issue
Block a user