mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-15 02:42:45 +08:00
feat(docs): add full documentation generation phase and related documentation generation phase
- Implement Phase 4: Full Documentation Generation with multi-layered strategy and tool fallback. - Introduce Phase 5: Related Documentation Generation for incremental updates based on git changes. - Create new utility components for displaying execution status in the terminal panel. - Add helper functions for rendering execution status icons and formatting relative time. - Establish a recent paths configuration for improved path resolution.
This commit is contained in:
@@ -1191,8 +1191,8 @@ export async function handleMcpRoutes(ctx: RouteContext): Promise<boolean> {
|
||||
return { error: 'projectPath is required', status: 400 };
|
||||
}
|
||||
|
||||
// Check if sandbox should be disabled
|
||||
const disableSandbox = body.disableSandbox === true;
|
||||
// Check if sandbox should be enabled
|
||||
const enableSandbox = body.enableSandbox === true;
|
||||
|
||||
// Parse enabled tools from request body
|
||||
const enabledTools = Array.isArray(body.enabledTools) && body.enabledTools.length > 0
|
||||
@@ -1207,7 +1207,7 @@ export async function handleMcpRoutes(ctx: RouteContext): Promise<boolean> {
|
||||
args: isWin ? ["/c", "npx", "-y", "ccw-mcp"] : ["-y", "ccw-mcp"],
|
||||
env: {
|
||||
CCW_ENABLED_TOOLS: enabledTools,
|
||||
...(disableSandbox && { CCW_DISABLE_SANDBOX: "1" })
|
||||
...(enableSandbox && { CCW_ENABLE_SANDBOX: "1" })
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user