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/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 or a category: one entry per span relied on. */
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 or a category. */
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
- } & ApprovalFields;
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 filtered
1804
- * down to however few do. An archived assertion does not count, and a
1805
- * selection that narrows to nothing replays nothing.
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.1";
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 or a category: one entry per span relied on. */
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 or a category. */
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
- } & ApprovalFields;
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 filtered
1804
- * down to however few do. An archived assertion does not count, and a
1805
- * selection that narrows to nothing replays nothing.
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.1";
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-AEF2SRQC.js";
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-6C2SC7HK.js";
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-OBZQSMPQ.js";
50
+ } from "./chunk-B7G7QH2S.js";
51
51
  import "./chunk-VCRFFCLY.js";
52
52
  export {
53
53
  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.57.1";
100
+ __version__ = "0.57.3";
101
101
  __packageName__ = "bitfab";
102
102
  }
103
103
  });