@hy-sde-org/dsh-tool-debug 0.1.7-rc.2 → 0.2.1-alpha.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.
@@ -13,11 +13,12 @@
13
13
  # Copy any other rows from the preset you normally use (bash, todo, ask-user,
14
14
  # skills, ...) next to these; only the debugging rows are special.
15
15
 
16
+ # Required runtime context supplies the current working directory.
16
17
  - id: persona
17
18
  name: '@deepseek-ai/dsh-persona'
18
19
  config:
19
20
  text: >-
20
- You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
21
+ You are a coding agent powered by the {{model}} model.
21
22
  Debug code with the `debug` tool, which attaches or launches a real
22
23
  debugger (debugpy, lldb-dap, gdb, dlv, ...): set source/function/
23
24
  instruction/data breakpoints, continue/pause/step, read stack
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hy-sde-org/dsh-tool-debug",
3
- "version": "0.1.7-rc.2",
4
- "description": "The `debug` tool for DeepSeek Harness — a model-facing Debug Adapter Protocol tool with 28 operations (launch/attach, breakpoints, continue/pause/step, threads/stackTrace/scopes/variables/evaluate, disassembly, memory, modules, output, terminate) over the standalone DAP seam — a standalone plugin with no upstream harness changes required.",
3
+ "version": "0.2.1-alpha.2",
4
+ "description": "Model-facing Debug Adapter Protocol debug tool with 28 operations (launch/attach, breakpoints, stepping, threads/stack/scopes/variables/evaluate, disassembly, memory, terminate) over the standalone DAP seam — no harness changes required.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -10,10 +10,6 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "default": "./dist/index.js"
12
12
  },
13
- "./invariant": {
14
- "types": "./dist/invariant.d.ts",
15
- "default": "./dist/invariant.js"
16
- },
17
13
  "./cordis.patch.yml": "./cordis.patch.yml",
18
14
  "./package.json": "./package.json"
19
15
  },
@@ -33,8 +29,8 @@
33
29
  },
34
30
  "repository": {
35
31
  "type": "git",
36
- "url": "git+https://github.com/hy-sde/dsh-plugins.git",
37
- "directory": "dsh-tool-debug/packages/tool-debug"
32
+ "url": "git+https://github.com/hy-sde/dsh-tool-debug.git",
33
+ "directory": "packages/tool-debug"
38
34
  },
39
35
  "license": "MIT",
40
36
  "dsh": {
@@ -43,29 +39,27 @@
43
39
  }
44
40
  },
45
41
  "dependencies": {
46
- "@deepseek-ai/schemastery": "~3.18.4",
47
- "@hy-sde-org/dsh-dap": "^0.1.7-rc.2"
42
+ "@hy-sde-org/dsh-dap": "^0.2.1-alpha.2",
43
+ "@deepseek-ai/schemastery": "~3.18.4"
48
44
  },
49
45
  "peerDependencies": {
50
- "@deepseek-ai/cordis": "~4.0.4",
51
- "@deepseek-ai/dsh-invariants": "^0.1.7-rc.2",
52
- "@deepseek-ai/dsh-system-prompt": "^0.1.7-rc.2",
53
- "@deepseek-ai/dsh-timeout": "^0.1.7-rc.2",
54
- "@deepseek-ai/dsh-tools": "^0.1.7-rc.2"
46
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1",
47
+ "@deepseek-ai/dsh-system-prompt": "^0.2.1-alpha.2",
48
+ "@deepseek-ai/dsh-timeout": "^0.2.1-alpha.2",
49
+ "@deepseek-ai/dsh-tools": "^0.2.1-alpha.2"
55
50
  },
56
51
  "devDependencies": {
57
- "@deepseek-ai/cordis": "~4.0.4",
58
- "@deepseek-ai/dsh-invariants": "^0.1.7-rc.2",
59
- "@deepseek-ai/dsh-subprocess": "^0.1.7-rc.2",
60
- "@deepseek-ai/dsh-subprocess-local": "^0.1.7-rc.2",
61
- "@deepseek-ai/dsh-system-prompt": "^0.1.7-rc.2",
62
- "@deepseek-ai/dsh-timeout": "^0.1.7-rc.2",
63
- "@deepseek-ai/dsh-tools": "^0.1.7-rc.2",
52
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1",
53
+ "@deepseek-ai/dsh-subprocess": "^0.2.1-alpha.2",
54
+ "@deepseek-ai/dsh-subprocess-local": "^0.2.1-alpha.2",
55
+ "@deepseek-ai/dsh-system-prompt": "^0.2.1-alpha.2",
56
+ "@deepseek-ai/dsh-timeout": "^0.2.1-alpha.2",
57
+ "@deepseek-ai/dsh-tools": "^0.2.1-alpha.2",
64
58
  "@deepseek-ai/schemastery": "~3.18.4",
59
+ "@hy-sde-org/dsh-dap": "^0.2.1-alpha.2",
65
60
  "@types/node": "^24.13.3",
66
61
  "typescript": "^5.9.3",
67
- "vitest": "^3.2.7",
68
- "@hy-sde-org/dsh-dap": "^0.1.7-rc.2"
62
+ "vitest": "^3.2.7"
69
63
  },
70
64
  "keywords": [
71
65
  "deepseek",
@@ -76,6 +70,10 @@
76
70
  "dap",
77
71
  "debugger"
78
72
  ],
73
+ "homepage": "https://github.com/hy-sde/dsh-tool-debug#readme",
74
+ "bugs": {
75
+ "url": "https://github.com/hy-sde/dsh-tool-debug/issues"
76
+ },
79
77
  "scripts": {
80
78
  "clean": "rm -rf dist",
81
79
  "build": "tsc -p tsconfig.build.json",
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@hy-sde-org/dsh-tool-debug`.
3
- * @module @hy-sde-org/dsh-tool-debug/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "tool-debug-invariant";
8
- /** Service required before the companion can reserve package ownership. */
9
- export declare const inject: string[];
10
- /**
11
- * Register this package's invariant companion.
12
- * @param ctx - Cordis context carrying the invariant service.
13
- * @returns the installed registration's disposer after setup succeeds.
14
- */
15
- export declare const apply: (ctx: Context) => Promise<() => void>;
16
- //# sourceMappingURL=invariant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invariant.d.ts","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAKlD,oCAAoC;AACpC,eAAO,MAAM,IAAI,yBAAyB,CAAA;AAC1C,2EAA2E;AAC3E,eAAO,MAAM,MAAM,UAAiB,CAAA;AASpC;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,KAAK,OAAO,KAAG,OAAO,CAAC,MAAM,IAAI,CACU,CAAA"}
package/dist/invariant.js DELETED
@@ -1,23 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@hy-sde-org/dsh-tool-debug`.
3
- * @module @hy-sde-org/dsh-tool-debug/invariant
4
- */
5
- const PACKAGE_NAME = '@hy-sde-org/dsh-tool-debug';
6
- /** Cordis companion plugin name. */
7
- export const name = 'tool-debug-invariant';
8
- /** Service required before the companion can reserve package ownership. */
9
- export const inject = ['invariants'];
10
- /**
11
- * No runtime invariant: this stateless adapter contributes one tool and prompt
12
- * section, while session lifecycle and result relations remain owned by the
13
- * DAP seam it composes.
14
- */
15
- const install = () => { };
16
- /**
17
- * Register this package's invariant companion.
18
- * @param ctx - Cordis context carrying the invariant service.
19
- * @returns the installed registration's disposer after setup succeeds.
20
- */
21
- export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
22
- /* jscpd:ignore-end */
23
- //# sourceMappingURL=invariant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invariant.js","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,YAAY,GAAG,4BAA4B,CAAA;AAEjD,oCAAoC;AACpC,MAAM,CAAC,MAAM,IAAI,GAAG,sBAAsB,CAAA;AAC1C,2EAA2E;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,YAAY,CAAC,CAAA;AAEpC;;;;GAIG;AACH,MAAM,OAAO,GAAuB,GAAG,EAAE,GAAE,CAAC,CAAA;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,GAAY,EAAuB,EAAE,CACzD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAA;AACjE,sBAAsB"}