dsh-repo-setup 0.1.4 → 0.1.6

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/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "gongyijie85/dsh-repo-setup",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Repo bootstrap guidance for DeepSeek Harness: read-only repo_setup_scan tool that detects stack/tests/docs/git/db and recommends skill plugins, MCP servers and hygiene files to install (claude-code-setup counterpart)",
6
6
  "engines": {
package/lib/index.js CHANGED
@@ -171,7 +171,7 @@ async function scanRepo(root) {
171
171
 
172
172
  /** Register the read-only repo setup scanner. */
173
173
  function apply(ctx) {
174
- ctx.tools.register(defineTool({
174
+ ctx.effect(() => ctx.tools.register(defineTool({
175
175
  name: 'repo_setup_scan',
176
176
  description: 'Read-only bootstrap scan of a project directory: detects language stack, test setup, docs, git, docker and database hints, ' +
177
177
  'then recommends which DSH skill plugins to install (mattpocock-skills-dsh, superpowers-dsh, dsh-ponytail), which MCP servers to ' +
@@ -190,7 +190,7 @@ function apply(ctx) {
190
190
  },
191
191
  execute: (args) => scanRepo(args.path ?? process.cwd()),
192
192
  timeoutMs: 15000,
193
- }))
193
+ })))
194
194
  }
195
195
 
196
196
  export { apply, name, inject }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-repo-setup",
3
3
  "description": "Repo bootstrap guidance for DeepSeek Harness: read-only repo_setup_scan tool that detects stack/tests/docs/git/db and recommends skill plugins, MCP servers and hygiene files to install (claude-code-setup counterpart)",
4
- "version": "0.1.4",
4
+ "version": "0.1.6",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "engines": {
@@ -39,13 +39,9 @@
39
39
  "claude-code-setup"
40
40
  ],
41
41
  "peerDependencies": {
42
- "@deepseek-ai/dsh-tools": ">=0.0.1-rc.1 <0.2.0",
42
+ "@deepseek-ai/dsh-tools": ">=0.0.1-rc.1 <0.3.0",
43
43
  "@deepseek-ai/cordis": "^4.0.1"
44
44
  },
45
- "scripts": {
46
- "verify": "node scripts/verify-tool.mjs",
47
- "prepublishOnly": "node scripts/verify-tool.mjs"
48
- },
49
45
  "dsh": {
50
46
  "bundle": {
51
47
  "patch": "./cordis.patch.yml"
@@ -71,8 +67,12 @@
71
67
  "0.1.5-alpha.1": "compatible",
72
68
  "0.1.5-alpha.2": "compatible",
73
69
  "0.1.5-rc.1": "compatible",
74
- "0.1.5-rc.2": "compatible"
70
+ "0.1.5-rc.2": "compatible",
71
+ "0.2.0-rc.1": "compatible"
75
72
  }
76
73
  }
74
+ },
75
+ "scripts": {
76
+ "verify": "node scripts/verify-tool.mjs"
77
77
  }
78
- }
78
+ }