@aiwayds/dsh-llm-proxy 0.7.1 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiwayds/dsh-llm-proxy",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "dsh plugin: SYSTEM proxy (env) + LLM traffic-splitting proxy via a process-global undici routing dispatcher",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -46,8 +46,8 @@
46
46
  "undici": "8.9.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@deepseek-ai/cordis": "4.0.4",
50
- "@deepseek-ai/schemastery": "3.18.4",
49
+ "@deepseek-ai/cordis": "^4.0.4",
50
+ "@deepseek-ai/schemastery": "^3.18.4",
51
51
  "@deepseek-ai/dsh-settings": ">=0.2.0-rc.2",
52
52
  "@deepseek-ai/dsh-skill": ">=0.2.0-rc.2"
53
53
  },
@@ -63,10 +63,11 @@
63
63
  }
64
64
  },
65
65
  "devDependencies": {
66
- "@deepseek-ai/cordis": "4.0.4",
67
- "@deepseek-ai/schemastery": "3.18.4",
68
- "@deepseek-ai/dsh-settings": "0.2.0-rc.2",
69
- "@deepseek-ai/dsh-skill": "0.2.0-rc.2",
66
+ "@deepseek-ai/cordis": "4.0.5",
67
+ "@deepseek-ai/dsh-scope": "0.2.1-rc.2",
68
+ "@deepseek-ai/dsh-settings": "0.2.1-rc.2",
69
+ "@deepseek-ai/dsh-skill": "0.2.1-rc.2",
70
+ "@deepseek-ai/schemastery": "3.18.5",
70
71
  "@types/node": "^24.0.0",
71
72
  "typescript": "^5.9.0"
72
73
  },
@@ -96,6 +96,14 @@ dsh-llm-proxy:
96
96
  proxy: "http://127.0.0.1:1"
97
97
  `)
98
98
 
99
+ // Peers must not auto-install into the scratch profile: npm 7+ would resolve
100
+ // our `^0.2.0-rc.2`-style peer floors to the old tower and shadow the host
101
+ // closure under it (rows seeded from the shadow then fail the rc.2 compat
102
+ // preflight) — the failure mode the optional-peer contract exists for.
103
+ // Lifecycle scripts stay ON below (the consumer-path regression this install
104
+ // is here for).
105
+ writeFileSync(path.join(profile, '.npmrc'), 'legacy-peer-deps=true\n')
106
+
99
107
  const install = spawnSync('npm', ['install', '--no-audit', '--no-fund', '--loglevel=error'], { cwd: profile, encoding: 'utf8' })
100
108
  if (install.status !== 0 || install.error) fail('npm install in the scratch profile failed (lifecycle scripts on — the consumer path)', `${install.stdout}\n${install.stderr}`)
101
109