feat(platform): checkpoint current implementation state
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const SESSION_DIR = path.join(process.cwd(), '.claude-flow', 'sessions');
|
||||
const WORKSPACE_ROOT = fs.realpathSync(process.cwd());
|
||||
const SESSION_DIR = path.join(WORKSPACE_ROOT, '.claude-flow', 'sessions');
|
||||
const SESSION_FILE = path.join(SESSION_DIR, 'current.json');
|
||||
|
||||
const commands = {
|
||||
@@ -16,7 +17,7 @@ const commands = {
|
||||
const session = {
|
||||
id: sessionId,
|
||||
startedAt: new Date().toISOString(),
|
||||
cwd: process.cwd(),
|
||||
cwd: WORKSPACE_ROOT,
|
||||
context: {},
|
||||
metrics: {
|
||||
edits: 0,
|
||||
|
||||
Reference in New Issue
Block a user