scream-code 0.18.3 → 0.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{app-DpKIeocS.mjs → app-Ca2pwAk7.mjs} +44 -18
- package/dist/{dispatch-CYy-62kt.mjs → dispatch-0mihbsV3.mjs} +1 -1
- package/dist/{dispatch-DD5FtPHZ.mjs → dispatch-BgO7wAf9.mjs} +839 -290
- package/dist/main.mjs +1 -1
- package/dist/public/assets/{index-BsmGEP9G.js → index-BIs_1Cpx.js} +2 -2
- package/dist/public/assets/{index-BsmGEP9G.js.map → index-BIs_1Cpx.js.map} +1 -1
- package/dist/public/assets/{index-BgrNzOAz.css → index-bnhnZew2.css} +1 -1
- package/dist/public/index.html +2 -2
- package/dist/{text-input-dialog-Dw-Cl3DW.mjs → text-input-dialog-BvbqjvzB.mjs} +8 -4
- package/dist/{text-input-dialog-DCMeCMoC.mjs → text-input-dialog-DWepgNF4.mjs} +1 -1
- package/package.json +1 -1
package/dist/public/index.html
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
})();
|
|
22
22
|
</script>
|
|
23
|
-
<script type="module" crossorigin src="./assets/index-
|
|
24
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
23
|
+
<script type="module" crossorigin src="./assets/index-BIs_1Cpx.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="./assets/index-bnhnZew2.css">
|
|
25
25
|
</head>
|
|
26
26
|
<body>
|
|
27
27
|
<div id="app"></div>
|
|
@@ -10,7 +10,7 @@ import { arch, hostname, release, type } from "node:os";
|
|
|
10
10
|
import { execFileSync } from "node:child_process";
|
|
11
11
|
import chalk from "chalk";
|
|
12
12
|
import { Container, Input, Key, matchesKey, truncateToWidth, visibleWidth } from "@liutod-scream/pi-tui";
|
|
13
|
-
//#region ../../packages/config/
|
|
13
|
+
//#region ../../packages/config/src/identity.ts
|
|
14
14
|
/**
|
|
15
15
|
* Scream host and device identity header factories.
|
|
16
16
|
*
|
|
@@ -98,6 +98,8 @@ function requiredAsciiHeader(value, fieldName) {
|
|
|
98
98
|
if (cleaned.length === 0) throw new Error(`${fieldName} must be a non-empty ASCII string.`);
|
|
99
99
|
return cleaned;
|
|
100
100
|
}
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region ../../packages/config/src/i18n/index.ts
|
|
101
103
|
const dictionaries = {
|
|
102
104
|
zh: {
|
|
103
105
|
"status.not_set": "未设置",
|
|
@@ -904,6 +906,7 @@ const dictionaries = {
|
|
|
904
906
|
"usage.subagent_title": "子 Agent 用量",
|
|
905
907
|
"usage.panel_title": " 用量 ",
|
|
906
908
|
"usage.session_total": "会话总计",
|
|
909
|
+
"usage.cache_rw": "缓存",
|
|
907
910
|
"usage.main_agent": "主 Agent",
|
|
908
911
|
"usage.sub_agent": "子 Agent",
|
|
909
912
|
"usage.model": "模型",
|
|
@@ -994,7 +997,7 @@ const dictionaries = {
|
|
|
994
997
|
"permission.manual_desc": "执行命令、编辑等风险操作前询问。读取/搜索工具直接运行;会话审批规则生效。",
|
|
995
998
|
"permission.auto": "自动",
|
|
996
999
|
"permission.auto_desc": "完全无交互运行。工具操作自动批准,跳过代理问题以便其自行决策。",
|
|
997
|
-
"permission.yolo_desc": "
|
|
1000
|
+
"permission.yolo_desc": "自动批准工具操作(含危险命令)。需要您决策时(提问、计划评审)代理仍会来找您。",
|
|
998
1001
|
"permission.bot": "Bot",
|
|
999
1002
|
"permission.bot_desc": "无人值守模式:可逆操作自动执行;其余一律拒绝并排队等你决策。",
|
|
1000
1003
|
"permission.ask_desc": "只读问答模式:直接对话回答,不修改文件、不运行命令、不调用 MCP 工具。",
|
|
@@ -2247,6 +2250,7 @@ const dictionaries = {
|
|
|
2247
2250
|
"usage.subagent_title": "Sub-Agent Usage",
|
|
2248
2251
|
"usage.panel_title": " Usage ",
|
|
2249
2252
|
"usage.session_total": "Session Total",
|
|
2253
|
+
"usage.cache_rw": "cache",
|
|
2250
2254
|
"usage.main_agent": "Main Agent",
|
|
2251
2255
|
"usage.sub_agent": "Sub-Agent",
|
|
2252
2256
|
"usage.model": "Model",
|
|
@@ -2337,7 +2341,7 @@ const dictionaries = {
|
|
|
2337
2341
|
"permission.manual_desc": "Ask before risky operations like running commands or editing files. Read/search tools run directly; session approval rules apply.",
|
|
2338
2342
|
"permission.auto": "Auto",
|
|
2339
2343
|
"permission.auto_desc": "Run fully without interaction. Tool operations are auto-approved; agent questions are skipped so it can decide on its own.",
|
|
2340
|
-
"permission.yolo_desc": "Auto-approve tool operations
|
|
2344
|
+
"permission.yolo_desc": "Auto-approve tool operations (dangerous commands included). The agent still brings its questions and plan reviews to you.",
|
|
2341
2345
|
"permission.bot": "Bot",
|
|
2342
2346
|
"permission.bot_desc": "Unattended mode: reversible actions auto-approve; anything else is denied and parked for you to review.",
|
|
2343
2347
|
"permission.ask_desc": "Read-only Q&A mode: answer in conversation, never modify files, run commands, or call MCP tools.",
|
|
@@ -2904,4 +2908,4 @@ var TextInputDialogComponent = class extends Container {
|
|
|
2904
2908
|
}
|
|
2905
2909
|
};
|
|
2906
2910
|
//#endregion
|
|
2907
|
-
export {
|
|
2911
|
+
export { assertScreamHostIdentity as a, t as i, getLocale as n, createScreamDefaultHeaders as o, setLocale as r, TextInputDialogComponent as t };
|
|
@@ -3,5 +3,5 @@ import { fileURLToPath as __cjsShimFileURLToPath } from 'node:url';
|
|
|
3
3
|
import { dirname as __cjsShimDirname } from 'node:path';
|
|
4
4
|
const __filename = __cjsShimFileURLToPath(import.meta.url);
|
|
5
5
|
const __dirname = __cjsShimDirname(__filename);
|
|
6
|
-
import { t as TextInputDialogComponent } from "./text-input-dialog-
|
|
6
|
+
import { t as TextInputDialogComponent } from "./text-input-dialog-BvbqjvzB.mjs";
|
|
7
7
|
export { TextInputDialogComponent };
|