@klarkxy/dsh-magpie 0.1.0 → 0.1.1
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 +3 -5
- package/docs/README.zh-CN.md +3 -5
- package/lib/client.inner.cjs +295 -282
- package/lib/client.inner.cjs.map +1 -1
- package/lib/client.js +295 -282
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[简体中文](docs/README.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
Connects DSH to a [magpie](https://usemagpie.ai) gateway running on this computer, your local network, or elsewhere. From the
|
|
7
|
+
Connects DSH to a [magpie](https://usemagpie.ai) gateway running on this computer, your local network, or elsewhere. From the Models section of the Settings page you point DSH at the gateway, and it fetches the gateway's model list and writes the same provider routes that `magpie dsh` writes — Magpie, Magpie · Responses, and Magpie · Anthropic — plus the default model and web search, so the models show up in the model picker.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -16,11 +16,9 @@ Replace `<name>` with your profile name and restart the profile.
|
|
|
16
16
|
|
|
17
17
|
## Use
|
|
18
18
|
|
|
19
|
-
- Open **
|
|
19
|
+
- Open **Settings → Models → Magpie**. Enter the gateway address (the local default is `http://127.0.0.1:3425`), paste the gateway key if the gateway requires one, and choose **Save**, then **Sync now**.
|
|
20
20
|
- **Test** checks the connection without changing anything.
|
|
21
|
-
-
|
|
22
|
-
- **Sync at startup** refreshes the routes once per profile start.
|
|
23
|
-
- **Disconnect** removes the magpie routes and reverts the default model and web search; your saved key is kept.
|
|
21
|
+
- **Advanced** holds the rest: the **default model** for new conversations, the **web search** switch that runs it through the gateway's model, **Sync at startup**, and **Disconnect**, which removes the magpie routes and reverts the default model and web search; your saved key is kept.
|
|
24
22
|
|
|
25
23
|
## Limits
|
|
26
24
|
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[English](../README.md)
|
|
6
6
|
|
|
7
|
-
把 DSH 连接到本机、局域网或其他位置的 [magpie](https://usemagpie.ai)
|
|
7
|
+
把 DSH 连接到本机、局域网或其他位置的 [magpie](https://usemagpie.ai) 网关。在设置页的模型分区填写网关地址后,插件会拉取网关的模型列表,写入与 `magpie dsh` 相同的供应商路由——Magpie、Magpie · Responses、Magpie · Anthropic——并同步默认模型和网络搜索,模型随即出现在模型选择器中。
|
|
8
8
|
|
|
9
9
|
## 安装
|
|
10
10
|
|
|
@@ -16,11 +16,9 @@ dsh plugin --profile <name> add @klarkxy/dsh-magpie
|
|
|
16
16
|
|
|
17
17
|
## 使用
|
|
18
18
|
|
|
19
|
-
-
|
|
19
|
+
- 打开「设置 → 模型 → Magpie」。填写网关地址(本机默认 `http://127.0.0.1:3425`),网关要求时粘贴网关 Key,点「保存」,再点「立即同步」。
|
|
20
20
|
- 「测试」只检查连接,不改动任何配置。
|
|
21
|
-
-
|
|
22
|
-
- 「启动时同步」会在每次启动 profile 时刷新一次路由。
|
|
23
|
-
- 「断开连接」移除三条 magpie 路由并还原默认模型与网络搜索;已保存的 Key 保留。
|
|
21
|
+
- 其余设置在「高级设置」里:用于新会话的**默认模型**、用网关模型执行搜索的**网络搜索**开关、**启动时同步**,以及移除三条 magpie 路由并还原默认模型与网络搜索的「断开连接」(已保存的 Key 保留)。
|
|
24
22
|
|
|
25
23
|
## 限制
|
|
26
24
|
|