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 +3 -2
- kailash/middleware/core/agent_ui.py +5 -0
- {kailash-0.6.5.dist-info → kailash-0.6.6.dist-info}/METADATA +1 -1
- {kailash-0.6.5.dist-info → kailash-0.6.6.dist-info}/RECORD +8 -8
- {kailash-0.6.5.dist-info → kailash-0.6.6.dist-info}/WHEEL +0 -0
- {kailash-0.6.5.dist-info → kailash-0.6.6.dist-info}/entry_points.txt +0 -0
- {kailash-0.6.5.dist-info → kailash-0.6.6.dist-info}/licenses/LICENSE +0 -0
- {kailash-0.6.5.dist-info → kailash-0.6.6.dist-info}/top_level.txt +0 -0
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.
|
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.
|
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,4 +1,4 @@
|
|
1
|
-
kailash/__init__.py,sha256=
|
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=
|
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.
|
301
|
-
kailash-0.6.
|
302
|
-
kailash-0.6.
|
303
|
-
kailash-0.6.
|
304
|
-
kailash-0.6.
|
305
|
-
kailash-0.6.
|
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,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|