7 Commits
Author SHA1 Message Date
Zhengshou Lai 34c4fc45f7 feat(git-proxy): stop 只杀本 CLI 启的 fastgithub,并入 en0 主 LAN IP 供 Parallels 桥接 2026-08-22 13:41:27 +08:00
Zhengshou Lai fd37ea42fa feat(git proxy): start 默认写 git http(s).proxy,stop 自动恢复,restart 继承状态(CI 用 --no-set-git) 2026-08-19 21:17:02 +08:00
Zhengshou Lai 52acb197a4 fix(git proxy): start/stop 只认领匹配进程(防误杀同端口其它进程) + status/start 自动恢复指向死端口的 stale git proxy 2026-08-16 17:59:06 +08:00
Zhengshou Lai f8be17fe4f git proxy: add start/stop/restart daemon lifecycle for FastGitHub.
Background daemons with port/PID tracking and Parallels socat, keep FastGithub logs off the TTY, and document install in the skill.
2026-08-12 21:12:14 +08:00
Zhengshou Lai 69efc6b3e2 refactor(mytoolkit): 移除历史兼容,统一分层配置键,补全 Config 单测
- config.Config 仅支持 ~/.mytoolkit/config.json 分层键
- 删除旧 env.json/module-config.json 迁移逻辑与 flat-key 别名
- ssh/bib/image 命令改用 connections.* / paths.* / secrets.api_keys.*
- 单测覆盖分层读写、嵌套删除、export、resolve_key、权限
2026-07-19 11:56:26 +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