webmux 0.24.0 → 0.25.0

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.
@@ -10915,7 +10915,6 @@ class BunPortProbe {
10915
10915
  // backend/src/services/auto-name-service.ts
10916
10916
  var MAX_BRANCH_LENGTH = 40;
10917
10917
  var DEFAULT_AUTO_NAME_MODEL = "claude-haiku-4-5-20251001";
10918
- var AUTO_NAME_MAX_TOKENS = 50;
10919
10918
  var DEFAULT_SYSTEM_PROMPT = [
10920
10919
  "Generate a concise git branch name from the task description.",
10921
10920
  "Return only the branch name.",
@@ -10969,8 +10968,8 @@ function buildClaudeArgs(model, systemPrompt, prompt) {
10969
10968
  "--no-session-persistence",
10970
10969
  "--model",
10971
10970
  model || DEFAULT_AUTO_NAME_MODEL,
10972
- "--max-tokens",
10973
- String(AUTO_NAME_MAX_TOKENS)
10971
+ "--effort",
10972
+ "low"
10974
10973
  ];
10975
10974
  args.push(prompt);
10976
10975
  return args;
package/bin/webmux.js CHANGED
@@ -10768,8 +10768,8 @@ function buildClaudeArgs(model, systemPrompt, prompt) {
10768
10768
  "--no-session-persistence",
10769
10769
  "--model",
10770
10770
  model || DEFAULT_AUTO_NAME_MODEL,
10771
- "--max-tokens",
10772
- String(AUTO_NAME_MAX_TOKENS)
10771
+ "--effort",
10772
+ "low"
10773
10773
  ];
10774
10774
  args.push(prompt);
10775
10775
  return args;
@@ -10829,7 +10829,7 @@ class AutoNameService {
10829
10829
  return normalizeGeneratedBranchName(output);
10830
10830
  }
10831
10831
  }
10832
- var MAX_BRANCH_LENGTH = 40, DEFAULT_AUTO_NAME_MODEL = "claude-haiku-4-5-20251001", AUTO_NAME_MAX_TOKENS = 50, DEFAULT_SYSTEM_PROMPT;
10832
+ var MAX_BRANCH_LENGTH = 40, DEFAULT_AUTO_NAME_MODEL = "claude-haiku-4-5-20251001", DEFAULT_SYSTEM_PROMPT;
10833
10833
  var init_auto_name_service = __esm(() => {
10834
10834
  init_policies();
10835
10835
  DEFAULT_SYSTEM_PROMPT = [
@@ -12581,9 +12581,10 @@ function getWorktreeCommandUsage(command) {
12581
12581
  case "add":
12582
12582
  return [
12583
12583
  "Usage:",
12584
- " webmux add [branch] [--base <branch>] [--profile <name>] [--agent <claude|codex>] [--prompt <text>] [--env KEY=VALUE] [--detach]",
12584
+ " webmux add [branch] [--existing] [--base <branch>] [--profile <name>] [--agent <claude|codex>] [--prompt <text>] [--env KEY=VALUE] [--detach]",
12585
12585
  "",
12586
12586
  "Options:",
12587
+ " --existing Use an existing local or remote branch instead of creating a new one",
12587
12588
  " --base <branch> Base branch for a new worktree (defaults to config)",
12588
12589
  " --profile <name> Worktree profile from .webmux.yaml",
12589
12590
  " --agent <claude|codex> Agent to launch in the worktree",
@@ -12662,6 +12663,10 @@ function parseAddCommandArgs(args) {
12662
12663
  if (arg === "--help" || arg === "-h") {
12663
12664
  return null;
12664
12665
  }
12666
+ if (arg === "--existing") {
12667
+ input.mode = "existing";
12668
+ continue;
12669
+ }
12665
12670
  if (arg === "--detach" || arg === "-d") {
12666
12671
  detach = true;
12667
12672
  continue;
@@ -13026,7 +13031,7 @@ import { fileURLToPath } from "url";
13026
13031
  // package.json
13027
13032
  var package_default = {
13028
13033
  name: "webmux",
13029
- version: "0.24.0",
13034
+ version: "0.25.0",
13030
13035
  description: "Web dashboard for workmux \u2014 browser UI with embedded terminals, PR monitoring, and CI integration",
13031
13036
  type: "module",
13032
13037
  repository: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webmux",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Web dashboard for workmux — browser UI with embedded terminals, PR monitoring, and CI integration",
5
5
  "type": "module",
6
6
  "repository": {