// 看预设里的 personality_format / scenario_format / wi_format 长什么样。 import { readFileSync } from "node:fs"; for (const file of process.argv.slice(2)) { const raw = JSON.parse(readFileSync(file, "utf8")); console.log("=== " + file.split("/").pop()); for (const key of ["personality_format", "scenario_format", "wi_format"]) { const value = raw[key]; console.log(" " + key + ": " + (value === undefined ? "(缺)" : JSON.stringify(value))); } }