@tangle-network/agent-integrations 0.50.0 → 0.52.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/dist/catalog.js +5 -4
- package/dist/{chunk-AJ67SDTL.js → chunk-BBUJPJRA.js} +11 -3
- package/dist/{chunk-AJ67SDTL.js.map → chunk-BBUJPJRA.js.map} +1 -1
- package/dist/{chunk-IA5GCKM6.js → chunk-FOQ7S4TK.js} +85 -38
- package/dist/chunk-FOQ7S4TK.js.map +1 -0
- package/dist/chunk-P4FFI752.js +1 -0
- package/dist/chunk-PUXYDSXI.js +109 -0
- package/dist/chunk-PUXYDSXI.js.map +1 -0
- package/dist/{chunk-RM6JJK4Q.js → chunk-XEJKVCXB.js} +181 -19
- package/dist/{chunk-RM6JJK4Q.js.map → chunk-XEJKVCXB.js.map} +1 -1
- package/dist/connectors/adapters/index.js +1 -1
- package/dist/connectors/index.d.ts +39 -2
- package/dist/connectors/index.js +18 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +20 -4
- package/dist/mcp.js +5 -4
- package/dist/mcp.js.map +1 -1
- package/dist/registry.js +5 -4
- package/dist/runtime.js +5 -4
- package/dist/specs.d.ts +13 -2
- package/dist/specs.js +5 -1
- package/package.json +1 -1
- package/dist/chunk-376UBTNB.js +0 -1
- package/dist/chunk-IA5GCKM6.js.map +0 -1
- /package/dist/{chunk-376UBTNB.js.map → chunk-P4FFI752.js.map} +0 -0
package/dist/catalog.js
CHANGED
|
@@ -7,15 +7,16 @@ import {
|
|
|
7
7
|
parseIntegrationToolName,
|
|
8
8
|
searchIntegrationTools,
|
|
9
9
|
toMcpTools
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BBUJPJRA.js";
|
|
11
11
|
import "./chunk-S2BUASSV.js";
|
|
12
12
|
import "./chunk-LA76XB7M.js";
|
|
13
13
|
import "./chunk-H4XYLS7T.js";
|
|
14
14
|
import "./chunk-VLVSP7SP.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-FOQ7S4TK.js";
|
|
16
16
|
import "./chunk-7P2LN4VT.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-P4FFI752.js";
|
|
18
|
+
import "./chunk-PUXYDSXI.js";
|
|
19
|
+
import "./chunk-XEJKVCXB.js";
|
|
19
20
|
import "./chunk-XC54EOUQ.js";
|
|
20
21
|
import "./chunk-UWF33ESC.js";
|
|
21
22
|
import "./chunk-PZ5AY32C.js";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
integrationSpecToConnector,
|
|
7
7
|
listIntegrationSpecs
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FOQ7S4TK.js";
|
|
9
9
|
import {
|
|
10
10
|
CONNECTOR_ADAPTER_FACTORIES,
|
|
11
11
|
adapters_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XEJKVCXB.js";
|
|
13
13
|
|
|
14
14
|
// src/activepieces-catalog.ts
|
|
15
15
|
import { readFileSync } from "fs";
|
|
@@ -4167,9 +4167,17 @@ function toMcpTools(tools) {
|
|
|
4167
4167
|
function scoreTool(tool, terms) {
|
|
4168
4168
|
if (terms.length === 0) return { tool, score: 1, matched: [] };
|
|
4169
4169
|
const haystack = new Set(tool.tags);
|
|
4170
|
+
const identity = new Set(
|
|
4171
|
+
[tool.connectorId, tool.connectorTitle, tool.providerId].flatMap(tokenize)
|
|
4172
|
+
);
|
|
4170
4173
|
const matched = [];
|
|
4171
4174
|
let score = 0;
|
|
4172
4175
|
for (const term of terms) {
|
|
4176
|
+
if (identity.has(term)) {
|
|
4177
|
+
matched.push(term);
|
|
4178
|
+
score += 6;
|
|
4179
|
+
continue;
|
|
4180
|
+
}
|
|
4173
4181
|
if (haystack.has(term)) {
|
|
4174
4182
|
matched.push(term);
|
|
4175
4183
|
score += 4;
|
|
@@ -4339,4 +4347,4 @@ export {
|
|
|
4339
4347
|
signCapability,
|
|
4340
4348
|
verifyCapabilityToken
|
|
4341
4349
|
};
|
|
4342
|
-
//# sourceMappingURL=chunk-
|
|
4350
|
+
//# sourceMappingURL=chunk-BBUJPJRA.js.map
|