bitfab 0.58.0 → 0.58.2

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.
Files changed (31) hide show
  1. package/dist/{chunk-RLBJUZDC.js → chunk-5JYY2MMV.js} +24 -6
  2. package/dist/chunk-5JYY2MMV.js.map +1 -0
  3. package/dist/{chunk-D6WGJZWM.js → chunk-LZN66ADL.js} +3 -3
  4. package/dist/{chunk-D6WGJZWM.js.map → chunk-LZN66ADL.js.map} +1 -1
  5. package/dist/{chunk-SKOFROXF.js → chunk-PHYROCVC.js} +3 -3
  6. package/dist/{chunk-SKOFROXF.js.map → chunk-PHYROCVC.js.map} +1 -1
  7. package/dist/{chunk-3GFX56CU.js → chunk-Q4UM7ILD.js} +2 -2
  8. package/dist/{chunk-BU5DXLSB.js → chunk-TTVWUP6D.js} +3 -3
  9. package/dist/{http-QLUKFCM5.js → http-MBEZN2GX.js} +2 -2
  10. package/dist/{http-M46BKIVV.js → http-T3PDEXD6.js} +2 -2
  11. package/dist/index.cjs +21 -2
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +30 -2
  14. package/dist/index.d.ts +30 -2
  15. package/dist/index.js +5 -3
  16. package/dist/node.cjs +21 -2
  17. package/dist/node.cjs.map +1 -1
  18. package/dist/node.d.cts +1 -1
  19. package/dist/node.d.ts +1 -1
  20. package/dist/node.js +5 -3
  21. package/dist/node.js.map +1 -1
  22. package/dist/{replay-BUVA7EM5.js → replay-KVUPPFKI.js} +3 -3
  23. package/dist/replayCli.js +2 -2
  24. package/dist/seedCli.js +2 -2
  25. package/package.json +1 -1
  26. package/dist/chunk-RLBJUZDC.js.map +0 -1
  27. /package/dist/{chunk-3GFX56CU.js.map → chunk-Q4UM7ILD.js.map} +0 -0
  28. /package/dist/{chunk-BU5DXLSB.js.map → chunk-TTVWUP6D.js.map} +0 -0
  29. /package/dist/{http-M46BKIVV.js.map → http-MBEZN2GX.js.map} +0 -0
  30. /package/dist/{http-QLUKFCM5.js.map → http-T3PDEXD6.js.map} +0 -0
  31. /package/dist/{replay-BUVA7EM5.js.map → replay-KVUPPFKI.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -13,6 +13,8 @@ type Approver = {
13
13
  email: string | null;
14
14
  imageUrl: string | null;
15
15
  };
16
+ /** The organization member on the hook for reviewing an assertion. */
17
+ type Assignee = Approver;
16
18
  /** Read-only on this client: only a person in Bitfab sets these. */
17
19
  type ApprovalFields = {
18
20
  approvalState: ApprovalState;
@@ -1355,6 +1357,8 @@ type TraceAssertion = {
1355
1357
  justification: Justification | null;
1356
1358
  /** Why its assigned category is the right one, span by span. */
1357
1359
  categoryJustification: Justification | null;
1360
+ /** Who is on the hook for reviewing this assertion, or null for nobody. */
1361
+ assignee: Assignee | null;
1358
1362
  createdAt: string;
1359
1363
  updatedAt: string;
1360
1364
  } & ApprovalFields;
@@ -1388,6 +1392,12 @@ type SaveAssertion = {
1388
1392
  * clears it. Omit on an edit to preserve it.
1389
1393
  */
1390
1394
  categoryJustification?: Justification | null;
1395
+ /**
1396
+ * Email of the organization member who should review this assertion. Routing
1397
+ * only, so it leaves the approval state alone. Omit on an edit to preserve
1398
+ * the current assignee, or pass null to leave it to nobody.
1399
+ */
1400
+ assigneeEmail?: string | null;
1391
1401
  };
1392
1402
  type TraceAssertionsResult = {
1393
1403
  assertions: TraceAssertion[];
@@ -1778,6 +1788,23 @@ declare class BitfabOpenAIAgentHandler {
1778
1788
  wrapRun(agent: AgentLike, input: RunInput, options?: RunOptions): Promise<RunResultLike>;
1779
1789
  }
1780
1790
 
1791
+ type OrganizationMember = {
1792
+ id: string;
1793
+ fullName: string | null;
1794
+ email: string | null;
1795
+ imageUrl: string | null;
1796
+ };
1797
+ /** The people in the API key's organization. */
1798
+ declare class OrganizationMembersClient {
1799
+ private readonly httpClient;
1800
+ constructor(httpClient: HttpClient);
1801
+ /**
1802
+ * List the organization's members, ordered by name. Read it to find the
1803
+ * address to pass as an assertion's `assigneeEmail`.
1804
+ */
1805
+ list(): Promise<OrganizationMember[]>;
1806
+ }
1807
+
1781
1808
  /**
1782
1809
  * Replay historical traces through a function and create a test run.
1783
1810
  *
@@ -2917,6 +2944,7 @@ declare class Bitfab {
2917
2944
  /** Dataset operations for the authenticated organization. */
2918
2945
  readonly datasets: DatasetsClient;
2919
2946
  readonly assertionCategories: AssertionCategoriesClient;
2947
+ readonly organizationMembers: OrganizationMembersClient;
2920
2948
  readonly traces: TracesClient;
2921
2949
  readonly labels: LabelsClient;
2922
2950
  readonly graders: GradersClient;
@@ -3622,7 +3650,7 @@ interface CommitRef {
3622
3650
  /**
3623
3651
  * SDK version from package.json (injected at build time)
3624
3652
  */
3625
- declare const __version__ = "0.58.0";
3653
+ declare const __version__ = "0.58.2";
3626
3654
 
3627
3655
  /**
3628
3656
  * Constants for the Bitfab SDK.
@@ -3761,4 +3789,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
3761
3789
  run?: boolean;
3762
3790
  }): Promise<SeedResult>;
3763
3791
 
3764
- 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, 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 PotentialAssertionEvidence, 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 };
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 PotentialAssertionEvidence, 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
@@ -13,6 +13,8 @@ type Approver = {
13
13
  email: string | null;
14
14
  imageUrl: string | null;
15
15
  };
16
+ /** The organization member on the hook for reviewing an assertion. */
17
+ type Assignee = Approver;
16
18
  /** Read-only on this client: only a person in Bitfab sets these. */
17
19
  type ApprovalFields = {
18
20
  approvalState: ApprovalState;
@@ -1355,6 +1357,8 @@ type TraceAssertion = {
1355
1357
  justification: Justification | null;
1356
1358
  /** Why its assigned category is the right one, span by span. */
1357
1359
  categoryJustification: Justification | null;
1360
+ /** Who is on the hook for reviewing this assertion, or null for nobody. */
1361
+ assignee: Assignee | null;
1358
1362
  createdAt: string;
1359
1363
  updatedAt: string;
1360
1364
  } & ApprovalFields;
@@ -1388,6 +1392,12 @@ type SaveAssertion = {
1388
1392
  * clears it. Omit on an edit to preserve it.
1389
1393
  */
1390
1394
  categoryJustification?: Justification | null;
1395
+ /**
1396
+ * Email of the organization member who should review this assertion. Routing
1397
+ * only, so it leaves the approval state alone. Omit on an edit to preserve
1398
+ * the current assignee, or pass null to leave it to nobody.
1399
+ */
1400
+ assigneeEmail?: string | null;
1391
1401
  };
1392
1402
  type TraceAssertionsResult = {
1393
1403
  assertions: TraceAssertion[];
@@ -1778,6 +1788,23 @@ declare class BitfabOpenAIAgentHandler {
1778
1788
  wrapRun(agent: AgentLike, input: RunInput, options?: RunOptions): Promise<RunResultLike>;
1779
1789
  }
1780
1790
 
1791
+ type OrganizationMember = {
1792
+ id: string;
1793
+ fullName: string | null;
1794
+ email: string | null;
1795
+ imageUrl: string | null;
1796
+ };
1797
+ /** The people in the API key's organization. */
1798
+ declare class OrganizationMembersClient {
1799
+ private readonly httpClient;
1800
+ constructor(httpClient: HttpClient);
1801
+ /**
1802
+ * List the organization's members, ordered by name. Read it to find the
1803
+ * address to pass as an assertion's `assigneeEmail`.
1804
+ */
1805
+ list(): Promise<OrganizationMember[]>;
1806
+ }
1807
+
1781
1808
  /**
1782
1809
  * Replay historical traces through a function and create a test run.
1783
1810
  *
@@ -2917,6 +2944,7 @@ declare class Bitfab {
2917
2944
  /** Dataset operations for the authenticated organization. */
2918
2945
  readonly datasets: DatasetsClient;
2919
2946
  readonly assertionCategories: AssertionCategoriesClient;
2947
+ readonly organizationMembers: OrganizationMembersClient;
2920
2948
  readonly traces: TracesClient;
2921
2949
  readonly labels: LabelsClient;
2922
2950
  readonly graders: GradersClient;
@@ -3622,7 +3650,7 @@ interface CommitRef {
3622
3650
  /**
3623
3651
  * SDK version from package.json (injected at build time)
3624
3652
  */
3625
- declare const __version__ = "0.58.0";
3653
+ declare const __version__ = "0.58.2";
3626
3654
 
3627
3655
  /**
3628
3656
  * Constants for the Bitfab SDK.
@@ -3761,4 +3789,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
3761
3789
  run?: boolean;
3762
3790
  }): Promise<SeedResult>;
3763
3791
 
3764
- 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, 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 PotentialAssertionEvidence, 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 };
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 PotentialAssertionEvidence, 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
@@ -21,6 +21,7 @@ import {
21
21
  DatasetsClient,
22
22
  GradersClient,
23
23
  LabelsClient,
24
+ OrganizationMembersClient,
24
25
  SUPPORTED_PROVIDERS,
25
26
  TracesClient,
26
27
  defineReplayRegistry,
@@ -30,7 +31,7 @@ import {
30
31
  getCurrentTrace,
31
32
  reseedFromRegistry,
32
33
  seedFromRegistry
33
- } from "./chunk-RLBJUZDC.js";
34
+ } from "./chunk-5JYY2MMV.js";
34
35
  import "./chunk-RCHSYWKI.js";
35
36
  import {
36
37
  BITFAB_PROGRESS_PREFIX,
@@ -39,7 +40,7 @@ import {
39
40
  ReplayError,
40
41
  reportReplayProgress,
41
42
  serializeReplayResult
42
- } from "./chunk-3GFX56CU.js";
43
+ } from "./chunk-Q4UM7ILD.js";
43
44
  import {
44
45
  BitfabError,
45
46
  DEFAULT_SERVICE_URL,
@@ -47,7 +48,7 @@ import {
47
48
  MixedTracingError,
48
49
  __version__,
49
50
  flushTraces
50
- } from "./chunk-D6WGJZWM.js";
51
+ } from "./chunk-LZN66ADL.js";
51
52
  import "./chunk-VCRFFCLY.js";
52
53
  export {
53
54
  AssertionCategoriesClient,
@@ -71,6 +72,7 @@ export {
71
72
  LabelsClient,
72
73
  MixedTracingError,
73
74
  NO_MOCK_OVERRIDE,
75
+ OrganizationMembersClient,
74
76
  ReplayError,
75
77
  SUPPORTED_PROVIDERS,
76
78
  TracesClient,
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.0";
100
+ __version__ = "0.58.2";
101
101
  __packageName__ = "bitfab";
102
102
  }
103
103
  });
@@ -1728,7 +1728,7 @@ var init_otel = __esm({
1728
1728
  EXPORT_CONCURRENCY_ENV = "BITFAB_OTEL_EXPORT_CONCURRENCY";
1729
1729
  MAX_QUEUE_SIZE = 16384;
1730
1730
  DIRECT_MAX_EXPORT_BATCH_SIZE = 512;
1731
- DIRECT_MAX_REQUEST_BATCH_SIZE = 128;
1731
+ DIRECT_MAX_REQUEST_BATCH_SIZE = 256;
1732
1732
  DEFAULT_EXPORT_CONCURRENCY = 32;
1733
1733
  MAX_EXPORT_CONCURRENCY = 64;
1734
1734
  SCHEDULE_DELAY_MILLIS = 5e3;
@@ -4422,6 +4422,7 @@ __export(node_exports, {
4422
4422
  LabelsClient: () => LabelsClient,
4423
4423
  MixedTracingError: () => MixedTracingError,
4424
4424
  NO_MOCK_OVERRIDE: () => NO_MOCK_OVERRIDE,
4425
+ OrganizationMembersClient: () => OrganizationMembersClient,
4425
4426
  ReplayError: () => ReplayError,
4426
4427
  SUPPORTED_PROVIDERS: () => SUPPORTED_PROVIDERS,
4427
4428
  TracesClient: () => TracesClient,
@@ -7132,6 +7133,22 @@ function openAiAgentsParentSpanId(bitfabTraceId, enclosingSpanIds) {
7132
7133
  return void 0;
7133
7134
  }
7134
7135
 
7136
+ // src/organizationMembers.ts
7137
+ var MEMBERS_PATH = "/api/sdk/organizationMembers";
7138
+ var OrganizationMembersClient = class {
7139
+ constructor(httpClient) {
7140
+ this.httpClient = httpClient;
7141
+ }
7142
+ /**
7143
+ * List the organization's members, ordered by name. Read it to find the
7144
+ * address to pass as an assertion's `assigneeEmail`.
7145
+ */
7146
+ async list() {
7147
+ const response = await this.httpClient.get(MEMBERS_PATH);
7148
+ return response.members;
7149
+ }
7150
+ };
7151
+
7135
7152
  // src/client.ts
7136
7153
  init_randomUuid();
7137
7154
  init_replay();
@@ -8797,6 +8814,7 @@ var Bitfab = class {
8797
8814
  }
8798
8815
  this.datasets = new DatasetsClient(this.httpClient);
8799
8816
  this.assertionCategories = new AssertionCategoriesClient(this.httpClient);
8817
+ this.organizationMembers = new OrganizationMembersClient(this.httpClient);
8800
8818
  this.traces = new TracesClient(this.httpClient);
8801
8819
  this.labels = new LabelsClient(this.httpClient);
8802
8820
  this.graders = new GradersClient(this.httpClient);
@@ -11041,6 +11059,7 @@ assertAsyncStorageRegistered();
11041
11059
  LabelsClient,
11042
11060
  MixedTracingError,
11043
11061
  NO_MOCK_OVERRIDE,
11062
+ OrganizationMembersClient,
11044
11063
  ReplayError,
11045
11064
  SUPPORTED_PROVIDERS,
11046
11065
  TracesClient,