bitfab-cli 0.2.244 → 0.2.246
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 +12 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28428,6 +28428,16 @@ var getTracePlan = {
|
|
|
28428
28428
|
traceFunctionKey: external_exports.string().optional().describe("Trace function key. Returns the latest confirmed plan for this key in the caller's organization, or a 'no prior plan' message if none exists.")
|
|
28429
28429
|
}
|
|
28430
28430
|
};
|
|
28431
|
+
var listTracePlans = {
|
|
28432
|
+
name: "list_trace_plans",
|
|
28433
|
+
title: "List Trace Plans",
|
|
28434
|
+
description: 'List existing trace plans for this organization, newest first. The primary use is surfacing the unconfirmed draft plans an earlier `analyze-repo` run uploaded (pass `source: "analyze_repo"`, `status: "awaiting"`) so an Instrument cycle can reuse them instead of re-scanning the codebase and re-drafting. Each entry includes the plan id (pass it to get_trace_plan / openTracePlan), the trace function key, the root name and file, language, the recommended captured-node count, status, source, and age. Expired plans are omitted. Use this before asking the user what to instrument.',
|
|
28435
|
+
inputSchema: {
|
|
28436
|
+
source: external_exports.enum(["interactive", "analyze_repo"]).optional().describe("Filter by how the plan was produced. 'analyze_repo' returns the non-interactive batch drafts; 'interactive' returns plans from a normal Instrument/Modify cycle. Omit for both."),
|
|
28437
|
+
status: external_exports.enum(["awaiting", "confirmed", "cancelled"]).optional().describe("Filter by plan status. 'awaiting' is an unconfirmed draft (the reusable ones), 'confirmed' has been accepted in Studio, 'cancelled' was dropped. Omit for any."),
|
|
28438
|
+
limit: external_exports.preprocess(parseJsonString, external_exports.number().min(1).max(50)).optional().describe("Max plans to return (default 20, max 50)")
|
|
28439
|
+
}
|
|
28440
|
+
};
|
|
28431
28441
|
var saveExperimentGroup = {
|
|
28432
28442
|
name: "save_experiment_group",
|
|
28433
28443
|
title: "Save Experiment Group",
|
|
@@ -28491,7 +28501,8 @@ var ALL_TOOL_CONTRACTS = [
|
|
|
28491
28501
|
saveTemplate,
|
|
28492
28502
|
createTracePlan,
|
|
28493
28503
|
confirmTracePlan,
|
|
28494
|
-
getTracePlan
|
|
28504
|
+
getTracePlan,
|
|
28505
|
+
listTracePlans
|
|
28495
28506
|
];
|
|
28496
28507
|
var TOOL_NAMES = ALL_TOOL_CONTRACTS.map((contract) => contract.name).sort();
|
|
28497
28508
|
|