bitfab-cli 0.2.324 → 0.2.325
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 +26 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24334,6 +24334,27 @@ var getGraderLabels = {
|
|
|
24334
24334
|
limit: external_exports.preprocess(parseJsonString, external_exports.number().int().min(1).max(MAX_GRADER_LABEL_LIMIT)).optional().describe(`Max labels to return when reading by grader alone (default ${DEFAULT_GRADER_LABEL_LIMIT}, max ${MAX_GRADER_LABEL_LIMIT}). Ignored when traceIds is given.`)
|
|
24335
24335
|
}
|
|
24336
24336
|
};
|
|
24337
|
+
var getSimPlan = {
|
|
24338
|
+
name: "get_sim_plan",
|
|
24339
|
+
title: "Get Sim Plan",
|
|
24340
|
+
description: "Read one trace function's sim plan: its span nodes overlaid from recent traces, each with its span type, call count, how many traces it appears in, and whether its content (inputs and outputs) is captured. Call it to learn the exact node names before save_sim_plan, or to answer what a workflow records today.",
|
|
24341
|
+
inputSchema: {
|
|
24342
|
+
traceFunctionKey: external_exports.string().min(1).describe("Trace function key, as list_trace_functions prints it."),
|
|
24343
|
+
limit: external_exports.preprocess(parseJsonString, external_exports.number().int().min(1).max(100)).optional().describe("Recent traces to overlay (1-100). Defaults to 20.")
|
|
24344
|
+
}
|
|
24345
|
+
};
|
|
24346
|
+
var saveSimPlan = {
|
|
24347
|
+
name: "save_sim_plan",
|
|
24348
|
+
title: "Save Sim Plan",
|
|
24349
|
+
description: "Turn content capture (inputs and outputs) off or on for span nodes of one trace function. The span itself, its name, type, timing, and errors are always recorded; content off strips only inputs and outputs. Call it when the user wants a span to stop recording its payloads, or to record them again. A node is its span name inside the trace function key, exactly as get_sim_plan lists it. Returns the updated sim plan.",
|
|
24350
|
+
inputSchema: {
|
|
24351
|
+
traceFunctionKey: external_exports.string().min(1).describe("Trace function key, as list_trace_functions prints it."),
|
|
24352
|
+
nodes: external_exports.preprocess(parseJsonString, external_exports.array(external_exports.object({
|
|
24353
|
+
name: external_exports.string().min(1),
|
|
24354
|
+
captureContent: external_exports.preprocess(parseJsonString, external_exports.boolean())
|
|
24355
|
+
})).min(1).max(500)).describe("Nodes to change (1-500). `name` is the span name; `captureContent` false stops recording that span's inputs and outputs, true records them again.")
|
|
24356
|
+
}
|
|
24357
|
+
};
|
|
24337
24358
|
var ALL_TOOL_CONTRACTS = [
|
|
24338
24359
|
getGraderLabels,
|
|
24339
24360
|
getExperiment,
|
|
@@ -24379,7 +24400,9 @@ var ALL_TOOL_CONTRACTS = [
|
|
|
24379
24400
|
confirmTracePlan,
|
|
24380
24401
|
getTracePlan,
|
|
24381
24402
|
listTracePlans,
|
|
24382
|
-
cancelTracePlan
|
|
24403
|
+
cancelTracePlan,
|
|
24404
|
+
getSimPlan,
|
|
24405
|
+
saveSimPlan
|
|
24383
24406
|
];
|
|
24384
24407
|
var TOOL_NAMES = ALL_TOOL_CONTRACTS.map((contract) => contract.name).sort();
|
|
24385
24408
|
|
|
@@ -26987,8 +27010,8 @@ var semver3 = __toESM(require_semver2(), 1);
|
|
|
26987
27010
|
|
|
26988
27011
|
// ../bitfab-plugin-lib/dist/bakedSdkVersions.js
|
|
26989
27012
|
var BAKED_SDK_VERSIONS = {
|
|
26990
|
-
typescript: "0.
|
|
26991
|
-
python: "0.
|
|
27013
|
+
typescript: "0.53.0",
|
|
27014
|
+
python: "0.53.0",
|
|
26992
27015
|
ruby: "0.51.2",
|
|
26993
27016
|
go: "0.51.1"
|
|
26994
27017
|
};
|
package/package.json
CHANGED