diff --git a/README.md b/README.md index 36bc538..df7b6a5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ English | [中文](README.zh.md) -A self-contained standalone repository template for an ESM Cordis plugin targeting DeepSeek Harness 0.2.1-rc.2. Every source file, compiler setting, test fixture, contributor instruction, skill, and build helper used by the repository lives below this root. A DSH host is a runtime consumer of the finished package, not a development input. +A self-contained standalone repository template for an ESM Cordis plugin targeting DeepSeek Harness 0.2.2-alpha.3. Every source file, compiler setting, test fixture, contributor instruction, skill, and build helper used by the repository lives below this root. A DSH host is a runtime consumer of the finished package, not a development input. ## Documentation map @@ -59,7 +59,7 @@ A self-contained standalone repository template for an ESM Cordis plugin targeti [docs/dsh-plugin-contracts.md](docs/dsh-plugin-contracts.md) owns the full contract. The orientation points are: - A function plugin exports `name`, `inject`, `Config`, and `apply` as one ESM namespace and has no default export. -- `engines.node` is `>=24.0.0`; `engines.dsh` declares the supported DSH range; `dsh.manifestVersion` and `dsh.bundle.patch` describe the public bundle layer. +- `engines.node` is `>=24.9.0`; `engines.dsh` declares the supported DSH range; `dsh.manifestVersion` and `dsh.bundle.patch` describe the public bundle layer. - Display metadata reaches Plugin Manager through the exported `./locale/*.json` and `./icon` resources. This template stores their physical files under `src/assets/` and lists them in `files`. - `@deepseek-ai/cordis` and `@deepseek-ai/schemastery` are host-supplied peers, duplicated in `devDependencies` for local checks. See [dependencies](docs/dsh-plugin-contracts.md#dependencies). - A browser face declares `dsh.client` and exports its built bundle at `./client`. diff --git a/README.zh.md b/README.zh.md index 1e243fe..e9ede4f 100644 --- a/README.zh.md +++ b/README.zh.md @@ -2,7 +2,7 @@ [English](README.md) | 中文 -面向 DeepSeek Harness 0.2.1-rc.2 的 ESM Cordis 插件自包含独立仓库模板。仓库用到的每个源文件、编译器配置、测试夹具、贡献说明、skill 和构建辅助都位于本目录以下。DSH 宿主是成品包的运行时消费者,不是源码或构建输入。 +面向 DeepSeek Harness 0.2.2-alpha.3 的 ESM Cordis 插件自包含独立仓库模板。仓库用到的每个源文件、编译器配置、测试夹具、贡献说明、skill 和构建辅助都位于本目录以下。DSH 宿主是成品包的运行时消费者,不是源码或构建输入。 ## 文档地图 @@ -59,7 +59,7 @@ 完整契约由 [docs/dsh-plugin-contracts.md](docs/dsh-plugin-contracts.md) 拥有。以下是方向性要点: - 函数插件以同一个 ESM 命名空间导出 `name`、`inject`、`Config` 和 `apply`,不提供 default export。 -- `engines.node` 为 `>=24.0.0`;`engines.dsh` 声明支持的 DSH 范围;`dsh.manifestVersion` 与 `dsh.bundle.patch` 描述公开的 bundle 层。 +- `engines.node` 为 `>=24.9.0`;`engines.dsh` 声明支持的 DSH 范围;`dsh.manifestVersion` 与 `dsh.bundle.patch` 描述公开的 bundle 层。 - Plugin Manager 通过导出的 `./locale/*.json` 与 `./icon` 读取展示元数据。本模板把物理文件放在 `src/assets/` 并列入 `files`。 - `@deepseek-ai/cordis` 与 `@deepseek-ai/schemastery` 是宿主提供的 peer,同时在 `devDependencies` 中供本地检查;详见 [dependencies](docs/dsh-plugin-contracts.md#dependencies)。 - 有浏览器面的包声明 `dsh.client`,并在 `./client` 导出构建后的 bundle。 diff --git a/docs/dsh-plugin-contracts.md b/docs/dsh-plugin-contracts.md index 090018c..fcce0d2 100644 --- a/docs/dsh-plugin-contracts.md +++ b/docs/dsh-plugin-contracts.md @@ -1,6 +1,6 @@ # Standalone DSH Plugin Contracts -This reference ships with the template so planning, implementation, testing, and distribution use only guidance stored below the repository root. It targets the DeepSeek Harness 0.2.1-rc.2 plugin contract. +This reference ships with the template so planning, implementation, testing, and distribution use only guidance stored below the repository root. It targets the DeepSeek Harness 0.2.2-alpha.3 plugin contract. ## Repository boundary @@ -26,7 +26,7 @@ The public manifest fields this template uses are: - `dsh.bundle.patch`: one patch file path or an ordered list applied as one bundle layer. - `dsh.client`: browser module declaration with `platform: 'web'`, optional `inject` package-name edges, optional `immediately`, and optional `external` exact module requests. -Installation and profile startup evaluate the requirement before importing the plugin. A mismatch is refused unless the profile stores an exact-version exemption for that package version and runtime version. Prereleases participate in range matching, so use an explicit prerelease range such as `>=0.2.1-rc.2 <0.3.0` when the package targets this release line. +Installation and profile startup evaluate the requirement before importing the plugin. A mismatch is refused unless the profile stores an exact-version exemption for that package version and runtime version. Prereleases participate in range matching, so use an explicit prerelease range such as `>=0.2.2-0 <0.3.0` when the package targets this release line. ## Dependencies @@ -36,7 +36,7 @@ Classify every package by who supplies it: - **Dependency:** a library the plugin owns and ships with. - **Development dependency:** tooling used only for lint, tests, or builds. -This template uses `@deepseek-ai/cordis` and `@deepseek-ai/schemastery` as peers and development dependencies, and `@deepseek-ai/cordis-plugin-loader` as a development dependency. Keep every consumed `@deepseek-ai/dsh-*` service as a peer with a reachable development copy. Do not use unscoped `cordis`, `schemastery`, or `@cordisjs/plugin-loader` in a 0.2.1 plugin. Do not use `link:` or `file:` specs, and do not bundle a host runtime. +This template uses `@deepseek-ai/cordis` and `@deepseek-ai/schemastery` as peers and development dependencies, and `@deepseek-ai/cordis-plugin-loader` as a development dependency. Keep every consumed `@deepseek-ai/dsh-*` service as a peer with a reachable development copy. Do not use unscoped `cordis`, `schemastery`, or `@cordisjs/plugin-loader` in a 0.2.2 plugin. Do not use `link:` or `file:` specs, and do not bundle a host runtime. ## Display metadata and icon diff --git a/package.json b/package.json index 5a84f84..1320356 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "access": "public" }, "engines": { - "node": ">=24.0.0", - "dsh": ">=0.2.1-rc.2 <0.3.0" + "node": ">=24.9.0", + "dsh": ">=0.2.2-0 <0.3.0" }, "type": "module", "packageManager": "pnpm@11.28.5", @@ -60,13 +60,13 @@ "patch:host": "bash scripts/patch.sh" }, "peerDependencies": { - "@deepseek-ai/cordis": "~4.0.5", - "@deepseek-ai/schemastery": "~3.18.5" + "@deepseek-ai/cordis": "4.0.6-alpha.2", + "@deepseek-ai/schemastery": "3.18.6-alpha.2" }, "devDependencies": { - "@deepseek-ai/cordis": "~4.0.5", - "@deepseek-ai/cordis-plugin-loader": "~1.0.6", - "@deepseek-ai/schemastery": "~3.18.5", + "@deepseek-ai/cordis": "4.0.6-alpha.2", + "@deepseek-ai/cordis-plugin-loader": "1.0.7-alpha.2", + "@deepseek-ai/schemastery": "3.18.6-alpha.2", "@tsconfig/node24": "^24.0.5", "@types/node": "^24.0.0", "oxfmt": "0.73.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 44b5fde..8aa781c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,14 +9,14 @@ importers: .: devDependencies: '@deepseek-ai/cordis': - specifier: ~4.0.5 - version: 4.0.5(@deepseek-ai/cordis-plugin-loader@1.0.6) + specifier: 4.0.6-alpha.2 + version: 4.0.6-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.7-alpha.2) '@deepseek-ai/cordis-plugin-loader': - specifier: ~1.0.6 - version: 1.0.6(@deepseek-ai/cordis@4.0.5) + specifier: 1.0.7-alpha.2 + version: 1.0.7-alpha.2(@deepseek-ai/cordis@4.0.6-alpha.2) '@deepseek-ai/schemastery': - specifier: ~3.18.5 - version: 3.18.5 + specifier: 3.18.6-alpha.2 + version: 3.18.6-alpha.2 '@tsconfig/node24': specifier: ^24.0.5 version: 24.0.5 @@ -44,32 +44,32 @@ importers: packages: - '@deepseek-ai/cordis-plugin-loader@1.0.6': - resolution: {integrity: sha512-fr011A782oEjkJXCY4pePt2qaPpkGvem7Rmst6Rhwgg6icgwI4eN9QBRb6S/q9XOYGVQUdvL0wXUWyNxO8WipA==} + '@deepseek-ai/cordis-plugin-loader@1.0.7-alpha.2': + resolution: {integrity: sha512-6iMp4SeaD3tHzsC3fa2bIOmLSM/mW6U5Z1KTnIKla62NmnesOodpPXl9hNckEx0Ah2xxwVddVJhtvvDiFdmj2g==} peerDependencies: - '@deepseek-ai/cordis': ~4.0.5 + '@deepseek-ai/cordis': ~4.0.6-alpha.2 node-addon-require-builtin: ^0.1.9 peerDependenciesMeta: node-addon-require-builtin: optional: true - '@deepseek-ai/cordis@4.0.5': - resolution: {integrity: sha512-Sktq5axy0owk9PdnivBRNOJjHEVEibCt0+TDDZcv0+UH2KS1M910fX4kn5y45YFsrpZIi1mJf/1s5VzywMUnyg==} + '@deepseek-ai/cordis@4.0.6-alpha.2': + resolution: {integrity: sha512-/JVFMlHToFpIsoWPuTfQrv5wQ8hK021ZGRnovzHB9p1xhe+/y2wgidAf5BvsNZQDUF2GXEnhSm3RnAxYmteeYQ==} hasBin: true peerDependencies: - '@deepseek-ai/cordis-plugin-include': ~1.0.10 - '@deepseek-ai/cordis-plugin-loader': ~1.0.6 + '@deepseek-ai/cordis-plugin-include': ~1.0.11-alpha.2 + '@deepseek-ai/cordis-plugin-loader': ~1.0.7-alpha.2 peerDependenciesMeta: '@deepseek-ai/cordis-plugin-include': optional: true '@deepseek-ai/cordis-plugin-loader': optional: true - '@deepseek-ai/cosmokit@1.8.6': - resolution: {integrity: sha512-ZSD/fN52L498LBIOYwjIOlaLv5veY6ZEwI2yzvZUKQtctn0QAPqu8tKdJ+OF5+Tv6NBq1U+wJWH+QI6OGy5EvQ==} + '@deepseek-ai/cosmokit@1.8.7-alpha.2': + resolution: {integrity: sha512-cZQ1AhU/fxPkPnp0HAk7zbBGG0lnFUtlceACSDqWQ0a1RiTV1vcL2YRkHD5xCY026j/4Smgce1TuaCFZXhzt6A==} - '@deepseek-ai/schemastery@3.18.5': - resolution: {integrity: sha512-Mnobvqf9rHsZYv4g5edj5ddxS1oF1kIdSlz0DunUgnY3LWG5F26MqvH3YOOsSaodCgyzJ16OMN9O99/s5Crtdw==} + '@deepseek-ai/schemastery@3.18.6-alpha.2': + resolution: {integrity: sha512-lRrvZLD9v1BAG5625lyYcRcMJ2xInGjWl65W6H3kL/YSCXUU2/aD1XLBXvoNYvXw2RuAXEfNTSFuZ/XArstwVA==} '@jridgewell/sourcemap-codec@1.5.5': resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} @@ -1050,24 +1050,24 @@ packages: snapshots: - '@deepseek-ai/cordis-plugin-loader@1.0.6(@deepseek-ai/cordis@4.0.5)': + '@deepseek-ai/cordis-plugin-loader@1.0.7-alpha.2(@deepseek-ai/cordis@4.0.6-alpha.2)': dependencies: - '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-loader@1.0.6) - '@deepseek-ai/cosmokit': 1.8.6 - '@deepseek-ai/schemastery': 3.18.5 + '@deepseek-ai/cordis': 4.0.6-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.7-alpha.2) + '@deepseek-ai/cosmokit': 1.8.7-alpha.2 + '@deepseek-ai/schemastery': 3.18.6-alpha.2 - '@deepseek-ai/cordis@4.0.5(@deepseek-ai/cordis-plugin-loader@1.0.6)': + '@deepseek-ai/cordis@4.0.6-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.7-alpha.2)': dependencies: - '@deepseek-ai/cosmokit': 1.8.6 + '@deepseek-ai/cosmokit': 1.8.7-alpha.2 '@standard-schema/spec': 1.1.0 optionalDependencies: - '@deepseek-ai/cordis-plugin-loader': 1.0.6(@deepseek-ai/cordis@4.0.5) + '@deepseek-ai/cordis-plugin-loader': 1.0.7-alpha.2(@deepseek-ai/cordis@4.0.6-alpha.2) - '@deepseek-ai/cosmokit@1.8.6': {} + '@deepseek-ai/cosmokit@1.8.7-alpha.2': {} - '@deepseek-ai/schemastery@3.18.5': + '@deepseek-ai/schemastery@3.18.6-alpha.2': dependencies: - '@deepseek-ai/cosmokit': 1.8.6 + '@deepseek-ai/cosmokit': 1.8.7-alpha.2 '@standard-schema/spec': 1.1.0 '@jridgewell/sourcemap-codec@1.5.5': {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 2c7b195..f06044c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,13 +3,13 @@ packages: autoInstallPeers: false -# DSH 0.2.1-rc.2 vendors these exact @deepseek-ai packages, which were published +# DSH 0.2.2-alpha.3 vendors these exact @deepseek-ai packages, which were published # inside the supply-chain policy window. Re-review these pins when bumping DSH. minimumReleaseAgeExclude: - - '@deepseek-ai/cordis@4.0.5' - - '@deepseek-ai/cordis-plugin-loader@1.0.6' - - '@deepseek-ai/cosmokit@1.8.6' - - '@deepseek-ai/schemastery@3.18.5' + - '@deepseek-ai/cordis@4.0.6-alpha.2' + - '@deepseek-ai/cordis-plugin-loader@1.0.7-alpha.2' + - '@deepseek-ai/cosmokit@1.8.7-alpha.2' + - '@deepseek-ai/schemastery@3.18.6-alpha.2' # Runtime and declaration builds run explicitly in CI and before packing; no # install-time prepare hook is required.