sessionid

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package sessionid provides session ID formatting and transformation functions. This package has minimal dependencies to avoid import cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EntireSessionID

func EntireSessionID(agentSessionUUID string) string

EntireSessionID returns the Entire session ID from an agent session UUID. This is now an identity function - the agent session ID IS the Entire session ID. This simplification removes the non-deterministic date prefix that made it impossible to derive the Entire session ID from just the agent session ID.

func ModelSessionID

func ModelSessionID(entireSessionID string) string

ModelSessionID extracts the agent session UUID from an Entire session ID. Since Entire session ID = agent session ID (identity), this returns the input unchanged. For backwards compatibility with old date-prefixed session IDs (YYYY-MM-DD-<uuid>), it strips the date prefix if present.

Types

This section is empty.

Jump to

Keyboard shortcuts

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