trickle-cli 0.1.213 → 0.1.214
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/commands/run.js +2 -2
- package/package.json +1 -1
- package/src/commands/run.ts +2 -2
package/dist/commands/run.js
CHANGED
|
@@ -409,8 +409,8 @@ async function executeSingleRun(instrumentedCommand, env, opts, singleFile, loca
|
|
|
409
409
|
const localDir = env.TRICKLE_LOCAL_DIR || process.env.TRICKLE_LOCAL_DIR || path.join(process.cwd(), ".trickle");
|
|
410
410
|
const jsonlPath = path.join(localDir, "observations.jsonl");
|
|
411
411
|
const { generateLocalStubs, generateFromJsonl, readObservations } = await Promise.resolve().then(() => __importStar(require("../local-codegen")));
|
|
412
|
-
// Check if stub generation is enabled (TRICKLE_STUBS=
|
|
413
|
-
const stubsEnabled = (env.TRICKLE_STUBS || process.env.TRICKLE_STUBS || "
|
|
412
|
+
// Check if stub generation is enabled (opt-in: TRICKLE_STUBS=1 enables .pyi/.d.ts files)
|
|
413
|
+
const stubsEnabled = (env.TRICKLE_STUBS || process.env.TRICKLE_STUBS || "0").toLowerCase() !== "0";
|
|
414
414
|
// Start live type generation — types update while the process runs
|
|
415
415
|
let liveTypesStop = null;
|
|
416
416
|
if (singleFile && stubsEnabled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trickle-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.214",
|
|
4
4
|
"description": "Zero-code runtime observability for JS/Python + AI agent debugging. Traces LangChain, CrewAI, OpenAI, Anthropic, Gemini. Eval, security, compliance, cost tracking. Free, local-first.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"observability",
|
package/src/commands/run.ts
CHANGED
|
@@ -459,8 +459,8 @@ async function executeSingleRun(
|
|
|
459
459
|
|
|
460
460
|
const { generateLocalStubs, generateFromJsonl, readObservations } = await import("../local-codegen");
|
|
461
461
|
|
|
462
|
-
// Check if stub generation is enabled (TRICKLE_STUBS=
|
|
463
|
-
const stubsEnabled = (env.TRICKLE_STUBS || process.env.TRICKLE_STUBS || "
|
|
462
|
+
// Check if stub generation is enabled (opt-in: TRICKLE_STUBS=1 enables .pyi/.d.ts files)
|
|
463
|
+
const stubsEnabled = (env.TRICKLE_STUBS || process.env.TRICKLE_STUBS || "0").toLowerCase() !== "0";
|
|
464
464
|
|
|
465
465
|
// Start live type generation — types update while the process runs
|
|
466
466
|
let liveTypesStop: (() => void) | null = null;
|