Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Export-surface golden: the skill resolver's EXCLUDE_MAX, MATCH_STRENGTHS, RESOLVER_FEATURES and the pi and cursor harnesses

garrytan61acfd99109f
diff --git a/test/fixtures/goldens/exports/runtime.json b/test/fixtures/goldens/exports/runtime.json
index 05f3dee335..85601969e9 100644
--- a/test/fixtures/goldens/exports/runtime.json
+++ b/test/fixtures/goldens/exports/runtime.json
@@ -997,8 +997,11 @@
],
"./skill-resolver": [
"BLOCK_TOKEN_CAP",
+ "EXCLUDE_MAX",
"GBRAIN_VERSION",
"HARNESSES",
+ "MATCH_STRENGTHS",
+ "RESOLVER_FEATURES",
"ResolverError",
"SCHEMA_VERSION",
"buildSkillIndex",
diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.json
index d383b5dc82..5c75134b59 100644
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@ -8753,6 +8753,13 @@
],
"name": "CatalogStatus"
},
+ {
+ "kind": "variable",
+ "name": "EXCLUDE_MAX",
+ "signature": [
+ "1024"
+ ]
+ },
{
"kind": "interface",
"members": [
@@ -8781,7 +8788,14 @@
"kind": "variable",
"name": "HARNESSES",
"signature": [
- "readonly [\"openclaw\", \"claude-code\", \"codex\", \"hermes\", \"qm\"]"
+ "readonly [\"openclaw\", \"claude-code\", \"codex\", \"hermes\", \"qm\", \"pi\", \"cursor\"]"
+ ]
+ },
+ {
+ "kind": "variable",
+ "name": "MATCH_STRENGTHS",
+ "signature": [
+ "readonly MatchStrength[]"
]
},
{
@@ -8791,6 +8805,13 @@
"\"body\" | \"name\" | \"description\" | \"named\" | \"triggers\" | \"routing\""
]
},
+ {
+ "kind": "variable",
+ "name": "RESOLVER_FEATURES",
+ "signature": [
+ "readonly string[]"
+ ]
+ },
{
"kind": "interface",
"members": [
@@ -8888,6 +8909,7 @@
"expected_catalog_hash?: string | undefined",
"harness?: string | undefined",
"message: string",
+ "min_match_strength?: MatchStrength | undefined",
"previous_user_message?: string | undefined",
"reset_session?: boolean | undefined",
"session_id?: string | undefined",
@@ -8937,7 +8959,7 @@
"kind": "function",
"name": "commitSessionAsync",
"signature": [
- "(home: string, key: string, delta: TurnDelta) => Promise<boolean>"
+ "(home: string, key: string, delta: TurnDelta, hold?: CommitHold) => Promise<boolean>"
]
},
{