@kradle/cli 0.0.12 → 0.0.13

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.
@@ -50,6 +50,7 @@ export default class Run extends Command {
50
50
  await evaluator.run({
51
51
  new: flags.new,
52
52
  maxConcurrent: flags["max-concurrent"],
53
+ openMetabase: true,
53
54
  });
54
55
  this.log(pc.green("\n✓ Evaluation complete!"));
55
56
  }
@@ -229,13 +229,13 @@ export class Evaluator {
229
229
  this.tui.stop();
230
230
  console.log("");
231
231
  }
232
+ if (options.openMetabase ?? true) {
233
+ openInBrowser(`https://daunt-fair.metabaseapp.com/dashboard/10-runs-analysis?tags=${iterationTag}`);
234
+ }
232
235
  const errors = this.runner?.getAllStates().filter((state) => state.status === "error");
233
236
  if (errors?.length > 0) {
234
237
  throw new Error(`${errors.map((error) => error.error).join("\n\n")}`);
235
238
  }
236
- if (options.openMetabase ?? true) {
237
- openInBrowser(`https://daunt-fair.metabaseapp.com/dashboard/10-runs-analysis?tags=${iterationTag}`);
238
- }
239
239
  }
240
240
  /**
241
241
  * Handle state change from runner
@@ -401,5 +401,5 @@
401
401
  ]
402
402
  }
403
403
  },
404
- "version": "0.0.12"
404
+ "version": "0.0.13"
405
405
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kradle/cli",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Kradle's CLI. Manage challenges, evaluations, agents and more!",
5
5
  "keywords": [
6
6
  "cli"