DeepSeek Harness Plugin

qyjqio/dsh-cursor-toolkit#llm-probe

Stars ★ 0 Category Development & Runtime Added 2026-10-22

List the LLM provider routes a running DSH process registered and run one real streamed call.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:qyjqio/dsh-cursor-toolkit#path:/packages/dsh-llm-probe

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Diagnostic tool for a running DSH app: shows the LLM provider routes the process actually registered, and runs one real streamed call through the llm service.

Why

A DSH Session freezes its subagent model-selection policy when it starts, so a provider or model added later — even one the live process has already mounted — stays invisible to that session's subagent tool. llm_probe bypasses the policy: it calls the llm service directly, so it sees what is really registered right now.

Typical use: you add a provider on the Models page (or a local bridge such as @qyjqio/cursor-openai-bridge), and want to prove the adapter works without opening a new session.

Install

plugin_manager install_bundle target="git+https://github.com/qyjqio/dsh-cursor-toolkit.git#<commit>&path:/packages/dsh-llm-probe"

Then enable include:llm-probe in Settings → Plugins.

Parameters

name type meaning
provider string Registered provider route, default cursor
model string Model id under that provider, default grok-4.7-low-fast
prompt string When present, runs one streamed call; when absent, only lists routes
system string Optional system prompt
maxTokens integer Optional output cap

Result

providers (every registered route), models (that provider's models), and for a call: text, reasoning, finish, usage, toolCalls, plus error on failure.

Notes

  • Read-only: it never writes config or credentials.
  • The defaults match the companion Cursor bridge; pass provider/model explicitly for anything else.
  • After editing index.js, reload the bundle: plugin_manager set_plugin target=include:llm-probe enabled=false then true.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.