Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
adapter
|
|
|
bash
module
|
|
|
mcp
module
|
|
|
Package gateway provides provider streaming Model adapters for Gotato: the OpenAI-compatible Chat Completions and Responses APIs and the Anthropic Messages API.
|
Package gateway provides provider streaming Model adapters for Gotato: the OpenAI-compatible Chat Completions and Responses APIs and the Anthropic Messages API. |
|
Package gotato is the Gotato Core: the live Session, its Loop and the contracts it runs against.
|
Package gotato is the Gotato Core: the live Session, its Loop and the contracts it runs against. |
|
internal
|
|
|
cmd/gotato
command
Command gotato is the test tool of this repository: a thin client over the runtime packages.
|
Command gotato is the test tool of this repository: a thin client over the runtime packages. |
|
cmd/gotato-workload
command
Command gotato-workload runs the reference workload that GOALS.md measures and prints its report as JSON on stdout.
|
Command gotato-workload runs the reference workload that GOALS.md measures and prints its report as JSON on stdout. |
|
fakegateway
Package fakegateway is a test-only server that speaks the three wire APIs a Gotato gateway adapts to, and plays each provider's quirks on demand.
|
Package fakegateway is a test-only server that speaks the three wire APIs a Gotato gateway adapts to, and plays each provider's quirks on demand. |
|
fakegateway/cmd/fakegateway
command
Command fakegateway serves internal/fakegateway on a port, for a test that runs outside the Go process, such as the local cluster.
|
Command fakegateway serves internal/fakegateway on a port, for a test that runs outside the Go process, such as the local cluster. |
|
reftasks
Package reftasks holds the tasks of the reference workload that plan/GOALS.md measures: each task has a history, prompts, Tools, and a fake Model that plays it the same way every time, with a check of its answers.
|
Package reftasks holds the tasks of the reference workload that plan/GOALS.md measures: each task has a history, prompts, Tools, and a fake Model that plays it the same way every time, with a check of its answers. |
|
text
Package text holds the string helpers that the core and its sibling packages share: paging, spill refs and the escape of Gotato's own tags.
|
Package text holds the string helpers that the core and its sibling packages share: paging, spill refs and the escape of Gotato's own tags. |
|
workload
Package workload drives the reference workload that GOALS.md measures through a service.Runner, and reports what it saw: how each task went, every failed Run, tool call and check with its cause, token usage and cost, the time Gotato adds per Turn next to the model's own time, the time to load a Session, and whether each Turn's Context matches an inspection of the Transcript it was built from (G-G03).
|
Package workload drives the reference workload that GOALS.md measures through a service.Runner, and reports what it saw: how each task went, every failed Run, tool call and check with its cause, token usage and cost, the time Gotato adds per Turn next to the model's own time, the time to load a Session, and whether each Turn's Context matches an inspection of the Transcript it was built from (G-G03). |
|
Package modelctx builds what the Model sees now.
|
Package modelctx builds what the Model sees now. |
|
Package service turns the runtime into a service: named Agents, a Store of Session Records, and a live Session built for each Run.
|
Package service turns the runtime into a service: named Agents, a Store of Session Records, and a live Session built for each Run. |
|
httpapi
Package httpapi exposes a service.Runner over HTTP.
|
Package httpapi exposes a service.Runner over HTTP. |
|
Package session holds a Session's Record, what the Store keeps of it, and the Stores that keep it.
|
Package session holds a Session's Record, what the Store keeps of it, and the Stores that keep it. |
|
storetest
Package storetest checks that a session.Store keeps the contract Gotato relies on: a Record is an append-only log, every write is all or nothing, a position is written once, a stale writer is refused, a load starts at the last Checkpoint (a session_created or compaction_ended Entry, or the "checkpoint" of the earlier format) and hands back the segment_closed Entries before it, Liveness rows expire by the store's clock, and a row its Instance ended is removed.
|
Package storetest checks that a session.Store keeps the contract Gotato relies on: a Record is an append-only log, every write is all or nothing, a position is written once, a stale writer is refused, a load starts at the last Checkpoint (a session_created or compaction_ended Entry, or the "checkpoint" of the earlier format) and hands back the segment_closed Entries before it, Liveness rows expire by the store's clock, and a row its Instance ended is removed. |
|
Package testkit provides deterministic doubles for testing Gotato runtimes without a network provider: scripted and replayed Models, a recording FakeTool, an EventRecorder over a Subscription, Session fixtures, the echo/demo Models used by the CLI and the reference service.
|
Package testkit provides deterministic doubles for testing Gotato runtimes without a network provider: scripted and replayed Models, a recording FakeTool, an EventRecorder over a Subscription, Session fixtures, the echo/demo Models used by the CLI and the reference service. |
Click to show internal directories.
Click to hide internal directories.