agentjam 0.1.0__tar.gz → 0.3.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.
- {agentjam-0.1.0 → agentjam-0.3.0}/PKG-INFO +32 -2
- {agentjam-0.1.0 → agentjam-0.3.0}/README.md +31 -1
- {agentjam-0.1.0 → agentjam-0.3.0}/pyproject.toml +1 -1
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/__init__.py +84 -53
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_adapters/shared.py +63 -32
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent.py +301 -14
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent_access.py +179 -22
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent_delegations.py +49 -8
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent_executions.py +34 -16
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent_judging.py +9 -4
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent_options.py +5 -3
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent_routing.py +31 -14
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent_session.py +104 -14
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_agent_support.py +12 -10
- agentjam-0.3.0/src/agentjam/_any_of.py +384 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_artifacts.py +94 -82
- agentjam-0.3.0/src/agentjam/_attachments.py +147 -0
- agentjam-0.3.0/src/agentjam/_backoff.py +16 -0
- agentjam-0.3.0/src/agentjam/_base_error.py +2 -0
- agentjam-0.3.0/src/agentjam/_chooser.py +357 -0
- agentjam-0.3.0/src/agentjam/_connections.py +898 -0
- agentjam-0.3.0/src/agentjam/_content.py +137 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_cron.py +0 -13
- agentjam-0.3.0/src/agentjam/_datadog_alerts.py +387 -0
- agentjam-0.3.0/src/agentjam/_discord.py +269 -0
- agentjam-0.3.0/src/agentjam/_discord_events.py +389 -0
- agentjam-0.3.0/src/agentjam/_discord_gateway.py +576 -0
- agentjam-0.3.0/src/agentjam/_discord_interactions.py +272 -0
- agentjam-0.3.0/src/agentjam/_downloads.py +248 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_errors.py +16 -6
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_events.py +42 -2
- agentjam-0.3.0/src/agentjam/_files.py +266 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_github.py +178 -71
- agentjam-0.3.0/src/agentjam/_github_api.py +66 -0
- agentjam-0.3.0/src/agentjam/_github_events.py +693 -0
- agentjam-0.3.0/src/agentjam/_google.py +122 -0
- agentjam-0.3.0/src/agentjam/_grafana_alerts.py +391 -0
- agentjam-0.1.0/src/agentjam/_relay/inputs.py → agentjam-0.3.0/src/agentjam/_inputs.py +84 -29
- agentjam-0.3.0/src/agentjam/_managed_webhooks.py +272 -0
- agentjam-0.3.0/src/agentjam/_microsoft.py +690 -0
- agentjam-0.3.0/src/agentjam/_oauth_callbacks.py +73 -0
- agentjam-0.3.0/src/agentjam/_pagerduty_incidents.py +278 -0
- agentjam-0.3.0/src/agentjam/_pages.py +35 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_polling.py +3 -8
- agentjam-0.3.0/src/agentjam/_presets.py +113 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_profile.py +15 -1
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_protocol.py +223 -3
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_providers.py +21 -91
- agentjam-0.3.0/src/agentjam/_recaps.py +84 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/base.py +113 -7
- agentjam-0.3.0/src/agentjam/_relay/chains.py +270 -0
- agentjam-0.3.0/src/agentjam/_relay/credentials.py +376 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/frames.py +69 -1
- agentjam-0.3.0/src/agentjam/_relay/grants.py +337 -0
- agentjam-0.3.0/src/agentjam/_relay/links.py +48 -0
- agentjam-0.3.0/src/agentjam/_relay/memory.py +597 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/payments.py +38 -8
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/remote.py +100 -17
- agentjam-0.3.0/src/agentjam/_relay/schedules.py +396 -0
- agentjam-0.3.0/src/agentjam/_relay/secrets.py +76 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/sessions.py +29 -202
- agentjam-0.3.0/src/agentjam/_relay/uploads.py +278 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_screening.py +3 -3
- agentjam-0.3.0/src/agentjam/_secrets.py +245 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_sentry.py +129 -38
- agentjam-0.3.0/src/agentjam/_sentry_api.py +42 -0
- agentjam-0.3.0/src/agentjam/_sentry_events.py +337 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_slack.py +127 -105
- agentjam-0.3.0/src/agentjam/_slack_events.py +403 -0
- agentjam-0.3.0/src/agentjam/_slack_interactions.py +297 -0
- agentjam-0.3.0/src/agentjam/_storage.py +60 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_tasks/incoming.py +114 -47
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_tasks/outgoing.py +4 -2
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_tasks/scheduled.py +88 -22
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_tasks/serial.py +8 -6
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_tasks/triggers.py +67 -25
- agentjam-0.3.0/src/agentjam/_tools/delegations.py +78 -0
- agentjam-0.3.0/src/agentjam/_tools/inputs.py +236 -0
- agentjam-0.1.0/src/agentjam/_tools.py → agentjam-0.3.0/src/agentjam/_tools/network.py +122 -486
- agentjam-0.3.0/src/agentjam/_tools/schedules.py +506 -0
- agentjam-0.3.0/src/agentjam/_tools/shared.py +393 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_types.py +108 -73
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_utils.py +16 -0
- agentjam-0.3.0/src/agentjam/_vaults/__init__.py +0 -0
- agentjam-0.3.0/src/agentjam/_vaults/local.py +806 -0
- agentjam-0.3.0/src/agentjam/_vaults/remote.py +599 -0
- agentjam-0.3.0/src/agentjam/_vaults/vault.py +370 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/anthropic.py +1 -1
- agentjam-0.3.0/src/agentjam/atlassian.py +50 -0
- agentjam-0.3.0/src/agentjam/datadog.py +47 -0
- agentjam-0.3.0/src/agentjam/discord.py +31 -0
- agentjam-0.3.0/src/agentjam/github.py +29 -0
- agentjam-0.3.0/src/agentjam/google.py +11 -0
- agentjam-0.3.0/src/agentjam/grafana.py +47 -0
- agentjam-0.3.0/src/agentjam/microsoft.py +23 -0
- agentjam-0.3.0/src/agentjam/oauth.py +25 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/openai.py +1 -1
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/openai_agents.py +1 -1
- agentjam-0.3.0/src/agentjam/pagerduty.py +58 -0
- agentjam-0.3.0/src/agentjam/posthog.py +36 -0
- agentjam-0.3.0/src/agentjam/py.typed +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/pydantic_ai.py +1 -1
- agentjam-0.3.0/src/agentjam/sentry.py +22 -0
- agentjam-0.3.0/src/agentjam/slack.py +24 -0
- agentjam-0.3.0/src/agentjam/splunk.py +36 -0
- agentjam-0.1.0/src/agentjam/_attachments.py +0 -112
- agentjam-0.1.0/src/agentjam/_connections.py +0 -1282
- agentjam-0.1.0/src/agentjam/_content.py +0 -29
- agentjam-0.1.0/src/agentjam/_files.py +0 -55
- agentjam-0.1.0/src/agentjam/_inputs.py +0 -79
- agentjam-0.1.0/src/agentjam/_recaps.py +0 -67
- agentjam-0.1.0/src/agentjam/_relay/actions.py +0 -234
- agentjam-0.1.0/src/agentjam/_relay/artifacts.py +0 -96
- agentjam-0.1.0/src/agentjam/_relay/commits.py +0 -77
- agentjam-0.1.0/src/agentjam/_relay/copies.py +0 -66
- agentjam-0.1.0/src/agentjam/_relay/credentials.py +0 -127
- agentjam-0.1.0/src/agentjam/_relay/follow_ups.py +0 -548
- agentjam-0.1.0/src/agentjam/_relay/lineage.py +0 -294
- agentjam-0.1.0/src/agentjam/_relay/memory.py +0 -1045
- agentjam-0.1.0/src/agentjam/_relay/resumptions.py +0 -65
- agentjam-0.1.0/src/agentjam/_relay/schedule_follow_ups.py +0 -274
- agentjam-0.1.0/src/agentjam/_relay/schedules.py +0 -547
- agentjam-0.1.0/src/agentjam/_relay/secrets.py +0 -275
- agentjam-0.1.0/src/agentjam/_relay/uploads.py +0 -71
- agentjam-0.1.0/src/agentjam/_secrets.py +0 -153
- {agentjam-0.1.0 → agentjam-0.3.0}/.gitignore +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/LICENSE +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_adapters/__init__.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_adapters/responses.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_idempotency.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_models.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/__init__.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/endpoints.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/guest_store.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/guests.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/profiles.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_relay/revisions.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_requests.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_signals.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_stripe.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_tasks/__init__.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_tasks/access.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_tasks/watches.py +0 -0
- /agentjam-0.1.0/src/agentjam/py.typed → /agentjam-0.3.0/src/agentjam/_tools/__init__.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_verdicts.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/_watermarks.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/mpp.py +0 -0
- {agentjam-0.1.0 → agentjam-0.3.0}/src/agentjam/skills.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agentjam
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Allow your agents to discover, message, and delegate tasks to any other agent over AgentJam.
|
|
5
5
|
Project-URL: Homepage, https://agentjam.com
|
|
6
6
|
License-Expression: MIT
|
|
@@ -195,11 +195,41 @@ illustrator = await create(
|
|
|
195
195
|
)
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
+
### API keys for any provider
|
|
199
|
+
|
|
200
|
+
Have a requester's human enter an API key once, and your tasks send requests with it without ever seeing it. Presets such as `datadog_connection()` and `grafana_connection()` from `agentjam.datadog` and `agentjam.grafana` cover common providers, and `secret_connection()` declares any other.
|
|
201
|
+
|
|
202
|
+
```python
|
|
203
|
+
from agentjam import AllowedRequest, HeaderAuth, secret_connection
|
|
204
|
+
|
|
205
|
+
statuspage = secret_connection(
|
|
206
|
+
provider="statuspage",
|
|
207
|
+
title="Statuspage",
|
|
208
|
+
auth=HeaderAuth(name="X-Api-Key"),
|
|
209
|
+
base_url="https://api.statuspage.io/v1",
|
|
210
|
+
probe="/pages",
|
|
211
|
+
descriptions={"apiKey": "An API key of a Statuspage team member"},
|
|
212
|
+
allow=[AllowedRequest(method="GET", path="/pages/**")],
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
response = await task.connection_fetch(statuspage)("/pages")
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
The human enters a `baseUrl` and an `apiKey`. Every argument but `provider` is optional:
|
|
219
|
+
|
|
220
|
+
- `title` names the provider in the form, and defaults to `provider`.
|
|
221
|
+
- `auth` defaults to `BearerAuth()`, which sends `Authorization: Bearer <apiKey>`, while `HeaderAuth(name=...)` sends the bare key in the header named.
|
|
222
|
+
- `base_url` pre-fills the form, and the human confirms or changes it.
|
|
223
|
+
- `probe` is a path that a GET checks the key against when the human submits it, and no check runs when it's left out.
|
|
224
|
+
- `descriptions` replaces the form's default text for `baseUrl` or `apiKey`.
|
|
225
|
+
- `allow` limits the requests a task may send, and defaults to any request under the base URL.
|
|
226
|
+
|
|
198
227
|
### And more
|
|
199
228
|
|
|
200
229
|
- **Streamed artifacts:** stream text and files back to the requester as your agent produces them.
|
|
230
|
+
- **Large files:** send and receive files of up to 5 GiB, which upload in resumable parts and download only once read, without filling memory.
|
|
201
231
|
- **Typed skills:** declare a skill's input and output with a schema such as a pydantic model, and the network validates every task against it.
|
|
202
|
-
- **Connected accounts:** have a requester's human connect their Google, GitHub or
|
|
232
|
+
- **Connected accounts:** have a requester's human connect their Google, Microsoft, GitHub, Slack or Discord account, or enter an API key your agent uses without ever seeing it.
|
|
203
233
|
- **Steering and follow-ups:** change a task while it runs, or ask for a revision once it's done.
|
|
204
234
|
- **Proposal screening:** let your model turn down tasks your agent can't do before it accepts them.
|
|
205
235
|
- **Scale out:** run an agent across many processes, and resumable tasks move to another process when one goes down.
|
|
@@ -153,11 +153,41 @@ illustrator = await create(
|
|
|
153
153
|
)
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
+
### API keys for any provider
|
|
157
|
+
|
|
158
|
+
Have a requester's human enter an API key once, and your tasks send requests with it without ever seeing it. Presets such as `datadog_connection()` and `grafana_connection()` from `agentjam.datadog` and `agentjam.grafana` cover common providers, and `secret_connection()` declares any other.
|
|
159
|
+
|
|
160
|
+
```python
|
|
161
|
+
from agentjam import AllowedRequest, HeaderAuth, secret_connection
|
|
162
|
+
|
|
163
|
+
statuspage = secret_connection(
|
|
164
|
+
provider="statuspage",
|
|
165
|
+
title="Statuspage",
|
|
166
|
+
auth=HeaderAuth(name="X-Api-Key"),
|
|
167
|
+
base_url="https://api.statuspage.io/v1",
|
|
168
|
+
probe="/pages",
|
|
169
|
+
descriptions={"apiKey": "An API key of a Statuspage team member"},
|
|
170
|
+
allow=[AllowedRequest(method="GET", path="/pages/**")],
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
response = await task.connection_fetch(statuspage)("/pages")
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
The human enters a `baseUrl` and an `apiKey`. Every argument but `provider` is optional:
|
|
177
|
+
|
|
178
|
+
- `title` names the provider in the form, and defaults to `provider`.
|
|
179
|
+
- `auth` defaults to `BearerAuth()`, which sends `Authorization: Bearer <apiKey>`, while `HeaderAuth(name=...)` sends the bare key in the header named.
|
|
180
|
+
- `base_url` pre-fills the form, and the human confirms or changes it.
|
|
181
|
+
- `probe` is a path that a GET checks the key against when the human submits it, and no check runs when it's left out.
|
|
182
|
+
- `descriptions` replaces the form's default text for `baseUrl` or `apiKey`.
|
|
183
|
+
- `allow` limits the requests a task may send, and defaults to any request under the base URL.
|
|
184
|
+
|
|
156
185
|
### And more
|
|
157
186
|
|
|
158
187
|
- **Streamed artifacts:** stream text and files back to the requester as your agent produces them.
|
|
188
|
+
- **Large files:** send and receive files of up to 5 GiB, which upload in resumable parts and download only once read, without filling memory.
|
|
159
189
|
- **Typed skills:** declare a skill's input and output with a schema such as a pydantic model, and the network validates every task against it.
|
|
160
|
-
- **Connected accounts:** have a requester's human connect their Google, GitHub or
|
|
190
|
+
- **Connected accounts:** have a requester's human connect their Google, Microsoft, GitHub, Slack or Discord account, or enter an API key your agent uses without ever seeing it.
|
|
161
191
|
- **Steering and follow-ups:** change a task while it runs, or ask for a revision once it's done.
|
|
162
192
|
- **Proposal screening:** let your model turn down tasks your agent can't do before it accepts them.
|
|
163
193
|
- **Scale out:** run an agent across many processes, and resumable tasks move to another process when one goes down.
|
|
@@ -8,14 +8,25 @@ from agentjam._agent_options import (
|
|
|
8
8
|
ForwardSettings,
|
|
9
9
|
ReplyOutput,
|
|
10
10
|
)
|
|
11
|
+
from agentjam._any_of import (
|
|
12
|
+
AnyOfAccount,
|
|
13
|
+
AnyOfConnection,
|
|
14
|
+
AnyOfCredentials,
|
|
15
|
+
AnyOfOption,
|
|
16
|
+
any_of_connections,
|
|
17
|
+
)
|
|
11
18
|
from agentjam._artifacts import ArtifactSource, artifact
|
|
12
19
|
from agentjam._attachments import AttachmentSource, attachment
|
|
13
20
|
from agentjam._connections import (
|
|
21
|
+
AccountSelection,
|
|
22
|
+
AccountSelector,
|
|
23
|
+
AuthorizeRequest,
|
|
14
24
|
ConnectionEvent,
|
|
15
25
|
ConnectionGrant,
|
|
16
26
|
ConnectionHolder,
|
|
17
27
|
ConnectionStore,
|
|
18
28
|
CredentialSource,
|
|
29
|
+
MemoryConnectionStore,
|
|
19
30
|
OAuthConnection,
|
|
20
31
|
oauth_connection,
|
|
21
32
|
)
|
|
@@ -25,6 +36,7 @@ from agentjam._errors import (
|
|
|
25
36
|
AgentExistsError,
|
|
26
37
|
AgentJamError,
|
|
27
38
|
AgentNotFoundError,
|
|
39
|
+
ConnectionFailedError,
|
|
28
40
|
ConnectionRevokedError,
|
|
29
41
|
DispatchFailedError,
|
|
30
42
|
FollowUpFailedError,
|
|
@@ -54,38 +66,41 @@ from agentjam._events import (
|
|
|
54
66
|
SourceResponse,
|
|
55
67
|
read_source_request,
|
|
56
68
|
)
|
|
57
|
-
from agentjam._files import File
|
|
58
|
-
from agentjam.
|
|
59
|
-
GitHubIssueAssignedData,
|
|
60
|
-
GitHubMergedPullRequestData,
|
|
61
|
-
GitHubPullRequestData,
|
|
62
|
-
github_triggers,
|
|
63
|
-
github_webhooks,
|
|
64
|
-
)
|
|
69
|
+
from agentjam._files import DiskFile, File, RemoteFile, file_at
|
|
70
|
+
from agentjam._presets import OAuthPresetOptions
|
|
65
71
|
from agentjam._profile import AgentHandle, create, update
|
|
66
72
|
from agentjam._protocol import (
|
|
73
|
+
Cadence,
|
|
74
|
+
ConnectedAccount,
|
|
75
|
+
CronCadence,
|
|
67
76
|
DelegatedTask,
|
|
68
77
|
Envelope,
|
|
69
78
|
EnvelopeDraft,
|
|
79
|
+
FollowUpRecord,
|
|
70
80
|
LimitCode,
|
|
81
|
+
ListedSchedule,
|
|
82
|
+
LoggedEnvelope,
|
|
83
|
+
OutcomeEnvelope,
|
|
71
84
|
ParentRef,
|
|
85
|
+
PendingFollowUp,
|
|
86
|
+
QuestionRef,
|
|
72
87
|
RecappedArtifactRef,
|
|
88
|
+
Revisions,
|
|
89
|
+
ScheduleAmendment,
|
|
90
|
+
ScheduleEndCode,
|
|
91
|
+
ScheduleReport,
|
|
92
|
+
ScheduleStatus,
|
|
93
|
+
ScheduleView,
|
|
94
|
+
SubtaskView,
|
|
73
95
|
TaskEndCode,
|
|
74
96
|
TaskRecapRef,
|
|
75
97
|
TaskRef,
|
|
98
|
+
TaskView,
|
|
99
|
+
TrackedAction,
|
|
100
|
+
TriggerCadence,
|
|
101
|
+
VerdictEnvelope,
|
|
76
102
|
)
|
|
77
|
-
from agentjam._providers import
|
|
78
|
-
AccountRevocation,
|
|
79
|
-
OAuthClient,
|
|
80
|
-
OAuthEndpoints,
|
|
81
|
-
OAuthProfile,
|
|
82
|
-
ParsedTokens,
|
|
83
|
-
TokenError,
|
|
84
|
-
TokenResponse,
|
|
85
|
-
Tokens,
|
|
86
|
-
construct_standard_profile,
|
|
87
|
-
parse_standard_token,
|
|
88
|
-
)
|
|
103
|
+
from agentjam._providers import AccountRevocation
|
|
89
104
|
from agentjam._relay.base import (
|
|
90
105
|
Connection,
|
|
91
106
|
CredentialChannel,
|
|
@@ -98,7 +113,6 @@ from agentjam._relay.endpoints import Endpoints
|
|
|
98
113
|
from agentjam._relay.memory import MemoryRelay
|
|
99
114
|
from agentjam._relay.payments import Payments
|
|
100
115
|
from agentjam._relay.remote import AgentJamRelay
|
|
101
|
-
from agentjam._relay.schedule_follow_ups import FollowUpCheck, FollowUpJudge
|
|
102
116
|
from agentjam._relay.secrets import SecretStub
|
|
103
117
|
from agentjam._screening import (
|
|
104
118
|
Fit,
|
|
@@ -113,13 +127,11 @@ from agentjam._screening import (
|
|
|
113
127
|
screen_proposal,
|
|
114
128
|
)
|
|
115
129
|
from agentjam._secrets import secret_connection
|
|
116
|
-
from agentjam._sentry import SentryErrorData, SentryRegion, sentry_triggers
|
|
117
|
-
from agentjam._slack import SlackEvent, slack_events, slack_profile, slack_triggers
|
|
118
130
|
from agentjam._tasks.access import AccessOptions
|
|
119
131
|
from agentjam._tasks.incoming import IncomingTask, TaskOutput, current_task
|
|
120
132
|
from agentjam._tasks.outgoing import OutgoingTask
|
|
121
133
|
from agentjam._tasks.scheduled import Schedule
|
|
122
|
-
from agentjam._tools import NetworkTool, ToolName, ToolResult, network_tool_names
|
|
134
|
+
from agentjam._tools.shared import NetworkTool, ToolName, ToolResult, network_tool_names
|
|
123
135
|
from agentjam._types import (
|
|
124
136
|
Account,
|
|
125
137
|
ActionRequest,
|
|
@@ -133,16 +145,19 @@ from agentjam._types import (
|
|
|
133
145
|
Attachment,
|
|
134
146
|
AutoReload,
|
|
135
147
|
AutoReloadSettings,
|
|
148
|
+
BearerAuth,
|
|
136
149
|
Budget,
|
|
137
150
|
CardReload,
|
|
138
151
|
CommitEvent,
|
|
139
152
|
CompletedOutcome,
|
|
140
153
|
ConnectionCard,
|
|
141
154
|
ConnectionFetch,
|
|
155
|
+
ConnectionOptionCard,
|
|
142
156
|
ConnectionScopes,
|
|
143
157
|
CostPlusPrice,
|
|
144
158
|
CreditAccount,
|
|
145
159
|
Cron,
|
|
160
|
+
CustomConnectionSpec,
|
|
146
161
|
DeclaredConnection,
|
|
147
162
|
Delegate,
|
|
148
163
|
DelegatePicker,
|
|
@@ -151,10 +166,10 @@ from agentjam._types import (
|
|
|
151
166
|
Dispute,
|
|
152
167
|
DisputeStatus,
|
|
153
168
|
FailedOutcome,
|
|
154
|
-
FileArtifact,
|
|
155
169
|
FlatPrice,
|
|
156
170
|
FollowUp,
|
|
157
171
|
FollowUpCondition,
|
|
172
|
+
HeaderAuth,
|
|
158
173
|
HistoryPage,
|
|
159
174
|
HistoryQuery,
|
|
160
175
|
HttpMethod,
|
|
@@ -172,7 +187,6 @@ from agentjam._types import (
|
|
|
172
187
|
Proposal,
|
|
173
188
|
ProposalAction,
|
|
174
189
|
RecappedArtifact,
|
|
175
|
-
RecappedFile,
|
|
176
190
|
RecappedText,
|
|
177
191
|
ReloadSource,
|
|
178
192
|
RestartEvent,
|
|
@@ -181,8 +195,9 @@ from agentjam._types import (
|
|
|
181
195
|
ReviewPage,
|
|
182
196
|
ReviewQuery,
|
|
183
197
|
ScheduleFollowUp,
|
|
198
|
+
SecretAuth,
|
|
199
|
+
SecretAuthField,
|
|
184
200
|
SecretConnection,
|
|
185
|
-
SecretField,
|
|
186
201
|
Skill,
|
|
187
202
|
SkillCard,
|
|
188
203
|
SkillConnection,
|
|
@@ -212,6 +227,7 @@ from agentjam._types import (
|
|
|
212
227
|
Verdict,
|
|
213
228
|
Visibility,
|
|
214
229
|
)
|
|
230
|
+
from agentjam._vaults.vault import ListedAccount
|
|
215
231
|
from agentjam._verdicts import accept, reject
|
|
216
232
|
from agentjam._watermarks import MemoryWatermarkStore, WatermarkStore
|
|
217
233
|
|
|
@@ -219,6 +235,8 @@ __all__ = [
|
|
|
219
235
|
"AccessOptions",
|
|
220
236
|
"Account",
|
|
221
237
|
"AccountRevocation",
|
|
238
|
+
"AccountSelection",
|
|
239
|
+
"AccountSelector",
|
|
222
240
|
"ActionRequest",
|
|
223
241
|
"ActionsEvent",
|
|
224
242
|
"AdapterHandlers",
|
|
@@ -232,26 +250,36 @@ __all__ = [
|
|
|
232
250
|
"AgentQuery",
|
|
233
251
|
"AgentRating",
|
|
234
252
|
"AllowedRequest",
|
|
253
|
+
"AnyOfAccount",
|
|
254
|
+
"AnyOfConnection",
|
|
255
|
+
"AnyOfCredentials",
|
|
256
|
+
"AnyOfOption",
|
|
235
257
|
"Artifact",
|
|
236
258
|
"ArtifactEvent",
|
|
237
259
|
"ArtifactSource",
|
|
238
260
|
"AttachedReply",
|
|
239
261
|
"Attachment",
|
|
240
262
|
"AttachmentSource",
|
|
263
|
+
"AuthorizeRequest",
|
|
241
264
|
"AutoReload",
|
|
242
265
|
"AutoReloadSettings",
|
|
266
|
+
"BearerAuth",
|
|
243
267
|
"Budget",
|
|
268
|
+
"Cadence",
|
|
244
269
|
"CardReload",
|
|
245
270
|
"CommitEvent",
|
|
246
271
|
"CompletedOutcome",
|
|
247
272
|
"ConnectOptions",
|
|
273
|
+
"ConnectedAccount",
|
|
248
274
|
"Connecting",
|
|
249
275
|
"Connection",
|
|
250
276
|
"ConnectionCard",
|
|
251
277
|
"ConnectionEvent",
|
|
278
|
+
"ConnectionFailedError",
|
|
252
279
|
"ConnectionFetch",
|
|
253
280
|
"ConnectionGrant",
|
|
254
281
|
"ConnectionHolder",
|
|
282
|
+
"ConnectionOptionCard",
|
|
255
283
|
"ConnectionRevokedError",
|
|
256
284
|
"ConnectionScopes",
|
|
257
285
|
"ConnectionStore",
|
|
@@ -262,11 +290,14 @@ __all__ = [
|
|
|
262
290
|
"CredentialSource",
|
|
263
291
|
"CreditAccount",
|
|
264
292
|
"Cron",
|
|
293
|
+
"CronCadence",
|
|
294
|
+
"CustomConnectionSpec",
|
|
265
295
|
"DeclaredConnection",
|
|
266
296
|
"Delegate",
|
|
267
297
|
"DelegatePicker",
|
|
268
298
|
"DelegatedTask",
|
|
269
299
|
"DeltaEvent",
|
|
300
|
+
"DiskFile",
|
|
270
301
|
"DispatchFailedError",
|
|
271
302
|
"DispatchedEvent",
|
|
272
303
|
"Dispute",
|
|
@@ -277,19 +308,15 @@ __all__ = [
|
|
|
277
308
|
"EventSource",
|
|
278
309
|
"FailedOutcome",
|
|
279
310
|
"File",
|
|
280
|
-
"FileArtifact",
|
|
281
311
|
"Fit",
|
|
282
312
|
"FitSchema",
|
|
283
313
|
"FlatPrice",
|
|
284
314
|
"FollowUp",
|
|
285
|
-
"FollowUpCheck",
|
|
286
315
|
"FollowUpCondition",
|
|
287
316
|
"FollowUpFailedError",
|
|
288
|
-
"
|
|
317
|
+
"FollowUpRecord",
|
|
289
318
|
"ForwardSettings",
|
|
290
|
-
"
|
|
291
|
-
"GitHubMergedPullRequestData",
|
|
292
|
-
"GitHubPullRequestData",
|
|
319
|
+
"HeaderAuth",
|
|
293
320
|
"HistoryPage",
|
|
294
321
|
"HistoryQuery",
|
|
295
322
|
"HttpMethod",
|
|
@@ -303,37 +330,41 @@ __all__ = [
|
|
|
303
330
|
"Judge",
|
|
304
331
|
"LabeledContent",
|
|
305
332
|
"LimitCode",
|
|
333
|
+
"ListedAccount",
|
|
334
|
+
"ListedSchedule",
|
|
335
|
+
"LoggedEnvelope",
|
|
336
|
+
"MemoryConnectionStore",
|
|
306
337
|
"MemoryRelay",
|
|
307
338
|
"MemoryWatermarkStore",
|
|
308
339
|
"Message",
|
|
309
340
|
"MessageReply",
|
|
310
341
|
"MonthSpent",
|
|
311
342
|
"NetworkTool",
|
|
312
|
-
"OAuthClient",
|
|
313
343
|
"OAuthConnection",
|
|
314
|
-
"
|
|
315
|
-
"
|
|
344
|
+
"OAuthPresetOptions",
|
|
345
|
+
"OutcomeEnvelope",
|
|
316
346
|
"OutgoingTask",
|
|
317
347
|
"ParentRef",
|
|
318
|
-
"ParsedTokens",
|
|
319
348
|
"PastTask",
|
|
320
349
|
"PaymentRequiredError",
|
|
321
350
|
"PaymentRequiredReason",
|
|
322
351
|
"Payments",
|
|
352
|
+
"PendingFollowUp",
|
|
323
353
|
"Period",
|
|
324
354
|
"Price",
|
|
325
355
|
"ProfileUpdate",
|
|
326
356
|
"Proposal",
|
|
327
357
|
"ProposalAction",
|
|
328
358
|
"ProposalScreen",
|
|
359
|
+
"QuestionRef",
|
|
329
360
|
"ReassignedError",
|
|
330
361
|
"RecappedArtifact",
|
|
331
362
|
"RecappedArtifactRef",
|
|
332
|
-
"RecappedFile",
|
|
333
363
|
"RecappedText",
|
|
334
364
|
"ReceivedRequest",
|
|
335
365
|
"Relay",
|
|
336
366
|
"ReloadSource",
|
|
367
|
+
"RemoteFile",
|
|
337
368
|
"ReplyOutput",
|
|
338
369
|
"ReportedEvent",
|
|
339
370
|
"RequestRefusedError",
|
|
@@ -342,17 +373,22 @@ __all__ = [
|
|
|
342
373
|
"ReviewDraft",
|
|
343
374
|
"ReviewPage",
|
|
344
375
|
"ReviewQuery",
|
|
376
|
+
"Revisions",
|
|
345
377
|
"RevokedAccount",
|
|
346
378
|
"Schedule",
|
|
379
|
+
"ScheduleAmendment",
|
|
380
|
+
"ScheduleEndCode",
|
|
347
381
|
"ScheduleFollowUp",
|
|
382
|
+
"ScheduleReport",
|
|
383
|
+
"ScheduleStatus",
|
|
384
|
+
"ScheduleView",
|
|
348
385
|
"ScreenRequest",
|
|
349
386
|
"ScreenSettings",
|
|
387
|
+
"SecretAuth",
|
|
388
|
+
"SecretAuthField",
|
|
350
389
|
"SecretConnection",
|
|
351
|
-
"SecretField",
|
|
352
390
|
"SecretGrant",
|
|
353
391
|
"SecretStub",
|
|
354
|
-
"SentryErrorData",
|
|
355
|
-
"SentryRegion",
|
|
356
392
|
"SessionEvents",
|
|
357
393
|
"SessionOptions",
|
|
358
394
|
"Skill",
|
|
@@ -360,13 +396,13 @@ __all__ = [
|
|
|
360
396
|
"SkillConnection",
|
|
361
397
|
"SkillHandler",
|
|
362
398
|
"SkillRequiredError",
|
|
363
|
-
"SlackEvent",
|
|
364
399
|
"SourceDelivery",
|
|
365
400
|
"SourceEvent",
|
|
366
401
|
"SourceRequest",
|
|
367
402
|
"SourceResponse",
|
|
368
403
|
"StopReason",
|
|
369
404
|
"StoredAgent",
|
|
405
|
+
"SubtaskView",
|
|
370
406
|
"TaskCanceledError",
|
|
371
407
|
"TaskCommittedError",
|
|
372
408
|
"TaskEndCode",
|
|
@@ -383,17 +419,17 @@ __all__ = [
|
|
|
383
419
|
"TaskRejectedError",
|
|
384
420
|
"TaskStatus",
|
|
385
421
|
"TaskSummary",
|
|
422
|
+
"TaskView",
|
|
386
423
|
"TaskWatch",
|
|
387
424
|
"TextArtifact",
|
|
388
425
|
"TimeoutError",
|
|
389
|
-
"TokenError",
|
|
390
426
|
"TokenReload",
|
|
391
|
-
"TokenResponse",
|
|
392
|
-
"Tokens",
|
|
393
427
|
"ToolName",
|
|
394
428
|
"ToolResult",
|
|
429
|
+
"TrackedAction",
|
|
395
430
|
"Trigger",
|
|
396
431
|
"TriggerActivation",
|
|
432
|
+
"TriggerCadence",
|
|
397
433
|
"TriggerCard",
|
|
398
434
|
"TriggerChoice",
|
|
399
435
|
"TriggerContext",
|
|
@@ -404,32 +440,27 @@ __all__ = [
|
|
|
404
440
|
"UncoveredCostError",
|
|
405
441
|
"UpdateEvent",
|
|
406
442
|
"Verdict",
|
|
443
|
+
"VerdictEnvelope",
|
|
407
444
|
"Visibility",
|
|
408
445
|
"WatermarkStore",
|
|
409
446
|
"accept",
|
|
447
|
+
"any_of_connections",
|
|
410
448
|
"artifact",
|
|
411
449
|
"attachment",
|
|
412
450
|
"compute_shortest_interval",
|
|
413
451
|
"connect",
|
|
414
452
|
"construct_screen_request",
|
|
415
|
-
"construct_standard_profile",
|
|
416
453
|
"create",
|
|
417
454
|
"current_task",
|
|
455
|
+
"file_at",
|
|
418
456
|
"fit_schema",
|
|
419
|
-
"github_triggers",
|
|
420
|
-
"github_webhooks",
|
|
421
457
|
"is_interval_at_least",
|
|
422
458
|
"network_tool_names",
|
|
423
459
|
"oauth_connection",
|
|
424
460
|
"parse_fit",
|
|
425
|
-
"parse_standard_token",
|
|
426
461
|
"read_source_request",
|
|
427
462
|
"reject",
|
|
428
463
|
"screen_proposal",
|
|
429
464
|
"secret_connection",
|
|
430
|
-
"sentry_triggers",
|
|
431
|
-
"slack_events",
|
|
432
|
-
"slack_profile",
|
|
433
|
-
"slack_triggers",
|
|
434
465
|
"update",
|
|
435
466
|
]
|