meshagent-computers 0.0.30__tar.gz → 0.0.31__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.
Potentially problematic release.
This version of meshagent-computers might be problematic. Click here for more details.
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/CHANGELOG.md +5 -2
- {meshagent_computers-0.0.30/meshagent_computers.egg-info → meshagent_computers-0.0.31}/PKG-INFO +5 -5
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/agent.py +7 -16
- meshagent_computers-0.0.31/meshagent/computers/version.py +1 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31/meshagent_computers.egg-info}/PKG-INFO +5 -5
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent_computers.egg-info/requires.txt +4 -4
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/pyproject.toml +4 -4
- meshagent_computers-0.0.30/meshagent/computers/version.py +0 -1
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/LICENSE +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/MANIFEST.in +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/README.md +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/__init__.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/base_playwright.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/browserbase.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/computer.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/docker.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/local_playwright.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/operator.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/scrapybara.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/utils.py +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent_computers.egg-info/SOURCES.txt +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent_computers.egg-info/dependency_links.txt +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent_computers.egg-info/top_level.txt +0 -0
- {meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/setup.cfg +0 -0
{meshagent_computers-0.0.30/meshagent_computers.egg-info → meshagent_computers-0.0.31}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-computers
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.31
|
|
4
4
|
Summary: Computer Building Blocks for Meshagent
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Documentation, https://docs.meshagent.com
|
|
@@ -11,10 +11,10 @@ Description-Content-Type: text/markdown
|
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: pytest~=8.3.5
|
|
13
13
|
Requires-Dist: pytest-asyncio~=0.26.0
|
|
14
|
-
Requires-Dist: openai~=1.
|
|
15
|
-
Requires-Dist: meshagent-api~=0.0.
|
|
16
|
-
Requires-Dist: meshagent-agents~=0.0.
|
|
17
|
-
Requires-Dist: meshagent-tools~=0.0.
|
|
14
|
+
Requires-Dist: openai~=1.86.0
|
|
15
|
+
Requires-Dist: meshagent-api~=0.0.31
|
|
16
|
+
Requires-Dist: meshagent-agents~=0.0.31
|
|
17
|
+
Requires-Dist: meshagent-tools~=0.0.31
|
|
18
18
|
Requires-Dist: playwright~=1.51.0
|
|
19
19
|
Requires-Dist: browserbase~=1.2.0
|
|
20
20
|
Requires-Dist: scrapybara~=2.4.7
|
|
@@ -5,6 +5,7 @@ from meshagent.agents.chat import ChatBot, ChatThreadContext
|
|
|
5
5
|
from meshagent.api import RequiredToolkit, RemoteParticipant
|
|
6
6
|
from meshagent.api.messaging import RawOutputs
|
|
7
7
|
from meshagent.tools.toolkit import register_toolkit_factory
|
|
8
|
+
from meshagent.openai.tools.responses_adapter import OpenAIResponsesTool
|
|
8
9
|
|
|
9
10
|
from typing import Optional, Type, Callable
|
|
10
11
|
import base64
|
|
@@ -19,35 +20,25 @@ def make_computer_toolkit(*, operator_cls: Type[Operator], computer_cls: Type[Co
|
|
|
19
20
|
computer = computer_cls()
|
|
20
21
|
started = False
|
|
21
22
|
|
|
22
|
-
class ComputerTool(
|
|
23
|
-
def __init__(self, *, operator: Operator, computer: Computer, title = "computer_call", description = "handle computer calls from computer use preview", rules = [], thumbnail_url = None
|
|
23
|
+
class ComputerTool(OpenAIResponsesTool):
|
|
24
|
+
def __init__(self, *, operator: Operator, computer: Computer, title = "computer_call", description = "handle computer calls from computer use preview", rules = [], thumbnail_url = None):
|
|
24
25
|
super().__init__(
|
|
25
26
|
name="computer_call",
|
|
26
27
|
# TODO: give a correct schema
|
|
27
|
-
input_schema={
|
|
28
|
-
"additionalProperties" : False,
|
|
29
|
-
"type" : "object",
|
|
30
|
-
"required" : [],
|
|
31
|
-
"properties" : {}
|
|
32
|
-
},
|
|
33
28
|
title=title,
|
|
34
29
|
description=description,
|
|
35
30
|
rules=rules,
|
|
36
|
-
thumbnail_url=thumbnail_url,
|
|
37
|
-
defs=defs,
|
|
38
|
-
|
|
31
|
+
thumbnail_url=thumbnail_url,
|
|
39
32
|
)
|
|
40
33
|
self.computer = computer
|
|
41
34
|
|
|
42
|
-
|
|
43
|
-
@property
|
|
44
|
-
def options(self):
|
|
35
|
+
def get_open_ai_tool_definition(self):
|
|
45
36
|
return {
|
|
46
|
-
"type": "
|
|
37
|
+
"type": "computer_use_preview",
|
|
47
38
|
"display_width": self.computer.dimensions[0],
|
|
48
39
|
"display_height": self.computer.dimensions[1],
|
|
49
40
|
"environment": self.computer.environment,
|
|
50
|
-
}
|
|
41
|
+
}
|
|
51
42
|
|
|
52
43
|
async def execute(self, context: ToolContext, *, arguments):
|
|
53
44
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.31"
|
{meshagent_computers-0.0.30 → meshagent_computers-0.0.31/meshagent_computers.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-computers
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.31
|
|
4
4
|
Summary: Computer Building Blocks for Meshagent
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Documentation, https://docs.meshagent.com
|
|
@@ -11,10 +11,10 @@ Description-Content-Type: text/markdown
|
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: pytest~=8.3.5
|
|
13
13
|
Requires-Dist: pytest-asyncio~=0.26.0
|
|
14
|
-
Requires-Dist: openai~=1.
|
|
15
|
-
Requires-Dist: meshagent-api~=0.0.
|
|
16
|
-
Requires-Dist: meshagent-agents~=0.0.
|
|
17
|
-
Requires-Dist: meshagent-tools~=0.0.
|
|
14
|
+
Requires-Dist: openai~=1.86.0
|
|
15
|
+
Requires-Dist: meshagent-api~=0.0.31
|
|
16
|
+
Requires-Dist: meshagent-agents~=0.0.31
|
|
17
|
+
Requires-Dist: meshagent-tools~=0.0.31
|
|
18
18
|
Requires-Dist: playwright~=1.51.0
|
|
19
19
|
Requires-Dist: browserbase~=1.2.0
|
|
20
20
|
Requires-Dist: scrapybara~=2.4.7
|
{meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent_computers.egg-info/requires.txt
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
pytest~=8.3.5
|
|
2
2
|
pytest-asyncio~=0.26.0
|
|
3
|
-
openai~=1.
|
|
4
|
-
meshagent-api~=0.0.
|
|
5
|
-
meshagent-agents~=0.0.
|
|
6
|
-
meshagent-tools~=0.0.
|
|
3
|
+
openai~=1.86.0
|
|
4
|
+
meshagent-api~=0.0.31
|
|
5
|
+
meshagent-agents~=0.0.31
|
|
6
|
+
meshagent-tools~=0.0.31
|
|
7
7
|
playwright~=1.51.0
|
|
8
8
|
browserbase~=1.2.0
|
|
9
9
|
scrapybara~=2.4.7
|
|
@@ -14,10 +14,10 @@ license = "Apache-2.0"
|
|
|
14
14
|
dependencies = [
|
|
15
15
|
"pytest~=8.3.5",
|
|
16
16
|
"pytest-asyncio~=0.26.0",
|
|
17
|
-
"openai~=1.
|
|
18
|
-
"meshagent-api~=0.0.
|
|
19
|
-
"meshagent-agents~=0.0.
|
|
20
|
-
"meshagent-tools~=0.0.
|
|
17
|
+
"openai~=1.86.0",
|
|
18
|
+
"meshagent-api~=0.0.31",
|
|
19
|
+
"meshagent-agents~=0.0.31",
|
|
20
|
+
"meshagent-tools~=0.0.31",
|
|
21
21
|
"playwright~=1.51.0",
|
|
22
22
|
"browserbase~=1.2.0",
|
|
23
23
|
"scrapybara~=2.4.7"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.0.30"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/base_playwright.py
RENAMED
|
File without changes
|
{meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/browserbase.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent/computers/local_playwright.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent_computers.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{meshagent_computers-0.0.30 → meshagent_computers-0.0.31}/meshagent_computers.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|