connectonion 0.5.10__py3-none-any.whl → 0.6.1__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.
- connectonion/__init__.py +17 -16
- connectonion/cli/browser_agent/browser.py +488 -145
- connectonion/cli/browser_agent/scroll_strategies.py +276 -0
- connectonion/cli/commands/copy_commands.py +24 -1
- connectonion/cli/commands/deploy_commands.py +15 -0
- connectonion/cli/commands/eval_commands.py +286 -0
- connectonion/cli/commands/project_cmd_lib.py +1 -1
- connectonion/cli/main.py +11 -0
- connectonion/console.py +5 -5
- connectonion/core/__init__.py +53 -0
- connectonion/{agent.py → core/agent.py} +18 -15
- connectonion/{llm.py → core/llm.py} +9 -19
- connectonion/{tool_executor.py → core/tool_executor.py} +3 -2
- connectonion/{tool_factory.py → core/tool_factory.py} +3 -1
- connectonion/debug/__init__.py +51 -0
- connectonion/{interactive_debugger.py → debug/auto_debug.py} +7 -7
- connectonion/{auto_debug_exception.py → debug/auto_debug_exception.py} +3 -3
- connectonion/{debugger_ui.py → debug/auto_debug_ui.py} +1 -1
- connectonion/{debug_explainer → debug/debug_explainer}/explain_agent.py +1 -1
- connectonion/{debug_explainer → debug/debug_explainer}/explain_context.py +1 -1
- connectonion/{execution_analyzer → debug/execution_analyzer}/execution_analysis.py +1 -1
- connectonion/debug/runtime_inspector/__init__.py +13 -0
- connectonion/{debug_agent → debug/runtime_inspector}/agent.py +1 -1
- connectonion/{xray.py → debug/xray.py} +1 -1
- connectonion/llm_do.py +1 -1
- connectonion/logger.py +305 -135
- connectonion/network/__init__.py +37 -0
- connectonion/{announce.py → network/announce.py} +1 -1
- connectonion/{asgi.py → network/asgi.py} +122 -2
- connectonion/{connect.py → network/connect.py} +1 -1
- connectonion/network/connection.py +123 -0
- connectonion/{host.py → network/host.py} +31 -11
- connectonion/{trust.py → network/trust.py} +1 -1
- connectonion/tui/__init__.py +22 -0
- connectonion/tui/chat.py +647 -0
- connectonion/useful_events_handlers/reflect.py +2 -2
- connectonion/useful_plugins/__init__.py +4 -3
- connectonion/useful_plugins/calendar_plugin.py +2 -2
- connectonion/useful_plugins/eval.py +2 -2
- connectonion/useful_plugins/gmail_plugin.py +2 -2
- connectonion/useful_plugins/image_result_formatter.py +2 -2
- connectonion/useful_plugins/re_act.py +2 -2
- connectonion/useful_plugins/shell_approval.py +2 -2
- connectonion/useful_plugins/ui_stream.py +164 -0
- {connectonion-0.5.10.dist-info → connectonion-0.6.1.dist-info}/METADATA +4 -3
- connectonion-0.6.1.dist-info/RECORD +123 -0
- connectonion/debug_agent/__init__.py +0 -13
- connectonion-0.5.10.dist-info/RECORD +0 -115
- /connectonion/{events.py → core/events.py} +0 -0
- /connectonion/{tool_registry.py → core/tool_registry.py} +0 -0
- /connectonion/{usage.py → core/usage.py} +0 -0
- /connectonion/{debug_explainer → debug/debug_explainer}/__init__.py +0 -0
- /connectonion/{debug_explainer → debug/debug_explainer}/explainer_prompt.md +0 -0
- /connectonion/{debug_explainer → debug/debug_explainer}/root_cause_analysis_prompt.md +0 -0
- /connectonion/{decorators.py → debug/decorators.py} +0 -0
- /connectonion/{execution_analyzer → debug/execution_analyzer}/__init__.py +0 -0
- /connectonion/{execution_analyzer → debug/execution_analyzer}/execution_analysis_prompt.md +0 -0
- /connectonion/{debug_agent → debug/runtime_inspector}/prompts/debug_assistant.md +0 -0
- /connectonion/{debug_agent → debug/runtime_inspector}/runtime_inspector.py +0 -0
- /connectonion/{relay.py → network/relay.py} +0 -0
- /connectonion/{static → network/static}/docs.html +0 -0
- /connectonion/{trust_agents.py → network/trust_agents.py} +0 -0
- /connectonion/{trust_functions.py → network/trust_functions.py} +0 -0
- {connectonion-0.5.10.dist-info → connectonion-0.6.1.dist-info}/WHEEL +0 -0
- {connectonion-0.5.10.dist-info → connectonion-0.6.1.dist-info}/entry_points.txt +0 -0
connectonion/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""ConnectOnion - A simple agent framework with behavior tracking."""
|
|
2
2
|
|
|
3
|
-
__version__ = "0.
|
|
3
|
+
__version__ = "0.6.1"
|
|
4
4
|
|
|
5
5
|
# Auto-load .env files for the entire framework
|
|
6
6
|
from dotenv import load_dotenv
|
|
@@ -10,20 +10,8 @@ from pathlib import Path as _Path
|
|
|
10
10
|
# NOT from the module's location (framework directory)
|
|
11
11
|
load_dotenv(_Path.cwd() / ".env")
|
|
12
12
|
|
|
13
|
-
from .
|
|
14
|
-
from .
|
|
15
|
-
from .llm import LLM
|
|
16
|
-
from .logger import Logger
|
|
17
|
-
from .llm_do import llm_do
|
|
18
|
-
from .transcribe import transcribe
|
|
19
|
-
from .prompts import load_system_prompt
|
|
20
|
-
from .xray import xray
|
|
21
|
-
from .decorators import replay, xray_replay
|
|
22
|
-
from .useful_tools import send_email, get_emails, mark_read, mark_unread, Memory, Gmail, GoogleCalendar, Outlook, MicrosoftCalendar, WebFetch, Shell, DiffWriter, pick, yes_no, autocomplete, TodoList, SlashCommand
|
|
23
|
-
from .auto_debug_exception import auto_debug_exception
|
|
24
|
-
from .connect import connect, RemoteAgent
|
|
25
|
-
from .host import host, create_app
|
|
26
|
-
from .events import (
|
|
13
|
+
from .core import Agent, LLM, create_tool_from_function
|
|
14
|
+
from .core import (
|
|
27
15
|
after_user_input,
|
|
28
16
|
before_llm,
|
|
29
17
|
after_llm,
|
|
@@ -32,8 +20,17 @@ from .events import (
|
|
|
32
20
|
after_each_tool,
|
|
33
21
|
after_tools,
|
|
34
22
|
on_error,
|
|
35
|
-
on_complete
|
|
23
|
+
on_complete,
|
|
36
24
|
)
|
|
25
|
+
from .logger import Logger
|
|
26
|
+
from .llm_do import llm_do
|
|
27
|
+
from .transcribe import transcribe
|
|
28
|
+
from .prompts import load_system_prompt
|
|
29
|
+
from .debug import xray, auto_debug_exception, replay, xray_replay
|
|
30
|
+
from .useful_tools import send_email, get_emails, mark_read, mark_unread, Memory, Gmail, GoogleCalendar, Outlook, MicrosoftCalendar, WebFetch, Shell, DiffWriter, pick, yes_no, autocomplete, TodoList, SlashCommand
|
|
31
|
+
from .network import connect, RemoteAgent, host, create_app, Connection
|
|
32
|
+
from .network import relay, announce
|
|
33
|
+
from . import address
|
|
37
34
|
|
|
38
35
|
__all__ = [
|
|
39
36
|
"Agent",
|
|
@@ -68,6 +65,10 @@ __all__ = [
|
|
|
68
65
|
"RemoteAgent",
|
|
69
66
|
"host",
|
|
70
67
|
"create_app",
|
|
68
|
+
"Connection",
|
|
69
|
+
"relay",
|
|
70
|
+
"announce",
|
|
71
|
+
"address",
|
|
71
72
|
"after_user_input",
|
|
72
73
|
"before_llm",
|
|
73
74
|
"after_llm",
|