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:ChadCSong/dsh-cliproxyapi-provider
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
An auto-discovery CLIProxyAPI provider for DeepSeek Harness (DSH).
It discovers a local CPA service, synchronizes the live model catalog into DSH's native model picker, and lets you choose a vision-capable model from that catalog—without typing model IDs by hand.
Generic OpenAI-compatible routes usually require a manually maintained base URL and model list. This plugin treats CLIProxyAPI as a first-class, dynamic DSH provider:
127.0.0.1:8317, localhost:8317, and [::1]:8317./v1/models?client_version=pi, with standard data[].id fallback.CLIProxyAPI (auto) in DSH's model picker.settings.yaml.0.1.0-rc.7 or 0.1.0-rc.822.19+ or 24+The plugin is currently built and tested against the public DSH 0.1.0-rc.8 contract while retaining
runtime compatibility with the rc.7-based DSH Desktop release.
Install directly from GitHub into the profile you use:
dsh plugin --profile web add github:ChadCSong/dsh-cliproxyapi-provider
For DSH Desktop, use its active profile (normally desktop):
dsh plugin --profile desktop add github:ChadCSong/dsh-cliproxyapi-provider
Restart the corresponding DSH process once after installation. No manual profile patching is needed;
the standard DSH bundle declaration lives in package.json and cordis.patch.yml.
git clone https://github.com/ChadCSong/dsh-cliproxyapi-provider.git
cd dsh-cliproxyapi-provider
pnpm install
pnpm build
dsh plugin --profile web add "$PWD"
Replace web with the profile you actually use.
8317.Useful commands:
/cpa-status
/cpa-refresh
/cpa-status reports the current endpoint and synchronized model count. /cpa-refresh immediately
probes CPA and refreshes the DSH model catalog.
The settings namespace intentionally remains dsh-cliproxyapi for upgrade compatibility:
dsh-cliproxyapi:
enabled: true
# Empty means local auto-discovery. Remote CPA is also supported.
baseURL: ''
apiKeyEnv: CLIPROXYAPI_API_KEY
# Empty means the first catalog model declaring image input.
visionModel: ''
protocol: openai-completions
refreshIntervalSeconds: 300
probeTimeoutMs: 2000
Candidates are deduplicated and tried in this order:
baseURL settingCLIPROXYAPI_BASE_URL from the DSH launch environment8317A non-loopback service is contacted only when you explicitly configure it.
apiKeyEnv is a credential reference, not the secret itself. The settings UI writes the key through
DSH's credential service. The default reference is CLIPROXYAPI_API_KEY.
The default, openai-completions, uses CPA's /v1/chat/completions route. Select
openai-responses only when your CPA deployment exposes the target models through the Responses API.
The vision model and the conversation's main model are independent. Native image-capable main models receive images directly. For a text-only main model, the plugin calls the selected vision model first, replaces each immutable image attachment with its factual description, and then calls the main model. Descriptions are cached by provider, vision model, and attachment ID. Within the CLIProxyAPI (auto) group, this lets an image-containing session switch to text-only CPA models without modifying DSH itself.
DSH's built-in DeepSeek provider remains outside this plugin's route. DSH therefore continues to reject switching to a text-only built-in model when the session already contains images. The plugin does not alter, wrap, or relabel built-in DSH models.
When the setting is empty, the plugin uses the first catalog model declaring image input. An explicitly selected model must genuinely accept OpenAI-compatible image content even if CPA omitted its modality metadata.
The plugin manages one route in DSH's official @deepseek-ai/dsh-llm-pi-ai adapter through the public
settings contract and implements preprocessing through DSH's public llm/stream waterfall. It does not
patch Harness or reimplement model transport. Streaming, tool calls, attachments, reasoning, and errors
continue through the official adapter.
The host bundle imports no Electron or dsh-plugin-desktop APIs. Its settings card uses public DSH
client services and slots, allowing the same package to run in CLI/Web and Desktop profiles.
pnpm install
pnpm test
pnpm typecheck
pnpm build
When developing against a local Harness checkout:
DSH_CHECKOUT=/absolute/path/to/deepseek-harness pnpm test
DSH_CHECKOUT=/absolute/path/to/deepseek-harness pnpm build
Alternatively, point DSH_PACKAGES_ROOT at a DSH node_modules directory. Generated local path files
are ignored by Git and never included in published packages.
Automatic discovery only contacts loopback addresses. The plugin never writes a literal API key to its settings, model cache, or logs. See SECURITY.md to report a vulnerability privately.
Issues and pull requests are welcome. For behavior changes, please include or update Vitest coverage and
verify pnpm test, pnpm typecheck, and pnpm build before submitting.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: llm-provider、openai-compatible。