scream-code 0.16.4 → 0.16.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/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-C0OLgL_b.mjs")).main();
9
+ (await import("./app-D9oJ-Y8W.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--J3ngWFv.mjs";
6
+ import { t as TextInputDialogComponent } from "./text-input-dialog-DBlx8pMR.mjs";
7
7
  export { TextInputDialogComponent };
@@ -126,6 +126,10 @@ const dictionaries = {
126
126
  "status.composing": "输出中",
127
127
  "status.tool": "执行中",
128
128
  "status.waiting": "等待中",
129
+ "status.compacting": "压缩中",
130
+ "status.awaiting_approval": "等待批准",
131
+ "status.awaiting_answer": "等待回答",
132
+ "status.reconnecting_short": "重连中 {attempt}/{max}",
129
133
  "status.reconnecting_detail": "重连中 {attempt}/{max} · {reason} · {delay}s 后重试",
130
134
  "status.reason_rate_limit": "限流",
131
135
  "status.reason_server": "服务器错误",
@@ -305,7 +309,7 @@ const dictionaries = {
305
309
  "knowledge.search_fail": "搜索失败",
306
310
  "knowledge.search_result": "搜索结果",
307
311
  "knowledge.no_hits": "查询 \"{query}\" 未命中任何 chunk",
308
- "knowledge.vector_degraded": "向量模型未就绪,当前为关键词检索模式。如下载失败,建议开启科学上网后重启。",
312
+ "knowledge.vector_degraded": "向量模型未就绪,当前为关键词检索模式。可在 /knowledge 菜单重新下载模型。",
309
313
  "knowledge.query_label": "查询",
310
314
  "knowledge.no_title": "(无标题)",
311
315
  "knowledge.source_label": "来源",
@@ -340,7 +344,10 @@ const dictionaries = {
340
344
  "knowledge.download_model": "下载向量模型",
341
345
  "knowledge.download_model_desc": "手动下载 bge-small-zh-v1.5 模型(约 95 MB)以启用语义搜索",
342
346
  "knowledge.download_model_installed": "(已安装)",
343
- "knowledge.download_model_retry_hint": "可返回菜单重新选择「下载向量模型」重试,建议科学上网",
347
+ "knowledge.embedding_platform_hint": "当前平台缺少本地向量模型二进制;知识库仍可用关键词检索",
348
+ "knowledge.embedding_cache_corrupt_hint": "本地模型缓存已损坏;清理并重试仍未成功,请稍后再试",
349
+ "knowledge.embedding_network_hint": "可返回菜单重选「下载向量模型」重试;网络受限时可用代理",
350
+ "knowledge.embedding_unknown_hint": "请再试一次;若持续失败,请把下面这行错误信息反馈给我们",
344
351
  "knowledge.menu_title": "SAG知识库管理",
345
352
  "knowledge.menu_hint": "选择操作(esc 退出)",
346
353
  "knowledge.op_failed": "操作失败: {msg}",
@@ -752,6 +759,7 @@ const dictionaries = {
752
759
  "session.new_started": "已启动新会话 ({sessionId})。",
753
760
  "replay.history_unavailable": "此会话的历史记录不可用。",
754
761
  "replay.history_failed": "回放会话历史失败: {message}",
762
+ "replay.streamDraftPartial": "回复不完整:进程在回复流式输出期间退出,结尾内容可能缺失。",
755
763
  "replay.skill_activated": "已激活技能: {skillName}",
756
764
  "replay.yes_mode_on": "YES 模式:开启",
757
765
  "replay.yes_mode_on_detail": "所有操作将自动批准。请谨慎使用。",
@@ -1041,6 +1049,7 @@ const dictionaries = {
1041
1049
  "activitygroup.steps": "{count} 步",
1042
1050
  "activitygroup.tools": "{count} 个工具",
1043
1051
  "activitygroup.diff": "{added} {removed}",
1052
+ "activitygroup.diffAddedOnly": "{added}",
1044
1053
  "activitygroup.rate": " · 实速 {rate} toks/s",
1045
1054
  "activitygroup.hint_expand": " (ctrl+o 展开)",
1046
1055
  "activitygroup.hint_collapse": " (ctrl+o 收起)",
@@ -1297,7 +1306,7 @@ const dictionaries = {
1297
1306
  "badge.yes": "YES",
1298
1307
  "kw.lang_toggle": "English",
1299
1308
  "kw.embedding_downloading": "向量模型下载中…",
1300
- "kw.embedding_failed": "向量模型加载失败,请返回菜单选择重新下载(建议科学上网)",
1309
+ "kw.embedding_failed": "向量模型加载失败",
1301
1310
  "kw.embedding_ready": "向量模型已就绪",
1302
1311
  "kw.embedding_not_downloaded": "向量模型未下载(选择「下载向量模型」手动下载)",
1303
1312
  "kw.embedding_data_intact": " —— 你的知识数据仍然存在,下载模型后即可正常使用",
@@ -1334,6 +1343,10 @@ const dictionaries = {
1334
1343
  "status.composing": "Writing",
1335
1344
  "status.tool": "Running",
1336
1345
  "status.waiting": "Waiting",
1346
+ "status.compacting": "Compacting",
1347
+ "status.awaiting_approval": "Awaiting approval",
1348
+ "status.awaiting_answer": "Awaiting answer",
1349
+ "status.reconnecting_short": "Retrying {attempt}/{max}",
1337
1350
  "status.reconnecting_detail": "Reconnecting {attempt}/{max} · {reason} · retry in {delay}s",
1338
1351
  "status.reason_rate_limit": "rate limited",
1339
1352
  "status.reason_server": "server error",
@@ -1513,7 +1526,7 @@ const dictionaries = {
1513
1526
  "knowledge.search_fail": "Search failed",
1514
1527
  "knowledge.search_result": "Search Results",
1515
1528
  "knowledge.no_hits": "Query \"{query}\" matched no chunks",
1516
- "knowledge.vector_degraded": "Vector model not ready, using keyword search mode. If download failed, try enabling a proxy and restart.",
1529
+ "knowledge.vector_degraded": "Vector model not ready, using keyword search mode. You can retry the download from the /knowledge menu.",
1517
1530
  "knowledge.query_label": "Query",
1518
1531
  "knowledge.no_title": "(untitled)",
1519
1532
  "knowledge.source_label": "Source",
@@ -1548,7 +1561,10 @@ const dictionaries = {
1548
1561
  "knowledge.download_model": "Download vector model",
1549
1562
  "knowledge.download_model_desc": "Manually download the bge-small-zh-v1.5 model (~95 MB) to enable semantic search",
1550
1563
  "knowledge.download_model_installed": " (installed)",
1551
- "knowledge.download_model_retry_hint": "Return to the menu and select Download vector model to retry. A proxy is recommended.",
1564
+ "knowledge.embedding_platform_hint": "No local model binary on this platform; keyword search still works",
1565
+ "knowledge.embedding_cache_corrupt_hint": "Corrupt model cache; cleared and retried, still failing — try again later",
1566
+ "knowledge.embedding_network_hint": "Return to the menu and retry the download; a proxy helps when the network is restricted.",
1567
+ "knowledge.embedding_unknown_hint": "Please retry; if it keeps failing, send us the error line below.",
1552
1568
  "knowledge.menu_title": "SAG Knowledge Base",
1553
1569
  "knowledge.menu_hint": "Select an action (Esc to exit)",
1554
1570
  "knowledge.op_failed": "Operation failed: {msg}",
@@ -1960,6 +1976,7 @@ const dictionaries = {
1960
1976
  "session.new_started": "New session started ({sessionId}).",
1961
1977
  "replay.history_unavailable": "Session history is unavailable.",
1962
1978
  "replay.history_failed": "Failed to replay session history: {message}",
1979
+ "replay.streamDraftPartial": "Response incomplete: the process exited while this reply was still streaming, so the tail may be missing.",
1963
1980
  "replay.skill_activated": "Skill activated: {skillName}",
1964
1981
  "replay.yes_mode_on": "YES mode: ON",
1965
1982
  "replay.yes_mode_on_detail": "All operations will be auto-approved. Use with caution.",
@@ -2249,6 +2266,7 @@ const dictionaries = {
2249
2266
  "activitygroup.steps": "{count} steps",
2250
2267
  "activitygroup.tools": "{count} tools",
2251
2268
  "activitygroup.diff": "{added} {removed}",
2269
+ "activitygroup.diffAddedOnly": "{added}",
2252
2270
  "activitygroup.rate": " · live {rate} toks/s",
2253
2271
  "activitygroup.hint_expand": " (ctrl+o to expand)",
2254
2272
  "activitygroup.hint_collapse": " (ctrl+o to collapse)",
@@ -2505,7 +2523,7 @@ const dictionaries = {
2505
2523
  "badge.yes": "YES",
2506
2524
  "kw.lang_toggle": "中文",
2507
2525
  "kw.embedding_downloading": "Vector model downloading…",
2508
- "kw.embedding_failed": "Vector model load failed. Return to the menu and select Download to retry.",
2526
+ "kw.embedding_failed": "Vector model load failed",
2509
2527
  "kw.embedding_ready": "Vector model ready",
2510
2528
  "kw.embedding_not_downloaded": "Vector model not downloaded (select Download vector model)",
2511
2529
  "kw.embedding_data_intact": " — your knowledge data is still there; download the model to use it again",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.16.4",
3
+ "version": "0.16.6",
4
4
  "description": "A terminal-native AI agent for builders",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",
@@ -57,7 +57,7 @@
57
57
  "dependencies": {
58
58
  "@fontsource-variable/inter": "^5.3.0",
59
59
  "@fontsource-variable/jetbrains-mono": "^5.3.0",
60
- "@liutod-scream/pi-tui": "^0.85.2",
60
+ "@liutod-scream/pi-tui": "^0.85.3",
61
61
  "@mariozechner/clipboard": "^0.3.2",
62
62
  "chalk": "^5.4.1",
63
63
  "cli-highlight": "^2.1.11",