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. Removed in v4.0.
Index ¶
- Constants
- Variables
- func Save(agentsDir string, t Transcript) (string, error)deprecated
- type Messagedeprecated
- type Transcriptdeprecated
- type Usagedeprecated
Constants ¶
const SchemaVersion = transcript.SchemaVersion
SchemaVersion is the on-disk schema version for transcripts.
Deprecated: use transcript.SchemaVersion. Removed in v4.0.
const SessionsDirName = transcript.SessionsDirName
SessionsDirName is the directory under .agents/ that holds saved transcripts.
Deprecated: use transcript.SessionsDirName. Removed in v4.0.
Variables ¶
var ErrNoProject = transcript.ErrNoProject
ErrNoProject reports that no project .agents/ directory is configured.
Deprecated: use transcript.ErrNoProject. Removed in v4.0.
Functions ¶
func Save
deprecated
func Save(agentsDir string, t Transcript) (string, error)
Save persists t under agentsDir.
Deprecated: use transcript.Save. Removed in v4.0.
Types ¶
type Message
deprecated
type Message = transcript.Message
Message is one chat message in a Transcript.
Deprecated: use transcript.Message. Removed in v4.0.
type Transcript
deprecated
type Transcript = transcript.Transcript
Transcript captures one session for archival.
Deprecated: use transcript.Transcript. Removed in v4.0.
type Usage
deprecated
type Usage = transcript.Usage
Usage is the final usage totals in a Transcript.
Deprecated: use transcript.Usage. Removed in v4.0.