Community plugin

anywhere-labs / dsh-desktop-next

Experimental upstream-inspired DSH Desktop with Profiles, recovery, remote control and Community Market

  • TypeScript
  • MIT
  • 19.5K stars
  • Aug 24, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-desktop-next is a DSH plugin published from the dsh-desktop-next package in the anywhere-labs/deepseek-harness-desktop repository.

  • Listing statusManifest verified
  • Manifest checkedNov 9, 2026
  • Packagedsh-desktop-next
  • Package pathdsh-desktop-next
  • Package version2.0.22-next
  • Source commit233b76c
  • Repository createdAug 13, 2026

Capabilities and topics

cordiscordis-plugindeepseekdeepseek-harness
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

DSH NEXT

English | 中文

A separate experimental package based on DeepSeek Harness 0.2.2-rc.1. The main window loads the official published @deepseek-ai/dsh-web-frontend, sharing the official Web application, plugin manager, and basic Desktop presentation. Next adds the system tray, desktop preferences and tools, Profiles, recovery, Agents Anywhere remote control, Community Market, and dshmarket.

Development and verification

Run from the outer repository root with Node.js ^22.19.0 or >=24.0.0 and Corepack's Yarn 4.18.0:

git submodule update --init --recursive
corepack yarn install --immutable
corepack yarn check:next
corepack yarn dev:next

check:next builds Market and Next, runs typechecks, unit tests, official-frontend and sandboxed-preload checks, and a real Host smoke in a temporary home. It never opens a graphical application. The smoke uses an offline local fixture plugin to exercise pnpm, Market toggles and removal through the official plugin manager, authentication, profile switching, and recovery boot, then cleans up its processes and files. An additional real-runtime smoke exercises the native-only HTTP/WebSocket gate, browser access changes, corrupt manifests, isolated safe mode, global-patch repair, and process teardown.

dev:next explicitly launches the graphical application. Use corepack yarn start:next with an existing build. Both prepare the bundled interpreter payload under .desktop-build/runtime before the shell starts, as upstream Desktop's development launcher does, so the Office skills are available in development; the first launch downloads the locked archives and wheels. An uncached Electron binary is downloaded on first use. To additionally exercise the real Electron executable in Node mode, build first and run:

corepack yarn workspace dsh-desktop-next verify:host:electron

This check opens no Electron window. Window presentation, native dialogs, and a real phone connection still require manual acceptance.

CI also runs xvfb-run --auto-servernum corepack yarn workspace dsh-desktop-next verify:protocol --no-sandbox on Linux. This separate test uses a real Electron renderer and custom protocol with a temporary Host, exercises Market source changes with ordinary browser access disabled, and rejects requests from a different page origin. It is not part of the portable check:next command. The sandbox flag applies only to the isolated CI process.

On the same Linux/Xvfb runner, verify:sidebar-browser --no-sandbox checks real lease-gated guest pages against a local fixture with both frame-ancestors 'none' and X-Frame-Options: DENY. It verifies blocked iframe embedding, successful native loading, the guest's own security settings, app-cookie and preload isolation, native history, refusal of a forged lease, workspace partition separation and cleanup on release. The portable verify:window-controls check exercises the official toolbar, pane resizing, modal overlap, tab switching and closure with a simulated native bridge, and checks the iframe fallback in a regular Web client.

The macOS sidebar and titlebar regression runs the official frontend's Desktop boot branch in headless Chromium with a temporary home. It serves the same entry document as Next, supplies real Host injections through a simulated preload contract, and asserts that Desktop transport is active. It checks the official header before Workspace selection and after a real blank Session is created, sidebar reopening on the homepage and plugin list/detail pages, and the official data-window-drag rows. Window resizing and sidebar collapse preserve the conversation header's drag surface; modal portals and interactive controls retain the official drag exclusions. It also opens the Desktop settings section inside the official Settings dialog, verifies preference and Profile commands, and renders the exact standalone recovery artifact with no Host dependency. Native IPC is simulated for these browser checks. After building, install the test browser once and run:

corepack yarn workspace dsh-desktop-next exec playwright install chromium
corepack yarn workspace dsh-desktop-next verify:window-controls
corepack yarn workspace dsh-desktop-next verify:onboarding

Set DSH_NEXT_TEST_BROWSER_CHANNEL=chrome to use an installed Google Chrome instead. Screenshots are saved under dsh-desktop-next/.desktop-next/verification/. Native macOS window movement still needs manual verification. Next uses the official frontend's window drag ownership, interactive-control exclusions, modal portal geometry, and Electron region-recall watcher. The conversation header and plugin page headers own their draggable boxes. The official frame places the sidebar and new-session controls beside the macOS traffic lights. Next adds no title-row drag override, fixed caption band, sidebar-control positioning, or modal/fullscreen drag override. The one exception is the content of the scrollers below those rows: Chromium collects app-region boxes without clipping them, so a control scrolled beneath a row would subtract its whole box. src/client/styles.ts removes those boxes and the unpainted part of the collapsed Plugins head, and verify:window-controls checks each row with a control run on the official rules alone.

App icon resources

build/app-icon.icon is the editable Icon Composer project with the final NEXT badge layout and System Dark background. On macOS with Xcode 27 and Icon Composer, run corepack yarn icons:export --channel next from the repository root to refresh build/app-icon.png, the Windows build/app-icon.ico, the Linux icon set build/icons/, native compiler output build/app-icon.icns, and the development Dock image build/app-icon-mac.png. Commit these files and build/app-icon.resources.json together; corepack yarn icons:check verifies them headlessly on any OS.

Next macOS packaging consumes the layered .icon source and compiles Assets.car, as Stable and Beta do. The raster Dock image is used only during unpackaged development; Windows and Linux windows use their ICO and PNG exports respectively.

The Linux icon set holds one PNG per hicolor theme size from 16 to 512 pixels. The Debian package and the AppImage install each one under the matching hicolor/<size>x<size>/apps directory, where desktop environments look up the desktop entry's Icon=dsh-desktop-next; the theme declares no 1024-pixel directory, so a single 1024-pixel PNG would leave launchers and taskbars without an icon. corepack yarn icons:export --channel next --linux re-derives only this set from the committed build/app-icon.png and needs no Xcode.

Usage

Use Settings → Desktop settings in the official frontend. A notice at the top links to the Plugins page for plugin-market and remote-control settings; it closes Settings and opens Plugins in the same main window. The tray’s Settings… entry and CmdOrCtrl+, reveal the main window and open the same official Settings dialog; there is no separate settings window. Recovery and Profile tools retain their existing windows. If the Host fails, the settings shortcut opens the recovery assistant. Switching Profiles saves the selection and fully relaunches the application after the old Host stops. Port changes restart only the Host; both interrupt active tasks. Browser and LAN access toggles apply immediately without restarting.

  • Tray and background operation: retain the original Desktop ordering: open the main window, reload the interface, quit and restart, open DSH Terminal, export diagnostics, enter/exit safe mode, then select or create a Profile. Desktop settings and the recovery assistant remain directly accessible. Native menus follow the in-app language. Closing the main window keeps the Host and remote connection running when background operation is enabled and a tray is available. Explicit Quit and application relaunch first hide the existing windows, then wait for the HTTPS edge and Host to stop before exiting or relaunching. Restarting only the Host retains the main window. Without a usable tray, closing the main window quits rather than leaving an inaccessible process.
  • Sidebar browser: the desktop app reuses the official Browser toolbar and supplies isolated Electron WebContentsView pages. GitHub and other sites with anti-framing policies can load as top-level pages without removing CSP or X-Frame-Options. Native history and observed URLs drive Back, Forward and the address bar. Views follow pane bounds and zoom, leave resize handles accessible, hide beneath modals or overlapping panes, and close with their tab or renderer. Each tab uses an in-memory session without the app preload, app cookies, Node access, downloads or automatic permission grants. Ordinary Web clients retain the official iframe carrier.
  • DeepSeek top-up and usage: as in the official Desktop, the official account plugin's top-up and usage actions (the first-run credit step, the out-of-credit notice and Settings → Account) open the DeepSeek Platform page in an Electron WebContentsView over the main window. The Host passes the signed-in account's Platform grant to the main process over private IPC; only the page's own sandboxed preload, at the Platform origin, receives the token. Payment and other external links open in the system browser. Each account has its own storage partition, whose sign-in data (cookies, IndexedDB, caches and service workers) is cleared whenever the page closes and when the application quits.
  • File actions: the official context menus of images and files offer Copy image, Download and Save as… through native file actions that accept only the main application frame. Download reserves a unique name in the Downloads directory, Save as… opens the native save dialog there, and completion returns the destination path so the menu's notice can reveal the file through the existing Host path-opening API. Both use Chromium's URL download, and a private URL fragment keeps them apart from Desktop's own Host route downloads. DSH_DESKTOP_FILE_DOWNLOAD_TIMEOUT_MS bounds startup until Chromium creates the download (300000 ms); the native save dialog has no application deadline, and a download that a network error interrupts fails at once instead of waiting for a resume. Copying a cross-origin image reads it in the main process through Chromium's network stack in an in-memory session, so it follows the system proxy and certificates like the window showing the image. These reads omit credentials, validate every redirect, reject the application Host and its loopback aliases, stop on main-frame navigation, and use DSH_DESKTOP_IMAGE_READ_TIMEOUT_MS (30000 ms) and DSH_DESKTOP_IMAGE_READ_MAX_BYTES (67108864 bytes). The renderer then converts the image to PNG for the Clipboard API.
  • File drag: dragging an image out of a conversation or the document preview delivers a file through Electron's native drag, as the official Desktop does; only the main application frame may prepare or start one. A workspace image its Session may read is lent in place: the Host authorizes it through its composed filesystem and returns its path, size and SHA-256 over the private Host IPC channel, so the renderer never names a path, and the main process checks the digest again and confirms the file is unchanged before the drag starts. Other images, and workspace files the Host does not lend, are copied to a private temporary directory, 64 MiB in total at most; a delivered copy stays readable for 60 seconds, and every copy is removed when the application quits. Cross-origin images whose servers send no CORS headers keep Chromium's own image drag.
  • Desktop preferences: background operation, macOS transparency, local/LAN access, log level, and separate notifications for completed/failed user turns. Background jobs never send notifications. The page reuses the existing Desktop grouped cards, Profile choices and notification toggles. Toggles and materials save immediately. The official Settings header provides terminal and restart shortcuts, including reload, application restart and restart into recovery. As in the existing Desktop, Windows has no material choice and always uses an opaque window; old Acrylic or Mica preferences are read as off. The OS must also allow notifications. Notifications only appear while the main window is unfocused. Successful turns use the current user message as the title and the final visible assistant reply as the body, with bounded text previews. Failed turns use a generic status; subagents and automated turns do not notify.
  • Profiles: fresh installations and isolated safe mode use desktop by default. A saved selection is retained, including an older Profile named default; existing Profile directories are not renamed or overwritten. Create, switch, open, or remove an inactive Profile. New Profile from the tray focuses the name and offers creation followed by switching. Malformed manifests and Profiles missing the Next bundle are marked unavailable; selecting the already-active Profile does not restart it. Removed Profiles move into recovery backups; the active Profile and desktop cannot be removed. Profiles have separate plugin dependencies, activation lists and patches. Sessions, settings and credentials follow upstream rules and are shared within one Next home; Profiles do not isolate accounts or data.
  • First-run setup: Desktop setup runs first when its own per-Profile completion record or explicit reopen request requires it. A lightweight standalone welcome window opens before the Host starts, rendering the six-page Next onboarding flow: welcome, plugin market, remote control, Computer Use (Next) with the existing permission dialog, browser access, and recovery guidance. Back retains draft choices; Finish saves the Profile features, browser access preference, and Computer Use provider, records completion last, starts the Host once with those choices, and opens the main window; Skip preserves existing choices and starts the Host. When the main window opens, the continuation slot offers the DeepSeek account sign-in card (after completion) and then hands off to the official account onboarding, which independently evaluates its account, API-key, and saved-progress conditions. Neither flow completes or resets the other. Interrupted flows resume, completed Profiles do not repeat automatically except after Profile repair, which resets the setup choices, and safe/recovery modes bypass Desktop setup. Desktop settings → Desktop tools → Setup wizard can reopen it with current choices through a confirmed restart.
  • Markets: plugin markets are off by default for new Profiles. The switch at the top of the official Plugins page enables or disables the last selected market (or dsh-community-market if none was selected in this view); choose dsh-community-market or dshmarket there. The choices reuse the original Desktop names, descriptions and repository links. Choosing one disables the other in a single official plugin-manager operation and retains installed plugins. Community Market keeps its sidebar entry; dshmarket keeps Settings → Plugin Market. Community Market retains discovery, sources, installation previews, confirmation, enable and disable switches, and removal. Package operations run through the official plugin manager and apply live without a restart; the terminal action is available on macOS and Windows.
  • Remote control: the separate switch at the top of Plugins enables @agents-anywhere/dsh-bridge-next (off by default). The gear to its left opens the existing phone connection dialog, also available from the sidebar. The gear becomes available after enablement. AA uses its default state directory (~/.agents-anywhere/dsh-bridge-next), sharing login, device binding and Connector settings with Stable/Beta and other Next Profiles. Enablement remains per Profile; switching Profiles stops the previous Host and its remote connection. Existing Next-generated per-Profile state overrides are removed on the next Host start. Old state directories are retained without merging credentials; users who only signed in to the former isolated store may need to sign in again. AA's shared-state ownership checks still apply when multiple editions run concurrently.
  • Desktop tools: open the data/Profile/log directories, reload the interface, open developer tools, export diagnostics, and open a macOS/Windows terminal with this installation’s dsh, pnpm and Electron-backed node. Plugin commands of that dsh always use the bundled pnpm, whichever pnpm the terminal's PATH resolves. The terminal selects the original Profile even while the main app is in safe mode.

Markets, remote control and Computer Use (Next) appear above the ordinary plugin list, aligned to its content width. Remote control and Computer Use (Next) stack vertically, with settings gears to the left of their switches. The markets and remote bundle no longer appear again as ordinary plugin cards. These controls still use the official manager and persist in the current Profile; an existing Profile with both markets active asks the user to choose one. Bundle plugins installed by either market remain in the ordinary list for enablement, disablement and removal. dshmarket’s own plugin-disable behavior is unchanged. Existing choices migrate once from desktop-next.features.json into package.json; subsequent starts respect the official manager.

Sidebar extension entries reuse the original Desktop footer layout: entries stack vertically above Settings, with bounded scrolling to preserve the workspace list.

Automation tasks appears in the official Plugins group with upstream artwork, its experimental badge, the native enable switch, and component details. It is optional and disabled by default. Next preserves existing Schedule choices and their legacy Profile migration; it adds no separate Scheduled Tasks card.

OAR subagents. The Plugins page lists OAR subagents below Computer Use (Next). Its switch, off by default, enables the official @deepseek-ai/dsh-experimental-subagent-oar provider, which Next ships as an optional bundle composed as in the provider README's example, except for Claude Code's permission mode: Codex starts with -c sandbox_mode="workspace-write" and Claude Code with --permission-mode acceptEdits --permission-prompts none, so both can change files in the task's directory. Claude Code refuses any other action that would ask for approval, such as most shell commands, unless its own settings pre-approve it (permissions.allow); the example's dontAsk would keep it read-only. The subagent_oar tool lets the model hand one standalone text task to either of them. Each task runs the Codex or Claude Code CLI installed on this computer with that CLI's own sign-in and settings, so install and sign in to it first. These processes run outside DSH's command sandbox, and their native approval requests never reach DSH. The card's title opens the official plugin page with the bundle's three rows. On that page each provider row's configure control opens its launch choices: read only, edit files (the default), auto review or bypass permissions for Claude Code, and read only, workspace write (the default) or full access for Codex. Saving records the choice in the current Profile's patch through the official configuration editor, which restarts that row, so tasks delegated afterwards use it; choosing the default again removes the override. A row must be running to change. The release ships the provider as a plain package; patches/dsh-experimental-subagent-oar@<version>.patch adds the bundle declaration to the installed package.

Official plugins their release hides. DSH 0.2.2 marks LiveShare, Ralph and session search as not listed by default, so the official plugin manager would show them only after a Profile enables them. Next lists them in Plugins like its other optional bundles through version-scoped patches (patches/dsh-experimental-liveshare@<version>.patch and the Ralph and session search counterparts); the LiveShare patch also starts its owner gateway worker in Electron's Node mode. A plugin detail page whose package has no meta.detail document shows a Chinese README translation, such as README.zh.md or README_CN.md, in a Chinese interface and an English one, such as README.en.md, in every other language, before it falls back to README.md (patches/dsh-plugin-detail@<version>.patch).

On-demand bundles after an update. The official Codex and Claude Code subagents and the official Computer Use install on demand into the Profile, pinned to the DSH release that installed them. pnpm places the DSH packages they depend on at the top of the Profile's node_modules, where the runtime resolver prefers them to the installation's own. After an update to another DSH release, core plugins would load those old copies, so the subagent tools disappear or the Host fails to start, and the bundles themselves no longer match the release. Before the Host resolves the Profile, Next therefore removes on-demand bundles installed for another release with the bundled pnpm, offline, as removing them in Plugins would, and logs which ones it removed. Plugins then shows them as not installed; switching one on installs the current release. A failed removal is logged, the Host starts anyway, and the next start retries.

Browser and LAN access

Browser access is disabled by default. Enabling local access provides an authenticated loopback login link; enabling LAN access adds an HTTPS/WSS edge while the Host stays bound to 127.0.0.1. Ports default to 0 (automatic). Access toggles do not restart the Host. Disabling browser access also disconnects existing browser WebSockets while preserving native streams and running tasks. Port changes require a Host restart. LAN addresses are sampled at startup; restart after a network change.

The settings page displays the complete local login URL and a separate HTTPS login URL for every LAN address, including the browser token. Each row opens or copies that exact URL. The login links are read through sender-validated native IPC and kept out of general runtime state and diagnostics. The page can also export the installation’s public CA certificate. Trust that certificate on the other device after comparing its SHA-256 fingerprint. Login links grant access and should only be shared with trusted devices. The CA private key is sealed with OS-backed storage; if secure storage or a suitable LAN address is unavailable, LAN HTTPS stays closed and the UI shows the failure. Native renderer credentials are never copied into these links and are stripped at the LAN edge.

Native permissions and Computer Use

The gear beside Computer Use (Next) and Settings → Desktop settings → Permissions open an in-app permission dialog built with the official Modal, Button and StateDot components. It shows screen-recording, macOS Accessibility and microphone status. Opening the dialog only queries permissions. A user click requests OS consent or opens the corresponding system privacy pane. On macOS, changes made in System Settings may require restarting the application. macOS keeps no undecided state for screen recording or Accessibility: both read as not granted until the grant exists and stay requestable, a screen request being the first capture attempt that prompts; the dialog notes that macOS reopens the application once screen recording is enabled, and that an Accessibility entry System Settings still shows enabled belongs to an earlier build's signature and must be removed and added again. Windows microphone restrictions link to Windows privacy settings; unsupported status APIs report unknown, never a fabricated grant.

Next provides the desktopPermissions Cordis service to native client plugins and Host plugins. Import its types from dsh-desktop-next/permissions and inject desktopPermissions. Ordinary browser clients do not receive this service. Its methods are query(permission), request(permission) and openSettings(permission), where permission is microphone, screen or accessibility. Results include status, canRequest and canOpenSettings.

import type { Context } from '@deepseek-ai/cordis'
import type {} from 'dsh-desktop-next/permissions'

export const inject = ['desktopPermissions']

// Call directly from the native client plugin's Record button.
export async function record(ctx: Context) {
  const state = await ctx.desktopPermissions.request('microphone')
  if (state.status === 'denied' || state.status === 'restricted') return
  const stream = await navigator.mediaDevices.getUserMedia({ audio: true })
  // Pass the stream to the recorder; stop every track when recording ends.
  return stream
}

Client requests require an active user gesture and the owning foreground window. Host requests cannot impersonate a user gesture: they reveal the permission dialog in the main window and return the current OS state, so the plugin must recheck after the user authorizes. Native settings requests made before the client mounts are retained for delivery. Host IPC uses correlated, bounded requests and rejects pending work on teardown. Permission status is always read again from the OS.

Screen sharing uses navigator.mediaDevices.getDisplayMedia({ video: true, audio: false }) directly from the user's Share button. On macOS 15 and later, Electron uses the system picker; other systems use a native source-selection menu. No source is selected automatically. Per-capture system-picker consent can differ from the global screen-recording grant. The permission service does not record media, and screen sharing does not grant computer input control. Packaged Next retains its product-specific NSMicrophoneUsageDescription and signs the main application and Helpers directly with the pinned upstream apps/desktop/scripts/macos-entitlements.plist. Voice input uses Chromium/macOS recording consent through getUserMedia; the voice plugin has no separate permission button.

Computer Use (Next) is the Desktop's own computer use, built on the bundled official @deepseek-ai/dsh-experimental-computer-use-cua-driver-native provider, and is disabled by default. Use the Computer Use (Next) section at the top of Plugins to enable it and read its live loading status. This entry uses the official Plugins slot, switch and plugin manager; its Profile row ID is computer-use-cua-driver-native. Tools and screenshots use existing conversation tool cards and image attachments; screenshot understanding requires a model route declaring image input. The gear to the left of the switch opens the permission dialog. By default a Session loads its tools and guidance only after /computer-use, and /computer-use off removes them; its plugin page can keep them in every Session instead.

Official Computer Use. DSH 0.2.2 adds the official Computer Use bundle, @deepseek-ai/dsh-cua-bundle (macOS only). Its release does not ship the bundle: the plugin manager offers it from the official catalog and installs it on demand into the current Profile, and Next does not ship it either. The catalog entry hides the bundle, so patches/dsh-official-bundles@<version>.patch lists it. On macOS, Plugins then shows it as not installed, like the official Codex and Claude Code subagents, and switching it on downloads and installs it, together with the helper application its release builds, signs and notarizes. Other platforms keep it hidden. The computer-use registry row and the provider row share the computerUse: computer-use-next isolation realm, so the official bundle can mount its own registry beside them. That official provider serves PTC Sessions. In every Session it serves, Computer Use (Next) withholds its tools, its guidance and the /computer-use command. The command returns without a restart once the official provider stops serving that Session, for example after the Session switches to another mode or the official bundle is switched off. Other Sessions, Windows and Linux, macOS before 14, where the official helper cannot start, and Sessions without a loaded official provider keep Computer Use (Next), which runs on macOS, Windows and Linux. The Computer Use (Next) plugin page carries a macOS Computer Use row with a switch for the official bundle; switching it on installs the bundle first while the Profile lacks it. That switch works only on macOS 14 and later; elsewhere it stays off and cannot be changed. While the bundle is on, the row opens the bundle's own page in Plugins.

The version-scoped Yarn patch at patches/dsh-experimental-computer-use-cua-driver-native@<version>.patch routes check_permissions through desktopPermissions when available. prompt: true reveals the permission dialog for missing grants, then the driver performs a read-only check with prompt: false. The driver remains the authority for its own actual permission status; no grant is inferred from the Desktop response. Without the Desktop service, the provider retains upstream behavior. The pinned @trycua/cua-driver@0.28.0 binary, operation tools, image handling and shutdown ownership are unchanged. Only one provider can register, but that does not serialize concurrent Sessions operating the same desktop.

Unit tests exercise the installed patched provider with a fake native SDK. The optional native activation check requires a supported SDK platform, loads and shuts down the real provider, and sends no input or screenshots:

corepack yarn workspace dsh-desktop-next verify:host --computer-use

The optional verify:window-controls --computer-use smoke also enables and disables the real provider through the official frontend in headless Chromium, without calling its computer tools. Native OS consent and actual computer actions still need manual acceptance.

Recovery

The independent recovery assistant shows the startup error and recent logs even if no Host is running. It offers retry, Profile switching, diagnostics, safe mode, repair, rollback and Quit. Restart in Recovery Mode from the Settings header fully stops the background service before relaunching directly into this assistant. The current Profile and plugins are not loaded until Start or retry is selected. The assistant keeps showing the failure that opened it: an action that fails afterwards only shows an Action failed notice and does not replace that reason.

Recovery opened at startup follows the operating system's preferred language order, choosing the first supported Chinese or English language. It does not need a running Host to select its language. Once the main interface is available, native controls continue to follow the language selected in Settings.

  • Safe mode starts the official interface in a separate temporary home with only shipped bundles, no original credentials, and remote control, Market and browser access disabled. Original data and configuration remain untouched. Leaving safe mode returns to the original Profile and removes the temporary home; work created in that temporary environment is not retained.
  • Profile repair, on the Quick recovery tab, first backs up the manifest, Profile patch and feature switches to home/recovery/, then repairs the Profile as upstream Desktop's plugin recovery does (sanitizeProfile): the Profile patch moves beside itself as cordis.patch.yml.bak-<time> and only the Web template's bundles stay enabled. Other plugins, official optional ones included, are therefore disabled, and settings kept in the patch, such as the interface language and conversation display, return to their defaults. Remote control and Market are turned off. A malformed package.json is replaced first; its original bytes stay in the backup. Installed plugin files, other manifest fields, shared sessions and credentials are retained. A dialog then shows the backup, and the app restarts into Desktop setup; the official onboarding runs again afterwards because its progress was in the patch. Undo the last repair on the same tab restores the backup until another restore replaces the repaired configuration.
  • Profile rollback restores the most recent successful Host-start configuration after backing up the current files and verifying the backup checksums. It covers package.json, cordis.patch.yml and Next feature switches, not installed plugin versions or shared data.
  • Global patch repair separately backs up and disables the home-level cordis.patch.yml; this affects all Next Profiles. Profile repair never silently changes that patch.

When a failure opens the assistant, Next saves it as home/logs/dsh-desktop-next-failure-<UTC time>-<stage>.log for support requests. The report contains the failure as shown, the Host's own diagnostic or the shell error's stack and cause chain, launch facts, and the last 64 KiB of the readable log. For a Host startup failure it also contains the configuration path and startup entries that util.inspect omits, followed by the plugin states and missing services that DSH 0.2.2 records for a failed startup. Reports are masked like the logs, readable only by the current user, and the newest ten are kept. Diagnostic report on the Quick recovery tab shows the file in its folder; when the report could not be saved, that card offers Export diagnostics instead.

As DSH 0.2.2's Desktop does, Next keeps recent plugin operations for these reports: installs, removals, enabling and disabling through the official plugin manager, which the Plugins page, the plugin market and the Community Market use, and the plugin commands that dsh-market runs through the Desktop's desktopPnpm.runPlugin. A record holds the operation, the package name or plugin entry, an exact requested version, the outcome or exit code, and the Host run that observed it; other package specs, which can contain paths or credentials, are omitted. Records live in home/logs/plugin-operations/ in two segments of at most 256 KiB. After a report is saved, a Worker appends up to 100 recent records (64 KiB) within 500 ms, and the report of a Host failure names its host run. The records are context, not proof of cause: changes made from a command line or by editing files are not recorded, and missing records do not mean that nothing changed.

Backups stay under home/recovery/. Diagnostics export a bounded JSON report with versions, state and redacted logs, without reading session or credential files. Logs can still contain local paths and plugin output; inspect the report before sharing. Local desktop logs are bounded to 128 KiB at home/logs/desktop-next.log. Desktop preferences live independently of Host settings in home/desktop-preferences.json. The main window reopens at the position, size and maximized state it last settled in, kept in home/desktop-window-state.json; delete that file to reopen at the default size.

Development and packaged builds default to ~/.dsh, sharing Profiles and data with Stable; Next's selected Profile, Desktop preferences and related settings retain their own file names. Next does not select its home from the existing DSH_HOME. Factory reset still affects the entire current data directory, including data shared with Stable.

The data directory is chosen in this order, and the Data directory row in Desktop settings shows which source applies:

  1. Chosen in the app: the directory selected in Desktop settings or the recovery assistant. The choice is stored in DSH NEXT/home/desktop-next-location.json below the system application-data directory (.desktop-next/home/ for development runs). This location is fixed and does not move with any environment variable, so existing manual choices continue to work. Restore default in the recovery assistant removes the choice. The installation folder and folders inside it are refused, because updates replace the files there and uninstalling removes the folder.
  2. DSH_DESKTOP_NEXT_HOME: an absolute path used when there is no in-app choice. Environment variables are read only when the process starts, and an in-app restart, including Quit and Restart from the tray, keeps the old process's environment. After changing this variable, quit Next completely and start it from the Start menu, the Dock or a new terminal.
  3. Default: ~/.dsh when neither of the above applies.

The same location records the directory of the previous launch. When a launch resolves a different directory while the previous one still holds Next data or cannot be reached, Next asks before initializing anything: use the previous directory (saved as the in-app choice), continue with this directory, or quit. Changing the directory or restoring the default from Desktop settings or the recovery assistant does not trigger this question.

Back up in Desktop settings pauses the Host, copies the current data directory into a new timestamped folder in the chosen location, then starts the Host again. Window and browser caches in electron-user-data are not included, and links inside the directory are retargeted into the backup. The backup is itself a usable data directory that you can switch to. Back up before resetting a data directory, then use the recovery assistant.

Ordinary Web Profiles do not declare dsh-desktop-next in package.json; Next supplies its capability only in its own Host startup and configuration recomposition. An older Next Profile has that historical bundle entry removed after its manifest is backed up, so Stable or the CLI will not load Next capabilities when opening the same Profile.

Administrator launches on Windows

On some Windows systems the Chromium sandbox cannot create the GPU and renderer processes while the app runs as administrator; left alone, such a launch ends silently after about a second. A packaged Next that starts with the elevated half of a split token (UAC on), for example through Run as administrator, an administrator terminal or an elevated installer, therefore restarts itself once with the desktop shell's normal token before starting any child process, the technique of Chromium's base::win::RunDeElevated. The restarted process keeps the arguments and the working directory and gets a fresh environment from the user profile. Add --next-keep-elevated to keep an intentional administrator launch. With UAC off or the built-in Administrator account there is no normal token to return to, so those launches stay elevated.

When a sandboxed GPU or renderer process still cannot launch on Windows, Next shows a native dialog and quits instead of disappearing. The dialog names the likely cause for the current elevation state and how to stop running as administrator, gives the Chromium sandbox error code, and describes the temporary --no-sandbox workaround, which turns off the sandbox for every page, including sites opened in the sidebar browser. The desktop log records the failure as sandbox.launch-failed.

Low integrity launches on Windows

A launch below Medium integrity cannot start the GPU process either, and a restart does not help: Windows starts a program at most at the integrity level of its file's label. The Windows sandbox gives each workspace's folder tree an inheritable Low label, so a workspace that is, contains or lies inside the installation folder would label Next itself, and every later launch would end silently (#1564). On Windows the workspace folder dialog therefore refuses such a folder and says why, and the Desktop patch to @deepseek-ai/dsh-sandbox-windows-acl refuses to grant write access to a workspace that overlaps the folder of the running executable, however the workspace was added; the sandboxed command then fails with that reason.

When Next still starts below Medium integrity, it shows a native dialog before starting any child process and quits. If the executable carries a Low label, the dialog names the highest folder the label comes from and the icacls … /setintegritylevel "(OI)(CI)Medium" /T /C /Q command that restores Medium integrity; otherwise it says that a Low integrity process, such as a command or terminal in the sandbox, started Next. Launches with --no-sandbox or --disable-gpu-sandbox skip this check, because the GPU process then needs no sandbox.

Architecture and provenance

Official Web frontend + official basic Desktop presentation
                        |  dsh-app://app
                 Next Electron main
                        |  authenticated HTTP / WebSocket
                 Electron Node-mode Host
                        |  upstream shared runProfile
                 Official Web bundles + Next bundle
                        |- Community Market
                        |- dshmarket
                        `- Agents Anywhere bridge

Alpha.2 replaced alpha.1's portless pipes with WebServer. This package uses the real upstream WebServer rather than simulating HTTP routes. The Host binds only to 127.0.0.1, with an OS-assigned port by default so other editions can run concurrently. A separate optional TLS edge owns LAN ingress. Main retains Host cookies and a fresh native capability for each Host generation; ordinary HTTP and WebSocket requests are denied while browser access is off. Electron remains pinned to 44.7.0 for compatibility with the upstream native modules. Before forwarding a Host request, the main process attaches its native capability only to requests from the owned main frame at dsh-app://app, stripping that marker from other destinations and redirects. Native fetches may omit the HTTP Origin header. Market requests also require Host authentication, and mutations retain their translated loopback origin checks.

The main interface consumes official frontend artifacts without copying chat, settings, or plugin-manager pages. macOS window material, platform markers, the Windows caption menu, and native theme synchronization follow the official implementation. Editable areas in the main and shell windows show the official right-click editing menu: Undo, Redo, Cut, Copy, Paste, and Select All without shortcut labels, availability from Chromium, Copy alone for selected read-only text, and Windows labels in the current application language. The Windows caption buttons are the exception: their fill stays transparent and only their symbols follow the theme, so they always show whatever the page paints beneath them, including the official full-window onboarding and sign-in surfaces. Next contributes its Desktop section through settings.section and header shortcuts through settings.action. The Desktop section directly reuses dsh-plugin-desktop-beta's DesktopSettingsSection, header actions and stylesheet. Recovery and Profile windows reuse its native React pages, frame and UI components. Next supplies state and command adapters, and capability options hide unsupported features; it does not maintain a second copy of those pages. Shared component changes are mirrored to Stable while preserving both editions' defaults. The application preload also installs the official __DSH_HOST_PATHS__ bridge over Electron's webUtils: dropped, picked, and pasted files and folders with a real path enter the composer as @path references instead of uploads, and the official composer accepts dropped folders only when this bridge exists. Narrow sender-validated IPC exposes only named native actions. Ordinary browsers receive no native Desktop bridge. Adding a workspace in the main window opens the system folder dialog (Finder on macOS, Explorer on Windows) exactly as upstream Desktop does: Next hands its sampled LAN addresses to the Host as trusted authorities so LAN access can be switched on without a Host restart, which makes upstream's adaptive directory picker mount the in-app browsing panel, so Next's client bundle shadows that occupant in the Desktop window with a renderless driver over the preload bridge. Ordinary browsers reached through local or LAN access keep the panel the Host mounted.

Next contributes an application-owned profile layer at runtime; its recomposition hook keeps the layer active through shared plugin-manager operations and HMR without adding it to the shared Profile manifest. Version-scoped patches read dsh.optionalBundles and dsh.exclusiveBundles from the installation manifest and add plugins.overview and plugins.bundle.hidden slots to the published plugin-manager UI. Next uses these slots for the top controls and to omit duplicate bundle cards; installations without an exclusive group keep the original manager behavior. The dshmarket package runner uses the official runPluginCommand operation with Next’s Profile, installation anchor and bundled pnpm; it does not require pnpm on the system PATH. Development startup creates one managed link for Next itself under home/profiles/node_modules; alpha.2 runtime resolution owns all other dependency fallbacks. All upstream runtime dependencies come from published packages, without source links into or edits to deepseek-harness/.

upstream-reference.json records the reference commit and original hashes of copied files; a copy that still follows an earlier upstream original names that original's commit and version itself. LICENSE.upstream retains the original license.

Current limits

Packaging entry points and the Next update client are implemented. Releases still require producing and validating platform artifacts and configuring the online Next channel. Stable/Beta data migration is not provided. Our enhanced/extended window modes remain deferred. An unpublished Next update channel is reported as unavailable; Next never installs a Stable/Beta package. Enhanced window modes remain hidden. Headless Node/Electron checks do not qualify cross-platform installers or visual behavior.

Packaging and updates

The product version is 2.0.22-next. Run from the repository root:

corepack yarn package:dir:next
corepack yarn dist:mac-smoke:next
corepack yarn dist:mac:next
corepack yarn dist:win:next

Packaging reuses Beta's directory builds, universal macOS DMGs, signing/notarization preflight and Windows x64 NSIS flow, including its unsigned Windows build policy. Like upstream Desktop, the application is archived into app.asar; native modules, executables, nested bundles, the bundled pnpm, the AA bridge's Connector project, the Node shims and the icon assets are unpacked beside it, because Electron's archive view serves only its own fs and dlopen, not child processes, shells or nativeImage. The Host, the terminal dsh command and recovery's plugin CLI run from the archive in Electron's Node mode; the Host resolves the LibreOffice engine to its unpacked copy through the upstream module hook, and the agent preset package's manifest to its unpacked copy through a Next hook, because the Creator preset mounts that package's skills/ as a custom skill-filesystem root that the Host's filesystem service lists with bigint stats, which Electron's archive view cannot answer for archived entries, and the computer-use driver's platform package to its unpacked copy through another Next hook, because the driver hands that package's library path to the system loader, which reads no archive, and the badge skill package to its unpacked copy through a third Next hook, because its skill tells the model to take dsh-badge.png from the directory it announces, which shells and the Host's filesystem service cannot read inside the archive, while requests made from that copy resolve as from the archived one, so its imports stay shared; the AA bridge receives its unpacked Connector and uv paths through the Profile overlay, and Profiles no longer get a filesystem link into the application, since no link can enter an archive. The packaged Host keeps Electron's archive view, so a workspace file named *.asar reads as an archive there, as in upstream Desktop. Both archive fuses stay off, as upstream ships them. One file stays outside the archive for compatibility: Contents/Resources/app/package.json, a byte-for-byte copy of the archived manifest copied as an extra resource, because the updaters shipped in 2.0.14-next through 2.0.17-next verify a downloaded disk image by reading the manifest at that pre-archive location and reject the image when it is missing. Electron loads app.asar before app, so the copy never changes which application starts; the afterPack hook, the final artifact check and verify-mac-release.ts require it on macOS, require it to match the archived manifest and this release, and allow nothing else in that directory. Windows ships no app directory, because its updater reads only the installer's version resource. These commands build artifacts without publishing or opening a GUI; release gates still require the latest AA preparation and repository checks.

The archive follows the upstream Desktop file policy, and the payload has two independent sources, as upstream Desktop prepares its dsh tree before electron-builder archives it. Before every electron-builder run, scripts/prepare-payload.ts materializes .desktop-build/payload/: the shell files; the application manifest as electron-builder would transform it, with a drill version from DSH_NEXT_BUILD_VERSION applied and build-only fields removed; and the production dependency closure copied from the installed tree the way Node resolves it, with the file policy applied (source maps, TypeScript declarations, build caches, package-manager metadata, other platforms' LibreOffice engines and node-pty prebuilds), nested node_modules kept where the installer placed them, the linked dsh-community-market workspace copied by its published file list, and every dependency manifest cleaned the way electron-builder cleans it. The prepare step then seals desktop-runtime.json at the payload root: the Next, dsh, Electron and pnpm versions, the platform and the architectures whose native files the payload carries (both Darwin CPUs, Windows x64), every direct dependency as a shared package record, and the bytes, SHA-256, executable bit and Mach-O flag of every file; the descriptor is verified against the prepared tree as soon as it is written. electron-builder archives that directory verbatim through two file sets, the payload and its root node_modules, which electron-builder would otherwise leave out; it declines its own dependency collection in beforeBuild and unpacks native modules, executables and shell-executed files by the configured patterns. The afterPack hook opens the assembled archive and its unpacked files as a second copy of the installation: it checks that every packaged manifest's dependency closure resolves, rejects anything the policy omits and native code or shell-executed files that stayed inside the archive, and requires the archive to embed the prepared descriptor byte for byte and to match its inventory exactly, naming the first file that differs. Universal macOS builds run the hook once per CPU and once on the merged application; all three archives come from the same prepared tree, so the universal build keeps one archive instead of merging two (mergeASARs: false). The merge rewrites one kind of payload file: @electron/universal parses every Info.plist in the application, including those of nested bundles among the unpacked files, injects the archive integrity and serializes it again, so such a file is accepted only when the prepared copy still matches its record and both parse to the same content apart from ElectronAsarIntegrity, and the build log names it. After all artifacts are built, the final application is verified again against the descriptor inside its archive with the same tolerance plus code-signing tolerance, because electron-builder signs the unpacked Mach-O files and nested bundles afterwards and verify-mac-release.ts validates those signatures; the packaged Electron then imports the shell modules from the archive in Node mode and boots the real Host from it with a private home, the Community Market enabled and a diagnostics export running its worker thread, failing a Host that exposes the application to ordinary browsers. At startup a packaged application reads the descriptor from inside its archive and compares it with its own version, the installed @deepseek-ai/dsh, the platform and the CPU; a mismatch opens the recovery assistant instead of the workspace.

Like upstream Desktop, the package carries the primary runtime outside the archive, under Contents/Resources/runtime (resources/runtime on Windows): the standalone Python 3.12 pinned by the upstream lock with numpy, pandas, python-docx, python-pptx, openpyxl, Pillow, lxml and XlsxWriter, the standalone Node, the bundled pnpm, and the Office skill resources beside each payload. The macOS release is one universal application, so it carries one payload per CPU, runtime/arm64/primary-runtime and runtime/x64/primary-runtime, each with its own office-skills; the installed shell selects the payload of the CPU it runs on and passes it to the Host. Windows carries runtime/x64 only. Before every electron-builder run, scripts/prepare-runtime.ts downloads the archives and wheels the upstream lock pins (deepseek-harness/scripts/primary-runtime/lock.json) into .desktop-build/downloads, assembles each payload under .desktop-build/runtime/<cpu> with upstream's pruning of the NumPy and pandas test suites, writes its runtime.json with the product version and payload digest, verifies the tree (manifest platform, CPU and version, Node and pnpm entries, thin Mach-O interpreters of the declared CPU, the Office checker and skills) and executes the payloads this host can run: the native CPU, and the Intel one under Rosetta when an Apple Silicon host has it. electron-builder copies the tree verbatim as extra resources; the afterPack hook and the final artifact check verify it again, and verify-mac-release.ts runs the native payload from the mounted image. The dev and start scripts prepare the same tree before every development launch, as upstream Desktop's dev.ts does; corepack yarn workspace dsh-desktop-next prepare:runtime runs that step alone. The Host mounts the Office skills only when .desktop-build/runtime/<cpu>/primary-runtime exists, so the headless Host checks start without a payload; a packaged Host requires its payload and fails without it.

The Host mounts upstream's Office composition: the load_workspace_dependencies tool, which installs the payload of this CPU under <home>/dsh-runtimes/dsh-next-primary-runtime on first use (Next's own directory, because Next shares ~/.dsh with the official Desktop and the tool replaces an installation whose manifest differs), and the office-docx, office-pptx and office-xlsx skills, which receive the bundled Node and the unpacked LibreOffice Kit CLI. The CLI runs under that standalone Node, which reads no archive, so the beforePack hook unpacks the complete Office package closure of both CPUs beside the archive and the payload audit requires its roots there.

Signed macOS releases sign the payloads before electron-builder runs, as upstream Desktop does: every Mach-O file receives a hardened-runtime, timestamped Developer ID signature with a per-file identifier, and a signature whose secure timestamp request fails is attempted up to three times; the standalone Node receives the JIT entitlement V8 needs, the x64 Node additionally com.apple.security.cs.allow-unsigned-executable-memory for executable code pages, including under Rosetta; Python and its extension modules receive no entitlements. signIgnore keeps electron-builder from re-signing the payloads with the inherited application entitlements, and the universal merge rule keeps them identical across both CPU builds. Without this pass the Python .so extension modules would stay unsigned, because osx-sign signs only extension-less binaries, .dylib and .node files, and notarization rejects unsigned Mach-O code. A PKCS#12 certificate supplied through MAC_CERT_P12_BASE64 is imported into a temporary keychain for the pass; an identity in the login keychain is used as is. verify-mac-release.ts checks the signatures, the entitlement policy and the native payload's imports inside the mounted image.

Settings and the tray expose update checks. Packaged builds check shortly after startup and every six hours; downloads start only on a user click. The tray displays bytes or a percentage, then Install and restart. Installation hides windows and stops the Host before handing off. macOS verifies Next identity, version and signing team, packages the application from the downloaded DMG into a local ZIP, and hands it to Electron's Squirrel.Mac for signature validation and replacement, without implementing our own application replacement or weakening signing. The identity and version check reads Contents/Resources/app/package.json in the mounted image, which archived releases keep as a copy of the archived manifest for exactly this check. Windows verifies the Next installer identity/version and hands off to NSIS for a silent update and relaunch. Development runs can check but cannot replace the source tree or development Electron runtime.

The AA landingpage contract is GET https://www.dshdesktop.cn/api/desktop/version, with X-DSH-Desktop-Channel: next and the installed version; installation identity is sent only to this endpoint. Downloads use /api/downloads/mac or /api/downloads/windows with a pinned X-DSH-Desktop-Target-Version. On macOS both requests also send X-DSH-Desktop-Arch: arm64 or x64, the CPU of the Mac; an Intel build that Rosetta translates sends arm64, so its next update is the Apple Silicon build. The service answers the header with the DMG for that CPU, or with the universal DMG while a version has none, and any digest it supplies must be that DMG's. Clients that send no CPU, as every release before per-CPU DMGs does, must be offered a version that still has a universal DMG, because the updater installs only an application whose version is the one the check announced. Storage redirects receive none of these headers. Only Next versions are accepted; SHA-256 is enforced when supplied. Failures, unpublished channels and older servers never appear as up to date. The service must deploy Next support and configure real artifacts whose embedded versions match the response (x.y.z-next or x.y.z-next.N).

Installer bytes travel over Chromium net.request rather than net.fetch: with redirect: 'manual' Electron's fetch rejects a redirect (Redirect was cancelled) instead of returning the 3xx response, so the release service's 302 to its storage path could never be followed. The transport issues one request per hop, validates every hop with the same HTTPS-and-default-port rule, drops the release selectors after the first hop, and keeps installer traffic on a non-persistent session partition so it carries no application cookies. The macOS and Windows download endpoints redirect to storage; a client that can only accept a direct 200 cannot update.

Packaged launches from the Finder or the Dock carry no login-shell exports. Before anything can start a Host, the shell runs the account's login shell once (zsh, bash or fish) the way the Desktop variants do, and merges only PATH, the locale variables, TZ and a fixed list of toolchain variables into its environment; credentials, DSH_* values and process startup hooks are not imported, and a failed, slow or unsupported shell leaves the inherited environment in place. When neither the launch environment nor the login shell names a locale, the shell sets LANG to the first installed UTF-8 locale for the system languages, as Terminal.app does, so the Host's terminals and tool subprocesses do not run in the C locale, where ls prints ? for non-ASCII file names. The diagnostics log records the outcome as shell-environment.resolved.

Runtime and developer logs

Next keeps a readable recent log at <data directory>/logs/desktop-next.log and structured JSONL history at logs/desktop-next-YYYY-MM-DD.<segment>.jsonl. History rotates at 10 MiB per file, retains seven days and is capped at 200 MiB. New files are private. Startup, Host exit and shutdown stages remain visible regardless of the verbosity setting; an active-run marker identifies the previous launch ending without successful cleanup. Errors and forced-exit evidence are flushed immediately; other records are batched for about 200 ms. The readable log is rewritten only when its content changed. Logging failure does not stop the application, and diagnostic exports report storage failures or dropped records.

Enable Developer logging in Desktop tools to record Electron commands, Renderer console output, plugin state transitions, model stream attempts, retry decisions, tool execution and Host HTTP requests, plus a memory.sample every 30 seconds: working set, Windows private bytes and CPU for each Chromium process, system memory with the Windows commit limit and available commit, and the Host's process.memoryUsage(). Samples go to the JSONL history only, one compact row per process under column names that every record carries. This takes effect without restarting the Host. The log level controls verbosity; select debug to also retain kernel debug messages. Records carry a launch id, process id, source and sequence; operations share an id and include elapsed time. Model and tool events correlate through session and call identities. Their metadata projections omit prompts, tool arguments, results, HTTP bodies and authentication headers; existing plugin log messages and errors are retained with rule-based secret masking.

Whether or not developer logging is on, Next keeps the last 40 memory samples (about 20 minutes) in memory. When the main window's renderer exits abnormally, another Chromium child process crashes or is killed, or the Host exits without being asked to (or with Chromium's out-of-memory code 0xE0000008 while stopping), it writes those samples once as an error-level memory.snapshot that names every trigger within five seconds, and flushes it before recovery mode or exit. Samples hold process types, process ids, megabytes and CPU only, never command lines, paths or conversation content. The readable log shows a one-line summary; the samples stay in the JSONL history, so diagnostic exports include them.

Each main-window document records renderer.navigation with what started it: open (Next opened the window), recovery (automatic renderer recovery), reload (the reload command, or a Host restart that replaces the document) or page (anything else, such as a page script or plugin reloading the document), and whether a frame initiated it. When its interface mounts, a document records renderer.ready, except a document that automatic recovery loaded, which records renderer.recovery.healthy with its attempt number. A reload without renderer.recovery.* records therefore did not come from automatic recovery.

Export diagnostics writes a version-2 JSON bundle containing application/runtime information, recent diagnostics, pending operations, the names, sizes and times of local crash dumps (never their contents) and up to 50 MiB of owned historical evidence. Export runs in a bounded worker with a 60-second deadline, and reports omitted files. It never traverses Profiles, credentials or conversation data.

The official runner offers no pre-mount context hook. Next replays its bounded logger buffer, audits the settled plugin graph and retains raw process output/fatal diagnostics; very early debug records absent from that buffer cannot be reconstructed. This is process/application logging, not an OS syscall trace. Electron Crashpad also runs locally without uploading, so a native crash of an Electron process or of the Node-mode Host leaves a minidump in electron-user-data/Crashpad.

Plugin inventory uses the official readPluginInventory() API for effective enablement and lifecycle phases. When the optional official Inspector is available, ctx.inspector.cordis.getTree() supplies runtime source, revision, connection and truncation metadata; Desktop does not reconstruct its topology. Session metadata uses the official session/event feed and preserves event types, sequence numbers and timestamps for correlation with Session Log. Raw session/chat inspection, NodeJS debugging and outbound fetch capture remain in the official developer tools. Desktop keeps operational timing, process/IPC diagnostics, file retention and diagnostic export. Enabling developer logging does not enable the official capture tools or copy their raw payloads into exports.

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/anywhere-labs/deepseek-harness-desktop/dsh-desktop-next)