@tangle-network/agent-integrations 0.53.39 → 0.53.42

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-7XU4H55M.js";
10
+ } from "./chunk-JSVLILIY.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-QO5W4FXN.js";
15
+ import "./chunk-RKCNKXVI.js";
16
16
  import "./chunk-AG4ORH2A.js";
17
17
  import "./chunk-P4FFI752.js";
18
- import "./chunk-CEZCEFRT.js";
19
- import "./chunk-7OO5AGJL.js";
18
+ import "./chunk-5HYXQWCX.js";
19
+ import "./chunk-WU6BW73M.js";
20
20
  import "./chunk-XC54EOUQ.js";
21
21
  import "./chunk-WE7SQ7PB.js";
22
22
  import "./chunk-PZ5AY32C.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CONNECTOR_ADAPTER_FACTORIES,
3
3
  adapters_exports
4
- } from "./chunk-7OO5AGJL.js";
4
+ } from "./chunk-WU6BW73M.js";
5
5
 
6
6
  // src/connectors/bundled-manifests.ts
7
7
  var MANIFEST_PROBE_PREFIX = "tangle-adapter-metadata-";
@@ -125,4 +125,4 @@ export {
125
125
  bundledApiKeyHint,
126
126
  bundledOAuth2Auth
127
127
  };
128
- //# sourceMappingURL=chunk-CEZCEFRT.js.map
128
+ //# sourceMappingURL=chunk-5HYXQWCX.js.map
@@ -7,13 +7,13 @@ import {
7
7
  canonicalIntegrationKind,
8
8
  integrationSpecToConnector,
9
9
  listIntegrationSpecs
10
- } from "./chunk-QO5W4FXN.js";
10
+ } from "./chunk-RKCNKXVI.js";
11
11
  import {
12
12
  listBundledConnectorAdapters
13
- } from "./chunk-CEZCEFRT.js";
13
+ } from "./chunk-5HYXQWCX.js";
14
14
  import {
15
15
  CONNECTOR_ADAPTER_FACTORIES
16
- } from "./chunk-7OO5AGJL.js";
16
+ } from "./chunk-WU6BW73M.js";
17
17
 
18
18
  // src/activepieces-catalog.ts
19
19
  import { readFileSync } from "fs";
@@ -4426,4 +4426,4 @@ export {
4426
4426
  signCapability,
4427
4427
  verifyCapabilityToken
4428
4428
  };
4429
- //# sourceMappingURL=chunk-7XU4H55M.js.map
4429
+ //# sourceMappingURL=chunk-JSVLILIY.js.map
@@ -7,7 +7,7 @@ import {
7
7
  bundledAuthMode,
8
8
  bundledOAuth2Auth,
9
9
  getBundledAdapterManifest
10
- } from "./chunk-CEZCEFRT.js";
10
+ } from "./chunk-5HYXQWCX.js";
11
11
 
12
12
  // src/specs/types.ts
13
13
  function specAuthToConnectorAuth(auth) {
@@ -1343,4 +1343,4 @@ export {
1343
1343
  validateCredentialFormat,
1344
1344
  validateCredentialSet
1345
1345
  };
1346
- //# sourceMappingURL=chunk-QO5W4FXN.js.map
1346
+ //# sourceMappingURL=chunk-RKCNKXVI.js.map
@@ -6517,9 +6517,10 @@ 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 { DuckDBInstance } = await import("@duckdb/node-api");
6522
+ return DuckDBInstance;
6523
+ }
6523
6524
  var MAX_ARGUMENTS = 100;
6524
6525
  var MAX_COLUMNS2 = 256;
6525
6526
  var MAX_EXECUTION_MS = 5e3;
@@ -6588,7 +6589,7 @@ var duckdbConnector = {
6588
6589
  const query2 = readQuery(args.query);
6589
6590
  const queryArgs = readArguments(args.args);
6590
6591
  const maxRows = readBoundedInteger(args.maxRows, 1e3, 1, MAX_ROWS, "maxRows");
6591
- const instance = await DuckDBInstance.create(":memory:");
6592
+ const instance = await (await duckdbInstance()).create(":memory:");
6592
6593
  let connection;
6593
6594
  let timedOut = false;
6594
6595
  let timeout;
@@ -6636,7 +6637,7 @@ var duckdbConnector = {
6636
6637
  }
6637
6638
  },
6638
6639
  async test() {
6639
- const instance = await DuckDBInstance.create(":memory:");
6640
+ const instance = await (await duckdbInstance()).create(":memory:");
6640
6641
  let connection;
6641
6642
  try {
6642
6643
  const activeConnection = await instance.connect();
@@ -25220,8 +25221,11 @@ var biginByZohoConnector = declarativeRestConnector({
25220
25221
  "ZohoBigin.settings.READ"
25221
25222
  ],
25222
25223
  scopeSeparator: ",",
25223
- clientIdEnv: "ZOHO_OAUTH_CLIENT_ID",
25224
- clientSecretEnv: "ZOHO_OAUTH_CLIENT_SECRET",
25224
+ // Bigin is a separate Zoho product and OAuth application from Zoho CRM.
25225
+ // Keep its client pair explicit so a configured CRM app cannot shadow it
25226
+ // through the shared Zoho service aliases.
25227
+ clientIdEnv: "BIGIN_BY_ZOHO_OAUTH_CLIENT_ID",
25228
+ clientSecretEnv: "BIGIN_BY_ZOHO_OAUTH_CLIENT_SECRET",
25225
25229
  extraAuthParams: { access_type: "offline", prompt: "consent" },
25226
25230
  tokenMetadata: {
25227
25231
  apiDomain: { field: "api_domain", required: true }
@@ -61135,11 +61139,13 @@ var salesforceConnector = declarativeRestConnector({
61135
61139
  // src/connectors/adapters/sftp.ts
61136
61140
  import { timingSafeEqual as timingSafeEqual4 } from "crypto";
61137
61141
  import { posix } from "path";
61138
- import SftpClient from "ssh2-sftp-client";
61139
61142
  var MAX_LIST_ENTRIES = 1e3;
61140
61143
  var MAX_PATH_LENGTH = 1024;
61141
61144
  function createSftpConnector(options = {}) {
61142
- const createClient = options.createClient ?? (() => new SftpClient());
61145
+ const createClient = options.createClient ?? (async () => {
61146
+ const { default: SftpClient } = await import("ssh2-sftp-client");
61147
+ return new SftpClient();
61148
+ });
61143
61149
  const lookupHost = options.lookupHost ?? resolvePublicHostAddresses;
61144
61150
  return {
61145
61151
  manifest: {
@@ -61355,7 +61361,7 @@ function pathSchema() {
61355
61361
  async function withSftp(credentials, createClient, lookupHost, run) {
61356
61362
  const addresses = await lookupHost(credentials.host);
61357
61363
  if (addresses.length === 0) throw new Error("SFTP host did not resolve");
61358
- const client = createClient();
61364
+ const client = await createClient();
61359
61365
  try {
61360
61366
  await client.connect({
61361
61367
  host: addresses[0],
@@ -81005,6 +81011,10 @@ var zohoOAuthEnvMap = {
81005
81011
  "BIGIN_BY_ZOHO_OAUTH_CLIENT_SECRET"
81006
81012
  ]
81007
81013
  };
81014
+ var biginByZohoOAuthEnvMap = {
81015
+ clientId: "BIGIN_BY_ZOHO_OAUTH_CLIENT_ID",
81016
+ clientSecret: "BIGIN_BY_ZOHO_OAUTH_CLIENT_SECRET"
81017
+ };
81008
81018
  var CONNECTOR_ADAPTER_FACTORIES = [
81009
81019
  defineFactoryAdapter(
81010
81020
  googleCalendar,
@@ -81404,7 +81414,7 @@ var CONNECTOR_ADAPTER_FACTORIES = [
81404
81414
  clientSecret: "CAPSULE_CRM_OAUTH_CLIENT_SECRET"
81405
81415
  }),
81406
81416
  defineFactoryAdapter(() => insightlyConnector, {}),
81407
- defineFactoryAdapter(() => biginByZohoConnector, zohoOAuthEnvMap),
81417
+ defineFactoryAdapter(() => biginByZohoConnector, biginByZohoOAuthEnvMap),
81408
81418
  defineFactoryAdapter(() => fireberryConnector, {}),
81409
81419
  defineFactoryAdapter(() => flowluConnector, {}),
81410
81420
  defineFactoryAdapter(() => leadConnectorConnector, {
@@ -82639,6 +82649,211 @@ var githubConnector = declarativeRestConnector({
82639
82649
  },
82640
82650
  request: { method: "GET", path: "/orgs/{org}/members/{user}", existenceCheck: true }
82641
82651
  },
82652
+ {
82653
+ name: "pulls.get",
82654
+ class: "read",
82655
+ description: "Read a single pull request, including its head/base refs and the repository it targets.",
82656
+ parameters: {
82657
+ type: "object",
82658
+ properties: {
82659
+ owner: { type: "string" },
82660
+ repo: { type: "string" },
82661
+ pull_number: { type: "integer", description: "The pull request number within the repository." }
82662
+ },
82663
+ required: ["owner", "repo", "pull_number"]
82664
+ },
82665
+ request: { method: "GET", path: "/repos/{owner}/{repo}/pulls/{pull_number}" }
82666
+ },
82667
+ {
82668
+ name: "pulls.list",
82669
+ class: "read",
82670
+ description: "List pull requests in a repository, newest first by default.",
82671
+ parameters: {
82672
+ type: "object",
82673
+ properties: {
82674
+ owner: { type: "string" },
82675
+ repo: { type: "string" },
82676
+ state: { type: "string", enum: ["open", "closed", "all"], description: "Defaults to open." },
82677
+ sort: { type: "string", enum: ["created", "updated", "popularity", "long-running"] },
82678
+ direction: { type: "string", enum: ["asc", "desc"] },
82679
+ per_page: { type: "integer", minimum: 1, maximum: 100 }
82680
+ },
82681
+ required: ["owner", "repo"]
82682
+ },
82683
+ request: {
82684
+ method: "GET",
82685
+ path: "/repos/{owner}/{repo}/pulls",
82686
+ query: { state: "{state}", sort: "{sort}", direction: "{direction}", per_page: "{per_page}" }
82687
+ }
82688
+ },
82689
+ {
82690
+ name: "pulls.listFiles",
82691
+ class: "read",
82692
+ description: "List the files a pull request changes, with per-file patches. Page with per_page \u2014 a large PR exceeds a single response budget.",
82693
+ parameters: {
82694
+ type: "object",
82695
+ properties: {
82696
+ owner: { type: "string" },
82697
+ repo: { type: "string" },
82698
+ pull_number: { type: "integer" },
82699
+ per_page: { type: "integer", minimum: 1, maximum: 100 },
82700
+ page: { type: "integer", minimum: 1 }
82701
+ },
82702
+ required: ["owner", "repo", "pull_number"]
82703
+ },
82704
+ request: {
82705
+ method: "GET",
82706
+ path: "/repos/{owner}/{repo}/pulls/{pull_number}/files",
82707
+ query: { per_page: "{per_page}", page: "{page}" }
82708
+ }
82709
+ },
82710
+ {
82711
+ name: "pulls.listReviews",
82712
+ class: "read",
82713
+ description: "List the reviews already submitted on a pull request, so a reviewer does not repeat existing findings.",
82714
+ parameters: {
82715
+ type: "object",
82716
+ properties: {
82717
+ owner: { type: "string" },
82718
+ repo: { type: "string" },
82719
+ pull_number: { type: "integer" },
82720
+ per_page: { type: "integer", minimum: 1, maximum: 100 },
82721
+ page: { type: "integer", minimum: 1 }
82722
+ },
82723
+ required: ["owner", "repo", "pull_number"]
82724
+ },
82725
+ request: {
82726
+ method: "GET",
82727
+ path: "/repos/{owner}/{repo}/pulls/{pull_number}/reviews",
82728
+ query: { per_page: "{per_page}", page: "{page}" }
82729
+ }
82730
+ },
82731
+ {
82732
+ name: "pulls.listReviewComments",
82733
+ class: "read",
82734
+ description: "List the inline review comments on a pull request.",
82735
+ parameters: {
82736
+ type: "object",
82737
+ properties: {
82738
+ owner: { type: "string" },
82739
+ repo: { type: "string" },
82740
+ pull_number: { type: "integer" },
82741
+ per_page: { type: "integer", minimum: 1, maximum: 100 },
82742
+ page: { type: "integer", minimum: 1 }
82743
+ },
82744
+ required: ["owner", "repo", "pull_number"]
82745
+ },
82746
+ request: {
82747
+ method: "GET",
82748
+ path: "/repos/{owner}/{repo}/pulls/{pull_number}/comments",
82749
+ query: { per_page: "{per_page}", page: "{page}" }
82750
+ }
82751
+ },
82752
+ {
82753
+ name: "issues.get",
82754
+ class: "read",
82755
+ description: "Read a single issue by number.",
82756
+ parameters: {
82757
+ type: "object",
82758
+ properties: {
82759
+ owner: { type: "string" },
82760
+ repo: { type: "string" },
82761
+ issue_number: { type: "integer" }
82762
+ },
82763
+ required: ["owner", "repo", "issue_number"]
82764
+ },
82765
+ request: { method: "GET", path: "/repos/{owner}/{repo}/issues/{issue_number}" }
82766
+ },
82767
+ {
82768
+ name: "issues.list",
82769
+ class: "read",
82770
+ description: "List issues in a repository. GitHub includes pull requests here; filter on the `pull_request` key when that matters.",
82771
+ parameters: {
82772
+ type: "object",
82773
+ properties: {
82774
+ owner: { type: "string" },
82775
+ repo: { type: "string" },
82776
+ state: { type: "string", enum: ["open", "closed", "all"] },
82777
+ labels: { type: "string", description: "Comma-separated label names." },
82778
+ sort: { type: "string", enum: ["created", "updated", "comments"] },
82779
+ direction: { type: "string", enum: ["asc", "desc"] },
82780
+ per_page: { type: "integer", minimum: 1, maximum: 100 }
82781
+ },
82782
+ required: ["owner", "repo"]
82783
+ },
82784
+ request: {
82785
+ method: "GET",
82786
+ path: "/repos/{owner}/{repo}/issues",
82787
+ query: {
82788
+ state: "{state}",
82789
+ labels: "{labels}",
82790
+ sort: "{sort}",
82791
+ direction: "{direction}",
82792
+ per_page: "{per_page}"
82793
+ }
82794
+ }
82795
+ },
82796
+ {
82797
+ name: "issues.listComments",
82798
+ class: "read",
82799
+ description: "Read the comment thread on an issue or pull request before replying to it.",
82800
+ parameters: {
82801
+ type: "object",
82802
+ properties: {
82803
+ owner: { type: "string" },
82804
+ repo: { type: "string" },
82805
+ issue_number: { type: "integer" },
82806
+ per_page: { type: "integer", minimum: 1, maximum: 100 },
82807
+ page: { type: "integer", minimum: 1 }
82808
+ },
82809
+ required: ["owner", "repo", "issue_number"]
82810
+ },
82811
+ request: {
82812
+ method: "GET",
82813
+ path: "/repos/{owner}/{repo}/issues/{issue_number}/comments",
82814
+ query: { per_page: "{per_page}", page: "{page}" }
82815
+ }
82816
+ },
82817
+ {
82818
+ name: "repos.listLabels",
82819
+ class: "read",
82820
+ description: "List the labels a repository defines, so an automation applies one that exists rather than inventing it.",
82821
+ parameters: {
82822
+ type: "object",
82823
+ properties: {
82824
+ owner: { type: "string" },
82825
+ repo: { type: "string" },
82826
+ per_page: { type: "integer", minimum: 1, maximum: 100 },
82827
+ page: { type: "integer", minimum: 1 }
82828
+ },
82829
+ required: ["owner", "repo"]
82830
+ },
82831
+ request: {
82832
+ method: "GET",
82833
+ path: "/repos/{owner}/{repo}/labels",
82834
+ query: { per_page: "{per_page}", page: "{page}" }
82835
+ }
82836
+ },
82837
+ {
82838
+ name: "repos.listBranches",
82839
+ class: "read",
82840
+ description: "List a repository's branches. Used to resolve the default branch to diff against.",
82841
+ parameters: {
82842
+ type: "object",
82843
+ properties: {
82844
+ owner: { type: "string" },
82845
+ repo: { type: "string" },
82846
+ per_page: { type: "integer", minimum: 1, maximum: 100 },
82847
+ page: { type: "integer", minimum: 1 }
82848
+ },
82849
+ required: ["owner", "repo"]
82850
+ },
82851
+ request: {
82852
+ method: "GET",
82853
+ path: "/repos/{owner}/{repo}/branches",
82854
+ query: { per_page: "{per_page}", page: "{page}" }
82855
+ }
82856
+ },
82642
82857
  {
82643
82858
  name: "issues.create",
82644
82859
  class: "mutation",
@@ -146894,4 +147109,4 @@ export {
146894
147109
  getresponseConnector,
146895
147110
  adapters_exports
146896
147111
  };
146897
- //# sourceMappingURL=chunk-7OO5AGJL.js.map
147112
+ //# sourceMappingURL=chunk-WU6BW73M.js.map