opencode-next 0.0.0-stage → 1.0.1
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/LICENSE +22 -0
- package/README.md +359 -2
- package/README.zh-TW.md +388 -0
- package/bin/login.mjs +71 -0
- package/bin/smoke.mjs +73 -0
- package/cordis.patch.yml +9 -0
- package/lib/adapter.js +574 -0
- package/lib/bun-transport.js +413 -0
- package/lib/bun-worker.mjs +77 -0
- package/lib/catalog.js +870 -0
- package/lib/client.js +396 -0
- package/lib/config.js +200 -0
- package/lib/constants.js +161 -0
- package/lib/context-window.js +117 -0
- package/lib/device-flow.js +263 -0
- package/lib/failures.js +475 -0
- package/lib/fallback.js +229 -0
- package/lib/go/adapter.js +434 -0
- package/lib/go/catalog.js +305 -0
- package/lib/go/client.js +647 -0
- package/lib/go/credentials.js +321 -0
- package/lib/go/service.js +643 -0
- package/lib/images.js +98 -0
- package/lib/index.js +408 -0
- package/lib/picker.js +126 -0
- package/lib/probe.js +309 -0
- package/lib/status.js +440 -0
- package/lib/store.js +434 -0
- package/lib/stream.js +271 -0
- package/lib/token-manager.js +560 -0
- package/lib/ui.js +4587 -0
- package/lib/web-api.js +876 -0
- package/package.json +69 -4
package/package.json
CHANGED
|
@@ -1,6 +1,71 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-next",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "OpenCode-Next: Native OpenCode OAuth & OpenCode Go provider for DeepSeek Harness (DSH)",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/kizaki-R/OpenCode-Next-for-DSH.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/kizaki-R/OpenCode-Next-for-DSH#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/kizaki-R/OpenCode-Next-for-DSH/issues"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "lib/index.js",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": "./lib/index.js",
|
|
17
|
+
"./client": "./lib/ui.js",
|
|
18
|
+
"./config": "./lib/config.js",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"lib",
|
|
23
|
+
"bin",
|
|
24
|
+
"cordis.patch.yml",
|
|
25
|
+
"README.zh-TW.md"
|
|
26
|
+
],
|
|
27
|
+
"bin": {
|
|
28
|
+
"opencode-next-login": "bin/login.mjs"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"dsh",
|
|
32
|
+
"dsh-plugin",
|
|
33
|
+
"opencode",
|
|
34
|
+
"opencode-go",
|
|
35
|
+
"llm-provider"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"check": "node --check lib/index.js && node --check lib/config.js && node --check lib/client.js && node --check lib/stream.js && node --check lib/catalog.js && node --check lib/probe.js && node --check lib/store.js && node --check lib/device-flow.js && node --check lib/constants.js && node --check lib/failures.js && node --check lib/token-manager.js && node --check lib/context-window.js && node --check lib/images.js && node --check lib/status.js && node --check lib/web-api.js && node --check lib/ui.js && node --check bin/login.mjs && node --check bin/smoke.mjs",
|
|
39
|
+
"test": "node test/run-tests.mjs",
|
|
40
|
+
"prepublishOnly": "npm run check && npm test",
|
|
41
|
+
"smoke": "node bin/smoke.mjs",
|
|
42
|
+
"login": "node bin/login.mjs"
|
|
43
|
+
},
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=20"
|
|
46
|
+
},
|
|
47
|
+
"dsh": {
|
|
48
|
+
"bundle": {
|
|
49
|
+
"patch": "./cordis.patch.yml"
|
|
50
|
+
},
|
|
51
|
+
"client": {
|
|
52
|
+
"platform": "web",
|
|
53
|
+
"inject": [
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
56
|
+
"@deepseek-ai/dsh-client-locale"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"compatibility": {
|
|
60
|
+
"dsh": ">=0.1.5-rc.1 <0.3.0",
|
|
61
|
+
"dshReleases": {
|
|
62
|
+
"0.1.5-rc.1": "compatible",
|
|
63
|
+
"0.2.0-rc.2": "compatible"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@deepseek-ai/schemastery": ">=3.18.0"
|
|
69
|
+
},
|
|
70
|
+
"license": "MIT"
|
|
71
|
+
}
|