@lyogvce/dsh-codex-subscription 0.0.0-stage → 0.2.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 CHANGED
@@ -1,6 +1,75 @@
1
1
  {
2
2
  "name": "@lyogvce/dsh-codex-subscription",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "复用本机 ~/.codex 订阅凭证与 models_cache.json 模型缓存,在 DSH 中通过 SSE 直连调用 Codex 模型。",
5
+ "type": "module",
6
+ "main": "./lib/index.js",
7
+ "types": "./lib/index.d.ts",
8
+ "icon": "./icon.svg",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./lib/index.d.ts",
12
+ "default": "./lib/index.js"
13
+ },
14
+ "./client": "./lib/client.js",
15
+ "./cordis.patch.yml": "./cordis.patch.yml",
16
+ "./package.json": "./package.json",
17
+ "./locale/*.json": "./locale/*.json",
18
+ "./icon": "./icon.svg"
19
+ },
20
+ "files": [
21
+ "lib",
22
+ "locale",
23
+ "icon.svg",
24
+ "cordis.patch.yml",
25
+ "README.md"
26
+ ],
27
+ "dsh": {
28
+ "bundle": {
29
+ "patch": "./cordis.patch.yml"
30
+ },
31
+ "client": {
32
+ "platform": "web",
33
+ "immediately": true,
34
+ "inject": [
35
+ "@deepseek-ai/dsh-client-locale",
36
+ "@deepseek-ai/dsh-client-ui-slots",
37
+ "@deepseek-ai/dsh-client-ui-conversation",
38
+ "@deepseek-ai/dsh-client-ui-model-selection"
39
+ ]
40
+ }
41
+ },
42
+ "peerDependencies": {
43
+ "@deepseek-ai/dsh-llm": "*",
44
+ "@deepseek-ai/dsh-llm-pi-ai": "*",
45
+ "@deepseek-ai/schemastery": "*",
46
+ "@earendil-works/pi-ai": "*"
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "^22.20.5",
50
+ "tsdown": "0.23.0",
51
+ "typescript": "5.9.3"
52
+ },
53
+ "scripts": {
54
+ "build": "tsdown",
55
+ "dev": "tsdown --watch",
56
+ "typecheck": "tsc --noEmit",
57
+ "pretest": "pnpm build",
58
+ "test": "node --test tests/*.test.mjs",
59
+ "test:isolation": "./tools/test-isolation.sh",
60
+ "verify": "pnpm typecheck && pnpm test && pnpm test:isolation",
61
+ "prepack": "pnpm build",
62
+ "prepublishOnly": "pnpm verify"
63
+ },
64
+ "publishConfig": {
65
+ "access": "public"
66
+ },
67
+ "license": "MIT",
68
+ "keywords": [
69
+ "dsh",
70
+ "dsh-plugin",
71
+ "codex",
72
+ "openai-codex",
73
+ "subscription"
74
+ ]
75
+ }