Something11235/dsh-posterflow-ai ↗★ 1
dsh-posterflow-ai
DSH plugin: a PosterFlow launcher in the Web sidebar — click 开启生图模式, play a transition video, then open the site. 适合使用PosterFlow服务的用户,可在DSH中一键播放过场并跳转至生图网站。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Something11235/dsh-posterflow-aiREADME
Read the full README ↗配置
在你自己 profile 的 cordis.patch.yml 里按行 id 覆盖。config 是整行替换、不是深合并——没写的字段回落到 schema 默认值。
- id: dsh-posterflow-ai
name: dsh-posterflow-ai
config:
targetUrl: https://www.posterflow-ai.xyz/
buttonLabel: 开启生图模式
openIn: new-tab # 或 same-tab
transition: video # 或 none(点击后直接跳转)
videoSource: inline # 或 route
muted: true
maxWaitMs: 8000
| 字段 | 类型 | 默认 | 含义 |
|---|---|---|---|
targetUrl | string | https://www.posterflow-ai.xyz/ | 过场结束后跳转的地址 |
buttonLabel | string | 开启生图模式 | 按钮文案 |
openIn | new-tab | same-tab | new-tab | 新标签页打开(不会丢掉当前会话界面)或当前页跳转 |
transition | video | none | video | 是否播放过场视频 |
videoSource | inline | route | inline | inline = 用产物内联的视频(一定能播);route = 用宿主 HTTP 路由(仅在页面确由 ctx.webServer 提供服务时有效) |
videoFile | string | assets/transition.webm | route 模式下要提供的包内文件 |
muted | boolean | false | 默认带声音;被浏览器自动播放策略拒绝时自动降级为静音,并在画面右上角给出「开启声音」按钮 |
maxWaitMs | integer 0–60000 | 8000 | 视频最长等待;超时直接跳转,不让用户卡在过场里 |