Repository navigation
Conversation
- Add packages/provider-dsh, which runs `dsh --profile acp` per thread over ACP - Map permission modes to dsh's sandbox: Supervised is read-only, Auto-accept edits is workspace-write, Full access is danger-full-access. Auto runs as Supervised. - List models from a temporary probe session, with dsh's reasoning levels; DSH_HOME gives each instance its own profiles - Off by default; register the driver in server, client runtime and contracts, and add docs/user/providers-dsh.md
Thread transfer impact
This comment will update automatically after the next completed run. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Not3 Code has no built-in support for dsh (DeepSeek Harness). Users who run dsh have to wire it up by hand, and the app cannot pick their dsh profiles, credentials, models, or permission modes.
Change
Adds dsh as a first-party provider driver, implemented in the fork-owned
packages/provider-dsh. The driver runs dsh's ACP profile (dsh --profile acpby default) for each thread, on top of the shared ACP adapter.read-only, Auto-accept edits runsworkspace-write, and Full access runsdanger-full-access. Auto is not supported and runs as Supervised. An explicit approval or sandbox override keeps dsh read-only so T3's approval policy sees each write.--patchoverlay so it does not appear in dsh's session list.DSH_HOME, so two instances can use different accounts.builtInDrivers.ts,managedProviders.ts,providerClients.ts, the default model and display name incontracts/src/model.ts, and the default-off list incontracts/src/settings.ts(dsh is off by default, like the other packaged drivers). Every edit carries aFORK(dsh)marker, andfork/check.tspins the hook counts and workspace dependencies.effect-acpis a devDependency ofprovider-dsh, because the code only imports its types. As a runtime dependency it failed the third-party license scan that the mobile Metro config runs during the pre-commit knip check. Kiro declares it the same way.docs/user/providers-dsh.mdand apackages/provider-dshentry infork/README.md.Scope
This is a fork feature, not an upstream bug fix. It was requested directly for the fork (
add dsh as first party support), so no issue is linked. It touches only the fork-owned package plus the registration points listed above.Verification
packages/provider-dsh/src/server/driver.test.ts: 4 of 4 pass. The tests cover the spawn input (profile, sandbox env, and launcher args), the permission-mode to sandbox mapping (including the read-only override), model and reasoning-level extraction fromconfigOptions, and the fallback to dsh's default model.vp fmt,vp lint, andvp run knip:check. The knip failure from theeffect-acplicense scan is fixed by the devDependency move.apps/mobile/metro.config.jsloads undernode -e require(...).vp run typecheckonprovider-dsh, and the full desktop, web, or mobile flows. The provider has not been tested against a live dsh install.Change produced by model "claude-opus-5-5", harness Claude.