Numable authoring docsthe same content is available in the terminal: `numable docs <topic>`中文

task-brief — task reports and standalone RCN

An external agent provides task facts; the CLI renders the compact fixed template into PNG. No XBundle, account or online service is needed. Chrome / Chromium must be installed locally.

numable render --template task-brief --data task.json --out brief.png --json

The default design size is 1000 × 420, exported at 2×. JSON stdout and brief.png.json contain the absolute output path, actual dimensions, duration and calculated milestone counts. A non-zero exit code indicates failure; an existing image may belong to a previous run.

Input

{
  "schemaVersion": 1,
  "date": "2026-10-23",
  "title": "会话任务简报 · CLI 集成",
  "status": "进行中",
  "scope": "整体进度 · 会话结束自动生成简报",
  "stages": [
    { "label": "信息结构", "done": true },
    { "label": "RCN 模板", "done": true },
    { "label": "本地出图", "done": true },
    { "label": "CLI 集成", "done": false },
    { "label": "会话接入", "done": false }
  ],
  "done": ["选定默认模板", "打通本地渲染"],
  "next": ["验证打包后独立渲染", "接入会话收尾"],
  "verification": "本机 Web 渲染通过;未做原生真机验证",
  "decision": "无"
}

schemaVersion must be 1. Text fields must be non-empty single lines; decision is optional. Provide 1–8 milestones with boolean done values. The done and next arrays accept 0–3 items each. Empty arrays leave no placeholder items. Counts are calculated from milestones, ignoring caller-provided counts or percentages; they do not represent elapsed work. Dates come from the caller rather than the machine timezone.

The fixed layout rejects text estimated to exceed available width instead of silently truncating evidence. Shorten the field and retry. Unusual glyphs still require visual inspection. --locale zh-CN|en-US selects template labels (default: zh-CN); input text is not translated. The template and sample ship in templates/reports/task-brief/.

Custom RCN

numable render --rcn custom.rcn --data data.json --out custom.png --width 1000 --height 420

Accepts { "cells": [...] } or { "canvas": { "width": 1000, "height": 420 }, "rc": { "cells": [...] } }. Dimensions are required unless declared in canvas. An outer dark: true enables the dark scene. Data must be a JSON object.

Choose one standalone mode; do not combine with bundle directories, --page, widget states or fixture flags. --scale accepts 2 (default) or 3. Dimensions must be positive integers up to 2400, with at most 16M output pixels. Existing --chrome and NUMABLE_CHROME discovery is reused.

The standalone entry runs no ActionFlow and blocks external network resources. Fonts and WASM ship locally. Local file-reference mapping is not provided; use embedded assets.

Responsibilities

The caller manages task truth, history, triggers and displaying the PNG. The CLI does not read conversations or automatically run when a session ends. Successful Web rendering does not verify native devices.