Skip to main content

restart

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

소스 정보

저장소
swaylq/hermit-agent
최근 소스 활동
2026년 5월 8일 13:10
감지된 SKILL.md 언어
영어
스타
4
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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`.
GitHub에서 보기