braintrust-lite 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/bin/consult +6 -5
  2. package/package.json +1 -1
package/bin/consult CHANGED
@@ -32,7 +32,7 @@ function printHelp() {
32
32
  cat file | consult "explain this"
33
33
 
34
34
  Options:
35
- --only <model> Only run one model: codex | gemini
35
+ --only <model> Only run one model: codex | gemini | claude
36
36
  --skip <model> Skip a model (repeatable)
37
37
  --timeout <sec> Per-model timeout in seconds (default: 90)
38
38
  --dir <path> Working directory for CLI subprocesses
@@ -56,12 +56,13 @@ if (!prompt) {
56
56
 
57
57
  // ─── Run ─────────────────────────────────────────────────────────────────────
58
58
 
59
- const results = await consult({
59
+ const { results, mapping } = await consult({
60
60
  prompt,
61
61
  only: flags.only,
62
62
  skip: flags.skip,
63
- timeoutMs: flags.timeout ? flags.timeout * 1000 : 90_000,
63
+ timeoutMs: flags.timeout != null ? flags.timeout * 1000 : 90_000,
64
64
  cwd: flags.dir ? resolve(flags.dir) : undefined,
65
+ blind: !flags.only, // blind mode only useful when multiple providers run
65
66
  });
66
67
 
67
68
  // Progress summary to stderr
@@ -72,7 +73,7 @@ for (const r of results) {
72
73
 
73
74
  // Output to stdout
74
75
  if (flags.json) {
75
- console.log(formatAsJson(prompt, results));
76
+ console.log(formatAsJson(prompt, results, mapping));
76
77
  } else {
77
- console.log('\n' + formatAsMarkdown(results));
78
+ console.log('\n' + formatAsMarkdown(results, mapping));
78
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braintrust-lite",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Lightweight multi-model advisor for Claude Code — parallel Codex + Gemini consultation via MCP",
5
5
  "type": "module",
6
6
  "bin": {