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
docs(skill): update balatrobot skill for turbo profile and clarify usage
- Switch recommended settings profile from "fast" to "turbo"
- Remove env var mapping reference (duplicated in config.py)
- Remove BalatroBot profile requirement note (outdated)
- Add quotes around glob patterns in --requests examples
Reorder API docs to surface method lookup first
All flags have `BALATROBOT_*` env var equivalents (e.g. `BALATROBOT_RENDER=headless`). See `src/balatrobot/config.py` for the full mapping.
31
-
32
-
**Requirement:** The mod only activates when the selected Balatro in-game profile is named exactly `BalatroBot`. Create this profile in Balatro's profile selector and select it before launching via `serve`.
28
+
-`--path-*` — path overrides (don't need to use these)
33
29
34
30
`serve` auto-allocates ports, prints instance URLs and the session logs directory, then blocks until Ctrl+C. It writes a state file so other commands can discover the running instances.
35
31
@@ -57,7 +53,7 @@ balatrobot api <method> [JSON_PARAMS]
57
53
balatrobot api <method> --help
58
54
```
59
55
60
-
Auto-discovers the running instance from the state file — no `--host`/`--port` needed for single-instance sessions. For multi-instance pools, use `-i`/`--index` (0-based, default 0).
56
+
**Important**: to use the right `<method>` and `[JSON_PARAMS]` you must read `docs/api.md` which contains the full API reference (methods, errors, states).
61
57
62
58
Params are a JSON string (default `{}`). Examples:
63
59
@@ -78,8 +74,8 @@ balatrobot api gamestate | jq '.state'
78
74
balatrobot api gamestate | jq '{state, money, hand: .hand.count}'
79
75
```
80
76
81
-
API errors surface as `<NAME> - <message>` on stderr (e.g. `INVALID_STATE`, `BAD_REQUEST`).
82
-
Full API reference (methods, errors, states): `docs/api.md`.
77
+
`balatrobot api` auto-discovers the running instance from the state file — no `--host`/`--port` needed for single-instance sessions.
78
+
For multi-instance pools, use `-i`/`--index` (0-based, default 0).
balatrobot api --requests logs/<ts>/<port>.req.jsonl
92
-
balatrobot api --requests logs/<ts>/<port>.req.jsonl --responses logs/<ts>/<port>.res.jsonl
87
+
balatrobot api --requests "logs/<ts>/<port>.req.jsonl"
88
+
balatrobot api --requests "logs/<ts>/<port>.req.jsonl" --responses "logs/<ts>/<port>.res.jsonl"
93
89
```
94
90
95
91
Replays a JSONL request trace against a running instance. `--responses` compares each live response against the recorded one (exits on first divergence). Mutually exclusive with positional `METHOD`.
0 commit comments