bitfab 0.58.2 → 0.58.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-5JYY2MMV.js → chunk-34VY4J27.js} +6 -6
- package/dist/chunk-34VY4J27.js.map +1 -0
- package/dist/{chunk-LZN66ADL.js → chunk-EIWNY3FF.js} +6 -3
- package/dist/{chunk-LZN66ADL.js.map → chunk-EIWNY3FF.js.map} +1 -1
- package/dist/{chunk-Q4UM7ILD.js → chunk-HJLWJ3L2.js} +4 -3
- package/dist/chunk-HJLWJ3L2.js.map +1 -0
- package/dist/{chunk-TTVWUP6D.js → chunk-HNUEEGIB.js} +3 -3
- package/dist/chunk-HNUEEGIB.js.map +1 -0
- package/dist/{chunk-PHYROCVC.js → chunk-YWWDW5FX.js} +6 -3
- package/dist/{chunk-PHYROCVC.js.map → chunk-YWWDW5FX.js.map} +1 -1
- package/dist/{http-MBEZN2GX.js → http-Q75A3OKB.js} +2 -2
- package/dist/{http-T3PDEXD6.js → http-XH36DD6T.js} +2 -2
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +3 -3
- package/dist/node.cjs +7 -3
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-KVUPPFKI.js → replay-QN6M3Q6H.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-5JYY2MMV.js.map +0 -1
- package/dist/chunk-Q4UM7ILD.js.map +0 -1
- package/dist/chunk-TTVWUP6D.js.map +0 -1
- /package/dist/{http-MBEZN2GX.js.map → http-Q75A3OKB.js.map} +0 -0
- /package/dist/{http-T3PDEXD6.js.map → http-XH36DD6T.js.map} +0 -0
- /package/dist/{replay-KVUPPFKI.js.map → replay-QN6M3Q6H.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -602,7 +602,7 @@ declare class HttpClient {
|
|
|
602
602
|
* Start a replay session by fetching historical traces.
|
|
603
603
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
604
604
|
*/
|
|
605
|
-
startReplay(traceFunctionKey: string, limit: number | undefined, traceIds?: string[], name?: string, codeChangeDescription?: string | null, codeChangeFiles?: CodeChangeFile[] | null, includeDbBranchLease?: boolean, experimentGroupId?: string, datasetIds?: string[], graderIds?: string[], dbBranchSettings?: DbBranchSettings, attempts?: number, includeOriginalMetadata?: boolean, onlyWithAssertions?: boolean): Promise<StartReplayResponse>;
|
|
605
|
+
startReplay(traceFunctionKey: string, limit: number | undefined, traceIds?: string[], name?: string, codeChangeDescription?: string | null, codeChangeFiles?: CodeChangeFile[] | null, includeDbBranchLease?: boolean, experimentGroupId?: string, datasetIds?: string[], graderIds?: string[], dbBranchSettings?: DbBranchSettings, attempts?: number, includeOriginalMetadata?: boolean, onlyWithAssertions?: boolean, judgeAssertions?: boolean): Promise<StartReplayResponse>;
|
|
606
606
|
/**
|
|
607
607
|
* Fetch an external span by ID.
|
|
608
608
|
* Blocking GET request.
|
|
@@ -1366,9 +1366,10 @@ type AssertionEvidenceParameter = {
|
|
|
1366
1366
|
name: string;
|
|
1367
1367
|
type: "string" | "number" | "boolean" | "object" | "array" | "null" | "unknown";
|
|
1368
1368
|
};
|
|
1369
|
-
type
|
|
1369
|
+
type AssertionLabelEvidence = {
|
|
1370
1370
|
spanId: string;
|
|
1371
1371
|
text: string;
|
|
1372
|
+
sourceField: string;
|
|
1372
1373
|
spanName: string | null;
|
|
1373
1374
|
parameters: AssertionEvidenceParameter[];
|
|
1374
1375
|
spanType: "llm" | "agent" | "function" | "guardrail" | "handoff" | "custom";
|
|
@@ -1511,7 +1512,7 @@ declare class LabelsClient {
|
|
|
1511
1512
|
get(traceId: string): Promise<TraceLabels | null>;
|
|
1512
1513
|
getAll(traceIds: string[]): Promise<TraceLabels[]>;
|
|
1513
1514
|
/** Generate suggested evidence for an assertion on an original or replay trace. */
|
|
1514
|
-
generateLabelEvidence(traceId: string, assertionId: string): Promise<
|
|
1515
|
+
generateLabelEvidence(traceId: string, assertionId: string): Promise<AssertionLabelEvidence[]>;
|
|
1515
1516
|
}
|
|
1516
1517
|
|
|
1517
1518
|
type GraderLabelSource = "human" | "live_grader";
|
|
@@ -1951,6 +1952,12 @@ interface ReplayOptions {
|
|
|
1951
1952
|
* replays nothing.
|
|
1952
1953
|
*/
|
|
1953
1954
|
onlyWithAssertions?: boolean;
|
|
1955
|
+
/**
|
|
1956
|
+
* Judge every approved assertion on each replay as it finishes and save the
|
|
1957
|
+
* verdict as that assertion's agent label. Off unless asked: each judgement
|
|
1958
|
+
* costs model calls.
|
|
1959
|
+
*/
|
|
1960
|
+
judgeAssertions?: boolean;
|
|
1954
1961
|
/**
|
|
1955
1962
|
* Reshape recorded inputs before they are spread into `fn`.
|
|
1956
1963
|
*
|
|
@@ -3650,7 +3657,7 @@ interface CommitRef {
|
|
|
3650
3657
|
/**
|
|
3651
3658
|
* SDK version from package.json (injected at build time)
|
|
3652
3659
|
*/
|
|
3653
|
-
declare const __version__ = "0.58.
|
|
3660
|
+
declare const __version__ = "0.58.3";
|
|
3654
3661
|
|
|
3655
3662
|
/**
|
|
3656
3663
|
* Constants for the Bitfab SDK.
|
|
@@ -3789,4 +3796,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
3789
3796
|
run?: boolean;
|
|
3790
3797
|
}): Promise<SeedResult>;
|
|
3791
3798
|
|
|
3792
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, 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, 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 GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, 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, 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
|
|
3799
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionLabelEvidence, 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, 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 GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, 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, 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, ReplayBranch, ReplayError, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, 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 SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceOutline, type TraceOutlineSpan, type TraceOutlineSpanError, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.d.ts
CHANGED
|
@@ -602,7 +602,7 @@ declare class HttpClient {
|
|
|
602
602
|
* Start a replay session by fetching historical traces.
|
|
603
603
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
604
604
|
*/
|
|
605
|
-
startReplay(traceFunctionKey: string, limit: number | undefined, traceIds?: string[], name?: string, codeChangeDescription?: string | null, codeChangeFiles?: CodeChangeFile[] | null, includeDbBranchLease?: boolean, experimentGroupId?: string, datasetIds?: string[], graderIds?: string[], dbBranchSettings?: DbBranchSettings, attempts?: number, includeOriginalMetadata?: boolean, onlyWithAssertions?: boolean): Promise<StartReplayResponse>;
|
|
605
|
+
startReplay(traceFunctionKey: string, limit: number | undefined, traceIds?: string[], name?: string, codeChangeDescription?: string | null, codeChangeFiles?: CodeChangeFile[] | null, includeDbBranchLease?: boolean, experimentGroupId?: string, datasetIds?: string[], graderIds?: string[], dbBranchSettings?: DbBranchSettings, attempts?: number, includeOriginalMetadata?: boolean, onlyWithAssertions?: boolean, judgeAssertions?: boolean): Promise<StartReplayResponse>;
|
|
606
606
|
/**
|
|
607
607
|
* Fetch an external span by ID.
|
|
608
608
|
* Blocking GET request.
|
|
@@ -1366,9 +1366,10 @@ type AssertionEvidenceParameter = {
|
|
|
1366
1366
|
name: string;
|
|
1367
1367
|
type: "string" | "number" | "boolean" | "object" | "array" | "null" | "unknown";
|
|
1368
1368
|
};
|
|
1369
|
-
type
|
|
1369
|
+
type AssertionLabelEvidence = {
|
|
1370
1370
|
spanId: string;
|
|
1371
1371
|
text: string;
|
|
1372
|
+
sourceField: string;
|
|
1372
1373
|
spanName: string | null;
|
|
1373
1374
|
parameters: AssertionEvidenceParameter[];
|
|
1374
1375
|
spanType: "llm" | "agent" | "function" | "guardrail" | "handoff" | "custom";
|
|
@@ -1511,7 +1512,7 @@ declare class LabelsClient {
|
|
|
1511
1512
|
get(traceId: string): Promise<TraceLabels | null>;
|
|
1512
1513
|
getAll(traceIds: string[]): Promise<TraceLabels[]>;
|
|
1513
1514
|
/** Generate suggested evidence for an assertion on an original or replay trace. */
|
|
1514
|
-
generateLabelEvidence(traceId: string, assertionId: string): Promise<
|
|
1515
|
+
generateLabelEvidence(traceId: string, assertionId: string): Promise<AssertionLabelEvidence[]>;
|
|
1515
1516
|
}
|
|
1516
1517
|
|
|
1517
1518
|
type GraderLabelSource = "human" | "live_grader";
|
|
@@ -1951,6 +1952,12 @@ interface ReplayOptions {
|
|
|
1951
1952
|
* replays nothing.
|
|
1952
1953
|
*/
|
|
1953
1954
|
onlyWithAssertions?: boolean;
|
|
1955
|
+
/**
|
|
1956
|
+
* Judge every approved assertion on each replay as it finishes and save the
|
|
1957
|
+
* verdict as that assertion's agent label. Off unless asked: each judgement
|
|
1958
|
+
* costs model calls.
|
|
1959
|
+
*/
|
|
1960
|
+
judgeAssertions?: boolean;
|
|
1954
1961
|
/**
|
|
1955
1962
|
* Reshape recorded inputs before they are spread into `fn`.
|
|
1956
1963
|
*
|
|
@@ -3650,7 +3657,7 @@ interface CommitRef {
|
|
|
3650
3657
|
/**
|
|
3651
3658
|
* SDK version from package.json (injected at build time)
|
|
3652
3659
|
*/
|
|
3653
|
-
declare const __version__ = "0.58.
|
|
3660
|
+
declare const __version__ = "0.58.3";
|
|
3654
3661
|
|
|
3655
3662
|
/**
|
|
3656
3663
|
* Constants for the Bitfab SDK.
|
|
@@ -3789,4 +3796,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
3789
3796
|
run?: boolean;
|
|
3790
3797
|
}): Promise<SeedResult>;
|
|
3791
3798
|
|
|
3792
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, 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, 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 GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, 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, 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
|
|
3799
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionLabelEvidence, 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, 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 GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, 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, 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, ReplayBranch, ReplayError, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, 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 SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceOutline, type TraceOutlineSpan, type TraceOutlineSpanError, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
getCurrentTrace,
|
|
32
32
|
reseedFromRegistry,
|
|
33
33
|
seedFromRegistry
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-34VY4J27.js";
|
|
35
35
|
import "./chunk-RCHSYWKI.js";
|
|
36
36
|
import {
|
|
37
37
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ReplayError,
|
|
41
41
|
reportReplayProgress,
|
|
42
42
|
serializeReplayResult
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HJLWJ3L2.js";
|
|
44
44
|
import {
|
|
45
45
|
BitfabError,
|
|
46
46
|
DEFAULT_SERVICE_URL,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
MixedTracingError,
|
|
49
49
|
__version__,
|
|
50
50
|
flushTraces
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-EIWNY3FF.js";
|
|
52
52
|
import "./chunk-VCRFFCLY.js";
|
|
53
53
|
export {
|
|
54
54
|
AssertionCategoriesClient,
|
package/dist/node.cjs
CHANGED
|
@@ -97,7 +97,7 @@ var __version__, __packageName__;
|
|
|
97
97
|
var init_version_generated = __esm({
|
|
98
98
|
"src/version.generated.ts"() {
|
|
99
99
|
"use strict";
|
|
100
|
-
__version__ = "0.58.
|
|
100
|
+
__version__ = "0.58.3";
|
|
101
101
|
__packageName__ = "bitfab";
|
|
102
102
|
}
|
|
103
103
|
});
|
|
@@ -2894,7 +2894,7 @@ var init_http = __esm({
|
|
|
2894
2894
|
* Start a replay session by fetching historical traces.
|
|
2895
2895
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
2896
2896
|
*/
|
|
2897
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
|
|
2897
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, judgeAssertions) {
|
|
2898
2898
|
const payload = { traceFunctionKey };
|
|
2899
2899
|
if (limit !== void 0) {
|
|
2900
2900
|
payload.limit = limit;
|
|
@@ -2940,6 +2940,9 @@ var init_http = __esm({
|
|
|
2940
2940
|
if (onlyWithAssertions) {
|
|
2941
2941
|
payload.onlyWithAssertions = true;
|
|
2942
2942
|
}
|
|
2943
|
+
if (judgeAssertions) {
|
|
2944
|
+
payload.judgeAssertions = true;
|
|
2945
|
+
}
|
|
2943
2946
|
const git = await resolvedGitState();
|
|
2944
2947
|
if (git && !isEmptyGitState(git)) {
|
|
2945
2948
|
payload.git = git;
|
|
@@ -4097,7 +4100,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
4097
4100
|
resolveDbBranchSettings(options?.dbBranch),
|
|
4098
4101
|
attempts,
|
|
4099
4102
|
options?.adaptInputs !== void 0,
|
|
4100
|
-
options?.onlyWithAssertions
|
|
4103
|
+
options?.onlyWithAssertions,
|
|
4104
|
+
options?.judgeAssertions
|
|
4101
4105
|
);
|
|
4102
4106
|
if (serverItems.length === 0) {
|
|
4103
4107
|
try {
|