dsh-plugin-update-entry 0.0.0-stage → 1.0.0

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.
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: plugin-update-entry
3
+ name: 'dsh-plugin-update-entry'
Binary file
Binary file
Binary file
Binary file
package/icon.png ADDED
Binary file
package/icon.svg ADDED
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none">
2
+ <rect width="48" height="48" rx="12" fill="#4D6BFE"/>
3
+ <path d="M24 33V15" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
4
+ <path d="M17 22L24 14.5L31 22" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M15 34.5H33" stroke="#fff" stroke-width="3" stroke-linecap="round" opacity=".55"/>
6
+ </svg>
package/index.js ADDED
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Host half of the plugin-update-entry bundle.
3
+ *
4
+ * Intentionally empty: the entry point lives entirely in the Client module
5
+ * (`./client`), which owns the card-level button, the version popover and the
6
+ * hover notes. Nothing is registered on the Host, so this bundle never changes
7
+ * what the runtime does — it only ships a browser module.
8
+ */
9
+ export function apply() {}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Plugin update entry",
4
+ "description": "An update control before each plugin card's switch, with version choice and per-version release notes."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "插件更新入口",
4
+ "description": "在插件卡片的开关之前提供更新入口,可选择版本并预览每个版本的更新说明。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,67 @@
1
1
  {
2
2
  "name": "dsh-plugin-update-entry",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "Update entry before each DSH plugin card switch: pick a version and read its release notes without opening the detail page.",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "exports": {
8
+ ".": "./index.js",
9
+ "./client": "./client.js",
10
+ "./locale/*.json": "./locale/*.json",
11
+ "./icon": "./icon.svg"
12
+ },
13
+ "dsh": {
14
+ "bundle": {
15
+ "patch": "./cordis.patch.yml"
16
+ },
17
+ "client": {
18
+ "platform": "web",
19
+ "immediately": true,
20
+ "inject": [
21
+ "@deepseek-ai/dsh-client-ui-plugin-manager"
22
+ ]
23
+ }
24
+ },
25
+ "engines": {
26
+ "dsh": "^0.2.2-rc.1"
27
+ },
28
+ "files": [
29
+ "index.js",
30
+ "client.js",
31
+ "cordis.patch.yml",
32
+ "locale/*.json",
33
+ "icon.svg",
34
+ "icon.png",
35
+ "screenshots.json",
36
+ "docs/images/*",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "scripts": {
41
+ "test": "node --test test/*.test.mjs",
42
+ "test:dom": "node test/harness/harness-real.mjs"
43
+ },
44
+ "license": "MIT",
45
+ "keywords": [
46
+ "dsh-plugin",
47
+ "dsh",
48
+ "deepseek-harness",
49
+ "plugin-manager",
50
+ "updates",
51
+ "ui"
52
+ ],
53
+ "author": "creatjy",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "git+https://github.com/creatjy/dsh-plugin-update-entry.git"
57
+ },
58
+ "homepage": "https://github.com/creatjy/dsh-plugin-update-entry#readme",
59
+ "bugs": {
60
+ "url": "https://github.com/creatjy/dsh-plugin-update-entry/issues"
61
+ },
62
+ "devDependencies": {
63
+ "@deepseek-ai/cordis": "^4.1.0",
64
+ "jsdom": "^31.0.0",
65
+ "semver": "^7.8.6"
66
+ }
67
+ }
@@ -0,0 +1,6 @@
1
+ [
2
+ "docs/images/hero.png",
3
+ "docs/images/bulk.png",
4
+ "docs/images/list.png",
5
+ "docs/images/dark.png"
6
+ ]