scream-code 0.10.8 → 0.10.10

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-D_usIcl7.mjs")).main();
9
+ (await import("./app-CYIAXn8W.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-CiWeHRNJ.mjs";
6
+ import { t as TextInputDialogComponent } from "./text-input-dialog-DRUaPOEQ.mjs";
7
7
  export { TextInputDialogComponent };
@@ -903,7 +903,8 @@ const dictionaries = {
903
903
  "cronmsg.missed": "{count} 次错过",
904
904
  "cronmsg.final_delivery": "最终投递",
905
905
  "thinking.in_progress": "思考中...",
906
- "shell.more_lines": "...(还有 {count} 行,按 ctrl+o 展开)",
906
+ "shell.more_lines": " 还有 {count} 行,按 ctrl+o 展开",
907
+ "shell.collapse_hint": "▾ 按 ctrl+o 折叠",
907
908
  "ccconnect.note_botfather": "需先在 @BotFather 创建 bot",
908
909
  "ccconnect.note_napcat": "需要 NapCat/OneBot",
909
910
  "ccconnect.note_wecom": "需要公网 IP",
@@ -1932,7 +1933,8 @@ const dictionaries = {
1932
1933
  "cronmsg.missed": "{count} missed",
1933
1934
  "cronmsg.final_delivery": "Final delivery",
1934
1935
  "thinking.in_progress": "Thinking...",
1935
- "shell.more_lines": "...({count} more lines, press ctrl+o to expand)",
1936
+ "shell.more_lines": "{count} lines hidden, press ctrl+o to expand",
1937
+ "shell.collapse_hint": "▾ Press ctrl+o to collapse",
1936
1938
  "ccconnect.note_botfather": "Create a bot at @BotFather first",
1937
1939
  "ccconnect.note_napcat": "Requires NapCat/OneBot",
1938
1940
  "ccconnect.note_wecom": "Requires public IP",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.10.8",
3
+ "version": "0.10.10",
4
4
  "description": "A terminal-native AI agent for builders",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",
@@ -42,10 +42,13 @@
42
42
  "access": "public"
43
43
  },
44
44
  "scripts": {
45
- "build": "tsdown",
45
+ "build": "tsdown && pnpm exec vite build src/web/frontend",
46
+ "postbuild": "node scripts/copy-web-assets.mjs",
46
47
  "dev": "node scripts/dev.mjs",
47
48
  "dev:cli-only": "tsx --import ../../build/register-raw-text-loader.mjs ./src/main.ts",
48
49
  "dev:prod": "node dist/main.mjs",
50
+ "web:build": "pnpm exec vite build src/web/frontend",
51
+ "web:dev": "pnpm exec vite dev src/web/frontend",
49
52
  "clean": "rm -rf dist",
50
53
  "typecheck": "tsc -p tsconfig.json --noEmit",
51
54
  "test": "pnpm -w run build:packages && vitest run",
@@ -57,16 +60,19 @@
57
60
  "smoke": "node dist/main.mjs --version"
58
61
  },
59
62
  "dependencies": {
60
- "@liutod-scream/pi-tui": "^0.80.23",
63
+ "@liutod-scream/pi-tui": "^0.80.31",
61
64
  "@mariozechner/clipboard": "^0.3.2",
62
65
  "chalk": "^5.4.1",
63
66
  "cli-highlight": "^2.1.11",
64
67
  "commander": "^13.1.0",
65
68
  "diff": "^9.0.0",
66
69
  "fastembed": "^2.1.0",
70
+ "marked": "^15.0.7",
67
71
  "mupdf": "^1.28.0",
68
72
  "semver": "^7.7.4",
73
+ "shiki": "^3.2.1",
69
74
  "smol-toml": "^1.6.1",
75
+ "ws": "^8.21.1",
70
76
  "zod": "^4.3.6"
71
77
  },
72
78
  "devDependencies": {
@@ -77,7 +83,11 @@
77
83
  "@scream-code/memory": "workspace:*",
78
84
  "@scream-code/scream-code-sdk": "workspace:^",
79
85
  "@types/semver": "^7.7.0",
80
- "tsx": "^4.21.0"
86
+ "@types/ws": "^8.18.1",
87
+ "@vitejs/plugin-vue": "^5.2.4",
88
+ "tsx": "^4.21.0",
89
+ "vite": "^6.3.5",
90
+ "vue": "^3.5.13"
81
91
  },
82
92
  "engines": {
83
93
  "node": ">=22.19.0"