Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: Apache-2.0

Directories

Path Synopsis
Package audit builds the LLMTurn record of each model call that led to tool calls.
Package audit builds the LLMTurn record of each model call that led to tool calls.
Package control holds the controls sent to a running loop: stop, inject a message, change settings.
Package control holds the controls sent to a running loop: stop, inject a message, change settings.
Package defaults is what runs when the caller supplies nothing: one no-op or built-in implementation per optional interface, so no other package has to check for nil.
Package defaults is what runs when the caller supplies nothing: one no-op or built-in implementation per optional interface, so no other package has to check for nil.
Package dispatch runs one tool call: through the ToolExecutor, or through the pause handler registered for that tool.
Package dispatch runs one tool call: through the ToolExecutor, or through the pause handler registered for that tool.
Package emitter owns the event channel: it filters, counts dropped events, and guarantees the done event is sent once and waited for.
Package emitter owns the event channel: it filters, counts dropped events, and guarantees the done event is sent once and waited for.
Package engine is the loop itself.
Package engine is the loop itself.
Package modelcall makes one logical model call: iteration timeout, streaming with an idle-chunk watchdog, and retries on transient failure.
Package modelcall makes one logical model call: iteration timeout, streaming with an idle-chunk watchdog, and retries on transient failure.
Package state holds all mutable state of one loop run behind one mutex.
Package state holds all mutable state of one loop run behind one mutex.
Package stopping holds one stop policy per stop condition.
Package stopping holds one stop policy per stop condition.
Package transcript logs the conversation as it grows.
Package transcript logs the conversation as it grows.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL