session: rename Config.Uname → Config.AgentID
This commit is contained in:
parent
4643c4fca5
commit
d6c56bd4f0
|
|
@ -276,7 +276,7 @@ type Config struct {
|
|||
AgentsDir string
|
||||
SessionsDir string
|
||||
SessionID string
|
||||
Uname string // immutable user principal for 9P identity
|
||||
AgentID string // unique agent identity
|
||||
CWD string // working directory for tool execution and system prompt
|
||||
History *History
|
||||
Runtime *Runtime
|
||||
|
|
@ -464,7 +464,7 @@ func New(cfg Config) *Session {
|
|||
history: cfg.History,
|
||||
runtime: rt,
|
||||
cwd: paths.ExpandHome(cfg.CWD),
|
||||
id: cfg.Uname,
|
||||
id: cfg.AgentID,
|
||||
agentName: cfg.AgentName,
|
||||
agentsDir: cfg.AgentsDir,
|
||||
promptEnvExtra: cfg.PromptEnvExtra,
|
||||
|
|
|
|||
Reference in New Issue