session

package
v2.8.0-dev.4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package session is the deprecated former name of pkg/transcript (#492): ADK's own session package dominates pkg/agent's signatures, so this name collided in almost every file that used both. Everything here forwards; the on-disk layout (.agents/sessions/, schema v1) is unchanged.

Deprecated: use pkg/transcript.

Index

Constants

View Source
const SchemaVersion = transcript.SchemaVersion

SchemaVersion is the on-disk schema version for transcripts.

Deprecated: use transcript.SchemaVersion.

View Source
const SessionsDirName = transcript.SessionsDirName

SessionsDirName is the directory under .agents/ that holds saved transcripts.

Deprecated: use transcript.SessionsDirName.

Variables

View Source
var ErrNoProject = transcript.ErrNoProject

ErrNoProject reports that no project .agents/ directory is configured.

Deprecated: use transcript.ErrNoProject.

Functions

func Save deprecated

func Save(agentsDir string, t Transcript) (string, error)

Save persists t under agentsDir.

Deprecated: use transcript.Save.

Types

type Message deprecated

type Message = transcript.Message

Message is one chat message in a Transcript.

Deprecated: use transcript.Message.

type Transcript deprecated

type Transcript = transcript.Transcript

Transcript captures one session for archival.

Deprecated: use transcript.Transcript.

type Usage deprecated

type Usage = transcript.Usage

Usage is the final usage totals in a Transcript.

Deprecated: use transcript.Usage.

Jump to

Keyboard shortcuts

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