mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
Refactor workflow session commands to utilize ccw CLI for session management
- Updated session completion process to use `ccw session` commands for listing, reading, and updating session statuses. - Enhanced session listing command to provide metadata and statistics using `ccw session list` and `ccw session stats`. - Streamlined session resume functionality with `ccw session` commands for checking status and updating session state. - Improved session creation process by replacing manual directory and metadata handling with `ccw session init`. - Introduced `session_manager` tool for simplified session operations, including listing, updating, and archiving sessions. - Updated conflict resolution tools to generate structured output in `conflict-resolution.json` instead of markdown files. - Enhanced TDD and UI design tools to utilize `ccw cli exec` for executing analysis commands, improving integration with the workflow.
This commit is contained in:
@@ -6,12 +6,12 @@ import { fileURLToPath } from 'url';
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
// Bundled template paths
|
||||
const UNIFIED_TEMPLATE = join(__dirname, '../templates/dashboard.html');
|
||||
const JS_FILE = join(__dirname, '../templates/dashboard.js');
|
||||
const MODULE_CSS_DIR = join(__dirname, '../templates/dashboard-css');
|
||||
const WORKFLOW_TEMPLATE = join(__dirname, '../templates/workflow-dashboard.html');
|
||||
const REVIEW_TEMPLATE = join(__dirname, '../templates/review-cycle-dashboard.html');
|
||||
// Bundled template paths (from dist/core/ -> src/templates/)
|
||||
const UNIFIED_TEMPLATE = join(__dirname, '../../src/templates/dashboard.html');
|
||||
const JS_FILE = join(__dirname, '../../src/templates/dashboard.js');
|
||||
const MODULE_CSS_DIR = join(__dirname, '../../src/templates/dashboard-css');
|
||||
const WORKFLOW_TEMPLATE = join(__dirname, '../../src/templates/workflow-dashboard.html');
|
||||
const REVIEW_TEMPLATE = join(__dirname, '../../src/templates/review-cycle-dashboard.html');
|
||||
|
||||
// Modular CSS files in load order
|
||||
const MODULE_CSS_FILES = [
|
||||
|
||||
@@ -36,11 +36,11 @@ function getEnterpriseMcpPath(): string {
|
||||
// WebSocket clients for real-time notifications
|
||||
const wsClients = new Set();
|
||||
|
||||
const TEMPLATE_PATH = join(import.meta.dirname, '../templates/dashboard.html');
|
||||
const MODULE_CSS_DIR = join(import.meta.dirname, '../templates/dashboard-css');
|
||||
const JS_FILE = join(import.meta.dirname, '../templates/dashboard.js');
|
||||
const MODULE_JS_DIR = join(import.meta.dirname, '../templates/dashboard-js');
|
||||
const ASSETS_DIR = join(import.meta.dirname, '../templates/assets');
|
||||
const TEMPLATE_PATH = join(import.meta.dirname, '../../src/templates/dashboard.html');
|
||||
const MODULE_CSS_DIR = join(import.meta.dirname, '../../src/templates/dashboard-css');
|
||||
const JS_FILE = join(import.meta.dirname, '../../src/templates/dashboard.js');
|
||||
const MODULE_JS_DIR = join(import.meta.dirname, '../../src/templates/dashboard-js');
|
||||
const ASSETS_DIR = join(import.meta.dirname, '../../src/templates/assets');
|
||||
|
||||
// Modular CSS files in load order
|
||||
const MODULE_CSS_FILES = [
|
||||
|
||||
Reference in New Issue
Block a user