@morlay/dsh-web-search-ollama 0.0.10 → 0.0.11
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/package.json +5 -5
- package/src/client/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/dsh-web-search-ollama",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
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",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@deepseek-ai/cosmokit": "^1.8.6",
|
|
45
45
|
"@deepseek-ai/dsh-client-locale": "^0.2.1-rc.1",
|
|
46
46
|
"@deepseek-ai/dsh-client-ui-slots": "^0.2.1-rc.1",
|
|
47
|
-
"@morlay/dsh-client-ui-primitives": "0.0.
|
|
47
|
+
"@morlay/dsh-client-ui-primitives": "0.0.13"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@deepseek-ai/cordis": "^4.0.5",
|
|
@@ -55,6 +55,9 @@
|
|
|
55
55
|
"@deepseek-ai/dsh-launch-environment": "^0.2.1-rc.1",
|
|
56
56
|
"@deepseek-ai/dsh-web": "^0.2.1-rc.1"
|
|
57
57
|
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"dsh": ">= 0.2.1-rc.1 < 0.2.2"
|
|
60
|
+
},
|
|
58
61
|
"dsh": {
|
|
59
62
|
"client": {
|
|
60
63
|
"platform": "web",
|
|
@@ -64,9 +67,6 @@
|
|
|
64
67
|
]
|
|
65
68
|
}
|
|
66
69
|
},
|
|
67
|
-
"engines": {
|
|
68
|
-
"dsh": ">= 0.2.1-rc.1 < 0.2.2"
|
|
69
|
-
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "pnpm exec tsdown",
|
|
72
72
|
"test:e2e": "pnpm exec vitest run --config vitest.e2e.config.ts"
|
package/src/client/index.ts
CHANGED
|
@@ -27,7 +27,7 @@ export const inject = ["locale"];
|
|
|
27
27
|
|
|
28
28
|
// 给这一行的四个字段补文案。
|
|
29
29
|
export function apply(ctx: Context): void {
|
|
30
|
-
//
|
|
30
|
+
// 基础面(内联库)由 `@morlay/dsh-client-modules` 的 client 行统一装配;这里只注册本行的字段文案。
|
|
31
31
|
const t = ctx.locale.bind(NS);
|
|
32
32
|
ctx.effect(() => ctx.locale.register(NS, { zh, en }), "web-search-ollama: field locale");
|
|
33
33
|
// 提示面由行配置表单提供:等它可用再注册(`ctx.get` 在它还没提供时拿不到,注册会被静静跳过)。
|