Skip to content

Commit 02fab86

Browse files
committed
test(plugins): allow visitor-access gateway_start hook registration
The bundled typed-hook contract keeps hook registrations on an explicit allowlist; visitor-access registers gateway_start for its expiry sweep.
1 parent 18e0d85 commit 02fab86

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/plugins/contracts/boundary-invariants.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const BUNDLED_TYPED_HOOK_REGISTRATION_FILES = [
2525
"extensions/memory-core/src/dreaming.ts",
2626
"extensions/memory-lancedb/index.ts",
2727
"extensions/onepassword/index.ts",
28+
"extensions/visitor-access/index.ts",
2829
"extensions/workboard/index.ts",
2930
] as const;
3031
const BUNDLED_TYPED_HOOK_REGISTRATION_GUARDS = {
@@ -40,6 +41,7 @@ const BUNDLED_TYPED_HOOK_REGISTRATION_GUARDS = {
4041
"extensions/memory-core/index.ts": ["before_agent_reply", "before_prompt_build"],
4142
"extensions/memory-lancedb/index.ts": ["agent_end", "before_prompt_build", "session_end"],
4243
"extensions/onepassword/index.ts": ["before_tool_call", "tool_result_persist"],
44+
"extensions/visitor-access/index.ts": ["gateway_start"],
4345
"extensions/workboard/index.ts": ["agent_end", "gateway_start", "gateway_stop", "subagent_ended"],
4446
} as const satisfies Record<
4547
(typeof BUNDLED_TYPED_HOOK_REGISTRATION_FILES)[number],

0 commit comments

Comments
 (0)