Skip to content

Commit 510c6e3

Browse files
committed
fix(types): give the mcp:authorized-assistants channel refusal the family clause; count the new mirror pair
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qiby1cruv4PSfF5pFmit
1 parent f9bfb8f commit 510c6e3

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎ui/packages/types/src/__tests__/zod-mirror-parity.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5402,7 +5402,7 @@ const ZOD_DIR = join(dirname(fileURLToPath(import.meta.url)), '..', 'zod');
54025402
* MINUEND under it had moved. Nothing failed on any of those days, because nothing
54035403
* compared the registry to a number. objectui#7433 is that absence, not the digits.
54045404
*/
5405-
const EXPECTED_MIRROR_PAIRS = 197;
5405+
const EXPECTED_MIRROR_PAIRS = 198;
54065406

54075407
/**
54085408
* A ledger this file can size from its own AST. `WiderThanDeclared` joined at

‎ui/packages/types/src/zod/mcp-authorized-assistants.zod.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ import { retirementTombstone } from './tombstone.zod.js';
4040
const MCP_AUTHORIZED_ASSISTANTS_NEITHER_CHANNEL =
4141
'REFUSED — `mcp:authorized-assistants` reads NEITHER content channel: its registration hands '
4242
+ 'the node to `ManagedPersonAssistants`, which reads only `className`, and `SchemaRenderer` strips '
43-
+ 'both channels out of the props bag it spreads. An authored value would render NOTHING. What it '
43+
+ 'both channels out of the props bag it spreads. An authored value would render NOTHING — no '
44+
+ 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning '
45+
+ '(objectui#9910) noticed it, because the registration declares no `children` input. What it '
4446
+ 'renders instead: the AI assistants the person of the bound `sys_user` record authorized, each '
4547
+ 'with a Revoke.';
4648

0 commit comments

Comments
 (0)