pkg/

directory
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: Apache-2.0, MIT

Directories

Path Synopsis
Package capture holds the shared streaming-reduction library consumed by both the local tapes proxy and the cloud tapes-extproc sidecar.
Package capture holds the shared streaming-reduction library consumed by both the local tapes proxy and the cloud tapes-extproc sidecar.
fixtures
Package fixtures exposes the capture reducer test fixtures as an embed.FS so every consumer exercises the SAME bytes instead of hand-copied inline duplicates.
Package fixtures exposes the capture reducer test fixtures as an embed.FS so every consumer exercises the SAME bytes instead of hand-copied inline duplicates.
Package cassette defines schema-independent cassette contracts shared by versioned cassette manifest packages.
Package cassette defines schema-independent cassette contracts shared by versioned cassette manifest packages.
manifest
Package manifest decodes a cassette manifest of any supported schema version into the schema-independent cassette.Manifest contract.
Package manifest decodes a cassette manifest of any supported schema version into the schema-independent cassette.Manifest contract.
v1alpha1
Package v1alpha1 defines the versioned cassette metadata embedded in an OpenAPI document, including strict parsing, validation, and pure derivations.
Package v1alpha1 defines the versioned cassette metadata embedded in an OpenAPI document, including strict parsing, validation, and pure derivations.
Package cliui provides reusable terminal UI helpers (spinners, step indicators, markdown rendering) for tapes CLI commands.
Package cliui provides reusable terminal UI helpers (spinners, step indicators, markdown rendering) for tapes CLI commands.
Package derive turns immutable raw captures into the derived layer: content-addressed node chains today; semantic typing (node_kind), fork edges, and offshoot classification as the reconciled conversation tree lands (design/agent-session-reconciliation.md).
Package derive turns immutable raw captures into the derived layer: content-addressed node chains today; semantic typing (node_kind), fork edges, and offshoot classification as the reconciled conversation tree lands (design/agent-session-reconciliation.md).
worker
Package worker is the production derive loop: it polls the dirty- session queue ingest feeds (see storage.DeriveQueue), debounces bursts, and re-derives one session at a time under a per-session advisory lock.
Package worker is the production derive loop: it polls the dirty- session queue ingest feeds (see storage.DeriveQueue), debounces bursts, and re-derives one session at a time under a per-session advisory lock.
Package dotdir manages the .tapes/ and ~/.tapes directories that hold local configuration, credentials, and other tapes state.
Package dotdir manages the .tapes/ and ~/.tapes directories that hold local configuration, credentials, and other tapes state.
Package git provides utilities for detecting git repository information.
Package git provides utilities for detecting git repository information.
llm
Package llm provides a internal representations of LLM inference API requests and responses which are then further mutated and handled.
Package llm provides a internal representations of LLM inference API requests and responses which are then further mutated and handled.
provider/anthropic
Package anthropic
Package anthropic
provider/ollama
Package ollama
Package ollama
provider/openai
Package openai
Package openai
Package logger provides opinionated logging capabilities for the tapes system.
Package logger provides opinionated logging capabilities for the tapes system.
Package merkle is an implementation of a Merkel DAG
Package merkle is an implementation of a Merkel DAG
Package rawequiv proves that re-reducing a captured turn's stored verbatim bytes reproduces the reduction the capture adapter computed live.
Package rawequiv proves that re-reducing a captured turn's stored verbatim bytes reproduces the reduction the capture adapter computed live.
Package seed seeds demo data by replaying bundled capture corpora through the normal ingest write path.
Package seed seeds demo data by replaying bundled capture corpora through the normal ingest write path.
Package sessions provides the shared types and logic for building a per-session summary from a chain of merkle nodes.
Package sessions provides the shared types and logic for building a per-session summary from a chain of merkle nodes.
Package sse provides a minimal, purpose-built SSE (Server-Sent Events) tee-reader for use in the tapes proxy.
Package sse provides a minimal, purpose-built SSE (Server-Sent Events) tee-reader for use in the tapes proxy.
Package storage
Package storage
postgres
Package postgres
Package postgres
Package tapesoapi parses, aggregates, and compiles OpenAPI v3 documents.
Package tapesoapi parses, aggregates, and compiles OpenAPI v3 documents.
gosource
Package gosource reads doc comments out of Go source so reflected schemas can carry prose.
Package gosource reads doc comments out of Go source so reflected schemas can carry prose.
oasfiber
Package oasfiber populates a tapesoapi parser as Fiber routes are registered.
Package oasfiber populates a tapesoapi parser as Fiber routes are registered.
v3.0
Package v30 holds the OpenAPI 3.0 reference documents this module is tested against.
Package v30 holds the OpenAPI 3.0 reference documents this module is tested against.
v3.1
Package v31 holds the OpenAPI 3.1 reference documents this module is tested against.
Package v31 holds the OpenAPI 3.1 reference documents this module is tested against.
Package telemetry provides anonymous usage tracking for the tapes CLI using PostHog.
Package telemetry provides anonymous usage tracking for the tapes CLI using PostHog.
Package update provides a best-effort mechanism for checking whether a newer version of tapes is available.
Package update provides a best-effort mechanism for checking whether a newer version of tapes is available.
Package utils provides bespoke, one off utils that don't make sense to be their own package
Package utils provides bespoke, one off utils that don't make sense to be their own package

Jump to

Keyboard shortcuts

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