This is a document specially prepared for developers, explaining some special development details.Installation
Make sure you have .json files under ComfyUI/comfyui-workspace-manager/db, so your indexdb data (version history, gallery image data) can be recovered after deleting
When running the project for the first time, it is recommended that you execute the following command to install our customized git hooks
cd ui
npm run setupGithooks
Current hooks include:
```javascript import RefreshRuntime from "http://localhost:5173/@react-refresh"; RefreshRuntime.injectIntoGlobalHook(window); window.$RefreshReg$ = () => {}; window.$RefreshSig$ = () => (type) => type; window.vite_plugin_react_preamble_installed = true;
const head = document.getElementsByTagName("head")[0]; const viteClientScript = document.createElement("script"); viteClientScript.src = "http://localhost:5173/@vite/client"; viteClientScript.type = "module"; head.appendChild(viteClientScript); const workspaceMainScript = document.createElement("script"); workspaceMainScript.src = "http://localhost:5173/src/main.tsx"; workspaceMainScript.type = "module"; head.appendChild(workspaceMainScript); ```
$ claude mcp add comfyui-workspace-manager \
-- python -m otcore.mcp_server <graph>