raindrop-ai 0.7.0 → 0.7.1

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
@@ -3,6 +3,7 @@ import {
3
3
  DEFAULT_EVAL_WAIT_MS,
4
4
  DEFAULT_QUERY_URL,
5
5
  DEFAULT_TRACE_WAIT_MS,
6
+ EVAL_CORRELATION_ID_ATTRIBUTE,
6
7
  EvalDatasetPublishConflictError,
7
8
  EvalDatasetRowInputSchema,
8
9
  EvalPublishError,
@@ -23,6 +24,7 @@ import {
23
24
  compareEvalRuns,
24
25
  createEvalSuiteRun,
25
26
  createReplay,
27
+ currentEvalScope,
26
28
  evaluateEvalRun,
27
29
  evaluateReplay,
28
30
  index_default,
@@ -39,13 +41,10 @@ import {
39
41
  resolveDisableBatching,
40
42
  runEvalSuite,
41
43
  runReplay,
42
- traceTools
43
- } from "./chunk-4Z7UHC7X.mjs";
44
- import {
45
- EVAL_CORRELATION_ID_ATTRIBUTE,
46
- currentEvalScope,
44
+ traceTools,
47
45
  withEvalScope
48
- } from "./chunk-OX6X4ZWQ.mjs";
46
+ } from "./chunk-6WL655QL.mjs";
47
+ import "./chunk-SHH4SYVY.mjs";
49
48
  import {
50
49
  BooleanThresholdSchema,
51
50
  NumericThresholdSchema,
@@ -1,9 +1,8 @@
1
1
  import { Instrumentation } from '@opentelemetry/instrumentation';
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-n8AIAiRR.mjs';
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 AppGitSnapshot, C as CarrierHeaders, T as TraceCarrier, d as SubagentResumeOptions, e as SubagentRun, f as Tracer } from '../index-DuJkG47V.mjs';
3
3
  import '@opentelemetry/api';
4
4
  import 'zod';
5
5
  import '@opentelemetry/sdk-trace-base';
6
- import './eval-scope-BYkhP4uI.js';
7
6
 
8
7
  interface TracingOptions extends InitializeOptions {
9
8
  /**
@@ -93,6 +92,8 @@ declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, o
93
92
  eventId: string;
94
93
  model: string;
95
94
  usage: AiTrackUsage;
95
+ appGitProperties?: Record<string, unknown>;
96
+ appGitSnapshot: AppGitSnapshot;
96
97
  }) => void;
97
98
  resumeSubagent(carrierOrHeaders: CarrierHeaders | TraceCarrier | null | undefined, options?: SubagentResumeOptions): SubagentRun;
98
99
  withSubagentRun<T>(carrierOrHeaders: CarrierHeaders | TraceCarrier | null | undefined, fn: (run: SubagentRun) => Promise<T> | T, options?: SubagentResumeOptions): Promise<T>;
@@ -1,9 +1,8 @@
1
1
  import { Instrumentation } from '@opentelemetry/instrumentation';
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-n8AIAiRR.js';
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 AppGitSnapshot, C as CarrierHeaders, T as TraceCarrier, d as SubagentResumeOptions, e as SubagentRun, f as Tracer } from '../index-DuJkG47V.js';
3
3
  import '@opentelemetry/api';
4
4
  import 'zod';
5
5
  import '@opentelemetry/sdk-trace-base';
6
- import './eval-scope-BYkhP4uI.js';
7
6
 
8
7
  interface TracingOptions extends InitializeOptions {
9
8
  /**
@@ -93,6 +92,8 @@ declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, o
93
92
  eventId: string;
94
93
  model: string;
95
94
  usage: AiTrackUsage;
95
+ appGitProperties?: Record<string, unknown>;
96
+ appGitSnapshot: AppGitSnapshot;
96
97
  }) => void;
97
98
  resumeSubagent(carrierOrHeaders: CarrierHeaders | TraceCarrier | null | undefined, options?: SubagentResumeOptions): SubagentRun;
98
99
  withSubagentRun<T>(carrierOrHeaders: CarrierHeaders | TraceCarrier | null | undefined, fn: (run: SubagentRun) => Promise<T> | T, options?: SubagentResumeOptions): Promise<T>;