scream-code 0.12.8 → 0.13.0
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-
|
|
9
|
+
(await import("./app-3faY0BcL.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);
|
|
@@ -435,6 +435,11 @@ const dictionaries = {
|
|
|
435
435
|
"like.do_not": "用户禁止",
|
|
436
436
|
"like.do_not_hint": "用户明确不让做的事。Agent 绝不能做这些。",
|
|
437
437
|
"like.do_not_example": "例如:未经询问绝不修改用户的配置文件",
|
|
438
|
+
"like.tool_priority_title": "选择工具调用偏好",
|
|
439
|
+
"like.tool_priority_hint": "设置 Agent 执行任务时优先调用哪类工具(选择后徽章会显示在输入框右上角)",
|
|
440
|
+
"like.tool_priority_default": "默认(无优先)",
|
|
441
|
+
"like.tool_priority_skill": "Skill 优先(Skill > MCP > 内置工具)",
|
|
442
|
+
"like.tool_priority_mcp": "MCP 优先(MCP > Skill > 内置工具)",
|
|
438
443
|
"like.cancelled": "已取消 /like 设置",
|
|
439
444
|
"like.saved": "偏好已保存(下次新会话生效)",
|
|
440
445
|
"revoke.streaming": "无法在 streaming 中撤回 — 请先按 Esc 或 Ctrl-C 取消。",
|
|
@@ -892,6 +897,20 @@ const dictionaries = {
|
|
|
892
897
|
"textinput.empty_hint": "输入不能为空。",
|
|
893
898
|
"editor.auto_detect": "自动检测 ($VISUAL / $EDITOR)",
|
|
894
899
|
"editor.select_title": "选择外部编辑器",
|
|
900
|
+
"editor.empty_session_hint": "Tips:推荐使用 OpencodeGo 作为模型提供商,可免费调用各种模型或超低价包月计划,按 Ctrl+F 获取 API,按 Ctrl+B 切换显示",
|
|
901
|
+
"editor.tip_ad": "💡 Tips:推荐使用 OpencodeGo 作为模型提供商,可免费调用各种模型或超低价包月计划,按 Ctrl+F 获取 API 【Ctrl+B 关闭 Tips】",
|
|
902
|
+
"editor.tip_1": "💡 Tips:空输入框状态下可按下 Tab 切换模型思考等级 【Ctrl+B 关闭 Tips】",
|
|
903
|
+
"editor.tip_2": "💡 Tips:输入 / 查看所有命令,输入 @ 引用文件路径 【Ctrl+B 关闭 Tips】",
|
|
904
|
+
"editor.tip_3": "💡 Tips:按 Shift+Tab 切换 plan 模式 【Ctrl+B 关闭 Tips】",
|
|
905
|
+
"editor.tip_4": "💡 Tips:输入 /model diy 可为子代理配置不同模型 【Ctrl+B 关闭 Tips】",
|
|
906
|
+
"editor.tip_5": "💡 Tips:输入 /config diy 可添加自定义模型 【Ctrl+B 关闭 Tips】",
|
|
907
|
+
"editor.tip_6": "💡 Tips:使用中不建议切换模型,丢失缓存会导致命中率下降 【Ctrl+B 关闭 Tips】",
|
|
908
|
+
"editor.tip_7": "💡 Tips:按 Ctrl+E 跳到行尾,Ctrl+W 删除前一个单词 【Ctrl+B 关闭 Tips】",
|
|
909
|
+
"editor.tip_8": "💡 Tips:输入 /compact 可手动压缩上下文,释放 token 空间 【Ctrl+B 关闭 Tips】",
|
|
910
|
+
"editor.tip_9": "💡 Tips:按 Ctrl+O 可在外部编辑器中编写长消息 【Ctrl+B 关闭 Tips】",
|
|
911
|
+
"editor.tip_10": "💡 Tips:输入 /rlm 可开启运行时记忆,让 Agent 跨轮记住更多上下文 【Ctrl+B 关闭 Tips】",
|
|
912
|
+
"editor.tip_11": "💡 Tips:按 Ctrl+D(空输入时)可快速退出,再按一次确认 【Ctrl+B 关闭 Tips】",
|
|
913
|
+
"editor.tip_12": "💡 Tips:输入 /sessions 可查看并恢复历史会话 【Ctrl+B 关闭 Tips】",
|
|
895
914
|
"editorkey.cancel_compaction_failed": "取消压缩失败: {msg}",
|
|
896
915
|
"editorkey.editor_not_configured": "未配置编辑器。请设置 $VISUAL / $EDITOR,或运行 /editor <命令>。",
|
|
897
916
|
"editorkey.external_editor_failed": "外部编辑器失败: {msg}",
|
|
@@ -959,46 +978,10 @@ const dictionaries = {
|
|
|
959
978
|
"ccconnect.already_configured": "{name} ✔ 已配置",
|
|
960
979
|
"ccconnect.picker_title": "cc-connect 快速通道配置",
|
|
961
980
|
"ccconnect.picker_hint": "选择要连接的平台,配置将自动写入 ~/.cc-connect/config.toml",
|
|
962
|
-
"market.gsap_name": "GSAP 动画技能包",
|
|
963
|
-
"market.gsap_desc": "GreenSock 动画平台全套参考手册,含核心 API、Timeline、ScrollTrigger、插件、React 集成等 8 个技能",
|
|
964
|
-
"market.design_card_name": "Claude Design Card",
|
|
965
|
-
"market.design_card_desc": "14 种设计卡片生成(封面/图文/社交分享/长篇排版),Parchment × Swiss 双风格体系",
|
|
966
|
-
"market.superpowers_name": "Superpowers 开发技能包",
|
|
967
|
-
"market.superpowers_desc": "14 个开发方法论技能:TDD、系统调试、代码审查、子代理驱动开发、并行代理、头脑风暴等",
|
|
968
|
-
"market.scrapling_name": "Scrapling 网页爬取",
|
|
969
|
-
"market.scrapling_desc": "基于 Scrapling 的智能爬虫技能,支持 Cloudflare/WAF 绕过、登录会话、自动抓取解析",
|
|
970
|
-
"market.astock_name": "A 股数据分析",
|
|
971
|
-
"market.astock_desc": "A 股市场数据查询分析,27 个接口覆盖行情/研报/资金流/新闻/基本面,含 4 套内置研究流程",
|
|
972
981
|
"market.humanizer_name": "Humanizer AI 文本去味",
|
|
973
982
|
"market.humanizer_desc": "去除 AI 写作痕迹:30 种 AI 模式检测 × 5 大类 × 语音校准,输出纯正人类文风",
|
|
974
|
-
"market.patent_name": "Patent Disclosure 专利交底书",
|
|
975
|
-
"market.patent_desc": "专利交底书自动生成:专利点挖掘 → 国知局查新 → 脱敏成文 → 自检闭环,Mermaid 附图,输出 .docx",
|
|
976
983
|
"market.contract_name": "Contract Review Pro 合同审查",
|
|
977
984
|
"market.contract_desc": "专业合同审查:7 步工作流 × 5 强制关 × 15 类风险标签 × 六维评估,输出批注合同+法律意见书+分析备忘录,支持 30 种合同类型",
|
|
978
|
-
"market.academic_name": "Academic Research 学术研究",
|
|
979
|
-
"market.academic_desc": "完整学术研究管线:深度研究(13 Agent 团队 × 7 种模式)+ 学术写作(12 Agent 管线)+ 同行评审(7 Agent 多视角审稿),全流程覆盖",
|
|
980
|
-
"market.headroom_name": "Headroom 压缩优化",
|
|
981
|
-
"market.headroom_desc": "在内容送达 LLM 前压缩工具输出、日志、文件和 RAG 块,节省 60-95% Token,答案质量不变",
|
|
982
|
-
"market.xiaohu_wechat_name": "小壶公众号排版",
|
|
983
|
-
"market.xiaohu_wechat_desc": "Markdown → 微信兼容 HTML → 推送草稿箱,30 套主题 + 可视化画廊,一键排版发布",
|
|
984
|
-
"market.huashu_name": "花束设计",
|
|
985
|
-
"market.huashu_desc": "HTML 原生设计技能:高保真原型 / 幻灯片 / 动画 + 20 设计哲学 + 5 维评审 + MP4 导出",
|
|
986
|
-
"market.html_video_name": "HTML Video 视频生成",
|
|
987
|
-
"market.html_video_desc": "HTML 转 MP4:可插拔渲染引擎 + 21 套模板 + AI 配乐,全程本地,零渲染费用",
|
|
988
|
-
"market.xiaohu_translate_name": "小壶视频翻译",
|
|
989
|
-
"market.xiaohu_translate_desc": "外语视频自动配中文字幕:下载 / 转写 / 翻译 / 润色 / 烧录一条龙,全程本地",
|
|
990
|
-
"market.videocut_name": "视频剪辑 Agent",
|
|
991
|
-
"market.videocut_desc": "Claude Code Skills 驱动的视频剪辑 Agent:口播剪辑 / 字幕导入 / 画质高清化",
|
|
992
|
-
"market.taste_name": "Taste Skill 设计品味",
|
|
993
|
-
"market.taste_desc": "给 AI 好品味:阻止生成无聊通用的设计,输出有质感的方案",
|
|
994
|
-
"market.vtake_name": "VTake 视频剪辑",
|
|
995
|
-
"market.vtake_desc": "Agent Skills 驱动的视频剪辑工具",
|
|
996
|
-
"market.remotion_name": "Remotion 视频技能",
|
|
997
|
-
"market.remotion_desc": "Remotion(React 视频框架)官方技能包",
|
|
998
|
-
"market.html_anything_name": "HTML Anything 全能设计",
|
|
999
|
-
"market.html_anything_desc": "75 个技能 × 9 种场景:杂志 / 幻灯片 / 海报 / 小红书 / 数据报告 / 原型,零 API 密钥",
|
|
1000
|
-
"market.guizang_name": "归藏社交卡片",
|
|
1001
|
-
"market.guizang_desc": "小红书轮播图 + 公众号封面:28 种布局 × 10 套主题,Editorial × Swiss 视觉体系,单文件 HTML → PNG",
|
|
1002
985
|
"prompts.logout_title": "选择要登出的提供商",
|
|
1003
986
|
"prompts.no_wire_provider": "目录中没有支持该 wire 类型的提供商。",
|
|
1004
987
|
"prompts.select_provider": "选择提供商",
|
|
@@ -1112,6 +1095,9 @@ const dictionaries = {
|
|
|
1112
1095
|
"registry.status_desc": "显示当前会话和运行时状态",
|
|
1113
1096
|
"registry.usage_desc": "显示 token 用量和上下文窗口",
|
|
1114
1097
|
"registry.btw_desc": "在不中断对话的情况下快速提问",
|
|
1098
|
+
"registry.snaptimer_desc": "开关会话快照计时器(每次回复后的用时标记)",
|
|
1099
|
+
"snaptimer.enabled": "会话快照计时器已开启",
|
|
1100
|
+
"snaptimer.disabled": "会话快照计时器已关闭",
|
|
1115
1101
|
"registry.like_desc": "设置你的偏好(昵称、语气、其他偏好)",
|
|
1116
1102
|
"registry.mcp_desc": "管理 MCP 服务器(安装/停用/卸载)",
|
|
1117
1103
|
"registry.skill_desc": "技能中心,管理 Skill 技能,含激活、安装、卸载等",
|
|
@@ -1510,6 +1496,11 @@ const dictionaries = {
|
|
|
1510
1496
|
"like.do_not": "User Prohibitions",
|
|
1511
1497
|
"like.do_not_hint": "Things the user explicitly does NOT want done. The agent must NEVER do these.",
|
|
1512
1498
|
"like.do_not_example": "e.g. Never modify user config files without asking",
|
|
1499
|
+
"like.tool_priority_title": "Choose tool dispatch preference",
|
|
1500
|
+
"like.tool_priority_hint": "Which tools the agent should prefer when executing tasks (a badge shows in the input box corner)",
|
|
1501
|
+
"like.tool_priority_default": "Default (no preference)",
|
|
1502
|
+
"like.tool_priority_skill": "Skill first (Skill > MCP > built-in)",
|
|
1503
|
+
"like.tool_priority_mcp": "MCP first (MCP > Skill > built-in)",
|
|
1513
1504
|
"like.cancelled": "/like setup cancelled",
|
|
1514
1505
|
"like.saved": "Preferences saved (takes effect in next session)",
|
|
1515
1506
|
"revoke.streaming": "Cannot revoke during streaming — press Esc or Ctrl-C to cancel first.",
|
|
@@ -1967,6 +1958,20 @@ const dictionaries = {
|
|
|
1967
1958
|
"textinput.empty_hint": "Input cannot be empty.",
|
|
1968
1959
|
"editor.auto_detect": "Auto detect ($VISUAL / $EDITOR)",
|
|
1969
1960
|
"editor.select_title": "Select external editor",
|
|
1961
|
+
"editor.empty_session_hint": "Tips: Use OpencodeGo as your model provider: free models or a low-cost plan. Ctrl+F: get an API key. Ctrl+B: toggle this tip.",
|
|
1962
|
+
"editor.tip_ad": "💡 Tips: Use OpencodeGo as your model provider: free models or a low-cost plan. Ctrl+F: get an API key [Ctrl+B to hide Tips]",
|
|
1963
|
+
"editor.tip_1": "💡 Tips: Press Tab on an empty input to cycle thinking effort [Ctrl+B to hide Tips]",
|
|
1964
|
+
"editor.tip_2": "💡 Tips: Type / to see all commands, type @ to reference a file path [Ctrl+B to hide Tips]",
|
|
1965
|
+
"editor.tip_3": "💡 Tips: Press Shift+Tab to switch plan mode [Ctrl+B to hide Tips]",
|
|
1966
|
+
"editor.tip_4": "💡 Tips: Type /model diy to configure a different model for sub-agents [Ctrl+B to hide Tips]",
|
|
1967
|
+
"editor.tip_5": "💡 Tips: Type /config diy to add a custom model [Ctrl+B to hide Tips]",
|
|
1968
|
+
"editor.tip_6": "💡 Tips: Avoid switching models mid-session - cache loss reduces hit rate [Ctrl+B to hide Tips]",
|
|
1969
|
+
"editor.tip_7": "💡 Tips: Ctrl+E jumps to end of line, Ctrl+W deletes the previous word [Ctrl+B to hide Tips]",
|
|
1970
|
+
"editor.tip_8": "💡 Tips: Type /compact to manually compact context and free token space [Ctrl+B to hide Tips]",
|
|
1971
|
+
"editor.tip_9": "💡 Tips: Press Ctrl+O to compose long messages in an external editor [Ctrl+B to hide Tips]",
|
|
1972
|
+
"editor.tip_10": "💡 Tips: Type /rlm to enable runtime memory for better cross-turn recall [Ctrl+B to hide Tips]",
|
|
1973
|
+
"editor.tip_11": "💡 Tips: Press Ctrl+D (on empty input) to quit, press again to confirm [Ctrl+B to hide Tips]",
|
|
1974
|
+
"editor.tip_12": "💡 Tips: Type /sessions to browse and resume past sessions [Ctrl+B to hide Tips]",
|
|
1970
1975
|
"editorkey.cancel_compaction_failed": "Cancel compaction failed: {msg}",
|
|
1971
1976
|
"editorkey.editor_not_configured": "Editor not configured. Set $VISUAL / $EDITOR, or run /editor <command>.",
|
|
1972
1977
|
"editorkey.external_editor_failed": "External editor failed: {msg}",
|
|
@@ -2034,46 +2039,10 @@ const dictionaries = {
|
|
|
2034
2039
|
"ccconnect.already_configured": "{name} ✔ Configured",
|
|
2035
2040
|
"ccconnect.picker_title": "cc-connect Quick Channel Setup",
|
|
2036
2041
|
"ccconnect.picker_hint": "Select a platform to connect; config will be auto-written to ~/.cc-connect/config.toml",
|
|
2037
|
-
"market.gsap_name": "GSAP Animation Skill Pack",
|
|
2038
|
-
"market.gsap_desc": "Complete GreenSock Animation Platform reference, incl. core API, Timeline, ScrollTrigger, plugins, React integration — 8 skills",
|
|
2039
|
-
"market.design_card_name": "Claude Design Card",
|
|
2040
|
-
"market.design_card_desc": "14 design card generators (cover/photo/social/long-form), Parchment × Swiss dual-style system",
|
|
2041
|
-
"market.superpowers_name": "Superpowers Dev Skill Pack",
|
|
2042
|
-
"market.superpowers_desc": "14 dev methodology skills: TDD, system debugging, code review, subagent-driven dev, parallel agents, brainstorming, etc.",
|
|
2043
|
-
"market.scrapling_name": "Scrapling Web Scraper",
|
|
2044
|
-
"market.scrapling_desc": "Smart scraper based on Scrapling, supports Cloudflare/WAF bypass, login sessions, auto-extraction",
|
|
2045
|
-
"market.astock_name": "A-Share Data Analysis",
|
|
2046
|
-
"market.astock_desc": "A-share market data query & analysis, 27 APIs covering quotes/reports/capital flow/news/fundamentals, 4 built-in research workflows",
|
|
2047
2042
|
"market.humanizer_name": "Humanizer AI Text De-AI",
|
|
2048
2043
|
"market.humanizer_desc": "Remove AI writing traces: 30 AI pattern detection × 5 categories × voice calibration, output pure human style",
|
|
2049
|
-
"market.patent_name": "Patent Disclosure Skill",
|
|
2050
|
-
"market.patent_desc": "Auto-generate patent disclosures: patent point mining → CNIPA novelty search → desensitized write-up → self-check loop, Mermaid diagrams, .docx output",
|
|
2051
2044
|
"market.contract_name": "Contract Review Pro",
|
|
2052
2045
|
"market.contract_desc": "Professional contract review: 7-step workflow × 5 mandatory gates × 15 risk tags × 6-dimension assessment, annotated contract + legal opinion + analysis memo, 30 contract types",
|
|
2053
|
-
"market.academic_name": "Academic Research Skills",
|
|
2054
|
-
"market.academic_desc": "Full academic research pipeline: deep research (13-agent team × 7 modes) + academic writing (12-agent pipeline) + peer review (7-agent multi-perspective), end-to-end",
|
|
2055
|
-
"market.headroom_name": "Headroom Compression Optimizer",
|
|
2056
|
-
"market.headroom_desc": "Compress tool output, logs, files & RAG chunks before sending to LLM, save 60-95% tokens, answer quality preserved",
|
|
2057
|
-
"market.xiaohu_wechat_name": "Xiaohu WeChat Formatter",
|
|
2058
|
-
"market.xiaohu_wechat_desc": "Markdown → WeChat-compatible HTML → push to draft box, 30 themes + visual gallery, one-click formatting & publishing",
|
|
2059
|
-
"market.huashu_name": "Huashu Design",
|
|
2060
|
-
"market.huashu_desc": "Native HTML design skill: hi-fi prototypes / slides / animations + 20 design philosophies + 5-dim review + MP4 export",
|
|
2061
|
-
"market.html_video_name": "HTML Video Generator",
|
|
2062
|
-
"market.html_video_desc": "HTML to MP4: pluggable render engine + 21 templates + AI scoring, fully local, zero render cost",
|
|
2063
|
-
"market.xiaohu_translate_name": "Xiaohu Video Translator",
|
|
2064
|
-
"market.xiaohu_translate_desc": "Auto Chinese subtitles for foreign videos: download / transcribe / translate / polish / burn-in, fully local",
|
|
2065
|
-
"market.videocut_name": "Video Editing Agent",
|
|
2066
|
-
"market.videocut_desc": "Claude Code Skills-driven video editing agent: talking-head cuts / subtitle import / quality upscaling",
|
|
2067
|
-
"market.taste_name": "Taste Skill Design Taste",
|
|
2068
|
-
"market.taste_desc": "Give AI good taste: prevent boring generic designs, output quality solutions",
|
|
2069
|
-
"market.vtake_name": "VTake Video Editing",
|
|
2070
|
-
"market.vtake_desc": "Agent Skills-driven video editing tool",
|
|
2071
|
-
"market.remotion_name": "Remotion Video Skill",
|
|
2072
|
-
"market.remotion_desc": "Remotion (React video framework) official skill pack",
|
|
2073
|
-
"market.html_anything_name": "HTML Anything All-in-One Design",
|
|
2074
|
-
"market.html_anything_desc": "75 skills × 9 scenarios: magazine / slides / poster / Xiaohongshu / data report / prototype, zero API keys",
|
|
2075
|
-
"market.guizang_name": "Guizang Social Card",
|
|
2076
|
-
"market.guizang_desc": "Xiaohongshu carousel + WeChat cover: 28 layouts × 10 themes, Editorial × Swiss visual system, single-file HTML → PNG",
|
|
2077
2046
|
"prompts.logout_title": "Select provider to log out",
|
|
2078
2047
|
"prompts.no_wire_provider": "No providers supporting this wire type in the catalog.",
|
|
2079
2048
|
"prompts.select_provider": "Select provider",
|
|
@@ -2187,6 +2156,9 @@ const dictionaries = {
|
|
|
2187
2156
|
"registry.status_desc": "Show current session and runtime status",
|
|
2188
2157
|
"registry.usage_desc": "Show token usage and context window",
|
|
2189
2158
|
"registry.btw_desc": "Quick question without interrupting conversation",
|
|
2159
|
+
"registry.snaptimer_desc": "Toggle the per-turn elapsed snapshot timer",
|
|
2160
|
+
"snaptimer.enabled": "Session snapshot timer enabled",
|
|
2161
|
+
"snaptimer.disabled": "Session snapshot timer disabled",
|
|
2190
2162
|
"registry.like_desc": "Set your preferences (nickname, tone, other)",
|
|
2191
2163
|
"registry.mcp_desc": "Manage MCP servers (install/disable/uninstall)",
|
|
2192
2164
|
"registry.skill_desc": "Skill center, manage Skills including activate, install, uninstall",
|
|
@@ -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-BDMkabTD.mjs";
|
|
7
7
|
export { TextInputDialogComponent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scream-code",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "A terminal-native AI agent for builders",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ScreamCli",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"smoke": "node dist/main.mjs --version"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@liutod-scream/pi-tui": "^0.84.
|
|
58
|
+
"@liutod-scream/pi-tui": "^0.84.2",
|
|
59
59
|
"@mariozechner/clipboard": "^0.3.2",
|
|
60
60
|
"chalk": "^5.4.1",
|
|
61
61
|
"cli-highlight": "^2.1.11",
|