trickle-cli 0.1.226 → 0.1.228
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.
|
@@ -886,7 +886,7 @@ async function handleRequest(req) {
|
|
|
886
886
|
case "get_environment": {
|
|
887
887
|
const envFile = path.join(findTrickleDir(), "environment.json");
|
|
888
888
|
if (!fs.existsSync(envFile)) {
|
|
889
|
-
result = { environment: "No environment snapshot.
|
|
889
|
+
result = { environment: "No environment snapshot. Set TRICKLE_CAPTURE_ENV=1 and run the app with trickle to capture." };
|
|
890
890
|
}
|
|
891
891
|
else {
|
|
892
892
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trickle-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.228",
|
|
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",
|
|
@@ -875,7 +875,7 @@ async function handleRequest(req: JsonRpcRequest): Promise<JsonRpcResponse> {
|
|
|
875
875
|
case "get_environment": {
|
|
876
876
|
const envFile = path.join(findTrickleDir(), "environment.json");
|
|
877
877
|
if (!fs.existsSync(envFile)) {
|
|
878
|
-
result = { environment: "No environment snapshot.
|
|
878
|
+
result = { environment: "No environment snapshot. Set TRICKLE_CAPTURE_ENV=1 and run the app with trickle to capture." };
|
|
879
879
|
} else {
|
|
880
880
|
try { result = JSON.parse(fs.readFileSync(envFile, "utf-8")); } catch { result = { environment: "Failed to read environment snapshot." }; }
|
|
881
881
|
}
|