@bitfab/sdk 0.74.3 → 0.74.5
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/{http-Dd0XLEqA.js → http-C_t7m9b_.js} +4 -3
- package/dist/{http-Dd0XLEqA.js.map → http-C_t7m9b_.js.map} +1 -1
- package/dist/{http-BHgwaBjv.cjs → http-DNmzk2gf.cjs} +4 -3
- package/dist/{http-BHgwaBjv.cjs.map → http-DNmzk2gf.cjs.map} +1 -1
- package/dist/{index-eZPhpygX.d.cts → index-PwbvfBty.d.cts} +52 -9
- package/dist/{index-eZPhpygX.d.ts → index-PwbvfBty.d.ts} +52 -9
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/node.cjs +2 -2
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +2 -2
- package/dist/{registryCommand-BQcyBmhN.js → registryCommand-Bm2-Peq8.js} +27 -12
- package/dist/registryCommand-Bm2-Peq8.js.map +1 -0
- package/dist/replayCli.js +1 -1
- package/dist/seedCli.js +1 -1
- package/dist/{src-KAtu1Cmn.cjs → src-B7Xv4aR2.cjs} +18 -7
- package/dist/src-B7Xv4aR2.cjs.map +1 -0
- package/dist/{src-v9Cp4amm.js → src-Ch86hs9i.js} +18 -7
- package/dist/src-Ch86hs9i.js.map +1 -0
- package/package.json +1 -1
- package/dist/registryCommand-BQcyBmhN.js.map +0 -1
- package/dist/src-KAtu1Cmn.cjs.map +0 -1
- package/dist/src-v9Cp4amm.js.map +0 -1
|
@@ -778,7 +778,7 @@ declare class HttpClient {
|
|
|
778
778
|
* Start a replay session by fetching historical traces.
|
|
779
779
|
* Blocking call - creates an experiment and returns lightweight item references.
|
|
780
780
|
*/
|
|
781
|
-
startReplay(traceFunctionKey: string, limit: number | undefined, traceIds?: string[], name?: string, codeChangeDescription?: string | null, codeChangeFiles?: CodeChangeFile[] | null, includeDbBranchLease?: boolean, experimentGroupId?: string, datasetIds?: string[], graderIds?: string[], dbBranchSettings?: DbBranchSettings, attempts?: number, includeOriginalMetadata?: boolean, onlyWithAssertions?: boolean, skipAssertionJudging?: boolean, experimentalSelectiveReplay?: SelectiveReplayOptions, notes?: string, metadata?: Record<string, string>, dryRun?: boolean, experimentGroupName?: string, invocation?: ReplayInvocation, codeChangeType?: CodeChangeType): Promise<StartReplayResponse>;
|
|
781
|
+
startReplay(traceFunctionKey: string, limit: number | undefined, traceIds?: string[], name?: string, codeChangeDescription?: string | null, codeChangeFiles?: CodeChangeFile[] | null, includeDbBranchLease?: boolean, experimentGroupId?: string, datasetIds?: string[], graderIds?: string[], dbBranchSettings?: DbBranchSettings, attempts?: number, includeOriginalMetadata?: boolean, onlyWithAssertions?: boolean, skipAssertionJudging?: boolean, experimentalSelectiveReplay?: SelectiveReplayOptions, notes?: string, metadata?: Record<string, string>, dryRun?: boolean, experimentGroupName?: string, invocation?: ReplayInvocation, codeChangeType?: CodeChangeType, categoryIds?: string[]): Promise<StartReplayResponse>;
|
|
782
782
|
resumeReplay(experimentId: string, traceFunctionKey: string, codeChangeFiles?: CodeChangeFile[] | null, force?: boolean): Promise<ResumeReplayResponse>;
|
|
783
783
|
/**
|
|
784
784
|
* Fetch an external span by ID.
|
|
@@ -1833,8 +1833,14 @@ type SaveAssertion = {
|
|
|
1833
1833
|
failCriteria?: string | null;
|
|
1834
1834
|
targetOnEvaluatedTrace?: TraceTarget | null;
|
|
1835
1835
|
/**
|
|
1836
|
-
* Who decides this assertion. Send `"code"` or `"hybrid"`
|
|
1837
|
-
* `code
|
|
1836
|
+
* Who decides this assertion. Send `"code"` or `"hybrid"` with `code` to set
|
|
1837
|
+
* the code yourself, or without `code` on an assertion that has none yet to
|
|
1838
|
+
* have Bitfab write it: the text is checked by the guided rewrite (unless
|
|
1839
|
+
* skipped), code of that kind is written and run on this trace, and the save
|
|
1840
|
+
* waits for both. The returned `codeDraft` says whether working code was
|
|
1841
|
+
* written. At most 10 assertions per save may ask for code this way, and a
|
|
1842
|
+
* save that asks for any waits up to five minutes. Omit on an edit to keep
|
|
1843
|
+
* it, pass `"judge"` to remove the code.
|
|
1838
1844
|
*/
|
|
1839
1845
|
kind?: AssertionKind;
|
|
1840
1846
|
/**
|
|
@@ -2142,7 +2148,9 @@ type SaveAssertionsParams = {
|
|
|
2142
2148
|
* assertion, usually within a minute. The save does not wait for the
|
|
2143
2149
|
* check: each checked assertion comes back with `rewrite.status` set to
|
|
2144
2150
|
* `pending`. Read the result later with `getAssertions`, whose rows carry
|
|
2145
|
-
* `rewrite`.
|
|
2151
|
+
* `rewrite`. An entry that asks Bitfab to write its code (kind `"code"` or
|
|
2152
|
+
* `"hybrid"` with no `code`) is checked before the save returns instead, so
|
|
2153
|
+
* its `rewrite` is already final.
|
|
2146
2154
|
*/
|
|
2147
2155
|
skipGuidedRewrite?: boolean;
|
|
2148
2156
|
};
|
|
@@ -2159,7 +2167,9 @@ type SaveAssertionsAllParams = {
|
|
|
2159
2167
|
* assertion, usually within a minute. The save does not wait for the
|
|
2160
2168
|
* check: each checked assertion comes back with `rewrite.status` set to
|
|
2161
2169
|
* `pending`. Read the result later with `getAssertions`, whose rows carry
|
|
2162
|
-
* `rewrite`.
|
|
2170
|
+
* `rewrite`. An entry that asks Bitfab to write its code (kind `"code"` or
|
|
2171
|
+
* `"hybrid"` with no `code`) is checked before the save returns instead, so
|
|
2172
|
+
* its `rewrite` is already final.
|
|
2163
2173
|
*/
|
|
2164
2174
|
skipGuidedRewrite?: boolean;
|
|
2165
2175
|
};
|
|
@@ -2197,6 +2207,24 @@ type AssertionRewrite = {
|
|
|
2197
2207
|
*/
|
|
2198
2208
|
type SavedTraceAssertion = TraceAssertion & {
|
|
2199
2209
|
rewrite: AssertionRewrite;
|
|
2210
|
+
/**
|
|
2211
|
+
* What happened to an entry that sent kind `"code"` or `"hybrid"` with no
|
|
2212
|
+
* code for Bitfab to write, or null for every other entry.
|
|
2213
|
+
*/
|
|
2214
|
+
codeDraft: AssertionCodeDraft | null;
|
|
2215
|
+
};
|
|
2216
|
+
/**
|
|
2217
|
+
* Whether Bitfab wrote code for an assertion that asked for it. `written`: the
|
|
2218
|
+
* code was saved with `requestedKind` and ran on the trace. `not_written`: no
|
|
2219
|
+
* working code could be written, so the assertion was saved as a `"judge"`
|
|
2220
|
+
* assertion without code, and `reason` says why. Reword the assertion and ask
|
|
2221
|
+
* again, or send the code yourself.
|
|
2222
|
+
*/
|
|
2223
|
+
type AssertionCodeDraft = {
|
|
2224
|
+
requestedKind: Exclude<AssertionKind, "judge">;
|
|
2225
|
+
status: "written" | "not_written";
|
|
2226
|
+
/** Why no code was written, or null when it was. */
|
|
2227
|
+
reason: string | null;
|
|
2200
2228
|
};
|
|
2201
2229
|
type ArchiveAssertionsParams = {
|
|
2202
2230
|
traceId: string;
|
|
@@ -2252,7 +2280,9 @@ declare class TracesClient {
|
|
|
2252
2280
|
* breaks the writing rules in place in the background, usually within a
|
|
2253
2281
|
* minute. Read the result later with `getAssertions`: each row's `rewrite`
|
|
2254
2282
|
* says what changed and lists in `separateAssertions` any other claim to
|
|
2255
|
-
* save as its own assertion.
|
|
2283
|
+
* save as its own assertion. Entries that ask Bitfab to write their code
|
|
2284
|
+
* are checked and given code before the call returns, so their `rewrite`
|
|
2285
|
+
* and `codeDraft` are final.
|
|
2256
2286
|
*/
|
|
2257
2287
|
saveAssertions(params: SaveAssertionsParams): Promise<SavedTraceAssertion[]>;
|
|
2258
2288
|
/**
|
|
@@ -2263,7 +2293,9 @@ declare class TracesClient {
|
|
|
2263
2293
|
* usually within a minute. Read the result later with `getAssertions`: each
|
|
2264
2294
|
* row's `rewrite` says what changed and lists in `separateAssertions` any
|
|
2265
2295
|
* other claim to save as its own assertion. A check that has not finished
|
|
2266
|
-
* 15 minutes after the save reads as `check_failed`.
|
|
2296
|
+
* 15 minutes after the save reads as `check_failed`. Entries that ask Bitfab
|
|
2297
|
+
* to write their code are checked and given code before the call returns,
|
|
2298
|
+
* so their `rewrite` and `codeDraft` are final.
|
|
2267
2299
|
*/
|
|
2268
2300
|
saveAssertionsAll(params: SaveAssertionsAllParams): Promise<SavedTraceAssertion[]>;
|
|
2269
2301
|
generateAssertions(traceId: string, options?: GenerateAssertionsOptions): Promise<TraceAssertion[]>;
|
|
@@ -3292,6 +3324,17 @@ interface ReplayOptions {
|
|
|
3292
3324
|
* replays nothing.
|
|
3293
3325
|
*/
|
|
3294
3326
|
onlyWithAssertions?: boolean;
|
|
3327
|
+
/**
|
|
3328
|
+
* Replay only the selected traces that carry an approved assertion in one of
|
|
3329
|
+
* these categories.
|
|
3330
|
+
*
|
|
3331
|
+
* Narrows a `traceIds` or `datasetIds` selection the way `onlyWithAssertions`
|
|
3332
|
+
* does, but counts only assertions filed under a named category. It changes
|
|
3333
|
+
* which traces replay, not which assertions are judged on each replay.
|
|
3334
|
+
* Passing it without `traceIds`, `datasetId` or `datasetIds` throws a
|
|
3335
|
+
* `BitfabError`. A selection that narrows to nothing replays nothing.
|
|
3336
|
+
*/
|
|
3337
|
+
categoryIds?: string[];
|
|
3295
3338
|
skipAssertionJudging?: boolean;
|
|
3296
3339
|
judgeAssertions?: boolean;
|
|
3297
3340
|
/**
|
|
@@ -5319,7 +5362,7 @@ interface CommitRef {
|
|
|
5319
5362
|
/**
|
|
5320
5363
|
* SDK version from package.json (injected at build time)
|
|
5321
5364
|
*/
|
|
5322
|
-
declare const __version__ = "0.74.
|
|
5365
|
+
declare const __version__ = "0.74.5";
|
|
5323
5366
|
//#endregion
|
|
5324
5367
|
//#region src/constants.d.ts
|
|
5325
5368
|
/**
|
|
@@ -5461,4 +5504,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
5461
5504
|
run?: boolean;
|
|
5462
5505
|
}): Promise<SeedResult>;
|
|
5463
5506
|
//#endregion
|
|
5464
|
-
export { RivetEffectType as $,
|
|
5507
|
+
export { RivetEffectType as $, TraceAssertion as $n, AssertionCategoriesClient as $r, LabelSource as $t, SpanMethodDecoratorContext as A, ReplayNodeIdentity as Ai, GenerateScenarioOptions as An, DatasetGraderRef as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, Assignee as Bi, ScenarioAction as Bn, RemoveDatasetGradersResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, SpanNodeMeta as Ci, AssertionGenerationTimeoutError as Cn, ExperimentTally as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, DbSnapshotProvider as Di, AssertionRewriteStatus as Dn, AddDatasetGradersResult as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotConfig as Ei, AssertionRewrite as En, ListExperimentsParams as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, BamlExecutionResult as Fi, SaveScenarioData as Fn, GraderRerunProgress as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioDataOrigin as Gn, SaveDatasetResult as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, JustificationSpan as Hi, ScenarioCreationStatus as Hn, RerunGradersOptions as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ProviderDefinition as Ii, SaveScenarioHistoryEntry as In, GraderRerunResult as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioHistoryEntry as Jn, BitfabVercelAiHandler as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioDataSources as Kn, UpdateDatasetParams as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, ApprovalFields as Li, SaveScenarioParams as Ln, GraderRerunStatus as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, SelectiveReplayOptions as Mi, SaveAssertionsAllParams as Mn, DatasetsClient as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, SelectiveReplayReport as Ni, SaveAssertionsParams as Nn, GraderRerun as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, DbSnapshotRef as Oi, AssertionVerdictEvidence as On, AddDatasetTracesResult as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, AllowedEnvVars as Pi, SaveScenarioActualOutcome as Pn, GraderRerunError as Pr, GraderLabel as Pt, RivetContextLike as Q, ScenarioTrigger as Qn, BitfabClaudeAgentHandler as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, ApprovalState as Ri, SavedTraceAssertion as Rn, GraderRerunTimeoutError as Rr, GraderVerdict as Rt, DetachedTrace as S, NodeMatcher as Si, AssertionGenerationStatus as Sn, ExperimentSummaryResult as Sr, BitfabPiIntegration as St, ReseedOptions as T, MixedTracingError as Ti, AssertionLabelEvidence as Tn, ExperimentsClient as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioData as Un, RerunGradersResult as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, Justification as Vi, ScenarioActualOutcome as Vn, RemoveDatasetTracesResult as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataAppend as Wn, SaveDatasetParams as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioRecordInput as Xn, VercelGenerateResult as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioRecord as Yn, VercelCallParams as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, ScenarioSource as Zn, VercelStreamResult as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideCtx as _i, AssertionCode as _n, ExperimentStatus as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, SaveAssertionCategoryParams as ai, TraceLabels as an, TraceSearchResult as ar, DbBranchOptions as at, CurrentSpan as b, MockValue as bi, AssertionGeneration as bn, ExperimentSummaryExampleTrace as br, ReplayInterrupt as bt, SeedResult as c, CodeChangeFile as ci, VerdictAction as cn, TracesClient as cr, ReplayError as ct, seedFromRegistry as d, SpanOccurrence as di, VerdictSource as dn, ExperimentCodeChangeTotals as dr, ReplayItemFinishProgress as dt, AssertionCategory as ei, LabelStatus as en, TraceAssertionSource as er, RivetIntegrationOptions as et, finalizers as f, SpanType as fi, VerdictStatus as fn, ExperimentJitter as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverride as gi, ArchiveAssertionsParams as gn, ExperimentRunBy as gr, ReplayResult as gt, CommitRef as h, DbBranchTimings as hi, VerdictsClient as hn, ExperimentRollupResult as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, CategorySummary as ii, PassFailVerdict as in, TraceSearchParams as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayDecision as ji, SaveAssertion as jn, DatasetTraceIds as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, SUPPORTED_PROVIDERS as ki, GenerateAssertionsOptions as kn, Dataset as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, HttpClient as li, VerdictConfidence as ln, Experiment as lr, ReplayExperiment as lt, __version__ as m, flushTraces as mi, VerdictUpdate as mn, ExperimentRollup as mr, ReplayProgress as mt, ReplayRegistration as n, CategoriesClient as ni, LabelUpdate as nn, TraceAssertionsUpdate as nr, AdaptContext as nt, ReseedRegistryResult as o, SaveCategoryParams as oi, TraceVerdicts as on, TraceTarget as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, TokenUsage as pi, VerdictTarget as pn, ExperimentPage as pr, ReplayOptions as pt, SpanListField as q, ScenarioGeneration as qn, BitfabLanguageModelMiddleware as qr, HumanLabelUpdate as qt, ReplayRegistry as r, Category as ri, LabelsClient as rn, TraceSearchFilters as rr, AdaptInputsFn as rt, SeedCase as s, CapturedSpan as si, Verdict as sn, TraceTargetOccurrence as sr, MockStrategy as st, ReplayOptionsFactory as t, AssertionCategorySummary as ti, LabelTarget as tn, TraceAssertionsResult as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanLookup as ui, VerdictOutcome as un, ExperimentCategoryTally as ur, ReplayItem as ut, BitfabFunction as v, MockOverrideInput as vi, AssertionCodeDraft as vn, ExperimentSummary as vr, reportReplayProgress as vt, NodeOptions as w, BitfabError as wi, AssertionKind as wn, ExperimentTotals as wr, OrganizationMember as wt, CurrentTrace as x, NO_MOCK_OVERRIDE as xi, AssertionGenerationError as xn, ExperimentSummaryFacts as xr, ReplayInterruptSignal as xt, CaptureWhen as y, MockOverrideResolver as yi, AssertionEvidenceParameter as yn, ExperimentSummaryBeforeAfter as yr, serializeReplayResult as yt, getCurrentSpan as z, Approver as zi, Scenario as zn, ListDatasetsParams as zr, GraderVerdictOutcome as zt };
|
|
@@ -778,7 +778,7 @@ declare class HttpClient {
|
|
|
778
778
|
* Start a replay session by fetching historical traces.
|
|
779
779
|
* Blocking call - creates an experiment and returns lightweight item references.
|
|
780
780
|
*/
|
|
781
|
-
startReplay(traceFunctionKey: string, limit: number | undefined, traceIds?: string[], name?: string, codeChangeDescription?: string | null, codeChangeFiles?: CodeChangeFile[] | null, includeDbBranchLease?: boolean, experimentGroupId?: string, datasetIds?: string[], graderIds?: string[], dbBranchSettings?: DbBranchSettings, attempts?: number, includeOriginalMetadata?: boolean, onlyWithAssertions?: boolean, skipAssertionJudging?: boolean, experimentalSelectiveReplay?: SelectiveReplayOptions, notes?: string, metadata?: Record<string, string>, dryRun?: boolean, experimentGroupName?: string, invocation?: ReplayInvocation, codeChangeType?: CodeChangeType): Promise<StartReplayResponse>;
|
|
781
|
+
startReplay(traceFunctionKey: string, limit: number | undefined, traceIds?: string[], name?: string, codeChangeDescription?: string | null, codeChangeFiles?: CodeChangeFile[] | null, includeDbBranchLease?: boolean, experimentGroupId?: string, datasetIds?: string[], graderIds?: string[], dbBranchSettings?: DbBranchSettings, attempts?: number, includeOriginalMetadata?: boolean, onlyWithAssertions?: boolean, skipAssertionJudging?: boolean, experimentalSelectiveReplay?: SelectiveReplayOptions, notes?: string, metadata?: Record<string, string>, dryRun?: boolean, experimentGroupName?: string, invocation?: ReplayInvocation, codeChangeType?: CodeChangeType, categoryIds?: string[]): Promise<StartReplayResponse>;
|
|
782
782
|
resumeReplay(experimentId: string, traceFunctionKey: string, codeChangeFiles?: CodeChangeFile[] | null, force?: boolean): Promise<ResumeReplayResponse>;
|
|
783
783
|
/**
|
|
784
784
|
* Fetch an external span by ID.
|
|
@@ -1833,8 +1833,14 @@ type SaveAssertion = {
|
|
|
1833
1833
|
failCriteria?: string | null;
|
|
1834
1834
|
targetOnEvaluatedTrace?: TraceTarget | null;
|
|
1835
1835
|
/**
|
|
1836
|
-
* Who decides this assertion. Send `"code"` or `"hybrid"`
|
|
1837
|
-
* `code
|
|
1836
|
+
* Who decides this assertion. Send `"code"` or `"hybrid"` with `code` to set
|
|
1837
|
+
* the code yourself, or without `code` on an assertion that has none yet to
|
|
1838
|
+
* have Bitfab write it: the text is checked by the guided rewrite (unless
|
|
1839
|
+
* skipped), code of that kind is written and run on this trace, and the save
|
|
1840
|
+
* waits for both. The returned `codeDraft` says whether working code was
|
|
1841
|
+
* written. At most 10 assertions per save may ask for code this way, and a
|
|
1842
|
+
* save that asks for any waits up to five minutes. Omit on an edit to keep
|
|
1843
|
+
* it, pass `"judge"` to remove the code.
|
|
1838
1844
|
*/
|
|
1839
1845
|
kind?: AssertionKind;
|
|
1840
1846
|
/**
|
|
@@ -2142,7 +2148,9 @@ type SaveAssertionsParams = {
|
|
|
2142
2148
|
* assertion, usually within a minute. The save does not wait for the
|
|
2143
2149
|
* check: each checked assertion comes back with `rewrite.status` set to
|
|
2144
2150
|
* `pending`. Read the result later with `getAssertions`, whose rows carry
|
|
2145
|
-
* `rewrite`.
|
|
2151
|
+
* `rewrite`. An entry that asks Bitfab to write its code (kind `"code"` or
|
|
2152
|
+
* `"hybrid"` with no `code`) is checked before the save returns instead, so
|
|
2153
|
+
* its `rewrite` is already final.
|
|
2146
2154
|
*/
|
|
2147
2155
|
skipGuidedRewrite?: boolean;
|
|
2148
2156
|
};
|
|
@@ -2159,7 +2167,9 @@ type SaveAssertionsAllParams = {
|
|
|
2159
2167
|
* assertion, usually within a minute. The save does not wait for the
|
|
2160
2168
|
* check: each checked assertion comes back with `rewrite.status` set to
|
|
2161
2169
|
* `pending`. Read the result later with `getAssertions`, whose rows carry
|
|
2162
|
-
* `rewrite`.
|
|
2170
|
+
* `rewrite`. An entry that asks Bitfab to write its code (kind `"code"` or
|
|
2171
|
+
* `"hybrid"` with no `code`) is checked before the save returns instead, so
|
|
2172
|
+
* its `rewrite` is already final.
|
|
2163
2173
|
*/
|
|
2164
2174
|
skipGuidedRewrite?: boolean;
|
|
2165
2175
|
};
|
|
@@ -2197,6 +2207,24 @@ type AssertionRewrite = {
|
|
|
2197
2207
|
*/
|
|
2198
2208
|
type SavedTraceAssertion = TraceAssertion & {
|
|
2199
2209
|
rewrite: AssertionRewrite;
|
|
2210
|
+
/**
|
|
2211
|
+
* What happened to an entry that sent kind `"code"` or `"hybrid"` with no
|
|
2212
|
+
* code for Bitfab to write, or null for every other entry.
|
|
2213
|
+
*/
|
|
2214
|
+
codeDraft: AssertionCodeDraft | null;
|
|
2215
|
+
};
|
|
2216
|
+
/**
|
|
2217
|
+
* Whether Bitfab wrote code for an assertion that asked for it. `written`: the
|
|
2218
|
+
* code was saved with `requestedKind` and ran on the trace. `not_written`: no
|
|
2219
|
+
* working code could be written, so the assertion was saved as a `"judge"`
|
|
2220
|
+
* assertion without code, and `reason` says why. Reword the assertion and ask
|
|
2221
|
+
* again, or send the code yourself.
|
|
2222
|
+
*/
|
|
2223
|
+
type AssertionCodeDraft = {
|
|
2224
|
+
requestedKind: Exclude<AssertionKind, "judge">;
|
|
2225
|
+
status: "written" | "not_written";
|
|
2226
|
+
/** Why no code was written, or null when it was. */
|
|
2227
|
+
reason: string | null;
|
|
2200
2228
|
};
|
|
2201
2229
|
type ArchiveAssertionsParams = {
|
|
2202
2230
|
traceId: string;
|
|
@@ -2252,7 +2280,9 @@ declare class TracesClient {
|
|
|
2252
2280
|
* breaks the writing rules in place in the background, usually within a
|
|
2253
2281
|
* minute. Read the result later with `getAssertions`: each row's `rewrite`
|
|
2254
2282
|
* says what changed and lists in `separateAssertions` any other claim to
|
|
2255
|
-
* save as its own assertion.
|
|
2283
|
+
* save as its own assertion. Entries that ask Bitfab to write their code
|
|
2284
|
+
* are checked and given code before the call returns, so their `rewrite`
|
|
2285
|
+
* and `codeDraft` are final.
|
|
2256
2286
|
*/
|
|
2257
2287
|
saveAssertions(params: SaveAssertionsParams): Promise<SavedTraceAssertion[]>;
|
|
2258
2288
|
/**
|
|
@@ -2263,7 +2293,9 @@ declare class TracesClient {
|
|
|
2263
2293
|
* usually within a minute. Read the result later with `getAssertions`: each
|
|
2264
2294
|
* row's `rewrite` says what changed and lists in `separateAssertions` any
|
|
2265
2295
|
* other claim to save as its own assertion. A check that has not finished
|
|
2266
|
-
* 15 minutes after the save reads as `check_failed`.
|
|
2296
|
+
* 15 minutes after the save reads as `check_failed`. Entries that ask Bitfab
|
|
2297
|
+
* to write their code are checked and given code before the call returns,
|
|
2298
|
+
* so their `rewrite` and `codeDraft` are final.
|
|
2267
2299
|
*/
|
|
2268
2300
|
saveAssertionsAll(params: SaveAssertionsAllParams): Promise<SavedTraceAssertion[]>;
|
|
2269
2301
|
generateAssertions(traceId: string, options?: GenerateAssertionsOptions): Promise<TraceAssertion[]>;
|
|
@@ -3292,6 +3324,17 @@ interface ReplayOptions {
|
|
|
3292
3324
|
* replays nothing.
|
|
3293
3325
|
*/
|
|
3294
3326
|
onlyWithAssertions?: boolean;
|
|
3327
|
+
/**
|
|
3328
|
+
* Replay only the selected traces that carry an approved assertion in one of
|
|
3329
|
+
* these categories.
|
|
3330
|
+
*
|
|
3331
|
+
* Narrows a `traceIds` or `datasetIds` selection the way `onlyWithAssertions`
|
|
3332
|
+
* does, but counts only assertions filed under a named category. It changes
|
|
3333
|
+
* which traces replay, not which assertions are judged on each replay.
|
|
3334
|
+
* Passing it without `traceIds`, `datasetId` or `datasetIds` throws a
|
|
3335
|
+
* `BitfabError`. A selection that narrows to nothing replays nothing.
|
|
3336
|
+
*/
|
|
3337
|
+
categoryIds?: string[];
|
|
3295
3338
|
skipAssertionJudging?: boolean;
|
|
3296
3339
|
judgeAssertions?: boolean;
|
|
3297
3340
|
/**
|
|
@@ -5319,7 +5362,7 @@ interface CommitRef {
|
|
|
5319
5362
|
/**
|
|
5320
5363
|
* SDK version from package.json (injected at build time)
|
|
5321
5364
|
*/
|
|
5322
|
-
declare const __version__ = "0.74.
|
|
5365
|
+
declare const __version__ = "0.74.5";
|
|
5323
5366
|
//#endregion
|
|
5324
5367
|
//#region src/constants.d.ts
|
|
5325
5368
|
/**
|
|
@@ -5461,4 +5504,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
5461
5504
|
run?: boolean;
|
|
5462
5505
|
}): Promise<SeedResult>;
|
|
5463
5506
|
//#endregion
|
|
5464
|
-
export { RivetEffectType as $,
|
|
5507
|
+
export { RivetEffectType as $, TraceAssertion as $n, AssertionCategoriesClient as $r, LabelSource as $t, SpanMethodDecoratorContext as A, ReplayNodeIdentity as Ai, GenerateScenarioOptions as An, DatasetGraderRef as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, Assignee as Bi, ScenarioAction as Bn, RemoveDatasetGradersResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, SpanNodeMeta as Ci, AssertionGenerationTimeoutError as Cn, ExperimentTally as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, DbSnapshotProvider as Di, AssertionRewriteStatus as Dn, AddDatasetGradersResult as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotConfig as Ei, AssertionRewrite as En, ListExperimentsParams as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, BamlExecutionResult as Fi, SaveScenarioData as Fn, GraderRerunProgress as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioDataOrigin as Gn, SaveDatasetResult as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, JustificationSpan as Hi, ScenarioCreationStatus as Hn, RerunGradersOptions as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ProviderDefinition as Ii, SaveScenarioHistoryEntry as In, GraderRerunResult as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioHistoryEntry as Jn, BitfabVercelAiHandler as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioDataSources as Kn, UpdateDatasetParams as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, ApprovalFields as Li, SaveScenarioParams as Ln, GraderRerunStatus as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, SelectiveReplayOptions as Mi, SaveAssertionsAllParams as Mn, DatasetsClient as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, SelectiveReplayReport as Ni, SaveAssertionsParams as Nn, GraderRerun as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, DbSnapshotRef as Oi, AssertionVerdictEvidence as On, AddDatasetTracesResult as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, AllowedEnvVars as Pi, SaveScenarioActualOutcome as Pn, GraderRerunError as Pr, GraderLabel as Pt, RivetContextLike as Q, ScenarioTrigger as Qn, BitfabClaudeAgentHandler as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, ApprovalState as Ri, SavedTraceAssertion as Rn, GraderRerunTimeoutError as Rr, GraderVerdict as Rt, DetachedTrace as S, NodeMatcher as Si, AssertionGenerationStatus as Sn, ExperimentSummaryResult as Sr, BitfabPiIntegration as St, ReseedOptions as T, MixedTracingError as Ti, AssertionLabelEvidence as Tn, ExperimentsClient as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioData as Un, RerunGradersResult as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, Justification as Vi, ScenarioActualOutcome as Vn, RemoveDatasetTracesResult as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataAppend as Wn, SaveDatasetParams as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioRecordInput as Xn, VercelGenerateResult as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioRecord as Yn, VercelCallParams as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, ScenarioSource as Zn, VercelStreamResult as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideCtx as _i, AssertionCode as _n, ExperimentStatus as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, SaveAssertionCategoryParams as ai, TraceLabels as an, TraceSearchResult as ar, DbBranchOptions as at, CurrentSpan as b, MockValue as bi, AssertionGeneration as bn, ExperimentSummaryExampleTrace as br, ReplayInterrupt as bt, SeedResult as c, CodeChangeFile as ci, VerdictAction as cn, TracesClient as cr, ReplayError as ct, seedFromRegistry as d, SpanOccurrence as di, VerdictSource as dn, ExperimentCodeChangeTotals as dr, ReplayItemFinishProgress as dt, AssertionCategory as ei, LabelStatus as en, TraceAssertionSource as er, RivetIntegrationOptions as et, finalizers as f, SpanType as fi, VerdictStatus as fn, ExperimentJitter as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverride as gi, ArchiveAssertionsParams as gn, ExperimentRunBy as gr, ReplayResult as gt, CommitRef as h, DbBranchTimings as hi, VerdictsClient as hn, ExperimentRollupResult as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, CategorySummary as ii, PassFailVerdict as in, TraceSearchParams as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayDecision as ji, SaveAssertion as jn, DatasetTraceIds as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, SUPPORTED_PROVIDERS as ki, GenerateAssertionsOptions as kn, Dataset as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, HttpClient as li, VerdictConfidence as ln, Experiment as lr, ReplayExperiment as lt, __version__ as m, flushTraces as mi, VerdictUpdate as mn, ExperimentRollup as mr, ReplayProgress as mt, ReplayRegistration as n, CategoriesClient as ni, LabelUpdate as nn, TraceAssertionsUpdate as nr, AdaptContext as nt, ReseedRegistryResult as o, SaveCategoryParams as oi, TraceVerdicts as on, TraceTarget as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, TokenUsage as pi, VerdictTarget as pn, ExperimentPage as pr, ReplayOptions as pt, SpanListField as q, ScenarioGeneration as qn, BitfabLanguageModelMiddleware as qr, HumanLabelUpdate as qt, ReplayRegistry as r, Category as ri, LabelsClient as rn, TraceSearchFilters as rr, AdaptInputsFn as rt, SeedCase as s, CapturedSpan as si, Verdict as sn, TraceTargetOccurrence as sr, MockStrategy as st, ReplayOptionsFactory as t, AssertionCategorySummary as ti, LabelTarget as tn, TraceAssertionsResult as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanLookup as ui, VerdictOutcome as un, ExperimentCategoryTally as ur, ReplayItem as ut, BitfabFunction as v, MockOverrideInput as vi, AssertionCodeDraft as vn, ExperimentSummary as vr, reportReplayProgress as vt, NodeOptions as w, BitfabError as wi, AssertionKind as wn, ExperimentTotals as wr, OrganizationMember as wt, CurrentTrace as x, NO_MOCK_OVERRIDE as xi, AssertionGenerationError as xn, ExperimentSummaryFacts as xr, ReplayInterruptSignal as xt, CaptureWhen as y, MockOverrideResolver as yi, AssertionEvidenceParameter as yn, ExperimentSummaryBeforeAfter as yr, serializeReplayResult as yt, getCurrentSpan as z, Approver as zi, Scenario as zn, ListDatasetsParams as zr, GraderVerdictOutcome as zt };
|
package/dist/index.cjs
CHANGED
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_src = require("./src-
|
|
6
|
-
const require_http = require("./http-
|
|
5
|
+
const require_src = require("./src-B7Xv4aR2.cjs");
|
|
6
|
+
const require_http = require("./http-DNmzk2gf.cjs");
|
|
7
7
|
exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
|
|
8
8
|
exports.AssertionGenerationError = require_src.AssertionGenerationError;
|
|
9
9
|
exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RivetEffectType, $n as
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as RivetEffectType, $n as TraceAssertion, $r as AssertionCategoriesClient, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as ReplayNodeIdentity, An as GenerateScenarioOptions, Ar as DatasetGraderRef, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Assignee, Bn as ScenarioAction, Br as RemoveDatasetGradersResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as SpanNodeMeta, Cn as AssertionGenerationTimeoutError, Cr as ExperimentTally, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotProvider, Dn as AssertionRewriteStatus, Dr as AddDatasetGradersResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotConfig, En as AssertionRewrite, Er as ListExperimentsParams, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as BamlExecutionResult, Fn as SaveScenarioData, Fr as GraderRerunProgress, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataOrigin, Gr as SaveDatasetResult, Gt as AssertionVerdict, H as ActiveSpanContext, Hi as JustificationSpan, Hn as ScenarioCreationStatus, Hr as RerunGradersOptions, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ProviderDefinition, In as SaveScenarioHistoryEntry, Ir as GraderRerunResult, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioHistoryEntry, Jr as BitfabVercelAiHandler, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioDataSources, Kr as UpdateDatasetParams, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalFields, Ln as SaveScenarioParams, Lr as GraderRerunStatus, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayOptions, Mn as SaveAssertionsAllParams, Mr as DatasetsClient, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as SelectiveReplayReport, Nn as SaveAssertionsParams, Nr as GraderRerun, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as DbSnapshotRef, On as AssertionVerdictEvidence, Or as AddDatasetTracesResult, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as AllowedEnvVars, Pn as SaveScenarioActualOutcome, Pr as GraderRerunError, Pt as GraderLabel, Q as RivetContextLike, Qn as ScenarioTrigger, Qr as BitfabClaudeAgentHandler, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as ApprovalState, Rn as SavedTraceAssertion, Rr as GraderRerunTimeoutError, Rt as GraderVerdict, S as DetachedTrace, Si as NodeMatcher, Sn as AssertionGenerationStatus, Sr as ExperimentSummaryResult, St as BitfabPiIntegration, T as ReseedOptions, Ti as MixedTracingError, Tn as AssertionLabelEvidence, Tr as ExperimentsClient, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioData, Ur as RerunGradersResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as Justification, Vn as ScenarioActualOutcome, Vr as RemoveDatasetTracesResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataAppend, Wr as SaveDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioRecordInput, Xr as VercelGenerateResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecord, Yr as VercelCallParams, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioSource, Zr as VercelStreamResult, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideCtx, _n as AssertionCode, _r as ExperimentStatus, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveAssertionCategoryParams, an as TraceLabels, ar as TraceSearchResult, at as DbBranchOptions, b as CurrentSpan, bi as MockValue, bn as AssertionGeneration, br as ExperimentSummaryExampleTrace, bt as ReplayInterrupt, c as SeedResult, ci as CodeChangeFile, cn as VerdictAction, cr as TracesClient, ct as ReplayError, d as seedFromRegistry, di as SpanOccurrence, dn as VerdictSource, dr as ExperimentCodeChangeTotals, dt as ReplayItemFinishProgress, ei as AssertionCategory, en as LabelStatus, er as TraceAssertionSource, et as RivetIntegrationOptions, f as finalizers, fi as SpanType, fn as VerdictStatus, fr as ExperimentJitter, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverride, gn as ArchiveAssertionsParams, gr as ExperimentRunBy, gt as ReplayResult, h as CommitRef, hi as DbBranchTimings, hn as VerdictsClient, hr as ExperimentRollupResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as CategorySummary, in as PassFailVerdict, ir as TraceSearchParams, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayDecision, jn as SaveAssertion, jr as DatasetTraceIds, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SUPPORTED_PROVIDERS, kn as GenerateAssertionsOptions, kr as Dataset, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as HttpClient, ln as VerdictConfidence, lr as Experiment, lt as ReplayExperiment, m as __version__, mi as flushTraces, mn as VerdictUpdate, mr as ExperimentRollup, mt as ReplayProgress, n as ReplayRegistration, ni as CategoriesClient, nn as LabelUpdate, nr as TraceAssertionsUpdate, nt as AdaptContext, o as ReseedRegistryResult, oi as SaveCategoryParams, on as TraceVerdicts, or as TraceTarget, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as TokenUsage, pn as VerdictTarget, pr as ExperimentPage, pt as ReplayOptions, q as SpanListField, qn as ScenarioGeneration, qr as BitfabLanguageModelMiddleware, qt as HumanLabelUpdate, r as ReplayRegistry, ri as Category, rn as LabelsClient, rr as TraceSearchFilters, rt as AdaptInputsFn, s as SeedCase, si as CapturedSpan, sn as Verdict, sr as TraceTargetOccurrence, st as MockStrategy, t as ReplayOptionsFactory, ti as AssertionCategorySummary, tn as LabelTarget, tr as TraceAssertionsResult, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanLookup, un as VerdictOutcome, ur as ExperimentCategoryTally, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideInput, vn as AssertionCodeDraft, vr as ExperimentSummary, vt as reportReplayProgress, w as NodeOptions, wi as BitfabError, wn as AssertionKind, wr as ExperimentTotals, wt as OrganizationMember, x as CurrentTrace, xi as NO_MOCK_OVERRIDE, xn as AssertionGenerationError, xr as ExperimentSummaryFacts, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockOverrideResolver, yn as AssertionEvidenceParameter, yr as ExperimentSummaryBeforeAfter, yt as serializeReplayResult, z as getCurrentSpan, zi as Approver, zn as Scenario, zr as ListDatasetsParams, zt as GraderVerdictOutcome } from "./index-PwbvfBty.cjs";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RivetEffectType, $n as
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as RivetEffectType, $n as TraceAssertion, $r as AssertionCategoriesClient, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as ReplayNodeIdentity, An as GenerateScenarioOptions, Ar as DatasetGraderRef, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Assignee, Bn as ScenarioAction, Br as RemoveDatasetGradersResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as SpanNodeMeta, Cn as AssertionGenerationTimeoutError, Cr as ExperimentTally, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotProvider, Dn as AssertionRewriteStatus, Dr as AddDatasetGradersResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotConfig, En as AssertionRewrite, Er as ListExperimentsParams, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as BamlExecutionResult, Fn as SaveScenarioData, Fr as GraderRerunProgress, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataOrigin, Gr as SaveDatasetResult, Gt as AssertionVerdict, H as ActiveSpanContext, Hi as JustificationSpan, Hn as ScenarioCreationStatus, Hr as RerunGradersOptions, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ProviderDefinition, In as SaveScenarioHistoryEntry, Ir as GraderRerunResult, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioHistoryEntry, Jr as BitfabVercelAiHandler, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioDataSources, Kr as UpdateDatasetParams, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalFields, Ln as SaveScenarioParams, Lr as GraderRerunStatus, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayOptions, Mn as SaveAssertionsAllParams, Mr as DatasetsClient, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as SelectiveReplayReport, Nn as SaveAssertionsParams, Nr as GraderRerun, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as DbSnapshotRef, On as AssertionVerdictEvidence, Or as AddDatasetTracesResult, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as AllowedEnvVars, Pn as SaveScenarioActualOutcome, Pr as GraderRerunError, Pt as GraderLabel, Q as RivetContextLike, Qn as ScenarioTrigger, Qr as BitfabClaudeAgentHandler, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as ApprovalState, Rn as SavedTraceAssertion, Rr as GraderRerunTimeoutError, Rt as GraderVerdict, S as DetachedTrace, Si as NodeMatcher, Sn as AssertionGenerationStatus, Sr as ExperimentSummaryResult, St as BitfabPiIntegration, T as ReseedOptions, Ti as MixedTracingError, Tn as AssertionLabelEvidence, Tr as ExperimentsClient, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioData, Ur as RerunGradersResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as Justification, Vn as ScenarioActualOutcome, Vr as RemoveDatasetTracesResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataAppend, Wr as SaveDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioRecordInput, Xr as VercelGenerateResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecord, Yr as VercelCallParams, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioSource, Zr as VercelStreamResult, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideCtx, _n as AssertionCode, _r as ExperimentStatus, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveAssertionCategoryParams, an as TraceLabels, ar as TraceSearchResult, at as DbBranchOptions, b as CurrentSpan, bi as MockValue, bn as AssertionGeneration, br as ExperimentSummaryExampleTrace, bt as ReplayInterrupt, c as SeedResult, ci as CodeChangeFile, cn as VerdictAction, cr as TracesClient, ct as ReplayError, d as seedFromRegistry, di as SpanOccurrence, dn as VerdictSource, dr as ExperimentCodeChangeTotals, dt as ReplayItemFinishProgress, ei as AssertionCategory, en as LabelStatus, er as TraceAssertionSource, et as RivetIntegrationOptions, f as finalizers, fi as SpanType, fn as VerdictStatus, fr as ExperimentJitter, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverride, gn as ArchiveAssertionsParams, gr as ExperimentRunBy, gt as ReplayResult, h as CommitRef, hi as DbBranchTimings, hn as VerdictsClient, hr as ExperimentRollupResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as CategorySummary, in as PassFailVerdict, ir as TraceSearchParams, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayDecision, jn as SaveAssertion, jr as DatasetTraceIds, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SUPPORTED_PROVIDERS, kn as GenerateAssertionsOptions, kr as Dataset, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as HttpClient, ln as VerdictConfidence, lr as Experiment, lt as ReplayExperiment, m as __version__, mi as flushTraces, mn as VerdictUpdate, mr as ExperimentRollup, mt as ReplayProgress, n as ReplayRegistration, ni as CategoriesClient, nn as LabelUpdate, nr as TraceAssertionsUpdate, nt as AdaptContext, o as ReseedRegistryResult, oi as SaveCategoryParams, on as TraceVerdicts, or as TraceTarget, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as TokenUsage, pn as VerdictTarget, pr as ExperimentPage, pt as ReplayOptions, q as SpanListField, qn as ScenarioGeneration, qr as BitfabLanguageModelMiddleware, qt as HumanLabelUpdate, r as ReplayRegistry, ri as Category, rn as LabelsClient, rr as TraceSearchFilters, rt as AdaptInputsFn, s as SeedCase, si as CapturedSpan, sn as Verdict, sr as TraceTargetOccurrence, st as MockStrategy, t as ReplayOptionsFactory, ti as AssertionCategorySummary, tn as LabelTarget, tr as TraceAssertionsResult, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanLookup, un as VerdictOutcome, ur as ExperimentCategoryTally, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideInput, vn as AssertionCodeDraft, vr as ExperimentSummary, vt as reportReplayProgress, w as NodeOptions, wi as BitfabError, wn as AssertionKind, wr as ExperimentTotals, wt as OrganizationMember, x as CurrentTrace, xi as NO_MOCK_OVERRIDE, xn as AssertionGenerationError, xr as ExperimentSummaryFacts, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockOverrideResolver, yn as AssertionEvidenceParameter, yr as ExperimentSummaryBeforeAfter, yt as serializeReplayResult, z as getCurrentSpan, zi as Approver, zn as Scenario, zr as ListDatasetsParams, zt as GraderVerdictOutcome } from "./index-PwbvfBty.js";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-
|
|
2
|
-
import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-
|
|
1
|
+
import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-Ch86hs9i.js";
|
|
2
|
+
import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-C_t7m9b_.js";
|
|
3
3
|
export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.cjs
CHANGED
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_src = require("./src-
|
|
6
|
-
const require_http = require("./http-
|
|
5
|
+
const require_src = require("./src-B7Xv4aR2.cjs");
|
|
6
|
+
const require_http = require("./http-DNmzk2gf.cjs");
|
|
7
7
|
const require_autoTrace = require("./autoTrace-DPWV1Xzr.cjs");
|
|
8
8
|
let async_hooks = require("async_hooks");
|
|
9
9
|
//#region src/asyncStorageNode.ts
|
package/dist/node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RivetEffectType, $n as
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as RivetEffectType, $n as TraceAssertion, $r as AssertionCategoriesClient, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as ReplayNodeIdentity, An as GenerateScenarioOptions, Ar as DatasetGraderRef, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Assignee, Bn as ScenarioAction, Br as RemoveDatasetGradersResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as SpanNodeMeta, Cn as AssertionGenerationTimeoutError, Cr as ExperimentTally, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotProvider, Dn as AssertionRewriteStatus, Dr as AddDatasetGradersResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotConfig, En as AssertionRewrite, Er as ListExperimentsParams, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as BamlExecutionResult, Fn as SaveScenarioData, Fr as GraderRerunProgress, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataOrigin, Gr as SaveDatasetResult, Gt as AssertionVerdict, H as ActiveSpanContext, Hi as JustificationSpan, Hn as ScenarioCreationStatus, Hr as RerunGradersOptions, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ProviderDefinition, In as SaveScenarioHistoryEntry, Ir as GraderRerunResult, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioHistoryEntry, Jr as BitfabVercelAiHandler, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioDataSources, Kr as UpdateDatasetParams, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalFields, Ln as SaveScenarioParams, Lr as GraderRerunStatus, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayOptions, Mn as SaveAssertionsAllParams, Mr as DatasetsClient, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as SelectiveReplayReport, Nn as SaveAssertionsParams, Nr as GraderRerun, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as DbSnapshotRef, On as AssertionVerdictEvidence, Or as AddDatasetTracesResult, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as AllowedEnvVars, Pn as SaveScenarioActualOutcome, Pr as GraderRerunError, Pt as GraderLabel, Q as RivetContextLike, Qn as ScenarioTrigger, Qr as BitfabClaudeAgentHandler, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as ApprovalState, Rn as SavedTraceAssertion, Rr as GraderRerunTimeoutError, Rt as GraderVerdict, S as DetachedTrace, Si as NodeMatcher, Sn as AssertionGenerationStatus, Sr as ExperimentSummaryResult, St as BitfabPiIntegration, T as ReseedOptions, Ti as MixedTracingError, Tn as AssertionLabelEvidence, Tr as ExperimentsClient, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioData, Ur as RerunGradersResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as Justification, Vn as ScenarioActualOutcome, Vr as RemoveDatasetTracesResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataAppend, Wr as SaveDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioRecordInput, Xr as VercelGenerateResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecord, Yr as VercelCallParams, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioSource, Zr as VercelStreamResult, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideCtx, _n as AssertionCode, _r as ExperimentStatus, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveAssertionCategoryParams, an as TraceLabels, ar as TraceSearchResult, at as DbBranchOptions, b as CurrentSpan, bi as MockValue, bn as AssertionGeneration, br as ExperimentSummaryExampleTrace, bt as ReplayInterrupt, c as SeedResult, ci as CodeChangeFile, cn as VerdictAction, cr as TracesClient, ct as ReplayError, d as seedFromRegistry, di as SpanOccurrence, dn as VerdictSource, dr as ExperimentCodeChangeTotals, dt as ReplayItemFinishProgress, ei as AssertionCategory, en as LabelStatus, er as TraceAssertionSource, et as RivetIntegrationOptions, f as finalizers, fi as SpanType, fn as VerdictStatus, fr as ExperimentJitter, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverride, gn as ArchiveAssertionsParams, gr as ExperimentRunBy, gt as ReplayResult, h as CommitRef, hi as DbBranchTimings, hn as VerdictsClient, hr as ExperimentRollupResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as CategorySummary, in as PassFailVerdict, ir as TraceSearchParams, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayDecision, jn as SaveAssertion, jr as DatasetTraceIds, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SUPPORTED_PROVIDERS, kn as GenerateAssertionsOptions, kr as Dataset, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as HttpClient, ln as VerdictConfidence, lr as Experiment, lt as ReplayExperiment, m as __version__, mi as flushTraces, mn as VerdictUpdate, mr as ExperimentRollup, mt as ReplayProgress, n as ReplayRegistration, ni as CategoriesClient, nn as LabelUpdate, nr as TraceAssertionsUpdate, nt as AdaptContext, o as ReseedRegistryResult, oi as SaveCategoryParams, on as TraceVerdicts, or as TraceTarget, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as TokenUsage, pn as VerdictTarget, pr as ExperimentPage, pt as ReplayOptions, q as SpanListField, qn as ScenarioGeneration, qr as BitfabLanguageModelMiddleware, qt as HumanLabelUpdate, r as ReplayRegistry, ri as Category, rn as LabelsClient, rr as TraceSearchFilters, rt as AdaptInputsFn, s as SeedCase, si as CapturedSpan, sn as Verdict, sr as TraceTargetOccurrence, st as MockStrategy, t as ReplayOptionsFactory, ti as AssertionCategorySummary, tn as LabelTarget, tr as TraceAssertionsResult, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanLookup, un as VerdictOutcome, ur as ExperimentCategoryTally, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideInput, vn as AssertionCodeDraft, vr as ExperimentSummary, vt as reportReplayProgress, w as NodeOptions, wi as BitfabError, wn as AssertionKind, wr as ExperimentTotals, wt as OrganizationMember, x as CurrentTrace, xi as NO_MOCK_OVERRIDE, xn as AssertionGenerationError, xr as ExperimentSummaryFacts, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockOverrideResolver, yn as AssertionEvidenceParameter, yr as ExperimentSummaryBeforeAfter, yt as serializeReplayResult, z as getCurrentSpan, zi as Approver, zn as Scenario, zr as ListDatasetsParams, zt as GraderVerdictOutcome } from "./index-PwbvfBty.cjs";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|