dsh-grok4.6-support

by lemonorangeapple

0 工具与能力github 检测到 manifest package.json#dsh收录于 08-17

为dsh@0.1.0-rc.6增加对grok4.6的支持。

安装

dsh plugin --profile web add github:lemonorangeapple/dsh-grok4.6-support

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

A DeepSeek Harness profile bundle that adds grok-4.6 to the existing xAI provider. The Models settings page shows exactly these xAI models after installation:

  • grok-4.3
  • grok-4.5
  • grok-4.6

The bundle extends pi-ai's in-process xAI catalog before @deepseek-ai/dsh-llm-pi-ai starts. This preserves the built-in route's per-model protocol selection: Grok 4.3 keeps OpenAI Chat Completions, while Grok 4.5 and Grok 4.6 use OpenAI Responses.

Requirements

  • DeepSeek Harness 0.1.0-rc.6 or a compatible release that provides @earendil-works/pi-ai ^0.82.1.
  • Node.js 22.19.0 or later.
  • An xAI API key, supplied through the Models settings page or XAI_API_KEY.

Install

From this package directory, install the bundle into the Web profile:

dsh plugin --profile web install github:lemonorangeapple/dsh-grok4.6-support

Restart the existing dsh web process, then refresh the GUI. This is a host-side model-catalog change, so client-plugin HMR does not apply.

Behavior

The plugin does not store credentials. The existing xAI setup card continues to own API-key entry and storage.

If settings.yaml already has llm-pi-ai.providers.xai.models, that user-level list overrides the bundle list. Remove that list or add grok-4.6 to it to retain the model after the next settings update.

If a newer pi-ai release already includes grok-4.6, the plugin leaves its native model definition unchanged and only applies the three-model xAI selection list.

Remove

dsh plugin --profile web remove dsh-grok-4-6-support

Restart dsh web after removal.

原始 README: https://github.com/lemonorangeapple/dsh-grok4.6-support/blob/master/README.md ↗