AGENTS.md@packages/coding-agent/src/core/extensions/builtin/terminalA
AGENTS.md@packages/coding-agent/src/core/extensions/builtin/terminal from code-yeongyu/senpi is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add code-yeongyu/senpi/packages/coding-agent/src/core/extensions/builtin/terminal/AGENTS.md@git:20261021.f8ee736Pins git:20261021.f8ee736 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- code-yeongyu/senpi
- Path
packages/coding-agent/src/core/extensions/builtin/terminal/AGENTS.md- Versions recorded
- 11
- Latest version
- git:20261021.f8ee736, committed Oct 21, 2026
- First version recorded
- Aug 24, 2026
- Size
- 10,593 bytes
- Repository stars
- 512
- 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
# builtin/terminal Builtin extension #18. Replaces one-shot bash with a **PTY-backed persistent session** model: `bash` plus companion tools `bash_output`, `bash_input`, `bash_resize`, `kill_bash`, and `monitor`. Registered after `bash-timeout` (so the resolved default timeout reaches PTY bash) and after `anthropic-bash` (so a native Anthropic bash tool makes terminal step aside). ## FILES ``` terminal/ ├── index.ts # Barrel: extension + settings + tool-name constants + shared key/regex helpers ├── extension.ts # Registration entry — registers all six tools, wires lifecycle + reload bundles ├── extension-state.ts # Per-generation state, sinks and tool context shared by extension.ts + restore-session.ts ├── restore-session.ts # session_start: lease -> detached restore -> digest slot; keeper takeover; shutdown release ├── manager.ts # TerminalManager: session map ownership ├── pty.lazy.ts # Deferred import of @earendil-works/pi-pty / @xterm/headless ├── runtime-session.ts # TerminalRuntimeSession: one live PTY ├── session-bundle.ts # TerminalSessionBundle: reload parking/claiming across extension generations …
Read the whole file at its exact version.
How to install
mdr add code-yeongyu/senpi/packages/coding-agent/src/core/extensions/builtin/terminal/AGENTS.md@sha256:64d088a88e247a08The line at the top of this page pins the label git:20261021.f8ee736, 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.
[](https://markdownregistry.com/a/art_affub2g4eefvkw4z)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 11 versions of this file, between Aug 24, 2026 and Oct 21, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261021.f8ee736 latest | 2026-10-21 | f8ee736 | 10,593 B | A | view · diff |
| git:20261015.0b0a83f | 2026-10-15 | 0b0a83f | 9,879 B | A | view · diff |
| git:20260930.2fdcb21 | 2026-09-30 | 2fdcb21 | 9,352 B | A | view · diff |
| git:20260924.40fe777 | 2026-09-24 | 40fe777 | 9,246 B | A | view · diff |
| git:20260924.c116a88 | 2026-09-24 | c116a88 | 9,212 B | A | view · diff |
| git:20260924.85a2b2c | 2026-09-24 | 85a2b2c | 9,209 B | A | view · diff |
| git:20260924.38f2727 | 2026-09-24 | 38f2727 | 9,072 B | A | view · diff |
| git:20260917.c6c5e47 | 2026-09-17 | c6c5e47 | 6,727 B | A | view · diff |
| git:20260904.8a74a64 | 2026-09-04 | 8a74a64 | 6,634 B | A | view · diff |
| git:20260904.d08209a | 2026-09-04 | d08209a | 6,529 B | A | view · diff |
| git:20260824.0549249 | 2026-08-24 | 0549249 | 3,952 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (10593 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
code-yeongyu/senpi · 512 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_affub2g4eefvkw4z GET https://markdownregistry.com/api/v1/resolve?ref=code-yeongyu/senpi/packages/coding-agent/src/core/extensions/builtin/terminal/AGENTS.md GET https://markdownregistry.com/api/v1/blob/64d088a88e247a08a696a8a40c48c018cb5481f77d615ab672555c2d4056245b
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.