@hy-sde-org/dsh-tool-debug 0.2.0-rc.2 → 0.2.1-alpha.4
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/examples/agent-preset/agent.cordis.yml +2 -1
- package/package.json +15 -21
- package/dist/invariant.d.ts +0 -16
- package/dist/invariant.d.ts.map +0 -1
- package/dist/invariant.js +0 -23
- package/dist/invariant.js.map +0 -1
|
@@ -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.
|
|
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.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.1-alpha.4",
|
|
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
|
},
|
|
@@ -43,26 +39,24 @@
|
|
|
43
39
|
}
|
|
44
40
|
},
|
|
45
41
|
"dependencies": {
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
42
|
+
"@deepseek-ai/schemastery": "~3.18.4",
|
|
43
|
+
"@hy-sde-org/dsh-dap": "^0.2.1-alpha.4"
|
|
48
44
|
},
|
|
49
45
|
"peerDependencies": {
|
|
50
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/dsh-
|
|
53
|
-
"@deepseek-ai/dsh-
|
|
54
|
-
"@deepseek-ai/dsh-tools": "^0.2.0-rc.2"
|
|
46
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-system-prompt": "^0.2.1-alpha.4",
|
|
48
|
+
"@deepseek-ai/dsh-timeout": "^0.2.1-alpha.4",
|
|
49
|
+
"@deepseek-ai/dsh-tools": "^0.2.1-alpha.4"
|
|
55
50
|
},
|
|
56
51
|
"devDependencies": {
|
|
57
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-subprocess": "^0.2.
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
|
|
52
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-subprocess": "^0.2.1-alpha.4",
|
|
54
|
+
"@deepseek-ai/dsh-subprocess-local": "^0.2.1-alpha.4",
|
|
55
|
+
"@deepseek-ai/dsh-system-prompt": "^0.2.1-alpha.4",
|
|
56
|
+
"@deepseek-ai/dsh-timeout": "^0.2.1-alpha.4",
|
|
57
|
+
"@deepseek-ai/dsh-tools": "^0.2.1-alpha.4",
|
|
64
58
|
"@deepseek-ai/schemastery": "~3.18.4",
|
|
65
|
-
"@hy-sde-org/dsh-dap": "^0.2.
|
|
59
|
+
"@hy-sde-org/dsh-dap": "^0.2.1-alpha.4",
|
|
66
60
|
"@types/node": "^24.13.3",
|
|
67
61
|
"typescript": "^5.9.3",
|
|
68
62
|
"vitest": "^3.2.7"
|
package/dist/invariant.d.ts
DELETED
|
@@ -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
|
package/dist/invariant.d.ts.map
DELETED
|
@@ -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
|
package/dist/invariant.js.map
DELETED
|
@@ -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"}
|