Repository navigation
v0.24.0 — 自己做外框:浏览器插件弹窗、软件侧栏都能套
- 外框库 + 新类型「套外框」(#19):照截图或说明让 AI 做一个外框(比如 Chrome 插件弹窗连着一截浏览器工具栏),调
save_frame存进你的外框库(~/.dsh/design-frames/),存的时候会截浅色 / 深色图给 AI 核对。以后在首页类型里选「套外框」,下面列出库里的外框,点一个就让 AI 原样复制外框、只在槽位里设计。 - 外框锁住:体检「外框被改动」对所有外框都管用了——外框页面自己带着指纹,换台电脑打开也能查;改了外框的结构、文字或样式会报出来,只改槽位里面不报。0.22.0 以来做的 DSH 插件设计照样能查。
- 外框只放固定的样子:外框里不收脚本(
<script>、onclick),data-frame写在<body>里的一个<div>上;引用了找不到的文件也不存,会说清是哪个。
Make your own frames: browser-extension popups, app sidebars and more
- Frame library + new kind "Framed" (#19): have the AI build a frame from a screenshot or description (for example a Chrome extension popup with a slice of the browser toolbar), then save it to your frame library (
~/.dsh/design-frames/) withsave_frame, which returns light and dark shots for checking. Pick "Framed" on the home screen to list your frames; choose one and the AI copies it as-is and designs only inside its slots. - Frames stay locked: the "frame changed" check now works for every frame. Each frame page carries its own fingerprint, so the check works on any computer; changes to the frame's structure, text or styles are reported, while edits inside the slots are not. DSH plugin designs made since 0.22.0 are still checked.
- Frames are static: frames can't contain scripts (
<script>,onclick), anddata-framegoes on a<div>inside<body>. A frame that references a missing file isn't saved, and the message names the file.
更新:DSH 0.2.2 起在「插件」页直接点更新;更早的 DSH 卸载后按包名 dsh-design-studio 再添加一次(新版发布约一天后才装得到)。
Update: on DSH 0.2.2 or later, click Update on the Plugins page; on older versions remove the plugin and add dsh-design-studio again (a new version can be installed about a day after release).