min-agent 3.33.2610271529 → 3.35.2610271822

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/dist/cli.js +484 -481
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -56,7 +56,7 @@ min-agent # start chatting
56
56
  min-agent "your message" # start a session and send a message
57
57
  min-agent ask "your question" # start in ask mode — web Q&A and search only
58
58
  min-agent exec "your message" # one-shot question, then exit (--quiet/--json for scripts)
59
- min-agent push # quick shortcut: stage, commit and push
59
+ min-agent push # quick shortcut: commit the changes (if any) and push the branch
60
60
  min-agent commit # quick shortcut: stage and commit, no push
61
61
  min-agent git # choose which model handles commit/push, separately from chat
62
62
  min-agent --resume <id> # resume a previous session (a unique id prefix is enough)
@@ -90,8 +90,8 @@ Type `/` to open the command menu; **↑/↓** selects. On an empty input, **↑
90
90
  | `/undo` · `/diff` | Undo last turn · show changes so far |
91
91
  | `/queue` | List, drop or clear messages waiting behind the running turn |
92
92
  | `/attach` · `/mcp` · `/skills` | Attach an image · MCP servers · skills |
93
- | `/tokens` · `/help` | Usage and cost · all commands |
94
- | `/exit` · `/quit` | Exit (also `/q`) |
93
+ | `/info` · `/tokens` · `/help` | Session title, created time, id and version · usage and cost · all commands |
94
+ | `/exit` · `/quit` | Exit (also `/q`); prints the session id and how to resume |
95
95
 
96
96
  The input box stays live while the agent works: press Enter and your message joins a queue that runs once the current turn ends. Use `/queue` to inspect it, `/queue rm <n>` to pull one out, `/queue clear` to drop them all; **Esc** cancels the running turn. Commands that only read state or change a setting (`/permission`, `/memory`, `/plan`, `/model <id>`, ...) apply immediately, even mid-turn.
97
97
 
@@ -227,7 +227,7 @@ min-agent # 开始对话
227
227
  min-agent "你的消息" # 进入会话并立即发送消息
228
228
  min-agent ask "你的问题" # 以 ask 模式进入——仅联网问答与搜索
229
229
  min-agent exec "你的消息" # 单次提问后自动退出(--quiet / --json 适合脚本)
230
- min-agent push # 快捷指令:暂存、提交并推送当前分支
230
+ min-agent push # 快捷指令:有改动就提交,然后推送当前分支
231
231
  min-agent commit # 快捷指令:暂存并提交,不推送
232
232
  min-agent git # 单独为提交/推送选择服务商与模型
233
233
  min-agent --resume <id> # 恢复之前的会话(输入唯一的 id 前缀即可)
@@ -261,8 +261,8 @@ min-agent --provider anthropic "..." # 为一条消息指定服务商
261
261
  | `/undo` · `/diff` | 撤销上一轮 · 查看已产生的改动 |
262
262
  | `/queue` | 查看、移出或清空排在当前任务后面的消息 |
263
263
  | `/attach` · `/mcp` · `/skills` | 附加图片 · MCP 服务 · 技能 |
264
- | `/tokens` · `/help` | 用量与费用 · 全部命令 |
265
- | `/exit` · `/quit` | 退出(`/q` 同) |
264
+ | `/info` · `/tokens` · `/help` | 会话标题、创建时间、id 与版本 · 用量与费用 · 全部命令 |
265
+ | `/exit` · `/quit` | 退出(`/q` 同);退出后打印会话与恢复命令 |
266
266
 
267
267
  任务执行时输入框依然可用:按 Enter 会把消息排进队列,当前任务结束后按顺序执行。用 `/queue` 查看队列,`/queue rm <序号>` 移出一条,`/queue clear` 全部清空;**Esc** 取消当前任务。只读状态或只改设置的命令(`/permission`、`/memory`、`/plan`、`/model <id>` 等)在任务执行中也会立即生效。
268
268