(event: string, data: Record<string, unknown>)
| 1072 | const context = yield* Effect.context<never>(); |
| 1073 | const debugEnabled = config.debug ?? readDebugDefault(); |
| 1074 | const debugLog = (event: string, data: Record<string, unknown>) => { |
| 1075 | if (!debugEnabled) return; |
| 1076 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: debug logging must tolerate non-serializable SDK capability snapshots |
| 1077 | try { |
| 1078 | console.error(`[executor:mcp] ${event} ${JSON.stringify(data)}`); |
| 1079 | } catch { |
| 1080 | console.error(`[executor:mcp] ${event}`, data); |
| 1081 | } |
| 1082 | }; |
| 1083 | const elicitationMode = |
| 1084 | config.elicitationMode ?? |
| 1085 | ({ |
no test coverage detected