@deepseek-ai/dsh-skill-badge 0.2.1-alpha.1 → 0.2.1-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.i18n.yaml CHANGED
@@ -1,34 +1,34 @@
1
1
  # Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
2
2
  # section, a hash of its English and Chinese blocks outside code blocks and generated regions.
3
3
  # After editing either side, bring the other along and re-record with:
4
- # pnpm run verify-translation-pairing --write packages/skill/skill-badge/README.md
4
+ # pnpm run verify-translation-pairing --write packages/experimental/skill-badge/README.md
5
5
  /:
6
6
  en: c32f79a869ebd48a
7
7
  zh: 44e64fb59fa75e57
8
8
  /deepseek-ai-dsh-skill-badge:
9
- en: 173ba0ed0aa79510
10
- zh: 8b0cb7a81db06283
9
+ en: 2e49dd1b621b834d
10
+ zh: 1eb37e3b23098c77
11
11
  /deepseek-ai-dsh-skill-badge/summary:
12
- en: ccb1ebcc64163d39
13
- zh: 3c89c981873e3b5e
12
+ en: 49bdd760ee9e4370
13
+ zh: 2a4e68a7ef28d3e6
14
14
  /deepseek-ai-dsh-skill-badge/table-of-contents:
15
15
  en: d152484eb41ac6b4
16
16
  zh: 09388d293f9be9cb
17
17
  /deepseek-ai-dsh-skill-badge/use-this-package:
18
- en: a559a5ed8a76e342
19
- zh: 6558f9af8d6c9625
18
+ en: 0da087eb29c565b0
19
+ zh: ec86044ef1255440
20
20
  /deepseek-ai-dsh-skill-badge/use-this-package/when-to-choose-it:
21
- en: a3276561ace9e681
22
- zh: d2541ab4846fefa2
21
+ en: 4e424f3ab2a8b5b1
22
+ zh: e38162f15f0a8354
23
23
  /deepseek-ai-dsh-skill-badge/use-this-package/enable-the-plugin:
24
- en: fbee982ca0bbcf25
25
- zh: b3e802857d784384
24
+ en: a52d308db24e47bc
25
+ zh: 4e79dae8fa75e484
26
26
  /deepseek-ai-dsh-skill-badge/use-this-package/what-the-badge-skill-provides:
27
27
  en: 7144db5613266a9b
28
28
  zh: d1b7edf6c1253e9a
29
29
  /deepseek-ai-dsh-skill-badge/use-this-package/observable-success-and-failures:
30
- en: 1b3c8501e0899f1e
31
- zh: 909684f272051d5f
30
+ en: dd749b384f657fa8
31
+ zh: d2ab3f5adf29bd33
32
32
  /deepseek-ai-dsh-skill-badge/understand-the-implementation:
33
33
  en: 63465b0133f30e85
34
34
  zh: 84bebb7c1fe0ceba
@@ -45,8 +45,8 @@
45
45
  en: b9912bc3f1ba0680
46
46
  zh: e288cc67b6d079f6
47
47
  /deepseek-ai-dsh-skill-badge/model-experience/kv-cache-effect:
48
- en: 6a8366520852a607
49
- zh: 453ec29827b82bbc
48
+ en: 5b5bcb4fc0513bef
49
+ zh: 67a1d939c6a18c2e
50
50
  /deepseek-ai-dsh-skill-badge/known-limitations-and-deferred-work:
51
51
  en: c7e405ebbc1d4602
52
52
  zh: 05a57fb4359da265
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- Agents can load the official "powered by dsh" badge skill from this bundled provider and follow its instructions for adding attribution badges to documents, PRs, and other content produced with DeepSeek Harness. The provider has no configuration, and the shipped CLI composition includes the plugin disabled, so deployments enable it explicitly. The skill ships both Markdown snippets and a packaged PNG for systems that cannot reliably import remote images.
12
+ Agents can load the official "powered by dsh" badge skill from this bundled provider and follow its instructions for adding attribution badges to documents, PRs, and other content produced with DeepSeek Harness. The provider has no configuration; deployments install it and insert its plugin row explicitly. The skill ships both Markdown snippets and a packaged PNG for systems that cannot reliably import remote images.
13
13
 
14
14
  ## Table of Contents
15
15
 
@@ -27,16 +27,20 @@ Agents can load the official "powered by dsh" badge skill from this bundled prov
27
27
 
28
28
  Enable the plugin to make the `dsh-badge` skill available in the session skill catalog; the model can then load it like any other skill and follow its instructions for adding a "powered by dsh" badge.
29
29
 
30
+ In Plugins, this component is named **DSH** and uses the DSH tag icon. Its skill is named `dsh-badge`.
31
+
30
32
  ### When to choose it
31
33
 
32
- Choose this provider when content produced with DeepSeek Harness should carry official attribution badges, and the deployment wants the badge skill available to agents without storing it in a local skill directory. Skip it when the badge is irrelevant to the deployment — the plugin is disabled by default and adds nothing until enabled.
34
+ Choose this provider when content produced with DeepSeek Harness should carry official attribution badges, and the deployment wants the badge skill available to agents without storing it in a local skill directory. Skip it when the badge is irrelevant to the deployment. The default composition omits the plugin; installation and an explicit active row are required.
33
35
 
34
36
  ### Enable the plugin
35
37
 
36
- The plugin has no configuration. Add its composition row to a composition; the shipped CLI composition carries the row as `disabled: true`, so enable it explicitly there.
38
+ Install `@deepseek-ai/dsh-skill-badge` into the profile and insert its plugin row. The default composition does not declare it.
37
39
 
38
40
  ```yaml
39
- - name: '@deepseek-ai/dsh-skill-badge'
41
+ - insert:
42
+ - id: skill-badge
43
+ name: '@deepseek-ai/dsh-skill-badge'
40
44
  ```
41
45
 
42
46
  After enabling, `dsh-badge` appears in the available skills of the session catalog. The skill covers remote Markdown badges (Shields.io-based) and a packaged PNG badge asset for targets that cannot fetch remote images reliably.
@@ -48,7 +52,7 @@ After enabling, `dsh-badge` appears in the available skills of the session catal
48
52
 
49
53
  ### Observable success and failures
50
54
 
51
- Enabling the plugin makes `dsh-badge` appear in the catalog and loadable by name; disabling or omitting the row keeps it out of every catalog. Because the provider is immutable, discovery always succeeds with exactly one skill and never reports partial results.
55
+ An explicitly inserted active row makes `dsh-badge` appear in the catalog and loadable by name. Without an active row, this provider contributes no catalog entry. Because the provider is immutable, discovery always succeeds with exactly one skill and never reports partial results.
52
56
 
53
57
  -----
54
58
 
@@ -81,8 +85,8 @@ The provider is an immutable, synchronously registered skill source: it register
81
85
  Read these pages when the package-level contract is not enough. They move from the registry this provider registers on to how the skill reaches the model.
82
86
 
83
87
  - [Skill subsystem reference](../../../docs/subsystems/skills.md) — the registry and provider contract this provider implements.
84
- - [skill package](../skill/README.md) — the registry the provider registers on, and the shared rendering of loaded skills.
85
- - [tool-skill package](../tool-skill/README.md) — how the badge skill reaches the session catalog and the model.
88
+ - [skill package](../../skill/skill/README.md) — the registry the provider registers on, and the shared rendering of loaded skills.
89
+ - [tool-skill package](../../skill/tool-skill/README.md) — how the badge skill reaches the session catalog and the model.
86
90
 
87
91
  -----
88
92
 
@@ -93,7 +97,7 @@ Indirectly, through `dsh-tool-skill`, which renders the provider's catalog entry
93
97
 
94
98
  #### KV Cache effect
95
99
 
96
- Disabled by default, the plugin changes no request. When enabled, its catalog entry and any loaded body change the provider KV prefix at their insertion points.
100
+ An omitted plugin adds no request content. When its inserted row is active, its catalog entry and any loaded body change the provider KV prefix at their insertion points.
97
101
 
98
102
  ## Known Limitations and Deferred Work
99
103
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- agent(智能体)可以通过该内置提供方加载官方「powered by dsh」徽章 skill,并遵循其指令,给文档、PR(Pull Request)以及其他用 DeepSeek Harness 生成的内容添加署名徽章。该提供方没有配置,随附 CLI(命令行界面)组合以禁用状态包含该插件,因此部署方需要显式启用。该 skill 同时提供 Markdown 片段和随包分发的 PNG,供无法可靠导入远程图片的系统使用。
12
+ agent(智能体)可以通过该内置提供方加载官方「powered by dsh」徽章 skill,并遵循其指令,给文档、PR(Pull Request)以及其他用 DeepSeek Harness 生成的内容添加署名徽章。该提供方没有配置;部署方需要显式安装并插入插件行。该 skill 同时提供 Markdown 片段和随包分发的 PNG,供无法可靠导入远程图片的系统使用。
13
13
 
14
14
  ## 目录
15
15
 
@@ -27,16 +27,20 @@ agent(智能体)可以通过该内置提供方加载官方「powered by dsh
27
27
 
28
28
  启用插件即可让 `dsh-badge` skill 出现在会话 skill 目录中;随后模型可以像加载任何其他 skill 一样加载它,并遵循其指令添加「powered by dsh」徽章。
29
29
 
30
+ 在插件页面中,此组件显示为 **DSH**,并使用 DSH 标签图标。它提供的 skill 名称为 `dsh-badge`。
31
+
30
32
  ### 何时选择
31
33
 
32
- 当用 DeepSeek Harness 生成的内容应携带官方署名徽章、且部署方希望该徽章 skill 对 agent 可用而无需存入本地 skill 目录时,选择此提供方。当徽章与部署无关时,请跳过——插件默认禁用,启用前不增加任何东西。
34
+ 当用 DeepSeek Harness 生成的内容应携带官方署名徽章、且部署方希望该徽章 skill 对 agent 可用而无需存入本地 skill 目录时,选择此提供方。当徽章与部署无关时,请跳过。默认组合省略此插件;使用它需要安装包并显式插入活动行。
33
35
 
34
36
  ### 启用插件
35
37
 
36
- 该插件没有配置。把它的组合行加入组合即可;随附 CLI 组合以 `disabled: true` 携带该行,因此在那里需要显式启用。
38
+ 将 `@deepseek-ai/dsh-skill-badge` 安装到 profile,并插入插件行。默认组合不声明该行。
37
39
 
38
40
  ```yaml
39
- - name: '@deepseek-ai/dsh-skill-badge'
41
+ - insert:
42
+ - id: skill-badge
43
+ name: '@deepseek-ai/dsh-skill-badge'
40
44
  ```
41
45
 
42
46
  启用后,`dsh-badge` 会出现在会话目录的可用 skill 中。该 skill 覆盖远程 Markdown 徽章(基于 Shields.io)和随包分发的 PNG 徽章资源,后者用于无法可靠获取远程图片的目标环境。
@@ -48,7 +52,7 @@ agent(智能体)可以通过该内置提供方加载官方「powered by dsh
48
52
 
49
53
  ### 可观察的成功与失败
50
54
 
51
- 启用插件会使 `dsh-badge` 出现在目录中并可凭名称加载;禁用或省略该行则它不会出现在任何目录中。由于提供方不可变,发现始终成功且恰好返回一个 skill,绝不会报告部分结果。
55
+ 显式插入的活动行会使 `dsh-badge` 出现在目录中并可凭名称加载。没有活动行时,此提供方不贡献目录条目。由于提供方不可变,发现始终成功且恰好返回一个 skill,绝不会报告部分结果。
52
56
 
53
57
  -----
54
58
 
@@ -81,8 +85,8 @@ agent(智能体)可以通过该内置提供方加载官方「powered by dsh
81
85
  当包级约定不够用时,请阅读以下页面。这些页面先介绍该提供方注册到的注册表,再说明 skill 如何到达模型。
82
86
 
83
87
  - [skill 子系统参考](../../../docs/subsystems/skills.zh.md)——该提供方实现的注册表与提供方约定。
84
- - [skill 包](../skill/README.zh.md)——该提供方注册到的注册表,以及已加载 skill 的共享渲染。
85
- - [tool-skill 包](../tool-skill/README.zh.md)——徽章 skill 如何到达会话目录与模型。
88
+ - [skill 包](../../skill/skill/README.zh.md)——该提供方注册到的注册表,以及已加载 skill 的共享渲染。
89
+ - [tool-skill 包](../../skill/tool-skill/README.zh.md)——徽章 skill 如何到达会话目录与模型。
86
90
 
87
91
  -----
88
92
 
@@ -93,7 +97,7 @@ agent(智能体)可以通过该内置提供方加载官方「powered by dsh
93
97
 
94
98
  #### KV Cache 影响
95
99
 
96
- 该插件默认禁用,不会改变任何请求。启用后,其目录条目和任何已加载正文都会在各自插入点改变提供方的 KV 前缀。
100
+ 省略的插件不增加请求内容。插入的行处于活动状态时,其目录条目和任何已加载正文都会在各自插入点改变提供方的 KV 前缀。
97
101
 
98
102
  ## 已知限制与延期工作
99
103
 
package/icon.svg ADDED
@@ -0,0 +1,6 @@
1
+ <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="6" y="11.5" width="24" height="13" rx="1.5" fill="#4D6BFE" />
3
+ <path d="M10 15V21H11.5C13.2 21 14 20 14 18C14 16 13.2 15 11.5 15H10Z" stroke="#FFFFFF" stroke-width="1.25" stroke-linejoin="round" />
4
+ <path d="M19.9 15.4C19.2 15 18.7 15 18 15C16.7 15 16 15.6 16 16.5C16 17.5 16.9 17.8 18 18C19.2 18.2 20 18.6 20 19.5C20 20.4 19.2 21 18 21C17.2 21 16.5 20.8 16 20.4" stroke="#FFFFFF" stroke-width="1.25" stroke-linecap="round" />
5
+ <path d="M22 15V21M26 15V21M22 18H26" stroke="#FFFFFF" stroke-width="1.25" stroke-linecap="square" />
6
+ </svg>
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "DSH",
4
+ "description": "Provide the official powered-by-DSH badge skill."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "DSH",
4
+ "description": "提供官方 powered-by-DSH 徽章技能。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-skill-badge",
3
3
  "description": "Bundled dsh badge skill provider for DeepSeek Harness",
4
- "version": "0.2.1-alpha.1",
4
+ "version": "0.2.1-alpha.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
11
- "directory": "packages/skill/skill-badge"
11
+ "directory": "packages/experimental/skill-badge"
12
12
  },
13
13
  "type": "module",
14
14
  "main": "lib/index.js",
@@ -18,20 +18,24 @@
18
18
  "types": "./lib/types/index.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
- "./package.json": "./package.json"
21
+ "./package.json": "./package.json",
22
+ "./locale/*.json": "./locale/*.json"
22
23
  },
24
+ "icon": "./icon.svg",
23
25
  "files": [
26
+ "icon.svg",
27
+ "locale/*.json",
24
28
  "lib/index.js",
25
29
  "assets",
26
30
  "lib/types/**/*.d.ts"
27
31
  ],
28
32
  "license": "MIT",
29
33
  "peerDependencies": {
30
- "@deepseek-ai/dsh-skill": "0.2.1-alpha.1",
31
- "@deepseek-ai/cordis": "~4.0.5-alpha.1"
34
+ "@deepseek-ai/dsh-skill": "0.2.1-alpha.3",
35
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2"
32
36
  },
33
37
  "devDependencies": {
34
- "@deepseek-ai/dsh-skill": "0.2.1-alpha.1",
35
- "@deepseek-ai/cordis": "~4.0.5-alpha.1"
38
+ "@deepseek-ai/dsh-skill": "0.2.1-alpha.3",
39
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2"
36
40
  }
37
41
  }