pilotprotocol 0.1.0__tar.gz → 0.1.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.
Files changed (23) hide show
  1. {pilotprotocol-0.1.0/pilotprotocol.egg-info → pilotprotocol-0.1.1}/PKG-INFO +1 -1
  2. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/bin/libpilot.so +0 -0
  3. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/bin/pilot-daemon +0 -0
  4. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/bin/pilot-gateway +0 -0
  5. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/bin/pilotctl +0 -0
  6. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/client.py +4 -0
  7. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1/pilotprotocol.egg-info}/PKG-INFO +1 -1
  8. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pyproject.toml +1 -1
  9. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/CHANGELOG.md +0 -0
  10. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/LICENSE +0 -0
  11. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/MANIFEST.in +0 -0
  12. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/README.md +0 -0
  13. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/__init__.py +0 -0
  14. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/bin/libpilot.h +0 -0
  15. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/cli.py +0 -0
  16. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol/py.typed +0 -0
  17. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol.egg-info/SOURCES.txt +0 -0
  18. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol.egg-info/dependency_links.txt +0 -0
  19. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol.egg-info/entry_points.txt +0 -0
  20. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol.egg-info/requires.txt +0 -0
  21. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/pilotprotocol.egg-info/top_level.txt +0 -0
  22. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/setup.cfg +0 -0
  23. {pilotprotocol-0.1.0 → pilotprotocol-0.1.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pilotprotocol
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Python SDK for Pilot Protocol - the network stack for AI agents
5
5
  Author-email: Alexandru Godoroja <alex@vulturelabs.com>
6
6
  Maintainer-email: Alexandru Godoroja <alex@vulturelabs.com>, Teodor Calin <teodor@vulturelabs.com>
@@ -308,6 +308,10 @@ class Conn:
308
308
  """Read up to *size* bytes. Blocks until data arrives."""
309
309
  if self._closed:
310
310
  raise PilotError("connection closed")
311
+ if size <= 0:
312
+ return b""
313
+ if size > 16 * 1024 * 1024:
314
+ size = 16 * 1024 * 1024 # cap at 16MB
311
315
  lib = _get_lib()
312
316
  res = lib.PilotConnRead(self._h, size)
313
317
  if res.err:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pilotprotocol
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Python SDK for Pilot Protocol - the network stack for AI agents
5
5
  Author-email: Alexandru Godoroja <alex@vulturelabs.com>
6
6
  Maintainer-email: Alexandru Godoroja <alex@vulturelabs.com>, Teodor Calin <teodor@vulturelabs.com>
@@ -14,7 +14,7 @@ pilotprotocol = [
14
14
 
15
15
  [project]
16
16
  name = "pilotprotocol"
17
- version = "0.1.0"
17
+ version = "0.1.1"
18
18
  description = "Python SDK for Pilot Protocol - the network stack for AI agents"
19
19
  readme = "README.md"
20
20
  requires-python = ">=3.10"
File without changes
File without changes
File without changes
File without changes
File without changes