kailash 0.6.5__py3-none-any.whl → 0.6.6__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.
kailash/__init__.py CHANGED
@@ -3,7 +3,8 @@
3
3
  The Kailash SDK provides a comprehensive framework for creating nodes and workflows
4
4
  that align with container-node architecture while allowing rapid prototyping.
5
5
 
6
- New in v0.6.5: Enterprise AsyncSQL enhancements with optimistic locking, comprehensive
6
+ New in v0.6.6: AgentUIMiddleware shared workflow fix, execute() method standardization.
7
+ Previous v0.6.5: Enterprise AsyncSQL enhancements with optimistic locking, comprehensive
7
8
  testing improvements, and production-grade documentation.
8
9
  """
9
10
 
@@ -33,7 +34,7 @@ except ImportError:
33
34
  # For backward compatibility
34
35
  WorkflowGraph = Workflow
35
36
 
36
- __version__ = "0.6.4"
37
+ __version__ = "0.6.6"
37
38
 
38
39
  __all__ = [
39
40
  # Core workflow components
@@ -135,6 +135,7 @@ Author: Kailash SDK Team
135
135
  """
136
136
 
137
137
  import asyncio
138
+ import copy
138
139
  import logging
139
140
  import time
140
141
  import uuid
@@ -563,6 +564,8 @@ class AgentUIMiddleware:
563
564
  workflow = session.workflows[workflow_id]
564
565
  elif workflow_id in self.shared_workflows:
565
566
  workflow = self.shared_workflows[workflow_id]
567
+ # FIX: Copy shared workflow to session before execution
568
+ session.add_workflow(workflow_id, workflow)
566
569
  else:
567
570
  raise ValueError(f"Workflow {workflow_id} not found")
568
571
 
@@ -658,6 +661,8 @@ class AgentUIMiddleware:
658
661
  workflow = session.workflows[workflow_id]
659
662
  elif workflow_id in self.shared_workflows:
660
663
  workflow = self.shared_workflows[workflow_id]
664
+ # FIX: Copy shared workflow to session before execution
665
+ session.add_workflow(workflow_id, workflow)
661
666
  else:
662
667
  raise ValueError(f"Workflow {workflow_id} not found")
663
668
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kailash
3
- Version: 0.6.5
3
+ Version: 0.6.6
4
4
  Summary: Python SDK for the Kailash container-node architecture
5
5
  Home-page: https://github.com/integrum/kailash-python-sdk
6
6
  Author: Integrum
@@ -1,4 +1,4 @@
1
- kailash/__init__.py,sha256=reggYy-eUa41lAYNvQkOazy2C6hAF7tG6igQWuh5-cY,1706
1
+ kailash/__init__.py,sha256=x9_jsahCoMHqqNJPXD18YiVBoUuNVYtLL_ymWLnWVWI,1796
2
2
  kailash/__main__.py,sha256=vr7TVE5o16V6LsTmRFKG6RDKUXHpIWYdZ6Dok2HkHnI,198
3
3
  kailash/access_control.py,sha256=2ctdRFeSeu-d7DU04Aovxh6Rt_4t3IyQfkKEjTeQiMM,25519
4
4
  kailash/access_control_abac.py,sha256=FPfa_8PuDP3AxTjdWfiH3ntwWO8NodA0py9W8SE5dno,30263
@@ -78,7 +78,7 @@ kailash/middleware/communication/api_gateway.py,sha256=-y2gUyeWXWvn5PO2GXkaDYFIE
78
78
  kailash/middleware/communication/events.py,sha256=MEjgcibNyjA4tSFK8CeXDn1oCE75My7K_saxdCBz2HY,15367
79
79
  kailash/middleware/communication/realtime.py,sha256=__34kf61akSibvKYz-myw0BnIxWfMOns-wLh-oRfI-A,24955
80
80
  kailash/middleware/core/__init__.py,sha256=4yQkOWC4b88zSogs1YVqtKG1PugbncqNCwNNWxTdIZA,545
81
- kailash/middleware/core/agent_ui.py,sha256=MVmKznG2OcSF3quIr_uNR7rbPv7aaB2VgkHu2hA1AU4,36097
81
+ kailash/middleware/core/agent_ui.py,sha256=_2mIsseJjAm118iOhPeGrdE8_lmccrv4K29uC3tlPrc,36357
82
82
  kailash/middleware/core/schema.py,sha256=uVF-5ZJlLYHOQdsKrG46FnTO1bq_QtDjhUSkIIDL9dY,23584
83
83
  kailash/middleware/core/workflows.py,sha256=kjwwP69-T6eCY7kWIMLUBwVy2CapoPR34cqCETquq0s,12480
84
84
  kailash/middleware/database/__init__.py,sha256=UMws94L-vja94AjfzPWIgn0h4_5BGQzI3YaSdqtzeLk,1682
@@ -297,9 +297,9 @@ kailash/workflow/state.py,sha256=UTZxs5-Ona6uvBhx1__i6-RX8gB4qazkBIWE7uyRmWQ,760
297
297
  kailash/workflow/templates.py,sha256=98EN5H4fO9b4xeczk20Hu5L8hNcAuRQNGayT6vnZYCw,48540
298
298
  kailash/workflow/validation.py,sha256=JIbIajWVIaWHSvWtgZ4WUVJaBaUOCz5B9cyTwM--dL4,33060
299
299
  kailash/workflow/visualization.py,sha256=ICMWCWqh5fOQ7eJygbvu2PMWHxe-H5_0epwdZuz8cMw,19737
300
- kailash-0.6.5.dist-info/licenses/LICENSE,sha256=Axe6g7bTrJkToK9h9j2SpRUKKNaDZDCo2lQ2zPxCE6s,1065
301
- kailash-0.6.5.dist-info/METADATA,sha256=GHWeIAAuztagta6OfXH_Xn4Qk2NryTKZNfifufO1ohY,26409
302
- kailash-0.6.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
303
- kailash-0.6.5.dist-info/entry_points.txt,sha256=M_q3b8PG5W4XbhSgESzIJjh3_4OBKtZFYFsOdkr2vO4,45
304
- kailash-0.6.5.dist-info/top_level.txt,sha256=z7GzH2mxl66498pVf5HKwo5wwfPtt9Aq95uZUpH6JV0,8
305
- kailash-0.6.5.dist-info/RECORD,,
300
+ kailash-0.6.6.dist-info/licenses/LICENSE,sha256=Axe6g7bTrJkToK9h9j2SpRUKKNaDZDCo2lQ2zPxCE6s,1065
301
+ kailash-0.6.6.dist-info/METADATA,sha256=IIL5xeaymlhaLcnEgM1_P-lxgy-o8nC-H7LX9O9Dx8s,26409
302
+ kailash-0.6.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
303
+ kailash-0.6.6.dist-info/entry_points.txt,sha256=M_q3b8PG5W4XbhSgESzIJjh3_4OBKtZFYFsOdkr2vO4,45
304
+ kailash-0.6.6.dist-info/top_level.txt,sha256=z7GzH2mxl66498pVf5HKwo5wwfPtt9Aq95uZUpH6JV0,8
305
+ kailash-0.6.6.dist-info/RECORD,,