@deepseek-ai/dsh-package-manifest 0.2.0-rc.2 → 0.2.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +4 -4
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/lib/types/types.d.ts +1 -1
- package/package.json +3 -3
package/README.i18n.yaml
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
en: d152484eb41ac6b4
|
|
16
16
|
zh: 1db86285abf6c499
|
|
17
17
|
/deepseek-ai-dsh-package-manifest/use-this-package:
|
|
18
|
-
en:
|
|
19
|
-
zh:
|
|
18
|
+
en: f275964a8845888a
|
|
19
|
+
zh: b284e09aacea079b
|
|
20
20
|
/deepseek-ai-dsh-package-manifest/understand-the-implementation:
|
|
21
|
-
en:
|
|
22
|
-
zh:
|
|
21
|
+
en: 41ec449dee927f04
|
|
22
|
+
zh: ec1b583bd9025d84
|
|
23
23
|
/deepseek-ai-dsh-package-manifest/further-exploration:
|
|
24
24
|
en: f2352ec5d94ac3bd
|
|
25
25
|
zh: c2eb0889554f1a7f
|
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ The following metadata fields are optional. Omitting them leaves the format vers
|
|
|
52
52
|
| `dsh.manifestVersion` | Manifest format identifier; the declared format is `1`, independent of the npm package version and Session format version. |
|
|
53
53
|
| `engines.dsh` | Author-declared compatible DSH versions as a SemVer range, including exact prerelease versions. This field sits beside `engines.node` and `engines.npm`; an engines object may omit `dsh`. |
|
|
54
54
|
|
|
55
|
-
`LocalizedText` carries literal text or a language map with a required English fallback. `PluginLocalizedMeta` carries optional display title, description, an image data URL resolved from `package.json.icon`, and metadata diagnostics for installed plugins. [App boot](../../boot/app-boot/README.md) reads these values; this package only supplies their types.
|
|
55
|
+
`LocalizedText` carries literal text or a language map with a required English fallback. `PluginLocalizedMeta` carries optional display title, description, an image data URL resolved from a package root's `package.json.icon` or an exported `<specifier>/icon`, and metadata diagnostics for installed plugins. [App boot](../../boot/app-boot/README.md) reads these values; this package only supplies their types.
|
|
56
56
|
|
|
57
57
|
Public composition declarations are defined in [`src/types.ts`](src/types.ts). Internal `configTrees`, `sessionFormatMigration`, and generated `moduleFallback` metadata remain owned by their image-packer, catalog, and launcher readers; the public types do not expose them.
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Public composition declarations are defined in [`src/types.ts`](src/types.ts). I
|
|
|
64
64
|
<details>
|
|
65
65
|
<summary>Implementation internals — click to expand</summary>
|
|
66
66
|
|
|
67
|
-
The package root only re-exports declarations from [`src/types.ts`](src/types.ts).
|
|
67
|
+
The package root only re-exports declarations from [`src/types.ts`](src/types.ts).
|
|
68
68
|
|
|
69
69
|
</details>
|
|
70
70
|
|
package/README.zh.md
CHANGED
|
@@ -52,7 +52,7 @@ const manifest: DshPackageManifest = {
|
|
|
52
52
|
| `dsh.manifestVersion` | manifest(元数据清单)格式标识;声明的格式为 `1`,独立于 npm 包版本和 Session 格式版本。 |
|
|
53
53
|
| `engines.dsh` | 作者声明的兼容 DSH 版本,使用 SemVer 范围,也可填写精确的预发布版本。此字段与 `engines.node`、`engines.npm` 并列;engines 对象可省略 `dsh`。 |
|
|
54
54
|
|
|
55
|
-
`LocalizedText` 携带字面文本或带必需英文回退值的语言映射。`PluginLocalizedMeta`
|
|
55
|
+
`LocalizedText` 携带字面文本或带必需英文回退值的语言映射。`PluginLocalizedMeta` 携带已安装插件的可选展示标题、描述、从包根 `package.json.icon` 或导出的 `<标识>/icon` 解析的图片 data URL,以及元信息诊断。[App boot](../../boot/app-boot/README.zh.md) 读取这些值;本包只提供其类型。
|
|
56
56
|
|
|
57
57
|
公共组合声明定义在 [`src/types.ts`](src/types.ts) 中。内部 `configTrees`、`sessionFormatMigration` 和生成的 `moduleFallback` 元数据分别由镜像打包器、目录生成器和启动器读取方拥有;公共类型不暴露这些字段。
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ const manifest: DshPackageManifest = {
|
|
|
64
64
|
<details>
|
|
65
65
|
<summary>实现细节——点击展开</summary>
|
|
66
66
|
|
|
67
|
-
包根仅重新导出 [`src/types.ts`](src/types.ts)
|
|
67
|
+
包根仅重新导出 [`src/types.ts`](src/types.ts) 中的声明。本包
|
|
68
68
|
|
|
69
69
|
</details>
|
|
70
70
|
|
package/lib/types/types.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export interface PluginLocalizedMeta {
|
|
|
46
46
|
readonly title?: LocalizedText;
|
|
47
47
|
/** Display introduction after locale and package-field fallback. */
|
|
48
48
|
readonly description?: LocalizedText;
|
|
49
|
-
/** Base64 image data URL
|
|
49
|
+
/** Base64 image data URL from a package root's manifest icon or an exported `<specifier>/icon`; render as an image, not inline markup. */
|
|
50
50
|
readonly icon?: string;
|
|
51
51
|
/** Unmodified local metadata diagnostic; the plugin remains manageable. */
|
|
52
52
|
readonly error?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-package-manifest",
|
|
3
3
|
"description": "Shared type declarations for package.json.dsh configuration fields",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
30
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
33
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
34
34
|
}
|
|
35
35
|
}
|