Commit Graph
13 Commits
Author SHA1 Message Date
Zhengshou Lai b49e2f7b38 feat(voice): STT 统一到 X-Api-Key,与 TTS 共用同一 API Key
- transcribe_flash 新增 api_key 参数:新版 X-Api-Key 单头鉴权,
  无则回退旧版 X-Api-App-Key / X-Api-Access-Key 双头
- stt_cmd 优先读 secrets.api_keys.volc_tts,appid/token 降为回退
- _get_tts_credentials 更名 _get_voice_credentials(TTS/STT 共用)
2026-08-15 15:44:30 +08:00
Zhengshou Lai 4b2ed13280 install: treat xiaohe-agent/packages/mytoolkit as the working tree.
Refuse only GHA _work installs; drop the standalone myBin checkout as the install target.
2026-08-11 21:18:40 +08:00
Zhengshou Lai 089da97633 install: refuse runner worktrees and bind the CLI Python.
Keep editable installs on the canonical checkout so PATH mytoolkit cannot silently pick up a stale GHA _work tree.
2026-08-11 21:16:05 +08:00
Zhengshou Lai 03ef916c26 docs: document volc_tts api-key credential (new TTS auth) 2026-08-02 16:27:24 +08:00
Zhengshou Lai 8f60860419 feat(voice): switch TTS to Seed 2.0 uranus voices
Use classic male/female and sunny-sweet speakers with seed-tts-2.0 resource id.
2026-07-26 01:07:06 +08:00
Zhengshou Lai c69961a9cb feat(voice): 豆包 flash ASR,支持热词与对话上下文
用极速版 HTTP 替代 Whisper;默认热词「小荷」,可选 history/--correct。
2026-07-22 15:06:08 +08:00
Zhengshou Lai b517bd3796 docs: 更新 AGENTS.md 中 xiaohe provider key 说明\n\n- xiaohe 的 provider API key 由 xiaohe 自己保存在 ~/.xiaohe/agent/secrets.json\n- mytoolkit 不再管理 provider key 2026-07-19 11:47:58 +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 c838692a9c fix(scaffold/manual): add colortbl for \arrayrulecolor; switch to proposal-style fonts
- booktabs rule colors need colortbl (build was failing on fresh init)
- fonts: Times New Roman + SimSun/SimHei/KaiTi via \IfFontExistsTF guards,
  ctex default set as fallback; document bundled-fonts option for deliverables
2026-07-18 11:54:00 +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 9174708d10 feat(init): add LaTeX manual scaffold and 'init manual' command
- scaffolds/manual/: ctexart+xelatex manual template (cover, TOC, colored
  headings, four callout boxes, listings code, booktabs three-line tables),
  visually aligned with Typst md-to-pdf/manual template
- commands/init.py: extract _init_scaffold() shared by paper/manual
- sync README/AGENTS/skill references; document templates-vs-scaffolds-vs-journals taxonomy
2026-07-18 09:44:17 +08:00
Zhengshou Lai 55c08cf937 refactor(config): migrate .claude/CLAUDE.md to .agents/AGENTS.md with compatibility symlinks 2026-07-07 23:34:12 +08:00