airbyte-agent-slack 0.1.0__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.
- airbyte_agent_slack-0.1.0/.gitignore +29 -0
- airbyte_agent_slack-0.1.0/CHANGELOG.md +6 -0
- airbyte_agent_slack-0.1.0/PKG-INFO +128 -0
- airbyte_agent_slack-0.1.0/README.md +95 -0
- airbyte_agent_slack-0.1.0/REFERENCE.md +631 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/__init__.py +87 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/__init__.py +1 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py +1120 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/connector_model_loader.py +964 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py +196 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py +1633 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/executor/models.py +190 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/http_client.py +686 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/introspection.py +262 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/logging/logger.py +264 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/logging/types.py +92 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/schema/base.py +161 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/schema/components.py +239 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/schema/extensions.py +109 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/schema/operations.py +146 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/schema/security.py +223 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/types.py +245 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/_vendored/connector_sdk/validation.py +822 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/connector.py +620 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/connector_model.py +2124 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/models.py +394 -0
- airbyte_agent_slack-0.1.0/airbyte_agent_slack/types.py +56 -0
- airbyte_agent_slack-0.1.0/pyproject.toml +50 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.egg-info/
|
|
6
|
+
dist/
|
|
7
|
+
build/
|
|
8
|
+
.eggs/
|
|
9
|
+
|
|
10
|
+
# Testing
|
|
11
|
+
.pytest_cache/
|
|
12
|
+
.coverage
|
|
13
|
+
htmlcov/
|
|
14
|
+
|
|
15
|
+
# Virtual environments
|
|
16
|
+
.venv/
|
|
17
|
+
venv/
|
|
18
|
+
|
|
19
|
+
# IDE
|
|
20
|
+
.idea/
|
|
21
|
+
.vscode/
|
|
22
|
+
*.swp
|
|
23
|
+
|
|
24
|
+
# OS
|
|
25
|
+
.DS_Store
|
|
26
|
+
Thumbs.db
|
|
27
|
+
|
|
28
|
+
.env
|
|
29
|
+
configured_connectors.yaml
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: airbyte-agent-slack
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Airbyte Slack Connector for AI platforms
|
|
5
|
+
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
|
|
6
|
+
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
|
|
7
|
+
Project-URL: Repository, https://github.com/airbytehq/airbyte-agent-connectors
|
|
8
|
+
Project-URL: Issues, https://github.com/airbytehq/airbyte-agent-connectors/issues
|
|
9
|
+
Author-email: Airbyte <contact@airbyte.io>
|
|
10
|
+
License: Elastic-2.0
|
|
11
|
+
Keywords: agent,ai,airbyte,api,connector,data-integration,llm,mcp,slack
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: Other/Proprietary License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.13
|
|
22
|
+
Requires-Dist: httpx>=0.24.0
|
|
23
|
+
Requires-Dist: jinja2>=3.0.0
|
|
24
|
+
Requires-Dist: jsonpath-ng>=1.6.1
|
|
25
|
+
Requires-Dist: jsonref>=1.1.0
|
|
26
|
+
Requires-Dist: opentelemetry-api>=1.37.0
|
|
27
|
+
Requires-Dist: opentelemetry-sdk>=1.37.0
|
|
28
|
+
Requires-Dist: pydantic>=2.0.0
|
|
29
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
30
|
+
Requires-Dist: pyyaml>=6.0
|
|
31
|
+
Requires-Dist: segment-analytics-python>=2.2.0
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
# Slack agent connector
|
|
35
|
+
|
|
36
|
+
Slack is a business communication platform that offers messaging, file sharing, and integrations
|
|
37
|
+
with other tools. This connector provides access to users, channels, channel members, channel
|
|
38
|
+
messages, and threads for workspace analytics and communication insights.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Example questions
|
|
42
|
+
|
|
43
|
+
The Slack connector is optimized to handle prompts like these.
|
|
44
|
+
|
|
45
|
+
- List all users in my Slack workspace
|
|
46
|
+
- Show me all public channels
|
|
47
|
+
- Who are the members of channel \{channel_id\}?
|
|
48
|
+
- Get messages from channel \{channel_id\}
|
|
49
|
+
- Show me the thread replies for message \{ts\} in channel \{channel_id\}
|
|
50
|
+
- List all channels I have access to
|
|
51
|
+
- Get user details for user \{user_id\}
|
|
52
|
+
- What messages were posted in channel \{channel_id\} last week?
|
|
53
|
+
- Show me the conversation history for channel \{channel_id\}
|
|
54
|
+
- List channel members for the general channel
|
|
55
|
+
|
|
56
|
+
## Unsupported questions
|
|
57
|
+
|
|
58
|
+
The Slack connector isn't currently able to handle prompts like these.
|
|
59
|
+
|
|
60
|
+
- Create a new channel
|
|
61
|
+
- Delete a message
|
|
62
|
+
- Send a message to a channel
|
|
63
|
+
- Update a channel topic
|
|
64
|
+
- Invite a user to a channel
|
|
65
|
+
- Archive a channel
|
|
66
|
+
|
|
67
|
+
## Installation
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
uv pip install airbyte-agent-slack
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Usage
|
|
74
|
+
|
|
75
|
+
This connector supports multiple authentication methods:
|
|
76
|
+
|
|
77
|
+
### Token Authentication
|
|
78
|
+
|
|
79
|
+
```python
|
|
80
|
+
from airbyte_agent_slack import SlackConnector
|
|
81
|
+
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
|
|
82
|
+
|
|
83
|
+
connector = SlackConnector(
|
|
84
|
+
auth_config=SlackTokenAuthenticationAuthConfig(
|
|
85
|
+
access_token="..."
|
|
86
|
+
)
|
|
87
|
+
)
|
|
88
|
+
result = await connector.users.list()
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### OAuth 2.0 Authentication
|
|
92
|
+
|
|
93
|
+
```python
|
|
94
|
+
from airbyte_agent_slack import SlackConnector
|
|
95
|
+
from airbyte_agent_slack.models import SlackOauth20AuthenticationAuthConfig
|
|
96
|
+
|
|
97
|
+
connector = SlackConnector(
|
|
98
|
+
auth_config=SlackOauth20AuthenticationAuthConfig(
|
|
99
|
+
client_id="...",
|
|
100
|
+
client_secret="...",
|
|
101
|
+
access_token="..."
|
|
102
|
+
)
|
|
103
|
+
)
|
|
104
|
+
result = await connector.users.list()
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## Full documentation
|
|
109
|
+
|
|
110
|
+
This connector supports the following entities and actions.
|
|
111
|
+
|
|
112
|
+
| Entity | Actions |
|
|
113
|
+
|--------|---------|
|
|
114
|
+
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
|
|
115
|
+
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get) |
|
|
116
|
+
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
|
|
117
|
+
| Threads | [List](./REFERENCE.md#threads-list) |
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
121
|
+
|
|
122
|
+
For the service's official API docs, see the [Slack API reference](https://api.slack.com/methods).
|
|
123
|
+
|
|
124
|
+
## Version information
|
|
125
|
+
|
|
126
|
+
- **Package version:** 0.1.0
|
|
127
|
+
- **Connector version:** 0.1.1
|
|
128
|
+
- **Generated with Connector SDK commit SHA:** 8b64ece519289f4e06c6df90ed5a254b81df1ddd
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Slack agent connector
|
|
2
|
+
|
|
3
|
+
Slack is a business communication platform that offers messaging, file sharing, and integrations
|
|
4
|
+
with other tools. This connector provides access to users, channels, channel members, channel
|
|
5
|
+
messages, and threads for workspace analytics and communication insights.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Example questions
|
|
9
|
+
|
|
10
|
+
The Slack connector is optimized to handle prompts like these.
|
|
11
|
+
|
|
12
|
+
- List all users in my Slack workspace
|
|
13
|
+
- Show me all public channels
|
|
14
|
+
- Who are the members of channel \{channel_id\}?
|
|
15
|
+
- Get messages from channel \{channel_id\}
|
|
16
|
+
- Show me the thread replies for message \{ts\} in channel \{channel_id\}
|
|
17
|
+
- List all channels I have access to
|
|
18
|
+
- Get user details for user \{user_id\}
|
|
19
|
+
- What messages were posted in channel \{channel_id\} last week?
|
|
20
|
+
- Show me the conversation history for channel \{channel_id\}
|
|
21
|
+
- List channel members for the general channel
|
|
22
|
+
|
|
23
|
+
## Unsupported questions
|
|
24
|
+
|
|
25
|
+
The Slack connector isn't currently able to handle prompts like these.
|
|
26
|
+
|
|
27
|
+
- Create a new channel
|
|
28
|
+
- Delete a message
|
|
29
|
+
- Send a message to a channel
|
|
30
|
+
- Update a channel topic
|
|
31
|
+
- Invite a user to a channel
|
|
32
|
+
- Archive a channel
|
|
33
|
+
|
|
34
|
+
## Installation
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
uv pip install airbyte-agent-slack
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
This connector supports multiple authentication methods:
|
|
43
|
+
|
|
44
|
+
### Token Authentication
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
from airbyte_agent_slack import SlackConnector
|
|
48
|
+
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
|
|
49
|
+
|
|
50
|
+
connector = SlackConnector(
|
|
51
|
+
auth_config=SlackTokenAuthenticationAuthConfig(
|
|
52
|
+
access_token="..."
|
|
53
|
+
)
|
|
54
|
+
)
|
|
55
|
+
result = await connector.users.list()
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### OAuth 2.0 Authentication
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
from airbyte_agent_slack import SlackConnector
|
|
62
|
+
from airbyte_agent_slack.models import SlackOauth20AuthenticationAuthConfig
|
|
63
|
+
|
|
64
|
+
connector = SlackConnector(
|
|
65
|
+
auth_config=SlackOauth20AuthenticationAuthConfig(
|
|
66
|
+
client_id="...",
|
|
67
|
+
client_secret="...",
|
|
68
|
+
access_token="..."
|
|
69
|
+
)
|
|
70
|
+
)
|
|
71
|
+
result = await connector.users.list()
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## Full documentation
|
|
76
|
+
|
|
77
|
+
This connector supports the following entities and actions.
|
|
78
|
+
|
|
79
|
+
| Entity | Actions |
|
|
80
|
+
|--------|---------|
|
|
81
|
+
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
|
|
82
|
+
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get) |
|
|
83
|
+
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
|
|
84
|
+
| Threads | [List](./REFERENCE.md#threads-list) |
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
88
|
+
|
|
89
|
+
For the service's official API docs, see the [Slack API reference](https://api.slack.com/methods).
|
|
90
|
+
|
|
91
|
+
## Version information
|
|
92
|
+
|
|
93
|
+
- **Package version:** 0.1.0
|
|
94
|
+
- **Connector version:** 0.1.1
|
|
95
|
+
- **Generated with Connector SDK commit SHA:** 8b64ece519289f4e06c6df90ed5a254b81df1ddd
|