Skip to content

Commit 2ddff19

Browse files
bojielicursoragent
andcommitted
release: v0.2.0
Pass wait_timeout to socketio.AsyncClient.connect() to fix namespace connection failures on macOS where the default 1s timeout is too short. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9149c4f commit 2ddff19

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pine-assistant"
7-
version = "0.1.2"
7+
version = "0.2.0"
88
description = "Pine AI SDK — Let Pine AI handle your digital chores. Socket.IO + REST client."
99
readme = "README.md"
1010
license = "MIT"

src/pine_assistant/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from pine_assistant.errors import PineAIError, AuthError, SessionError, ConnectionError
1212
from pine_assistant.models.events import C2SEvent, S2CEvent, NotificationEvent
1313

14-
__version__ = "0.1.2"
14+
__version__ = "0.2.0"
1515
__all__ = [
1616
"PineAI",
1717
"AsyncPineAI",

src/pine_assistant/transport/socketio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ async def disconnect(_reason: str = "") -> None:
9898
auth={"token": self._token},
9999
transports=self._transports,
100100
socketio_path=SOCKETIO_PATH,
101+
wait_timeout=self._ready_timeout,
101102
)
102103

103104
try:

0 commit comments

Comments
 (0)