@tangle-network/agent-integrations 0.28.0 → 0.29.0
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/README.md +40 -0
- package/dist/bin/tangle-catalog-runtime.js +3 -2
- package/dist/bin/tangle-catalog-runtime.js.map +1 -1
- package/dist/catalog.js +3 -2
- package/dist/{chunk-UWRYFPJW.js → chunk-TUX6MJJ4.js} +1 -1
- package/dist/chunk-TUX6MJJ4.js.map +1 -0
- package/dist/chunk-YOKNZY2N.js +284 -0
- package/dist/chunk-YOKNZY2N.js.map +1 -0
- package/dist/consumer.d.ts +8 -0
- package/dist/consumer.js +12 -0
- package/dist/consumer.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -7
- package/dist/registry.d.ts +240 -46
- package/dist/registry.js +3 -2
- package/dist/runtime.js +3 -2
- package/dist/specs.d.ts +1 -1
- package/dist/tangle-catalog-runtime.d.ts +1 -1
- package/dist/tangle-catalog-runtime.js +3 -2
- package/package.json +17 -10
- package/dist/chunk-UWRYFPJW.js.map +0 -1
package/dist/registry.d.ts
CHANGED
|
@@ -451,6 +451,245 @@ declare class TangleIntegrationsClient {
|
|
|
451
451
|
}
|
|
452
452
|
declare function createTangleIntegrationsClient(options: TangleIntegrationsClientOptions): TangleIntegrationsClient;
|
|
453
453
|
|
|
454
|
+
type IntegrationHealthcheckStatus = 'healthy' | 'degraded' | 'unhealthy' | 'unknown';
|
|
455
|
+
interface IntegrationHealthcheckCheck {
|
|
456
|
+
id: string;
|
|
457
|
+
status: IntegrationHealthcheckStatus;
|
|
458
|
+
message: string;
|
|
459
|
+
metadata?: Record<string, unknown>;
|
|
460
|
+
}
|
|
461
|
+
interface IntegrationHealthcheckResult {
|
|
462
|
+
connectionId: string;
|
|
463
|
+
providerId: string;
|
|
464
|
+
connectorId: string;
|
|
465
|
+
status: IntegrationHealthcheckStatus;
|
|
466
|
+
checkedAt: string;
|
|
467
|
+
checks: IntegrationHealthcheckCheck[];
|
|
468
|
+
metadata?: Record<string, unknown>;
|
|
469
|
+
}
|
|
470
|
+
interface IntegrationHealthcheckStore {
|
|
471
|
+
put(result: IntegrationHealthcheckResult): Promise<void> | void;
|
|
472
|
+
get(connectionId: string): Promise<IntegrationHealthcheckResult | undefined> | IntegrationHealthcheckResult | undefined;
|
|
473
|
+
list(): Promise<IntegrationHealthcheckResult[]> | IntegrationHealthcheckResult[];
|
|
474
|
+
}
|
|
475
|
+
declare class InMemoryIntegrationHealthcheckStore implements IntegrationHealthcheckStore {
|
|
476
|
+
private readonly results;
|
|
477
|
+
put(result: IntegrationHealthcheckResult): void;
|
|
478
|
+
get(connectionId: string): IntegrationHealthcheckResult | undefined;
|
|
479
|
+
list(): IntegrationHealthcheckResult[];
|
|
480
|
+
}
|
|
481
|
+
declare function runIntegrationHealthcheck(input: {
|
|
482
|
+
connection: IntegrationConnection;
|
|
483
|
+
connector?: IntegrationConnector;
|
|
484
|
+
registry?: IntegrationRegistry;
|
|
485
|
+
test?: (connection: IntegrationConnection, connector: IntegrationConnector) => Promise<IntegrationActionResult | boolean> | IntegrationActionResult | boolean;
|
|
486
|
+
audit?: IntegrationAuditSink;
|
|
487
|
+
now?: () => Date;
|
|
488
|
+
}): Promise<IntegrationHealthcheckResult>;
|
|
489
|
+
declare function runIntegrationHealthchecks(input: {
|
|
490
|
+
connections: IntegrationConnection[];
|
|
491
|
+
registry?: IntegrationRegistry;
|
|
492
|
+
store?: IntegrationHealthcheckStore;
|
|
493
|
+
audit?: IntegrationAuditSink;
|
|
494
|
+
now?: () => Date;
|
|
495
|
+
test?: (connection: IntegrationConnection, connector: IntegrationConnector) => Promise<IntegrationActionResult | boolean> | IntegrationActionResult | boolean;
|
|
496
|
+
}): Promise<IntegrationHealthcheckResult[]>;
|
|
497
|
+
declare function healthcheckRequest(action?: string): IntegrationActionRequest;
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* @stable Integration Hub consumer client.
|
|
501
|
+
*
|
|
502
|
+
* The third client-shaped surface a product needs, alongside the two that
|
|
503
|
+
* already ship:
|
|
504
|
+
*
|
|
505
|
+
* - `createTangleIntegrationsClient` (`client.ts`) — the *invoke* client.
|
|
506
|
+
* Capability-token auth, runs INSIDE a sandbox / generated app, single
|
|
507
|
+
* endpoint `/v1/integrations/invoke`.
|
|
508
|
+
* - `startConnectFlow` / `finishConnectFlow` (`connect/index.ts`) — the
|
|
509
|
+
* *user-consent* flow, mirrors `/cross-site/*`.
|
|
510
|
+
* - **this** — the S2S *management* client. A product BACKEND (blueprint-
|
|
511
|
+
* agent, sandbox, gtm-agent, tax-agent, legal-agent, evals, …) drives the
|
|
512
|
+
* `/v1/integrations/{resolve-manifest,grants,capabilities/bundle,
|
|
513
|
+
* healthchecks/run}` management surface on `id.tangle.tools` on behalf of
|
|
514
|
+
* an identified user.
|
|
515
|
+
*
|
|
516
|
+
* Every consumer needs the identical client — the wire protocol, the
|
|
517
|
+
* `{ success, data }` envelope, the auth header shape are all platform-owned.
|
|
518
|
+
* Re-implementing a bespoke fetch loop per product forks the protocol and the
|
|
519
|
+
* copies drift. This module is that shared implementation. It mirrors the
|
|
520
|
+
* `connect/index.ts` design rule one-for-one: DO NOT invent the wire protocol
|
|
521
|
+
* — speak exactly what `products/platform/api/src/routes/integrations.ts`
|
|
522
|
+
* serves.
|
|
523
|
+
*
|
|
524
|
+
* Two auth modes — the route layer (`authMiddleware`) accepts either:
|
|
525
|
+
*
|
|
526
|
+
* - `service` — a `svc_*` service token + `X-Service-Name`. The acting
|
|
527
|
+
* user travels in `X-Platform-User-Id`. The platform honors that header
|
|
528
|
+
* only for service tokens whose `SERVICE_SCOPES` set contains
|
|
529
|
+
* `impersonate:user`; a token without it is rejected (403). Reaches the
|
|
530
|
+
* four management paths the platform allowlists for service tokens.
|
|
531
|
+
* - `user-key` — a per-user `sk-tan-*` API key (minted via the connect
|
|
532
|
+
* flow). The key identifies the user; no impersonation header. Reaches
|
|
533
|
+
* every route the user themselves can.
|
|
534
|
+
*
|
|
535
|
+
* The capability-token `invoke` endpoint is intentionally NOT exposed here —
|
|
536
|
+
* that is `createTangleIntegrationsClient`'s job and uses a different auth.
|
|
537
|
+
*/
|
|
538
|
+
|
|
539
|
+
type IntegrationHubAuth = {
|
|
540
|
+
mode: 'service';
|
|
541
|
+
/** The `svc_*` token issued to this product. */
|
|
542
|
+
serviceToken: string;
|
|
543
|
+
/** Registered service name — sent as `X-Service-Name`. Required
|
|
544
|
+
* because one token may be shared across services, in which case the
|
|
545
|
+
* platform demands the header to disambiguate. */
|
|
546
|
+
serviceName: string;
|
|
547
|
+
} | {
|
|
548
|
+
mode: 'user-key';
|
|
549
|
+
/** A per-user `sk-tan-*` key bound to the acting user. */
|
|
550
|
+
apiKey: string;
|
|
551
|
+
};
|
|
552
|
+
interface IntegrationHubClientOptions {
|
|
553
|
+
/** The product / consumer identifier (e.g. `blueprint-agent`). Sent as the
|
|
554
|
+
* `product` field of resolve-manifest calls; recorded platform-side. */
|
|
555
|
+
product: string;
|
|
556
|
+
/** Service-token or per-user-key auth. */
|
|
557
|
+
auth: IntegrationHubAuth;
|
|
558
|
+
/** Platform base URL. Defaults to `https://id.tangle.tools`. */
|
|
559
|
+
endpoint?: string;
|
|
560
|
+
/** Injected for tests. Defaults to the global `fetch`. */
|
|
561
|
+
fetchImpl?: typeof fetch;
|
|
562
|
+
/** Per-request timeout in ms. Default 10_000. */
|
|
563
|
+
timeoutMs?: number;
|
|
564
|
+
/** Max attempts on transient (network / 502 / 503 / 504) failures.
|
|
565
|
+
* Default 2 — i.e. one retry. */
|
|
566
|
+
maxAttempts?: number;
|
|
567
|
+
}
|
|
568
|
+
/** Thrown for every non-2xx response and every transport failure. Carries the
|
|
569
|
+
* HTTP status and the platform error code so callers can branch precisely
|
|
570
|
+
* (`403` + `impersonate` → the service token lacks the scope; `409` /
|
|
571
|
+
* `missing_connection` → prompt the user to connect). */
|
|
572
|
+
declare class IntegrationHubRequestError extends Error {
|
|
573
|
+
readonly name = "IntegrationHubRequestError";
|
|
574
|
+
/** HTTP status, or 0 for a network-level failure. */
|
|
575
|
+
readonly status: number;
|
|
576
|
+
/** Platform error code (`VALIDATION_ERROR`, `scope_missing`, …) or
|
|
577
|
+
* `network_error` / `http_error` when no structured code was returned. */
|
|
578
|
+
readonly code: string;
|
|
579
|
+
/** `METHOD /path` the request targeted. */
|
|
580
|
+
readonly endpoint: string;
|
|
581
|
+
/** True when the failure class is transient and a retry could succeed. */
|
|
582
|
+
readonly retryable: boolean;
|
|
583
|
+
constructor(input: {
|
|
584
|
+
status: number;
|
|
585
|
+
code: string;
|
|
586
|
+
message: string;
|
|
587
|
+
endpoint: string;
|
|
588
|
+
retryable: boolean;
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
interface ResolveManifestInput {
|
|
592
|
+
/** The acting user — the connection owner. */
|
|
593
|
+
userId: string;
|
|
594
|
+
manifest: IntegrationManifest;
|
|
595
|
+
/** Overrides the client-level `product` for this call. */
|
|
596
|
+
product?: string;
|
|
597
|
+
}
|
|
598
|
+
interface CreateGrantsInput {
|
|
599
|
+
/** The acting user — the connection owner. */
|
|
600
|
+
userId: string;
|
|
601
|
+
/** Who the grant is FOR (the sandbox / agent / app that will invoke). */
|
|
602
|
+
grantee: IntegrationActor;
|
|
603
|
+
manifest: IntegrationManifest;
|
|
604
|
+
metadata?: Record<string, unknown>;
|
|
605
|
+
}
|
|
606
|
+
interface ListGrantsInput {
|
|
607
|
+
/** The acting user — the connection owner. */
|
|
608
|
+
userId: string;
|
|
609
|
+
/** Optional grantee filter; both fields travel together as query params. */
|
|
610
|
+
grantee?: IntegrationActor;
|
|
611
|
+
}
|
|
612
|
+
interface MintCapabilityBundleInput {
|
|
613
|
+
/** The acting user — must own every connection behind the grants. */
|
|
614
|
+
userId: string;
|
|
615
|
+
/** Who the capability bundle is issued TO (the sandbox / agent process). */
|
|
616
|
+
subject: IntegrationActor;
|
|
617
|
+
/** Mint from every grant of a manifest … */
|
|
618
|
+
manifestId?: string;
|
|
619
|
+
/** … or from an explicit grant id list. Exactly one of the two is required. */
|
|
620
|
+
grantIds?: string[];
|
|
621
|
+
grantee?: IntegrationActor;
|
|
622
|
+
/** Bundle TTL in ms. Platform clamps to [1s, 60m]; default 15m. */
|
|
623
|
+
ttlMs?: number;
|
|
624
|
+
}
|
|
625
|
+
interface CapabilityBundleResult {
|
|
626
|
+
bundle: IntegrationSandboxBundle;
|
|
627
|
+
/** Bridge environment variables to inject into the sandbox process —
|
|
628
|
+
* `buildIntegrationBridgeEnvironment(bundle)`, computed platform-side. */
|
|
629
|
+
env: Record<string, string>;
|
|
630
|
+
}
|
|
631
|
+
interface CheckConnectorInput {
|
|
632
|
+
/** The acting user. */
|
|
633
|
+
userId: string;
|
|
634
|
+
/** Connector to probe — `github`, `google-calendar`, `tangle-id`, … */
|
|
635
|
+
connectorId: string;
|
|
636
|
+
/** Defaults to `read`. */
|
|
637
|
+
mode?: IntegrationRequirementMode;
|
|
638
|
+
requiredScopes?: string[];
|
|
639
|
+
requiredActions?: string[];
|
|
640
|
+
}
|
|
641
|
+
interface CheckConnectorResult {
|
|
642
|
+
/** True when the user has an active connection satisfying the requirement. */
|
|
643
|
+
connected: boolean;
|
|
644
|
+
/** The satisfying connection, present iff `connected`. */
|
|
645
|
+
connection?: IntegrationConnection;
|
|
646
|
+
/** The full requirement resolution — status, missing scopes/actions, message. */
|
|
647
|
+
resolution: IntegrationRequirementResolution;
|
|
648
|
+
}
|
|
649
|
+
/**
|
|
650
|
+
* S2S management client for the `id.tangle.tools` integration hub. One per
|
|
651
|
+
* product; methods are stateless and safe to call concurrently.
|
|
652
|
+
*/
|
|
653
|
+
declare class IntegrationHubClient {
|
|
654
|
+
private readonly endpoint;
|
|
655
|
+
private readonly product;
|
|
656
|
+
private readonly auth;
|
|
657
|
+
private readonly fetchImpl;
|
|
658
|
+
private readonly timeoutMs;
|
|
659
|
+
private readonly maxAttempts;
|
|
660
|
+
constructor(options: IntegrationHubClientOptions);
|
|
661
|
+
/**
|
|
662
|
+
* Resolve a manifest against a user's connections. The returned
|
|
663
|
+
* `ready` / `missing` split is the canonical way to ask "does this user
|
|
664
|
+
* have the connections this work needs" — the raw connection list is not
|
|
665
|
+
* reachable by a service token by design.
|
|
666
|
+
*/
|
|
667
|
+
resolveManifest(input: ResolveManifestInput): Promise<IntegrationManifestResolution>;
|
|
668
|
+
/**
|
|
669
|
+
* Convenience over {@link resolveManifest} — probe a single connector and
|
|
670
|
+
* get back a boolean plus the satisfying connection. The Surface-A quest
|
|
671
|
+
* primitive ("is the user's GitHub linked?").
|
|
672
|
+
*/
|
|
673
|
+
checkConnector(input: CheckConnectorInput): Promise<CheckConnectorResult>;
|
|
674
|
+
/** Create grants for every satisfiable requirement of a manifest. The
|
|
675
|
+
* platform rejects the call if any non-optional requirement is missing a
|
|
676
|
+
* connection. */
|
|
677
|
+
createGrants(input: CreateGrantsInput): Promise<IntegrationGrant[]>;
|
|
678
|
+
/** List the acting user's grants, optionally filtered to one grantee. */
|
|
679
|
+
listGrants(input: ListGrantsInput): Promise<IntegrationGrant[]>;
|
|
680
|
+
/** Mint a short-lived capability bundle for a sandbox / agent process.
|
|
681
|
+
* Provider credentials never leave the platform — the bundle carries only
|
|
682
|
+
* scoped, expiring capability tokens. */
|
|
683
|
+
mintCapabilityBundle(input: MintCapabilityBundleInput): Promise<CapabilityBundleResult>;
|
|
684
|
+
/** Run live healthchecks across all of the acting user's connections. */
|
|
685
|
+
runHealthchecks(input: {
|
|
686
|
+
userId: string;
|
|
687
|
+
}): Promise<IntegrationHealthcheckResult[]>;
|
|
688
|
+
private buildHeaders;
|
|
689
|
+
private request;
|
|
690
|
+
}
|
|
691
|
+
declare function createIntegrationHubClient(options: IntegrationHubClientOptions): IntegrationHubClient;
|
|
692
|
+
|
|
454
693
|
interface ConsentSummary {
|
|
455
694
|
title: string;
|
|
456
695
|
body: string;
|
|
@@ -828,51 +1067,6 @@ declare class DefaultIntegrationActionGuard implements IntegrationActionGuard {
|
|
|
828
1067
|
}
|
|
829
1068
|
declare function createDefaultIntegrationActionGuard(options?: ConstructorParameters<typeof DefaultIntegrationActionGuard>[0]): DefaultIntegrationActionGuard;
|
|
830
1069
|
|
|
831
|
-
type IntegrationHealthcheckStatus = 'healthy' | 'degraded' | 'unhealthy' | 'unknown';
|
|
832
|
-
interface IntegrationHealthcheckCheck {
|
|
833
|
-
id: string;
|
|
834
|
-
status: IntegrationHealthcheckStatus;
|
|
835
|
-
message: string;
|
|
836
|
-
metadata?: Record<string, unknown>;
|
|
837
|
-
}
|
|
838
|
-
interface IntegrationHealthcheckResult {
|
|
839
|
-
connectionId: string;
|
|
840
|
-
providerId: string;
|
|
841
|
-
connectorId: string;
|
|
842
|
-
status: IntegrationHealthcheckStatus;
|
|
843
|
-
checkedAt: string;
|
|
844
|
-
checks: IntegrationHealthcheckCheck[];
|
|
845
|
-
metadata?: Record<string, unknown>;
|
|
846
|
-
}
|
|
847
|
-
interface IntegrationHealthcheckStore {
|
|
848
|
-
put(result: IntegrationHealthcheckResult): Promise<void> | void;
|
|
849
|
-
get(connectionId: string): Promise<IntegrationHealthcheckResult | undefined> | IntegrationHealthcheckResult | undefined;
|
|
850
|
-
list(): Promise<IntegrationHealthcheckResult[]> | IntegrationHealthcheckResult[];
|
|
851
|
-
}
|
|
852
|
-
declare class InMemoryIntegrationHealthcheckStore implements IntegrationHealthcheckStore {
|
|
853
|
-
private readonly results;
|
|
854
|
-
put(result: IntegrationHealthcheckResult): void;
|
|
855
|
-
get(connectionId: string): IntegrationHealthcheckResult | undefined;
|
|
856
|
-
list(): IntegrationHealthcheckResult[];
|
|
857
|
-
}
|
|
858
|
-
declare function runIntegrationHealthcheck(input: {
|
|
859
|
-
connection: IntegrationConnection;
|
|
860
|
-
connector?: IntegrationConnector;
|
|
861
|
-
registry?: IntegrationRegistry;
|
|
862
|
-
test?: (connection: IntegrationConnection, connector: IntegrationConnector) => Promise<IntegrationActionResult | boolean> | IntegrationActionResult | boolean;
|
|
863
|
-
audit?: IntegrationAuditSink;
|
|
864
|
-
now?: () => Date;
|
|
865
|
-
}): Promise<IntegrationHealthcheckResult>;
|
|
866
|
-
declare function runIntegrationHealthchecks(input: {
|
|
867
|
-
connections: IntegrationConnection[];
|
|
868
|
-
registry?: IntegrationRegistry;
|
|
869
|
-
store?: IntegrationHealthcheckStore;
|
|
870
|
-
audit?: IntegrationAuditSink;
|
|
871
|
-
now?: () => Date;
|
|
872
|
-
test?: (connection: IntegrationConnection, connector: IntegrationConnector) => Promise<IntegrationActionResult | boolean> | IntegrationActionResult | boolean;
|
|
873
|
-
}): Promise<IntegrationHealthcheckResult[]>;
|
|
874
|
-
declare function healthcheckRequest(action?: string): IntegrationActionRequest;
|
|
875
|
-
|
|
876
1070
|
interface ManifestValidationIssue {
|
|
877
1071
|
path: string;
|
|
878
1072
|
message: string;
|
|
@@ -2132,4 +2326,4 @@ declare function createHttpIntegrationProvider(options: HttpIntegrationProviderO
|
|
|
2132
2326
|
declare function signCapability(capability: IntegrationCapability, secret: string): string;
|
|
2133
2327
|
declare function verifyCapabilityToken(token: string, secret: string): IntegrationCapability;
|
|
2134
2328
|
|
|
2135
|
-
export { type HealthcheckSpec as $, type TangleCatalogHttpAuthResolverRequest as A, type TangleCatalogInstalledPackageExecutorOptions as B, type TangleCatalogRuntimeHandlerOptions as C, type ComposeIntegrationRegistryOptions, type TangleCatalogRuntimeHttpRequest as D, type TangleCatalogRuntimeHttpResponse as E, type TangleCatalogRuntimeInvocation as F, type TangleCatalogRuntimeModuleAction as G, type TangleCatalogRuntimePackageCoverageOptions as H, type IntegrationCatalogView as I, type IntegrationCatalogSource, type IntegrationRegistry, type IntegrationRegistryConflict, type IntegrationRegistryEntry, type IntegrationRegistrySourceRef, type IntegrationRegistrySummary, type IntegrationSupportTier, type TangleCatalogRuntimePackageCoverageRow as J, auditTangleCatalogRuntimePackages as K, createTangleCatalogCredentialAuthResolver as L, type McpToolDefinition as M, createTangleCatalogHttpAuthResolver as N, createTangleCatalogInstalledPackageExecutor as O, createTangleCatalogRuntimeHandler as P, signTangleCatalogRuntimeRequest as Q, tangleCatalogAuthValue as R, verifyTangleCatalogRuntimeSignature as S, TANGLE_CATALOG_RUNTIME_SIGNATURE_HEADER as T, type ApiKeyAuthSpec as U, type ConsoleStep as V, type CredentialFieldSpec as W, type CredentialValidationInput as X, type CredentialValidationResult as Y, type CustomAuthSpec as Z, type HealthcheckPlan as _, type IntegrationToolDefinition as a, type GatewayCatalogProviderOptions as a$, type HmacAuthSpec as a0, INTEGRATION_FAMILIES as a1, type IntegrationAuthMode as a2, type IntegrationAuthSpec as a3, type IntegrationFamilyId as a4, type IntegrationFamilySpec as a5, type IntegrationLifecycleSpec as a6, type IntegrationPlannerHints as a7, type IntegrationSetupSpec as a8, type IntegrationSpec as a9, validateIntegrationSpec as aA, ACTIVEPIECES_OVERRIDES as aB, ACTIVEPIECES_PUBLIC_CATALOG_URL as aC, ACTIVEPIECES_RUNTIME_SIGNATURE_HEADER as aD, type ActivepiecesCatalogAuthField as aE, type ActivepiecesCatalogEntry as aF, type ActivepiecesExecutorInvocation as aG, type ActivepiecesExecutorProviderOptions as aH, type ActivepiecesHttpExecutorOptions as aI, type ActivepiecesPieceOverride as aJ, type ActivepiecesRuntimeRequest as aK, ApprovalBackedPolicyEngine as aL, type ApprovalBackedPolicyOptions as aM, CANONICAL_INTEGRATION_ACTIONS as aN, type CanonicalIntegrationActionId as aO, type CanonicalLaunchConnectorOptions as aP, type CatalogExecutorInvocation as aQ, type CatalogExecutorProviderOptions as aR, type CompleteAuthRequest as aS, type ConnectionCredentialResolverOptions as aT, type ConnectorAdapterProviderOptions as aU, type ConsentSummary as aV, DEFAULT_INTEGRATION_BRIDGE_ENV as aW, DefaultIntegrationActionGuard as aX, type DiscoverWorkspaceCapabilitiesInput as aY, type GatewayCatalogAction as aZ, type GatewayCatalogEntry as a_, type IntegrationSpecStatus as aa, type IntegrationSpecValidationIssue as ab, type IntegrationSpecValidationResult as ac, type NoneAuthSpec as ad, type NormalizedPermission as ae, type OAuth2AuthSpec as af, type PermissionDescriptor as ag, type PostSetupCheck as ah, type Quirk as ai, type RenderSpecOptions as aj, type RenderedConsoleStep as ak, type ScopeDescriptor as al, assertValidIntegrationSpec as am, buildHealthcheckPlan as an, consoleStepsToText as ao, getIntegrationFamily as ap, getIntegrationSpec as aq, integrationSpecToConnector as ar, listExecutableIntegrationSpecs as as, listIntegrationSpecs as at, renderAgentToolDescription as au, renderConsoleSteps as av, renderRunbookMarkdown as aw, specAuthToConnectorAuth as ax, validateCredentialFormat as ay, validateCredentialSet as az, type IntegrationToolSearchFilters as b, type IntegrationProviderKind as b$, type GatewayCatalogTrigger as b0, type GraphqlOperationSpec as b1, type HttpIntegrationProviderOptions as b2, type ImportCatalogOptions as b3, InMemoryConnectionStore as b4, InMemoryIntegrationApprovalStore as b5, InMemoryIntegrationAuditStore as b6, InMemoryIntegrationEventStore as b7, InMemoryIntegrationHealthcheckStore as b8, InMemoryIntegrationIdempotencyStore as b9, type IntegrationConnection as bA, type IntegrationConnectionStore as bB, type IntegrationConnector as bC, type IntegrationConnectorAction as bD, type IntegrationConnectorCategory as bE, type IntegrationConnectorTrigger as bF, type IntegrationCoveragePriority as bG, type IntegrationCoverageSpec as bH, type IntegrationDataClass as bI, IntegrationError as bJ, type IntegrationEventStore as bK, type IntegrationGuardContext as bL, type IntegrationHealthcheckCheck as bM, type IntegrationHealthcheckResult as bN, type IntegrationHealthcheckStatus as bO, type IntegrationHealthcheckStore as bP, IntegrationHub as bQ, type IntegrationHubOptions as bR, type IntegrationIdempotencyRecord as bS, type IntegrationIdempotencyStore as bT, type IntegrationInvocationEnvelope as bU, type IntegrationInvocationEnvelopeValidationOptions as bV, type IntegrationPolicyDecision as bW, type IntegrationPolicyEffect as bX, type IntegrationPolicyEngine as bY, type IntegrationPolicyRule as bZ, type IntegrationProvider as b_, InMemoryIntegrationSecretStore as ba, InMemoryIntegrationWorkflowStore as bb, type InferIntegrationRequirementsOptions as bc, type InstalledIntegrationWorkflow as bd, type IntegrationActionGuard as be, type IntegrationActionPack as bf, type IntegrationActionRequest as bg, type IntegrationActionResult as bh, type IntegrationActionRisk as bi, type IntegrationActor as bj, type IntegrationApprovalFilter as bk, type IntegrationApprovalRecord as bl, type IntegrationApprovalRequest as bm, type IntegrationApprovalResolution as bn, type IntegrationApprovalStatus as bo, type IntegrationApprovalStore as bp, type IntegrationAuditEvent as bq, type IntegrationAuditEventType as br, type IntegrationAuditFilter as bs, type IntegrationAuditSink as bt, type IntegrationAuditStore as bu, buildDefaultIntegrationRegistry, type IntegrationBridgePayload as bv, type IntegrationBridgeToolBinding as bw, type IntegrationCapability as bx, type IntegrationCatalogFreshnessOptions as by, type IntegrationCatalogFreshnessResult as bz, type IntegrationToolSearchResult as c, type WorkspaceTrigger as c$, type IntegrationRateLimitDecision as c0, type IntegrationRateLimiter as c1, IntegrationSandboxHost as c2, type IntegrationSandboxHostHub as c3, type IntegrationSandboxHostOptions as c4, type IntegrationSecretStore as c5, type IntegrationTriggerEvent as c6, type IntegrationTriggerSubscription as c7, type IntegrationWebhookReceiverResult as c8, type IntegrationWorkflowDefinition as c9, type StoredIntegrationEvent as cA, TANGLE_INTEGRATIONS_CATALOG_PROVIDER_ID as cB, TANGLE_INTEGRATIONS_CATALOG_SOURCE as cC, type TangleCatalogExecutorInvocation as cD, type TangleCatalogExecutorProviderOptions as cE, type TangleCatalogHttpExecutorInvocation as cF, type TangleCatalogHttpExecutorOptions as cG, type TangleCatalogRuntimeActionRequest as cH, type TangleCatalogRuntimeNodeServerOptions as cI, type TangleCatalogRuntimePackageManifest as cJ, type TangleCatalogRuntimePackageManifestOptions as cK, type TangleCatalogRuntimePiece as cL, type TangleCatalogRuntimeRequest as cM, type TangleCatalogTriggerInvocation as cN, type TangleIntegrationCatalogEntry as cO, type TangleIntegrationCatalogFreshnessOptions as cP, type TangleIntegrationCatalogFreshnessResult as cQ, type TangleIntegrationContract as cR, type TangleIntegrationContractStatus as cS, type TangleIntegrationImplementationKind as cT, type TangleIntegrationInvokeInput as cU, type TangleIntegrationInvokeResult as cV, TangleIntegrationsClient as cW, type TangleIntegrationsClientOptions as cX, type WorkspaceCapability as cY, type WorkspaceCapabilityDiscovery as cZ, type WorkspaceToolSchema as c_, IntegrationWorkflowRuntime as ca, canonicalConnectorId, type IntegrationWorkflowRuntimeHub as cb, type IntegrationWorkflowRuntimeOptions as cc, type IntegrationWorkflowStore as cd, type InvokeWithCapabilityRequest as ce, type IssueCapabilityRequest as cf, type IssuedIntegrationCapability as cg, type ManifestValidationIssue as ch, type ManifestValidationResult as ci, type McpCatalog as cj, type McpCatalogTool as ck, type MissingRequirementExplanation as cl, type NormalizedIntegrationResult as cm, type OpenApiDocument as cn, type OpenApiOperation as co, composeIntegrationRegistry, PROVIDER_PASSTHROUGH_ACTION as cp, type PlatformIntegrationPolicyPresetOptions as cq, type ProviderHttpRequestInput as cr, type ProviderPassthroughPolicy as cs, type RenderConsentOptions as ct, type SecretRef as cu, type StartAuthRequest as cv, type StartAuthResult as cw, type StartedTangleCatalogRuntimeNodeServer as cx, StaticIntegrationPolicyEngine as cy, type StaticIntegrationPolicyOptions as cz, buildIntegrationCatalogView as d, parseIntegrationBridgeEnvironment as d$, adapterManifestsToConnectors as d0, assertValidIntegrationManifest as d1, auditIntegrationCatalogFreshness as d2, auditTangleIntegrationCatalogFreshness as d3, buildActivepiecesConnectors as d4, buildActivepiecesRuntimeRequest as d5, buildApprovalRequest as d6, buildCanonicalLaunchConnectors as d7, buildIntegrationBridgeEnvironment as d8, buildIntegrationBridgePayload as d9, createTangleCatalogHttpExecutor as dA, createTangleCatalogRuntimeNodeRequestListener as dB, createTangleIntegrationsClient as dC, decodeIntegrationBridgePayload as dD, discoverWorkspaceCapabilities as dE, dispatchIntegrationInvocation as dF, encodeIntegrationBridgePayload as dG, explainMissingRequirements as dH, extractActivepiecesPublicPieceCount as dI, extractExternalCatalogPublicCount as dJ, filterDiscoveryByWorkspaceScopes as dK, getActivepiecesOverride as dL, healthcheckRequest as dM, importGraphqlConnector as dN, importMcpConnector as dO, importOpenApiConnector as dP, inferIntegrationManifestFromTools as dQ, integrationCoverageChecklistMarkdown as dR, invocationRequestFromEnvelope as dS, listActivepiecesCatalogEntries as dT, listIntegrationCoverageSpecs as dU, listTangleIntegrationCatalogEntries as dV, listTangleIntegrationCatalogRuntimePackages as dW, listTangleIntegrationContracts as dX, manifestToConnector as dY, normalizeGatewayCatalog as dZ, normalizeIntegrationResult as d_, buildIntegrationCoverageConnectors as da, buildIntegrationInvocationEnvelope as db, buildTangleCatalogRuntimePackageManifest as dc, buildTangleCatalogRuntimeRequest as dd, buildTangleIntegrationCatalogConnectors as de, calendarExercisePlannerManifest as df, canonicalActionConnectorId as dg, createActivepiecesExecutorProvider as dh, createActivepiecesHttpExecutor as di, createApprovalBackedPolicyEngine as dj, createAuditingActionGuard as dk, createCatalogExecutorProvider as dl, createConnectionCredentialResolver as dm, createConnectorAdapterCatalogSource as dn, createConnectorAdapterProvider as dp, createCredentialBackedAdapterProvider as dq, createDefaultIntegrationActionGuard as dr, createDefaultIntegrationPolicyEngine as ds, createGatewayCatalogProvider as dt, createHttpIntegrationProvider as du, createIntegrationAuditEvent as dv, createIntegrationWorkflowRuntime as dw, createMockIntegrationProvider as dx, createPlatformIntegrationPolicyPreset as dy, createTangleCatalogExecutorProvider as dz, buildIntegrationToolCatalog as e, receiveIntegrationWebhook as e0, redactApprovalRequest as e1, redactCapability as e2, redactIntegrationBridgePayload as e3, redactInvocationEnvelope as e4, renderApprovalCopy as e5, renderConsentSummary as e6, renderTangleCatalogRuntimePnpmAddCommand as e7, resolveConnectionCredentials as e8, resolveIntegrationApproval as e9, revokeConnection as ea, runIntegrationHealthcheck as eb, runIntegrationHealthchecks as ec, sanitizeAuditConnection as ed, sanitizeConnection as ee, signActivepiecesRuntimeRequest as ef, signCapability as eg, startTangleCatalogRuntimeNodeServer as eh, storedEventToTriggerEvent as ei, validateIntegrationInvocationEnvelope as ej, validateIntegrationManifest as ek, validateProviderPassthroughRequest as el, verifyActivepiecesRuntimeSignature as em, verifyCapabilityToken as en, InMemoryIntegrationGrantStore as f, type IntegrationCapabilityBinding as g, type IntegrationGrant as h, integrationToolName as i, inferIntegrationSupportTier, type IntegrationGrantStore as j, type IntegrationManifest as k, type IntegrationManifestResolution as l, type IntegrationRequirement as m, type IntegrationRequirementMode as n, type IntegrationRequirementResolution as o, parseIntegrationToolName as p, type IntegrationRequirementStatus as q, IntegrationRuntime as r, searchIntegrationTools as s, summarizeIntegrationRegistry, toMcpTools as t, type IntegrationRuntimeHub as u, type IntegrationRuntimeOptions as v, type IntegrationSandboxBundle as w, createIntegrationRuntime as x, type TangleCatalogAuthResolverOptions as y, type TangleCatalogHttpAuthResolverOptions as z };
|
|
2329
|
+
export { createTangleCatalogInstalledPackageExecutor as $, type CreateGrantsInput as A, type IntegrationHubAuth as B, type CapabilityBundleResult as C, type ComposeIntegrationRegistryOptions, IntegrationHubClient as D, type IntegrationHubClientOptions as E, IntegrationHubRequestError as F, type MintCapabilityBundleInput as G, createIntegrationHubClient as H, type IntegrationCatalogView as I, type IntegrationCatalogSource, type IntegrationRegistry, type IntegrationRegistryConflict, type IntegrationRegistryEntry, type IntegrationRegistrySourceRef, type IntegrationRegistrySummary, type IntegrationSupportTier, type TangleCatalogAuthResolverOptions as J, type TangleCatalogHttpAuthResolverOptions as K, type ListGrantsInput as L, type McpToolDefinition as M, type TangleCatalogHttpAuthResolverRequest as N, type TangleCatalogInstalledPackageExecutorOptions as O, type TangleCatalogRuntimeHandlerOptions as P, type TangleCatalogRuntimeHttpRequest as Q, type ResolveManifestInput as R, type TangleCatalogRuntimeHttpResponse as S, TANGLE_CATALOG_RUNTIME_SIGNATURE_HEADER as T, type TangleCatalogRuntimeInvocation as U, type TangleCatalogRuntimeModuleAction as V, type TangleCatalogRuntimePackageCoverageOptions as W, type TangleCatalogRuntimePackageCoverageRow as X, auditTangleCatalogRuntimePackages as Y, createTangleCatalogCredentialAuthResolver as Z, createTangleCatalogHttpAuthResolver as _, type IntegrationToolDefinition as a, type CanonicalLaunchConnectorOptions as a$, createTangleCatalogRuntimeHandler as a0, signTangleCatalogRuntimeRequest as a1, tangleCatalogAuthValue as a2, verifyTangleCatalogRuntimeSignature as a3, type ApiKeyAuthSpec as a4, type ConsoleStep as a5, type CredentialFieldSpec as a6, type CredentialValidationInput as a7, type CredentialValidationResult as a8, type CustomAuthSpec as a9, consoleStepsToText as aA, getIntegrationFamily as aB, getIntegrationSpec as aC, integrationSpecToConnector as aD, listExecutableIntegrationSpecs as aE, listIntegrationSpecs as aF, renderAgentToolDescription as aG, renderConsoleSteps as aH, renderRunbookMarkdown as aI, specAuthToConnectorAuth as aJ, validateCredentialFormat as aK, validateCredentialSet as aL, validateIntegrationSpec as aM, ACTIVEPIECES_OVERRIDES as aN, ACTIVEPIECES_PUBLIC_CATALOG_URL as aO, ACTIVEPIECES_RUNTIME_SIGNATURE_HEADER as aP, type ActivepiecesCatalogAuthField as aQ, type ActivepiecesCatalogEntry as aR, type ActivepiecesExecutorInvocation as aS, type ActivepiecesExecutorProviderOptions as aT, type ActivepiecesHttpExecutorOptions as aU, type ActivepiecesPieceOverride as aV, type ActivepiecesRuntimeRequest as aW, ApprovalBackedPolicyEngine as aX, type ApprovalBackedPolicyOptions as aY, CANONICAL_INTEGRATION_ACTIONS as aZ, type CanonicalIntegrationActionId as a_, type HealthcheckPlan as aa, type HealthcheckSpec as ab, type HmacAuthSpec as ac, INTEGRATION_FAMILIES as ad, type IntegrationAuthMode as ae, type IntegrationAuthSpec as af, type IntegrationFamilyId as ag, type IntegrationFamilySpec as ah, type IntegrationLifecycleSpec as ai, type IntegrationPlannerHints as aj, type IntegrationSetupSpec as ak, type IntegrationSpec as al, type IntegrationSpecStatus as am, type IntegrationSpecValidationIssue as an, type IntegrationSpecValidationResult as ao, type NoneAuthSpec as ap, type NormalizedPermission as aq, type OAuth2AuthSpec as ar, type PermissionDescriptor as as, type PostSetupCheck as at, type Quirk as au, type RenderSpecOptions as av, type RenderedConsoleStep as aw, type ScopeDescriptor as ax, assertValidIntegrationSpec as ay, buildHealthcheckPlan as az, type IntegrationToolSearchFilters as b, type IntegrationHealthcheckStore as b$, type CatalogExecutorInvocation as b0, type CatalogExecutorProviderOptions as b1, type CompleteAuthRequest as b2, type ConnectionCredentialResolverOptions as b3, type ConnectorAdapterProviderOptions as b4, type ConsentSummary as b5, DEFAULT_INTEGRATION_BRIDGE_ENV as b6, DefaultIntegrationActionGuard as b7, type DiscoverWorkspaceCapabilitiesInput as b8, type GatewayCatalogAction as b9, type IntegrationApprovalStatus as bA, type IntegrationApprovalStore as bB, type IntegrationAuditEvent as bC, type IntegrationAuditEventType as bD, type IntegrationAuditFilter as bE, type IntegrationAuditSink as bF, type IntegrationAuditStore as bG, type IntegrationBridgePayload as bH, type IntegrationBridgeToolBinding as bI, type IntegrationCapability as bJ, type IntegrationCatalogFreshnessOptions as bK, type IntegrationCatalogFreshnessResult as bL, type IntegrationConnection as bM, type IntegrationConnectionStore as bN, type IntegrationConnector as bO, type IntegrationConnectorAction as bP, type IntegrationConnectorCategory as bQ, type IntegrationConnectorTrigger as bR, type IntegrationCoveragePriority as bS, type IntegrationCoverageSpec as bT, type IntegrationDataClass as bU, IntegrationError as bV, type IntegrationEventStore as bW, type IntegrationGuardContext as bX, type IntegrationHealthcheckCheck as bY, type IntegrationHealthcheckResult as bZ, type IntegrationHealthcheckStatus as b_, type GatewayCatalogEntry as ba, type GatewayCatalogProviderOptions as bb, type GatewayCatalogTrigger as bc, type GraphqlOperationSpec as bd, type HttpIntegrationProviderOptions as be, type ImportCatalogOptions as bf, InMemoryConnectionStore as bg, InMemoryIntegrationApprovalStore as bh, InMemoryIntegrationAuditStore as bi, InMemoryIntegrationEventStore as bj, InMemoryIntegrationHealthcheckStore as bk, InMemoryIntegrationIdempotencyStore as bl, InMemoryIntegrationSecretStore as bm, InMemoryIntegrationWorkflowStore as bn, type InferIntegrationRequirementsOptions as bo, type InstalledIntegrationWorkflow as bp, type IntegrationActionGuard as bq, type IntegrationActionPack as br, type IntegrationActionRequest as bs, type IntegrationActionResult as bt, type IntegrationActionRisk as bu, buildDefaultIntegrationRegistry, type IntegrationActor as bv, type IntegrationApprovalFilter as bw, type IntegrationApprovalRecord as bx, type IntegrationApprovalRequest as by, type IntegrationApprovalResolution as bz, type IntegrationToolSearchResult as c, type TangleIntegrationCatalogFreshnessOptions as c$, IntegrationHub as c0, type IntegrationHubOptions as c1, type IntegrationIdempotencyRecord as c2, type IntegrationIdempotencyStore as c3, type IntegrationInvocationEnvelope as c4, type IntegrationInvocationEnvelopeValidationOptions as c5, type IntegrationPolicyDecision as c6, type IntegrationPolicyEffect as c7, type IntegrationPolicyEngine as c8, type IntegrationPolicyRule as c9, type OpenApiOperation as cA, PROVIDER_PASSTHROUGH_ACTION as cB, type PlatformIntegrationPolicyPresetOptions as cC, type ProviderHttpRequestInput as cD, type ProviderPassthroughPolicy as cE, type RenderConsentOptions as cF, type SecretRef as cG, type StartAuthRequest as cH, type StartAuthResult as cI, type StartedTangleCatalogRuntimeNodeServer as cJ, StaticIntegrationPolicyEngine as cK, type StaticIntegrationPolicyOptions as cL, type StoredIntegrationEvent as cM, TANGLE_INTEGRATIONS_CATALOG_PROVIDER_ID as cN, TANGLE_INTEGRATIONS_CATALOG_SOURCE as cO, type TangleCatalogExecutorInvocation as cP, type TangleCatalogExecutorProviderOptions as cQ, type TangleCatalogHttpExecutorInvocation as cR, type TangleCatalogHttpExecutorOptions as cS, type TangleCatalogRuntimeActionRequest as cT, type TangleCatalogRuntimeNodeServerOptions as cU, type TangleCatalogRuntimePackageManifest as cV, type TangleCatalogRuntimePackageManifestOptions as cW, type TangleCatalogRuntimePiece as cX, type TangleCatalogRuntimeRequest as cY, type TangleCatalogTriggerInvocation as cZ, type TangleIntegrationCatalogEntry as c_, type IntegrationProvider as ca, canonicalConnectorId, type IntegrationProviderKind as cb, type IntegrationRateLimitDecision as cc, type IntegrationRateLimiter as cd, IntegrationSandboxHost as ce, type IntegrationSandboxHostHub as cf, type IntegrationSandboxHostOptions as cg, type IntegrationSecretStore as ch, type IntegrationTriggerEvent as ci, type IntegrationTriggerSubscription as cj, type IntegrationWebhookReceiverResult as ck, type IntegrationWorkflowDefinition as cl, IntegrationWorkflowRuntime as cm, type IntegrationWorkflowRuntimeHub as cn, type IntegrationWorkflowRuntimeOptions as co, composeIntegrationRegistry, type IntegrationWorkflowStore as cp, type InvokeWithCapabilityRequest as cq, type IssueCapabilityRequest as cr, type IssuedIntegrationCapability as cs, type ManifestValidationIssue as ct, type ManifestValidationResult as cu, type McpCatalog as cv, type McpCatalogTool as cw, type MissingRequirementExplanation as cx, type NormalizedIntegrationResult as cy, type OpenApiDocument as cz, buildIntegrationCatalogView as d, importOpenApiConnector as d$, type TangleIntegrationCatalogFreshnessResult as d0, type TangleIntegrationContract as d1, type TangleIntegrationContractStatus as d2, type TangleIntegrationImplementationKind as d3, type TangleIntegrationInvokeInput as d4, type TangleIntegrationInvokeResult as d5, TangleIntegrationsClient as d6, type TangleIntegrationsClientOptions as d7, type WorkspaceCapability as d8, type WorkspaceCapabilityDiscovery as d9, createConnectorAdapterCatalogSource as dA, createConnectorAdapterProvider as dB, createCredentialBackedAdapterProvider as dC, createDefaultIntegrationActionGuard as dD, createDefaultIntegrationPolicyEngine as dE, createGatewayCatalogProvider as dF, createHttpIntegrationProvider as dG, createIntegrationAuditEvent as dH, createIntegrationWorkflowRuntime as dI, createMockIntegrationProvider as dJ, createPlatformIntegrationPolicyPreset as dK, createTangleCatalogExecutorProvider as dL, createTangleCatalogHttpExecutor as dM, createTangleCatalogRuntimeNodeRequestListener as dN, createTangleIntegrationsClient as dO, decodeIntegrationBridgePayload as dP, discoverWorkspaceCapabilities as dQ, dispatchIntegrationInvocation as dR, encodeIntegrationBridgePayload as dS, explainMissingRequirements as dT, extractActivepiecesPublicPieceCount as dU, extractExternalCatalogPublicCount as dV, filterDiscoveryByWorkspaceScopes as dW, getActivepiecesOverride as dX, healthcheckRequest as dY, importGraphqlConnector as dZ, importMcpConnector as d_, type WorkspaceToolSchema as da, type WorkspaceTrigger as db, adapterManifestsToConnectors as dc, assertValidIntegrationManifest as dd, auditIntegrationCatalogFreshness as de, auditTangleIntegrationCatalogFreshness as df, buildActivepiecesConnectors as dg, buildActivepiecesRuntimeRequest as dh, buildApprovalRequest as di, buildCanonicalLaunchConnectors as dj, buildIntegrationBridgeEnvironment as dk, buildIntegrationBridgePayload as dl, buildIntegrationCoverageConnectors as dm, buildIntegrationInvocationEnvelope as dn, buildTangleCatalogRuntimePackageManifest as dp, buildTangleCatalogRuntimeRequest as dq, buildTangleIntegrationCatalogConnectors as dr, calendarExercisePlannerManifest as ds, canonicalActionConnectorId as dt, createActivepiecesExecutorProvider as du, createActivepiecesHttpExecutor as dv, createApprovalBackedPolicyEngine as dw, createAuditingActionGuard as dx, createCatalogExecutorProvider as dy, createConnectionCredentialResolver as dz, buildIntegrationToolCatalog as e, inferIntegrationManifestFromTools as e0, integrationCoverageChecklistMarkdown as e1, invocationRequestFromEnvelope as e2, listActivepiecesCatalogEntries as e3, listIntegrationCoverageSpecs as e4, listTangleIntegrationCatalogEntries as e5, listTangleIntegrationCatalogRuntimePackages as e6, listTangleIntegrationContracts as e7, manifestToConnector as e8, normalizeGatewayCatalog as e9, normalizeIntegrationResult as ea, parseIntegrationBridgeEnvironment as eb, receiveIntegrationWebhook as ec, redactApprovalRequest as ed, redactCapability as ee, redactIntegrationBridgePayload as ef, redactInvocationEnvelope as eg, renderApprovalCopy as eh, renderConsentSummary as ei, renderTangleCatalogRuntimePnpmAddCommand as ej, resolveConnectionCredentials as ek, resolveIntegrationApproval as el, revokeConnection as em, runIntegrationHealthcheck as en, runIntegrationHealthchecks as eo, sanitizeAuditConnection as ep, sanitizeConnection as eq, signActivepiecesRuntimeRequest as er, signCapability as es, startTangleCatalogRuntimeNodeServer as et, storedEventToTriggerEvent as eu, validateIntegrationInvocationEnvelope as ev, validateIntegrationManifest as ew, validateProviderPassthroughRequest as ex, verifyActivepiecesRuntimeSignature as ey, verifyCapabilityToken as ez, InMemoryIntegrationGrantStore as f, type IntegrationCapabilityBinding as g, type IntegrationGrant as h, integrationToolName as i, inferIntegrationSupportTier, type IntegrationGrantStore as j, type IntegrationManifest as k, type IntegrationManifestResolution as l, type IntegrationRequirement as m, type IntegrationRequirementMode as n, type IntegrationRequirementResolution as o, parseIntegrationToolName as p, type IntegrationRequirementStatus as q, IntegrationRuntime as r, searchIntegrationTools as s, summarizeIntegrationRegistry, toMcpTools as t, type IntegrationRuntimeHub as u, type IntegrationRuntimeOptions as v, type IntegrationSandboxBundle as w, createIntegrationRuntime as x, type CheckConnectorInput as y, type CheckConnectorResult as z };
|
package/dist/registry.js
CHANGED
|
@@ -4,14 +4,15 @@ import {
|
|
|
4
4
|
composeIntegrationRegistry,
|
|
5
5
|
inferIntegrationSupportTier,
|
|
6
6
|
summarizeIntegrationRegistry
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TUX6MJJ4.js";
|
|
8
|
+
import "./chunk-P24T3MLM.js";
|
|
8
9
|
import "./chunk-SVQ4PHDZ.js";
|
|
9
10
|
import "./chunk-H4XYLS7T.js";
|
|
11
|
+
import "./chunk-YOKNZY2N.js";
|
|
10
12
|
import "./chunk-4JQ754PA.js";
|
|
11
13
|
import "./chunk-376UBTNB.js";
|
|
12
14
|
import "./chunk-JU25UDN2.js";
|
|
13
15
|
import "./chunk-2TW2QKGZ.js";
|
|
14
|
-
import "./chunk-P24T3MLM.js";
|
|
15
16
|
import "./chunk-ATYHZXLL.js";
|
|
16
17
|
export {
|
|
17
18
|
buildDefaultIntegrationRegistry,
|
package/dist/runtime.js
CHANGED
|
@@ -2,14 +2,15 @@ import {
|
|
|
2
2
|
InMemoryIntegrationGrantStore,
|
|
3
3
|
IntegrationRuntime,
|
|
4
4
|
createIntegrationRuntime
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TUX6MJJ4.js";
|
|
6
|
+
import "./chunk-P24T3MLM.js";
|
|
6
7
|
import "./chunk-SVQ4PHDZ.js";
|
|
7
8
|
import "./chunk-H4XYLS7T.js";
|
|
9
|
+
import "./chunk-YOKNZY2N.js";
|
|
8
10
|
import "./chunk-4JQ754PA.js";
|
|
9
11
|
import "./chunk-376UBTNB.js";
|
|
10
12
|
import "./chunk-JU25UDN2.js";
|
|
11
13
|
import "./chunk-2TW2QKGZ.js";
|
|
12
|
-
import "./chunk-P24T3MLM.js";
|
|
13
14
|
import "./chunk-ATYHZXLL.js";
|
|
14
15
|
export {
|
|
15
16
|
InMemoryIntegrationGrantStore,
|
package/dist/specs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a4 as ApiKeyAuthSpec, a5 as ConsoleStep, a6 as CredentialFieldSpec, a7 as CredentialValidationInput, a8 as CredentialValidationResult, a9 as CustomAuthSpec, aa as HealthcheckPlan, ab as HealthcheckSpec, ac as HmacAuthSpec, ad as INTEGRATION_FAMILIES, ae as IntegrationAuthMode, af as IntegrationAuthSpec, ag as IntegrationFamilyId, ah as IntegrationFamilySpec, ai as IntegrationLifecycleSpec, aj as IntegrationPlannerHints, ak as IntegrationSetupSpec, al as IntegrationSpec, am as IntegrationSpecStatus, an as IntegrationSpecValidationIssue, ao as IntegrationSpecValidationResult, ap as NoneAuthSpec, aq as NormalizedPermission, ar as OAuth2AuthSpec, as as PermissionDescriptor, at as PostSetupCheck, au as Quirk, av as RenderSpecOptions, aw as RenderedConsoleStep, ax as ScopeDescriptor, ay as assertValidIntegrationSpec, az as buildHealthcheckPlan, aA as consoleStepsToText, aB as getIntegrationFamily, aC as getIntegrationSpec, aD as integrationSpecToConnector, aE as listExecutableIntegrationSpecs, aF as listIntegrationSpecs, aG as renderAgentToolDescription, aH as renderConsoleSteps, aI as renderRunbookMarkdown, aJ as specAuthToConnectorAuth, aK as validateCredentialFormat, aL as validateCredentialSet, aM as validateIntegrationSpec } from './registry.js';
|
|
2
2
|
import './tangle-id-CTU4kGId.js';
|
|
3
3
|
import './errors-Bg3_rxnQ.js';
|
|
4
4
|
import './connect/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as TANGLE_CATALOG_RUNTIME_SIGNATURE_HEADER,
|
|
1
|
+
export { T as TANGLE_CATALOG_RUNTIME_SIGNATURE_HEADER, J as TangleCatalogAuthResolverOptions, K as TangleCatalogHttpAuthResolverOptions, N as TangleCatalogHttpAuthResolverRequest, O as TangleCatalogInstalledPackageExecutorOptions, P as TangleCatalogRuntimeHandlerOptions, Q as TangleCatalogRuntimeHttpRequest, S as TangleCatalogRuntimeHttpResponse, U as TangleCatalogRuntimeInvocation, V as TangleCatalogRuntimeModuleAction, W as TangleCatalogRuntimePackageCoverageOptions, X as TangleCatalogRuntimePackageCoverageRow, Y as auditTangleCatalogRuntimePackages, Z as createTangleCatalogCredentialAuthResolver, _ as createTangleCatalogHttpAuthResolver, $ as createTangleCatalogInstalledPackageExecutor, a0 as createTangleCatalogRuntimeHandler, a1 as signTangleCatalogRuntimeRequest, a2 as tangleCatalogAuthValue, a3 as verifyTangleCatalogRuntimeSignature } from './registry.js';
|
|
2
2
|
import './tangle-id-CTU4kGId.js';
|
|
3
3
|
import './errors-Bg3_rxnQ.js';
|
|
4
4
|
import './connect/index.js';
|
|
@@ -8,14 +8,15 @@ import {
|
|
|
8
8
|
signTangleCatalogRuntimeRequest,
|
|
9
9
|
tangleCatalogAuthValue,
|
|
10
10
|
verifyTangleCatalogRuntimeSignature
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TUX6MJJ4.js";
|
|
12
|
+
import "./chunk-P24T3MLM.js";
|
|
12
13
|
import "./chunk-SVQ4PHDZ.js";
|
|
13
14
|
import "./chunk-H4XYLS7T.js";
|
|
15
|
+
import "./chunk-YOKNZY2N.js";
|
|
14
16
|
import "./chunk-4JQ754PA.js";
|
|
15
17
|
import "./chunk-376UBTNB.js";
|
|
16
18
|
import "./chunk-JU25UDN2.js";
|
|
17
19
|
import "./chunk-2TW2QKGZ.js";
|
|
18
|
-
import "./chunk-P24T3MLM.js";
|
|
19
20
|
import "./chunk-ATYHZXLL.js";
|
|
20
21
|
export {
|
|
21
22
|
TANGLE_CATALOG_RUNTIME_SIGNATURE_HEADER,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-integrations",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
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": {
|
|
@@ -39,6 +39,11 @@
|
|
|
39
39
|
"import": "./dist/connect/index.js",
|
|
40
40
|
"default": "./dist/connect/index.js"
|
|
41
41
|
},
|
|
42
|
+
"./consumer": {
|
|
43
|
+
"types": "./dist/consumer.d.ts",
|
|
44
|
+
"import": "./dist/consumer.js",
|
|
45
|
+
"default": "./dist/consumer.js"
|
|
46
|
+
},
|
|
42
47
|
"./middleware": {
|
|
43
48
|
"types": "./dist/middleware/index.d.ts",
|
|
44
49
|
"import": "./dist/middleware/index.js",
|
|
@@ -88,6 +93,15 @@
|
|
|
88
93
|
"publishConfig": {
|
|
89
94
|
"access": "public"
|
|
90
95
|
},
|
|
96
|
+
"scripts": {
|
|
97
|
+
"build": "tsup",
|
|
98
|
+
"dev": "tsup --watch",
|
|
99
|
+
"audit:execution": "pnpm build >/dev/null && node scripts/audit-integration-execution.mjs",
|
|
100
|
+
"prepare": "tsup",
|
|
101
|
+
"test": "vitest run",
|
|
102
|
+
"test:watch": "vitest",
|
|
103
|
+
"typecheck": "tsc --noEmit"
|
|
104
|
+
},
|
|
91
105
|
"devDependencies": {
|
|
92
106
|
"@types/node": "^25.6.0",
|
|
93
107
|
"tsup": "^8.0.0",
|
|
@@ -98,12 +112,5 @@
|
|
|
98
112
|
"node": ">=20"
|
|
99
113
|
},
|
|
100
114
|
"license": "MIT",
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
"dev": "tsup --watch",
|
|
104
|
-
"audit:execution": "pnpm build >/dev/null && node scripts/audit-integration-execution.mjs",
|
|
105
|
-
"test": "vitest run",
|
|
106
|
-
"test:watch": "vitest",
|
|
107
|
-
"typecheck": "tsc --noEmit"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
115
|
+
"packageManager": "pnpm@10.28.0"
|
|
116
|
+
}
|