bitfab-cli 0.2.473 → 0.2.474
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 +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31126,8 +31126,8 @@ var semver2 = __toESM(require_semver2(), 1);
|
|
|
31126
31126
|
|
|
31127
31127
|
// ../bitfab-plugin-lib/dist/bakedSdkVersions.js
|
|
31128
31128
|
var BAKED_SDK_VERSIONS = {
|
|
31129
|
-
typescript: "0.
|
|
31130
|
-
python: "0.
|
|
31129
|
+
typescript: "0.67.0",
|
|
31130
|
+
python: "0.67.0",
|
|
31131
31131
|
ruby: "0.66.0",
|
|
31132
31132
|
go: "0.66.0"
|
|
31133
31133
|
};
|
|
@@ -34131,6 +34131,7 @@ var FRAMEWORKS = [
|
|
|
34131
34131
|
// The captured span IS the BAML function call (a model call), recorded via a
|
|
34132
34132
|
// BAML Collector (observe), not withSpan. No nested child spans.
|
|
34133
34133
|
autoCapture: { modelCall: "observed" },
|
|
34134
|
+
recordedUnderTraceRoot: true,
|
|
34134
34135
|
signals: {
|
|
34135
34136
|
ts: "`@boundaryml/baml`, `baml_client` import",
|
|
34136
34137
|
py: "`baml-py`, `from baml_client import b`"
|
|
@@ -34193,7 +34194,8 @@ function frameworkReferenceList() {
|
|
|
34193
34194
|
const alias = f.aliasHandler ? `; in a LangChain-only project, prefer the identical aliases ${code(f.aliasHandler.ts)} / ${code(f.aliasHandler.py ?? f.aliasHandler.ts)} so the code reads naturally` : "";
|
|
34194
34195
|
const wrapper = f.rootWrapper ? `, plus the replayable run wrapper ${code(f.rootWrapper.ts)} / ${code(f.rootWrapper.py ?? f.rootWrapper.ts)} (drop-in for the run call)` : "";
|
|
34195
34196
|
const toolReplay = f.experimentalToolReplay ? `; Experimental (alpha) tool replay: ${code(f.experimentalToolReplay.factory.ts)} / ${code(f.experimentalToolReplay.factory.py ?? f.experimentalToolReplay.factory.ts)} with ${code(f.experimentalToolReplay.invoker.ts)} / ${code(f.experimentalToolReplay.invoker.py ?? f.experimentalToolReplay.invoker.ts)}${f.experimentalToolReplay.invoker.pyAsync ? ` / ${code(f.experimentalToolReplay.invoker.pyAsync)}` : ""}` : "";
|
|
34196
|
-
|
|
34197
|
+
const underTraceRoot = f.recordedUnderTraceRoot ? `; beneath an opt-out ${code("withTrace")} / ${code("trace")} root its calls are recorded as ${code("llm")} spans with no ${methods}, so add that ${f.handlerNoun} only under opt-in ${code("withSpan")} / ${code("@span")} code, and configure one call with ${code("withNode")} / ${code("node()")} on the bound method` : "";
|
|
34198
|
+
return `${f.label} \u2192 ${code(docsUrl(f.docsPath))} (${methods}${alias}${wrapper}${toolReplay}${underTraceRoot})`;
|
|
34197
34199
|
}).join("; ");
|
|
34198
34200
|
}
|
|
34199
34201
|
function handlerFrameworksWithMethods() {
|
package/package.json
CHANGED