scream-code 0.18.6 → 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.
- package/README.md +6 -3
- package/dist/{app-Ca2pwAk7.mjs → app-Db7f8Kja.mjs} +296 -205
- package/dist/{dispatch-BgO7wAf9.mjs → dispatch-BPfUTccZ.mjs} +505 -129
- package/dist/{dispatch-0mihbsV3.mjs → dispatch-zsFzFFoY.mjs} +1 -1
- package/dist/main.mjs +1 -1
- package/dist/{src-C3oCiVNb.mjs → src-CFHysu0q.mjs} +11 -11
- package/dist/{src-C7C9e5Ds.mjs → src-ClB_Hzp9.mjs} +3355 -100
- package/dist/{src-qit_jRUM.mjs → src-DA34cXSv.mjs} +1 -1
- package/dist/{text-input-dialog-DWepgNF4.mjs → text-input-dialog-CFRUSCi6.mjs} +1 -1
- package/dist/{text-input-dialog-BvbqjvzB.mjs → text-input-dialog-DHDsHCqR.mjs} +60 -4
- package/package.json +3 -4
|
@@ -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-
|
|
6
|
+
import { n as multiSearchWithTrace } from "./src-ClB_Hzp9.mjs";
|
|
7
7
|
export { multiSearchWithTrace };
|
|
@@ -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-DHDsHCqR.mjs";
|
|
7
7
|
export { TextInputDialogComponent };
|
|
@@ -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.
|
|
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 多代理编排配置",
|
|
@@ -1056,6 +1064,7 @@ const dictionaries = {
|
|
|
1056
1064
|
"editor.auto_detect": "自动检测 ($VISUAL / $EDITOR)",
|
|
1057
1065
|
"editor.select_title": "选择外部编辑器",
|
|
1058
1066
|
"editor.empty_session_hint": "Tips:如果你支持本项目或遇到问题,欢迎在 GitHub 上反馈或点个星标。按 Ctrl+B 切换显示",
|
|
1067
|
+
"editor.tip_offer": "💡 Tips:部分模型低至1折起,一个API搞定!todapi.work 【Ctrl+B 关闭 Tips】",
|
|
1059
1068
|
"editor.tip_ad": "💡 Tips:如果你支持本项目或遇到问题,欢迎在 GitHub 上反馈或点个星标 【Ctrl+B 关闭 Tips】",
|
|
1060
1069
|
"editor.tip_1": "💡 Tips:空输入框状态下可按下 Tab 切换模型思考等级 【Ctrl+B 关闭 Tips】",
|
|
1061
1070
|
"editor.tip_2": "💡 Tips:输入 / 查看所有命令,输入 @ 引用文件路径 【Ctrl+B 关闭 Tips】",
|
|
@@ -1244,6 +1253,11 @@ const dictionaries = {
|
|
|
1244
1253
|
"constant.no_active_session": "没有活动会话。运行 /config 自定义模型配置。",
|
|
1245
1254
|
"constant.ctrl_d_hint": "再次按 Ctrl+D 退出",
|
|
1246
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}",
|
|
1247
1261
|
"tui.resume_warning": "警告:{warning}",
|
|
1248
1262
|
"tui.skill_failed": "Skill \"{skill}\" 执行失败:{message}",
|
|
1249
1263
|
"tui.replay_no_new_session": "历史回放期间无法启动新会话。",
|
|
@@ -1285,6 +1299,8 @@ const dictionaries = {
|
|
|
1285
1299
|
"registry.fusionplan_desc": "切换融合计划模式(多子代理并行规划)",
|
|
1286
1300
|
"registry.tasks_desc": "浏览后台任务",
|
|
1287
1301
|
"registry.help_desc": "显示可用命令和快捷键",
|
|
1302
|
+
"registry.hotkeys_desc": "查看键盘快捷键",
|
|
1303
|
+
"registry.copy_desc": "复制上一条回复到剪贴板",
|
|
1288
1304
|
"registry.status_desc": "显示当前会话和运行时状态",
|
|
1289
1305
|
"registry.usage_desc": "显示 token 用量和上下文窗口",
|
|
1290
1306
|
"registry.btw_desc": "在不中断对话的情况下快速提问",
|
|
@@ -1384,7 +1400,15 @@ const dictionaries = {
|
|
|
1384
1400
|
"registry.revoke_desc": "撤回上一次对话(可指定轮数,如 /revoke 3)",
|
|
1385
1401
|
"registry.fork_desc": "复制当前会话并新开分支",
|
|
1386
1402
|
"registry.title_desc": "设置或显示会话标题",
|
|
1387
|
-
"
|
|
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": "配置模型服务(快捷选择 / 自定义 / 生图)",
|
|
1388
1412
|
"registry.permission_desc": "选择权限模式",
|
|
1389
1413
|
"registry.grants_desc": "查看并撤销本会话的审批授权",
|
|
1390
1414
|
"registry.theme_desc": "设置终端 UI 主题",
|
|
@@ -1435,6 +1459,10 @@ const dictionaries = {
|
|
|
1435
1459
|
"badge.yes": "YES",
|
|
1436
1460
|
"kw.lang_toggle": "English",
|
|
1437
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": "正在加载模型…(首次约需十几秒)",
|
|
1438
1466
|
"kw.embedding_failed": "向量模型加载失败",
|
|
1439
1467
|
"kw.embedding_ready": "向量模型已就绪",
|
|
1440
1468
|
"kw.embedding_not_downloaded": "向量模型未下载(选择「下载向量模型」手动下载)",
|
|
@@ -1693,7 +1721,7 @@ const dictionaries = {
|
|
|
1693
1721
|
"knowledge.download_model": "Download vector model",
|
|
1694
1722
|
"knowledge.download_model_desc": "Manually download the bge-small-zh-v1.5 model (~95 MB) to enable semantic search",
|
|
1695
1723
|
"knowledge.download_model_installed": " (installed)",
|
|
1696
|
-
"knowledge.
|
|
1724
|
+
"knowledge.embedding_install_hint": "The local vector components are missing or incomplete. Reinstall and retry: npm i -g scream-code",
|
|
1697
1725
|
"knowledge.embedding_cache_corrupt_hint": "Corrupt model cache; cleared and retried, still failing — try again later",
|
|
1698
1726
|
"knowledge.embedding_network_hint": "Return to the menu and retry the download; a proxy helps when the network is restricted.",
|
|
1699
1727
|
"knowledge.embedding_unknown_hint": "Please retry; if it keeps failing, send us the error line below.",
|
|
@@ -1771,6 +1799,11 @@ const dictionaries = {
|
|
|
1771
1799
|
"mcp.install_success": "{name} installed and started.",
|
|
1772
1800
|
"mcp.install_fail": "{name} installation failed.",
|
|
1773
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.",
|
|
1774
1807
|
"mcp.already_installed": "{name} is already installed.",
|
|
1775
1808
|
"mcp.disabled_done": "{name} disabled.",
|
|
1776
1809
|
"mcp.uninstalled": "{name} uninstalled.",
|
|
@@ -1974,6 +2007,9 @@ const dictionaries = {
|
|
|
1974
2007
|
"help.browse_history": "Browse input history",
|
|
1975
2008
|
"help.submit": "Submit",
|
|
1976
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)",
|
|
1977
2013
|
"help.close_hint": "Esc / Enter / q Close · ↑↓ Scroll",
|
|
1978
2014
|
"help.welcome_msg": "Scream is ready to help! Send a message to get started.",
|
|
1979
2015
|
"help.hidden_commands": "/config diy Custom model provider /config image Image generation /model diy Multi-agent orchestration",
|
|
@@ -2400,6 +2436,7 @@ const dictionaries = {
|
|
|
2400
2436
|
"editor.auto_detect": "Auto detect ($VISUAL / $EDITOR)",
|
|
2401
2437
|
"editor.select_title": "Select external editor",
|
|
2402
2438
|
"editor.empty_session_hint": "Tips: Like this project or hit an issue? Give feedback or a star on GitHub. Ctrl+B: toggle this tip.",
|
|
2439
|
+
"editor.tip_offer": "💡 Tips: Some models from 90% off — one API for all! todapi.work [Ctrl+B to hide Tips]",
|
|
2403
2440
|
"editor.tip_ad": "💡 Tips: Like this project or hit an issue? Give feedback or a star on GitHub [Ctrl+B to hide Tips]",
|
|
2404
2441
|
"editor.tip_1": "💡 Tips: Press Tab on an empty input to cycle thinking effort [Ctrl+B to hide Tips]",
|
|
2405
2442
|
"editor.tip_2": "💡 Tips: Type / to see all commands, type @ to reference a file path [Ctrl+B to hide Tips]",
|
|
@@ -2588,6 +2625,11 @@ const dictionaries = {
|
|
|
2588
2625
|
"constant.no_active_session": "No active session. Run /config to configure model.",
|
|
2589
2626
|
"constant.ctrl_d_hint": "Press Ctrl+D again to exit",
|
|
2590
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}",
|
|
2591
2633
|
"tui.resume_warning": "Warning: {warning}",
|
|
2592
2634
|
"tui.skill_failed": "Skill \"{skill}\" failed: {message}",
|
|
2593
2635
|
"tui.replay_no_new_session": "Cannot start a new session during history replay.",
|
|
@@ -2629,6 +2671,8 @@ const dictionaries = {
|
|
|
2629
2671
|
"registry.fusionplan_desc": "Toggle fusion plan mode (multi-agent parallel planning)",
|
|
2630
2672
|
"registry.tasks_desc": "Browse background tasks",
|
|
2631
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",
|
|
2632
2676
|
"registry.status_desc": "Show current session and runtime status",
|
|
2633
2677
|
"registry.usage_desc": "Show token usage and context window",
|
|
2634
2678
|
"registry.btw_desc": "Quick question without interrupting conversation",
|
|
@@ -2728,7 +2772,15 @@ const dictionaries = {
|
|
|
2728
2772
|
"registry.revoke_desc": "Undo last conversation round (specify rounds, e.g. /revoke 3)",
|
|
2729
2773
|
"registry.fork_desc": "Copy current session and start a new branch",
|
|
2730
2774
|
"registry.title_desc": "Set or show session title",
|
|
2731
|
-
"
|
|
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)",
|
|
2732
2784
|
"registry.permission_desc": "Select permission mode",
|
|
2733
2785
|
"registry.grants_desc": "Review and revoke session approvals",
|
|
2734
2786
|
"registry.theme_desc": "Set terminal UI theme",
|
|
@@ -2779,6 +2831,10 @@ const dictionaries = {
|
|
|
2779
2831
|
"badge.yes": "YES",
|
|
2780
2832
|
"kw.lang_toggle": "中文",
|
|
2781
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)",
|
|
2782
2838
|
"kw.embedding_failed": "Vector model load failed",
|
|
2783
2839
|
"kw.embedding_ready": "Vector model ready",
|
|
2784
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.
|
|
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:^",
|