@morlay/dsh-web-search-ollama 0.0.1-alpha.3 → 0.0.1-alpha.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/README.md +2 -2
- package/cordis.patch.yml +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ mock 全绿替代它——这个包的第一版就是"配置指到 Ollama 的 me
|
|
|
89
89
|
apiKeyEnv: OLLAMA_API_KEY
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
注册行只能有一份:它在 profile 平面只装一次,同一个 provider id 注册两次会撞
|
|
93
93
|
`WEB_DUPLICATE_PROVIDER`;选择权在 `web` 行的 `searchProvider`,而那一行本来就是 host 行。
|
|
94
94
|
|
|
95
95
|
## 边界
|
|
@@ -98,4 +98,4 @@ mock 全绿替代它——这个包的第一版就是"配置指到 Ollama 的 me
|
|
|
98
98
|
- **一次只选一个后端**:`ctx.web` 的 `searchProvider` 是单选,默认 `ollama`;
|
|
99
99
|
`deepseek-official` 后端仍由基础 bundle 注册着,改写那一行即可切回(但它需要 `DEEPSEEK_API_KEY`)。
|
|
100
100
|
- **不做设置页 section**:配置面就是那一行 patch(见
|
|
101
|
-
[dsh-
|
|
101
|
+
[dsh-profile 的设计记录](../../profile/dsh-profile/.agents/designs/20260917-host层部署配置.md))。
|
package/cordis.patch.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @morlay/dsh-web-search-ollama bundle patch:把搜索后端注册到 host 层。
|
|
2
2
|
#
|
|
3
|
-
# 为什么住 host
|
|
4
|
-
# `WEB_DUPLICATE_PROVIDER
|
|
3
|
+
# 为什么住 host:注册行在 profile 平面只装一次——同一个 provider id 注册两份会撞
|
|
4
|
+
# `WEB_DUPLICATE_PROVIDER`;至于选它还是别的后端,由 `web` 行的
|
|
5
5
|
# `searchProvider` 决定——那是配置,归 `@morlay/dsh-profile`。两者分工:这里插行,那边配值。
|
|
6
6
|
#
|
|
7
7
|
# 行不带 config:`apiKeyEnv` 这类值同样由 `@morlay/dsh-profile` 做 config 覆盖。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/dsh-web-search-ollama",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.4",
|
|
4
4
|
"description": "Ollama-backed search provider for the DeepSeek Harness web seam (ctx.web): one web_search backend calling POST https://ollama.com/api/web_search.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@deepseek-ai/cordis": "4.0.4",
|
|
35
|
-
"@deepseek-ai/dsh-credentials": "0.1.7-
|
|
36
|
-
"@deepseek-ai/dsh-launch-environment": "0.1.7-
|
|
37
|
-
"@deepseek-ai/dsh-web": "0.1.7-
|
|
35
|
+
"@deepseek-ai/dsh-credentials": "0.1.7-rc.1",
|
|
36
|
+
"@deepseek-ai/dsh-launch-environment": "0.1.7-rc.1",
|
|
37
|
+
"@deepseek-ai/dsh-web": "0.1.7-rc.1"
|
|
38
38
|
},
|
|
39
39
|
"dsh": {
|
|
40
40
|
"bundle": {
|