Documentation
¶
Overview ¶
internal/apply/prompt.go
internal/apply/types.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChangePlanPrompt ¶
func GetChangePlanPrompt() string
GetChangePlanPrompt returns the content of the embedded AI prompt.
Types ¶
type ChangePlan ¶
ChangePlan defines the top-level structure for a declarative plan.
type Step ¶
type Step struct {
Type string `json:"type"`
Description string `json:"description"`
// Fields for "file_modification" type
Changes codemod.ChangeScript `json:"changes,omitempty"`
// Fields for "command_execution" type
Command string `json:"command,omitempty"`
Args []string `json:"args,omitempty"`
}
Step represents a single action in the ChangePlan.
Click to show internal directories.
Click to hide internal directories.