balatrobot 0.7.2__tar.gz → 0.7.3__tar.gz
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.
Potentially problematic release.
This version of balatrobot might be problematic. Click here for more details.
- {balatrobot-0.7.2 → balatrobot-0.7.3}/CHANGELOG.md +7 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/PKG-INFO +1 -1
- {balatrobot-0.7.2 → balatrobot-0.7.3}/balatro.sh +15 -12
- {balatrobot-0.7.2 → balatrobot-0.7.3}/balatrobot.json +1 -1
- {balatrobot-0.7.2 → balatrobot-0.7.3}/pyproject.toml +1 -1
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/balatrobot/__init__.py +1 -1
- {balatrobot-0.7.2 → balatrobot-0.7.3}/uv.lock +1 -1
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.claude/commands/commit-msg.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.claude/commands/commit.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.claude/commands/test.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.claude/settings.json +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.cursor/rules/docs-formatting.mdc +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.cursor/rules/python-development.mdc +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.editorconfig +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.envrc.example +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.gitattributes +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.github/workflows/code_quality.yml +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.github/workflows/deploy_docs.yml +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.github/workflows/release-pypi.yml +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.github/workflows/release_please.yml +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.gitignore +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.gitmodules +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.mdformat.toml +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.python-version +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.vscode/extensions.json +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/.vscode/settings.json +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/CLAUDE.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/LICENSE +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/Makefile +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/README.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/balatrobot.lua +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/bots/example.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/bots/replay.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/docs/assets/balatrobot.svg +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/docs/balatrobot-api.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/docs/contributing.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/docs/developing-bots.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/docs/index.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/docs/installation.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/docs/logging-systems.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/docs/protocol-api.md +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/mkdocs.yml +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/runs/.gitkeep +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/balatrobot/client.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/balatrobot/enums.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/balatrobot/exceptions.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/balatrobot/models.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/balatrobot/py.typed +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/lua/api.lua +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/lua/log.lua +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/lua/settings.lua +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/lua/types.lua +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/src/lua/utils.lua +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/balatrobot/conftest.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/balatrobot/test_client.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/balatrobot/test_exceptions.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/balatrobot/test_models.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/conftest.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/__init__.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/conftest.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/__init__.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/checkpoints/basic_shop_setup.jkr +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/checkpoints/buy_cant_use.jkr +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/checkpoints/plasma_deck.jkr +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_cash_out.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_get_gamestate.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_get_save_info.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_go_to_menu.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_load_save.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_play_hand_or_discard.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_rearrange_consumables.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_rearrange_hand.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_rearrange_jokers.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_sell_consumable.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_sell_joker.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_shop.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_skip_or_select_blind.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_start_run.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/endpoints/test_use_consumable.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/test_connection.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/test_log.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/lua/test_protocol_errors.py +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/runs/buy_joker.jsonl +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/runs/no_shop.jsonl +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/runs/rearrange_consumables.jsonl +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/runs/rearrange_jokers.jsonl +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/runs/sell_consumables.jsonl +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/runs/sell_jokers.jsonl +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/runs/shop_reroll.jsonl +0 -0
- {balatrobot-0.7.2 → balatrobot-0.7.3}/tests/runs/use_consumable.planet.jsonl +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.3](https://github.com/coder/balatrobot/compare/v0.7.2...v0.7.3) (2025-10-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* use comma-separated list of ports ([42a566a](https://github.com/coder/balatrobot/commit/42a566a85bf119c5657e89de0fca73d194aad62b))
|
|
9
|
+
|
|
3
10
|
## [0.7.2](https://github.com/coder/balatrobot/compare/v0.7.1...v0.7.2) (2025-10-24)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -31,13 +31,13 @@ esac
|
|
|
31
31
|
show_usage() {
|
|
32
32
|
cat <<EOF
|
|
33
33
|
Usage: $0 [OPTIONS]
|
|
34
|
-
$0
|
|
34
|
+
$0 --ports PORT1,PORT2,... [OPTIONS]
|
|
35
35
|
$0 --kill
|
|
36
36
|
$0 --status
|
|
37
37
|
|
|
38
38
|
Options:
|
|
39
|
-
-
|
|
40
|
-
Default: 12346 if
|
|
39
|
+
--ports PORTS Comma-separated list of ports for Balatro instances
|
|
40
|
+
Default: 12346 if not specified
|
|
41
41
|
--headless Enable headless mode (sets BALATROBOT_HEADLESS=1)
|
|
42
42
|
--fast Enable fast mode (sets BALATROBOT_FAST=1)
|
|
43
43
|
--audio Enable audio (disabled by default, sets BALATROBOT_AUDIO=1)
|
|
@@ -49,8 +49,8 @@ Options:
|
|
|
49
49
|
|
|
50
50
|
Examples:
|
|
51
51
|
$0 # Start single instance on default port 12346
|
|
52
|
-
$0
|
|
53
|
-
$0
|
|
52
|
+
$0 --ports 12347 # Start single instance on port 12347
|
|
53
|
+
$0 --ports 12346,12347 # Start two instances on ports 12346 and 12347
|
|
54
54
|
$0 --headless --fast # Start with headless and fast mode on default port
|
|
55
55
|
$0 --audio # Start with audio enabled on default port
|
|
56
56
|
$0 --render-on-api # Start with on-demand rendering on default port
|
|
@@ -64,16 +64,19 @@ EOF
|
|
|
64
64
|
parse_arguments() {
|
|
65
65
|
while [[ $# -gt 0 ]]; do
|
|
66
66
|
case $1 in
|
|
67
|
-
|
|
67
|
+
--ports)
|
|
68
68
|
if [[ -z "$2" ]] || [[ "$2" =~ ^- ]]; then
|
|
69
|
-
echo "Error: --
|
|
69
|
+
echo "Error: --ports requires a comma-separated list of ports" >&2
|
|
70
70
|
exit 1
|
|
71
71
|
fi
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
IFS=',' read -ra port_list <<< "$2"
|
|
73
|
+
for port in "${port_list[@]}"; do
|
|
74
|
+
if ! [[ "$port" =~ ^[0-9]+$ ]] || [[ "$port" -lt 1024 ]] || [[ "$port" -gt 65535 ]]; then
|
|
75
|
+
echo "Error: Port must be a number between 1024 and 65535 (got: $port)" >&2
|
|
76
|
+
exit 1
|
|
77
|
+
fi
|
|
78
|
+
PORTS+=("$port")
|
|
79
|
+
done
|
|
77
80
|
shift 2
|
|
78
81
|
;;
|
|
79
82
|
--headless)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|