@tool-bridge/server 0.3.0 → 0.5.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/{airtable-V6446SVY.js → airtable-7TFNLFIF.js} +6 -4
- package/dist/{alt_text_generator_ai-HV7JZPDT.js → alt_text_generator_ai-VJSAHBJM.js} +6 -4
- package/dist/{amap-TTTVB6WS.js → amap-KZMUDGK6.js} +6 -4
- package/dist/{anthropic-JH3RA363.js → anthropic-C6FCUSY7.js} +6 -4
- package/dist/{apify-ETNN7ITU.js → apify-MUCWNIWU.js} +6 -4
- package/dist/{brave_search-3DDR2MMB.js → brave_search-NRVZ4ZNY.js} +6 -4
- package/dist/{chunk-KGYJEEBI.js → chunk-3C3J36GT.js} +106 -61
- package/dist/{chunk-CSJEZHQO.js → chunk-7GP7DRES.js} +13 -82
- package/dist/{chunk-JLTYA2B3.js → chunk-7PM4FD5K.js} +100 -71
- package/dist/{chunk-K7FVSFUX.js → chunk-B4ZA7EGO.js} +47 -3
- package/dist/chunk-FHYFPPBZ.js +90 -0
- package/dist/{circleci-MX3TX3HC.js → circleci-QY36SZIM.js} +6 -4
- package/dist/{clerk-MRPORVF4.js → clerk-ECH23XL5.js} +6 -4
- package/dist/{cloudflare_dns-OWP7DD7L.js → cloudflare_dns-F6DN2F3X.js} +6 -4
- package/dist/{cohere-GPECP66S.js → cohere-HD4XZOPJ.js} +6 -4
- package/dist/{confluence-BN7LZ6BC.js → confluence-J4AZ2KYL.js} +6 -4
- package/dist/{convertapi-SBEOFOFQ.js → convertapi-BXBII5Z6.js} +7 -5
- package/dist/{currencyapi-P2YY7Y7P.js → currencyapi-HEEQ7EQJ.js} +6 -4
- package/dist/{deepseek-MWB3NYIN.js → deepseek-RKRGIFPM.js} +6 -4
- package/dist/{docker_hub-3JSCIGQ3.js → docker_hub-YFSTEZVP.js} +6 -4
- package/dist/{dropbox-RFIBDAXO.js → dropbox-VGK634PO.js} +6 -4
- package/dist/{dub-YVP57ELQ.js → dub-GEXD3XK6.js} +6 -4
- package/dist/{e2b-NFSUHTZR.js → e2b-LPTZQEDV.js} +6 -4
- package/dist/{exa-KTDY6IV3.js → exa-VJENLTKN.js} +6 -4
- package/dist/{fal_ai-OCUENLNQ.js → fal_ai-75O63LLP.js} +6 -4
- package/dist/{feishu-5CWBQ7E5.js → feishu-FATBHGEJ.js} +12 -4
- package/dist/{feishu_custom_bot-ZJR22OK6.js → feishu_custom_bot-QFSYPOLI.js} +6 -4
- package/dist/{figma-YULGANSA.js → figma-JED3Q56H.js} +6 -4
- package/dist/{firehydrant-2V6YSYAP.js → firehydrant-7JDKFJTB.js} +6 -4
- package/dist/{fixer-LTCDB3CJ.js → fixer-ZI2JS5GU.js} +6 -4
- package/dist/{fly-IXPKMAML.js → fly-3RA7ETFP.js} +6 -4
- package/dist/{front-KRFB4M5X.js → front-X2CJXBYS.js} +6 -4
- package/dist/{geocodio-VVURKYHQ.js → geocodio-C6NHG5UJ.js} +6 -4
- package/dist/{ghost-6J2RIOUB.js → ghost-ZBFOMWQF.js} +7 -5
- package/dist/{github-5Z6KQRYH.js → github-6QM2NIP4.js} +6 -4
- package/dist/{gmail-KU4NZ7VA.js → gmail-ST3MS32S.js} +6 -4
- package/dist/{googlecalendar-X44DFFXG.js → googlecalendar-SAUTUJ3Q.js} +6 -4
- package/dist/{googledocs-WSGLPKSF.js → googledocs-2SJKS2SC.js} +6 -4
- package/dist/{grafana-4PKSSDXY.js → grafana-RP7DOS3A.js} +13 -5
- package/dist/{graphhopper-DF65ZNGK.js → graphhopper-XSDTLJTE.js} +6 -4
- package/dist/index.d.ts +43 -10
- package/dist/index.js +2 -2
- package/dist/{ip2proxy-UCAQ5P2J.js → ip2proxy-IKV5IWUI.js} +6 -4
- package/dist/{ipgeolocation_io-UX6FCA2S.js → ipgeolocation_io-NSUWUF5X.js} +6 -4
- package/dist/{ipqualityscore-MKTRXIZJ.js → ipqualityscore-ZQKL3WLC.js} +6 -4
- package/dist/{jina_ai-MRHPCSV5.js → jina_ai-F4Y7V5AS.js} +6 -4
- package/dist/{jira-EG7ZPOIW.js → jira-CYDY44ZO.js} +7 -5
- package/dist/{langsmith-FNO3RCOZ.js → langsmith-74JSSJNY.js} +19 -4
- package/dist/{lemlist-SN6BJHSG.js → lemlist-C3LKIPVN.js} +6 -4
- package/dist/{linear-H3VU4PSD.js → linear-YYGRHKJC.js} +6 -4
- package/dist/{logsnag-OY2JJT2H.js → logsnag-YBMDJ6DO.js} +6 -4
- package/dist/main.js +184 -184
- package/dist/{mattermost-C5SQ7PGD.js → mattermost-NDID4TAL.js} +7 -5
- package/dist/{mem0-LMLE5BFC.js → mem0-ASBAEBWR.js} +6 -4
- package/dist/{memos-UWFAMBZC.js → memos-76I27HCW.js} +13 -5
- package/dist/{metabase-SRYDSDJ6.js → metabase-LCPIP2DL.js} +13 -5
- package/dist/{mistral_ai-YNIJ7VDM.js → mistral_ai-YVBQ6QKO.js} +7 -5
- package/dist/{mother_duck-CPGOFEXE.js → mother_duck-J2MPBIFO.js} +6 -4
- package/dist/{ngrok-CDJFBSOM.js → ngrok-UJC2ORDH.js} +6 -4
- package/dist/{notes-DIVFH3P3.js → notes-6VWWD6RW.js} +10 -3
- package/dist/{notion-HGDKS4HK.js → notion-6LBO2KHR.js} +6 -4
- package/dist/{open_exchange_rates-COHHYJDD.js → open_exchange_rates-OGDH4ZBX.js} +6 -4
- package/dist/{openai-4TRT66GW.js → openai-IKGD5M66.js} +7 -5
- package/dist/{opengraph_io-YKVW4PXI.js → opengraph_io-CIILQ7VK.js} +7 -5
- package/dist/{openrouter-6CV7B7V5.js → openrouter-IYG5CPG5.js} +6 -4
- package/dist/{outline-YWDUK5F7.js → outline-R2UMBY4M.js} +13 -5
- package/dist/{paddle-MEU7HWDZ.js → paddle-IYWA7DOV.js} +6 -4
- package/dist/{perplexity-MRQUDBIC.js → perplexity-3TGYQWHT.js} +6 -4
- package/dist/{pinecone-JI7X2TAF.js → pinecone-TEBOW4LJ.js} +6 -4
- package/dist/{pipedrive-6JQPAW23.js → pipedrive-ZXDY753U.js} +6 -4
- package/dist/{polar-7BF56CMC.js → polar-BVZV5A4O.js} +6 -4
- package/dist/{posthog-YPU5ADEN.js → posthog-DXKAS4PJ.js} +20 -5
- package/dist/{postmark-BEU5OFKU.js → postmark-6RWFC3TD.js} +6 -4
- package/dist/{prerender-UT5GOOZH.js → prerender-YIXOTM3K.js} +6 -4
- package/dist/{pubmed-3SGOE24Q.js → pubmed-2RHSZB4E.js} +6 -4
- package/dist/{railway-CEK4GLRQ.js → railway-IF64BUE2.js} +12 -4
- package/dist/{readwise-DXQUQU67.js → readwise-5XKQZNOM.js} +6 -4
- package/dist/{render-7TGAU5AW.js → render-Q2Z66LTA.js} +6 -4
- package/dist/{replicate-VICFSQ5A.js → replicate-SOI65IJO.js} +6 -4
- package/dist/{resend-3E76WK3O.js → resend-O2BGONOO.js} +6 -4
- package/dist/{rootly-36GY46BY.js → rootly-WPQKTVU3.js} +6 -4
- package/dist/{scrapfly-VDVUYAHX.js → scrapfly-GLMBVNPG.js} +6 -4
- package/dist/{scrapingbee-3KTPMAVY.js → scrapingbee-TUER54CY.js} +6 -4
- package/dist/{screenshot_fyi-LKG62C3J.js → screenshot_fyi-4J4W5EKY.js} +6 -4
- package/dist/{semantic_scholar-4WREECYO.js → semantic_scholar-4PITOANV.js} +6 -4
- package/dist/{sentry-HUQTGXOV.js → sentry-4WURPLIE.js} +6 -4
- package/dist/{shodan-SGRKU4KS.js → shodan-G3M3LFEW.js} +6 -4
- package/dist/{shopify-YCZ4L5HT.js → shopify-72AIELMS.js} +6 -4
- package/dist/{stripe-OEBKMELB.js → stripe-7C7XVPMU.js} +6 -4
- package/dist/{supabase-I3DBY7L4.js → supabase-N4Y3YC23.js} +6 -4
- package/dist/{tavily-B2YHCNRD.js → tavily-GGLSWERP.js} +6 -4
- package/dist/{telegram-2VYJELZX.js → telegram-4RH36WYP.js} +7 -5
- package/dist/{telnyx-HHXD3CXL.js → telnyx-I2KUITFV.js} +6 -4
- package/dist/{todoist-PHFDEEIS.js → todoist-A3NX6X2Y.js} +6 -4
- package/dist/{trello-WUSAK6YN.js → trello-2GJYN7GR.js} +6 -4
- package/dist/{turso-FW56U2B3.js → turso-WKUXMTZ5.js} +6 -4
- package/dist/{twilio-M5JI7XHA.js → twilio-SSXDBOK4.js} +6 -4
- package/dist/{umami-HAYODRC4.js → umami-SBDB4GXK.js} +6 -4
- package/dist/{unsplash-EDPTNEHJ.js → unsplash-4AVC4ZGP.js} +6 -4
- package/dist/{upstash_redis-GC2CLIWD.js → upstash_redis-7XY3UHBO.js} +6 -4
- package/dist/{uptimerobot-XMSNYLIT.js → uptimerobot-QVQP3QYG.js} +6 -4
- package/dist/{v2ex-KU4ECD65.js → v2ex-ASVTIKO7.js} +6 -4
- package/dist/{vercel-THPCEFHW.js → vercel-ZQXZCGWY.js} +6 -4
- package/dist/{wolfram_alpha_api-WHHTH4GU.js → wolfram_alpha_api-RVBWQSEF.js} +6 -4
- package/dist/{wordpress-O6TQEQNF.js → wordpress-SOWKVNCX.js} +7 -5
- package/dist/{workos-A3VHHWI3.js → workos-F45INANB.js} +6 -4
- package/dist/{zhihu-BJAI64YJ.js → zhihu-5VODAGAP.js} +6 -4
- package/package.json +5 -5
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
assertPublicHttpUrl,
|
|
3
2
|
createProviderPlugin,
|
|
4
|
-
guardedFetch,
|
|
5
3
|
requireCredential,
|
|
6
4
|
upstreamError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
assertPublicHttpUrl,
|
|
8
|
+
guardedFetch
|
|
9
|
+
} from "./chunk-7GP7DRES.js";
|
|
10
|
+
import "./chunk-B4ZA7EGO.js";
|
|
9
11
|
import {
|
|
10
12
|
TBError,
|
|
11
13
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7PM4FD5K.js";
|
|
13
15
|
import "./chunk-MLKGABMK.js";
|
|
14
16
|
|
|
15
17
|
// ../plugins/src/mattermost/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/mem0/api.ts
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
assertPublicHttpUrl,
|
|
3
2
|
createProviderPlugin,
|
|
4
|
-
guardedFetch,
|
|
5
3
|
requireApiKey,
|
|
6
4
|
upstreamError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
assertPublicHttpUrl,
|
|
8
|
+
guardedFetch
|
|
9
|
+
} from "./chunk-7GP7DRES.js";
|
|
10
|
+
import "./chunk-B4ZA7EGO.js";
|
|
9
11
|
import {
|
|
10
12
|
TBError,
|
|
11
13
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7PM4FD5K.js";
|
|
13
15
|
import "./chunk-MLKGABMK.js";
|
|
14
16
|
|
|
15
17
|
// ../plugins/src/memos/api.ts
|
|
@@ -756,6 +758,12 @@ function createMemosPlugin() {
|
|
|
756
758
|
description: "Memos",
|
|
757
759
|
actions: memosActions,
|
|
758
760
|
credentialProbe: "get_current_user",
|
|
761
|
+
mountConfigFields: [{
|
|
762
|
+
key: "baseUrl",
|
|
763
|
+
label: "\u5B9E\u4F8B\u5730\u5740",
|
|
764
|
+
description: "\u4F60\u7684 Memos \u5B9E\u4F8B\u5730\u5740,\u5982 https://memos.example.com",
|
|
765
|
+
required: true
|
|
766
|
+
}],
|
|
759
767
|
handlers: {
|
|
760
768
|
create_memo: createMemo,
|
|
761
769
|
list_memos: listMemos,
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
assertPublicHttpUrl,
|
|
3
2
|
createProviderPlugin,
|
|
4
|
-
guardedFetch,
|
|
5
3
|
requireApiKey,
|
|
6
4
|
upstreamError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
assertPublicHttpUrl,
|
|
8
|
+
guardedFetch
|
|
9
|
+
} from "./chunk-7GP7DRES.js";
|
|
10
|
+
import "./chunk-B4ZA7EGO.js";
|
|
9
11
|
import {
|
|
10
12
|
TBError,
|
|
11
13
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7PM4FD5K.js";
|
|
13
15
|
import "./chunk-MLKGABMK.js";
|
|
14
16
|
|
|
15
17
|
// ../plugins/src/metabase/api.ts
|
|
@@ -344,6 +346,12 @@ function createMetabasePlugin() {
|
|
|
344
346
|
description: "Metabase",
|
|
345
347
|
actions: metabaseActions,
|
|
346
348
|
credentialProbe: "get_current_user",
|
|
349
|
+
mountConfigFields: [{
|
|
350
|
+
key: "instanceUrl",
|
|
351
|
+
label: "\u5B9E\u4F8B\u5730\u5740",
|
|
352
|
+
description: "\u4F60\u7684 Metabase \u5B9E\u4F8B\u5730\u5740,\u5982 https://x.metabaseapp.com",
|
|
353
|
+
required: true
|
|
354
|
+
}],
|
|
347
355
|
handlers: {
|
|
348
356
|
get_current_user: getCurrentUser,
|
|
349
357
|
list_databases: listDatabases,
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
assertPublicHttpUrl,
|
|
3
2
|
createProviderPlugin,
|
|
4
|
-
guardedFetch,
|
|
5
3
|
requireApiKey,
|
|
6
4
|
upstreamError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
assertPublicHttpUrl,
|
|
8
|
+
guardedFetch
|
|
9
|
+
} from "./chunk-7GP7DRES.js";
|
|
10
|
+
import "./chunk-B4ZA7EGO.js";
|
|
9
11
|
import {
|
|
10
12
|
TBError,
|
|
11
13
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7PM4FD5K.js";
|
|
13
15
|
import "./chunk-MLKGABMK.js";
|
|
14
16
|
|
|
15
17
|
// ../plugins/src/mistral_ai/schema.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/mother_duck/api.ts
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
external_exports
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7PM4FD5K.js";
|
|
11
13
|
import "./chunk-MLKGABMK.js";
|
|
12
14
|
|
|
13
15
|
// ../plugins/src/ngrok/api.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B4ZA7EGO.js";
|
|
4
4
|
import {
|
|
5
5
|
TBError,
|
|
6
6
|
external_exports
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7PM4FD5K.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
10
|
// ../plugins/src/notes/index.ts
|
|
@@ -22,6 +22,11 @@ function metaOf(mountPath, path, note) {
|
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
function createNotesPlugin() {
|
|
25
|
+
const workspaceConfig = [{
|
|
26
|
+
key: "workspace",
|
|
27
|
+
label: "Workspace",
|
|
28
|
+
description: "\u4E24\u4E2A export \u4F7F\u7528\u76F8\u540C\u503C\u5373\u53EF\u5171\u4EAB\u7B14\u8BB0;\u4E0D\u540C\u503C\u5F7C\u6B64\u9694\u79BB"
|
|
29
|
+
}];
|
|
25
30
|
const byWorkspace = /* @__PURE__ */ new Map();
|
|
26
31
|
const notesOf = (config) => {
|
|
27
32
|
const raw = config?.workspace;
|
|
@@ -34,7 +39,7 @@ function createNotesPlugin() {
|
|
|
34
39
|
return store;
|
|
35
40
|
};
|
|
36
41
|
const plugin = createPlugin({ token: (env) => env.PLUGIN_TOKEN });
|
|
37
|
-
plugin.tools("actions", { description: "\u8BB0\u4E8B\u672C\u52A8\u4F5C" }).register(
|
|
42
|
+
plugin.tools("actions", { description: "\u8BB0\u4E8B\u672C\u52A8\u4F5C" }).auth({ kind: "none" }).mountConfig(workspaceConfig).register(
|
|
38
43
|
"create_note",
|
|
39
44
|
{
|
|
40
45
|
description: "\u65B0\u5EFA\u4E00\u6761\u7B14\u8BB0,\u8FD4\u56DE\u5B83\u5728 context export \u91CC\u7684\u8DEF\u5F84",
|
|
@@ -71,7 +76,9 @@ function createNotesPlugin() {
|
|
|
71
76
|
})
|
|
72
77
|
);
|
|
73
78
|
plugin.context("notes", {
|
|
79
|
+
auth: { kind: "none" },
|
|
74
80
|
description: "\u7B14\u8BB0\u5185\u5BB9\u9762(append-only:\u53EF\u8BFB\u53EF\u5199,\u4E0D\u53EF\u6539\u4E0D\u53EF\u5220)",
|
|
81
|
+
mountConfigFields: workspaceConfig,
|
|
75
82
|
list: ({ path }, ctx) => ({
|
|
76
83
|
items: [...notesOf(ctx.mountConfig).entries()].filter(([key]) => key.startsWith(path)).map(([key, note]) => metaOf(ctx.mountPath, key, note))
|
|
77
84
|
}),
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/notion/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/open_exchange_rates/api.ts
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
assertPublicHttpUrl,
|
|
3
2
|
createProviderPlugin,
|
|
4
|
-
guardedFetch,
|
|
5
3
|
requireApiKey,
|
|
6
4
|
upstreamError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
assertPublicHttpUrl,
|
|
8
|
+
guardedFetch
|
|
9
|
+
} from "./chunk-7GP7DRES.js";
|
|
10
|
+
import "./chunk-B4ZA7EGO.js";
|
|
9
11
|
import {
|
|
10
12
|
TBError,
|
|
11
13
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7PM4FD5K.js";
|
|
13
15
|
import "./chunk-MLKGABMK.js";
|
|
14
16
|
|
|
15
17
|
// ../plugins/src/openai/api.ts
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
assertPublicHttpUrl,
|
|
3
2
|
createProviderPlugin,
|
|
4
|
-
guardedFetch,
|
|
5
3
|
requireApiKey,
|
|
6
4
|
upstreamError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
assertPublicHttpUrl,
|
|
8
|
+
guardedFetch
|
|
9
|
+
} from "./chunk-7GP7DRES.js";
|
|
10
|
+
import "./chunk-B4ZA7EGO.js";
|
|
9
11
|
import {
|
|
10
12
|
TBError,
|
|
11
13
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7PM4FD5K.js";
|
|
13
15
|
import "./chunk-MLKGABMK.js";
|
|
14
16
|
|
|
15
17
|
// ../plugins/src/opengraph_io/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/openrouter/api.ts
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
assertPublicHttpUrl,
|
|
3
2
|
createProviderPlugin,
|
|
4
|
-
guardedFetch,
|
|
5
3
|
requireApiKey,
|
|
6
4
|
upstreamError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
assertPublicHttpUrl,
|
|
8
|
+
guardedFetch
|
|
9
|
+
} from "./chunk-7GP7DRES.js";
|
|
10
|
+
import "./chunk-B4ZA7EGO.js";
|
|
9
11
|
import {
|
|
10
12
|
TBError,
|
|
11
13
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7PM4FD5K.js";
|
|
13
15
|
import "./chunk-MLKGABMK.js";
|
|
14
16
|
|
|
15
17
|
// ../plugins/src/outline/api.ts
|
|
@@ -587,6 +589,12 @@ function createOutlinePlugin() {
|
|
|
587
589
|
// 上游 credentialValidators 打的 `/auth.info` 没有对应 action;`list_collections` 同样
|
|
588
590
|
// 只读、无必填入参,且同样要求凭证有效,拿它当挂载时的凭证探针。
|
|
589
591
|
credentialProbe: "list_collections",
|
|
592
|
+
// baseUrl 非必配:缺省走 Outline 云端(app.getoutline.com),自建实例才配。
|
|
593
|
+
mountConfigFields: [{
|
|
594
|
+
key: "baseUrl",
|
|
595
|
+
label: "\u5B9E\u4F8B\u5730\u5740",
|
|
596
|
+
description: "\u81EA\u5EFA Outline \u7684\u6839\u5730\u5740;\u7559\u7A7A\u7528\u4E91\u7AEF app.getoutline.com"
|
|
597
|
+
}],
|
|
590
598
|
handlers: {
|
|
591
599
|
list_collections: listCollections,
|
|
592
600
|
get_collection: getCollection,
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/paddle/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/perplexity/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/pinecone/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/pipedrive/schema.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/polar/api.ts
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
assertPublicHttpUrl,
|
|
3
2
|
createProviderPlugin,
|
|
4
|
-
guardedFetch,
|
|
5
3
|
requireApiKey,
|
|
6
4
|
upstreamError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
assertPublicHttpUrl,
|
|
8
|
+
guardedFetch
|
|
9
|
+
} from "./chunk-7GP7DRES.js";
|
|
10
|
+
import "./chunk-B4ZA7EGO.js";
|
|
9
11
|
import {
|
|
10
12
|
TBError,
|
|
11
13
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7PM4FD5K.js";
|
|
13
15
|
import "./chunk-MLKGABMK.js";
|
|
14
16
|
|
|
15
17
|
// ../plugins/src/posthog/api.ts
|
|
@@ -3394,6 +3396,19 @@ function createPosthogPlugin() {
|
|
|
3394
3396
|
description: "PostHog",
|
|
3395
3397
|
actions: posthogActions,
|
|
3396
3398
|
credentialProbe: "get_current_user",
|
|
3399
|
+
mountConfigFields: [
|
|
3400
|
+
{
|
|
3401
|
+
key: "baseUrl",
|
|
3402
|
+
label: "PostHog API URL",
|
|
3403
|
+
description: "\u4F8B\u5982 https://us.posthog.com\u3001https://eu.posthog.com \u6216\u81EA\u6258\u7BA1\u5730\u5740",
|
|
3404
|
+
required: true
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
key: "organizationId",
|
|
3408
|
+
label: "Organization ID",
|
|
3409
|
+
description: "\u53EF\u9009;\u9700\u8981\u6309\u7EC4\u7EC7\u8303\u56F4\u8C03\u7528\u7684\u63A5\u53E3\u4F1A\u4F7F\u7528\u5B83"
|
|
3410
|
+
}
|
|
3411
|
+
],
|
|
3397
3412
|
handlers: {
|
|
3398
3413
|
get_current_user: getCurrentUser,
|
|
3399
3414
|
list_projects: listProjects,
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/postmark/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/prerender/api.ts
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import
|
|
4
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
5
|
+
import {
|
|
6
|
+
guardedFetch
|
|
7
|
+
} from "./chunk-7GP7DRES.js";
|
|
8
|
+
import "./chunk-B4ZA7EGO.js";
|
|
7
9
|
import {
|
|
8
10
|
TBError,
|
|
9
11
|
external_exports
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7PM4FD5K.js";
|
|
11
13
|
import "./chunk-MLKGABMK.js";
|
|
12
14
|
|
|
13
15
|
// ../plugins/src/pubmed/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/railway/api.ts
|
|
@@ -432,6 +434,12 @@ function createRailwayPlugin() {
|
|
|
432
434
|
description: "Railway",
|
|
433
435
|
credentialProbe: "list_projects",
|
|
434
436
|
actions: railwayActions,
|
|
437
|
+
// workspaceId 非必配:决定 list_projects 用哪条 query,留空用账户默认。
|
|
438
|
+
mountConfigFields: [{
|
|
439
|
+
key: "workspaceId",
|
|
440
|
+
label: "Workspace ID",
|
|
441
|
+
description: "\u9650\u5B9A list_projects \u7684\u5DE5\u4F5C\u533A;\u7559\u7A7A\u7528\u8D26\u6237\u9ED8\u8BA4"
|
|
442
|
+
}],
|
|
435
443
|
handlers: {
|
|
436
444
|
list_projects: listProjects,
|
|
437
445
|
get_project: getProject,
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/readwise/api.ts
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin,
|
|
3
|
-
guardedFetch,
|
|
4
3
|
requireApiKey,
|
|
5
4
|
upstreamError
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
5
|
+
} from "./chunk-FHYFPPBZ.js";
|
|
6
|
+
import {
|
|
7
|
+
guardedFetch
|
|
8
|
+
} from "./chunk-7GP7DRES.js";
|
|
9
|
+
import "./chunk-B4ZA7EGO.js";
|
|
8
10
|
import {
|
|
9
11
|
TBError,
|
|
10
12
|
external_exports
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PM4FD5K.js";
|
|
12
14
|
import "./chunk-MLKGABMK.js";
|
|
13
15
|
|
|
14
16
|
// ../plugins/src/render/api.ts
|