raindrop-ai 1.0.7 → 1.0.8
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/{chunk-BMYWLBYI.mjs → chunk-JK73MFZN.mjs} +731 -130
- package/dist/{chunk-J2WYJUH7.mjs → chunk-NELGM2YD.mjs} +22 -9
- package/dist/evals/cli.js +754 -146
- package/dist/evals/cli.mjs +2 -2
- package/dist/{index-BXzOiaVu.d.mts → index-BOTg0MlJ.d.mts} +1205 -1187
- package/dist/{index-BXzOiaVu.d.ts → index-BOTg0MlJ.d.ts} +1205 -1187
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +759 -151
- package/dist/index.mjs +2 -2
- package/dist/tracing/index.d.mts +5 -1
- package/dist/tracing/index.d.ts +5 -1
- package/dist/tracing/index.js +985 -456
- package/dist/tracing/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
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, F as FlushResultCompat, g as FlushResult } from '../index-
|
|
2
|
+
import { I as InitializeOptions, P as PiiFieldMap, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-BOTg0MlJ.mjs';
|
|
3
3
|
import { Raindrop, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.mjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import 'zod';
|
|
@@ -53,6 +53,10 @@ interface TracingOptions extends InitializeOptions {
|
|
|
53
53
|
projectId?: string;
|
|
54
54
|
/** Deadline for forceFlush() and close() (default 10 s; CONTRACT 1.2.1). */
|
|
55
55
|
flushTimeoutMs?: number;
|
|
56
|
+
/** The client's `redactTracePii`: redact PII from span input and output. */
|
|
57
|
+
redactTracePii?: boolean;
|
|
58
|
+
/** The client's `redactPiiFields`; only `span` applies to traces. */
|
|
59
|
+
redactPiiFields?: PiiFieldMap;
|
|
56
60
|
}
|
|
57
61
|
declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, options: TracingOptions, isDebug?: boolean) => {
|
|
58
62
|
/**
|
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, F as FlushResultCompat, g as FlushResult } from '../index-
|
|
2
|
+
import { I as InitializeOptions, P as PiiFieldMap, S as SpanProcessorOptions, B as BeginParams, C as CarrierHeaders, T as TraceCarrier, F as FlushResultCompat, g as FlushResult } from '../index-BOTg0MlJ.js';
|
|
3
3
|
import { Raindrop, RaindropSpanProcessor, Interaction, AiTrackUsage, AppGitSnapshot, SubagentResumeOptions, SubagentRun, Tracer } from '../index.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import 'zod';
|
|
@@ -53,6 +53,10 @@ interface TracingOptions extends InitializeOptions {
|
|
|
53
53
|
projectId?: string;
|
|
54
54
|
/** Deadline for forceFlush() and close() (default 10 s; CONTRACT 1.2.1). */
|
|
55
55
|
flushTimeoutMs?: number;
|
|
56
|
+
/** The client's `redactTracePii`: redact PII from span input and output. */
|
|
57
|
+
redactTracePii?: boolean;
|
|
58
|
+
/** The client's `redactPiiFields`; only `span` applies to traces. */
|
|
59
|
+
redactPiiFields?: PiiFieldMap;
|
|
56
60
|
}
|
|
57
61
|
declare const tracing: (analytics: Raindrop, apiUrl: string, writeKey: string, options: TracingOptions, isDebug?: boolean) => {
|
|
58
62
|
/**
|