Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchResult ¶ added in v1.6.0
type FetchTool ¶ added in v1.6.0
type FetchTool struct {
// contains filtered or unexported fields
}
func NewFetchTool ¶ added in v1.6.0
func NewFetchTool(options ...FetchToolOption) *FetchTool
func (*FetchTool) Instructions ¶ added in v1.6.0
type FetchToolOption ¶ added in v1.6.0
type FetchToolOption func(*FetchTool)
func WithTimeout ¶ added in v1.6.0
func WithTimeout(timeout time.Duration) FetchToolOption
type FileSystemOpt ¶
type FileSystemOpt func(*FilesystemTool)
func WithAllowedTools ¶
func WithAllowedTools(allowedTools []string) FileSystemOpt
func WithPostEditCommands ¶ added in v1.2.0
func WithPostEditCommands(postEditCommands []PostEditConfig) FileSystemOpt
type FilesystemTool ¶
type FilesystemTool struct {
// contains filtered or unexported fields
}
func NewFilesystemTool ¶
func NewFilesystemTool(allowedDirectories []string, opts ...FileSystemOpt) *FilesystemTool
func (*FilesystemTool) Instructions ¶
func (t *FilesystemTool) Instructions() string
func (*FilesystemTool) Stop ¶
func (t *FilesystemTool) Stop() error
type MemoryTool ¶
type MemoryTool struct {
// contains filtered or unexported fields
}
func NewMemoryTool ¶
func NewMemoryTool(manager memorymanager.Manager) *MemoryTool
func (*MemoryTool) Instructions ¶
func (t *MemoryTool) Instructions() string
func (*MemoryTool) Stop ¶
func (t *MemoryTool) Stop() error
type PostEditConfig ¶ added in v1.2.0
type PostEditConfig struct {
Path string // File path pattern (glob-style)
Cmd string // Command to execute (with $path placeholder)
}
PostEditConfig represents a post-edit command configuration
type ScriptShellTool ¶
type ScriptShellTool struct {
// contains filtered or unexported fields
}
func NewScriptShellTool ¶
func NewScriptShellTool(shellTools map[string]latest.ScriptShellToolConfig, env []string) *ScriptShellTool
func (*ScriptShellTool) Instructions ¶
func (t *ScriptShellTool) Instructions() string
func (*ScriptShellTool) Stop ¶
func (t *ScriptShellTool) Stop() error
type SearchFilesArgs ¶ added in v1.0.0
type ShellTool ¶
type ShellTool struct {
// contains filtered or unexported fields
}
func NewShellTool ¶
func (*ShellTool) Instructions ¶
type ThinkTool ¶
type ThinkTool struct {
// contains filtered or unexported fields
}
func NewThinkTool ¶
func NewThinkTool() *ThinkTool
func (*ThinkTool) Instructions ¶
type TodoTool ¶
type TodoTool struct {
// contains filtered or unexported fields
}
func NewTodoTool ¶
func NewTodoTool() *TodoTool
func (*TodoTool) Instructions ¶
type TransferTaskTool ¶
type TransferTaskTool struct{}
func NewTransferTaskTool ¶
func NewTransferTaskTool() *TransferTaskTool
func (*TransferTaskTool) Instructions ¶
func (t *TransferTaskTool) Instructions() string
func (*TransferTaskTool) Stop ¶
func (t *TransferTaskTool) Stop() error
Click to show internal directories.
Click to hide internal directories.