DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Model Proxy — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@awiki/dsh-model-proxy

Model Proxy

经 AWiki 认证的模型代理和 DeepSeek Harness 的快速充值界面

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @awiki/dsh-model-proxy@0.1.7
README兼容性版本

兼容性与来源证明

Model Proxy 以 @awiki/dsh-model-proxy 发布,当前版本为 0.1.7。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.7stable
2026/9/14
0.1.6stable
2026/9/9
0.1.4stable
2026/8/25
查看其余 6 个版本收起版本
0.1.7-rc.1prerelease
2026/9/10
0.1.2stable
2026/8/22
0.1.1stable
2026/8/21
0.1.1-rc.1prerelease
2026/8/21
0.1.0stable
2026/8/21
0.1.0-rc.1prerelease
2026/8/21
最新版
0.1.7
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
665.2 kB
文件数
52
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
248
安全扫描
✓ v0.1.7 扫描通过
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

@awiki/dsh-model-proxy

Optional AWiki-authenticated model provider and Quick Recharge UI for DeepSeek Harness.

Install @awiki/dsh-plugin first, then add this package to the same DSH profile:

dsh plugin --profile web add @awiki/dsh-plugin@latest
dsh plugin --profile web add @awiki/dsh-model-proxy@latest

The package contributes the awiki-model-proxy Host runtime and the Browser surfaces that belong to it: model onboarding plus Settings → Quick Recharge, whose Account & Recharge and Usage tabs own model opt-in, recharge, and usage. It uses the public @awiki/dsh-plugin/model-proxy-contract and the shared AWiki Browser identity bridge; it does not copy the AWiki service, RPC contract, or session model. Its bundle patch explicitly injects the already loaded awiki service.

The provider is disabled until a local user explicitly enables it. Short-lived model tokens stay in the Host. The Browser receives only the public account, usage, and recharge projections defined by the main AWiki package. The UI also states that hosted models come from the official DeepSeek API and follow DeepSeek's official pricing.

Before registering its adapter, exposing its directory entry, or issuing a short-lived token, the Host authenticates the current DID through ctx.awiki.externalHttpAuth and posts the strict empty JSON object {} to the Model Proxy's existing /api/identity-recovery endpoint. The actual public response is an exact outcome-only object: restored, already_current, or not_applicable opens the matching current-generation gate. Any extra field, unknown outcome, or manual/permanent rejection keeps the adapter suspended; one 503 is retried. Transition assurance remains a Model server-side operation/audit invariant and is verified by the Model/System DB oracle, not inferred from this public response. Session generation changes, sign-out, unload, and late completions clear the token and cannot reopen an older identity. No User Service recovery credential, operation ID, DID path, proof, assurance, or ledger owner is sent in the request or exposed to Browser state. Account output is bound to the current session DID, while usage and recharge outputs reject canonical DID, stable-subject, path, or proof fields instead of forwarding private Model storage ownership to Browser RPC. Upstream JSON and response text never become Browser error copy. The Host maps known recharge races to closed endpoint outcome codes and all other failures to fixed RPC codes/messages; the Browser branches only on those codes and renders its own fixed safe text.

Migration from the former subpath

The Host runtime previously exported as @awiki/dsh-plugin/model-proxy is now this package's root export:

import * as modelProxy from '@awiki/dsh-model-proxy'

The browser-safe RPC contract remains available from @awiki/dsh-plugin/model-proxy-contract. Installing only @awiki/dsh-plugin no longer inserts or loads any model proxy Host or Browser surface. Existing model proxy configuration variables keep their names:

  • Model Proxy endpoint is discovered only from the active tenant's server-info capability.
  • DSH_AWIKI_MODEL_CONTEXT_WINDOW
  • DSH_AWIKI_MODEL_MAX_TOKENS
  • DSH_AWIKI_MODEL_TOKEN_REFRESH_SKEW_SECONDS

In normal production profiles the active tenant publishes the Model Proxy URL through server-info.services.model_proxy. There is no fixed production fallback or global URL override (DSH_AWIKI_MODEL_PROXY_URL is not read). Test-only loopback HTTP is accepted only for that advertised Model Proxy field when the Host testing flag is on. Tenant switching releases the old adapter, provider directory, recovery target, and token cache before binding the new capability; model intent and the non-AWiki fallback selection are stored independently for each tenant. Startup reads the active tenant identity from the Host catalog, which is available before the asynchronous native Identity provider. Model capability remains unavailable until the existing capability discovery completes; no endpoint or token is guessed.

This package targets the DeepSeek Harness 0.1.5-rc.1 package family and requires @awiki/dsh-plugin@^0.3.9 as a peer dependency. It retains the shared awikiClient Browser bridge and the independently loaded Model Proxy runtime.