min-agent 3.31.2610270225 → 3.32.2610271216
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
CHANGED
|
@@ -84,7 +84,7 @@ Type `/` to open the command menu; **↑/↓** selects. On an empty input, **↑
|
|
|
84
84
|
| `/model` · `/models` · `/provider` | Current provider's models · every provider's models · switch provider |
|
|
85
85
|
| `/ask` · `/agent` | Switch to ask (web Q&A) / agent (coding) mode |
|
|
86
86
|
| `/plan` | Plan mode — look, don't touch |
|
|
87
|
-
| `/think` · `/ctx` | Thinking intensity · context window
|
|
87
|
+
| `/think` · `/ctx` | Thinking intensity · context window (`/ctx 32` = 32k) |
|
|
88
88
|
| `/memory` | Toggle memory or save a note |
|
|
89
89
|
| `/light` | Pick a lighter model for background work |
|
|
90
90
|
| `/undo` · `/diff` | Undo last turn · show changes so far |
|
|
@@ -138,6 +138,15 @@ min-agent models # list the models your provider offers
|
|
|
138
138
|
|
|
139
139
|
`min-agent settings` prints every active setting in one screen — the value and where it comes from (default, global, project, environment, or this run).
|
|
140
140
|
|
|
141
|
+
If your provider has to be reached through a proxy, add it per provider — `http://`, `https://`, `socks5://` or `socks5h://` (`socks5h` lets the proxy resolve DNS):
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
min-agent setup --type openai-compatible --url https://api.example.com/v1 \
|
|
145
|
+
--api-key $KEY --default-model <id> --proxy socks5h://127.0.0.1:1080
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
The interactive wizard has a 代理 row for the same field. Only that provider's traffic is proxied; leave it empty to connect directly.
|
|
149
|
+
|
|
141
150
|
An optional lighter model handles background chores: shortening long conversations, naming sessions, tidying long search results, and filing memory notes. Leave it empty to keep using the current model. `min-agent light` walks through the choices, `/light` does the same in chat, and `min-agent light off` pauses it without losing the selection.
|
|
142
151
|
|
|
143
152
|
Conversation history is saved per folder by default. To share one history across all projects, run `min-agent scope global` (or `/scope global`); `min-agent scope` shows the current setting.
|
|
@@ -246,7 +255,7 @@ min-agent --provider anthropic "..." # 为一条消息指定服务商
|
|
|
246
255
|
| `/model` · `/models` · `/provider` | 当前服务商的模型 · 全部服务商的模型 · 切换服务商 |
|
|
247
256
|
| `/ask` · `/agent` | 切换 ask(联网问答)/ agent(编程)模式 |
|
|
248
257
|
| `/plan` | 计划模式——只看不改 |
|
|
249
|
-
| `/think` · `/ctx` | 思考强度 ·
|
|
258
|
+
| `/think` · `/ctx` | 思考强度 · 上下文窗口(`/ctx 32` = 32k) |
|
|
250
259
|
| `/memory` | 开关记忆,或保存一条 |
|
|
251
260
|
| `/light` | 为后台杂务选择一个更轻量的模型 |
|
|
252
261
|
| `/undo` · `/diff` | 撤销上一轮 · 查看已产生的改动 |
|
|
@@ -300,6 +309,15 @@ min-agent models # 查看当前服务商可用的模型
|
|
|
300
309
|
|
|
301
310
|
`min-agent settings` 一屏列出所有生效设置——当前值,以及它来自哪里(默认、全局、项目、环境变量或本次运行)。
|
|
302
311
|
|
|
312
|
+
服务商需要经代理访问时,可以按服务商配置代理,支持 `http://`、`https://`、`socks5://`、`socks5h://`(`socks5h` 由代理解析域名):
|
|
313
|
+
|
|
314
|
+
```bash
|
|
315
|
+
min-agent setup --type openai-compatible --url https://api.example.com/v1 \
|
|
316
|
+
--api-key $KEY --default-model <id> --proxy socks5h://127.0.0.1:1080
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
交互向导里有“代理”一行对应同一配置。只有该服务商的请求走代理,留空即直连。
|
|
320
|
+
|
|
303
321
|
还可以另外指定一个轻量模型,用来压缩较长的对话、给会话起标题、整理过长的搜索结果,以及整理要记住的内容。留空则这些事情仍使用当前模型。`min-agent light` 会逐步带你选择,对话里的 `/light` 效果相同;`min-agent light off` 可以暂停它而不丢失已选模型。
|
|
304
322
|
|
|
305
323
|
对话历史默认按文件夹保存。想让所有项目共用一份历史,执行 `min-agent scope global`(或对话中 `/scope global`);`min-agent scope` 查看当前设置。
|