model-compose 0.2.4__tar.gz → 0.2.5__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.
- {model_compose-0.2.4/src/model_compose.egg-info → model_compose-0.2.5}/PKG-INFO +1 -1
- {model_compose-0.2.4 → model_compose-0.2.5}/pyproject.toml +1 -1
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/engine/http_client.py +2 -2
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/listener/engine/http_callback.py +2 -2
- {model_compose-0.2.4 → model_compose-0.2.5/src/model_compose.egg-info}/PKG-INFO +1 -1
- {model_compose-0.2.4 → model_compose-0.2.5}/LICENSE +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/README.md +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/setup.cfg +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/cli/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/cli/compose.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/base.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/component.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/context.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/engine/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/engine/http_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/engine/mcp_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/engine/mcp_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/engine/shell.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/component/engine/workflow.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/compose/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/compose/compose.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/compose/manager.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/base.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/controller.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/engine/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/engine/http_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/engine/mcp_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/runner/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/runner/client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/runner/http_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/runner/mcp_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/runner/runner.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/webui/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/webui/gradio.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/webui/webui.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/gateway/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/gateway/base.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/gateway/engine/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/gateway/engine/http_tunnel.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/gateway/engine/ssh_tunnel.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/gateway/gateway.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/listener/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/listener/base.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/listener/engine/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/listener/listener.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/runtime/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/runtime/env.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/services/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/services/async_service.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/expiring.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/http_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/http_request.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/http_status.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/image.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/mcp_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/renderer.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/ssh_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/streaming.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/time.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/utils/workqueue.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/context.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/job/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/job/base.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/job/impl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/job/impl/action.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/job/impl/delay.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/job/job.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/schema.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/workflow/workflow.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/loader.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/action.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/common.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/http_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/http_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/mcp_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/mcp_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/shell.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/workflow.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/component.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/common.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/http_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/http_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/mcp_client.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/mcp_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/shell.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/types.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/workflow.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/compose.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/controller.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/common.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/http_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/mcp_server.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/types.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/webui.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/gateway.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/impl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/impl/common.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/impl/http_tunnel.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/impl/ssh_tunnel.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/impl/types.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/job/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/job/impl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/job/impl/action.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/job/impl/common.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/job/impl/delay.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/job/impl/types.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/job/job.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/listener/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/listener/impl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/listener/impl/common.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/listener/impl/http_callback.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/listener/impl/types.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/listener/listener.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/runtime/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/runtime/impl/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/runtime/impl/common.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/runtime/impl/docker.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/runtime/impl/types.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/runtime/runtime.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/utils/__init__.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/utils/annotation.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/workflow.py +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/model_compose.egg-info/SOURCES.txt +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/model_compose.egg-info/dependency_links.txt +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/model_compose.egg-info/entry_points.txt +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/model_compose.egg-info/requires.txt +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/src/model_compose.egg-info/top_level.txt +0 -0
- {model_compose-0.2.4 → model_compose-0.2.5}/tests/test_cli.py +0 -0
|
@@ -39,9 +39,9 @@ class HttpClientPollingCompletion(HttpClientCompletion):
|
|
|
39
39
|
|
|
40
40
|
status = (await context.render_variable(self.config.status)) if self.config.status else None
|
|
41
41
|
if status:
|
|
42
|
-
if status in self.config.success_when or []:
|
|
42
|
+
if status in (self.config.success_when or []):
|
|
43
43
|
return response
|
|
44
|
-
if status in self.config.fail_when or []:
|
|
44
|
+
if status in (self.config.fail_when or []):
|
|
45
45
|
raise RuntimeError(f"Polling failed: status '{status}' matched a failure condition.")
|
|
46
46
|
else: # use status code
|
|
47
47
|
if is_status_code_matched(status_code, self.config.success_when or []):
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/listener/engine/http_callback.py
RENAMED
|
@@ -92,9 +92,9 @@ class HttpCallbackListener(ListenerEngine):
|
|
|
92
92
|
status = (await context.render_variable(callback.status)) if callback.status else None
|
|
93
93
|
|
|
94
94
|
if status:
|
|
95
|
-
if status in callback.success_when or []:
|
|
95
|
+
if status in (callback.success_when or []):
|
|
96
96
|
return True
|
|
97
|
-
if status in callback.fail_when or []:
|
|
97
|
+
if status in (callback.fail_when or []):
|
|
98
98
|
return False
|
|
99
99
|
|
|
100
100
|
return True
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/engine/http_server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/core/controller/runner/http_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/http_client.py
RENAMED
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/action/impl/http_server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/http_client.py
RENAMED
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/http_server.py
RENAMED
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/mcp_client.py
RENAMED
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/mcp_server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/component/impl/workflow.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/http_server.py
RENAMED
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/controller/impl/mcp_server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/impl/http_tunnel.py
RENAMED
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/gateway/impl/ssh_tunnel.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{model_compose-0.2.4 → model_compose-0.2.5}/src/mindor/dsl/schema/listener/impl/http_callback.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|