@tangle-network/agent-integrations 0.16.0 → 0.16.2
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.
- package/dist/chunk-DIJ3I66K.js +1000 -0
- package/dist/chunk-DIJ3I66K.js.map +1 -0
- package/dist/index.d.ts +1 -2499
- package/dist/index.js +53 -994
- package/dist/index.js.map +1 -1
- package/dist/specs.d.ts +2506 -0
- package/dist/specs.js +37 -0
- package/dist/specs.js.map +1 -0
- package/docs/adapter-triage.md +166 -0
- package/docs/integration-coverage-checklist.md +3 -2
- package/package.json +6 -1
package/dist/specs.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
INTEGRATION_FAMILIES,
|
|
3
|
+
assertValidIntegrationSpec,
|
|
4
|
+
buildHealthcheckPlan,
|
|
5
|
+
consoleStepsToText,
|
|
6
|
+
getIntegrationFamily,
|
|
7
|
+
getIntegrationSpec,
|
|
8
|
+
integrationSpecToConnector,
|
|
9
|
+
listExecutableIntegrationSpecs,
|
|
10
|
+
listIntegrationSpecs,
|
|
11
|
+
renderAgentToolDescription,
|
|
12
|
+
renderConsoleSteps,
|
|
13
|
+
renderRunbookMarkdown,
|
|
14
|
+
specAuthToConnectorAuth,
|
|
15
|
+
validateCredentialFormat,
|
|
16
|
+
validateCredentialSet,
|
|
17
|
+
validateIntegrationSpec
|
|
18
|
+
} from "./chunk-DIJ3I66K.js";
|
|
19
|
+
export {
|
|
20
|
+
INTEGRATION_FAMILIES,
|
|
21
|
+
assertValidIntegrationSpec,
|
|
22
|
+
buildHealthcheckPlan,
|
|
23
|
+
consoleStepsToText,
|
|
24
|
+
getIntegrationFamily,
|
|
25
|
+
getIntegrationSpec,
|
|
26
|
+
integrationSpecToConnector,
|
|
27
|
+
listExecutableIntegrationSpecs,
|
|
28
|
+
listIntegrationSpecs,
|
|
29
|
+
renderAgentToolDescription,
|
|
30
|
+
renderConsoleSteps,
|
|
31
|
+
renderRunbookMarkdown,
|
|
32
|
+
specAuthToConnectorAuth,
|
|
33
|
+
validateCredentialFormat,
|
|
34
|
+
validateCredentialSet,
|
|
35
|
+
validateIntegrationSpec
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=specs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# Adapter Triage
|
|
2
|
+
|
|
3
|
+
This is the execution-readiness map for `agent-integrations`.
|
|
4
|
+
|
|
5
|
+
The important distinction:
|
|
6
|
+
|
|
7
|
+
- `catalogOnly`: known provider/action metadata. Good for search, planning,
|
|
8
|
+
and demand capture. Not safe to invoke.
|
|
9
|
+
- `setupReady`: has connection/setup/spec metadata. Good for OAuth/admin UI and
|
|
10
|
+
generated app requirements. Still needs an executable provider.
|
|
11
|
+
- `gatewayExecutable`: callable through an explicitly configured gateway
|
|
12
|
+
provider.
|
|
13
|
+
- `firstPartyExecutable`: callable through a reviewed adapter in this package.
|
|
14
|
+
- `sandboxExecutable`: callable directly from generated sandbox apps with a
|
|
15
|
+
narrowed capability token.
|
|
16
|
+
|
|
17
|
+
Do not treat catalog or setup entries as executable tools. Generated apps and
|
|
18
|
+
agents must only receive executable capabilities.
|
|
19
|
+
|
|
20
|
+
## Current First-Party Adapters
|
|
21
|
+
|
|
22
|
+
These are real adapters in `src/connectors/adapters` with read/write or event
|
|
23
|
+
behavior behind the `ConnectorAdapter` contract.
|
|
24
|
+
|
|
25
|
+
| Connector | Auth | Surface | Status |
|
|
26
|
+
| --- | --- | --- | --- |
|
|
27
|
+
| `google-calendar` | OAuth2 | read/write | first-party executable |
|
|
28
|
+
| `google-sheets` | OAuth2 | read/write | first-party executable |
|
|
29
|
+
| `microsoft-calendar` | OAuth2 | read/write | first-party executable |
|
|
30
|
+
| `hubspot` | OAuth2 | read/write | first-party executable |
|
|
31
|
+
| `slack` | OAuth2 | read/write | first-party executable |
|
|
32
|
+
| `notion-database` | OAuth2 | read/write | first-party executable |
|
|
33
|
+
| `salesforce` | OAuth2 | read/write | first-party executable |
|
|
34
|
+
| `twilio-sms` | API key | read/write | first-party executable |
|
|
35
|
+
| `stripe-pack` | API key | read/write | first-party executable |
|
|
36
|
+
| `github` | API key | read/write | first-party executable |
|
|
37
|
+
| `gitlab` | API key | read/write | first-party executable |
|
|
38
|
+
| `airtable` | API key | read/write | first-party executable |
|
|
39
|
+
| `asana` | API key | read/write | first-party executable |
|
|
40
|
+
| `webhook` | HMAC | read/write | first-party executable |
|
|
41
|
+
| `stripe` | HMAC | inbound events | first-party executable |
|
|
42
|
+
| `slack-inbound` | HMAC | inbound events | first-party executable |
|
|
43
|
+
|
|
44
|
+
Aliases matter when comparing coverage:
|
|
45
|
+
|
|
46
|
+
- `outlook-calendar` maps to `microsoft-calendar`.
|
|
47
|
+
- `notion` maps to `notion-database`.
|
|
48
|
+
- `stripe` maps to `stripe-pack` for outbound payment actions.
|
|
49
|
+
- `twilio` maps to `twilio-sms`.
|
|
50
|
+
|
|
51
|
+
## Current Setup/Catalog Coverage
|
|
52
|
+
|
|
53
|
+
`listIntegrationCoverageSpecs()` currently defines 142 setup specs. The default
|
|
54
|
+
registry resolves all coverage IDs to setup-ready entries, including alias
|
|
55
|
+
lookups.
|
|
56
|
+
|
|
57
|
+
| Priority | Count | Current library status |
|
|
58
|
+
| --- | ---: | --- |
|
|
59
|
+
| Tier 0 | 38 | setup-ready specs |
|
|
60
|
+
| Tier 1 | 89 | setup-ready specs |
|
|
61
|
+
| Tier 2 | 14 | setup-ready specs |
|
|
62
|
+
| Long tail | 1 | setup-ready spec |
|
|
63
|
+
|
|
64
|
+
Four Tier 0 entries are canonicalized aliases:
|
|
65
|
+
|
|
66
|
+
- `outlook-calendar` should resolve to `microsoft-calendar`.
|
|
67
|
+
- `notion` should resolve to `notion-database`.
|
|
68
|
+
- `stripe` should resolve to `stripe-pack` for outbound payment actions and
|
|
69
|
+
`stripe` for inbound webhooks.
|
|
70
|
+
- `twilio` should resolve to `twilio-sms`.
|
|
71
|
+
|
|
72
|
+
## Tier 0 Promotion Queue
|
|
73
|
+
|
|
74
|
+
### Already First-Party Executable
|
|
75
|
+
|
|
76
|
+
- Google Calendar
|
|
77
|
+
- Google Sheets
|
|
78
|
+
- Outlook Calendar / Microsoft Calendar
|
|
79
|
+
- Slack
|
|
80
|
+
- HubSpot
|
|
81
|
+
- Notion database
|
|
82
|
+
- Salesforce
|
|
83
|
+
- GitHub
|
|
84
|
+
- Airtable
|
|
85
|
+
- Stripe payments pack
|
|
86
|
+
- Twilio SMS
|
|
87
|
+
- Generic webhook
|
|
88
|
+
|
|
89
|
+
### Next First-Party Adapters
|
|
90
|
+
|
|
91
|
+
These should be promoted before claiming broad production readiness for
|
|
92
|
+
generated agent apps.
|
|
93
|
+
|
|
94
|
+
1. Gmail: read/search/send email, thread summaries, draft/send approval path.
|
|
95
|
+
2. Google Drive: file search/list/download/upload, scoped file grants.
|
|
96
|
+
3. Outlook Mail: read/search/send email, same approval model as Gmail.
|
|
97
|
+
4. OneDrive: file search/list/download/upload.
|
|
98
|
+
5. Google Docs: read/export/create/update docs.
|
|
99
|
+
6. Microsoft Teams: channel/message read/write.
|
|
100
|
+
7. Linear: issues/projects/comments.
|
|
101
|
+
8. Jira: issues/projects/comments.
|
|
102
|
+
9. Zendesk: tickets/users/comments.
|
|
103
|
+
10. Intercom: conversations/contacts/messages.
|
|
104
|
+
11. Shopify: customers/orders/products.
|
|
105
|
+
12. QuickBooks: customers/invoices/payments.
|
|
106
|
+
13. Mailchimp: audiences/campaigns.
|
|
107
|
+
14. Klaviyo: profiles/events/campaign triggers.
|
|
108
|
+
15. Google Analytics: properties/reports.
|
|
109
|
+
16. Postgres: query/read/write with explicit SQL policy.
|
|
110
|
+
17. BigQuery: query/jobs/datasets.
|
|
111
|
+
18. Snowflake: query/warehouse scoped execution.
|
|
112
|
+
19. Amazon S3: list/get/put objects.
|
|
113
|
+
20. Figma: files/comments/assets.
|
|
114
|
+
|
|
115
|
+
### Setup-Ready, Use Gateway Or Declarative REST First
|
|
116
|
+
|
|
117
|
+
These are valuable, but do not need bespoke hand adapters immediately if a
|
|
118
|
+
gateway provider or reviewed declarative REST spec covers the first launch use
|
|
119
|
+
case.
|
|
120
|
+
|
|
121
|
+
- Dropbox, Box, SharePoint, Coda, Confluence
|
|
122
|
+
- Pipedrive, Zoho CRM, Close, Attio
|
|
123
|
+
- Trello, monday.com, ClickUp
|
|
124
|
+
- Freshdesk, Help Scout, Front, Gorgias
|
|
125
|
+
- Xero, NetSuite, Plaid
|
|
126
|
+
- WooCommerce, BigCommerce, Amazon Seller Central
|
|
127
|
+
- Marketo, Braze, Customer.io, SendGrid, Postmark
|
|
128
|
+
- Discord, Telegram, WhatsApp Business
|
|
129
|
+
- Facebook Pages, Instagram Business, LinkedIn, X/Twitter, YouTube
|
|
130
|
+
- Mixpanel, Amplitude, Segment
|
|
131
|
+
- Redshift, MySQL, MongoDB, Supabase, Firebase
|
|
132
|
+
- Google Cloud Storage, Azure Blob Storage
|
|
133
|
+
- Vercel, Cloudflare, Sentry, Datadog, PagerDuty
|
|
134
|
+
- Okta, Auth0
|
|
135
|
+
- Workday, BambooHR, Greenhouse, Lever, Gusto, Rippling
|
|
136
|
+
- DocuSign, PandaDoc, Clio, Ironclad
|
|
137
|
+
- Calendly, Cal.com, Zoom, Google Meet
|
|
138
|
+
- OpenAI, Anthropic, Gemini, Hugging Face
|
|
139
|
+
- Pinecone, Weaviate, Qdrant
|
|
140
|
+
- Typeform, Google Forms, Webflow, WordPress, Contentful, Sanity, Canva, Miro
|
|
141
|
+
|
|
142
|
+
## Product Release Gates
|
|
143
|
+
|
|
144
|
+
Before any product says an integration is “supported” for real users:
|
|
145
|
+
|
|
146
|
+
- It is exposed as `firstPartyExecutable`, `gatewayExecutable`, or
|
|
147
|
+
`sandboxExecutable`.
|
|
148
|
+
- It has a real connection flow or gateway credential path.
|
|
149
|
+
- It has action input schemas good enough for LLM tool binding.
|
|
150
|
+
- It classifies auth, scope, rate-limit, provider outage, validation,
|
|
151
|
+
approval-required, and conflict errors.
|
|
152
|
+
- Writes and destructive actions require approval unless explicitly allowed by
|
|
153
|
+
policy.
|
|
154
|
+
- Mutations have idempotency or an explicit “not idempotent” guard.
|
|
155
|
+
- It has a healthcheck.
|
|
156
|
+
- It has at least one mocked unit test and one live smoke path gated by
|
|
157
|
+
credentials.
|
|
158
|
+
|
|
159
|
+
## Immediate Fixes
|
|
160
|
+
|
|
161
|
+
- Include first-party adapter catalogs in registry composition when a consumer
|
|
162
|
+
provides adapter instances.
|
|
163
|
+
- Add a generated triage command that compares coverage specs, setup specs,
|
|
164
|
+
active catalog entries, and adapter manifests.
|
|
165
|
+
- Promote Gmail, Drive, Outlook Mail, Linear, Jira, Zendesk, Intercom, Shopify,
|
|
166
|
+
QuickBooks, S3, and Postgres first.
|
|
@@ -24,6 +24,7 @@ Goal: cover the integrations that make agents useful for 99% of practical produc
|
|
|
24
24
|
- [ ] Tier 0 connector failures are classified by auth, scope, rate-limit, provider outage, validation, approval, and conflict.
|
|
25
25
|
- [ ] Tier 0 write actions have idempotency and approval tests.
|
|
26
26
|
- [x] Provider gateway adapters can import/sync catalog metadata from Nango/Pipedream/Activepieces registries.
|
|
27
|
+
- [x] Adapter execution triage is documented in [`adapter-triage.md`](./adapter-triage.md).
|
|
27
28
|
|
|
28
29
|
## Tier 0 First-Party Promotion Queue
|
|
29
30
|
|
|
@@ -37,7 +38,7 @@ Goal: cover the integrations that make agents useful for 99% of practical produc
|
|
|
37
38
|
- [x] Generic webhook
|
|
38
39
|
- [ ] Gmail
|
|
39
40
|
- [ ] Outlook Mail
|
|
40
|
-
- [
|
|
41
|
+
- [x] Outlook Calendar via `microsoft-calendar`
|
|
41
42
|
- [ ] Google Drive
|
|
42
43
|
- [ ] Google Docs
|
|
43
44
|
- [ ] Microsoft Teams
|
|
@@ -60,7 +61,7 @@ Goal: cover the integrations that make agents useful for 99% of practical produc
|
|
|
60
61
|
- [ ] Amazon S3
|
|
61
62
|
- [ ] Calendly
|
|
62
63
|
- [ ] Zoom
|
|
63
|
-
- [ ] Microsoft Graph
|
|
64
|
+
- [ ] Microsoft Graph broader graph pack
|
|
64
65
|
- [ ] OpenAI
|
|
65
66
|
- [ ] Figma
|
|
66
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-integrations",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "Vendor-neutral integration contracts and runtime helpers for sandbox and agent apps.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-integrations#readme",
|
|
6
6
|
"repository": {
|
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
"types": "./dist/index.d.ts",
|
|
19
19
|
"import": "./dist/index.js",
|
|
20
20
|
"default": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./specs": {
|
|
23
|
+
"types": "./dist/specs.d.ts",
|
|
24
|
+
"import": "./dist/specs.js",
|
|
25
|
+
"default": "./dist/specs.js"
|
|
21
26
|
}
|
|
22
27
|
},
|
|
23
28
|
"files": [
|