v4.1.0 — Offline Mode for Local File Research
v4.1.0 - Offline Mode for Local File Research
What's New
🔥 Offline Mode
- The skill can now work with local files only — no internet connection required
- Automatically detects user intent from the first prompt (mentions of local files, "don't search", "offline mode") via LLM semantic understanding
- Supports
.md,.txt,.pdf,.docxfile formats - Auto-installs PyPDF2 for PDF text extraction when model cannot read PDF natively
- Auto-installs python-docx for DOCX parsing
How it works
When a user includes local file paths and indicates no online search:
- Detects offline intent via LLM semantic understanding (Step 0.5)
- Skips all web search, scraping, and data collection (Task 2 offline branch)
- Reads local files directly via read/glob tools
- Builds the same structured data-pool.json as online mode
- Reuses existing Task 3 (chapter writing) and Task 4 (assembly/QA) unchanged
Bug Fixes
- Fix duplicate report files with same title in reports/ directory
- Fix README cost estimates with DeepSeek pricing source URL
- Fix English README unit error in cost section
🇨🇳 中文说明
v4.1.0 - 本地文件离线调研模式
新增功能
🔥 离线模式
- Skill 现支持纯本地文件调研,无需联网
- 自动通过 LLM 语义理解识别用户意图(提到本地文件、要求不联网等),非关键词匹配
- 支持
.md、.txt、.pdf、.docx四种文件格式 - AI 自动安装 PyPDF2 提取 PDF 文本(无需用户操作)
- AI 自动安装 python-docx 解析 DOCX 文件
工作原理
用户输入本地文件路径并指示不联网后,系统:
- 识别离线意图(Step 0.5,LLM 语义理解)
- 跳过所有搜索、抓取流程(Task 2 离线分支)
- 读取本地文件
- 构建标准 data-pool.json(与在线模式格式完全一致)
- 复用现有的章节撰写(Task 3)和装配质检(Task 4),零改动
Bug 修复
- 修复 reports/ 目录同标题报告重复问题
- 修复 README 成本估算数据,补充 DeepSeek 定价来源 URL
- 修复英文版 README 成本单位错误
Full Changelog: v4.0.0...v4.1.0