@edge-sky/dsh-oauth-adapter 0.1.3-rc.4 → 0.1.3-rc.5

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.i18n.yaml CHANGED
@@ -1,4 +1,4 @@
1
1
  # Bilingual-pair consistency record: the git blob hash of each side as of the
2
2
  # last confirmed-consistent state. Both languages carry equal authority.
3
- README.md: c30bed23d84ddcd11616cb323d9698c0105ac0dd
4
- README.zh.md: e77381a4a09dcf7bdfc88d2ec65d57df894f931b
3
+ README.md: c2036d85e20f9ef012fdb15b0d859ddef0bcaa43
4
+ README.zh.md: de5e332d16093ff7d8316e246311f76bf552d675
package/README.md CHANGED
@@ -17,11 +17,11 @@ An OAuth account page for the DSH Web profile. It supports:
17
17
  | OpenRouter | Browser PKCE callback |
18
18
  | xAI | Device code |
19
19
 
20
- This checkout targets DSH `0.2.0-rc.2`. Once an adapter release with the DSH 0.2 peer range is published, install that release. Earlier DSH releases require an earlier adapter release.
20
+ The current plugin declares DSH peer compatibility as `>=0.2.0-rc.2`, with no upper version limit. Development dependencies remain pinned to `0.2.0-rc.2` to verify the minimum supported version.
21
21
 
22
22
  ## Install
23
23
 
24
- For DSH `0.2.0-rc.2`, after the compatible adapter release is published:
24
+ For DSH `>=0.2.0-rc.2`:
25
25
 
26
26
  ```sh
27
27
  dsh plugin --profile web add @edge-sky/dsh-oauth-adapter
package/README.zh.md CHANGED
@@ -17,11 +17,11 @@
17
17
  | OpenRouter | 浏览器 PKCE 回调 |
18
18
  | xAI | 设备码 |
19
19
 
20
- 当前源码面向 DSH `0.2.0-rc.2`。发布声明 DSH 0.2 peer 依赖范围的适配器版本后,请安装该版本。较早的 DSH 版本需使用对应的适配器旧版本。
20
+ 当前插件声明的 DSH peer 兼容范围为 `>=0.2.0-rc.2`,不设版本上限。开发依赖仍固定为 `0.2.0-rc.2`,用于验证最低支持版本。
21
21
 
22
22
  ## 安装
23
23
 
24
- 对于 DSH `0.2.0-rc.2`:
24
+ 对于 DSH `>=0.2.0-rc.2`:
25
25
 
26
26
  ```sh
27
27
  dsh plugin --profile web add @edge-sky/dsh-oauth-adapter
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@edge-sky/dsh-oauth-adapter",
3
3
  "description": "Web and Desktop OAuth account surface for official DSH authorization flows",
4
- "version": "0.1.3-rc.4",
4
+ "version": "0.1.3-rc.5",
5
5
  "author": {
6
6
  "name": "edge-sky",
7
7
  "url": "https://github.com/edge-sky"
@@ -13,7 +13,6 @@
13
13
  "type": "git",
14
14
  "url": "git+https://github.com/edge-sky/dsh-oauth-adapter.git"
15
15
  },
16
- "packageManager": "pnpm@11.23.0",
17
16
  "engines": {
18
17
  "node": "^22.19.0 || >=24.0.0"
19
18
  },
@@ -45,14 +44,6 @@
45
44
  "lib/**/*.js",
46
45
  "lib/**/*.d.ts"
47
46
  ],
48
- "scripts": {
49
- "build": "tsdown && pnpm run build:host && pnpm run build:client:types",
50
- "build:host": "tsc -p tsconfig.json",
51
- "build:client:types": "tsc -p tsconfig.client.json",
52
- "test": "pnpm run build && vitest run",
53
- "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit",
54
- "prepack": "pnpm run typecheck && pnpm test"
55
- },
56
47
  "license": "MIT",
57
48
  "dsh": {
58
49
  "bundle": {
@@ -69,21 +60,21 @@
69
60
  },
70
61
  "peerDependencies": {
71
62
  "@deepseek-ai/cordis": ">=4.0.4 <5",
72
- "@deepseek-ai/dsh-authorization": ">=0.2.0-rc.2 <0.3.0-0",
73
- "@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.2 <0.3.0-0",
74
- "@deepseek-ai/dsh-client-ui-settings": ">=0.2.0-rc.2 <0.3.0-0",
75
- "@deepseek-ai/dsh-client-ui-slots": ">=0.2.0-rc.2 <0.3.0-0",
76
- "@deepseek-ai/dsh-credentials": ">=0.2.0-rc.2 <0.3.0-0",
77
- "@deepseek-ai/dsh-host-webserver": ">=0.2.0-rc.2 <0.3.0-0",
78
- "@deepseek-ai/dsh-invariants": ">=0.2.0-rc.2 <0.3.0-0",
79
- "@deepseek-ai/dsh-llm": ">=0.2.0-rc.2 <0.3.0-0",
80
- "@deepseek-ai/dsh-llm-pi-ai": ">=0.2.0-rc.2 <0.3.0-0",
81
- "@deepseek-ai/dsh-settings": ">=0.2.0-rc.2 <0.3.0-0",
63
+ "@deepseek-ai/dsh-authorization": ">=0.2.0-rc.2",
64
+ "@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.2",
65
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.2.0-rc.2",
66
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.2.0-rc.2",
67
+ "@deepseek-ai/dsh-credentials": ">=0.2.0-rc.2",
68
+ "@deepseek-ai/dsh-host-webserver": ">=0.2.0-rc.2",
69
+ "@deepseek-ai/dsh-invariants": ">=0.2.0-rc.2",
70
+ "@deepseek-ai/dsh-llm": ">=0.2.0-rc.2",
71
+ "@deepseek-ai/dsh-llm-pi-ai": ">=0.2.0-rc.2",
72
+ "@deepseek-ai/dsh-settings": ">=0.2.0-rc.2",
82
73
  "react": ">=18.2.0",
83
- "@deepseek-ai/dsh-client-ui-settings-models": ">=0.2.0-rc.2 <0.3.0-0",
84
- "@deepseek-ai/dsh-attachment": ">=0.2.0-rc.2 <0.3.0-0",
85
- "@deepseek-ai/dsh-fs": ">=0.2.0-rc.2 <0.3.0-0",
86
- "@deepseek-ai/dsh-client-ui-renderer": ">=0.2.0-rc.2 <0.3.0-0"
74
+ "@deepseek-ai/dsh-client-ui-settings-models": ">=0.2.0-rc.2",
75
+ "@deepseek-ai/dsh-attachment": ">=0.2.0-rc.2",
76
+ "@deepseek-ai/dsh-fs": ">=0.2.0-rc.2",
77
+ "@deepseek-ai/dsh-client-ui-renderer": ">=0.2.0-rc.2"
87
78
  },
88
79
  "peerDependenciesMeta": {
89
80
  "@deepseek-ai/cordis": {
@@ -193,5 +184,12 @@
193
184
  "@deepseek-ai/dsh-util-code-language": "0.2.0-rc.2",
194
185
  "diff": "^9.0.0",
195
186
  "simple-icons": "16.31.0"
187
+ },
188
+ "scripts": {
189
+ "build": "tsdown && pnpm run build:host && pnpm run build:client:types",
190
+ "build:host": "tsc -p tsconfig.json",
191
+ "build:client:types": "tsc -p tsconfig.client.json",
192
+ "test": "pnpm run build && vitest run",
193
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit"
196
194
  }
197
- }
195
+ }