@goodandready/dsh-ollama-cloud-provider 0.1.33 → 0.1.34

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.34 — 2026-11-07
4
+
5
+ - Security: patched transient zod memory exhaustion vulnerability (GHSA-mrhx-c7xc-m3w5) in dependencies via package overrides, achieving 0 audit vulnerabilities (#108).
6
+ - Component Testing: added automated test coverage for interactive state loading, failure reporting, and unmounting of `OllamaProviderCard` (#109).
7
+
3
8
  ## 0.1.33 — 2026-11-07
4
9
 
5
10
  - Security: closed fake-cookie verification bypass on write routes (`/config`, `/key`) and sensitive read routes (`/state`, `/analytics`, `/usage`, `/balance`) by requiring an anonymous control probe to fail with 401 or 403, failing closed against public or synthetic hosts (#42, #56).
package/README.md CHANGED
@@ -108,6 +108,12 @@ graph LR
108
108
  - **TUI settings section** for terminal profiles.
109
109
  - **One-click plugin update** in Settings → Ollama Cloud.
110
110
 
111
+ ## Requirements
112
+
113
+ - **DeepSeek Harness**: \0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0\ (desktop and web profiles).
114
+ - **Node.js**: \>=22.0.0\.
115
+ - **Ollama Cloud Account**: one or more active API keys from Ollama Cloud or a compatible proxy endpoint.
116
+
111
117
  ## Install
112
118
 
113
119
  Build and pack first:
@@ -121,17 +127,17 @@ npm pack
121
127
  Install the published package:
122
128
 
123
129
  ```bash
124
- dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.33
130
+ dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.34
125
131
  # DSH Desktop:
126
- dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.33
132
+ dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.34
127
133
  ```
128
134
 
129
135
  Or install the packed tarball into a profile:
130
136
 
131
137
  ```bash
132
- dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.33.tgz
138
+ dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.34.tgz
133
139
  # DSH Desktop:
134
- dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.33.tgz
140
+ dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.34.tgz
135
141
  ```
136
142
 
137
143
  Restart dsh (or DSH Desktop), then pick **Ollama Cloud** in the model picker.
package/README.ru.md CHANGED
@@ -90,6 +90,12 @@ graph LR
90
90
  - **Интеграция с терминалом (TUI)**: специальная секция настроек в терминальном режиме.
91
91
  - **One-Click обновление плагина**: прямая проверка npm registry и кнопка обновления в Web UI.
92
92
 
93
+ ## Requirements / Требования
94
+
95
+ - **DeepSeek Harness**: \0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0\ (профили desktop и web).
96
+ - **Node.js**: \>=22.0.0\.
97
+ - **Аккаунт Ollama Cloud**: один или несколько действующих API-ключей Ollama Cloud или совместимого прокси.
98
+
93
99
  ## Установка
94
100
 
95
101
  Сборка и упаковка из исходного кода:
@@ -103,17 +109,17 @@ npm pack
103
109
  Установка опубликованного пакета из npm:
104
110
 
105
111
  ```bash
106
- dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.33
112
+ dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.34
107
113
  # DSH Desktop:
108
- dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.33
114
+ dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.34
109
115
  ```
110
116
 
111
117
  Либо установка из упакованного tarball:
112
118
 
113
119
  ```bash
114
- dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.33.tgz
120
+ dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.34.tgz
115
121
  # DSH Desktop:
116
- dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.33.tgz
122
+ dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.34.tgz
117
123
  ```
118
124
 
119
125
  После установки перезапустите dsh (или DSH Desktop) и выберите **Ollama Cloud** в списке моделей.
package/README.zh.md CHANGED
@@ -89,6 +89,12 @@ graph LR
89
89
  - **`/ollama` 快捷指令**:快速查询状态、额度、余额、账号列表与执行联通性测试。
90
90
  - **一键热更新**:在 DSH 设置页直接检测 npm 最新版本并快速安装更新。
91
91
 
92
+ ## Requirements / 系统要求
93
+
94
+ - **DeepSeek Harness**: \0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0\(桌面版与 Web 配置文件)。
95
+ - **Node.js**: \>=22.0.0\。
96
+ - **Ollama Cloud 账户**: 一个或多个有效的 Ollama Cloud API Key 或兼容的代理端点。
97
+
92
98
  ## 安装指南
93
99
 
94
100
  从源码构建与打包:
@@ -102,17 +108,17 @@ npm pack
102
108
  从 npm 安装已发布版本:
103
109
 
104
110
  ```bash
105
- dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.33
111
+ dsh plugin --profile web add @goodandready/dsh-ollama-cloud-provider@0.1.34
106
112
  # DSH 桌面端:
107
- dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.33
113
+ dsh plugin --profile desktop add @goodandready/dsh-ollama-cloud-provider@0.1.34
108
114
  ```
109
115
 
110
116
  或通过打包文件安装:
111
117
 
112
118
  ```bash
113
- dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.33.tgz
119
+ dsh plugin --profile web add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.34.tgz
114
120
  # DSH 桌面端:
115
- dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.33.tgz
121
+ dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-ollama-cloud-provider-0.1.34.tgz
116
122
  ```
117
123
 
118
124
  安装完成后重启 dsh 或 DSH 桌面端,在模型列表中选择 **Ollama Cloud** 即可。
package/lib/index.js CHANGED
@@ -123,7 +123,7 @@ const DEFAULT_API_BASE = "https://ollama.com";
123
123
  const DEFAULT_OPENAI_BASE = "https://ollama.com/v1";
124
124
  const DEFAULT_USAGE_URL = "https://ollama.com/api/usage";
125
125
  const DEFAULT_BALANCE_URL = "https://ollama.com/api/balance";
126
- const DEFAULT_USER_AGENT = "dsh-ollama-cloud-provider/0.1.33";
126
+ const DEFAULT_USER_AGENT = "dsh-ollama-cloud-provider/0.1.34";
127
127
  const DEFAULT_CONTEXT_WINDOW = 131072;
128
128
  const DEFAULT_MAX_TOKENS = 32768;
129
129
  const DEFAULT_GENERATE_MAX_TOKENS = 131072;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-ollama-cloud-provider",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "Ollama Cloud LLM provider plugin for DeepSeek Harness (dsh).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -62,12 +62,12 @@
62
62
  "0.2.2-alpha.3": "compatible",
63
63
  "0.2.2-rc.1": "compatible"
64
64
  },
65
- "dsh": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0"
65
+ "dsh": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0"
66
66
  }
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=22",
70
- "dsh": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0"
70
+ "dsh": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0"
71
71
  },
72
72
  "scripts": {
73
73
  "build": "tsdown",
@@ -88,18 +88,18 @@
88
88
  ],
89
89
  "peerDependencies": {
90
90
  "@deepseek-ai/cordis": "~4.0.4 || ~4.0.5 || ~4.0.6-alpha.1 || ~4.1.0",
91
- "@deepseek-ai/dsh-attachment": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
92
- "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
93
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
94
- "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
95
- "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
96
- "@deepseek-ai/dsh-commands": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
97
- "@deepseek-ai/dsh-credentials": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
98
- "@deepseek-ai/dsh-host-webserver": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
99
- "@deepseek-ai/dsh-launch-environment": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
100
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
101
- "@deepseek-ai/dsh-settings": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
102
- "@deepseek-ai/dsh-web": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0",
91
+ "@deepseek-ai/dsh-attachment": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
92
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
93
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
94
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
95
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
96
+ "@deepseek-ai/dsh-commands": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
97
+ "@deepseek-ai/dsh-credentials": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
98
+ "@deepseek-ai/dsh-host-webserver": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
99
+ "@deepseek-ai/dsh-launch-environment": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
100
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
101
+ "@deepseek-ai/dsh-settings": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
102
+ "@deepseek-ai/dsh-web": "0.2.0-rc.2 || >=0.2.1-rc.2 <0.2.3-0 || >=0.2.2-0 <0.2.3-0",
103
103
  "@deepseek-ai/schemastery": "~3.18.4 || ~3.18.5 || ~3.18.6-alpha.1 || ~3.19.0",
104
104
  "react": "^18.2.0"
105
105
  },
@@ -127,5 +127,8 @@
127
127
  "tsdown": "^0.22.2",
128
128
  "tsx": "^4.23.12",
129
129
  "typescript": "^5.7.2"
130
+ },
131
+ "overrides": {
132
+ "zod": "^4.6.7"
130
133
  }
131
134
  }