YuanCheng (yotta-present)

v0.7.5
io.github.YottaMeta/yotta-present Checked 8 hours ago Published 3 days ago

Render agent output into copyable Markdown, tables, cards and SVG (Python 3.8+).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

present_result

把任意 AI 输出(JSON 标准内容对象 / Markdown / 纯文本)统一为可复制的呈现结果:输出 Markdown(--output md,默认)/ 纯文本(text)/ 两者(both)/ 完整 JSON(json)。自动判断形态(conclusion/table/checklist/prose/metrics/qa/report/chart),可用 --form 显式指定,或用 --template 套命名场景模板(vuln_report/faq/status);--platform 平台自适应(discord/whatsapp 表格转列表、标题转加粗;plain 去符号);--channel 渲染通道(auto 按 platform 映射:plain→r0 去 emoji、其余→r1 emoji 增强;…

ParameterTypeDescription
content *string内容:JSON 标准内容对象字符串,或 Markdown / 纯文本
explainboolean附判断说明(默认 true,缺省返回判型理由;可显式 explain=false 关闭)
formstring显式形态(缺省自动判断)
optionsobject高级选项对象(可选):platform(webchat/discord/whatsapp/plain)、channel(auto/r0/r1/r3)、theme(light/dark)、card(R3 整卡模板 release/weekly/compare/risk)、brand(品…
outputstring返回内容(默认 md)
templatestring命名场景模板:vuln_report/faq/status(优先于 form,可选)

present_forms

列出元呈开源基线 8 种呈现形态与说明(只读,无副作用)。

present_templates

列出元呈命名场景模板骨架与说明(vuln_report/faq/status,只读,无副作用)。