@hystudio/dsh-quota-pill 0.2.11 → 0.2.12
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/AGENTS.md +7 -7
- package/README.md +6 -5
- package/client.js +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -16,10 +16,10 @@ For a fresh DSH Desktop:
|
|
|
16
16
|
|
|
17
17
|
1. If `dsh` is not on PATH: DSH Desktop → Settings → **Manage dsh Command**.
|
|
18
18
|
2. Install a **pinned** build, never the bare name:
|
|
19
|
-
- GUI: **Plugins → Install** → `@hystudio/dsh-quota-pill@0.2.
|
|
20
|
-
- CLI: `dsh plugin add @hystudio/dsh-quota-pill@0.2.
|
|
21
|
-
-
|
|
22
|
-
`github:598934321/dsh-quota-pill#
|
|
19
|
+
- GUI: **Plugins → Install** → `@hystudio/dsh-quota-pill@0.2.12`
|
|
20
|
+
- CLI: `dsh plugin add @hystudio/dsh-quota-pill@0.2.12 --profile desktop`
|
|
21
|
+
- If pnpm's minimumReleaseAge rejects the fresh 0.2.12 release, use the
|
|
22
|
+
branch until it ages: `github:598934321/dsh-quota-pill#master`
|
|
23
23
|
3. Confirm the dependency and the bundle are present:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
@@ -34,7 +34,7 @@ For a fresh DSH Desktop:
|
|
|
34
34
|
|
|
35
35
|
**Why pinned:** pnpm's `minimumReleaseAge` can resolve an unpinned install to the
|
|
36
36
|
broken 0.2.2 (its client half fails to import and the web GUI shows "Failed to
|
|
37
|
-
load plugins"). 0.2.
|
|
37
|
+
load plugins"). 0.2.12 is the first version with all providers, Open Design
|
|
38
38
|
Control Keys, sidecar auto-start, and user-defined adapters.
|
|
39
39
|
|
|
40
40
|
The host half starts the sidecar when nothing is listening on :8319, so a normal
|
|
@@ -77,7 +77,7 @@ DSH account menu, then re-run step 5.
|
|
|
77
77
|
|
|
78
78
|
## 1. Verify the sidecar runs
|
|
79
79
|
|
|
80
|
-
The 0.2.
|
|
80
|
+
The 0.2.12 host plugin starts it automatically when :8319 is free. Give DSH a few
|
|
81
81
|
seconds, then check. If the host half could not start it (or you opted out with
|
|
82
82
|
`QUOTA_PILL_NO_AUTOSTART=1`), run it manually:
|
|
83
83
|
|
|
@@ -105,7 +105,7 @@ CLIProxyAPI". That is expected on a fresh machine — tell the human that
|
|
|
105
105
|
`kimi` / `opencode` / `commandcode` work without it, and ask whether they want
|
|
106
106
|
the OAuth three as well.
|
|
107
107
|
|
|
108
|
-
**Auto-start is the default from 0.2.
|
|
108
|
+
**Auto-start is the default from 0.2.12**; do not add a service unless the human
|
|
109
109
|
asks for one or DSH is headless. If you do add one, set
|
|
110
110
|
`QUOTA_PILL_NO_AUTOSTART=1` so the plugin and the service do not race, and use
|
|
111
111
|
the **absolute** Node path (launchd's PATH does not include nvm/homebrew):
|
package/README.md
CHANGED
|
@@ -71,25 +71,26 @@ in [`src/user-adapters.js`](src/user-adapters.js) and in AGENTS.md §2b.
|
|
|
71
71
|
|
|
72
72
|
**DSH Desktop (recommended).** Open **Plugins → Install**, paste a spec, enable
|
|
73
73
|
the bundle. **Pin the version**: an unpinned install can resolve 0.2.2, which
|
|
74
|
-
breaks web boot. 0.2.
|
|
74
|
+
breaks web boot. 0.2.12 is the first version with every provider, Open Design
|
|
75
75
|
Control Keys, sidecar auto-start, and **user-defined adapters** for providers the
|
|
76
76
|
package does not ship.
|
|
77
77
|
|
|
78
78
|
```text
|
|
79
|
-
@hystudio/dsh-quota-pill@0.2.
|
|
79
|
+
@hystudio/dsh-quota-pill@0.2.12
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
0.2.12 is published on npm. If pnpm's minimumReleaseAge rejects this fresh
|
|
83
|
+
release, install the branch until it ages:
|
|
83
84
|
|
|
84
85
|
```text
|
|
85
|
-
github:598934321/dsh-quota-pill#
|
|
86
|
+
github:598934321/dsh-quota-pill#master
|
|
86
87
|
```
|
|
87
88
|
|
|
88
89
|
**CLI.** If `dsh` is not on PATH, open DSH Desktop → Settings → **Manage dsh
|
|
89
90
|
Command** first. Then:
|
|
90
91
|
|
|
91
92
|
```bash
|
|
92
|
-
dsh plugin add @hystudio/dsh-quota-pill@0.2.
|
|
93
|
+
dsh plugin add @hystudio/dsh-quota-pill@0.2.12
|
|
93
94
|
```
|
|
94
95
|
|
|
95
96
|
> The npm package is `@hystudio/...` while the repo lives at `598934321/...` —
|
package/client.js
CHANGED
|
@@ -172,7 +172,7 @@ window.__ModuleLoader__.load({
|
|
|
172
172
|
*/
|
|
173
173
|
function adaptationPrompt(model, provider, lang) {
|
|
174
174
|
const m = String(model || '(unknown)');
|
|
175
|
-
const p = String(provider && provider !== 'unknown' ? provider : '
|
|
175
|
+
const p = String(provider && provider !== 'unknown' ? provider : 'unknown');
|
|
176
176
|
if (lang === 'zh') {
|
|
177
177
|
return [
|
|
178
178
|
'你是 DSH quota-pill 的 provider 适配 agent。当前模型 ' + m + ' 的 provider(' + p + ')未被插件识别,读取不到余额。',
|
package/package.json
CHANGED