@wirecat/drive-cli 0.70.0 → 0.72.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/README.md +150 -70
- package/contracts/wirecat.json +77 -8
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/agent-23OB2NZP.js +46 -0
- package/dist/bundle/{all-profiles-FW3GK3QO.js → all-profiles-GXGDVNQJ.js} +67 -25
- package/dist/bundle/{anthropic-QVKJT3II.js → anthropic-H5C4GQHC.js} +9 -9
- package/dist/bundle/{app-server-QU73RD5R.js → app-server-EQ3UK4C7.js} +97 -79
- package/dist/bundle/{bun-5XCD5CBB.js → bun-DTJVSRY3.js} +2 -2
- package/dist/bundle/{bun-sqlite-TIGSVNSV.js → bun-sqlite-JIFY7MAE.js} +9 -9
- package/dist/bundle/chunk-2Q325BBD.js +353 -0
- package/dist/bundle/chunk-35FIJGTT.js +52 -0
- package/dist/bundle/{chunk-7C5KENNU.js → chunk-3FRQ6V4T.js} +3 -3
- package/dist/bundle/chunk-47L262VI.js +340 -0
- package/dist/bundle/chunk-4HP6KGBI.js +32 -0
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-4HPXWYTE.js} +1 -1
- package/dist/bundle/{chunk-HYXXMSVD.js → chunk-4IUNYYYL.js} +4473 -2685
- package/dist/bundle/{chunk-FYPW7NMH.js → chunk-4JS32SRX.js} +64 -4
- package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
- package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
- package/dist/bundle/{chunk-SONPLYV7.js → chunk-55FH6IEL.js} +5 -5
- package/dist/bundle/{chunk-VVN6GHAZ.js → chunk-5BNMWSU2.js} +659 -255
- package/dist/bundle/{chunk-FVTKFIQH.js → chunk-5H747A76.js} +5496 -3195
- package/dist/bundle/{chunk-PR7XD2DI.js → chunk-5KWCO56H.js} +2 -2
- package/dist/bundle/{chunk-3AHBZP33.js → chunk-5U3NCE5R.js} +35 -12
- package/dist/bundle/{chunk-HRATXUFH.js → chunk-6CCO3JCM.js} +31 -22
- package/dist/bundle/{chunk-RLNZ7NX5.js → chunk-6ZW2ZJYC.js} +2 -2
- package/dist/bundle/{chunk-RQNRYF6D.js → chunk-75DAHQOV.js} +3 -3
- package/dist/bundle/{chunk-7QSRODXM.js → chunk-77OBW43F.js} +6 -6
- package/dist/bundle/{chunk-GV5DGHSA.js → chunk-7EFM6AW3.js} +4 -4
- package/dist/bundle/{chunk-BXPC5TFG.js → chunk-A3S7QM5L.js} +3 -3
- package/dist/bundle/{chunk-IGNIUDI3.js → chunk-AA4LKC6W.js} +251 -565
- package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
- package/dist/bundle/{chunk-3TCMANIM.js → chunk-BM6V7456.js} +8 -227
- package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
- package/dist/bundle/{chunk-F5KJWRF5.js → chunk-BPA3R4KN.js} +2 -100
- package/dist/bundle/chunk-CIFE4KPX.js +2159 -0
- package/dist/bundle/chunk-CKB4XZZJ.js +730 -0
- package/dist/bundle/{chunk-YCL3SK4T.js → chunk-COJTCEZP.js} +113 -860
- package/dist/bundle/{chunk-BD2K2ONK.js → chunk-CWPYDT73.js} +6 -6
- package/dist/bundle/{chunk-6BMTW5A6.js → chunk-D4JNCXS7.js} +9 -9
- package/dist/bundle/chunk-DCPWZIOV.js +696 -0
- package/dist/bundle/{chunk-P7PLKNPX.js → chunk-DHMNCOQI.js} +415 -272
- package/dist/bundle/chunk-DOQMH4DC.js +280 -0
- package/dist/bundle/chunk-DQSOYH6N.js +20 -0
- package/dist/bundle/{chunk-ML3R2UHV.js → chunk-DWRUOLBF.js} +4 -4
- package/dist/bundle/{chunk-5JTB4URG.js → chunk-E3VWZC3K.js} +14 -13
- package/dist/bundle/chunk-ECYOTDJM.js +14 -0
- package/dist/bundle/{chunk-7IBENBCK.js → chunk-EVG3AA5M.js} +2 -2
- package/dist/bundle/chunk-F4BX7TH2.js +15 -0
- package/dist/bundle/{chunk-FCSHWUMW.js → chunk-FBEZSA76.js} +5 -5
- package/dist/bundle/{chunk-RHSBXOQM.js → chunk-FBQJN74J.js} +1 -1
- package/dist/bundle/{chunk-4WK26MPY.js → chunk-FIZOPJYY.js} +1 -1
- package/dist/bundle/chunk-FNAYSZWK.js +783 -0
- package/dist/bundle/{chunk-LINBDWJK.js → chunk-FRCJHGZM.js} +2 -2
- package/dist/bundle/{chunk-RCTOWLCD.js → chunk-FTG5QBSD.js} +41 -33
- package/dist/bundle/{chunk-ABZ2NYDT.js → chunk-FUDUXIVG.js} +1 -1
- package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
- package/dist/bundle/{chunk-PAPY6Q6H.js → chunk-GIEZYBRC.js} +1 -1
- package/dist/bundle/chunk-GTPPUBYU.js +1876 -0
- package/dist/bundle/chunk-GU6ICH53.js +108 -0
- package/dist/bundle/{chunk-REM5WHHQ.js → chunk-GUMKKRE6.js} +107 -71
- package/dist/bundle/{chunk-QBAOIMVB.js → chunk-GWCDOYSC.js} +1 -1
- package/dist/bundle/{chunk-HHAZ6DCY.js → chunk-GXGSC622.js} +69 -7
- package/dist/bundle/chunk-HAGXTGJC.js +188 -0
- package/dist/bundle/{chunk-TNKQDS5A.js → chunk-IMAWQC5K.js} +6 -6
- package/dist/bundle/{chunk-ZHZYGY5R.js → chunk-IVGVVSPW.js} +4 -4
- package/dist/bundle/{chunk-EDO5LZVF.js → chunk-J4NUHSM7.js} +1 -1
- package/dist/bundle/{chunk-DVVUJ254.js → chunk-K652FYCO.js} +6 -6
- package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
- package/dist/bundle/{chunk-FONIFRYI.js → chunk-KF3ZBQJV.js} +4 -4
- package/dist/bundle/chunk-KFZCHJRT.js +80 -0
- package/dist/bundle/chunk-KLPFDFLI.js +221 -0
- package/dist/bundle/{chunk-LMJBQFW6.js → chunk-KP2XMCNT.js} +13 -13
- package/dist/bundle/{chunk-FADAOLGB.js → chunk-KWDZ3KVH.js} +4 -4
- package/dist/bundle/{chunk-MXNQZAJQ.js → chunk-KX4C32WD.js} +2 -2
- package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
- package/dist/bundle/{chunk-ILAQIBEO.js → chunk-M2ZWYVWO.js} +1 -1
- package/dist/bundle/chunk-MEYYH47C.js +25 -0
- package/dist/bundle/{chunk-ZCXWV4XO.js → chunk-ML2QIWX2.js} +4 -4
- package/dist/bundle/{chunk-XOL346TJ.js → chunk-MUFF2YTH.js} +2 -2
- package/dist/bundle/{chunk-GAHIHE4K.js → chunk-N24YSLED.js} +9166 -9751
- package/dist/bundle/chunk-N4GTCPML.js +7 -0
- package/dist/bundle/{chunk-DVI72ZQG.js → chunk-NBMGDRP4.js} +1 -1
- package/dist/bundle/chunk-NMQRSEZM.js +37 -0
- package/dist/bundle/{chunk-I7YSHUPW.js → chunk-NNGA4QDR.js} +13 -26
- package/dist/bundle/{chunk-5DPV7X27.js → chunk-NTZWY5R3.js} +321 -0
- package/dist/bundle/chunk-O7CZZ36M.js +80 -0
- package/dist/bundle/{chunk-HWUPU6WX.js → chunk-OAONP6KI.js} +13 -9
- package/dist/bundle/{chunk-3CHW7JGR.js → chunk-OESP4PHB.js} +17 -17
- package/dist/bundle/chunk-OHR6IZNH.js +116 -0
- package/dist/bundle/{chunk-54NDYVZA.js → chunk-OLCU7Q2B.js} +1 -1
- package/dist/bundle/{chunk-FN3RXBO7.js → chunk-OLDQLEPA.js} +6 -6
- package/dist/bundle/{chunk-7DJNURKV.js → chunk-OPIPG6AP.js} +16 -9
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/chunk-PRYMT3OG.js +30 -0
- package/dist/bundle/chunk-QDUIVMEW.js +36 -0
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-QKBPCX7Y.js} +1 -1
- package/dist/bundle/{chunk-PN4JYURZ.js → chunk-QSLOACDT.js} +201 -423
- package/dist/bundle/{chunk-3UWRAIWA.js → chunk-QUZFDU4K.js} +4 -4
- package/dist/bundle/{chunk-KSJAFMU5.js → chunk-R32DHS6J.js} +211 -380
- package/dist/bundle/{chunk-2SBC4DVV.js → chunk-R57QUYBG.js} +6 -28
- package/dist/bundle/{chunk-IFTX7AQU.js → chunk-R64OSDOD.js} +45 -66
- package/dist/bundle/{chunk-WJK6KTCS.js → chunk-RSPBVKOC.js} +8 -8
- package/dist/bundle/{chunk-GPDPEHYX.js → chunk-SPNPJ3FZ.js} +3 -4
- package/dist/bundle/chunk-SQHDSIFL.js +388 -0
- package/dist/bundle/{chunk-XZBA6FVH.js → chunk-ST35FIUG.js} +3 -3
- package/dist/bundle/{chunk-37MAA6F2.js → chunk-STUPCKAA.js} +11 -2221
- package/dist/bundle/chunk-SZ7XJZGH.js +2231 -0
- package/dist/bundle/chunk-TRYYWV7J.js +291 -0
- package/dist/bundle/{chunk-OY7TNUEC.js → chunk-TTPWKTVR.js} +1 -1
- package/dist/bundle/{chunk-3UZ4OH22.js → chunk-U7VEJ3CW.js} +49 -129
- package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
- package/dist/bundle/{chunk-HK225DAG.js → chunk-UIQ35CA5.js} +1 -1
- package/dist/bundle/{chunk-GK3BJMGK.js → chunk-UJY26HW4.js} +1 -1
- package/dist/bundle/{chunk-EG62WVR2.js → chunk-UWG3PRY7.js} +9 -60
- package/dist/bundle/{chunk-BBRMDMIR.js → chunk-VAR3MJU6.js} +3 -3
- package/dist/bundle/{chunk-GJZSVSV3.js → chunk-VPQSI5IU.js} +4 -4
- package/dist/bundle/{chunk-YZPE72GE.js → chunk-VQPT3Y7W.js} +12 -12
- package/dist/bundle/{chunk-T5D4OGDC.js → chunk-WMG3H2VK.js} +2 -2
- package/dist/bundle/{chunk-6DPOWBKA.js → chunk-X5BGAZC5.js} +6 -6
- package/dist/bundle/{chunk-DHX27E5M.js → chunk-XC6TRWLZ.js} +3 -3
- package/dist/bundle/{chunk-Q5C6YKAY.js → chunk-XQZEMRCU.js} +402 -402
- package/dist/bundle/{chunk-54BQWRJL.js → chunk-XZ7MO6EU.js} +7 -7
- package/dist/bundle/{chunk-TGS5VPJD.js → chunk-YAIOEPKU.js} +341 -433
- package/dist/bundle/chunk-YHWFF6DN.js +39 -0
- package/dist/bundle/{chunk-WWE5GO6G.js → chunk-YWOLQEDV.js} +16 -3
- package/dist/bundle/{chunk-DR57KDAY.js → chunk-ZFDSJ5YJ.js} +38 -8
- package/dist/bundle/{chunk-BBFXQPKD.js → chunk-ZFUZEFU6.js} +3 -3
- package/dist/bundle/{chunk-YRUR3E3E.js → chunk-ZJKXSMXK.js} +72 -59
- package/dist/bundle/{chunk-BFKFKDPC.js → chunk-ZKWT6HXT.js} +1 -1
- package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
- package/dist/bundle/{cli-K4D4DIGQ.js → cli-2P5FW2RL.js} +201 -98
- package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
- package/dist/bundle/{command-server-entry-WREK3QBB.js → command-server-entry-KP2UDGLA.js} +36 -34
- package/dist/bundle/{decode-SEETPKBH.js → decode-K2JZ5D6V.js} +10 -10
- package/dist/bundle/{dispatch-SQCEURVK.js → dispatch-KOQZA74A.js} +10 -10
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-WZ5RKFCX.js → echarts-URO3QGCG.js} +2 -2
- package/dist/bundle/{embed-B2UCRZZR.js → embed-JLIPWTNN.js} +10 -10
- package/dist/bundle/{embedder-4R6Z7G7L.js → embedder-LUTDO3HS.js} +15 -15
- package/dist/bundle/entry-AVF6LMG7.js +25 -0
- package/dist/bundle/{failure-CYNXH3RQ.js → failure-GJMQLM7O.js} +4 -4
- package/dist/bundle/first-run-VYTIEUDA.js +31 -0
- package/dist/bundle/first-screen-QVZPF7KL.js +45 -0
- package/dist/bundle/google-VX7IPACN.js +46 -0
- package/dist/bundle/{google-api-SAND2F7L.js → google-api-RFXKRLL4.js} +88 -73
- package/dist/bundle/grants-4XWJFVD6.js +133 -0
- package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
- package/dist/bundle/hast-util-to-html-VP6XLPKJ.js +998 -0
- package/dist/bundle/hast-util-to-mdast-IZ5PRX72.js +2272 -0
- package/dist/bundle/{identity-JVVGS4U6.js → identity-FXPB5EMT.js} +7 -6
- package/dist/bundle/{instructions-JSMTSB22.js → instructions-IROIUVZI.js} +1 -1
- package/dist/bundle/{login-6WG3YBDU.js → login-WIY5VQU7.js} +96 -81
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-NJIOKW3E.js} +2 -2
- package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-HEZF7KJ4.js} +137 -195
- package/dist/bundle/mdast-util-gfm-AQW6R6MG.js +925 -0
- package/dist/bundle/mdast-util-to-hast-DF2QVIRV.js +879 -0
- package/dist/bundle/mdast-util-to-markdown-XYLXB3Z3.js +18 -0
- package/dist/bundle/meeting-combined-JUNV35GM.js +28 -0
- package/dist/bundle/meeting-model-XY4UNWWK.js +29 -0
- package/dist/bundle/{meeting-semantic-5U7JQCFF.js → meeting-semantic-62QNQMOM.js} +10 -10
- package/dist/bundle/{micromark-extension-gfm-GRL24TU6.js → micromark-extension-gfm-OE2GBORZ.js} +11 -78
- package/dist/bundle/{node-VJMVHOWD.js → node-IACCI2CW.js} +2 -2
- package/dist/bundle/{node-sqlite-DCNT3HVE.js → node-sqlite-WYIRC7C7.js} +10 -10
- package/dist/bundle/notes-search-DEDUJKSN.js +70 -0
- package/dist/bundle/oauth-HXBXF4VI.js +22 -0
- package/dist/bundle/{open-NFOEHVW7.js → open-H32B6BCT.js} +8 -8
- package/dist/bundle/{openai-D47WY7EC.js → openai-VHMPJJUG.js} +22 -21
- package/dist/bundle/{process-Q2FRU5VA.js → process-RNHPF5OK.js} +1 -1
- package/dist/bundle/{program-T2AJJQEM.js → program-GYMJ3DDH.js} +276 -1132
- package/dist/bundle/{prompt-YJSDABXN.js → prompt-TOG2CRCE.js} +8 -8
- package/dist/bundle/{reasons-WEHPCSJX.js → reasons-TLFQ45YX.js} +6 -5
- package/dist/bundle/{recognize-6OBEIEB3.js → recognize-GYGY45EY.js} +7 -7
- package/dist/bundle/remote-6XN2QLI5.js +35 -0
- package/dist/bundle/{rerank-L6F5SLIB.js → rerank-HJO3O4TW.js} +11 -11
- package/dist/bundle/{serve-GYSWIWH4.js → serve-XPCNLHCR.js} +19 -19
- package/dist/bundle/server-UBJZ66XE.js +97 -0
- package/dist/bundle/{server-GWWP3RIT.js → server-WPT3NC5B.js} +89 -70
- package/dist/bundle/{services-BDQBRXT5.js → services-253KKKVU.js} +109 -89
- package/dist/bundle/{sqlite-runtime-ZSZGAUYB.js → sqlite-runtime-EZASGJXW.js} +9 -9
- package/dist/bundle/{start-BJ275RUK.js → start-UHI35JFL.js} +7 -7
- package/dist/bundle/{state-HLNGFI2T.js → state-KJTSPFGK.js} +9 -9
- package/dist/bundle/{store-I43KZNJW.js → store-62J2H2A3.js} +36 -25
- package/dist/bundle/{store-OSRTGYGI.js → store-G5B7T7M7.js} +38 -23
- package/dist/bundle/store-maintenance-command-C6T4YLVF.js +85 -0
- package/dist/bundle/surface-3OT64BHS.js +83 -0
- package/dist/bundle/tokens-EHYO6D2X.js +133 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +11 -1
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +8 -22
- package/dist/commands/remote.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +14 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +7 -1
- package/dist/config.js.map +1 -1
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +2 -1
- package/dist/first-screen.js.map +1 -1
- package/dist/generated/manifest.d.ts +2 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +782 -0
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/types.d.ts +262 -58
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/google.d.ts.map +1 -1
- package/dist/google.js +5 -5
- package/dist/google.js.map +1 -1
- package/dist/model.d.ts +5 -2
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js.map +1 -1
- package/dist/policy-keys.js +1 -1
- package/dist/policy-keys.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +9 -4
- package/dist/program.js.map +1 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +6 -1
- package/dist/state.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +2 -7
- package/dist/store.js.map +1 -1
- package/dist/supported.d.ts +2 -2
- package/dist/supported.d.ts.map +1 -1
- package/dist/supported.js +2 -3
- package/dist/supported.js.map +1 -1
- package/dist/sync.d.ts +2 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +6 -4
- package/dist/sync.js.map +1 -1
- package/dist/transcripts.d.ts +0 -6
- package/dist/transcripts.d.ts.map +1 -1
- package/dist/transcripts.js +0 -13
- package/dist/transcripts.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/scenarios/find-decision.md +1 -1
- package/skills/drive-cli/SKILL.md +4 -2
- package/dist/bundle/chunk-AV5UKJZM.js +0 -729
- package/dist/bundle/chunk-NP7LJATI.js +0 -598
- package/dist/bundle/chunk-P77FL6RY.js +0 -896
- package/dist/bundle/chunk-ZI3YTXSF.js +0 -2
- package/dist/bundle/command-contract-V3F452QI.js +0 -43
- package/dist/bundle/entry-ORZYRJ5N.js +0 -25
- package/dist/bundle/first-run-KAKA6KBY.js +0 -31
- package/dist/bundle/first-screen-R645UHRH.js +0 -41
- package/dist/bundle/google-BSO3YB7N.js +0 -45
- package/dist/bundle/grants-PLNFYARD.js +0 -118
- package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
- package/dist/bundle/meeting-combined-SUKMFK3F.js +0 -27
- package/dist/bundle/meeting-model-S4YGKIFI.js +0 -29
- package/dist/bundle/oauth-KCMNQ3ZP.js +0 -22
- package/dist/bundle/remote-3SL2QJ7T.js +0 -35
- package/dist/bundle/server-BI46BSRE.js +0 -80
- package/dist/bundle/store-maintenance-command-FO7LEVSL.js +0 -72
- package/dist/bundle/tokens-DB7O7QNB.js +0 -118
|
@@ -23,28 +23,28 @@ import {
|
|
|
23
23
|
tagMemberIds,
|
|
24
24
|
thingOf,
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4IUNYYYL.js";
|
|
27
27
|
import {
|
|
28
28
|
fold
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TTPWKTVR.js";
|
|
30
30
|
import {
|
|
31
31
|
ADDED_PROVIDER,
|
|
32
32
|
filesAccountSql,
|
|
33
33
|
folderProviderOf,
|
|
34
34
|
folderProviderSql,
|
|
35
35
|
isDocumentAccountProvider
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-COJTCEZP.js";
|
|
37
37
|
import {
|
|
38
38
|
damagedFile
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6ZW2ZJYC.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OLCU7Q2B.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
48
48
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
49
49
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
50
50
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
|
|
|
147
147
|
};
|
|
148
148
|
}, "storeDamageReport");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
151
151
|
import { realpathSync, statSync } from "node:fs";
|
|
152
152
|
import { resolve } from "node:path";
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
155
155
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
156
156
|
const creatable = /* @__PURE__ */ new Set();
|
|
157
157
|
let people = 0, identities = 0;
|
|
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
214
214
|
}
|
|
215
215
|
}, "copyPeople");
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
218
218
|
import { createHash } from "node:crypto";
|
|
219
219
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
222
222
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
223
223
|
const colon = collection.indexOf(":");
|
|
224
224
|
const provider = collection.slice(0, colon);
|
|
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
262
262
|
};
|
|
263
263
|
}, "currentCollection");
|
|
264
264
|
|
|
265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
266
266
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
267
267
|
const mappings = /* @__PURE__ */ new Map();
|
|
268
268
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
429
429
|
};
|
|
430
430
|
}, "planTransfer");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
433
433
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
434
434
|
var MAX_ENTITIES = 1e3;
|
|
435
435
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
591
591
|
};
|
|
592
592
|
}), "transferSnapshot");
|
|
593
593
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
595
595
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
596
596
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
597
597
|
return provider ?? null;
|
|
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
763
763
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
764
764
|
}, "remapEntity");
|
|
765
765
|
|
|
766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
767
767
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
768
768
|
for (const value of [options.source, options.destination, options.collection])
|
|
769
769
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
|
|
|
865
865
|
}
|
|
866
866
|
}, "applyWith");
|
|
867
867
|
|
|
868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
869
869
|
import { existsSync, statSync as statSync2 } from "node:fs";
|
|
870
870
|
var JSON_COLUMNS = {
|
|
871
871
|
accounts: ["settings"],
|
|
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}, "storeHealth");
|
|
1009
1009
|
|
|
1010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
1011
1011
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
1012
1012
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1013
1013
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
1033
1033
|
});
|
|
1034
1034
|
}, "previewProjectAnnotationSnapshot");
|
|
1035
1035
|
|
|
1036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
1037
1037
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
1038
1038
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1039
1039
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
|
|
4
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
|
|
5
|
+
var WIRECAT_TOOLS = [
|
|
6
|
+
{
|
|
7
|
+
command: "tg",
|
|
8
|
+
appName: "tg-cli",
|
|
9
|
+
envPrefix: "TG",
|
|
10
|
+
package: "@wirecat/tg-cli",
|
|
11
|
+
does: "Telegram in the same local store: search, review and tasks offline"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
command: "max",
|
|
15
|
+
appName: "max-cli",
|
|
16
|
+
envPrefix: "MAX",
|
|
17
|
+
package: "@wirecat/max-cli",
|
|
18
|
+
does: "MAX in the same local store: search, review and tasks offline"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
command: "wa",
|
|
22
|
+
appName: "whatsapp-cli",
|
|
23
|
+
envPrefix: "WA",
|
|
24
|
+
package: "@wirecat/whatsapp-cli",
|
|
25
|
+
does: "WhatsApp in the same local store: search, review and tasks offline"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
command: "zm",
|
|
29
|
+
appName: "zoom-cli",
|
|
30
|
+
envPrefix: "ZM",
|
|
31
|
+
package: "@wirecat/zoom-cli",
|
|
32
|
+
does: "Zoom meetings: transcripts and summaries, searchable with your other WireCat data"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
command: "drive",
|
|
36
|
+
appName: "drive-cli",
|
|
37
|
+
envPrefix: "DRIVE",
|
|
38
|
+
package: "@wirecat/drive-cli",
|
|
39
|
+
does: "Google Drive and Docs as local text, searchable with your other WireCat data"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
command: "gcal",
|
|
43
|
+
appName: "gcal-cli",
|
|
44
|
+
envPrefix: "GCAL",
|
|
45
|
+
package: "@wirecat/gcal-cli",
|
|
46
|
+
does: "Google Calendar events, searchable with your other WireCat data"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
command: "memo",
|
|
50
|
+
appName: "cli-memo",
|
|
51
|
+
envPrefix: "MEMO",
|
|
52
|
+
package: "@wirecat/cli-memo",
|
|
53
|
+
shown: "memo context <person>",
|
|
54
|
+
does: "one person across messengers, mail, notes and meetings"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
command: "mail",
|
|
58
|
+
appName: "mail-cli",
|
|
59
|
+
envPrefix: "MAIL",
|
|
60
|
+
package: "@wirecat/mail-cli",
|
|
61
|
+
does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
command: "b24",
|
|
65
|
+
appName: "bitrix24-cli",
|
|
66
|
+
envPrefix: "B24",
|
|
67
|
+
package: "@wirecat/bitrix24-cli",
|
|
68
|
+
does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
command: "amo",
|
|
72
|
+
appName: "amo-cli",
|
|
73
|
+
envPrefix: "AMO",
|
|
74
|
+
package: "@wirecat/amo-cli",
|
|
75
|
+
does: "amoCRM and Kommo: deals, contacts and companies, searchable with your other WireCat data"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
command: "pbx",
|
|
79
|
+
appName: "asterisk-cli",
|
|
80
|
+
envPrefix: "PBX",
|
|
81
|
+
package: "@wirecat/asterisk-cli",
|
|
82
|
+
does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
command: "notion",
|
|
86
|
+
appName: "notion-cli",
|
|
87
|
+
envPrefix: "WCNOTION",
|
|
88
|
+
package: "@wirecat/notion-cli",
|
|
89
|
+
does: "Notion pages and databases as local text, searchable with your other WireCat data"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
command: "ydisk",
|
|
93
|
+
appName: "yandex-disk-cli",
|
|
94
|
+
envPrefix: "YDISK",
|
|
95
|
+
package: "@wirecat/yandex-disk-cli",
|
|
96
|
+
does: "Yandex Disk folders as local text, searchable with your other WireCat data"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
command: "wordpress",
|
|
100
|
+
appName: "wordpress-cli",
|
|
101
|
+
envPrefix: "WCWP",
|
|
102
|
+
package: "@wirecat/wordpress-cli",
|
|
103
|
+
does: "WordPress posts and pages, searchable with your other WireCat data"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
command: "linear",
|
|
107
|
+
appName: "linear-cli",
|
|
108
|
+
envPrefix: "WCLINEAR",
|
|
109
|
+
package: "@wirecat/linear-cli",
|
|
110
|
+
does: "Linear issues and projects, searchable with your other WireCat data"
|
|
111
|
+
}
|
|
112
|
+
];
|
|
113
|
+
|
|
114
|
+
export {
|
|
115
|
+
WIRECAT_TOOLS
|
|
116
|
+
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
8
8
|
var errorCodes = [
|
|
9
9
|
"validation_error",
|
|
10
10
|
"configuration_error",
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
PLAIN_HTTP_REFUSED,
|
|
5
5
|
modelAddressAllowed,
|
|
6
6
|
onThisComputer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZFDSJ5YJ.js";
|
|
8
8
|
import {
|
|
9
9
|
readSharedSection,
|
|
10
10
|
sharedConfigPath,
|
|
11
11
|
writeSharedSection
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RSPBVKOC.js";
|
|
13
13
|
import {
|
|
14
14
|
storePath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WMG3H2VK.js";
|
|
16
16
|
import {
|
|
17
17
|
boolean,
|
|
18
18
|
isoTimestamp,
|
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
safeParse,
|
|
21
21
|
strictObject,
|
|
22
22
|
string
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GXGSC622.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OLCU7Q2B.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/models/local-only.js
|
|
32
32
|
var SECTION = "local_only";
|
|
33
33
|
var Setting = strictObject({
|
|
34
34
|
on: boolean(),
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
tagOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XC6TRWLZ.js";
|
|
6
6
|
import {
|
|
7
7
|
QUERY_LIMITS,
|
|
8
8
|
parseLucene,
|
|
@@ -10,19 +10,19 @@ import {
|
|
|
10
10
|
queryError,
|
|
11
11
|
validateQuery,
|
|
12
12
|
walkQuery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XQZEMRCU.js";
|
|
14
14
|
import {
|
|
15
15
|
safeParse
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GXGSC622.js";
|
|
17
17
|
import {
|
|
18
18
|
CliError,
|
|
19
19
|
isCliError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OLCU7Q2B.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
26
26
|
var QUERY_VERSION = 1;
|
|
27
27
|
var QUERY_LIMITS2 = {
|
|
28
28
|
...QUERY_LIMITS,
|
|
@@ -51,6 +51,12 @@ function outOfTime(limitMs = QUERY_LIMITS2.milliseconds) {
|
|
|
51
51
|
}
|
|
52
52
|
__name(outOfTime, "outOfTime");
|
|
53
53
|
var isQueryLimit = /* @__PURE__ */ __name((error) => isCliError(error) && (error.details.reason === "query.too-large" || error.details.reason === "query.time-limit"), "isQueryLimit");
|
|
54
|
+
var SQLITE_TOO_LARGE = /nested too deep|too many terms in compound SELECT|Expression tree is too large|parser stack overflow/;
|
|
55
|
+
var sqliteLimit = /* @__PURE__ */ __name((error) => {
|
|
56
|
+
if (error instanceof Error && SQLITE_TOO_LARGE.test(error.message))
|
|
57
|
+
exhausted("nodes");
|
|
58
|
+
return error;
|
|
59
|
+
}, "sqliteLimit");
|
|
54
60
|
function exhausted(budget) {
|
|
55
61
|
throw new CliError("validation_error", `search exceeded its ${budget} budget \u2014 narrow the chat or date range`, {
|
|
56
62
|
reason: "query.too-large",
|
|
@@ -67,7 +73,7 @@ function tooWideTerm([term], budget) {
|
|
|
67
73
|
}
|
|
68
74
|
__name(tooWideTerm, "tooWideTerm");
|
|
69
75
|
|
|
70
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
|
|
71
77
|
var FIELD_VERSION = 2;
|
|
72
78
|
var UNITS = {
|
|
73
79
|
"": 1,
|
|
@@ -647,7 +653,7 @@ var QUERY_OPERATORS = [
|
|
|
647
653
|
{ name: "boost / minimum / intervals", example: "invoice^2", semantics: "query.unsupported-operator" }
|
|
648
654
|
];
|
|
649
655
|
|
|
650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
|
|
651
657
|
var REPAIRED = /* @__PURE__ */ new Set([
|
|
652
658
|
"query.invalid-syntax",
|
|
653
659
|
"query.unclosed-literal",
|
|
@@ -691,7 +697,7 @@ var literal = /* @__PURE__ */ __name((word, keepParens, fields) => {
|
|
|
691
697
|
const prefix = FIELD_PREFIX.exec(word);
|
|
692
698
|
const field = prefix && fields.has(prefix[1] ?? "") ? prefix[0] : "";
|
|
693
699
|
const rest = word.slice(field.length);
|
|
694
|
-
const opening = keepParens ? /^[(+-]*/u.exec(rest)?.[0] ?? "" : "";
|
|
700
|
+
const opening = keepParens ? (field ? /^\(*/u : /^[(+-]*/u).exec(rest)?.[0] ?? "" : "";
|
|
695
701
|
const closing = keepParens ? /\)*$/u.exec(rest.slice(opening.length))?.[0] ?? "" : "";
|
|
696
702
|
const body = rest.slice(opening.length, rest.length - closing.length);
|
|
697
703
|
if (!body)
|
|
@@ -790,7 +796,7 @@ var plainQuery = /* @__PURE__ */ __name((text, fields = SEARCH_FIELDS) => {
|
|
|
790
796
|
return text;
|
|
791
797
|
}, "plainQuery");
|
|
792
798
|
|
|
793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/search/fusion.js
|
|
794
800
|
var RRF_K = 60;
|
|
795
801
|
var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
796
802
|
const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
|
|
@@ -807,6 +813,7 @@ export {
|
|
|
807
813
|
searchTimeLimit,
|
|
808
814
|
outOfTime,
|
|
809
815
|
isQueryLimit,
|
|
816
|
+
sqliteLimit,
|
|
810
817
|
exhausted,
|
|
811
818
|
tooWideTerm,
|
|
812
819
|
FIELD_VERSION,
|