@hy-sde-org/dsh-internal-urls 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.
- package/README.md +5 -5
- package/package.json +21 -19
- package/dist/invariant.d.ts +0 -16
- package/dist/invariant.d.ts.map +0 -1
- package/dist/invariant.js +0 -26
- package/dist/invariant.js.map +0 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ a **standalone plugin**: the registry row installs via `cordis.patch.yml`, and
|
|
|
10
10
|
the routing tools install as agent-scope shadows
|
|
11
11
|
(`@hy-sde-org/dsh-tool-fs-internal-urls` /
|
|
12
12
|
`@hy-sde-org/dsh-tool-fs-search-internal-urls`). Nothing in the upstream
|
|
13
|
-
DeepSeek Harness (`dsh-v0.
|
|
13
|
+
DeepSeek Harness (`dsh-v0.2.0-rc.2` and later) needs to change.
|
|
14
14
|
|
|
15
15
|
## URL shapes
|
|
16
16
|
|
|
@@ -44,7 +44,7 @@ pnpm install --global @deepseek-ai/dsh
|
|
|
44
44
|
### Direct from npm (published)
|
|
45
45
|
|
|
46
46
|
All three packages are published on the npm registry under the `hy-sde-org`
|
|
47
|
-
organization (version `0.
|
|
47
|
+
organization (version `0.2.0-rc.2`). Add the service, then mount the routing
|
|
48
48
|
tools via a preset:
|
|
49
49
|
|
|
50
50
|
```bash
|
|
@@ -64,9 +64,9 @@ cd dsh-plugins
|
|
|
64
64
|
pnpm install
|
|
65
65
|
pnpm --filter @hy-sde-org/dsh-internal-urls build
|
|
66
66
|
|
|
67
|
-
IU_TGZ="$(cd dsh-internal-urls/packages/internal-urls &&
|
|
68
|
-
FS_TGZ="$(cd dsh-internal-urls/packages/tool-fs-internal-urls && pnpm pack --
|
|
69
|
-
SEARCH_TGZ="$(cd dsh-internal-urls/packages/tool-fs-search-internal-urls && pnpm pack --
|
|
67
|
+
IU_TGZ="$(cd dsh-internal-urls/packages/internal-urls && pnpm pack --pack-destination /tmp | tail -n 1)"
|
|
68
|
+
FS_TGZ="$(cd dsh-internal-urls/packages/tool-fs-internal-urls && pnpm pack --pack-destination /tmp | tail -n 1)"
|
|
69
|
+
SEARCH_TGZ="$(cd dsh-internal-urls/packages/tool-fs-search-internal-urls && pnpm pack --pack-destination /tmp | tail -n 1)"
|
|
70
70
|
dsh plugin --profile web add "$IU_TGZ" "$FS_TGZ" "$SEARCH_TGZ"
|
|
71
71
|
```
|
|
72
72
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hy-sde-org/dsh-internal-urls",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1-alpha.2",
|
|
4
4
|
"description": "FS-shaped internal URL schemes (conflict://, pr://, issue://, …) resolved through one registry behind the read/grep/write tools — a standalone service plugin for DeepSeek Harness with no upstream harness changes required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"repository": {
|
|
55
55
|
"type": "git",
|
|
56
|
-
"url": "git+https://github.com/hy-sde/dsh-
|
|
57
|
-
"directory": "
|
|
56
|
+
"url": "git+https://github.com/hy-sde/dsh-internal-urls.git",
|
|
57
|
+
"directory": "packages/internal-urls"
|
|
58
58
|
},
|
|
59
59
|
"license": "MIT",
|
|
60
60
|
"dsh": {
|
|
@@ -63,14 +63,13 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@deepseek-ai/dsh-fs": "^0.1
|
|
66
|
+
"@deepseek-ai/dsh-fs": "^0.2.1-alpha.2"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
70
|
-
"@deepseek-ai/dsh-
|
|
71
|
-
"@deepseek-ai/dsh-
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-session-query": "^0.1.7-rc.2"
|
|
69
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
70
|
+
"@deepseek-ai/dsh-sandbox": "^0.2.1-alpha.2",
|
|
71
|
+
"@deepseek-ai/dsh-subprocess": "^0.2.1-alpha.2",
|
|
72
|
+
"@deepseek-ai/dsh-session-query": "^0.2.1-alpha.2"
|
|
74
73
|
},
|
|
75
74
|
"peerDependenciesMeta": {
|
|
76
75
|
"@deepseek-ai/dsh-session-query": {
|
|
@@ -78,18 +77,17 @@
|
|
|
78
77
|
}
|
|
79
78
|
},
|
|
80
79
|
"devDependencies": {
|
|
81
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
82
|
-
"@deepseek-ai/dsh-fs": "^0.1
|
|
83
|
-
"@deepseek-ai/dsh-
|
|
84
|
-
"@deepseek-ai/dsh-
|
|
85
|
-
"@deepseek-ai/dsh-
|
|
86
|
-
"@deepseek-ai/dsh-
|
|
87
|
-
"@deepseek-ai/dsh-
|
|
88
|
-
"@
|
|
80
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
81
|
+
"@deepseek-ai/dsh-fs": "^0.2.1-alpha.2",
|
|
82
|
+
"@deepseek-ai/dsh-llm": "^0.2.1-alpha.2",
|
|
83
|
+
"@deepseek-ai/dsh-sandbox": "^0.2.1-alpha.2",
|
|
84
|
+
"@deepseek-ai/dsh-subprocess": "^0.2.1-alpha.2",
|
|
85
|
+
"@deepseek-ai/dsh-system-prompt": "^0.2.1-alpha.2",
|
|
86
|
+
"@deepseek-ai/dsh-tools": "^0.2.1-alpha.2",
|
|
87
|
+
"@hy-sde-org/dsh-tool-fs-internal-urls": "^0.2.1-alpha.2",
|
|
89
88
|
"@types/node": "^24.0.0",
|
|
90
89
|
"typescript": "^5.9.3",
|
|
91
|
-
"vitest": "^3.2.7"
|
|
92
|
-
"@hy-sde-org/dsh-tool-fs-internal-urls": "^0.1.7-rc.2"
|
|
90
|
+
"vitest": "^3.2.7"
|
|
93
91
|
},
|
|
94
92
|
"keywords": [
|
|
95
93
|
"deepseek",
|
|
@@ -102,6 +100,10 @@
|
|
|
102
100
|
"pr",
|
|
103
101
|
"issue"
|
|
104
102
|
],
|
|
103
|
+
"homepage": "https://github.com/hy-sde/dsh-internal-urls#readme",
|
|
104
|
+
"bugs": {
|
|
105
|
+
"url": "https://github.com/hy-sde/dsh-internal-urls/issues"
|
|
106
|
+
},
|
|
105
107
|
"scripts": {
|
|
106
108
|
"clean": "rm -rf dist",
|
|
107
109
|
"build": "tsc -p tsconfig.build.json",
|
package/dist/invariant.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@hy-sde-org/dsh-internal-urls`.
|
|
3
|
-
* @module @hy-sde-org/dsh-internal-urls/invariant
|
|
4
|
-
*/
|
|
5
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export declare const name = "internal-urls-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,4BAA4B,CAAA;AAC7C,2EAA2E;AAC3E,eAAO,MAAM,MAAM,UAAiB,CAAA;AAYpC;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,KAAK,OAAO,KAAG,OAAO,CAAC,MAAM,IAAI,CACU,CAAA"}
|
package/dist/invariant.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@hy-sde-org/dsh-internal-urls`.
|
|
3
|
-
* @module @hy-sde-org/dsh-internal-urls/invariant
|
|
4
|
-
*/
|
|
5
|
-
const PACKAGE_NAME = '@hy-sde-org/dsh-internal-urls';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export const name = 'internal-urls-invariant';
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export const inject = ['invariants'];
|
|
10
|
-
/**
|
|
11
|
-
* No runtime event invariant: the router validates handlers at registration
|
|
12
|
-
* time (scheme shape, single handler per scheme), and every resolution result
|
|
13
|
-
* passes through the router which stamps immutability. The conflict history is
|
|
14
|
-
* session-scoped mutable state that the read/write tools verify against the
|
|
15
|
-
* file contents before every splice, so no global event carries opaque data
|
|
16
|
-
* worth asserting here.
|
|
17
|
-
*/
|
|
18
|
-
const install = () => { };
|
|
19
|
-
/**
|
|
20
|
-
* Register this package's invariant companion.
|
|
21
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
22
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
23
|
-
*/
|
|
24
|
-
export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
25
|
-
/* jscpd:ignore-end */
|
|
26
|
-
//# 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,+BAA+B,CAAA;AAEpD,oCAAoC;AACpC,MAAM,CAAC,MAAM,IAAI,GAAG,yBAAyB,CAAA;AAC7C,2EAA2E;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,YAAY,CAAC,CAAA;AAEpC;;;;;;;GAOG;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"}
|