@hy-sde-org/dsh-internal-urls 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/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.1.2-rc.1` and later) needs to change.
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.1.2-rc.1`). Add the service, then mount the routing
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 && ppnpm pack --silent --pack-destination /tmp)"
68
- FS_TGZ="$(cd dsh-internal-urls/packages/tool-fs-internal-urls && pnpm pack --silent --pack-destination /tmp)"
69
- SEARCH_TGZ="$(cd dsh-internal-urls/packages/tool-fs-search-internal-urls && pnpm pack --silent --pack-destination /tmp)"
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.2.0-rc.2",
3
+ "version": "0.2.1-alpha.4",
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",
@@ -62,15 +62,14 @@
62
62
  "patch": "./cordis.patch.yml"
63
63
  }
64
64
  },
65
- "dependencies": {
66
- "@deepseek-ai/dsh-fs": "^0.2.0-rc.2"
65
+ "bugs": {
66
+ "url": "https://github.com/hy-sde/dsh-internal-urls/issues"
67
67
  },
68
68
  "peerDependencies": {
69
- "@deepseek-ai/cordis": "~4.0.4",
70
- "@deepseek-ai/dsh-invariants": "^0.2.0-rc.2",
71
- "@deepseek-ai/dsh-sandbox": "^0.2.0-rc.2",
72
- "@deepseek-ai/dsh-subprocess": "^0.2.0-rc.2",
73
- "@deepseek-ai/dsh-session-query": "^0.2.0-rc.2"
69
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2",
70
+ "@deepseek-ai/dsh-sandbox": "^0.2.1-alpha.4",
71
+ "@deepseek-ai/dsh-session-query": "^0.2.1-alpha.4",
72
+ "@deepseek-ai/dsh-subprocess": "^0.2.1-alpha.4"
74
73
  },
75
74
  "peerDependenciesMeta": {
76
75
  "@deepseek-ai/dsh-session-query": {
@@ -78,15 +77,14 @@
78
77
  }
79
78
  },
80
79
  "devDependencies": {
81
- "@deepseek-ai/cordis": "~4.0.4",
82
- "@deepseek-ai/dsh-fs": "^0.2.0-rc.2",
83
- "@deepseek-ai/dsh-invariants": "^0.2.0-rc.2",
84
- "@deepseek-ai/dsh-llm": "^0.2.0-rc.2",
85
- "@deepseek-ai/dsh-sandbox": "^0.2.0-rc.2",
86
- "@deepseek-ai/dsh-subprocess": "^0.2.0-rc.2",
87
- "@deepseek-ai/dsh-system-prompt": "^0.2.0-rc.2",
88
- "@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
89
- "@hy-sde-org/dsh-tool-fs-internal-urls": "^0.2.0-rc.2",
80
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2",
81
+ "@deepseek-ai/dsh-fs": "^0.2.1-alpha.4",
82
+ "@deepseek-ai/dsh-llm": "^0.2.1-alpha.4",
83
+ "@deepseek-ai/dsh-sandbox": "^0.2.1-alpha.4",
84
+ "@deepseek-ai/dsh-subprocess": "^0.2.1-alpha.4",
85
+ "@deepseek-ai/dsh-system-prompt": "^0.2.1-alpha.4",
86
+ "@deepseek-ai/dsh-tools": "^0.2.1-alpha.4",
87
+ "@hy-sde-org/dsh-tool-fs-internal-urls": "^0.2.1-alpha.4",
90
88
  "@types/node": "^24.0.0",
91
89
  "typescript": "^5.9.3",
92
90
  "vitest": "^3.2.7"
@@ -103,8 +101,8 @@
103
101
  "issue"
104
102
  ],
105
103
  "homepage": "https://github.com/hy-sde/dsh-internal-urls#readme",
106
- "bugs": {
107
- "url": "https://github.com/hy-sde/dsh-internal-urls/issues"
104
+ "dependencies": {
105
+ "@deepseek-ai/dsh-fs": "^0.2.1-alpha.4"
108
106
  },
109
107
  "scripts": {
110
108
  "clean": "rm -rf dist",
@@ -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
@@ -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
@@ -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"}