This commit is contained in:
npc0-hue
2026-08-26 09:56:43 +08:00
parent 2b4974b561
commit 8e02a316fa
93 changed files with 21749 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package runtime
import (
"browser.local/run/config"
"browser.local/run/domain"
)
func SmokeSummary(cfg config.Config) domain.ExecutorStatus {
return domain.ExecutorStatus{
Mode: cfg.Mode,
PlatformURL: cfg.PlatformURL,
Status: "ok",
ExposedHostPath: false,
Capabilities: append([]string{
"control.hello",
"control.heartbeat",
}, SupportedRunCapabilitiesForComponent(cfg.ComponentKind)...),
}
}