feat: add guided exploration and share user-started MCP backend
This commit is contained in:
1 parent
f86db1ced6
commit
ee256ad7ce
144 files changed
+8625
-2075
No files matched your search
+28
-6
@@ -16,12 +16,34 @@
|
||||
|
||||
from artemis._version import __version__
|
||||
|
||||
from artemis.interfaces.sdk.client import ArtemisClient, ConcurrencyMode
|
||||
from artemis.interfaces.sdk.task import StreamEvent, StreamEventType, Task
|
||||
from artemis_client import Capabilities, Device, TaskHandle, TaskResult
|
||||
from artemis.sdk.agent import Agent
|
||||
from artemis.sdk.builders import Builders
|
||||
from artemis.drivers.base import BaseDeviceDriver
|
||||
from importlib import import_module
|
||||
|
||||
# Importing a service-discovery utility must not load the entire agent stack.
|
||||
# Keep the public SDK API while loading its implementation only when requested.
|
||||
_EXPORT_MODULES = {
|
||||
"ArtemisClient": "artemis.interfaces.sdk.client",
|
||||
"ConcurrencyMode": "artemis.interfaces.sdk.client",
|
||||
"StreamEvent": "artemis.interfaces.sdk.task",
|
||||
"StreamEventType": "artemis.interfaces.sdk.task",
|
||||
"Task": "artemis.interfaces.sdk.task",
|
||||
"Capabilities": "artemis_client",
|
||||
"Device": "artemis_client",
|
||||
"TaskHandle": "artemis_client",
|
||||
"TaskResult": "artemis_client",
|
||||
"Agent": "artemis.sdk.agent",
|
||||
"Builders": "artemis.sdk.builders",
|
||||
"BaseDeviceDriver": "artemis.drivers.base",
|
||||
}
|
||||
|
||||
|
||||
def __getattr__(name: str):
|
||||
module = _EXPORT_MODULES.get(name)
|
||||
if module is None:
|
||||
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
||||
value = getattr(import_module(module), name)
|
||||
globals()[name] = value
|
||||
return value
|
||||
|
||||
|
||||
__all__ = [
|
||||
"__version__",
|
||||
|
||||
Reference in new issue
Block a user