reactor-sdk 0.1.1__tar.gz → 0.1.2__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.
Files changed (27) hide show
  1. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/PKG-INFO +1 -1
  2. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/pyproject.toml +1 -1
  3. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/reactor.py +6 -1
  4. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/.github/workflows/ci.yml +0 -0
  5. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/.github/workflows/publish.yml +0 -0
  6. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/.gitignore +0 -0
  7. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/LICENSE +0 -0
  8. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/README.md +0 -0
  9. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/examples/pygame_app/README.md +0 -0
  10. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/examples/pygame_app/controller.py +0 -0
  11. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/examples/pygame_app/main.py +0 -0
  12. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/examples/pygame_app/requirements.txt +0 -0
  13. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/examples/rtmp_app/README.md +0 -0
  14. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/examples/rtmp_app/main.py +0 -0
  15. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/examples/rtmp_app/requirements.txt +0 -0
  16. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/__init__.py +0 -0
  17. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/coordinator/__init__.py +0 -0
  18. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/coordinator/client.py +0 -0
  19. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/coordinator/local_client.py +0 -0
  20. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/interface.py +0 -0
  21. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/model/__init__.py +0 -0
  22. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/model/client.py +0 -0
  23. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/py.typed +0 -0
  24. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/types.py +0 -0
  25. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/utils/__init__.py +0 -0
  26. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/utils/tokens.py +0 -0
  27. {reactor_sdk-0.1.1 → reactor_sdk-0.1.2}/src/reactor_sdk/utils/webrtc.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reactor-sdk
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Python SDK for Reactor - Real-time AI video streaming
5
5
  Project-URL: Homepage, https://reactor.inc
6
6
  Project-URL: Documentation, https://docs.reactor.inc
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "reactor-sdk"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Python SDK for Reactor - Real-time AI video streaming"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -700,10 +700,15 @@ class _ReactorImpl:
700
700
  return
701
701
 
702
702
  def on_application(message: Any) -> None:
703
- # Unwrap "application" envelope if present - the runtime wraps all
703
+ # Unwrap "application" envelope if present - the runtime wraps
704
704
  # outgoing app messages in {"type": "application", "data": ...}
705
705
  if isinstance(message, dict) and message.get("type") == "application" and "data" in message:
706
706
  self._emit("new_message", message["data"])
707
+ else:
708
+ # Emit full message when no envelope wrapper is present.
709
+ # This is crucial for compatibility with capabilities responses
710
+ # which are sent as raw {"commands": {...}} without envelope.
711
+ self._emit("new_message", message)
707
712
 
708
713
  def on_status_changed(status: GPUMachineStatus) -> None:
709
714
  if status == GPUMachineStatus.CONNECTED:
File without changes
File without changes
File without changes