reactive-resume
amruthpillai
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:wqy8593521/dsh-model-pro
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A dynamic Cordis plugin for DeepSeek Harness (DSH) that provides a "Model Pro" settings page — a full lifecycle management UI for llm-pi-ai providers.
disabledProviders dict and removed from the model selectorbaseURL, api protocol, apiKeyEnv, and displayName per providerGET /models fetch with select-all / unselect-all / invert operationsdsh plugin add wqy8593521/dsh-model-pro
Or install from npm (prebuilt, skips build approval):
dsh plugin add npm:dsh-model-pro
This plugin can also run as a dynamic Cordis plugin inside a DSH session. Use cordis_define with the Host and Client halves from dist/, then cordis_run to activate.
git clone https://github.com/wqy8593521/dsh-model-pro.git
cd dsh-model-pro
npm install
npm run build # outputs dist/host.js + dist/client.js
src/
├── shared/
│ ├── constants.ts # NS, PROTOS, EDITABLE_FIELDS
│ └── types.ts # shared TypeScript interfaces
├── host/
│ ├── index.ts # apply(ctx) — registers all harness.handle
│ ├── utils.ts # makeHostPlain, readProviders, writeSection
│ └── handlers/ # one file per RPC handler
│ ├── list.ts # list-providers
│ ├── toggle.ts # toggle-provider
│ ├── get.ts # get-provider
│ ├── discover.ts # discover-models
│ ├── create.ts # create-provider
│ ├── delete.ts # delete-provider
│ ├── updateField.ts # update-field
│ ├── updateHeaders.ts # update-headers
│ └── applyModels.ts # apply-models
├── client/
│ ├── index.tsx # apply(ctx) — registers settings.section Slot
│ ├── i18n.ts # ZH / EN dictionaries
│ ├── styles.ts # CSS string
│ ├── rpc.ts # call() wrapper
│ ├── react.ts # React global shim
│ └── components/
│ ├── ModelProPage.tsx # list view
│ ├── ProviderCard.tsx # provider card
│ ├── CreateForm.tsx # new-provider form
│ ├── ProviderEditor.tsx # tabbed editor
│ ├── InfoPanel.tsx # info tab
│ ├── HeadersPanel.tsx # headers tab
│ └── ModelsPanel.tsx # models tab
├── dist/ # build output (gitignored)
│ ├── host.js
│ └── client.js
├── tsconfig.json
├── tsup.config.ts
└── package.json
Disabling a provider moves its entire config from llm-pi-ai.providers to llm-pi-ai.disabledProviders. The llm-pi-ai adapter only resolves providers in the providers dict, so disabled providers vanish from the model selector. schemastery's non-strict object resolver preserves the unknown disabledProviders key through settings validation.
The Host half uses a makeHostPlain() helper that recursively rebuilds all objects with Object.create(null) (null prototype), ensuring they pass the dsh-settings isPlainObject check across the vm sandbox realm boundary.
TypeScript source is compiled with tsup (esbuild) into single-file IIFE bundles. Each output is a self-contained JS file with no require/import — ready for the Cordis sandbox.
| File | Description |
|---|---|
dist/host.js |
Host-side bundle (RPC handlers) |
dist/client.js |
Client-side bundle (Settings UI) |
cordis.patch.yml |
Cordis composition patch for dsh plugin add |
package.json |
npm package metadata with dsh.bundle manifest |
The Model Pro settings page provides:
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model-provider。