1.3 KiB
DSH native interaction adaptation
Source: https://github.com/deepseek-ai/deepseek-harness
Fixed npm version: 0.2.1-rc.2. Copyright (c) 2026 DeepSeek, MIT; see license.
web/modules/assistant/dsh-native.js extracts clampWidth, computeColumns and groupOptions from the installed official @deepseek-ai/dsh-client-ui-layout/lib/client.js and @deepseek-ai/dsh-client-ui-commands/lib/client.js. Geometry and grouping function bodies are preserved. The popup's substring matching policy and exact-name command resolution are adapted to this project's fixed command catalog, excluding host aliases and React/Cordis services.
The original three-column precedence, collapsible process groups, stable transcript nodes, command popup keyboard behavior and per-conversation detail pane are adapted to the existing Tabler workspace. These browser helpers are actually used by the layout and command menu. No native shell, filesystem, plugin manager, internal reasoning viewer, or separate DSH Web host is mounted.
The existing server adapter continues to run the pinned official DSH session/agent/headless profile. Its NDJSON lifecycle is consumed through a narrow business-safe event adapter; final responses retain the application schema validation.