@tangle-network/agent-integrations 0.32.0 → 0.33.1
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/bin/tangle-catalog-runtime.js +7 -7
- package/dist/catalog.d.ts +74 -8
- package/dist/catalog.js +7 -7
- package/dist/{chunk-JCHD6L3B.js → chunk-43VQSANC.js} +2 -2
- package/dist/{chunk-F4YILONK.js → chunk-6N23S4JY.js} +21530 -257
- package/dist/chunk-6N23S4JY.js.map +1 -0
- package/dist/{chunk-VVC7U7W7.js → chunk-7T5YTVER.js} +51 -2
- package/dist/chunk-7T5YTVER.js.map +1 -0
- package/dist/{chunk-Q5X3QNHR.js → chunk-NQ7OPDUM.js} +261 -1
- package/dist/chunk-NQ7OPDUM.js.map +1 -0
- package/dist/{chunk-S2MVWQYL.js → chunk-RF3RH374.js} +2 -2
- package/dist/{chunk-DN6DNPPH.js → chunk-XO2RSS6Y.js} +125 -11
- package/dist/chunk-XO2RSS6Y.js.map +1 -0
- package/dist/{chunk-CDY2ETYT.js → chunk-YPZORI3G.js} +2 -2
- package/dist/connect/index.d.ts +2 -1
- package/dist/connect/index.js +2 -2
- package/dist/connectors/adapters/index.d.ts +113 -25
- package/dist/connectors/adapters/index.js +4 -2
- package/dist/connectors/index.d.ts +3 -2
- package/dist/connectors/index.js +4 -2
- package/dist/consumer-CzJgntej.d.ts +292 -0
- package/dist/consumer.d.ts +6 -8
- package/dist/consumer.js +2 -2
- package/dist/core-types-D5Dc65Ud.d.ts +355 -0
- package/dist/index.d.ts +1282 -4
- package/dist/index.js +13 -7
- package/dist/middleware/index.d.ts +2 -1
- package/dist/middleware/index.js +2 -2
- package/dist/registry.d.ts +3 -2424
- package/dist/registry.js +7 -7
- package/dist/runtime.d.ts +137 -8
- package/dist/runtime.js +7 -7
- package/dist/specs.d.ts +208 -8
- package/dist/specs.js +1 -1
- package/dist/tangle-catalog-runtime-2HddXxoM.d.ts +242 -0
- package/dist/tangle-catalog-runtime.d.ts +3 -8
- package/dist/tangle-catalog-runtime.js +7 -7
- package/dist/tangle-id-DA_qj-O_.d.ts +192 -0
- package/dist/{tangle-id-Dj0ipP4E.d.ts → types-XdpvaIzW.d.ts} +1 -167
- package/docs/integration-execution-audit.md +7 -5
- package/docs/integration-execution-matrix.json +32 -0
- package/package.json +12 -10
- package/dist/chunk-DN6DNPPH.js.map +0 -1
- package/dist/chunk-F4YILONK.js.map +0 -1
- package/dist/chunk-Q5X3QNHR.js.map +0 -1
- package/dist/chunk-VVC7U7W7.js.map +0 -1
- /package/dist/{chunk-JCHD6L3B.js.map → chunk-43VQSANC.js.map} +0 -0
- /package/dist/{chunk-S2MVWQYL.js.map → chunk-RF3RH374.js.map} +0 -0
- /package/dist/{chunk-CDY2ETYT.js.map → chunk-YPZORI3G.js.map} +0 -0
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
buildTangleCatalogRuntimePackageManifest,
|
|
5
5
|
renderTangleCatalogRuntimePnpmAddCommand,
|
|
6
6
|
startTangleCatalogRuntimeNodeServer
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-XO2RSS6Y.js";
|
|
8
|
+
import "../chunk-43VQSANC.js";
|
|
9
|
+
import "../chunk-YPZORI3G.js";
|
|
10
10
|
import "../chunk-H4XYLS7T.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-RF3RH374.js";
|
|
12
|
+
import "../chunk-7T5YTVER.js";
|
|
13
13
|
import "../chunk-376UBTNB.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-6N23S4JY.js";
|
|
15
15
|
import "../chunk-2TW2QKGZ.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-NQ7OPDUM.js";
|
|
17
17
|
|
|
18
18
|
// src/bin/tangle-catalog-runtime.ts
|
|
19
19
|
var args = new Set(process.argv.slice(2));
|
package/dist/catalog.d.ts
CHANGED
|
@@ -1,8 +1,74 @@
|
|
|
1
|
-
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { IntegrationSupportTier, IntegrationRegistry, IntegrationRegistrySummary } from './registry.js';
|
|
2
|
+
import { d as IntegrationConnectorCategory, e as IntegrationConnectorAction, f as IntegrationActionRisk, g as IntegrationDataClass, b as IntegrationConnector } from './core-types-D5Dc65Ud.js';
|
|
3
|
+
import './types-XdpvaIzW.js';
|
|
4
|
+
|
|
5
|
+
interface IntegrationToolDefinition {
|
|
6
|
+
name: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
providerId: string;
|
|
10
|
+
connectorId: string;
|
|
11
|
+
connectorTitle: string;
|
|
12
|
+
category: IntegrationConnectorCategory;
|
|
13
|
+
action: IntegrationConnectorAction;
|
|
14
|
+
risk: IntegrationActionRisk;
|
|
15
|
+
dataClass: IntegrationDataClass;
|
|
16
|
+
requiredScopes: string[];
|
|
17
|
+
inputSchema?: unknown;
|
|
18
|
+
outputSchema?: unknown;
|
|
19
|
+
tags: string[];
|
|
20
|
+
supportTier?: IntegrationSupportTier;
|
|
21
|
+
runnable?: boolean;
|
|
22
|
+
}
|
|
23
|
+
interface IntegrationCatalogView {
|
|
24
|
+
connectors: IntegrationConnector[];
|
|
25
|
+
conflicts: IntegrationRegistry['entries'][number]['conflicts'];
|
|
26
|
+
summary: IntegrationRegistrySummary;
|
|
27
|
+
tools: IntegrationToolDefinition[];
|
|
28
|
+
runtimeTools: IntegrationToolDefinition[];
|
|
29
|
+
discoveryTools: IntegrationToolDefinition[];
|
|
30
|
+
}
|
|
31
|
+
interface IntegrationToolSearchFilters {
|
|
32
|
+
providerId?: string;
|
|
33
|
+
connectorId?: string;
|
|
34
|
+
category?: IntegrationConnectorCategory;
|
|
35
|
+
maxRisk?: IntegrationActionRisk;
|
|
36
|
+
dataClass?: IntegrationDataClass;
|
|
37
|
+
limit?: number;
|
|
38
|
+
}
|
|
39
|
+
interface IntegrationToolSearchResult {
|
|
40
|
+
tool: IntegrationToolDefinition;
|
|
41
|
+
score: number;
|
|
42
|
+
matched: string[];
|
|
43
|
+
}
|
|
44
|
+
interface McpToolDefinition {
|
|
45
|
+
name: string;
|
|
46
|
+
description: string;
|
|
47
|
+
inputSchema: unknown;
|
|
48
|
+
}
|
|
49
|
+
declare function integrationToolName(providerId: string, connectorId: string, actionId: string): string;
|
|
50
|
+
declare function parseIntegrationToolName(name: string): {
|
|
51
|
+
providerId: string;
|
|
52
|
+
connectorId: string;
|
|
53
|
+
actionId: string;
|
|
54
|
+
};
|
|
55
|
+
declare function buildIntegrationToolCatalog(connectors: IntegrationConnector[]): IntegrationToolDefinition[];
|
|
56
|
+
/** Flatten a single (connector, action) pair into the tool descriptor the
|
|
57
|
+
* catalog exposes. The inverse of {@link parseIntegrationToolName} +
|
|
58
|
+
* {@link integrationToolName}: every tool name round-trips back to exactly
|
|
59
|
+
* this shape via {@link describeIntegrationTool}. */
|
|
60
|
+
declare function flattenIntegrationToolDefinition(connector: IntegrationConnector, action: IntegrationConnectorAction): IntegrationToolDefinition;
|
|
61
|
+
/** Resolve a single tool's full descriptor from an opaque
|
|
62
|
+
* `int_<provider>_<connector>_<action>` name against a composed registry.
|
|
63
|
+
* Returns undefined when the name is malformed, the connector is unknown,
|
|
64
|
+
* or the action is not defined by that connector. Powers `/tools/describe`
|
|
65
|
+
* without callers re-implementing parse → byId → action → flatten. */
|
|
66
|
+
declare function describeIntegrationTool(registry: IntegrationRegistry, toolName: string): IntegrationToolDefinition | undefined;
|
|
67
|
+
declare function buildIntegrationCatalogView(input: {
|
|
68
|
+
discoveryRegistry: IntegrationRegistry;
|
|
69
|
+
executableRegistry?: IntegrationRegistry;
|
|
70
|
+
}): IntegrationCatalogView;
|
|
71
|
+
declare function searchIntegrationTools(catalog: IntegrationToolDefinition[], query: string, filters?: IntegrationToolSearchFilters): IntegrationToolSearchResult[];
|
|
72
|
+
declare function toMcpTools(tools: IntegrationToolDefinition[]): McpToolDefinition[];
|
|
73
|
+
|
|
74
|
+
export { type IntegrationCatalogView, type IntegrationToolDefinition, type IntegrationToolSearchFilters, type IntegrationToolSearchResult, type McpToolDefinition, buildIntegrationCatalogView, buildIntegrationToolCatalog, describeIntegrationTool, flattenIntegrationToolDefinition, integrationToolName, parseIntegrationToolName, searchIntegrationTools, toMcpTools };
|
package/dist/catalog.js
CHANGED
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
parseIntegrationToolName,
|
|
8
8
|
searchIntegrationTools,
|
|
9
9
|
toMcpTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-XO2RSS6Y.js";
|
|
11
|
+
import "./chunk-43VQSANC.js";
|
|
12
|
+
import "./chunk-YPZORI3G.js";
|
|
13
13
|
import "./chunk-H4XYLS7T.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-RF3RH374.js";
|
|
15
|
+
import "./chunk-7T5YTVER.js";
|
|
16
16
|
import "./chunk-376UBTNB.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-6N23S4JY.js";
|
|
18
18
|
import "./chunk-2TW2QKGZ.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-NQ7OPDUM.js";
|
|
20
20
|
export {
|
|
21
21
|
buildIntegrationCatalogView,
|
|
22
22
|
buildIntegrationToolCatalog,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEFAULT_TANGLE_PLATFORM_URL,
|
|
3
3
|
TangleIdentityUnreachableError,
|
|
4
4
|
createTangleIdentityClient
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ7OPDUM.js";
|
|
6
6
|
|
|
7
7
|
// src/connect/index.ts
|
|
8
8
|
function startConnectFlow(opts, input) {
|
|
@@ -103,4 +103,4 @@ export {
|
|
|
103
103
|
revokeConnectFlow,
|
|
104
104
|
InMemoryConnectStateStore
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=chunk-
|
|
106
|
+
//# sourceMappingURL=chunk-43VQSANC.js.map
|