Skip to content

feat(dsh): DeepSeek Harness fs and shell providers over a mirage workspace - #774

Merged
zechengz merged 28 commits into
mainfrom
feat/dsh-adapters
Aug 13, 2026
Merged

zechengz merged 28 commits into
mainfrom
feat/dsh-adapters

Conversation

@zechengz

Copy link
Copy Markdown
Contributor

Adds @struktoai/mirage-dsh (typescript/packages/dsh): Cordis plugins that back DeepSeek Harness's capability seams with a mirage workspace, mirroring dsh's own E2B provider group.

  • MirageService (ctx.mirage): owns or adopts one Workspace; owned workspaces close on plugin unload.
  • MirageFileSystem (ctx.fs): the filesystem seam over ws.fs. Canonical symlink-followed targets, metadata-derived FsVersion tokens for dsh's stale-write guards, POSIX code stamps mapped onto the dsh error taxonomy.
  • MirageShellExecutor (ctx.shell): run = ws.execute with fused timeout/abort first-cause reporting; start gives a buffered background handle.

Both providers share the one workspace, so processPath from ctx.fs is a live path in ctx.shell (pinned by integration tests). Built against the published @deepseek-ai/dsh-fs / dsh-shell rc packages; readBytes is deliberately absent until dsh releases it.

Also: docs page (docs/typescript/agents/dsh.mdx + nav + index card + DeepSeek icon) and a runnable example (examples/typescript/dsh/dsh.ts).

43 package tests green; typecheck, eslint, build, and full pre-commit pass; layout parity unchanged at baseline.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@zechengz

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8aa0426243

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread typescript/packages/dsh/src/fs.ts Outdated
Comment thread typescript/packages/dsh/src/shell.ts
Comment thread typescript/packages/dsh/src/fs.ts Outdated
Comment thread typescript/packages/dsh/src/fs.ts Outdated
@zechengz
zechengz merged commit 829a7e5 into main Aug 13, 2026
18 checks passed
@zechengz
zechengz deleted the feat/dsh-adapters branch August 13, 2026 15:59
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.

1 participant