Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(goldens): exports surface gains MERGED_CONFIG_BY_ENGINE and GBrainConfig.serve_cli_socket

garrytane46258244726
diff --git a/test/fixtures/goldens/exports/runtime.json b/test/fixtures/goldens/exports/runtime.json
index 1f362b1661..5ba8a71db2 100644
--- a/test/fixtures/goldens/exports/runtime.json
+++ b/test/fixtures/goldens/exports/runtime.json
@@ -555,6 +555,7 @@
"DB_MERGED_PROVIDER_KEY_FIELDS",
"KNOWN_CONFIG_KEYS",
"KNOWN_CONFIG_KEY_PREFIXES",
+ "MERGED_CONFIG_BY_ENGINE",
"configDir",
"configPath",
"dotenvValuesForKey",
diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.json
index c52e510c40..2ed6660009 100644
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@ -2797,6 +2797,7 @@
"search?: { adaptive_return?: boolean; adaptive_return_entity_max?: number; adaptive_return_other_max?: number; adaptive_return_min_keep?: number; vector_legacy_guard?: boolean; hnsw_iterative_scan?: string; cjk_keyword_deadline_ms?: number; keyword_statement_timeout_ms?: number; } | undefined",
"search_embedding_column?: string | undefined",
"self_upgrade?: { mode?: \"auto\" | \"notify\" | \"off\"; mode_prompted?: boolean; quiet_hours?: { start?: number; end?: number; tz?: string; }; failed_versions?: string[]; attempting_version?: string; last_check_ts?: number; last_applied_version?: string; } | undefined",
+ "serve_cli_socket?: boolean | undefined",
"storage?: unknown",
"together_api_key?: string | undefined",
"voyage_api_key?: string | undefined"
@@ -2817,6 +2818,13 @@
"readonly string[]"
]
},
+ {
+ "kind": "variable",
+ "name": "MERGED_CONFIG_BY_ENGINE",
+ "signature": [
+ "WeakMap<object, GBrainConfig>"
+ ]
+ },
{
"kind": "function",
"name": "configDir",