Documentation
¶
Overview ¶
Package watch implements the "ctx watch" command for processing structured context-update commands from AI output.
The watch command reads stdin for XML-style update commands (task, decision, learning, convention, complete) and applies them to the corresponding context files. It supports dry-run mode for previewing changes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
root
Package root implements the ctx watch command.
|
Package root implements the ctx watch command. |
|
Package core provides shared helpers for the watch command: stream processing, update application, and context-update types.
|
Package core provides shared helpers for the watch command: stream processing, update application, and context-update types. |
|
apply
Package apply routes context updates to the appropriate handler for writing entries or completing tasks.
|
Package apply routes context updates to the appropriate handler for writing entries or completing tasks. |
|
stream
Package stream parses stdin for XML context-update tags and dispatches them for processing.
|
Package stream parses stdin for XML context-update tags and dispatches them for processing. |
Click to show internal directories.
Click to hide internal directories.