HarmonyOS development for DSH with HDC device discovery, screenshots, UI automation and logs, hvigor/ohpm builds, ArkTS checks, offline documentation search, and a right-sidebar device panel. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Install
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/SherlockGougou/dsh-harmony/releases/download/v0.1.0/dsh-harmony.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:SherlockGougou/dsh-harmony#path:/packages/dsh-plugin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DSH 的 HarmonyOS 工具与 Skill 插件。安装后注册:
harmony_doctorharmony_projectharmony_createharmony_configharmony_auth_statusharmony_signature_generateharmony_buildharmony_runharmony_device_listharmony_device_infoharmony_emulatorharmony_app_listharmony_app_infoharmony_app_controlharmony_screenshotharmony_logharmony_docs_searchharmony_docs_readharmony_docs_catalogharmony_check_arktsharmony_check_lintharmony_check_compatharmony_ui_layoutharmony_ui_findharmony_ui_waitharmony_ui_gestureharmony_ui_keyharmony_ui_clickharmony_ui_textharmony-deviceSkillharmony-arktsSkill- 会话头“设备”入口和 DSH 右侧栏“HarmonyOS 设备”面板(选择设备、刷新取帧、保存/复制/附加、充电时保持亮屏)
安装
pnpm build
dsh plugin --profile desktop add ./packages/dsh-plugin
从 GitHub Release 安装预构建包(自带轻量 @dsh-harmony/harmony-docs,不要求 npm 发布):
dsh plugin --profile desktop add \
https://github.com/SherlockGougou/dsh-harmony/releases/latest/download/dsh-harmony.tgz
环境
离线文档随 @dsh-harmony/harmony-docs 安装;文档工具优先读取随包资产,缺失时回退
devecocli。上游 npm 包声明 MIT,本项目保留上游许可和来源版本。
插件按以下顺序查找文档资产:
DSH_HARMONY_DOCS_ROOT@dsh-harmony/harmony-docs$DSH_HOME/plugin-data/dsh-harmony/docs/缓存
DSH_HARMONY_DOCS_ROOT 可指向自定义文档目录;没有可用资产时,文档工具回退
devecocli。
HDC 按以下顺序解析:
HDC_PATH$DSH_HOME/plugin-data/dsh-harmony/config.json的hdcPath- PATH 中的
hdc DEVECO_SDK_HOME/OHOS_SDK_HOME/HOS_SDK_HOME- 已安装的 HarmonyOS SDK 和 DevEco Studio/CLT
devecocli 是可选后端,按以下顺序解析:
DEVECO_CLI_PATH$DSH_HOME/plugin-data/dsh-harmony/config.json的devecoCliPath- PATH 中的
devecocli @deveco/deveco-code内置的devecocli- DevEco Code Offline 资源目录
构建优先直接使用 DevEco Studio/CLT 的 hvigor/ohpm;设备、截图、日志、应用生命周期和 UI 优先直接使用 HDC;CodeLinter/API compat 优先使用本地 Studio/CLT 组件。auth、signature、emulator、apply/hotreload 仍使用 devecocli。
Links
More in this category
yjh051108/dsh-routing-suite★ 7028
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3954
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
first-fluke/oh-my-agent#dsh★ 1496
Runs project OMA checks before and after tool execution and when a turn tries to finish. Installs its OMA CLI dependency and initializes unconfigured projects on first use. Requires Node.js 22+; initial setup needs network access and project write access.
MichengAI/dsh-skills-manager★ 641
Manages local DeepSeek Harness skills in Settings and shows shared Agent skills as read-only.
hust-open-atom-club/oh-dsh★ 326
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
Fishquito7/dsh-skill-mcp-panel★ 292
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.