Skip to main content

restart

Restart the bridge daemon. State (thread.txt, update_id.txt) is preserved.

Quellinformationen

Repository
swaylq/hermit-agent
Letzte Quellaktivität
8. Mai 2026 um 13:10
Erkannte Sprache von SKILL.md
Englisch
Sterne
4
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
restart
description
Restart the bridge daemon. State (thread.txt, update_id.txt) is preserved.
trigger
重启 / restart / reboot / "重新启动"
# restart skill Kills the current `codex-demo` tmux session and respawns it via `start.sh`. Intended for use when: - daemon is wedged or unresponsive - you've edited `tg-bridge.py` or hooks and need them reloaded - you want a clean state without losing the persistent thread/chat history State preserved across restart: - `state/thread.txt` (codex conversation continues from same point) - `state/update_id.txt` (Telegram resumes from last processed message; no replay) State NOT preserved: - daemon's in-memory typing-pulse threads (any in-flight pulse is dropped, harmless) - any current `codex exec` subprocess (terminated; if it was mid-turn, the answer is lost) ## How to invoke The bridge daemon also accepts `/restart` as a Telegram admin command — that's the user-facing path. Programmatic / shell: ``` ./restart.sh ``` Or from inside the agent's reasoning, advise the user to send `/restart`.
Auf GitHub ansehen