Kami V1.9.1
White-paper print support for any document, plus reliable install and self-update, sharper diagrams, and cleaner packaging.
Changelog
- Install routing: generic agents now install and self-update through the self-contained subpath package (
npx skills add tw93/kami/plugins/kami/skills/kami), sidestepping the upstreamskills updatebug that flattened the skill to a loneSKILL.md. - Per-agent guidance: README and the site route Claude Code, Codex, Claude Desktop, and generic agents to the correct install and update path.
- Diagram registry: unified to a single source of truth across build, screen, and document targets, covering all 17 diagram types.
- Mermaid normalizer: hardened to resolve
color-mix(), reapply the Kami palette, and reject un-normalizedforeignObjector web-font SVG before it reaches PDF. - Packaging: the skill ZIP is rebuilt on an explicit allowlist with required-entry checks, trimmed and audited on every build.
- Print variant: an opt-in white-paper recipe turns any document to a white background for home or office printers, sinking the parchment into cards and tables so the warm hierarchy still reads.
- Docs: restructured README, documented the print variant, added the host-delegated illustration step, and enforced the no-em-dash rule in generated docs.
更新日志
- 安装路径:通用 agent 的安装与自更新改用自包含子路径包(
npx skills add tw93/kami/plugins/kami/skills/kami),绕开上游skills update把技能压成单个SKILL.md的问题。 - 按 agent 分流:README 和官网按 Claude Code、Codex、Claude Desktop、通用 agent 分别给出正确的安装与更新指引。
- 图表注册表:统一为单一来源,覆盖构建、浏览器与文档目标,含全部 17 种图类型。
- Mermaid 归一化:加固以解析
color-mix()、重上 Kami 配色,并在进入 PDF 前拦截未归一化的foreignObject与 web font。 - 打包:技能压缩包改为显式 allowlist 加必备项校验,每次构建瘦身并审计。
- 打印版本:新增可选的白底配方,把任意文档切到白底以适配家用或办公打印机,让羊皮纸沉入卡片与表格,暖色层次依然清晰。
- 文档:重构 README,补充打印版本说明,新增 host 代理配图步骤,生成文档强制禁用 em dash。
Kami is a quiet design system for professional documents, one constraint set that any agent can trust. https://github.com/tw93/Kami