@karoc/dsh-proxy 0.1.3 → 0.1.18

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,12 +1,16 @@
1
1
  {
2
2
  "name": "@karoc/dsh-proxy",
3
- "version": "0.1.3",
3
+ "version": "0.1.18",
4
4
  "description": "Smoothly Proxy (思磨力代理插件): external DeepSeek Harness plugin — a model-provider forward proxy with per-host routing and a Settings page.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
8
- ".": { "default": "./lib/index.js" },
9
- "./client": { "default": "./lib/client.js" },
8
+ ".": {
9
+ "default": "./lib/index.js"
10
+ },
11
+ "./client": {
12
+ "default": "./lib/client.js"
13
+ },
10
14
  "./package.json": "./package.json"
11
15
  },
12
16
  "files": [
@@ -20,11 +24,12 @@
20
24
  "LICENSE"
21
25
  ],
22
26
  "dsh": {
23
- "bundle": { "patch": "./cordis.patch.yml" },
27
+ "bundle": {
28
+ "patch": "./cordis.patch.yml"
29
+ },
24
30
  "client": {
25
31
  "inject": [
26
32
  "@deepseek-ai/dsh-client-locale",
27
- "@deepseek-ai/dsh-client-runtime",
28
33
  "@deepseek-ai/dsh-client-ui-settings",
29
34
  "@deepseek-ai/dsh-client-ui-slots",
30
35
  "@deepseek-ai/dsh-client-ui-primitives"
@@ -36,21 +41,45 @@
36
41
  "bundle": "tsdown --config ./tsdown.config.ts",
37
42
  "prepare": "tsdown --config ./tsdown.config.ts",
38
43
  "typecheck": "tsc --noEmit",
39
- "test": "node --test scripts/proxy-core.spec.mjs scripts/host-route.spec.mjs scripts/client-boot.spec.mjs scripts/cordis-mount.spec.mjs",
44
+ "test": "node --test scripts/proxy-core.spec.mjs scripts/egress.spec.mjs scripts/host-route.spec.mjs scripts/client-boot.spec.mjs scripts/cordis-mount.spec.mjs && node scripts/packed-artifact.spec.mjs && node scripts/check-guarantees.mjs && node scripts/test-negative-controls.mjs",
40
45
  "accept": "node scripts/accept-gui.mjs && node scripts/verify-tooltip.mjs",
41
46
  "release:check": "node scripts/release-check.mjs",
42
47
  "prepack": "node scripts/release-check.mjs",
43
48
  "prepublishOnly": "node scripts/release-check.mjs && tsdown --config ./tsdown.config.ts",
44
- "postpublish": "node scripts/post-publish-check.mjs"
49
+ "postpublish": "node scripts/post-publish-check.mjs --advisory",
50
+ "verify:guarantees": "node scripts/check-guarantees.mjs",
51
+ "test:controls": "node scripts/test-negative-controls.mjs",
52
+ "verify:all": "node scripts/verify-all.mjs",
53
+ "verify:fresh": "node scripts/verify-all.mjs --check-fresh",
54
+ "verify:publish": "node scripts/post-publish-check.mjs --strict",
55
+ "publish:release": "node scripts/publish.mjs"
45
56
  },
46
- "engines": { "node": ">=18" },
47
- "keywords": ["deepseek-harness", "dsh", "plugin", "proxy", "model-provider", "settings", "smoothly-proxy", "sp"],
57
+ "engines": {
58
+ "node": ">=18"
59
+ },
60
+ "keywords": [
61
+ "deepseek-harness",
62
+ "dsh",
63
+ "plugin",
64
+ "proxy",
65
+ "model-provider",
66
+ "settings",
67
+ "smoothly-proxy",
68
+ "sp"
69
+ ],
48
70
  "author": "karoc",
49
71
  "license": "MIT",
50
- "repository": { "type": "git", "url": "git+https://github.com/karoc/dsh-proxy.git" },
51
- "bugs": { "url": "https://github.com/karoc/dsh-proxy/issues" },
72
+ "repository": {
73
+ "type": "git",
74
+ "url": "git+https://github.com/karoc/dsh-proxy.git"
75
+ },
76
+ "bugs": {
77
+ "url": "https://github.com/karoc/dsh-proxy/issues"
78
+ },
52
79
  "homepage": "https://github.com/karoc/dsh-proxy",
53
- "publishConfig": { "access": "public" },
80
+ "publishConfig": {
81
+ "access": "public"
82
+ },
54
83
  "devDependencies": {
55
84
  "@types/node": "^22.0.0",
56
85
  "@types/react": "~18.3.1",
@@ -58,5 +87,13 @@
58
87
  "tsdown": "^0.22.0",
59
88
  "typescript": "^5.6.0"
60
89
  },
61
- "peerDependencies": { "react": "^18.2.0" }
90
+ "peerDependencies": {
91
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.1.7-rc.1",
92
+ "react": "^18.2.0"
93
+ },
94
+ "peerDependenciesMeta": {
95
+ "@deepseek-ai/dsh-client-ui-settings": {
96
+ "optional": true
97
+ }
98
+ }
62
99
  }