scream-code 0.13.2 → 0.13.4

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-DMvVE2Uq.mjs")).main();
9
+ (await import("./app-CT7KRNF5.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-D9R3KY7O.mjs";
6
+ import { t as TextInputDialogComponent } from "./text-input-dialog-ClcJf9pu.mjs";
7
7
  export { TextInputDialogComponent };
@@ -121,12 +121,12 @@ const dictionaries = {
121
121
  "tasks.user_stopped": "用户发起停止",
122
122
  "tasks.stop_failed": "停止失败:{msg}",
123
123
  "tasks.open_output_failed": "无法打开输出:{msg}",
124
- "status.idle": "○ 空闲",
124
+ "status.idle": "○ 空闲中",
125
125
  "status.thinking": "思考中",
126
126
  "status.composing": "输出中",
127
127
  "status.tool": "执行中",
128
- "status.waiting": "等待响应",
129
- "status.reconnecting": "重连尝试中",
128
+ "status.waiting": "等待中",
129
+ "status.reconnecting": "重连中",
130
130
  "approval.allow_once": "批准一次",
131
131
  "approval.allow_session": "批准(当前会话)",
132
132
  "approval.deny": "拒绝",
@@ -196,8 +196,9 @@ const dictionaries = {
196
196
  "footer.help": "/help: 显示命令",
197
197
  "footer.config": "/config: 选择并配置你常用的模型商",
198
198
  "footer.reminder": "让 Scream 安排任务,例如 \"2个小时后提醒我去拿快递\"",
199
- "footer.context": "上下文:{pct} ({tokens}/{maxTokens})",
200
- "footer.context_short": "上下文:{pct}",
199
+ "footer.context": "上下文: {bar} ({tokens}/{maxTokens})",
200
+ "footer.context_short": "上下文: {bar}",
201
+ "footer.hit": "HitR",
201
202
  "footer.tasks_running": "{count}个任务 运行中",
202
203
  "footer.agents_running": "{count}个代理 运行中",
203
204
  "input.replay_blocked": "会话历史正在回放时无法发送输入。",
@@ -911,6 +912,8 @@ const dictionaries = {
911
912
  "editor.tip_10": "💡 Tips:输入 /rlm 可开启运行时记忆,让 Agent 跨轮记住更多上下文 【Ctrl+B 关闭 Tips】",
912
913
  "editor.tip_11": "💡 Tips:按 Ctrl+D(空输入时)可快速退出,再按一次确认 【Ctrl+B 关闭 Tips】",
913
914
  "editor.tip_12": "💡 Tips:输入 /sessions 可查看并恢复历史会话 【Ctrl+B 关闭 Tips】",
915
+ "editor.tip_13": "💡 Tips:按 Ctrl+Shift+F 或输入 /search 可搜索会话历史 【Ctrl+B 关闭 Tips】",
916
+ "editor.tip_14": "💡 Tips:拖选文本松手即可复制到系统剪贴板 【Ctrl+B 关闭 Tips】",
914
917
  "editorkey.cancel_compaction_failed": "取消压缩失败: {msg}",
915
918
  "editorkey.editor_not_configured": "未配置编辑器。请设置 $VISUAL / $EDITOR,或运行 /editor <命令>。",
916
919
  "editorkey.external_editor_failed": "外部编辑器失败: {msg}",
@@ -1125,6 +1128,8 @@ const dictionaries = {
1125
1128
  "registry.update_desc": "手动更新 Scream Code 到最新版本",
1126
1129
  "registry.version_desc": "显示版本信息",
1127
1130
  "registry.logout_desc": "删除已配置的模型",
1131
+ "registry.search_desc": "上下文关键词搜索,ESC 关闭",
1132
+ "registry.trace_desc": "查看会话工作轨迹",
1128
1133
  "registry.eval_desc": "运行端到端测试(Agent健康度检查)",
1129
1134
  "registry.exit_desc": "退出应用",
1130
1135
  "kw.hint_drag": "拖拽平移 · 滚轮缩放 · 单击展开/收起 · 双击详情",
@@ -1194,7 +1199,7 @@ const dictionaries = {
1194
1199
  "status.composing": "Writing",
1195
1200
  "status.tool": "Running",
1196
1201
  "status.waiting": "Waiting",
1197
- "status.reconnecting": "Reconnect attempt",
1202
+ "status.reconnecting": "Reconnecting",
1198
1203
  "approval.allow_once": "Allow Once",
1199
1204
  "approval.allow_session": "Allow Session",
1200
1205
  "approval.deny": "Deny",
@@ -1264,8 +1269,9 @@ const dictionaries = {
1264
1269
  "footer.help": "/help: Show commands",
1265
1270
  "footer.config": "/config: Configure your model provider",
1266
1271
  "footer.reminder": "Let Scream schedule tasks, e.g. \"remind me to pick up the package in 2 hours\"",
1267
- "footer.context": "Context: {pct} ({tokens}/{maxTokens})",
1268
- "footer.context_short": "Context: {pct}",
1272
+ "footer.context": "Context: {bar} ({tokens}/{maxTokens})",
1273
+ "footer.context_short": "Context: {bar}",
1274
+ "footer.hit": "HitR",
1269
1275
  "footer.tasks_running": "{count} tasks running",
1270
1276
  "footer.agents_running": "{count} agents running",
1271
1277
  "input.replay_blocked": "Cannot send input while session history is replaying.",
@@ -1979,6 +1985,8 @@ const dictionaries = {
1979
1985
  "editor.tip_10": "💡 Tips: Type /rlm to enable runtime memory for better cross-turn recall [Ctrl+B to hide Tips]",
1980
1986
  "editor.tip_11": "💡 Tips: Press Ctrl+D (on empty input) to quit, press again to confirm [Ctrl+B to hide Tips]",
1981
1987
  "editor.tip_12": "💡 Tips: Type /sessions to browse and resume past sessions [Ctrl+B to hide Tips]",
1988
+ "editor.tip_13": "💡 Tips: Press Ctrl+Shift+F or type /search to search the conversation [Ctrl+B to hide Tips]",
1989
+ "editor.tip_14": "💡 Tips: Drag to select text and release to copy to the system clipboard [Ctrl+B to hide Tips]",
1982
1990
  "editorkey.cancel_compaction_failed": "Cancel compaction failed: {msg}",
1983
1991
  "editorkey.editor_not_configured": "Editor not configured. Set $VISUAL / $EDITOR, or run /editor <command>.",
1984
1992
  "editorkey.external_editor_failed": "External editor failed: {msg}",
@@ -2193,6 +2201,8 @@ const dictionaries = {
2193
2201
  "registry.update_desc": "Manually update Scream Code to latest version",
2194
2202
  "registry.version_desc": "Show version info",
2195
2203
  "registry.logout_desc": "Remove configured models",
2204
+ "registry.search_desc": "Search the conversation context (Esc to close)",
2205
+ "registry.trace_desc": "View the session working trajectory",
2196
2206
  "registry.eval_desc": "Run end-to-end tests (Agent health check)",
2197
2207
  "registry.exit_desc": "Exit application",
2198
2208
  "kw.hint_drag": "Drag to pan · Scroll to zoom · Click to expand/collapse · Double-click for details",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.13.2",
3
+ "version": "0.13.4",
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.2",
58
+ "@liutod-scream/pi-tui": "^0.84.4",
59
59
  "@mariozechner/clipboard": "^0.3.2",
60
60
  "chalk": "^5.4.1",
61
61
  "cli-highlight": "^2.1.11",