Skip to Content
Skip to Content
JSON Schema

JSON Schema

cli/dist/tnmsc.schema.json 当前公开的根字段有:

字段类型说明
versionstring配置版本或发布版本标记
workspaceDirstring项目根目录
aindexobject输入源与导出目录映射
logLevelenumtrace / debug / info / warn / error
commandSeriesOptionsobjectcommand 系列命名与插件覆盖
outputScopesobject各插件输出范围覆盖
frontMatterobject输出时的 front matter 处理选项
cleanupProtectionobject清理保护规则
profileobject个人资料字段

aindex 下的关键子项

  • skills
  • commands
  • subAgents
  • rules
  • globalPrompt
  • workspacePrompt
  • app
  • ext
  • arch

每个子项都由 src / dist 组成。

outputScopes 支持的 topic

Schema 当前允许的 topic 包括:

  • prompt
  • rules
  • commands
  • subagents
  • skills
  • mcp

详细行为见 输出范围

frontMatter

当前公开字段只有一个:

{ "frontMatter": { "blankLineAfter": true } }

详细区分见 Front Matter

cleanupProtection

每条规则支持:

  • path
  • protectionMode: direct / recursive
  • matcher: path / glob
  • reason

详细语义见 清理保护

Last updated on