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
|`weco logout`| Clear authentication credentials |Switch accounts or troubleshoot auth|
193
193
|`weco credits balance`| Check your current credit balance | Monitor usage |
194
194
|`weco credits topup [amount]`| Purchase additional credits | When you need more credits (default: 10) |
195
195
|`weco credits autotopup`| Configure automatic top-up | Set up automatic credit replenishment |
196
196
197
+
### Run Subcommands
198
+
199
+
Inspect and manage optimization runs. All output is JSON, designed for programmatic access (AI coding agents, scripts).
200
+
201
+
| Command | Description |
202
+
|---------|-------------|
203
+
|`weco run status <run-id>`| Run progress, pending nodes, review mode flag |
204
+
|`weco run results <run-id>`| Results sorted by metric |
205
+
|`weco run show <run-id> --step <N\|best>`| Single node detail with code |
206
+
|`weco run diff <run-id> --step <N\|best>`| Unified code diff between steps |
207
+
|`weco run stop <run-id>`| Graceful termination (tree preserved) |
208
+
|`weco run instruct <run-id> "<text>"`| Update instructions mid-run |
209
+
|`weco run review <run-id>`| List pending approval nodes (review mode) |
210
+
|`weco run revise <run-id> --node <id> --source <file>`| Replace a node's code |
211
+
|`weco run submit <run-id> --node <id>`| Evaluate and submit a node |
212
+
213
+
```bash
214
+
# Check progress
215
+
weco run status 0002e071-1b67-411f-a514-36947f0c4b31
216
+
217
+
# Top 5 results as JSON
218
+
weco run results 0002e071-1b67-411f-a514-36947f0c4b31 --top 5
219
+
220
+
# Diff best solution against baseline
221
+
weco run diff 0002e071-1b67-411f-a514-36947f0c4b31 --step best
222
+
223
+
# Review mode: inspect, optionally edit, and submit
224
+
weco run review 0002e071-1b67-411f-a514-36947f0c4b31
225
+
weco run submit 0002e071-1b67-411f-a514-36947f0c4b31 --node <node-id>
226
+
227
+
# Submit with your own code (explicit path mapping)
228
+
weco run submit <run-id> --node <id> --source module.py=./my_version.py
229
+
```
230
+
231
+
**Source path mapping:** When using `--source` with `revise` or `submit`, you can map local files to the run's source paths using `target_path=local_path` syntax (e.g., `--source module.py=./optimized.py`). Without an explicit mapping, files are matched positionally to the run's original source paths.
232
+
197
233
### Observe Commands
198
234
199
235
Track experiments from your own optimization loop (LLM agents, custom scripts, manual experiments) in the Weco dashboard:
0 commit comments