2 Commits

Author SHA1 Message Date
can1357 b279db1790 test: refactored test suites to eliminate time-based sleeps and polling loops
- Replaced time-based sleeps and polling loops with event-driven promise resolvers and fake timers across agent and tool tests.
- Migrated test suites to share in-memory auth storage and fixtures using lifecycle hooks.
- Updated catalog model definitions, metadata, and configurations.
2026-08-13 19:32:22 +02:00
roboomp ec411d60b6 fix(session): resolve wire-name aliases in hasBuiltInTool
The renderer-provenance gate (PR #7774) keys the built-in tool renderer
registry on `hasBuiltInTool(name)`. In apply_patch mode the built-in `edit`
tool presents on the wire as `apply_patch` (`customWireName`), and tool cards
render the streamed call under that wire name. `hasBuiltInTool` only checked
literal registry names, so `hasBuiltInTool("apply_patch")` was false and the
edit renderer/preview was skipped.

Resolve a built-in tool's `customWireName` alias to its built-in owner, while
still letting an extension that registers the literal alias name shadow it
(the agent loop routes exact-name matches ahead of wire aliases).

Fixes #8184
2026-08-10 20:20:34 +00:00