Documentation
¶
Index ¶
- func AddTodo(name, todo string) (map[string]any, error)
- func BuildPlan(name string) (map[string]any, error)
- func CheckPlan(name string, full bool) (map[string]any, error)
- func CheckTodo(sha1 string) (map[string]any, error)
- func CreatePlan(name, goal string) (map[string]any, error)
- func DeleteFile(path, intent string) error
- func DeletePlan(name string) (map[string]any, error)
- func DocsArticle(path string) (string, error)
- func DocsRetrieval(query string) (string, error)
- func DocsSearch(query string) (string, error)
- func EditFile(path, oldString, newString, intent string, delete bool) error
- func EditPlan(name, old, new, intent string) (map[string]any, error)
- func FetchWeb(url string) (string, error)
- func FetchWebWithTimeout(url string, secs int) (string, error)
- func Find(pattern string, files bool) (string, error)
- func FindIn(dir, pattern string, files bool) (string, error)
- func FindInTimeout(dir, pattern string, files bool, secs int) (string, error)
- func FindTimeout(pattern string, files bool, secs int) (string, error)
- func Glob(pattern string) ([]string, error)
- func GlobIn(dir, pattern string) ([]string, error)
- func GlobInLimit(dir, pattern string, headLimit int) ([]string, error)
- func GlobInTimeout(dir, pattern string, secs int) ([]string, error)
- func GlobLimit(pattern string, headLimit int) ([]string, error)
- func GlobTimeout(pattern string, secs int) ([]string, error)
- func Grep(pattern string) (string, error)
- func GrepContextAfter(pattern string, after int) (string, error)
- func GrepContextBefore(pattern string, before int) (string, error)
- func GrepContextBeforeAfter(pattern string, before, after int) (string, error)
- func GrepCount(pattern string) (string, error)
- func GrepFiles(pattern string) ([]string, error)
- func GrepFilesIgnoreCase(pattern string) ([]string, error)
- func GrepFilesIn(dir, pattern string) ([]string, error)
- func GrepFilesInIgnoreCase(dir, pattern string) ([]string, error)
- func GrepFilesInTimeout(dir, pattern string, secs int) ([]string, error)
- func GrepFilesTimeout(pattern string, secs int) ([]string, error)
- func GrepIgnoreCase(pattern string) (string, error)
- func GrepIn(dir, pattern string) (string, error)
- func GrepInIgnoreCase(dir, pattern string) (string, error)
- func GrepInLimit(dir, pattern string, headLimit int) (string, error)
- func GrepInMultiline(dir, pattern string) (string, error)
- func GrepInPathGlob(dir, pattern, pathGlob string) (string, error)
- func GrepInTimeout(dir, pattern string, secs int) (string, error)
- func GrepInWithContext(dir, pattern string, contextLines int) (string, error)
- func GrepLimit(pattern string, headLimit int) (string, error)
- func GrepMultiline(pattern string) (string, error)
- func GrepPathGlob(pattern, pathGlob string) (string, error)
- func GrepTimeout(pattern string, secs int) (string, error)
- func GrepWithContext(pattern string, contextLines int) (string, error)
- func Print(v ...any)
- func Printf(format string, v ...any)
- func Println(v ...any)
- func ReadFile(path string) (string, error)
- func ReadFileFromLine(path string, start int) (string, error)
- func ReadFileLines(path string, start, end int) (string, error)
- func ReadFileUntilLine(path string, end int) (string, error)
- func RemoveTodo(sha1 string) (map[string]any, error)
- func RenameFile(path, renameTo, intent string) error
- func ReplaceInFile(path, oldString, newString, intent string) error
- func Shell(command, intent string) (string, error)
- func ShellWithTimeout(command, intent string, secs int) (string, error)
- func TodoList(name string) (map[string]string, error)
- func WebSearch(query string) (string, error)
- func WebSearchEngine(query, engine string) (string, error)
- func WebSearchEngineN(query, engine string, maxResults int) (string, error)
- func WebSearchEngineNTimeout(query, engine string, maxResults, secs int) (string, error)
- func WebSearchEngineTimeout(query, engine string, secs int) (string, error)
- func WebSearchN(query string, maxResults int) (string, error)
- func WebSearchNTimeout(query string, maxResults, secs int) (string, error)
- func WebSearchWithTimeout(query string, secs int) (string, error)
- func WriteFile(path, content, intent string) error
- type DocsResult
- type DocsSnippet
- type EditResult
- func DeleteFileResult(path, intent string) (EditResult, error)
- func EditFileResult(path, oldString, newString, intent string, delete bool) (EditResult, error)
- func RenameFileResult(path, renameTo, intent string) (EditResult, error)
- func ReplaceInFileResult(path, oldString, newString, intent string) (EditResult, error)
- func WriteFileResult(path, content, intent string) (EditResult, error)
- type FetchWebResult
- type FindResult
- type GrepCountEntry
- func GrepCountEntries(pattern string) ([]GrepCountEntry, error)
- func GrepCountEntriesIgnoreCase(pattern string) ([]GrepCountEntry, error)
- func GrepCountEntriesIn(dir, pattern string) ([]GrepCountEntry, error)
- func GrepCountEntriesInIgnoreCase(dir, pattern string) ([]GrepCountEntry, error)
- func GrepCountEntriesInTimeout(dir, pattern string, secs int) ([]GrepCountEntry, error)
- func GrepCountEntriesTimeout(pattern string, secs int) ([]GrepCountEntry, error)
- type GrepLine
- func GrepLines(pattern string) ([]GrepLine, error)
- func GrepLinesContextAfter(pattern string, after int) ([]GrepLine, error)
- func GrepLinesContextBefore(pattern string, before int) ([]GrepLine, error)
- func GrepLinesContextBeforeAfter(pattern string, before, after int) ([]GrepLine, error)
- func GrepLinesIgnoreCase(pattern string) ([]GrepLine, error)
- func GrepLinesIn(dir, pattern string) ([]GrepLine, error)
- func GrepLinesInIgnoreCase(dir, pattern string) ([]GrepLine, error)
- func GrepLinesInLimit(dir, pattern string, headLimit int) ([]GrepLine, error)
- func GrepLinesInMultiline(dir, pattern string) ([]GrepLine, error)
- func GrepLinesInPathGlob(dir, pattern, pathGlob string) ([]GrepLine, error)
- func GrepLinesInTimeout(dir, pattern string, secs int) ([]GrepLine, error)
- func GrepLinesInWithContext(dir, pattern string, contextLines int) ([]GrepLine, error)
- func GrepLinesLimit(pattern string, headLimit int) ([]GrepLine, error)
- func GrepLinesMultiline(pattern string) ([]GrepLine, error)
- func GrepLinesPathGlob(pattern, pathGlob string) ([]GrepLine, error)
- func GrepLinesTimeout(pattern string, secs int) ([]GrepLine, error)
- func GrepLinesWithContext(pattern string, contextLines int) ([]GrepLine, error)
- type ReadResult
- type ShellOutput
- type WebHit
- type WebSearchResult
- func WebSearchEngineInfo(query, engine string) (WebSearchResult, error)
- func WebSearchEngineNInfo(query, engine string, maxResults int) (WebSearchResult, error)
- func WebSearchEngineNTimeoutInfo(query, engine string, maxResults, secs int) (WebSearchResult, error)
- func WebSearchEngineTimeoutInfo(query, engine string, secs int) (WebSearchResult, error)
- func WebSearchInfo(query string) (WebSearchResult, error)
- func WebSearchNInfo(query string, maxResults int) (WebSearchResult, error)
- func WebSearchNTimeoutInfo(query string, maxResults, secs int) (WebSearchResult, error)
- func WebSearchWithTimeoutInfo(query string, secs int) (WebSearchResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶ added in v2026.611.0
func DocsArticle ¶ added in v2026.611.0
func DocsRetrieval ¶
func DocsSearch ¶ added in v2026.611.0
func FetchWebWithTimeout ¶ added in v2026.611.0
func FindInTimeout ¶ added in v2026.611.0
func FindTimeout ¶ added in v2026.611.0
func GlobInLimit ¶ added in v2026.611.0
func GlobInTimeout ¶ added in v2026.611.0
func GlobTimeout ¶ added in v2026.611.0
func GrepContextAfter ¶ added in v2026.611.0
func GrepContextBefore ¶ added in v2026.611.0
func GrepContextBeforeAfter ¶ added in v2026.611.0
func GrepFilesIgnoreCase ¶ added in v2026.611.0
func GrepFilesIn ¶ added in v2026.611.0
func GrepFilesInIgnoreCase ¶ added in v2026.611.0
func GrepFilesInTimeout ¶ added in v2026.611.0
func GrepFilesTimeout ¶ added in v2026.611.0
func GrepIgnoreCase ¶ added in v2026.611.0
func GrepInIgnoreCase ¶ added in v2026.611.0
func GrepInLimit ¶ added in v2026.611.0
func GrepInMultiline ¶ added in v2026.611.0
func GrepInPathGlob ¶ added in v2026.611.0
func GrepInTimeout ¶ added in v2026.611.0
func GrepInWithContext ¶ added in v2026.611.0
func GrepMultiline ¶ added in v2026.611.0
func GrepPathGlob ¶ added in v2026.611.0
func GrepWithContext ¶ added in v2026.611.0
func ReadFileFromLine ¶ added in v2026.611.0
func ReadFileLines ¶ added in v2026.611.0
func ReadFileUntilLine ¶ added in v2026.611.0
func RenameFile ¶ added in v2026.611.0
func ReplaceInFile ¶ added in v2026.611.0
func ShellWithTimeout ¶ added in v2026.611.0
func WebSearchEngine ¶ added in v2026.611.0
func WebSearchEngineN ¶ added in v2026.611.0
func WebSearchEngineNTimeout ¶ added in v2026.611.0
func WebSearchEngineTimeout ¶ added in v2026.611.0
func WebSearchN ¶ added in v2026.611.0
func WebSearchNTimeout ¶ added in v2026.611.0
func WebSearchWithTimeout ¶ added in v2026.611.0
Types ¶
type DocsResult ¶ added in v2026.611.0
type DocsResult struct {
Mode string `json:"mode"`
Query string `json:"query"`
Path string `json:"path,omitempty"`
Lines int `json:"lines,omitempty"`
Content string `json:"content,omitempty"`
Results []DocsSnippet `json:"results,omitempty"`
}
func DocsArticleInfo ¶ added in v2026.611.0
func DocsArticleInfo(path string) (DocsResult, error)
func DocsRetrievalInfo ¶ added in v2026.611.0
func DocsRetrievalInfo(query string) (DocsResult, error)
func DocsSearchInfo ¶ added in v2026.611.0
func DocsSearchInfo(query string) (DocsResult, error)
type DocsSnippet ¶ added in v2026.611.0
type EditResult ¶ added in v2026.611.0
func DeleteFileResult ¶ added in v2026.611.0
func DeleteFileResult(path, intent string) (EditResult, error)
func EditFileResult ¶ added in v2026.611.0
func EditFileResult(path, oldString, newString, intent string, delete bool) (EditResult, error)
func RenameFileResult ¶ added in v2026.611.0
func RenameFileResult(path, renameTo, intent string) (EditResult, error)
func ReplaceInFileResult ¶ added in v2026.611.0
func ReplaceInFileResult(path, oldString, newString, intent string) (EditResult, error)
func WriteFileResult ¶ added in v2026.611.0
func WriteFileResult(path, content, intent string) (EditResult, error)
type FetchWebResult ¶ added in v2026.611.0
func FetchWebInfo ¶ added in v2026.611.0
func FetchWebInfo(url string) (FetchWebResult, error)
func FetchWebInfoWithTimeout ¶ added in v2026.611.0
func FetchWebInfoWithTimeout(url string, secs int) (FetchWebResult, error)
type FindResult ¶ added in v2026.611.0
type FindResult struct {
Files bool
Pattern string
Path string
Matches []string
Count int
OutputMode string
Output string
Exit int
}
func FindInInfo ¶ added in v2026.611.0
func FindInInfo(dir, pattern string, files bool) (FindResult, error)
func FindInTimeoutInfo ¶ added in v2026.611.0
func FindInTimeoutInfo(dir, pattern string, files bool, secs int) (FindResult, error)
func FindTimeoutInfo ¶ added in v2026.611.0
func FindTimeoutInfo(pattern string, files bool, secs int) (FindResult, error)
type GrepCountEntry ¶ added in v2026.611.0
func GrepCountEntries ¶ added in v2026.611.0
func GrepCountEntries(pattern string) ([]GrepCountEntry, error)
func GrepCountEntriesIgnoreCase ¶ added in v2026.611.0
func GrepCountEntriesIgnoreCase(pattern string) ([]GrepCountEntry, error)
func GrepCountEntriesIn ¶ added in v2026.611.0
func GrepCountEntriesIn(dir, pattern string) ([]GrepCountEntry, error)
func GrepCountEntriesInIgnoreCase ¶ added in v2026.611.0
func GrepCountEntriesInIgnoreCase(dir, pattern string) ([]GrepCountEntry, error)
func GrepCountEntriesInTimeout ¶ added in v2026.611.0
func GrepCountEntriesInTimeout(dir, pattern string, secs int) ([]GrepCountEntry, error)
func GrepCountEntriesTimeout ¶ added in v2026.611.0
func GrepCountEntriesTimeout(pattern string, secs int) ([]GrepCountEntry, error)
type GrepLine ¶ added in v2026.611.0
func GrepLinesContextAfter ¶ added in v2026.611.0
func GrepLinesContextBefore ¶ added in v2026.611.0
func GrepLinesContextBeforeAfter ¶ added in v2026.611.0
func GrepLinesIgnoreCase ¶ added in v2026.611.0
func GrepLinesIn ¶ added in v2026.611.0
func GrepLinesInIgnoreCase ¶ added in v2026.611.0
func GrepLinesInLimit ¶ added in v2026.611.0
func GrepLinesInMultiline ¶ added in v2026.611.0
func GrepLinesInPathGlob ¶ added in v2026.611.0
func GrepLinesInTimeout ¶ added in v2026.611.0
func GrepLinesInWithContext ¶ added in v2026.611.0
func GrepLinesLimit ¶ added in v2026.611.0
func GrepLinesMultiline ¶ added in v2026.611.0
func GrepLinesPathGlob ¶ added in v2026.611.0
func GrepLinesTimeout ¶ added in v2026.611.0
type ReadResult ¶ added in v2026.611.0
func ReadFileFromLineInfo ¶ added in v2026.611.0
func ReadFileFromLineInfo(path string, start int) (ReadResult, error)
func ReadFileInfo ¶ added in v2026.611.0
func ReadFileInfo(path string) (ReadResult, error)
func ReadFileLinesInfo ¶ added in v2026.611.0
func ReadFileLinesInfo(path string, start, end int) (ReadResult, error)
func ReadFileUntilLineInfo ¶ added in v2026.611.0
func ReadFileUntilLineInfo(path string, end int) (ReadResult, error)
type ShellOutput ¶ added in v2026.611.0
func ShellResult ¶ added in v2026.611.0
func ShellResult(command, intent string) (ShellOutput, error)
func ShellResultWithTimeout ¶ added in v2026.611.0
func ShellResultWithTimeout(command, intent string, secs int) (ShellOutput, error)
type WebSearchResult ¶ added in v2026.611.0
type WebSearchResult struct {
Engine string `json:"engine"`
Hits []WebHit `json:"hits"`
HasMore bool `json:"hasMore,omitempty"`
SearxBaseURL string `json:"searxBaseURL,omitempty"`
}
func WebSearchEngineInfo ¶ added in v2026.611.0
func WebSearchEngineInfo(query, engine string) (WebSearchResult, error)
func WebSearchEngineNInfo ¶ added in v2026.611.0
func WebSearchEngineNInfo(query, engine string, maxResults int) (WebSearchResult, error)
func WebSearchEngineNTimeoutInfo ¶ added in v2026.611.0
func WebSearchEngineNTimeoutInfo(query, engine string, maxResults, secs int) (WebSearchResult, error)
func WebSearchEngineTimeoutInfo ¶ added in v2026.611.0
func WebSearchEngineTimeoutInfo(query, engine string, secs int) (WebSearchResult, error)
func WebSearchInfo ¶ added in v2026.611.0
func WebSearchInfo(query string) (WebSearchResult, error)
func WebSearchNInfo ¶ added in v2026.611.0
func WebSearchNInfo(query string, maxResults int) (WebSearchResult, error)
func WebSearchNTimeoutInfo ¶ added in v2026.611.0
func WebSearchNTimeoutInfo(query string, maxResults, secs int) (WebSearchResult, error)
func WebSearchWithTimeoutInfo ¶ added in v2026.611.0
func WebSearchWithTimeoutInfo(query string, secs int) (WebSearchResult, error)
Click to show internal directories.
Click to hide internal directories.