scream-code 0.12.5 → 0.12.7

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-35ccG0J0.mjs")).main();
9
+ (await import("./app-DoxADJlo.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);
@@ -410,6 +410,7 @@ const dictionaries = {
410
410
  "cc.uninstall_irreversible": "此操作不可撤销,所有 cc-connect 数据将被清除",
411
411
  "cc.confirm_uninstall_btn": "确认卸载",
412
412
  "auth.fetching_models": "正在拉取最新模型目录...",
413
+ "auth.catalog_fetch_failed": "拉取远程模型目录失败: {error}。请检查网络(目录站点在你的网络环境下可能无法访问)后重试,或使用 /config diy 自行配置服务商。",
413
414
  "auth.no_providers": "没有已配置的模型商。",
414
415
  "auth.deleted": "已删除模型商: {name}",
415
416
  "auth.input_api_url": "输入服务商 API 地址",
@@ -1057,6 +1058,17 @@ const dictionaries = {
1057
1058
  "dispatch.tasks_browser_failed": "打开任务浏览器失败:{error}",
1058
1059
  "dispatch.usage_failed": "显示使用情况失败:{error}",
1059
1060
  "dispatch.status_failed": "显示状态报告失败:{error}",
1061
+ "dispatch.eval_no_model": "没有可用的模型。请先通过 /connect 或 /config 配置模型。",
1062
+ "dispatch.eval_started": "正在运行端到端评测(模型:{model})…完成后将显示结果",
1063
+ "dispatch.eval_running": "评测已在运行中,请等待完成",
1064
+ "dispatch.eval_progress": "评测 {completed}/{total}:{name}(已通过 {passed},未通过 {failed})…",
1065
+ "dispatch.eval_passed": "通过",
1066
+ "dispatch.eval_failed_count": "未通过",
1067
+ "dispatch.eval_failed": "评测失败:{error}",
1068
+ "dispatch.eval_suggest_error": "可能是网络连接、API 配置或账户余额的问题,请检查后重试",
1069
+ "dispatch.eval_suggest_timeout": "任务执行超时,可能是网络较慢或模型响应时间较长,可更换模型后重试",
1070
+ "dispatch.eval_suggest_tool": "文件读写工具执行未成功,请检查工作目录权限;若重试后仍失败,请反馈",
1071
+ "dispatch.eval_suggest_answer": "模型回答可能不完整或不正确,可尝试更换更强的模型后重试",
1060
1072
  "constant.llm_not_set": "LLM 未设置,运行 /config 自定义模型配置",
1061
1073
  "constant.no_active_session": "没有活动会话。运行 /config 自定义模型配置。",
1062
1074
  "constant.ctrl_d_hint": "再次按 Ctrl+D 退出",
@@ -1120,6 +1132,7 @@ const dictionaries = {
1120
1132
  "registry.update_desc": "手动更新 Scream Code 到最新版本",
1121
1133
  "registry.version_desc": "显示版本信息",
1122
1134
  "registry.logout_desc": "删除已配置的模型",
1135
+ "registry.eval_desc": "运行端到端测试(Agent健康度检查)",
1123
1136
  "registry.exit_desc": "退出应用",
1124
1137
  "kw.hint_drag": "拖拽平移 · 滚轮缩放 · 单击展开/收起 · 双击详情",
1125
1138
  "kw.detail_name": "名称",
@@ -1472,6 +1485,7 @@ const dictionaries = {
1472
1485
  "cc.uninstall_irreversible": "This cannot be undone. All cc-connect data will be removed.",
1473
1486
  "cc.confirm_uninstall_btn": "Confirm Uninstall",
1474
1487
  "auth.fetching_models": "Fetching latest model catalog...",
1488
+ "auth.catalog_fetch_failed": "Failed to fetch the remote model catalog: {error}. Check your network (the catalog host may be unreachable in your region) and retry, or use /config diy to set up a provider manually.",
1475
1489
  "auth.no_providers": "No model providers configured.",
1476
1490
  "auth.deleted": "Deleted provider: {name}",
1477
1491
  "auth.input_api_url": "Enter provider API URL",
@@ -2119,6 +2133,17 @@ const dictionaries = {
2119
2133
  "dispatch.tasks_browser_failed": "Failed to open tasks browser: {error}",
2120
2134
  "dispatch.usage_failed": "Failed to show usage: {error}",
2121
2135
  "dispatch.status_failed": "Failed to show status report: {error}",
2136
+ "dispatch.eval_no_model": "No model available. Configure one via /connect or /config first.",
2137
+ "dispatch.eval_started": "Running end-to-end evals (model: {model})… results will appear when done",
2138
+ "dispatch.eval_running": "An eval run is already in progress, please wait",
2139
+ "dispatch.eval_progress": "Eval {completed}/{total}: {name} ({passed} passed, {failed} failed)…",
2140
+ "dispatch.eval_passed": "passed",
2141
+ "dispatch.eval_failed_count": "failed",
2142
+ "dispatch.eval_failed": "Eval run failed: {error}",
2143
+ "dispatch.eval_suggest_error": "This may be a network, API config, or account balance issue — please check and retry",
2144
+ "dispatch.eval_suggest_timeout": "The task timed out; this is often a slow network or slow model response. Try a different model and retry",
2145
+ "dispatch.eval_suggest_tool": "A file read/write tool did not complete. Please check directory permissions; if it still fails after retrying, please report it",
2146
+ "dispatch.eval_suggest_answer": "The model answer may be incomplete or incorrect. Try a stronger model and retry",
2122
2147
  "constant.llm_not_set": "LLM not set, run /config to configure model",
2123
2148
  "constant.no_active_session": "No active session. Run /config to configure model.",
2124
2149
  "constant.ctrl_d_hint": "Press Ctrl+D again to exit",
@@ -2182,6 +2207,7 @@ const dictionaries = {
2182
2207
  "registry.update_desc": "Manually update Scream Code to latest version",
2183
2208
  "registry.version_desc": "Show version info",
2184
2209
  "registry.logout_desc": "Remove configured models",
2210
+ "registry.eval_desc": "Run end-to-end tests (Agent health check)",
2185
2211
  "registry.exit_desc": "Exit application",
2186
2212
  "kw.hint_drag": "Drag to pan · Scroll to zoom · Click to expand/collapse · Double-click for details",
2187
2213
  "kw.detail_name": "Name",
@@ -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-BQeV1dTM.mjs";
6
+ import { t as TextInputDialogComponent } from "./text-input-dialog-9ywV88Lh.mjs";
7
7
  export { TextInputDialogComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.12.5",
3
+ "version": "0.12.7",
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.80.43",
58
+ "@liutod-scream/pi-tui": "^0.84.0",
59
59
  "@mariozechner/clipboard": "^0.3.2",
60
60
  "chalk": "^5.4.1",
61
61
  "cli-highlight": "^2.1.11",
@@ -74,6 +74,7 @@
74
74
  "@modelcontextprotocol/sdk": "^1.29.0",
75
75
  "@scream-code/agent-core": "workspace:^",
76
76
  "@scream-code/config": "workspace:^",
77
+ "@scream-code/evals": "workspace:^",
77
78
  "@scream-code/knowledge": "workspace:*",
78
79
  "@scream-code/memory": "workspace:*",
79
80
  "@scream-code/scream-code-sdk": "workspace:^",