DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Session Scope — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@yadsh/dsh-session-scope

Session Scope

Per-session workspace visibility scopes for DeepSeek Harness.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @yadsh/dsh-session-scope@0.7.8
READMECompatibilityVersions

Compatibility and provenance

Session Scope is published as @yadsh/dsh-session-scope and currently resolves to version 0.7.8. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/16/2026

Versions

0.7.8stable
10/11/2026
0.7.7stable
10/8/2026
0.7.6stable
10/4/2026
Show 10 more versionsCollapse versions
0.7.5stable
9/22/2026
0.7.4stable
9/21/2026
0.7.3stable
9/17/2026
0.7.2stable
9/15/2026
0.7.1stable
9/13/2026
0.7.0stable
9/12/2026
0.6.1stable
9/6/2026
0.6.0stable
8/31/2026
0.5.1stable
8/30/2026
0.5.0stable
8/30/2026

Related plugins

Loading related plugins…

Latest
0.7.8
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
337.5 kB
Files
60
Surface
web
License
MIT
Source
npm
GitHub
★ 2
Weekly downloads
378
Security scan
✓ v0.7.8 scan passed
Last push
10/12/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in security-access.

Cc Safety Netcc-safety-netA coding agent CLI hook - block destructive commands and secret file accessDoctor@linxin666/dsh-doctorTransactional rescue mode for DSH profiles with a supervised launcher, isolated recovery capsule, deterministic repairs, health monitoring, and a local Web recovery consoleMobiledsh-mobileDeepSeek Harness mobile adaptation and secure access plugin, supporting LAN, remote connections, Android App, and mobile browsers.Codex Subscriptiondsh-codex-subscriptionUse ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images, and Fast mode

README

dsh-session-scope

Per-session workspace visibility scopes for DeepSeek Harness.

dsh-session-scope keeps a session's original workspace and working directory while exposing only explicitly selected workspace directories to the agent. Permission controls effects; scope independently controls visibility.

Permission != Scope

Specification · Compatibility matrix

Installation

Install the published npm package by name:

dsh plugin --profile web add @yadsh/dsh-session-scope

To remove the plugin:

dsh plugin --profile web remove @yadsh/dsh-session-scope

The package includes its Host and Web client entry points plus the cordis.patch.yml bundle patch. Restart the DeepSeek Harness host if bundle hot reload does not pick up the newly installed plugin or browser client.

Scope modes

ModeVisibility and enforcement
fullThe ordinary complete workspace view
focusedSelected roots across DSH filesystem services and known path-aware tools; arbitrary shell processes are not confined
isolatedSelected roots plus Linux process confinement through a fully enforcing, recognized bubblewrap profile, in a private PID namespace

isolated is unavailable on unsupported backends and cannot currently be combined with danger-full-access. Unsupported or partially enforced combinations fail closed instead of silently degrading to focused.

What works now

Version 0.6.0 implements the specification through Phase 4:

  • durable session-scope/set snapshots with a last-write-wins fold;
  • canonical root validation, nested-root collapse, navigation ancestors, and stable error codes;
  • projection-backed scope state and capabilities, a dedicated sessionScope/list RPC, and a write-only /scope command;
  • filtered directory listings and scoped glob, grep, and search roots;
  • per-session filesystem enforcement carried with AsyncLocalStorage;
  • a monotonic final guard for known path-aware tools;
  • model-facing context that names accessible roots without revealing hidden siblings; full emits no scope prompt and bypasses the filesystem carrier;
  • an independent Scope chip and tree picker beside Workspace and permission controls;
  • Linux isolation for one-shot bash and persistent PTY creation;
  • permission-aware read-only and writable mounts in an empty workspace overlay;
  • lifecycle fences that prevent scope changes while processes retain an older mount view;
  • scoped project instructions and skill discovery;
  • fail-closed LSP calls while the upstream provider indexes the complete workspace;
  • scope inheritance for forks, nested subagents, and resumed children;
  • compatibility folding for legacy workspace-scope/selection sessions;
  • unit, integration, package-contract, and packed-composition coverage.

Design boundaries

  • read-only, workspace-write, and danger-full-access remain DSH permission modes; they are not scope modes.
  • Focused scope constrains supported DSH services and tools, not arbitrary child processes.
  • Isolated scope requires the supported Linux sandbox path and a recognized bubblewrap profile.
  • Isolated confinement takes its own PID namespace, so the masked workspace stays masked even against a same-UID process outside the sandbox: the hiding is not left to the host's ptrace or hidepid= policy. A host where that namespace cannot be created reports isolated as unavailable instead of degrading.
  • Unknown runner profiles, partial enforcement, and unsupported platforms fail closed.
  • Scope changes are blocked while foreground jobs, background jobs, or persistent terminals retain the previous mount view.
  • Opening or refreshing the Scope editor is read-only: it uses projections and sessionScope/list, so it does not add command rows to session history. Applying an unchanged scope is a no-op.

Requirements

  • Node.js 20 or newer
  • pnpm 10.4.1 for development
  • DeepSeek Harness >=0.1.7-rc.2 <0.2.0
  • Linux with bubblewrap for isolated mode

Development

From the monorepo root:

pnpm install --frozen-lockfile
pnpm --filter @yadsh/dsh-session-scope check

The package check runs the TypeScript build, Vitest suite, client and package-contract checks, and compatibility verification. The packed-plugin smoke test can be run separately:

pnpm --filter @yadsh/dsh-session-scope smoke:packed

Releases

This package uses independent Nx Version Plans from the monorepo. Add a plan with pnpm release:plan; maintainers publish verified tarballs through the shared release workflow.

Prior art and attribution

The initial directory picker, path canonicalization, filesystem fencing, and sandbox integration were adapted from dsh-workspace-scope-selection by jiangr100, used under the MIT License. The original copyright notice is preserved in LICENSE.

Contributing

Issues and focused pull requests are welcome. Read the monorepo contribution guide and run the package check before submitting a change.

License

MIT. This is an independent community project and is not affiliated with or endorsed by DeepSeek.