@tangle-network/agent-integrations 0.53.41 → 0.53.43

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 CHANGED
@@ -7,16 +7,16 @@ import {
7
7
  parseIntegrationToolName,
8
8
  searchIntegrationTools,
9
9
  toMcpTools
10
- } from "./chunk-YV6FORXB.js";
10
+ } from "./chunk-JFCI7ZRL.js";
11
11
  import "./chunk-JR2RWYQO.js";
12
12
  import "./chunk-EKSAOR2I.js";
13
13
  import "./chunk-H4XYLS7T.js";
14
14
  import "./chunk-TP4MD4PD.js";
15
- import "./chunk-XAYY52H3.js";
15
+ import "./chunk-VW2V2BKX.js";
16
16
  import "./chunk-AG4ORH2A.js";
17
17
  import "./chunk-P4FFI752.js";
18
- import "./chunk-HFKI2ZOK.js";
19
- import "./chunk-4JDM3HRZ.js";
18
+ import "./chunk-RJWRLT26.js";
19
+ import "./chunk-5DNAYNBL.js";
20
20
  import "./chunk-XC54EOUQ.js";
21
21
  import "./chunk-WE7SQ7PB.js";
22
22
  import "./chunk-PZ5AY32C.js";
@@ -6517,9 +6517,11 @@ var digitalPilotConnector = declarativeRestConnector({
6517
6517
  });
6518
6518
 
6519
6519
  // src/connectors/adapters/duckdb.ts
6520
- import {
6521
- DuckDBInstance
6522
- } from "@duckdb/node-api";
6520
+ async function duckdbInstance() {
6521
+ const specifier = ["@duckdb", "node-api"].join("/");
6522
+ const { DuckDBInstance } = await import(specifier);
6523
+ return DuckDBInstance;
6524
+ }
6523
6525
  var MAX_ARGUMENTS = 100;
6524
6526
  var MAX_COLUMNS2 = 256;
6525
6527
  var MAX_EXECUTION_MS = 5e3;
@@ -6588,7 +6590,7 @@ var duckdbConnector = {
6588
6590
  const query2 = readQuery(args.query);
6589
6591
  const queryArgs = readArguments(args.args);
6590
6592
  const maxRows = readBoundedInteger(args.maxRows, 1e3, 1, MAX_ROWS, "maxRows");
6591
- const instance = await DuckDBInstance.create(":memory:");
6593
+ const instance = await (await duckdbInstance()).create(":memory:");
6592
6594
  let connection;
6593
6595
  let timedOut = false;
6594
6596
  let timeout;
@@ -6636,7 +6638,7 @@ var duckdbConnector = {
6636
6638
  }
6637
6639
  },
6638
6640
  async test() {
6639
- const instance = await DuckDBInstance.create(":memory:");
6641
+ const instance = await (await duckdbInstance()).create(":memory:");
6640
6642
  let connection;
6641
6643
  try {
6642
6644
  const activeConnection = await instance.connect();
@@ -61138,11 +61140,14 @@ var salesforceConnector = declarativeRestConnector({
61138
61140
  // src/connectors/adapters/sftp.ts
61139
61141
  import { timingSafeEqual as timingSafeEqual4 } from "crypto";
61140
61142
  import { posix } from "path";
61141
- import SftpClient from "ssh2-sftp-client";
61142
61143
  var MAX_LIST_ENTRIES = 1e3;
61143
61144
  var MAX_PATH_LENGTH = 1024;
61144
61145
  function createSftpConnector(options = {}) {
61145
- const createClient = options.createClient ?? (() => new SftpClient());
61146
+ const createClient = options.createClient ?? (async () => {
61147
+ const specifier = ["ssh2", "sftp-client"].join("-");
61148
+ const loaded = await import(specifier);
61149
+ return new loaded.default();
61150
+ });
61146
61151
  const lookupHost = options.lookupHost ?? resolvePublicHostAddresses;
61147
61152
  return {
61148
61153
  manifest: {
@@ -61358,7 +61363,7 @@ function pathSchema() {
61358
61363
  async function withSftp(credentials, createClient, lookupHost, run) {
61359
61364
  const addresses = await lookupHost(credentials.host);
61360
61365
  if (addresses.length === 0) throw new Error("SFTP host did not resolve");
61361
- const client = createClient();
61366
+ const client = await createClient();
61362
61367
  try {
61363
61368
  await client.connect({
61364
61369
  host: addresses[0],
@@ -147106,4 +147111,4 @@ export {
147106
147111
  getresponseConnector,
147107
147112
  adapters_exports
147108
147113
  };
147109
- //# sourceMappingURL=chunk-4JDM3HRZ.js.map
147114
+ //# sourceMappingURL=chunk-5DNAYNBL.js.map