🏁 Session end checkpoint: session-20250731-194343

This commit is contained in:
rUv committed 2025-07-31 19:43:45 +00:00
1 parent ad9cbb43f6
commit 8fae624935
6 files changed
+192 -76

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{
"startTime": 1753990930185,
"startTime": 1753991024968,
"totalTasks": 1,
"successfulTasks": 1,
"failedTasks": 0,
+24
View File
@@ -82,5 +82,29 @@
"cpuLoad": 0.03125,
"platform": "linux",
"uptime": 24912.86
},
{
"timestamp": 1753990990747,
"memoryTotal": 67427545088,
"memoryUsed": 5439070208,
"memoryFree": 61988474880,
"memoryUsagePercent": 8.066540463398814,
"memoryEfficiency": 91.93345953660119,
"cpuCount": 16,
"cpuLoad": 0.028125,
"platform": "linux",
"uptime": 24942.88
},
{
"timestamp": 1753991020778,
"memoryTotal": 67427545088,
"memoryUsed": 5521588224,
"memoryFree": 61905956864,
"memoryUsagePercent": 8.188920739726992,
"memoryEfficiency": 91.811079260273,
"cpuCount": 16,
"cpuLoad": 0.041875,
"platform": "linux",
"uptime": 24972.91
}
]
+3 -3
View File
@@ -1,10 +1,10 @@
[
{
"id": "cmd-hooks-1753990930288",
"id": "cmd-hooks-1753991025070",
"type": "hooks",
"success": true,
"duration": 66.33675099999999,
"timestamp": 1753990930355,
"duration": 65.21627899999999,
"timestamp": 1753991025136,
"metadata": {}
}
]
@@ -0,0 +1,129 @@
# Session Summary - 2025-07-31 19:43:43
## Checkpoints Created
1753906298.json
1753906353.json
1753906370.json
task-1753913133.json
task-1753913281.json
task-1753913468.json
task-1753978885.json
task-1753979030.json
task-1753979159.json
task-1753979667.json
task-1753979823.json
task-1753980048.json
task-1753980144.json
task-1753980195.json
task-1753980418.json
task-1753980464.json
task-1753980570.json
task-1753989347.json
task-1753989565.json
task-1753989862.json
task-1753989875.json
task-1753990005.json
task-1753990081.json
task-1753990201.json
task-1753990251.json
task-1753990417.json
task-1753990715.json
task-1753990753.json
task-1753990966.json
## Files Modified
.claude-flow/metrics/performance.json
.claude-flow/metrics/system-metrics.json
.claude-flow/metrics/task-metrics.json
.claude/checkpoints/summary-session-20250731-191747.md
.claude/checkpoints/summary-session-20250731-192119.md
.claude/checkpoints/summary-session-20250731-192226.md
.claude/checkpoints/summary-session-20250731-192608.md
.claude/checkpoints/summary-session-20250731-192632.md
.claude/checkpoints/summary-session-20250731-192658.md
.claude/checkpoints/summary-session-20250731-192710.md
.claude/checkpoints/summary-session-20250731-192711.md
.claude/checkpoints/summary-session-20250731-192731.md
.claude/checkpoints/summary-session-20250731-192752.md
.claude/checkpoints/summary-session-20250731-192810.md
.claude/checkpoints/summary-session-20250731-192839.md
.claude/checkpoints/summary-session-20250731-192900.md
.claude/checkpoints/summary-session-20250731-192913.md
.claude/checkpoints/summary-session-20250731-193017.md
.claude/checkpoints/summary-session-20250731-193038.md
.claude/checkpoints/summary-session-20250731-193043.md
.claude/checkpoints/summary-session-20250731-193115.md
.claude/checkpoints/summary-session-20250731-193121.md
.claude/checkpoints/summary-session-20250731-193124.md
.claude/checkpoints/summary-session-20250731-193231.md
.claude/checkpoints/summary-session-20250731-193748.md
.claude/checkpoints/summary-session-20250731-194208.md
.claude/checkpoints/task-1753989347.json
.claude/checkpoints/task-1753989565.json
.claude/checkpoints/task-1753989862.json
.claude/checkpoints/task-1753989875.json
.claude/checkpoints/task-1753990005.json
.claude/checkpoints/task-1753990081.json
.claude/checkpoints/task-1753990201.json
.claude/checkpoints/task-1753990251.json
.claude/checkpoints/task-1753990417.json
.claude/checkpoints/task-1753990715.json
.claude/checkpoints/task-1753990753.json
.claude/settings.json
bin/claude-flow.js
claude-flow
claude-flow-wiki
src/cli/help-text.js
src/cli/index-remote.ts
src/cli/index.ts
src/cli/simple-cli.js
src/cli/simple-cli.ts
src/cli/simple-commands/github/init.js
src/cli/simple-commands/process-ui-enhanced.js
src/cli/simple-commands/status.js
test-edit.txt
## Recent Commits
48b228d 🔖 Checkpoint: Edit example-file.js
48eb1e3 🔖 Checkpoint: Edit example-file.js
e216f8e 🔖 Checkpoint: Edit demo.txt
093611a 🔧 Fix SQLite preparation errors in hive-mind spawn
## GitHub Releases Created
No GitHub releases
## Rollback Instructions
To rollback to a specific checkpoint:
checkpoint-20250730-201250
checkpoint-20250730-201233
checkpoint-20250730-201138
Checkpoint: 2025-07-31 19:42 Pre-release task-20250731-194245 2025-07-31T19:42:45Z
Session Summary: 2025-07-31 19:42 Pre-release session-session-20250731-194208 2025-07-31T19:42:11Z
Session Summary: 2025-07-31 19:41 Pre-release session-session-20250731-193038 2025-07-31T19:41:09Z
Session Summary: 2025-07-31 19:41 Pre-release session-session-20250731-193043 2025-07-31T19:41:07Z
Checkpoint: 2025-07-31 19:39 Pre-release task-20250731-193912 2025-07-31T19:39:12Z
Checkpoint: 2025-07-31 19:38 Pre-release task-20250731-193834 2025-07-31T19:38:34Z
Session Summary: 2025-07-31 19:37 Pre-release session-session-20250731-193748 2025-07-31T19:37:50Z
Checkpoint: 2025-07-31 19:33 Pre-release task-20250731-193336 2025-07-31T19:33:36Z
Session Summary: 2025-07-31 19:32 Pre-release session-session-20250731-193231 2025-07-31T19:32:34Z
Session Summary: 2025-07-31 19:31 Pre-release session-session-20250731-193121 2025-07-31T19:31:23Z
Checkpoint: 2025-07-31 19:30 Pre-release task-20250731-193051 2025-07-31T19:30:51Z
Session Summary: 2025-07-31 19:30 Pre-release session-session-20250731-193017 2025-07-31T19:30:19Z
Checkpoint: 2025-07-31 19:30 Pre-release task-20250731-193000 2025-07-31T19:30:00Z
Session Summary: 2025-07-31 19:29 Pre-release session-session-20250731-192913 2025-07-31T19:29:15Z
Session Summary: 2025-07-31 19:29 Pre-release session-session-20250731-192900 2025-07-31T19:29:02Z
Session Summary: 2025-07-31 19:28 Pre-release session-session-20250731-192839 2025-07-31T19:28:41Z
Session Summary: 2025-07-31 19:28 Pre-release session-session-20250731-192810 2025-07-31T19:28:12Z
Checkpoint: 2025-07-31 19:28 Pre-release task-20250731-192800 2025-07-31T19:28:01Z
Session Summary: 2025-07-31 19:27 Pre-release session-session-20250731-192711 2025-07-31T19:27:13Z
Session Summary: 2025-07-31 19:27 Pre-release session-session-20250731-192658 2025-07-31T19:27:00Z
Checkpoint: 2025-07-31 19:26 Pre-release task-20250731-192644 2025-07-31T19:26:44Z
Session Summary: 2025-07-31 19:26 Pre-release session-session-20250731-192632 2025-07-31T19:26:34Z
Session Summary: 2025-07-31 19:26 Pre-release session-session-20250731-192608 2025-07-31T19:26:10Z
Checkpoint: 2025-07-31 19:24 Pre-release task-20250731-192434 2025-07-31T19:24:34Z
Checkpoint: 2025-07-31 19:24 Pre-release task-20250731-192421 2025-07-31T19:24:22Z
Session Summary: 2025-07-31 19:22 Pre-release session-session-20250731-192226 2025-07-31T19:22:28Z
Session Summary: 2025-07-31 19:21 Pre-release session-session-20250731-192119 2025-07-31T19:21:21Z
Checkpoint: 2025-07-31 19:19 Pre-release task-20250731-191923 2025-07-31T19:19:24Z
Session Summary: 2025-07-31 19:17 Pre-release session-session-20250731-191747 2025-07-31T19:17:50Z
Checkpoint: 2025-07-31 19:15 Pre-release task-20250731-191546 2025-07-31T19:15:47Z
+7
View File
@@ -0,0 +1,7 @@
{
"checkpoint": "task-20250731-194245",
"task": "{{user_prompt}} ",
"timestamp": "2025-07-31T19:42:46Z",
"commit": "ad9cbb43f638d56d65640ad35ccd4bd9da59a9f2",
"github_release": "true"
}
+28 -72
View File
@@ -1,81 +1,37 @@
#!/usr/bin/env node
/**
* Claude Flow CLI - Universal Wrapper
* Works in both CommonJS and ES Module projects
* Claude Flow CLI - Development Wrapper
* Points to local bin/claude-flow.js for development
*/
// Use dynamic import to work in both CommonJS and ES modules
(async () => {
const { spawn } = await import('child_process');
const { resolve } = await import('path');
const { fileURLToPath } = await import('url');
import { spawn } from 'child_process';
import { resolve, dirname } from 'path';
import { fileURLToPath } from 'url';
import { existsSync } from 'fs';
// Detect if we're running in ES module context
let __dirname;
try {
// Check if import.meta is available (ES modules)
if (typeof import.meta !== 'undefined' && import.meta.url) {
const __filename = fileURLToPath(import.meta.url);
__dirname = resolve(__filename, '..');
} else {
// Fallback for CommonJS
__dirname = process.cwd();
}
} catch {
// Fallback for CommonJS
__dirname = process.cwd();
}
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
// Try multiple strategies to find claude-flow
const strategies = [
// 1. Local node_modules
async () => {
try {
const localPath = resolve(process.cwd(), 'node_modules/.bin/claude-flow');
const { existsSync } = await import('fs');
if (existsSync(localPath)) {
return spawn(localPath, process.argv.slice(2), { stdio: 'inherit' });
}
} catch {}
},
// Point to local bin/claude-flow.js
const localBin = resolve(__dirname, 'bin', 'claude-flow.js');
// 2. Parent node_modules (monorepo)
async () => {
try {
const parentPath = resolve(process.cwd(), '../node_modules/.bin/claude-flow');
const { existsSync } = await import('fs');
if (existsSync(parentPath)) {
return spawn(parentPath, process.argv.slice(2), { stdio: 'inherit' });
}
} catch {}
},
// 3. NPX with latest alpha version (prioritized over global)
async () => {
return spawn('npx', ['claude-flow@alpha', ...process.argv.slice(2)], {
stdio: 'inherit',
});
},
];
// Try each strategy
for (const strategy of strategies) {
try {
const child = await strategy();
if (child) {
child.on('exit', (code) => process.exit(code || 0));
child.on('error', (err) => {
if (err.code !== 'ENOENT') {
console.error('Error:', err);
process.exit(1);
}
});
return;
}
} catch {}
}
console.error('Could not find claude-flow. Please install it with: npm install claude-flow');
if (existsSync(localBin)) {
const child = spawn('node', [localBin, ...process.argv.slice(2)], {
stdio: 'inherit',
shell: false
});
child.on('error', (error) => {
console.error('❌ Error executing claude-flow:', error.message);
process.exit(1);
});
child.on('exit', (code) => {
process.exit(code || 0);
});
} else {
console.error('❌ Could not find bin/claude-flow.js');
console.error('Make sure you are in the claude-flow project directory');
process.exit(1);
})();
}