(
source: unknown,
fallback: 'client' | 'server',
)
| 786 | } |
| 787 | |
| 788 | function normalizeMessageSource( |
| 789 | source: unknown, |
| 790 | fallback: 'client' | 'server', |
| 791 | ): 'client' | 'server' { |
| 792 | return source === 'client' || source === 'server' ? source : fallback |
| 793 | } |
| 794 | |
| 795 | function stringifyToolArguments(value: unknown): string { |
| 796 | if (typeof value === 'string') return value |
no outgoing calls
no test coverage detected