refactor: stabilize runtime and unify config

This commit is contained in:
lpf
2026-03-14 21:40:12 +08:00
parent 60eee65fec
commit 341e578c9f
75 changed files with 3081 additions and 1627 deletions

View File

@@ -22,11 +22,7 @@ func memoryNamespaceBaseDir(workspace, namespace string) string {
}
func parseMemoryNamespaceArg(args map[string]interface{}) string {
if args == nil {
return "main"
}
raw, _ := args["namespace"].(string)
return normalizeMemoryNamespace(raw)
return normalizeMemoryNamespace(MapStringArg(args, "namespace"))
}
func isPathUnder(parent, child string) bool {