Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanNativeTitle ¶ added in v1.47.1
func GenerateSessionLabel ¶
GenerateSessionLabel generates a friendly name with session ID prefix. Returns a string like "bold 06ddb8f7" for better session identification.
func GenerateSessionName ¶
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")
func NativeTitle ¶ added in v1.47.1
NativeTitle reads only exact-session metadata on the hook's own host. Native on-disk formats are best effort: absent or unsupported metadata returns an empty title so callers retain the deterministic session label. No caching allows a rename to become visible on the next hook.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.