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
- 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.
const SessionsDirName = transcript.SessionsDirName
SessionsDirName is the directory under .agents/ that holds saved transcripts.
Deprecated: use transcript.SessionsDirName.
Variables ¶
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.