@tool-bridge/server 0.10.0 → 0.10.1
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-5W6SJMSM.js → airtable-SLT4UDB3.js} +4 -4
- package/dist/{alt_text_generator_ai-YYVJM3RG.js → alt_text_generator_ai-HCFYQNEN.js} +4 -4
- package/dist/{amap-EREMQZHQ.js → amap-ZOOTZCI2.js} +4 -4
- package/dist/{anthropic-53H7WGSE.js → anthropic-IUWXKV76.js} +4 -4
- package/dist/{apify-CMRNU7VZ.js → apify-HQXUP3ZL.js} +4 -4
- package/dist/{brave_search-AFZVZ3QK.js → brave_search-HG5PMEDZ.js} +4 -4
- package/dist/{chunk-TPGTA43F.js → chunk-AWXZMW6M.js} +18 -4
- package/dist/{chunk-Q7YHZ2SD.js → chunk-EMUJLM32.js} +4 -31
- package/dist/{chunk-SBJMMSPA.js → chunk-THDEI7S7.js} +1 -1
- package/dist/{chunk-2DA2UI37.js → chunk-V4VHC3Q6.js} +2 -2
- package/dist/{chunk-Q44CYUSI.js → chunk-WIH5OHFG.js} +1 -1
- package/dist/{circleci-JG7RV2RU.js → circleci-XA4GXPOT.js} +4 -4
- package/dist/{clerk-U7OS5ALG.js → clerk-MUAETUIY.js} +4 -4
- package/dist/{cloudflare_dns-ADCTFMMI.js → cloudflare_dns-BRYRH55W.js} +4 -4
- package/dist/{cohere-Z7ZEC2YV.js → cohere-XKVGQJQH.js} +4 -4
- package/dist/{confluence-FT22JGYQ.js → confluence-SWP6UUEK.js} +4 -4
- package/dist/{convertapi-UQQCWVWP.js → convertapi-42FNXPAS.js} +4 -4
- package/dist/{currencyapi-Y63O7JTP.js → currencyapi-7IECLAKK.js} +4 -4
- package/dist/{deepseek-7TSAMZJ6.js → deepseek-VD3VY3D2.js} +4 -4
- package/dist/{docker_hub-AJYTVI25.js → docker_hub-YCEWCV5D.js} +4 -4
- package/dist/{dropbox-CNGGNR5J.js → dropbox-KCAEQENT.js} +4 -4
- package/dist/{dub-WTADKHA7.js → dub-AVLJI73G.js} +4 -4
- package/dist/{e2b-75EKXMN5.js → e2b-NZPEKNY3.js} +4 -4
- package/dist/{exa-OFLA5XND.js → exa-MHHTRY4Y.js} +4 -4
- package/dist/{fal_ai-5542HB7N.js → fal_ai-VKVUKXE2.js} +4 -4
- package/dist/{feishu-QQIZ7G24.js → feishu-AFLX4VZX.js} +3 -3
- package/dist/{feishu_custom_bot-EVDKIZCR.js → feishu_custom_bot-S4XJYZVB.js} +4 -4
- package/dist/{figma-ZEBDUMWI.js → figma-6LBMPYPL.js} +4 -4
- package/dist/{firehydrant-CTBNY6FL.js → firehydrant-JRAJ4CMG.js} +4 -4
- package/dist/{fixer-ITDYMRBW.js → fixer-BTWM3K4Z.js} +4 -4
- package/dist/{fly-IBFMSAAO.js → fly-FUY25D36.js} +4 -4
- package/dist/{front-AZQLLUJQ.js → front-SFQD4V63.js} +4 -4
- package/dist/{geocodio-XHZHEWQW.js → geocodio-JZTFWKOE.js} +4 -4
- package/dist/{ghost-RTIKXD3T.js → ghost-HNZTH6AR.js} +4 -4
- package/dist/{github-WRJBJ5N7.js → github-3J6ZYHGY.js} +4 -4
- package/dist/{gmail-527RVDXV.js → gmail-Y4GWZ2UJ.js} +4 -4
- package/dist/{googlecalendar-WZJSK2MR.js → googlecalendar-JK6B3ZCO.js} +4 -4
- package/dist/{googledocs-LFBVIHIK.js → googledocs-VERSNFGF.js} +4 -4
- package/dist/{grafana-3JEKO7NT.js → grafana-WABWHNKT.js} +4 -4
- package/dist/{graphhopper-TOJN6K2Q.js → graphhopper-PWZOVQQF.js} +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{ip2proxy-KOA2JUNV.js → ip2proxy-IJKSNZVR.js} +4 -4
- package/dist/{ipgeolocation_io-KNOQD7R7.js → ipgeolocation_io-I27LWP7M.js} +4 -4
- package/dist/{ipqualityscore-GF2MQKXI.js → ipqualityscore-THLB64L6.js} +4 -4
- package/dist/{jina_ai-GB3CQPJ4.js → jina_ai-KHC4WQAK.js} +4 -4
- package/dist/{jira-35XYV6G4.js → jira-NAGZYZLK.js} +4 -4
- package/dist/{langsmith-W5234OE7.js → langsmith-5BZ4CAWL.js} +4 -4
- package/dist/{lemlist-QB6W2G7N.js → lemlist-4D5DLIWT.js} +4 -4
- package/dist/{linear-MHBD6A7X.js → linear-5A6IZTNW.js} +4 -4
- package/dist/{logsnag-RN57XIJS.js → logsnag-Q7CU4J7A.js} +4 -4
- package/dist/main.js +101 -101
- package/dist/{mattermost-QRXSZMZA.js → mattermost-36YSAHMQ.js} +4 -4
- package/dist/{mem0-K63NN3LA.js → mem0-EVJ7KY5E.js} +4 -4
- package/dist/{memos-4IOUOFKH.js → memos-KDNZATPM.js} +4 -4
- package/dist/{metabase-IOE44EKL.js → metabase-MRBJG473.js} +4 -4
- package/dist/{mistral_ai-X7ASGV5I.js → mistral_ai-PDT25XCR.js} +4 -4
- package/dist/{mother_duck-CNN3QWQH.js → mother_duck-MN3OHZDF.js} +4 -4
- package/dist/{ngrok-QNE4AHEH.js → ngrok-PEGRSO2H.js} +4 -4
- package/dist/{notes-Q6OLBS2L.js → notes-UUDL64JP.js} +2 -2
- package/dist/{notion-ADDRQTCE.js → notion-XRTFGM3Q.js} +4 -4
- package/dist/{open_exchange_rates-WR5PJQTG.js → open_exchange_rates-TLNDRZ54.js} +4 -4
- package/dist/{openai-UZBNNAAH.js → openai-EUDWNNU6.js} +4 -4
- package/dist/{opengraph_io-2JNEXCPJ.js → opengraph_io-MKH5AUR3.js} +4 -4
- package/dist/{openrouter-EF62BDIH.js → openrouter-YMGWGPI3.js} +4 -4
- package/dist/{outline-O4TIRWJT.js → outline-MTH7SZBU.js} +4 -4
- package/dist/{paddle-SEFKNENH.js → paddle-PWSGQPO6.js} +4 -4
- package/dist/{perplexity-FZYOIPDS.js → perplexity-NBUHF5Z6.js} +4 -4
- package/dist/{pinecone-EXDPYDY7.js → pinecone-5FVBDTET.js} +4 -4
- package/dist/{pipedrive-EDO4C3AM.js → pipedrive-IJUNMGFQ.js} +4 -4
- package/dist/{polar-QJXHVFIP.js → polar-L72J7ISM.js} +4 -4
- package/dist/{posthog-U6QEXJE2.js → posthog-4GDGMSSQ.js} +4 -4
- package/dist/{postmark-PFZIWXMP.js → postmark-25TFX6LC.js} +4 -4
- package/dist/{prerender-SK2AXNJY.js → prerender-ZY7S5S4R.js} +4 -4
- package/dist/{pubmed-CB7OJNBH.js → pubmed-KCPFV76N.js} +4 -4
- package/dist/{railway-BMMNQ6XH.js → railway-IWOCVOXL.js} +4 -4
- package/dist/{readwise-YQY7O5QR.js → readwise-JCN5J4ON.js} +4 -4
- package/dist/{render-7CRNEEJ3.js → render-FUM4QWKI.js} +4 -4
- package/dist/{replicate-V6AX7WFC.js → replicate-V5VIAEYB.js} +4 -4
- package/dist/{resend-ZBH56UAQ.js → resend-F3XQOI24.js} +4 -4
- package/dist/{rootly-C4FIXIF7.js → rootly-XEDRHK66.js} +4 -4
- package/dist/{scrapfly-UE434KD7.js → scrapfly-PXDWBCOD.js} +4 -4
- package/dist/{scrapingbee-PQCNKALD.js → scrapingbee-X5QCNZSS.js} +4 -4
- package/dist/{screenshot_fyi-U6QGI6ZH.js → screenshot_fyi-V6CE6WQS.js} +4 -4
- package/dist/{semantic_scholar-PSMUOG2W.js → semantic_scholar-NHEQ5J72.js} +4 -4
- package/dist/{sentry-F5CNVQA2.js → sentry-XDLPYMQI.js} +4 -4
- package/dist/{shodan-NOWG7NV5.js → shodan-H2YTSK7R.js} +4 -4
- package/dist/{shopify-GGPLJIGC.js → shopify-Q5YDMDAD.js} +4 -4
- package/dist/{stripe-72K2UMK3.js → stripe-ZXSIKY6A.js} +4 -4
- package/dist/{supabase-H7NRCSAO.js → supabase-TV2ZEVH5.js} +4 -4
- package/dist/{tavily-ISP24QUX.js → tavily-KKBMTUW6.js} +4 -4
- package/dist/{telegram-POII6NKE.js → telegram-JM4VE5FR.js} +4 -4
- package/dist/{telnyx-3D7TOVNA.js → telnyx-NOXAAP6B.js} +4 -4
- package/dist/{todoist-LKYPKRKB.js → todoist-ATYSMZ2W.js} +4 -4
- package/dist/{trello-WW74UYIQ.js → trello-BWRSV7VZ.js} +4 -4
- package/dist/{turso-SUFRHBHW.js → turso-P7Z4X5C5.js} +4 -4
- package/dist/{twilio-QB7PBL2B.js → twilio-YL7NUXCX.js} +4 -4
- package/dist/{umami-CAHHP3SV.js → umami-JPWFBAPI.js} +4 -4
- package/dist/{unsplash-ZCGEPHGQ.js → unsplash-CJBI3UGZ.js} +4 -4
- package/dist/{upstash_redis-DZ4AKZWT.js → upstash_redis-J5IGSHWB.js} +4 -4
- package/dist/{uptimerobot-KVEQJGTZ.js → uptimerobot-HEFFBT3N.js} +4 -4
- package/dist/{v2ex-BCYYBPH7.js → v2ex-MRYW7RM6.js} +4 -4
- package/dist/{vercel-GH4G7EUS.js → vercel-RNY4ZRTH.js} +4 -4
- package/dist/{wolfram_alpha_api-XFG2MQBL.js → wolfram_alpha_api-AF346YID.js} +4 -4
- package/dist/{wordpress-DZ2TVNAA.js → wordpress-YWKGCQA5.js} +4 -4
- package/dist/{workos-EHUAGTGN.js → workos-Y7AORGEG.js} +4 -4
- package/dist/{zhihu-OJJW3ZIH.js → zhihu-X4FAKOAQ.js} +4 -4
- package/package.json +5 -5
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/airtable/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/alt_text_generator_ai/schema.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/amap/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/anthropic/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/apify/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/brave_search/api.ts
|
|
@@ -14637,6 +14637,20 @@ var KEY_BOOTSTRAPPED = "sys:bootstrapped";
|
|
|
14637
14637
|
var KEY_REMOTE_ALLOWLIST = "sys:remoteallowlist";
|
|
14638
14638
|
var KEY_ANNOTATION = "annotation:";
|
|
14639
14639
|
var KEY_FEEDBACK = "feedback:";
|
|
14640
|
+
var MAX_CODE_POINT = 1114111;
|
|
14641
|
+
var SURROGATE_START = 55296;
|
|
14642
|
+
var SURROGATE_END = 57343;
|
|
14643
|
+
function prefixUpperBound(prefix) {
|
|
14644
|
+
const points = [...prefix];
|
|
14645
|
+
for (let i = points.length - 1; i >= 0; i--) {
|
|
14646
|
+
const code = points[i]?.codePointAt(0);
|
|
14647
|
+
if (code === void 0 || code >= MAX_CODE_POINT) continue;
|
|
14648
|
+
let next = code + 1;
|
|
14649
|
+
if (next >= SURROGATE_START && next <= SURROGATE_END) next = SURROGATE_END + 1;
|
|
14650
|
+
return points.slice(0, i).join("") + String.fromCodePoint(next);
|
|
14651
|
+
}
|
|
14652
|
+
return void 0;
|
|
14653
|
+
}
|
|
14640
14654
|
|
|
14641
14655
|
// ../core/src/annotation/store.ts
|
|
14642
14656
|
var ANNOTATION_TEXT_MAX = 2e3;
|
|
@@ -19964,10 +19978,9 @@ var NodeRegistryStore = class {
|
|
|
19964
19978
|
* 只扫子树(前缀限定),不再对全树做内存过滤——避免 children/hasChildren/subtree 的
|
|
19965
19979
|
* O(N²)(每层各扫全树)。`opts.limit` 传给底层 `store.list` 以小步取(hasChildren 短路用)。
|
|
19966
19980
|
*
|
|
19967
|
-
* **Workers
|
|
19968
|
-
*
|
|
19969
|
-
* (
|
|
19970
|
-
* 需改 KV metadata 承载值(list 不再逐 get)或换 SQLite 宿主。
|
|
19981
|
+
* **Workers 查询预算约束**:D1StateStore.list 是单条 SQL 直接带值返回(ADR-001 迁 D1 后
|
|
19982
|
+
* 不再逐键 get),每页只花一次 D1 查询;但 Workers 单请求仍有查询/子请求预算,深翻页的
|
|
19983
|
+
* 页数应远小于预算——当前树规模小(节点数十级)可接受。
|
|
19971
19984
|
*/
|
|
19972
19985
|
async scanPrefix(keyPrefix, opts) {
|
|
19973
19986
|
const out = [];
|
|
@@ -20246,6 +20259,7 @@ export {
|
|
|
20246
20259
|
KEY_PLUGIN,
|
|
20247
20260
|
KEY_BOOTSTRAPPED,
|
|
20248
20261
|
KEY_FEEDBACK,
|
|
20262
|
+
prefixUpperBound,
|
|
20249
20263
|
AnnotationStore,
|
|
20250
20264
|
checkScopes,
|
|
20251
20265
|
check2 as check,
|
|
@@ -115,6 +115,7 @@ import {
|
|
|
115
115
|
pgBulkInsertSql,
|
|
116
116
|
pgSearchDialect,
|
|
117
117
|
pluginTokenSecretName,
|
|
118
|
+
prefixUpperBound,
|
|
118
119
|
preprocess,
|
|
119
120
|
record,
|
|
120
121
|
renderHelpDsl,
|
|
@@ -140,7 +141,7 @@ import {
|
|
|
140
141
|
url,
|
|
141
142
|
validatePath,
|
|
142
143
|
virtualizeTools
|
|
143
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-AWXZMW6M.js";
|
|
144
145
|
|
|
145
146
|
// src/config.ts
|
|
146
147
|
var DEFAULT_PORT = 8787;
|
|
@@ -38556,20 +38557,6 @@ var PgSearchIndex = class extends SqlSearchIndex {
|
|
|
38556
38557
|
|
|
38557
38558
|
// src/pgStateStore.ts
|
|
38558
38559
|
var DEFAULT_LIST_LIMIT = 1e3;
|
|
38559
|
-
var MAX_CODE_POINT = 1114111;
|
|
38560
|
-
var SURROGATE_START = 55296;
|
|
38561
|
-
var SURROGATE_END = 57343;
|
|
38562
|
-
function prefixUpperBound(prefix) {
|
|
38563
|
-
const points = [...prefix];
|
|
38564
|
-
for (let i = points.length - 1; i >= 0; i--) {
|
|
38565
|
-
const code = points[i]?.codePointAt(0);
|
|
38566
|
-
if (code === void 0 || code >= MAX_CODE_POINT) continue;
|
|
38567
|
-
let next = code + 1;
|
|
38568
|
-
if (next >= SURROGATE_START && next <= SURROGATE_END) next = SURROGATE_END + 1;
|
|
38569
|
-
return points.slice(0, i).join("") + String.fromCodePoint(next);
|
|
38570
|
-
}
|
|
38571
|
-
return void 0;
|
|
38572
|
-
}
|
|
38573
38560
|
var PgStateStore = class {
|
|
38574
38561
|
constructor(sql) {
|
|
38575
38562
|
this.sql = sql;
|
|
@@ -38753,20 +38740,6 @@ var SqliteSearchIndex = class extends SqlSearchIndex {
|
|
|
38753
38740
|
// src/sqliteStateStore.ts
|
|
38754
38741
|
import Database2 from "better-sqlite3";
|
|
38755
38742
|
var DEFAULT_LIST_LIMIT2 = 1e3;
|
|
38756
|
-
var MAX_CODE_POINT2 = 1114111;
|
|
38757
|
-
var SURROGATE_START2 = 55296;
|
|
38758
|
-
var SURROGATE_END2 = 57343;
|
|
38759
|
-
function prefixUpperBound2(prefix) {
|
|
38760
|
-
const points = [...prefix];
|
|
38761
|
-
for (let i = points.length - 1; i >= 0; i--) {
|
|
38762
|
-
const code = points[i]?.codePointAt(0);
|
|
38763
|
-
if (code === void 0 || code >= MAX_CODE_POINT2) continue;
|
|
38764
|
-
let next = code + 1;
|
|
38765
|
-
if (next >= SURROGATE_START2 && next <= SURROGATE_END2) next = SURROGATE_END2 + 1;
|
|
38766
|
-
return points.slice(0, i).join("") + String.fromCodePoint(next);
|
|
38767
|
-
}
|
|
38768
|
-
return void 0;
|
|
38769
|
-
}
|
|
38770
38743
|
var SqliteStateStore = class {
|
|
38771
38744
|
db;
|
|
38772
38745
|
stmtGet;
|
|
@@ -38816,7 +38789,7 @@ var SqliteStateStore = class {
|
|
|
38816
38789
|
async list(prefix, opts) {
|
|
38817
38790
|
const limit = opts?.limit ?? DEFAULT_LIST_LIMIT2;
|
|
38818
38791
|
const lowerByCursor = opts?.cursor !== void 0 && opts.cursor >= prefix;
|
|
38819
|
-
const upper = prefix === "" ? void 0 :
|
|
38792
|
+
const upper = prefix === "" ? void 0 : prefixUpperBound(prefix);
|
|
38820
38793
|
const conditions = [];
|
|
38821
38794
|
const params = { n: limit + 1 };
|
|
38822
38795
|
if (lowerByCursor) {
|
|
@@ -38853,7 +38826,7 @@ import { join as join4 } from "path";
|
|
|
38853
38826
|
// package.json
|
|
38854
38827
|
var package_default = {
|
|
38855
38828
|
name: "@tool-bridge/server",
|
|
38856
|
-
version: "0.10.
|
|
38829
|
+
version: "0.10.1",
|
|
38857
38830
|
description: "tool-bridge self-hosted server: run the HTBP gateway on Node with SQLite or PostgreSQL persistence, filesystem object storage and WebSocket device channel \u2014 single container via docker run",
|
|
38858
38831
|
type: "module",
|
|
38859
38832
|
license: "MIT",
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/circleci/api.ts
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AWXZMW6M.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
|
|
15
15
|
// ../plugins/src/clerk/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/cloudflare_dns/api.ts
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AWXZMW6M.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
|
|
15
15
|
// ../plugins/src/cohere/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireCredential,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/confluence/api.ts
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
assertPublicHttpUrl,
|
|
8
8
|
guardedFetch
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-THDEI7S7.js";
|
|
10
|
+
import "./chunk-WIH5OHFG.js";
|
|
11
11
|
import {
|
|
12
12
|
TBError,
|
|
13
13
|
external_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AWXZMW6M.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
|
|
17
17
|
// ../plugins/src/convertapi/schema.ts
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AWXZMW6M.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
|
|
15
15
|
// ../plugins/src/currencyapi/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/deepseek/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/docker_hub/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/dropbox/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/dub/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/e2b/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/exa/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/fal_ai/api.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGuardedFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-THDEI7S7.js";
|
|
4
4
|
import {
|
|
5
5
|
createPlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WIH5OHFG.js";
|
|
7
7
|
import {
|
|
8
8
|
TBError,
|
|
9
9
|
isTBError,
|
|
10
10
|
normalizeUpstreamError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AWXZMW6M.js";
|
|
12
12
|
import "./chunk-MLKGABMK.js";
|
|
13
13
|
|
|
14
14
|
// ../plugins/src/feishu/feishuMcp.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireCredential,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/feishu_custom_bot/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/figma/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V4VHC3Q6.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-THDEI7S7.js";
|
|
9
|
+
import "./chunk-WIH5OHFG.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AWXZMW6M.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/firehydrant/api.ts
|