bitfab-cli 0.2.146 → 0.2.147
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 +43 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30618,6 +30618,49 @@ var McpZodTypeKind;
|
|
|
30618
30618
|
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_@cfworker+json-schema@4.1.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
30619
30619
|
import process3 from "process";
|
|
30620
30620
|
|
|
30621
|
+
// ../bitfab-plugin-lib/dist/mcpServer.js
|
|
30622
|
+
var LEGACY_CLASSIFICATION = {
|
|
30623
|
+
mock_boundary: "model_call",
|
|
30624
|
+
live_side_effect: "side_effect"
|
|
30625
|
+
};
|
|
30626
|
+
var traceNodeAnalysisShape = external_exports.object({
|
|
30627
|
+
classification: external_exports.preprocess((value) => typeof value === "string" ? LEGACY_CLASSIFICATION[value] ?? value : value, external_exports.enum(["pure", "model_call", "external_read", "side_effect"])),
|
|
30628
|
+
innerCall: external_exports.object({ name: external_exports.string() }).optional(),
|
|
30629
|
+
sideEffectKind: external_exports.enum([
|
|
30630
|
+
"db_write",
|
|
30631
|
+
"http_outbound",
|
|
30632
|
+
"queue",
|
|
30633
|
+
"email",
|
|
30634
|
+
"filesystem",
|
|
30635
|
+
"vector_write"
|
|
30636
|
+
]).optional(),
|
|
30637
|
+
readKind: external_exports.enum([
|
|
30638
|
+
"db_read",
|
|
30639
|
+
"http_read",
|
|
30640
|
+
"vector_search",
|
|
30641
|
+
"cache_read",
|
|
30642
|
+
"filesystem_read"
|
|
30643
|
+
]).optional()
|
|
30644
|
+
}).passthrough();
|
|
30645
|
+
var traceNodeShape = external_exports.object({
|
|
30646
|
+
id: external_exports.string(),
|
|
30647
|
+
name: external_exports.string(),
|
|
30648
|
+
kind: external_exports.enum(["manual", "auto", "pure"]),
|
|
30649
|
+
file: external_exports.string(),
|
|
30650
|
+
line: external_exports.number(),
|
|
30651
|
+
signature: external_exports.string().nullable(),
|
|
30652
|
+
parentId: external_exports.string().nullable(),
|
|
30653
|
+
childIds: external_exports.array(external_exports.string()),
|
|
30654
|
+
framework: external_exports.string().optional(),
|
|
30655
|
+
sampleInput: external_exports.unknown().optional(),
|
|
30656
|
+
sampleOutput: external_exports.unknown().optional(),
|
|
30657
|
+
analysis: traceNodeAnalysisShape.optional()
|
|
30658
|
+
}).passthrough();
|
|
30659
|
+
var tracePlanTreeShape = external_exports.object({
|
|
30660
|
+
rootId: external_exports.string(),
|
|
30661
|
+
nodes: external_exports.record(external_exports.string(), traceNodeShape)
|
|
30662
|
+
});
|
|
30663
|
+
|
|
30621
30664
|
// src/claude.ts
|
|
30622
30665
|
import { spawnSync } from "child_process";
|
|
30623
30666
|
import fs20 from "fs";
|