trickle-cli 0.1.208 → 0.1.210

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 CHANGED
@@ -269,10 +269,13 @@ program
269
269
  .command("test [command...]")
270
270
  .description("Run tests with observability (default) or generate test files (--generate)")
271
271
  .option("--generate", "Generate test file from observed routes instead of running tests")
272
+ .option("--unit", "Generate function-level unit tests instead of API route tests (with --generate)")
272
273
  .option("--json", "Structured JSON output for agent consumption")
273
274
  .option("-o, --out <path>", "Write tests to a file (with --generate)")
274
- .option("--framework <name>", "Test framework: vitest or jest (with --generate)")
275
+ .option("--framework <name>", "Test framework: vitest, jest, or pytest (with --generate)")
275
276
  .option("--base-url <url>", "Base URL for API requests (with --generate)")
277
+ .option("--function <name>", "Filter by function name (with --generate --unit)")
278
+ .option("--module <name>", "Filter by module name (with --generate --unit)")
276
279
  .action(async (commandParts, opts) => {
277
280
  if (opts.generate) {
278
281
  await (0, test_gen_1.testGenCommand)(opts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trickle-cli",
3
- "version": "0.1.208",
3
+ "version": "0.1.210",
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": ["observability", "tracing", "llm", "openai", "anthropic", "langchain", "crewai", "agent", "mcp", "debugging", "typescript", "python", "security", "eval", "compliance"],
6
6
  "bin": {