raindrop-ai 1.0.5 → 1.0.6
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 +12 -2
- package/dist/{chunk-VCUDX7H3.mjs → chunk-JJHRALY4.mjs} +1 -1
- package/dist/{chunk-T3W2IICO.mjs → chunk-OUAKPLDX.mjs} +1927 -356
- package/dist/{chunk-LZVJUJN5.mjs → chunk-QNTUAQ4I.mjs} +238 -6327
- package/dist/evals/cli.js +3911 -8450
- package/dist/evals/cli.mjs +3 -4
- package/dist/{index-B3VWTg46.d.mts → index-C46PQW84.d.mts} +209 -114
- package/dist/{index-B3VWTg46.d.ts → index-C46PQW84.d.ts} +209 -114
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4645 -9184
- package/dist/index.mjs +3 -4
- package/dist/otel/index.mjs +0 -2
- package/dist/{portable-runtime-DTCO6KZY.mjs → portable-runtime-4KVE4EYZ.mjs} +1 -2
- package/dist/tracing/index.d.mts +6 -3
- package/dist/tracing/index.d.ts +6 -3
- package/dist/tracing/index.js +748 -230
- package/dist/tracing/index.mjs +1 -2
- package/package.json +2 -2
- package/dist/chunk-B7F5QLE5.mjs +0 -34
package/dist/index.mjs
CHANGED
|
@@ -47,8 +47,8 @@ import {
|
|
|
47
47
|
runReplay,
|
|
48
48
|
traceTools,
|
|
49
49
|
withEvalScope
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-QNTUAQ4I.mjs";
|
|
51
|
+
import "./chunk-OUAKPLDX.mjs";
|
|
52
52
|
import {
|
|
53
53
|
BooleanThresholdSchema,
|
|
54
54
|
EvalContextSchema,
|
|
@@ -69,8 +69,7 @@ import {
|
|
|
69
69
|
traceOutput,
|
|
70
70
|
traceToolCalls,
|
|
71
71
|
verifyPortableEvalArtifact
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-B7F5QLE5.mjs";
|
|
72
|
+
} from "./chunk-JJHRALY4.mjs";
|
|
74
73
|
export {
|
|
75
74
|
BooleanThresholdSchema,
|
|
76
75
|
DEFAULT_EVAL_POLL_INTERVAL_MS,
|
package/dist/otel/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PortableEvalLimitsSchema,
|
|
3
3
|
parsePortableEvalResult
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-B7F5QLE5.mjs";
|
|
4
|
+
} from "./chunk-JJHRALY4.mjs";
|
|
6
5
|
|
|
7
6
|
// src/evals/portable-runtime.ts
|
|
8
7
|
import variant from "@jitl/quickjs-singlefile-cjs-release-sync";
|
package/dist/tracing/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Instrumentation } from '@opentelemetry/instrumentation';
|
|
2
|
-
import { I as InitializeOptions, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier } from '../index-
|
|
2
|
+
import { I as InitializeOptions, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-C46PQW84.mjs';
|
|
3
3
|
import { Raindrop, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.mjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import 'zod';
|
|
@@ -51,6 +51,8 @@ interface TracingOptions extends InitializeOptions {
|
|
|
51
51
|
* POSTs. Local-debugger mirror spans never carry it.
|
|
52
52
|
*/
|
|
53
53
|
projectId?: string;
|
|
54
|
+
/** Deadline for forceFlush() and close() (default 10 s; CONTRACT 1.2.1). */
|
|
55
|
+
flushTimeoutMs?: number;
|
|
54
56
|
}
|
|
55
57
|
declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, options: TracingOptions, isDebug?: boolean) => {
|
|
56
58
|
/**
|
|
@@ -104,8 +106,9 @@ declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, o
|
|
|
104
106
|
* Best-effort drain of in-flight OTel spans and direct shipper batches.
|
|
105
107
|
* Safe to call when nothing is in flight; never throws.
|
|
106
108
|
*/
|
|
107
|
-
forceFlush(): Promise<
|
|
108
|
-
|
|
109
|
+
forceFlush(): Promise<FlushResultCompat>;
|
|
110
|
+
/** Drain and stop; resolves (never rejects) to the direct shipper's result. */
|
|
111
|
+
close(): Promise<FlushResult>;
|
|
109
112
|
};
|
|
110
113
|
type Tracing = ReturnType<typeof tracing>;
|
|
111
114
|
|
package/dist/tracing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Instrumentation } from '@opentelemetry/instrumentation';
|
|
2
|
-
import { I as InitializeOptions, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier } from '../index-
|
|
2
|
+
import { I as InitializeOptions, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-C46PQW84.js';
|
|
3
3
|
import { Raindrop, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import 'zod';
|
|
@@ -51,6 +51,8 @@ interface TracingOptions extends InitializeOptions {
|
|
|
51
51
|
* POSTs. Local-debugger mirror spans never carry it.
|
|
52
52
|
*/
|
|
53
53
|
projectId?: string;
|
|
54
|
+
/** Deadline for forceFlush() and close() (default 10 s; CONTRACT 1.2.1). */
|
|
55
|
+
flushTimeoutMs?: number;
|
|
54
56
|
}
|
|
55
57
|
declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, options: TracingOptions, isDebug?: boolean) => {
|
|
56
58
|
/**
|
|
@@ -104,8 +106,9 @@ declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, o
|
|
|
104
106
|
* Best-effort drain of in-flight OTel spans and direct shipper batches.
|
|
105
107
|
* Safe to call when nothing is in flight; never throws.
|
|
106
108
|
*/
|
|
107
|
-
forceFlush(): Promise<
|
|
108
|
-
|
|
109
|
+
forceFlush(): Promise<FlushResultCompat>;
|
|
110
|
+
/** Drain and stop; resolves (never rejects) to the direct shipper's result. */
|
|
111
|
+
close(): Promise<FlushResult>;
|
|
109
112
|
};
|
|
110
113
|
type Tracing = ReturnType<typeof tracing>;
|
|
111
114
|
|