@alexpeng/dsh-custom-plugin 0.1.2 → 0.1.3

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/CHANGELOG.md ADDED
@@ -0,0 +1,97 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented here. The format loosely
4
+ follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions
5
+ follow [Semantic Versioning](https://semver.org/).
6
+
7
+ ## 0.1.3 — 2026-08-23
8
+
9
+ ### Fixed
10
+
11
+ - Concurrent state saves are serialized per state file: two racing saves could
12
+ collide on the shared `.tmp` file and fail the rename on Windows; a failed
13
+ debounced save now surfaces in the status-tool diagnostics instead of being
14
+ swallowed silently.
15
+
16
+ ### Added
17
+
18
+ - CI: bilingual README hash consistency check (`node scripts/check-readme-i18n.mjs`)
19
+ — editing one language without the other, or forgetting to re-record the
20
+ hashes in `README.i18n.yaml`, now fails the build instead of drifting silently.
21
+ - CI: Dependabot with monthly schedules (GitHub Actions and grouped npm
22
+ minor/patch bumps); workflow actions upgraded to current majors.
23
+ - `pnpm smoke` — post-build smoke script: headless Edge loads `lib/client.js`
24
+ against a stubbed module loader and asserts the registration handshake, plus
25
+ artifact contract checks (loader banner/footer, node-half ESM import,
26
+ patch row, local Mermaid engine).
27
+ - Tests: the balance key resolution chain (panel → environment → DSH
28
+ credentials, via a new credential-reader seam), state merge edge cases, and
29
+ concurrent-save serialization.
30
+ - Docs: the security section now states explicitly that the panel-pasted key
31
+ is stored in plaintext in the state file (same trust domain as DSH's own
32
+ credentials).
33
+ - This changelog (also shipped in the npm tarball).
34
+
35
+ ## 0.1.2 — 2026-08-23
36
+
37
+ ### Fixed
38
+
39
+ - **Mermaid diagrams in assistant replies now render in place.** The rendering
40
+ entry previously hooked only user messages, so assistant-generated diagrams —
41
+ mindmaps in particular — never got an entry point. A `MutationObserver` now
42
+ scans GUI code blocks and renders ```mermaid``` fences where they are
43
+ (`MermaidInPlace`), without moving any React-owned nodes.
44
+
45
+ ### Changed
46
+
47
+ - Mermaid engine is a local runtime dependency served by the host; the CDN
48
+ mirrors are a fallback only. The source (`local` / `cdn`) is visible in the
49
+ status tool diagnostics.
50
+
51
+ ### Added (repository-side)
52
+
53
+ - GitHub Actions CI (Node 22 + pnpm 11: typecheck / test / build), README
54
+ badges, and a bilingual screenshot gallery under `docs/`.
55
+
56
+ ## 0.1.1 — 2026-08-22
57
+
58
+ ### Security
59
+
60
+ - Mermaid rendering hardened: `securityLevel: strict` (was `loose`), and the
61
+ `/custom-plugin/mermaid.js` engine route is behind the same loopback trust
62
+ fence as every other route.
63
+
64
+ ### Fixed
65
+
66
+ - Peak/off-peak pricing and daily usage buckets are computed in Beijing time
67
+ (UTC+8) regardless of the host machine's timezone; tests are
68
+ timezone-independent.
69
+
70
+ ### Changed
71
+
72
+ - `@deepseek-ai/dsh-tools` moved to `peerDependencies` and externalized from
73
+ the bundle — `lib/index.js` shrinks from ~245 KB to ~45 KB and shares the
74
+ harness instance at runtime.
75
+ - Dead code removed: unused `afterSeq` incremental timeline protocol and cache,
76
+ unused type re-exports, dead client state fields, unconditional startup log.
77
+
78
+ ### Added
79
+
80
+ - Self-contained `prepare` script — GitHub source installs build themselves
81
+ (pnpm ≥ 10 users: allowlist the build script, see README).
82
+ - Package metadata: `repository`, `author`, `bugs`, `homepage`,
83
+ `engines` (Node ≥ 22); LICENSE copyright line filled in.
84
+
85
+ ## 0.1.0 — 2026-08-22
86
+
87
+ Initial release: a personalization suite for the DSH web GUI, mounted through
88
+ the official profile mechanism without touching DSH source.
89
+
90
+ - Appearance: background palettes, liquid glass, weather effects
91
+ (rain / sakura / snow).
92
+ - Per-user-message timeline rail with stars and branching.
93
+ - Multi-level project folders; prompt library.
94
+ - Conversation export (JSON / Markdown / PDF with images).
95
+ - Mermaid rendering; quote reply.
96
+ - DeepSeek balance and daily token usage (peak/off-peak aware).
97
+ - `custom_plugin_status` agent-facing diagnostic tool.
package/README.i18n.yaml CHANGED
@@ -3,5 +3,5 @@
3
3
  # after editing either side, bring the other along and re-record the hashes:
4
4
  # git hash-object --path README.md README.md
5
5
  # git hash-object --path README.zh.md README.zh.md
6
- README.md: 7fe262ab802df3a0fc0735b31df49152cde95ae6
7
- README.zh.md: eeb32e94b8ec23a6816a11ec391c34ba2af933cf
6
+ README.md: 1d7b7924ae361dcbd56c47d33f4747065532790b
7
+ README.zh.md: bd92979bde665e8371e76f4cf526ac6755d7ff42
package/README.md CHANGED
@@ -24,6 +24,10 @@ The plugin is dual-face: the host half (`src/`) owns the state document, registe
24
24
  <td width="50%" valign="top"><b>Timeline rail with hover preview</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/timeline.png" alt="Timeline rail" width="100%"></td>
25
25
  </tr>
26
26
  <tr>
27
+ <td width="50%" valign="top"><b>Multi-level project folders</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/project-folders.png" alt="Project folders" width="100%"></td>
28
+ <td width="50%" valign="top"><b>Mermaid mindmap rendered in place</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/mermaid-mindmap.png" alt="Mermaid mindmap" width="100%"></td>
29
+ </tr>
30
+ <tr>
27
31
  <td width="50%" valign="top" align="center"><b>Balance and today's per-model usage</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/balance-usage.png" alt="Balance and usage panel" width="100%"></td>
28
32
  <td width="50%" valign="top" align="center"><b>Rain — three depth layers</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/weather-rain.gif" alt="Rain FX" width="100%"></td>
29
33
  </tr>
@@ -162,6 +166,7 @@ Appearance and feature toggles (the `cfg` field, all with defaults):
162
166
 
163
167
  - The browser talks to the host only through loopback `/api/custom-plugin` routes; every route checks a loopback socket address, a loopback Host header, and browser same-origin markers (`sec-fetch-site` / `Origin`). `X-Forwarded-For` is never trusted.
164
168
  - The DeepSeek API key stays in the local state file (or reuses DSH's own credentials) and is only used to call the official DeepSeek balance endpoint.
169
+ - The panel-pasted key is stored in **plaintext** in `$DSH_HOME/custom-plugin-state.json` — the same trust domain as DSH's own `$DSH_HOME/.credentials.yaml` (also plaintext); protect `$DSH_HOME` accordingly.
165
170
  - Conversation exports and timeline data stay on the local host.
166
171
 
167
172
  ## Known limitations
package/README.zh.md CHANGED
@@ -24,6 +24,10 @@ DeepSeek Harness(DSH)Web GUI 的 Custom 便利套件:个性化外观、天
24
24
  <td width="50%" valign="top"><b>时间线轨道与悬停预览</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/timeline.png" alt="时间线轨道" width="100%"></td>
25
25
  </tr>
26
26
  <tr>
27
+ <td width="50%" valign="top"><b>多级项目文件夹</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/project-folders.png" alt="项目文件夹" width="100%"></td>
28
+ <td width="50%" valign="top"><b>Mermaid 思维导图就地渲染</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/mermaid-mindmap.png" alt="Mermaid 思维导图" width="100%"></td>
29
+ </tr>
30
+ <tr>
27
31
  <td width="50%" valign="top" align="center"><b>余额与今日分模型用量</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/balance-usage.png" alt="余额与用量面板" width="100%"></td>
28
32
  <td width="50%" valign="top" align="center"><b>雨(三层景深)</b><br><img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/weather-rain.gif" alt="下雨特效" width="100%"></td>
29
33
  </tr>
@@ -162,6 +166,7 @@ dsh plugin --profile web add link:F:/dsh-plugin-dev
162
166
 
163
167
  - 浏览器仅通过回环地址上的 `/api/custom-plugin` 路由与宿主通信;每条路由同时校验回环 socket 地址、回环 Host 头与浏览器同源标记(`sec-fetch-site` / `Origin`),`X-Forwarded-For` 永不信任。
164
168
  - DeepSeek API Key 只保存在本机状态文件(或沿用 DSH 自身凭据),仅用于调用 DeepSeek 官方余额接口。
169
+ - 面板粘贴的 Key 以**明文**保存在 `$DSH_HOME/custom-plugin-state.json`——与 DSH 自身的 `$DSH_HOME/.credentials.yaml`(同为明文)处于同一信任域,请相应保护 `$DSH_HOME` 目录。
165
170
  - 会话导出与时间线数据全部停留在本机。
166
171
 
167
172
  ## 已知限制
package/lib/index.js CHANGED
@@ -112,7 +112,9 @@ const DEFAULT_CONFIG = {
112
112
  * One JSON document at `$DSH_HOME/custom-plugin-state.json` holds the
113
113
  * appearance configuration, folder tree, prompt library, starred timeline
114
114
  * nodes, the balance API key, and the per-day token usage ledger. Writes are
115
- * atomic (temp file + rename) so a crash never truncates the document.
115
+ * atomic (temp file + rename) and serialized (one in-flight write per path),
116
+ * so a crash never truncates the document and concurrent saves never race
117
+ * on the temp file.
116
118
  * @module @alexpeng/dsh-custom-plugin/state
117
119
  */
118
120
  /** State file name of this plugin. */
@@ -169,13 +171,26 @@ async function loadStateFile(state, home = dshHome()) {
169
171
  if (raw !== null) mergeState(state, raw);
170
172
  return statePath;
171
173
  }
172
- /** Atomically persist the state document. */
173
- async function saveStateFile(state, home = dshHome()) {
174
+ /** In-flight save per state path: concurrent saves queue instead of racing
175
+ * on the shared .tmp file. Two writers renaming one temp file is the Windows
176
+ * EPERM/EBUSY source; queuing also coalesces naturally, because each turn
177
+ * serializes the live document when it runs, not when it was requested. */
178
+ const saveQueues = /* @__PURE__ */ new Map();
179
+ /** Atomically persist the state document. Saves to the same path are
180
+ * serialized: a caller awaits its own turn's completion, a failed turn never
181
+ * poisons the queue behind it. */
182
+ function saveStateFile(state, home = dshHome()) {
174
183
  const statePath = join(home, STATE_FILE);
175
- await mkdir(dirname(statePath), { recursive: true });
176
- const tmpPath = statePath + ".tmp";
177
- await writeFile(tmpPath, JSON.stringify(state), "utf8");
178
- await rename(tmpPath, statePath);
184
+ const turn = (saveQueues.get(statePath) ?? Promise.resolve()).catch(() => {}).then(async () => {
185
+ await mkdir(dirname(statePath), { recursive: true });
186
+ const tmpPath = statePath + ".tmp";
187
+ await writeFile(tmpPath, JSON.stringify(state), "utf8");
188
+ await rename(tmpPath, statePath);
189
+ });
190
+ saveQueues.set(statePath, turn);
191
+ return turn.finally(() => {
192
+ if (saveQueues.get(statePath) === turn) saveQueues.delete(statePath);
193
+ });
179
194
  }
180
195
  //#endregion
181
196
  //#region src/extract.ts
@@ -545,6 +560,7 @@ var CustomPluginHost = class {
545
560
  mermaidJs = "";
546
561
  mermaidSource = "";
547
562
  localMermaidPath;
563
+ readCredential;
548
564
  constructor(options) {
549
565
  this.sessionQuery = options.sessionQuery;
550
566
  this.state = options.state;
@@ -553,6 +569,7 @@ var CustomPluginHost = class {
553
569
  this.diagReports = options.diagReports;
554
570
  this.attachments = options.attachments;
555
571
  this.localMermaidPath = options.localMermaidPath ?? defaultLocalMermaidPath;
572
+ this.readCredential = options.readCredential ?? readDeepSeekCredential;
556
573
  }
557
574
  /** Persist the state document (debounced by the loader entry). */
558
575
  async persist() {
@@ -728,11 +745,17 @@ var CustomPluginHost = class {
728
745
  if (key !== "") return key;
729
746
  try {
730
747
  const env = globalThis.process?.env;
731
- const candidate = env?.DEEPSEEK_API_KEY ?? env?.DEEPSEEK_KEY ?? env?.DEEPSEEK_TOKEN;
732
- if (typeof candidate === "string" && /^sk-/.test(candidate)) return candidate;
748
+ for (const name of [
749
+ "DEEPSEEK_API_KEY",
750
+ "DEEPSEEK_KEY",
751
+ "DEEPSEEK_TOKEN"
752
+ ]) {
753
+ const value = env?.[name];
754
+ if (typeof value === "string" && /^sk-/.test(value.trim())) return value.trim();
755
+ }
733
756
  } catch {}
734
757
  try {
735
- const candidate = await readDeepSeekCredential();
758
+ const candidate = await this.readCredential();
736
759
  if (/^sk-/.test(candidate)) return candidate;
737
760
  } catch {}
738
761
  return "";
@@ -1256,7 +1279,9 @@ function applyImpl(ctx) {
1256
1279
  if (timer !== void 0) clearTimeout(timer);
1257
1280
  timer = setTimeout(() => {
1258
1281
  timer = void 0;
1259
- saveStateFile(state).catch(() => {});
1282
+ saveStateFile(state).catch((error) => {
1283
+ reportDiag(`state save failed: ${String(error?.message ?? error)}`);
1284
+ });
1260
1285
  }, 500);
1261
1286
  };
1262
1287
  })();
@@ -25,6 +25,8 @@ export interface CustomPluginHostOptions {
25
25
  attachments?: AttachmentStore | undefined;
26
26
  /** Test seam: return the local mermaid engine file path (or null). */
27
27
  localMermaidPath?: () => string | null;
28
+ /** Test seam: read the DeepSeek credential from DSH's credentials file. */
29
+ readCredential?: () => Promise<string>;
28
30
  }
29
31
  /** Host capabilities behind the routes and the agent tool. */
30
32
  export declare class CustomPluginHost {
@@ -39,6 +41,7 @@ export declare class CustomPluginHost {
39
41
  private mermaidJs;
40
42
  private mermaidSource;
41
43
  private localMermaidPath;
44
+ private readCredential;
42
45
  constructor(options: CustomPluginHostOptions);
43
46
  /** Persist the state document (debounced by the loader entry). */
44
47
  persist(): Promise<void>;
@@ -4,7 +4,9 @@
4
4
  * One JSON document at `$DSH_HOME/custom-plugin-state.json` holds the
5
5
  * appearance configuration, folder tree, prompt library, starred timeline
6
6
  * nodes, the balance API key, and the per-day token usage ledger. Writes are
7
- * atomic (temp file + rename) so a crash never truncates the document.
7
+ * atomic (temp file + rename) and serialized (one in-flight write per path),
8
+ * so a crash never truncates the document and concurrent saves never race
9
+ * on the temp file.
8
10
  * @module @alexpeng/dsh-custom-plugin/state
9
11
  */
10
12
  import { type CustomPluginConfig, type CustomPluginState } from './protocol.ts';
@@ -18,5 +20,7 @@ export declare function normalizeCfg(raw: unknown): CustomPluginConfig;
18
20
  export declare function mergeState(target: CustomPluginState, raw: unknown): void;
19
21
  /** Load and merge the persisted document into `state`. */
20
22
  export declare function loadStateFile(state: CustomPluginState, home?: string): Promise<string>;
21
- /** Atomically persist the state document. */
23
+ /** Atomically persist the state document. Saves to the same path are
24
+ * serialized: a caller awaits its own turn's completion, a failed turn never
25
+ * poisons the queue behind it. */
22
26
  export declare function saveStateFile(state: CustomPluginState, home?: string): Promise<void>;
package/package.json CHANGED
@@ -1,88 +1,92 @@
1
- {
2
- "name": "@alexpeng/dsh-custom-plugin",
3
- "description": "Custom convenience suite for the dsh web GUI: background colors with weather FX, liquid glass, a per-user-message timeline rail with stars and branching, multi-level project folders, prompt library, conversation export (JSON / Markdown / PDF-with-images), Mermaid rendering, quote reply, DeepSeek balance and daily token usage; dual-face plugin mounted without dsh source changes.",
4
- "version": "0.1.2",
5
- "type": "module",
6
- "main": "lib/index.js",
7
- "types": "lib/types/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./lib/types/index.d.ts",
11
- "default": "./lib/index.js"
12
- },
13
- "./client": {
14
- "types": "./lib/types/client/index.d.ts",
15
- "default": "./lib/client.js"
16
- },
17
- "./package.json": "./package.json"
18
- },
19
- "dsh": {
20
- "bundle": {
21
- "patch": "./cordis.patch.yml"
22
- },
23
- "client": {
24
- "inject": [
25
- "@deepseek-ai/dsh-client-runtime"
26
- ],
27
- "platform": "web"
28
- }
29
- },
30
- "publishConfig": {
31
- "access": "public"
32
- },
33
- "repository": {
34
- "type": "git",
35
- "url": "git+https://github.com/AlexPeng07/dsh-custom-plugin.git"
36
- },
37
- "author": "AlexPeng <alexpeng07@outlook.com>",
38
- "bugs": "https://github.com/AlexPeng07/dsh-custom-plugin/issues",
39
- "homepage": "https://github.com/AlexPeng07/dsh-custom-plugin#readme",
40
- "engines": {
41
- "node": ">=22"
42
- },
43
- "scripts": {
44
- "build": "tsc -p tsconfig.build.json && tsdown",
45
- "bundle": "tsdown",
46
- "watch": "tsdown --watch",
47
- "typecheck": "tsc --noEmit",
48
- "test": "vitest run",
49
- "test:watch": "vitest",
50
- "prepare": "pnpm build",
51
- "prepublishOnly": "pnpm typecheck && pnpm test"
52
- },
53
- "peerDependencies": {
54
- "@deepseek-ai/cordis": "^4.0.1",
55
- "@deepseek-ai/dsh-tools": "^0.1.1-rc.1"
56
- },
57
- "dependencies": {
58
- "mermaid": "^11.6.0"
59
- },
60
- "devDependencies": {
61
- "@deepseek-ai/cordis": "^4.0.1",
62
- "@deepseek-ai/dsh-attachment": "^0.1.1-rc.1",
63
- "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.1",
64
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.1",
65
- "@deepseek-ai/dsh-client-ui-theme": "^0.1.1-rc.1",
66
- "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.1",
67
- "@deepseek-ai/dsh-llm": "^0.1.1-rc.1",
68
- "@deepseek-ai/dsh-session": "^0.1.1-rc.1",
69
- "@deepseek-ai/dsh-session-query": "^0.1.1-rc.1",
70
- "@deepseek-ai/dsh-tools": "^0.1.1-rc.1",
71
- "@types/node": "^22.20.0",
72
- "@types/react": "~18.3.1",
73
- "@types/react-dom": "^18.3.5",
74
- "react": "^18.3.1",
75
- "react-dom": "^18.3.1",
76
- "tsdown": "0.22.2",
77
- "typescript": "~5.7.2",
78
- "vitest": "^3.0.0"
79
- },
80
- "files": [
81
- "lib",
82
- "cordis.patch.yml",
83
- "README.md",
84
- "README.zh.md",
85
- "README.i18n.yaml"
86
- ],
87
- "license": "Apache-2.0"
88
- }
1
+ {
2
+ "name": "@alexpeng/dsh-custom-plugin",
3
+ "description": "Custom convenience suite for the dsh web GUI: background colors with weather FX, liquid glass, a per-user-message timeline rail with stars and branching, multi-level project folders, prompt library, conversation export (JSON / Markdown / PDF-with-images), Mermaid rendering, quote reply, DeepSeek balance and daily token usage; dual-face plugin mounted without dsh source changes.",
4
+ "version": "0.1.3",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "types": "lib/types/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./lib/types/index.d.ts",
11
+ "default": "./lib/index.js"
12
+ },
13
+ "./client": {
14
+ "types": "./lib/types/client/index.d.ts",
15
+ "default": "./lib/client.js"
16
+ },
17
+ "./package.json": "./package.json"
18
+ },
19
+ "dsh": {
20
+ "bundle": {
21
+ "patch": "./cordis.patch.yml"
22
+ },
23
+ "client": {
24
+ "inject": [
25
+ "@deepseek-ai/dsh-client-runtime"
26
+ ],
27
+ "platform": "web"
28
+ }
29
+ },
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/AlexPeng07/dsh-custom-plugin.git"
36
+ },
37
+ "author": "AlexPeng <alexpeng07@outlook.com>",
38
+ "bugs": "https://github.com/AlexPeng07/dsh-custom-plugin/issues",
39
+ "homepage": "https://github.com/AlexPeng07/dsh-custom-plugin#readme",
40
+ "engines": {
41
+ "node": ">=22"
42
+ },
43
+ "scripts": {
44
+ "build": "tsc -p tsconfig.build.json && tsdown",
45
+ "bundle": "tsdown",
46
+ "watch": "tsdown --watch",
47
+ "typecheck": "tsc --noEmit",
48
+ "test": "vitest run",
49
+ "test:watch": "vitest",
50
+ "check:readme": "node scripts/check-readme-i18n.mjs",
51
+ "smoke": "node scripts/smoke.mjs",
52
+ "prepare": "pnpm build",
53
+ "prepublishOnly": "pnpm typecheck && pnpm test"
54
+ },
55
+ "peerDependencies": {
56
+ "@deepseek-ai/cordis": "^4.0.1",
57
+ "@deepseek-ai/dsh-tools": "^0.1.1-rc.1"
58
+ },
59
+ "dependencies": {
60
+ "mermaid": "^11.6.0"
61
+ },
62
+ "devDependencies": {
63
+ "@deepseek-ai/cordis": "^4.0.1",
64
+ "@deepseek-ai/dsh-attachment": "^0.1.1-rc.1",
65
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.1",
66
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.1",
67
+ "@deepseek-ai/dsh-client-ui-theme": "^0.1.1-rc.1",
68
+ "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.1",
69
+ "@deepseek-ai/dsh-llm": "^0.1.1-rc.1",
70
+ "@deepseek-ai/dsh-session": "^0.1.1-rc.1",
71
+ "@deepseek-ai/dsh-session-query": "^0.1.1-rc.1",
72
+ "@deepseek-ai/dsh-tools": "^0.1.1-rc.1",
73
+ "@types/node": "^22.20.0",
74
+ "@types/react": "~18.3.1",
75
+ "@types/react-dom": "^18.3.5",
76
+ "puppeteer-core": "^25.8.0",
77
+ "react": "^18.3.1",
78
+ "react-dom": "^18.3.1",
79
+ "tsdown": "0.22.2",
80
+ "typescript": "~5.7.2",
81
+ "vitest": "^3.0.0"
82
+ },
83
+ "files": [
84
+ "lib",
85
+ "cordis.patch.yml",
86
+ "CHANGELOG.md",
87
+ "README.md",
88
+ "README.zh.md",
89
+ "README.i18n.yaml"
90
+ ],
91
+ "license": "Apache-2.0"
92
+ }