Commit Graph
7 Commits
Author SHA1 Message Date
Zhengshou Lai 5c3f90e910 feat: add --tmux/-t option to run agents in attachable tmux sessions
Wraps the backend in 'tmux new-session -A' with a per-backend, per-directory
session name, so agent sessions survive SSH drops and re-running the same
command reattaches. Falls back to a direct run when already inside tmux,
and errors clearly when tmux is not installed.
2026-07-15 20:03:28 +08:00
Zhengshou Lai 20e22eafd4 fix(hermes): align myhermes resume flags with myclaude UX
Hermes -r/--resume requires a session id and has no -c shorthand, so
bare 'myhermes -r' failed with an argparse error. Translate
myagents-style flags like the codex backend:

- bare -r/--resume -> 'hermes sessions browse' (interactive picker)
- -r/--resume <id> -> '--resume <id> --no-restore-cwd'
- -c/--continue/--last -> '--continue --no-restore-cwd'

--no-restore-cwd keeps resumed sessions in the launch cwd, matching
myclaude semantics instead of jumping to the session's original cwd.
2026-07-15 10:34:01 +08:00
Zhengshou Lai 78ca74152f feat: add hermes backend support
- Add myhermes entrypoint and myagents hermes subcommand
- Hermes sessions read from global SQLite store (~/.hermes/state.db)
- Default args: --yolo
- Update README, AGENTS.md, Makefile, pyproject.toml
- Add tests for hermes subcommand, passthrough, and session listing
2026-07-15 10:21:38 +08:00
Zhengshou Lai 384b9b818b feat(launcher): mycodex 默认启用 --dangerously-bypass-approvals-and-sandbox 2026-07-07 10:11:53 +08:00
Zhengshou Lai c07b132f6d feat(mycodex): 对齐 resume options,支持 -r/--resume/--continue/--last/--all
- 新增 _translate_codex_extra,将 -r/--resume 映射为 codex resume

- --continue 映射为 codex continue,--last/--all 映射为 resume --last/--all

- 更新 help 文案与 README 用法示例

- 补充 5 个 codex resume option 单元测试,50 tests passed
2026-07-07 09:05:09 +08:00
Zhengshou Lai 10530479d0 feat: 添加 mycodex 入口,支持 OpenAI Codex CLI
- 在 launcher 中注册 codex 后端,兼容 ~/.codex/sessions 日期嵌套目录

- 解析 session_meta.payload.cwd 过滤当前目录会话

- 添加 myagents codex 子命令与 mycodex 独立入口、补全及 Makefile 链接

- 更新 pyproject.toml 控制台脚本与 README 文档

- 补充 codex 相关单元测试,45 tests passed
2026-07-07 08:40:16 +08:00
Zhengshou Lai 7f1aa9f27e rename: myclaude -> myagents 2026-07-01 23:27:14 +08:00