Documentation
¶
Index ¶
- func BuildBuildToolDump() (string, error)
- func BuildPlanToolDump() (string, error)
- func Exec(ctx context.Context, env *Env, mode string, inv tooling.Invocation) (any, error)
- func MergeWebSearchExtras(cfg *config.Root, engineKey string, tool map[string]any) map[string]any
- func NativeToolParams(mode string) ([]openai.ChatCompletionToolUnionParam, error)
- func NewShellCommand(ctx context.Context, dir, script string) *exec.Cmd
- type Env
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildBuildToolDump ¶
func BuildPlanToolDump ¶
func MergeWebSearchExtras ¶
func NativeToolParams ¶
func NativeToolParams(mode string) ([]openai.ChatCompletionToolUnionParam, error)
Types ¶
type Env ¶
type Env struct {
ProjHex string
ProjRoot string
Cfg *config.Root
MCP *solomonmcp.Manager
RunNested func(ctx context.Context, body string) (string, error)
RunNestedWithSystem func(ctx context.Context, sys, task string) (string, error)
SetMode func(string)
CurrentMode func() string
CheckpointStageProjAbs func(path string)
ActivateInstructionsFromAbsPath func(absPath string)
ActivateInstructionsFromShellCommand func(command string)
MergeInstructionBlock func(customSys string) (string, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.