Documentation
¶
Overview ¶
Package publish implements the ctx memory publish subcommand.
It pushes curated .context/ content into MEMORY.md so the agent sees structured project context on session start.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the memory publish subcommand.
Returns:
- *cobra.Command: command for publishing curated context to MEMORY.md.
func Run ¶
Run selects high-value context, formats it, and writes a marked block into MEMORY.md. In dry-run mode it reports what would be published.
Parameters:
- cmd: Cobra command for output routing.
- budget: maximum line count for the published block.
- dryRun: when true, show the plan without writing.
Returns:
- error: on discovery, selection, or publish failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.