INNER CODE UNIT · Go
hostDockerEndpoint
yaklang/yaklang · cmd/legion-smoke-node/main.go:278
func hostDockerEndpoint(kind, endpoint string) string {
if strings.TrimSpace(kind) == "ai_session" {
return ""
}
return strings.TrimSpace(endpoint)
}
func hostEngineValue(kind, value string) string {
if strings.TrimSpace(kind) == "ai_session" {
return ""
}
return strings.TrimSpace(value)
}
// initializeAISessionCapabilities keeps host Scan Nodes on their existing
// startup path while making the ephemeral AI session runtime self-contained.
// The full Yakit post-init pipeline also imports unrelated plugins and rules;
// synchronizing only the capability stores keeps session startup bounded.