@bitfab/sdk 0.74.4 → 0.74.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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"` together with
1837
- * `code`. Omit on an edit to keep it, pass `"judge"` to remove the 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[]>;
@@ -5330,7 +5362,7 @@ interface CommitRef {
5330
5362
  /**
5331
5363
  * SDK version from package.json (injected at build time)
5332
5364
  */
5333
- declare const __version__ = "0.74.4";
5365
+ declare const __version__ = "0.74.6";
5334
5366
  //#endregion
5335
5367
  //#region src/constants.d.ts
5336
5368
  /**
@@ -5472,4 +5504,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5472
5504
  run?: boolean;
5473
5505
  }): Promise<SeedResult>;
5474
5506
  //#endregion
5475
- export { RivetEffectType as $, TraceAssertionSource as $n, AssertionCategory as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayDecision as Ai, SaveAssertion as An, DatasetTraceIds as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, Justification as Bi, ScenarioActualOutcome as Bn, RemoveDatasetTracesResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, BitfabError as Ci, AssertionKind as Cn, ExperimentTotals as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, DbSnapshotRef as Di, AssertionVerdictEvidence as Dn, AddDatasetTracesResult as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotProvider as Ei, AssertionRewriteStatus as En, AddDatasetGradersResult as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ProviderDefinition as Fi, SaveScenarioHistoryEntry as Fn, GraderRerunResult as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioDataSources as Gn, UpdateDatasetParams as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioData as Hn, RerunGradersResult as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ApprovalFields as Ii, SaveScenarioParams as In, GraderRerunStatus as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioRecord as Jn, VercelCallParams as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioGeneration as Kn, BitfabLanguageModelMiddleware as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, ApprovalState as Li, SavedTraceAssertion as Ln, GraderRerunTimeoutError as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, SelectiveReplayReport as Mi, SaveAssertionsParams as Mn, GraderRerun as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, AllowedEnvVars as Ni, SaveScenarioActualOutcome as Nn, GraderRerunError as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, SUPPORTED_PROVIDERS as Oi, GenerateAssertionsOptions as On, Dataset as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, BamlExecutionResult as Pi, SaveScenarioData as Pn, GraderRerunProgress as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertion as Qn, AssertionCategoriesClient as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Approver as Ri, Scenario as Rn, ListDatasetsParams as Rr, GraderVerdict as Rt, DetachedTrace as S, SpanNodeMeta as Si, AssertionGenerationTimeoutError as Sn, ExperimentTally as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotConfig as Ti, AssertionRewrite as Tn, ListExperimentsParams as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataAppend as Un, SaveDatasetParams as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, JustificationSpan as Vi, ScenarioCreationStatus as Vn, RerunGradersOptions as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataOrigin as Wn, SaveDatasetResult as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioSource as Xn, VercelStreamResult as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioRecordInput as Yn, VercelGenerateResult as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, ScenarioTrigger as Zn, BitfabClaudeAgentHandler as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideInput as _i, AssertionCode as _n, ExperimentSummary as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, SaveCategoryParams as ai, TraceLabels as an, TraceTarget as ar, DbBranchOptions as at, CurrentSpan as b, NO_MOCK_OVERRIDE as bi, AssertionGenerationError as bn, ExperimentSummaryFacts as br, ReplayInterrupt as bt, SeedResult as c, HttpClient as ci, VerdictAction as cn, Experiment as cr, ReplayError as ct, seedFromRegistry as d, SpanType as di, VerdictSource as dn, ExperimentJitter as dr, ReplayItemFinishProgress as dt, AssertionCategorySummary as ei, LabelStatus as en, TraceAssertionsResult as er, RivetIntegrationOptions as et, finalizers as f, TokenUsage as fi, VerdictStatus as fn, ExperimentPage as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideCtx as gi, ArchiveAssertionsParams as gn, ExperimentStatus as gr, ReplayResult as gt, CommitRef as h, MockOverride as hi, VerdictsClient as hn, ExperimentRunBy as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, SaveAssertionCategoryParams as ii, PassFailVerdict as in, TraceSearchResult as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayOptions as ji, SaveAssertionsAllParams as jn, DatasetsClient as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, ReplayNodeIdentity as ki, GenerateScenarioOptions as kn, DatasetGraderRef as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanLookup as li, VerdictConfidence as ln, ExperimentCategoryTally as lr, ReplayExperiment as lt, __version__ as m, DbBranchTimings as mi, VerdictUpdate as mn, ExperimentRollupResult as mr, ReplayProgress as mt, ReplayRegistration as n, Category as ni, LabelUpdate as nn, TraceSearchFilters as nr, AdaptContext as nt, ReseedRegistryResult as o, CapturedSpan as oi, TraceVerdicts as on, TraceTargetOccurrence as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, flushTraces as pi, VerdictTarget as pn, ExperimentRollup as pr, ReplayOptions as pt, SpanListField as q, ScenarioHistoryEntry as qn, BitfabVercelAiHandler as qr, HumanLabelUpdate as qt, ReplayRegistry as r, CategorySummary as ri, LabelsClient as rn, TraceSearchParams as rr, AdaptInputsFn as rt, SeedCase as s, CodeChangeFile as si, Verdict as sn, TracesClient as sr, MockStrategy as st, ReplayOptionsFactory as t, CategoriesClient as ti, LabelTarget as tn, TraceAssertionsUpdate as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanOccurrence as ui, VerdictOutcome as un, ExperimentCodeChangeTotals as ur, ReplayItem as ut, BitfabFunction as v, MockOverrideResolver as vi, AssertionEvidenceParameter as vn, ExperimentSummaryBeforeAfter as vr, reportReplayProgress as vt, NodeOptions as w, MixedTracingError as wi, AssertionLabelEvidence as wn, ExperimentsClient as wr, OrganizationMember as wt, CurrentTrace as x, NodeMatcher as xi, AssertionGenerationStatus as xn, ExperimentSummaryResult as xr, ReplayInterruptSignal as xt, CaptureWhen as y, MockValue as yi, AssertionGeneration as yn, ExperimentSummaryExampleTrace as yr, serializeReplayResult as yt, getCurrentSpan as z, Assignee as zi, ScenarioAction as zn, RemoveDatasetGradersResult as zr, GraderVerdictOutcome as zt };
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 };
@@ -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"` together with
1837
- * `code`. Omit on an edit to keep it, pass `"judge"` to remove the 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[]>;
@@ -5330,7 +5362,7 @@ interface CommitRef {
5330
5362
  /**
5331
5363
  * SDK version from package.json (injected at build time)
5332
5364
  */
5333
- declare const __version__ = "0.74.4";
5365
+ declare const __version__ = "0.74.6";
5334
5366
  //#endregion
5335
5367
  //#region src/constants.d.ts
5336
5368
  /**
@@ -5472,4 +5504,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5472
5504
  run?: boolean;
5473
5505
  }): Promise<SeedResult>;
5474
5506
  //#endregion
5475
- export { RivetEffectType as $, TraceAssertionSource as $n, AssertionCategory as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayDecision as Ai, SaveAssertion as An, DatasetTraceIds as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, Justification as Bi, ScenarioActualOutcome as Bn, RemoveDatasetTracesResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, BitfabError as Ci, AssertionKind as Cn, ExperimentTotals as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, DbSnapshotRef as Di, AssertionVerdictEvidence as Dn, AddDatasetTracesResult as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotProvider as Ei, AssertionRewriteStatus as En, AddDatasetGradersResult as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ProviderDefinition as Fi, SaveScenarioHistoryEntry as Fn, GraderRerunResult as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioDataSources as Gn, UpdateDatasetParams as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioData as Hn, RerunGradersResult as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ApprovalFields as Ii, SaveScenarioParams as In, GraderRerunStatus as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioRecord as Jn, VercelCallParams as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioGeneration as Kn, BitfabLanguageModelMiddleware as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, ApprovalState as Li, SavedTraceAssertion as Ln, GraderRerunTimeoutError as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, SelectiveReplayReport as Mi, SaveAssertionsParams as Mn, GraderRerun as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, AllowedEnvVars as Ni, SaveScenarioActualOutcome as Nn, GraderRerunError as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, SUPPORTED_PROVIDERS as Oi, GenerateAssertionsOptions as On, Dataset as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, BamlExecutionResult as Pi, SaveScenarioData as Pn, GraderRerunProgress as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertion as Qn, AssertionCategoriesClient as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Approver as Ri, Scenario as Rn, ListDatasetsParams as Rr, GraderVerdict as Rt, DetachedTrace as S, SpanNodeMeta as Si, AssertionGenerationTimeoutError as Sn, ExperimentTally as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotConfig as Ti, AssertionRewrite as Tn, ListExperimentsParams as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataAppend as Un, SaveDatasetParams as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, JustificationSpan as Vi, ScenarioCreationStatus as Vn, RerunGradersOptions as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataOrigin as Wn, SaveDatasetResult as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioSource as Xn, VercelStreamResult as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioRecordInput as Yn, VercelGenerateResult as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, ScenarioTrigger as Zn, BitfabClaudeAgentHandler as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideInput as _i, AssertionCode as _n, ExperimentSummary as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, SaveCategoryParams as ai, TraceLabels as an, TraceTarget as ar, DbBranchOptions as at, CurrentSpan as b, NO_MOCK_OVERRIDE as bi, AssertionGenerationError as bn, ExperimentSummaryFacts as br, ReplayInterrupt as bt, SeedResult as c, HttpClient as ci, VerdictAction as cn, Experiment as cr, ReplayError as ct, seedFromRegistry as d, SpanType as di, VerdictSource as dn, ExperimentJitter as dr, ReplayItemFinishProgress as dt, AssertionCategorySummary as ei, LabelStatus as en, TraceAssertionsResult as er, RivetIntegrationOptions as et, finalizers as f, TokenUsage as fi, VerdictStatus as fn, ExperimentPage as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideCtx as gi, ArchiveAssertionsParams as gn, ExperimentStatus as gr, ReplayResult as gt, CommitRef as h, MockOverride as hi, VerdictsClient as hn, ExperimentRunBy as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, SaveAssertionCategoryParams as ii, PassFailVerdict as in, TraceSearchResult as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayOptions as ji, SaveAssertionsAllParams as jn, DatasetsClient as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, ReplayNodeIdentity as ki, GenerateScenarioOptions as kn, DatasetGraderRef as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanLookup as li, VerdictConfidence as ln, ExperimentCategoryTally as lr, ReplayExperiment as lt, __version__ as m, DbBranchTimings as mi, VerdictUpdate as mn, ExperimentRollupResult as mr, ReplayProgress as mt, ReplayRegistration as n, Category as ni, LabelUpdate as nn, TraceSearchFilters as nr, AdaptContext as nt, ReseedRegistryResult as o, CapturedSpan as oi, TraceVerdicts as on, TraceTargetOccurrence as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, flushTraces as pi, VerdictTarget as pn, ExperimentRollup as pr, ReplayOptions as pt, SpanListField as q, ScenarioHistoryEntry as qn, BitfabVercelAiHandler as qr, HumanLabelUpdate as qt, ReplayRegistry as r, CategorySummary as ri, LabelsClient as rn, TraceSearchParams as rr, AdaptInputsFn as rt, SeedCase as s, CodeChangeFile as si, Verdict as sn, TracesClient as sr, MockStrategy as st, ReplayOptionsFactory as t, CategoriesClient as ti, LabelTarget as tn, TraceAssertionsUpdate as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanOccurrence as ui, VerdictOutcome as un, ExperimentCodeChangeTotals as ur, ReplayItem as ut, BitfabFunction as v, MockOverrideResolver as vi, AssertionEvidenceParameter as vn, ExperimentSummaryBeforeAfter as vr, reportReplayProgress as vt, NodeOptions as w, MixedTracingError as wi, AssertionLabelEvidence as wn, ExperimentsClient as wr, OrganizationMember as wt, CurrentTrace as x, NodeMatcher as xi, AssertionGenerationStatus as xn, ExperimentSummaryResult as xr, ReplayInterruptSignal as xt, CaptureWhen as y, MockValue as yi, AssertionGeneration as yn, ExperimentSummaryExampleTrace as yr, serializeReplayResult as yt, getCurrentSpan as z, Assignee as zi, ScenarioAction as zn, RemoveDatasetGradersResult as zr, GraderVerdictOutcome as zt };
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-Cr4ZJLeB.cjs");
6
- const require_http = require("./http-VtGRzeNI.cjs");
5
+ const require_src = require("./src-atyS216N.cjs");
6
+ const require_http = require("./http-C_f9vk_C.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 TraceAssertionSource, $r as AssertionCategory, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayDecision, An as SaveAssertion, Ar as DatasetTraceIds, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Justification, Bn as ScenarioActualOutcome, Br as RemoveDatasetTracesResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as BitfabError, Cn as AssertionKind, Cr as ExperimentTotals, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotRef, Dn as AssertionVerdictEvidence, Dr as AddDatasetTracesResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotProvider, En as AssertionRewriteStatus, Er as AddDatasetGradersResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ProviderDefinition, Fn as SaveScenarioHistoryEntry, Fr as GraderRerunResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataSources, Gr as UpdateDatasetParams, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioData, Hr as RerunGradersResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalFields, In as SaveScenarioParams, Ir as GraderRerunStatus, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecord, Jr as VercelCallParams, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioGeneration, Kr as BitfabLanguageModelMiddleware, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalState, Ln as SavedTraceAssertion, Lr as GraderRerunTimeoutError, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayReport, Mn as SaveAssertionsParams, Mr as GraderRerun, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as AllowedEnvVars, Nn as SaveScenarioActualOutcome, Nr as GraderRerunError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SUPPORTED_PROVIDERS, On as GenerateAssertionsOptions, Or as Dataset, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as BamlExecutionResult, Pn as SaveScenarioData, Pr as GraderRerunProgress, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertion, Qr as AssertionCategoriesClient, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Approver, Rn as Scenario, Rr as ListDatasetsParams, Rt as GraderVerdict, S as DetachedTrace, Si as SpanNodeMeta, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTally, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotConfig, Tn as AssertionRewrite, Tr as ListExperimentsParams, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataAppend, Ur as SaveDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as JustificationSpan, Vn as ScenarioCreationStatus, Vr as RerunGradersOptions, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataOrigin, Wr as SaveDatasetResult, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioSource, Xr as VercelStreamResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecordInput, Yr as VercelGenerateResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioTrigger, Zr as BitfabClaudeAgentHandler, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideInput, _n as AssertionCode, _r as ExperimentSummary, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveCategoryParams, an as TraceLabels, ar as TraceTarget, at as DbBranchOptions, b as CurrentSpan, bi as NO_MOCK_OVERRIDE, bn as AssertionGenerationError, br as ExperimentSummaryFacts, bt as ReplayInterrupt, c as SeedResult, ci as HttpClient, cn as VerdictAction, cr as Experiment, ct as ReplayError, d as seedFromRegistry, di as SpanType, dn as VerdictSource, dr as ExperimentJitter, dt as ReplayItemFinishProgress, ei as AssertionCategorySummary, en as LabelStatus, er as TraceAssertionsResult, et as RivetIntegrationOptions, f as finalizers, fi as TokenUsage, fn as VerdictStatus, fr as ExperimentPage, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideCtx, gn as ArchiveAssertionsParams, gr as ExperimentStatus, gt as ReplayResult, h as CommitRef, hi as MockOverride, hn as VerdictsClient, hr as ExperimentRunBy, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveAssertionCategoryParams, in as PassFailVerdict, ir as TraceSearchResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayOptions, jn as SaveAssertionsAllParams, jr as DatasetsClient, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as ReplayNodeIdentity, kn as GenerateScenarioOptions, kr as DatasetGraderRef, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanLookup, ln as VerdictConfidence, lr as ExperimentCategoryTally, lt as ReplayExperiment, m as __version__, mi as DbBranchTimings, mn as VerdictUpdate, mr as ExperimentRollupResult, mt as ReplayProgress, n as ReplayRegistration, ni as Category, nn as LabelUpdate, nr as TraceSearchFilters, nt as AdaptContext, o as ReseedRegistryResult, oi as CapturedSpan, on as TraceVerdicts, or as TraceTargetOccurrence, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as flushTraces, pn as VerdictTarget, pr as ExperimentRollup, pt as ReplayOptions, q as SpanListField, qn as ScenarioHistoryEntry, qr as BitfabVercelAiHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CategorySummary, rn as LabelsClient, rr as TraceSearchParams, rt as AdaptInputsFn, s as SeedCase, si as CodeChangeFile, sn as Verdict, sr as TracesClient, st as MockStrategy, t as ReplayOptionsFactory, ti as CategoriesClient, tn as LabelTarget, tr as TraceAssertionsUpdate, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanOccurrence, un as VerdictOutcome, ur as ExperimentCodeChangeTotals, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideResolver, vn as AssertionEvidenceParameter, vr as ExperimentSummaryBeforeAfter, vt as reportReplayProgress, w as NodeOptions, wi as MixedTracingError, wn as AssertionLabelEvidence, wr as ExperimentsClient, wt as OrganizationMember, x as CurrentTrace, xi as NodeMatcher, xn as AssertionGenerationStatus, xr as ExperimentSummaryResult, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockValue, yn as AssertionGeneration, yr as ExperimentSummaryExampleTrace, yt as serializeReplayResult, z as getCurrentSpan, zi as Assignee, zn as ScenarioAction, zr as RemoveDatasetGradersResult, zt as GraderVerdictOutcome } from "./index-BiSZ0rGD.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 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-Dcog1sZv.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 TraceAssertionSource, $r as AssertionCategory, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayDecision, An as SaveAssertion, Ar as DatasetTraceIds, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Justification, Bn as ScenarioActualOutcome, Br as RemoveDatasetTracesResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as BitfabError, Cn as AssertionKind, Cr as ExperimentTotals, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotRef, Dn as AssertionVerdictEvidence, Dr as AddDatasetTracesResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotProvider, En as AssertionRewriteStatus, Er as AddDatasetGradersResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ProviderDefinition, Fn as SaveScenarioHistoryEntry, Fr as GraderRerunResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataSources, Gr as UpdateDatasetParams, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioData, Hr as RerunGradersResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalFields, In as SaveScenarioParams, Ir as GraderRerunStatus, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecord, Jr as VercelCallParams, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioGeneration, Kr as BitfabLanguageModelMiddleware, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalState, Ln as SavedTraceAssertion, Lr as GraderRerunTimeoutError, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayReport, Mn as SaveAssertionsParams, Mr as GraderRerun, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as AllowedEnvVars, Nn as SaveScenarioActualOutcome, Nr as GraderRerunError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SUPPORTED_PROVIDERS, On as GenerateAssertionsOptions, Or as Dataset, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as BamlExecutionResult, Pn as SaveScenarioData, Pr as GraderRerunProgress, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertion, Qr as AssertionCategoriesClient, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Approver, Rn as Scenario, Rr as ListDatasetsParams, Rt as GraderVerdict, S as DetachedTrace, Si as SpanNodeMeta, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTally, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotConfig, Tn as AssertionRewrite, Tr as ListExperimentsParams, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataAppend, Ur as SaveDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as JustificationSpan, Vn as ScenarioCreationStatus, Vr as RerunGradersOptions, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataOrigin, Wr as SaveDatasetResult, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioSource, Xr as VercelStreamResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecordInput, Yr as VercelGenerateResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioTrigger, Zr as BitfabClaudeAgentHandler, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideInput, _n as AssertionCode, _r as ExperimentSummary, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveCategoryParams, an as TraceLabels, ar as TraceTarget, at as DbBranchOptions, b as CurrentSpan, bi as NO_MOCK_OVERRIDE, bn as AssertionGenerationError, br as ExperimentSummaryFacts, bt as ReplayInterrupt, c as SeedResult, ci as HttpClient, cn as VerdictAction, cr as Experiment, ct as ReplayError, d as seedFromRegistry, di as SpanType, dn as VerdictSource, dr as ExperimentJitter, dt as ReplayItemFinishProgress, ei as AssertionCategorySummary, en as LabelStatus, er as TraceAssertionsResult, et as RivetIntegrationOptions, f as finalizers, fi as TokenUsage, fn as VerdictStatus, fr as ExperimentPage, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideCtx, gn as ArchiveAssertionsParams, gr as ExperimentStatus, gt as ReplayResult, h as CommitRef, hi as MockOverride, hn as VerdictsClient, hr as ExperimentRunBy, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveAssertionCategoryParams, in as PassFailVerdict, ir as TraceSearchResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayOptions, jn as SaveAssertionsAllParams, jr as DatasetsClient, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as ReplayNodeIdentity, kn as GenerateScenarioOptions, kr as DatasetGraderRef, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanLookup, ln as VerdictConfidence, lr as ExperimentCategoryTally, lt as ReplayExperiment, m as __version__, mi as DbBranchTimings, mn as VerdictUpdate, mr as ExperimentRollupResult, mt as ReplayProgress, n as ReplayRegistration, ni as Category, nn as LabelUpdate, nr as TraceSearchFilters, nt as AdaptContext, o as ReseedRegistryResult, oi as CapturedSpan, on as TraceVerdicts, or as TraceTargetOccurrence, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as flushTraces, pn as VerdictTarget, pr as ExperimentRollup, pt as ReplayOptions, q as SpanListField, qn as ScenarioHistoryEntry, qr as BitfabVercelAiHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CategorySummary, rn as LabelsClient, rr as TraceSearchParams, rt as AdaptInputsFn, s as SeedCase, si as CodeChangeFile, sn as Verdict, sr as TracesClient, st as MockStrategy, t as ReplayOptionsFactory, ti as CategoriesClient, tn as LabelTarget, tr as TraceAssertionsUpdate, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanOccurrence, un as VerdictOutcome, ur as ExperimentCodeChangeTotals, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideResolver, vn as AssertionEvidenceParameter, vr as ExperimentSummaryBeforeAfter, vt as reportReplayProgress, w as NodeOptions, wi as MixedTracingError, wn as AssertionLabelEvidence, wr as ExperimentsClient, wt as OrganizationMember, x as CurrentTrace, xi as NodeMatcher, xn as AssertionGenerationStatus, xr as ExperimentSummaryResult, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockValue, yn as AssertionGeneration, yr as ExperimentSummaryExampleTrace, yt as serializeReplayResult, z as getCurrentSpan, zi as Assignee, zn as ScenarioAction, zr as RemoveDatasetGradersResult, zt as GraderVerdictOutcome } from "./index-BiSZ0rGD.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 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-Dcog1sZv.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-Dp8OX46R.js";
2
- import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-BM1TSXDd.js";
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-CRrvnhok.js";
2
+ import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-Br-jOeI6.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-Cr4ZJLeB.cjs");
6
- const require_http = require("./http-VtGRzeNI.cjs");
5
+ const require_src = require("./src-atyS216N.cjs");
6
+ const require_http = require("./http-C_f9vk_C.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 TraceAssertionSource, $r as AssertionCategory, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayDecision, An as SaveAssertion, Ar as DatasetTraceIds, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Justification, Bn as ScenarioActualOutcome, Br as RemoveDatasetTracesResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as BitfabError, Cn as AssertionKind, Cr as ExperimentTotals, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotRef, Dn as AssertionVerdictEvidence, Dr as AddDatasetTracesResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotProvider, En as AssertionRewriteStatus, Er as AddDatasetGradersResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ProviderDefinition, Fn as SaveScenarioHistoryEntry, Fr as GraderRerunResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataSources, Gr as UpdateDatasetParams, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioData, Hr as RerunGradersResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalFields, In as SaveScenarioParams, Ir as GraderRerunStatus, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecord, Jr as VercelCallParams, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioGeneration, Kr as BitfabLanguageModelMiddleware, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalState, Ln as SavedTraceAssertion, Lr as GraderRerunTimeoutError, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayReport, Mn as SaveAssertionsParams, Mr as GraderRerun, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as AllowedEnvVars, Nn as SaveScenarioActualOutcome, Nr as GraderRerunError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SUPPORTED_PROVIDERS, On as GenerateAssertionsOptions, Or as Dataset, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as BamlExecutionResult, Pn as SaveScenarioData, Pr as GraderRerunProgress, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertion, Qr as AssertionCategoriesClient, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Approver, Rn as Scenario, Rr as ListDatasetsParams, Rt as GraderVerdict, S as DetachedTrace, Si as SpanNodeMeta, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTally, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotConfig, Tn as AssertionRewrite, Tr as ListExperimentsParams, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataAppend, Ur as SaveDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as JustificationSpan, Vn as ScenarioCreationStatus, Vr as RerunGradersOptions, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataOrigin, Wr as SaveDatasetResult, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioSource, Xr as VercelStreamResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecordInput, Yr as VercelGenerateResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioTrigger, Zr as BitfabClaudeAgentHandler, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideInput, _n as AssertionCode, _r as ExperimentSummary, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveCategoryParams, an as TraceLabels, ar as TraceTarget, at as DbBranchOptions, b as CurrentSpan, bi as NO_MOCK_OVERRIDE, bn as AssertionGenerationError, br as ExperimentSummaryFacts, bt as ReplayInterrupt, c as SeedResult, ci as HttpClient, cn as VerdictAction, cr as Experiment, ct as ReplayError, d as seedFromRegistry, di as SpanType, dn as VerdictSource, dr as ExperimentJitter, dt as ReplayItemFinishProgress, ei as AssertionCategorySummary, en as LabelStatus, er as TraceAssertionsResult, et as RivetIntegrationOptions, f as finalizers, fi as TokenUsage, fn as VerdictStatus, fr as ExperimentPage, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideCtx, gn as ArchiveAssertionsParams, gr as ExperimentStatus, gt as ReplayResult, h as CommitRef, hi as MockOverride, hn as VerdictsClient, hr as ExperimentRunBy, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveAssertionCategoryParams, in as PassFailVerdict, ir as TraceSearchResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayOptions, jn as SaveAssertionsAllParams, jr as DatasetsClient, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as ReplayNodeIdentity, kn as GenerateScenarioOptions, kr as DatasetGraderRef, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanLookup, ln as VerdictConfidence, lr as ExperimentCategoryTally, lt as ReplayExperiment, m as __version__, mi as DbBranchTimings, mn as VerdictUpdate, mr as ExperimentRollupResult, mt as ReplayProgress, n as ReplayRegistration, ni as Category, nn as LabelUpdate, nr as TraceSearchFilters, nt as AdaptContext, o as ReseedRegistryResult, oi as CapturedSpan, on as TraceVerdicts, or as TraceTargetOccurrence, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as flushTraces, pn as VerdictTarget, pr as ExperimentRollup, pt as ReplayOptions, q as SpanListField, qn as ScenarioHistoryEntry, qr as BitfabVercelAiHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CategorySummary, rn as LabelsClient, rr as TraceSearchParams, rt as AdaptInputsFn, s as SeedCase, si as CodeChangeFile, sn as Verdict, sr as TracesClient, st as MockStrategy, t as ReplayOptionsFactory, ti as CategoriesClient, tn as LabelTarget, tr as TraceAssertionsUpdate, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanOccurrence, un as VerdictOutcome, ur as ExperimentCodeChangeTotals, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideResolver, vn as AssertionEvidenceParameter, vr as ExperimentSummaryBeforeAfter, vt as reportReplayProgress, w as NodeOptions, wi as MixedTracingError, wn as AssertionLabelEvidence, wr as ExperimentsClient, wt as OrganizationMember, x as CurrentTrace, xi as NodeMatcher, xn as AssertionGenerationStatus, xr as ExperimentSummaryResult, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockValue, yn as AssertionGeneration, yr as ExperimentSummaryExampleTrace, yt as serializeReplayResult, z as getCurrentSpan, zi as Assignee, zn as ScenarioAction, zr as RemoveDatasetGradersResult, zt as GraderVerdictOutcome } from "./index-BiSZ0rGD.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 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-Dcog1sZv.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/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceAssertionSource, $r as AssertionCategory, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayDecision, An as SaveAssertion, Ar as DatasetTraceIds, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Justification, Bn as ScenarioActualOutcome, Br as RemoveDatasetTracesResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as BitfabError, Cn as AssertionKind, Cr as ExperimentTotals, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotRef, Dn as AssertionVerdictEvidence, Dr as AddDatasetTracesResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotProvider, En as AssertionRewriteStatus, Er as AddDatasetGradersResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ProviderDefinition, Fn as SaveScenarioHistoryEntry, Fr as GraderRerunResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataSources, Gr as UpdateDatasetParams, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioData, Hr as RerunGradersResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalFields, In as SaveScenarioParams, Ir as GraderRerunStatus, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecord, Jr as VercelCallParams, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioGeneration, Kr as BitfabLanguageModelMiddleware, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalState, Ln as SavedTraceAssertion, Lr as GraderRerunTimeoutError, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayReport, Mn as SaveAssertionsParams, Mr as GraderRerun, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as AllowedEnvVars, Nn as SaveScenarioActualOutcome, Nr as GraderRerunError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SUPPORTED_PROVIDERS, On as GenerateAssertionsOptions, Or as Dataset, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as BamlExecutionResult, Pn as SaveScenarioData, Pr as GraderRerunProgress, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertion, Qr as AssertionCategoriesClient, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Approver, Rn as Scenario, Rr as ListDatasetsParams, Rt as GraderVerdict, S as DetachedTrace, Si as SpanNodeMeta, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTally, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotConfig, Tn as AssertionRewrite, Tr as ListExperimentsParams, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataAppend, Ur as SaveDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as JustificationSpan, Vn as ScenarioCreationStatus, Vr as RerunGradersOptions, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataOrigin, Wr as SaveDatasetResult, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioSource, Xr as VercelStreamResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecordInput, Yr as VercelGenerateResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioTrigger, Zr as BitfabClaudeAgentHandler, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideInput, _n as AssertionCode, _r as ExperimentSummary, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveCategoryParams, an as TraceLabels, ar as TraceTarget, at as DbBranchOptions, b as CurrentSpan, bi as NO_MOCK_OVERRIDE, bn as AssertionGenerationError, br as ExperimentSummaryFacts, bt as ReplayInterrupt, c as SeedResult, ci as HttpClient, cn as VerdictAction, cr as Experiment, ct as ReplayError, d as seedFromRegistry, di as SpanType, dn as VerdictSource, dr as ExperimentJitter, dt as ReplayItemFinishProgress, ei as AssertionCategorySummary, en as LabelStatus, er as TraceAssertionsResult, et as RivetIntegrationOptions, f as finalizers, fi as TokenUsage, fn as VerdictStatus, fr as ExperimentPage, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideCtx, gn as ArchiveAssertionsParams, gr as ExperimentStatus, gt as ReplayResult, h as CommitRef, hi as MockOverride, hn as VerdictsClient, hr as ExperimentRunBy, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveAssertionCategoryParams, in as PassFailVerdict, ir as TraceSearchResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayOptions, jn as SaveAssertionsAllParams, jr as DatasetsClient, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as ReplayNodeIdentity, kn as GenerateScenarioOptions, kr as DatasetGraderRef, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanLookup, ln as VerdictConfidence, lr as ExperimentCategoryTally, lt as ReplayExperiment, m as __version__, mi as DbBranchTimings, mn as VerdictUpdate, mr as ExperimentRollupResult, mt as ReplayProgress, n as ReplayRegistration, ni as Category, nn as LabelUpdate, nr as TraceSearchFilters, nt as AdaptContext, o as ReseedRegistryResult, oi as CapturedSpan, on as TraceVerdicts, or as TraceTargetOccurrence, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as flushTraces, pn as VerdictTarget, pr as ExperimentRollup, pt as ReplayOptions, q as SpanListField, qn as ScenarioHistoryEntry, qr as BitfabVercelAiHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CategorySummary, rn as LabelsClient, rr as TraceSearchParams, rt as AdaptInputsFn, s as SeedCase, si as CodeChangeFile, sn as Verdict, sr as TracesClient, st as MockStrategy, t as ReplayOptionsFactory, ti as CategoriesClient, tn as LabelTarget, tr as TraceAssertionsUpdate, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanOccurrence, un as VerdictOutcome, ur as ExperimentCodeChangeTotals, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideResolver, vn as AssertionEvidenceParameter, vr as ExperimentSummaryBeforeAfter, vt as reportReplayProgress, w as NodeOptions, wi as MixedTracingError, wn as AssertionLabelEvidence, wr as ExperimentsClient, wt as OrganizationMember, x as CurrentTrace, xi as NodeMatcher, xn as AssertionGenerationStatus, xr as ExperimentSummaryResult, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockValue, yn as AssertionGeneration, yr as ExperimentSummaryExampleTrace, yt as serializeReplayResult, z as getCurrentSpan, zi as Assignee, zn as ScenarioAction, zr as RemoveDatasetGradersResult, zt as GraderVerdictOutcome } from "./index-BiSZ0rGD.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 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-Dcog1sZv.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/node.js CHANGED
@@ -1,5 +1,5 @@
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-Dp8OX46R.js";
2
- import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-BM1TSXDd.js";
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-CRrvnhok.js";
2
+ import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-Br-jOeI6.js";
3
3
  import { U as registerAsyncLocalStorageClass, z as assertAsyncStorageRegistered } from "./autoTrace-kHOBg49M.js";
4
4
  import { AsyncLocalStorage } from "async_hooks";
5
5
  //#region src/asyncStorageNode.ts