xpander-sdk 2.0.197__py3-none-any.whl → 2.0.199__py3-none-any.whl

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.
@@ -46,10 +46,12 @@ class OrchestrationConditionType(str, Enum):
46
46
  Attributes:
47
47
  Regex: Condition based on regular expression matching.
48
48
  Contains: Condition based on substring containment.
49
+ Else: Fallback condition that always matches (executed when no other conditions match).
49
50
  """
50
51
 
51
52
  Regex = "regex"
52
53
  Contains = "contains"
54
+ Else = "else"
53
55
 
54
56
  class OrchestrationWaitNodeType(str, Enum):
55
57
  """Types of wait nodes in orchestration workflows.
@@ -66,12 +68,12 @@ class OrchestrationCondition(XPanderSharedModel):
66
68
  """Condition for controlling orchestration flow.
67
69
 
68
70
  Attributes:
69
- type: Type of condition (regex or contains).
70
- term: The pattern or string to match against.
71
+ type: Type of condition (regex, contains, or else).
72
+ term: The pattern or string to match against. Optional for 'else' type.
71
73
  """
72
74
 
73
75
  type: OrchestrationConditionType
74
- term: str
76
+ term: Optional[str] = None
75
77
 
76
78
  class OrchestrationRetryStrategy(XPanderSharedModel):
77
79
  """Strategy for retrying failed orchestration nodes.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xpander-sdk
3
- Version: 2.0.197
3
+ Version: 2.0.199
4
4
  Summary: xpander.ai Backend-as-a-service for AI Agents - SDK
5
5
  Home-page: https://www.xpander.ai
6
6
  Author: xpanderAI
@@ -48,7 +48,7 @@ Dynamic: requires-dist
48
48
  Dynamic: requires-python
49
49
  Dynamic: summary
50
50
 
51
- # xpander.ai SDK
51
+ # xpander.ai SDK
52
52
 
53
53
  [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://docs.xpander.ai) [![PyPI Version](https://img.shields.io/pypi/v/xpander-sdk?label=PyPI)](https://pypi.org/project/xpander-sdk/) [![Downloads](https://pepy.tech/badge/xpander-sdk)](https://pepy.tech/project/xpander-sdk)
54
54
 
@@ -16,7 +16,7 @@ xpander_sdk/models/events.py,sha256=HnootQSUIIRM4BIdaTbuPUEJ55hLVtA7KDCSsnHeBKw,
16
16
  xpander_sdk/models/frameworks.py,sha256=-7W_m5cvgS1qLp0gGAFP4noNWT82IT1ZqtQv5WuOC2k,2939
17
17
  xpander_sdk/models/generic.py,sha256=yw5rBRdZ-6ucTI4AwtskenddepOooiFRM--9xx5jrL8,681
18
18
  xpander_sdk/models/notifications.py,sha256=3tK4Z2gmA6YxRtqsWgzjiVISgJyHvmjTooiRgzrj5zY,3373
19
- xpander_sdk/models/orchestrations.py,sha256=nthwK28sXgCyyx-zWb91kAxuRAT6YyMW8-PuM5SMHDM,10113
19
+ xpander_sdk/models/orchestrations.py,sha256=QfCH-psWhTTcMX5v8f6SmQ0zGMI6yuPadHHSxHZXNQc,10277
20
20
  xpander_sdk/models/shared.py,sha256=gW88kA_UslNinUjtQKpLVF0sHDZnckwLWexRapxPivU,3125
21
21
  xpander_sdk/models/user.py,sha256=_FTG0JO6iTrbcvJp-BBJ6nuj281zhyQB5ldQkBCyYDU,749
22
22
  xpander_sdk/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -90,8 +90,8 @@ xpander_sdk/utils/generic.py,sha256=XrRj2-L8c0YWpfPdDyXE-pVL-6lKF9VpyZzKHQ4wuCc,
90
90
  xpander_sdk/utils/tools.py,sha256=lyFkq2yP7DxBkyXYVlnFRwDhQCvf0fZZMDm5fBycze4,1244
91
91
  xpander_sdk/utils/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
92
  xpander_sdk/utils/agents/compactization_agent.py,sha256=S_U1dSmDC7I0JUsp_THUYjfutEI5QMBaMPJEXGp0_Sw,14389
93
- xpander_sdk-2.0.197.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
94
- xpander_sdk-2.0.197.dist-info/METADATA,sha256=9iMaIfNGds93-8kdF5HfSowTHe_ndPgqnhvnbMnOVOQ,17945
95
- xpander_sdk-2.0.197.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
96
- xpander_sdk-2.0.197.dist-info/top_level.txt,sha256=UCjnxQpsMy5Zoe7lmRuVDO6DI2V_6PgRFfm4oizRbVs,12
97
- xpander_sdk-2.0.197.dist-info/RECORD,,
93
+ xpander_sdk-2.0.199.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
94
+ xpander_sdk-2.0.199.dist-info/METADATA,sha256=JdOSAhOaqAyehSDGYKmiwu4A8XNJde9K96IbFW2v7CI,17944
95
+ xpander_sdk-2.0.199.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
96
+ xpander_sdk-2.0.199.dist-info/top_level.txt,sha256=UCjnxQpsMy5Zoe7lmRuVDO6DI2V_6PgRFfm4oizRbVs,12
97
+ xpander_sdk-2.0.199.dist-info/RECORD,,