mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
feat: 添加更好的 SQLite3 模块加载和错误处理,更新相关组件以支持项目路径
This commit is contained in:
@@ -524,8 +524,18 @@ export function useProjectOperations(): UseProjectOperationsReturn {
|
||||
isLoading: projectsQuery.isLoading,
|
||||
error: projectsQuery.error,
|
||||
refetch,
|
||||
copyToCodex: (request) => copyMutation.mutateAsync({ ...request, source: 'claude', target: 'codex' }),
|
||||
copyFromCodex: (request) => copyMutation.mutateAsync({ ...request, source: 'codex', target: 'claude' }),
|
||||
copyToCodex: (request) => copyMutation.mutateAsync({
|
||||
...request,
|
||||
source: 'claude',
|
||||
target: 'codex',
|
||||
projectPath: request.projectPath ?? projectPath ?? undefined,
|
||||
}),
|
||||
copyFromCodex: (request) => copyMutation.mutateAsync({
|
||||
...request,
|
||||
source: 'codex',
|
||||
target: 'claude',
|
||||
projectPath: request.projectPath ?? projectPath ?? undefined,
|
||||
}),
|
||||
isCopying: copyMutation.isPending,
|
||||
fetchOtherServers,
|
||||
isFetchingServers: serversQuery.isFetching,
|
||||
|
||||
Reference in New Issue
Block a user