Documentation
¶
Overview ¶
Package agentid reads the dictatable short id naming one running agent session, so a terminal surface can show which agent it is looking at. Contract and rationale: docs/identity.md.
Index ¶
Constants ¶
View Source
const SessionEnv = "AOS_NATIVE_SESSION"
SessionEnv is the variable `aos` exports for the active native session.
Variables ¶
This section is empty.
Functions ¶
func FromEnv ¶
func FromEnv() string
FromEnv returns the session's short id, or "" when there is none. It reads rather than mints, because the status line re-renders on every tick.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.