Saltar al contenido principal

Internos

Los invocan los hooks; documentados por completitud.

nota

Esta página se genera a partir de los parsers de argumentos de la CLI. No la edites: cambiá el flag o su texto de ayuda en el código y corré UPDATE_DOCS_REFERENCE=1 uv run pytest tests/test_docs_generated.py desde plugin/. El texto de cada flag está en inglés porque es el que imprime la CLI.

daimon serialize​

serialize a transcript file into a checkpoint

daimon serialize transcript [--project PROJECT] [--session SESSION] [--host HOST]
argumentovalorpor defectodescripción
transcriptpath to a text/markdown transcript
--projectPROJECTproject directory to route the checkpoint to (default: DAIMON_PROJECT_DIR, then cwd)
--sessionSESSIONsession id for this transcript, overriding the filename (#988: a host whose transcript is not named for its session, such as Kimi Code, where every file is wire.jsonl)
--hostHOSTthe name this host gives itself (#1314), for a host that runs serialize itself because no hook can: announces the run in serialize.log with its project, refuses (exit 75) while a live serialize for the session exists, records a crash in serialize-crash.log, and stamps DAIMON_CAPTURE_HOST unless set

daimon write-checkpoint​

store a checkpoint read as JSON on stdin (introspection path, #23)

daimon write-checkpoint [--project PROJECT] [--source SOURCE] [--session SESSION]
argumentovalorpor defectodescripción
--projectPROJECTproject directory to route the checkpoint to (default: DAIMON_PROJECT_DIR, then cwd)
--sourceSOURCEintrospectionprovenance stamp for the checkpoint (default: introspection)
--sessionSESSIONthe live session's REAL id (e.g. $CLAUDE_CODE_SESSION_ID), stamped onto the checkpoint in place of whatever session_id the JSON body carries (#983). This is what lets carry.py's same-session guard recognize a later reconstruction of THIS session as its own predecessor instead of an independent witness, so a provisional can never corroborate itself. Omit only when the host has no way to tell the live session its own id.

daimon recall-inject​

proactive-suggestion backend for the UserPromptSubmit hook (#125): prompt on stdin, prints 0-2 prior-work lines, rc 0 always

daimon recall-inject [--project PROJECT] [--session SESSION]
argumentovalorpor defectodescripción
--projectPROJECTproject dir for scoping (defaults to cwd detection)
--sessionSESSIONcurrent session id (excluded from matches; keys the cooldown)

daimon action-recall​

action-keyed recall backend for the PreToolUse hook (#1031): shell command on stdin, prints 0-1 prior-work lines, rc 0 always

daimon action-recall [--project PROJECT] [--session SESSION] [--record-only]
argumentovalorpor defectodescripción
--projectPROJECTproject dir for scoping (defaults to cwd detection)
--sessionSESSIONcurrent session id (excluded from matches; keys the cooldown)
--record-onlywrite the delivery-ledger row and print nothing (the soak rung of the per-host ladder)

daimon request-inject​

live-delivery backend for the UserPromptSubmit hook (#756): prints undecided asks this session has not been shown, rc 0 always

daimon request-inject [--project PROJECT] [--session SESSION]
argumentovalorpor defectodescripción
--projectPROJECTproject dir for scoping (defaults to cwd detection)
--sessionSESSIONcurrent session id (half the delivery write-once key)