MCPcopy Index your code
hub / github.com/coder/agentapi / main

Function main

e2e/echo.go:24–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func main() {
25 if len(os.Args) != 2 {
26 fmt.Println("Usage: echo <script.json>")
27 os.Exit(1)
28 }
29
30 runEchoAgent(os.Args[1])
31}
32
33func loadScript(scriptPath string) ([]ScriptEntry, error) {
34 data, err := os.ReadFile(scriptPath)

Callers

nothing calls this directly

Calls 1

runEchoAgentFunction · 0.85

Tested by

no test coverage detected