@tool-bridge/server 0.24.0 → 0.26.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.
Files changed (112) hide show
  1. package/dist/admin.js +164 -5
  2. package/dist/{airtable-Z6KEL3MA.js → airtable-JTSZEDE6.js} +6 -6
  3. package/dist/{alt_text_generator_ai-RM2GHSNM.js → alt_text_generator_ai-L2PD7KOZ.js} +5 -5
  4. package/dist/{amap-YEJLGIKY.js → amap-3ADNY5XP.js} +5 -5
  5. package/dist/{anthropic-62M4MUVQ.js → anthropic-DBCGFDPX.js} +6 -6
  6. package/dist/{apify-AHRNDBCB.js → apify-RKZ7J5QB.js} +6 -6
  7. package/dist/{brave_search-JAHWOMQC.js → brave_search-ILUZ45IV.js} +6 -6
  8. package/dist/{chunk-7MUNQNXG.js → chunk-4WDQGEOC.js} +1732 -1358
  9. package/dist/{chunk-TH3H5YAG.js → chunk-6W5WJCKR.js} +40 -3
  10. package/dist/{chunk-SU6Q4RAY.js → chunk-7M4PPWV2.js} +2 -2
  11. package/dist/{chunk-LD7KQRQ3.js → chunk-CIPTWB3V.js} +4914 -18218
  12. package/dist/{chunk-NG4C7YB3.js → chunk-KZYWJWBG.js} +3 -3
  13. package/dist/{chunk-FZV7CF7L.js → chunk-MJHL4ZYP.js} +3 -3
  14. package/dist/{chunk-GQ4O7NK5.js → chunk-NXLE6ZEK.js} +1 -1
  15. package/dist/{chunk-U2UGFSOX.js → chunk-REAPBHVJ.js} +4 -2
  16. package/dist/{circleci-UJUYBIAO.js → circleci-XW77D4AC.js} +6 -6
  17. package/dist/{clerk-FCFM3WJK.js → clerk-UUASBPMO.js} +6 -6
  18. package/dist/{cohere-OTSYSMPC.js → cohere-DSBCGIWN.js} +6 -6
  19. package/dist/{confluence-LPANSCGT.js → confluence-QZN4ZNFS.js} +6 -6
  20. package/dist/{convertapi-AJZOVUHT.js → convertapi-RVMUJC7F.js} +4 -4
  21. package/dist/{currencyapi-HGK5FSGO.js → currencyapi-JVBN3IVC.js} +6 -6
  22. package/dist/{deepseek-7HMTFJRV.js → deepseek-EEK5BFEJ.js} +6 -6
  23. package/dist/{docker_hub-FCNVKJZW.js → docker_hub-M5434ZVW.js} +5 -5
  24. package/dist/{dropbox-2XVKCQZE.js → dropbox-2UTG2VWY.js} +6 -6
  25. package/dist/{dub-CTUKPX2A.js → dub-5VJOLUW5.js} +6 -6
  26. package/dist/{e2b-ULEWTRKI.js → e2b-26BKS6L2.js} +6 -6
  27. package/dist/{exa-QENFV3AU.js → exa-MZ2EJ2H5.js} +6 -6
  28. package/dist/{fal_ai-TQYUBBAF.js → fal_ai-3G4YBQFR.js} +6 -6
  29. package/dist/{feishu-OYCWDSHD.js → feishu-EMQOUPVQ.js} +3 -3
  30. package/dist/{feishu_custom_bot-VYQ7A3PU.js → feishu_custom_bot-RTVG2TKP.js} +4 -4
  31. package/dist/{figma-5DLOKAQQ.js → figma-MPMS3NGY.js} +6 -6
  32. package/dist/{firehydrant-X4MGP2OI.js → firehydrant-A343GHOS.js} +6 -6
  33. package/dist/{fixer-LMIWM3ZX.js → fixer-RM6NGEBM.js} +5 -5
  34. package/dist/{fly-J5HN5L2I.js → fly-HFWFX2C2.js} +6 -6
  35. package/dist/{front-E3SMBQW3.js → front-A3W4LAMS.js} +6 -6
  36. package/dist/{geocodio-AOINRPLA.js → geocodio-UYKOKRCM.js} +5 -5
  37. package/dist/{ghost-E4CBGZWJ.js → ghost-5FLMMUSG.js} +5 -5
  38. package/dist/{github-PGR6U3FC.js → github-FEAY6DJV.js} +6 -6
  39. package/dist/github_events-MTUZEFQR.js +78 -0
  40. package/dist/{gmail-XNQHMQ6F.js → gmail-PQCOIDJ4.js} +6 -6
  41. package/dist/{googlecalendar-RE6DGG7L.js → googlecalendar-5TZO2L6R.js} +6 -6
  42. package/dist/{googledocs-CX2BZDQH.js → googledocs-ESF6RR77.js} +4 -4
  43. package/dist/{grafana-GX75ZA5X.js → grafana-HEGAJ6AT.js} +6 -6
  44. package/dist/{graphhopper-XMUYLWHS.js → graphhopper-ZTWZ3RBW.js} +5 -5
  45. package/dist/index.d.ts +321 -5
  46. package/dist/index.js +7 -5
  47. package/dist/{ip2proxy-ZGIRBAG5.js → ip2proxy-DARIAL7O.js} +5 -5
  48. package/dist/{ipgeolocation_io-MAP27QMO.js → ipgeolocation_io-WTUK2WUJ.js} +5 -5
  49. package/dist/{ipqualityscore-6IIUUAQ2.js → ipqualityscore-ORLXGKHN.js} +5 -5
  50. package/dist/{jina_ai-GGH77RQH.js → jina_ai-HM5H7272.js} +6 -6
  51. package/dist/{jira-7GPZW6HZ.js → jira-YKBW2G7F.js} +6 -6
  52. package/dist/{langsmith-CJXYE7WM.js → langsmith-5JAZ5TCB.js} +6 -6
  53. package/dist/{lemlist-OYPOX6GN.js → lemlist-SMTBGABN.js} +6 -6
  54. package/dist/{linear-TPQ6X4XZ.js → linear-AUBYHL2E.js} +4 -4
  55. package/dist/{logsnag-HT2PRLIV.js → logsnag-76AUREA3.js} +6 -6
  56. package/dist/main.js +6 -5
  57. package/dist/{mattermost-6IYTWTM5.js → mattermost-YGIA3LM6.js} +6 -6
  58. package/dist/{mem0-7AVGBGOX.js → mem0-FFYLJV7H.js} +6 -6
  59. package/dist/{memos-CTOXWZ6X.js → memos-NPTHXLDG.js} +6 -6
  60. package/dist/{metabase-AFJXQ5SQ.js → metabase-SP6GZPW7.js} +6 -6
  61. package/dist/{mistral_ai-QDKM4N3R.js → mistral_ai-CDTVOCY7.js} +6 -6
  62. package/dist/{mother_duck-XSKR4GVL.js → mother_duck-INFQKSRI.js} +6 -6
  63. package/dist/{ngrok-NQMLM24P.js → ngrok-IYTP3IMG.js} +6 -6
  64. package/dist/{notes-ZWMVZQWJ.js → notes-PPPMG6KW.js} +2 -2
  65. package/dist/{notion-6544KSMM.js → notion-YYD2MSZ3.js} +6 -6
  66. package/dist/{open_exchange_rates-4CLN7O2N.js → open_exchange_rates-KWW2NMFY.js} +5 -5
  67. package/dist/{openai-HLFGPVI5.js → openai-4OG6IUIR.js} +6 -6
  68. package/dist/{opengraph_io-57JDHT3M.js → opengraph_io-YXNQHFUD.js} +5 -5
  69. package/dist/{openrouter-WDAVB2OP.js → openrouter-MANP6GD3.js} +6 -6
  70. package/dist/{outline-A6MDLZVH.js → outline-UXQF6BNB.js} +6 -6
  71. package/dist/{paddle-WX5ULOPP.js → paddle-I45HOJBW.js} +6 -6
  72. package/dist/{perplexity-LYTWWWCZ.js → perplexity-BN7NZDZX.js} +6 -6
  73. package/dist/{pinecone-7KAF3S7U.js → pinecone-J6IXKPEX.js} +6 -6
  74. package/dist/{pipedrive-YQY243G7.js → pipedrive-SR26XA2N.js} +6 -6
  75. package/dist/{polar-A5HKXSQY.js → polar-7XONFYMC.js} +6 -6
  76. package/dist/{posthog-CF2LHLS4.js → posthog-XJSRQXPB.js} +6 -6
  77. package/dist/{postmark-W756TMJM.js → postmark-CV6NVVPS.js} +6 -6
  78. package/dist/{prerender-ZYM4UQ5R.js → prerender-IGKXEWQ4.js} +5 -5
  79. package/dist/{pubmed-QXTUQCTQ.js → pubmed-Q7TW4HEA.js} +4 -4
  80. package/dist/{railway-F4MOZ3LQ.js → railway-6JTEPF6F.js} +4 -4
  81. package/dist/{readwise-S7MF5SR5.js → readwise-6GAWUBNI.js} +6 -6
  82. package/dist/{render-D7EIVDUA.js → render-Z3MWJVLH.js} +6 -6
  83. package/dist/{replicate-ABNKPZR7.js → replicate-GB7W7CTX.js} +6 -6
  84. package/dist/{resend-7VJEY4KC.js → resend-HYV57C7Z.js} +6 -6
  85. package/dist/{rootly-UMFJOKXC.js → rootly-ZF567XW5.js} +6 -6
  86. package/dist/{scrapfly-UDT4KNFL.js → scrapfly-T6CHNTIR.js} +5 -5
  87. package/dist/{scrapingbee-XTFD54NB.js → scrapingbee-BS7C2JO4.js} +5 -5
  88. package/dist/{screenshot_fyi-5GTW3SFY.js → screenshot_fyi-3T3N6U4H.js} +5 -5
  89. package/dist/{semantic_scholar-Y6WK2MST.js → semantic_scholar-MVHTOV7Q.js} +6 -6
  90. package/dist/{sentry-ZFPGDA6C.js → sentry-EAAGZ3YS.js} +6 -6
  91. package/dist/{shodan-3SCDBOQ3.js → shodan-CITDPOT7.js} +5 -5
  92. package/dist/{shopify-LMTBS2I2.js → shopify-DZJWULX4.js} +6 -6
  93. package/dist/{stripe-4JQJ2CUG.js → stripe-22HIZNF2.js} +4 -4
  94. package/dist/{supabase-7HA3BEFK.js → supabase-FVN67AP2.js} +6 -6
  95. package/dist/{tavily-H34ZBPGC.js → tavily-VOKIWFQR.js} +6 -6
  96. package/dist/{telegram-CRX4YWQ3.js → telegram-ZI2RGDRZ.js} +5 -5
  97. package/dist/{telnyx-TIKGEU34.js → telnyx-AV3VJ75A.js} +6 -6
  98. package/dist/{todoist-LU563DGZ.js → todoist-CPX3Y76W.js} +6 -6
  99. package/dist/{trello-NTRGEROX.js → trello-ZJTAMLGT.js} +5 -5
  100. package/dist/{turso-EY3CNVPZ.js → turso-LU5PFWAC.js} +6 -6
  101. package/dist/{twilio-ICX3WRQH.js → twilio-P6UWRJQ3.js} +4 -4
  102. package/dist/{umami-NPMRVI3M.js → umami-7RST7UUX.js} +6 -6
  103. package/dist/{unsplash-TIHBZFIM.js → unsplash-EBTUJBAJ.js} +6 -6
  104. package/dist/{upstash_redis-2DO6EHCN.js → upstash_redis-EPQ54FP7.js} +6 -6
  105. package/dist/{uptimerobot-BGYOCKGI.js → uptimerobot-EJMAP6IC.js} +4 -4
  106. package/dist/{v2ex-GOWDPGGA.js → v2ex-ABWP4P56.js} +6 -6
  107. package/dist/{vercel-G33RXVBI.js → vercel-ATBO5QKA.js} +6 -6
  108. package/dist/{wolfram_alpha_api-IRZSMD3P.js → wolfram_alpha_api-GCO67H4Y.js} +5 -5
  109. package/dist/{wordpress-ATWGGUC3.js → wordpress-PWJFJYZE.js} +6 -6
  110. package/dist/{workos-LHJDETBX.js → workos-2LNHWQRN.js} +6 -6
  111. package/dist/{zhihu-IAH53YPP.js → zhihu-ZTCNBEFK.js} +6 -6
  112. package/package.json +7 -5
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createAuthedClient
3
- } from "./chunk-FZV7CF7L.js";
4
- import "./chunk-NG4C7YB3.js";
3
+ } from "./chunk-MJHL4ZYP.js";
4
+ import "./chunk-KZYWJWBG.js";
5
5
  import {
6
6
  asJsonObject,
7
7
  compactDefined,
@@ -10,12 +10,12 @@ import {
10
10
  import {
11
11
  createProviderPlugin,
12
12
  upstreamError
13
- } from "./chunk-SU6Q4RAY.js";
14
- import "./chunk-GQ4O7NK5.js";
15
- import "./chunk-TH3H5YAG.js";
13
+ } from "./chunk-7M4PPWV2.js";
14
+ import "./chunk-NXLE6ZEK.js";
15
+ import "./chunk-6W5WJCKR.js";
16
16
  import {
17
17
  TBError
18
- } from "./chunk-7MUNQNXG.js";
18
+ } from "./chunk-4WDQGEOC.js";
19
19
  import "./chunk-U67V476Y.js";
20
20
 
21
21
  // ../plugins/src/github/api/shared.ts
@@ -0,0 +1,78 @@
1
+ import {
2
+ createPlugin
3
+ } from "./chunk-6W5WJCKR.js";
4
+ import {
5
+ TBError
6
+ } from "./chunk-4WDQGEOC.js";
7
+ import "./chunk-U67V476Y.js";
8
+
9
+ // ../../node_modules/.pnpm/@octokit+webhooks-methods@6.0.0/node_modules/@octokit/webhooks-methods/dist-node/index.js
10
+ import { createHmac } from "crypto";
11
+ import { timingSafeEqual } from "crypto";
12
+ import { Buffer } from "buffer";
13
+ var VERSION = "6.0.0";
14
+ async function sign(secret, payload) {
15
+ if (!secret || !payload) {
16
+ throw new TypeError(
17
+ "[@octokit/webhooks-methods] secret & payload required for sign()"
18
+ );
19
+ }
20
+ if (typeof payload !== "string") {
21
+ throw new TypeError("[@octokit/webhooks-methods] payload must be a string");
22
+ }
23
+ const algorithm = "sha256";
24
+ return `${algorithm}=${createHmac(algorithm, secret).update(payload).digest("hex")}`;
25
+ }
26
+ sign.VERSION = VERSION;
27
+ async function verify(secret, eventPayload, signature) {
28
+ if (!secret || !eventPayload || !signature) {
29
+ throw new TypeError(
30
+ "[@octokit/webhooks-methods] secret, eventPayload & signature required"
31
+ );
32
+ }
33
+ if (typeof eventPayload !== "string") {
34
+ throw new TypeError(
35
+ "[@octokit/webhooks-methods] eventPayload must be a string"
36
+ );
37
+ }
38
+ const signatureBuffer = Buffer.from(signature);
39
+ const verificationBuffer = Buffer.from(await sign(secret, eventPayload));
40
+ if (signatureBuffer.length !== verificationBuffer.length) {
41
+ return false;
42
+ }
43
+ return timingSafeEqual(signatureBuffer, verificationBuffer);
44
+ }
45
+ verify.VERSION = VERSION;
46
+
47
+ // ../plugins/src/github_events/index.ts
48
+ import { z } from "zod/v4";
49
+ var dataSchema = z.object({ repository: z.string(), ref: z.string(), after: z.string() });
50
+ var pushSchema = z.object({
51
+ repository: z.object({ full_name: z.string() }),
52
+ ref: z.string(),
53
+ after: z.string()
54
+ });
55
+ var plugin = createPlugin({ token: (env) => env.PLUGIN_TOKEN });
56
+ plugin.events("pushes", {
57
+ description: "Signed GitHub push events",
58
+ headers: ["x-hub-signature-256"],
59
+ types: { "github.push": { version: 1, schema: dataSchema } },
60
+ async verify({ headers, rawBody }, ctx) {
61
+ const signature = headers["x-hub-signature-256"];
62
+ if (!signature || !ctx.upstreamAuth || !await verify(ctx.upstreamAuth, rawBody, signature)) {
63
+ throw TBError.unauthenticated();
64
+ }
65
+ const body = JSON.parse(rawBody);
66
+ if (z.object({ zen: z.string(), hook_id: z.number() }).safeParse(body).success) return null;
67
+ const result = pushSchema.safeParse(body);
68
+ if (!result.success) throw new TBError("invalid_argument", "expected a GitHub push payload");
69
+ const { repository, ref, after } = result.data;
70
+ const digest = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(rawBody));
71
+ const idempotencyKey = Array.from(new Uint8Array(digest), (byte) => byte.toString(16).padStart(2, "0")).join("");
72
+ return { type: "github.push", data: { repository: repository.full_name, ref, after }, subject: repository.full_name, idempotencyKey };
73
+ }
74
+ });
75
+ var github_events_default = plugin;
76
+ export {
77
+ github_events_default as default
78
+ };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  createAuthedClient
3
- } from "./chunk-FZV7CF7L.js";
4
- import "./chunk-NG4C7YB3.js";
3
+ } from "./chunk-MJHL4ZYP.js";
4
+ import "./chunk-KZYWJWBG.js";
5
5
  import {
6
6
  asJsonObject
7
7
  } from "./chunk-JXHMDBAY.js";
8
8
  import {
9
9
  createProviderPlugin,
10
10
  upstreamError
11
- } from "./chunk-SU6Q4RAY.js";
12
- import "./chunk-GQ4O7NK5.js";
13
- import "./chunk-TH3H5YAG.js";
11
+ } from "./chunk-7M4PPWV2.js";
12
+ import "./chunk-NXLE6ZEK.js";
13
+ import "./chunk-6W5WJCKR.js";
14
14
  import {
15
15
  TBError
16
- } from "./chunk-7MUNQNXG.js";
16
+ } from "./chunk-4WDQGEOC.js";
17
17
  import "./chunk-U67V476Y.js";
18
18
 
19
19
  // ../plugins/src/gmail/api/shared.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createAuthedClient
3
- } from "./chunk-FZV7CF7L.js";
4
- import "./chunk-NG4C7YB3.js";
3
+ } from "./chunk-MJHL4ZYP.js";
4
+ import "./chunk-KZYWJWBG.js";
5
5
  import {
6
6
  asJsonObject,
7
7
  compactDefined,
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  createProviderPlugin,
12
12
  upstreamError
13
- } from "./chunk-SU6Q4RAY.js";
14
- import "./chunk-GQ4O7NK5.js";
15
- import "./chunk-TH3H5YAG.js";
13
+ } from "./chunk-7M4PPWV2.js";
14
+ import "./chunk-NXLE6ZEK.js";
15
+ import "./chunk-6W5WJCKR.js";
16
16
  import {
17
17
  TBError,
18
18
  isTBError
19
- } from "./chunk-7MUNQNXG.js";
19
+ } from "./chunk-4WDQGEOC.js";
20
20
  import "./chunk-U67V476Y.js";
21
21
 
22
22
  // ../plugins/src/googlecalendar/api/shared.ts
@@ -9,15 +9,15 @@ import {
9
9
  createProviderPlugin,
10
10
  requireApiKey,
11
11
  upstreamError
12
- } from "./chunk-SU6Q4RAY.js";
12
+ } from "./chunk-7M4PPWV2.js";
13
13
  import {
14
14
  guardedFetch
15
- } from "./chunk-GQ4O7NK5.js";
16
- import "./chunk-TH3H5YAG.js";
15
+ } from "./chunk-NXLE6ZEK.js";
16
+ import "./chunk-6W5WJCKR.js";
17
17
  import {
18
18
  TBError,
19
19
  isTBError
20
- } from "./chunk-7MUNQNXG.js";
20
+ } from "./chunk-4WDQGEOC.js";
21
21
  import "./chunk-U67V476Y.js";
22
22
 
23
23
  // ../plugins/src/googledocs/api/shared.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createAuthedClient
3
- } from "./chunk-FZV7CF7L.js";
4
- import "./chunk-NG4C7YB3.js";
3
+ } from "./chunk-MJHL4ZYP.js";
4
+ import "./chunk-KZYWJWBG.js";
5
5
  import {
6
6
  asJsonObject,
7
7
  booleanValue,
@@ -13,14 +13,14 @@ import {
13
13
  createProviderPlugin,
14
14
  requireApiKey,
15
15
  upstreamError
16
- } from "./chunk-SU6Q4RAY.js";
16
+ } from "./chunk-7M4PPWV2.js";
17
17
  import {
18
18
  assertPublicHttpUrl
19
- } from "./chunk-GQ4O7NK5.js";
20
- import "./chunk-TH3H5YAG.js";
19
+ } from "./chunk-NXLE6ZEK.js";
20
+ import "./chunk-6W5WJCKR.js";
21
21
  import {
22
22
  TBError
23
- } from "./chunk-7MUNQNXG.js";
23
+ } from "./chunk-4WDQGEOC.js";
24
24
  import "./chunk-U67V476Y.js";
25
25
 
26
26
  // ../plugins/src/grafana/api.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderHttpClient
3
- } from "./chunk-NG4C7YB3.js";
3
+ } from "./chunk-KZYWJWBG.js";
4
4
  import {
5
5
  asJsonObject
6
6
  } from "./chunk-JXHMDBAY.js";
@@ -8,12 +8,12 @@ import {
8
8
  createProviderPlugin,
9
9
  requireApiKey,
10
10
  upstreamError
11
- } from "./chunk-SU6Q4RAY.js";
12
- import "./chunk-GQ4O7NK5.js";
13
- import "./chunk-TH3H5YAG.js";
11
+ } from "./chunk-7M4PPWV2.js";
12
+ import "./chunk-NXLE6ZEK.js";
13
+ import "./chunk-6W5WJCKR.js";
14
14
  import {
15
15
  TBError
16
- } from "./chunk-7MUNQNXG.js";
16
+ } from "./chunk-4WDQGEOC.js";
17
17
  import "./chunk-U67V476Y.js";
18
18
 
19
19
  // ../plugins/src/graphhopper/api.ts