bitfab-cli 0.2.469 → 0.2.470
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 +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29648,6 +29648,15 @@ var saveScenario = {
|
|
|
29648
29648
|
sources: external_exports.preprocess(parseJsonString, external_exports.record(external_exports.string(), external_exports.unknown())).optional().describe(`Where the records came from, as { frameAt, capturedAt, windows, coverage }: when the run started, when its data was captured (or null), how many days each windowed kind reaches (such as { "messagesDays": 3, "calendarDays": 7 }), and coverage, which gives each kind of data its capture status ("rewound-to-frame" for as of the run, "current-at-capture" for as of capture, "not-recorded" or "unavailable" for not captured) plus filledColumns { absentNullable, defaultedNonNullable }, the "table.column" names the capture predates. Only with records, never with recordsPath, which sends the file's own.`)
|
|
29649
29649
|
}
|
|
29650
29650
|
};
|
|
29651
|
+
var saveTraceCategories = {
|
|
29652
|
+
name: "save_trace_categories",
|
|
29653
|
+
title: "Save Trace Categories",
|
|
29654
|
+
description: "File one trace under categories, replacing its whole set. Send categoryIds with every category the trace belongs to; an empty list clears them. Categories are held by the trace's scenario, so every trace linked to that scenario shows the same categories. A trace with no scenario yet gets a dummy one, which has no trigger or data until save_scenario generates it and keeps its categories when it does. Category ids come from save_category or list_categories, and an id not in this organization is refused. Returns the trace's categories after the save and the scenario that holds them.",
|
|
29655
|
+
inputSchema: {
|
|
29656
|
+
traceId: external_exports.uuid().describe("The trace to file."),
|
|
29657
|
+
categoryIds: external_exports.preprocess(parseJsonString, external_exports.array(external_exports.uuid()).max(100)).describe("Every category the trace belongs to, replacing its saved set. An empty list clears it.")
|
|
29658
|
+
}
|
|
29659
|
+
};
|
|
29651
29660
|
var generateScenarioAssertions = {
|
|
29652
29661
|
name: "generate_scenario_assertions",
|
|
29653
29662
|
title: "Generate Scenario Assertions",
|
|
@@ -29718,6 +29727,7 @@ var ALL_TOOL_CONTRACTS = [
|
|
|
29718
29727
|
listScenarios,
|
|
29719
29728
|
getScenario,
|
|
29720
29729
|
saveScenario,
|
|
29730
|
+
saveTraceCategories,
|
|
29721
29731
|
generateScenarioAssertions
|
|
29722
29732
|
];
|
|
29723
29733
|
var TOOL_NAMES = ALL_TOOL_CONTRACTS.map((contract) => contract.name).sort();
|
package/package.json
CHANGED