dsh-openrouter-provider-advisor 0.1.0

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 ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "name": "dsh-openrouter-provider-advisor",
3
+ "version": "0.1.0",
4
+ "description": "DSH web plugin that ranks OpenRouter upstream providers by quality, speed, cache-heavy price, context, and uptime, then safely switches the active route.",
5
+ "keywords": ["deepseek-harness", "dsh", "dsh-plugin", "openrouter", "provider-routing", "typescript"],
6
+ "repository": { "type": "git", "url": "git+https://github.com/xuanfengtechx/dsh-openrouter-provider-advisor.git" },
7
+ "homepage": "https://github.com/xuanfengtechx/dsh-openrouter-provider-advisor#readme",
8
+ "bugs": { "url": "https://github.com/xuanfengtechx/dsh-openrouter-provider-advisor/issues" },
9
+ "publishConfig": { "access": "public" },
10
+ "type": "module",
11
+ "main": "lib/index.js",
12
+ "types": "lib/types/index.d.ts",
13
+ "exports": {
14
+ ".": { "types": "./lib/types/index.d.ts", "default": "./lib/index.js" },
15
+ "./client": { "types": "./lib/types/client/index.d.ts", "default": "./lib/client.js" },
16
+ "./cordis.patch.yml": "./cordis.patch.yml",
17
+ "./package.json": "./package.json"
18
+ },
19
+ "dsh": {
20
+ "bundle": { "patch": "./cordis.patch.yml" },
21
+ "client": {
22
+ "platform": "web",
23
+ "inject": [
24
+ "@deepseek-ai/dsh-client-runtime",
25
+ "@deepseek-ai/dsh-client-locale",
26
+ "@deepseek-ai/dsh-client-ui-layout",
27
+ "@deepseek-ai/dsh-client-ui-sidebar",
28
+ "@deepseek-ai/dsh-client-ui-settings",
29
+ "@deepseek-ai/dsh-client-ui-settings-plugins"
30
+ ]
31
+ }
32
+ },
33
+ "scripts": {
34
+ "test": "vitest run",
35
+ "typecheck": "tsc --noEmit",
36
+ "build": "tsdown && tsc -p tsconfig.build.json",
37
+ "verify": "npm test && npm run typecheck && npm run build",
38
+ "prepare": "npm run build",
39
+ "prepublishOnly": "npm run verify"
40
+ },
41
+ "peerDependencies": {
42
+ "@deepseek-ai/cordis": "^4.0.1",
43
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.8",
44
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.8",
45
+ "@deepseek-ai/dsh-client-ui-layout": "^0.1.0-rc.8",
46
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.8",
47
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.0-rc.8",
48
+ "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.0-rc.8",
49
+ "@deepseek-ai/dsh-credentials": "^0.1.0-rc.8",
50
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.8",
51
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.8",
52
+ "@deepseek-ai/schemastery": "^3.18.1",
53
+ "react": ">=18.2.0 <20"
54
+ },
55
+ "devDependencies": {
56
+ "@deepseek-ai/cordis": "^4.0.1",
57
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.8",
58
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.8",
59
+ "@deepseek-ai/dsh-client-ui-layout": "^0.1.0-rc.8",
60
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.8",
61
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.0-rc.8",
62
+ "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.0-rc.8",
63
+ "@deepseek-ai/dsh-credentials": "^0.1.0-rc.8",
64
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.8",
65
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.8",
66
+ "@deepseek-ai/schemastery": "^3.18.1",
67
+ "@types/node": "^22.20.0",
68
+ "@types/react": "~18.3.1",
69
+ "react": "^18.2.0",
70
+ "tsdown": "^0.15.4",
71
+ "typescript": "^5.9.2",
72
+ "vitest": "^4.1.8"
73
+ },
74
+ "engines": { "node": "^22.19.0 || >=24.0.0" },
75
+ "license": "MIT",
76
+ "files": ["lib/**/*.js", "lib/types/**/*.d.ts", "cordis.patch.yml", "dsh.plugin.json", "README.md", "README_EN.md", "docs/images/*.png", "LICENSE"]
77
+ }