bitfab 0.65.10 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{http-D49SzN4G.js → http-D91qP2J-.js} +2 -2
- package/dist/http-D91qP2J-.js.map +1 -0
- package/dist/{http-C9CDbT4U.cjs → http-DIz8mEMq.cjs} +2 -2
- package/dist/http-DIz8mEMq.cjs.map +1 -0
- package/dist/{index-QF59Xb54.d.cts → index-DiYFr-KV.d.cts} +224 -61
- package/dist/{index-QF59Xb54.d.ts → index-DiYFr-KV.d.ts} +224 -61
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/node.cjs +3 -2
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +3 -3
- package/dist/{registryCommand-Di8x0YoJ.js → registryCommand-Dk4Y1ZgW.js} +20 -7
- package/dist/registryCommand-Dk4Y1ZgW.js.map +1 -0
- package/dist/replayCli.js +1 -1
- package/dist/seedCli.js +1 -1
- package/dist/{src-BKxYOFDB.js → src-CL5eQlNk.js} +114 -46
- package/dist/src-CL5eQlNk.js.map +1 -0
- package/dist/{src-CSzXKvXs.cjs → src-rJcHXJEz.cjs} +119 -45
- package/dist/src-rJcHXJEz.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/http-C9CDbT4U.cjs.map +0 -1
- package/dist/http-D49SzN4G.js.map +0 -1
- package/dist/registryCommand-Di8x0YoJ.js.map +0 -1
- package/dist/src-BKxYOFDB.js.map +0 -1
- package/dist/src-CSzXKvXs.cjs.map +0 -1
package/dist/node.cjs
CHANGED
|
@@ -11,8 +11,8 @@ Object.defineProperties(exports, {
|
|
|
11
11
|
__esModule: { value: true },
|
|
12
12
|
[Symbol.toStringTag]: { value: "Module" }
|
|
13
13
|
});
|
|
14
|
-
const require_src = require("./src-
|
|
15
|
-
const require_http = require("./http-
|
|
14
|
+
const require_src = require("./src-rJcHXJEz.cjs");
|
|
15
|
+
const require_http = require("./http-DIz8mEMq.cjs");
|
|
16
16
|
const require_autoTrace = require("./autoTrace-CQw0qMBt.cjs");
|
|
17
17
|
let async_hooks = require("async_hooks");
|
|
18
18
|
//#region src/asyncStorageNode.ts
|
|
@@ -53,6 +53,7 @@ exports.ReplayError = require_src.ReplayError;
|
|
|
53
53
|
exports.SUPPORTED_PROVIDERS = require_src.SUPPORTED_PROVIDERS;
|
|
54
54
|
exports.SpansClient = require_src.SpansClient;
|
|
55
55
|
exports.TracesClient = require_src.TracesClient;
|
|
56
|
+
exports.VerdictsClient = require_src.VerdictsClient;
|
|
56
57
|
exports.__version__ = require_http.__version__;
|
|
57
58
|
exports.defineReplayRegistry = require_src.defineReplayRegistry;
|
|
58
59
|
exports.finalizers = require_src.finalizers;
|
package/dist/node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as AdaptInputsFn, $n as
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, 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 ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as AdaptInputsFn, $n as ExperimentRunBy, $r as NO_MOCK_OVERRIDE, $t as Verdict, A as SpanMethodDecoratorContext, An as ScenarioData, Ar as BitfabClaudeAgentHandler, At as GraderVerdict, B as TraceResponse, Bn as TraceSearchFilters, Br as CodeChangeFile, Bt as HumanVerdictOutcome, C as NodeMethodDecorator, Cn as SaveScenarioData, Cr as SaveDatasetResult, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as Scenario, Dr as VercelCallParams, Dt as GraderLabelOutcome, E as ReseedResult, En as SavedTraceAssertion, Er as BitfabVercelAiHandler, Et as GraderLabel, F as getCurrentSpan, Fn as ScenarioTrigger, Fr as Category, Ft as ArchiveLabelTarget, G as SpanListResult, Gn as TracesClient, Gr as TokenUsage, Gt as LabelSource, H as ListedSpan, Hn as TraceSearchResult, Hr as SpanLookup, Ht as LabelAction, I as getCurrentTrace, In as TraceAssertion, Ir as CategorySummary, It as ArchiveVerdictTarget, J as RivetContextLike, Jn as ExperimentCodeChangeTotals, Jr as MockOverride, Jt as LabelUpdate, K as SpansClient, Kn as Experiment, Kr as flushTraces, Kt as LabelStatus, L as CaptureSurface, Ln as TraceAssertionSource, Lr as SaveAssertionCategoryParams, Lt as AssertionVerdict, M as WrapBAMLOptions, Mn as ScenarioDataOrigin, Mr as AssertionCategory, Mt as GraderVerdictSource, N as WrappedBamlFn, Nn as ScenarioHistoryEntry, Nr as AssertionCategorySummary, Nt as GraderVerdictUpdate, O as SeedRunOptions, On as ScenarioAction, Or as VercelGenerateResult, Ot as GraderLabelSource, P as getCurrentReplayBranch, Pn as ScenarioSource, Pr as CategoriesClient, Pt as GradersClient, Q as AdaptContext, Qn as ExperimentRollupResult, Qr as MockValue, Qt as TraceVerdicts, R as ActiveSpanContext, Rn as TraceAssertionsResult, Rr as SaveCategoryParams, Rt as HumanLabelOutcome, S as DetachedTrace, Sn as SaveScenarioActualOutcome, Sr as SaveDatasetParams, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as SaveScenarioParams, Tr as BitfabLanguageModelMiddleware, Tt as GetGraderVerdictsParams, U as SpanListField, Un as TraceTarget, Ur as SpanOccurrence, Ut as LabelConfidence, V as TracingProcessor, Vn as TraceSearchParams, Vr as HttpClient, Vt as HumanVerdictUpdate, W as SpanListParams, Wn as TraceTargetOccurrence, Wr as SpanType, Wt as LabelOutcome, X as RivetIntegrationOptions, Xn as ExperimentPage, Xr as MockOverrideInput, Xt as PassFailVerdict, Y as RivetEffectType, Yn as ExperimentJitter, Yr as MockOverrideCtx, Yt as LabelsClient, Z as ReplayBranch, Zn as ExperimentRollup, Zr as MockOverrideResolver, Zt as TraceLabels, _ as BitfabConfig, _i as Approver, _n as AssertionVerdictEvidence, _r as ListDatasetsParams, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, ai as DbSnapshotProvider, an as VerdictTarget, ar as AddDatasetGradersResult, at as ReplayExperiment, b as CurrentSpan, bi as JustificationSpan, bn as SaveAssertionsAllParams, br as RerunGradersOptions, bt as BitfabOpenAIAgentHandler, c as SeedResult, ci as ReplayNodeIdentity, cn as ArchiveAssertionsParams, cr as DatasetGraderRef, ct as ReplayItemStartProgress, d as seedFromRegistry, di as SelectiveReplayReport, dn as AssertionGenerationError, dr as GraderRerun, dt as ReplayProgressItem, ei as NodeMatcher, en as VerdictAction, er as ExperimentStatus, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fi as AllowedEnvVars, fn as AssertionGenerationStatus, fr as GraderRerunError, ft as ReplayResult, g as Bitfab, gi as ApprovalState, gn as AssertionRewriteStatus, gr as GraderRerunTimeoutError, gt as ReplayInterrupt, h as CommitRef, hi as ApprovalFields, hn as AssertionRewrite, hr as GraderRerunStatus, ht as serializeReplayResult, i as ReplayRegistryContext, ii as DbSnapshotConfig, in as VerdictStatus, ir as ListExperimentsParams, it as ReplayError, j as SpanOptions, jn as ScenarioDataAppend, jr as AssertionCategoriesClient, jt as GraderVerdictOutcome, k as SpanMethodDecorator, kn as ScenarioActualOutcome, kr as VercelStreamResult, kt as GraderLabelUpdate, l as defineReplayRegistry, li as SelectiveReplayDecision, ln as AssertionEvidenceParameter, lr as DatasetTraceIds, lt as ReplayOptions, m as __version__, mi as ProviderDefinition, mn as AssertionLabelEvidence, mr as GraderRerunResult, mt as reportReplayProgress, n as ReplayRegistration, ni as BitfabError, nn as VerdictOutcome, nr as ExperimentTotals, nt as DbBranchReplayError, o as ReseedRegistryResult, oi as DbSnapshotRef, on as VerdictUpdate, or as AddDatasetTracesResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pi as BamlExecutionResult, pn as AssertionGenerationTimeoutError, pr as GraderRerunProgress, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as ExperimentCategoryTally, qr as DbBranchTimings, qt as LabelTarget, r as ReplayRegistry, ri as MixedTracingError, rn as VerdictSource, rr as ExperimentsClient, rt as MockStrategy, s as SeedCase, si as SUPPORTED_PROVIDERS, sn as VerdictsClient, sr as Dataset, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, ti as SpanNodeMeta, tn as VerdictConfidence, tr as ExperimentTally, tt as DbBranchOptions, u as reseedFromRegistry, ui as SelectiveReplayOptions, un as AssertionGeneration, ur as DatasetsClient, ut as ReplayProgress, v as BitfabFunction, vi as Assignee, vn as GenerateAssertionsOptions, vr as RemoveDatasetGradersResult, vt as OrganizationMember, w as NodeOptions, wn as SaveScenarioHistoryEntry, wr as UpdateDatasetParams, wt as GetGraderLabelsParams, x as CurrentTrace, xn as SaveAssertionsParams, xr as RerunGradersResult, xt as BitfabLangGraphIntegration, y as CaptureWhen, yi as Justification, yn as SaveAssertion, yr as RemoveDatasetTracesResult, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as TraceAssertionsUpdate, zr as CapturedSpan, zt as HumanLabelUpdate } from "./index-DiYFr-KV.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, 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 ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, 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 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 ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, 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 AdaptInputsFn, $n as
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, 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 ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as AdaptInputsFn, $n as ExperimentRunBy, $r as NO_MOCK_OVERRIDE, $t as Verdict, A as SpanMethodDecoratorContext, An as ScenarioData, Ar as BitfabClaudeAgentHandler, At as GraderVerdict, B as TraceResponse, Bn as TraceSearchFilters, Br as CodeChangeFile, Bt as HumanVerdictOutcome, C as NodeMethodDecorator, Cn as SaveScenarioData, Cr as SaveDatasetResult, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as Scenario, Dr as VercelCallParams, Dt as GraderLabelOutcome, E as ReseedResult, En as SavedTraceAssertion, Er as BitfabVercelAiHandler, Et as GraderLabel, F as getCurrentSpan, Fn as ScenarioTrigger, Fr as Category, Ft as ArchiveLabelTarget, G as SpanListResult, Gn as TracesClient, Gr as TokenUsage, Gt as LabelSource, H as ListedSpan, Hn as TraceSearchResult, Hr as SpanLookup, Ht as LabelAction, I as getCurrentTrace, In as TraceAssertion, Ir as CategorySummary, It as ArchiveVerdictTarget, J as RivetContextLike, Jn as ExperimentCodeChangeTotals, Jr as MockOverride, Jt as LabelUpdate, K as SpansClient, Kn as Experiment, Kr as flushTraces, Kt as LabelStatus, L as CaptureSurface, Ln as TraceAssertionSource, Lr as SaveAssertionCategoryParams, Lt as AssertionVerdict, M as WrapBAMLOptions, Mn as ScenarioDataOrigin, Mr as AssertionCategory, Mt as GraderVerdictSource, N as WrappedBamlFn, Nn as ScenarioHistoryEntry, Nr as AssertionCategorySummary, Nt as GraderVerdictUpdate, O as SeedRunOptions, On as ScenarioAction, Or as VercelGenerateResult, Ot as GraderLabelSource, P as getCurrentReplayBranch, Pn as ScenarioSource, Pr as CategoriesClient, Pt as GradersClient, Q as AdaptContext, Qn as ExperimentRollupResult, Qr as MockValue, Qt as TraceVerdicts, R as ActiveSpanContext, Rn as TraceAssertionsResult, Rr as SaveCategoryParams, Rt as HumanLabelOutcome, S as DetachedTrace, Sn as SaveScenarioActualOutcome, Sr as SaveDatasetParams, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as SaveScenarioParams, Tr as BitfabLanguageModelMiddleware, Tt as GetGraderVerdictsParams, U as SpanListField, Un as TraceTarget, Ur as SpanOccurrence, Ut as LabelConfidence, V as TracingProcessor, Vn as TraceSearchParams, Vr as HttpClient, Vt as HumanVerdictUpdate, W as SpanListParams, Wn as TraceTargetOccurrence, Wr as SpanType, Wt as LabelOutcome, X as RivetIntegrationOptions, Xn as ExperimentPage, Xr as MockOverrideInput, Xt as PassFailVerdict, Y as RivetEffectType, Yn as ExperimentJitter, Yr as MockOverrideCtx, Yt as LabelsClient, Z as ReplayBranch, Zn as ExperimentRollup, Zr as MockOverrideResolver, Zt as TraceLabels, _ as BitfabConfig, _i as Approver, _n as AssertionVerdictEvidence, _r as ListDatasetsParams, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, ai as DbSnapshotProvider, an as VerdictTarget, ar as AddDatasetGradersResult, at as ReplayExperiment, b as CurrentSpan, bi as JustificationSpan, bn as SaveAssertionsAllParams, br as RerunGradersOptions, bt as BitfabOpenAIAgentHandler, c as SeedResult, ci as ReplayNodeIdentity, cn as ArchiveAssertionsParams, cr as DatasetGraderRef, ct as ReplayItemStartProgress, d as seedFromRegistry, di as SelectiveReplayReport, dn as AssertionGenerationError, dr as GraderRerun, dt as ReplayProgressItem, ei as NodeMatcher, en as VerdictAction, er as ExperimentStatus, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fi as AllowedEnvVars, fn as AssertionGenerationStatus, fr as GraderRerunError, ft as ReplayResult, g as Bitfab, gi as ApprovalState, gn as AssertionRewriteStatus, gr as GraderRerunTimeoutError, gt as ReplayInterrupt, h as CommitRef, hi as ApprovalFields, hn as AssertionRewrite, hr as GraderRerunStatus, ht as serializeReplayResult, i as ReplayRegistryContext, ii as DbSnapshotConfig, in as VerdictStatus, ir as ListExperimentsParams, it as ReplayError, j as SpanOptions, jn as ScenarioDataAppend, jr as AssertionCategoriesClient, jt as GraderVerdictOutcome, k as SpanMethodDecorator, kn as ScenarioActualOutcome, kr as VercelStreamResult, kt as GraderLabelUpdate, l as defineReplayRegistry, li as SelectiveReplayDecision, ln as AssertionEvidenceParameter, lr as DatasetTraceIds, lt as ReplayOptions, m as __version__, mi as ProviderDefinition, mn as AssertionLabelEvidence, mr as GraderRerunResult, mt as reportReplayProgress, n as ReplayRegistration, ni as BitfabError, nn as VerdictOutcome, nr as ExperimentTotals, nt as DbBranchReplayError, o as ReseedRegistryResult, oi as DbSnapshotRef, on as VerdictUpdate, or as AddDatasetTracesResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pi as BamlExecutionResult, pn as AssertionGenerationTimeoutError, pr as GraderRerunProgress, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as ExperimentCategoryTally, qr as DbBranchTimings, qt as LabelTarget, r as ReplayRegistry, ri as MixedTracingError, rn as VerdictSource, rr as ExperimentsClient, rt as MockStrategy, s as SeedCase, si as SUPPORTED_PROVIDERS, sn as VerdictsClient, sr as Dataset, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, ti as SpanNodeMeta, tn as VerdictConfidence, tr as ExperimentTally, tt as DbBranchOptions, u as reseedFromRegistry, ui as SelectiveReplayOptions, un as AssertionGeneration, ur as DatasetsClient, ut as ReplayProgress, v as BitfabFunction, vi as Assignee, vn as GenerateAssertionsOptions, vr as RemoveDatasetGradersResult, vt as OrganizationMember, w as NodeOptions, wn as SaveScenarioHistoryEntry, wr as UpdateDatasetParams, wt as GetGraderLabelsParams, x as CurrentTrace, xn as SaveAssertionsParams, xr as RerunGradersResult, xt as BitfabLangGraphIntegration, y as CaptureWhen, yi as Justification, yn as SaveAssertion, yr as RemoveDatasetTracesResult, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as TraceAssertionsUpdate, zr as CapturedSpan, zt as HumanLabelUpdate } from "./index-DiYFr-KV.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, 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 ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, 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 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 ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.js
CHANGED
|
@@ -7,8 +7,8 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
|
|
|
7
7
|
"The bitfab package will stop receiving updates in a future release."
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
import { A as
|
|
11
|
-
import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-
|
|
10
|
+
import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ 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 SUPPORTED_PROVIDERS, k as VerdictsClient, 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 NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-CL5eQlNk.js";
|
|
11
|
+
import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-D91qP2J-.js";
|
|
12
12
|
import { _ as assertAsyncStorageRegistered, x as registerAsyncLocalStorageClass } from "./autoTrace-O40k8f5M.js";
|
|
13
13
|
import { AsyncLocalStorage } from "async_hooks";
|
|
14
14
|
//#region src/asyncStorageNode.ts
|
|
@@ -17,6 +17,6 @@ registerAsyncLocalStorageClass(AsyncLocalStorage);
|
|
|
17
17
|
//#region src/node.ts
|
|
18
18
|
assertAsyncStorageRegistered();
|
|
19
19
|
//#endregion
|
|
20
|
-
export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
20
|
+
export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, 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 };
|
|
21
21
|
|
|
22
22
|
//# sourceMappingURL=node.js.map
|
|
@@ -601,7 +601,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
601
601
|
traceIds
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
|
-
const SEED_USAGE = "Usage: bitfab-seed --registry <path> <pipeline> --from-trace <id>[,<id>...]\n bitfab-seed --registry <path> <pipeline> --cases <cases.jsonl> [--run]\n\n--from-trace re-seeds each trace: the registered function runs once on the trace's recorded inputs and the result is recorded under the same trace id, with the previous run kept as history under a new id. Nothing is mocked and no experiment is created.
|
|
604
|
+
const SEED_USAGE = "Usage: bitfab-seed --registry <path> <pipeline> --from-trace <id>[,<id>...]\n bitfab-seed --registry <path> <pipeline> --cases <cases.jsonl> [--run]\n\n--from-trace re-seeds each trace: the registered function runs once on the trace's recorded inputs and the result is recorded under the same trace id, with the previous run kept as history under a new id. Nothing is mocked and no experiment is created. Verdicts, assertions, and dataset membership stay on the trace.\n\n--cases seeds new cases. Each case is a JSON object with an \"input\" array, plus optional \"expected\", \"metadata\", and \"sessionId\"; a JSON array of those objects works too. Without --run, each case is written as a trace directly (\"input\" becomes the root span input and \"expected\" its output) and nothing executes. With --run, each case runs once through the registered function with capture off and the execution is recorded, so the output is what the run produced; cases carrying \"expected\" are rejected.\n\nbitfab-replay --registry <path> <pipeline> --seed <cases.jsonl> [--run] is the older spelling of --cases.";
|
|
605
605
|
async function runSeedCli(registry, argv, io = {}) {
|
|
606
606
|
const stdout = io.stdout ?? console.log;
|
|
607
607
|
const stderr = io.stderr ?? console.error;
|
|
@@ -1029,7 +1029,22 @@ async function runReplayCli(registry, argv = typeof process === "undefined" ? []
|
|
|
1029
1029
|
}
|
|
1030
1030
|
//#endregion
|
|
1031
1031
|
//#region src/registryCommand.ts
|
|
1032
|
-
|
|
1032
|
+
const AUTO_TRACE_TRANSFORM_HOOK = "@bitfab/sdk/transform/register";
|
|
1033
|
+
let replayLoadersRegistered;
|
|
1034
|
+
const nodeReplayLoaders = {
|
|
1035
|
+
registerTypeScript: () => {
|
|
1036
|
+
register();
|
|
1037
|
+
},
|
|
1038
|
+
registerAutoTraceTransform: () => import(AUTO_TRACE_TRANSFORM_HOOK)
|
|
1039
|
+
};
|
|
1040
|
+
async function registerReplayLoaders(loaders) {
|
|
1041
|
+
loaders.registerTypeScript();
|
|
1042
|
+
try {
|
|
1043
|
+
await loaders.registerAutoTraceTransform();
|
|
1044
|
+
} catch (error) {
|
|
1045
|
+
warnOnce("replay-auto-trace-transform", `bitfab-replay could not load ${AUTO_TRACE_TRANSFORM_HOOK} (${error instanceof Error ? error.message : String(error)}), so each replay records only its trace's root span. Replays still run and their results are unchanged.`);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1033
1048
|
async function parseRegistryCommandArgs(argv, usage) {
|
|
1034
1049
|
if (argv.some((value) => value === "--help" || value === "-h") && !argv.includes("--registry")) throw new ReplayCliHelp(usage);
|
|
1035
1050
|
const registryFlagIndex = argv.indexOf("--registry");
|
|
@@ -1045,10 +1060,8 @@ async function parseRegistryCommandArgs(argv, usage) {
|
|
|
1045
1060
|
}
|
|
1046
1061
|
async function importRegistry(path) {
|
|
1047
1062
|
const { pathToFileURL } = await import("url");
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
isTypeScriptLoaderRegistered = true;
|
|
1051
|
-
}
|
|
1063
|
+
replayLoadersRegistered ??= registerReplayLoaders(nodeReplayLoaders);
|
|
1064
|
+
await replayLoadersRegistered;
|
|
1052
1065
|
try {
|
|
1053
1066
|
return await import(pathToFileURL(path).href);
|
|
1054
1067
|
} catch (error) {
|
|
@@ -1108,4 +1121,4 @@ function runIfEntrypoint(moduleUrl, main) {
|
|
|
1108
1121
|
//#endregion
|
|
1109
1122
|
export { runRegistryMain as a, runSeedCli as c, runIfEntrypoint as i, parseRegistryCommandArgs as n, checkReplayCliArgs as o, resolveRegistry as r, runReplayCli as s, importRegistry as t };
|
|
1110
1123
|
|
|
1111
|
-
//# sourceMappingURL=registryCommand-
|
|
1124
|
+
//# sourceMappingURL=registryCommand-Dk4Y1ZgW.js.map
|