sessionname

package
v1.45.12 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSessionLabel

func GenerateSessionLabel(sessionID string) string

GenerateSessionLabel generates a friendly name with session ID prefix. Returns a string like "bold 06ddb8f7" for better session identification.

func GenerateSessionName

func GenerateSessionName(sessionID string) string

GenerateSessionName generates a friendly single-word name from a session ID (UUID). Returns a deterministic name like "cat" or "eagle".

Args:

  • sessionID: UUID string (e.g., "73b5e210-ec1a-4294-96e4-c2aecb2e1063")

Returns:

  • Friendly name string (e.g., "peak")

Types

This section is empty.

Jump to

Keyboard shortcuts

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