Documentation
¶
Index ¶
- func CopyNativeConfig(provider, destination, privateDestination string, env map[string]string) error
- func PrepareHistorySeed(source, root string, plan tool.Object) error
- func PrepareNative(ctx context.Context, o *Options, plan tool.Object, root string) error
- func ReserveRecordService(ctx context.Context, root string) (interface{ ... }, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyNativeConfig ¶
func CopyNativeConfig(provider, destination, privateDestination string, env map[string]string) error
CopyNativeConfig copies connection and model-routing configuration into the visible config directory. Authentication files stay in privateDestination so an execution overlay can link them for one record run without retaining them. The source is discovered from the standard environment or HOME location; callers cannot inject an arbitrary configuration path.
func PrepareHistorySeed ¶
A completed capture supplies native saved records. Preparing a later case does not execute an SDK, start a session, or require the replay stage first.
func PrepareNative ¶
func ReserveRecordService ¶
func ReserveRecordService(ctx context.Context, root string) (interface { URL() string TokenFile() string Start(context.Context, Options, tool.Object) error Close() error Stopped() bool ProcessID() int Evidence() tool.Object }, error, )
ReserveRecordService allocates only a private target. Start runs after the ordinary agent result identifies the execution overlay that owns its env.