mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
feat(cli-settings): Implement CLI settings management and routes
- Added CLI settings file manager to handle endpoint configurations. - Introduced API routes for creating, updating, deleting, and listing CLI settings. - Enhanced session discovery for OpenCode with improved storage structure. - Updated command building logic for OpenCode and Claude to support new settings. - Added validation and sanitization for endpoint IDs and settings. - Implemented functionality to toggle endpoint enabled status and retrieve executable settings paths.
This commit is contained in:
@@ -308,7 +308,9 @@ async function executeCliTool(
|
||||
tool,
|
||||
resumeIds,
|
||||
customId,
|
||||
forcePromptConcat: noNative,
|
||||
// Force prompt-concat if noNative flag is set OR if tool doesn't support native resume
|
||||
// (e.g., codex resume requires TTY which spawn() doesn't provide)
|
||||
forcePromptConcat: noNative || !supportsNativeResume(tool),
|
||||
getNativeSessionId: (ccwId) => store.getNativeSessionId(ccwId),
|
||||
getConversation: (ccwId) => loadConversation(workingDir, ccwId),
|
||||
getConversationTool: (ccwId) => {
|
||||
|
||||
Reference in New Issue
Block a user