Home / dreamlonglll / mini-term · AGENTS.md · GitHub

AGENTS.md agentsA

AGENTS.md is agent-read markdown (agents) from dreamlonglll/mini-term.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# AGENTS.md

This file provides guidance to AI coding agents (Claude Code, Codex, etc.) when working with code in this repository.

## Project Overview

**mini-term** — GPUI 原生桌面终端管理器,支持多项目、多标签、分屏布局,并能感知 AI 进程(Claude/Codex/Grok 等)状态;带移动端中转镜像与 SSH 远程项目能力。

- **UI/渲染**: [gpui](https://crates.io/crates/gpui) 0.2.x(Zed 官方,crates.io 版)+ gpui-component(Resizable/Modal/Input/Tree 等)
- **终端**: alacritty_terminal(VT 状态机,进程内直喂,无 IPC)+ portable-pty
- **发布形态**: Windows x64 NSIS 安装包(`scripts/windows-installer.nsi`,包内平铺 exe + 三个 sidecar + portable-conpty,全部「与 exe 同目录」)+ macOS dmg + Linux deb/tar.gz
- **历史**: 项目最初是 Tauri v2 + React 实现,v1.0.0-beta 后整体删除切换到 GPUI 原生版;找旧实现看 git 历史(合并点 `236d5c1`)

## 开发命令

```bash
# 首次/换版本后:构建三个 sidecar 并连同便携 ConPTY 就位到 target/debug/
node scripts/stage-sidecars.mjs

# 启动开发实例(⚠️ 与装机版并跑时必须隔离数据目录)
MT_APP_DATA_DIR="$LOCALAPPDATA/mini-term-gpui-dev" cargo run -p mt-app

# 全工作区测试(27 个目标 1500+ 例)
cargo test --workspace

# 量化每帧 CPU / 帧时间 p50·p99 / 一帧合并了几次 invalidation(dev-only 度量工具,
# 默认不编译;档位与读数解释见 crates/mt-app/src/frame_profiler.rs 的模块注释)
cargo build -p mt-app --features frame-profiler
…

Read the whole file at its exact version.

How to install

Latest version
mdr add dreamlonglll/mini-term/AGENTS.md@git:20260920.204ad12
Exact content
mdr add dreamlonglll/mini-term/AGENTS.md@sha256:0b56bef4b7fc925b

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260920.204ad12 latest2026-09-20 204ad12 17,730 BA view · diff
git:20260507.bff378b2026-05-07 bff378b 1,399 BA view

Audit of the latest version

A  14 of 14 checks passed. Deterministic, no model, same answer every run.
  • pass: Size between 200 bytes and 200 KB (17730 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

dreamlonglll/mini-term · 226 stars · license MIT · pushed 2026-09-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_giaogge67azhtrlk
GET https://markdownregistry.com/api/v1/resolve?ref=dreamlonglll/mini-term/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/0b56bef4b7fc925be3b38bd0aff5a69f40d2f1ac9ec30b77187e97565a354eb6

Your agent 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.

Other files named AGENTS.md

AGENTS.md agents
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 291,204 stars
AGENTS.md agents
affaan-m/ecc · AGENTS.md
git:20260919.91ba9b4 · audit A · 266,832 stars
AGENTS.md agents
firecrawl/firecrawl · AGENTS.md
git:20260613.d9a35c0 · audit A · 184,144 stars
AGENTS.md agents
dietrichgebert/ponytail · AGENTS.md
git:20260710.b6c0448 · audit A · 144,862 stars
AGENTS.md agents
garrytan/gstack · AGENTS.md
git:20260914.4a3c6a8 · audit A · 134,082 stars
AGENTS.md agents
graphify-labs/graphify · AGENTS.md
git:20260414.7ec92ec · audit A · 121,202 stars
AGENTS.md agents
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 107,708 stars
AGENTS.md agents
addyosmani/agent-skills · AGENTS.md
git:20260709.b665c5c · audit A · 98,554 stars

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