Expand description
SPDX-License-Identifier: AGPL-3.0-or-later Copyright (C) Alexander R. Croft
Monoloop test kit — not a product component.
Console renderer, event distributor, and Driver composition helpers. Product crates must not depend on this package.
Structs§
- Chat
Line - One line in the projected chat.
- Chat
Projection - Full chat projection for a run.
- Console
Render Record - One logical rendered record (before TTY wrapping).
- Console
Renderer - Passive-only console renderer.
- Console
Renderer Config - Configuration for the console renderer.
- Driver
RunReport - Result of a test driver run over raw dialect bytes.
- Event
Distributor - Fan-out hub for one run.
- Grok
Serve Options - How to launch a local Grok Build agent server.
- Html
Report - Built HTML report from a run’s canonical events.
- Html
Report Params - Options for HTML dump generation.
- Live
AgyArtifact Paths - Artifact paths written by a live run.
- Live
AgyRun Options - Configuration for a single live agy prompt run.
- Live
AgyRun Report - Report from a managed live agy run.
- Live
Claude Artifact Paths - Artifact paths written by a live run.
- Live
Claude RunOptions - Configuration for a single live Claude print run.
- Live
Claude RunReport - Report from a managed live Claude run.
- Live
Codex Artifact Paths - Artifact paths written by a live run.
- Live
Codex RunOptions - Configuration for a single live codex prompt run.
- Live
Codex RunReport - Report from a managed live codex run.
- Live
Cursor Artifact Paths - Artifact paths written by a live Cursor run.
- Live
Cursor RunOptions - Configuration for a single live Cursor prompt run.
- Live
Cursor RunReport - Report from a managed live Cursor run.
- Live
Grok Artifact Paths - Paths written by the live driver.
- Live
Grok Multi Session Options - Options for a live multi-session qualification on one long-lived Grok serve.
- Live
Grok Multi Session Report - Report from
run_live_grok_multi_session. - Live
Grok RunOptions - Configuration for a single live Grok prompt run.
- Live
Grok RunReport - Full report from a managed live run.
- Live
Grok Session Outcome - Per-session outcome from a multi-session live run.
- Live
ZaiArtifact Paths - Artifact paths written by a live run.
- Live
ZaiRun Options - Configuration for a single live zai headless run.
- Live
ZaiRun Report - Report from a managed live zai run.
- Managed
Grok Serve - Owned Grok serve child process.
- Pipeline
Params - Optional parameters for a pipeline run (mirrors a
--paramsstyle switch). - Pipeline
RawDump - Snapshot of raw input for a pipeline run.
- Project
Chat Options - Options for
project_chat_with. - Projected
Tool - Compact tool snapshot for projection.
- RawInput
Frame - One raw frame as presented to the Interpreter (exact chunk bytes).
- Stdout
Sink - Stdout sink (serialized).
- Sync
Memory Sink - Sync-friendly memory sink.
Enums§
- Chat
Role - Role of a projected chat line.
- Projection
Confidence - Confidence of the projection relative to Interpreter emit order.
- Projection
Strategy - Strategy used to lay out the projected chat.
- Subscriber
Policy - Policy for a subscriber.
Traits§
- Console
Sink - Sink for rendered lines.
Functions§
- acp_
binding - ACP dialect binding helper.
- agy_
acp_ binding - Antigravity / agy ACP dialect binding (stdio NDJSON profile).
- build_
html_ report - Build an HTML report from interpreter output events (canonical only).
- claude_
code_ binding - Claude Code headless dialect binding (stream-json NDJSON profile).
- codex_
acp_ binding - OpenAI Codex ACP dialect binding (stdio NDJSON profile).
- collect_
interpretation - Drain events until Ended.
- cursor_
acp_ binding - Cursor ACP dialect binding (stdio NDJSON profile).
- feed_
chunks - Feed arbitrary fragmentation of the same logical stream.
- interpret_
and_ render - Run interpretation and render to a memory sink; return (events, console text).
- interpret_
bytes - Interpret complete (or pre-concatenated) raw bytes under a dialect binding.
- join_
sentences_ as_ markdown - Join complete sentences into a single Markdown document body.
- markdown_
to_ html - Convert Markdown to HTML (pulldown-cmark). Safe for untrusted text content.
- project_
chat - Project canonical Interpreter events into a chat-like flow (default options).
- project_
chat_ with - Project with explicit options.
- pump_
interpreter_ to_ distributor - Bridge: drain an interpreter event stream into a distributor, then close.
- render_
all - Render events with a custom sink.
- run_
bytes_ pipeline - Run Interpreter + Console + Empty Loop over pre-chunked raw bytes.
- run_
bytes_ pipeline_ with_ params - Same as
run_bytes_pipelinewith full params (console + optional raw dump). - run_
live_ agy_ prompt - Run one prompt against live Antigravity ACP and write review artifacts.
- run_
live_ claude_ prompt - Run one prompt against live Claude Code print mode and write review artifacts.
- run_
live_ codex_ prompt - Run one prompt against live Codex ACP and write review artifacts.
- run_
live_ cursor_ prompt - Run one prompt against a live Cursor ACP agent and write review artifacts.
- run_
live_ grok_ multi_ session - One serve → two concurrent
session/new+ prompts → optional explicit load. - run_
live_ grok_ prompt - Start Grok serve, run one prompt to completion, tear everything down.
- run_
live_ zai_ prompt - Run one prompt against live Z.ai CLI headless and write review artifacts.
- test_
text_ binding - Test raw text dialect binding.
- write_
html_ report - Write the full HTML page to
path(parent dirs created as needed). - zai_
cli_ binding - Z.ai CLI headless dialect binding (OpenAI-chat NDJSON profile).