scream-code 0.10.7 → 0.10.8
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-BZwFbrNj.mjs → app-D_usIcl7.mjs} +771 -81
- package/dist/main.mjs +1 -1
- package/dist/{text-input-dialog-DqBy9bEe.mjs → text-input-dialog-B_rgO4qn.mjs} +1 -1
- package/dist/{text-input-dialog-BWp39mq8.mjs → text-input-dialog-CiWeHRNJ.mjs} +25 -1
- package/package.json +1 -1
- package/dist/{src-BMbOMRuY.mjs → src-C8lOjRbK.mjs} +1 -1
package/dist/main.mjs
CHANGED
|
@@ -6,7 +6,7 @@ const __dirname = __cjsShimDirname(__filename);
|
|
|
6
6
|
import "./suppress-sqlite-warning-C2VB0doZ.mjs";
|
|
7
7
|
//#region src/main.ts
|
|
8
8
|
try {
|
|
9
|
-
(await import("./app-
|
|
9
|
+
(await import("./app-D_usIcl7.mjs")).main();
|
|
10
10
|
} catch (error) {
|
|
11
11
|
process.stderr.write(`${error instanceof Error ? error.stack ?? error.message : String(error)}\n`);
|
|
12
12
|
process.exit(1);
|
|
@@ -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-CiWeHRNJ.mjs";
|
|
7
7
|
export { TextInputDialogComponent };
|
|
@@ -6,8 +6,8 @@ const __dirname = __cjsShimDirname(__filename);
|
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
8
8
|
import { join } from "node:path";
|
|
9
|
-
import { arch, hostname, release, type } from "node:os";
|
|
10
9
|
import { execFileSync } from "node:child_process";
|
|
10
|
+
import { arch, hostname, release, type } from "node:os";
|
|
11
11
|
import chalk from "chalk";
|
|
12
12
|
import { Container, Input, Key, matchesKey, truncateToWidth, visibleWidth } from "@liutod-scream/pi-tui";
|
|
13
13
|
//#region ../../packages/config/dist/index.mjs
|
|
@@ -314,11 +314,19 @@ const dictionaries = {
|
|
|
314
314
|
"goal.resume_failed": "恢复目标失败:{msg}",
|
|
315
315
|
"goal.cancel_failed": "取消目标失败:{msg}",
|
|
316
316
|
"goal.status_failed": "获取目标状态失败:{msg}",
|
|
317
|
+
"goal.updated": "目标已更新:{objective}",
|
|
318
|
+
"goal.update_failed": "更新目标失败:{msg}",
|
|
317
319
|
"goal.resume_hint": "继续执行当前目标。",
|
|
318
320
|
"goal.wizard_title": "目标:{objective}",
|
|
319
321
|
"goal.budget_turns_hint": "轮次限制(0 = 不限制)",
|
|
320
322
|
"goal.budget_tokens_hint": "Token 限制(0 = 不限制)",
|
|
321
323
|
"goal.budget_time_hint": "时间限制,单位分钟(0 = 不限制)",
|
|
324
|
+
"goal.setup_title_initial": "目标引导 (1/2)",
|
|
325
|
+
"goal.setup_desc_hint": "简述你的任务:",
|
|
326
|
+
"goal.setup_desc_placeholder": "例如:重构认证模块",
|
|
327
|
+
"goal.setup_refining": "正在提炼目标...",
|
|
328
|
+
"goal.setup_title_confirm": "目标引导 (2/2)",
|
|
329
|
+
"goal.setup_confirm_hint": "已提炼目标(可编辑后确认):",
|
|
322
330
|
"update.timeout": "超时,可能因网络原因卡住。",
|
|
323
331
|
"update.network_hint": "请检查网络后重试(国内用户建议科学上网)。",
|
|
324
332
|
"update.network_error": "失败:网络连接异常,请检查网络后重试。",
|
|
@@ -763,9 +771,13 @@ const dictionaries = {
|
|
|
763
771
|
"goalpanel.paused": "⏸ 已暂停",
|
|
764
772
|
"goalpanel.no_goal": "未开启任务",
|
|
765
773
|
"goalpanel.create_goal": "创建并启动目标",
|
|
774
|
+
"goalpanel.setup_goal": "引导式目标创建",
|
|
766
775
|
"goalpanel.pause_goal": "暂停当前目标",
|
|
767
776
|
"goalpanel.resume_goal": "恢复已暂停的目标",
|
|
768
777
|
"goalpanel.cancel_goal": "取消当前目标",
|
|
778
|
+
"goalpanel.update_goal": "修改当前目标",
|
|
779
|
+
"goalpanel.status_goal": "查看目标状态",
|
|
780
|
+
"goalpanel.replace_goal": "替换目标(重置进度)",
|
|
769
781
|
"goalpanel.no_stop_condition": " No stop condition — runs until evaluated complete.",
|
|
770
782
|
"kresult.empty": "(空)",
|
|
771
783
|
"kresult.line": "行",
|
|
@@ -1331,11 +1343,19 @@ const dictionaries = {
|
|
|
1331
1343
|
"goal.resume_failed": "Failed to resume goal: {msg}",
|
|
1332
1344
|
"goal.cancel_failed": "Failed to cancel goal: {msg}",
|
|
1333
1345
|
"goal.status_failed": "Failed to get goal status: {msg}",
|
|
1346
|
+
"goal.updated": "Goal objective updated: {objective}",
|
|
1347
|
+
"goal.update_failed": "Failed to update goal: {msg}",
|
|
1334
1348
|
"goal.resume_hint": "Continue the current goal.",
|
|
1335
1349
|
"goal.wizard_title": "Goal: {objective}",
|
|
1336
1350
|
"goal.budget_turns_hint": "Turn limit (0 = unlimited)",
|
|
1337
1351
|
"goal.budget_tokens_hint": "Token limit (0 = unlimited)",
|
|
1338
1352
|
"goal.budget_time_hint": "Time limit in minutes (0 = unlimited)",
|
|
1353
|
+
"goal.setup_title_initial": "Goal Setup (1/2)",
|
|
1354
|
+
"goal.setup_desc_hint": "Describe your task briefly:",
|
|
1355
|
+
"goal.setup_desc_placeholder": "e.g. refactor auth module",
|
|
1356
|
+
"goal.setup_refining": "Refining objective...",
|
|
1357
|
+
"goal.setup_title_confirm": "Goal Setup (2/2)",
|
|
1358
|
+
"goal.setup_confirm_hint": "Refined objective (edit if needed):",
|
|
1339
1359
|
"update.timeout": "Timed out, possibly due to network issues.",
|
|
1340
1360
|
"update.network_hint": "Check your network and retry (users in China may need a proxy).",
|
|
1341
1361
|
"update.network_error": "Failed: network error. Check your connection and retry.",
|
|
@@ -1780,9 +1800,13 @@ const dictionaries = {
|
|
|
1780
1800
|
"goalpanel.paused": "⏸ Paused",
|
|
1781
1801
|
"goalpanel.no_goal": "No goal set",
|
|
1782
1802
|
"goalpanel.create_goal": "Create and start a goal",
|
|
1803
|
+
"goalpanel.setup_goal": "Guided goal setup",
|
|
1783
1804
|
"goalpanel.pause_goal": "Pause current goal",
|
|
1784
1805
|
"goalpanel.resume_goal": "Resume paused goal",
|
|
1785
1806
|
"goalpanel.cancel_goal": "Cancel current goal",
|
|
1807
|
+
"goalpanel.update_goal": "Update current objective",
|
|
1808
|
+
"goalpanel.status_goal": "Show goal status",
|
|
1809
|
+
"goalpanel.replace_goal": "Replace goal (resets progress)",
|
|
1786
1810
|
"goalpanel.no_stop_condition": " No stop condition — runs until evaluated complete.",
|
|
1787
1811
|
"kresult.empty": "(empty)",
|
|
1788
1812
|
"kresult.line": "Line",
|
package/package.json
CHANGED
|
@@ -6,10 +6,10 @@ const __dirname = __cjsShimDirname(__filename);
|
|
|
6
6
|
import { n as __esmMin } from "./chunk-D90kvbyJ.mjs";
|
|
7
7
|
import { c as init_fetch_blob, i as init_esm_min, n as FormData, r as formDataToBlob, s as Blob, t as init_from } from "./from-BMeHuTTE.mjs";
|
|
8
8
|
import Ds, { PassThrough, pipeline } from "node:stream";
|
|
9
|
+
import { deprecate, promisify, types } from "node:util";
|
|
9
10
|
import http from "node:http";
|
|
10
11
|
import { format } from "node:url";
|
|
11
12
|
import { isIP } from "node:net";
|
|
12
|
-
import { deprecate, promisify, types } from "node:util";
|
|
13
13
|
import https from "node:https";
|
|
14
14
|
import zlib from "node:zlib";
|
|
15
15
|
import { Buffer as Buffer$1 } from "node:buffer";
|