@tangle-network/agent-integrations 0.53.52 → 0.53.54
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 +23 -0
- package/data/bundled-adapter-manifests.json +1 -0
- package/dist/audit-DMTzJQJU.d.ts +51 -0
- package/dist/catalog.d.ts +3 -3
- package/dist/catalog.js +2 -12
- package/dist/chunk-A4OJ5EQT.js +133156 -0
- package/dist/chunk-A4OJ5EQT.js.map +1 -0
- package/dist/chunk-ABA4HWIQ.js +58 -0
- package/dist/chunk-ABA4HWIQ.js.map +1 -0
- package/dist/chunk-DED3J7F6.js +1 -0
- package/dist/chunk-ESY2FBBM.js +33 -0
- package/dist/chunk-ESY2FBBM.js.map +1 -0
- package/dist/chunk-GIK6EXU2.js +121 -0
- package/dist/chunk-GIK6EXU2.js.map +1 -0
- package/dist/{chunk-TKEVCGAI.js → chunk-MH4IEJCL.js} +8 -1
- package/dist/chunk-MH4IEJCL.js.map +1 -0
- package/dist/chunk-QVWTBQXP.js +267 -0
- package/dist/chunk-QVWTBQXP.js.map +1 -0
- package/dist/{chunk-CONRYVPK.js → chunk-QWOX5SIM.js} +6 -33
- package/dist/chunk-QWOX5SIM.js.map +1 -0
- package/dist/chunk-RSJRICPU.js +394 -0
- package/dist/chunk-RSJRICPU.js.map +1 -0
- package/dist/chunk-WPQJK4S4.js +400 -0
- package/dist/chunk-WPQJK4S4.js.map +1 -0
- package/dist/connect/index.d.ts +2 -2
- package/dist/connectors/adapters/index.d.ts +2 -2
- package/dist/connectors/index.d.ts +10 -22
- package/dist/connectors/index.js +12 -10
- package/dist/{consumer-BbQWkIzU.d.ts → consumer-CIq2D22y.d.ts} +4 -51
- package/dist/consumer.d.ts +5 -4
- package/dist/{core-types-A-xIaTzb.d.ts → core-types-DZJQRBya.d.ts} +2 -2
- package/dist/coverage-catalog.d.ts +2 -2
- package/dist/coverage-catalog.js +1 -1
- package/dist/{importers-BMigcDVf.d.ts → importers-Cyk5osDs.d.ts} +1 -1
- package/dist/index.d.ts +17 -104
- package/dist/index.js +72 -62
- package/dist/internal/bundled-manifest-runtime.d.ts +15 -0
- package/dist/internal/bundled-manifest-runtime.js +13 -0
- package/dist/internal/bundled-manifest-runtime.js.map +1 -0
- package/dist/mcp.d.ts +3 -3
- package/dist/mcp.js +10 -5
- package/dist/mcp.js.map +1 -1
- package/dist/middleware/index.d.ts +2 -2
- package/dist/registry-core-DqdQjTkh.d.ts +49 -0
- package/dist/registry.d.ts +6 -49
- package/dist/registry.js +16 -10
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +3 -12
- package/dist/specs.d.ts +2 -2
- package/dist/specs.js +4 -6
- package/dist/{tangle-id-gFOGXe4Y.d.ts → tangle-id-Oy2z4W3p.d.ts} +1 -1
- package/dist/{types-DpKEBiX6.d.ts → types-DIis6QtV.d.ts} +1 -1
- package/dist/worker.d.ts +99 -0
- package/dist/worker.js +28 -0
- package/dist/worker.js.map +1 -0
- package/docs/repo-structure.md +29 -6
- package/package.json +10 -1
- package/dist/chunk-CONRYVPK.js.map +0 -1
- package/dist/chunk-CT3J7ZB6.js +0 -4849
- package/dist/chunk-CT3J7ZB6.js.map +0 -1
- package/dist/chunk-E2QYXDJQ.js +0 -147
- package/dist/chunk-E2QYXDJQ.js.map +0 -1
- package/dist/chunk-P4FFI752.js +0 -1
- package/dist/chunk-TKEVCGAI.js.map +0 -1
- /package/dist/{chunk-P4FFI752.js.map → chunk-DED3J7F6.js.map} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { I as IntegrationActor, a as IntegrationConnectorAction, b as IntegrationDataClass, c as IntegrationActionGuard, d as IntegrationConnection } from './core-types-DZJQRBya.js';
|
|
2
|
+
|
|
3
|
+
type IntegrationAuditEventType = 'connection.created' | 'connection.updated' | 'connection.revoked' | 'grant.created' | 'grant.revoked' | 'capability.issued' | 'action.invoked' | 'action.failed' | 'trigger.subscribed' | 'trigger.received' | 'workflow.installed' | 'approval.requested' | 'approval.resolved' | 'healthcheck.completed';
|
|
4
|
+
interface IntegrationAuditEvent {
|
|
5
|
+
id: string;
|
|
6
|
+
type: IntegrationAuditEventType;
|
|
7
|
+
occurredAt: string;
|
|
8
|
+
actor?: IntegrationActor;
|
|
9
|
+
connectionId?: string;
|
|
10
|
+
providerId?: string;
|
|
11
|
+
connectorId?: string;
|
|
12
|
+
action?: string;
|
|
13
|
+
risk?: IntegrationConnectorAction['risk'];
|
|
14
|
+
dataClass?: IntegrationDataClass;
|
|
15
|
+
ok?: boolean;
|
|
16
|
+
message?: string;
|
|
17
|
+
metadata?: Record<string, unknown>;
|
|
18
|
+
}
|
|
19
|
+
interface IntegrationAuditSink {
|
|
20
|
+
record(event: IntegrationAuditEvent): Promise<void> | void;
|
|
21
|
+
}
|
|
22
|
+
interface IntegrationAuditStore extends IntegrationAuditSink {
|
|
23
|
+
list(filter?: IntegrationAuditFilter): Promise<IntegrationAuditEvent[]> | IntegrationAuditEvent[];
|
|
24
|
+
}
|
|
25
|
+
interface IntegrationAuditFilter {
|
|
26
|
+
type?: IntegrationAuditEventType;
|
|
27
|
+
actor?: IntegrationActor;
|
|
28
|
+
connectionId?: string;
|
|
29
|
+
providerId?: string;
|
|
30
|
+
connectorId?: string;
|
|
31
|
+
action?: string;
|
|
32
|
+
}
|
|
33
|
+
declare class InMemoryIntegrationAuditStore implements IntegrationAuditStore {
|
|
34
|
+
private readonly events;
|
|
35
|
+
record(event: IntegrationAuditEvent): void;
|
|
36
|
+
list(filter?: IntegrationAuditFilter): IntegrationAuditEvent[];
|
|
37
|
+
}
|
|
38
|
+
declare function createIntegrationAuditEvent(input: Omit<IntegrationAuditEvent, 'id' | 'occurredAt'> & {
|
|
39
|
+
id?: string;
|
|
40
|
+
occurredAt?: string | Date;
|
|
41
|
+
now?: () => Date;
|
|
42
|
+
}): IntegrationAuditEvent;
|
|
43
|
+
declare function createAuditingActionGuard(options: {
|
|
44
|
+
sink: IntegrationAuditSink;
|
|
45
|
+
subject?: IntegrationActor;
|
|
46
|
+
now?: () => Date;
|
|
47
|
+
includeInputPreview?: boolean;
|
|
48
|
+
}): IntegrationActionGuard;
|
|
49
|
+
declare function sanitizeAuditConnection(connection: IntegrationConnection): Record<string, unknown>;
|
|
50
|
+
|
|
51
|
+
export { type IntegrationAuditSink as I, InMemoryIntegrationAuditStore as a, type IntegrationAuditEvent as b, type IntegrationAuditEventType as c, type IntegrationAuditFilter as d, type IntegrationAuditStore as e, createAuditingActionGuard as f, createIntegrationAuditEvent as g, sanitizeAuditConnection as s };
|
package/dist/catalog.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import './types-
|
|
1
|
+
import { g as IntegrationConnectorCategory, a as IntegrationConnectorAction, h as IntegrationActionRisk, b as IntegrationDataClass, e as IntegrationConnector } from './core-types-DZJQRBya.js';
|
|
2
|
+
import { I as IntegrationSupportTier, a as IntegrationRegistry, e as IntegrationRegistrySummary } from './registry-core-DqdQjTkh.js';
|
|
3
|
+
import './types-DIis6QtV.js';
|
|
4
4
|
|
|
5
5
|
interface IntegrationToolDefinition {
|
|
6
6
|
name: string;
|
package/dist/catalog.js
CHANGED
|
@@ -7,18 +7,8 @@ import {
|
|
|
7
7
|
parseIntegrationToolName,
|
|
8
8
|
searchIntegrationTools,
|
|
9
9
|
toMcpTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-PIEBVPSW.js";
|
|
13
|
-
import "./chunk-H4XYLS7T.js";
|
|
14
|
-
import "./chunk-ABWBYMCF.js";
|
|
15
|
-
import "./chunk-CONRYVPK.js";
|
|
16
|
-
import "./chunk-TKEVCGAI.js";
|
|
17
|
-
import "./chunk-P4FFI752.js";
|
|
18
|
-
import "./chunk-E2QYXDJQ.js";
|
|
19
|
-
import "./chunk-QL6CRJ3E.js";
|
|
20
|
-
import "./chunk-XC54EOUQ.js";
|
|
21
|
-
import "./chunk-DCSQH4O6.js";
|
|
10
|
+
} from "./chunk-WPQJK4S4.js";
|
|
11
|
+
import "./chunk-ESY2FBBM.js";
|
|
22
12
|
import "./chunk-PZ5AY32C.js";
|
|
23
13
|
export {
|
|
24
14
|
buildIntegrationCatalogView,
|