airbyte-agent-mcp 0.1.30__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.
- airbyte_agent_mcp/__init__.py +0 -0
- airbyte_agent_mcp/__main__.py +26 -0
- airbyte_agent_mcp/_vendored/__init__.py +1 -0
- airbyte_agent_mcp/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_mcp/_vendored/connector_sdk/auth_strategies.py +1123 -0
- airbyte_agent_mcp/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_mcp/_vendored/connector_sdk/connector_model_loader.py +938 -0
- airbyte_agent_mcp/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_mcp/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_mcp/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_mcp/_vendored/connector_sdk/executor/hosted_executor.py +188 -0
- airbyte_agent_mcp/_vendored/connector_sdk/executor/local_executor.py +1504 -0
- airbyte_agent_mcp/_vendored/connector_sdk/executor/models.py +190 -0
- airbyte_agent_mcp/_vendored/connector_sdk/extensions.py +655 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http/response.py +102 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http_client.py +679 -0
- airbyte_agent_mcp/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_mcp/_vendored/connector_sdk/logging/logger.py +264 -0
- airbyte_agent_mcp/_vendored/connector_sdk/logging/types.py +92 -0
- airbyte_agent_mcp/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_mcp/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_mcp/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_mcp/_vendored/connector_sdk/observability/session.py +94 -0
- airbyte_agent_mcp/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_mcp/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_mcp/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_mcp/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_mcp/_vendored/connector_sdk/schema/base.py +160 -0
- airbyte_agent_mcp/_vendored/connector_sdk/schema/components.py +238 -0
- airbyte_agent_mcp/_vendored/connector_sdk/schema/connector.py +131 -0
- airbyte_agent_mcp/_vendored/connector_sdk/schema/extensions.py +109 -0
- airbyte_agent_mcp/_vendored/connector_sdk/schema/operations.py +146 -0
- airbyte_agent_mcp/_vendored/connector_sdk/schema/security.py +213 -0
- airbyte_agent_mcp/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_mcp/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_mcp/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_mcp/_vendored/connector_sdk/telemetry/events.py +58 -0
- airbyte_agent_mcp/_vendored/connector_sdk/telemetry/tracker.py +151 -0
- airbyte_agent_mcp/_vendored/connector_sdk/types.py +239 -0
- airbyte_agent_mcp/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_mcp/_vendored/connector_sdk/validation.py +822 -0
- airbyte_agent_mcp/config.py +97 -0
- airbyte_agent_mcp/connector_manager.py +340 -0
- airbyte_agent_mcp/models.py +147 -0
- airbyte_agent_mcp/registry_client.py +103 -0
- airbyte_agent_mcp/secret_manager.py +94 -0
- airbyte_agent_mcp/server.py +265 -0
- airbyte_agent_mcp-0.1.30.dist-info/METADATA +134 -0
- airbyte_agent_mcp-0.1.30.dist-info/RECORD +56 -0
- airbyte_agent_mcp-0.1.30.dist-info/WHEEL +4 -0
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Entry point for running airbyte-agent-mcp server."""
|
|
2
|
+
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
from airbyte_agent_mcp.server import run_server
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def main():
|
|
9
|
+
"""Main entry point."""
|
|
10
|
+
# Support optional command-line arguments
|
|
11
|
+
config_path = "configured_connectors.yaml"
|
|
12
|
+
dotenv_path = ".env"
|
|
13
|
+
|
|
14
|
+
# Simple argument parsing
|
|
15
|
+
args = sys.argv[1:]
|
|
16
|
+
if len(args) >= 1:
|
|
17
|
+
config_path = args[0]
|
|
18
|
+
if len(args) >= 2:
|
|
19
|
+
dotenv_path = args[1]
|
|
20
|
+
|
|
21
|
+
# Run the server
|
|
22
|
+
run_server(config_path, dotenv_path)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
if __name__ == "__main__":
|
|
26
|
+
main()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Vendored connector-sdk runtime."""
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Airbyte SDK - Async-first type-safe connector execution framework.
|
|
3
|
+
|
|
4
|
+
Provides:
|
|
5
|
+
- Async executor for all connectors
|
|
6
|
+
- Custom connector support
|
|
7
|
+
- Performance monitoring and instrumentation
|
|
8
|
+
- Connection pooling and concurrent execution
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
from .auth_strategies import AuthStrategy
|
|
14
|
+
from .connector_model_loader import load_connector_model
|
|
15
|
+
from .constants import SDK_VERSION
|
|
16
|
+
from .exceptions import (
|
|
17
|
+
AuthenticationError,
|
|
18
|
+
HTTPClientError,
|
|
19
|
+
NetworkError,
|
|
20
|
+
RateLimitError,
|
|
21
|
+
TimeoutError,
|
|
22
|
+
)
|
|
23
|
+
from .executor import (
|
|
24
|
+
ActionNotSupportedError,
|
|
25
|
+
EntityNotFoundError,
|
|
26
|
+
ExecutionConfig,
|
|
27
|
+
ExecutionResult,
|
|
28
|
+
ExecutorError,
|
|
29
|
+
ExecutorProtocol,
|
|
30
|
+
HostedExecutor,
|
|
31
|
+
InvalidParameterError,
|
|
32
|
+
LocalExecutor,
|
|
33
|
+
MissingParameterError,
|
|
34
|
+
)
|
|
35
|
+
from .http_client import HTTPClient
|
|
36
|
+
from .logging import LogSession, NullLogger, RequestLog, RequestLogger
|
|
37
|
+
from .performance import PerformanceMonitor, instrument
|
|
38
|
+
from .types import Action, AuthType, ConnectorModel, EntityDefinition
|
|
39
|
+
from .utils import save_download
|
|
40
|
+
|
|
41
|
+
__version__ = SDK_VERSION
|
|
42
|
+
|
|
43
|
+
__all__ = [
|
|
44
|
+
# All Executors
|
|
45
|
+
"LocalExecutor",
|
|
46
|
+
"HostedExecutor",
|
|
47
|
+
"ExecutorProtocol",
|
|
48
|
+
"HTTPClient",
|
|
49
|
+
# Execution Config and Result Types
|
|
50
|
+
"ExecutionConfig",
|
|
51
|
+
"ExecutionResult",
|
|
52
|
+
# Types
|
|
53
|
+
"ConnectorModel",
|
|
54
|
+
"Action",
|
|
55
|
+
"AuthType",
|
|
56
|
+
"EntityDefinition",
|
|
57
|
+
"load_connector_model",
|
|
58
|
+
# Authentication
|
|
59
|
+
"AuthStrategy",
|
|
60
|
+
# Executor Exceptions
|
|
61
|
+
"ExecutorError",
|
|
62
|
+
"EntityNotFoundError",
|
|
63
|
+
"ActionNotSupportedError",
|
|
64
|
+
"MissingParameterError",
|
|
65
|
+
"InvalidParameterError",
|
|
66
|
+
# HTTP Exceptions
|
|
67
|
+
"HTTPClientError",
|
|
68
|
+
"AuthenticationError",
|
|
69
|
+
"RateLimitError",
|
|
70
|
+
"NetworkError",
|
|
71
|
+
"TimeoutError",
|
|
72
|
+
# Logging
|
|
73
|
+
"RequestLogger",
|
|
74
|
+
"NullLogger",
|
|
75
|
+
"RequestLog",
|
|
76
|
+
"LogSession",
|
|
77
|
+
# Performance monitoring
|
|
78
|
+
"PerformanceMonitor",
|
|
79
|
+
"instrument",
|
|
80
|
+
# Utilities
|
|
81
|
+
"save_download",
|
|
82
|
+
]
|