braintrust 3.32.0 → 3.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +0 -43
  2. package/dev/dist/index.d.mts +31 -0
  3. package/dev/dist/index.d.ts +31 -0
  4. package/dev/dist/index.js +2275 -920
  5. package/dev/dist/index.mjs +1610 -255
  6. package/dist/apply-auto-instrumentation.js +263 -224
  7. package/dist/apply-auto-instrumentation.mjs +45 -6
  8. package/dist/auto-instrumentations/bundler/esbuild.cjs +78 -5
  9. package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
  10. package/dist/auto-instrumentations/bundler/next.cjs +78 -5
  11. package/dist/auto-instrumentations/bundler/next.mjs +3 -3
  12. package/dist/auto-instrumentations/bundler/rollup.cjs +78 -5
  13. package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
  14. package/dist/auto-instrumentations/bundler/vite.cjs +78 -5
  15. package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
  16. package/dist/auto-instrumentations/bundler/webpack-loader.cjs +78 -5
  17. package/dist/auto-instrumentations/bundler/webpack.cjs +78 -5
  18. package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
  19. package/dist/auto-instrumentations/{chunk-AFND2U7E.mjs → chunk-T2DMPWFI.mjs} +75 -5
  20. package/dist/auto-instrumentations/{chunk-RI4Y55ZF.mjs → chunk-UHJ2DNYJ.mjs} +6 -1
  21. package/dist/auto-instrumentations/{chunk-QEEPRBIS.mjs → chunk-W5QNG3PV.mjs} +1 -1
  22. package/dist/auto-instrumentations/hook.mjs +86 -7
  23. package/dist/auto-instrumentations/index.cjs +76 -5
  24. package/dist/auto-instrumentations/index.d.mts +3 -1
  25. package/dist/auto-instrumentations/index.d.ts +3 -1
  26. package/dist/auto-instrumentations/index.mjs +3 -1
  27. package/dist/browser.d.mts +202 -342
  28. package/dist/browser.d.ts +202 -342
  29. package/dist/browser.js +2586 -623
  30. package/dist/browser.mjs +2586 -623
  31. package/dist/chunk-7P6ASYW6.mjs +9 -0
  32. package/dist/{chunk-BTRLPQG5.js → chunk-AXJTOUOC.js} +2250 -1172
  33. package/dist/{chunk-AW4QECG5.js → chunk-G3VHOHRC.js} +40 -9
  34. package/dist/chunk-MLKGABMK.js +9 -0
  35. package/dist/{chunk-4QSAHP7D.mjs → chunk-MZLBAFVJ.mjs} +1236 -158
  36. package/dist/{chunk-WV6QZI2W.mjs → chunk-TZVZN2JJ.mjs} +39 -8
  37. package/dist/cli.js +1695 -293
  38. package/dist/custom-views.d.mts +112 -0
  39. package/dist/custom-views.d.ts +112 -0
  40. package/dist/custom-views.js +13 -0
  41. package/dist/custom-views.mjs +13 -0
  42. package/dist/edge-light.d.mts +1 -1
  43. package/dist/edge-light.d.ts +1 -1
  44. package/dist/edge-light.js +2586 -623
  45. package/dist/edge-light.mjs +2586 -623
  46. package/dist/index.d.mts +202 -342
  47. package/dist/index.d.ts +202 -342
  48. package/dist/index.js +1842 -986
  49. package/dist/index.mjs +1310 -454
  50. package/dist/instrumentation/index.d.mts +5 -245
  51. package/dist/instrumentation/index.d.ts +5 -245
  52. package/dist/instrumentation/index.js +1694 -254
  53. package/dist/instrumentation/index.mjs +1694 -254
  54. package/dist/vitest-evals-reporter.js +17 -16
  55. package/dist/vitest-evals-reporter.mjs +3 -2
  56. package/dist/workerd.d.mts +1 -1
  57. package/dist/workerd.d.ts +1 -1
  58. package/dist/workerd.js +2586 -623
  59. package/dist/workerd.mjs +2586 -623
  60. package/package.json +10 -2
@@ -7346,6 +7346,7 @@ interface InstrumentationIntegrationsConfig {
7346
7346
  cloudflareAgents?: boolean;
7347
7347
  langchain?: boolean;
7348
7348
  langgraph?: boolean;
7349
+ langgraphSDK?: boolean;
7349
7350
  langsmith?: boolean;
7350
7351
  voyageai?: boolean;
7351
7352
  elevenlabs?: boolean;
@@ -7397,6 +7398,7 @@ declare class BraintrustPlugin extends BasePlugin {
7397
7398
  private openRouterPlugin;
7398
7399
  private openRouterAgentPlugin;
7399
7400
  private mistralPlugin;
7401
+ private langGraphSDKPlugin;
7400
7402
  private ollamaPlugin;
7401
7403
  private googleADKPlugin;
7402
7404
  private coherePlugin;
@@ -10072,248 +10074,6 @@ type EveJsonValue = null | boolean | number | string | EveJsonValue[] | {
10072
10074
  type EveJsonObject = {
10073
10075
  readonly [key: string]: EveJsonValue;
10074
10076
  };
10075
- interface EveHookContext {
10076
- readonly session: {
10077
- readonly id: string;
10078
- readonly parent?: {
10079
- readonly callId?: string;
10080
- readonly sessionId?: string;
10081
- readonly turn?: {
10082
- readonly id?: string;
10083
- };
10084
- };
10085
- };
10086
- }
10087
- type EveAssistantStepFinishReason = "content-filter" | "error" | "length" | "other" | "stop" | "tool-calls";
10088
- interface EveStreamEventMeta {
10089
- readonly at: string;
10090
- }
10091
- interface EveRuntimeToolCallActionRequest {
10092
- readonly callId: string;
10093
- readonly input: EveJsonObject;
10094
- readonly kind: "tool-call";
10095
- readonly toolName: string;
10096
- }
10097
- interface EveRuntimeToolResultActionResult {
10098
- readonly callId: string;
10099
- readonly isError?: boolean;
10100
- readonly kind: "tool-result";
10101
- readonly output: EveJsonValue;
10102
- readonly toolName: string;
10103
- }
10104
- type EveRuntimeActionRequest = EveRuntimeToolCallActionRequest | {
10105
- readonly callId: string;
10106
- readonly input?: EveJsonObject;
10107
- readonly kind: "load-skill" | "remote-agent-call";
10108
- readonly name?: string;
10109
- } | {
10110
- readonly callId: string;
10111
- readonly input: EveJsonObject;
10112
- readonly kind: "subagent-call";
10113
- readonly name?: string;
10114
- readonly subagentName?: string;
10115
- };
10116
- type EveRuntimeActionResult = EveRuntimeToolResultActionResult | {
10117
- readonly callId: string;
10118
- readonly isError?: boolean;
10119
- readonly kind: "load-skill-result";
10120
- readonly output?: EveJsonValue;
10121
- readonly name?: string;
10122
- } | {
10123
- readonly callId: string;
10124
- readonly isError?: boolean;
10125
- readonly kind: "subagent-result";
10126
- readonly output?: EveJsonValue;
10127
- readonly subagentName?: string;
10128
- };
10129
- type EveActionResultStatus = "completed" | "failed" | "rejected";
10130
- interface EveActionResultError {
10131
- readonly code: string;
10132
- readonly message: string;
10133
- }
10134
- type EveHandleMessageStreamEvent = {
10135
- readonly data: {
10136
- readonly invocation?: unknown;
10137
- readonly runtime?: {
10138
- readonly agentId: string;
10139
- readonly agentName?: string;
10140
- readonly eveVersion: string;
10141
- readonly modelId: string;
10142
- };
10143
- };
10144
- readonly meta?: EveStreamEventMeta;
10145
- readonly type: "session.started";
10146
- } | {
10147
- readonly data: {
10148
- readonly sequence: number;
10149
- readonly turnId: string;
10150
- };
10151
- readonly meta?: EveStreamEventMeta;
10152
- readonly type: "turn.started";
10153
- } | {
10154
- readonly data: {
10155
- readonly sequence: number;
10156
- readonly turnId: string;
10157
- };
10158
- readonly meta?: EveStreamEventMeta;
10159
- readonly type: "turn.completed";
10160
- } | {
10161
- readonly data: {
10162
- readonly message: string;
10163
- readonly sequence: number;
10164
- readonly turnId: string;
10165
- };
10166
- readonly meta?: EveStreamEventMeta;
10167
- readonly type: "message.received";
10168
- } | {
10169
- readonly data: {
10170
- readonly finishReason: EveAssistantStepFinishReason;
10171
- readonly message: string | null;
10172
- readonly sequence: number;
10173
- readonly stepIndex: number;
10174
- readonly turnId: string;
10175
- };
10176
- readonly meta?: EveStreamEventMeta;
10177
- readonly type: "message.completed";
10178
- } | {
10179
- readonly data: {
10180
- readonly reasoning: string;
10181
- readonly sequence: number;
10182
- readonly stepIndex: number;
10183
- readonly turnId: string;
10184
- };
10185
- readonly meta?: EveStreamEventMeta;
10186
- readonly type: "reasoning.completed";
10187
- } | {
10188
- readonly data: {
10189
- readonly result: EveJsonValue;
10190
- readonly sequence: number;
10191
- readonly stepIndex: number;
10192
- readonly turnId: string;
10193
- };
10194
- readonly meta?: EveStreamEventMeta;
10195
- readonly type: "result.completed";
10196
- } | {
10197
- readonly data: {
10198
- readonly sequence: number;
10199
- readonly stepIndex: number;
10200
- readonly turnId: string;
10201
- };
10202
- readonly meta?: EveStreamEventMeta;
10203
- readonly type: "step.started";
10204
- } | {
10205
- readonly data: {
10206
- readonly finishReason: EveAssistantStepFinishReason;
10207
- readonly providerMetadata?: {
10208
- readonly gateway?: {
10209
- readonly generationId?: string;
10210
- };
10211
- };
10212
- readonly sequence: number;
10213
- readonly stepIndex: number;
10214
- readonly turnId: string;
10215
- readonly usage?: {
10216
- readonly cacheReadTokens?: number;
10217
- readonly cacheWriteTokens?: number;
10218
- readonly costUsd?: number;
10219
- readonly inputTokens?: number;
10220
- readonly outputTokens?: number;
10221
- };
10222
- };
10223
- readonly meta?: EveStreamEventMeta;
10224
- readonly type: "step.completed";
10225
- } | {
10226
- readonly data: {
10227
- readonly code: string;
10228
- readonly details?: EveJsonObject;
10229
- readonly message: string;
10230
- readonly sequence: number;
10231
- readonly stepIndex: number;
10232
- readonly turnId: string;
10233
- };
10234
- readonly meta?: EveStreamEventMeta;
10235
- readonly type: "step.failed";
10236
- } | {
10237
- readonly data: {
10238
- readonly actions: readonly EveRuntimeActionRequest[];
10239
- readonly sequence: number;
10240
- readonly stepIndex: number;
10241
- readonly turnId: string;
10242
- };
10243
- readonly meta?: EveStreamEventMeta;
10244
- readonly type: "actions.requested";
10245
- } | {
10246
- readonly data: {
10247
- readonly error?: EveActionResultError;
10248
- readonly result: EveRuntimeActionResult;
10249
- readonly sequence: number;
10250
- readonly stepIndex: number;
10251
- readonly status: EveActionResultStatus;
10252
- readonly turnId: string;
10253
- };
10254
- readonly meta?: EveStreamEventMeta;
10255
- readonly type: "action.result";
10256
- } | {
10257
- readonly data: {
10258
- readonly callId: string;
10259
- readonly childSessionId: string;
10260
- readonly name: string;
10261
- readonly remote?: {
10262
- readonly url?: string;
10263
- };
10264
- readonly sequence: number;
10265
- readonly toolName?: string;
10266
- readonly turnId: string;
10267
- };
10268
- readonly meta?: EveStreamEventMeta;
10269
- readonly type: "subagent.called";
10270
- } | {
10271
- readonly data: {
10272
- readonly callId: string;
10273
- readonly error?: EveActionResultError;
10274
- readonly output?: EveJsonValue;
10275
- readonly sequence: number;
10276
- readonly status?: EveActionResultStatus;
10277
- readonly subagentName: string;
10278
- readonly turnId: string;
10279
- };
10280
- readonly meta?: EveStreamEventMeta;
10281
- readonly type: "subagent.completed";
10282
- } | {
10283
- readonly data: {
10284
- readonly code: string;
10285
- readonly details?: EveJsonObject;
10286
- readonly message: string;
10287
- readonly sequence: number;
10288
- readonly turnId: string;
10289
- };
10290
- readonly meta?: EveStreamEventMeta;
10291
- readonly type: "turn.failed";
10292
- } | {
10293
- readonly data: {
10294
- readonly code: string;
10295
- readonly details?: EveJsonObject;
10296
- readonly message: string;
10297
- readonly sessionId: string;
10298
- };
10299
- readonly meta?: EveStreamEventMeta;
10300
- readonly type: "session.failed";
10301
- } | {
10302
- readonly data: {
10303
- readonly wait: "next-user-message";
10304
- };
10305
- readonly meta?: EveStreamEventMeta;
10306
- readonly type: "session.waiting";
10307
- } | {
10308
- readonly meta?: EveStreamEventMeta;
10309
- readonly type: "session.completed";
10310
- };
10311
- interface EveHookDefinition {
10312
- readonly events?: {
10313
- readonly "*"?: (event: EveHandleMessageStreamEvent, ctx: EveHookContext) => void | Promise<void>;
10314
- readonly [eventType: string]: ((event: EveHandleMessageStreamEvent, ctx: EveHookContext) => void | Promise<void>) | undefined;
10315
- };
10316
- }
10317
10077
  interface EveInstrumentationSetupContext {
10318
10078
  readonly agentName: string;
10319
10079
  }
@@ -10656,7 +10416,7 @@ type EveDefineState = <T>(name: string, initial: () => T) => EveStateHandle<T>;
10656
10416
  declare function braintrustEveHook(options: {
10657
10417
  defineState: EveDefineState;
10658
10418
  metadata?: Record<string, unknown>;
10659
- }): EveHookDefinition;
10419
+ }): any;
10660
10420
 
10661
10421
  type EveProviderInstrumentationOptions = {
10662
10422
  metadata?: Record<string, unknown>;
@@ -10670,11 +10430,11 @@ type EveProviderInstrumentationOptions = {
10670
10430
  * lifecycle and enable `experimental.instrumentationProviders` on the agent.
10671
10431
  * The result is ready to export directly from the instrumentation module.
10672
10432
  */
10673
- declare function braintrustEveInstrumentation(options: EveProviderInstrumentationOptions): EveProviderDefinition;
10433
+ declare function braintrustEveInstrumentation(options: EveProviderInstrumentationOptions): any;
10674
10434
  declare function braintrustEveInstrumentation(options: {
10675
10435
  defineState: EveDefineState;
10676
10436
  setup?: EveInstrumentationDefinition["setup"];
10677
- }): EveInstrumentationDefinition;
10437
+ }): any;
10678
10438
 
10679
10439
  /**
10680
10440
  * Plugin registry and configuration for auto-instrumentation.
@@ -7346,6 +7346,7 @@ interface InstrumentationIntegrationsConfig {
7346
7346
  cloudflareAgents?: boolean;
7347
7347
  langchain?: boolean;
7348
7348
  langgraph?: boolean;
7349
+ langgraphSDK?: boolean;
7349
7350
  langsmith?: boolean;
7350
7351
  voyageai?: boolean;
7351
7352
  elevenlabs?: boolean;
@@ -7397,6 +7398,7 @@ declare class BraintrustPlugin extends BasePlugin {
7397
7398
  private openRouterPlugin;
7398
7399
  private openRouterAgentPlugin;
7399
7400
  private mistralPlugin;
7401
+ private langGraphSDKPlugin;
7400
7402
  private ollamaPlugin;
7401
7403
  private googleADKPlugin;
7402
7404
  private coherePlugin;
@@ -10072,248 +10074,6 @@ type EveJsonValue = null | boolean | number | string | EveJsonValue[] | {
10072
10074
  type EveJsonObject = {
10073
10075
  readonly [key: string]: EveJsonValue;
10074
10076
  };
10075
- interface EveHookContext {
10076
- readonly session: {
10077
- readonly id: string;
10078
- readonly parent?: {
10079
- readonly callId?: string;
10080
- readonly sessionId?: string;
10081
- readonly turn?: {
10082
- readonly id?: string;
10083
- };
10084
- };
10085
- };
10086
- }
10087
- type EveAssistantStepFinishReason = "content-filter" | "error" | "length" | "other" | "stop" | "tool-calls";
10088
- interface EveStreamEventMeta {
10089
- readonly at: string;
10090
- }
10091
- interface EveRuntimeToolCallActionRequest {
10092
- readonly callId: string;
10093
- readonly input: EveJsonObject;
10094
- readonly kind: "tool-call";
10095
- readonly toolName: string;
10096
- }
10097
- interface EveRuntimeToolResultActionResult {
10098
- readonly callId: string;
10099
- readonly isError?: boolean;
10100
- readonly kind: "tool-result";
10101
- readonly output: EveJsonValue;
10102
- readonly toolName: string;
10103
- }
10104
- type EveRuntimeActionRequest = EveRuntimeToolCallActionRequest | {
10105
- readonly callId: string;
10106
- readonly input?: EveJsonObject;
10107
- readonly kind: "load-skill" | "remote-agent-call";
10108
- readonly name?: string;
10109
- } | {
10110
- readonly callId: string;
10111
- readonly input: EveJsonObject;
10112
- readonly kind: "subagent-call";
10113
- readonly name?: string;
10114
- readonly subagentName?: string;
10115
- };
10116
- type EveRuntimeActionResult = EveRuntimeToolResultActionResult | {
10117
- readonly callId: string;
10118
- readonly isError?: boolean;
10119
- readonly kind: "load-skill-result";
10120
- readonly output?: EveJsonValue;
10121
- readonly name?: string;
10122
- } | {
10123
- readonly callId: string;
10124
- readonly isError?: boolean;
10125
- readonly kind: "subagent-result";
10126
- readonly output?: EveJsonValue;
10127
- readonly subagentName?: string;
10128
- };
10129
- type EveActionResultStatus = "completed" | "failed" | "rejected";
10130
- interface EveActionResultError {
10131
- readonly code: string;
10132
- readonly message: string;
10133
- }
10134
- type EveHandleMessageStreamEvent = {
10135
- readonly data: {
10136
- readonly invocation?: unknown;
10137
- readonly runtime?: {
10138
- readonly agentId: string;
10139
- readonly agentName?: string;
10140
- readonly eveVersion: string;
10141
- readonly modelId: string;
10142
- };
10143
- };
10144
- readonly meta?: EveStreamEventMeta;
10145
- readonly type: "session.started";
10146
- } | {
10147
- readonly data: {
10148
- readonly sequence: number;
10149
- readonly turnId: string;
10150
- };
10151
- readonly meta?: EveStreamEventMeta;
10152
- readonly type: "turn.started";
10153
- } | {
10154
- readonly data: {
10155
- readonly sequence: number;
10156
- readonly turnId: string;
10157
- };
10158
- readonly meta?: EveStreamEventMeta;
10159
- readonly type: "turn.completed";
10160
- } | {
10161
- readonly data: {
10162
- readonly message: string;
10163
- readonly sequence: number;
10164
- readonly turnId: string;
10165
- };
10166
- readonly meta?: EveStreamEventMeta;
10167
- readonly type: "message.received";
10168
- } | {
10169
- readonly data: {
10170
- readonly finishReason: EveAssistantStepFinishReason;
10171
- readonly message: string | null;
10172
- readonly sequence: number;
10173
- readonly stepIndex: number;
10174
- readonly turnId: string;
10175
- };
10176
- readonly meta?: EveStreamEventMeta;
10177
- readonly type: "message.completed";
10178
- } | {
10179
- readonly data: {
10180
- readonly reasoning: string;
10181
- readonly sequence: number;
10182
- readonly stepIndex: number;
10183
- readonly turnId: string;
10184
- };
10185
- readonly meta?: EveStreamEventMeta;
10186
- readonly type: "reasoning.completed";
10187
- } | {
10188
- readonly data: {
10189
- readonly result: EveJsonValue;
10190
- readonly sequence: number;
10191
- readonly stepIndex: number;
10192
- readonly turnId: string;
10193
- };
10194
- readonly meta?: EveStreamEventMeta;
10195
- readonly type: "result.completed";
10196
- } | {
10197
- readonly data: {
10198
- readonly sequence: number;
10199
- readonly stepIndex: number;
10200
- readonly turnId: string;
10201
- };
10202
- readonly meta?: EveStreamEventMeta;
10203
- readonly type: "step.started";
10204
- } | {
10205
- readonly data: {
10206
- readonly finishReason: EveAssistantStepFinishReason;
10207
- readonly providerMetadata?: {
10208
- readonly gateway?: {
10209
- readonly generationId?: string;
10210
- };
10211
- };
10212
- readonly sequence: number;
10213
- readonly stepIndex: number;
10214
- readonly turnId: string;
10215
- readonly usage?: {
10216
- readonly cacheReadTokens?: number;
10217
- readonly cacheWriteTokens?: number;
10218
- readonly costUsd?: number;
10219
- readonly inputTokens?: number;
10220
- readonly outputTokens?: number;
10221
- };
10222
- };
10223
- readonly meta?: EveStreamEventMeta;
10224
- readonly type: "step.completed";
10225
- } | {
10226
- readonly data: {
10227
- readonly code: string;
10228
- readonly details?: EveJsonObject;
10229
- readonly message: string;
10230
- readonly sequence: number;
10231
- readonly stepIndex: number;
10232
- readonly turnId: string;
10233
- };
10234
- readonly meta?: EveStreamEventMeta;
10235
- readonly type: "step.failed";
10236
- } | {
10237
- readonly data: {
10238
- readonly actions: readonly EveRuntimeActionRequest[];
10239
- readonly sequence: number;
10240
- readonly stepIndex: number;
10241
- readonly turnId: string;
10242
- };
10243
- readonly meta?: EveStreamEventMeta;
10244
- readonly type: "actions.requested";
10245
- } | {
10246
- readonly data: {
10247
- readonly error?: EveActionResultError;
10248
- readonly result: EveRuntimeActionResult;
10249
- readonly sequence: number;
10250
- readonly stepIndex: number;
10251
- readonly status: EveActionResultStatus;
10252
- readonly turnId: string;
10253
- };
10254
- readonly meta?: EveStreamEventMeta;
10255
- readonly type: "action.result";
10256
- } | {
10257
- readonly data: {
10258
- readonly callId: string;
10259
- readonly childSessionId: string;
10260
- readonly name: string;
10261
- readonly remote?: {
10262
- readonly url?: string;
10263
- };
10264
- readonly sequence: number;
10265
- readonly toolName?: string;
10266
- readonly turnId: string;
10267
- };
10268
- readonly meta?: EveStreamEventMeta;
10269
- readonly type: "subagent.called";
10270
- } | {
10271
- readonly data: {
10272
- readonly callId: string;
10273
- readonly error?: EveActionResultError;
10274
- readonly output?: EveJsonValue;
10275
- readonly sequence: number;
10276
- readonly status?: EveActionResultStatus;
10277
- readonly subagentName: string;
10278
- readonly turnId: string;
10279
- };
10280
- readonly meta?: EveStreamEventMeta;
10281
- readonly type: "subagent.completed";
10282
- } | {
10283
- readonly data: {
10284
- readonly code: string;
10285
- readonly details?: EveJsonObject;
10286
- readonly message: string;
10287
- readonly sequence: number;
10288
- readonly turnId: string;
10289
- };
10290
- readonly meta?: EveStreamEventMeta;
10291
- readonly type: "turn.failed";
10292
- } | {
10293
- readonly data: {
10294
- readonly code: string;
10295
- readonly details?: EveJsonObject;
10296
- readonly message: string;
10297
- readonly sessionId: string;
10298
- };
10299
- readonly meta?: EveStreamEventMeta;
10300
- readonly type: "session.failed";
10301
- } | {
10302
- readonly data: {
10303
- readonly wait: "next-user-message";
10304
- };
10305
- readonly meta?: EveStreamEventMeta;
10306
- readonly type: "session.waiting";
10307
- } | {
10308
- readonly meta?: EveStreamEventMeta;
10309
- readonly type: "session.completed";
10310
- };
10311
- interface EveHookDefinition {
10312
- readonly events?: {
10313
- readonly "*"?: (event: EveHandleMessageStreamEvent, ctx: EveHookContext) => void | Promise<void>;
10314
- readonly [eventType: string]: ((event: EveHandleMessageStreamEvent, ctx: EveHookContext) => void | Promise<void>) | undefined;
10315
- };
10316
- }
10317
10077
  interface EveInstrumentationSetupContext {
10318
10078
  readonly agentName: string;
10319
10079
  }
@@ -10656,7 +10416,7 @@ type EveDefineState = <T>(name: string, initial: () => T) => EveStateHandle<T>;
10656
10416
  declare function braintrustEveHook(options: {
10657
10417
  defineState: EveDefineState;
10658
10418
  metadata?: Record<string, unknown>;
10659
- }): EveHookDefinition;
10419
+ }): any;
10660
10420
 
10661
10421
  type EveProviderInstrumentationOptions = {
10662
10422
  metadata?: Record<string, unknown>;
@@ -10670,11 +10430,11 @@ type EveProviderInstrumentationOptions = {
10670
10430
  * lifecycle and enable `experimental.instrumentationProviders` on the agent.
10671
10431
  * The result is ready to export directly from the instrumentation module.
10672
10432
  */
10673
- declare function braintrustEveInstrumentation(options: EveProviderInstrumentationOptions): EveProviderDefinition;
10433
+ declare function braintrustEveInstrumentation(options: EveProviderInstrumentationOptions): any;
10674
10434
  declare function braintrustEveInstrumentation(options: {
10675
10435
  defineState: EveDefineState;
10676
10436
  setup?: EveInstrumentationDefinition["setup"];
10677
- }): EveInstrumentationDefinition;
10437
+ }): any;
10678
10438
 
10679
10439
  /**
10680
10440
  * Plugin registry and configuration for auto-instrumentation.