From 9c0cb48bd6baff11ce329563c1efb4398a0bc291 Mon Sep 17 00:00:00 2001 From: Josh Park <50765702+JoshParkSJ@users.noreply.github.com> Date: Wed, 29 Apr 2026 11:41:58 -0400 Subject: [PATCH 1/3] refactor: narrow voice_mode to Literal["session"] The legacy "1 job per tool call" / "1 job per agent config" voice paths have been removed in uipath-agents-python's VoiceJobRuntime. The only remaining voice mode is "session" (long-lived URT job that streams tool calls over socket.io to CAS). Narrow voice_mode accordingly so dead literals don't propagate into runtime callers. --- src/uipath/runtime/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uipath/runtime/context.py b/src/uipath/runtime/context.py index c77ceb0..2fe81a8 100644 --- a/src/uipath/runtime/context.py +++ b/src/uipath/runtime/context.py @@ -37,7 +37,7 @@ class UiPathRuntimeContext(BaseModel): ) exchange_id: str | None = Field(None, description="Exchange identifier for CAS") message_id: str | None = Field(None, description="Message identifier for CAS") - voice_mode: Literal["config", "toolCall"] | None = Field( + voice_mode: Literal["session"] | None = Field( None, description="Voice job type for CAS" ) mcp_server_id: str | None = None From 99abb4f1de22bdaf62730038717c2dbf72926c6b Mon Sep 17 00:00:00 2001 From: Josh Park <50765702+JoshParkSJ@users.noreply.github.com> Date: Wed, 6 May 2026 18:53:50 -0400 Subject: [PATCH 2/3] chore: bump version to 0.10.3 --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3147be4..e55c062 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath-runtime" -version = "0.10.2" +version = "0.10.3" description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" diff --git a/uv.lock b/uv.lock index 0092ca1..053a2c5 100644 --- a/uv.lock +++ b/uv.lock @@ -1005,7 +1005,7 @@ wheels = [ [[package]] name = "uipath-runtime" -version = "0.10.2" +version = "0.10.3" source = { editable = "." } dependencies = [ { name = "uipath-core" }, From 4e25a810ee08290ffac4cbf43bce5842bd5eaffc Mon Sep 17 00:00:00 2001 From: Josh Park <50765702+JoshParkSJ@users.noreply.github.com> Date: Thu, 7 May 2026 00:25:27 -0400 Subject: [PATCH 3/3] bump up package version --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e55c062..70d46c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath-runtime" -version = "0.10.3" +version = "0.10.4" description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" diff --git a/uv.lock b/uv.lock index 8f1a441..d85e772 100644 --- a/uv.lock +++ b/uv.lock @@ -1005,7 +1005,7 @@ wheels = [ [[package]] name = "uipath-runtime" -version = "0.10.3" +version = "0.10.4" source = { editable = "." } dependencies = [ { name = "uipath-core" },