From 0cafa3646da3b1eac6d64cc7530562ef4cdd7aa2 Mon Sep 17 00:00:00 2001 From: Ultroncn <82553854+Ultroncn@users.noreply.github.com> Date: Fri, 27 Nov 2026 17:57:21 +0800 Subject: [PATCH] fix(compat): prepare 2.0.8 for current DSH hosts --- .github/workflows/ci.yml | 51 +- CHANGELOG.md | 16 + CONTRIBUTING.md | 15 +- README.en.md | 22 +- README.md | 22 +- docs/ARCHITECTURE.en.md | 19 +- docs/ARCHITECTURE.md | 19 +- docs/USER_GUIDE.md | 8 +- docs/USER_GUIDE.zh-CN.md | 8 +- lib/persistence-compat.js | 5 +- package-lock.json | 88 +- package.json | 12 +- scripts/check-client-host.mjs | 28 + test/client-host-compat.test.mjs | 170 ++ .../client-host-0.2.2-rc.5/package-lock.json | 1758 +++++++++++++++++ .../client-host-0.2.2-rc.5/package.json | 42 + .../package-lock.json | 1758 +++++++++++++++++ .../client-host-0.2.3-alpha.2/package.json | 42 + .../native-host-0.2.2-rc.2/package-lock.json | 914 +++++++++ .../native-host-0.2.2-rc.2/package.json | 21 + .../native-host-0.2.2-rc.5/package-lock.json | 914 +++++++++ .../native-host-0.2.2-rc.5/package.json | 21 + .../package-lock.json | 943 +++++++++ .../native-host-0.2.3-alpha.2/package.json | 25 + test/package.test.mjs | 10 +- test/persistence-compat.test.mjs | 17 + test/sqlite-host.test.mjs | 200 ++ 27 files changed, 7076 insertions(+), 72 deletions(-) create mode 100644 scripts/check-client-host.mjs create mode 100644 test/client-host-compat.test.mjs create mode 100644 test/fixtures/client-host-0.2.2-rc.5/package-lock.json create mode 100644 test/fixtures/client-host-0.2.2-rc.5/package.json create mode 100644 test/fixtures/client-host-0.2.3-alpha.2/package-lock.json create mode 100644 test/fixtures/client-host-0.2.3-alpha.2/package.json create mode 100644 test/fixtures/native-host-0.2.2-rc.2/package-lock.json create mode 100644 test/fixtures/native-host-0.2.2-rc.2/package.json create mode 100644 test/fixtures/native-host-0.2.2-rc.5/package-lock.json create mode 100644 test/fixtures/native-host-0.2.2-rc.5/package.json create mode 100644 test/fixtures/native-host-0.2.3-alpha.2/package-lock.json create mode 100644 test/fixtures/native-host-0.2.3-alpha.2/package.json create mode 100644 test/sqlite-host.test.mjs diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e33f12c..5457453 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,6 +82,33 @@ jobs: - os: windows-latest label: windows / DSH 0.2.2-rc.3 fixture: native-host-0.2.2-rc.3 + - os: ubuntu-latest + label: ubuntu / DSH 0.2.2-rc.2 + fixture: native-host-0.2.2-rc.2 + - os: macos-latest + label: macos / DSH 0.2.2-rc.2 + fixture: native-host-0.2.2-rc.2 + - os: windows-latest + label: windows / DSH 0.2.2-rc.2 + fixture: native-host-0.2.2-rc.2 + - os: ubuntu-latest + label: ubuntu / DSH 0.2.2-rc.5 + fixture: native-host-0.2.2-rc.5 + - os: macos-latest + label: macos / DSH 0.2.2-rc.5 + fixture: native-host-0.2.2-rc.5 + - os: windows-latest + label: windows / DSH 0.2.2-rc.5 + fixture: native-host-0.2.2-rc.5 + - os: ubuntu-latest + label: ubuntu / DSH 0.2.3-alpha.2 + fixture: native-host-0.2.3-alpha.2 + - os: macos-latest + label: macos / DSH 0.2.3-alpha.2 + fixture: native-host-0.2.3-alpha.2 + - os: windows-latest + label: windows / DSH 0.2.3-alpha.2 + fixture: native-host-0.2.3-alpha.2 steps: - uses: actions/checkout@v6 @@ -90,7 +117,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: "24" + node-version: "24.22.3" package-manager-cache: false - run: npm ci @@ -104,4 +131,26 @@ jobs: run: npm install --prefix test/fixtures/${{ matrix.fixture }} --ignore-scripts --include=optional --package-lock=true - name: Run mandatory native Host integration run: node scripts/run-native-integration.mjs --fixture-root test/fixtures/${{ matrix.fixture }} + - name: Run mandatory SQLite compatibility and safety checks + if: matrix.fixture == 'native-host-0.2.3-alpha.2' + run: node scripts/run-native-integration.mjs --fixture-root test/fixtures/${{ matrix.fixture }} --test-file test/sqlite-host.test.mjs --expected-tests 4 - run: npm pack --dry-run --json + + client-host: + name: Client contract / DSH ${{ matrix.host }} / Node 24.22.3 + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + host: [0.2.2-rc.5, 0.2.3-alpha.2] + steps: + - uses: actions/checkout@v6 + with: + ref: ${{ github.sha }} + - uses: actions/setup-node@v6 + with: + node-version: "24.22.3" + package-manager-cache: false + - run: npm ci + - run: npm ci --prefix test/fixtures/client-host-${{ matrix.host }} --ignore-scripts --include=optional + - run: node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-${{ matrix.host }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c8e11b..8bf3a51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ Entries describe behavior at each release, not necessarily current behavior. Consult the READMEs and user guides for current usage. +## 2.0.8 — 2026-11-27 + +### 中文 + +- 修复 DSH `0.2.3-alpha.2` 的安装依赖冲突,明确接受该版本及其 Cordis `4.2.0-alpha.1`,保留旧宿主范围;开发依赖同步至 `0.2.2-rc.5`。 +- 补齐官方 `0.2.2-rc.2`、`0.2.2-rc.5` 和 `0.2.3-alpha.2` 固定版本后端测试,纳入三个平台的 CI;每个版本验证 9 项归档、备份恢复及删除保护行为。原生矩阵使用 Node.js `24.22.3`。 +- 为 `rc.5` 和 `alpha.2` 增加基于已发布客户端包的 4 项契约测试,覆盖模块加载、原生控件、设置注册和卸载,并纳入 CI。 +- 新增 4 项真实 SQLite 后端检查,覆盖读取、归档/取消归档、ZIP 导出和分支继承边界;无法提供写入前回滚位置的后端不再被判定为可恢复。SQLite 的 ZIP 恢复及永久删除会拒绝执行,保留原数据;默认 JSONL 后端继续支持这些操作。 + +### English + +- Fix dependency resolution on DSH `0.2.3-alpha.2` by explicitly accepting this Host and Cordis `4.2.0-alpha.1`, preserving older Host ranges. Align the development dependency with `0.2.2-rc.5`. +- Add pinned official `0.2.2-rc.2`, `0.2.2-rc.5` and `0.2.3-alpha.2` backend fixtures to CI on all three platforms. Each fixture checks nine archive, backup/restore and deletion-safety behaviors. Run the native matrix on Node.js `24.22.3`. +- Add four contract tests per published `rc.5` and `alpha.2` client package set for module loading, native controls, settings registration and disposal, enforced in CI. +- Add four real SQLite backend checks for reads, archive/unarchive, ZIP export and inherited fork boundaries. Backends without a pre-write rollback location no longer advertise a restorable writer. ZIP restore and permanent deletion are refused on SQLite, preserving existing data; the default JSONL backend continues to support them. + ## 2.0.7 — 2026-11-21 ### 中文 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8b2dffd..c81ac11 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,7 +51,7 @@ ## 本地开发 -要求 Node.js 18 或 24。克隆仓库后运行: +普通测试使用 Node.js 18 或 24;完整原生矩阵使用 Node.js 24.22.3,满足 `0.2.3-alpha.2` 的 `^24.22.3 || >=26.13.1` 要求。克隆仓库后运行: ```sh npm ci @@ -66,6 +66,17 @@ npm install --prefix test/fixtures/native-host-0.2.2-rc.1 --ignore-scripts --inc node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.1 npm ci --prefix test/fixtures/native-host-0.2.2-rc.3 --ignore-scripts --include=optional node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.3 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.2 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/native-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 --test-file test/sqlite-host.test.mjs --expected-tests 4 +npm ci --prefix test/fixtures/client-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/client-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.3-alpha.2 npm pack --dry-run --json ``` @@ -85,7 +96,7 @@ PR 应保持单一目的,并说明用户可见变化、兼容性影响、数 ## English summary -Use Discussions for questions, Issues for reproducible bugs, and private vulnerability reporting for security problems. Keep pull requests focused, add tests, update both language documents when user behavior changes, and run `npm test`, the mandatory native Host integration commands for all five pinned fixtures, and `npm pack --dry-run --json`. Never commit local plugin data, conversations, attachments, credentials, logs, or temporary files. +Use Discussions for questions, Issues for reproducible bugs, and private vulnerability reporting for security problems. Keep pull requests focused, add tests, update both language documents when user behavior changes, and run `npm test`, the mandatory native Host integration commands for all eight pinned fixtures, and `npm pack --dry-run --json`. Never commit local plugin data, conversations, attachments, credentials, logs, or temporary files. ### Branch, commit, and pull request naming diff --git a/README.en.md b/README.en.md index fbbfca7..9a5f41a 100644 --- a/README.en.md +++ b/README.en.md @@ -34,7 +34,7 @@ Archive Management adds conversation search, organization and backups to DeepSee - **Portable backups:** export and import JSON + Markdown ZIPs; imports preview before writing and skip existing IDs to avoid overwrites. - **Conversation lineage:** read-only Origins & Branches view traces sources, forks and subagent relationships across all workspaces, including archived and unarchived chats. -> This document describes version 2.0.7. Previous recovery features are removed, with explicit retries for permanent-deletion tasks. +> This document describes version 2.0.8. Previous recovery features are removed, with explicit retries for permanent-deletion tasks. ## Install and open @@ -93,7 +93,11 @@ Installing an older release can restore its earlier cleanup rules. Before downgr ## Compatibility -The declared range is DSH `>=0.1.0-rc.7`; features still depend on Host capabilities. Native integration tests cover official `0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1` and `0.2.2-rc.3` backends; CI runs the Host matrix on macOS, Windows and Linux. +The default JSONL backend covers archive/unarchive, ZIP export/restore, permanent deletion and failure rollback. `0.2.3-alpha.2` requires Node.js `^24.22.3 || >=26.13.1`. The optional SQLite backend is tested for inventory, preview, archive/unarchive and ZIP export. The Host has no rollback-safe import or per-session deletion API for this shared store, so the plugin refuses ZIP restore and permanent deletion while preserving existing data and backups. Native tests use real persistence components with simulated workspace/routes; they are not a full Web UI acceptance test. + +For 2.0.8, isolated synthetic chats also passed manual Web acceptance on macOS with official DSH `0.2.2-rc.5` and `0.2.3-alpha.2`: search and previews, workspace bulk archive, tags and notes across refresh, ZIP downloads, deletion followed by ZIP restore, unarchive and lineage graphs. The alpha.2 check also covered narrow-screen previews and export controls. This does not cover full Windows/Linux desktop interactions. + +The declared range is DSH `>=0.1.0-rc.7 || 0.2.3-alpha.2`; features still depend on Host capabilities. Native integration tests cover official `0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.5` and `0.2.3-alpha.2` backends; CI runs the Host matrix on macOS, Windows and Linux. Archive, unarchive and inventory use official capabilities. Permanent deletion coordinates Host session lifecycle and storage locations rather than calling one unified public deletion API. See [compatibility and limits](docs/USER_GUIDE.md#compatibility-and-limits). @@ -148,7 +152,10 @@ Use [Discussions](https://github.com/Ultroncn/dsh-archived-chats/discussions) fo [![CI](https://img.shields.io/github/actions/workflow/status/Ultroncn/dsh-archived-chats/ci.yml?branch=main&style=flat&label=CI)](https://github.com/Ultroncn/dsh-archived-chats/actions/workflows/ci.yml) [![Node.js 18 | 24](https://img.shields.io/badge/Node.js-18%20%7C%2024-339933?style=flat&logo=nodedotjs&logoColor=white)](https://github.com/Ultroncn/dsh-archived-chats/actions/workflows/ci.yml) +Use Node.js 24.22.3 for the complete native matrix, including the alpha Host. + ```sh +npm ci npm test npm ci --prefix test/fixtures/native-host --ignore-scripts --include=optional node scripts/run-native-integration.mjs @@ -160,6 +167,17 @@ npm install --prefix test/fixtures/native-host-0.2.2-rc.1 --ignore-scripts --inc node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.1 npm ci --prefix test/fixtures/native-host-0.2.2-rc.3 --ignore-scripts --include=optional node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.3 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.2 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/native-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 --test-file test/sqlite-host.test.mjs --expected-tests 4 +npm ci --prefix test/fixtures/client-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/client-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.3-alpha.2 npm pack --dry-run --json ``` diff --git a/README.md b/README.md index 3367101..1858a67 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ - **可迁移备份:** 导出和导入 JSON + Markdown ZIP;导入前预览,跳过已有 ID,不覆盖现有数据。 - **会话溯源:** 只读的「来源与分支」视图查看所有工作区中已归档、未归档会话的来源、分叉和子代理关系。 -> 本文描述 2.0.7,旧恢复功能已移除,永久删除支持任务重试。 +> 本文描述 2.0.8,旧恢复功能已移除,永久删除支持任务重试。 @@ -107,7 +107,11 @@ dsh plugin --profile web update dsh-archived-chats ## 兼容性 -声明范围为 DSH `>=0.1.0-rc.7`,具体能力仍取决于 Host。原生集成测试覆盖官方 `0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1` 与 `0.2.2-rc.3` 后端;CI 在 macOS、Windows 和 Linux 上运行 Host 测试矩阵。 +默认 JSONL 后端覆盖归档、取消归档、ZIP 导出与恢复,以及永久删除和失败回滚。`0.2.3-alpha.2` 需要 Node.js `^24.22.3 || >=26.13.1`。可选 SQLite 后端已验证列表、预览、归档/取消归档和 ZIP 导出;宿主尚未提供可安全回滚的导入或单会话删除接口,插件会拒绝 ZIP 恢复和永久删除,保留现有数据与备份。原生测试使用真实持久化组件和模拟的工作区/路由,不等同于完整 Web 界面验收。 + +2.0.8 另在 macOS 的官方 DSH `0.2.2-rc.5` 与 `0.2.3-alpha.2` Web 界面中,用隔离的虚构会话完成了检索与预览、工作区批量归档、标签备注刷新保留、ZIP 下载、删除后导入恢复、取消归档和谱系图验收。alpha.2 还检查了窄屏预览与导出入口。这些结果不涵盖 Windows/Linux 桌面端的完整交互。 + +声明范围为 DSH `>=0.1.0-rc.7 || 0.2.3-alpha.2`,具体能力仍取决于 Host。原生集成测试覆盖官方 `0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.5` 与 `0.2.3-alpha.2` 后端;CI 在 macOS、Windows 和 Linux 上运行 Host 测试矩阵。 归档、取消归档、列表读取以官方能力为基础。永久删除由插件协调会话生命周期和存储位置完成,并非调用一个官方统一删除接口。详见[兼容性与限制](docs/USER_GUIDE.zh-CN.md#兼容性与限制)。 @@ -168,7 +172,10 @@ dsh plugin --profile web update dsh-archived-chats [![CI](https://img.shields.io/github/actions/workflow/status/Ultroncn/dsh-archived-chats/ci.yml?branch=main&style=flat&label=CI)](https://github.com/Ultroncn/dsh-archived-chats/actions/workflows/ci.yml) [![Node.js 18 | 24](https://img.shields.io/badge/Node.js-18%20%7C%2024-339933?style=flat&logo=nodedotjs&logoColor=white)](https://github.com/Ultroncn/dsh-archived-chats/actions/workflows/ci.yml) +运行完整原生矩阵请使用 Node.js 24.22.3(满足 alpha 宿主要求)。 + ```sh +npm ci npm test npm ci --prefix test/fixtures/native-host --ignore-scripts --include=optional node scripts/run-native-integration.mjs @@ -180,6 +187,17 @@ npm install --prefix test/fixtures/native-host-0.2.2-rc.1 --ignore-scripts --inc node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.1 npm ci --prefix test/fixtures/native-host-0.2.2-rc.3 --ignore-scripts --include=optional node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.3 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.2 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/native-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 --test-file test/sqlite-host.test.mjs --expected-tests 4 +npm ci --prefix test/fixtures/client-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/client-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.3-alpha.2 npm pack --dry-run --json ``` diff --git a/docs/ARCHITECTURE.en.md b/docs/ARCHITECTURE.en.md index 22bb4ff..407fecb 100644 --- a/docs/ARCHITECTURE.en.md +++ b/docs/ARCHITECTURE.en.md @@ -2,7 +2,9 @@ English · [中文](ARCHITECTURE.md) · [User guide](USER_GUIDE.md) -This document describes the interfaces and behavior of version 2.0.7. Native integration tests cover DSH `0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1` and `0.2.2-rc.3`. See the [changelog](../CHANGELOG.md) for release history. Runtime code is the authority for interfaces and behavior; user-facing documentation should agree with it. +This document describes the interfaces and behavior of version 2.0.8. Native integration tests cover DSH `0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.5` and `0.2.3-alpha.2`. See the [changelog](../CHANGELOG.md) for release history. Runtime code is the authority for interfaces and behavior; user-facing documentation should agree with it. + +The default JSONL backend covers archive/unarchive, ZIP export/restore, permanent deletion and failure rollback. `0.2.3-alpha.2` requires Node.js `^24.22.3 || >=26.13.1`. The optional SQLite backend is tested for inventory, preview, archive/unarchive and ZIP export. The Host has no rollback-safe import or per-session deletion API for this shared store, so the plugin refuses ZIP restore and permanent deletion while preserving existing data and backups. Native tests use real persistence components with simulated workspace/routes. Published client packages for `rc.5` and `alpha.2` also have four mandatory contract checks each in Ubuntu CI, covering module loading, control rendering, settings registration and disposal. These checks omit CSS/layout and are not a full Web UI acceptance test. The client capability-detects public UI primitives. `HostModal` uses the official headless Modal for complex business content. Ordinary `ConfirmDialog` uses its heading, description and footer. `ControlButton` and `ControlInput` forward refs, disabled state and editing events. Older Hosts retain HTML fallbacks. Native controls use separate styling classes so legacy button CSS cannot override their sizing, colors or hover states. Menus retain filter placement and scrolling constraints; preview content stays within the outer modal bounds. Native modals own focus layering, with document-level legacy traps registered only in compatibility mode. Plugin-owned portals belong to the archive interaction so clicks inside a dialog cannot prematurely release settings protection. @@ -188,10 +190,21 @@ npm install --prefix test/fixtures/native-host-0.2.2-rc.1 --ignore-scripts --inc node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.1 npm ci --prefix test/fixtures/native-host-0.2.2-rc.3 --ignore-scripts --include=optional node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.3 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.2 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/native-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 --test-file test/sqlite-host.test.mjs --expected-tests 4 +npm ci --prefix test/fixtures/client-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/client-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.3-alpha.2 npm pack --dry-run --json git diff --check ``` -The native commands install the locked `@deepseek-ai/dsh-session@0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1` and `0.2.2-rc.3` fixtures and require all nine native integration cases to run without skips for each fixture. This is the local equivalent of the mandatory native Host integration gate in CI. +The native commands install the locked `@deepseek-ai/dsh-session@0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.5` and `0.2.3-alpha.2` fixtures and require all nine native integration cases to run without skips for each fixture. This is the local equivalent of the mandatory native Host integration gate in CI. -The declared DSH `>=0.1.0-rc.7` range remains capability-based. Release automation tests Node.js 18 on Ubuntu and Node.js 24 on Ubuntu, macOS, and Windows; the Node.js 24 matrix requires all five official Host backend fixtures, `@deepseek-ai/dsh-session@0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1` and `0.2.2-rc.3`, on all three platforms (9/9 each), along with package checks, including the v4 session format. The [screenshots](../screenshots.json) show the current interface with synthetic example chats. +The declared DSH `>=0.1.0-rc.7 || 0.2.3-alpha.2` range remains capability-based. Release automation tests Node.js 18 on Ubuntu and Node.js 24.22.3 on Ubuntu, macOS, and Windows; the Node.js 24.22.3 matrix requires all eight official Host backend fixtures, `@deepseek-ai/dsh-session@0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.5` and `0.2.3-alpha.2`, on all three platforms (9/9 each), along with package checks, including the v4 session format. The [screenshots](../screenshots.json) show the current interface with synthetic example chats. diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 8e4dfb5..3bad457 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -2,7 +2,9 @@ [English](ARCHITECTURE.en.md) · 中文 · [用户指南](USER_GUIDE.zh-CN.md) -本文描述 2.0.7 的接口与行为;原生集成测试覆盖 DSH `0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1` 和 `0.2.2-rc.3`。版本变更见[更新日志](../CHANGELOG.md)。运行时代码是接口与行为的依据;用户操作说明与本文应保持一致。 +本文描述 2.0.8 的接口与行为;原生集成测试覆盖 DSH `0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.5` 和 `0.2.3-alpha.2`。版本变更见[更新日志](../CHANGELOG.md)。运行时代码是接口与行为的依据;用户操作说明与本文应保持一致。 + +默认 JSONL 后端覆盖归档、取消归档、ZIP 导出与恢复,以及永久删除和失败回滚。`0.2.3-alpha.2` 需要 Node.js `^24.22.3 || >=26.13.1`。可选 SQLite 后端已验证列表、预览、归档/取消归档和 ZIP 导出;宿主尚未提供可安全回滚的导入或单会话删除接口,插件会拒绝 ZIP 恢复和永久删除,保留现有数据与备份。原生测试使用真实持久化组件和模拟的工作区/路由。`rc.5` 和 `alpha.2` 另用已发布的客户端组件执行模块加载、控件渲染、设置注册和卸载契约测试,每套 4 项,在 Ubuntu CI 强制执行;样式与布局不在这些测试范围内,不等同于完整 Web 界面验收。 客户端通过能力探测复用公开 UI primitives。`HostModal` 为复杂业务内容使用官方无头 Modal,普通 `ConfirmDialog` 直接使用 Modal 的标题、说明及 footer;`ControlButton` 与 `ControlInput` 透传 ref、禁用状态和编辑事件。旧 Host 保留 HTML 兼容入口。原生按钮使用独立样式类,避免旧按钮 CSS 覆盖官方尺寸、颜色和悬停。菜单保留筛选定位与滚动约束,预览内容限制在外层弹窗边界内。原生弹窗拥有焦点层,旧文档级焦点陷阱仅在兼容模式注册。带插件归属标记的 portal 计入归档交互范围,避免设置保护被弹窗内点击提前解除。 @@ -188,12 +190,23 @@ npm install --prefix test/fixtures/native-host-0.2.2-rc.1 --ignore-scripts --inc node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.1 npm ci --prefix test/fixtures/native-host-0.2.2-rc.3 --ignore-scripts --include=optional node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.3 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.2 +npm ci --prefix test/fixtures/native-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/native-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 +node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.3-alpha.2 --test-file test/sqlite-host.test.mjs --expected-tests 4 +npm ci --prefix test/fixtures/client-host-0.2.2-rc.5 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.2-rc.5 +npm ci --prefix test/fixtures/client-host-0.2.3-alpha.2 --ignore-scripts --include=optional +node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-0.2.3-alpha.2 npm pack --dry-run --json git diff --check ``` -原生集成命令会分别安装锁定的 `@deepseek-ai/dsh-session@0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1` 和 `0.2.2-rc.3` fixtures,每套都要求九个原生集成用例全部执行且不能跳过;这是 CI 强制原生 Host 集成门禁的本地等价检查。 +原生集成命令会分别安装锁定的 `@deepseek-ai/dsh-session@0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.5` 和 `0.2.3-alpha.2` fixtures,每套都要求九个原生集成用例全部执行且不能跳过;这是 CI 强制原生 Host 集成门禁的本地等价检查。 -声明的 DSH `>=0.1.0-rc.7` 范围仍以 Host 公开能力为准。发布自动化在 Ubuntu 上测试 Node.js 18,并在 Ubuntu、macOS 和 Windows 上测试 Node.js 24;Node.js 24 矩阵在三个平台上分别强制运行基于官方 `@deepseek-ai/dsh-session@0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1` 和 `0.2.2-rc.3` 的五套 Host 后端集成(每套 9/9)与打包检查,覆盖 v4 会话格式。[截图](../screenshots.json)使用虚构示例聊天展示当前界面。 +声明的 DSH `>=0.1.0-rc.7 || 0.2.3-alpha.2` 范围仍以 Host 公开能力为准。发布自动化在 Ubuntu 上测试 Node.js 18,并在 Ubuntu、macOS 和 Windows 上测试 Node.js 24.22.3;Node.js 24.22.3 矩阵在三个平台上分别强制运行基于官方 `@deepseek-ai/dsh-session@0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.5` 和 `0.2.3-alpha.2` 的八套 Host 后端集成(每套 9/9)与打包检查,覆盖 v4 会话格式。[截图](../screenshots.json)使用虚构示例聊天展示当前界面。 永久删除在最终读取子代理关系前先取消并释放活动代理。完整后代集合以可选 `cascadeSessionIds` 保存到父会话的 `purge-pending` 记录;父目录消失后也保留该记录,直到所有子代理清理完成。用户明确重试时据此恢复级联,不跨越分叉或已有独立删除任务的子树。待重试记录清空前不要降级到不支持此字段的版本。 diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.md index 0520cb6..21f95a4 100644 --- a/docs/USER_GUIDE.md +++ b/docs/USER_GUIDE.md @@ -4,7 +4,7 @@ Current source removes the previous recovery UI and keeps explicit permanent-del English · [简体中文](USER_GUIDE.zh-CN.md) · [Back to README](../README.en.md) -Archive Management provides a place to browse and manage DSH's archived chats, plus workspace bulk archiving. This document describes version 2.0.7, with native integration coverage for DSH `0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1` and `0.2.2-rc.3`. See the [changelog](../CHANGELOG.md) for release history. For interfaces and data formats, see the [architecture](ARCHITECTURE.en.md). +Archive Management provides a place to browse and manage DSH's archived chats, plus workspace bulk archiving. This document describes version 2.0.8, with native integration coverage for DSH `0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.5` and `0.2.3-alpha.2`. See the [changelog](../CHANGELOG.md) for release history. For interfaces and data formats, see the [architecture](ARCHITECTURE.en.md). The interface has four tabs, Archived, Unarchived, Origins & Branches, and About. @@ -52,6 +52,8 @@ See [search scope](#archive-and-find-chats) and [export and import](#export-and- Use DSH's normal session menu to archive one chat. The Host owns its success notice and Undo action; the plugin adds no second notice and does not replace the official archive method. The plugin groups archived chats by workspace. +Archiving all chats in a workspace leaves the workspace itself in place. The plugin does not move existing chats between workspaces or hide, archive and restore entire workspaces; workspace grouping is for browsing only. + The **All workspaces** menu in both lists shows folder icons and includes **Ungrouped** and **Automation tasks**. Ungrouped follows official workspace membership, rather than titles or stale directories. Automation tasks matches session bindings returned by the official `schedule.catalog()`, including retained active and ended tasks. Deleted tasks stop matching; this is not a permanent historical session type. If the Host has no schedule service or its catalog cannot be read, the option is disabled with an explanation while ordinary chats remain available. Archived and Unarchived use a two-row toolbar: full-width search above the filters. Origins & Branches puts full-width search above a shared row for workspace and status filtering, chat count and expand/collapse all, wrapping as needed on narrow screens. @@ -201,11 +203,13 @@ Upgrades preserve archives, tags, notes, and pending permanent-deletion tasks. P ## Compatibility and limits +The default JSONL backend covers archive/unarchive, ZIP export/restore, permanent deletion and failure rollback. `0.2.3-alpha.2` requires Node.js `^24.22.3 || >=26.13.1`. The optional SQLite backend is tested for inventory, preview, archive/unarchive and ZIP export. The Host has no rollback-safe import or per-session deletion API for this shared store, so the plugin refuses ZIP restore and permanent deletion while preserving existing data and backups. Native tests use real persistence components with simulated workspace/routes; they are not a full Web UI acceptance test. + - **Settings closes unexpectedly (known Host issue):** On DSH `0.2.1-rc.2`, archiving the current chat while initial setup is incomplete can trigger onboarding and close Settings. Reported upstream in [#10596](https://github.com/deepseek-ai/deepseek-harness/discussions/10596). This does not by itself mean archiving failed; reopen Settings to check. The plugin does not include a Host fix. Features depend on public Host capabilities, not just a version number: -The declared DSH `>=0.1.0-rc.7` range remains capability-based. Release automation tests Node.js 18 on Ubuntu and Node.js 24 on Ubuntu, macOS, and Windows; the Node.js 24 matrix requires all five pinned official Host backends, `@deepseek-ai/dsh-session@0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1` and `0.2.2-rc.3` (nine integration cases each) and package checks, including the v4 session format. +The declared DSH `>=0.1.0-rc.7 || 0.2.3-alpha.2` range remains capability-based. Release automation tests Node.js 18 on Ubuntu and Node.js 24.22.3 on Ubuntu, macOS, and Windows; the Node.js 24.22.3 matrix requires all eight pinned official Host backends, `@deepseek-ai/dsh-session@0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.5` and `0.2.3-alpha.2` (nine integration cases each) and package checks, including the v4 session format. ## Local data and uninstall diff --git a/docs/USER_GUIDE.zh-CN.md b/docs/USER_GUIDE.zh-CN.md index 5e0d392..fb2e460 100644 --- a/docs/USER_GUIDE.zh-CN.md +++ b/docs/USER_GUIDE.zh-CN.md @@ -2,7 +2,7 @@ [English](USER_GUIDE.md) · 简体中文 · [返回 README](../README.md) -归档管理为 DSH 已归档聊天提供查看和管理页面,并扩展按工作区批量归档。本文描述 2.0.7 的行为(包含未归档正文搜索),原生集成测试覆盖 DSH `0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1` 和 `0.2.2-rc.3`。版本变更见[更新日志](../CHANGELOG.md),接口和数据格式见[架构说明](ARCHITECTURE.md)。 +归档管理为 DSH 已归档聊天提供查看和管理页面,并扩展按工作区批量归档。本文描述 2.0.8 的行为(包含未归档正文搜索),原生集成测试覆盖 DSH `0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.5` 和 `0.2.3-alpha.2`。版本变更见[更新日志](../CHANGELOG.md),接口和数据格式见[架构说明](ARCHITECTURE.md)。 界面固定为已归档、未归档、来源与分支、关于四个标签。 @@ -50,6 +50,8 @@ dsh plugin --profile web add -w dsh-archived-chats@latest 单条聊天仍使用 DSH 原有会话菜单归档。归档后的提示与撤销操作由 Host 自己提供,插件不再额外弹出提示或替换官方归档方法。归档后的聊天在插件中按工作区分组。 +「工作区全部归档」归档的是其中的聊天,工作区本身仍保留。当前插件不支持把已有会话移动到另一个工作区,也不提供整个工作区的隐藏、归档与恢复;按工作区分组仅用于浏览。 + 已归档和未归档的「所有工作区」菜单使用文件夹图标列出工作区,并提供「未分组」与「自动化任务」入口。未分组按官方工作区成员关系判断,不按标题或旧目录推测。自动化任务通过官方 `schedule.catalog()` 的会话关联筛选,覆盖仍保留记录的活动及已结束任务;任务被删除后不再匹配,不能把它当作永久的历史会话类型。宿主未启用该服务或读取失败时,入口置灰并提供原因,不影响普通会话列表。 已归档、未归档采用两排工具栏:搜索框独占第一排,筛选控件位于第二排。来源与分支的搜索框独占第一排,工作区与状态筛选、会话数量和全部展开/折叠合并在第二排,窄屏按需换行。 @@ -201,11 +203,13 @@ JSON 是机器可读记录,Markdown 是可读副本。新版 Host 导出 ZIP v ## 兼容性与限制 +默认 JSONL 后端覆盖归档、取消归档、ZIP 导出与恢复,以及永久删除和失败回滚。`0.2.3-alpha.2` 需要 Node.js `^24.22.3 || >=26.13.1`。可选 SQLite 后端已验证列表、预览、归档/取消归档和 ZIP 导出;宿主尚未提供可安全回滚的导入或单会话删除接口,插件会拒绝 ZIP 恢复和永久删除,保留现有数据与备份。原生测试使用真实持久化组件和模拟的工作区/路由,不等同于完整 Web 界面验收。 + - **设置弹窗自动关闭(宿主已知问题):** DSH `0.2.1-rc.2` 在首次配置未完成时,归档当前聊天可能触发引导并关闭设置。此问题已反馈至官方 [#10596](https://github.com/deepseek-ai/deepseek-harness/discussions/10596),不代表归档失败;可重新打开设置核对结果。本插件不包含宿主修复。 功能取决于 Host 公开能力,不仅取决于版本号: -声明的 DSH `>=0.1.0-rc.7` 范围仍表达基于 Host 公开能力的兼容性。发布自动化在 Ubuntu 上测试 Node.js 18,并在 Ubuntu、macOS 和 Windows 上测试 Node.js 24;Node.js 24 矩阵强制运行官方 `@deepseek-ai/dsh-session@0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1` 和 `0.2.2-rc.3` 五套锁定 Host 后端集成(各 9 项)与打包检查,覆盖 v4 会话格式。 +声明的 DSH `>=0.1.0-rc.7 || 0.2.3-alpha.2` 范围仍表达基于 Host 公开能力的兼容性。发布自动化在 Ubuntu 上测试 Node.js 18,并在 Ubuntu、macOS 和 Windows 上测试 Node.js 24.22.3;Node.js 24.22.3 矩阵强制运行官方 `@deepseek-ai/dsh-session@0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.5` 和 `0.2.3-alpha.2` 八套锁定 Host 后端集成(各 9 项)与打包检查,覆盖 v4 会话格式。 ## 本地数据与卸载 diff --git a/lib/persistence-compat.js b/lib/persistence-compat.js index 7d07402..18c0421 100644 --- a/lib/persistence-compat.js +++ b/lib/persistence-compat.js @@ -121,7 +121,10 @@ export function resolvePersistenceCompat(raw) { } return Object.freeze({ - ...(typeof raw.create === 'function' ? { + // Restore needs a destination before create() so it can prove rollback + // ownership without first writing data. stat() only locates existing logs; + // shared-database backends must remain readable without advertising restore. + ...(typeof raw.create === 'function' && typeof raw.locate === 'function' ? { async createWriteHandle(header, options) { validatedHeader(header); return raw.create.call(raw, header, options); diff --git a/package-lock.json b/package-lock.json index 79e6d61..7be0396 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,26 +1,26 @@ { "name": "dsh-archived-chats", - "version": "2.0.7", + "version": "2.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dsh-archived-chats", - "version": "2.0.7", + "version": "2.0.8", "license": "MIT", "dependencies": { "fflate": "^0.8.3" }, "devDependencies": { - "@deepseek-ai/dsh-session": "0.2.2-rc.3", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", "typescript": "^5.9.3" }, "engines": { - "dsh": ">=0.1.0-rc.7" + "dsh": ">=0.1.0-rc.7 || 0.2.3-alpha.2" }, "peerDependencies": { - "@deepseek-ai/cordis": "^4.0.1", - "@deepseek-ai/dsh-session": ">=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.1 <0.1.2-0 || >=0.1.2-alpha.1 <0.2.0-0 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.5 || >=0.2.2-rc.1", + "@deepseek-ai/cordis": "^4.0.1 || 4.2.0-alpha.1", + "@deepseek-ai/dsh-session": ">=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.1 <0.1.2-0 || >=0.1.2-alpha.1 <0.2.0-0 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.5 || >=0.2.2-rc.1 || 0.2.3-alpha.2", "react": "^18.2.0" }, "peerDependenciesMeta": { @@ -62,9 +62,9 @@ "license": "MIT" }, "node_modules/@deepseek-ai/dsh-brand": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-brand/-/dsh-brand-0.2.2-rc.3.tgz", - "integrity": "sha512-vX7Ugoqs9GTO/1r/R7K3wZ6Vq1erJHLPvzEr78yxMigCitM0PA4kBZ8i/WOZrsNTLUOu/OiiBqr9HW3CQ4jEww==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-brand/-/dsh-brand-0.2.2-rc.5.tgz", + "integrity": "sha512-jkWKCP1nu3silNQSjiBTrK48xmFK617xIhLiakNJURNtON3sjv7h1FxVydw9IhOBcdK4/LakKRoDlV/V8MjOGg==", "dev": true, "license": "MIT", "peerDependencies": { @@ -72,9 +72,9 @@ } }, "node_modules/@deepseek-ai/dsh-error": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-error/-/dsh-error-0.2.2-rc.3.tgz", - "integrity": "sha512-yxbiGjg8Y3LRIwZZBG5juutzZbVAHRZOPGTlSXaMtdBbnY6wbeV2BAnVnP9bGLb+Si+GKhbbQCA23RV/9+FMUQ==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-error/-/dsh-error-0.2.2-rc.5.tgz", + "integrity": "sha512-0QY6i1eHBvXrFQoKK0Z65dD9CvlpA77jH/U/qMt+kuLz9SnnKA4EayFBx8N0Z1It1bA9udE2d5t3yiwhHSDIFg==", "dev": true, "license": "MIT", "peer": true, @@ -83,29 +83,29 @@ } }, "node_modules/@deepseek-ai/dsh-llm": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-llm/-/dsh-llm-0.2.2-rc.3.tgz", - "integrity": "sha512-WdpGURXwBmFchHE7k8o+PUtncjPjU4NNkpnv4lBWT02ZrA+2sIF0WwcU3L/g40QmT6C9yRtFEUe+2GhpzUcTWQ==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-llm/-/dsh-llm-0.2.2-rc.5.tgz", + "integrity": "sha512-zT/KCq/lQ5H/wqOaZH8sa6Uq+9x8du1w4MvbbCgdsK3JA2kxh0T5GEcWcvIvU5s7h0L43tnOV7Df5hZNZ+Sj0A==", "dev": true, "license": "MIT", "dependencies": { - "@deepseek-ai/dsh-brand": "0.2.2-rc.3", - "@deepseek-ai/dsh-timeout": "0.2.2-rc.3", - "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.3", - "@deepseek-ai/dsh-util-crypto": "0.2.2-rc.3", - "@deepseek-ai/dsh-util-values": "0.2.2-rc.3", + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-timeout": "0.2.2-rc.5", + "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-crypto": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5", "@deepseek-ai/schemastery": "~3.19.0", "zod": "4.6.6" }, "peerDependencies": { "@deepseek-ai/cordis": "~4.1.0", - "@deepseek-ai/dsh-error": "0.2.2-rc.3" + "@deepseek-ai/dsh-error": "0.2.2-rc.5" } }, "node_modules/@deepseek-ai/dsh-scope": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-scope/-/dsh-scope-0.2.2-rc.3.tgz", - "integrity": "sha512-TVTdI+9rhGpDUAgoApgLt/Iyi4hq+S5Ml7zFZ1JPCXGaU5etc8FqpBfGaKB9ei3siCKfpw1PuFQGvDwgFxOZsw==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-scope/-/dsh-scope-0.2.2-rc.5.tgz", + "integrity": "sha512-iRmkbchma2F3nhrOgh9ss3D3NPYv0FZRfwyM6wt0MhJMd9R4u1dIbrvlhRNBglF+Nr5rD3yiA4PQjpWclb8XUQ==", "dev": true, "license": "MIT", "peer": true, @@ -114,25 +114,25 @@ } }, "node_modules/@deepseek-ai/dsh-session": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session/-/dsh-session-0.2.2-rc.3.tgz", - "integrity": "sha512-OPrsoWwbzyrv7FpbtYs8bb/KBjBwY/1DUc7iAdXq33m/ON4bVn+OWKYeyOPLAVcP8LoNQhp26KdseG5x69OSBg==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session/-/dsh-session-0.2.2-rc.5.tgz", + "integrity": "sha512-77+MOBnQgwjfR1yPkLrnS2nlRECa0gfUt0jwMuTg9FniTz5ca8854m2jmi2F3iHDnQUt3lTwzmy0BLIrok+lZA==", "dev": true, "license": "MIT", "dependencies": { - "@deepseek-ai/dsh-brand": "0.2.2-rc.3", - "@deepseek-ai/dsh-llm": "0.2.2-rc.3", - "@deepseek-ai/dsh-util-values": "0.2.2-rc.3" + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5" }, "peerDependencies": { "@deepseek-ai/cordis": "~4.1.0", - "@deepseek-ai/dsh-scope": "0.2.2-rc.3" + "@deepseek-ai/dsh-scope": "0.2.2-rc.5" } }, "node_modules/@deepseek-ai/dsh-timeout": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-timeout/-/dsh-timeout-0.2.2-rc.3.tgz", - "integrity": "sha512-Yi2FZmvSLYZQCCTEx5SH+IbA0WMyjT05dib7x9HYKMD7sDbgRLUgVS54ZgNSzkoBIK0GEaN5g9suwo8cs9gLxQ==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-timeout/-/dsh-timeout-0.2.2-rc.5.tgz", + "integrity": "sha512-PfVVGUKE9RqCORESfQ9sn2BkTipUxYyv26ja+DWd9UMj9WSXoHTGteAy6B5foiixnCECyTu83E3B6027wfAtdA==", "dev": true, "license": "MIT", "peerDependencies": { @@ -140,13 +140,13 @@ } }, "node_modules/@deepseek-ai/dsh-typert-protocol": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-typert-protocol/-/dsh-typert-protocol-0.2.2-rc.3.tgz", - "integrity": "sha512-CXn6ILbfWN4a6NMsnIPPq22iVaKAWPb9522l01o903BqNM+hLWbSNipQ7myIUBRv4wn0Zw8ZgYGy9yrmfU4Htw==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-typert-protocol/-/dsh-typert-protocol-0.2.2-rc.5.tgz", + "integrity": "sha512-iTxyX1pk7DyCpMgRXVwV8FbfBOIvsT6f0DdVe2YXDTs0wEySai2Us3Fs6/xUVmEltOGgYPFWw4ndjQugMwt9Ig==", "dev": true, "license": "MIT", "dependencies": { - "@deepseek-ai/dsh-brand": "0.2.2-rc.3", + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", "zod": "4.6.6" }, "peerDependencies": { @@ -154,9 +154,9 @@ } }, "node_modules/@deepseek-ai/dsh-util-crypto": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-crypto/-/dsh-util-crypto-0.2.2-rc.3.tgz", - "integrity": "sha512-T7EUGf331mGi4n9gjFhLw1oLQyzWzfkUepHR0FiY0WWWc9Z96LD9NBH9P3w3905SaDsb98L4H8BVLX62m+kZjg==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-crypto/-/dsh-util-crypto-0.2.2-rc.5.tgz", + "integrity": "sha512-5+w9RdJ6puwBVVX7DTwCzdvX9m0f6o/yI8hX6EIzZenmpQwdhhmsxLa8ZFtnLta4ptIMCP2e+XIHhbGZXz9t+Q==", "dev": true, "license": "MIT", "peerDependencies": { @@ -164,9 +164,9 @@ } }, "node_modules/@deepseek-ai/dsh-util-values": { - "version": "0.2.2-rc.3", - "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-values/-/dsh-util-values-0.2.2-rc.3.tgz", - "integrity": "sha512-WF8DOmVfOPLhybptIS9c+OompFiZzrMjWAxtCe9tbRNadVSRopf5eUtkspNU2Bsll2KzBc+Bz5ap8/DC1t70CQ==", + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-values/-/dsh-util-values-0.2.2-rc.5.tgz", + "integrity": "sha512-ISgMAgMZ1+d5Iqdd2J7PfUZbGPAwLEWVAl87pmtJFlgkZukbT3GigvN27BB53Tit7fGR1B5zgwgvQA7zOlegmg==", "dev": true, "license": "MIT", "peerDependencies": { diff --git a/package.json b/package.json index 1b471a8..ab33c3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dsh-archived-chats", - "version": "2.0.7", + "version": "2.0.8", "description": "查看、搜索和管理会话归档,支持工作区批量归档、标签备注、ZIP 备份和会话谱系。", "license": "MIT", "author": "Ultroncn", @@ -75,11 +75,11 @@ "cordis.patch.yml" ], "engines": { - "dsh": ">=0.1.0-rc.7" + "dsh": ">=0.1.0-rc.7 || 0.2.3-alpha.2" }, "dsh": { "engines": { - "dsh": ">=0.1.0-rc.7" + "dsh": ">=0.1.0-rc.7 || 0.2.3-alpha.2" }, "bundle": { "patch": "./cordis.patch.yml" @@ -93,8 +93,8 @@ } }, "peerDependencies": { - "@deepseek-ai/cordis": "^4.0.1", - "@deepseek-ai/dsh-session": ">=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.1 <0.1.2-0 || >=0.1.2-alpha.1 <0.2.0-0 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.5 || >=0.2.2-rc.1", + "@deepseek-ai/cordis": "^4.0.1 || 4.2.0-alpha.1", + "@deepseek-ai/dsh-session": ">=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.1 <0.1.2-0 || >=0.1.2-alpha.1 <0.2.0-0 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.5 || >=0.2.2-rc.1 || 0.2.3-alpha.2", "react": "^18.2.0" }, "peerDependenciesMeta": { @@ -106,7 +106,7 @@ "fflate": "^0.8.3" }, "devDependencies": { - "@deepseek-ai/dsh-session": "0.2.2-rc.3", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", "typescript": "^5.9.3" }, "overrides": { diff --git a/scripts/check-client-host.mjs b/scripts/check-client-host.mjs new file mode 100644 index 0000000..e218426 --- /dev/null +++ b/scripts/check-client-host.mjs @@ -0,0 +1,28 @@ +import { spawnSync } from 'node:child_process'; +import { readFile } from 'node:fs/promises'; +import { dirname, join, resolve } from 'node:path'; +import { fileURLToPath } from 'node:url'; + +const root = resolve(dirname(fileURLToPath(import.meta.url)), '..'); +const args = process.argv.slice(2); +if (args.length !== 2 || args[0] !== '--fixture-root') { + throw new Error('Usage: node scripts/check-client-host.mjs --fixture-root test/fixtures/client-host-VERSION'); +} +const fixtureRoot = resolve(root, args[1]); +const fixture = JSON.parse(await readFile(join(fixtureRoot, 'package.json'), 'utf8')); +for (const name of ['@deepseek-ai/cordis', '@deepseek-ai/dsh-client-ui-primitives', + '@deepseek-ai/dsh-client-ui-slots', '@deepseek-ai/dsh-client-ui-renderer', '@deepseek-ai/dsh-client-locale', + '@deepseek-ai/dsh-client-modules']) { + const actual = JSON.parse(await readFile(join(fixtureRoot, 'node_modules', name, 'package.json'), 'utf8')); + if (actual.version !== fixture.dependencies[name]) throw new Error(`${name}: expected ${fixture.dependencies[name]}, found ${actual.version}`); +} +const run = spawnSync(process.execPath, ['--test', '--test-reporter=tap', 'test/client-host-compat.test.mjs'], { + cwd: root, env: { ...process.env, DSH_CLIENT_MODULE_ROOT: join(fixtureRoot, 'node_modules') }, encoding: 'utf8', +}); +process.stdout.write(run.stdout ?? ''); +process.stderr.write(run.stderr ?? ''); +if (run.error) throw run.error; +if (run.status !== 0) process.exit(run.status ?? 1); +if (!/^# tests 4$/m.test(run.stdout) || !/^# pass 4$/m.test(run.stdout) || !/^# skipped 0$/m.test(run.stdout)) { + throw new Error('All four published client contract tests must run and pass without skips'); +} diff --git a/test/client-host-compat.test.mjs b/test/client-host-compat.test.mjs new file mode 100644 index 0000000..1b720a6 --- /dev/null +++ b/test/client-host-compat.test.mjs @@ -0,0 +1,170 @@ +import test from 'node:test'; +import assert from 'node:assert/strict'; +import { readFile } from 'node:fs/promises'; +import { readFileSync } from 'node:fs'; +import { createRequire } from 'node:module'; +import { join, resolve } from 'node:path'; +import { fileURLToPath, pathToFileURL } from 'node:url'; +import vm from 'node:vm'; + +const moduleRoot = process.env.DSH_CLIENT_MODULE_ROOT; +const skip = !moduleRoot && 'Run scripts/check-client-host.mjs with a pinned client fixture'; +let host; + +if (moduleRoot) { + const root = resolve(moduleRoot); + const { registerHooks } = await import('node:module'); + // rc.5 publishes CSS module imports. Node supplies class names for semantic + // rendering only; this test deliberately makes no layout or browser claim. + const hooks = registerHooks({ + load(url, context, nextLoad) { + if (url.endsWith('.css')) { + readFileSync(new URL(url), 'utf8'); + return { format: 'module', shortCircuit: true, + source: 'export default new Proxy({}, { get: (_, key) => String(key) });' }; + } + return nextLoad(url, context); + }, + }); + test.after(() => hooks.deregister()); + const require = createRequire(join(root, '__client-contract.cjs')); + const native = name => import(pathToFileURL(join(root, '@deepseek-ai', name, 'lib/index.js')).href); + const [cordis, slots, primitives, store] = await Promise.all([ + native('cordis'), native('dsh-client-ui-slots'), native('dsh-client-ui-primitives'), native('dsh-client-store'), + ]); + const modules = new Map([ + ['@deepseek-ai/cordis', cordis], ['@deepseek-ai/dsh-client-ui-slots', slots], + ['@deepseek-ai/dsh-client-ui-primitives', primitives], ['@deepseek-ai/dsh-client-store', store], + ...['react', 'react/jsx-runtime', 'react-dom', 'react-dom/client'].map(name => [name, require(name)]), + ]); + const evaluate = async (path, target) => { + const styles = new Map(); + vm.runInNewContext(await readFile(path, 'utf8'), { + window: { __ModuleLoader__: target }, + navigator: { language: 'en', languages: ['en'] }, + document: { body: null, querySelector: () => null, querySelectorAll: () => [], + getElementById: id => styles.get(id) ?? null, + createElement: () => ({ dataset: {}, setAttribute() {}, remove() { styles.delete(this.id); } }), + head: { appendChild(node) { styles.set(node.id, node); } } }, + Symbol, console, setTimeout, clearTimeout, queueMicrotask, + }, { filename: path }); + }; + const load = async path => { + let definition; + await evaluate(path, { load(value) { definition = value; } }); + assert.equal(typeof definition?.factory, 'function', `${path} must register a client factory`); + return definition.factory(name => { + assert.ok(modules.has(name), `Unprovided client dependency: ${name}`); + return modules.get(name); + }); + }; + const locale = await load(join(root, '@deepseek-ai/dsh-client-locale/lib/client.js')); + const renderer = await load(join(root, '@deepseek-ai/dsh-client-ui-renderer/lib/client.js')); + const moduleSystem = await load(join(root, '@deepseek-ai/dsh-client-modules/lib/client.js')); + const pluginPath = fileURLToPath(new URL('../lib/client.js', import.meta.url)); + const plugin = await load(pluginPath); + host = { ...cordis, ...renderer, ...locale, primitives, plugin, React: require('react'), + render: require('react-dom/server').renderToStaticMarkup, moduleSystem, modules, evaluate, pluginPath }; +} + +test('published Host module loader accepts and materializes the plugin lazy-CJS entry', { skip }, async t => { + const target = { mode: 'queue', pendingQueue: [], load(value) { this.pendingQueue.push(value); } }; + const system = new host.moduleSystem.ClientModuleSystem({ + manifest: { rev: 'isolated-client-contract', modules: [], plugins: [] }, + staticModules: [], registrationTarget: target, + bootstrapModule: { id: '@deepseek-ai/dsh-client-modules', exports: host.moduleSystem }, + loadBundle: () => assert.fail('The isolated contract must not fetch a browser bundle'), + }); + t.after(() => system.dispose?.()); + for (const id of ['react', 'react/jsx-runtime', '@deepseek-ai/dsh-client-ui-primitives']) { + target.load({ id, factory: () => host.modules.get(id) }); + } + await host.evaluate(host.pluginPath, target); + const entry = await system.import('dsh-archived-chats/client'); + assert.equal(typeof entry.apply, 'function'); + assert.deepEqual(Array.from(entry.inject), ['slots', 'locale']); + assert.equal(entry.__test.HostButton({ children: 'Archive' }).type, host.primitives.Button); + assert.equal(await system.import('dsh-archived-chats'), entry, 'Host caches the same materialized entry'); +}); + +test('published Host primitives render archive controls with their real React implementations', { skip }, () => { + const { plugin, primitives, render } = host; + const api = plugin.__test; + const resolved = api.resolvePreviewPrimitives(name => { + assert.equal(name, '@deepseek-ai/dsh-client-ui-primitives'); + return primitives; + }); + for (const name of ['Button', 'Input', 'Modal', 'Menu', 'Tooltip', 'MarkdownText', 'Toast']) { + assert.equal(resolved[name], primitives[name]); + assert.ok(resolved[name], `Host must export ${name}`); + } + const button = api.HostButton({ className: 'dac-btn-primary', disabled: true, children: 'Archive' }); + assert.equal(button.type, primitives.Button); + const buttonMarkup = render(button); + assert.match(buttonMarkup, /Archive<\/button>/); + const input = api.HostInput({ type: 'text', defaultValue: 'release check', 'aria-label': 'Tags' }); + assert.equal(input.type, primitives.Input); + const inputMarkup = render(input); + assert.match(inputMarkup, /aria-label="Tags"/); + assert.match(inputMarkup, /value="release check"/); +}); + +async function runtime(t) { + const ctx = new host.Context(); + t.after(() => ctx.fiber.dispose()); + new host.SlotRegistry(ctx); + const locale = new host.LocaleRuntime(ctx); + ctx.provide('locale', locale); + const slots = ctx.get('slots'); + slots.register({ name: 'root', children: { + 'settings.section': { kind: 'list', scope: 'root' }, + 'workspace.toast': { kind: 'keyed', scope: 'root' }, + 'sidebar.settings': { kind: 'single', scope: 'root' }, + } }, () => null); + return { ctx, slots, locale }; +} + +test('published Cordis, slot registry and locale activate and unload the archive settings contribution', { skip }, async t => { + const { ctx, slots, locale } = await runtime(t); + const fiber = ctx.plugin(host.plugin); + await fiber.await(); + const sections = slots.entriesOfSlot('settings.section'); + assert.equal(sections.length, 1); + assert.equal(sections[0].options.id, 'archived-chats'); + assert.equal(sections[0].options.label(), 'Archive Management'); + locale.setLocale('zh'); + assert.equal(sections[0].options.label(), '归档管理'); + const injected = sections[0].inject(); + assert.equal(typeof injected.subscribeArchiveChanges(() => {}), 'function'); + await injected.refreshWorkspaceArchiveConsumers(); + await fiber.dispose(); + assert.equal(slots.entriesOfSlot('settings.section').length, 0); + assert.equal(locale.bind(host.plugin.SETTINGS_NS)('nav'), 'nav'); +}); + +test('published slot registry accepts the archive toast shadow and releases it on plugin unload', { skip }, async t => { + const { ctx, slots } = await runtime(t); + let opened; + let dismissed = 0; + slots.register({ name: 'sidebar.settings', store: { + create: () => ({ actions: { openSection(id) { opened = id; } } }), + } }, () => null); + const original = props => host.React.createElement('span', null, props.display().text); + slots.register({ name: 'workspace.toast', key: 'archived', inject: () => ({}) }, original); + const fiber = ctx.plugin(host.plugin); + await fiber.await(); + const winner = slots.entriesOfSlot('workspace.toast')[0]; + assert.notEqual(winner.component, original); + const wrapped = winner.component({ display: () => ({ text: 'Archived', actions: [] }), + dismissToast() { dismissed++; } }); + assert.equal(wrapped.type, original); + const view = wrapped.props.display().actions.at(-1); + assert.equal(view.label, 'View'); + view.onClick(); + assert.equal(opened, 'archived-chats'); + assert.equal(dismissed, 1); + await fiber.dispose(); + assert.equal(slots.entriesOfSlot('workspace.toast')[0].component, original); +}); diff --git a/test/fixtures/client-host-0.2.2-rc.5/package-lock.json b/test/fixtures/client-host-0.2.2-rc.5/package-lock.json new file mode 100644 index 0000000..9ddb9a0 --- /dev/null +++ b/test/fixtures/client-host-0.2.2-rc.5/package-lock.json @@ -0,0 +1,1758 @@ +{ + "name": "dsh-archived-chats-client-host-0.2.2-rc.5-fixture", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "dsh-archived-chats-client-host-0.2.2-rc.5-fixture", + "dependencies": { + "@deepseek-ai/cordis": "4.1.0", + "@deepseek-ai/dsh-client-locale": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-modules": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-store": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-code-language": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-workspace-path": "0.2.2-rc.5", + "@shikijs/langs": "^4.4.3", + "anser": "^2.3.5", + "clsx": "^2.0.0", + "diff": "^9.0.0", + "immer": "^10.1.1", + "katex": "^0.18.7", + "mdast-util-from-markdown": "^2.0.3", + "mdast-util-gfm": "^3.1.0", + "mdast-util-math": "^3.0.0", + "micromark-core-commonmark": "^2.0.3", + "micromark-extension-gfm": "^3.0.0", + "micromark-extension-math": "^3.1.0", + "micromark-factory-space": "^2.0.1", + "micromark-util-character": "^2.1.1", + "micromark-util-classify-character": "^2.0.1", + "micromark-util-decode-string": "^2.0.1", + "micromark-util-sanitize-uri": "^2.0.1", + "micromark-util-symbol": "^2.0.1", + "react": "18.3.1", + "react-dom": "18.3.1", + "shiki": "^4.4.3", + "simple-icons": "16.31.0", + "zustand": "~4.5.7" + }, + "engines": { + "node": "^24.22.3 || >=26.13.1" + } + }, + "node_modules/@deepseek-ai/cordis": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cordis/-/cordis-4.1.0.tgz", + "integrity": "sha512-CJrjNyBkKn1SfvBQUcgFYKFnLjS+uKrhdMsbHU60xabvi12d+xQ+IQSNlME5Z+B+4Zi6n4BDknKY94tEPeo47w==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.9.0", + "@standard-schema/spec": "^1.1.0" + }, + "bin": { + "cordis": "bin.js" + }, + "peerDependencies": { + "@deepseek-ai/cordis-plugin-include": "~1.1.0", + "@deepseek-ai/cordis-plugin-loader": "~1.1.0" + }, + "peerDependenciesMeta": { + "@deepseek-ai/cordis-plugin-include": { + "optional": true + }, + "@deepseek-ai/cordis-plugin-loader": { + "optional": true + } + } + }, + "node_modules/@deepseek-ai/cosmokit": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cosmokit/-/cosmokit-1.9.0.tgz", + "integrity": "sha512-5O1S53mZiJyZYcvxxD0Qv1EY7qFPSxbGyD8CbVK6gw7W9FvcXZj2YIX1ZkOqyQQ3Xt2rFkZDHJv0+V3Zmmp8CA==", + "license": "MIT" + }, + "node_modules/@deepseek-ai/dsh-client-locale": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-locale/-/dsh-client-locale-0.2.2-rc.5.tgz", + "integrity": "sha512-4fz84aGUv2U7300PxkrKOu8lBKDlF88dan2icBtUcmDCIGrUL2UKGjDZYHv5gSQLNGvCjlecDcPPJ6IcPYeObQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/schemastery": "~3.19.0" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-client-modules": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-modules/-/dsh-client-modules-0.2.2-rc.5.tgz", + "integrity": "sha512-cUfbUnVZcNNqwUUHccd6ocRzhL/OYiT86ETtUnrR9ktph7/KGAAyRktM419Cc7Xi1Qx4tKhs36G6iFPcdHVucA==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-client-store": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-store/-/dsh-client-store-0.2.2-rc.5.tgz", + "integrity": "sha512-MaJ/sqTIenCkvpUo3HkkkOBU60Zhy3DeMd7uCZTFi7bzodDjdfjXWkxZFkL7Zydmz9GJCRKnq+xWQGwsl7cORw==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-client-ui-primitives": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-primitives/-/dsh-client-ui-primitives-0.2.2-rc.5.tgz", + "integrity": "sha512-CYkAH9V1FrwDQbxXrWsIlPoqUQB+vWRlfaOb3s297XhYE806XMaAzuC/3gdJp4sfNxLb0c4fx43K07YBtJUDDw==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-client-ui-renderer": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-renderer/-/dsh-client-ui-renderer-0.2.2-rc.5.tgz", + "integrity": "sha512-uHUtl/ACIOAajiNW0A6VFmRkn86Vw+Uu4um4dJESMpcpjmKASK3IuSCb2jGG9fL1RQ9tNEsMhGi42C22vtAesA==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-client-ui-slots": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-slots/-/dsh-client-ui-slots-0.2.2-rc.5.tgz", + "integrity": "sha512-gplorEkuJP+XA6PqyiVwMCSI+pPgXqE20bv9zT590oMm0AU1IBhpgonGPt+xQBmuTaQ/WeLfC8vkDt4/9BgiBA==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-util-code-language": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-code-language/-/dsh-util-code-language-0.2.2-rc.5.tgz", + "integrity": "sha512-8KT+YlbUDaCNA+nptc8JnXx7LW4yv5055H5u8d3ymCiNRnl1QTHUAIm1n1qhC30S7sjd/BBZDnCD2BDFSMfWjQ==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-util-workspace-path": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-workspace-path/-/dsh-util-workspace-path-0.2.2-rc.5.tgz", + "integrity": "sha512-PoYHkzmq9hlyXb5W6ITxi0K4l7bo7+GJLvCVN5CeWAP2JJZwRxdFFdfbzW2CZvEGPq1DQZpVv7hbDbM8z5a+kg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/schemastery": { + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/schemastery/-/schemastery-3.19.0.tgz", + "integrity": "sha512-bDXoYQa7ghAhmdYD5VPlzKxEzJV/aKkz5l4V5h1u06z8GAPN1ROewSjvR9WiXhpa52E9fng8lpH5QdCRIQgnyQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.9.0", + "@standard-schema/spec": "^1.1.0" + } + }, + "node_modules/@shikijs/core": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-4.6.0.tgz", + "integrity": "sha512-bfd4OKgvoyXYiYmMRuleA656P4V7M/Du9lcTl38Ngm6KszMj7bq4J1IGZwSYR4c95Tv5UQALtYNWUwaI9UT3xw==", + "license": "MIT", + "dependencies": { + "@shikijs/primitive": "4.6.0", + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0", + "@types/hast": "^3.0.5", + "hast-util-to-html": "^9.0.6" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/engine-javascript": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-4.6.0.tgz", + "integrity": "sha512-K0oqxFoL+kEMdz89mHLFO15Tsbv3kFZ6WR1cXZKMvLSc+oqaM00A6pyga1qSeXB22dP0tTiSApRcGBaKWsEccg==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0", + "oniguruma-to-es": "^4.3.6" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/engine-oniguruma": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-4.6.0.tgz", + "integrity": "sha512-aggd6Q7SuJOXNnsUbfG2XesxBJKBMAw/PDTUo9PyRjMaaJJ2dNrI+q0C+25ARXAK9yLHAlwxc9oRT2u68YKZ7w==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/langs": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-4.6.0.tgz", + "integrity": "sha512-1yMEX3oCVV54LUq/ovfpRkDQoYDkcvjSWFFa/YLUDMiSoRzMi2uxLJYbv41ahT8Lu9lFMaa7hecd3Q39trqUyg==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/primitive": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/primitive/-/primitive-4.6.0.tgz", + "integrity": "sha512-c54+TQEo9ToqgfL/AU8FpjnV09+GA9Oa7M5ROkkXteZfp5XzpAJGXjjvZQFQioJOwm/w/6Z3lIzQstAkl8coag==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0", + "@types/hast": "^3.0.5" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/themes": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-4.6.0.tgz", + "integrity": "sha512-qHAVAs80RiGD+IRuH9G+JPDOEc9A/kHsng4EzCUCwB9bLzW6Z0y9WETh2YyCcADJBmfrIaJ1Jp7KBNP6FHkgtQ==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/types": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.6.0.tgz", + "integrity": "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==", + "license": "MIT", + "dependencies": { + "@shikijs/vscode-textmate": "^10.1.0", + "@types/hast": "^3.0.5" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/vscode-textmate": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.1.0.tgz", + "integrity": "sha512-cVBuhDQjBZaNMTwBquYfPydrUP+E3hE6oYGasx8h6ZrODIM7/r+gxLDXdd66oszbrggZHEntdE6j+5gYIVyMWQ==", + "license": "MIT" + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/@types/debug": { + "version": "4.1.13", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", + "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/hast": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", + "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==", + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/katex": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.8.tgz", + "integrity": "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==", + "license": "MIT" + }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "license": "MIT" + }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", + "license": "MIT" + }, + "node_modules/@ungap/structured-clone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", + "license": "ISC" + }, + "node_modules/anser": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/anser/-/anser-2.3.5.tgz", + "integrity": "sha512-vcZjxvvVoxTeR5XBNJB38oTu/7eDCZlwdz32N1eNgpyPF7j/Z7Idf+CUwQOkKKpJ7RJyjxgLHCM7vdIK0iCNMQ==", + "license": "MIT" + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/commander": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.1.0.tgz", + "integrity": "sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==", + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decode-named-character-reference": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", + "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", + "license": "MIT", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "license": "MIT", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/diff": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz", + "integrity": "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hast-util-to-html": { + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.7.tgz", + "integrity": "sha512-HYNDA3qdnzUPitY/LcQm1nWs8z0cWFNH1Nz09jdI/tXifAqF7h3+jrLl4S/b9Mi4VSjn0Dsn54ctuTV6zhBthA==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-whitespace": "^3.0.0", + "html-void-elements": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "stringify-entities": "^4.0.0", + "zwitch": "^2.0.4" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/html-void-elements": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", + "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/immer": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.2.0.tgz", + "integrity": "sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/katex": { + "version": "0.18.10", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.18.10.tgz", + "integrity": "sha512-/B6p9eY9DX7aHBfpkHdpirDTZ5QH9xTwL9y837PWuzuv41O5jFdqNQwVQEQsimY0/iVNkwBY4+4hMfhQ7d4Dbw==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^15.0.0" + }, + "bin": { + "katex": "cli.js" + } + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/markdown-table": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.1.0.tgz", + "integrity": "sha512-xpeSCdM+B+6P3ncfgaB7FoDbtJ30xAe6Z18TGT7AgXJsHqCElCICZovQqdRMm7kHgpTyYv36EupqewoFFSB8vw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.5.tgz", + "integrity": "sha512-of3wZLEBWpK8mSYy8wmKnwyxfUKjhCkXxGLz45DVBqfcahTP37LscCK+0oAZh+ReZ5OunPDkB2zdGMIxrojLhw==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.1.0.tgz", + "integrity": "sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", + "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.1.2.tgz", + "integrity": "sha512-rAlbZBGZfv2YRr6lSFGHTN305KkNawOYRRlbldFyPHnTlHJZwlGdzVwyIDvr3fxbhRbmJOSZc06c8H5Fgfu8Ng==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.1.tgz", + "integrity": "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.1.tgz", + "integrity": "sha512-fiIjPrAy4kz68/eFbPHhsiWDGHhqUSVoU1XsfLM5DsEPXw7MxgiVVyulUggFRckVWeT1KXQXkg5vm3kv4oMSOA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "mdast-util-to-string": "^4.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.1.tgz", + "integrity": "sha512-jXVO1hvB2hs82g1esi7I9nIJDqiijbQLIyH2jDUb5s7jIAZMr/79h0VHSq7XHKTqpLARRm+DDNjduB7S9+6XZA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-math": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz", + "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "longest-streak": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.1.0", + "unist-util-remove-position": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-hast": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.2.tgz", + "integrity": "sha512-l2pnmOuqs+SGLVpTVXnRLQu5v1AzvDe181404fbXzzqObVxrAnnVxapAP27pUwzLBL/ABIkgUhGlPVU7QSvIFg==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.2.4.tgz", + "integrity": "sha512-aCsogoZ2Oz1EItAlC12A+/uGuzp+CWlDU0xZ3o5jbJaepLsOu2tlxpvHslnX5dRhspD1gxNVkBtYG0yMiIpXoQ==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz", + "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-edit-map": "^1.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz", + "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.1.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-edit-map": "^1.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.3" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "license": "MIT", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz", + "integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "license": "MIT", + "dependencies": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-math/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/micromark-extension-math/node_modules/katex": { + "version": "0.16.47", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz", + "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^8.3.0" + }, + "bin": { + "katex": "cli.js" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz", + "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-edit-map": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz", + "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-types": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz", + "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/oniguruma-parser": { + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.2.tgz", + "integrity": "sha512-6HVa5oIrgMC6aA6WF6XyyqbhRPJrKR02L20+2+zpDtO5QAzGHAUGw5TKQvwi5vctNnRHkJYmjAhRVQF2EKdTQw==", + "license": "MIT" + }, + "node_modules/oniguruma-to-es": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.6.tgz", + "integrity": "sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==", + "license": "MIT", + "dependencies": { + "oniguruma-parser": "^0.12.2", + "regex": "^6.1.0", + "regex-recursion": "^6.0.2" + } + }, + "node_modules/property-information": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz", + "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/regex/-/regex-6.1.0.tgz", + "integrity": "sha512-6VwtthbV4o/7+OaAF9I5L5V3llLEsoPyq9P1JVXkedTP33c7MfCG0/5NOPcSJn0TzXcG9YUrR0gQSWioew3LDg==", + "license": "MIT", + "dependencies": { + "regex-utilities": "^2.3.0" + } + }, + "node_modules/regex-recursion": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-6.0.2.tgz", + "integrity": "sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==", + "license": "MIT", + "dependencies": { + "regex-utilities": "^2.3.0" + } + }, + "node_modules/regex-utilities": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz", + "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==", + "license": "MIT" + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/shiki": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-4.6.0.tgz", + "integrity": "sha512-imjLsVHgPuWhvpU3P+zOekvMYqnel7QmKsFC4Sn0fCuAvaaalBsxwKEsrU8Ko5BdFnZA6Go/8a0RzahS634UgA==", + "license": "MIT", + "dependencies": { + "@shikijs/core": "4.6.0", + "@shikijs/engine-javascript": "4.6.0", + "@shikijs/engine-oniguruma": "4.6.0", + "@shikijs/langs": "4.6.0", + "@shikijs/themes": "4.6.0", + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0", + "@types/hast": "^3.0.5" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/simple-icons": { + "version": "16.31.0", + "resolved": "https://registry.npmjs.org/simple-icons/-/simple-icons-16.31.0.tgz", + "integrity": "sha512-dDEqvQrmxL7ZnqQtGHGjCNW6CfiwzAif+83Hol9JXAnAB6wh2zsZD7Sc1kWT0O/RRAKt7xfG8W6UZhYBPD+GAA==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/simple-icons" + }, + { + "type": "github", + "url": "https://github.com/sponsors/simple-icons" + } + ], + "license": "CC0-1.0", + "engines": { + "node": ">=0.12.18" + } + }, + "node_modules/space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/stringify-entities": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.5.tgz", + "integrity": "sha512-jNuI2fNNw5ecxrWmgm90R3iH0Kc/94AQwoQWoSUYphWzvmUA2pjFG34H56Z7Z3FkvH3FpYwwewKAa97oQnPFhw==", + "license": "MIT", + "dependencies": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/unist-util-is": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz", + "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-remove-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", + "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.2.0.tgz", + "integrity": "sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.1.0.tgz", + "integrity": "sha512-vKXxz6O38sKDj1mtx/k2cWvkkFBuYGx6uGrlzBkVeWCRF/F8sdI0j3Wbkz/5rVNRRuVc8UrgRdbCxNhmYXgP3w==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/use-sync-external-store": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz", + "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.4.tgz", + "integrity": "sha512-66ycRswIkNmHH9PHku7ADtv5RVwgIrOcuv3J8Svz6h4qgGRrKVa+9/neuKyJZUXyOpYwLTvS+whZ4R2urHHgQg==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/zustand": { + "version": "4.5.7", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz", + "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==", + "license": "MIT", + "dependencies": { + "use-sync-external-store": "^1.2.2" + }, + "engines": { + "node": ">=12.7.0" + }, + "peerDependencies": { + "@types/react": ">=16.8", + "immer": ">=9.0.6", + "react": ">=16.8" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + } + } + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + } +} diff --git a/test/fixtures/client-host-0.2.2-rc.5/package.json b/test/fixtures/client-host-0.2.2-rc.5/package.json new file mode 100644 index 0000000..601b0e4 --- /dev/null +++ b/test/fixtures/client-host-0.2.2-rc.5/package.json @@ -0,0 +1,42 @@ +{ + "name": "dsh-archived-chats-client-host-0.2.2-rc.5-fixture", + "private": true, + "type": "module", + "engines": { + "node": "^24.22.3 || >=26.13.1" + }, + "dependencies": { + "@deepseek-ai/cordis": "4.1.0", + "@deepseek-ai/dsh-client-locale": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-modules": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-store": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.5", + "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-code-language": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-workspace-path": "0.2.2-rc.5", + "@shikijs/langs": "^4.4.3", + "anser": "^2.3.5", + "clsx": "^2.0.0", + "diff": "^9.0.0", + "immer": "^10.1.1", + "katex": "^0.18.7", + "mdast-util-from-markdown": "^2.0.3", + "mdast-util-gfm": "^3.1.0", + "mdast-util-math": "^3.0.0", + "micromark-core-commonmark": "^2.0.3", + "micromark-extension-gfm": "^3.0.0", + "micromark-extension-math": "^3.1.0", + "micromark-factory-space": "^2.0.1", + "micromark-util-character": "^2.1.1", + "micromark-util-classify-character": "^2.0.1", + "micromark-util-decode-string": "^2.0.1", + "micromark-util-sanitize-uri": "^2.0.1", + "micromark-util-symbol": "^2.0.1", + "react": "18.3.1", + "react-dom": "18.3.1", + "shiki": "^4.4.3", + "simple-icons": "16.31.0", + "zustand": "~4.5.7" + } +} diff --git a/test/fixtures/client-host-0.2.3-alpha.2/package-lock.json b/test/fixtures/client-host-0.2.3-alpha.2/package-lock.json new file mode 100644 index 0000000..48586cc --- /dev/null +++ b/test/fixtures/client-host-0.2.3-alpha.2/package-lock.json @@ -0,0 +1,1758 @@ +{ + "name": "dsh-archived-chats-client-host-0.2.3-alpha.2-fixture", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "dsh-archived-chats-client-host-0.2.3-alpha.2-fixture", + "dependencies": { + "@deepseek-ai/cordis": "4.2.0-alpha.1", + "@deepseek-ai/dsh-client-locale": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-modules": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-store": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-ui-renderer": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-ui-slots": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-code-language": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-workspace-path": "0.2.3-alpha.2", + "@shikijs/langs": "^4.4.3", + "anser": "^2.3.5", + "clsx": "^2.0.0", + "diff": "^9.0.0", + "immer": "^10.1.1", + "katex": "^0.18.7", + "mdast-util-from-markdown": "^2.1.0", + "mdast-util-gfm": "^3.1.0", + "mdast-util-math": "^3.0.0", + "micromark-core-commonmark": "^2.0.3", + "micromark-extension-gfm": "^3.0.0", + "micromark-extension-math": "^3.1.0", + "micromark-factory-space": "^2.0.1", + "micromark-util-character": "^2.1.1", + "micromark-util-classify-character": "^2.0.1", + "micromark-util-decode-string": "^2.0.1", + "micromark-util-sanitize-uri": "^2.0.1", + "micromark-util-symbol": "^2.0.1", + "react": "18.3.1", + "react-dom": "18.3.1", + "shiki": "^4.4.3", + "simple-icons": "16.31.0", + "zustand": "~4.5.7" + }, + "engines": { + "node": "^24.22.3 || >=26.13.1" + } + }, + "node_modules/@deepseek-ai/cordis": { + "version": "4.2.0-alpha.1", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cordis/-/cordis-4.2.0-alpha.1.tgz", + "integrity": "sha512-SnqATTN5V8Izqu9LsWon6vxKedppIAhHaeBQ5r8D188UgG+VzNI3rpO5SIfzqxWt/3OUUCLo9OiXganW0IGdnA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.10.0-alpha.1", + "@standard-schema/spec": "^1.1.0" + }, + "bin": { + "cordis": "bin.js" + }, + "peerDependencies": { + "@deepseek-ai/cordis-plugin-include": "~1.2.0-alpha.1", + "@deepseek-ai/cordis-plugin-loader": "~1.2.0-alpha.1" + }, + "peerDependenciesMeta": { + "@deepseek-ai/cordis-plugin-include": { + "optional": true + }, + "@deepseek-ai/cordis-plugin-loader": { + "optional": true + } + } + }, + "node_modules/@deepseek-ai/cosmokit": { + "version": "1.10.0-alpha.1", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cosmokit/-/cosmokit-1.10.0-alpha.1.tgz", + "integrity": "sha512-vg1+m19Crrq4dVZ2Q6Zs/ydeyE2s9vENqmktJ1+liocKnvYZb3Jnt2bSvq6kLpVpsiM8OtvXVzschB9HfmGAxg==", + "license": "MIT" + }, + "node_modules/@deepseek-ai/dsh-client-locale": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-locale/-/dsh-client-locale-0.2.3-alpha.2.tgz", + "integrity": "sha512-ZpaXRORJ9N2MsOkX67YD3w3ttBMiTe1/axmYKBl8TnKPAE0QAPVGqVGux/5TV7szA17/qlavgnsKr5sYaWikzw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/schemastery": "~3.20.0-alpha.1" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-client-modules": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-modules/-/dsh-client-modules-0.2.3-alpha.2.tgz", + "integrity": "sha512-cX4JM2Igk28k9EW6T1tUHcMwIQLW5s9wmbBQN4CD5nststHYnOJI1zsoo+n/BWWDtO6XmIi2CbBuUV1yh159kg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-client-store": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-store/-/dsh-client-store-0.2.3-alpha.2.tgz", + "integrity": "sha512-8tYJx2U0/3n137D77RXMaFqQDwOM8ajepVqwZdz/3sca2IGnjzw4iDMbEwX7x/UYpHSzwR2FmN02cpSKiz/ZmQ==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-client-ui-primitives": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-primitives/-/dsh-client-ui-primitives-0.2.3-alpha.2.tgz", + "integrity": "sha512-IfdmimIoxj6hJCaLiRw333BXCupJ2XjDFLrTwKpince89jTTuX34E2WDo5WKIaFajoPhrGzJQ0H2MF8Dx0L83g==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-client-ui-renderer": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-renderer/-/dsh-client-ui-renderer-0.2.3-alpha.2.tgz", + "integrity": "sha512-03dAODr5AnhDvjvpwb/dkcwxLOSn39S3Vk6/glnEuOKbC6BgDUt7yCVTsy/8WIlO0vtOu2depDn8dMCbSyupVg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-client-ui-slots": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-slots/-/dsh-client-ui-slots-0.2.3-alpha.2.tgz", + "integrity": "sha512-4/WtIv72F1YkFPAaIF/Y0RZK2BDo7zvk/T99II2TeViWdmd8AS6RlJpRwVe3VpaHhqPRsbPXTLnTHd9czS3uAQ==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-util-code-language": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-code-language/-/dsh-util-code-language-0.2.3-alpha.2.tgz", + "integrity": "sha512-bFtMuOVECFGONXd7kgTd2J2GfFgxI+MNA5FCoJHqLQFq0C1rr1monK7k7wCqI8Qi0yX3F9FLxvxhHJSUzLTq6A==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-util-workspace-path": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-workspace-path/-/dsh-util-workspace-path-0.2.3-alpha.2.tgz", + "integrity": "sha512-UQ4CsHT3x1RT4vdFLf90X2ZBEgG039nQci+FqZzCXZASOhV04EJN7L/w+6XoSemfIR7OSQbghoQ4qRDTUdRWfA==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/schemastery": { + "version": "3.20.0-alpha.1", + "resolved": "https://registry.npmjs.org/@deepseek-ai/schemastery/-/schemastery-3.20.0-alpha.1.tgz", + "integrity": "sha512-FOiLPnQmNNDz5kDzAMXQOjSAY6SZNHiz3CIOKOPqTZGwZTGCKqbTYtG9lQMi9sjOMUzqQPBH0lFunYsnlg8ddg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.10.0-alpha.1", + "@standard-schema/spec": "^1.1.0" + } + }, + "node_modules/@shikijs/core": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-4.6.0.tgz", + "integrity": "sha512-bfd4OKgvoyXYiYmMRuleA656P4V7M/Du9lcTl38Ngm6KszMj7bq4J1IGZwSYR4c95Tv5UQALtYNWUwaI9UT3xw==", + "license": "MIT", + "dependencies": { + "@shikijs/primitive": "4.6.0", + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0", + "@types/hast": "^3.0.5", + "hast-util-to-html": "^9.0.6" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/engine-javascript": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-4.6.0.tgz", + "integrity": "sha512-K0oqxFoL+kEMdz89mHLFO15Tsbv3kFZ6WR1cXZKMvLSc+oqaM00A6pyga1qSeXB22dP0tTiSApRcGBaKWsEccg==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0", + "oniguruma-to-es": "^4.3.6" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/engine-oniguruma": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-4.6.0.tgz", + "integrity": "sha512-aggd6Q7SuJOXNnsUbfG2XesxBJKBMAw/PDTUo9PyRjMaaJJ2dNrI+q0C+25ARXAK9yLHAlwxc9oRT2u68YKZ7w==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/langs": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-4.6.0.tgz", + "integrity": "sha512-1yMEX3oCVV54LUq/ovfpRkDQoYDkcvjSWFFa/YLUDMiSoRzMi2uxLJYbv41ahT8Lu9lFMaa7hecd3Q39trqUyg==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/primitive": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/primitive/-/primitive-4.6.0.tgz", + "integrity": "sha512-c54+TQEo9ToqgfL/AU8FpjnV09+GA9Oa7M5ROkkXteZfp5XzpAJGXjjvZQFQioJOwm/w/6Z3lIzQstAkl8coag==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0", + "@types/hast": "^3.0.5" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/themes": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-4.6.0.tgz", + "integrity": "sha512-qHAVAs80RiGD+IRuH9G+JPDOEc9A/kHsng4EzCUCwB9bLzW6Z0y9WETh2YyCcADJBmfrIaJ1Jp7KBNP6FHkgtQ==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "4.6.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/types": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.6.0.tgz", + "integrity": "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==", + "license": "MIT", + "dependencies": { + "@shikijs/vscode-textmate": "^10.1.0", + "@types/hast": "^3.0.5" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@shikijs/vscode-textmate": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.1.0.tgz", + "integrity": "sha512-cVBuhDQjBZaNMTwBquYfPydrUP+E3hE6oYGasx8h6ZrODIM7/r+gxLDXdd66oszbrggZHEntdE6j+5gYIVyMWQ==", + "license": "MIT" + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/@types/debug": { + "version": "4.1.13", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", + "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/hast": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", + "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==", + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/katex": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.8.tgz", + "integrity": "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==", + "license": "MIT" + }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "license": "MIT" + }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", + "license": "MIT" + }, + "node_modules/@ungap/structured-clone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", + "license": "ISC" + }, + "node_modules/anser": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/anser/-/anser-2.3.5.tgz", + "integrity": "sha512-vcZjxvvVoxTeR5XBNJB38oTu/7eDCZlwdz32N1eNgpyPF7j/Z7Idf+CUwQOkKKpJ7RJyjxgLHCM7vdIK0iCNMQ==", + "license": "MIT" + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/commander": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.1.0.tgz", + "integrity": "sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==", + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decode-named-character-reference": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", + "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", + "license": "MIT", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "license": "MIT", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/diff": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz", + "integrity": "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hast-util-to-html": { + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.7.tgz", + "integrity": "sha512-HYNDA3qdnzUPitY/LcQm1nWs8z0cWFNH1Nz09jdI/tXifAqF7h3+jrLl4S/b9Mi4VSjn0Dsn54ctuTV6zhBthA==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-whitespace": "^3.0.0", + "html-void-elements": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "stringify-entities": "^4.0.0", + "zwitch": "^2.0.4" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/html-void-elements": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", + "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/immer": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.2.0.tgz", + "integrity": "sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/katex": { + "version": "0.18.10", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.18.10.tgz", + "integrity": "sha512-/B6p9eY9DX7aHBfpkHdpirDTZ5QH9xTwL9y837PWuzuv41O5jFdqNQwVQEQsimY0/iVNkwBY4+4hMfhQ7d4Dbw==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^15.0.0" + }, + "bin": { + "katex": "cli.js" + } + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/markdown-table": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.1.0.tgz", + "integrity": "sha512-xpeSCdM+B+6P3ncfgaB7FoDbtJ30xAe6Z18TGT7AgXJsHqCElCICZovQqdRMm7kHgpTyYv36EupqewoFFSB8vw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.5.tgz", + "integrity": "sha512-of3wZLEBWpK8mSYy8wmKnwyxfUKjhCkXxGLz45DVBqfcahTP37LscCK+0oAZh+ReZ5OunPDkB2zdGMIxrojLhw==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.1.0.tgz", + "integrity": "sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", + "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.1.2.tgz", + "integrity": "sha512-rAlbZBGZfv2YRr6lSFGHTN305KkNawOYRRlbldFyPHnTlHJZwlGdzVwyIDvr3fxbhRbmJOSZc06c8H5Fgfu8Ng==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.1.tgz", + "integrity": "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.1.tgz", + "integrity": "sha512-fiIjPrAy4kz68/eFbPHhsiWDGHhqUSVoU1XsfLM5DsEPXw7MxgiVVyulUggFRckVWeT1KXQXkg5vm3kv4oMSOA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "mdast-util-to-string": "^4.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.1.tgz", + "integrity": "sha512-jXVO1hvB2hs82g1esi7I9nIJDqiijbQLIyH2jDUb5s7jIAZMr/79h0VHSq7XHKTqpLARRm+DDNjduB7S9+6XZA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-math": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz", + "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "longest-streak": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.1.0", + "unist-util-remove-position": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-hast": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.2.tgz", + "integrity": "sha512-l2pnmOuqs+SGLVpTVXnRLQu5v1AzvDe181404fbXzzqObVxrAnnVxapAP27pUwzLBL/ABIkgUhGlPVU7QSvIFg==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.2.4.tgz", + "integrity": "sha512-aCsogoZ2Oz1EItAlC12A+/uGuzp+CWlDU0xZ3o5jbJaepLsOu2tlxpvHslnX5dRhspD1gxNVkBtYG0yMiIpXoQ==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz", + "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-edit-map": "^1.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz", + "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.1.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-edit-map": "^1.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.3" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "license": "MIT", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz", + "integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "license": "MIT", + "dependencies": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-math/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/micromark-extension-math/node_modules/katex": { + "version": "0.16.47", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz", + "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^8.3.0" + }, + "bin": { + "katex": "cli.js" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz", + "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-edit-map": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz", + "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-types": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz", + "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/oniguruma-parser": { + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.2.tgz", + "integrity": "sha512-6HVa5oIrgMC6aA6WF6XyyqbhRPJrKR02L20+2+zpDtO5QAzGHAUGw5TKQvwi5vctNnRHkJYmjAhRVQF2EKdTQw==", + "license": "MIT" + }, + "node_modules/oniguruma-to-es": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.6.tgz", + "integrity": "sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==", + "license": "MIT", + "dependencies": { + "oniguruma-parser": "^0.12.2", + "regex": "^6.1.0", + "regex-recursion": "^6.0.2" + } + }, + "node_modules/property-information": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz", + "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/regex/-/regex-6.1.0.tgz", + "integrity": "sha512-6VwtthbV4o/7+OaAF9I5L5V3llLEsoPyq9P1JVXkedTP33c7MfCG0/5NOPcSJn0TzXcG9YUrR0gQSWioew3LDg==", + "license": "MIT", + "dependencies": { + "regex-utilities": "^2.3.0" + } + }, + "node_modules/regex-recursion": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-6.0.2.tgz", + "integrity": "sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==", + "license": "MIT", + "dependencies": { + "regex-utilities": "^2.3.0" + } + }, + "node_modules/regex-utilities": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz", + "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==", + "license": "MIT" + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/shiki": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-4.6.0.tgz", + "integrity": "sha512-imjLsVHgPuWhvpU3P+zOekvMYqnel7QmKsFC4Sn0fCuAvaaalBsxwKEsrU8Ko5BdFnZA6Go/8a0RzahS634UgA==", + "license": "MIT", + "dependencies": { + "@shikijs/core": "4.6.0", + "@shikijs/engine-javascript": "4.6.0", + "@shikijs/engine-oniguruma": "4.6.0", + "@shikijs/langs": "4.6.0", + "@shikijs/themes": "4.6.0", + "@shikijs/types": "4.6.0", + "@shikijs/vscode-textmate": "^10.1.0", + "@types/hast": "^3.0.5" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/simple-icons": { + "version": "16.31.0", + "resolved": "https://registry.npmjs.org/simple-icons/-/simple-icons-16.31.0.tgz", + "integrity": "sha512-dDEqvQrmxL7ZnqQtGHGjCNW6CfiwzAif+83Hol9JXAnAB6wh2zsZD7Sc1kWT0O/RRAKt7xfG8W6UZhYBPD+GAA==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/simple-icons" + }, + { + "type": "github", + "url": "https://github.com/sponsors/simple-icons" + } + ], + "license": "CC0-1.0", + "engines": { + "node": ">=0.12.18" + } + }, + "node_modules/space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/stringify-entities": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.5.tgz", + "integrity": "sha512-jNuI2fNNw5ecxrWmgm90R3iH0Kc/94AQwoQWoSUYphWzvmUA2pjFG34H56Z7Z3FkvH3FpYwwewKAa97oQnPFhw==", + "license": "MIT", + "dependencies": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/unist-util-is": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz", + "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-remove-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", + "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.2.0.tgz", + "integrity": "sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.1.0.tgz", + "integrity": "sha512-vKXxz6O38sKDj1mtx/k2cWvkkFBuYGx6uGrlzBkVeWCRF/F8sdI0j3Wbkz/5rVNRRuVc8UrgRdbCxNhmYXgP3w==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/use-sync-external-store": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz", + "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.4.tgz", + "integrity": "sha512-66ycRswIkNmHH9PHku7ADtv5RVwgIrOcuv3J8Svz6h4qgGRrKVa+9/neuKyJZUXyOpYwLTvS+whZ4R2urHHgQg==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/zustand": { + "version": "4.5.7", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz", + "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==", + "license": "MIT", + "dependencies": { + "use-sync-external-store": "^1.2.2" + }, + "engines": { + "node": ">=12.7.0" + }, + "peerDependencies": { + "@types/react": ">=16.8", + "immer": ">=9.0.6", + "react": ">=16.8" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + } + } + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + } +} diff --git a/test/fixtures/client-host-0.2.3-alpha.2/package.json b/test/fixtures/client-host-0.2.3-alpha.2/package.json new file mode 100644 index 0000000..4a737cc --- /dev/null +++ b/test/fixtures/client-host-0.2.3-alpha.2/package.json @@ -0,0 +1,42 @@ +{ + "name": "dsh-archived-chats-client-host-0.2.3-alpha.2-fixture", + "private": true, + "type": "module", + "engines": { + "node": "^24.22.3 || >=26.13.1" + }, + "dependencies": { + "@deepseek-ai/cordis": "4.2.0-alpha.1", + "@deepseek-ai/dsh-client-locale": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-modules": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-store": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-ui-renderer": "0.2.3-alpha.2", + "@deepseek-ai/dsh-client-ui-slots": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-code-language": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-workspace-path": "0.2.3-alpha.2", + "@shikijs/langs": "^4.4.3", + "anser": "^2.3.5", + "clsx": "^2.0.0", + "diff": "^9.0.0", + "immer": "^10.1.1", + "katex": "^0.18.7", + "mdast-util-from-markdown": "^2.1.0", + "mdast-util-gfm": "^3.1.0", + "mdast-util-math": "^3.0.0", + "micromark-core-commonmark": "^2.0.3", + "micromark-extension-gfm": "^3.0.0", + "micromark-extension-math": "^3.1.0", + "micromark-factory-space": "^2.0.1", + "micromark-util-character": "^2.1.1", + "micromark-util-classify-character": "^2.0.1", + "micromark-util-decode-string": "^2.0.1", + "micromark-util-sanitize-uri": "^2.0.1", + "micromark-util-symbol": "^2.0.1", + "react": "18.3.1", + "react-dom": "18.3.1", + "shiki": "^4.4.3", + "simple-icons": "16.31.0", + "zustand": "~4.5.7" + } +} diff --git a/test/fixtures/native-host-0.2.2-rc.2/package-lock.json b/test/fixtures/native-host-0.2.2-rc.2/package-lock.json new file mode 100644 index 0000000..f4e0989 --- /dev/null +++ b/test/fixtures/native-host-0.2.2-rc.2/package-lock.json @@ -0,0 +1,914 @@ +{ + "name": "dsh-archived-chats-native-host-0.2.2-rc.2-fixture", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "dsh-archived-chats-native-host-0.2.2-rc.2-fixture", + "version": "0.0.0", + "dependencies": { + "@deepseek-ai/cordis": "4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-projection-cache": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-title": "0.2.2-rc.2", + "@deepseek-ai/dsh-storage": "0.2.2-rc.2", + "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.2", + "@deepseek-ai/dsh-storage-json": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/cordis": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cordis/-/cordis-4.1.0.tgz", + "integrity": "sha512-CJrjNyBkKn1SfvBQUcgFYKFnLjS+uKrhdMsbHU60xabvi12d+xQ+IQSNlME5Z+B+4Zi6n4BDknKY94tEPeo47w==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.9.0", + "@standard-schema/spec": "^1.1.0" + }, + "bin": { + "cordis": "bin.js" + }, + "peerDependencies": { + "@deepseek-ai/cordis-plugin-include": "~1.1.0", + "@deepseek-ai/cordis-plugin-loader": "~1.1.0" + }, + "peerDependenciesMeta": { + "@deepseek-ai/cordis-plugin-include": { + "optional": true + }, + "@deepseek-ai/cordis-plugin-loader": { + "optional": true + } + } + }, + "node_modules/@deepseek-ai/cosmokit": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cosmokit/-/cosmokit-1.9.0.tgz", + "integrity": "sha512-5O1S53mZiJyZYcvxxD0Qv1EY7qFPSxbGyD8CbVK6gw7W9FvcXZj2YIX1ZkOqyQQ3Xt2rFkZDHJv0+V3Zmmp8CA==", + "license": "MIT" + }, + "node_modules/@deepseek-ai/dsh-agent": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-agent/-/dsh-agent-0.2.2-rc.2.tgz", + "integrity": "sha512-UsbQ3QBB8Gl8YTzQ7ScuXHuuI8o+1m1vZktAA3ayzxZHxvX1uRAG3kYkKf8sDRlkhue63Zb+DfAw3VPjd3PSpw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-scope": "0.2.2-rc.2", + "@deepseek-ai/dsh-session": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2", + "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.2", + "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.2", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2", + "@deepseek-ai/dsh-workspace": "0.2.2-rc.2" + }, + "peerDependenciesMeta": { + "@deepseek-ai/dsh-workspace": { + "optional": true + } + } + }, + "node_modules/@deepseek-ai/dsh-attachment": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-attachment/-/dsh-attachment-0.2.2-rc.2.tgz", + "integrity": "sha512-RJhEhhOUVG2+iw1XT5B3o3xjB3xiNuBFLacY9pAfxkpnu34SgQ0D4Ejynpb3XQJwZgxWYmizwGTv1HszDnWk8w==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "@deepseek-ai/dsh-error": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-brand": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-brand/-/dsh-brand-0.2.2-rc.2.tgz", + "integrity": "sha512-K3hntZPkzBLTjp+2yF3zMRltjropMeRpJGedQGBl1pO1Bm35Uc3auhzV3SPZ1UcoDPdTu0dhK2+TSOVCOTIySg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-commands": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-commands/-/dsh-commands-0.2.2-rc.2.tgz", + "integrity": "sha512-TbBeQFOPRlLH6NznOYIp6XoEnd/rAqTuk1PQZJ3M9Oe1e2zD2/Y8V1wg80qO9V0pNSS+8uABSP1jERbb+lvIYw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/dsh-util-crypto": "0.2.2-rc.2", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-agent": "0.2.2-rc.2", + "@deepseek-ai/dsh-attachment": "0.2.2-rc.2", + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-scope": "0.2.2-rc.2", + "@deepseek-ai/dsh-session": "0.2.2-rc.2", + "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-compaction": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-compaction/-/dsh-compaction-0.2.2-rc.2.tgz", + "integrity": "sha512-Th2Ymoby6g9QBDqV3kPoOsHdicDvwFRyjyxflcccV+pqa2YauLPzDXectVujxNSUWaHaqlDApmL1wolGjqOlHg==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "@deepseek-ai/dsh-commands": "0.2.2-rc.2", + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-session": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-compaction-image-offload": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-compaction-image-offload/-/dsh-compaction-image-offload-0.2.2-rc.2.tgz", + "integrity": "sha512-A3iYmN8hb6papId5qMSdGVDyr8J+dYGdQB0MQcZfZEIfNdi+fpxZO41nDql58eRVN6mnxvDAlPu//q7z+ulHig==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-agent": "0.2.2-rc.2", + "@deepseek-ai/dsh-compaction": "0.2.2-rc.2", + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-session": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-error": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-error/-/dsh-error-0.2.2-rc.2.tgz", + "integrity": "sha512-ZcBfesP29jBu9FZjb7NK7dU5JLDFmLu/cWVQtkzeU69s22LjRXhj4JmJJ7dxggSFJH8jLQKxGJGm6Er05iSMvg==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-llm": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-llm/-/dsh-llm-0.2.2-rc.2.tgz", + "integrity": "sha512-JPUhqQP4Z/XGX0t7fNvzPUoCSzBRar1ZLbpbZ/evCCvoBVFKtONbKLUyIyS2GOw6Z8bnCEbCIs2Da25SZ6aiVQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "@deepseek-ai/dsh-timeout": "0.2.2-rc.2", + "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.2", + "@deepseek-ai/dsh-util-crypto": "0.2.2-rc.2", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2", + "@deepseek-ai/schemastery": "~3.19.0", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-error": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-scope": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-scope/-/dsh-scope-0.2.2-rc.2.tgz", + "integrity": "sha512-k4FuRM7rc4fClWojzosBWFt+dq6blkaf8p0L4Ov0U6UgtNDMH9G6m1eStzBnaGpFlPkIQ4yLo4KlgO8TVsfjpA==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session/-/dsh-session-0.2.2-rc.2.tgz", + "integrity": "sha512-OiVq3aZWfGjV3/YxebTKo3WozOUz9aGSG/IZnN0medfciAhprh5VkZTCWvwxQCFCN1I9b38Y5RZbwqcCX+m7Eg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-scope": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-format": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format/-/dsh-session-format-0.2.2-rc.2.tgz", + "integrity": "sha512-m4/ZVaS8a3YTZf0E4g7BlttFYG8zURPCN1GpSTkMJt3706h6LaFZf8FjXBY7jAEVpYr1dJNw0ljOSGo0e3pyOw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-catalog": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-catalog/-/dsh-session-format-catalog-0.2.2-rc.2.tgz", + "integrity": "sha512-PHbm4siDJl+zOOR7EhA/DxRuvz6Jm8Q8j7koeEhF0CyzEod8o7CsKIoX8IHzK9kPJqPRWpg0Z4O9NZxT6I5RoQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-compaction-image-offload": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v0-to-v1": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v0-to-v1/-/dsh-session-format-v0-to-v1-0.2.2-rc.2.tgz", + "integrity": "sha512-2DgjtTBcB+o2ToSCcu/0RYbYZThJilXKBpL/k+pQa62jK9pJ7+hfevrDc+8dBRj2jvkNC4jcusQsd5oH/0EFsw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.2-rc.2", + "@deepseek-ai/dsh-util-time": "0.2.2-rc.2", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v1-to-v2": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v1-to-v2/-/dsh-session-format-v1-to-v2-0.2.2-rc.2.tgz", + "integrity": "sha512-DfNYqYgE9r5HBbe4/jSO/RXFAKT4iMG8wa7B1qzlDYbv2t7bd06Win9LrsVQAPqpO8dTYZt0nrjQHOemU4z2kA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.2", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v2-to-v3": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v2-to-v3/-/dsh-session-format-v2-to-v3-0.2.2-rc.2.tgz", + "integrity": "sha512-MTbIVMP3Gdu+7ezeDSxMRxlzYHM8zrgyMZakxwf+AU+VL352AphhpV0VcOpwkMJGgRB9amar84JzlkmYZvGKMA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v3-to-v4": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v3-to-v4/-/dsh-session-format-v3-to-v4-0.2.2-rc.2.tgz", + "integrity": "sha512-1M6OefOUKy/BVkF72GJAT6zdcOXqYztJaUHTaIwMdwVVSP4kmx8G+6rg+rb6HomKKwQK3LkCRgOXTeQ5euOetg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-persistence": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence/-/dsh-session-persistence-0.2.2-rc.2.tgz", + "integrity": "sha512-UKFhQScoKnpwwfdVAkcet6j3Y0DINqXTpUrPxURZALcalWCS1xaeVvK8EhBCJ3wTY1wluk2ppN1Cb5F8QH6mqA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "@deepseek-ai/dsh-session": "0.2.2-rc.2", + "@deepseek-ai/dsh-timeout": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-persistence-jsonl": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence-jsonl/-/dsh-session-persistence-jsonl-0.2.2-rc.2.tgz", + "integrity": "sha512-kF/idyzf7sZM5JvoZFgxPSZC3+keDWTIZa8AfZ3KcAJ5m5RwUOx1CMcq7bKaZ4weV4fjg+LyZ1vHfGVb4nIs1g==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-catalog": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.2-rc.2", + "@deepseek-ai/node-addon-system": "~0.1.2", + "@deepseek-ai/schemastery": "~3.19.0", + "koffi": "3.1.1", + "p-limit": "7.3.3" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-projection": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-projection/-/dsh-session-projection-0.2.2-rc.2.tgz", + "integrity": "sha512-QF7WEX4SIe6qJmwJdgzX51F+ytVN1wl7ojUwnhGk39YXpgumuyVlQqCtBrqzuKMMdMjrCWCoPKCvVxZQKCWGhA==", + "license": "MIT", + "dependencies": { + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-projection-cache": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-projection-cache/-/dsh-session-projection-cache-0.2.2-rc.2.tgz", + "integrity": "sha512-ULm5aUDv8cjSOfbaFUEAGlLje89yt3XqWMFutl/+vl57g+c5jX7a6TW9R8Nd1USVZLKXUTLUDYKqzYeN1mtggA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2", + "@deepseek-ai/schemastery": "~3.19.0", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2", + "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-title": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-title/-/dsh-session-title-0.2.2-rc.2.tgz", + "integrity": "sha512-MQGtvQ2/lgJeTMu1F7IVKYAijjfbtP18MYRBsMQe1grppBEqXwTUQSMtYiinhdMof9v6atCbGAKUpzzcN5euDQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.2", + "@deepseek-ai/schemastery": "~3.19.0", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-agent": "0.2.2-rc.2", + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-session": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-storage": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage/-/dsh-storage-0.2.2-rc.2.tgz", + "integrity": "sha512-G5TvHRSrr7mocmj6bol38p6DV6UTlfjXGFYChdGfzRNUPx5tNY8kdBtDG+XPnjPad7oUozB+YA9OqzjBtVQ/Fw==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-storage-domain": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-domain/-/dsh-storage-domain-0.2.2-rc.2.tgz", + "integrity": "sha512-HhxoHB5mCcz51cCJcaLaqxS9AbcgO19c+NC99gHyL0zrAna6z02kQ74uPzxnS0HXXuTWgQvkvO2K3ZLyyzn2qw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/schemastery": "~3.19.0", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-storage": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-storage-json": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-json/-/dsh-storage-json-0.2.2-rc.2.tgz", + "integrity": "sha512-xvLgHEpIAfszyA5hmyCTmCBte2pvS7xydgQsaoDR8T3jacXHbfHj7Ah00EwwLC0vXErRPA/10LAlLv2c/0b+RA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/schemastery": "~3.19.0" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-storage": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-system-prompt": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-system-prompt/-/dsh-system-prompt-0.2.2-rc.2.tgz", + "integrity": "sha512-HxioKGJueKqCef7y4V20dh/stxdRPzjnDeBzOyI+VEBjD0dbHpsLxmk3wIB3E27WShmryGl8gRTspDqtFObbsw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/schemastery": "~3.19.0" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-llm": "0.2.2-rc.2", + "@deepseek-ai/dsh-scope": "0.2.2-rc.2" + } + }, + "node_modules/@deepseek-ai/dsh-timeout": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-timeout/-/dsh-timeout-0.2.2-rc.2.tgz", + "integrity": "sha512-GU366m+4SJjX1xWL3+gJ7gVPoQwonV3YMfNR19DmKjF55vaqGRD7rpkt/9Q7oklbJn8VFNajd9NfzA0WPjm/5g==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-typert-protocol": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-typert-protocol/-/dsh-typert-protocol-0.2.2-rc.2.tgz", + "integrity": "sha512-yluiJ1nIkZ4oAtEnknHCIi75mlT2/0Ov8+JGXYM7K9Bu2BoazR6Twv6HALh5yCMLEig9TW+NnUfzPRTUfm9tKw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.2-rc.2", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-util-crypto": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-crypto/-/dsh-util-crypto-0.2.2-rc.2.tgz", + "integrity": "sha512-nmPF4brPb7Qgl5h5mG4JWeTqtXbvk4pCS5dVOyCQ5mDm7e0OcEYTUWlCb8C90CNxnqwGM1bEWe3sZZObA+FM4w==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-util-time": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-time/-/dsh-util-time-0.2.2-rc.2.tgz", + "integrity": "sha512-ptrFczIPlrtXBS7OZSBFr7yEnlFfnxFViB+itEMbAXFM5VhaFmL14Mu7HQJONtWye1HFkj72zbYXesP19JgsCg==", + "license": "MIT", + "dependencies": { + "@js-temporal/polyfill": "0.5.1", + "rrule": "2.8.1" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-util-values": { + "version": "0.2.2-rc.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-values/-/dsh-util-values-0.2.2-rc.2.tgz", + "integrity": "sha512-a3sZ9xyE9CMReeNJ0jkaSy/h2C8Hqw1ktOIPaP5A8Z1liaWf66Uoy/1IXuweUSHksUN+1bQnRfn5TZQV4SyU1A==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/node-addon-system": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system/-/node-addon-system-0.1.2.tgz", + "integrity": "sha512-EFn8K+mXIXiw6s3rxX+cgp2hZTEAQdVIsURhrXnBxycSXvtQ1EQpsSVzoNKtKAQI0I0VqkEcVEjHzS/PeaGsvw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=20" + }, + "optionalDependencies": { + "@deepseek-ai/node-addon-system-darwin-arm64": "0.1.2", + "@deepseek-ai/node-addon-system-darwin-x64": "0.1.2", + "@deepseek-ai/node-addon-system-linux-arm64": "0.1.2", + "@deepseek-ai/node-addon-system-linux-x64": "0.1.2" + } + }, + "node_modules/@deepseek-ai/node-addon-system-darwin-arm64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-darwin-arm64/-/node-addon-system-darwin-arm64-0.1.2.tgz", + "integrity": "sha512-IR0cx8um19mLCZaJ+H5PLblKr6Eg3PWvVo8eTQBr/SwH2nh5tM9CD9/5fHweNS9Pjt15UdFlGqnvLSd/w+O6Rw==", + "cpu": [ + "arm64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-darwin-x64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-darwin-x64/-/node-addon-system-darwin-x64-0.1.2.tgz", + "integrity": "sha512-XDbmquNapk9aT28y4EKn9lbONVr9YNs1NM/GKH1Gi5gUhjOT9wgRaTv72FJdNaVIInbPAYbPoyn7/y+MzQMNNg==", + "cpu": [ + "x64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-linux-arm64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-linux-arm64/-/node-addon-system-linux-arm64-0.1.2.tgz", + "integrity": "sha512-Z/DQtqgEYzjBzb2ocHGjMzx51W7xDILkJKKj89nyErr8gZMNiLs+JNL1uKzJqc3VLZB+vYCPaHGyQ3oX6EzEmA==", + "cpu": [ + "arm64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-linux-x64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-linux-x64/-/node-addon-system-linux-x64-0.1.2.tgz", + "integrity": "sha512-S2aPVHvYCpNCppCFyNlooMYuTB7ucK5lvD9oXQQ42v5Z2s5AoaiCdjz9r2l+ED2rI5oS1x0cUZmKjJH2dxV0pg==", + "cpu": [ + "x64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/schemastery": { + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/schemastery/-/schemastery-3.19.0.tgz", + "integrity": "sha512-bDXoYQa7ghAhmdYD5VPlzKxEzJV/aKkz5l4V5h1u06z8GAPN1ROewSjvR9WiXhpa52E9fng8lpH5QdCRIQgnyQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.9.0", + "@standard-schema/spec": "^1.1.0" + } + }, + "node_modules/@js-temporal/polyfill": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@js-temporal/polyfill/-/polyfill-0.5.1.tgz", + "integrity": "sha512-hloP58zRVCRSpgDxmqCWJNlizAlUgJFqG2ypq79DCvyv9tHjRYMDOcPFjzfl/A1/YxDvRCZz8wvZvmapQnKwFQ==", + "license": "ISC", + "dependencies": { + "jsbi": "^4.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@koromix/koffi-darwin-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-arm64/-/koffi-darwin-arm64-3.1.1.tgz", + "integrity": "sha512-+Dl0zQDh1Wb55AWOn9hp7K30qgkODvrvN+ZNkFOh81Q0oFX/rpJQtocgjAuYk2zFAcajSeVDumkcHMPwnKSXzA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-darwin-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-x64/-/koffi-darwin-x64-3.1.1.tgz", + "integrity": "sha512-cDFAKn1qdZBFLrp7dAc9QUDw3l4xAhTJbOdPWWb0LxssVicUdHcRCLZGrDsmPW2tpH6LGNNeLgqRpAoD2Mo8iA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-arm64/-/koffi-freebsd-arm64-3.1.1.tgz", + "integrity": "sha512-zaP7FJISI/scQW9Wa5QicY3a09WmtKBWSbmC+5nfCqPzwWe7Hx2so74Er7mPsDfCiMMR0Ya+evKbJQDkfyXicg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-ia32/-/koffi-freebsd-ia32-3.1.1.tgz", + "integrity": "sha512-7GejVb688TLM8rbjfc0oezJrATxZc0dn801xWEDJekN2DgmRXu7HquGqWQ6z3NeSq7ZxEggz4T3xtlbCysQapA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-x64/-/koffi-freebsd-x64-3.1.1.tgz", + "integrity": "sha512-XLiCFP9OFCyOoGTjAimtDKLhzhfo34WcP1ShVWxRzNCWDGjfz8BYjwd69cp/cDSUXZbxamqs4+/6vmkePq9wxA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-arm64/-/koffi-linux-arm64-3.1.1.tgz", + "integrity": "sha512-HA9xINK7G4dRAkpfnBWD9VfuyIBgW1SuK+KPHjksUwRMOnhgqP8J/JqgrAzdzcDiefGBkqEacIP776OUwz7knQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-ia32/-/koffi-linux-ia32-3.1.1.tgz", + "integrity": "sha512-jG7IFytmP8K5Qtbx0ro0ZeuX3JjSsLxmYhq+nmXDdrtOAlxIsWGynuiDLS6Jk3vOchVii2m6Y2f/L3GLG2fG5A==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-loong64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-loong64/-/koffi-linux-loong64-3.1.1.tgz", + "integrity": "sha512-CIsT1cNnih8FuU52Me/IVlJBpH28SQfoDeYPctJswgJzaARktusF7m4MUbtR1PBDjuquCVM4/vFyNdOzfPonvA==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-riscv64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-riscv64/-/koffi-linux-riscv64-3.1.1.tgz", + "integrity": "sha512-9D6RmqeKsSvs3U6jILJU9PcAjMwKKyn7yLxNBb5k6z9PCoUoGJ3/BrhXAX0qjrLLwEiIpP/hS/40RuXvH8Lc3Q==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-x64/-/koffi-linux-x64-3.1.1.tgz", + "integrity": "sha512-pyTcX5fePeYbt7TZAwRby69wdlRx3PT+g15ra5IYdat/Pgh3qAKEYeZ+uu7WpPGOy43p/oSRqqZoa2kORzozlA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-ia32/-/koffi-openbsd-ia32-3.1.1.tgz", + "integrity": "sha512-iPnPzvG2HOfdzaiG1drdkt86sAqmTPDv9mAf+5gL7mRzkeeQC88EVGboRy7eXwdXn7R+v0ntA3iQxdHrBn6yXw==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-x64/-/koffi-openbsd-x64-3.1.1.tgz", + "integrity": "sha512-/Xqc3R0SVoMCYjMPZnJ9bULtRo364+dKmnQhfDrI83tSpxUHRw7HRNf12vBeL+hPgKxSBjtMpWfQ/ZIyVyLFag==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-arm64/-/koffi-win32-arm64-3.1.1.tgz", + "integrity": "sha512-JhqHauEwQvdcWUERxrV5HH/DT9W7hY1A1eU6/o8tB+yck+D3kt5elpRDBt9KjpW6h+vHPy3V0sjDvO0CXyabTA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-ia32/-/koffi-win32-ia32-3.1.1.tgz", + "integrity": "sha512-ZRuyYmlGS/rCc966qqs0qREXDW4FRdul7rDF1VgSWHbVmdc196PUgUT+blq/GjZgTwqzeEXtMRgM+cU8krHjvA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-x64/-/koffi-win32-x64-3.1.1.tgz", + "integrity": "sha512-KqHPmvj6QILhNyI/To8QSihHsijeVGIYYPBOUnXEpcnH2LuLbargY4Hd6dDeTN3Z90uUUxN+1FWz1UnhVzFOiA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/jsbi": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/jsbi/-/jsbi-4.3.2.tgz", + "integrity": "sha512-9fqMSQbhJykSeii05nxKl4m6Eqn2P6rOlYiS+C5Dr/HPIU/7yZxu5qzbs40tgaFORiw2Amd0mirjxatXYMkIew==", + "license": "Apache-2.0" + }, + "node_modules/koffi": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/koffi/-/koffi-3.1.1.tgz", + "integrity": "sha512-mRX6AMeeKCxSOeOopqAcLAl5jcNvge7NAG8l7rF/8gGJATI0tdHFYjteIdE0mGOtWdsrJOij+PjnP8Q9c1gwgA==", + "hasInstallScript": true, + "license": "MIT", + "funding": { + "url": "https://liberapay.com/Koromix" + }, + "optionalDependencies": { + "@koromix/koffi-darwin-arm64": "3.1.1", + "@koromix/koffi-darwin-x64": "3.1.1", + "@koromix/koffi-freebsd-arm64": "3.1.1", + "@koromix/koffi-freebsd-ia32": "3.1.1", + "@koromix/koffi-freebsd-x64": "3.1.1", + "@koromix/koffi-linux-arm64": "3.1.1", + "@koromix/koffi-linux-ia32": "3.1.1", + "@koromix/koffi-linux-loong64": "3.1.1", + "@koromix/koffi-linux-riscv64": "3.1.1", + "@koromix/koffi-linux-x64": "3.1.1", + "@koromix/koffi-openbsd-ia32": "3.1.1", + "@koromix/koffi-openbsd-x64": "3.1.1", + "@koromix/koffi-win32-arm64": "3.1.1", + "@koromix/koffi-win32-ia32": "3.1.1", + "@koromix/koffi-win32-x64": "3.1.1" + } + }, + "node_modules/p-limit": { + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-7.3.3.tgz", + "integrity": "sha512-SKgVvDU5TNIxQ4r30U75BNLC6a+6GOEjngrk/ysM5+Zu3oJuk1SC5ApzIzY/7PjCEjoVPMWJ0zho/4QUiEB7TQ==", + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.2.1" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rrule": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/rrule/-/rrule-2.8.1.tgz", + "integrity": "sha512-hM3dHSBMeaJ0Ktp7W38BJZ7O1zOgaFEsn41PDk+yHoEtfLV+PoJt9E9xAlZiWgf/iqEqionN0ebHFZIDAp+iGw==", + "license": "BSD-3-Clause", + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/tslib": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", + "license": "0BSD" + }, + "node_modules/yocto-queue": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.2.tgz", + "integrity": "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==", + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/test/fixtures/native-host-0.2.2-rc.2/package.json b/test/fixtures/native-host-0.2.2-rc.2/package.json new file mode 100644 index 0000000..a150072 --- /dev/null +++ b/test/fixtures/native-host-0.2.2-rc.2/package.json @@ -0,0 +1,21 @@ +{ + "name": "dsh-archived-chats-native-host-0.2.2-rc.2-fixture", + "private": true, + "version": "0.0.0", + "type": "module", + "overrides": { + "zod": "4.6.7" + }, + "dependencies": { + "@deepseek-ai/cordis": "4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-projection-cache": "0.2.2-rc.2", + "@deepseek-ai/dsh-session-title": "0.2.2-rc.2", + "@deepseek-ai/dsh-storage": "0.2.2-rc.2", + "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.2", + "@deepseek-ai/dsh-storage-json": "0.2.2-rc.2" + } +} diff --git a/test/fixtures/native-host-0.2.2-rc.5/package-lock.json b/test/fixtures/native-host-0.2.2-rc.5/package-lock.json new file mode 100644 index 0000000..608af4a --- /dev/null +++ b/test/fixtures/native-host-0.2.2-rc.5/package-lock.json @@ -0,0 +1,914 @@ +{ + "name": "dsh-archived-chats-native-host-0.2.2-rc.5-fixture", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "dsh-archived-chats-native-host-0.2.2-rc.5-fixture", + "version": "0.0.0", + "dependencies": { + "@deepseek-ai/cordis": "4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-projection-cache": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-title": "0.2.2-rc.5", + "@deepseek-ai/dsh-storage": "0.2.2-rc.5", + "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.5", + "@deepseek-ai/dsh-storage-json": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/cordis": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cordis/-/cordis-4.1.0.tgz", + "integrity": "sha512-CJrjNyBkKn1SfvBQUcgFYKFnLjS+uKrhdMsbHU60xabvi12d+xQ+IQSNlME5Z+B+4Zi6n4BDknKY94tEPeo47w==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.9.0", + "@standard-schema/spec": "^1.1.0" + }, + "bin": { + "cordis": "bin.js" + }, + "peerDependencies": { + "@deepseek-ai/cordis-plugin-include": "~1.1.0", + "@deepseek-ai/cordis-plugin-loader": "~1.1.0" + }, + "peerDependenciesMeta": { + "@deepseek-ai/cordis-plugin-include": { + "optional": true + }, + "@deepseek-ai/cordis-plugin-loader": { + "optional": true + } + } + }, + "node_modules/@deepseek-ai/cosmokit": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cosmokit/-/cosmokit-1.9.0.tgz", + "integrity": "sha512-5O1S53mZiJyZYcvxxD0Qv1EY7qFPSxbGyD8CbVK6gw7W9FvcXZj2YIX1ZkOqyQQ3Xt2rFkZDHJv0+V3Zmmp8CA==", + "license": "MIT" + }, + "node_modules/@deepseek-ai/dsh-agent": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-agent/-/dsh-agent-0.2.2-rc.5.tgz", + "integrity": "sha512-nT7dv7OyNmtkGe50RfSlNp8QwbaP66LHr83sZ3wb9J6LJQINZHPhjxVamQ1h2JhnFfi8RSkajl6l2Kdp6GCGqw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-scope": "0.2.2-rc.5", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.5", + "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.5", + "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5", + "@deepseek-ai/dsh-workspace": "0.2.2-rc.5" + }, + "peerDependenciesMeta": { + "@deepseek-ai/dsh-workspace": { + "optional": true + } + } + }, + "node_modules/@deepseek-ai/dsh-attachment": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-attachment/-/dsh-attachment-0.2.2-rc.5.tgz", + "integrity": "sha512-2OIVK/2e++oIciTTD2GT3gRb18WpPBVlOV35YYEqQUxw3VxN+QaHveQ+nus9DZAd/le3VDuq+/3m83i8Nxk9gA==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-error": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-brand": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-brand/-/dsh-brand-0.2.2-rc.5.tgz", + "integrity": "sha512-jkWKCP1nu3silNQSjiBTrK48xmFK617xIhLiakNJURNtON3sjv7h1FxVydw9IhOBcdK4/LakKRoDlV/V8MjOGg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-commands": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-commands/-/dsh-commands-0.2.2-rc.5.tgz", + "integrity": "sha512-Ak2P3/uA6gn0YEtAbqhxHw5LVv4crgrxdfcT59dFaUb1vOqYi5lontmfJcVfiH6gPcPwLDuoo+kO6mULo+GWtg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/dsh-util-crypto": "0.2.2-rc.5", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-agent": "0.2.2-rc.5", + "@deepseek-ai/dsh-attachment": "0.2.2-rc.5", + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-scope": "0.2.2-rc.5", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", + "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-compaction": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-compaction/-/dsh-compaction-0.2.2-rc.5.tgz", + "integrity": "sha512-jXOc07j1+Fhs8HqchbQJFYZewO+L/G6JctdkFM9pmNz/ooFM+7dlfO4VluQraJiKjW75lzoNNz3Sc4NCn3+n0w==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-commands": "0.2.2-rc.5", + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-session": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-compaction-image-offload": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-compaction-image-offload/-/dsh-compaction-image-offload-0.2.2-rc.5.tgz", + "integrity": "sha512-EQ3aNZFx4+ANxjcemetlzD5XVLa+vQNOM+FK0MulBs6wsVXb/YGRLP+DPbS60djHi+xq0JbucfDos0t4zpy/nQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-agent": "0.2.2-rc.5", + "@deepseek-ai/dsh-compaction": "0.2.2-rc.5", + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-session": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-error": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-error/-/dsh-error-0.2.2-rc.5.tgz", + "integrity": "sha512-0QY6i1eHBvXrFQoKK0Z65dD9CvlpA77jH/U/qMt+kuLz9SnnKA4EayFBx8N0Z1It1bA9udE2d5t3yiwhHSDIFg==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-llm": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-llm/-/dsh-llm-0.2.2-rc.5.tgz", + "integrity": "sha512-zT/KCq/lQ5H/wqOaZH8sa6Uq+9x8du1w4MvbbCgdsK3JA2kxh0T5GEcWcvIvU5s7h0L43tnOV7Df5hZNZ+Sj0A==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-timeout": "0.2.2-rc.5", + "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-crypto": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5", + "@deepseek-ai/schemastery": "~3.19.0", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-error": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-scope": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-scope/-/dsh-scope-0.2.2-rc.5.tgz", + "integrity": "sha512-iRmkbchma2F3nhrOgh9ss3D3NPYv0FZRfwyM6wt0MhJMd9R4u1dIbrvlhRNBglF+Nr5rD3yiA4PQjpWclb8XUQ==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session/-/dsh-session-0.2.2-rc.5.tgz", + "integrity": "sha512-77+MOBnQgwjfR1yPkLrnS2nlRECa0gfUt0jwMuTg9FniTz5ca8854m2jmi2F3iHDnQUt3lTwzmy0BLIrok+lZA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-scope": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-session-format": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format/-/dsh-session-format-0.2.2-rc.5.tgz", + "integrity": "sha512-mqOac23v9bvQsugOnrpbC/JgRJmSpqEYTTLI7gyb+4lI9kEDb1gniGTvvjC3wz9CC2bisMZ19SzUafQcQjrW9w==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-catalog": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-catalog/-/dsh-session-format-catalog-0.2.2-rc.5.tgz", + "integrity": "sha512-Qu9V0B5trv2z7fphgNH0XBUY/5U06tjg2MpDh3SIWp9SbE2jPkpVPFvfCRjfmAorkEyW3WOyFcn6D+50yVyx+g==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-compaction-image-offload": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v0-to-v1": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v0-to-v1/-/dsh-session-format-v0-to-v1-0.2.2-rc.5.tgz", + "integrity": "sha512-IIMs7tC+nGyq7HN5ks2p/klcAhnVjWm9gC/fXj70UVUSvkxTpq0XIJVZxd7tlhHUZmGQErWb+OnqqBw6xqAbQw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-time": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v1-to-v2": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v1-to-v2/-/dsh-session-format-v1-to-v2-0.2.2-rc.5.tgz", + "integrity": "sha512-MShgPDAbyOAf+ftq3GpSR6/xX/NT9vOK77QsKAc9Bhw1YeRl2y6lsWm5KI53xvWdFiqphZXUxVjjYx4dbvrwag==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.5", + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v2-to-v3": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v2-to-v3/-/dsh-session-format-v2-to-v3-0.2.2-rc.5.tgz", + "integrity": "sha512-VKZdn14Lp3i1RE5g7Y6dfOJfdZkWKqp37munwjuDzyYEMXCnF03XHhIIbjrlUhKaxfzw5hm4EMwtWecJKl1WHg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v3-to-v4": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v3-to-v4/-/dsh-session-format-v3-to-v4-0.2.2-rc.5.tgz", + "integrity": "sha512-XHAWfERAsMpfnben4oqNaDQ6dQTLh8FAhNRTaK+gVabruxjVc61xEQI/Ft2P2RhH5FFBVKl33+Xhz/JAbQAPDw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-session-persistence": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence/-/dsh-session-persistence-0.2.2-rc.5.tgz", + "integrity": "sha512-YqvB0p4VbHol+CDxH5ZOOd0qwzJL69MgbaF+srobkvq7Mu8IF0Q7lBLIYSMfeFvmrZgKwsKMV9YJjdAJl25yRQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", + "@deepseek-ai/dsh-timeout": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-session-persistence-jsonl": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence-jsonl/-/dsh-session-persistence-jsonl-0.2.2-rc.5.tgz", + "integrity": "sha512-2uXF0ozjkbjTgK3IG/P081zmnoS6FXXTdGx6FUoP8WN0gwdMWs8F28Z4Yr8fdAIDWEvkCeOrXXrlv2ZAFGf0AA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-catalog": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.2-rc.5", + "@deepseek-ai/node-addon-system": "~0.1.2", + "@deepseek-ai/schemastery": "~3.19.0", + "koffi": "3.1.1", + "p-limit": "7.3.3" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-session-projection": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-projection/-/dsh-session-projection-0.2.2-rc.5.tgz", + "integrity": "sha512-dzkbwhFy5AXFu+FhT6QBLb3lQAozb9Vkuh2zujita6iceFtsQtxXBGiXYl4D9Oy1eLRuOQdlUCmW6M/h+LxoxQ==", + "license": "MIT", + "dependencies": { + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-session-projection-cache": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-projection-cache/-/dsh-session-projection-cache-0.2.2-rc.5.tgz", + "integrity": "sha512-coqJFYUPIZI9e1j9bUzzh//upbDd8Pw9ovrVmqmXOqnRNAh6zJwvXtAurJK80GeacV41ncYOlG0LcyJuZaQr1g==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5", + "@deepseek-ai/schemastery": "~3.19.0", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.5", + "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-session-title": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-title/-/dsh-session-title-0.2.2-rc.5.tgz", + "integrity": "sha512-u29lJ62sZ/8GpQd9XtepwMcbvBS7PfvJTQi5YOHnv7cDH+viJNPTr2ZeIRAkVxjwJv6TK99JNeAmyRv7xso+hA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.2-rc.5", + "@deepseek-ai/schemastery": "~3.19.0", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-agent": "0.2.2-rc.5", + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-storage": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage/-/dsh-storage-0.2.2-rc.5.tgz", + "integrity": "sha512-LkR3qq6wOkrFDo05g/fqTHh8VGbkimxbH4IcZpxBbpWiTRSOZFlXy+UMeEwiU9W6no8NWKFuihBiAK1UFebB3A==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-storage-domain": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-domain/-/dsh-storage-domain-0.2.2-rc.5.tgz", + "integrity": "sha512-YppsU9JqW9NTzNUleeGShN08gp6bNHm7fvAgekYZwdmvQm+EDtc8akW7HLXL/DOUoyIJJn5UhA6t4C84lNbqQg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/schemastery": "~3.19.0", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-storage": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-storage-json": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-json/-/dsh-storage-json-0.2.2-rc.5.tgz", + "integrity": "sha512-SoVcQY6U7ibwWiKb0Ap2LYN6LarwQfDbkbfhZwm06VSyKErgp7Fm8j6prJg5K02jNREISKkglGR13ZVGBvSybg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/schemastery": "~3.19.0" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-storage": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-system-prompt": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-system-prompt/-/dsh-system-prompt-0.2.2-rc.5.tgz", + "integrity": "sha512-XeKC54+m2N/euS/PoHpkTpE2Hp32NkFd+nlNeUzoyC+SKdIvo1RTcTQWY6DZcJm51znnd8B92V+mhfnppGbb6Q==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/schemastery": "~3.19.0" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0", + "@deepseek-ai/dsh-llm": "0.2.2-rc.5", + "@deepseek-ai/dsh-scope": "0.2.2-rc.5" + } + }, + "node_modules/@deepseek-ai/dsh-timeout": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-timeout/-/dsh-timeout-0.2.2-rc.5.tgz", + "integrity": "sha512-PfVVGUKE9RqCORESfQ9sn2BkTipUxYyv26ja+DWd9UMj9WSXoHTGteAy6B5foiixnCECyTu83E3B6027wfAtdA==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-typert-protocol": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-typert-protocol/-/dsh-typert-protocol-0.2.2-rc.5.tgz", + "integrity": "sha512-iTxyX1pk7DyCpMgRXVwV8FbfBOIvsT6f0DdVe2YXDTs0wEySai2Us3Fs6/xUVmEltOGgYPFWw4ndjQugMwt9Ig==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.2-rc.5", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-util-crypto": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-crypto/-/dsh-util-crypto-0.2.2-rc.5.tgz", + "integrity": "sha512-5+w9RdJ6puwBVVX7DTwCzdvX9m0f6o/yI8hX6EIzZenmpQwdhhmsxLa8ZFtnLta4ptIMCP2e+XIHhbGZXz9t+Q==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-util-time": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-time/-/dsh-util-time-0.2.2-rc.5.tgz", + "integrity": "sha512-EYv3sWG8K5jFzNRFM+4ENTR9OeLmwYcYnQvo2kl1dMwR38gKrSlvVQX90f1Aawgbt/R1EgiRzdOR1P8jE6Qy6w==", + "license": "MIT", + "dependencies": { + "@js-temporal/polyfill": "0.5.1", + "rrule": "2.8.1" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/dsh-util-values": { + "version": "0.2.2-rc.5", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-values/-/dsh-util-values-0.2.2-rc.5.tgz", + "integrity": "sha512-ISgMAgMZ1+d5Iqdd2J7PfUZbGPAwLEWVAl87pmtJFlgkZukbT3GigvN27BB53Tit7fGR1B5zgwgvQA7zOlegmg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.1.0" + } + }, + "node_modules/@deepseek-ai/node-addon-system": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system/-/node-addon-system-0.1.2.tgz", + "integrity": "sha512-EFn8K+mXIXiw6s3rxX+cgp2hZTEAQdVIsURhrXnBxycSXvtQ1EQpsSVzoNKtKAQI0I0VqkEcVEjHzS/PeaGsvw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=20" + }, + "optionalDependencies": { + "@deepseek-ai/node-addon-system-darwin-arm64": "0.1.2", + "@deepseek-ai/node-addon-system-darwin-x64": "0.1.2", + "@deepseek-ai/node-addon-system-linux-arm64": "0.1.2", + "@deepseek-ai/node-addon-system-linux-x64": "0.1.2" + } + }, + "node_modules/@deepseek-ai/node-addon-system-darwin-arm64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-darwin-arm64/-/node-addon-system-darwin-arm64-0.1.2.tgz", + "integrity": "sha512-IR0cx8um19mLCZaJ+H5PLblKr6Eg3PWvVo8eTQBr/SwH2nh5tM9CD9/5fHweNS9Pjt15UdFlGqnvLSd/w+O6Rw==", + "cpu": [ + "arm64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-darwin-x64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-darwin-x64/-/node-addon-system-darwin-x64-0.1.2.tgz", + "integrity": "sha512-XDbmquNapk9aT28y4EKn9lbONVr9YNs1NM/GKH1Gi5gUhjOT9wgRaTv72FJdNaVIInbPAYbPoyn7/y+MzQMNNg==", + "cpu": [ + "x64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-linux-arm64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-linux-arm64/-/node-addon-system-linux-arm64-0.1.2.tgz", + "integrity": "sha512-Z/DQtqgEYzjBzb2ocHGjMzx51W7xDILkJKKj89nyErr8gZMNiLs+JNL1uKzJqc3VLZB+vYCPaHGyQ3oX6EzEmA==", + "cpu": [ + "arm64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-linux-x64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-linux-x64/-/node-addon-system-linux-x64-0.1.2.tgz", + "integrity": "sha512-S2aPVHvYCpNCppCFyNlooMYuTB7ucK5lvD9oXQQ42v5Z2s5AoaiCdjz9r2l+ED2rI5oS1x0cUZmKjJH2dxV0pg==", + "cpu": [ + "x64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/schemastery": { + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/@deepseek-ai/schemastery/-/schemastery-3.19.0.tgz", + "integrity": "sha512-bDXoYQa7ghAhmdYD5VPlzKxEzJV/aKkz5l4V5h1u06z8GAPN1ROewSjvR9WiXhpa52E9fng8lpH5QdCRIQgnyQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.9.0", + "@standard-schema/spec": "^1.1.0" + } + }, + "node_modules/@js-temporal/polyfill": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@js-temporal/polyfill/-/polyfill-0.5.1.tgz", + "integrity": "sha512-hloP58zRVCRSpgDxmqCWJNlizAlUgJFqG2ypq79DCvyv9tHjRYMDOcPFjzfl/A1/YxDvRCZz8wvZvmapQnKwFQ==", + "license": "ISC", + "dependencies": { + "jsbi": "^4.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@koromix/koffi-darwin-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-arm64/-/koffi-darwin-arm64-3.1.1.tgz", + "integrity": "sha512-+Dl0zQDh1Wb55AWOn9hp7K30qgkODvrvN+ZNkFOh81Q0oFX/rpJQtocgjAuYk2zFAcajSeVDumkcHMPwnKSXzA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-darwin-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-x64/-/koffi-darwin-x64-3.1.1.tgz", + "integrity": "sha512-cDFAKn1qdZBFLrp7dAc9QUDw3l4xAhTJbOdPWWb0LxssVicUdHcRCLZGrDsmPW2tpH6LGNNeLgqRpAoD2Mo8iA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-arm64/-/koffi-freebsd-arm64-3.1.1.tgz", + "integrity": "sha512-zaP7FJISI/scQW9Wa5QicY3a09WmtKBWSbmC+5nfCqPzwWe7Hx2so74Er7mPsDfCiMMR0Ya+evKbJQDkfyXicg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-ia32/-/koffi-freebsd-ia32-3.1.1.tgz", + "integrity": "sha512-7GejVb688TLM8rbjfc0oezJrATxZc0dn801xWEDJekN2DgmRXu7HquGqWQ6z3NeSq7ZxEggz4T3xtlbCysQapA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-x64/-/koffi-freebsd-x64-3.1.1.tgz", + "integrity": "sha512-XLiCFP9OFCyOoGTjAimtDKLhzhfo34WcP1ShVWxRzNCWDGjfz8BYjwd69cp/cDSUXZbxamqs4+/6vmkePq9wxA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-arm64/-/koffi-linux-arm64-3.1.1.tgz", + "integrity": "sha512-HA9xINK7G4dRAkpfnBWD9VfuyIBgW1SuK+KPHjksUwRMOnhgqP8J/JqgrAzdzcDiefGBkqEacIP776OUwz7knQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-ia32/-/koffi-linux-ia32-3.1.1.tgz", + "integrity": "sha512-jG7IFytmP8K5Qtbx0ro0ZeuX3JjSsLxmYhq+nmXDdrtOAlxIsWGynuiDLS6Jk3vOchVii2m6Y2f/L3GLG2fG5A==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-loong64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-loong64/-/koffi-linux-loong64-3.1.1.tgz", + "integrity": "sha512-CIsT1cNnih8FuU52Me/IVlJBpH28SQfoDeYPctJswgJzaARktusF7m4MUbtR1PBDjuquCVM4/vFyNdOzfPonvA==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-riscv64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-riscv64/-/koffi-linux-riscv64-3.1.1.tgz", + "integrity": "sha512-9D6RmqeKsSvs3U6jILJU9PcAjMwKKyn7yLxNBb5k6z9PCoUoGJ3/BrhXAX0qjrLLwEiIpP/hS/40RuXvH8Lc3Q==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-x64/-/koffi-linux-x64-3.1.1.tgz", + "integrity": "sha512-pyTcX5fePeYbt7TZAwRby69wdlRx3PT+g15ra5IYdat/Pgh3qAKEYeZ+uu7WpPGOy43p/oSRqqZoa2kORzozlA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-ia32/-/koffi-openbsd-ia32-3.1.1.tgz", + "integrity": "sha512-iPnPzvG2HOfdzaiG1drdkt86sAqmTPDv9mAf+5gL7mRzkeeQC88EVGboRy7eXwdXn7R+v0ntA3iQxdHrBn6yXw==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-x64/-/koffi-openbsd-x64-3.1.1.tgz", + "integrity": "sha512-/Xqc3R0SVoMCYjMPZnJ9bULtRo364+dKmnQhfDrI83tSpxUHRw7HRNf12vBeL+hPgKxSBjtMpWfQ/ZIyVyLFag==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-arm64/-/koffi-win32-arm64-3.1.1.tgz", + "integrity": "sha512-JhqHauEwQvdcWUERxrV5HH/DT9W7hY1A1eU6/o8tB+yck+D3kt5elpRDBt9KjpW6h+vHPy3V0sjDvO0CXyabTA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-ia32/-/koffi-win32-ia32-3.1.1.tgz", + "integrity": "sha512-ZRuyYmlGS/rCc966qqs0qREXDW4FRdul7rDF1VgSWHbVmdc196PUgUT+blq/GjZgTwqzeEXtMRgM+cU8krHjvA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-x64/-/koffi-win32-x64-3.1.1.tgz", + "integrity": "sha512-KqHPmvj6QILhNyI/To8QSihHsijeVGIYYPBOUnXEpcnH2LuLbargY4Hd6dDeTN3Z90uUUxN+1FWz1UnhVzFOiA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/jsbi": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/jsbi/-/jsbi-4.3.2.tgz", + "integrity": "sha512-9fqMSQbhJykSeii05nxKl4m6Eqn2P6rOlYiS+C5Dr/HPIU/7yZxu5qzbs40tgaFORiw2Amd0mirjxatXYMkIew==", + "license": "Apache-2.0" + }, + "node_modules/koffi": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/koffi/-/koffi-3.1.1.tgz", + "integrity": "sha512-mRX6AMeeKCxSOeOopqAcLAl5jcNvge7NAG8l7rF/8gGJATI0tdHFYjteIdE0mGOtWdsrJOij+PjnP8Q9c1gwgA==", + "hasInstallScript": true, + "license": "MIT", + "funding": { + "url": "https://liberapay.com/Koromix" + }, + "optionalDependencies": { + "@koromix/koffi-darwin-arm64": "3.1.1", + "@koromix/koffi-darwin-x64": "3.1.1", + "@koromix/koffi-freebsd-arm64": "3.1.1", + "@koromix/koffi-freebsd-ia32": "3.1.1", + "@koromix/koffi-freebsd-x64": "3.1.1", + "@koromix/koffi-linux-arm64": "3.1.1", + "@koromix/koffi-linux-ia32": "3.1.1", + "@koromix/koffi-linux-loong64": "3.1.1", + "@koromix/koffi-linux-riscv64": "3.1.1", + "@koromix/koffi-linux-x64": "3.1.1", + "@koromix/koffi-openbsd-ia32": "3.1.1", + "@koromix/koffi-openbsd-x64": "3.1.1", + "@koromix/koffi-win32-arm64": "3.1.1", + "@koromix/koffi-win32-ia32": "3.1.1", + "@koromix/koffi-win32-x64": "3.1.1" + } + }, + "node_modules/p-limit": { + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-7.3.3.tgz", + "integrity": "sha512-SKgVvDU5TNIxQ4r30U75BNLC6a+6GOEjngrk/ysM5+Zu3oJuk1SC5ApzIzY/7PjCEjoVPMWJ0zho/4QUiEB7TQ==", + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.2.1" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rrule": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/rrule/-/rrule-2.8.1.tgz", + "integrity": "sha512-hM3dHSBMeaJ0Ktp7W38BJZ7O1zOgaFEsn41PDk+yHoEtfLV+PoJt9E9xAlZiWgf/iqEqionN0ebHFZIDAp+iGw==", + "license": "BSD-3-Clause", + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/tslib": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", + "license": "0BSD" + }, + "node_modules/yocto-queue": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.2.tgz", + "integrity": "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==", + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/test/fixtures/native-host-0.2.2-rc.5/package.json b/test/fixtures/native-host-0.2.2-rc.5/package.json new file mode 100644 index 0000000..3962a8b --- /dev/null +++ b/test/fixtures/native-host-0.2.2-rc.5/package.json @@ -0,0 +1,21 @@ +{ + "name": "dsh-archived-chats-native-host-0.2.2-rc.5-fixture", + "private": true, + "version": "0.0.0", + "type": "module", + "overrides": { + "zod": "4.6.7" + }, + "dependencies": { + "@deepseek-ai/cordis": "4.1.0", + "@deepseek-ai/dsh-session": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-projection": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-projection-cache": "0.2.2-rc.5", + "@deepseek-ai/dsh-session-title": "0.2.2-rc.5", + "@deepseek-ai/dsh-storage": "0.2.2-rc.5", + "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.5", + "@deepseek-ai/dsh-storage-json": "0.2.2-rc.5" + } +} diff --git a/test/fixtures/native-host-0.2.3-alpha.2/package-lock.json b/test/fixtures/native-host-0.2.3-alpha.2/package-lock.json new file mode 100644 index 0000000..11cbacf --- /dev/null +++ b/test/fixtures/native-host-0.2.3-alpha.2/package-lock.json @@ -0,0 +1,943 @@ +{ + "name": "dsh-archived-chats-native-host-0.2.3-alpha.2-fixture", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "dsh-archived-chats-native-host-0.2.3-alpha.2-fixture", + "version": "0.0.0", + "dependencies": { + "@deepseek-ai/cordis": "4.2.0-alpha.1", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence-sqlite": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-projection-cache": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-title": "0.2.3-alpha.2", + "@deepseek-ai/dsh-storage": "0.2.3-alpha.2", + "@deepseek-ai/dsh-storage-domain": "0.2.3-alpha.2", + "@deepseek-ai/dsh-storage-json": "0.2.3-alpha.2" + }, + "engines": { + "node": "^24.22.3 || >=26.13.1" + } + }, + "node_modules/@deepseek-ai/cordis": { + "version": "4.2.0-alpha.1", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cordis/-/cordis-4.2.0-alpha.1.tgz", + "integrity": "sha512-SnqATTN5V8Izqu9LsWon6vxKedppIAhHaeBQ5r8D188UgG+VzNI3rpO5SIfzqxWt/3OUUCLo9OiXganW0IGdnA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.10.0-alpha.1", + "@standard-schema/spec": "^1.1.0" + }, + "bin": { + "cordis": "bin.js" + }, + "peerDependencies": { + "@deepseek-ai/cordis-plugin-include": "~1.2.0-alpha.1", + "@deepseek-ai/cordis-plugin-loader": "~1.2.0-alpha.1" + }, + "peerDependenciesMeta": { + "@deepseek-ai/cordis-plugin-include": { + "optional": true + }, + "@deepseek-ai/cordis-plugin-loader": { + "optional": true + } + } + }, + "node_modules/@deepseek-ai/cosmokit": { + "version": "1.10.0-alpha.1", + "resolved": "https://registry.npmjs.org/@deepseek-ai/cosmokit/-/cosmokit-1.10.0-alpha.1.tgz", + "integrity": "sha512-vg1+m19Crrq4dVZ2Q6Zs/ydeyE2s9vENqmktJ1+liocKnvYZb3Jnt2bSvq6kLpVpsiM8OtvXVzschB9HfmGAxg==", + "license": "MIT" + }, + "node_modules/@deepseek-ai/dsh-agent": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-agent/-/dsh-agent-0.2.3-alpha.2.tgz", + "integrity": "sha512-Z1cIrwp8Sq1+6IxxMB1c5NZLQI4T38TrbHufcrbb41mz8oJVZQsQV/48KQnohtV/m+/UFqHpQhOoAMZVKmpGyg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-scope": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2", + "@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.2", + "@deepseek-ai/dsh-typert-protocol": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2", + "@deepseek-ai/dsh-workspace": "0.2.3-alpha.2" + }, + "peerDependenciesMeta": { + "@deepseek-ai/dsh-workspace": { + "optional": true + } + } + }, + "node_modules/@deepseek-ai/dsh-attachment": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-attachment/-/dsh-attachment-0.2.3-alpha.2.tgz", + "integrity": "sha512-WyMaC+RBqqbLTLeDdfmBZ0Keb2ytwcAyIMIF4Og/PRO9PfOQvxEBBDrp7QI1gDZN2MQMOiqrWBQBL8A6GDGfyA==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-error": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-brand": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-brand/-/dsh-brand-0.2.3-alpha.2.tgz", + "integrity": "sha512-y+n0lE7gHp6EJyA2IBRYp5crlubn/AIHmEO8tJu6vk+4vtNlUvlL6FmyHTNEcsd9o5sk3zZOq63YX6Db6LlmjA==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-commands": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-commands/-/dsh-commands-0.2.3-alpha.2.tgz", + "integrity": "sha512-l4sRDSX5yJO+3Rm5SLQHHLxfGjNDB8wVLWIQRqZRn464CU24LaNrCZlKlYca6/VWc/Sv8lE6h6D6MRH/ulec5A==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-crypto": "0.2.3-alpha.2", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-agent": "0.2.3-alpha.2", + "@deepseek-ai/dsh-attachment": "0.2.3-alpha.2", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-scope": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-typert-protocol": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-compaction": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-compaction/-/dsh-compaction-0.2.3-alpha.2.tgz", + "integrity": "sha512-vc4uYqwT8DRc5ltiSnfQdIda0iMNLjjLcm+8ZILNyYMEPmAmxM8coKA5loVg8gfJjvTYTLGQfAoMKlxUmKoqaw==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-commands": "0.2.3-alpha.2", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-compaction-image-offload": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-compaction-image-offload/-/dsh-compaction-image-offload-0.2.3-alpha.2.tgz", + "integrity": "sha512-kFukdsXhFirfpfgTemAZ85/0Uc6KDniDooX2uhyY932jPoNZZPfr6c47p1jIM7BgPbzk35AGxP7TM4xBQLu52Q==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-agent": "0.2.3-alpha.2", + "@deepseek-ai/dsh-compaction": "0.2.3-alpha.2", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-error": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-error/-/dsh-error-0.2.3-alpha.2.tgz", + "integrity": "sha512-0TcXIOtsGpursCrI53LsbRyJHi91ypcQYzta7RM+2yD4rIGXbnBHme4Ppd9OScUqwTvZAUqZe09GJC1riBECwQ==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-llm": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-llm/-/dsh-llm-0.2.3-alpha.2.tgz", + "integrity": "sha512-73J0C4J5nI/Hldi0SS3r/AozJ94tKGOSDnDQW3/cEf5z8UJhfAhBEeU9fXGfG1dhxv1fP4OBK5LUlaT1oynzAg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", + "@deepseek-ai/dsh-timeout": "0.2.3-alpha.2", + "@deepseek-ai/dsh-typert-protocol": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-crypto": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2", + "@deepseek-ai/schemastery": "~3.20.0-alpha.1", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-error": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-scope": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-scope/-/dsh-scope-0.2.3-alpha.2.tgz", + "integrity": "sha512-Tb3hHeOXfUdJKqpPcL5Pa6GPAq6RA6vwe5USf7Znrb/KDsBCfTcUYjg5YWYjqxAdnlKdhDhLFZZ2v63NQWv+cQ==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-session": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session/-/dsh-session-0.2.3-alpha.2.tgz", + "integrity": "sha512-JbRKLLCOQcI5PxZQ1BVz0GW7LJ+2AiH2QbDbON3UP68vJrI+G7hGRYFTSvtBjLhEzpF9B9ChA/VT5M6GpjIBvA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-scope": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-format": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format/-/dsh-session-format-0.2.3-alpha.2.tgz", + "integrity": "sha512-LMJla6KL5emuJHoWssMWm7LxkJluThfqo+sNLpvTjbDLQtGtdUoFADwRRuiCi9bVzo90rctYQJjl1I73/SOOZQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-catalog": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-catalog/-/dsh-session-format-catalog-0.2.3-alpha.2.tgz", + "integrity": "sha512-Fep26frt+WMIZJ7UIcePEtdaGXIHRLKmSfvHr/zsosuaUMXdqK+uAJdGxjKYAgIuIY1+K2IWVK3HMnQfq6Z+Gg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", + "@deepseek-ai/dsh-compaction-image-offload": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v0-to-v1": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v0-to-v1/-/dsh-session-format-v0-to-v1-0.2.3-alpha.2.tgz", + "integrity": "sha512-p0VQSZ8wU5K40JYwslZdogrseIMrI/RO8Sb4GCsAiybCFEtqh0cqMzjoO0glCmDronhKS3yMrocmcE4vl17qNg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-time": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v1-to-v2": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v1-to-v2/-/dsh-session-format-v1-to-v2-0.2.3-alpha.2.tgz", + "integrity": "sha512-CvxWTRTuMHv/JyD7RWyo1TGDBCHaDtyN/Z6nnJn/rBSx8vuR9gNT7cK0KKSuk9c2mUu1JbxXge4MDInDZ3+9mw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.3-alpha.2", + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v2-to-v3": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v2-to-v3/-/dsh-session-format-v2-to-v3-0.2.3-alpha.2.tgz", + "integrity": "sha512-IUJyy891MzATMNdTQxq/w+DDKe9vl+X603fiGGuM/Mbvc1/mgXGKxGfK6Ua1g1nGIihUmXO2nPtP0riXdO+4dA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-session-format-v3-to-v4": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-format-v3-to-v4/-/dsh-session-format-v3-to-v4-0.2.3-alpha.2.tgz", + "integrity": "sha512-Y88hBg4vepfoqG2IMJIJ5ZZEjA0tsRi8StYm0tpDlTPwtyje0Law7vf7iLZOyu0JKckjbnnipN3ZKRkh6nEVtg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-session-format": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-session-persistence": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence/-/dsh-session-persistence-0.2.3-alpha.2.tgz", + "integrity": "sha512-yxZNufiJJFktkyt4IZY8euM3sv5ANN+u+zAbV7uojVvOqFxqFAxkIlQtedwvxmytaDxemtw8QMKhFCra1Xm9UA==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-timeout": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-persistence-jsonl": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence-jsonl/-/dsh-session-persistence-jsonl-0.2.3-alpha.2.tgz", + "integrity": "sha512-A5TgrGapyOaN1tbuR6TQ3ZdXQiT/TaCdsx48fftMASdD4LqMd4Rfila+hR20RLlONpLk+pZnHp3rg0t3B7CW2A==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-catalog": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.3-alpha.2", + "@deepseek-ai/node-addon-system": "~0.1.2", + "@deepseek-ai/schemastery": "~3.20.0-alpha.1", + "koffi": "3.1.1", + "p-limit": "7.3.3" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-persistence-sqlite": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence-sqlite/-/dsh-session-persistence-sqlite-0.2.3-alpha.2.tgz", + "integrity": "sha512-fD6QqjN/CreOZAHrSAMyGBREFpe4ZaKkYdPAk3HDhiNDjGwCaRzakFDKRktosL/E9bU0EJQsT6AafvzkAOgpBQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.3-alpha.2", + "@deepseek-ai/node-addon-system": "~0.1.2", + "@deepseek-ai/schemastery": "~3.20.0-alpha.1", + "koffi": "3.1.1", + "p-limit": "7.3.3", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-projection": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-projection/-/dsh-session-projection-0.2.3-alpha.2.tgz", + "integrity": "sha512-80efivDoXzpUqdBnJqwovYKyLT6QgQ6ZwbFNjvM7EX2t/Jrbc45Q3MCQYEekiMOssZeEapoB5xgcqdzZEnDeIg==", + "license": "MIT", + "dependencies": { + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-projection-cache": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-projection-cache/-/dsh-session-projection-cache-0.2.3-alpha.2.tgz", + "integrity": "sha512-qQfZ6P9oJ4JqtrcXq0KgRCzJkONriL4z/eyR44cwy5kjTipSdVHkpswcgepePTXHVLBunTmVz+rEaVKpzvNKcw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2", + "@deepseek-ai/schemastery": "~3.20.0-alpha.1", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2", + "@deepseek-ai/dsh-storage-domain": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-session-title": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-session-title/-/dsh-session-title-0.2.3-alpha.2.tgz", + "integrity": "sha512-IfiWW9vrrLz0a6Mz1FAJNN9IbcM91tAOEPSa5vSsgzNIXOlPelq5rfNbYSpdW2a/DM3cXLH+rsxo5eQ8PJ+6bw==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-util-values": "0.2.3-alpha.2", + "@deepseek-ai/schemastery": "~3.20.0-alpha.1", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-agent": "0.2.3-alpha.2", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-storage": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage/-/dsh-storage-0.2.3-alpha.2.tgz", + "integrity": "sha512-7ekMwJDQ5nH2jr2p9C8IO8KmJWqkr5E93lf9cZKRdlmIBXkiv/BTjPKyNkyp94pdXv52UcSiz6+yfopZRdnvdg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-storage-domain": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-domain/-/dsh-storage-domain-0.2.3-alpha.2.tgz", + "integrity": "sha512-0SxZZ2UH5CBYbGQnbrMqZgrxYp5mFqDpbu9ZYWEO3ocvdWKce7sDJoRZvrAl/Zhic2QejaqKx0NiBlCtsXrRSQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/schemastery": "~3.20.0-alpha.1", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-storage": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-storage-json": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-json/-/dsh-storage-json-0.2.3-alpha.2.tgz", + "integrity": "sha512-zDE/ffbQUnuNA08K+9hRnJ+wWwgSaeZC0m5YE+IiRYlieEvwhN/ls1szXZevqehR7Sx3yv7izvn+VW6gRJPayQ==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/schemastery": "~3.20.0-alpha.1" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-storage": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-system-prompt": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-system-prompt/-/dsh-system-prompt-0.2.3-alpha.2.tgz", + "integrity": "sha512-Eg67t2ULjASEhJNxW4E1Wbsp11r4r7w1DQXg7XkV0J1trGgeoBoOBKTdkiMxYi6Co/LAFWr1FpkcpiBsB5hn5g==", + "license": "MIT", + "peer": true, + "dependencies": { + "@deepseek-ai/schemastery": "~3.20.0-alpha.1", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", + "@deepseek-ai/dsh-scope": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-timeout": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-timeout/-/dsh-timeout-0.2.3-alpha.2.tgz", + "integrity": "sha512-I9PN1hOVdIr5i97WIcE9M+BiugSiCJvNbU8qcmyESBa5R3aqO/BbPVtrvEUCAReJJaRsypEoTKWksHnSfxCstg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-typert-protocol": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-typert-protocol/-/dsh-typert-protocol-0.2.3-alpha.2.tgz", + "integrity": "sha512-WaTjbBZBUvATFUWKCTyKYMjLz8QyNePyOWrddliiGvV2iQY0tUJ53rFEqtgpp0wyeItkB8ho+RlLfGuS9D7K6A==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", + "zod": "4.6.6" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1", + "@deepseek-ai/dsh-error": "0.2.3-alpha.2" + } + }, + "node_modules/@deepseek-ai/dsh-util-crypto": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-crypto/-/dsh-util-crypto-0.2.3-alpha.2.tgz", + "integrity": "sha512-M6/3vjWCm9EjxDl2lwQAuiJdbOno2yUcI6LCaofkcmn0ewsn3Z79dqzhFkpSuvbl57BEH6htyVWyNXQXoHmSmw==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-util-time": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-time/-/dsh-util-time-0.2.3-alpha.2.tgz", + "integrity": "sha512-ZBfzeOvjFDn2MXgbqk4dFLIoEiyaTibTGGlfGoFWJW7pxQM7WjvNGCBRSLFA3KQtbmEbXUTOKpBhl7KadWOCEA==", + "license": "MIT", + "dependencies": { + "@js-temporal/polyfill": "0.5.1", + "rrule": "2.8.1" + }, + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/dsh-util-values": { + "version": "0.2.3-alpha.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/dsh-util-values/-/dsh-util-values-0.2.3-alpha.2.tgz", + "integrity": "sha512-1b6RNmdQiYfgTwr/uB9IpxwBeLX+nOGGcT4lRALR5mTFRbVdTeHYD22Qm+0w9DEDreRmrNeI5uHyrggdvdAwFg==", + "license": "MIT", + "peerDependencies": { + "@deepseek-ai/cordis": "~4.2.0-alpha.1" + } + }, + "node_modules/@deepseek-ai/node-addon-system": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system/-/node-addon-system-0.1.2.tgz", + "integrity": "sha512-EFn8K+mXIXiw6s3rxX+cgp2hZTEAQdVIsURhrXnBxycSXvtQ1EQpsSVzoNKtKAQI0I0VqkEcVEjHzS/PeaGsvw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=20" + }, + "optionalDependencies": { + "@deepseek-ai/node-addon-system-darwin-arm64": "0.1.2", + "@deepseek-ai/node-addon-system-darwin-x64": "0.1.2", + "@deepseek-ai/node-addon-system-linux-arm64": "0.1.2", + "@deepseek-ai/node-addon-system-linux-x64": "0.1.2" + } + }, + "node_modules/@deepseek-ai/node-addon-system-darwin-arm64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-darwin-arm64/-/node-addon-system-darwin-arm64-0.1.2.tgz", + "integrity": "sha512-IR0cx8um19mLCZaJ+H5PLblKr6Eg3PWvVo8eTQBr/SwH2nh5tM9CD9/5fHweNS9Pjt15UdFlGqnvLSd/w+O6Rw==", + "cpu": [ + "arm64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-darwin-x64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-darwin-x64/-/node-addon-system-darwin-x64-0.1.2.tgz", + "integrity": "sha512-XDbmquNapk9aT28y4EKn9lbONVr9YNs1NM/GKH1Gi5gUhjOT9wgRaTv72FJdNaVIInbPAYbPoyn7/y+MzQMNNg==", + "cpu": [ + "x64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-linux-arm64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-linux-arm64/-/node-addon-system-linux-arm64-0.1.2.tgz", + "integrity": "sha512-Z/DQtqgEYzjBzb2ocHGjMzx51W7xDILkJKKj89nyErr8gZMNiLs+JNL1uKzJqc3VLZB+vYCPaHGyQ3oX6EzEmA==", + "cpu": [ + "arm64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/node-addon-system-linux-x64": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@deepseek-ai/node-addon-system-linux-x64/-/node-addon-system-linux-x64-0.1.2.tgz", + "integrity": "sha512-S2aPVHvYCpNCppCFyNlooMYuTB7ucK5lvD9oXQQ42v5Z2s5AoaiCdjz9r2l+ED2rI5oS1x0cUZmKjJH2dxV0pg==", + "cpu": [ + "x64" + ], + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20" + } + }, + "node_modules/@deepseek-ai/schemastery": { + "version": "3.20.0-alpha.1", + "resolved": "https://registry.npmjs.org/@deepseek-ai/schemastery/-/schemastery-3.20.0-alpha.1.tgz", + "integrity": "sha512-FOiLPnQmNNDz5kDzAMXQOjSAY6SZNHiz3CIOKOPqTZGwZTGCKqbTYtG9lQMi9sjOMUzqQPBH0lFunYsnlg8ddg==", + "license": "MIT", + "dependencies": { + "@deepseek-ai/cosmokit": "~1.10.0-alpha.1", + "@standard-schema/spec": "^1.1.0" + } + }, + "node_modules/@js-temporal/polyfill": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@js-temporal/polyfill/-/polyfill-0.5.1.tgz", + "integrity": "sha512-hloP58zRVCRSpgDxmqCWJNlizAlUgJFqG2ypq79DCvyv9tHjRYMDOcPFjzfl/A1/YxDvRCZz8wvZvmapQnKwFQ==", + "license": "ISC", + "dependencies": { + "jsbi": "^4.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@koromix/koffi-darwin-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-arm64/-/koffi-darwin-arm64-3.1.1.tgz", + "integrity": "sha512-+Dl0zQDh1Wb55AWOn9hp7K30qgkODvrvN+ZNkFOh81Q0oFX/rpJQtocgjAuYk2zFAcajSeVDumkcHMPwnKSXzA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-darwin-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-x64/-/koffi-darwin-x64-3.1.1.tgz", + "integrity": "sha512-cDFAKn1qdZBFLrp7dAc9QUDw3l4xAhTJbOdPWWb0LxssVicUdHcRCLZGrDsmPW2tpH6LGNNeLgqRpAoD2Mo8iA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-arm64/-/koffi-freebsd-arm64-3.1.1.tgz", + "integrity": "sha512-zaP7FJISI/scQW9Wa5QicY3a09WmtKBWSbmC+5nfCqPzwWe7Hx2so74Er7mPsDfCiMMR0Ya+evKbJQDkfyXicg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-ia32/-/koffi-freebsd-ia32-3.1.1.tgz", + "integrity": "sha512-7GejVb688TLM8rbjfc0oezJrATxZc0dn801xWEDJekN2DgmRXu7HquGqWQ6z3NeSq7ZxEggz4T3xtlbCysQapA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-x64/-/koffi-freebsd-x64-3.1.1.tgz", + "integrity": "sha512-XLiCFP9OFCyOoGTjAimtDKLhzhfo34WcP1ShVWxRzNCWDGjfz8BYjwd69cp/cDSUXZbxamqs4+/6vmkePq9wxA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-arm64/-/koffi-linux-arm64-3.1.1.tgz", + "integrity": "sha512-HA9xINK7G4dRAkpfnBWD9VfuyIBgW1SuK+KPHjksUwRMOnhgqP8J/JqgrAzdzcDiefGBkqEacIP776OUwz7knQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-ia32/-/koffi-linux-ia32-3.1.1.tgz", + "integrity": "sha512-jG7IFytmP8K5Qtbx0ro0ZeuX3JjSsLxmYhq+nmXDdrtOAlxIsWGynuiDLS6Jk3vOchVii2m6Y2f/L3GLG2fG5A==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-loong64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-loong64/-/koffi-linux-loong64-3.1.1.tgz", + "integrity": "sha512-CIsT1cNnih8FuU52Me/IVlJBpH28SQfoDeYPctJswgJzaARktusF7m4MUbtR1PBDjuquCVM4/vFyNdOzfPonvA==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-riscv64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-riscv64/-/koffi-linux-riscv64-3.1.1.tgz", + "integrity": "sha512-9D6RmqeKsSvs3U6jILJU9PcAjMwKKyn7yLxNBb5k6z9PCoUoGJ3/BrhXAX0qjrLLwEiIpP/hS/40RuXvH8Lc3Q==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-x64/-/koffi-linux-x64-3.1.1.tgz", + "integrity": "sha512-pyTcX5fePeYbt7TZAwRby69wdlRx3PT+g15ra5IYdat/Pgh3qAKEYeZ+uu7WpPGOy43p/oSRqqZoa2kORzozlA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-ia32/-/koffi-openbsd-ia32-3.1.1.tgz", + "integrity": "sha512-iPnPzvG2HOfdzaiG1drdkt86sAqmTPDv9mAf+5gL7mRzkeeQC88EVGboRy7eXwdXn7R+v0ntA3iQxdHrBn6yXw==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-x64/-/koffi-openbsd-x64-3.1.1.tgz", + "integrity": "sha512-/Xqc3R0SVoMCYjMPZnJ9bULtRo364+dKmnQhfDrI83tSpxUHRw7HRNf12vBeL+hPgKxSBjtMpWfQ/ZIyVyLFag==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-arm64/-/koffi-win32-arm64-3.1.1.tgz", + "integrity": "sha512-JhqHauEwQvdcWUERxrV5HH/DT9W7hY1A1eU6/o8tB+yck+D3kt5elpRDBt9KjpW6h+vHPy3V0sjDvO0CXyabTA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-ia32": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-ia32/-/koffi-win32-ia32-3.1.1.tgz", + "integrity": "sha512-ZRuyYmlGS/rCc966qqs0qREXDW4FRdul7rDF1VgSWHbVmdc196PUgUT+blq/GjZgTwqzeEXtMRgM+cU8krHjvA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-x64/-/koffi-win32-x64-3.1.1.tgz", + "integrity": "sha512-KqHPmvj6QILhNyI/To8QSihHsijeVGIYYPBOUnXEpcnH2LuLbargY4Hd6dDeTN3Z90uUUxN+1FWz1UnhVzFOiA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/jsbi": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/jsbi/-/jsbi-4.3.2.tgz", + "integrity": "sha512-9fqMSQbhJykSeii05nxKl4m6Eqn2P6rOlYiS+C5Dr/HPIU/7yZxu5qzbs40tgaFORiw2Amd0mirjxatXYMkIew==", + "license": "Apache-2.0" + }, + "node_modules/koffi": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/koffi/-/koffi-3.1.1.tgz", + "integrity": "sha512-mRX6AMeeKCxSOeOopqAcLAl5jcNvge7NAG8l7rF/8gGJATI0tdHFYjteIdE0mGOtWdsrJOij+PjnP8Q9c1gwgA==", + "hasInstallScript": true, + "license": "MIT", + "funding": { + "url": "https://liberapay.com/Koromix" + }, + "optionalDependencies": { + "@koromix/koffi-darwin-arm64": "3.1.1", + "@koromix/koffi-darwin-x64": "3.1.1", + "@koromix/koffi-freebsd-arm64": "3.1.1", + "@koromix/koffi-freebsd-ia32": "3.1.1", + "@koromix/koffi-freebsd-x64": "3.1.1", + "@koromix/koffi-linux-arm64": "3.1.1", + "@koromix/koffi-linux-ia32": "3.1.1", + "@koromix/koffi-linux-loong64": "3.1.1", + "@koromix/koffi-linux-riscv64": "3.1.1", + "@koromix/koffi-linux-x64": "3.1.1", + "@koromix/koffi-openbsd-ia32": "3.1.1", + "@koromix/koffi-openbsd-x64": "3.1.1", + "@koromix/koffi-win32-arm64": "3.1.1", + "@koromix/koffi-win32-ia32": "3.1.1", + "@koromix/koffi-win32-x64": "3.1.1" + } + }, + "node_modules/p-limit": { + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-7.3.3.tgz", + "integrity": "sha512-SKgVvDU5TNIxQ4r30U75BNLC6a+6GOEjngrk/ysM5+Zu3oJuk1SC5ApzIzY/7PjCEjoVPMWJ0zho/4QUiEB7TQ==", + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.2.1" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rrule": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/rrule/-/rrule-2.8.1.tgz", + "integrity": "sha512-hM3dHSBMeaJ0Ktp7W38BJZ7O1zOgaFEsn41PDk+yHoEtfLV+PoJt9E9xAlZiWgf/iqEqionN0ebHFZIDAp+iGw==", + "license": "BSD-3-Clause", + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/tslib": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", + "license": "0BSD" + }, + "node_modules/yocto-queue": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.2.tgz", + "integrity": "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==", + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/test/fixtures/native-host-0.2.3-alpha.2/package.json b/test/fixtures/native-host-0.2.3-alpha.2/package.json new file mode 100644 index 0000000..cecc4b8 --- /dev/null +++ b/test/fixtures/native-host-0.2.3-alpha.2/package.json @@ -0,0 +1,25 @@ +{ + "name": "dsh-archived-chats-native-host-0.2.3-alpha.2-fixture", + "private": true, + "version": "0.0.0", + "type": "module", + "overrides": { + "zod": "4.6.7" + }, + "dependencies": { + "@deepseek-ai/cordis": "4.2.0-alpha.1", + "@deepseek-ai/dsh-session": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-persistence-sqlite": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-projection-cache": "0.2.3-alpha.2", + "@deepseek-ai/dsh-session-title": "0.2.3-alpha.2", + "@deepseek-ai/dsh-storage": "0.2.3-alpha.2", + "@deepseek-ai/dsh-storage-domain": "0.2.3-alpha.2", + "@deepseek-ai/dsh-storage-json": "0.2.3-alpha.2" + }, + "engines": { + "node": "^24.22.3 || >=26.13.1" + } +} diff --git a/test/package.test.mjs b/test/package.test.mjs index a7a9287..70a053a 100644 --- a/test/package.test.mjs +++ b/test/package.test.mjs @@ -126,13 +126,13 @@ test('architecture route inventory parser accepts LF and CRLF documents', () => }); test('package declares the supported Host baseline and its exact development fixture', () => { - assert.equal(packageManifest.dsh?.engines?.dsh, '>=0.1.0-rc.7'); + assert.equal(packageManifest.dsh?.engines?.dsh, '>=0.1.0-rc.7 || 0.2.3-alpha.2'); assert.equal(packageManifest.dependencies?.['@deepseek-ai/dsh-session'], undefined); - assert.equal(packageManifest.peerDependencies?.['@deepseek-ai/cordis'], '^4.0.1'); - assert.equal(packageManifest.devDependencies?.['@deepseek-ai/dsh-session'], '0.2.2-rc.3'); + assert.equal(packageManifest.peerDependencies?.['@deepseek-ai/cordis'], '^4.0.1 || 4.2.0-alpha.1'); + assert.equal(packageManifest.devDependencies?.['@deepseek-ai/dsh-session'], '0.2.2-rc.5'); assert.equal( packageManifest.peerDependencies?.['@deepseek-ai/dsh-session'], - '>=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.1 <0.1.2-0 || >=0.1.2-alpha.1 <0.2.0-0 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.5 || >=0.2.2-rc.1', + '>=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.1 <0.1.2-0 || >=0.1.2-alpha.1 <0.2.0-0 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.5 || >=0.2.2-rc.1 || 0.2.3-alpha.2', ); assert.equal(packageManifest.peerDependenciesMeta?.['@deepseek-ai/dsh-session']?.optional, true); }); @@ -189,8 +189,10 @@ for (const [hostVersion, cordisVersion] of [ ['0.2.1-rc.2', '4.0.5'], ['0.2.1-rc.5', '4.0.5'], ['0.2.2-rc.1', '4.1.0'], + ['0.2.2-rc.2', '4.1.0'], ['0.2.2-rc.3', '4.1.0'], ['0.2.2-rc.5', '4.1.0'], + ['0.2.3-alpha.2', '4.2.0-alpha.1'], ['0.2.3', '4.1.0'], ]) { test(`packed artifact resolves normally beside Host ${hostVersion}`, () => { diff --git a/test/persistence-compat.test.mjs b/test/persistence-compat.test.mjs index c27128d..26b9ba3 100644 --- a/test/persistence-compat.test.mjs +++ b/test/persistence-compat.test.mjs @@ -103,6 +103,7 @@ test('forwards createWriteHandle to modern persistence after validating the head const raw = { async list() { return []; }, async open() { throw new Error('not used'); }, + async locate() { return { kind: 'jsonl', path: '/sessions/ordinary/session.jsonl' }; }, async create(...args) { created.push(args); return { marker: 'write-handle' }; }, }; const view = resolvePersistenceCompat(raw); @@ -116,6 +117,22 @@ test('forwards createWriteHandle to modern persistence after validating the head assert.equal(created.length, 1, 'an invalid header never reaches the backend'); }); +test('a stat-only backend remains readable without advertising a restorable writer', async () => { + const snapshot = { header: HEADER, revision: 'stored-1' }; + const view = resolvePersistenceCompat({ + async list() { return [snapshot]; }, + async stat() { return snapshot; }, + async open() { + return { header: HEADER, inheritedEventCount: 0, async read() { return { events: [] }; }, async close() {} }; + }, + async create() { assert.fail('an unsupported restore must never write data'); }, + }); + assert.equal(view.createWriteHandle, undefined); + assert.deepEqual(await view.list(), [HEADER]); + assert.deepEqual((await view.readSession(HEADER.id)).events, []); + assert.equal(await view.locate(HEADER), undefined); +}); + test('title-only reads return the last non-empty session title', async () => { const events = [ { seq: 0, type: 'session/title', data: { title: ' ' } }, diff --git a/test/sqlite-host.test.mjs b/test/sqlite-host.test.mjs new file mode 100644 index 0000000..98f4c17 --- /dev/null +++ b/test/sqlite-host.test.mjs @@ -0,0 +1,200 @@ +import test from 'node:test'; +import assert from 'node:assert/strict'; +import { mkdtemp, rm } from 'node:fs/promises'; +import { tmpdir } from 'node:os'; +import { join } from 'node:path'; +import { pathToFileURL } from 'node:url'; +import { EventEmitter, once } from 'node:events'; +import { PassThrough } from 'node:stream'; +import { buffer } from 'node:stream/consumers'; +import { unzipSync } from 'fflate'; +import { apply } from '../lib/index.js'; +import { createExportZip, planExport } from '../lib/export.js'; +import { createMetadataStore } from '../lib/metadata.js'; +import { resolvePersistenceCompat } from '../lib/persistence-compat.js'; +import { createRestoreAdapter } from '../lib/restore.js'; + +// SQLite is an explicit Host opt-in. Never open the user's persistence root. +const nativeRoot = process.env.DSH_NATIVE_MODULE_ROOT; +if (process.env.DSH_REQUIRE_NATIVE === '1' && !nativeRoot) { + throw new Error('DSH_NATIVE_MODULE_ROOT is required for SQLite release validation'); +} +const native = name => import(pathToFileURL(join(nativeRoot, '@deepseek-ai', name, 'lib/index.js'))); + +async function fixture(t) { + const root = await mkdtemp(join(tmpdir(), 'dac-sqlite-native-')); + const previous = process.env.DSH_HOME; + process.env.DSH_HOME = root; + const { Context } = await native('cordis'); + const { SESSION_FORMAT_VERSION } = await native('dsh-session'); + const provider = await native('dsh-session-persistence-sqlite'); + const ctx = new Context(); + t.after(async () => { + try { await ctx.fiber.dispose(); } + finally { + if (previous === undefined) delete process.env.DSH_HOME; + else process.env.DSH_HOME = previous; + await rm(root, { recursive: true, force: true }); + } + }); + await ctx.plugin(provider.default ?? provider, { root: join(root, 'sessions') }).await(); + const raw = ctx.get('sessionPersistence'); + assert.ok(raw, 'official SQLite provider must expose persistence'); + const workspace = { id: 'ws-sqlite', title: 'SQLite workspace', sessionIds: [], + async attachSession(id) { this.sessionIds.push(id); }, + async detachSession(id) { this.sessionIds = this.sessionIds.filter(value => value !== id); } }; + const registry = { state: { archivedSessionIds: [], workspaceIds: [workspace.id] }, + get archivedSessionIds() { return this.state.archivedSessionIds; }, + list: () => [workspace], get: id => id === workspace.id ? workspace : undefined, + async archiveSession(id) { if (!this.state.archivedSessionIds.includes(id)) this.state.archivedSessionIds.push(id); }, + async unarchiveSession(id) { this.state.archivedSessionIds = this.state.archivedSessionIds.filter(value => value !== id); }, + async setState(state) { this.state = state; } }; + const routes = new Map(); + const services = { workspaceRegistry: registry, sessionPersistence: raw, + sessions: { get: () => undefined }, + webServer: { register({ path, handler }) { routes.set(path, handler); } } }; + apply({ get: key => services[key], on() {}, logger: { warn() {} }, + effect(fn, label) { if (label !== 'archived-chats: automatic recycle cleanup') fn(); } }); + async function call(path, body, headers = {}) { + const req = new EventEmitter(); + req.method = body === undefined ? 'GET' : 'POST'; + req.headers = { 'x-dsh-archived-chats': '1', ...headers }; + const res = new PassThrough(); + let status; + res.writeHead = code => { status = code; return res; }; + const chunks = []; + res.on('data', chunk => chunks.push(chunk)); + const ended = once(res, 'end'); + queueMicrotask(() => { + if (body !== undefined) req.emit('data', Buffer.isBuffer(body) ? body : Buffer.from(JSON.stringify(body))); + req.emit('end'); + }); + await routes.get('/plugins/dsh-archived-chats' + path)(req, res); + await ended; + const bytes = Buffer.concat(chunks); + return { status, bytes, json: () => JSON.parse(bytes) }; + } + async function read(id) { + const handle = await raw.open(id, 'read'); + try { return { meta: handle.header, events: (await handle.read()).events, inheritedEventCount: handle.inheritedEventCount }; } + finally { await handle.close(); } + } + function record(id) { + return { + meta: { version: SESSION_FORMAT_VERSION, id, createdAt: 42, cwd: root, isSeeded: false, delegationDepth: 0 }, + events: [ + { seq: 0, time: 42, type: 'session/title', data: { title: 'SQLite conversation', messageSeqs: [], source: { kind: 'user' } } }, + { seq: 1, time: 43, type: 'turn/start', data: { turn: 1 } }, + { seq: 2, time: 44, type: 'user/message', surfaceOp: 'append', data: { id: 'message-sqlite', role: 'user', source: { kind: 'user' }, content: [{ type: 'text', text: 'SQLite keeps this message' }] } }, + ], + inheritedEventCount: 0, + }; + } + async function seed(id) { + const value = record(id); + const handle = await raw.create(value.meta); + try { await handle.append(value.events); await handle.flush(); } + finally { await handle.close(); } + await workspace.attachSession(id); + return value; + } + async function exportSession(id, archived = true) { + const response = await call(archived ? '/export' : '/unarchived/export', + Buffer.from(new URLSearchParams({ sessionIds: JSON.stringify([id]) }).toString()), + { 'content-type': 'application/x-www-form-urlencoded' }); + assert.equal(response.status, 200, response.bytes.toString()); + const files = unzipSync(response.bytes); + const manifest = JSON.parse(new TextDecoder().decode(files['manifest.json'])); + return JSON.parse(new TextDecoder().decode(files[manifest.sessions[0].files.json])); + } + return { root, raw, registry, workspace, call, read, record, seed, exportSession }; +} + +test('official SQLite: archived and unarchived preview and ZIP export preserve stored messages', { skip: !nativeRoot }, async t => { + const f = await fixture(t); + const id = 'sqlite-readable'; + const stored = await f.seed(id); + const unarchived = await f.call('/unarchived'); + assert.equal(unarchived.status, 200, unarchived.bytes.toString()); + assert.ok(unarchived.json().sessions.some(row => row.id === id), unarchived.bytes.toString()); + const preview = await f.call('/preview', { sessionId: id, scope: 'unarchived' }); + assert.equal(preview.status, 200, preview.bytes.toString()); + assert.equal(preview.json().messages[0].segments[0].text, 'SQLite keeps this message'); + assert.deepEqual((await f.exportSession(id, false)).source, stored); + const archivePreview = await f.call('/workspace-archive/preview', { workspaceId: f.workspace.id, sessionIds: [id] }); + assert.equal(archivePreview.status, 200, archivePreview.bytes.toString()); + const archive = await f.call('/workspace-archive/apply', { token: archivePreview.json().token, nonce: archivePreview.json().nonce }); + assert.equal(archive.status, 200, archive.bytes.toString()); + assert.deepEqual(f.registry.archivedSessionIds, [id]); + assert.equal((await f.call('/state')).json().sessions[0].title, 'SQLite conversation'); + assert.deepEqual((await f.exportSession(id)).source, stored); + assert.equal((await f.call('/unarchive', { sessionId: id })).status, 200); + assert.deepEqual(f.registry.archivedSessionIds, []); + assert.deepEqual(await f.read(id), stored); +}); + +test('official SQLite: permanent deletion refuses a shared store and retains every session', { skip: !nativeRoot }, async t => { + const f = await fixture(t); + const target = await f.seed('sqlite-delete-target'); + const other = await f.seed('sqlite-delete-neighbor'); + f.registry.state.archivedSessionIds = [target.meta.id, other.meta.id]; + const preview = await f.call('/deletion/preview', { source: 'archive', sessions: [{ sessionId: target.meta.id, createdAt: 42 }] }); + assert.equal(preview.status, 409, preview.bytes.toString()); + assert.equal(preview.json().error, 'session-location-unsafe'); + const deleted = await f.call('/delete-all', { sessionIds: [target.meta.id], permanent: true, fingerprint: 'stale-confirmation' }); + assert.equal(deleted.status, 409, deleted.bytes.toString()); + assert.deepEqual(deleted.json().deleted, []); + assert.deepEqual(deleted.json().failed, [{ id: target.meta.id, reason: 'session-location-unsafe' }]); + assert.deepEqual(await f.read(target.meta.id), target); + assert.deepEqual(await f.read(other.meta.id), other); + assert.deepEqual(f.registry.archivedSessionIds, [target.meta.id, other.meta.id]); + assert.deepEqual((await f.raw.list()).map(row => row.header.id).sort(), [other.meta.id, target.meta.id].sort()); +}); + +test('official SQLite: ZIP restore refuses before creating an unrollbackable session', { skip: !nativeRoot }, async t => { + const f = await fixture(t); + const existing = await f.seed('sqlite-existing'); + const adapter = createRestoreAdapter({ persistence: resolvePersistenceCompat(f.raw), registry: f.registry, + metadataStore: createMetadataStore({ filePath: join(f.root, 'test-metadata.json') }), tempRoot: f.root }); + assert.deepEqual(adapter.capability, { supported: false, reason: 'writer-missing' }); + const incoming = f.record('sqlite-import-target'); + const zip = await createExportZip({ plan: planExport([{ id: incoming.meta.id, title: 'Import title' }]), + inspect: async () => incoming, generatorVersion: 'test' }); + const [bytes] = await Promise.all([buffer(zip.stream), zip.completion]); + const boundary = 'sqlite-import'; + const body = Buffer.concat([Buffer.from(`--${boundary}\r\nContent-Disposition: form-data; name="file"; filename="backup.zip"\r\nContent-Type: application/zip\r\n\r\n`), bytes, Buffer.from(`\r\n--${boundary}--\r\n`)]); + const inspected = await f.call('/import/inspect', body, { 'content-type': `multipart/form-data; boundary=${boundary}` }); + assert.equal(inspected.status, 200, inspected.bytes.toString()); + const selection = inspected.json(); + const restored = await f.call('/import/restore', { token: selection.token, nonce: selection.nonce, sessionIds: [incoming.meta.id] }); + assert.equal(restored.status, 501, restored.bytes.toString()); + assert.equal(restored.json().error, 'restore-unsupported'); + assert.equal(await f.raw.stat(incoming.meta.id), undefined); + assert.deepEqual((await f.raw.list()).map(row => row.header.id), [existing.meta.id]); + assert.deepEqual(await f.read(existing.meta.id), existing); + assert.deepEqual(f.registry.archivedSessionIds, []); + assert.deepEqual(f.workspace.sessionIds, [existing.meta.id]); +}); + +test('official SQLite: exported fork retains its inherited cut and excludes later parent messages', { skip: !nativeRoot }, async t => { + const f = await fixture(t); + const { Session } = await native('dsh-session'); + const parent = await f.seed('sqlite-fork-parent'); + const meta = { ...parent.meta, id: 'sqlite-fork-child', isSeeded: true, parentSession: parent.meta.id }; + const session = Session.create(meta.id, parent.events, meta, parent.events.length); + session.append('session/title', { title: 'SQLite fork', messageSeqs: [], source: { kind: 'user' } }); + const events = session.snapshotEvents(); + const handle = await f.raw.create(meta, { inheritedEventCount: parent.events.length, + parentSource: { sessionId: parent.meta.id, endSeq: parent.events.length, events } }); + await handle.close(); + const parentWriter = await f.raw.open(parent.meta.id, 'write'); + try { + await parentWriter.append([{ seq: parent.events.length, time: 44, type: 'session/title', data: { title: 'Later parent title', messageSeqs: [], source: { kind: 'user' } } }]); + await parentWriter.flush(); + } finally { await parentWriter.close(); } + await f.workspace.attachSession(meta.id); + f.registry.state.archivedSessionIds = [meta.id]; + const exported = await f.exportSession(meta.id); + assert.deepEqual(exported.source, { meta, events, inheritedEventCount: 3 }); + assert.ok(!exported.source.events.some(event => event.data?.title === 'Later parent title')); +});