LingTai TUI help — the discoverable umbrella
Mental model — read this first
lingtai-tui and lingtai-portal are control and presentation surfaces. The
running agent is a separate LingTai kernel process with its own heartbeat,
listeners, lifecycle, and durable working directory.
- Closing the TUI or its terminal quits the interface; it does not stop a
running agent. Reopening the TUI observes the current state and does not
silently revive an intentionally stopped agent.
- Agent lifecycle changes are explicit. Use
/sleep, /suspend, /cpr, or
/refresh according to the intended transition; use lingtai-tui list --detailed or /projects to inspect current state.
launchd is not the default remedy for ordinary persistence after TUI
exit. The agent already runs independently; adding another supervisor can
create duplicate-process races. Use a separate scheduler/service contract only
for a separately authorized advanced workflow.
- For source-backed proof, load
lingtai-tui-anatomy, start at the repository
root ANATOMY.md, and descend to tui/ANATOMY.md or portal/ANATOMY.md.
Kernel-side process, heartbeat, listener, and lifecycle internals belong to
lingtai-kernel-anatomy; cross-repo references stay narrative.
Sanitized regression question: “关闭 TUI/终端后 agent 会不会停止?” No. UI exit
is not an agent lifecycle command; the agent continues until an explicit
lifecycle action or an external process failure stops it. Do not install a
launchd job merely to keep an ordinary agent alive after closing the TUI.
Feature route catalog
This YAML is the machine-readable map. Each route names the first owner to
load; next is optional deeper evidence.
- feature: runtime-lifecycle-source
route: lingtai-tui-anatomy
next: lingtai-kernel-anatomy
- feature: slash-commands-keyboard-interaction
route: assets/slash-commands.en.md
localized_routes: [assets/slash-commands.zh.md, assets/slash-commands.wen.md]
- feature: presets-providers-capabilities
route: lingtai-preset-skill
- feature: portal-visualization-replay
route: lingtai-portal-guide
- feature: tutorial-orientation
route: tutorial-guide
- feature: install-update-build
route: lingtai-update
- feature: contributor-setup-source-troubleshooting
route: lingtai-dev-guide
- feature: runtime-health-doctor
route: lingtai-doctor
- feature: projects-and-running-agent-inventory
route: assets/slash-commands.en.md
localized_routes: [assets/slash-commands.zh.md, assets/slash-commands.wen.md]
next: lingtai-tui-anatomy
- feature: bot-creation-and-operation
route: lingtai-bot-guide
- feature: addons-and-external-channels
route: mcp-manual
Human routing table
| Need |
Start here |
What remains authoritative |
| Does closing TUI stop an agent? How do attach, list, quit, or lifecycle controls work? |
lingtai-tui-anatomy |
Repo-root ANATOMY.md → tui/ANATOMY.md / portal/ANATOMY.md; kernel internals → lingtai-kernel-anatomy |
| What does a slash command do? Which keys drive the interface? |
assets/slash-commands.en.md or its ZH/Wen sibling |
DefaultCommands() and the localized help assets |
| How do presets, providers, model parameters, and capabilities work? |
lingtai-preset-skill |
That skill's provider and operation routes |
| How do Portal topology, APIs, recording, and replay work? |
lingtai-portal-guide |
Portal guide, then Portal Anatomy/source for implementation |
| I am new to LingTai or want the guided course |
tutorial-guide |
Its lesson sequence |
| How do I install, update, build, or diagnose install method? |
lingtai-update |
Its focused update/install references |
| How do I contribute, set up a dev checkout, or troubleshoot source? |
lingtai-dev-guide |
Its focused contributor/debug references |
| Is an agent offline, unreachable, or inconsistent across process/heartbeat/log surfaces? |
lingtai-doctor |
Its layered read-only health diagnostics |
How do /projects and running-agent inventory work? |
Localized slash-command asset |
lingtai-tui list --detailed, /projects, then lingtai-tui-anatomy for source |
| How do I create, connect, verify or maintain a LingTai bot? |
lingtai-bot-guide |
Its focused references and current recipe/preset/kernel/channel owners |
| How do I configure addons or external messaging channels? |
mcp-manual |
The curated addon documentation it routes to |
Slash-command assets
The complete slash-command reference remains in three language assets so the
in-app /help view can render the current UI language directly:
assets/slash-commands.en.md — English (canonical wording).
assets/slash-commands.zh.md — 简体中文.
assets/slash-commands.wen.md — 文言.
Keep these assets in sync with DefaultCommands() in
tui/internal/tui/palette.go. When a command is added, changed, or removed,
update all three assets together.
How in-app /help resolves the language
The top-level skill is the discoverable umbrella; the in-app /help command is
a focused shortcut to the slash-command guide. It calls i18n.Lang() ("en",
"zh", or "wen") and opens the matching concrete asset from the list above in the Markdown
viewer. Unknown locales fall back to assets/slash-commands.en.md.
Ownership boundary
Keep general TUI orientation and feature routing here. Do not copy precise Go
architecture from Anatomy, provider contracts from lingtai-preset-skill,
Portal detail from lingtai-portal-guide, or tutorial/update/addon procedures
from their owners. Route, then load only the source that owns the question.
1---2name: lingtai-tui-help3description: >4 Anything you need to know about LingTai TUI. Read this first for the stable5 mental model, feature map, interface/slash-command help, or the right6 source/manual route for a TUI question. Exact command prose lives in the7 localized help assets, Go structure lives in `lingtai-tui-anatomy`, and8 presets, Portal, tutorials, updates, and addons keep their own top-level9 skills.10version: 1.1.011tags: [tui, help, routing, lifecycle, slash-commands, reference, lingtai-tui]12last_changed_at: "2026-10-12T18:16:58Z"13maintenance: "If you find stale or incorrect information here, use the lingtai-issue-report skill to assemble evidence and obtain per-issue human consent before filing an issue. Never include secrets, credentials, tokens, or private paths."14metadata:15 source: https://skillmd.com/skills/lingtai-ai/lingtai-tui-help16---1718# LingTai TUI help — the discoverable umbrella1920## Mental model — read this first2122`lingtai-tui` and `lingtai-portal` are control and presentation surfaces. The23running agent is a separate LingTai kernel process with its own heartbeat,24listeners, lifecycle, and durable working directory.2526- Closing the TUI or its terminal quits the interface; it does **not** stop a27 running agent. Reopening the TUI observes the current state and does not28 silently revive an intentionally stopped agent.29- Agent lifecycle changes are explicit. Use `/sleep`, `/suspend`, `/cpr`, or30 `/refresh` according to the intended transition; use `lingtai-tui list31 --detailed` or `/projects` to inspect current state.32- `launchd` is **not** the default remedy for ordinary persistence after TUI33 exit. The agent already runs independently; adding another supervisor can34 create duplicate-process races. Use a separate scheduler/service contract only35 for a separately authorized advanced workflow.36- For source-backed proof, load `lingtai-tui-anatomy`, start at the repository37 root `ANATOMY.md`, and descend to `tui/ANATOMY.md` or `portal/ANATOMY.md`.38 Kernel-side process, heartbeat, listener, and lifecycle internals belong to39 `lingtai-kernel-anatomy`; cross-repo references stay narrative.4041Sanitized regression question: **“关闭 TUI/终端后 agent 会不会停止?”** No. UI exit42is not an agent lifecycle command; the agent continues until an explicit43lifecycle action or an external process failure stops it. Do not install a44`launchd` job merely to keep an ordinary agent alive after closing the TUI.4546## Feature route catalog4748This YAML is the machine-readable map. Each `route` names the first owner to49load; `next` is optional deeper evidence.5051```yaml52- feature: runtime-lifecycle-source53 route: lingtai-tui-anatomy54 next: lingtai-kernel-anatomy55- feature: slash-commands-keyboard-interaction56 route: assets/slash-commands.en.md57 localized_routes: [assets/slash-commands.zh.md, assets/slash-commands.wen.md]58- feature: presets-providers-capabilities59 route: lingtai-preset-skill60- feature: portal-visualization-replay61 route: lingtai-portal-guide62- feature: tutorial-orientation63 route: tutorial-guide64- feature: install-update-build65 route: lingtai-update66- feature: contributor-setup-source-troubleshooting67 route: lingtai-dev-guide68- feature: runtime-health-doctor69 route: lingtai-doctor70- feature: projects-and-running-agent-inventory71 route: assets/slash-commands.en.md72 localized_routes: [assets/slash-commands.zh.md, assets/slash-commands.wen.md]73 next: lingtai-tui-anatomy74- feature: bot-creation-and-operation75 route: lingtai-bot-guide76- feature: addons-and-external-channels77 route: mcp-manual78```7980## Human routing table8182| Need | Start here | What remains authoritative |83|---|---|---|84| Does closing TUI stop an agent? How do attach, list, quit, or lifecycle controls work? | `lingtai-tui-anatomy` | Repo-root `ANATOMY.md` → `tui/ANATOMY.md` / `portal/ANATOMY.md`; kernel internals → `lingtai-kernel-anatomy` |85| What does a slash command do? Which keys drive the interface? | `assets/slash-commands.en.md` or its ZH/Wen sibling | `DefaultCommands()` and the localized help assets |86| How do presets, providers, model parameters, and capabilities work? | `lingtai-preset-skill` | That skill's provider and operation routes |87| How do Portal topology, APIs, recording, and replay work? | `lingtai-portal-guide` | Portal guide, then Portal Anatomy/source for implementation |88| I am new to LingTai or want the guided course | `tutorial-guide` | Its lesson sequence |89| How do I install, update, build, or diagnose install method? | `lingtai-update` | Its focused update/install references |90| How do I contribute, set up a dev checkout, or troubleshoot source? | `lingtai-dev-guide` | Its focused contributor/debug references |91| Is an agent offline, unreachable, or inconsistent across process/heartbeat/log surfaces? | `lingtai-doctor` | Its layered read-only health diagnostics |92| How do `/projects` and running-agent inventory work? | Localized slash-command asset | `lingtai-tui list --detailed`, `/projects`, then `lingtai-tui-anatomy` for source |93| How do I create, connect, verify or maintain a LingTai bot? | `lingtai-bot-guide` | Its focused references and current recipe/preset/kernel/channel owners |94| How do I configure addons or external messaging channels? | `mcp-manual` | The curated addon documentation it routes to |9596## Slash-command assets9798The complete slash-command reference remains in three language assets so the99in-app `/help` view can render the current UI language directly:100101- `assets/slash-commands.en.md` — English (canonical wording).102- `assets/slash-commands.zh.md` — 简体中文.103- `assets/slash-commands.wen.md` — 文言.104105Keep these assets in sync with `DefaultCommands()` in106`tui/internal/tui/palette.go`. When a command is added, changed, or removed,107update all three assets together.108109## How in-app `/help` resolves the language110111The top-level skill is the discoverable umbrella; the in-app `/help` command is112a focused shortcut to the slash-command guide. It calls `i18n.Lang()` (`"en"`,113`"zh"`, or `"wen"`) and opens the matching concrete asset from the list above in the Markdown114viewer. Unknown locales fall back to `assets/slash-commands.en.md`.115116## Ownership boundary117118Keep general TUI orientation and feature routing here. Do not copy precise Go119architecture from Anatomy, provider contracts from `lingtai-preset-skill`,120Portal detail from `lingtai-portal-guide`, or tutorial/update/addon procedures121from their owners. Route, then load only the source that owns the question.