min-agent 0.7.4 → 0.7.6
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 +5 -3
- package/dist/cli.js +293 -263
- package/package.json +1 -1
- package/skills/self-config/SKILL.md +1 -1
- package/skills/self-config/reference.md +2 -2
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ Type `/` to open the command menu; **↑/↓** selects. On an empty input, **↑
|
|
|
66
66
|
| `/attach` · `/mcp` · `/skills` | Attach an image · MCP servers · skills |
|
|
67
67
|
| `/tokens` · `/help` | Usage & cost · all commands |
|
|
68
68
|
|
|
69
|
-
Shortcuts: **Ctrl+C** clears input (press twice to exit) · **Ctrl+V** pastes an image · **Ctrl+B** copies selected text · click a tool or thinking block to expand it.
|
|
69
|
+
Shortcuts: **Ctrl+C** clears input (press twice to exit) · **Shift+Enter** / **Ctrl+J** inserts a newline · **Ctrl+V** pastes an image · **Ctrl+B** copies selected text · click a tool or thinking block to expand it.
|
|
70
70
|
|
|
71
71
|
## Staying in Control
|
|
72
72
|
|
|
@@ -82,7 +82,7 @@ min-agent --permission allow-all # auto-approve everything — use with care
|
|
|
82
82
|
min-agent sandbox workspace # only allow changes inside this folder
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
On Windows, OS-level command isolation (macOS seatbelt / Linux bwrap) is unavailable: `strict` refuses shell commands; `workspace` still blocks file tools outside the folder. Shell commands prefer Git Bash when installed.
|
|
86
86
|
|
|
87
87
|
Off by default. Turn it on to keep facts across sessions:
|
|
88
88
|
|
|
@@ -170,7 +170,7 @@ min-agent --provider anthropic "..." # 为一条消息指定服务商
|
|
|
170
170
|
| `/attach` · `/mcp` · `/skills` | 附加图片 · MCP 服务 · 技能 |
|
|
171
171
|
| `/tokens` · `/help` | 用量与费用 · 全部命令 |
|
|
172
172
|
|
|
173
|
-
快捷键:**Ctrl+C** 清空输入(连按两次退出)· **Ctrl+V** 粘贴图片 · **Ctrl+B** 复制选中的文本 · 点击工具或思考块可展开收起。
|
|
173
|
+
快捷键:**Ctrl+C** 清空输入(连按两次退出)· **Shift+Enter** / **Ctrl+J** 换行 · **Ctrl+V** 粘贴图片 · **Ctrl+B** 复制选中的文本 · 点击工具或思考块可展开收起。
|
|
174
174
|
|
|
175
175
|
## 掌控风险
|
|
176
176
|
|
|
@@ -186,6 +186,8 @@ min-agent --permission allow-all # 自动批准所有操作——请谨慎
|
|
|
186
186
|
min-agent sandbox workspace # 仅允许修改当前文件夹内内容
|
|
187
187
|
```
|
|
188
188
|
|
|
189
|
+
Windows 上没有 macOS/Linux 那种命令级隔离:`strict` 会拒绝执行 shell;`workspace` 仍会限制文件工具写到目录外。装了 Git Bash 时优先用它跑命令。
|
|
190
|
+
|
|
189
191
|
## 记忆
|
|
190
192
|
|
|
191
193
|
默认关闭。想让偏好跨会话保留时再打开:
|