L
newma-creator-studio-dsh
leecyno1/newma-creator-studio-dsh
在 DSH 侧栏打开工作台、创作阶段与品牌 DNA,需要另行取得并运行本机 Newma 创作工作室服务。其 HTTP 路由未做 DSH 权限校验,浏览器中打开的任意网页都可能直接调用。
安装
dsh plugin --profile web add github:leecyno1/newma-creator-studio-dshREADME
创作工作室 · DSH Web 插件
安装包为 newma-creator-studio-dsh@0.1.0-rc.1,适配 DSH Web 0.2.2-rc.5。安装并启用后,从侧栏「创作工作室」进入工作台、六个创作阶段或品牌 DNA。业务页面在新的本机标签页打开。
运行中的 Studio 入口须为 http://127.0.0.1:21958。连接已有 Desk 后台时,从 Studio 仓根目录使用以下命令,8911 替换为已装配 Studio 业务 API 的实际端口。
backend/.venv/bin/newma-creator --desk-api-url http://127.0.0.1:8911 --frontend-dist "$PWD/dist-standalone" --port 21958
从仓根目录运行 npm pack ./hosts/dsh。在 DSH 插件页使用本地归档安装并启用,或运行以下命令,然后打开该 Web profile。
dsh plugin --profile web add ./newma-creator-studio-dsh-0.1.0-rc.1.tgz
首次打开点击「检查连接」。插件从固定回环地址读取 Studio 的流程登记接口,检查六个阶段都存在。该检查可在没有任务及模型配置时使用;实际生产、编辑和审核按原工作室配置执行。取消安装可在 DSH 已安装列表中操作。