openpencil
ZSeven-W
The world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:dongsheng123132/dsh-switch
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Evidence-first model control plane for DeepSeek Harness.
dsh-switch does two deliberately separate jobs:
ctx.llm seam, and save the default for new sessions through ctx.agentDefaultModel./models endpoints and reports reachability, HTTP status, latency, model count, and whether a credential environment variable is configured.It does not intercept model requests, implement another OpenAI adapter, or silently reroute an active session. Projects such as dsh-polyglot and dsh-llm-fallbacks own adapter/fallback behavior; this project is the observable control plane around routes DSH already knows.
Pin a reviewed commit when installing from GitHub:
dsh plugin --profile web add github:dongsheng123132/dsh-switch#<commit>
dsh --profile web --dump-config
The bundle ships JavaScript and has no install/build lifecycle script.
dsh_switch_status({ includeModels? })
dsh_switch_default({ provider, model, reasoningEffort?, expectedProvider?, expectedModel? })
ctx.llm.resolveModelInfo();ctx.agentDefaultModel.saveSelection();Copy providers.example.json to a private local file such as providers.json. Reference secrets by environment-variable name—never place keys in JSON.
node bin/dsh-switch.mjs validate --config providers.json
node bin/dsh-switch.mjs check --config providers.json
node bin/dsh-switch.mjs best --config providers.json
JSON output:
node bin/dsh-switch.mjs check --config providers.json --json
Example output:
✓ deepseek-official 83.4 ms HTTP 200, 2 models credential:configured
✗ local-vllm 1.2 ms network-error credential:not-required
The probe sends GET <baseURL><modelsPath>. It does not send a chat completion and therefore does not consume inference tokens. A successful /models response proves endpoint reachability, not end-to-end generation correctness.
apiKey fields and credentials embedded in URLs are rejected.configured, missing, or not-required; secret values never enter results.npm test
npm run check
The plugin smoke test requires the official DSH runtime packages to be resolvable:
npm run smoke:plugin
MIT © 2026 hfshfg
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model-routing。