dsh-sub2api 0.0.0-stage → 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/CHANGELOG.md ADDED
@@ -0,0 +1,48 @@
1
+ # Changelog
2
+
3
+ ## 0.1.4
4
+
5
+ - Never create an ungrouped key. With more than one group on offer and no
6
+ `allowed_groups` on the account, selection returned nothing, the key was
7
+ created without a group, and the gateway rejected it with a permission error
8
+ — the catalog could never load. Selection now prefers a group whose platform
9
+ matches this plugin's protocol (openai), then a non-exclusive one.
10
+ - Stop rendering `[object Object]`. The gateway reports key and permission
11
+ faults in OpenAI's `{error:{message,type}}` shape, which has no top-level
12
+ `message`; casting `body.error` to a string produced that placeholder. Error
13
+ bodies are now unwrapped properly, `describe()` refuses to stringify an
14
+ object, and the panel renders text only.
15
+ - The report heading now says 开通未完成 only when a blocking step failed.
16
+
17
+ ## 0.1.3
18
+
19
+ - Drop the manual-reconciliation copy. The recharge hint no longer promises a
20
+ human review step, and the order-status wording says "正在确认到账" instead of
21
+ "正在核账". The equivalent wording on pay.pscly.cc's checkout page and status
22
+ payload was changed to match.
23
+
24
+ ## 0.1.2
25
+
26
+ - Treat a zero-balance account as a state, not a failure. sub2api answers
27
+ `/v1/models` with `403 INSUFFICIENT_BALANCE` until the account is credited, so
28
+ a freshly registered user always saw an empty picker with no explanation. The
29
+ catalog now records the reason, the panel shows it with a 去充值 shortcut, and
30
+ a settled recharge refreshes the catalog immediately.
31
+ - Redesigned the settings panel: labelled fields with a focus ring, a
32
+ show/hide password control, a full-width primary action, alert blocks for
33
+ both expected and failed states, and a models list with context/vision badges.
34
+
35
+ ## 0.1.1
36
+
37
+ - Support DSH `0.2.1` alongside `0.2.2`, so the plugin installs on every DSH
38
+ Desktop channel (stable ships 0.2.1-rc.3, beta/next ship 0.2.2-rc.3).
39
+ Pinned `@dsh-ai-providers/openai-compatible@0.7.0`, whose peer range covers
40
+ both; the LLM surface used here is identical across the two.
41
+ - Documented DSH Desktop installation, channel compatibility, the restart
42
+ requirement and the market's npm-only automatic-install boundary.
43
+
44
+ ## 0.1.0
45
+
46
+ - First release: provider route `sub2api`, zero-friction signup, automatic
47
+ provisioning of a key named `dsh`, upstream model sync, balance, redeem codes
48
+ and the two-path recharge hand-off.