hostel-protocol-python 0.2.2__tar.gz → 0.3.0__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 (20) hide show
  1. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/PKG-INFO +2 -2
  2. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/pyproject.toml +2 -2
  3. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/protocol/models.py +3 -1
  4. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/.github/workflows/ci.yml +0 -0
  5. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/.github/workflows/publish.yml +0 -0
  6. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/.gitignore +0 -0
  7. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/Makefile +0 -0
  8. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/client/__init__.py +0 -0
  9. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/client/client.py +0 -0
  10. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/protocol/__init__.py +0 -0
  11. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/protocol/converter.py +0 -0
  12. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/py.typed +0 -0
  13. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/transport/__init__.py +0 -0
  14. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/transport/transport.py +0 -0
  15. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/src/hostel/transport/zeromq.py +0 -0
  16. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/tests/__init__.py +0 -0
  17. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/tests/test_client.py +0 -0
  18. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/tests/test_converter.py +0 -0
  19. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/tests/test_models.py +0 -0
  20. {hostel_protocol_python-0.2.2 → hostel_protocol_python-0.3.0}/tests/test_transport.py +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hostel-protocol-python
3
- Version: 0.2.2
3
+ Version: 0.3.0
4
4
  Summary: Pydantic models, transport and client for the Hostel protocol
5
5
  Requires-Python: >=3.12
6
- Requires-Dist: hostel-protocol>=0.2.2
6
+ Requires-Dist: hostel-protocol>=0.3.0
7
7
  Requires-Dist: protobuf<8,>=7.35.0
8
8
  Requires-Dist: pydantic>=2.5.0
9
9
  Provides-Extra: client
@@ -4,11 +4,11 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hostel-protocol-python"
7
- version = "0.2.2"
7
+ version = "0.3.0"
8
8
  description = "Pydantic models, transport and client for the Hostel protocol"
9
9
  requires-python = ">=3.12"
10
10
  dependencies = [
11
- "hostel-protocol>=0.2.2",
11
+ "hostel-protocol>=0.3.0",
12
12
  "pydantic>=2.5.0",
13
13
  "protobuf>=7.35.0,<8",
14
14
  ]
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Any
5
+ from typing import Any, Literal
6
6
 
7
7
  from pydantic import BaseModel, ConfigDict
8
8
 
@@ -40,6 +40,8 @@ class ChatRequest(BaseModel):
40
40
  model_config = ConfigDict(populate_by_name=True)
41
41
  agent_name: str
42
42
  messages: list[ChatMessage] = []
43
+ planning_mode: Literal["react", "plan_and_execute"] = "react"
44
+ require_plan_approval: bool = True
43
45
 
44
46
 
45
47
  class ChatResponse(BaseModel):