scream-code 0.3.8 → 0.3.9

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.
@@ -3,8 +3,8 @@ 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 { Ot as __esmMin } from "./stdio-C2-psya7.mjs";
7
- import { a as File, i as init_esm_min, n as FormData, t as init_from } from "./from-BrTq-Se7.mjs";
6
+ import { n as __esmMin } from "./main.mjs";
7
+ import { a as File, i as init_esm_min, n as FormData, t as init_from } from "./from-BNHTbliy.mjs";
8
8
  //#region ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/utils/multipart-parser.js
9
9
  function _fileName(headerValue) {
10
10
  const m = headerValue.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);
@@ -3,8 +3,8 @@ 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 { Ot as __esmMin } from "./stdio-C2-psya7.mjs";
7
- import { c as init_fetch_blob, i as init_esm_min, n as FormData, r as formDataToBlob, s as Blob, t as init_from } from "./from-BrTq-Se7.mjs";
6
+ import { n as __esmMin } from "./main.mjs";
7
+ import { c as init_fetch_blob, i as init_esm_min, n as FormData, r as formDataToBlob, s as Blob, t as init_from } from "./from-BNHTbliy.mjs";
8
8
  import Ds, { PassThrough, pipeline } from "node:stream";
9
9
  import http from "node:http";
10
10
  import { format } from "node:url";
@@ -214,7 +214,7 @@ var init_body = __esmMin((() => {
214
214
  for (const [name, value] of parameters) formData.append(name, value);
215
215
  return formData;
216
216
  }
217
- const { toFormData } = await import("./multipart-parser-D-7Huqdj.mjs");
217
+ const { toFormData } = await import("./multipart-parser-D-SpbT4q.mjs");
218
218
  return toFormData(this.body, ct);
219
219
  }
220
220
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "The Starting Point for Next-Gen Agents",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",
@@ -23,8 +23,7 @@
23
23
  "tui"
24
24
  ],
25
25
  "bin": {
26
- "scream": "dist/main.mjs",
27
- "scream-desktop-mcp": "dist/mcp-servers/desktop-server.mjs"
26
+ "scream": "dist/main.mjs"
28
27
  },
29
28
  "files": [
30
29
  "dist",
@@ -43,6 +42,20 @@
43
42
  "access": "public",
44
43
  "provenance": true
45
44
  },
45
+ "scripts": {
46
+ "build": "tsdown",
47
+ "dev": "node scripts/dev.mjs",
48
+ "dev:cli-only": "tsx --import ../../build/register-raw-text-loader.mjs ./src/main.ts",
49
+ "dev:prod": "node dist/main.mjs",
50
+ "clean": "rm -rf dist",
51
+ "typecheck": "tsc -p tsconfig.json --noEmit",
52
+ "test": "pnpm -w run build:packages && vitest run",
53
+ "e2e": "pnpm -w run build:packages && SCREAM_E2E=1 vitest run test/e2e",
54
+ "e2e:real": "pnpm -w run build:packages && SCREAM_E2E_REAL=1 vitest run test/e2e/real-llm-smoke.e2e.test.ts",
55
+ "preinstall": "node -e \"console.log('\\n📦 正在安装 scream-code,请稍候...\\n')\"",
56
+ "postinstall": "node scripts/postinstall.mjs",
57
+ "smoke": "node dist/main.mjs --version"
58
+ },
46
59
  "dependencies": {
47
60
  "@earendil-works/pi-tui": "^0.78.1",
48
61
  "@mariozechner/clipboard": "^0.3.2",
@@ -55,30 +68,16 @@
55
68
  },
56
69
  "devDependencies": {
57
70
  "@modelcontextprotocol/sdk": "^1.29.0",
71
+ "@scream-cli/agent-core": "workspace:^",
72
+ "@scream-cli/config": "workspace:^",
73
+ "@scream-cli/migration-legacy": "workspace:^",
74
+ "@scream-cli/scream-code-sdk": "workspace:^",
75
+ "@scream-cli/scream-telemetry": "workspace:^",
76
+ "@scream-code/memory": "workspace:*",
58
77
  "@types/semver": "^7.7.0",
59
- "tsx": "^4.21.0",
60
- "@scream-cli/agent-core": "^0.5.0",
61
- "@scream-cli/config": "^0.1.0",
62
- "@scream-cli/migration-legacy": "^0.1.5",
63
- "@scream-cli/scream-telemetry": "^0.1.1",
64
- "@scream-cli/scream-code-sdk": "^0.4.0",
65
- "@scream-code/memory": "0.1.0"
78
+ "tsx": "^4.21.0"
66
79
  },
67
80
  "engines": {
68
81
  "node": ">=22.19.0"
69
- },
70
- "scripts": {
71
- "build": "tsdown",
72
- "dev": "node scripts/dev.mjs",
73
- "dev:cli-only": "tsx --import ../../build/register-raw-text-loader.mjs ./src/main.ts",
74
- "dev:prod": "node dist/main.mjs",
75
- "clean": "rm -rf dist",
76
- "typecheck": "tsc -p tsconfig.json --noEmit",
77
- "test": "pnpm -w run build:packages && vitest run",
78
- "e2e": "pnpm -w run build:packages && SCREAM_E2E=1 vitest run test/e2e",
79
- "e2e:real": "pnpm -w run build:packages && SCREAM_E2E_REAL=1 vitest run test/e2e/real-llm-smoke.e2e.test.ts",
80
- "preinstall": "node -e \"console.log('\\n📦 正在安装 scream-code,请稍候...\\n')\"",
81
- "postinstall": "node scripts/postinstall.mjs",
82
- "smoke": "node dist/main.mjs --version"
83
82
  }
84
- }
83
+ }
@@ -1,2 +0,0 @@
1
-
2
- export { };