mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
feat(cli): add settings file support for builtin Claude
- Enhance CLI status rendering to display settings file information for builtin Claude. - Introduce settings file input in CLI manager for configuring the path to settings.json. - Update Claude CLI tool interface to include settingsFile property. - Implement settings file resolution and validation in CLI executor. - Create a new collaborative planning workflow command with detailed documentation. - Add test scripts for debugging tool configuration and command building.
This commit is contained in:
16
test-config-debug.mjs
Normal file
16
test-config-debug.mjs
Normal file
@@ -0,0 +1,16 @@
|
||||
import { getToolConfig, loadClaudeCliTools } from './ccw/dist/tools/claude-cli-tools.js';
|
||||
|
||||
const workingDir = 'D:\\Claude_dms3';
|
||||
const tool = 'claude';
|
||||
|
||||
console.log('=== Step 1: Load full config ===');
|
||||
const fullConfig = loadClaudeCliTools(workingDir);
|
||||
console.log('Full config:', JSON.stringify(fullConfig, null, 2));
|
||||
|
||||
console.log('\n=== Step 2: Get claude tool from config ===');
|
||||
const claudeTool = fullConfig.tools.claude;
|
||||
console.log('Claude tool raw:', JSON.stringify(claudeTool, null, 2));
|
||||
|
||||
console.log('\n=== Step 3: Get tool config via getToolConfig ===');
|
||||
const config = getToolConfig(workingDir, tool);
|
||||
console.log('Claude tool config:', JSON.stringify(config, null, 2));
|
||||
Reference in New Issue
Block a user