@kradle/cli 0.0.16 → 0.0.17

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.
@@ -180,6 +180,9 @@ export class Challenge {
180
180
  */
181
181
  static async getLocalChallenges() {
182
182
  const challengesDir = path.resolve(process.cwd(), "challenges");
183
+ if (!existsSync(challengesDir)) {
184
+ return {};
185
+ }
183
186
  const entries = await readDirSorted(challengesDir);
184
187
  const challenges = {};
185
188
  for (const entry of entries) {
@@ -230,7 +230,7 @@ export class Evaluator {
230
230
  console.log("");
231
231
  }
232
232
  if (options.openMetabase ?? true) {
233
- openInBrowser(`https://daunt-fair.metabaseapp.com/dashboard/10-runs-analysis?tags=${iterationTag}`);
233
+ openInBrowser(`https://daunt-fair.metabaseapp.com/dashboard/10-runs-analysis?run_tags=${iterationTag}`);
234
234
  }
235
235
  const errors = this.runner?.getAllStates().filter((state) => state.status === "error");
236
236
  if (errors?.length > 0) {
@@ -401,5 +401,5 @@
401
401
  ]
402
402
  }
403
403
  },
404
- "version": "0.0.16"
404
+ "version": "0.0.17"
405
405
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kradle/cli",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Kradle's CLI. Manage challenges, evaluations, agents and more!",
5
5
  "keywords": [
6
6
  "cli"
@@ -2,4 +2,4 @@ WEB_API_URL=https://dev-api.kradle.ai/v0 #https://api.kradle.ai/v0
2
2
  WEB_URL=https://dev.kradle.ai #https:/.kradle.ai/workbench
3
3
  STUDIO_API_URL=http://localhost:2999/api/v0
4
4
  STUDIO_URL=kradle-dev://open #kradle://://open
5
- KRADLE_CHALLENGES_PATH=~/Documents/kradle-studio/challenges
5
+ KRADLE_CHALLENGES_PATH=~/Documents/kradle-studio/challenges-dev