fix(sdk): align hotpath observability with actual dispatch mode

This commit is contained in:
Tom Boucher
2026-05-05 20:22:03 -04:00
parent 8ad2e3877f
commit fe16143e29
3 changed files with 73 additions and 5 deletions

View File

@@ -195,8 +195,8 @@ describe('GSDTools', () => {
allowFallbackToSubprocess: true,
});
await expect(tools.exec('nonexistent-command', [])).rejects.toThrow(
"Strict SDK mode: command 'nonexistent-command' has no native adapter",
await expect(tools.exec('graphify', [])).rejects.toThrow(
"Strict SDK mode: command 'graphify' has no native adapter",
);
});