Documentation
¶
Overview ¶
Package planmode persists planning state for interactive Codog sessions.
Package planmode stores the workspace-scoped plan-mode state used to keep tool execution read-only until the user exits planning.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderPrompt ¶
RenderPrompt returns the system-prompt fragment that enforces plan-mode behavior, or an empty string when plan mode is inactive.
func RenderText ¶
RenderText writes a human-readable plan-mode report.
Types ¶
type Report ¶
type Report struct {
Kind string `json:"kind"`
Action string `json:"action"`
Status string `json:"status"`
Path string `json:"path"`
State State `json:"state"`
Opened bool `json:"opened,omitempty"`
Editor string `json:"editor,omitempty"`
EditorError string `json:"editor_error,omitempty"`
}
Report describes a plan-mode operation and the resulting workspace state.
Click to show internal directories.
Click to hide internal directories.