@bitfab/sdk 0.68.11 → 0.69.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-BN_Ry7Wf.cjs → http-C9icRaA3.cjs} +2 -2
- package/dist/http-C9icRaA3.cjs.map +1 -0
- package/dist/{http-BiyOTH78.js → http-CzKW7TgN.js} +2 -2
- package/dist/{http-BN_Ry7Wf.cjs.map → http-CzKW7TgN.js.map} +1 -1
- package/dist/{index-Bg-oKbVP.d.cts → index-D7y_bwZC.d.cts} +87 -2
- package/dist/{index-Bg-oKbVP.d.ts → index-D7y_bwZC.d.ts} +87 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/node.cjs +2 -2
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +2 -2
- package/dist/{src-G_mEK3GW.cjs → src-4VpSvoAt.cjs} +7 -4
- package/dist/src-4VpSvoAt.cjs.map +1 -0
- package/dist/{src-B3hT_cMM.js → src-Cn--d1sW.js} +7 -4
- package/dist/src-Cn--d1sW.js.map +1 -0
- package/package.json +1 -1
- package/dist/http-BiyOTH78.js.map +0 -1
- package/dist/src-B3hT_cMM.js.map +0 -1
- package/dist/src-G_mEK3GW.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { C as BitfabError, E as __version__, S as gitRunner, T as readEnv$1, _ as MAX_SPAN_CARRIER_BYTES, b as replayContextReady, c as recordCallerTraceMetadata, f as ROOT_TRACE_FUNCTION_KEY_FIELD, g as MAX_COMPRESSIBLE_SPAN_CARRIER_BYTES, h as makeSpanOrigin, i as flushTraces, l as retireTraceMetadata, m as isFrameworkInstrumentation, n as SPAN_TYPES, o as unrefTimer, p as SimulationPlan, r as experimentIdWireFields, s as callerTraceMetadata, t as HttpClient, v as byteLength, w as MixedTracingError, x as runWithReplayContext, y as getReplayContext } from "./http-
|
|
2
|
+
import { C as BitfabError, E as __version__, S as gitRunner, T as readEnv$1, _ as MAX_SPAN_CARRIER_BYTES, b as replayContextReady, c as recordCallerTraceMetadata, f as ROOT_TRACE_FUNCTION_KEY_FIELD, g as MAX_COMPRESSIBLE_SPAN_CARRIER_BYTES, h as makeSpanOrigin, i as flushTraces, l as retireTraceMetadata, m as isFrameworkInstrumentation, n as SPAN_TYPES, o as unrefTimer, p as SimulationPlan, r as experimentIdWireFields, s as callerTraceMetadata, t as HttpClient, v as byteLength, w as MixedTracingError, x as runWithReplayContext, y as getReplayContext } from "./http-CzKW7TgN.js";
|
|
3
3
|
import { A as unmapOpenAiAgentsTrace, B as asyncStorageReady, C as recordAutoTracedClientCall, D as mapOpenAiAgentsTrace, E as endOpenAiAgentsSpan, F as warnOnce, H as isAsyncStorageInitDone, I as writeOnce, L as isCaptureSuppressed, M as installLangChainRunScopes, N as markLangChainRunRecorded, O as openAiAgentsParentSpanId, R as runWithCaptureSuppressed, S as frameworkRecordsClientCall, T as watchClientCall, V as createAsyncLocalStorage, _ as runWithAutoTraceRootContext, b as OPENROUTER, f as invokeThroughAutoTraceEntries, g as runWithAutoTraceNodeConfiguration, h as runWithAutoTraceFramesAt, j as forgetLangChainRun, k as openAiAgentsSpanChain, l as clearAutoTraceNodeConfiguration, m as runWithAutoTraceEntry, o as __bitfabAutoTraceActive, p as runAsAutoTraceRootFunction, u as currentAutoTraceEntries, v as ANTHROPIC, w as recordWatchedClientCall, x as clientCallProvider, y as OPENAI_RESPONSES } from "./autoTrace-kHOBg49M.js";
|
|
4
4
|
import { t as importOptionalPeer } from "./optionalPeer-CczrzrXx.js";
|
|
5
5
|
import { t as loadBamlModule } from "./bamlPeer-Dyeb3e5o.js";
|
|
@@ -1234,6 +1234,9 @@ var ExperimentsClient = class {
|
|
|
1234
1234
|
async getRollup(id) {
|
|
1235
1235
|
return this.httpClient.get(`${EXPERIMENTS_PATH}/${encodeURIComponent(id)}/rollup`);
|
|
1236
1236
|
}
|
|
1237
|
+
async getSummary(id) {
|
|
1238
|
+
return this.httpClient.get(`${EXPERIMENTS_PATH}/${encodeURIComponent(id)}/summary`);
|
|
1239
|
+
}
|
|
1237
1240
|
async getRollupAll(ids) {
|
|
1238
1241
|
if (ids.length === 0) return [];
|
|
1239
1242
|
const query = new URLSearchParams({ experimentIds: ids.join(",") });
|
|
@@ -7009,7 +7012,7 @@ var Bitfab = class {
|
|
|
7009
7012
|
await runWithSeedContext({ traceId }, async () => target(...args));
|
|
7010
7013
|
} finally {
|
|
7011
7014
|
try {
|
|
7012
|
-
const { flushTraces } = await import("./http-
|
|
7015
|
+
const { flushTraces } = await import("./http-CzKW7TgN.js").then((n) => n.a);
|
|
7013
7016
|
await flushTraces(3e4);
|
|
7014
7017
|
} finally {
|
|
7015
7018
|
unrecorded = activeTraceStates.delete(traceId);
|
|
@@ -7215,7 +7218,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
7215
7218
|
metadata: seedCase.metadata,
|
|
7216
7219
|
sessionId: seedCase.sessionId
|
|
7217
7220
|
}));
|
|
7218
|
-
const { flushTraces } = await import("./http-
|
|
7221
|
+
const { flushTraces } = await import("./http-CzKW7TgN.js").then((n) => n.a);
|
|
7219
7222
|
await flushTraces(3e4);
|
|
7220
7223
|
return {
|
|
7221
7224
|
pipeline,
|
|
@@ -7232,4 +7235,4 @@ function resolveTraceFunctionKey(registration) {
|
|
|
7232
7235
|
//#endregion
|
|
7233
7236
|
export { VerdictsClient as A, OrganizationMembersClient as C, BitfabLangGraphCallbackHandler as D, BitfabLangGraphIntegration as E, GraderRerunTimeoutError as F, BitfabClaudeAgentHandler as I, DEFAULT_SERVICE_URL as L, SUPPORTED_PROVIDERS as M, DatasetsClient as N, GradersClient as O, GraderRerunError as P, AssertionCategoriesClient as R, BitfabPiIntegration as S, NO_MOCK_OVERRIDE as T, BITFAB_PROGRESS_PREFIX as _, Bitfab as a, reportReplayProgress as b, getCurrentSpan as c, BitfabOpenAITracingProcessor as d, AssertionGenerationError as f, BitfabRivetIntegration as g, SpansClient as h, finalizers as i, ExperimentsClient as j, LabelsClient as k, getCurrentTrace as l, TracesClient as m, reseedFromRegistry as n, BitfabFunction as o, AssertionGenerationTimeoutError as p, seedFromRegistry as r, getCurrentReplayBranch as s, defineReplayRegistry as t, BitfabVercelAiHandler as u, DbBranchReplayError as v, BitfabOpenAIAgentHandler as w, serializeReplayResult as x, ReplayError as y, CategoriesClient as z };
|
|
7234
7237
|
|
|
7235
|
-
//# sourceMappingURL=src-
|
|
7238
|
+
//# sourceMappingURL=src-Cn--d1sW.js.map
|