@goodandready/dsh-ollama-cloud-provider 0.1.26 → 0.1.29
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 +21 -0
- package/README.md +4 -20
- package/README.ru.md +4 -4
- package/README.zh.md +4 -4
- package/lib/client.js +120 -363
- package/lib/index.d.ts +8 -19
- package/lib/index.js +93 -584
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.29 — 2026-11-05
|
|
4
|
+
|
|
5
|
+
- Made the plugin cloud-only. Removed the local endpoint mode, local model
|
|
6
|
+
management (`/api/tags`, `/api/ps`, pull/remove), local GUI/CLI, `/api/show`
|
|
7
|
+
probes and the empty-key local credential path. `apiKeyEnv` now falls back to
|
|
8
|
+
the cloud credential reference instead of enabling a local endpoint.
|
|
9
|
+
- Added the native `settings.models.provider-card` provider card showing
|
|
10
|
+
provider identity, key state, model count, transport and quota bars; the
|
|
11
|
+
existing settings page remains available.
|
|
12
|
+
- Removed local tests/docs and added provider-card render coverage; 130/130.
|
|
13
|
+
|
|
14
|
+
## 0.1.27 — 2026-11-05
|
|
15
|
+
|
|
16
|
+
- Usage reader keeps the last good snapshot per key/range and returns it as
|
|
17
|
+
`stale` when balance and usage later fail; the card marks stale data instead
|
|
18
|
+
of losing the meters.
|
|
19
|
+
- Usage requests retry transient/429/5xx failures with bounded backoff.
|
|
20
|
+
- Added session/weekly/monthly aliases and per-window model activity
|
|
21
|
+
(`byWindow`) alongside the existing 24h/7d/30d windows and sidebar meters.
|
|
22
|
+
- Added last-good, retry and window tests; 138/138.
|
|
23
|
+
|
|
3
24
|
## 0.1.26 — 2026-11-05
|
|
4
25
|
|
|
5
26
|
- Added configurable pre-response retry/backoff (`retryMaxRetries`, base/max
|
package/README.md
CHANGED
|
@@ -52,22 +52,6 @@ Select it in the profile:
|
|
|
52
52
|
fetchProvider: ollama-cloud
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
## Local Ollama
|
|
56
|
-
|
|
57
|
-
Set `apiKeyEnv` to an empty string and point `apiBase` at the local or
|
|
58
|
-
self-hosted Ollama server. No `Authorization` header is sent, and cloud
|
|
59
|
-
usage/balance reads are skipped.
|
|
60
|
-
|
|
61
|
-
```yaml
|
|
62
|
-
- id: llm-ollama-cloud
|
|
63
|
-
config:
|
|
64
|
-
apiKeyEnv: ''
|
|
65
|
-
apiBase: http://127.0.0.1:11434
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
Local model discovery uses `/api/tags` and enriches each model through
|
|
69
|
-
`/api/show`; successful capability probes are cached for five minutes.
|
|
70
|
-
|
|
71
55
|
## Architecture
|
|
72
56
|
|
|
73
57
|
```mermaid
|
|
@@ -137,17 +121,17 @@ npm pack
|
|
|
137
121
|
Install the published package:
|
|
138
122
|
|
|
139
123
|
```bash
|
|
140
|
-
dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.
|
|
124
|
+
dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.29
|
|
141
125
|
# DSH Desktop:
|
|
142
|
-
dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.
|
|
126
|
+
dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.29
|
|
143
127
|
```
|
|
144
128
|
|
|
145
129
|
Or install the packed tarball into a profile:
|
|
146
130
|
|
|
147
131
|
```bash
|
|
148
|
-
dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.
|
|
132
|
+
dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.29.tgz
|
|
149
133
|
# DSH Desktop:
|
|
150
|
-
dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.
|
|
134
|
+
dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.29.tgz
|
|
151
135
|
```
|
|
152
136
|
|
|
153
137
|
Restart dsh (or DSH Desktop), then pick **Ollama Cloud** in the model picker.
|
package/README.ru.md
CHANGED
|
@@ -103,17 +103,17 @@ npm pack
|
|
|
103
103
|
Установка опубликованного пакета из npm:
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
|
-
dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.
|
|
106
|
+
dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.29
|
|
107
107
|
# DSH Desktop:
|
|
108
|
-
dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.
|
|
108
|
+
dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.29
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
Либо установка из упакованного tarball:
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.
|
|
114
|
+
dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.29.tgz
|
|
115
115
|
# DSH Desktop:
|
|
116
|
-
dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.
|
|
116
|
+
dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.29.tgz
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
После установки перезапустите dsh (или DSH Desktop) и выберите **Ollama Cloud** в списке моделей.
|
package/README.zh.md
CHANGED
|
@@ -102,17 +102,17 @@ npm pack
|
|
|
102
102
|
从 npm 安装已发布版本:
|
|
103
103
|
|
|
104
104
|
```bash
|
|
105
|
-
dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.
|
|
105
|
+
dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.29
|
|
106
106
|
# DSH 桌面端:
|
|
107
|
-
dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.
|
|
107
|
+
dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.29
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
或通过打包文件安装:
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
|
-
dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.
|
|
113
|
+
dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.29.tgz
|
|
114
114
|
# DSH 桌面端:
|
|
115
|
-
dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.
|
|
115
|
+
dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.29.tgz
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
安装完成后重启 dsh 或 DSH 桌面端,在模型列表中选择 **Ollama Cloud** 即可。
|