dsh-opencode 0.1.2 → 0.1.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 +11 -4
- package/lib/client.d.ts +1738 -0
- package/lib/client.js +537 -0
- package/lib/commands.js +6 -21
- package/lib/config.js +13 -2
- package/lib/index.js +4 -5
- package/lib/transport.js +1 -1
- package/package.json +34 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-opencode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Out-of-tree DSH bundle with live dynamic OpenCode Zen / Go model catalogs",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"types": "./lib/index.d.ts",
|
|
13
13
|
"import": "./lib/index.js"
|
|
14
14
|
},
|
|
15
|
+
"./client": {
|
|
16
|
+
"types": "./lib/client.d.ts",
|
|
17
|
+
"default": "./lib/client.js"
|
|
18
|
+
},
|
|
15
19
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
16
20
|
"./package.json": "./package.json"
|
|
17
21
|
},
|
|
@@ -27,7 +31,7 @@
|
|
|
27
31
|
},
|
|
28
32
|
"packageManager": "pnpm@11.7.0",
|
|
29
33
|
"scripts": {
|
|
30
|
-
"build": "tsdown",
|
|
34
|
+
"build": "tsdown && tsdown --config tsdown.client.config.ts",
|
|
31
35
|
"typecheck": "tsc --noEmit",
|
|
32
36
|
"test": "vitest run",
|
|
33
37
|
"test:live": "OPENCODE_LIVE_TESTS=1 vitest run tests/live.spec.ts",
|
|
@@ -36,6 +40,22 @@
|
|
|
36
40
|
"dsh": {
|
|
37
41
|
"bundle": {
|
|
38
42
|
"patch": "./cordis.patch.yml"
|
|
43
|
+
},
|
|
44
|
+
"client": {
|
|
45
|
+
"platform": "web",
|
|
46
|
+
"inject": [
|
|
47
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
48
|
+
"@deepseek-ai/dsh-commands",
|
|
49
|
+
"@deepseek-ai/dsh-client-locale",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-commands",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-settings-models",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-primitives",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
57
|
+
"@deepseek-ai/dsh-client-store"
|
|
58
|
+
]
|
|
39
59
|
}
|
|
40
60
|
},
|
|
41
61
|
"dependencies": {
|
|
@@ -55,8 +75,18 @@
|
|
|
55
75
|
"devDependencies": {
|
|
56
76
|
"@deepseek-ai/cordis": "4.0.2",
|
|
57
77
|
"@deepseek-ai/dsh-agent": "0.1.2-rc.1",
|
|
78
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.2-rc.1",
|
|
58
79
|
"@deepseek-ai/dsh-atomic-write": "0.1.2-rc.1",
|
|
59
80
|
"@deepseek-ai/dsh-attachment": "0.1.2-rc.1",
|
|
81
|
+
"@deepseek-ai/dsh-client-locale": "0.1.2-rc.1",
|
|
82
|
+
"@deepseek-ai/dsh-client-store": "0.1.2-rc.1",
|
|
83
|
+
"@deepseek-ai/dsh-client-ui-commands": "0.1.2-rc.1",
|
|
84
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.1.2-rc.1",
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1",
|
|
86
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.2-rc.1",
|
|
87
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.2-rc.1",
|
|
88
|
+
"@deepseek-ai/dsh-client-ui-settings-models": "0.1.2-rc.1",
|
|
89
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.2-rc.1",
|
|
60
90
|
"@deepseek-ai/dsh-commands": "0.1.2-rc.1",
|
|
61
91
|
"@deepseek-ai/dsh-credentials": "0.1.2-rc.1",
|
|
62
92
|
"@deepseek-ai/dsh-credentials-local": "0.1.2-rc.1",
|
|
@@ -71,6 +101,8 @@
|
|
|
71
101
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
72
102
|
"@earendil-works/pi-ai": "0.84.2",
|
|
73
103
|
"@types/node": "22.20.0",
|
|
104
|
+
"@types/react": "18.3.12",
|
|
105
|
+
"react": "18.3.1",
|
|
74
106
|
"tsdown": "0.22.2",
|
|
75
107
|
"typescript": "6.0.3",
|
|
76
108
|
"vitest": "4.1.8",
|