You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: USAGE.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -213,6 +213,7 @@ The `start()` method accepts various configuration options:
213
213
-**`raw`** (boolean, default: false): Return raw string instead of formatted output
214
214
-**`chatbotmode`** (boolean, default: false): Replace the agent workflow with a lightweight conversational assistant prompt
215
215
-**`useplanning`** (boolean, default: false): Maintain a persistent task plan in agent mode; Mini-A disables it automatically when the goal looks trivial
216
+
-**`mode`** (string): Apply a preset from [`mini-a-modes.yaml`](mini-a-modes.yaml) to prefill a bundle of related flags
@@ -264,6 +265,17 @@ If every stage returns an empty list (or errors), Mini-A logs the issue and fall
264
265
-**`conversation`** (string): Path to file for loading/saving conversation history
265
266
-**`state`** (object|string): Initial structured state (JSON/SLON) injected before the first step and persisted across turns
266
267
268
+
#### Mode Presets
269
+
-**`mode`** (string): Shortcut for loading a preset argument bundle from [`mini-a-modes.yaml`](mini-a-modes.yaml). Presets are merged before explicit flags, so command-line overrides always win. Bundled configurations include:
270
+
-`shell` – Enables read-only shell access.
271
+
-`shellrw` – Enables shell access with write permissions (`readwrite=true`).
272
+
-`shellutils` – Adds the Mini File Tool helpers as an MCP (`useutils=true usetools=true`).
273
+
-`chatbot` – Switches to conversational mode (`chatbotmode=true`).
274
+
-`web` – Optimizes for the browser UI with MCP tools registered (`usetools=true`).
275
+
-`webfull` – Turns on diagrams, charts, attachments, history retention, and planning for the web UI (`usetools=true usediagrams=true usecharts=true usehistory=true useattach=true historykeep=true useplanning=true`).
276
+
277
+
Extend or override these presets by editing the YAML file—Mini-A reloads it on each run.
278
+
267
279
#### Output Configuration
268
280
-**`outfile`** (string): Path to file where final answer will be written
269
281
-**`__format`** (string): Output format (e.g. "json", "md", ...)
0 commit comments