@kurtel/cli 0.1.3 → 0.1.5

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.
@@ -48,6 +48,8 @@ export async function statusCommand(id) {
48
48
  if (run.repo)
49
49
  console.log(`${c.gray("repo")} ${c.white(run.repo)}`);
50
50
  console.log(`${c.gray("engine")} ${c.white(run.engine)}`);
51
+ if (run.model)
52
+ console.log(`${c.gray("model")} ${c.white(run.model)}`);
51
53
  console.log(`${c.gray("status")} ${statusLabel(run.status)}`);
52
54
  if (run.result?.summary)
53
55
  console.log(`${c.gray("summary")} ${c.white(run.result.summary)}`);
package/dist/index.js CHANGED
@@ -30,6 +30,7 @@ program
30
30
  .option("-r, --repo <repo>", "Target repository (owner/name or URL)")
31
31
  .option("-b, --branch <branch>", "Base branch", "main")
32
32
  .option("-e, --engine <engine>", "Engine: claude-code | codex")
33
+ .option("-m, --model <model>", "Model to use (engine-specific, optional)")
33
34
  .action(async (taskParts, opts) => {
34
35
  await runCommand((taskParts ?? []).join(" "), opts);
35
36
  });
@@ -4,9 +4,10 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync, } from "node:fs";
4
4
  // Where the CLI talks to. Override with KURTEL_API_URL for local dev, e.g.
5
5
  // KURTEL_API_URL=http://localhost:3000 kurtel login
6
6
  export function apiUrl() {
7
- return (process.env.KURTEL_API_URL ??
8
- loadConfig().apiUrl ??
9
- "htt");
7
+ return (process.env.KURTEL_API_URL ?? // 1. variable d'env (override)
8
+ loadConfig().apiUrl ?? // 2. clé "apiUrl" du config local
9
+ "https://kurtel-app.vercel.app/" // 3. valeur par défaut codée en dur
10
+ );
10
11
  }
11
12
  export function saveSession(session) {
12
13
  const config = loadConfig();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kurtel/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Launch self-improving coding agents in the cloud — the Kurtel CLI.",
5
5
  "type": "module",
6
6
  "bin": {