clerk-sdk 0.4.10__tar.gz → 0.4.11__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.
- {clerk_sdk-0.4.10/clerk_sdk.egg-info → clerk_sdk-0.4.11}/PKG-INFO +1 -1
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/__init__.py +1 -1
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_machine/ai_recovery.py +2 -3
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_machine/state_machine.py +12 -9
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11/clerk_sdk.egg-info}/PKG-INFO +1 -1
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/setup.py +1 -1
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/LICENSE +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/MANIFEST.in +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/README.md +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/base.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/client.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/decorator/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/decorator/models.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/decorator/task_decorator.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/exceptions/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/exceptions/exceptions.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/exceptions/remote_device.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/action_model/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/action_model/model.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/action_model/utils.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/client.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/client_actor/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/client_actor/client_actor.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/client_actor/exception.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/client_actor/model.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/decorators/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/decorators/gui_automation.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/exceptions/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/exceptions/agent_manager.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/exceptions/modality/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/exceptions/modality/exc.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/exceptions/websocket.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/requirements.txt +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_actions/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_actions/actions.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_actions/base.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_actions/support.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_inspector/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_inspector/gui_vision.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_inspector/models.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_machine/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_machine/decorators.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_machine/exceptions.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/models/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/models/document.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/models/document_statuses.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/models/file.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/models/remote_device.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/models/response_model.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/models/ui_operator.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/utils/__init__.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/utils/logger.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/utils/save_artifact.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk_sdk.egg-info/SOURCES.txt +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk_sdk.egg-info/dependency_links.txt +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk_sdk.egg-info/requires.txt +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk_sdk.egg-info/top_level.txt +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/pyproject.toml +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/requirements.txt +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/setup.cfg +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/tests/test_base.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/tests/test_client.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/tests/test_document_models.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/tests/test_exceptions.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/tests/test_file_models.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/tests/test_gui_automation.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/tests/test_task_decorator.py +0 -0
- {clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/tests/test_utils.py +0 -0
|
@@ -2,9 +2,8 @@ from typing import Union, List, Optional, Type
|
|
|
2
2
|
from pydantic import BaseModel, Field
|
|
3
3
|
|
|
4
4
|
from clerk.gui_automation.client import CourseCorrectorClerk
|
|
5
|
-
|
|
6
|
-
from
|
|
7
|
-
from .models import ActionString
|
|
5
|
+
from clerk.gui_automation.client_actor.client_actor import get_screen
|
|
6
|
+
from clerk.gui_automation.ui_state_inspector.models import ActionString
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
class CourseCorrector(BaseModel):
|
{clerk_sdk-0.4.10 → clerk_sdk-0.4.11}/clerk/gui_automation/ui_state_machine/state_machine.py
RENAMED
|
@@ -8,9 +8,18 @@ from typing import List, Tuple, Callable, Optional, Deque, Literal, Union
|
|
|
8
8
|
import traceback
|
|
9
9
|
from datetime import datetime
|
|
10
10
|
|
|
11
|
-
from
|
|
12
|
-
from
|
|
13
|
-
from .
|
|
11
|
+
from clerk.client import Clerk
|
|
12
|
+
from clerk.utils import logger
|
|
13
|
+
from clerk.gui_automation.client_actor.exception import PerformActionException
|
|
14
|
+
from clerk.gui_automation.ui_actions.actions import ForceCloseApplication
|
|
15
|
+
from clerk.gui_automation.ui_actions.support import save_screenshot
|
|
16
|
+
from clerk.gui_automation.ui_state_inspector.gui_vision import Vision
|
|
17
|
+
from clerk.gui_automation.ui_state_inspector.models import ActionString
|
|
18
|
+
from clerk.gui_automation.ui_state_machine.ai_recovery import (
|
|
19
|
+
CourseCorrector,
|
|
20
|
+
course_corrector_v1,
|
|
21
|
+
)
|
|
22
|
+
from clerk.gui_automation.ui_state_machine.exceptions import (
|
|
14
23
|
BusinessException,
|
|
15
24
|
ScreenPilotException,
|
|
16
25
|
UnplannedTransitionsError,
|
|
@@ -21,12 +30,6 @@ from .exceptions import (
|
|
|
21
30
|
CourseCorrectionImpossible,
|
|
22
31
|
SuccessfulCompletion,
|
|
23
32
|
)
|
|
24
|
-
from gui_automation.ui_state_inspector.models import ActionString
|
|
25
|
-
from .ai_recovery import CourseCorrector, course_corrector_v1
|
|
26
|
-
from ..client_actor.exception import PerformActionException
|
|
27
|
-
from ..ui_state_inspector.gui_vision import Vision
|
|
28
|
-
from ...client import Clerk
|
|
29
|
-
from ...utils import logger
|
|
30
33
|
|
|
31
34
|
|
|
32
35
|
class ScreenPilot:
|
|
@@ -13,7 +13,7 @@ gui_requirements = get_requirements("./clerk/gui_automation")
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="clerk-sdk",
|
|
16
|
-
version="0.4.
|
|
16
|
+
version="0.4.11",
|
|
17
17
|
description="Library for interacting with Clerk",
|
|
18
18
|
long_description=open("README.md").read(),
|
|
19
19
|
long_description_content_type="text/markdown",
|
|
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
|
|
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
|