balatrobot 0.6.0__tar.gz → 0.6.1__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.
- {balatrobot-0.6.0 → balatrobot-0.6.1}/CHANGELOG.md +7 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/PKG-INFO +1 -1
- {balatrobot-0.6.0 → balatrobot-0.6.1}/balatrobot.json +1 -1
- {balatrobot-0.6.0 → balatrobot-0.6.1}/pyproject.toml +1 -1
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/balatrobot/__init__.py +1 -1
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/balatrobot/client.py +1 -1
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/balatrobot/test_client.py +2 -2
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/conftest.py +1 -1
- {balatrobot-0.6.0 → balatrobot-0.6.1}/uv.lock +258 -258
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.claude/commands/commit-msg.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.claude/commands/commit.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.claude/commands/test.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.claude/settings.json +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.cursor/rules/docs-formatting.mdc +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.cursor/rules/python-development.mdc +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.editorconfig +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.envrc.example +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.gitattributes +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.github/workflows/code_quality.yml +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.github/workflows/deploy_docs.yml +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.github/workflows/release-pypi.yml +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.github/workflows/release_please.yml +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.gitignore +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.gitmodules +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.mdformat.toml +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.python-version +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.vscode/extensions.json +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/.vscode/settings.json +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/CLAUDE.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/LICENSE +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/Makefile +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/README.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/balatro.sh +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/balatrobot.lua +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/bots/example.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/bots/replay.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/docs/assets/balatrobot.svg +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/docs/balatrobot-api.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/docs/contributing.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/docs/developing-bots.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/docs/index.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/docs/installation.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/docs/logging-systems.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/docs/protocol-api.md +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/mkdocs.yml +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/runs/.gitkeep +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/balatrobot/enums.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/balatrobot/exceptions.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/balatrobot/models.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/balatrobot/py.typed +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/lua/api.lua +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/lua/log.lua +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/lua/settings.lua +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/lua/types.lua +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/src/lua/utils.lua +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/balatrobot/conftest.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/balatrobot/test_exceptions.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/balatrobot/test_models.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/conftest.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/__init__.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/__init__.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/checkpoints/basic_shop_setup.jkr +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/checkpoints/buy_cant_use.jkr +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/checkpoints/plasma_deck.jkr +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_cash_out.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_get_gamestate.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_get_save_info.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_go_to_menu.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_load_save.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_play_hand_or_discard.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_rearrange_consumables.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_rearrange_hand.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_rearrange_jokers.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_sell_consumable.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_sell_joker.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_shop.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_skip_or_select_blind.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_start_run.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/endpoints/test_use_consumable.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/test_connection.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/test_log.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/lua/test_protocol_errors.py +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/runs/buy_joker.jsonl +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/runs/no_shop.jsonl +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/runs/rearrange_consumables.jsonl +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/runs/rearrange_jokers.jsonl +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/runs/sell_consumables.jsonl +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/runs/sell_jokers.jsonl +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/runs/shop_reroll.jsonl +0 -0
- {balatrobot-0.6.0 → balatrobot-0.6.1}/tests/runs/use_consumable.planet.jsonl +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.1](https://github.com/coder/balatrobot/compare/v0.6.0...v0.6.1) (2025-10-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* increase timeout for balatrobot client to 60 seconds ([edf26e2](https://github.com/coder/balatrobot/commit/edf26e29c845a12de65f1fab2ce117643000edd6))
|
|
9
|
+
|
|
3
10
|
## 0.6.0 (2025-10-22)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -20,7 +20,7 @@ class TestBalatroClient:
|
|
|
20
20
|
|
|
21
21
|
assert client.host == "127.0.0.1"
|
|
22
22
|
assert client.port == port
|
|
23
|
-
assert client.timeout ==
|
|
23
|
+
assert client.timeout == 60.0
|
|
24
24
|
assert client.buffer_size == 65536
|
|
25
25
|
assert client._socket is None
|
|
26
26
|
assert client._connected is False
|
|
@@ -28,7 +28,7 @@ class TestBalatroClient:
|
|
|
28
28
|
def test_client_class_attributes(self):
|
|
29
29
|
"""Test client class attributes are set correctly."""
|
|
30
30
|
assert BalatroClient.host == "127.0.0.1"
|
|
31
|
-
assert BalatroClient.timeout ==
|
|
31
|
+
assert BalatroClient.timeout == 60.0
|
|
32
32
|
assert BalatroClient.buffer_size == 65536
|
|
33
33
|
|
|
34
34
|
def test_context_manager_with_game_running(self, port):
|
|
@@ -11,7 +11,7 @@ import pytest
|
|
|
11
11
|
|
|
12
12
|
# Connection settings
|
|
13
13
|
HOST = "127.0.0.1"
|
|
14
|
-
TIMEOUT: float =
|
|
14
|
+
TIMEOUT: float = 60.0 # timeout for socket operations in seconds
|
|
15
15
|
BUFFER_SIZE: int = 65536 # 64KB buffer for TCP messages
|
|
16
16
|
|
|
17
17
|
|