min-agent 0.6.3 → 0.6.5
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.
- package/README.md +6 -2
- package/dist/cli.js +229 -223
- package/docs/API.md +1 -1
- package/package.json +2 -2
- package/skills/self-config/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -70,7 +70,9 @@ Shortcuts: **Ctrl+C** clears input (press twice to exit) · **Ctrl+V** pastes an
|
|
|
70
70
|
|
|
71
71
|
## Staying in Control
|
|
72
72
|
|
|
73
|
-
File edits are auto-approved by default; risky actions always ask.
|
|
73
|
+
File edits are auto-approved by default; risky actions always ask. When several actions in one step need approval, they're combined into a single prompt instead of a stack of separate ones.
|
|
74
|
+
|
|
75
|
+
`min-agent exec` (one-shot) runs more freely by default: edits and ordinary commands don't ask — only genuinely destructive commands (deleting files/dirs, dropping/truncating databases, disk-wiping, `git reset --hard`, etc.) still prompt. Pass `--permission` or `--yes` to override.
|
|
74
76
|
|
|
75
77
|
```bash
|
|
76
78
|
min-agent permission # show current setting
|
|
@@ -170,7 +172,9 @@ min-agent --provider anthropic "..." # 为一条消息指定服务商
|
|
|
170
172
|
|
|
171
173
|
## 掌控风险
|
|
172
174
|
|
|
173
|
-
|
|
175
|
+
文件修改默认自动批准,危险操作仍会询问;同一步里有多个操作需要授权时,会合并成一个弹窗逐条列出,而不是弹出一堆。
|
|
176
|
+
|
|
177
|
+
`min-agent exec`(单次执行)默认更放手:文件修改和普通命令都不询问,只有真正具破坏性的命令(删除文件/目录、drop/truncate 数据库、抹盘、`git reset --hard` 等)才会询问。加 `--permission` 或 `--yes` 可覆盖此默认。
|
|
174
178
|
|
|
175
179
|
```bash
|
|
176
180
|
min-agent permission # 查看当前设置
|