scream-code 0.15.4 → 0.15.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-DHA9hN93.mjs")).main();
9
+ (await import("./app-Y2DCZTWP.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-B2a6Ks8f.mjs";
6
+ import { t as TextInputDialogComponent } from "./text-input-dialog-LOMBSusF.mjs";
7
7
  export { TextInputDialogComponent };
@@ -205,7 +205,45 @@ const dictionaries = {
205
205
  "footer.hit": "HitR",
206
206
  "footer.tasks_running": "{count}个任务 运行中",
207
207
  "footer.agents_running": "{count}个代理 运行中",
208
- "footer.subagents_working": "{count}个子代理 工作中",
208
+ "footer.subagents_working": "{count}个子Agent 工作中",
209
+ "sidebar.git": "Git",
210
+ "sidebar.session": "会话",
211
+ "sidebar.goal": "目标",
212
+ "sidebar.git_no_repo": "非 Git 仓库",
213
+ "sidebar.git_clean": "工作区干净",
214
+ "sidebar.git_files": "{count} 个文件",
215
+ "sidebar.session_empty": "暂无会话数据",
216
+ "sidebar.tokens": "token",
217
+ "sidebar.tokens_cache_hit": "输入(缓存)",
218
+ "sidebar.tokens_cache_miss": "输入(未命中)",
219
+ "sidebar.tokens_output": "输出",
220
+ "sidebar.turns": "轮次",
221
+ "sidebar.tools": "工具",
222
+ "sidebar.messages": "消息",
223
+ "sidebar.compacts": "压缩",
224
+ "sidebar.uptime": "时长",
225
+ "sidebar.agents": "Agent",
226
+ "sidebar.agent_idle": "休息中",
227
+ "sidebar.agent_working": "工作中",
228
+ "sidebar.agent_outputting": "输出中",
229
+ "sidebar.agent_messaging": "交谈中",
230
+ "sidebar.agent_reworking": "返工中",
231
+ "sidebar.goal_idle": "空闲中",
232
+ "sidebar.goal_active": "进行中",
233
+ "sidebar.goal_completed": "已完成",
234
+ "sidebar.goal_paused": "已暂停",
235
+ "sidebar.goal_blocked": "受阻",
236
+ "sidebar.goal_judging": "裁定中",
237
+ "sidebar.goal_criterion": "判据",
238
+ "sidebar.goal_tokens": "消耗",
239
+ "sidebar.goal_tokens_input": "输入",
240
+ "sidebar.goal_tokens_output": "输出",
241
+ "sidebar.goal_turns": "轮次",
242
+ "sidebar.goal_wall": "耗时",
243
+ "sidebar.goal_judge": "裁判",
244
+ "sidebar.goal_judge_awaiting": "等待中",
245
+ "sidebar.goal_judge_judging": "裁定中",
246
+ "sidebar.goal_judge_adjudicated": "已裁定",
209
247
  "input.replay_blocked": "会话历史正在回放时无法发送输入。",
210
248
  "input.send_failed": "发送失败:{message}",
211
249
  "input.guide_failed": "引导失败:{message}",
@@ -664,6 +702,7 @@ const dictionaries = {
664
702
  "toolcall.running": "运行中",
665
703
  "toolcall.completed": "已完成",
666
704
  "toolcall.tool_count": "{count} 个 tool",
705
+ "toolcall.turns": "{count} 轮",
667
706
  "toolcall.failed": "失败",
668
707
  "toolcall.bg_running": "后台运行",
669
708
  "toolcall.truncation_notice": "Tool 调用参数因 max_tokens 被截断 — 调用未执行。",
@@ -797,6 +836,10 @@ const dictionaries = {
797
836
  "usage.context_window": "上下文窗口",
798
837
  "usage.subagent_title": "子 Agent 用量",
799
838
  "usage.panel_title": " 用量 ",
839
+ "usage.session_total": "会话总计",
840
+ "usage.main_agent": "主 Agent",
841
+ "usage.sub_agent": "子 Agent",
842
+ "usage.model": "模型",
800
843
  "agentgroup.n_agent_done": "{total} 个 {name} agent 已完成",
801
844
  "agentgroup.n_agents_done": "{total} 个 agent 已完成",
802
845
  "agentgroup.running_n_agents": "正在运行 {total} 个 agent",
@@ -1119,6 +1162,7 @@ const dictionaries = {
1119
1162
  "registry.wolfpack_desc": "切换群狼协作模式,自动批准+批量并发",
1120
1163
  "registry.sessions_desc": "浏览并恢复会话",
1121
1164
  "registry.goal_desc": "查看/管理自动目标",
1165
+ "registry.sidebar_desc": "打开/关闭侧边面板(Ctrl+X 快速开关)",
1122
1166
  "registry.memory_desc": "浏览、搜索、注入记忆备忘录",
1123
1167
  "registry.knowledge_desc": "管理本地知识库(摄入/搜索/删除/统计)",
1124
1168
  "registry.new_desc": "在当前工作区开启新会话",
@@ -1327,6 +1371,44 @@ const dictionaries = {
1327
1371
  "footer.tasks_running": "{count} tasks running",
1328
1372
  "footer.agents_running": "{count} agents running",
1329
1373
  "footer.subagents_working": "{count} subagents working",
1374
+ "sidebar.git": "Git",
1375
+ "sidebar.session": "Session",
1376
+ "sidebar.goal": "Goal",
1377
+ "sidebar.git_no_repo": "no git repo",
1378
+ "sidebar.git_clean": "clean working tree",
1379
+ "sidebar.git_files": "{count} files",
1380
+ "sidebar.session_empty": "no session data",
1381
+ "sidebar.tokens": "token",
1382
+ "sidebar.tokens_cache_hit": "input (cached)",
1383
+ "sidebar.tokens_cache_miss": "input (miss)",
1384
+ "sidebar.tokens_output": "output",
1385
+ "sidebar.turns": "turns",
1386
+ "sidebar.tools": "tools",
1387
+ "sidebar.messages": "messages",
1388
+ "sidebar.compacts": "compacts",
1389
+ "sidebar.uptime": "uptime",
1390
+ "sidebar.agents": "Agents",
1391
+ "sidebar.agent_idle": "idle",
1392
+ "sidebar.agent_working": "working",
1393
+ "sidebar.agent_outputting": "outputting",
1394
+ "sidebar.agent_messaging": "messaging",
1395
+ "sidebar.agent_reworking": "reworking",
1396
+ "sidebar.goal_idle": "no goal",
1397
+ "sidebar.goal_active": "active",
1398
+ "sidebar.goal_completed": "completed",
1399
+ "sidebar.goal_paused": "paused",
1400
+ "sidebar.goal_blocked": "blocked",
1401
+ "sidebar.goal_judging": "judging",
1402
+ "sidebar.goal_criterion": "criterion",
1403
+ "sidebar.goal_tokens": "tokens",
1404
+ "sidebar.goal_tokens_input": "input",
1405
+ "sidebar.goal_tokens_output": "output",
1406
+ "sidebar.goal_turns": "turns",
1407
+ "sidebar.goal_wall": "wall",
1408
+ "sidebar.goal_judge": "judge",
1409
+ "sidebar.goal_judge_awaiting": "awaiting",
1410
+ "sidebar.goal_judge_judging": "judging",
1411
+ "sidebar.goal_judge_adjudicated": "adjudicated",
1330
1412
  "input.replay_blocked": "Cannot send input while session history is replaying.",
1331
1413
  "input.send_failed": "Send failed: {message}",
1332
1414
  "input.guide_failed": "Guide failed: {message}",
@@ -1785,6 +1867,7 @@ const dictionaries = {
1785
1867
  "toolcall.running": "Running",
1786
1868
  "toolcall.completed": "Completed",
1787
1869
  "toolcall.tool_count": "{count} tools",
1870
+ "toolcall.turns": "{count} turns",
1788
1871
  "toolcall.failed": "Failed",
1789
1872
  "toolcall.bg_running": "Background",
1790
1873
  "toolcall.truncation_notice": "Tool call arguments truncated due to max_tokens — call not executed.",
@@ -1918,6 +2001,10 @@ const dictionaries = {
1918
2001
  "usage.context_window": "Context Window",
1919
2002
  "usage.subagent_title": "Sub-Agent Usage",
1920
2003
  "usage.panel_title": " Usage ",
2004
+ "usage.session_total": "Session Total",
2005
+ "usage.main_agent": "Main Agent",
2006
+ "usage.sub_agent": "Sub-Agent",
2007
+ "usage.model": "Model",
1921
2008
  "agentgroup.n_agent_done": "{total} {name} agent(s) done",
1922
2009
  "agentgroup.n_agents_done": "{total} agent(s) done",
1923
2010
  "agentgroup.running_n_agents": "Running {total} agent(s)",
@@ -2240,6 +2327,7 @@ const dictionaries = {
2240
2327
  "registry.wolfpack_desc": "Toggle wolfpack mode, auto-approve + batch concurrency",
2241
2328
  "registry.sessions_desc": "Browse and restore sessions",
2242
2329
  "registry.goal_desc": "View/manage auto goals",
2330
+ "registry.sidebar_desc": "Open/close the sidebar panel (Ctrl+X to toggle)",
2243
2331
  "registry.memory_desc": "Browse, search, inject memory memos",
2244
2332
  "registry.knowledge_desc": "Manage local knowledge base (ingest/search/delete/stats)",
2245
2333
  "registry.new_desc": "Start a new session in the current workspace",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.15.4",
3
+ "version": "0.15.6",
4
4
  "description": "A terminal-native AI agent for builders",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",
@@ -56,7 +56,7 @@
56
56
  "smoke": "node dist/main.mjs --version"
57
57
  },
58
58
  "dependencies": {
59
- "@liutod-scream/pi-tui": "^0.85.0",
59
+ "@liutod-scream/pi-tui": "^0.85.1",
60
60
  "@mariozechner/clipboard": "^0.3.2",
61
61
  "chalk": "^5.4.1",
62
62
  "cli-highlight": "^2.1.11",