AGENTS.mdA

AGENTS.md from wang-yi-bit64/dsh-desktop is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add wang-yi-bit64/dsh-desktop/AGENTS.md@git:20261019.54baac0

Pins git:20261019.54baac0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
wang-yi-bit64/dsh-desktop
Path
AGENTS.md
Versions recorded
17
Latest version
git:20261019.54baac0, committed Oct 19, 2026
First version recorded
Oct 7, 2026
Size
53,426 bytes
Repository stars
12
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AGENTS.md

> 面向开发人员与 AI Agent 的 `dsh-desktop`(DeepSeek Harness 桌面壳)协作指南。

> ⚠️ **能力口径**:每个特性必须区分五种状态——**已接线 / 未接线 / 未实现 / 计划中 / 已归档**(词表见 §7.3);不在「已接线」之列的**不得对外呈现为可用能力**,判据见 §7。

> 📖 **本文件是「规则手册 + 索引」**:历史复盘与操作细节已外移。
> - 命令速查(含全部 npm script 名)→ `docs/commands.md`
> - 发布步骤 / 版本 / CI / 双上游通道 → `docs/release-runbook.md`
> - 「已修复,勿回归」事故档案 → `docs/incidents/`,逐条见 §4

---

## 1. 项目概述与仓库结构

`dsh-desktop` 是基于 **Tauri 2.0** 与 **Rust** 的 DeepSeek Harness 跨平台桌面外壳,负责内置 Node.js + Harness 运行时的生命周期管理,并提供 GUI 承载与崩溃自愈。

- **`crates/dsh-contracts`**:无 GUI 的通用契约库(常量、错误码、IPC 封套、JSON-RPC 2.0 唯一契约源)。
- **`crates/dsh-host`**:无 GUI 纯 Rust 核心宿主(子进程派生、孤儿防护、就绪探测、Supervisor、崩溃诊断、脱敏诊断包、日志读取、Safe Mode、Profile/Session)。**INV-6:严格 headless。**
- **`crates/dsh-host-cli`**:命令行前端(`start|status|stop|tail|probe|doctor`),**INV-6 的兑现载体**;仓库内使用,**不作发布产物**。
- **`src-tauri`**:Tauri 桌面应用层(窗口/生命周期/IPC/自动更新/安全模式/LAN 手机桥/日志查看器/托盘/反馈)。
- **`build/`**:运行时启动脚本与安全防护注入。
- **`scripts/`**、**`patches/<target>/`**、**`packages/<target>/`**:组装/门禁/打包工具链,与按通道分目录的补丁、vendored 包。
- **`docs/`**:架构设计、契约定义、不变量与技术规范。

> 📖 **完整目录划分见 `docs/incidents/repo-structure.md`。**

---

## 2. 常用命令速查

> 📖 **完整命令速查表见 `docs/commands.md`**——原 §2 内容原样迁入。
>
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wang-yi-bit64/dsh-desktop/AGENTS.md@sha256:0b6986c35786d209

The line at the top of this page pins the label git:20261019.54baac0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_plog4uh3qfnhvfai.svg)](https://markdownregistry.com/a/art_plog4uh3qfnhvfai)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 17 versions of this file, between Oct 7, 2026 and Oct 19, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261019.54baac0 latest2026-10-19 54baac0 53,426 BA view · diff
git:20261018.e66f04c2026-10-18 e66f04c 53,426 BA view · diff
git:20261017.6e53e702026-10-17 6e53e70 53,407 BA view · diff
git:20261015.39121f72026-10-15 39121f7 52,915 BA view · diff
git:20261014.475c1032026-10-14 475c103 52,915 BA view · diff
git:20261014.b5db45b2026-10-14 b5db45b 50,815 BA view · diff
git:20261011.c8f2b172026-10-11 c8f2b17 52,915 BA view · diff
git:20261010.5b74be82026-10-10 5b74be8 50,815 BA view · diff
git:20261010.4a357b32026-10-10 4a357b3 50,007 BA view · diff
git:20261009.79461002026-10-09 7946100 49,441 BA view · diff
git:20261009.eabbb7f2026-10-09 eabbb7f 48,633 BA view · diff
git:20261009.7ef96db2026-10-09 7ef96db 48,268 BA view · diff
git:20261009.856876f2026-10-09 856876f 47,552 BA view · diff
git:20261009.cacc9b92026-10-09 cacc9b9 47,403 BA view · diff
git:20261008.60d703f2026-10-08 60d703f 47,403 BA view · diff
git:20261007.91385452026-10-07 9138545 46,204 BA view · diff
git:20261007.f09c7612026-10-07 f09c761 46,204 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (53426 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

wang-yi-bit64/dsh-desktop · 12 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_plog4uh3qfnhvfai
GET https://markdownregistry.com/api/v1/resolve?ref=wang-yi-bit64/dsh-desktop/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/0b6986c35786d2095674a70487f8d91493a4db05e71888c45cfec3e937716f4d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from wang-yi-bit64/dsh-desktop

authoring-github-workflows SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/authoring-github-workflows/SKILL.md · Author and review GitHub Actions workflow YAML safely so syntactically-valid YAML can't ship a workflow that GitHub…
git:20260911.d7e12ed · audit A · 12 stars
conventional-commits SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/conventional-commits/SKILL.md · Generates semantic commit messages following the Conventional Commits specification with proper types, scopes, breaking…
git:20260911.d7e12ed · audit A · 12 stars
desktop-applications SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/desktop-applications/SKILL.md · Build cross-platform desktop applications with Rust using Tauri framework and native GUI alternatives
v1.0.0 · audit A · 12 stars
gh-fix-ci SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/gh-fix-ci/SKILL.md · Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use `gh` to inspect checks…
git:20260911.d7e12ed · audit A · 12 stars
search-expert SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/search-expert/SKILL.md · Advanced research skills using Z.AI Web Search Prime to synthesize technical information.
git:20260911.d7e12ed · audit A · 12 stars
tauri-app-dev SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/tauri-app-dev/SKILL.md · Expert guidance for building cross-platform desktop applications with Tauri 2.0 and Rust. Use when developing Tauri…
git:20260911.d7e12ed · audit A · 12 stars
understanding-tauri-ecosystem-security SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/understanding-tauri-ecosystem-security/SKILL.md · Guides developers through Tauri ecosystem security practices including security auditing, dependency management…
git:20260911.d7e12ed · audit A · 12 stars
vision-expert SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/vision-expert/SKILL.md · Specialized instructions for Z.AI Vision MCP to handle UI-to-Code and error diagnosis.
git:20260911.d7e12ed · audit A · 12 stars
zai-orchestrator SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/zai-orchestrator/SKILL.md · A senior architect-level skill that coordinates Vision, Search, and Zread to solve complex engineering problems.
git:20260911.d7e12ed · audit A · 12 stars
zread-expert SKILL.md skill
wang-yi-bit64/dsh-desktop · .agents/skills/zread-expert/SKILL.md · Deep repository analysis skill for Z.AI Zread MCP.
git:20260911.d7e12ed · audit A · 12 stars

Every file in wang-yi-bit64/dsh-desktop

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261015.0e1f0bf · audit A · 352,890 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 302,424 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261011.412347a · audit A · 284,510 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 193,096 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 170,980 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261011.5d64745 · audit A · 136,966 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 129,649 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 113,780 stars

Browse by kind, by grade A, or by owner.