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/README.md +25 -0
- package/dist/{chunk-4Z7UHC7X.mjs → chunk-6WL655QL.mjs} +239 -132
- package/dist/{chunk-OX6X4ZWQ.mjs → chunk-SHH4SYVY.mjs} +1470 -1015
- package/dist/evals/cli.js +1688 -1148
- package/dist/evals/cli.mjs +2 -2
- package/dist/{index-n8AIAiRR.d.mts → index-DuJkG47V.d.mts} +29 -3
- package/dist/{index-n8AIAiRR.d.ts → index-DuJkG47V.d.ts} +29 -3
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1694 -1151
- package/dist/index.mjs +5 -6
- package/dist/tracing/index.d.mts +3 -2
- package/dist/tracing/index.d.ts +3 -2
- package/dist/tracing/index.js +1085 -973
- package/dist/tracing/index.mjs +1 -1
- package/package.json +1 -1
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-
|
|
46
|
+
} from "./chunk-6WL655QL.mjs";
|
|
47
|
+
import "./chunk-SHH4SYVY.mjs";
|
|
49
48
|
import {
|
|
50
49
|
BooleanThresholdSchema,
|
|
51
50
|
NumericThresholdSchema,
|
package/dist/tracing/index.d.mts
CHANGED
|
@@ -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,
|
|
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>;
|
package/dist/tracing/index.d.ts
CHANGED
|
@@ -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,
|
|
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>;
|