Commit Graph
11 Commits
Author SHA1 Message Date
Zhengshou Lai d428436fca chore: bump mytoolkit to 0.2.0 and read --version from package metadata
Align with xiaohe wheel deploy so VPS installs carry a clear package version.
2026-07-22 23:19:34 +08:00
Zhengshou Lai ce2d0ac5b0 chore: 缓存目录移到 tmp/,更新 AGENTS.md 引用\n\n- pyproject.toml 配置 pytest/ruff 缓存到 ../../tmp/\n- AGENTS.md 中 workspace CLAUDE.md 引用改为 AGENTS.md 2026-07-19 11:39:12 +08:00
Zhengshou Lai b7749a9b06 refactor(config): unify secrets in ~/.mytoolkit/config.json and migrate skill wrappers 2026-07-19 09:49:01 +08:00
Zhengshou Lai 06704acf60 test: add pytest suite — CLI smoke + config/templates/md_to_pdf units
- tests/conftest.py redirects MYTOOLKIT_HOME to a temp dir before imports
  so the module-level Config singleton never touches the real ~/.mytoolkit
- CLI smoke: every registered command answers --help with exit code 0
- unit tests: Config get/set/migrate, templates_registry override/fallback,
  md_to_pdf pure helpers (pandoc-dependent cases skipif-guarded)
- pyproject: dev dependency group (pytest) + pytest config; Makefile: make test
2026-07-18 11:45:40 +08:00
Zhengshou Lai fe4c280f7c refactor: rename bin/ package to mytoolkit/ 2026-06-26 22:57:55 +08:00
Zhengshou Lai ac605c2c17 feat(mytoolkit): add voice command and improve docx post-processing
- Add voice/TTS CLI command via Volcengine WebSocket API
- Inject suppressAutoHyphens into all docx paragraphs in post-process
- Apply post-process fixes to all templates (not just default)
- Update review template: Cambria+SimSun fonts, 11pt for headings
- Sync default/review docx template formatting
2026-05-27 16:17:47 +08:00
Zhengshou Lai 7600b558cd style(template): fix Heading3-5 font sizes and update demo
- Heading3: 12pt, Heading4-5: 11pt
- Update demo.md with comprehensive elements (title, headings, tables, lists, quotes, math)
- Regenerate demo.docx with auto post-processing
- Add python-docx dependency (used for template creation)
2026-05-19 23:08:37 +08:00
Zhengshou Lai 3e4cf618a8 refactor: restructure mytoolkit with new subcommands and md-to-pdf improvements
- Add new subcommands: convert, preflight, server, templates, webpage
- Migrate config from bin/config.json to ~/.config/mytoolkit
- Fix expand_bookmarks to modify writer objects instead of reader
- Improve md_to_pdf with CJK bookmark support
- Update README and project metadata
2026-05-04 17:19:32 +08:00
Zhengshou Lai c1df4098b3 refactor: rename package from mytoolkit to bin
- Move all source files from mytoolkit/ to bin/
- Update entry point and build config in pyproject.toml
- Add pillow and pypdf dependencies
- Update README and .gitignore paths
- Remove unused subprocess import in pdf.py
- Clean up duplicate imports in pdf merge command
2026-04-26 09:56:29 +08:00
Zhengshou Lai 3aeaf7cb64 init 2026-04-14 18:39:09 +08:00
Zhengshou Lai ab8067f0c5 Initial commit: mycli toolkit with all commands 2026-04-13 11:38:01 +08:00