jeremy9682 / dsh-tool-cursor
A public repository discovered by a configured registry source.
About this plugin
Written by the registry from verified metadata, not from the README.
dsh-tool-cursor is a DSH plugin published from the plugin-cursor package in the jeremy9682/dsh-observability repository.
Capabilities and topics
dsh-tool-cursor
Delegate a task to Cursor's agent through the official cursor-agent CLI
(headless), ported from the opencodex cursor.ts tool.
This is the only way to reach Cursor models from another harness: Cursor publishes no OpenAI-compatible endpoint, so there is no model-route to mount. The tool shells out to the CLI on the machine's own Cursor login, exactly as opencodex does.
Behavior
- Tool
cursor_delegate:prompt(required, self-contained),mode(askdefault /plan/edit),model(e.g.composer-2.5,cursor-grok-4.5-high-fast,gpt-5.3-codex-high),directory,timeoutSeconds(default 600). --trustmarks the workspace trusted (headless requirement); it is NOT--force, andeditpasses no--forceeither — Cursor proposes edits, never applies them, so nothing writes behind DSH's back.- Non-zero exit, timeout, and abort (via
exec.signal) all surface as tool errors with the captured stderr. - Runs on the local Cursor subscription — prefer for cross-model checks, not routine work.
Install
cd plugin-cursor && pnpm install && pnpm run build
dsh plugin --profile web add ./plugin-cursor
Then restart and add the tool row (see cordis.patch.yml) to a preset or a
--patch layer. Requires cursor-agent on PATH and an active login
(cursor-agent login).
Status
Ported line-for-line from the opencodex reference implementation (arg shapes,
timeout semantics, error text); not yet boot-tested inside DSH. The tool body
uses node:child_process directly for the MVP; the DSH-native upgrade path is
the ctx.subprocess capability seam.
Badge
Listed here? Link back with this badge — paste the snippet into your repository README.
[](https://dsh-plugin.com/plugins/jeremy9682/dsh-observability/plugin-cursor)