@tangle-network/agent-integrations 0.53.36 → 0.53.37
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/catalog.d.ts +2 -2
- package/dist/catalog.js +8 -8
- package/dist/{chunk-GLOAH446.js → chunk-E3CAVV2V.js} +9 -8
- package/dist/{chunk-GLOAH446.js.map → chunk-E3CAVV2V.js.map} +1 -1
- package/dist/{chunk-NCOHYY6P.js → chunk-EKSAOR2I.js} +2 -2
- package/dist/{chunk-2F2JVX3Z.js → chunk-JR2RWYQO.js} +2 -2
- package/dist/{chunk-X5H5ARIO.js → chunk-LAD6KGK4.js} +9 -14
- package/dist/{chunk-X5H5ARIO.js.map → chunk-LAD6KGK4.js.map} +1 -1
- package/dist/{chunk-FY7B3I5G.js → chunk-TP4MD4PD.js} +2 -2
- package/dist/{chunk-DUWZMKEF.js → chunk-WE7SQ7PB.js} +1 -1
- package/dist/chunk-WE7SQ7PB.js.map +1 -0
- package/dist/{chunk-2E7CMFKX.js → chunk-YEZEIQ6U.js} +22 -4
- package/dist/chunk-YEZEIQ6U.js.map +1 -0
- package/dist/{chunk-ZZUBL7KY.js → chunk-Z3GB2P2B.js} +2 -2
- package/dist/connect/index.d.ts +2 -2
- package/dist/connect/index.js +2 -2
- package/dist/connectors/adapters/index.d.ts +6 -3
- package/dist/connectors/adapters/index.js +2 -2
- package/dist/connectors/index.d.ts +13 -4
- package/dist/connectors/index.js +6 -4
- package/dist/{consumer-Ctva6_kb.d.ts → consumer-UnsjK9iM.d.ts} +1 -1
- package/dist/consumer.d.ts +3 -3
- package/dist/consumer.js +2 -2
- package/dist/{core-types-BcaDdvFi.d.ts → core-types-Cx53j2Xp.d.ts} +1 -1
- package/dist/coverage-catalog.d.ts +2 -2
- package/dist/{importers-C1N3P60U.d.ts → importers-YLXwPCz_.d.ts} +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +11 -9
- package/dist/mcp.d.ts +3 -3
- package/dist/mcp.js +8 -8
- package/dist/middleware/index.d.ts +2 -2
- package/dist/middleware/index.js +2 -2
- package/dist/registry.d.ts +2 -2
- package/dist/registry.js +8 -8
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +8 -8
- package/dist/specs.d.ts +2 -2
- package/dist/specs.js +4 -4
- package/dist/{tangle-id-r1uPd9QH.d.ts → tangle-id--7mgjNkq.d.ts} +1 -1
- package/dist/{types-ooBfkUOy.d.ts → types-qFsboS2G.d.ts} +6 -0
- package/docs/adapter-triage.md +6 -4
- package/package.json +1 -1
- package/dist/chunk-2E7CMFKX.js.map +0 -1
- package/dist/chunk-DUWZMKEF.js.map +0 -1
- /package/dist/{chunk-NCOHYY6P.js.map → chunk-EKSAOR2I.js.map} +0 -0
- /package/dist/{chunk-2F2JVX3Z.js.map → chunk-JR2RWYQO.js.map} +0 -0
- /package/dist/{chunk-FY7B3I5G.js.map → chunk-TP4MD4PD.js.map} +0 -0
- /package/dist/{chunk-ZZUBL7KY.js.map → chunk-Z3GB2P2B.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { IntegrationRegistrySummary, IntegrationRegistryConflict, ComposeIntegrationRegistryOptions, IntegrationRegistry } from './registry.js';
|
|
2
2
|
export { IntegrationCatalogExecutability, IntegrationRegistryEntry, IntegrationRegistrySourceRef, IntegrationSupportTier, buildDefaultIntegrationRegistry, canonicalConnectorId, classifyIntegrationCatalogExecutability, composeIntegrationRegistry, inferIntegrationSupportTier, summarizeIntegrationRegistry } from './registry.js';
|
|
3
|
-
import { n as IntegrationPolicyEngine, o as IntegrationApprovalRequest, I as IntegrationActor, p as IntegrationGuardContext, q as IntegrationPolicyDecision, b as IntegrationConnector, e as IntegrationConnectorAction, i as IntegrationProviderKind, c as IntegrationConnection, h as IntegrationCatalogSource, j as IntegrationProvider, r as IntegrationSecretStore, s as IntegrationConnectionStore, t as IntegrationCredentialsRotatedEvent, u as IntegrationOAuthStateStore, v as IntegrationOAuthState, w as IntegrationOAuthStateOutcome, S as SecretRef, d as IntegrationConnectorCategory, f as IntegrationActionRisk, g as IntegrationDataClass, x as IntegrationTriggerSubscription, y as IntegrationTriggerEvent, k as IntegrationActionGuard, m as IntegrationActionResult, l as IntegrationActionRequest, z as StartAuthRequest, A as StartAuthResult, C as CompleteAuthRequest, B as InvokeWithCapabilityRequest, D as IntegrationCapability, E as IntegrationHubOptions, F as IssueCapabilityRequest, a as IssuedIntegrationCapability, H as HttpIntegrationProviderOptions } from './core-types-
|
|
4
|
-
export { G as IntegrationConnectorTrigger } from './core-types-
|
|
5
|
-
import { I as IntegrationAuditSink } from './consumer-
|
|
6
|
-
export { C as CapabilityBundleResult, a as CheckConnectorInput, b as CheckConnectorResult, c as CreateGrantsInput, d as InMemoryIntegrationAuditStore, e as InMemoryIntegrationHealthcheckStore, f as IntegrationAuditEvent, g as IntegrationAuditEventType, h as IntegrationAuditFilter, i as IntegrationAuditStore, j as IntegrationHealthcheckCheck, k as IntegrationHealthcheckResult, l as IntegrationHealthcheckStatus, m as IntegrationHealthcheckStore, n as IntegrationHubAuth, o as IntegrationHubClient, p as IntegrationHubClientOptions, q as IntegrationHubRequestError, L as ListGrantsInput, M as MintCapabilityBundleInput, R as ResolveManifestInput, r as createAuditingActionGuard, s as createIntegrationAuditEvent, t as createIntegrationHubClient, u as healthcheckRequest, v as runIntegrationHealthcheck, w as runIntegrationHealthchecks, x as sanitizeAuditConnection } from './consumer-
|
|
3
|
+
import { n as IntegrationPolicyEngine, o as IntegrationApprovalRequest, I as IntegrationActor, p as IntegrationGuardContext, q as IntegrationPolicyDecision, b as IntegrationConnector, e as IntegrationConnectorAction, i as IntegrationProviderKind, c as IntegrationConnection, h as IntegrationCatalogSource, j as IntegrationProvider, r as IntegrationSecretStore, s as IntegrationConnectionStore, t as IntegrationCredentialsRotatedEvent, u as IntegrationOAuthStateStore, v as IntegrationOAuthState, w as IntegrationOAuthStateOutcome, S as SecretRef, d as IntegrationConnectorCategory, f as IntegrationActionRisk, g as IntegrationDataClass, x as IntegrationTriggerSubscription, y as IntegrationTriggerEvent, k as IntegrationActionGuard, m as IntegrationActionResult, l as IntegrationActionRequest, z as StartAuthRequest, A as StartAuthResult, C as CompleteAuthRequest, B as InvokeWithCapabilityRequest, D as IntegrationCapability, E as IntegrationHubOptions, F as IssueCapabilityRequest, a as IssuedIntegrationCapability, H as HttpIntegrationProviderOptions } from './core-types-Cx53j2Xp.js';
|
|
4
|
+
export { G as IntegrationConnectorTrigger } from './core-types-Cx53j2Xp.js';
|
|
5
|
+
import { I as IntegrationAuditSink } from './consumer-UnsjK9iM.js';
|
|
6
|
+
export { C as CapabilityBundleResult, a as CheckConnectorInput, b as CheckConnectorResult, c as CreateGrantsInput, d as InMemoryIntegrationAuditStore, e as InMemoryIntegrationHealthcheckStore, f as IntegrationAuditEvent, g as IntegrationAuditEventType, h as IntegrationAuditFilter, i as IntegrationAuditStore, j as IntegrationHealthcheckCheck, k as IntegrationHealthcheckResult, l as IntegrationHealthcheckStatus, m as IntegrationHealthcheckStore, n as IntegrationHubAuth, o as IntegrationHubClient, p as IntegrationHubClientOptions, q as IntegrationHubRequestError, L as ListGrantsInput, M as MintCapabilityBundleInput, R as ResolveManifestInput, r as createAuditingActionGuard, s as createIntegrationAuditEvent, t as createIntegrationHubClient, u as healthcheckRequest, v as runIntegrationHealthcheck, w as runIntegrationHealthchecks, x as sanitizeAuditConnection } from './consumer-UnsjK9iM.js';
|
|
7
7
|
import { IntegrationSandboxBundle, IntegrationManifest, IntegrationManifestResolution, IntegrationRuntime, IntegrationGrantStore, IntegrationRequirementMode } from './runtime.js';
|
|
8
8
|
export { InMemoryIntegrationGrantStore, IntegrationCapabilityBinding, IntegrationGrant, IntegrationRequirement, IntegrationRequirementResolution, IntegrationRequirementStatus, IntegrationRuntimeHub, IntegrationRuntimeOptions, createIntegrationRuntime } from './runtime.js';
|
|
9
|
-
import { C as ConnectorAdapter, R as ResolvedDataSource, a as ConnectorCredentials } from './types-
|
|
10
|
-
export { A as AuthSpec, b as CASStrategy, c as Capability, d as CapabilityClass, e as CapabilityMutation, f as CapabilityMutationResult, g as CapabilityParameterSchema, h as CapabilityRead, i as CapabilityReadResult, j as ConnectorInvocation, k as ConnectorManifest, l as ConnectorManifestValidationIssue, m as ConnectorManifestValidationResult, n as ConsistencyModel, o as CredentialsExpired, D as DataSourceMetadata, E as EventHandlerResult, I as InboundEvent, O as OAuth2TokenClientAuthMethod, P as ProviderConfigError, p as ProviderHttpErrorInit, q as ProviderRateLimited, r as ProviderRateLimitedInit, s as RateLimitSpec, t as ResourceContention, T as TokenMetadataSource, u as assertValidConnectorManifest, v as validateConnectorManifest } from './types-
|
|
9
|
+
import { C as ConnectorAdapter, R as ResolvedDataSource, a as ConnectorCredentials } from './types-qFsboS2G.js';
|
|
10
|
+
export { A as AuthSpec, b as CASStrategy, c as Capability, d as CapabilityClass, e as CapabilityMutation, f as CapabilityMutationResult, g as CapabilityParameterSchema, h as CapabilityRead, i as CapabilityReadResult, j as ConnectorInvocation, k as ConnectorManifest, l as ConnectorManifestValidationIssue, m as ConnectorManifestValidationResult, n as ConsistencyModel, o as CredentialsExpired, D as DataSourceMetadata, E as EventHandlerResult, I as InboundEvent, O as OAuth2TokenClientAuthMethod, P as ProviderConfigError, p as ProviderHttpErrorInit, q as ProviderRateLimited, r as ProviderRateLimitedInit, s as RateLimitSpec, t as ResourceContention, T as TokenMetadataSource, u as assertValidConnectorManifest, v as validateConnectorManifest } from './types-qFsboS2G.js';
|
|
11
11
|
export { b as IntegrationErrorCode, I as IntegrationRuntimeError, a as IntegrationUserAction, N as NormalizedIntegrationError, n as normalizeIntegrationError, s as statusForCode } from './errors-Bg3_rxnQ.js';
|
|
12
12
|
export { ConnectFlowOptions, FinishConnectInput, FinishConnectOutput, InMemoryConnectStateStore, StartConnectInput, StartConnectOutput, finishConnectFlow, revokeConnectFlow, startConnectFlow } from './connect/index.js';
|
|
13
13
|
export { ExpressLikeRequest, ExpressLikeResponse, HonoLikeContext, RequireTangleAuthOptions, TangleAuthContext, TangleAuthOutcome, TangleAuthReason, expressTangleAuthMiddleware, extractToken, honoTangleAuthMiddleware, requireTangleAuth } from './middleware/index.js';
|
|
14
|
-
export { BundledAuthMode, DEFAULT_SIGNATURE_TOLERANCE_SECONDS, EmailVerifyOptions, ExchangeCodeInput, GenericHmacVerifyOptions, InMemoryOAuthFlowStore, OAuthFlowStore, OAuthTokens, ParsedStripeSignatureHeader, PendingOAuthFlow, RefreshInput, SlackVerifyOptions, StartOAuthInput, StartOAuthOutput, StripeVerifyOptions, TwilioVerifyOptions, _resetPendingFlowsForTests, bundledApiKeyHint, bundledAuthMode, bundledOAuth2Auth, consumePendingFlow, exchangeAuthorizationCode, firstHeader, getBundledAdapterManifest, hasBundledAdapter, listBundledAdapterKinds, listBundledAdapterManifests, parseStripeSignatureHeader, refreshAccessToken, startOAuthFlow, verifyEmailSignature, verifyHmacSignature, verifySlackSignature, verifyStripeSignature, verifyTwilioSignature } from './connectors/index.js';
|
|
14
|
+
export { BundledAuthMode, DEFAULT_SIGNATURE_TOLERANCE_SECONDS, EmailVerifyOptions, ExchangeCodeInput, GenericHmacVerifyOptions, InMemoryOAuthFlowStore, OAuthFlowStore, OAuthTokens, ParsedStripeSignatureHeader, PendingOAuthFlow, RefreshInput, SlackVerifyOptions, StartOAuthInput, StartOAuthOutput, StripeVerifyOptions, TwilioVerifyOptions, _resetPendingFlowsForTests, bundledApiKeyHint, bundledAuthMode, bundledOAuth2Auth, consumePendingFlow, exchangeAuthorizationCode, firstHeader, getBundledAdapterManifest, hasBundledAdapter, listBundledAdapterKinds, listBundledAdapterManifests, listBundledConnectorAdapters, parseStripeSignatureHeader, refreshAccessToken, startOAuthFlow, verifyEmailSignature, verifyHmacSignature, verifySlackSignature, verifyStripeSignature, verifyTwilioSignature } from './connectors/index.js';
|
|
15
15
|
export { CONNECTOR_ADAPTER_FACTORIES, ClientCredentialsRegion, ClientCredentialsRestSpec, ConnectorAdapterFactoryDefinition, ConnectorAdapterFactoryEnvNames, DocuSealOptions, EtsyOptions, GmailOptions, GoogleCalendarOptions, GoogleDocsOptions, GoogleDriveOptions, GoogleErrorClass, GoogleFormsOptions, GoogleSheetsOptions, HelloSignOptions, HubSpotOptions, KafkaConnectorOptions, MicrosoftCalendarOptions, MicrosoftGraphOptions, MicrosoftTeamsOptions, MongoDbConnectorOptions, MySqlConnectorOptions, NotionOptions, OneDriveOptions, OutlookMailOptions, PandaDocOptions, PostgresConnectorOptions, RabbitMqConnectorOptions, RedisConnectorOptions, RedshiftConnectorOptions, RestConnectorSpec, RestCredentialPlacement, RestOperationSpec, RestRequestSpec, SftpConnectorOptions, SharePointOptions, SlackOptions, TELEGRAM_FILE_DOWNLOAD_ROOT, TwitterOptions, WhatsappBusinessOptions, activecampaignConnector, actualbudgetConnector, acuitySchedulingConnector, acumbamailConnector, adobeCreativeCloudConnector, adobeSignConnector, adpConnector, affinityConnector, afforaiConnector, agentxConnector, aianswerConnector, aidbaseConnector, aipriseConnector, airOpsConnector, aircallConnector, airparserConnector, airtableConnector, airtopConnector, alaiConnector, altTextAiConnector, alttextifyConnector, amazonBedrockConnector, amazonEventBridgeConnector, amazonS3Connector, amazonSecretsManagerConnector, amazonSesConnector, amazonSnsConnector, amazonSqsConnector, amazonTextractConnector, aminosConnector, ampecoConnector, amplemarketConnector, anthropicConnector, anyhookWebsocketConnector, apifyConnector, apitableConnector, apitemplateIoConnector, apolloConnector, appfollowConnector, asanaConnector, ashbyConnector, askHandleConnector, asknewsConnector, assemblyaiConnector, attioConnector, auth0Connector, autoboundConnector, autocallsConnector, avalaraConnector, avianConnector, avomaConnector, azureAdConnector, azureBlobStorageConnector, azureCommunicationServicesConnector, azureEventGridConnector, azureOpenaiConnector, azureServiceBusConnector, backblazeConnector, bamboohrConnector, bannerbearConnector, barcodeLookupConnector, baremetricsConnector, base44Connector, basecampConnector, baserowConnector, beamerConnector, beehiivConnector, bettercontactConnector, bettermodeConnector, bexioConnector, bigcommerceConnector, biginByZohoConnector, bikaConnector, billComConnector, billplzConnector, bitlyConnector, blandAiConnector, blueskyConnector, bolnaConnector, bonjoroConnector, bookedinConnector, boxConnector, braveSearchConnector, brazeConnector, brexConnector, brightdataConnector, brilliantDirectoriesConnector, browseAiConnector, builtwithConnector, buttondownConnector, calComConnector, calendlyConnector, cambAiConnector, campaignMonitorConnector, cannyConnector, canvaConnector, capsuleCrmConnector, captainDataConnector, cartloomConnector, cashfreePaymentsConnector, certopusConnector, chainAwareConnector, chainalysisApiConnector, chaindeskConnector, chargebeeConnector, chargekeepConnector, chartlyConnector, chatAidConnector, chatDataConnector, chatbaseConnector, chatlingConnector, chatnodeConnector, chatsistantConnector, chatwootConnector, checkoutConnector, chessComConnector, circleConnector, classifyGoogleError, classifyGoogleReason, claudeConnector, clayConnector, clearoutConnector, clearoutphoneConnector, clicdataConnector, clickfunnelsConnector, clicksendConnector, clickupConnector, clientCredentialsRestConnector, clioConnector, clockifyConnector, clockodoConnector, closeConnector, cloudconvertConnector, cloudinaryConnector, cloutlyConnector, codaConnector, codyConnector, cognismConnector, cognitoFormsConnector, cohereConnector, cometapiConnector, comfyicuConnector, commonRoomConnector, confluenceConnector, constantContactConnector, contactoutConnector, contentfulConnector, contextualAiConnector, contiguityConnector, convertkitConnector, copperConnector, copyAiConnector, couchbaseConnector, createKafkaConnector, createMongoDbConnector, createMySqlConnector, createPostgresConnector, createRabbitMqConnector, createRedisConnector, createRedshiftConnector, createSftpConnector, crispConnector, crustdataConnector, cryptolensConnector, csvFilesConnector, customerIoConnector, customgptConnector, dappierConnector, dashworksConnector, datadogConnector, datafuelConnector, datocmsConnector, declarativeRestConnector, deepgramConnector, deepseekConnector, demandbaseConnector, denserAiConnector, descriptConnector, detectingAiConnector, devinConnector, dialpadConnector, digitalOceanConnector, digitalPilotConnector, discordConnector, discourseConnector, dittofeedConnector, docsbotConnector, doctlyConnector, documentproConnector, documergeConnector, docuseal, docusignConnector, dripConnector, dropboxConnector, dubConnector, duckdbConnector, dumplingAiConnector, dustConnector, easyPeasyAiConnector, ebayConnector, echowinConnector, edenAiConnector, elasticEmailConnector, elevenlabsConnector, emailitConnector, emailoctopusConnector, enrichlayerConnector, esignaturesConnector, etsyConnector, everhourConnector, exaConnector, excelFilesConnector, facebookLeadsConnector, facebookPagesConnector, factorsAiConnector, fathomAnalyticsConnector, fathomConnector, featheryConnector, fellowConnector, figjamConnector, figmaConnector, filloutFormsConnector, findymailConnector, firebaseConnector, fireberryConnector, firecrawlConnector, firefliesAiConnector, flipandoConnector, flowParserConnector, flowiseConnector, flowluConnector, folkConnector, foreplayCoConnector, formbricksConnector, formstackConnector, fountainConnector, fragmentConnector, frameConnector, freeAgentConnector, freshdeskConnector, freshsalesConnector, freshserviceConnector, frontConnector, fullenrichConnector, gameballConnector, gammaConnector, geminiConnector, genderApiConnector, generatebannersConnector, getresponseConnector, ghostcmsConnector, giftbitConnector, gistlyConnector, giteaConnector, githubConnector, gitlabConnector, glideConnector, gmail, gongConnector, googleAnalyticsConnector, googleApiError, googleBigqueryConnector, googleCalendar, googleCloudStorageConnector, googleContactsConnector, googleDocs, googleDrive, googleErrorReason, googleForms, googleGeminiConnector, googleMeetConnector, googleMyBusinessConnector, googlePubSubConnector, googleSearchConnector, googleSearchConsoleConnector, googleSheets, googleSlidesConnector, googleTasksConnector, googleTestFailureReason, googleVertexaiConnector, googlechatConnector, gorgiasConnector, gotifyConnector, gptzeroDetectAiConnector, granolaConnector, greenhouseConnector, greenptConnector, greipConnector, griptapeConnector, gristConnector, guideliteConnector, gustoConnector, harvestConnector, hashiCorpVaultConnector, hastewireConnector, heartbeatConnector, hedyConnector, hellosign, helpscoutConnector, heygenConnector, heymarketSmsConnector, heyreachConnector, hightouchConnector, housecallProConnector, httpConnector, hubspot, huggingFaceConnector, huggingfaceConnector, humeAiConnector, hunterConnector, hystructConnector, ibmCognoseConnector, imageRouterConnector, imapConnector, influencersClubConnector, insightlyConnector, insightoAiConnector, instaChartsConnector, instagramBusinessConnector, instantlyAiConnector, instasentConnector, intercomConnector, invoiceninjaConnector, ironcladConnector, jinaAiConnector, jiraCloudConnector, jiraDataCenterConnector, joggAiConnector, jotformConnector, justInvoiceConnector, justcallConnector, kafkaConnector, kallabotAiConnector, kapsoConnector, kimaiConnector, kissflowConnector, kizeoFormsConnector, klaviyoConnector, klentyConnector, knackConnector, knockConnector, koFiConnector, kommoConnector, kudosityConnector, kustomerConnector, lagrowthmachineConnector, leadConnectorConnector, leadfeederConnector, leadmagicConnector, leapAiConnector, leexiConnector, lemlistConnector, lemonSqueezyConnector, letsCalendarConnector, lettaConnector, leverConnector, lightfunnelsConnector, linearConnector, linkaConnector, linkedinConnector, linkupConnector, llmrailsConnector, lobstermailConnector, localaiConnector, loftyConnector, logrocketConnector, logsnagConnector, lokaliseConnector, loopsConnector, lucidyaConnector, lushaConnector, luxuryPresenceConnector, magicalApiConnector, mailchainConnector, mailchimpConnector, mailerLiteConnector, mailercheckConnector, mailerooConnector, mailgunConnector, makeConnector, manychatConnector, marketoConnector, mastodonConnector, matomoConnector, matrixConnector, mattermostConnector, mauticConnector, medullarConnector, meetgeekAiConnector, memConnector, messagebirdConnector, metabaseConnector, microsoft365PeopleConnector, microsoft365PlannerConnector, microsoftCalendar, microsoftDynamics365BusinessCentralConnector, microsoftDynamicsCrmConnector, microsoftExcel365Connector, microsoftGraph, microsoftOnenoteConnector, microsoftPowerBiConnector, microsoftTeams, microsoftTodoConnector, millionverifierConnector, mindStudioConnector, mindeeConnector, miroConnector, missiveConnector, mixmaxConnector, mixpanelConnector, modelslabConnector, modjoConnector, mollieConnector, mondayConnector, mongodbConnector, mycaseConnector, mysqlConnector, n8nConnector, netlifyConnector, netsuiteConnector, neverbounceConnector, niftyConnector, ninjapipeConnector, nocodbConnector, nooksConnector, notion, notionConnector, ntfyConnector, oceanIoConnector, odooConnector, oktaConnector, omniCoConnector, omnihrConnector, oneDrive, oneSpanSignConnector, oneloginConnector, openPhoneConnector, openRouterConnector, openaiConnector, openmicAiConnector, opnformConnector, opportifyConnector, opsgenieConnector, oracleDatabaseConnector, orimonConnector, outlookMail, outreachConnector, paddleConnector, pagerdutyConnector, pandadoc, paperformConnector, parquetFilesConnector, parseurConnector, pastefyConnector, paychexConnector, paywhirlConnector, pdfmonkeyConnector, peekshotConnector, perplexityAiConnector, personalAiConnector, phantombusterConnector, phonyConnector, pinchPaymentsConnector, pineconeConnector, pingIdentityConnector, pipedreamConnector, pipedriveConnector, placidConnector, plaidConnector, plausibleConnector, pocketbaseConnector, pollybotAiConnector, polytomicConnector, postgresConnector, posthogConnector, postizConnector, postmarkConnector, predictLeadsConnector, productboardConnector, proxycurlConnector, publicKafkaSocketFactory, pushbulletConnector, pushoverConnector, qawafelConnector, qdrantConnector, quadernoConnector, quickbooksConnector, quickzuConnector, rabbitMqConnector, raiaAiConnector, rampConnector, rapidtextAiConnector, reachinboxConnector, recallAiConnector, recurlyConnector, redditConnector, redisConnector, redshiftConnector, reoonVerifierConnector, replyIoConnector, resolveConnectorAdapterFactoryOptions, retableConnector, retellAiConnector, ringcentralConnector, ripplingConnector, robollyConnector, rssConnector, runwareConnector, saasticConnector, sageIntacctConnector, saleorConnector, salesforceConnector, saleshandyConnector, salesloftConnector, sanityConnector, sardisConnector, savvycalConnector, scimConnector, scrapegraphaiConnector, scrapelessConnector, seamlessAiConnector, seekTableConnector, segmentConnector, semrushConnector, sendgridConnector, sendinblueConnector, sendpulseConnector, senjaConnector, sentryConnector, serperConnector, serpstatConnector, serviceNowConnector, sftpConnector, sharepoint, shippoConnector, shopifyConnector, shortIoConnector, signNowConnector, signrequestConnector, signwellConnector, similarwebConnector, simplirouteConnector, simplybookmeConnector, skyprepConnector, slack, slackEventsConnector, smartleadConnector, smartsheetConnector, smartsuiteConnector, smooveConnector, smsmodeConnector, snovIoConnector, snowflakeConnector, socialkitConnector, squareConnector, stripeConnector, stripePackConnector, stripeWebhookReceiverConnector, supabaseConnector, supadataConnector, swarmnodeConnector, systemeIoConnector, tableauConnector, talkableConnector, tallyConnector, taxjarConnector, teableConnector, telegramConnector, telnyxConnector, tenzoConnector, textcortexAiConnector, theirstackConnector, ticktickConnector, timeOpsConnector, timelinesAiConnector, tlDvConnector, todoistConnector, togglTrackConnector, totalcmsConnector, trelloConnector, twentyConnector, twilioConnector, twilioSmsConnector, twinLabsConnector, twitter, twitterConnector, typeformConnector, typefullyConnector, umamiConnector, upgradechatConnector, uscreenConnector, usergemsConnector, validatedmailsConnector, vapiConnector, vboutConnector, vercelConnector, videoaskConnector, vidlab7Connector, vlmRunConnector, voucheryIoConnector, vtexConnector, vtigerConnector, wafeqConnector, warmlyConnector, weaviateConnector, webflowConnector, webhookConnector, webscrapingAiConnector, whatConvertsConnector, whatsappBusiness, whatsappConnector, whatsscaleConnector, wizaConnector, wonderchatConnector, woocommerceConnector, woodpeckerConnector, wootricConnector, wordpressConnector, workableConnector, workdayConnector, wrikeConnector, writesonicBulkConnector, wufooConnector, xeroConnector, youcanbookmeConnector, youtubeDataConnector, zagomailConnector, zapierConnector, zendeskConnector, zendeskSellConnector, zenrowsConnector, zeplinConnector, zerobounceConnector, zohoBookingsConnector, zohoBooksConnector, zohoCampaignsConnector, zohoCrmConnector, zohoDeskConnector, zohoInvoiceConnector, zohoMailConnector, zoomConnector, zoominfoConnector, zuoraConnector } from './connectors/adapters/index.js';
|
|
16
|
-
export { D as DEFAULT_TANGLE_PLATFORM_URL, d as TANGLE_API_KEY_PREFIX, e as TANGLE_SERVICE_TOKEN_PREFIX, b as TangleIdentityClient, T as TangleIdentityOptions, f as TangleIdentityUnreachableError, c as TangleTokenVerifyFailure, g as TangleTokenVerifyResult, a as TangleUserSummary, h as TangleWorkspaceSummary, i as createTangleIdentityClient, t as tangleIdentity } from './tangle-id
|
|
16
|
+
export { D as DEFAULT_TANGLE_PLATFORM_URL, d as TANGLE_API_KEY_PREFIX, e as TANGLE_SERVICE_TOKEN_PREFIX, b as TangleIdentityClient, T as TangleIdentityOptions, f as TangleIdentityUnreachableError, c as TangleTokenVerifyFailure, g as TangleTokenVerifyResult, a as TangleUserSummary, h as TangleWorkspaceSummary, i as createTangleIdentityClient, t as tangleIdentity } from './tangle-id--7mgjNkq.js';
|
|
17
17
|
export { IntegrationCatalogView, IntegrationToolDefinition, IntegrationToolSearchFilters, IntegrationToolSearchResult, McpToolDefinition, buildIntegrationCatalogView, buildIntegrationToolCatalog, describeIntegrationTool, flattenIntegrationToolDefinition, integrationToolName, parseIntegrationToolName, searchIntegrationTools, toMcpTools } from './catalog.js';
|
|
18
|
-
export { G as GraphqlOperationSpec, I as ImportCatalogOptions, a as McpCatalog, M as McpCatalogTool, O as OpenApiDocument, b as OpenApiOperation, i as importGraphqlConnector, c as importMcpConnector, d as importOpenApiConnector } from './importers-
|
|
18
|
+
export { G as GraphqlOperationSpec, I as ImportCatalogOptions, a as McpCatalog, M as McpCatalogTool, O as OpenApiDocument, b as OpenApiOperation, i as importGraphqlConnector, c as importMcpConnector, d as importOpenApiConnector } from './importers-YLXwPCz_.js';
|
|
19
19
|
export { IntegrationActionPack, IntegrationCoveragePriority, IntegrationCoverageSpec, buildIntegrationCoverageConnectors, integrationCoverageChecklistMarkdown, listIntegrationCoverageSpecs } from './coverage-catalog.js';
|
|
20
20
|
export { ApiKeyAuthSpec, ConnectorAuthSpec, ConsoleStep, CredentialFieldSpec, CredentialValidationInput, CredentialValidationResult, CustomAuthSpec, HealthcheckPlan, HealthcheckSpec, HmacAuthSpec, INTEGRATION_FAMILIES, IntegrationAuthMode, IntegrationAuthSpec, IntegrationFamilyId, IntegrationFamilySpec, IntegrationLifecycleSpec, IntegrationPlannerHints, IntegrationSetupSpec, IntegrationSpec, IntegrationSpecStatus, IntegrationSpecValidationIssue, IntegrationSpecValidationResult, NoneAuthSpec, NormalizedPermission, OAuth2AuthSpec, PermissionDescriptor, PostSetupCheck, Quirk, RenderSpecOptions, RenderedConsoleStep, ScopeDescriptor, assertValidIntegrationSpec, buildHealthcheckPlan, consoleStepsToText, getIntegrationFamily, getIntegrationSpec, integrationSpecToConnector, listExecutableIntegrationSpecs, listIntegrationSpecs, renderAgentToolDescription, renderConsoleSteps, renderRunbookMarkdown, resolveConnectorAuthSpec, specAuthToConnectorAuth, validateCredentialFormat, validateCredentialSet, validateIntegrationSpec } from './specs.js';
|
|
21
21
|
import 'kafkajs';
|
package/dist/index.js
CHANGED
|
@@ -119,19 +119,19 @@ import {
|
|
|
119
119
|
validateIntegrationManifest,
|
|
120
120
|
validateProviderPassthroughRequest,
|
|
121
121
|
verifyCapabilityToken
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-LAD6KGK4.js";
|
|
123
123
|
import {
|
|
124
124
|
InMemoryConnectStateStore,
|
|
125
125
|
finishConnectFlow,
|
|
126
126
|
revokeConnectFlow,
|
|
127
127
|
startConnectFlow
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-JR2RWYQO.js";
|
|
129
129
|
import {
|
|
130
130
|
expressTangleAuthMiddleware,
|
|
131
131
|
extractToken,
|
|
132
132
|
honoTangleAuthMiddleware,
|
|
133
133
|
requireTangleAuth
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-EKSAOR2I.js";
|
|
135
135
|
import {
|
|
136
136
|
IntegrationRuntimeError,
|
|
137
137
|
normalizeIntegrationError,
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
IntegrationHubClient,
|
|
142
142
|
IntegrationHubRequestError,
|
|
143
143
|
createIntegrationHubClient
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-TP4MD4PD.js";
|
|
145
145
|
import {
|
|
146
146
|
INTEGRATION_FAMILIES,
|
|
147
147
|
INTEGRATION_KIND_ALIASES,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
validateCredentialFormat,
|
|
163
163
|
validateCredentialSet,
|
|
164
164
|
validateIntegrationSpec
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-Z3GB2P2B.js";
|
|
166
166
|
import {
|
|
167
167
|
buildIntegrationCoverageConnectors,
|
|
168
168
|
integrationCoverageChecklistMarkdown,
|
|
@@ -176,8 +176,9 @@ import {
|
|
|
176
176
|
getBundledAdapterManifest,
|
|
177
177
|
hasBundledAdapter,
|
|
178
178
|
listBundledAdapterKinds,
|
|
179
|
-
listBundledAdapterManifests
|
|
180
|
-
|
|
179
|
+
listBundledAdapterManifests,
|
|
180
|
+
listBundledConnectorAdapters
|
|
181
|
+
} from "./chunk-YEZEIQ6U.js";
|
|
181
182
|
import {
|
|
182
183
|
CONNECTOR_ADAPTER_FACTORIES,
|
|
183
184
|
InMemoryOAuthFlowStore,
|
|
@@ -830,7 +831,7 @@ import {
|
|
|
830
831
|
zoomConnector,
|
|
831
832
|
zoominfoConnector,
|
|
832
833
|
zuoraConnector
|
|
833
|
-
} from "./chunk-
|
|
834
|
+
} from "./chunk-E3CAVV2V.js";
|
|
834
835
|
import {
|
|
835
836
|
DEFAULT_SIGNATURE_TOLERANCE_SECONDS,
|
|
836
837
|
firstHeader,
|
|
@@ -854,7 +855,7 @@ import {
|
|
|
854
855
|
createTangleIdentityClient,
|
|
855
856
|
tangleIdentity,
|
|
856
857
|
validateConnectorManifest
|
|
857
|
-
} from "./chunk-
|
|
858
|
+
} from "./chunk-WE7SQ7PB.js";
|
|
858
859
|
import "./chunk-PZ5AY32C.js";
|
|
859
860
|
export {
|
|
860
861
|
ACTIVEPIECES_OVERRIDES,
|
|
@@ -1350,6 +1351,7 @@ export {
|
|
|
1350
1351
|
listActivepiecesCatalogEntries,
|
|
1351
1352
|
listBundledAdapterKinds,
|
|
1352
1353
|
listBundledAdapterManifests,
|
|
1354
|
+
listBundledConnectorAdapters,
|
|
1353
1355
|
listExecutableIntegrationSpecs,
|
|
1354
1356
|
listIntegrationCoverageSpecs,
|
|
1355
1357
|
listIntegrationSpecs,
|
package/dist/mcp.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as IntegrationConnectorCategory, g as IntegrationDataClass, f as IntegrationActionRisk, j as IntegrationProvider, b as IntegrationConnector } from './core-types-
|
|
2
|
-
import { M as McpCatalogTool } from './importers-
|
|
3
|
-
import './types-
|
|
1
|
+
import { d as IntegrationConnectorCategory, g as IntegrationDataClass, f as IntegrationActionRisk, j as IntegrationProvider, b as IntegrationConnector } from './core-types-Cx53j2Xp.js';
|
|
2
|
+
import { M as McpCatalogTool } from './importers-YLXwPCz_.js';
|
|
3
|
+
import './types-qFsboS2G.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Live MCP connector — attach a remote MCP (Model Context Protocol) server
|
package/dist/mcp.js
CHANGED
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
IntegrationError,
|
|
3
3
|
createCatalogExecutorProvider,
|
|
4
4
|
importMcpConnector
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-LAD6KGK4.js";
|
|
6
|
+
import "./chunk-JR2RWYQO.js";
|
|
7
|
+
import "./chunk-EKSAOR2I.js";
|
|
8
8
|
import "./chunk-H4XYLS7T.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-TP4MD4PD.js";
|
|
10
|
+
import "./chunk-Z3GB2P2B.js";
|
|
11
11
|
import "./chunk-AG4ORH2A.js";
|
|
12
12
|
import "./chunk-P4FFI752.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YEZEIQ6U.js";
|
|
14
|
+
import "./chunk-E3CAVV2V.js";
|
|
15
15
|
import "./chunk-XC54EOUQ.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-WE7SQ7PB.js";
|
|
17
17
|
import "./chunk-PZ5AY32C.js";
|
|
18
18
|
|
|
19
19
|
// src/mcp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TangleIdentityOptions, b as TangleIdentityClient, c as TangleTokenVerifyFailure } from '../tangle-id
|
|
2
|
-
import '../types-
|
|
1
|
+
import { T as TangleIdentityOptions, b as TangleIdentityClient, c as TangleTokenVerifyFailure } from '../tangle-id--7mgjNkq.js';
|
|
2
|
+
import '../types-qFsboS2G.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @stable Drop-in request middleware that verifies id.tangle.tools
|
package/dist/middleware/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
extractToken,
|
|
4
4
|
honoTangleAuthMiddleware,
|
|
5
5
|
requireTangleAuth
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-EKSAOR2I.js";
|
|
7
|
+
import "../chunk-WE7SQ7PB.js";
|
|
8
8
|
import "../chunk-PZ5AY32C.js";
|
|
9
9
|
export {
|
|
10
10
|
expressTangleAuthMiddleware,
|
package/dist/registry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as IntegrationConnector, h as IntegrationCatalogSource } from './core-types-
|
|
2
|
-
import './types-
|
|
1
|
+
import { b as IntegrationConnector, h as IntegrationCatalogSource } from './core-types-Cx53j2Xp.js';
|
|
2
|
+
import './types-qFsboS2G.js';
|
|
3
3
|
|
|
4
4
|
type IntegrationSupportTier = 'catalogOnly' | 'setupReady' | 'gatewayExecutable' | 'firstPartyExecutable' | 'sandboxExecutable';
|
|
5
5
|
interface IntegrationRegistrySourceRef {
|
package/dist/registry.js
CHANGED
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
composeIntegrationRegistry,
|
|
6
6
|
inferIntegrationSupportTier,
|
|
7
7
|
summarizeIntegrationRegistry
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-LAD6KGK4.js";
|
|
9
|
+
import "./chunk-JR2RWYQO.js";
|
|
10
|
+
import "./chunk-EKSAOR2I.js";
|
|
11
11
|
import "./chunk-H4XYLS7T.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TP4MD4PD.js";
|
|
13
|
+
import "./chunk-Z3GB2P2B.js";
|
|
14
14
|
import "./chunk-AG4ORH2A.js";
|
|
15
15
|
import "./chunk-P4FFI752.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-YEZEIQ6U.js";
|
|
17
|
+
import "./chunk-E3CAVV2V.js";
|
|
18
18
|
import "./chunk-XC54EOUQ.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-WE7SQ7PB.js";
|
|
20
20
|
import "./chunk-PZ5AY32C.js";
|
|
21
21
|
export {
|
|
22
22
|
buildDefaultIntegrationRegistry,
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IntegrationToolDefinition } from './catalog.js';
|
|
2
2
|
import { IntegrationRegistryEntry, IntegrationRegistry } from './registry.js';
|
|
3
|
-
import { I as IntegrationActor, a as IssuedIntegrationCapability, b as IntegrationConnector, c as IntegrationConnection } from './core-types-
|
|
4
|
-
import './types-
|
|
3
|
+
import { I as IntegrationActor, a as IssuedIntegrationCapability, b as IntegrationConnector, c as IntegrationConnection } from './core-types-Cx53j2Xp.js';
|
|
4
|
+
import './types-qFsboS2G.js';
|
|
5
5
|
|
|
6
6
|
type IntegrationRequirementMode = 'read' | 'write' | 'trigger';
|
|
7
7
|
type IntegrationRequirementStatus = 'ready' | 'missing_connection' | 'not_executable' | 'unknown_connector';
|
package/dist/runtime.js
CHANGED
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
InMemoryIntegrationGrantStore,
|
|
3
3
|
IntegrationRuntime,
|
|
4
4
|
createIntegrationRuntime
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-LAD6KGK4.js";
|
|
6
|
+
import "./chunk-JR2RWYQO.js";
|
|
7
|
+
import "./chunk-EKSAOR2I.js";
|
|
8
8
|
import "./chunk-H4XYLS7T.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-TP4MD4PD.js";
|
|
10
|
+
import "./chunk-Z3GB2P2B.js";
|
|
11
11
|
import "./chunk-AG4ORH2A.js";
|
|
12
12
|
import "./chunk-P4FFI752.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YEZEIQ6U.js";
|
|
14
|
+
import "./chunk-E3CAVV2V.js";
|
|
15
15
|
import "./chunk-XC54EOUQ.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-WE7SQ7PB.js";
|
|
17
17
|
import "./chunk-PZ5AY32C.js";
|
|
18
18
|
export {
|
|
19
19
|
InMemoryIntegrationGrantStore,
|
package/dist/specs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as IntegrationActionRisk, g as IntegrationDataClass, d as IntegrationConnectorCategory, e as IntegrationConnectorAction, G as IntegrationConnectorTrigger, b as IntegrationConnector } from './core-types-
|
|
2
|
-
import { O as OAuth2TokenClientAuthMethod } from './types-
|
|
1
|
+
import { f as IntegrationActionRisk, g as IntegrationDataClass, d as IntegrationConnectorCategory, e as IntegrationConnectorAction, G as IntegrationConnectorTrigger, b as IntegrationConnector } from './core-types-Cx53j2Xp.js';
|
|
2
|
+
import { O as OAuth2TokenClientAuthMethod } from './types-qFsboS2G.js';
|
|
3
3
|
|
|
4
4
|
type IntegrationAuthMode = 'oauth2' | 'api_key' | 'hmac' | 'none' | 'custom';
|
|
5
5
|
type IntegrationSpecStatus = 'catalog' | 'executable' | 'deprecated';
|
package/dist/specs.js
CHANGED
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
validateCredentialFormat,
|
|
17
17
|
validateCredentialSet,
|
|
18
18
|
validateIntegrationSpec
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z3GB2P2B.js";
|
|
20
20
|
import "./chunk-AG4ORH2A.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-YEZEIQ6U.js";
|
|
22
|
+
import "./chunk-E3CAVV2V.js";
|
|
23
23
|
import "./chunk-XC54EOUQ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-WE7SQ7PB.js";
|
|
25
25
|
import "./chunk-PZ5AY32C.js";
|
|
26
26
|
export {
|
|
27
27
|
INTEGRATION_FAMILIES,
|
|
@@ -229,6 +229,12 @@ interface EventHandlerResult {
|
|
|
229
229
|
interface ConnectorAdapter {
|
|
230
230
|
/** Manifest entry the registry uses to render UI + validate args. */
|
|
231
231
|
manifest: ConnectorManifest;
|
|
232
|
+
/**
|
|
233
|
+
* True when this adapter only receives provider events and must not appear
|
|
234
|
+
* in public connector or action discovery. Hosts can still register it
|
|
235
|
+
* explicitly for their inbound route, which preserves its stable kind id.
|
|
236
|
+
*/
|
|
237
|
+
inboundOnly?: boolean;
|
|
232
238
|
/** Read invocation. Required when manifest.capabilities contains reads.
|
|
233
239
|
* Should return whatever shape the capability declared
|
|
234
240
|
* in its parameters output schema. */
|
package/docs/adapter-triage.md
CHANGED
|
@@ -39,14 +39,15 @@ behavior behind the `ConnectorAdapter` contract.
|
|
|
39
39
|
| `airtable` | API key | read/write | first-party executable |
|
|
40
40
|
| `asana` | API key | read/write | first-party executable |
|
|
41
41
|
| `webhook` | HMAC | read/write | first-party executable |
|
|
42
|
-
| `stripe` | HMAC | inbound events | first-party executable |
|
|
42
|
+
| `stripe` | API key actions; HMAC inbound-only | read/write + inbound events | first-party executable |
|
|
43
43
|
| `slack-inbound` | HMAC | inbound events | first-party executable |
|
|
44
44
|
|
|
45
45
|
Aliases matter when comparing coverage:
|
|
46
46
|
|
|
47
47
|
- `outlook-calendar` maps to `microsoft-calendar`.
|
|
48
48
|
- `notion-database` maps to `notion`.
|
|
49
|
-
- `stripe`
|
|
49
|
+
- `stripe` is the public API-key action adapter; its HMAC receiver is
|
|
50
|
+
inbound-only.
|
|
50
51
|
- `twilio` maps to `twilio-sms`.
|
|
51
52
|
|
|
52
53
|
## Direct Adapter Execution Path
|
|
@@ -76,8 +77,9 @@ Four Tier 0 entries are canonicalized aliases:
|
|
|
76
77
|
|
|
77
78
|
- `outlook-calendar` should resolve to `microsoft-calendar`.
|
|
78
79
|
- `notion-database` should resolve to `notion`.
|
|
79
|
-
- `stripe`
|
|
80
|
-
`stripe`
|
|
80
|
+
- `stripe` resolves to the API-key action adapter in public discovery. The
|
|
81
|
+
legacy HMAC receiver keeps the same `stripe` ID but is explicitly
|
|
82
|
+
inbound-only and must be registered by a webhook host.
|
|
81
83
|
- `twilio` should resolve to `twilio-sms`.
|
|
82
84
|
|
|
83
85
|
## Tier 0 Promotion Queue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-integrations",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.37",
|
|
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": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/connectors/bundled-manifests.ts"],"sourcesContent":["import {\n CONNECTOR_ADAPTER_FACTORIES,\n type ConnectorAdapterFactoryDefinition,\n} from './adapters/factories.js'\nimport * as bundledAdapters from './adapters/index.js'\nimport type { ConnectorAdapter, ConnectorManifest } from './types.js'\n\n/**\n * The bundled adapter registry — the single source of truth for \"which\n * connectors does this package actually implement, and how do they really\n * authenticate\".\n *\n * This exists because the answer was previously maintained by hand in two\n * places that drifted apart: `specs/registry.ts` carried an 18-name\n * `EXECUTABLE_KINDS` set while the package shipped 530 adapters, and the\n * platform kept its own private `collectBundledAdapters()` copy. A catalog\n * that describes connectors must derive from the connectors, never restate\n * them — restating is what let QuickBooks and Xero advertise a\n * `https://example.invalid/...` authorization URL behind a live Connect\n * button.\n *\n * Manifests are static data. Factory-style adapters need client credentials\n * to *execute*, but their manifest (auth endpoints, scopes, capability list)\n * is fixed at definition time, so we instantiate them with clearly-marked\n * placeholder options purely to read that static shape. The placeholders are\n * never used to make a request — {@link listBundledAdapterManifests} returns\n * manifests, not adapters.\n */\n\n/** Placeholder marker for factory options resolved only to read a manifest. */\nconst MANIFEST_PROBE_PREFIX = 'tangle-adapter-metadata-'\n\nfunction isConnectorAdapter(value: unknown): value is ConnectorAdapter {\n if (!value || typeof value !== 'object') return false\n const manifest = (value as { manifest?: unknown }).manifest\n if (!manifest || typeof manifest !== 'object') return false\n return typeof (manifest as { kind?: unknown }).kind === 'string'\n}\n\nfunction manifestFromFactory(\n definition: ConnectorAdapterFactoryDefinition,\n): ConnectorManifest | undefined {\n const probeOptions = Object.fromEntries(\n Object.keys(definition.envMap).map((name) => [name, `${MANIFEST_PROBE_PREFIX}${name}`]),\n )\n try {\n return definition.factory(probeOptions).manifest\n } catch {\n // A factory that cannot be constructed from placeholder options cannot\n // contribute a manifest. Skipping is correct: it means the adapter is not\n // describable without real credentials, so the catalog must not claim it.\n return undefined\n }\n}\n\nlet cachedManifests: ConnectorManifest[] | undefined\nlet cachedByKind: Map<string, ConnectorManifest> | undefined\n\nfunction buildRegistry(): Map<string, ConnectorManifest> {\n const byKind = new Map<string, ConnectorManifest>()\n for (const value of Object.values(bundledAdapters)) {\n if (isConnectorAdapter(value)) byKind.set(value.manifest.kind, value.manifest)\n }\n for (const definition of CONNECTOR_ADAPTER_FACTORIES) {\n if (byKind.has(definition.kind)) continue\n const manifest = manifestFromFactory(definition)\n if (manifest) byKind.set(manifest.kind, manifest)\n }\n return byKind\n}\n\nfunction registry(): Map<string, ConnectorManifest> {\n if (!cachedByKind) cachedByKind = buildRegistry()\n return cachedByKind\n}\n\n/** Every connector manifest this package bundles, sorted by kind. */\nexport function listBundledAdapterManifests(): ConnectorManifest[] {\n if (!cachedManifests) {\n cachedManifests = [...registry().values()].sort((a, b) => a.kind.localeCompare(b.kind))\n }\n return cachedManifests\n}\n\n/** The bundled manifest for `kind`, or undefined when nothing implements it. */\nexport function getBundledAdapterManifest(kind: string): ConnectorManifest | undefined {\n return registry().get(kind)\n}\n\n/** Whether this package ships a real, executable adapter for `kind`. */\nexport function hasBundledAdapter(kind: string): boolean {\n return registry().has(kind)\n}\n\n/** Kinds this package implements. */\nexport function listBundledAdapterKinds(): string[] {\n return listBundledAdapterManifests().map((manifest) => manifest.kind)\n}\n\n/**\n * How a bundled connector really authenticates.\n *\n * `oauth2_client_credentials` is called out separately because it IS a\n * connectable mode but has no user-facing authorize step — a caller that\n * treats \"oauth2 without an authorizationUrl\" as broken would wrongly condemn\n * these machine-to-machine providers.\n */\nexport type BundledAuthMode =\n | 'oauth2'\n | 'oauth2_client_credentials'\n | 'api_key'\n | 'hmac'\n | 'none'\n\n/** The auth mode a connect flow would actually drive for this manifest,\n * resolving `one_of` through its declared `preferred` mode. */\nexport function bundledAuthMode(manifest: ConnectorManifest): BundledAuthMode | undefined {\n const auth = manifest.auth\n const effective =\n auth.kind === 'one_of'\n ? (auth.options.find((option) => option.kind === auth.preferred) ?? auth.options[0])\n : auth\n switch (effective.kind) {\n case 'oauth2':\n return effective.grantType === 'client_credentials' ? 'oauth2_client_credentials' : 'oauth2'\n case 'api-key':\n return 'api_key'\n case 'hmac':\n return 'hmac'\n case 'none':\n return 'none'\n default:\n return undefined\n }\n}\n\n/** The setup hint an api-key connector shows when collecting its credential. */\nexport function bundledApiKeyHint(manifest: ConnectorManifest): string | undefined {\n const auth = manifest.auth\n const candidates = auth.kind === 'one_of' ? auth.options : [auth]\n for (const candidate of candidates) {\n if (candidate.kind === 'api-key') return candidate.hint\n }\n return undefined\n}\n\n/** The authorization-code OAuth2 branch of a manifest's auth spec, if it has\n * one. `one_of` manifests are resolved through their `preferred` mode, which\n * is the mode a connect flow would actually drive. Returns undefined for\n * api-key/hmac/none connectors and for `client_credentials` OAuth (which has\n * no user-facing authorize step). */\nexport function bundledOAuth2Auth(manifest: ConnectorManifest):\n | {\n authorizationUrl: string\n tokenUrl: string\n scopes: string[]\n clientIdEnv: string\n clientSecretEnv: string\n tokenClientAuthMethod: 'client_secret_post' | 'client_secret_basic'\n extraAuthParams?: Record<string, string>\n }\n | undefined {\n const auth = manifest.auth\n const candidates =\n auth.kind === 'one_of'\n ? auth.options.filter((option) => option.kind === auth.preferred)\n : [auth]\n for (const candidate of candidates) {\n if (candidate.kind !== 'oauth2') continue\n if (candidate.grantType === 'client_credentials') continue\n if (!candidate.authorizationUrl) continue\n return {\n authorizationUrl: candidate.authorizationUrl,\n tokenUrl: candidate.tokenUrl,\n scopes: candidate.scopes,\n clientIdEnv: candidate.clientIdEnv,\n clientSecretEnv: candidate.clientSecretEnv,\n tokenClientAuthMethod: candidate.tokenClientAuthMethod ?? 'client_secret_post',\n extraAuthParams: candidate.extraAuthParams,\n }\n }\n return undefined\n}\n"],"mappings":"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","names":[]}
|