Skip to content

Cardwright 1.2.0

Choose a tag to compare

@1798547983tt 1798547983tt released this 29 Sep 13:25
· 3 commits to main since this release

中文

Cardwright 1.2.0。

  • 修好了「400 status code (no body)」:网关多了一项「上游服务商」。接本地中转或轮询时,自动识别看不出后面是谁,于是会把只有 OpenAI 官方才认的字段(prompt_cache_key 等)一起发出去,严格的服务直接回 400,中转又把原因丢了。现在可以直接指明后面真正的服务(OpenAI、英伟达 NIM、DeepSeek、OpenRouter、智谱、Moonshot、Together、xAI、Cerebras 等),按那家接受的参数发送;认不出的地址只发通用参数。
  • 请求诊断:请求失败时,错误卡片上可以看到实际发出去的参数、工具名、各角色的消息条数、HTTP 状态和关键响应头。不含对话正文、工具参数和密钥,可以直接贴出来问人。
  • 每分钟请求上限:每个网关可选,默认关。按任意 60 秒计算,这个网关下所有任务、小队成员和重试都算在内;超出的请求在本机排队,状态栏显示本分钟用了多少、有几条在等。服务器回 429 时整个网关按它给的时间一起暂停。重试次数也可以自己设。
  • 删除对话:左栏、任务菜单、已归档列表和制卡工坊的分区对话都能删,按住 Ctrl 或 Shift 可以多选,已归档还有「全部删除」。删除会连带子任务、小队成员、会话文件和检查点;项目文件、项目记忆、卡的组件文件和派单都不动,每天的 Token 统计也不会因此变少。
  • 导出为 Markdown:把一段对话连同思考过程和工具调用导出成一个文件。
  • 破限:输入框旁多了一个开关,默认关。内置普通和严格两档创作前提提示词,也可以从酒馆预设里挑条目导入;导入的只存在本机资料目录。开启后随这个任务(或这张卡)的每次请求一起发送。
  • 思考强度做成滑块:六档强度换成一条会亮起来的星空滑轨,两端写「更快」和「更聪明」,你设的默认档标「推荐」,Ultra 那档会显示小队人数。开了「减少动画」就不闪,窗口不在前台时暂停。
  • 制卡不再动不动就拒绝:批量生成人物或剧情、同人资料不足、派单跨分区,以前会直接拒绝并让一键制作停住;现在只提醒一句代价,你坚持就照做,不会再拦第二次。与设计书冲突改成建议起一张改动单。尺度由你当场定,答完写回设计书。只有确实缺上游产物写不出来时才拒绝。
  • 变量表编辑器:变量表是卡里变量的唯一真相源,以前改一个默认值要请 AI 重写文件。现在可以直接按行编辑路径、类型、默认值、范围、取值、维护者、时机和说明,保存时按卡自己的读取方式校验一遍,再重新生成 Zod 结构、初始变量等全部产物。填了子路径会自动补上缺的上级。
  • 换对话可以关掉:一段对话想用多久用多久,阈值和开关都在工作室设置里。
  • 冷启动:工作进程现在逐段计时,启动超过 5 秒会说明用了多久、最久的是哪一步。实测本体初始化约 2 秒。
  • 升级:下载新安装包直接覆盖安装,资料目录保留。

安装

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

SHA-256:2c41fa61a1b88a10ba2d8aeb2c028c3ba15999f0f21e377517806b324e1ae2b8


English

Cardwright 1.2.0.

  • The "400 status code (no body)" is fixed: a gateway can now name its upstream service. Behind a local relay or proxy, detection cannot see who actually answers, so fields only api.openai.com accepts (prompt_cache_key among them) went out anyway; a strict service refused them with a bare 400 and the relay dropped the reason. Name the real service (OpenAI, NVIDIA NIM, DeepSeek, OpenRouter, Z.ai, Moonshot, Together, xAI, Cerebras and others) and requests carry the fields that service accepts; an unrecognised address receives only widely accepted ones.
  • Request diagnostic: when a request fails, the error card shows the parameters that went out, the tool names, how many messages of each role, the HTTP status and the response headers worth reading. It holds no message text, no tool arguments and no credential, so it can be pasted into a bug report as it stands.
  • Requests per minute: optional per gateway, off by default. Counted over any rolling 60 seconds across every task, squad member and retry on that gateway; a request over the limit waits on this computer, and the status line shows how full the minute is and how many are queued. A 429 pauses the whole gateway for as long as the service asks. The retry count is configurable too.
  • Delete conversations: from the session list, the task menu, the archived list and a card section's conversation list, with Ctrl or Shift for several at once and a delete-all for archived tasks. Deleting takes sub-tasks, squad members, session files and checkpoints; project files, project memory, a card's component files and dispatches are untouched, and the day's token totals do not shrink.
  • Export as Markdown: a conversation, its thinking and its tool calls as one file.
  • Framing prompts (破限): a toggle beside the composer, off by default. Two built-in sets, or entries imported from a SillyTavern preset; imported sets stay in your data folder. When on, they lead every request that task (or that card) makes.
  • The reasoning effort slider: the six levels become a night sky that lights up as the level rises, labelled faster and smarter, with your default marked and the squad size shown at Ultra. It stops moving under reduced motion and pauses while the window is in the background.
  • The card studio stops refusing what you can decide: generating several characters or plot entries at once, thin source material, and a dispatch that strays into another section were flat refusals that paused a run. They are now one warning that names the cost, after which it does what you asked. A conflict with the design book proposes a change order instead of stopping, and explicit scale is asked about once and written back into the design book. Only a genuinely missing upstream product still refuses.
  • Variable table editor: the variable table is the single source of truth for a card's variables, and changing one default used to mean asking the AI to rewrite the file. Rows are now edited directly — path, type, default, range, values, owner, timing, note — validated on save through the loader the card itself uses, and everything derived from them is regenerated. Adding a nested row fills in the containers the table requires.
  • Changing conversations can be turned off: one conversation can run as long as you like; the thresholds and the switch are in Studio settings.
  • Cold start: the worker now times its own phases and, when start-up takes five seconds or more, says how long it took and which phase was slowest. Measured, Cardwright's own initialization is about two seconds.
  • Upgrade: download the new installer and install it over the old version; your data directory is kept.

Install

Download Cardwright-Setup-1.2.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: 2c41fa61a1b88a10ba2d8aeb2c028c3ba15999f0f21e377517806b324e1ae2b8