Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session = repl.DSLSession
Session is the programmatic DSL execution session.
It supports Execute(line), ExecuteFile(path), and Context().
func NewSession ¶
NewSession creates a DSL session bound to mgr's environment storage.
mgr is required: pass env.Default() to use the standard <UserHomeDir>/.insyra root, or env.NewManager(path) for a custom root (e.g. per-workspace embedding). Each session keeps its own Manager, so concurrent sessions in the same process can target different roots without interfering with each other.
envName "" defaults to "default". output nil silently discards.
Click to show internal directories.
Click to hide internal directories.