claude-overnight 1.25.6 → 1.25.7
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.
- package/dist/_version.d.ts +1 -1
- package/dist/_version.js +1 -1
- package/dist/index.js +3 -3
- package/dist/state.d.ts +3 -1
- package/dist/state.js +6 -12
- package/package.json +1 -1
- package/plugins/claude-overnight/.claude-plugin/plugin.json +1 -1
package/dist/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.25.
|
|
1
|
+
export declare const VERSION = "1.25.7";
|
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.
|
|
2
|
+
export const VERSION = "1.25.7";
|
package/dist/index.js
CHANGED
|
@@ -332,7 +332,7 @@ async function main() {
|
|
|
332
332
|
if (action === "q")
|
|
333
333
|
process.exit(0);
|
|
334
334
|
if (action === "h") {
|
|
335
|
-
await showRunHistory(allRuns, cwd);
|
|
335
|
+
await showRunHistory(allRuns, cwd, incompleteRuns);
|
|
336
336
|
continue;
|
|
337
337
|
}
|
|
338
338
|
if (action === "c") {
|
|
@@ -385,7 +385,7 @@ async function main() {
|
|
|
385
385
|
break;
|
|
386
386
|
}
|
|
387
387
|
if (action === "h") {
|
|
388
|
-
await showRunHistory(allRuns, cwd);
|
|
388
|
+
await showRunHistory(allRuns, cwd, incompleteRuns);
|
|
389
389
|
continue;
|
|
390
390
|
}
|
|
391
391
|
resuming = true;
|
|
@@ -429,7 +429,7 @@ async function main() {
|
|
|
429
429
|
break;
|
|
430
430
|
}
|
|
431
431
|
if (action === "h") {
|
|
432
|
-
await showRunHistory(allRuns, cwd);
|
|
432
|
+
await showRunHistory(allRuns, cwd, incompleteRuns);
|
|
433
433
|
continue;
|
|
434
434
|
}
|
|
435
435
|
const idx = parseInt(action) - 1;
|
package/dist/state.d.ts
CHANGED
|
@@ -53,7 +53,9 @@ export declare function formatTimeAgo(isoStr: string): string;
|
|
|
53
53
|
export declare function showRunHistory(allRuns: {
|
|
54
54
|
dir: string;
|
|
55
55
|
state: RunState;
|
|
56
|
-
}[], filterCwd: string
|
|
56
|
+
}[], filterCwd: string, resumable?: {
|
|
57
|
+
dir: string;
|
|
58
|
+
}[]): Promise<void>;
|
|
57
59
|
export declare function readPreviousRunKnowledge(rootDir: string): string;
|
|
58
60
|
export declare function createRunDir(rootDir: string): string;
|
|
59
61
|
export declare function updateLatestSymlink(rootDir: string, runDir: string): void;
|
package/dist/state.js
CHANGED
|
@@ -194,14 +194,6 @@ export function findIncompleteRuns(rootDir, filterCwd) {
|
|
|
194
194
|
const state = loadRunState(runDir);
|
|
195
195
|
if (!state || state.phase === "done" || state.cwd !== filterCwd)
|
|
196
196
|
continue;
|
|
197
|
-
// Planning-phase runs are resumable if: tasks.json exists (orchestrate
|
|
198
|
-
// completed), design docs exist (thinking wave produced output), or the
|
|
199
|
-
// run already consumed tokens (thinking wave started but was killed).
|
|
200
|
-
if (state.phase === "planning"
|
|
201
|
-
&& !existsSync(join(runDir, "tasks.json"))
|
|
202
|
-
&& !readMdDir(join(runDir, "designs"))
|
|
203
|
-
&& state.accCompleted === 0 && state.accCost === 0)
|
|
204
|
-
continue;
|
|
205
197
|
results.push({ dir: runDir, state });
|
|
206
198
|
}
|
|
207
199
|
return results;
|
|
@@ -305,10 +297,11 @@ export function formatTimeAgo(isoStr) {
|
|
|
305
297
|
return `${hours}h ago`;
|
|
306
298
|
return `${Math.floor(hours / 24)}d ago`;
|
|
307
299
|
}
|
|
308
|
-
export async function showRunHistory(allRuns, filterCwd) {
|
|
309
|
-
const
|
|
300
|
+
export async function showRunHistory(allRuns, filterCwd, resumable = []) {
|
|
301
|
+
const resumableDirs = new Set(resumable.map(r => r.dir));
|
|
302
|
+
const runs = allRuns.filter(r => r.state.cwd === filterCwd && !resumableDirs.has(r.dir));
|
|
310
303
|
if (runs.length === 0) {
|
|
311
|
-
console.log(chalk.dim("\n No
|
|
304
|
+
console.log(chalk.dim("\n No run history.\n"));
|
|
312
305
|
return;
|
|
313
306
|
}
|
|
314
307
|
const PAGE = 5;
|
|
@@ -324,7 +317,8 @@ export async function showRunHistory(allRuns, filterCwd) {
|
|
|
324
317
|
const cost = s.accCost > 0 ? ` · $${s.accCost.toFixed(2)}` : "";
|
|
325
318
|
const obj = s.objective?.slice(0, 50) || "";
|
|
326
319
|
const merged = s.branches.filter(b => b.status === "merged").length;
|
|
327
|
-
|
|
320
|
+
const icon = s.phase === "done" ? chalk.green("✓") : chalk.dim("·");
|
|
321
|
+
console.log(` ${icon} ${chalk.dim(date)} · ${s.phase} · ${s.accCompleted}/${s.budget}${cost}${merged ? ` · ${merged} merged` : ""}`);
|
|
328
322
|
console.log(` ${obj}${obj.length >= 50 ? "…" : ""}`);
|
|
329
323
|
let status = "";
|
|
330
324
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-overnight",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.7",
|
|
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.
|
|
3
|
+
"version": "1.25.7",
|
|
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"
|