Directories
¶
| Path | Synopsis |
|---|---|
|
Package backfill extracts token usage from Claude Code transcripts and backfills historical nodes in the tapes database.
|
Package backfill extracts token usage from Claude Code transcripts and backfills historical nodes in the tapes database. |
|
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. |
|
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.
|
Package dotdir manages the .tapes/ and ~/.tapes directories. |
|
Package embeddings
|
Package embeddings |
|
ollama
Package ollama implements pkg/embedding's Embedder client for Ollama's embedding APIs
|
Package ollama implements pkg/embedding's Embedder client for Ollama's embedding APIs |
|
openai
Package openai implements pkg/embeddings's Embedder client for OpenAI's embeddings API.
|
Package openai implements pkg/embeddings's Embedder client for OpenAI's embeddings API. |
|
utils
Package embeddingutils is the embeddings utility package
|
Package embeddingutils is the embeddings utility package |
|
Package embedworker is the production span-embedding loop: it runs the bounded span-embedding pass (see pkg/spanembed) on its own interval, in its own process (`tapes serve embed-worker`) — split out of the derive worker so that embedding NEVER blocks derivation.
|
Package embedworker is the production span-embedding loop: it runs the bounded span-embedding pass (see pkg/spanembed) on its own interval, in its own process (`tapes serve embed-worker`) — split out of the derive worker so that embedding NEVER blocks derivation. |
|
Package export provides the shared JSONL conversation-export primitive: one turn's structured record plus a session-level JSONL writer.
|
Package export provides the shared JSONL conversation-export primitive: one turn's structured record plus a session-level JSONL writer. |
|
Package git provides utilities for detecting git repository information.
|
Package git provides utilities for detecting git repository information. |
|
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 publisher provides interfaces and implementations for publishing Merkle DAG nodes to external event streaming systems.
|
Package publisher provides interfaces and implementations for publishing Merkle DAG nodes to external event streaming systems. |
|
kafka
Package kafka provides a Kafka-backed Publisher implementation.
|
Package kafka provides a Kafka-backed Publisher implementation. |
|
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 skill provides LLM-powered extraction of reusable patterns from tapes sessions, outputting Claude Code SKILL.md files.
|
Package skill provides LLM-powered extraction of reusable patterns from tapes sessions, outputting Claude Code SKILL.md files. |
|
Package spanembed embeds the span projection for semantic search.
|
Package spanembed embeds the span projection for semantic search. |
|
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 |
|
storagetest
Package storagetest provides shared Ginkgo specs that any storage.Driver implementation can run against.
|
Package storagetest provides shared Ginkgo specs that any storage.Driver implementation can run 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 |
|
Package validate walks the parent edges of a tapes store and reports DAG integrity problems: cycles (which cause Ancestry() to loop forever) and dangling parent references (parents pointing at nodes that no longer exist).
|
Package validate walks the parent edges of a tapes store and reports DAG integrity problems: cycles (which cause Ancestry() to loop forever) and dangling parent references (parents pointing at nodes that no longer exist). |
|
Package vector provides interfaces and implementations for vector storage and embedding.
|
Package vector provides interfaces and implementations for vector storage and embedding. |
|
pgvector
Package pgvector provides a PostgreSQL-backed vector driver using the pgvector extension.
|
Package pgvector provides a PostgreSQL-backed vector driver using the pgvector extension. |
Click to show internal directories.
Click to hide internal directories.