agentr 0.1.6__py3-none-any.whl → 0.1.8__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.
- agentr/__init__.py +1 -1
- agentr/application.py +93 -56
- agentr/applications/__init__.py +27 -0
- agentr/applications/github/app.py +319 -56
- agentr/applications/google_calendar/app.py +489 -74
- agentr/applications/google_mail/app.py +565 -68
- agentr/applications/reddit/app.py +309 -29
- agentr/applications/resend/app.py +43 -43
- agentr/applications/tavily/app.py +57 -57
- agentr/applications/zenquotes/app.py +20 -20
- agentr/cli.py +76 -75
- agentr/config.py +15 -0
- agentr/exceptions.py +6 -5
- agentr/integration.py +161 -98
- agentr/integrations/README.md +25 -0
- agentr/integrations/__init__.py +5 -0
- agentr/integrations/agentr.py +87 -0
- agentr/integrations/api_key.py +16 -0
- agentr/integrations/base.py +60 -0
- agentr/server.py +128 -105
- agentr/store.py +70 -70
- agentr/test.py +14 -37
- agentr/utils/openapi.py +273 -184
- {agentr-0.1.6.dist-info → agentr-0.1.8.dist-info}/METADATA +4 -1
- agentr-0.1.8.dist-info/RECORD +30 -0
- {agentr-0.1.6.dist-info → agentr-0.1.8.dist-info}/licenses/LICENSE +21 -21
- agentr-0.1.6.dist-info/RECORD +0 -23
- {agentr-0.1.6.dist-info → agentr-0.1.8.dist-info}/WHEEL +0 -0
- {agentr-0.1.6.dist-info → agentr-0.1.8.dist-info}/entry_points.txt +0 -0
agentr/utils/openapi.py
CHANGED
@@ -1,185 +1,274 @@
|
|
1
|
-
import json
|
2
|
-
import yaml
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
"""
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
"""
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
for
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
)
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
"
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
1
|
+
import json
|
2
|
+
import yaml
|
3
|
+
import re
|
4
|
+
from pathlib import Path
|
5
|
+
from typing import Dict, Any
|
6
|
+
|
7
|
+
|
8
|
+
def convert_to_snake_case(identifier: str) -> str:
|
9
|
+
"""
|
10
|
+
Convert a camelCase or PascalCase identifier to snake_case.
|
11
|
+
|
12
|
+
Args:
|
13
|
+
identifier (str): The string to convert
|
14
|
+
|
15
|
+
Returns:
|
16
|
+
str: The converted snake_case string
|
17
|
+
"""
|
18
|
+
if not identifier:
|
19
|
+
return identifier
|
20
|
+
# Add underscore between lowercase and uppercase letters
|
21
|
+
result = re.sub(r'([a-z0-9])([A-Z])', r'\1_\2', identifier)
|
22
|
+
# Convert to lowercase
|
23
|
+
return result.lower()
|
24
|
+
|
25
|
+
|
26
|
+
def load_schema(path: Path):
|
27
|
+
if path.suffix == '.yaml':
|
28
|
+
type = 'yaml'
|
29
|
+
else:
|
30
|
+
type = 'json'
|
31
|
+
with open(path, 'r') as f:
|
32
|
+
if type == 'yaml':
|
33
|
+
return yaml.safe_load(f)
|
34
|
+
else:
|
35
|
+
return json.load(f)
|
36
|
+
|
37
|
+
|
38
|
+
def generate_api_client(schema):
|
39
|
+
"""
|
40
|
+
Generate a Python API client class from an OpenAPI schema.
|
41
|
+
|
42
|
+
Args:
|
43
|
+
schema (dict): The OpenAPI schema as a dictionary.
|
44
|
+
|
45
|
+
Returns:
|
46
|
+
str: A string containing the Python code for the API client class.
|
47
|
+
"""
|
48
|
+
methods = []
|
49
|
+
method_names = []
|
50
|
+
|
51
|
+
# Extract API info for naming and base URL
|
52
|
+
info = schema.get('info', {})
|
53
|
+
api_title = info.get('title', 'API')
|
54
|
+
|
55
|
+
# Get base URL from servers array if available
|
56
|
+
base_url = ""
|
57
|
+
servers = schema.get('servers', [])
|
58
|
+
if servers and isinstance(servers, list) and 'url' in servers[0]:
|
59
|
+
base_url = servers[0]['url'].rstrip('/')
|
60
|
+
|
61
|
+
# Create a clean class name from API title
|
62
|
+
if api_title:
|
63
|
+
# Convert API title to a clean class name
|
64
|
+
base_name = "".join(word.capitalize() for word in api_title.split())
|
65
|
+
clean_name = ''.join(c for c in base_name if c.isalnum())
|
66
|
+
class_name = f"{clean_name}App"
|
67
|
+
else:
|
68
|
+
class_name = "APIClient"
|
69
|
+
|
70
|
+
# Iterate over paths and their operations
|
71
|
+
for path, path_info in schema.get('paths', {}).items():
|
72
|
+
for method in path_info:
|
73
|
+
if method in ['get', 'post', 'put', 'delete', 'patch', 'options', 'head']:
|
74
|
+
operation = path_info[method]
|
75
|
+
method_code, func_name = generate_method_code(path, method, operation)
|
76
|
+
methods.append(method_code)
|
77
|
+
method_names.append(func_name)
|
78
|
+
|
79
|
+
# Generate list_tools method with all the function names
|
80
|
+
tools_list = ",\n ".join([f"self.{name}" for name in method_names])
|
81
|
+
list_tools_method = f""" def list_tools(self):
|
82
|
+
return [
|
83
|
+
{tools_list}
|
84
|
+
]"""
|
85
|
+
|
86
|
+
# Generate class imports
|
87
|
+
imports = [
|
88
|
+
"from agentr.application import APIApplication",
|
89
|
+
"from agentr.integration import Integration"
|
90
|
+
]
|
91
|
+
|
92
|
+
# Construct the class code
|
93
|
+
class_code = (
|
94
|
+
"\n".join(imports) + "\n\n"
|
95
|
+
f"class {class_name}(APIApplication):\n"
|
96
|
+
f" def __init__(self, integration: Integration = None, **kwargs) -> None:\n"
|
97
|
+
f" super().__init__(name='{class_name.lower()}', integration=integration, **kwargs)\n"
|
98
|
+
f" self.base_url = \"{base_url}\"\n\n" +
|
99
|
+
'\n\n'.join(methods) + "\n\n" +
|
100
|
+
list_tools_method + "\n"
|
101
|
+
)
|
102
|
+
return class_code
|
103
|
+
|
104
|
+
|
105
|
+
def generate_method_code(path, method, operation):
|
106
|
+
"""
|
107
|
+
Generate the code for a single API method.
|
108
|
+
|
109
|
+
Args:
|
110
|
+
path (str): The API path (e.g., '/users/{user_id}').
|
111
|
+
method (str): The HTTP method (e.g., 'get').
|
112
|
+
operation (dict): The operation details from the schema.
|
113
|
+
|
114
|
+
Returns:
|
115
|
+
tuple: (method_code, func_name) - The Python code for the method and its name.
|
116
|
+
"""
|
117
|
+
# Determine function name
|
118
|
+
if 'operationId' in operation:
|
119
|
+
raw_name = operation['operationId']
|
120
|
+
cleaned_name = raw_name.replace('.', '_').replace('-', '_')
|
121
|
+
func_name = convert_to_snake_case(cleaned_name)
|
122
|
+
else:
|
123
|
+
# Generate name from path and method
|
124
|
+
path_parts = path.strip('/').split('/')
|
125
|
+
name_parts = [method]
|
126
|
+
for part in path_parts:
|
127
|
+
if part.startswith('{') and part.endswith('}'):
|
128
|
+
name_parts.append('by_' + part[1:-1])
|
129
|
+
else:
|
130
|
+
name_parts.append(part)
|
131
|
+
func_name = '_'.join(name_parts).replace('-', '_').lower()
|
132
|
+
|
133
|
+
# Get parameters and request body
|
134
|
+
parameters = operation.get('parameters', [])
|
135
|
+
has_body = 'requestBody' in operation
|
136
|
+
body_required = has_body and operation['requestBody'].get('required', False)
|
137
|
+
|
138
|
+
# Build function arguments
|
139
|
+
args = []
|
140
|
+
for param in parameters:
|
141
|
+
if param.get('required', False):
|
142
|
+
args.append(param['name'])
|
143
|
+
else:
|
144
|
+
args.append(f"{param['name']}=None")
|
145
|
+
|
146
|
+
if has_body:
|
147
|
+
args.append('request_body' if body_required else 'request_body=None')
|
148
|
+
|
149
|
+
signature = f" def {func_name}(self, {', '.join(args)}) -> Dict[str, Any]:"
|
150
|
+
|
151
|
+
# Build method body
|
152
|
+
body_lines = []
|
153
|
+
|
154
|
+
# Validate required parameters
|
155
|
+
for param in parameters:
|
156
|
+
if param.get('required', False):
|
157
|
+
body_lines.append(f" if {param['name']} is None:")
|
158
|
+
body_lines.append(f" raise ValueError(\"Missing required parameter '{param['name']}'\")")
|
159
|
+
|
160
|
+
# Validate required body
|
161
|
+
if has_body and body_required:
|
162
|
+
body_lines.append(" if request_body is None:")
|
163
|
+
body_lines.append(" raise ValueError(\"Missing required request body\")")
|
164
|
+
|
165
|
+
# Path parameters
|
166
|
+
path_params = [p for p in parameters if p['in'] == 'path']
|
167
|
+
path_params_dict = ', '.join([f"'{p['name']}': {p['name']}" for p in path_params])
|
168
|
+
body_lines.append(f" path_params = {{{path_params_dict}}}")
|
169
|
+
|
170
|
+
# Format URL
|
171
|
+
body_lines.append(f" url = f\"{{self.base_url}}{path}\".format_map(path_params)")
|
172
|
+
|
173
|
+
# Query parameters
|
174
|
+
query_params = [p for p in parameters if p['in'] == 'query']
|
175
|
+
query_params_items = ', '.join([f"('{p['name']}', {p['name']})" for p in query_params])
|
176
|
+
body_lines.append(
|
177
|
+
f" query_params = {{k: v for k, v in [{query_params_items}] if v is not None}}"
|
178
|
+
)
|
179
|
+
|
180
|
+
# Request body handling for JSON
|
181
|
+
if has_body:
|
182
|
+
body_lines.append(" json_body = request_body if request_body is not None else None")
|
183
|
+
|
184
|
+
# Make HTTP request using the proper method
|
185
|
+
method_lower = method.lower()
|
186
|
+
if method_lower == 'get':
|
187
|
+
body_lines.append(" response = self._get(url, params=query_params)")
|
188
|
+
elif method_lower == 'post':
|
189
|
+
if has_body:
|
190
|
+
body_lines.append(" response = self._post(url, data=json_body)")
|
191
|
+
else:
|
192
|
+
body_lines.append(" response = self._post(url, data={})")
|
193
|
+
elif method_lower == 'put':
|
194
|
+
if has_body:
|
195
|
+
body_lines.append(" response = self._put(url, data=json_body)")
|
196
|
+
else:
|
197
|
+
body_lines.append(" response = self._put(url, data={})")
|
198
|
+
elif method_lower == 'delete':
|
199
|
+
body_lines.append(" response = self._delete(url)")
|
200
|
+
else:
|
201
|
+
body_lines.append(f" response = self._{method_lower}(url, data={{}})")
|
202
|
+
|
203
|
+
# Handle response
|
204
|
+
body_lines.append(" response.raise_for_status()")
|
205
|
+
body_lines.append(" return response.json()")
|
206
|
+
|
207
|
+
method_code = signature + '\n' + '\n'.join(body_lines)
|
208
|
+
return method_code, func_name
|
209
|
+
|
210
|
+
|
211
|
+
# Example usage
|
212
|
+
if __name__ == "__main__":
|
213
|
+
# Sample OpenAPI schema
|
214
|
+
schema = {
|
215
|
+
"paths": {
|
216
|
+
"/users": {
|
217
|
+
"get": {
|
218
|
+
"summary": "Get a list of users",
|
219
|
+
"parameters": [
|
220
|
+
{
|
221
|
+
"name": "limit",
|
222
|
+
"in": "query",
|
223
|
+
"required": False,
|
224
|
+
"schema": {"type": "integer"}
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"responses": {
|
228
|
+
"200": {
|
229
|
+
"description": "A list of users",
|
230
|
+
"content": {"application/json": {"schema": {"type": "array"}}}
|
231
|
+
}
|
232
|
+
}
|
233
|
+
},
|
234
|
+
"post": {
|
235
|
+
"summary": "Create a user",
|
236
|
+
"requestBody": {
|
237
|
+
"required": True,
|
238
|
+
"content": {
|
239
|
+
"application/json": {
|
240
|
+
"schema": {
|
241
|
+
"type": "object",
|
242
|
+
"properties": {"name": {"type": "string"}}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
},
|
247
|
+
"responses": {
|
248
|
+
"201": {"description": "User created"}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
},
|
252
|
+
"/users/{user_id}": {
|
253
|
+
"get": {
|
254
|
+
"summary": "Get a user by ID",
|
255
|
+
"parameters": [
|
256
|
+
{
|
257
|
+
"name": "user_id",
|
258
|
+
"in": "path",
|
259
|
+
"required": True,
|
260
|
+
"schema": {"type": "string"}
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"responses": {
|
264
|
+
"200": {"description": "User details"}
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
}
|
270
|
+
|
271
|
+
|
272
|
+
schema = load_schema('openapi.yaml')
|
273
|
+
code = generate_api_client(schema)
|
185
274
|
print(code)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: agentr
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.8
|
4
4
|
Summary: A python framework to build MCP servers
|
5
5
|
Author-email: Manoj Bajaj <manojbajaj95@gmail.com>
|
6
6
|
License-File: LICENSE
|
@@ -9,6 +9,9 @@ Requires-Dist: loguru>=0.7.3
|
|
9
9
|
Requires-Dist: mcp>=1.5.0
|
10
10
|
Requires-Dist: pyyaml>=6.0.2
|
11
11
|
Requires-Dist: typer>=0.15.2
|
12
|
+
Provides-Extra: test
|
13
|
+
Requires-Dist: pytest-asyncio>=0.26.0; extra == 'test'
|
14
|
+
Requires-Dist: pytest>=8.3.5; extra == 'test'
|
12
15
|
Description-Content-Type: text/markdown
|
13
16
|
|
14
17
|
# AgentR
|
@@ -0,0 +1,30 @@
|
|
1
|
+
agentr/__init__.py,sha256=LOWhgQayrQV7f5ro4rlBJ_6WevhbWIbjAOHnqP7b_-4,30
|
2
|
+
agentr/application.py,sha256=DdDF55_44Bj2vE_9JDzv3i9rYm8LK2r8E5mBd7xQdR0,2884
|
3
|
+
agentr/cli.py,sha256=z0QOdyiBcypNE_npN2lYIkEcYZXG8Ji0027IcEuhDTs,2880
|
4
|
+
agentr/config.py,sha256=YTygfFJPUuL-epRuILvt5tc5ACzByWIFFNhpFwHlDCE,387
|
5
|
+
agentr/exceptions.py,sha256=hHlyXUZBjG4DfUurvqd0ZiruHC67gbpT6EHKxifwUhg,271
|
6
|
+
agentr/integration.py,sha256=hr2Edd2H-JG_CNe6xgYvfjy2BgKgFrBN2Grn8n4vfGs,5433
|
7
|
+
agentr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
+
agentr/server.py,sha256=PNtg8BkVST4fOgNI4tWoBX2ue1EfGdgEf3__MjOVYmc,4907
|
9
|
+
agentr/store.py,sha256=fB3uAaobnWf2ILcDBmg3ToDaqAIPYlLtmHBdpmkcGcI,1585
|
10
|
+
agentr/test.py,sha256=crKkiygUhXBaJPfcaS35bLbTd_-hc9jdaONQkT79i3M,354
|
11
|
+
agentr/applications/__init__.py,sha256=huqhhfMkSMjcc3eqVAprW03Drr98OHbH2Rh0GwGQHjs,942
|
12
|
+
agentr/applications/github/app.py,sha256=qN2O3F9bfRLTxklTPzs67scjZ2KxtrqS6nOGh3ZDmR8,12407
|
13
|
+
agentr/applications/google_calendar/app.py,sha256=BlOBmdoEqifuOrG194BgjAvUkBhwvVeGM1HBYKv0bDU,19953
|
14
|
+
agentr/applications/google_mail/app.py,sha256=GWmJwgdpBKyNufsrHp2PkYzXNzyCb7XOHxZPYw6XaBA,23710
|
15
|
+
agentr/applications/reddit/app.py,sha256=W4rGSDE3ooZiMPWUsgM2URCjaI7lYC56r5pfdlrP4Ss,12548
|
16
|
+
agentr/applications/resend/app.py,sha256=ihRzP65bwoNIq3EzBqIghxgLZRxvy-LbHy-rER20ODo,1428
|
17
|
+
agentr/applications/tavily/app.py,sha256=D4FOhm2yxNbuTVHTo3T8ZsuE5AgwK874YutfYx2Njcw,1805
|
18
|
+
agentr/applications/zenquotes/app.py,sha256=4LjYeWdERI8ZMzkajOsDgy9IRTA9plUKem-rW4M03sA,607
|
19
|
+
agentr/integrations/README.md,sha256=lTAPXO2nivcBe1q7JT6PRa6v9Ns_ZersQMIdw-nmwEA,996
|
20
|
+
agentr/integrations/__init__.py,sha256=_jGeykaUjY97rklbUIGbY7oWQXhtYGRUdYszNRw_NOg,232
|
21
|
+
agentr/integrations/agentr.py,sha256=MWUHItiRvs-9PNi8jcPHXgJ-cxCGVpzIpW7VNWWIoAs,3364
|
22
|
+
agentr/integrations/api_key.py,sha256=cbX_8Je7nX3alIK1g0EqQcyNsNylQRQExGzsUARfytU,552
|
23
|
+
agentr/integrations/base.py,sha256=jZPWwzEHPJxS7onfscp8wwXt0bT66SC9tr75XQaueR4,1536
|
24
|
+
agentr/utils/bridge.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
|
+
agentr/utils/openapi.py,sha256=AEBMAuuDpjmoNjC3KWri6m2Pje0H_h397xE17deLLQg,9563
|
26
|
+
agentr-0.1.8.dist-info/METADATA,sha256=TyG5rgrVd_19Si0Y0ORwiE9LWVVRjGTCs82FOpUxoL0,4388
|
27
|
+
agentr-0.1.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
28
|
+
agentr-0.1.8.dist-info/entry_points.txt,sha256=13fGFeVhgF6_8T-VFiIkNxYO7gDQaUwwTcUNWdvaLQg,42
|
29
|
+
agentr-0.1.8.dist-info/licenses/LICENSE,sha256=CPslwL9mT3MH-lEljRJQHKe646096G-szURVmOD18Lc,1063
|
30
|
+
agentr-0.1.8.dist-info/RECORD,,
|
@@ -1,21 +1,21 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2025 AgentR
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 AgentR
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
agentr-0.1.6.dist-info/RECORD
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
agentr/__init__.py,sha256=oESTO4raGTykM5npHqhuwinRY-zxPtdmeOzXV-se_Bo,31
|
2
|
-
agentr/application.py,sha256=jDcYk8DArOJuE-HEn6_aCUtMn_ckrFpJuoAv4qzyr6c,1607
|
3
|
-
agentr/cli.py,sha256=UndJFUcJ7MCZzlhQB3W70j1oi1a-aYb1pZyKODNtdX8,2872
|
4
|
-
agentr/exceptions.py,sha256=7VusZ_ltcYK3pRcew_Kc8rSllQoxi2RvmxdntJgufqM,275
|
5
|
-
agentr/integration.py,sha256=Btd7VwKb1T94s9ZKApMDAEFv7tlK4oxHfBvIYRAmUe8,3657
|
6
|
-
agentr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
-
agentr/server.py,sha256=WB98K-BrSt77pp_wGTUnJa7Sjeyj_hFbbaB3hS9qnRA,4325
|
8
|
-
agentr/store.py,sha256=IlCGsYjFIzVLsBnse5cuzS4egOn7osPr3zSUt3FwPvA,1655
|
9
|
-
agentr/test.py,sha256=ijzm58aoCSJDAN-ObK2HludNMr2bbvPMURC7ah8wcu4,920
|
10
|
-
agentr/applications/github/app.py,sha256=7ZOPDq95IaYza7IhNkB4zkeZmGDRxffhtRju6asUwLg,2005
|
11
|
-
agentr/applications/google_calendar/app.py,sha256=9PFV_p0KbyuJslcaFnhDmqR6p3G7BR-3Ij5KIaPomTc,2914
|
12
|
-
agentr/applications/google_mail/app.py,sha256=Pf_u0HE1Im7J9xe77RbknfaOmnspHRrKY40CpL270zU,2401
|
13
|
-
agentr/applications/reddit/app.py,sha256=NLBPS0sAqUt5EVHeqcnAn4s6XD-KoapJjlLhSnsUgaY,871
|
14
|
-
agentr/applications/resend/app.py,sha256=FWomwUKrrOHMptXO0P1wbe40JDyBvq_CC7Hrk0qcyWE,1471
|
15
|
-
agentr/applications/tavily/app.py,sha256=WgnEqD0bROiDpliGEUSTww4vH5drRsHTBBGf8WRZacU,1862
|
16
|
-
agentr/applications/zenquotes/app.py,sha256=WRK96H8cTWXRV-Z42QnOa1qfqzs6xmYTpxj1MJooYZM,627
|
17
|
-
agentr/utils/bridge.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
|
-
agentr/utils/openapi.py,sha256=S9MyxrxAs87-WTYgzfKVWhroxIB98_nBG1Ksac0x_pU,6463
|
19
|
-
agentr-0.1.6.dist-info/METADATA,sha256=i9BGPVoqy0tnhkOdG49N8GGMUq7awTTMoc8GPj3WeH4,4266
|
20
|
-
agentr-0.1.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
21
|
-
agentr-0.1.6.dist-info/entry_points.txt,sha256=13fGFeVhgF6_8T-VFiIkNxYO7gDQaUwwTcUNWdvaLQg,42
|
22
|
-
agentr-0.1.6.dist-info/licenses/LICENSE,sha256=vXWvmZhTURz0cuRxzRypSABVSncu9X8-XhwdC1yo6J0,1084
|
23
|
-
agentr-0.1.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|