scream-code 0.16.6 → 0.16.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.
@@ -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 { n as multiSearchWithTrace } from "./src-tDEINaMV.mjs";
6
+ import { n as multiSearchWithTrace } from "./src-CXmZg1VT.mjs";
7
7
  export { multiSearchWithTrace };
@@ -190,6 +190,7 @@ const dictionaries = {
190
190
  "error.load_failed": "加载失败: {msg}",
191
191
  "error.internal": "内部错误",
192
192
  "error.no_session": "没有活跃的会话。",
193
+ "error.session_header_hint": "请在 config.toml 对应服务商下设置 session_header = \"{name}\",以提供网关要求的会话标识。",
193
194
  "footer.shift_tab": "shift+tab: 计划模式",
194
195
  "footer.model": "/model: 切换模型",
195
196
  "footer.ctrl_s": "ctrl+s: 中途干预",
@@ -225,7 +226,6 @@ const dictionaries = {
225
226
  "sidebar.tools": "工具调用",
226
227
  "sidebar.calls": "调用次数",
227
228
  "sidebar.compacts": "压缩次数",
228
- "sidebar.uptime": "工作时长",
229
229
  "sidebar.agents": "Agent",
230
230
  "sidebar.agent_idle": "休息中",
231
231
  "sidebar.agent_working": "工作中",
@@ -309,6 +309,8 @@ const dictionaries = {
309
309
  "knowledge.search_fail": "搜索失败",
310
310
  "knowledge.search_result": "搜索结果",
311
311
  "knowledge.no_hits": "查询 \"{query}\" 未命中任何 chunk",
312
+ "knowledge.search_deep": "深度搜索",
313
+ "knowledge.search_deep_desc": "走 LLM 实体抽取+重排:更准但更慢(默认搜索为纯本地快速模式)",
312
314
  "knowledge.vector_degraded": "向量模型未就绪,当前为关键词检索模式。可在 /knowledge 菜单重新下载模型。",
313
315
  "knowledge.query_label": "查询",
314
316
  "knowledge.no_title": "(无标题)",
@@ -326,7 +328,6 @@ const dictionaries = {
326
328
  "knowledge.deleted": "已删除",
327
329
  "knowledge.doc_removed": "文档已从知识库移除",
328
330
  "knowledge.cancelled": "已取消",
329
- "knowledge.no_delete_doc": "未删除任何文档",
330
331
  "knowledge.stats": "知识库统计",
331
332
  "knowledge.stats_desc": "查看知识库整体统计",
332
333
  "knowledge.stats_note": "说明",
@@ -813,10 +814,11 @@ const dictionaries = {
813
814
  "subagent.desc_reviewer": "代码审查,发现 bug 和 API 契约违反",
814
815
  "subagent.desc_writer": "内容生产与研究报告",
815
816
  "subagent.desc_explore": "快速代码库探索(只读)",
816
- "subagent.desc_oracle": "深度调试与架构决策",
817
+ "subagent.desc_oracle": "既有代码的系统尺度审查(架构/技术债/可维护性/冗余)",
817
818
  "subagent.desc_plan": "实现规划与架构设计(只读)",
818
819
  "subagent.desc_verify": "运行构建/测试/lint 验证改动",
819
820
  "subagent.desc_worker": "办公自动化:格式转换、批量处理、文件整理",
821
+ "subagent.desc_designer": "视觉层设计:UI/UX/TUI 方向、规格、落地与审计",
820
822
  "subagent.follow_main": "跟随主模型",
821
823
  "subagent.follow_main_desc": "使用主代理当前模型(默认)",
822
824
  "subagent.title": "子代理模型绑定",
@@ -1243,6 +1245,71 @@ const dictionaries = {
1243
1245
  "registry.codebg_desc": "开关代码块的背景色面板(关闭后代码靠自身颜色与缩进区分),选择后立即生效并持久保存",
1244
1246
  "codebg.enabled": "代码块背景面板已开启",
1245
1247
  "codebg.disabled": "代码块背景面板已关闭",
1248
+ "registry.mermaid_desc": "选择 Mermaid 图的渲染方式",
1249
+ "mermaid.picker_title": "Mermaid 图渲染",
1250
+ "mermaid.picker_hint": "↑↓ 选择 · Enter 确认 · Esc 取消",
1251
+ "mermaid.picker_cancelled": "未改动,当前仍为「{mode}」",
1252
+ "mermaid.usage": "用法:/mermaid [on|ascii|off]",
1253
+ "mermaid.option.on": "开",
1254
+ "mermaid.option.ascii": "双宽模式",
1255
+ "mermaid.option.off": "关",
1256
+ "mermaid.desc.on": "把 ```mermaid 画成图(制表符边框)",
1257
+ "mermaid.desc.ascii": "照样画,但边框改用 ASCII 字符 —— 终端把制表符画成两格宽时用这个",
1258
+ "mermaid.desc.off": "不画,mermaid 块保持原样代码",
1259
+ "mermaid.applied": "Mermaid 图渲染已设为「{mode}」",
1260
+ "mermaid.note.not_rendered": "Mermaid 图未渲染:{reason}",
1261
+ "mermaid.note.incomplete": "Mermaid 图未完整渲染:{reason}",
1262
+ "mermaid.note.wider": "比当前终端还宽({width} > {available} 列)—— 把窗口拉宽一些,或让它拆成两张更小的图",
1263
+ "mermaid.note.flipped": "已自动改用更省纵向空间的排布方向",
1264
+ "mermaid.note.unsupported": "终端不画这类图",
1265
+ "mermaid.note.unparsed": "源码没能解析",
1266
+ "registry.cron_desc": "查看与管理定时任务",
1267
+ "cron.panel_title": "定时任务",
1268
+ "cron.panel_hint": "↑↓ 选择 · d 删除 · /cron add 新建 · Esc 关闭",
1269
+ "cron.empty": "还没有定时任务",
1270
+ "cron.empty_hint": "回车新建一个",
1271
+ "cron.no_next_fire": "无下次触发",
1272
+ "cron.firing": "即将触发",
1273
+ "cron.in_seconds": "{n} 秒后",
1274
+ "cron.in_minutes": "{n} 分钟后",
1275
+ "cron.in_hours": "{n} 小时后",
1276
+ "cron.in_days": "{n} 天后",
1277
+ "cron.kind_recurring": "重复",
1278
+ "cron.kind_once": "一次性",
1279
+ "cron.stale": "已过期",
1280
+ "cron.sched_5m": "每 5 分钟",
1281
+ "cron.sched_hourly": "每小时",
1282
+ "cron.sched_daily9": "每天 09:00",
1283
+ "cron.sched_daily18": "每天 18:00",
1284
+ "cron.sched_weekdays9": "工作日 09:00",
1285
+ "cron.sched_custom": "自定义表达式…",
1286
+ "cron.sched_custom_hint": "5 段 cron:分 时 日 月 周",
1287
+ "cron.sched_every_minutes": "每 {n} 分钟",
1288
+ "cron.sched_daily": "每天 {time}",
1289
+ "cron.sched_weekdays": "工作日 {time}",
1290
+ "cron.wizard_schedule_title": "什么时候触发?",
1291
+ "cron.wizard_schedule_hint": "↑↓ 选择 · Enter 下一步 · Esc 取消",
1292
+ "cron.wizard_custom_title": "自定义 cron 表达式",
1293
+ "cron.wizard_custom_hint": "分 时 日 月 周,例如 */5 * * * *",
1294
+ "cron.wizard_task_title": "要它做什么?",
1295
+ "cron.wizard_task_placeholder": "例如:检查 CI 状态并汇报失败原因",
1296
+ "cron.wizard_kind_title": "只做一次,还是每次都做?",
1297
+ "cron.wizard_kind_hint": "↑↓ 选择 · Enter 确认 · Esc 取消",
1298
+ "cron.kind_recurring_hint": "按表达式反复触发,直到被删除",
1299
+ "cron.kind_once_hint": "只在下一次触发,随后自动删除",
1300
+ "cron.cancelled": "已取消",
1301
+ "cron.creating": "正在创建定时任务…",
1302
+ "cron.created": "定时任务已创建",
1303
+ "cron.create_failed": "创建失败",
1304
+ "cron.deleting": "正在删除定时任务…",
1305
+ "cron.deleted": "定时任务已删除",
1306
+ "cron.not_found": "该任务不存在(可能已被删除)",
1307
+ "cron.delete_failed": "删除失败",
1308
+ "cron.confirm_title": "删除这个定时任务?",
1309
+ "cron.confirm_hint": "删除后不可恢复",
1310
+ "cron.confirm_delete": "确认删除",
1311
+ "cron.usage": "用法:/cron [list|add|rm <id>]",
1312
+ "cron.no_session": "当前没有会话",
1246
1313
  "onboarding.description": "Scream 需要先选一个模型才能开始工作,一分钟即可完成配置。",
1247
1314
  "onboarding.configure": "立即配置",
1248
1315
  "onboarding.skip": "跳过(稍后用 /config 配置)",
@@ -1407,6 +1474,7 @@ const dictionaries = {
1407
1474
  "error.load_failed": "Load failed: {msg}",
1408
1475
  "error.internal": "Internal error",
1409
1476
  "error.no_session": "No active session.",
1477
+ "error.session_header_hint": "Set session_header = \"{name}\" under this provider in config.toml to supply the required session id.",
1410
1478
  "footer.shift_tab": "shift+tab: Plan mode",
1411
1479
  "footer.model": "/model: Switch model",
1412
1480
  "footer.ctrl_s": "ctrl+s: Interrupt",
@@ -1442,7 +1510,6 @@ const dictionaries = {
1442
1510
  "sidebar.tools": "Tool calls",
1443
1511
  "sidebar.calls": "API calls",
1444
1512
  "sidebar.compacts": "Compacts",
1445
- "sidebar.uptime": "Duration",
1446
1513
  "sidebar.agents": "Agents",
1447
1514
  "sidebar.agent_idle": "Idle",
1448
1515
  "sidebar.agent_working": "Working",
@@ -1526,6 +1593,8 @@ const dictionaries = {
1526
1593
  "knowledge.search_fail": "Search failed",
1527
1594
  "knowledge.search_result": "Search Results",
1528
1595
  "knowledge.no_hits": "Query \"{query}\" matched no chunks",
1596
+ "knowledge.search_deep": "Deep search",
1597
+ "knowledge.search_deep_desc": "LLM entity recall + rerank: slower but more precise (default search is local-only fast mode)",
1529
1598
  "knowledge.vector_degraded": "Vector model not ready, using keyword search mode. You can retry the download from the /knowledge menu.",
1530
1599
  "knowledge.query_label": "Query",
1531
1600
  "knowledge.no_title": "(untitled)",
@@ -1543,7 +1612,6 @@ const dictionaries = {
1543
1612
  "knowledge.deleted": "Deleted",
1544
1613
  "knowledge.doc_removed": "Document removed from knowledge base",
1545
1614
  "knowledge.cancelled": "Cancelled",
1546
- "knowledge.no_delete_doc": "No documents deleted",
1547
1615
  "knowledge.stats": "Knowledge Base Stats",
1548
1616
  "knowledge.stats_desc": "View knowledge base statistics",
1549
1617
  "knowledge.stats_note": "Notes",
@@ -2030,10 +2098,11 @@ const dictionaries = {
2030
2098
  "subagent.desc_reviewer": "Code review, bug & API contract violations",
2031
2099
  "subagent.desc_writer": "Content production & research reports",
2032
2100
  "subagent.desc_explore": "Quick codebase exploration (read-only)",
2033
- "subagent.desc_oracle": "Deep debugging & architecture decisions",
2101
+ "subagent.desc_oracle": "Large-scope review of existing code (architecture, debt, maintainability, dead weight)",
2034
2102
  "subagent.desc_plan": "Implementation planning & architecture design (read-only)",
2035
2103
  "subagent.desc_verify": "Run build/test/lint to verify changes",
2036
2104
  "subagent.desc_worker": "Office automation: format conversion, batch processing, file organization",
2105
+ "subagent.desc_designer": "Visual design: UI/UX/TUI direction, specs & polish",
2037
2106
  "subagent.follow_main": "Follow main model",
2038
2107
  "subagent.follow_main_desc": "Use the main agent's current model (default)",
2039
2108
  "subagent.title": "Subagent Model Binding",
@@ -2460,6 +2529,71 @@ const dictionaries = {
2460
2529
  "registry.codebg_desc": "Toggle the background panel behind code blocks (off: code stands out by colour and gutter only); applied immediately and saved",
2461
2530
  "codebg.enabled": "Code block background panel on",
2462
2531
  "codebg.disabled": "Code block background panel off",
2532
+ "registry.mermaid_desc": "Choose how Mermaid diagrams are rendered",
2533
+ "mermaid.picker_title": "Mermaid diagram rendering",
2534
+ "mermaid.picker_hint": "↑↓ select · Enter confirm · Esc cancel",
2535
+ "mermaid.picker_cancelled": "Unchanged — still “{mode}”",
2536
+ "mermaid.usage": "Usage: /mermaid [on|ascii|off]",
2537
+ "mermaid.option.on": "On",
2538
+ "mermaid.option.ascii": "Double-width safe",
2539
+ "mermaid.option.off": "Off",
2540
+ "mermaid.desc.on": "Draw ```mermaid blocks as pictures (box-drawing frames)",
2541
+ "mermaid.desc.ascii": "Still draw, but frame with ASCII characters — for terminals that render box glyphs two cells wide",
2542
+ "mermaid.desc.off": "Don't draw; mermaid blocks stay source",
2543
+ "mermaid.applied": "Mermaid rendering set to “{mode}”",
2544
+ "mermaid.note.not_rendered": "Mermaid diagram not rendered: {reason}",
2545
+ "mermaid.note.incomplete": "Mermaid diagram incomplete: {reason}",
2546
+ "mermaid.note.wider": "wider than this terminal ({width} > {available} columns) — widen the window, or ask for two smaller diagrams",
2547
+ "mermaid.note.flipped": "laid out in the more compact direction automatically",
2548
+ "mermaid.note.unsupported": "this diagram type is not drawn in the terminal",
2549
+ "mermaid.note.unparsed": "the source did not parse",
2550
+ "registry.cron_desc": "View and manage scheduled tasks",
2551
+ "cron.panel_title": "Scheduled tasks",
2552
+ "cron.panel_hint": "↑↓ select · d delete · /cron add to create · Esc close",
2553
+ "cron.empty": "No scheduled tasks yet",
2554
+ "cron.empty_hint": "Press Enter to create one",
2555
+ "cron.no_next_fire": "no next fire",
2556
+ "cron.firing": "firing now",
2557
+ "cron.in_seconds": "in {n}s",
2558
+ "cron.in_minutes": "in {n}m",
2559
+ "cron.in_hours": "in {n}h",
2560
+ "cron.in_days": "in {n}d",
2561
+ "cron.kind_recurring": "repeats",
2562
+ "cron.kind_once": "one-shot",
2563
+ "cron.stale": "expired",
2564
+ "cron.sched_5m": "Every 5 minutes",
2565
+ "cron.sched_hourly": "Hourly",
2566
+ "cron.sched_daily9": "Daily at 09:00",
2567
+ "cron.sched_daily18": "Daily at 18:00",
2568
+ "cron.sched_weekdays9": "Weekdays at 09:00",
2569
+ "cron.sched_custom": "Custom expression…",
2570
+ "cron.sched_custom_hint": "5-field cron: minute hour day month weekday",
2571
+ "cron.sched_every_minutes": "every {n} min",
2572
+ "cron.sched_daily": "daily at {time}",
2573
+ "cron.sched_weekdays": "weekdays at {time}",
2574
+ "cron.wizard_schedule_title": "When should it run?",
2575
+ "cron.wizard_schedule_hint": "↑↓ select · Enter next · Esc cancel",
2576
+ "cron.wizard_custom_title": "Custom cron expression",
2577
+ "cron.wizard_custom_hint": "minute hour day month weekday, e.g. */5 * * * *",
2578
+ "cron.wizard_task_title": "What should it do?",
2579
+ "cron.wizard_task_placeholder": "e.g. check CI status and report failures",
2580
+ "cron.wizard_kind_title": "Once, or every time?",
2581
+ "cron.wizard_kind_hint": "↑↓ select · Enter confirm · Esc cancel",
2582
+ "cron.kind_recurring_hint": "Fire on every cron match until deleted",
2583
+ "cron.kind_once_hint": "Fire at the next match, then delete itself",
2584
+ "cron.cancelled": "Cancelled",
2585
+ "cron.creating": "Creating scheduled task…",
2586
+ "cron.created": "Scheduled task created",
2587
+ "cron.create_failed": "Could not create it",
2588
+ "cron.deleting": "Deleting scheduled task…",
2589
+ "cron.deleted": "Scheduled task deleted",
2590
+ "cron.not_found": "No such task (it may be gone already)",
2591
+ "cron.delete_failed": "Could not delete it",
2592
+ "cron.confirm_title": "Delete this scheduled task?",
2593
+ "cron.confirm_hint": "This cannot be undone",
2594
+ "cron.confirm_delete": "Delete",
2595
+ "cron.usage": "Usage: /cron [list|add|rm <id>]",
2596
+ "cron.no_session": "No active session",
2463
2597
  "onboarding.description": "Scream needs a model to start working. Set one up in under a minute.",
2464
2598
  "onboarding.configure": "Configure now",
2465
2599
  "onboarding.skip": "Skip (config later with /config)",
@@ -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-DBlx8pMR.mjs";
6
+ import { t as TextInputDialogComponent } from "./text-input-dialog-6v2667rm.mjs";
7
7
  export { TextInputDialogComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.16.6",
3
+ "version": "0.16.8",
4
4
  "description": "A terminal-native AI agent for builders",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",
@@ -57,13 +57,14 @@
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.3",
60
+ "@liutod-scream/pi-tui": "^0.87.0",
61
61
  "@mariozechner/clipboard": "^0.3.2",
62
62
  "chalk": "^5.4.1",
63
63
  "cli-highlight": "^2.1.11",
64
64
  "commander": "^13.1.0",
65
65
  "diff": "^9.0.0",
66
66
  "fastembed": "^2.1.0",
67
+ "grok-mermaid": "^0.2.3",
67
68
  "marked": "^15.0.7",
68
69
  "mupdf": "^1.28.0",
69
70
  "qrcode": "^1.5.4",