output

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package output projects tool results only in outgoing model records. Canonical payloads and revisions remain immutable and readable through read_tool_output.

Index

Constants

View Source
const MaxBytes = 50 * 1024
View Source
const MaxLines = 2000

Variables

This section is empty.

Functions

func Audience

func Audience(record canonical.Record) canonical.Record

Audience returns an independent record with user-only image and MCP content removed. Record membership and the latest compaction boundary stay with callers.

func Processed added in v0.2.7

func Processed(record, original canonical.Record) (canonical.Record, bool)

Processed detaches only changed blocks. Pair repair can rename a repeated provider call, but read_tool_output needs the ID in the stored result slot. Run before Project: a replaced file page must not suppress a later full read.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func (*Cache) Project

func (cache *Cache) Project(records []canonical.Record) []canonical.Record

Jump to

Keyboard shortcuts

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