scream-code 0.18.2 → 0.18.5
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-DuRqozgp.mjs → app-DTuYJJwB.mjs} +11 -9
- package/dist/{dispatch-BbGcQ7_2.mjs → dispatch-BFsePVX6.mjs} +133 -26
- package/dist/{dispatch-Cj1IEGCC.mjs → dispatch-fJ2MwyhX.mjs} +1 -1
- 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-DCMeCMoC.mjs → text-input-dialog-BcAJghtL.mjs} +1 -1
- package/dist/{text-input-dialog-Dw-Cl3DW.mjs → text-input-dialog-CxdRYbA4.mjs} +6 -4
- 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>
|
|
@@ -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-CxdRYbA4.mjs";
|
|
7
7
|
export { TextInputDialogComponent };
|
|
@@ -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": "未设置",
|
|
@@ -994,7 +996,7 @@ const dictionaries = {
|
|
|
994
996
|
"permission.manual_desc": "执行命令、编辑等风险操作前询问。读取/搜索工具直接运行;会话审批规则生效。",
|
|
995
997
|
"permission.auto": "自动",
|
|
996
998
|
"permission.auto_desc": "完全无交互运行。工具操作自动批准,跳过代理问题以便其自行决策。",
|
|
997
|
-
"permission.yolo_desc": "
|
|
999
|
+
"permission.yolo_desc": "自动批准工具操作(含危险命令)。需要您决策时(提问、计划评审)代理仍会来找您。",
|
|
998
1000
|
"permission.bot": "Bot",
|
|
999
1001
|
"permission.bot_desc": "无人值守模式:可逆操作自动执行;其余一律拒绝并排队等你决策。",
|
|
1000
1002
|
"permission.ask_desc": "只读问答模式:直接对话回答,不修改文件、不运行命令、不调用 MCP 工具。",
|
|
@@ -2337,7 +2339,7 @@ const dictionaries = {
|
|
|
2337
2339
|
"permission.manual_desc": "Ask before risky operations like running commands or editing files. Read/search tools run directly; session approval rules apply.",
|
|
2338
2340
|
"permission.auto": "Auto",
|
|
2339
2341
|
"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
|
|
2342
|
+
"permission.yolo_desc": "Auto-approve tool operations (dangerous commands included). The agent still brings its questions and plan reviews to you.",
|
|
2341
2343
|
"permission.bot": "Bot",
|
|
2342
2344
|
"permission.bot_desc": "Unattended mode: reversible actions auto-approve; anything else is denied and parked for you to review.",
|
|
2343
2345
|
"permission.ask_desc": "Read-only Q&A mode: answer in conversation, never modify files, run commands, or call MCP tools.",
|
|
@@ -2904,4 +2906,4 @@ var TextInputDialogComponent = class extends Container {
|
|
|
2904
2906
|
}
|
|
2905
2907
|
};
|
|
2906
2908
|
//#endregion
|
|
2907
|
-
export {
|
|
2909
|
+
export { assertScreamHostIdentity as a, t as i, getLocale as n, createScreamDefaultHeaders as o, setLocale as r, TextInputDialogComponent as t };
|