From 7f4d0c3a0c4c6038d773ae697a65d3eab7aaf27e Mon Sep 17 00:00:00 2001 From: Cristian Pufu Date: Mon, 1 Dec 2025 09:28:09 +0200 Subject: [PATCH] fix: reset input on breakpoint step --- pyproject.toml | 2 +- src/uipath/runtime/debug/runtime.py | 3 +++ uv.lock | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 578de0b..80376c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath-runtime" -version = "0.1.1" +version = "0.1.2" 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/src/uipath/runtime/debug/runtime.py b/src/uipath/runtime/debug/runtime.py index efd797e..922a673 100644 --- a/src/uipath/runtime/debug/runtime.py +++ b/src/uipath/runtime/debug/runtime.py @@ -159,6 +159,9 @@ async def _stream_and_debug( # Tell inner runtime we're resuming debug_options.resume = True + current_input = ( + None # Resume with no new input (very important) + ) except UiPathDebugQuitError: final_result = UiPathRuntimeResult( diff --git a/uv.lock b/uv.lock index 297e92d..9f1c8e8 100644 --- a/uv.lock +++ b/uv.lock @@ -938,7 +938,7 @@ wheels = [ [[package]] name = "uipath-runtime" -version = "0.1.1" +version = "0.1.2" source = { editable = "." } dependencies = [ { name = "uipath-core" },