@yunkersek/dsh-prtsui 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/index.js +4 -2
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -159,8 +159,10 @@ function makeSkillProvider() {
159
159
  locator: SKILL_PATH,
160
160
  }]
161
161
  },
162
- async get(skillName) {
163
- if (skillName !== 'prtsui') return undefined
162
+ async get(candidate) {
163
+ // The registry hands back the candidate descriptor from list(), not a bare name.
164
+ const wanted = typeof candidate === 'string' ? candidate : candidate && candidate.name
165
+ if (wanted !== 'prtsui') return undefined
164
166
  const raw = await read()
165
167
  const { description } = frontmatter(raw)
166
168
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yunkersek/dsh-prtsui",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "PRTS-styled inline UI for DeepSeek Harness: renders ```dsh-ui fences as square-cornered, cyan-railed cards. Pure DOM, no external assets.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -46,16 +46,16 @@
46
46
  "inline-ui"
47
47
  ],
48
48
  "author": "dsh-prts authors",
49
- "homepage": "https://github.com/MooncellWiki/prts-design",
49
+ "homepage": "https://github.com/Zyarino/dsh-prtsui#readme",
50
50
  "repository": {
51
51
  "type": "git",
52
- "url": "git+https://github.com/MooncellWiki/prts-design.git"
52
+ "url": "git+https://github.com/Zyarino/dsh-prtsui.git"
53
53
  },
54
54
  "publishConfig": {
55
55
  "registry": "https://registry.npmjs.org",
56
56
  "access": "public"
57
57
  },
58
58
  "bugs": {
59
- "url": "https://github.com/MooncellWiki/prts-design/issues"
59
+ "url": "https://github.com/Zyarino/dsh-prtsui/issues"
60
60
  }
61
61
  }