@klarkxy/dsh-dev-index 0.1.7 → 0.2.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.
package/README.md CHANGED
@@ -23,7 +23,7 @@ The host half adds one system-prompt section when the session uses the `cordis`
23
23
  - `dsh_docs_search({ query: "plugin", language: "en" })` searches the live official `llms.txt` directory: titles, categories and paths. This is a directory search, not full-text search; an empty result does not establish that a topic is absent from the document bodies, so try broader Chinese or English keywords.
24
24
  - `dsh_docs_fetch({ id: "en/develop/basic/tool.md" })` reads a document ID returned by search. Results include the source URL, fetch time, content revision and `nextOffset`. Continue with that offset and the same `revision`; if the document changes, restart from offset zero. The default page size is 12,000 characters, at most 16,000.
25
25
  - `dsh_plugins_search({ query: "memory" })` finds candidate plugins. The default `catalog` source searches the curated klarkxy Chinese/English plugin catalog; `source: "npm"` searches npm's `dsh-plugin` keyword more broadly. Neither source is exhaustive, and a hit is a candidate rather than verified compatibility.
26
- - `dsh_plugins_fetch({ package: "@klarkxy/dsh-memory", version: "latest" })` reads npm registry metadata for an exact package name: dist-tags, published versions in publication-time order, and the selected version's bundle declaration, DSH/Node engine ranges, dependencies and deprecation. `version` accepts an exact release or a dist-tag; ranges are rejected.
26
+ - `dsh_plugins_fetch({ package: "@klarkxy/dsh-mood", version: "latest" })` reads npm registry metadata for an exact package name: dist-tags, published versions in publication-time order, and the selected version's bundle declaration, DSH/Node engine ranges, dependencies and deprecation. `version` accepts an exact release or a dist-tag; ranges are rejected.
27
27
 
28
28
  The plugin-registry tools are read-only metadata lookups: nothing is downloaded, installed or executed, and a declared engines range is not runtime compatibility proof. GitHub-installed plugins have no registry metadata; install those directly with the official plugin manager as `github:owner/repo#commit`, and review their `package.json` yourself.
29
29
 
package/README.zh-CN.md CHANGED
@@ -23,7 +23,7 @@
23
23
  - `dsh_docs_search({ query: "插件", language: "zh" })` 在线读取官方 `llms.txt`,搜索标题、分类和路径。这是目录搜索,不是全文搜索;没有命中不代表正文不含相关内容,可以改用更宽泛的中文或英文关键词。
24
24
  - `dsh_docs_fetch({ id: "develop/basic/tool.md" })` 读取搜索结果中的文档 ID。结果包含来源、获取时间、内容修订值和 `nextOffset`。长文用该偏移量和相同的 `revision` 继续读取;正文更新时需要从头重读。默认每次返回 12,000 字符,上限 16,000。
25
25
  - `dsh_plugins_search({ query: "记忆" })` 查找候选插件。默认 `catalog` 数据源搜索 klarkxy 维护的中英文插件目录;`source: "npm"` 用 npm 的 `dsh-plugin` 关键词做更宽的发现。两个源都不是全量目录,命中结果只是候选,不代表兼容性已验证。
26
- - `dsh_plugins_fetch({ package: "@klarkxy/dsh-memory", version: "latest" })` 按确切包名读取 npm 注册表元数据:dist-tags、按发布时间排序的版本列表,以及选定版本的组合包声明、DSH/Node 版本要求、依赖和弃用说明。`version` 可填精确版本或标签,不接受范围。
26
+ - `dsh_plugins_fetch({ package: "@klarkxy/dsh-mood", version: "latest" })` 按确切包名读取 npm 注册表元数据:dist-tags、按发布时间排序的版本列表,以及选定版本的组合包声明、DSH/Node 版本要求、依赖和弃用说明。`version` 可填精确版本或标签,不接受范围。
27
27
 
28
28
  插件注册表工具是只读元数据查询:不下载、不安装、不执行任何代码,声明的 engines 范围也不是运行时兼容性证明。从 GitHub 安装的插件没有注册表元数据,直接用官方插件管理器以 `github:owner/repo#commit` 安装,并自行审阅其 `package.json`。
29
29
 
package/dsh.plugin.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "id": "@klarkxy/dsh-dev-index",
3
- "version": "0.1.7",
3
+ "version": "0.2.0",
4
4
  "main": "lib/index.js",
5
5
  "description": "DSH Docs: read the official DSH documentation in the Plugins page; Creator mode searches and fetches it with native tools.",
6
6
  "engines": {
7
- "dsh": ">=0.1.7-rc.2"
7
+ "dsh": ">=0.2.0-rc.2"
8
8
  },
9
9
  "contributes": {
10
- "tools": ["dsh_docs_search", "dsh_docs_fetch"],
10
+ "tools": [
11
+ "dsh_docs_search",
12
+ "dsh_docs_fetch"
13
+ ],
11
14
  "skills": []
12
15
  }
13
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klarkxy/dsh-dev-index",
3
- "version": "0.1.7",
3
+ "version": "0.2.0",
4
4
  "description": "DSH Docs: read the official DSH documentation in the Plugins page; Creator mode searches docs and checks plugin npm metadata with native tools.",
5
5
  "icon": "./icon.svg",
6
6
  "keywords": [
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "engines": {
58
58
  "node": "^22.19.0 || >=24.0.0",
59
- "dsh": ">=0.1.7-rc.2"
59
+ "dsh": ">=0.2.0-rc.2"
60
60
  },
61
61
  "license": "SEE LICENSE IN LICENSE",
62
62
  "dsh": {
@@ -72,11 +72,11 @@
72
72
  }
73
73
  },
74
74
  "peerDependencies": {
75
- "@deepseek-ai/cordis": "^4.0.2",
76
- "@deepseek-ai/dsh-agent-preset-registry": ">=0.1.7-rc.2",
77
- "@deepseek-ai/dsh-system-prompt": ">=0.1.7-rc.2",
78
- "@deepseek-ai/schemastery": "^3.18.2",
79
- "@deepseek-ai/dsh-tools": ">=0.1.7-rc.2"
75
+ "@deepseek-ai/cordis": ">=4.0.4",
76
+ "@deepseek-ai/dsh-agent-preset-registry": ">=0.2.0-rc.2",
77
+ "@deepseek-ai/dsh-system-prompt": ">=0.2.0-rc.2",
78
+ "@deepseek-ai/schemastery": ">=3.18.4",
79
+ "@deepseek-ai/dsh-tools": ">=0.2.0-rc.2"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "@deepseek-ai/dsh-agent-preset-registry": {
@@ -92,18 +92,17 @@
92
92
  "devDependencies": {
93
93
  "@deepseek-ai/cordis": "4.0.4",
94
94
  "@deepseek-ai/schemastery": "3.18.4",
95
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.2",
96
- "@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.2",
97
- "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
98
- "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
99
- "@deepseek-ai/dsh-scope": "0.1.7-rc.2",
100
- "@deepseek-ai/dsh-invariants": "0.1.7-rc.2"
95
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
96
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.0-rc.2",
97
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
98
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
99
+ "@deepseek-ai/dsh-scope": "0.2.0-rc.2"
101
100
  },
102
101
  "publishConfig": {
103
102
  "access": "public",
104
103
  "registry": "https://registry.npmjs.org/"
105
104
  },
106
105
  "dshRelease": {
107
- "contentHash": "0778ecf2ce276ea3ebc49c845fb1a980ad8c1d041faee741cff1f63045d2a9f8"
106
+ "contentHash": "535677b4a757c53e81a174500ca1408591b3bc10c5bf6c5969cdcb0863ca8df8"
108
107
  }
109
108
  }