bitfab 0.57.1 → 0.57.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-4NPJ3DSE.js → chunk-2EFN2SVP.js} +2 -2
- package/dist/{chunk-4NPJ3DSE.js.map → chunk-2EFN2SVP.js.map} +1 -1
- package/dist/{chunk-AEF2SRQC.js → chunk-3MN4DLJH.js} +6 -6
- package/dist/chunk-3MN4DLJH.js.map +1 -0
- package/dist/{chunk-HYKP33MS.js → chunk-46O35VA7.js} +9 -6
- package/dist/chunk-46O35VA7.js.map +1 -0
- package/dist/{chunk-OBZQSMPQ.js → chunk-B7G7QH2S.js} +2 -2
- package/dist/{chunk-OBZQSMPQ.js.map → chunk-B7G7QH2S.js.map} +1 -1
- package/dist/{chunk-6C2SC7HK.js → chunk-JLKB3VT3.js} +2 -2
- package/dist/chunk-JLKB3VT3.js.map +1 -0
- package/dist/{http-HPTD7HW6.js → http-JVWNLQ4C.js} +2 -2
- package/dist/{http-EAWR6TM7.js → http-UMQCF7G7.js} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -15
- package/dist/index.d.ts +11 -15
- package/dist/index.js +3 -3
- package/dist/node.cjs +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-FESLQSMD.js → replay-OZCQPRSL.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-6C2SC7HK.js.map +0 -1
- package/dist/chunk-AEF2SRQC.js.map +0 -1
- package/dist/chunk-HYKP33MS.js.map +0 -1
- /package/dist/{http-EAWR6TM7.js.map → http-JVWNLQ4C.js.map} +0 -0
- /package/dist/{http-HPTD7HW6.js.map → http-UMQCF7G7.js.map} +0 -0
- /package/dist/{replay-FESLQSMD.js.map → replay-OZCQPRSL.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -3,9 +3,9 @@ type JustificationSpan = {
|
|
|
3
3
|
spanId: string;
|
|
4
4
|
text: string;
|
|
5
5
|
};
|
|
6
|
-
/** Evidence for an assertion
|
|
6
|
+
/** Evidence for an assertion decision: one entry per span relied on. */
|
|
7
7
|
type Justification = JustificationSpan[];
|
|
8
|
-
/** Whether a person has reviewed an assertion
|
|
8
|
+
/** Whether a person has reviewed an assertion decision. */
|
|
9
9
|
type ApprovalState = "pending" | "approved" | "rejected";
|
|
10
10
|
type Approver = {
|
|
11
11
|
id: string;
|
|
@@ -839,20 +839,13 @@ type AssertionCategorySummary = {
|
|
|
839
839
|
};
|
|
840
840
|
type AssertionCategory = AssertionCategorySummary & {
|
|
841
841
|
organizationId: string;
|
|
842
|
-
/** Why this category is worth having, span by span. */
|
|
843
|
-
justification: Justification | null;
|
|
844
842
|
createdAt: string;
|
|
845
843
|
updatedAt: string;
|
|
846
|
-
}
|
|
844
|
+
};
|
|
847
845
|
type SaveAssertionCategoryParams = {
|
|
848
846
|
id?: string;
|
|
849
847
|
title: string;
|
|
850
848
|
description?: string;
|
|
851
|
-
/**
|
|
852
|
-
* Why this category is worth having, one entry per span it rests on. Any span
|
|
853
|
-
* in the organization may be cited. Omit on an edit to preserve it.
|
|
854
|
-
*/
|
|
855
|
-
justification?: Justification | null;
|
|
856
849
|
};
|
|
857
850
|
/** Organization-scoped groupings for assertions. */
|
|
858
851
|
declare class AssertionCategoriesClient {
|
|
@@ -1794,15 +1787,18 @@ interface ReplayOptions {
|
|
|
1794
1787
|
*/
|
|
1795
1788
|
graderIds?: string[];
|
|
1796
1789
|
/**
|
|
1797
|
-
* Replay only the selected traces that carry at least one assertion.
|
|
1790
|
+
* Replay only the selected traces that carry at least one approved assertion.
|
|
1798
1791
|
*
|
|
1799
1792
|
* Narrows whatever `limit`, `traceIds` or `datasetIds` selected, so a run that
|
|
1800
1793
|
* measures assertion outcomes does not pay to re-execute traces nothing can
|
|
1801
1794
|
* grade. The server applies it as part of selection, which is what makes it
|
|
1802
1795
|
* compose with `limit`: `{ limit: 10, onlyWithAssertions: true }` is the ten
|
|
1803
|
-
* most recent traces that HAVE assertions, not the ten most recent
|
|
1804
|
-
* down to however few do. An archived assertion does not count, and
|
|
1805
|
-
*
|
|
1796
|
+
* most recent traces that HAVE approved assertions, not the ten most recent
|
|
1797
|
+
* filtered down to however few do. An archived assertion does not count, and
|
|
1798
|
+
* neither does one still awaiting review: a replay is only ever judged
|
|
1799
|
+
* against assertions a person has approved, so a trace carrying nothing but
|
|
1800
|
+
* drafts has nothing here to measure. A selection that narrows to nothing
|
|
1801
|
+
* replays nothing.
|
|
1806
1802
|
*/
|
|
1807
1803
|
onlyWithAssertions?: boolean;
|
|
1808
1804
|
/**
|
|
@@ -3608,7 +3604,7 @@ interface CommitRef {
|
|
|
3608
3604
|
/**
|
|
3609
3605
|
* SDK version from package.json (injected at build time)
|
|
3610
3606
|
*/
|
|
3611
|
-
declare const __version__ = "0.57.
|
|
3607
|
+
declare const __version__ = "0.57.3";
|
|
3612
3608
|
|
|
3613
3609
|
/**
|
|
3614
3610
|
* Constants for the Bitfab SDK.
|
package/dist/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ type JustificationSpan = {
|
|
|
3
3
|
spanId: string;
|
|
4
4
|
text: string;
|
|
5
5
|
};
|
|
6
|
-
/** Evidence for an assertion
|
|
6
|
+
/** Evidence for an assertion decision: one entry per span relied on. */
|
|
7
7
|
type Justification = JustificationSpan[];
|
|
8
|
-
/** Whether a person has reviewed an assertion
|
|
8
|
+
/** Whether a person has reviewed an assertion decision. */
|
|
9
9
|
type ApprovalState = "pending" | "approved" | "rejected";
|
|
10
10
|
type Approver = {
|
|
11
11
|
id: string;
|
|
@@ -839,20 +839,13 @@ type AssertionCategorySummary = {
|
|
|
839
839
|
};
|
|
840
840
|
type AssertionCategory = AssertionCategorySummary & {
|
|
841
841
|
organizationId: string;
|
|
842
|
-
/** Why this category is worth having, span by span. */
|
|
843
|
-
justification: Justification | null;
|
|
844
842
|
createdAt: string;
|
|
845
843
|
updatedAt: string;
|
|
846
|
-
}
|
|
844
|
+
};
|
|
847
845
|
type SaveAssertionCategoryParams = {
|
|
848
846
|
id?: string;
|
|
849
847
|
title: string;
|
|
850
848
|
description?: string;
|
|
851
|
-
/**
|
|
852
|
-
* Why this category is worth having, one entry per span it rests on. Any span
|
|
853
|
-
* in the organization may be cited. Omit on an edit to preserve it.
|
|
854
|
-
*/
|
|
855
|
-
justification?: Justification | null;
|
|
856
849
|
};
|
|
857
850
|
/** Organization-scoped groupings for assertions. */
|
|
858
851
|
declare class AssertionCategoriesClient {
|
|
@@ -1794,15 +1787,18 @@ interface ReplayOptions {
|
|
|
1794
1787
|
*/
|
|
1795
1788
|
graderIds?: string[];
|
|
1796
1789
|
/**
|
|
1797
|
-
* Replay only the selected traces that carry at least one assertion.
|
|
1790
|
+
* Replay only the selected traces that carry at least one approved assertion.
|
|
1798
1791
|
*
|
|
1799
1792
|
* Narrows whatever `limit`, `traceIds` or `datasetIds` selected, so a run that
|
|
1800
1793
|
* measures assertion outcomes does not pay to re-execute traces nothing can
|
|
1801
1794
|
* grade. The server applies it as part of selection, which is what makes it
|
|
1802
1795
|
* compose with `limit`: `{ limit: 10, onlyWithAssertions: true }` is the ten
|
|
1803
|
-
* most recent traces that HAVE assertions, not the ten most recent
|
|
1804
|
-
* down to however few do. An archived assertion does not count, and
|
|
1805
|
-
*
|
|
1796
|
+
* most recent traces that HAVE approved assertions, not the ten most recent
|
|
1797
|
+
* filtered down to however few do. An archived assertion does not count, and
|
|
1798
|
+
* neither does one still awaiting review: a replay is only ever judged
|
|
1799
|
+
* against assertions a person has approved, so a trace carrying nothing but
|
|
1800
|
+
* drafts has nothing here to measure. A selection that narrows to nothing
|
|
1801
|
+
* replays nothing.
|
|
1806
1802
|
*/
|
|
1807
1803
|
onlyWithAssertions?: boolean;
|
|
1808
1804
|
/**
|
|
@@ -3608,7 +3604,7 @@ interface CommitRef {
|
|
|
3608
3604
|
/**
|
|
3609
3605
|
* SDK version from package.json (injected at build time)
|
|
3610
3606
|
*/
|
|
3611
|
-
declare const __version__ = "0.57.
|
|
3607
|
+
declare const __version__ = "0.57.3";
|
|
3612
3608
|
|
|
3613
3609
|
/**
|
|
3614
3610
|
* Constants for the Bitfab SDK.
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
getCurrentTrace,
|
|
31
31
|
reseedFromRegistry,
|
|
32
32
|
seedFromRegistry
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3MN4DLJH.js";
|
|
34
34
|
import "./chunk-RCHSYWKI.js";
|
|
35
35
|
import {
|
|
36
36
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
ReplayError,
|
|
40
40
|
reportReplayProgress,
|
|
41
41
|
serializeReplayResult
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-JLKB3VT3.js";
|
|
43
43
|
import {
|
|
44
44
|
BitfabError,
|
|
45
45
|
DEFAULT_SERVICE_URL,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
MixedTracingError,
|
|
48
48
|
__version__,
|
|
49
49
|
flushTraces
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-B7G7QH2S.js";
|
|
51
51
|
import "./chunk-VCRFFCLY.js";
|
|
52
52
|
export {
|
|
53
53
|
AssertionCategoriesClient,
|