diff --git a/store/session.go b/store/session.go index 71c7b1a..c7ef325 100644 --- a/store/session.go +++ b/store/session.go @@ -409,7 +409,7 @@ func (s *SessionStore) createSession(args []string) error { "execute": execute.Decl(cwd, execOpts...), }) - env := agent.BuildAgentEnv(cfg, newDisp(), cwd) + env := agent.BuildAgentEnv(cfg, newDisp(), cwd, []string{"OLLIE_SESSION_ID=" + sessID}) core = agent.NewAgentCore(agent.AgentCoreConfig{ Backend: be,