bitfab-cli 0.2.429 → 0.2.430
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 +15 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28780,6 +28780,16 @@ var getSpanField = {
|
|
|
28780
28780
|
offset: external_exports.preprocess(parseJsonString, external_exports.number().int().min(0)).optional().describe("Character position to start reading from (default 0). Pass the offset a previous response gave to read the next part of a long field.")
|
|
28781
28781
|
}
|
|
28782
28782
|
};
|
|
28783
|
+
var getSpan = {
|
|
28784
|
+
name: "get_span",
|
|
28785
|
+
title: "Get Span",
|
|
28786
|
+
description: `Read one span from its span ID alone, with no trace ID: the span's output, and the trace and traced function it belongs to, so you can follow up with get_traces, get_span_field, or get_trace_assertions. Accepts the Bitfab span ID (the \`[ID: ...]\` get_traces prints) or the span ID your code's SDK sent. The output is returned up to ${SPAN_READ_MAX_RESPONSE_CHARS} chars per call; when it is longer, the response says which offset reads the next part. A span that cannot be found names the organization that was searched, because a span from another organization reads as not found: switch organizations and try again.`,
|
|
28787
|
+
inputSchema: {
|
|
28788
|
+
spanId: external_exports.string().trim().min(1).max(256).describe("The span ID: Bitfab's span ID, or the span ID your code's SDK sent"),
|
|
28789
|
+
maxChars: external_exports.preprocess(parseJsonString, external_exports.number().int().positive()).optional().describe(`Maximum characters of the span's output to return (default and upper limit ${SPAN_READ_MAX_RESPONSE_CHARS}). Larger values are treated as ${SPAN_READ_MAX_RESPONSE_CHARS}.`),
|
|
28790
|
+
offset: external_exports.preprocess(parseJsonString, external_exports.number().int().min(0)).optional().describe("Character position in the span's output to start reading from (default 0). Pass the offset a previous response gave to read the next part of a long output.")
|
|
28791
|
+
}
|
|
28792
|
+
};
|
|
28783
28793
|
var labelEvidenceShape = external_exports.preprocess(parseJsonString, external_exports.array(external_exports.object({
|
|
28784
28794
|
spanId: external_exports.uuid(),
|
|
28785
28795
|
text: external_exports.string().trim().min(1).max(1e4)
|
|
@@ -29239,6 +29249,7 @@ var ALL_TOOL_CONTRACTS = [
|
|
|
29239
29249
|
getTraceLabels,
|
|
29240
29250
|
generateLabelEvidence,
|
|
29241
29251
|
getSpanField,
|
|
29252
|
+
getSpan,
|
|
29242
29253
|
saveAgentLabels,
|
|
29243
29254
|
saveHumanLabels,
|
|
29244
29255
|
saveAssertionCategory,
|
|
@@ -29882,10 +29893,10 @@ var semver3 = __toESM(require_semver2(), 1);
|
|
|
29882
29893
|
|
|
29883
29894
|
// ../bitfab-plugin-lib/dist/bakedSdkVersions.js
|
|
29884
29895
|
var BAKED_SDK_VERSIONS = {
|
|
29885
|
-
typescript: "0.64.
|
|
29886
|
-
python: "0.64.
|
|
29887
|
-
ruby: "0.64.
|
|
29888
|
-
go: "0.64.
|
|
29896
|
+
typescript: "0.64.14",
|
|
29897
|
+
python: "0.64.14",
|
|
29898
|
+
ruby: "0.64.12",
|
|
29899
|
+
go: "0.64.13"
|
|
29889
29900
|
};
|
|
29890
29901
|
|
|
29891
29902
|
// ../bitfab-plugin-lib/dist/installedSdk.js
|
package/package.json
CHANGED