AGENTS.mdA

AGENTS.md from webnsnm/terminal-manage is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add webnsnm/terminal-manage/AGENTS.md@git:20260326.199fc1a

Pins git:20260326.199fc1a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
webnsnm/terminal-manage
Path
AGENTS.md
Versions recorded
1
Latest version
git:20260326.199fc1a, committed Mar 26, 2026
Size
3,351 bytes
Repository stars
32
License
none declared

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

This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.

## 项目概述

DevMaster 是一个基于 Electron 33 + Vue 3 + Express 5 的跨平台桌面开发管理工具。用于可视化管理本地项目、执行脚本、监控进程资源、集成 AI 辅助功能。

## 常用命令

```bash
# 开发模式(同时启动 server:3000 + client:2118)
npm run dev

# 仅启动后端(带 --watch 自动重载)
npm run server

# 仅启动前端
npm run client

# 前端构建
cd client && npm run build

# Electron 桌面应用启动
npm start

# 打包桌面安装程序(Windows NSIS / macOS DMG)
npm run dist
```

**注意:** 项目无测试套件,无 ESLint 配置。

## 架构

### 整体结构:Electron 三层架构

```
main.js (Electron 主进程)
  ├── server/index.js (Express 后端,端口自动分配)
  └── client/dist/ (Vue 3 前端,生产环境由 Express 静态托管)
```

- **Electron 主进程** (`main.js`):创建 BrowserWindow,启动内嵌 Express 服务器,端口使用 `0` 自动分配可用端口。
- **开发模式**下前端独立运行在 2118 端口,通过 Socket.io 连接后端 3000 端口。

### 前后端通信

所有前后端交互通过 **Socket.io** 实现,不使用 REST API。

关键 Socket 事件:
- `scan-dir` / `open-folder-dialog` — 项目扫描与目录选择
- `start-task` / `stop-task` — 脚本执行与进程管理
- `git:get-diff` / `git:commit` — Git 操作
- `config:load` / `config:save` — 持久化配置(存储于 `~/.devmaster-config.json`)
- `proxy:Codex` — AI 代理请求
- `monitor:update` — 进程资源监控广播(每 2 秒)

### 后端核心 (`server/index.js`)

单文件服务器,职责:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add webnsnm/terminal-manage/AGENTS.md@sha256:2f9fa9b0c965c3b9

The line at the top of this page pins the label git:20260326.199fc1a, 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_423yz37u5jau6cos.svg)](https://markdownregistry.com/a/art_423yz37u5jau6cos)

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

Versions

The registry has recorded 1 version of this file, committed on Mar 26, 2026.

versioncommittedcommitsizeaudit
git:20260326.199fc1a latest2026-03-26 199fc1a 3,351 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 (3351 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

webnsnm/terminal-manage · 32 stars · license none declared · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_423yz37u5jau6cos
GET https://markdownregistry.com/api/v1/resolve?ref=webnsnm/terminal-manage/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/2f9fa9b0c965c3b904eb942ddcd0473ad92a8258ce3b43986aea57a76ffa7794

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 webnsnm/terminal-manage

weekly-report SKILL.md skill
webnsnm/terminal-manage · skills/weekly-report/SKILL.md · Use when 用户希望通过 DevMaster MCP Server 根据本地 Git 活动生成事实准确的中文周报。
git:20260805.692941b · audit A · 32 stars

Every file in webnsnm/terminal-manage

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

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