claude-overnight 1.25.31 → 1.25.33

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.
@@ -1 +1 @@
1
- export declare const VERSION = "1.25.31";
1
+ export declare const VERSION = "1.25.33";
package/dist/_version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Auto-generated by build — do not edit manually.
2
- export const VERSION = "1.25.31";
2
+ export const VERSION = "1.25.33";
package/dist/index.js CHANGED
@@ -555,7 +555,7 @@ async function main() {
555
555
  const qwenProviders = providers.filter(p => p.model?.toLowerCase().includes("qwen"));
556
556
  const options = [];
557
557
  if (hasAnthropicKey)
558
- options.push({ key: "1", desc: ` — ${COACH_MODEL} (default, cheapest)` });
558
+ options.push({ key: "1", desc: ` — ${COACH_MODEL} (cheapest)` });
559
559
  if (qwenProviders.length > 0)
560
560
  options.push({ key: "2", desc: ` — ${qwenProviders[0].displayName} (${qwenProviders[0].model})` });
561
561
  if (cursorProviders.length > 0)
package/dist/models.js CHANGED
@@ -124,7 +124,7 @@ export const FALLBACK_MODEL = "claude-opus-4-7"; // used for planner + worker re
124
124
  * exact → substring match. Falls back to "unknown" entry.
125
125
  */
126
126
  export function getModelCapability(model) {
127
- const m = (model === "default" ? DEFAULT_MODEL : model).toLowerCase();
127
+ const m = model.toLowerCase();
128
128
  if (MODEL_CAPABILITIES[m])
129
129
  return MODEL_CAPABILITIES[m];
130
130
  for (const [key, cap] of Object.entries(MODEL_CAPABILITIES)) {
@@ -135,7 +135,7 @@ export function getModelCapability(model) {
135
135
  }
136
136
  /** Human-readable model name for display (e.g. in run labels). */
137
137
  export function modelDisplayName(model) {
138
- const resolved = model === "default" ? DEFAULT_MODEL : model;
138
+ const resolved = model;
139
139
  const m = resolved.toLowerCase();
140
140
  if (MODEL_CAPABILITIES[m]?.displayName)
141
141
  return MODEL_CAPABILITIES[m].displayName;
package/dist/providers.js CHANGED
@@ -196,8 +196,8 @@ export async function pickModel(label, anthropicModels, currentModelId) {
196
196
  if (anthropicModels.length === 0) {
197
197
  items.push({
198
198
  name: DEFAULT_MODEL,
199
- value: { kind: "anthropic", model: { value: DEFAULT_MODEL, displayName: DEFAULT_MODEL, description: "default (model list unavailable)" } },
200
- hint: "default -- Anthropic model list unavailable",
199
+ value: { kind: "anthropic", model: { value: DEFAULT_MODEL, displayName: DEFAULT_MODEL, description: DEFAULT_MODEL + " (model list unavailable)" } },
200
+ hint: DEFAULT_MODEL + " -- Anthropic model list unavailable",
201
201
  });
202
202
  }
203
203
  for (const p of saved) {
package/dist/steering.js CHANGED
@@ -136,10 +136,19 @@ If done: {"done": true, "reasoning": "...", "statusUpdate": "...", "estimatedSes
136
136
  const statusUpdate = parsed.statusUpdate || undefined;
137
137
  const estRaw = parsed.estimatedSessionsRemaining;
138
138
  const estimatedSessionsRemaining = typeof estRaw === "number" && estRaw >= 0 ? Math.round(estRaw) : undefined;
139
+ // Resolve steering role strings ("worker"/"fast"/"planner") to actual model IDs.
140
+ const resolveModel = (role) => {
141
+ switch (role.toLowerCase()) {
142
+ case "worker": return workerModel;
143
+ case "planner": return plannerModel;
144
+ case "fast": return fastModel ?? workerModel;
145
+ default: return role; // already a real model ID
146
+ }
147
+ };
139
148
  let tasks = (parsed.tasks || []).map((t, i) => ({
140
149
  id: String(i),
141
150
  prompt: typeof t === "string" ? t : t.prompt,
142
- ...(t.model && { model: t.model }),
151
+ ...(t.model && { model: resolveModel(t.model) }),
143
152
  ...(t.noWorktree && { noWorktree: true }),
144
153
  ...(t.type && { type: t.type }),
145
154
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-overnight",
3
- "version": "1.25.31",
3
+ "version": "1.25.33",
4
4
  "description": "Parallel Claude agents in git worktrees with a usage cap that reserves headroom for your interactive Claude Code. Crash-safe resume. Provider-agnostic model catalog (Anthropic, Cursor, OpenAI, Gemini, DeepSeek, Llama, Qwen) with capability-based task scoping.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-overnight",
3
- "version": "1.25.31",
3
+ "version": "1.25.33",
4
4
  "description": "Claude Code skill for understanding, installing, and inspecting claude-overnight runs -- parallel Claude agents in git worktrees with thinking waves, multi-wave steering, and crash-safe resume. Supports Cursor API Proxy, Qwen, OpenRouter.",
5
5
  "author": {
6
6
  "name": "Francesco Fornace"