@tool-bridge/server 0.13.1 → 0.15.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-UNWCQOO5.js → airtable-QYTOPRFV.js} +4 -4
- package/dist/{alt_text_generator_ai-7U2B7DWL.js → alt_text_generator_ai-2CFYNSZV.js} +4 -4
- package/dist/{amap-SAB3CM4I.js → amap-HGOBOHSZ.js} +4 -4
- package/dist/{anthropic-IHWDMPTS.js → anthropic-3OXOQNSR.js} +4 -4
- package/dist/{apify-PJOKBSVM.js → apify-PUV2QGKL.js} +4 -4
- package/dist/{brave_search-UTFAT6LW.js → brave_search-DG75AVKA.js} +4 -4
- package/dist/{chunk-EF33TVRV.js → chunk-DXXYNIXV.js} +236 -190
- package/dist/{chunk-7KSQ6GMZ.js → chunk-KH663T3A.js} +1 -1
- package/dist/{chunk-O7XJFJIP.js → chunk-NLPTB3IL.js} +76 -8
- package/dist/{chunk-QMBAFKBX.js → chunk-NQ67PIIS.js} +2 -2
- package/dist/{chunk-YZMU3Y2S.js → chunk-UI4E4T5Q.js} +1 -1
- package/dist/{circleci-CYNZ4RNR.js → circleci-EFNLX5AW.js} +4 -4
- package/dist/{clerk-LEO34VS5.js → clerk-UWDLMZVM.js} +4 -4
- package/dist/{cloudflare_dns-GR2QRDOR.js → cloudflare_dns-WQXVDSPU.js} +4 -4
- package/dist/{cohere-GGMHBGBX.js → cohere-VPDIKUDP.js} +4 -4
- package/dist/{confluence-BV3HXUK5.js → confluence-NBOOQNTR.js} +4 -4
- package/dist/{convertapi-GS2YMFYF.js → convertapi-6Z6OP25T.js} +4 -4
- package/dist/{currencyapi-PVT6NG64.js → currencyapi-CAMUWCTV.js} +4 -4
- package/dist/{deepseek-N3A33XJS.js → deepseek-GRALXYXR.js} +4 -4
- package/dist/{docker_hub-T52LCIXM.js → docker_hub-5AASF3TJ.js} +4 -4
- package/dist/{dropbox-7D5KGZWB.js → dropbox-HS3VGRD3.js} +4 -4
- package/dist/{dub-4MYONVIJ.js → dub-KHERUTW6.js} +4 -4
- package/dist/{e2b-D4RJYFWX.js → e2b-4MGHPFXY.js} +4 -4
- package/dist/{exa-QY3FJWKM.js → exa-O77PKTBT.js} +4 -4
- package/dist/{fal_ai-KZWNB4EL.js → fal_ai-TX2TZFMP.js} +4 -4
- package/dist/{feishu-5A2BTU5Z.js → feishu-I7VPWO3C.js} +3 -3
- package/dist/{feishu_custom_bot-JSPSGC7F.js → feishu_custom_bot-D4XZDLES.js} +4 -4
- package/dist/{figma-SLJPNPIA.js → figma-SW3HZCZ5.js} +4 -4
- package/dist/{firehydrant-RWAQFAPG.js → firehydrant-ND5DEW3L.js} +4 -4
- package/dist/{fixer-KN7PNA2S.js → fixer-ZTSV7ZK3.js} +4 -4
- package/dist/{fly-EUUMRUOA.js → fly-RZ7SZKFT.js} +4 -4
- package/dist/{front-NDQEA5FF.js → front-Q5MZVUGX.js} +4 -4
- package/dist/{geocodio-43AW5OCB.js → geocodio-QPHHODHG.js} +4 -4
- package/dist/{ghost-MZCUCRIB.js → ghost-3Q6O7EWZ.js} +4 -4
- package/dist/{github-2DAQEJIN.js → github-LDMGJHXV.js} +4 -4
- package/dist/{gmail-XHLM4BQE.js → gmail-6QBCI3TT.js} +4 -4
- package/dist/{googlecalendar-C6TQ5TPM.js → googlecalendar-LLSYY4ZJ.js} +4 -4
- package/dist/{googledocs-PHWMCVQJ.js → googledocs-KRGVBGWY.js} +4 -4
- package/dist/{grafana-34MZYU2V.js → grafana-OHPZMRHT.js} +4 -4
- package/dist/{graphhopper-X6APDY3M.js → graphhopper-2PBY7OX4.js} +4 -4
- package/dist/index.d.ts +25 -9
- package/dist/index.js +2 -2
- package/dist/{ip2proxy-AODVERWD.js → ip2proxy-GPBQZKKG.js} +4 -4
- package/dist/{ipgeolocation_io-2WZ3462V.js → ipgeolocation_io-YNTOLOFH.js} +4 -4
- package/dist/{ipqualityscore-AWRQEQKM.js → ipqualityscore-CZLQUAQ7.js} +4 -4
- package/dist/{jina_ai-BTBWMSHI.js → jina_ai-JIFEYH5C.js} +4 -4
- package/dist/{jira-ME62KT7T.js → jira-2DKTIWHK.js} +4 -4
- package/dist/{langsmith-X4V62JDO.js → langsmith-UCX7NHKP.js} +4 -4
- package/dist/{lemlist-X2F4X4XI.js → lemlist-IS6K2VJG.js} +4 -4
- package/dist/{linear-NXXHNHYR.js → linear-AK6547ZS.js} +4 -4
- package/dist/{logsnag-CMNFM5DD.js → logsnag-EB5LICOH.js} +4 -4
- package/dist/main.js +101 -101
- package/dist/{mattermost-UUPXATVV.js → mattermost-YOSWUA3R.js} +4 -4
- package/dist/{mem0-J4ZT6KFD.js → mem0-IICTSHLB.js} +4 -4
- package/dist/{memos-O7OLF43F.js → memos-DIV6MZPB.js} +4 -4
- package/dist/{metabase-LW5CT4SE.js → metabase-ZGHNTCAT.js} +4 -4
- package/dist/{mistral_ai-UBPH5I2O.js → mistral_ai-IAG3WZYO.js} +4 -4
- package/dist/{mother_duck-FSXTF7W3.js → mother_duck-PYKG4ZHO.js} +4 -4
- package/dist/{ngrok-7ZEFTQFO.js → ngrok-BXN3DGTK.js} +4 -4
- package/dist/{notes-E2SOGAC5.js → notes-L2UO36HQ.js} +2 -2
- package/dist/{notion-6L2B5SOP.js → notion-PVHVOV4R.js} +4 -4
- package/dist/{open_exchange_rates-5MEDCXDA.js → open_exchange_rates-DVMOPFNQ.js} +4 -4
- package/dist/{openai-DGZ4UVGN.js → openai-VW6F5YTK.js} +4 -4
- package/dist/{opengraph_io-3WZHS2G7.js → opengraph_io-MQUREYWM.js} +4 -4
- package/dist/{openrouter-AEVJKGL2.js → openrouter-5MI3ODCU.js} +4 -4
- package/dist/{outline-NIDSWKQL.js → outline-B2U7NIVA.js} +4 -4
- package/dist/{paddle-KXUMVYWP.js → paddle-LDZTVYQO.js} +4 -4
- package/dist/{perplexity-SGCXVRPL.js → perplexity-P7BNWFMH.js} +4 -4
- package/dist/{pinecone-TEPE2YN6.js → pinecone-3Y67EJYP.js} +4 -4
- package/dist/{pipedrive-HSLALJJF.js → pipedrive-4KFLGCJW.js} +4 -4
- package/dist/{polar-W3MS7L3S.js → polar-NIULQPUD.js} +4 -4
- package/dist/{posthog-Q26LDFUB.js → posthog-UXGCIHRP.js} +4 -4
- package/dist/{postmark-Y4CGMQ6N.js → postmark-XT77YNQM.js} +4 -4
- package/dist/{prerender-ZXDEGJFM.js → prerender-37E6ZN6Z.js} +4 -4
- package/dist/{pubmed-M5D6VUDC.js → pubmed-BO2W4IR6.js} +4 -4
- package/dist/{railway-IMKRAE5U.js → railway-5BACZNYC.js} +4 -4
- package/dist/{readwise-KVO2HGRR.js → readwise-DXABSDKY.js} +4 -4
- package/dist/{render-PCF3BY2W.js → render-4MCO6RLA.js} +4 -4
- package/dist/{replicate-SPYM2A2X.js → replicate-IVEPY4EP.js} +4 -4
- package/dist/{resend-J2VSMZEQ.js → resend-XJBJO46B.js} +4 -4
- package/dist/{rootly-XLVVLQ5E.js → rootly-R6QDVF3D.js} +4 -4
- package/dist/{scrapfly-4MCQ2L3S.js → scrapfly-E24XNN32.js} +4 -4
- package/dist/{scrapingbee-I5B45KRL.js → scrapingbee-QT3O334C.js} +4 -4
- package/dist/{screenshot_fyi-ZRVS7KGW.js → screenshot_fyi-MJNFPUFV.js} +4 -4
- package/dist/{semantic_scholar-EOOCAOGH.js → semantic_scholar-BVKWS72R.js} +4 -4
- package/dist/{sentry-NQFN5QWM.js → sentry-52T5XARK.js} +4 -4
- package/dist/{shodan-NA4YQ5EF.js → shodan-RTOTTCX2.js} +4 -4
- package/dist/{shopify-SSQWQLVZ.js → shopify-3RVWQDZ6.js} +4 -4
- package/dist/{stripe-4O4LFWWX.js → stripe-M3T2K3EW.js} +4 -4
- package/dist/{supabase-L6HIG3AO.js → supabase-UUUXAEYR.js} +4 -4
- package/dist/{tavily-YIZ257JR.js → tavily-LVOZQQKJ.js} +4 -4
- package/dist/{telegram-GCHRPOUO.js → telegram-WJQPCKQT.js} +4 -4
- package/dist/{telnyx-SAPDG42W.js → telnyx-THKSKAI2.js} +4 -4
- package/dist/{todoist-PLWNX5EV.js → todoist-YTRGFFRC.js} +4 -4
- package/dist/{trello-P373RD2Z.js → trello-QBK6WKN2.js} +4 -4
- package/dist/{turso-UOK734KL.js → turso-EA44ZKLR.js} +4 -4
- package/dist/{twilio-QTZ5B5JF.js → twilio-GSW3V55S.js} +4 -4
- package/dist/{umami-JR24H6UL.js → umami-DVZ7XUYC.js} +4 -4
- package/dist/{unsplash-2REBXIN5.js → unsplash-ZWUWQ7OS.js} +4 -4
- package/dist/{upstash_redis-JW5CLN3M.js → upstash_redis-BQIQB5NM.js} +4 -4
- package/dist/{uptimerobot-T7ZY334I.js → uptimerobot-2OJHTUPV.js} +4 -4
- package/dist/{v2ex-OZXEQ7YR.js → v2ex-IZF4BB4O.js} +4 -4
- package/dist/{vercel-IRS2BQMP.js → vercel-PI3BJENX.js} +4 -4
- package/dist/{wolfram_alpha_api-FXO3FCL6.js → wolfram_alpha_api-EYQ2QCHH.js} +4 -4
- package/dist/{wordpress-HDJP5IKC.js → wordpress-ETDA6XLX.js} +4 -4
- package/dist/{workos-HDXADI3J.js → workos-D7INO4Y4.js} +4 -4
- package/dist/{zhihu-6MRZYPMO.js → zhihu-Q7FNHEDM.js} +4 -4
- package/package.json +5 -5
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DXXYNIXV.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
|
|
15
15
|
// ../plugins/src/front/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/geocodio/api.ts
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireCredential,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
assertPublicHttpUrl,
|
|
8
8
|
guardedFetch
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KH663T3A.js";
|
|
10
|
+
import "./chunk-UI4E4T5Q.js";
|
|
11
11
|
import {
|
|
12
12
|
TBError,
|
|
13
13
|
external_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DXXYNIXV.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
|
|
17
17
|
// ../plugins/src/ghost/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/github/api/shared.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/gmail/api/shared.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/googlecalendar/api/shared.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/googledocs/api/shared.ts
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
assertPublicHttpUrl,
|
|
8
8
|
guardedFetch
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KH663T3A.js";
|
|
10
|
+
import "./chunk-UI4E4T5Q.js";
|
|
11
11
|
import {
|
|
12
12
|
TBError,
|
|
13
13
|
external_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DXXYNIXV.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
|
|
17
17
|
// ../plugins/src/grafana/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/graphhopper/api.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -471,6 +471,17 @@ interface ObjectListResult {
|
|
|
471
471
|
prefix: string;
|
|
472
472
|
}>;
|
|
473
473
|
}
|
|
474
|
+
interface ObjectPresignedPut {
|
|
475
|
+
/** 上传时必须原样携带的请求头。 */
|
|
476
|
+
headers: Record<string, string>;
|
|
477
|
+
method: 'PUT';
|
|
478
|
+
url: string;
|
|
479
|
+
}
|
|
480
|
+
interface ObjectPresignPutOptions {
|
|
481
|
+
contentType: string;
|
|
482
|
+
/** `*` 表示仅当对象不存在时写入;必须随 PUT 一同签名并发送。 */
|
|
483
|
+
ifNoneMatch?: '*';
|
|
484
|
+
}
|
|
474
485
|
interface ObjectStore {
|
|
475
486
|
/** 幂等:不存在静默。 */
|
|
476
487
|
delete(key: string): Promise<void>;
|
|
@@ -482,6 +493,8 @@ interface ObjectStore {
|
|
|
482
493
|
list(prefix: string, opts?: ObjectListOptions): Promise<ObjectListResult>;
|
|
483
494
|
/** 生成限时直连 URL;后端不支持则缺省(provider 退化到 relayRefUrl)。 */
|
|
484
495
|
presign?(key: string, ttlSec: number): Promise<string>;
|
|
496
|
+
/** 生成限时、定路径的直传 PUT 请求;后端或凭证不支持时缺省。 */
|
|
497
|
+
presignPut?(key: string, ttlSec: number, opts: ObjectPresignPutOptions): Promise<ObjectPresignedPut>;
|
|
485
498
|
put(key: string, body: ObjectBody, opts?: ObjectPutOptions): Promise<ObjectMeta>;
|
|
486
499
|
}
|
|
487
500
|
|
|
@@ -629,13 +642,13 @@ interface MutableSearchIndex extends SearchIndex {
|
|
|
629
642
|
}
|
|
630
643
|
|
|
631
644
|
/**
|
|
632
|
-
*
|
|
633
|
-
*
|
|
645
|
+
* SQL SearchIndex 的共享实现——D1、better-sqlite3 与 PostgreSQL 三个 adapter
|
|
646
|
+
* 的编排与候选检索唯一真源。
|
|
634
647
|
*
|
|
635
648
|
* 此前两边各持一份逐行相同的 schema DDL、查询 SQL、material-change 判定与
|
|
636
649
|
* cursor/分页逻辑(共 ~780 行,重合度 >85%),任何一侧改动都得靠人工纪律同步到另
|
|
637
|
-
*
|
|
638
|
-
*
|
|
650
|
+
* 一侧。这里把**所有**与具体驱动无关的部分收进 `SqlSearchIndex`,宿主差异压缩成
|
|
651
|
+
* `SqlSearchDriver` 的五个
|
|
639
652
|
* 方法:
|
|
640
653
|
*
|
|
641
654
|
* - D1 全异步、写入走 `db.batch()`,且单请求有 50 查询预算 —— 故记录插入必须
|
|
@@ -682,14 +695,13 @@ interface SqlSearchStatements {
|
|
|
682
695
|
*
|
|
683
696
|
* `SqlSearchIndex` 只认识本接口——候选查询 + 一组固定语句 + 建表 DDL。
|
|
684
697
|
* D1 与 better-sqlite3 同为 SQLite,共用 {@link sqliteSearchDialect};其它引擎
|
|
685
|
-
* (如 Postgres)
|
|
698
|
+
* (如 Postgres)实现自己的方言,替换占位符与大小写折叠语法。方言只管 SQL 文本,
|
|
686
699
|
* 具体驱动的同步/异步、批量预算、结果整形仍由 {@link SqlSearchDriver} 吸收。
|
|
687
700
|
*/
|
|
688
701
|
interface SqlSearchDialect {
|
|
689
702
|
/**
|
|
690
|
-
* 把已 normalize 的 query 变成候选查询语句(含排序与分页)
|
|
691
|
-
*
|
|
692
|
-
* FTS + 短词 LIKE,PG 走 ILIKE 子串;编排层只给 normalized query,不预设方言。
|
|
703
|
+
* 把已 normalize 的 query 变成候选查询语句(含排序与分页)。三后端共用查询单元
|
|
704
|
+
* 展开和评分形态,方言只选择占位符语法与 LIKE/ILIKE。
|
|
693
705
|
*/
|
|
694
706
|
candidateStatement(query: string, limit: number, offset: number): SqlSearchStatement;
|
|
695
707
|
/** 建表(幂等),元素不带尾分号。 */
|
|
@@ -907,6 +919,8 @@ interface TbAppDeps {
|
|
|
907
919
|
state: StateStore;
|
|
908
920
|
/** mcp/tool 工具缓存 TTL 秒(缺省 300)。 */
|
|
909
921
|
toolCacheTtlSec?: number;
|
|
922
|
+
/** create_upload 写入 grant 有效期秒;缺省 min(refTtlSec, 900)。 */
|
|
923
|
+
uploadGrantTtlSec?: number;
|
|
910
924
|
/** healthz 与 system/status 回显的版本号(单一真源:宿主 package.json)。 */
|
|
911
925
|
version: string;
|
|
912
926
|
}
|
|
@@ -1010,6 +1024,8 @@ interface ServerConfig {
|
|
|
1010
1024
|
toolCacheTtlSec?: number;
|
|
1011
1025
|
/** Dashboard 静态资源目录覆盖(缺省经 @tool-bridge/dashboard 包解析)。 */
|
|
1012
1026
|
uiDir?: string;
|
|
1027
|
+
/** create_upload 写入 grant 有效期秒;缺省 min(refTtlSec, 900)。 */
|
|
1028
|
+
uploadGrantTtlSec?: number;
|
|
1013
1029
|
}
|
|
1014
1030
|
declare function configFromEnv(env?: NodeJS.ProcessEnv): ServerConfig;
|
|
1015
1031
|
|
|
@@ -1301,7 +1317,7 @@ interface TbServer {
|
|
|
1301
1317
|
}
|
|
1302
1318
|
declare function createTbServer(config: ServerConfig): TbServer;
|
|
1303
1319
|
|
|
1304
|
-
/** Node 宿主的 better-sqlite3
|
|
1320
|
+
/** Node 宿主的 better-sqlite3 纯 LIKE SearchIndex。 */
|
|
1305
1321
|
declare class SqliteSearchIndex extends SqlSearchIndex {
|
|
1306
1322
|
private readonly db;
|
|
1307
1323
|
constructor(dbPath: string);
|
package/dist/index.js
CHANGED
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
configFromEnv,
|
|
13
13
|
createDataObjectStore,
|
|
14
14
|
createTbServer
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-NLPTB3IL.js";
|
|
16
|
+
import "./chunk-DXXYNIXV.js";
|
|
17
17
|
import "./chunk-MLKGABMK.js";
|
|
18
18
|
export {
|
|
19
19
|
DEVICE_FORWARD_TIMEOUT_MS,
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/ip2proxy/schema.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/ipgeolocation_io/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/ipqualityscore/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/jina_ai/api.ts
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireCredential,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
assertPublicHttpUrl,
|
|
8
8
|
guardedFetch
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KH663T3A.js";
|
|
10
|
+
import "./chunk-UI4E4T5Q.js";
|
|
11
11
|
import {
|
|
12
12
|
TBError,
|
|
13
13
|
external_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DXXYNIXV.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
|
|
17
17
|
// ../plugins/src/jira/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/langsmith/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/lemlist/api.ts
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
TBError,
|
|
12
12
|
external_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DXXYNIXV.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// ../plugins/src/linear/api.ts
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
createProviderPlugin,
|
|
3
3
|
requireApiKey,
|
|
4
4
|
upstreamError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ67PIIS.js";
|
|
6
6
|
import {
|
|
7
7
|
guardedFetch
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KH663T3A.js";
|
|
9
|
+
import "./chunk-UI4E4T5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
external_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DXXYNIXV.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
|
|
15
15
|
// ../plugins/src/logsnag/api.ts
|