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