bitfab-cli 0.2.501 → 0.2.502
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.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29201,7 +29201,7 @@ var assertionTargetShape = external_exports.discriminatedUnion("kind", [
|
|
|
29201
29201
|
]).describe('SCOPE: what part of the trace under evaluation this assertion is checked against. OMIT IT for the whole trace, which is the common case and the right default when unsure. On an edit, omitting it keeps the current scope, and passing null returns the assertion to the whole trace. Pass { "kind": "output" } to check only the final output, or { "kind": "span", "name": "..." } to check one span. Scoping narrows what a judge looks at, so a wrong scope hides real failures. A target naming something the evaluated trace does not contain makes the check ERRORED, never passed, because a check that could not run must never look like a check that succeeded.');
|
|
29202
29202
|
var assertionKindShape = external_exports.enum(["judge", "code", "hybrid"]).describe('KIND: who decides this assertion on a replay. "judge" (the default): the LLM judge reads the run. "code": the code below decides every replay by itself, and never returns "defer". "hybrid": the code decides what a program can read and returns "defer" to hand the rest to the LLM judge. Send "code" or "hybrid" together with code. On an edit, omit it to keep the current kind, and pass "judge" to remove the code.');
|
|
29203
29203
|
var assertionCodeShape = external_exports.object({
|
|
29204
|
-
source: external_exports.string().trim().min(1).max(2e4).describe('Body of
|
|
29204
|
+
source: external_exports.string().trim().min(1).max(2e4).describe('Body of an async TypeScript function (plain JavaScript also works) called with `spans` (every span of the run in start order, each { name, index, hasData } without its data), `input`, and `output` (the run\'s root input and output). Read span data with `await named("span name")`, which returns the spans with that name with { name, index, input, output, metadata }, or `await span.data()`. Count or order spans from `spans` without loading data. It returns "pass", "fail", or "defer", or { result, reason } with a short reason. Only a hybrid assertion returns "defer": when the part the code can read holds and the rest needs reading what text means, so the LLM judge decides it. Copy ids, recipients, and times from the trace as literals, never match the wording of prose, and guard every read so it never throws on a missing field. It runs in a sandbox with no network, files, or timers, gets one second of compute, and may load the data of at most 50 spans within ten seconds.'),
|
|
29205
29205
|
spanNames: external_exports.array(external_exports.string().min(1)).max(50).describe("Every span name the code expects a correct run to produce. Leave out names it only checks did not run. When one of these is missing from a replay and from the other replays sampled for the same function, the code is reported as broken rather than failing the replay.")
|
|
29206
29206
|
}).describe(`CODE: decides this assertion's verdict from the trace's spans instead of the LLM judge, so replays it decides cost no judge call and give the same verdict every time. Write it only when facts a program reads settle the claim, or a necessary part of it: which spans ran and how often, argument and output values, ordering, or an exact literal in a message. Leave it off when deciding needs reading meaning. Bitfab may draft it itself after saving. The code is run on this trace before it is saved, and refused with the reason when it throws, times out, returns anything else, or returns "defer" for a "code" assertion. On an edit, omit it to keep the current code.`);
|
|
29207
29207
|
var justificationShape = external_exports.preprocess(parseJsonString, external_exports.array(external_exports.object({
|
|
@@ -31133,10 +31133,10 @@ var semver2 = __toESM(require_semver2(), 1);
|
|
|
31133
31133
|
|
|
31134
31134
|
// ../bitfab-plugin-lib/dist/bakedSdkVersions.js
|
|
31135
31135
|
var BAKED_SDK_VERSIONS = {
|
|
31136
|
-
typescript: "0.73.
|
|
31137
|
-
python: "0.73.
|
|
31138
|
-
ruby: "0.72.
|
|
31139
|
-
go: "0.71.
|
|
31136
|
+
typescript: "0.73.1",
|
|
31137
|
+
python: "0.73.1",
|
|
31138
|
+
ruby: "0.72.1",
|
|
31139
|
+
go: "0.71.1"
|
|
31140
31140
|
};
|
|
31141
31141
|
|
|
31142
31142
|
// ../bitfab-plugin-lib/dist/installedSdk.js
|
package/package.json
CHANGED