Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 | 246x | /**
* The SDK's single diagnostic channel.
*
* Everything the SDK wants a developer to notice without failing the call — a dropped
* header, a skipped account, a clashing tool name — goes through here, so a host can
* silence or redirect it by stubbing `console.warn` in one place.
*/
export function warn(message: string): void {
// oxlint-disable-next-line no-console -- the one intentional console sink in the SDK
console.warn(`[@stackone/ai] ${message}`);
}
|