microbots 0.0.1__tar.gz → 0.0.2__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.
- {microbots-0.0.1/src/microbots.egg-info → microbots-0.0.2}/PKG-INFO +1 -1
- {microbots-0.0.1 → microbots-0.0.2}/pyproject.toml +1 -1
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/MicroBot.py +6 -6
- microbots-0.0.2/src/microbots/__init__.py +10 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/bot/BrowserBot.py +3 -3
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/bot/CustomBot.py +3 -3
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/bot/ReadingBot.py +3 -3
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/bot/WritingBot.py +3 -3
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/environment/local_docker/LocalDockerEnvironment.py +1 -1
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/llm/openai_api.py +1 -1
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/tool_definitions/ctags.py +1 -1
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/tool_definitions/node.py +1 -1
- {microbots-0.0.1 → microbots-0.0.2/src/microbots.egg-info}/PKG-INFO +1 -1
- microbots-0.0.2/src/microbots.egg-info/SOURCES.txt +32 -0
- microbots-0.0.2/src/microbots.egg-info/top_level.txt +1 -0
- microbots-0.0.1/src/microbot/__init__.py +0 -10
- microbots-0.0.1/src/microbots.egg-info/SOURCES.txt +0 -32
- microbots-0.0.1/src/microbots.egg-info/top_level.txt +0 -1
- {microbots-0.0.1 → microbots-0.0.2}/LICENSE +0 -0
- {microbots-0.0.1 → microbots-0.0.2}/README.md +0 -0
- {microbots-0.0.1 → microbots-0.0.2}/requirements.txt +0 -0
- {microbots-0.0.1 → microbots-0.0.2}/setup.cfg +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/bot/__init__.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/constants.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/environment/Environment.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/environment/local_docker/__init__.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/environment/local_docker/image_builder/ShellCommunicator.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/environment/local_docker/image_builder/dockerShell.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/environment/swe-rex/LocalDocker.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/llm/__init__.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/tool/tool.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/tool/tool_definition/browser-use/browser.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/tool_definitions/base_tool.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/utils/logger.py +0 -0
- {microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/utils/network.py +0 -0
- {microbots-0.0.1 → microbots-0.0.2}/src/microbots.egg-info/dependency_links.txt +0 -0
- {microbots-0.0.1 → microbots-0.0.2}/src/microbots.egg-info/requires.txt +0 -0
|
@@ -6,12 +6,12 @@ from enum import StrEnum
|
|
|
6
6
|
from logging import getLogger
|
|
7
7
|
from typing import Optional
|
|
8
8
|
|
|
9
|
-
from
|
|
10
|
-
from
|
|
11
|
-
from
|
|
12
|
-
from
|
|
13
|
-
from
|
|
14
|
-
from
|
|
9
|
+
from microbots.constants import ModelProvider, PermissionLabels, PermissionMapping
|
|
10
|
+
from microbots.environment.local_docker.LocalDockerEnvironment import LocalDockerEnvironment
|
|
11
|
+
from microbots.llm.openai_api import OpenAIApi
|
|
12
|
+
from microbots.tool_definitions.base_tool import BaseTool
|
|
13
|
+
from microbots.utils.logger import LogLevelEmoji, dividerString
|
|
14
|
+
from microbots.utils.network import get_free_port
|
|
15
15
|
|
|
16
16
|
logger = getLogger(" MicroBot ")
|
|
17
17
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from typing import Optional
|
|
3
3
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
6
|
-
from
|
|
4
|
+
from microbots.constants import PermissionLabels
|
|
5
|
+
from microbots.MicroBot import BotType, MicroBot, system_prompt_common
|
|
6
|
+
from microbots.tool_definitions.base_tool import BaseTool
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class BrowserBot(MicroBot):
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from typing import Optional
|
|
3
3
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
6
|
-
from
|
|
4
|
+
from microbots.constants import PermissionLabels
|
|
5
|
+
from microbots.MicroBot import BotType, MicroBot
|
|
6
|
+
from microbots.tool_definitions.base_tool import BaseTool
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class BrowserBot(MicroBot):
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
2
|
from typing import Optional
|
|
3
3
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
6
|
-
from
|
|
4
|
+
from microbots.constants import DOCKER_WORKING_DIR, PermissionLabels
|
|
5
|
+
from microbots.MicroBot import BotType, MicroBot, system_prompt_common
|
|
6
|
+
from microbots.tool_definitions.base_tool import BaseTool
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class ReadingBot(MicroBot):
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
from typing import Optional
|
|
2
2
|
|
|
3
|
-
from
|
|
4
|
-
from
|
|
5
|
-
from
|
|
3
|
+
from microbots.constants import PermissionLabels
|
|
4
|
+
from microbots.MicroBot import BotType, MicroBot, system_prompt_common
|
|
5
|
+
from microbots.tool_definitions.base_tool import BaseTool
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class WritingBot(MicroBot):
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
requirements.txt
|
|
5
|
+
src/microbots/MicroBot.py
|
|
6
|
+
src/microbots/__init__.py
|
|
7
|
+
src/microbots/constants.py
|
|
8
|
+
src/microbots.egg-info/PKG-INFO
|
|
9
|
+
src/microbots.egg-info/SOURCES.txt
|
|
10
|
+
src/microbots.egg-info/dependency_links.txt
|
|
11
|
+
src/microbots.egg-info/requires.txt
|
|
12
|
+
src/microbots.egg-info/top_level.txt
|
|
13
|
+
src/microbots/bot/BrowserBot.py
|
|
14
|
+
src/microbots/bot/CustomBot.py
|
|
15
|
+
src/microbots/bot/ReadingBot.py
|
|
16
|
+
src/microbots/bot/WritingBot.py
|
|
17
|
+
src/microbots/bot/__init__.py
|
|
18
|
+
src/microbots/environment/Environment.py
|
|
19
|
+
src/microbots/environment/local_docker/LocalDockerEnvironment.py
|
|
20
|
+
src/microbots/environment/local_docker/__init__.py
|
|
21
|
+
src/microbots/environment/local_docker/image_builder/ShellCommunicator.py
|
|
22
|
+
src/microbots/environment/local_docker/image_builder/dockerShell.py
|
|
23
|
+
src/microbots/environment/swe-rex/LocalDocker.py
|
|
24
|
+
src/microbots/llm/__init__.py
|
|
25
|
+
src/microbots/llm/openai_api.py
|
|
26
|
+
src/microbots/tool/tool.py
|
|
27
|
+
src/microbots/tool/tool_definition/browser-use/browser.py
|
|
28
|
+
src/microbots/tool_definitions/base_tool.py
|
|
29
|
+
src/microbots/tool_definitions/ctags.py
|
|
30
|
+
src/microbots/tool_definitions/node.py
|
|
31
|
+
src/microbots/utils/logger.py
|
|
32
|
+
src/microbots/utils/network.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
microbots
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
LICENSE
|
|
2
|
-
README.md
|
|
3
|
-
pyproject.toml
|
|
4
|
-
requirements.txt
|
|
5
|
-
src/microbot/MicroBot.py
|
|
6
|
-
src/microbot/__init__.py
|
|
7
|
-
src/microbot/constants.py
|
|
8
|
-
src/microbot/bot/BrowserBot.py
|
|
9
|
-
src/microbot/bot/CustomBot.py
|
|
10
|
-
src/microbot/bot/ReadingBot.py
|
|
11
|
-
src/microbot/bot/WritingBot.py
|
|
12
|
-
src/microbot/bot/__init__.py
|
|
13
|
-
src/microbot/environment/Environment.py
|
|
14
|
-
src/microbot/environment/local_docker/LocalDockerEnvironment.py
|
|
15
|
-
src/microbot/environment/local_docker/__init__.py
|
|
16
|
-
src/microbot/environment/local_docker/image_builder/ShellCommunicator.py
|
|
17
|
-
src/microbot/environment/local_docker/image_builder/dockerShell.py
|
|
18
|
-
src/microbot/environment/swe-rex/LocalDocker.py
|
|
19
|
-
src/microbot/llm/__init__.py
|
|
20
|
-
src/microbot/llm/openai_api.py
|
|
21
|
-
src/microbot/tool/tool.py
|
|
22
|
-
src/microbot/tool/tool_definition/browser-use/browser.py
|
|
23
|
-
src/microbot/tool_definitions/base_tool.py
|
|
24
|
-
src/microbot/tool_definitions/ctags.py
|
|
25
|
-
src/microbot/tool_definitions/node.py
|
|
26
|
-
src/microbot/utils/logger.py
|
|
27
|
-
src/microbot/utils/network.py
|
|
28
|
-
src/microbots.egg-info/PKG-INFO
|
|
29
|
-
src/microbots.egg-info/SOURCES.txt
|
|
30
|
-
src/microbots.egg-info/dependency_links.txt
|
|
31
|
-
src/microbots.egg-info/requires.txt
|
|
32
|
-
src/microbots.egg-info/top_level.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
microbot
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/environment/local_docker/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/environment/swe-rex/LocalDocker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{microbots-0.0.1/src/microbot → microbots-0.0.2/src/microbots}/tool_definitions/base_tool.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|