raindrop-ai 0.3.1 → 0.4.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.
package/dist/index.mjs CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  stringifyBounded,
22
22
  tracing,
23
23
  withRoutingContext
24
- } from "./chunk-4TM4IWHB.mjs";
24
+ } from "./chunk-MZZJWWWB.mjs";
25
25
  import {
26
26
  __commonJS,
27
27
  __toESM
@@ -1,10 +1,10 @@
1
1
  import { Instrumentation } from '@opentelemetry/instrumentation';
2
- import { R as Raindrop, a as RaindropSpanProcessor, P as PartialAiTrackEvent, I as Interaction, A as AiTrackUsage, C as CarrierHeaders, T as TraceCarrier, S as SubagentResumeOptions, b as SubagentRun, c as Tracer } from '../index-DuXeVnSq.mjs';
3
- import * as traceloop from '@traceloop/node-server-sdk';
2
+ import { R as Raindrop, I as InitializeOptions, S as SpanProcessorOptions, a as RaindropSpanProcessor, P as PartialAiTrackEvent, b as Interaction, A as AiTrackUsage, C as CarrierHeaders, T as TraceCarrier, c as SubagentResumeOptions, d as SubagentRun, e as Tracer } from '../index-CDmWtd83.mjs';
4
3
  import '@opentelemetry/api';
5
4
  import 'zod';
5
+ import '@opentelemetry/sdk-trace-base';
6
6
 
7
- interface TracingOptions extends traceloop.InitializeOptions {
7
+ interface TracingOptions extends InitializeOptions {
8
8
  /**
9
9
  * Set to true when you have your own OpenTelemetry NodeSDK.
10
10
  *
@@ -86,7 +86,7 @@ declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, o
86
86
  * });
87
87
  * ```
88
88
  */
89
- createSpanProcessor(processorOptions?: traceloop.SpanProcessorOptions): RaindropSpanProcessor;
89
+ createSpanProcessor(processorOptions?: SpanProcessorOptions): RaindropSpanProcessor;
90
90
  begin(traceContext: PartialAiTrackEvent): Interaction;
91
91
  recordModelUsage: (params: {
92
92
  eventId: string;
@@ -1,10 +1,10 @@
1
1
  import { Instrumentation } from '@opentelemetry/instrumentation';
2
- import { R as Raindrop, a as RaindropSpanProcessor, P as PartialAiTrackEvent, I as Interaction, A as AiTrackUsage, C as CarrierHeaders, T as TraceCarrier, S as SubagentResumeOptions, b as SubagentRun, c as Tracer } from '../index-DuXeVnSq.js';
3
- import * as traceloop from '@traceloop/node-server-sdk';
2
+ import { R as Raindrop, I as InitializeOptions, S as SpanProcessorOptions, a as RaindropSpanProcessor, P as PartialAiTrackEvent, b as Interaction, A as AiTrackUsage, C as CarrierHeaders, T as TraceCarrier, c as SubagentResumeOptions, d as SubagentRun, e as Tracer } from '../index-CDmWtd83.js';
4
3
  import '@opentelemetry/api';
5
4
  import 'zod';
5
+ import '@opentelemetry/sdk-trace-base';
6
6
 
7
- interface TracingOptions extends traceloop.InitializeOptions {
7
+ interface TracingOptions extends InitializeOptions {
8
8
  /**
9
9
  * Set to true when you have your own OpenTelemetry NodeSDK.
10
10
  *
@@ -86,7 +86,7 @@ declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, o
86
86
  * });
87
87
  * ```
88
88
  */
89
- createSpanProcessor(processorOptions?: traceloop.SpanProcessorOptions): RaindropSpanProcessor;
89
+ createSpanProcessor(processorOptions?: SpanProcessorOptions): RaindropSpanProcessor;
90
90
  begin(traceContext: PartialAiTrackEvent): Interaction;
91
91
  recordModelUsage: (params: {
92
92
  eventId: string;