feat(M4): Documentation & Final Integration

This commit is contained in:
2026-05-19 22:49:05 -05:00
parent 48bef5cc7c
commit 7b886a7b33
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -96,9 +96,9 @@ The prompt is forwarded with each clients native argument shape:
| Client | Arguments passed | | Client | Arguments passed |
|---|---| |---|---|
| `codex` | `exec "<prompt>"` | | `codex` | `exec --yolo "<prompt>"` |
| `claude` | `-p "<prompt>"` | | `claude` | `-p "<prompt>" --dangerously-skip-permissions` |
| `opencode` | `"<prompt>"` | | `opencode` | `run --dangerously-skip-permissions "<prompt>"` |
### `dispatch` ### `dispatch`
+1 -1
View File
@@ -103,7 +103,7 @@ The dispatcher is **async-first**: `run` and `dispatch` start a detached backgro
| **Async** (default) | Starts a detached process, returns a `jobId` immediately, and stores output on disk. | Fire-and-forget tasks, long-running jobs, parallel dispatches, or when you need to poll/check results later. | | **Async** (default) | Starts a detached process, returns a `jobId` immediately, and stores output on disk. | Fire-and-forget tasks, long-running jobs, parallel dispatches, or when you need to poll/check results later. |
| **Sync** (`--sync`) | Blocks until the client subprocess exits, then returns `stdout`, `stderr`, and `exitCode` directly. | Short, interactive tasks where you need the result in the same turn. | | **Sync** (`--sync`) | Blocks until the client subprocess exits, then returns `stdout`, `stderr`, and `exitCode` directly. | Short, interactive tasks where you need the result in the same turn. |
Use `--timeout <ms>` to control how long a job may run before it is terminated (default: 10 minutes for async, 5 minutes for sync). Use `--debug` to emit diagnostic metadata to stderr. Use `--timeout <ms>` to control how long a job may run before it is terminated (default: 10 minutes / 600,000 ms for both async and sync). Use `--debug` to emit diagnostic metadata to stderr.
## Flags ## Flags