Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Runtime abstractions and interfaces for building agents and autom
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"uipath-core>=0.5.0, <0.6.0",
"uipath-core==0.5.1.dev1000450224",
]
classifiers = [
"Intended Audience :: Developers",
Expand Down Expand Up @@ -106,3 +106,6 @@ name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath-core = { index = "testpypi" }
Comment on lines +109 to +111
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configuring uipath-core to use test PyPI is appropriate for WIP/testing but should be removed before merging to production. Production releases should use packages from the official PyPI index.

Suggested change
[tool.uv.sources]
uipath-core = { index = "testpypi" }

Copilot uses AI. Check for mistakes.
10 changes: 0 additions & 10 deletions src/uipath/runtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@
from uipath.runtime.resumable.runtime import (
UiPathResumableRuntime,
)
from uipath.runtime.resumable.trigger import (
UiPathApiTrigger,
UiPathResumeTrigger,
UiPathResumeTriggerName,
UiPathResumeTriggerType,
)
from uipath.runtime.schema import UiPathRuntimeSchema
from uipath.runtime.storage import UiPathRuntimeStorageProtocol

Expand All @@ -58,16 +52,12 @@
"UiPathRuntimeSchema",
"UiPathResumableStorageProtocol",
"UiPathResumeTriggerProtocol",
"UiPathApiTrigger",
"UiPathResumeTrigger",
"UiPathResumeTriggerType",
"UiPathResumableRuntime",
"UiPathDebugQuitError",
"UiPathDebugProtocol",
"UiPathDebugRuntime",
"UiPathBreakpointResult",
"UiPathStreamNotSupportedError",
"UiPathResumeTriggerName",
"UiPathChatProtocol",
"UiPathChatRuntime",
]
3 changes: 1 addition & 2 deletions src/uipath/runtime/chat/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
from uipath.core.chat import (
UiPathConversationMessageEvent,
)

from uipath.runtime.resumable.trigger import UiPathResumeTrigger
from uipath.core.triggers import UiPathResumeTrigger


class UiPathChatProtocol(Protocol):
Expand Down
3 changes: 2 additions & 1 deletion src/uipath/runtime/chat/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import logging
from typing import Any, AsyncGenerator, cast

from uipath.core.triggers import UiPathResumeTriggerType

from uipath.runtime.base import (
UiPathExecuteOptions,
UiPathRuntimeProtocol,
Expand All @@ -17,7 +19,6 @@
UiPathRuntimeResult,
UiPathRuntimeStatus,
)
from uipath.runtime.resumable.trigger import UiPathResumeTriggerType
from uipath.runtime.schema import UiPathRuntimeSchema

logger = logging.getLogger(__name__)
Expand Down
8 changes: 4 additions & 4 deletions src/uipath/runtime/debug/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
from typing import Any, AsyncGenerator, cast

from uipath.core.errors import UiPathPendingTriggerError
from uipath.core.triggers import (
UiPathResumeTrigger,
UiPathResumeTriggerType,
)

from uipath.runtime.base import (
UiPathExecuteOptions,
Expand All @@ -27,10 +31,6 @@
)
from uipath.runtime.resumable.protocols import UiPathResumeTriggerReaderProtocol
from uipath.runtime.resumable.runtime import UiPathResumableRuntime
from uipath.runtime.resumable.trigger import (
UiPathResumeTrigger,
UiPathResumeTriggerType,
)
from uipath.runtime.schema import UiPathRuntimeSchema

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion src/uipath/runtime/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from typing import Any

from pydantic import BaseModel, Field
from uipath.core.triggers import UiPathResumeTrigger

from uipath.runtime.errors import UiPathErrorContract
from uipath.runtime.events import UiPathRuntimeEvent, UiPathRuntimeEventType
from uipath.runtime.resumable.trigger import UiPathResumeTrigger


class UiPathRuntimeStatus(str, Enum):
Expand Down
8 changes: 0 additions & 8 deletions src/uipath/runtime/resumable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,10 @@
UiPathResumeTriggerProtocol,
UiPathResumeTriggerReaderProtocol,
)
from uipath.runtime.resumable.trigger import (
UiPathApiTrigger,
UiPathResumeTrigger,
UiPathResumeTriggerType,
)

__all__ = [
"UiPathResumableStorageProtocol",
"UiPathResumeTriggerCreatorProtocol",
"UiPathResumeTriggerReaderProtocol",
"UiPathResumeTriggerProtocol",
"UiPathResumeTrigger",
"UiPathResumeTriggerType",
"UiPathApiTrigger",
]
Comment on lines 10 to 15
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces a breaking API change. The types UiPathResumeTrigger, UiPathResumeTriggerType, UiPathApiTrigger, and UiPathResumeTriggerName were previously exported from uipath.runtime and are now removed. Users importing these types from uipath.runtime will experience import errors. Consider either: (1) re-exporting these types from uipath.runtime for backward compatibility, or (2) documenting this as a breaking change with migration instructions in the release notes.

Copilot uses AI. Check for mistakes.
3 changes: 2 additions & 1 deletion src/uipath/runtime/resumable/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

from typing import Any, Protocol

from uipath.runtime.resumable.trigger import UiPathResumeTrigger
from uipath.core.triggers import UiPathResumeTrigger

from uipath.runtime.storage import UiPathRuntimeStorageProtocol


Expand Down
3 changes: 1 addition & 2 deletions src/uipath/runtime/resumable/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from typing import Any, AsyncGenerator

from uipath.core.errors import UiPathPendingTriggerError
from uipath.core.triggers import UiPathResumeTrigger, UiPathResumeTriggerType

from uipath.runtime.base import (
UiPathExecuteOptions,
Expand All @@ -16,12 +17,10 @@
UiPathRuntimeResult,
UiPathRuntimeStatus,
)
from uipath.runtime.resumable import UiPathResumeTriggerType
from uipath.runtime.resumable.protocols import (
UiPathResumableStorageProtocol,
UiPathResumeTriggerProtocol,
)
from uipath.runtime.resumable.trigger import UiPathResumeTrigger
from uipath.runtime.schema import UiPathRuntimeSchema

logger = logging.getLogger(__name__)
Expand Down
69 changes: 0 additions & 69 deletions src/uipath/runtime/resumable/trigger.py

This file was deleted.

3 changes: 1 addition & 2 deletions tests/test_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
UiPathConversationMessageEvent,
UiPathConversationMessageStartEvent,
)
from uipath.core.triggers import UiPathResumeTrigger, UiPathResumeTriggerType

from uipath.runtime import (
UiPathExecuteOptions,
UiPathResumeTrigger,
UiPathResumeTriggerType,
UiPathRuntimeResult,
UiPathRuntimeStatus,
UiPathStreamOptions,
Expand Down
3 changes: 1 addition & 2 deletions tests/test_resumable.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@

import pytest
from uipath.core.errors import ErrorCategory, UiPathPendingTriggerError
from uipath.core.triggers import UiPathResumeTrigger, UiPathResumeTriggerType

from uipath.runtime import (
UiPathExecuteOptions,
UiPathResumeTrigger,
UiPathResumeTriggerType,
UiPathRuntimeResult,
UiPathRuntimeStatus,
UiPathStreamOptions,
Expand Down
10 changes: 5 additions & 5 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading