@capyclaw/ppt-skill-narrative 2.2.1 → 2.2.2

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.md CHANGED
@@ -1,3 +1,3 @@
1
- # dsh-ppt-skill-narrative
1
+ # @capyclaw/ppt-skill-narrative
2
2
 
3
3
  PPT skill 单包:`pptmaster-narrative`。只注册一个 skill provider,不启动服务。
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "contractVersion": "2.4.0",
3
- "packageVersion": "2.4.0",
3
+ "packageVersion": "2.4.2",
4
4
  "toolCount": 27,
5
5
  "tools": [
6
6
  {
package/cordis.patch.yml CHANGED
@@ -1,4 +1,4 @@
1
- # dsh-ppt-skill-narrative bundle patch:只注册 pptmaster-narrative 一个 skill provider。
1
+ # @capyclaw/ppt-skill-narrative(目录 dsh-ppt-skill-narrative) bundle patch:只注册 pptmaster-narrative 一个 skill provider。
2
2
  - insert:
3
3
  - id: ppt-skill-narrative
4
- name: dsh-ppt-skill-narrative
4
+ name: @capyclaw/ppt-skill-narrative
package/lib/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /** dsh-ppt-skill-narrative:单 skill provider。 */
1
+ /** @capyclaw/ppt-skill-narrative(目录 dsh-ppt-skill-narrative):单 skill provider。 */
2
2
  import { fileURLToPath } from 'node:url'
3
3
  import { createSkillProvider } from './provider.mjs'
4
4
 
@@ -15,7 +15,7 @@ function defaultProvider(config = {}) {
15
15
  skillDirs: [SKILL],
16
16
  contractNote: (version, skillName) => (String(skillName || '').startsWith('pptmaster-')
17
17
  ? ''
18
- : '契约:PPTist Workbench ' + version + '。动作前先调用 ppt_capabilities;工具缺失或 major 不一致时停止,并提示用户安装/升级 dsh-ppt-suite。'),
18
+ : '契约:PPTist Workbench ' + version + '。动作前先调用 ppt_capabilities;工具缺失或 major 不一致时停止,并提示用户安装/升级 @capyclaw/ppt-suite。'),
19
19
  })
20
20
  }
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capyclaw/ppt-skill-narrative",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "PPT skill:SCQA、金字塔、一页一观点、deck_brief。",
5
5
  "type": "module",
6
6
  "main": "./lib/index.mjs",
@@ -8,10 +8,19 @@
8
8
  ".": "./lib/index.mjs",
9
9
  "./package.json": "./package.json"
10
10
  },
11
+ "engines": {
12
+ "node": ">=18",
13
+ "dsh": "^0.2.0-rc.2"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
11
18
  "dsh": {
12
19
  "bundle": {
13
20
  "patch": "./cordis.patch.yml"
14
- }
21
+ },
22
+ "category": "skills",
23
+ "platform": "both"
15
24
  },
16
25
  "meta": {
17
26
  "title": "PPT Skill · PPT 叙事",
@@ -24,5 +33,11 @@
24
33
  "cordis.patch.yml",
25
34
  "README.md"
26
35
  ],
27
- "license": "MIT"
36
+ "license": "MIT",
37
+ "scripts": {
38
+ "test": "node --test test/smoke.test.mjs"
39
+ },
40
+ "dependencies": {
41
+ "@capyclaw/plugin-kit": "^0.2.0"
42
+ }
28
43
  }