Skip to content

Cardwright 1.1.0

Choose a tag to compare

@1798547983tt 1798547983tt released this 24 Sep 12:46
· 4 commits to main since this release

中文

Cardwright 1.1.0。

  • 变量第一次就做对:变量结构分区只写一张「变量表」,Zod 结构、初始变量、变量列表、变量输出格式和路径清单由应用生成。拼装检查多了四项核对:前端读写的变量路径、记录条数上限、示例补丁能不能打上、渲染正则能不能命中。导入的卡会推导一份变量表来核对。
  • 前端更好看、更一致:状态栏、正文美化、开局创角页改成写「装配单」,应用用自带的运行时和七套风格皮肤编译出前端;状态栏有占位符、正文内状态头、悬浮应用三种形态。仍然可以手写 HTML。
  • 状态栏和创角页也能预览:预览里有一个模拟的酒馆助手,变量来自初始变量,可以改样例值、模拟一次更新;创角页要写进世界书、输入框和变量的内容列成「将写入」,不会真的执行;手机、平板、桌面三档宽度。
  • 改动单:卡项目主页「提改动」,或者在任何分区输入 /改动。一句话说要改什么,AI 列出影响清单,你删减后点「照单开做」,应用按分区的依赖顺序一口气跑完;只动一个文件时直接改,可以撤销。贴报错也走这里。
  • 导入分类:导入时先按条目名认出初始变量、变量规则、地点总览这类条目;主页的「未分类条目 · 整理」可以多选后批量移到分区,也可以先让 AI 给出归类建议,你确认后才移。
  • 对话渲染:工作台和制卡工坊的对话都换了新的渲染:代码高亮、语言标签、长代码折叠,思考过程实时显示、完成后折成「思考了 N 秒」,连续的同类工具调用折成一组,输出时有光标、平滑跟随滚动。
  • 新版本提醒:每天查一次 GitHub 上的最新版本号,有新版本时在顶栏提示,可以打开发布页;不下载、不上传任何东西,设置里可以关。
  • 其他:制卡工坊内置 Noto Serif SC 宋体(SIL OFL 1.1,子集);新增正则灾难性回溯检查与安卓正则方言提示;Google 字体、内嵌大图和世界书包裹标签的检查改为提醒,已经在酒馆里正常使用的卡照样能导出。
  • 升级:下载新安装包直接覆盖安装,资料目录保留。

安装

下载下方的 Cardwright-Setup-1.1.0.exe。安装包没有代码签名,Windows 首次运行会提示「未知发布者」,可以选择「更多信息 → 仍要运行」。卸载时保留你的资料目录(%APPDATA%\Cardwright)。

SHA-256:7be0376cca358b47d8ed91b77ad102bd68184a94eac78a2c66834251a43d7b8e


English

Cardwright 1.1.0.

  • Variables right the first time: the variable-structure section writes one variable table, and the app generates the Zod schema, the initial variables, the variable list, the output format and the path list from it. Assembly adds four checks: the variable paths front-ends read and write, record limits, whether the example patch applies, and whether the render regex matches. Imported cards get a derived table to check against.
  • Better-looking, consistent front-ends: the status bar, body styling and character-creation page are written as assembly sheets, and the app compiles them with its own runtime and seven style skins; the status bar comes in three forms (placeholder, a status head inside the body, a floating app). Hand-written HTML still works.
  • Previews for the status bar and the creation page: the preview runs a simulated 酒馆助手 (SillyTavern's helper) over the initial variables; edit sample values and send an update; what the creation page would write to the world book, the input box and the variables is listed instead of executed; phone, tablet and desktop widths.
  • Change orders: 提改动 on the card's home page, or /改动 in any section. Say what to change in one sentence, prune the impact list the AI proposes, and click 照单开做 to run the changes section by section in dependency order; a change to a single file is made directly and can be undone. Pasting an error report works the same way.
  • Sorting imported lore: imports recognise initial-variable, variable-rule and overview entries by name; 未分类条目 · 整理 on the home page moves many entries at once, or asks the AI for suggestions you confirm before anything moves.
  • Conversation rendering: the workbench and the card studio share a new renderer: syntax highlighting, language labels and folding for long code, thinking shown live and folded into "thought for N seconds", repeated tool calls grouped, a cursor while writing, and smooth follow scrolling.
  • New-version reminder: once a day the app compares its version with the latest release on GitHub and shows a notice in the top bar that opens the release page; it downloads and uploads nothing, and can be turned off in Settings.
  • Also: the card studio bundles Noto Serif SC (SIL OFL 1.1, subset); new checks for catastrophic regex backtracking and Android regex dialect; the checks for Google Fonts, large embedded images and lore wrapper tags are now warnings, so cards that already work in SillyTavern still export.
  • Upgrade: download the new installer and install it over the old version; your data directory is kept.

Install

Download Cardwright-Setup-1.1.0.exe below. The installer is not code-signed, so Windows shows an "unknown publisher" warning the first time; choose "More info → Run anyway". Uninstalling keeps your data directory (%APPDATA%\Cardwright).

SHA-256: 7be0376cca358b47d8ed91b77ad102bd68184a94eac78a2c66834251a43d7b8e