Skip to content

feat: bridge DSH plan mode to Cursor - #42

Open
cty41 wants to merge 1 commit into
anyrobert:mainfrom
cty41:feat/dsh-plan-mode-bridge
Open

feat: bridge DSH plan mode to Cursor#42
cty41 wants to merge 1 commit into
anyrobert:mainfrom
cty41:feat/dsh-plan-mode-bridge

Conversation

@cty41

@cty41 cty41 commented Aug 25, 2026

Copy link
Copy Markdown

Summary

  • add opt-in DSH system-marker mode inference with explicit override precedence
  • support Chat Completions and Responses while ignoring spoofed user content
  • document configuration and cover plan, agent, custom-marker, and compatibility cases

Closes #41

Test plan

  • npm run typecheck
  • npm run build
  • focused mode, env, and server tests
  • full suite: 293 passed; one pre-existing Windows separator assertion failed in workspace.test.ts
  • live ACP structured tool roundtrip in an isolated chat-only workspace
  • live DSH headless tool execution returned the DSH cwd (C:\Code\deepseek-harness), not the proxy workspace

Infer Cursor agent or plan mode from trusted DSH system markers so slash-command state works without changing DSH.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support DSH /plan mode without explicit request mode

1 participant