scream-code 0.18.7 → 0.18.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.
@@ -349,7 +349,7 @@ const dictionaries = {
349
349
  "knowledge.download_model": "下载向量模型",
350
350
  "knowledge.download_model_desc": "手动下载 bge-small-zh-v1.5 模型(约 95 MB)以启用语义搜索",
351
351
  "knowledge.download_model_installed": "(已安装)",
352
- "knowledge.embedding_platform_hint": "当前平台缺少本地向量模型二进制;知识库仍可用关键词检索",
352
+ "knowledge.embedding_install_hint": "本地向量组件缺失或不完整。请重装后重试:npm i -g scream-code",
353
353
  "knowledge.embedding_cache_corrupt_hint": "本地模型缓存已损坏;清理并重试仍未成功,请稍后再试",
354
354
  "knowledge.embedding_network_hint": "可返回菜单重选「下载向量模型」重试;网络受限时可用代理",
355
355
  "knowledge.embedding_unknown_hint": "请再试一次;若持续失败,请把下面这行错误信息反馈给我们",
@@ -427,6 +427,11 @@ const dictionaries = {
427
427
  "mcp.install_success": "{name} 安装成功并已启动。",
428
428
  "mcp.install_fail": "{name} 安装失败。",
429
429
  "mcp.uninstall_confirm": "确认卸载 \"{name}\"?",
430
+ "mcp.plugin_owned": "插件提供",
431
+ "mcp.uninstall_plugin_blocked": "\"{name}\" 由插件 \"{plugin}\" 提供,卸载 MCP 不会生效 —— 请在 /plugin 中卸载该插件。",
432
+ "mcp.plugin_owned_stop_note": "(插件提供:重启会话后会随插件恢复)",
433
+ "mcp.uninstall_project_owned": "\"{name}\" 由项目级配置提供({files}),运行时移除后重启仍会加载;请直接编辑该文件。",
434
+ "mcp.uninstall_verify_failed": "\"{name}\" 已从运行期移除,但仍在服务器列表中;请检查 mcp.json(项目级 .scream-code/mcp.json 会在每次启动时重新加载)。",
430
435
  "mcp.already_installed": "{name} 已安装,无需重复安装。",
431
436
  "mcp.disabled_done": "{name} 已停用。",
432
437
  "mcp.uninstalled": "{name} 已卸载。",
@@ -630,6 +635,9 @@ const dictionaries = {
630
635
  "help.browse_history": "浏览输入历史",
631
636
  "help.submit": "提交",
632
637
  "help.title": " 帮助 ",
638
+ "help.hotkeys_title": " 键盘快捷键 ",
639
+ "help.recall_queued": "忙碌时召回上一条排队中的消息",
640
+ "help.paste_image": "粘贴图片(Windows: Alt-V)",
633
641
  "help.close_hint": "Esc / Enter / q 关闭 · ↑↓ 滚动",
634
642
  "help.welcome_msg": "Scream 已准备好帮助您!发送消息即可开始。",
635
643
  "help.hidden_commands": "/config diy 自定义模型服务商 /config image 生图配置 /model diy 多代理编排配置",
@@ -1245,6 +1253,11 @@ const dictionaries = {
1245
1253
  "constant.no_active_session": "没有活动会话。运行 /config 自定义模型配置。",
1246
1254
  "constant.ctrl_d_hint": "再次按 Ctrl+D 退出",
1247
1255
  "constant.ctrl_c_hint": "再次按 Ctrl+C 退出",
1256
+ "tui.crash_recovery_title": "检测到上次会话未正常退出",
1257
+ "tui.crash_recovery_detail": "「{title}」没有正常关闭,可输入 /sessions 恢复。",
1258
+ "tui.copy_done": "已复制上一条回复",
1259
+ "tui.copy_empty": "没有可复制的回复",
1260
+ "tui.copy_failed": "复制失败:{msg}",
1248
1261
  "tui.resume_warning": "警告:{warning}",
1249
1262
  "tui.skill_failed": "Skill \"{skill}\" 执行失败:{message}",
1250
1263
  "tui.replay_no_new_session": "历史回放期间无法启动新会话。",
@@ -1286,6 +1299,8 @@ const dictionaries = {
1286
1299
  "registry.fusionplan_desc": "切换融合计划模式(多子代理并行规划)",
1287
1300
  "registry.tasks_desc": "浏览后台任务",
1288
1301
  "registry.help_desc": "显示可用命令和快捷键",
1302
+ "registry.hotkeys_desc": "查看键盘快捷键",
1303
+ "registry.copy_desc": "复制上一条回复到剪贴板",
1289
1304
  "registry.status_desc": "显示当前会话和运行时状态",
1290
1305
  "registry.usage_desc": "显示 token 用量和上下文窗口",
1291
1306
  "registry.btw_desc": "在不中断对话的情况下快速提问",
@@ -1385,7 +1400,15 @@ const dictionaries = {
1385
1400
  "registry.revoke_desc": "撤回上一次对话(可指定轮数,如 /revoke 3)",
1386
1401
  "registry.fork_desc": "复制当前会话并新开分支",
1387
1402
  "registry.title_desc": "设置或显示会话标题",
1388
- "registry.config_desc": "浏览并配置模型(远程拉取最新目录)",
1403
+ "config.entry_title": "配置模型服务",
1404
+ "config.entry_hint": "使用 ↑/↓ 选择,Enter 确认,Esc 取消",
1405
+ "config.entry_quick": "快捷选择模型提供商",
1406
+ "config.entry_quick_desc": "从内置目录挑选服务商与模型,自动完成配置",
1407
+ "config.entry_diy": "自定义Diy配置模型商",
1408
+ "config.entry_diy_desc": "手动填写接口类型、地址、密钥与模型参数",
1409
+ "config.entry_image": "生图能力模型配置",
1410
+ "config.entry_image_desc": "配置生图服务(服务商 / 地址 / 密钥 / 模型)",
1411
+ "registry.config_desc": "配置模型服务(快捷选择 / 自定义 / 生图)",
1389
1412
  "registry.permission_desc": "选择权限模式",
1390
1413
  "registry.grants_desc": "查看并撤销本会话的审批授权",
1391
1414
  "registry.theme_desc": "设置终端 UI 主题",
@@ -1436,6 +1459,10 @@ const dictionaries = {
1436
1459
  "badge.yes": "YES",
1437
1460
  "kw.lang_toggle": "English",
1438
1461
  "kw.embedding_downloading": "向量模型下载中…",
1462
+ "kw.embedding_progress": "正在下载向量模型 {done} / {total}({percent}%)",
1463
+ "kw.embedding_progress_unknown": "正在下载向量模型 {done}",
1464
+ "kw.embedding_verifying": "正在校验模型文件…",
1465
+ "kw.embedding_loading": "正在加载模型…(首次约需十几秒)",
1439
1466
  "kw.embedding_failed": "向量模型加载失败",
1440
1467
  "kw.embedding_ready": "向量模型已就绪",
1441
1468
  "kw.embedding_not_downloaded": "向量模型未下载(选择「下载向量模型」手动下载)",
@@ -1694,7 +1721,7 @@ const dictionaries = {
1694
1721
  "knowledge.download_model": "Download vector model",
1695
1722
  "knowledge.download_model_desc": "Manually download the bge-small-zh-v1.5 model (~95 MB) to enable semantic search",
1696
1723
  "knowledge.download_model_installed": " (installed)",
1697
- "knowledge.embedding_platform_hint": "No local model binary on this platform; keyword search still works",
1724
+ "knowledge.embedding_install_hint": "The local vector components are missing or incomplete. Reinstall and retry: npm i -g scream-code",
1698
1725
  "knowledge.embedding_cache_corrupt_hint": "Corrupt model cache; cleared and retried, still failing — try again later",
1699
1726
  "knowledge.embedding_network_hint": "Return to the menu and retry the download; a proxy helps when the network is restricted.",
1700
1727
  "knowledge.embedding_unknown_hint": "Please retry; if it keeps failing, send us the error line below.",
@@ -1772,6 +1799,11 @@ const dictionaries = {
1772
1799
  "mcp.install_success": "{name} installed and started.",
1773
1800
  "mcp.install_fail": "{name} installation failed.",
1774
1801
  "mcp.uninstall_confirm": "Uninstall \"{name}\"?",
1802
+ "mcp.plugin_owned": "plugin",
1803
+ "mcp.uninstall_plugin_blocked": "\"{name}\" is provided by plugin \"{plugin}\" — uninstalling the MCP server has no effect. Remove the plugin in /plugin instead.",
1804
+ "mcp.plugin_owned_stop_note": "(plugin-owned: it comes back with the plugin after restart)",
1805
+ "mcp.uninstall_project_owned": "\"{name}\" is declared by project config ({files}); it comes back after restart. Edit that file instead.",
1806
+ "mcp.uninstall_verify_failed": "\"{name}\" was removed from the runtime but is still listed. Check mcp.json — project-level .scream-code/mcp.json files are reloaded on every start.",
1775
1807
  "mcp.already_installed": "{name} is already installed.",
1776
1808
  "mcp.disabled_done": "{name} disabled.",
1777
1809
  "mcp.uninstalled": "{name} uninstalled.",
@@ -1975,6 +2007,9 @@ const dictionaries = {
1975
2007
  "help.browse_history": "Browse input history",
1976
2008
  "help.submit": "Submit",
1977
2009
  "help.title": " Help ",
2010
+ "help.hotkeys_title": " Keyboard shortcuts ",
2011
+ "help.recall_queued": "Recall the last queued message (while busy)",
2012
+ "help.paste_image": "Paste an image (Alt-V on Windows)",
1978
2013
  "help.close_hint": "Esc / Enter / q Close · ↑↓ Scroll",
1979
2014
  "help.welcome_msg": "Scream is ready to help! Send a message to get started.",
1980
2015
  "help.hidden_commands": "/config diy Custom model provider /config image Image generation /model diy Multi-agent orchestration",
@@ -2590,6 +2625,11 @@ const dictionaries = {
2590
2625
  "constant.no_active_session": "No active session. Run /config to configure model.",
2591
2626
  "constant.ctrl_d_hint": "Press Ctrl+D again to exit",
2592
2627
  "constant.ctrl_c_hint": "Press Ctrl+C again to exit",
2628
+ "tui.crash_recovery_title": "Previous session ended abnormally",
2629
+ "tui.crash_recovery_detail": "\"{title}\" did not shut down cleanly — run /sessions to recover it.",
2630
+ "tui.copy_done": "Copied the last reply",
2631
+ "tui.copy_empty": "No reply to copy",
2632
+ "tui.copy_failed": "Copy failed: {msg}",
2593
2633
  "tui.resume_warning": "Warning: {warning}",
2594
2634
  "tui.skill_failed": "Skill \"{skill}\" failed: {message}",
2595
2635
  "tui.replay_no_new_session": "Cannot start a new session during history replay.",
@@ -2631,6 +2671,8 @@ const dictionaries = {
2631
2671
  "registry.fusionplan_desc": "Toggle fusion plan mode (multi-agent parallel planning)",
2632
2672
  "registry.tasks_desc": "Browse background tasks",
2633
2673
  "registry.help_desc": "Show available commands and shortcuts",
2674
+ "registry.hotkeys_desc": "Show keyboard shortcuts",
2675
+ "registry.copy_desc": "Copy the last reply to the clipboard",
2634
2676
  "registry.status_desc": "Show current session and runtime status",
2635
2677
  "registry.usage_desc": "Show token usage and context window",
2636
2678
  "registry.btw_desc": "Quick question without interrupting conversation",
@@ -2730,7 +2772,15 @@ const dictionaries = {
2730
2772
  "registry.revoke_desc": "Undo last conversation round (specify rounds, e.g. /revoke 3)",
2731
2773
  "registry.fork_desc": "Copy current session and start a new branch",
2732
2774
  "registry.title_desc": "Set or show session title",
2733
- "registry.config_desc": "Browse and configure models (fetch latest directory remotely)",
2775
+ "config.entry_title": "Configure a model service",
2776
+ "config.entry_hint": "↑/↓ to choose · Enter to confirm · Esc to cancel",
2777
+ "config.entry_quick": "Pick a model provider",
2778
+ "config.entry_quick_desc": "Choose from the built-in directory; configuration is applied automatically",
2779
+ "config.entry_diy": "Custom DIY provider setup",
2780
+ "config.entry_diy_desc": "Enter the wire type, endpoint, key and model parameters yourself",
2781
+ "config.entry_image": "Image generation model setup",
2782
+ "config.entry_image_desc": "Configure the image service (provider, URL, key, model)",
2783
+ "registry.config_desc": "Configure model services (quick pick / custom / image)",
2734
2784
  "registry.permission_desc": "Select permission mode",
2735
2785
  "registry.grants_desc": "Review and revoke session approvals",
2736
2786
  "registry.theme_desc": "Set terminal UI theme",
@@ -2781,6 +2831,10 @@ const dictionaries = {
2781
2831
  "badge.yes": "YES",
2782
2832
  "kw.lang_toggle": "中文",
2783
2833
  "kw.embedding_downloading": "Vector model downloading…",
2834
+ "kw.embedding_progress": "Downloading vector model {done} / {total} ({percent}%)",
2835
+ "kw.embedding_progress_unknown": "Downloading vector model {done}",
2836
+ "kw.embedding_verifying": "Verifying model files…",
2837
+ "kw.embedding_loading": "Loading model… (first run takes a few seconds)",
2784
2838
  "kw.embedding_failed": "Vector model load failed",
2785
2839
  "kw.embedding_ready": "Vector model ready",
2786
2840
  "kw.embedding_not_downloaded": "Vector model not downloaded (select Download vector model)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.18.7",
3
+ "version": "0.18.8",
4
4
  "description": "A terminal-native AI agent for builders",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",
@@ -60,6 +60,7 @@
60
60
  "@earendil-works/pi-codemode": "^1.1.0",
61
61
  "@fontsource-variable/inter": "^5.3.0",
62
62
  "@fontsource-variable/jetbrains-mono": "^5.3.0",
63
+ "@huggingface/tokenizers": "^0.2.0",
63
64
  "@liutod-scream/pi-tui": "^1.1.0",
64
65
  "@mariozechner/clipboard": "^0.3.2",
65
66
  "chalk": "^5.4.1",
@@ -69,6 +70,7 @@
69
70
  "grok-mermaid": "^0.2.3",
70
71
  "marked": "^15.0.7",
71
72
  "mupdf": "^1.28.0",
73
+ "onnxruntime-web": "1.21.0",
72
74
  "qrcode": "^1.5.4",
73
75
  "semver": "^7.7.4",
74
76
  "shiki": "^3.2.1",
@@ -76,9 +78,6 @@
76
78
  "ws": "^8.21.1",
77
79
  "zod": "^4.3.6"
78
80
  },
79
- "optionalDependencies": {
80
- "fastembed": "^2.1.0"
81
- },
82
81
  "devDependencies": {
83
82
  "@modelcontextprotocol/sdk": "^1.29.0",
84
83
  "@scream-code/agent-core": "workspace:^",