watch

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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

func Cmd

func Cmd() *cobra.Command

Cmd returns the watch command.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL