@hilariouhiss/dsh-colgrep 1.2.0 → 1.2.3

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/lib/index.js +3 -1
  2. package/package.json +10 -8
package/lib/index.js CHANGED
@@ -159,7 +159,9 @@ export function apply(ctx) {
159
159
  sandboxPolicy: policy,
160
160
  ...(workdir ? { workdir, env: { COLGREP_DATA_DIR: dataDir } } : {}),
161
161
  });
162
- const run = await ctx.shell.run(spec);
162
+ // The shell seam is `execute()` → handle → `result()` since 0.1.7; the
163
+ // older `run()` that settled the outcome directly no longer exists.
164
+ const run = await (await ctx.shell.execute(spec)).result();
163
165
  const stdout = run.stdout && run.stdout.text ? run.stdout.text : "";
164
166
  const stderr = run.stderr && run.stderr.text ? run.stderr.text : "";
165
167
  const commandName = args.command || "search";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hilariouhiss/dsh-colgrep",
3
- "version": "1.2.0",
3
+ "version": "1.2.3",
4
4
  "description": "colgrep — semantic code search (ColBERT multi-vector) for DeepSeek Harness. Adds a `colgrep` tool that finds code by meaning, not exact text.",
5
5
  "keywords": [
6
6
  "dsh",
@@ -22,7 +22,8 @@
22
22
  "directory": "dsh-colgrep"
23
23
  },
24
24
  "publishConfig": {
25
- "access": "public"
25
+ "access": "public",
26
+ "registry": "https://registry.npmjs.org"
26
27
  },
27
28
  "type": "module",
28
29
  "main": "./lib/index.js",
@@ -37,20 +38,21 @@
37
38
  "LICENSE"
38
39
  ],
39
40
  "peerDependencies": {
40
- "@deepseek-ai/dsh-tools": "^0.1.5-rc.2"
41
+ "@deepseek-ai/dsh-tools": "^0.2.1-alpha.4"
41
42
  },
42
43
  "devDependencies": {
43
- "@deepseek-ai/dsh-tools": "0.1.5-rc.2"
44
+ "@deepseek-ai/dsh-tools": "0.2.1-alpha.4"
44
45
  },
45
46
  "dsh": {
46
47
  "bundle": {
47
48
  "patch": "./cordis.patch.yml"
48
49
  }
49
50
  },
51
+ "scripts": {
52
+ "test": "node --test",
53
+ "prepublishOnly": "npm test"
54
+ },
50
55
  "engines": {
51
56
  "node": ">=20"
52
- },
53
- "scripts": {
54
- "test": "node --test"
55
57
  }
56
- }
58
+ }