pycoze 0.1.452__py3-none-any.whl → 0.1.453__py3-none-any.whl
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.
- pycoze/api/lib/tab.py +2 -2
- pycoze/api/lib/window.py +2 -2
- {pycoze-0.1.452.dist-info → pycoze-0.1.453.dist-info}/METADATA +1 -1
- {pycoze-0.1.452.dist-info → pycoze-0.1.453.dist-info}/RECORD +7 -7
- {pycoze-0.1.452.dist-info → pycoze-0.1.453.dist-info}/LICENSE +0 -0
- {pycoze-0.1.452.dist-info → pycoze-0.1.453.dist-info}/WHEEL +0 -0
- {pycoze-0.1.452.dist-info → pycoze-0.1.453.dist-info}/top_level.txt +0 -0
pycoze/api/lib/tab.py
CHANGED
@@ -23,10 +23,10 @@ class TabCls:
|
|
23
23
|
location = ["LocalWorkflow", item_path]
|
24
24
|
socket.post("add-tab", {"location": location, "name": info["name"]})
|
25
25
|
if wait_for_open:
|
26
|
-
self.
|
26
|
+
self.wait_for_tab_open(location)
|
27
27
|
return WorkflowCls(location)
|
28
28
|
|
29
|
-
def
|
29
|
+
def wait_for_tab_open(self, location: Union[list[str], ViewCls]):
|
30
30
|
times = 0
|
31
31
|
while not self.is_tab_open(location):
|
32
32
|
time.sleep(0.01)
|
pycoze/api/lib/window.py
CHANGED
@@ -36,8 +36,8 @@ class WindowCls:
|
|
36
36
|
def maximize(self):
|
37
37
|
socket.post("maximize", {})
|
38
38
|
|
39
|
-
def
|
40
|
-
socket.post("
|
39
|
+
def hide_window(self):
|
40
|
+
socket.post("hideWindow", {})
|
41
41
|
|
42
42
|
def get_slected_text(self) -> str:
|
43
43
|
result = socket.post_and_recv_result("get-selected-text", {})
|
@@ -5,10 +5,10 @@ pycoze/ai/llm/chat.py,sha256=sQZT0ImvRW81fXdlKG0ZrHdDB8g5M4iudaWdG4Kpd6Q,6373
|
|
5
5
|
pycoze/ai/llm/text_to_image_prompt.py,sha256=0bx2C_YRvjAo7iphHGp1-pmGKsKqwur7dM0t3SiA8kA,3398
|
6
6
|
pycoze/api/__init__.py,sha256=TLKvaZlRzTTt0KiXijLjj9b_iCr7fU1siwsXqyd74b8,375
|
7
7
|
pycoze/api/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
pycoze/api/lib/tab.py,sha256=
|
8
|
+
pycoze/api/lib/tab.py,sha256=p5yqOgD_fuGlunIEs5xa8d67qABAyei0Xx0t7u0WwdM,2617
|
9
9
|
pycoze/api/lib/view.py,sha256=_PIpTfeuTPPlMDKshMGsqFQYMq7ZiO4Hg5XwHwDoU60,7357
|
10
10
|
pycoze/api/lib/web.py,sha256=4HaOV_zYHq6-SSQQIc_O7REnC1asIlXIELxee-pU6zc,2421
|
11
|
-
pycoze/api/lib/window.py,sha256=
|
11
|
+
pycoze/api/lib/window.py,sha256=ZZacqnX0fvZUnLUhNVjbbjhBcKkYdi_6E0LswLp1MqM,2071
|
12
12
|
pycoze/bot/__init__.py,sha256=rL3Q-ycczRpSFfKn84fg3QBl5k22WpyeIU5qOEjEby8,79
|
13
13
|
pycoze/bot/chat.py,sha256=bScsMc0hGh2NlvhQxzWEbnA_WXU9JdAJv-rx27SpEB8,6554
|
14
14
|
pycoze/bot/chat_base.py,sha256=PsniJayqlHU6PrQDjb2r07oW2E23aWdWg8zg2eF9i6Y,12597
|
@@ -33,8 +33,8 @@ pycoze/utils/env.py,sha256=5pWlXfM1F5ZU9hhv1rHlDEanjEW5wf0nbyez9bNRqqA,559
|
|
33
33
|
pycoze/utils/process.py,sha256=U2MURGmxfyWBqdbKfy5UvyV17M40B6HHlNELgWfgrTE,3824
|
34
34
|
pycoze/utils/socket.py,sha256=4Wm4LlwdWXC_kAV0NnZbUc0Y3Kc6KRMyFRqSw79u-9w,2468
|
35
35
|
pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
|
36
|
-
pycoze-0.1.
|
37
|
-
pycoze-0.1.
|
38
|
-
pycoze-0.1.
|
39
|
-
pycoze-0.1.
|
40
|
-
pycoze-0.1.
|
36
|
+
pycoze-0.1.453.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
37
|
+
pycoze-0.1.453.dist-info/METADATA,sha256=FP-jLRwmdSew3-VUnj9Th9bZR7gbrbaba3mLkLIdTfQ,854
|
38
|
+
pycoze-0.1.453.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
39
|
+
pycoze-0.1.453.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
40
|
+
pycoze-0.1.453.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|