Releases: angri450/Nong.Cli.Net
Release list
Nong.Cli.Net 4.0.1
Nong.Cli.Net 4.0.1
109 commands, 150 tests, 0 failures.
What's new since 4.0.0
- 5 P1 command aliases: word diagnose, word clean-styles, inspect references, inspect variables, inspect data-requirements
- 4 new chart types: boxplot, histogram, heatmap, radar
- 3 new PDF capabilities: merge, split, ocr (image layer)
- 3 new Excel capabilities: style, formula, pivot
- New inspect official-check: gongwen format compliance audit
- New pptx create: basic PPTX generation from JSON spec
- New word compare: paragraph-level DOCX diff
Toolkit 2.4.0
- 15 skills, all with examples and references
- multimodal renamed to ocr (matches CLI command group)
- 37 new examples, 8 new references
- 0 scan findings
NanoBot
- run_nong allowlist aligned with CLI 4.0.0 (lit/slice/progress added)
- Capability discovery API (DiscoverCapabilitiesAsync)
- SkillLoader 2-phase progressive disclosure (catalog → load_skill → load_reference)
- WebUI status panel: Nong/Toolkit/NanoBot at a glance
- 102 tests, 0 failures
Angri450.Nong.Cli v3.2.3 + OcrRuntime v3.2.3
CLI v3.2.3 + 5-platform PP-OCRv5 native runtime bundles
Angri450.Nong.Cli v3.2.3:
- PP-OCRv5 local CPU OCR support via nong ocr install-model
- Huawei NuGet mirror default source for China deployments
- Major-version roll-forward for .NET 10 compatibility
Angri450.Nong.OcrRuntime. v3.2.3 (5 platforms):*
- WinX64, LinuxX64, LinuxArm64, OsxX64, OsxArm64
- Bundled PaddleInference + OpenCvSharp native libs
- Zero Python dependency — pure .NET/native runtime
Angri450.Nong.Docx v3.1.1
WordSlice/NongMark/ElementOrder enhancement, GongWen format repair
- WordSlice: enhanced format slice read with NongMark integration
- NongMarkModels: expanded mark model for richer document analysis
- ElementOrder: improved tree rectification for OCR-to-Word pipeline
- GongWenFormatter: official document format fixes
- WordCommandTests: 239 lines of new test coverage
- All 12 package READMEs rewritten with author attribution
v3.2.1
nong CLI v3.2.1
Updated embedded README in NuGet package with rich HTML documentation.
Install
dotnet tool install --global Angri450.Nong.Cli --version 3.2.1
nong commands --jsonChanges from v3.2.0
- Updated NuGet package embedded README to rich HTML format
- Updated CAPABILITY.md version references
Full feature list same as v3.2.0.
v3.2.0
nong CLI v3.2.0 — Pure .NET CLI toolkit for scientific documents
71 commands. Zero JavaScript. One nong binary. Cross-platform.
What's New
Skill Lifecycle Management (4 commands)
nong skill validate— Validate SKILL.md structure and referencesnong skill scan— Security scan on skill/plugin directorynong skill inventory— List directory contents (single skill + plugin root)nong skill package— Validate + scan + package into .zip- Replaces the deprecated
skill-managerglobal tool
OCR (7 commands)
nong ocr cloud— PaddleOCR-VL cloud OCRnong ocr local— Local PP-OCRv5 (E005/E009 honest errors)nong ocr to-word— Cloud OCR → .docx conversionnong ocr analyze-image— Image structure analysisnong ocr check-env,nong ocr models,nong ocr install-model
Word Add Commands (11 commands)
word add paragraph,table,footnote,endnote,image,toc,xref,link,bookmark,comment,math- LaTeX math insertion via
word add math --latex "E=mc^2" - Nested block support with
--after blockId
Format Forensics
nong word dissect -o— nongmark/v1 one-slice-three-streams format fingerprintnong word infer-format— Infer format from Chinese descriptions
Excel Improvements
excel to-groups— Multi-letter column support (AA, AB); graceful E006 on missing sheets
Install
dotnet tool install --global Angri450.Nong.Cli
nong commands --json9 Packages
| Package | Version |
|---|---|
| Angri450.Nong.ThirdParty | 3.0.2 |
| Angri450.Nong.Docx | 3.1.0 |
| Angri450.Nong.Excel | 3.0.5 |
| Angri450.Nong.Chart | 3.0.4 |
| Angri450.Nong.Diagram | 3.0.4 |
| Angri450.Nong.Pptx | 3.0.2 |
| Angri450.Nong.MultiModal | 3.0.6 |
| Angri450.Nong.Bioicons | 3.0.2 |
| Angri450.Nong.Skill.Manager | 3.0.2 |
Tests
- 58 contract tests PASS
- 15 skill behavior tests PASS
v3.1.0 — Docx 拆包 + Inspect/Genre 新建
v3.1.0 重构发布
包变更
- Angri450.Nong.Docx v3.1.0:纯 Word 引擎,新增 MathRenderer(LaTeX → OMML)
- Angri450.Nong.Inspect v3.0.0(新):论文/公文/信函写作 + 诊断 + 参考文献管理
- Angri450.Nong.Genre v3.0.0(新):6 个 JSON 格式模板
新功能
- Pandoc 7 种内联标记(Italic Bold ==Highlight==
Strikethrough^Sup^Sub) - LaTeX → OMML 数学公式渲染
- [@key] 引用键自动编号 + GB/T 7714 格式化
Bug 修复
- StyleBuilder JSON lineRule 字段支持
- Body() 逐字 w:t 优化
- 参考文献序号重复/缺失
详见 Issue #7
v3.0.7 — 开发工具链完善:changelog 通讯约定
摘要
本版本不涉及 NuGet 包变更。完善了 NuGet 包开发 Agent 与 Skill 开发 Agent 之间的通讯机制。
新增
changelog/ 目录
changelog/YYYY-MM-DD-topic.md — 每次版本发布后记录变更,作为 Agent 间通讯桥梁。
5 个 changelog 文件覆盖今日全部变更:
| 文件 | 内容 |
|---|---|
2026-06-01-tfm-unlock.md |
.NET 版本解锁 net10.0 → net8.0 |
2026-06-01-cjk-font.md |
Chart + Diagram 中文渲染修复 |
2026-06-01-diagram-layout.md |
Diagram 自适应节点 + 自动裁剪 |
2026-06-01-transitive-deps.md |
Chart/Excel 传递依赖修复 |
2026-06-01-imganalyzer.md |
MultiModal ImageAnalyzer 新能力 |
CLAUDE.md 更新
新增 changelog 目录约定章节,明确 NuGet Agent 和 Skill Agent 的职责分工。
今日版本汇总
| 包 | 版本 | 变更 |
|---|---|---|
| ThirdParty | 3.0.2 | TFM net8.0 |
| Excel | 3.0.5 | TFM + 传递依赖修复 + ColumnWidths params |
| Chart | 3.0.4 | TFM + CJK 字体 + 传递依赖修复 |
| Diagram | 3.0.4 | TFM + CJK 字体 + 自适应布局 |
| Docx | 3.0.2 | TFM net8.0 |
| Pptx | 3.0.2 | TFM net8.0 |
| MultiModal | 3.0.6 | TFM + ImageAnalyzer 新能力 |
| Bioicons | 3.0.2 | TFM net8.0 |
| SkillManager | 3.0.2 | TFM net8.0 |
v3.0.6 — MultiModal ImageAnalyzer
MultiModal v3.0.6
新能力:ImageAnalyzer — 纯 .NET 图像结构分析
加载 PNG/JPEG 图像,输出 ASCII 布局地图 + 内容区域检测。无需 OCR、无需 Python、无需网络。
var analyzer = new ImageAnalyzer();
var layout = analyzer.Analyze("diagram.png", targetWidth: 50);
Console.WriteLine(layout.AsciiMap);涉及包
| 包 | 版本 |
|---|---|
| Angri450.Nong.MultiModal | 3.0.2 → 3.0.6 |
v3.0.5 — Excel ColumnWidths 支持 params 传参
修复
ColumnWidths(double[]) → ColumnWidths(params double[]):支持逐个传参。
之前必须写 ColumnWidths(new[] { 10.0, 10.0, 10.0 }),现在可以写 ColumnWidths(10, 10, 10)。
涉及包
| 包 | 版本 |
|---|---|
| Angri450.Nong.Excel | 3.0.4 → 3.0.5 |
v3.0.4 — 修复中文渲染(Chart + Diagram CJK 字体)
修复
Chart 和 Diagram 渲染 PDF/PNG 时,中文字符显示为方框(□)。根因是 ScottPlot 和 SkiaSharp 默认使用 Arial 字体,不含 CJK 字形。
改动
- 新增
FontHelper.GetCjkFamilyName()— 自动检测系统 CJK 字体:- 微软雅黑 → Noto Sans SC → SimHei → SimSun → PingFang SC
- 最后回退到
SKFontManager.Default.MatchCharacter('汉')
- Chart:
ChartBuilder调用Plot.Font.Set(CjkFont),ChartCombine默认字体改为 CJK - Diagram: Flowchart、Network、Tree、BioIcon 四个渲染器的 SKPaint 全部设置 CJK Typeface
涉及包
| 包 | 版本 |
|---|---|
| Angri450.Nong.Chart | 3.0.3 → 3.0.4 |
| Angri450.Nong.Diagram | 3.0.2 → 3.0.4 |