@wirecat/drive-cli 0.72.0 → 0.72.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/bin/drive.js +2 -2
- package/dist/bundle/agent-GOCD4ZW2.js +46 -0
- package/dist/bundle/{all-profiles-GXGDVNQJ.js → all-profiles-PZVP3G73.js} +14 -14
- package/dist/bundle/{anthropic-H5C4GQHC.js → anthropic-PUOTKSYV.js} +8 -8
- package/dist/bundle/{app-server-EQ3UK4C7.js → app-server-MKDCXRZM.js} +79 -79
- package/dist/bundle/{bun-DTJVSRY3.js → bun-NS5YLOQT.js} +2 -2
- package/dist/bundle/{bun-sqlite-JIFY7MAE.js → bun-sqlite-KSKWRLLO.js} +9 -9
- package/dist/bundle/{chunk-KF3ZBQJV.js → chunk-2CG3LUQS.js} +4 -4
- package/dist/bundle/{chunk-4HPXWYTE.js → chunk-2TVHFJKV.js} +1 -1
- package/dist/bundle/{chunk-ASTKHB6B.js → chunk-35GROSBS.js} +41 -41
- package/dist/bundle/{chunk-UWG3PRY7.js → chunk-3CH7I452.js} +7 -7
- package/dist/bundle/{chunk-OAONP6KI.js → chunk-3QBRS3JT.js} +8 -8
- package/dist/bundle/{chunk-2Q325BBD.js → chunk-3T7JIHSO.js} +8 -8
- package/dist/bundle/{chunk-77OBW43F.js → chunk-3VIEGRBA.js} +6 -6
- package/dist/bundle/{chunk-CIFE4KPX.js → chunk-3YCUYFTD.js} +45 -45
- package/dist/bundle/{chunk-6CCO3JCM.js → chunk-3ZGWJYSG.js} +20 -20
- package/dist/bundle/{chunk-BPA3R4KN.js → chunk-43PCMVTZ.js} +1 -1
- package/dist/bundle/{chunk-XQZEMRCU.js → chunk-4DK55MLP.js} +10 -10
- package/dist/bundle/{chunk-DOQMH4DC.js → chunk-4P6D6CUS.js} +12 -10
- package/dist/bundle/{chunk-E3VWZC3K.js → chunk-54O5NJRC.js} +12 -12
- package/dist/bundle/{chunk-5KWCO56H.js → chunk-5BHP4FVM.js} +2 -2
- package/dist/bundle/{chunk-GUMKKRE6.js → chunk-6JU4KLAZ.js} +63 -63
- package/dist/bundle/{chunk-ZFDSJ5YJ.js → chunk-6KND2DYT.js} +6 -6
- package/dist/bundle/{chunk-UIQ35CA5.js → chunk-7YPZPJTB.js} +1 -1
- package/dist/bundle/{chunk-GU6ICH53.js → chunk-A5XNUMW7.js} +2 -2
- package/dist/bundle/{chunk-TTPWKTVR.js → chunk-AG34MPVN.js} +1 -1
- package/dist/bundle/{chunk-KLPFDFLI.js → chunk-B5V2U7IS.js} +9 -9
- package/dist/bundle/{chunk-DCPWZIOV.js → chunk-B6JC5RS3.js} +11 -11
- package/dist/bundle/{chunk-O7CZZ36M.js → chunk-BDZXGDGI.js} +3 -3
- package/dist/bundle/{chunk-NBMGDRP4.js → chunk-BMTMGMGE.js} +1 -1
- package/dist/bundle/{chunk-OPIPG6AP.js → chunk-CP2TZXAG.js} +8 -8
- package/dist/bundle/{chunk-ZJKXSMXK.js → chunk-DOEP4EPW.js} +42 -42
- package/dist/bundle/{chunk-4IUNYYYL.js → chunk-E2TMWONO.js} +395 -395
- package/dist/bundle/{chunk-N4GTCPML.js → chunk-E5EYJU5R.js} +1 -1
- package/dist/bundle/{chunk-SPNPJ3FZ.js → chunk-EXHTGQR2.js} +1 -1
- package/dist/bundle/{chunk-AA4LKC6W.js → chunk-FJQO5OHR.js} +47 -30
- package/dist/bundle/{chunk-COJTCEZP.js → chunk-FKP4T7A4.js} +15 -15
- package/dist/bundle/{chunk-NNGA4QDR.js → chunk-FTL3WXZB.js} +12 -12
- package/dist/bundle/{chunk-KWDZ3KVH.js → chunk-G2CH4FRW.js} +4 -4
- package/dist/bundle/{chunk-PRYMT3OG.js → chunk-G2KKMQRN.js} +2 -2
- package/dist/bundle/{chunk-FBEZSA76.js → chunk-G7SKXAVZ.js} +5 -5
- package/dist/bundle/{chunk-GIEZYBRC.js → chunk-GFI3UUIU.js} +1 -1
- package/dist/bundle/{chunk-VQPT3Y7W.js → chunk-GTROGY74.js} +12 -12
- package/dist/bundle/{chunk-R64OSDOD.js → chunk-GYAPDUF5.js} +5 -5
- package/dist/bundle/{chunk-RSPBVKOC.js → chunk-HCMEU7AF.js} +8 -8
- package/dist/bundle/{chunk-CWPYDT73.js → chunk-HDGJ7IDE.js} +4 -4
- package/dist/bundle/{chunk-WMG3H2VK.js → chunk-HMN26CVU.js} +2 -2
- package/dist/bundle/{chunk-4JS32SRX.js → chunk-HOICQNJX.js} +5 -5
- package/dist/bundle/{chunk-J4NUHSM7.js → chunk-HPS2YGSZ.js} +1 -1
- package/dist/bundle/{chunk-ZFUZEFU6.js → chunk-HSASPXRW.js} +3 -3
- package/dist/bundle/{chunk-EVG3AA5M.js → chunk-IABPGOMT.js} +2 -2
- package/dist/bundle/{chunk-OLCU7Q2B.js → chunk-IBQZT2YD.js} +1 -1
- package/dist/bundle/{chunk-DHMNCOQI.js → chunk-IE3R46YN.js} +57 -57
- package/dist/bundle/{chunk-QUZFDU4K.js → chunk-IE6O7463.js} +4 -4
- package/dist/bundle/{chunk-R32DHS6J.js → chunk-IPBYU43F.js} +19 -14
- package/dist/bundle/{chunk-3FRQ6V4T.js → chunk-IS7STZEB.js} +3 -3
- package/dist/bundle/{chunk-VPQSI5IU.js → chunk-IV77ZFF4.js} +2 -2
- package/dist/bundle/{chunk-5H747A76.js → chunk-JDGF3YYS.js} +445 -1387
- package/dist/bundle/{chunk-FRCJHGZM.js → chunk-JHAACT4I.js} +2 -2
- package/dist/bundle/{chunk-YAIOEPKU.js → chunk-JRED7BNX.js} +160 -160
- package/dist/bundle/{chunk-K652FYCO.js → chunk-JSYUB4SM.js} +2 -2
- package/dist/bundle/{chunk-YWOLQEDV.js → chunk-JVM75M4H.js} +3 -3
- package/dist/bundle/{chunk-IMAWQC5K.js → chunk-JZ65CQWK.js} +6 -6
- package/dist/bundle/{chunk-KX4C32WD.js → chunk-KBR7OC5S.js} +2 -2
- package/dist/bundle/{chunk-OHR6IZNH.js → chunk-KI6OOW6D.js} +8 -1
- package/dist/bundle/{chunk-SQHDSIFL.js → chunk-KOI5G7NM.js} +6 -6
- package/dist/bundle/{chunk-QKBPCX7Y.js → chunk-KPBUJQKT.js} +1 -1
- package/dist/bundle/{chunk-M2ZWYVWO.js → chunk-KVBGIZ2C.js} +1 -1
- package/dist/bundle/{chunk-UJY26HW4.js → chunk-LKUWH6KU.js} +1 -1
- package/dist/bundle/{chunk-QDUIVMEW.js → chunk-MA6U4XH2.js} +1 -1
- package/dist/bundle/{chunk-U7VEJ3CW.js → chunk-MA7ETVTZ.js} +29 -190
- package/dist/bundle/{chunk-FUDUXIVG.js → chunk-MDJUYCHT.js} +1 -1
- package/dist/bundle/{chunk-FIZOPJYY.js → chunk-MGC2BAD2.js} +1 -1
- package/dist/bundle/{chunk-GXGSC622.js → chunk-OBDPKDGB.js} +6 -6
- package/dist/bundle/{chunk-OESP4PHB.js → chunk-ODTBJGWQ.js} +17 -17
- package/dist/bundle/{chunk-KFZCHJRT.js → chunk-PB6ACIME.js} +2 -2
- package/dist/bundle/{chunk-XZ7MO6EU.js → chunk-PMAV3RNP.js} +7 -7
- package/dist/bundle/{chunk-FNAYSZWK.js → chunk-PSY67L73.js} +23 -23
- package/dist/bundle/{chunk-5BNMWSU2.js → chunk-PUVQOZ2N.js} +30 -30
- package/dist/bundle/{chunk-OLDQLEPA.js → chunk-QB7K6PIP.js} +6 -6
- package/dist/bundle/{chunk-HAGXTGJC.js → chunk-QK7GKFKB.js} +4 -4
- package/dist/bundle/{chunk-X5BGAZC5.js → chunk-QMUWHKP5.js} +6 -6
- package/dist/bundle/{chunk-ZPUY3COZ.js → chunk-QURQ2OU2.js} +13 -13
- package/dist/bundle/{chunk-BM6V7456.js → chunk-R3EDZWXF.js} +5 -5
- package/dist/bundle/{chunk-GWCDOYSC.js → chunk-RM4DO2WZ.js} +1 -1
- package/dist/bundle/{chunk-CKB4XZZJ.js → chunk-S27UKJVL.js} +14 -14
- package/dist/bundle/{chunk-ZKWT6HXT.js → chunk-S3SLDYTU.js} +1 -1
- package/dist/bundle/{chunk-7EFM6AW3.js → chunk-SAEBHENE.js} +4 -4
- package/dist/bundle/{chunk-K6ZWNTXY.js → chunk-SM7Z2BQF.js} +17 -17
- package/dist/bundle/{chunk-QSLOACDT.js → chunk-SODB63MR.js} +36 -36
- package/dist/bundle/{chunk-N24YSLED.js → chunk-SSFGSY77.js} +1707 -575
- package/dist/bundle/{chunk-D4JNCXS7.js → chunk-SUQT4KI2.js} +7 -7
- package/dist/bundle/{chunk-ST35FIUG.js → chunk-SWQDKO6D.js} +3 -3
- package/dist/bundle/{chunk-55FH6IEL.js → chunk-T3OK6AYZ.js} +5 -5
- package/dist/bundle/{chunk-IVGVVSPW.js → chunk-TFIAD57H.js} +4 -4
- package/dist/bundle/{chunk-A3S7QM5L.js → chunk-TUL6MCTY.js} +2 -2
- package/dist/bundle/{chunk-DWRUOLBF.js → chunk-UL5HSHFU.js} +4 -4
- package/dist/bundle/{chunk-ML2QIWX2.js → chunk-UT64BBEP.js} +4 -4
- package/dist/bundle/{chunk-6ZW2ZJYC.js → chunk-VBIZD5V5.js} +2 -2
- package/dist/bundle/{chunk-BO6EDBYJ.js → chunk-VHTELRUA.js} +3 -3
- package/dist/bundle/{chunk-47L262VI.js → chunk-VOQICE3G.js} +7 -7
- package/dist/bundle/{chunk-5U3NCE5R.js → chunk-WDJRUNQN.js} +8 -8
- package/dist/bundle/{chunk-XC6TRWLZ.js → chunk-X5CXANSA.js} +3 -3
- package/dist/bundle/{chunk-FTG5QBSD.js → chunk-X6HPQKAI.js} +31 -31
- package/dist/bundle/{chunk-75DAHQOV.js → chunk-XKWQDQ4B.js} +3 -3
- package/dist/bundle/{chunk-R57QUYBG.js → chunk-XZEVHUKI.js} +3 -3
- package/dist/bundle/{chunk-VAR3MJU6.js → chunk-YE7DJB3F.js} +3 -3
- package/dist/bundle/{chunk-FBQJN74J.js → chunk-YJVQ5GST.js} +1 -1
- package/dist/bundle/{chunk-MUFF2YTH.js → chunk-YRCGFSRR.js} +2 -2
- package/dist/bundle/{chunk-KP2XMCNT.js → chunk-ZNFXKFGF.js} +6 -6
- package/dist/bundle/{cli-2P5FW2RL.js → cli-KXRWXGTS.js} +107 -107
- package/dist/bundle/command-contract-BGNT7MTQ.js +45 -0
- package/dist/bundle/{command-server-entry-KP2UDGLA.js → command-server-entry-7FZX74T6.js} +35 -35
- package/dist/bundle/{decode-K2JZ5D6V.js → decode-SZ6W34U3.js} +8 -8
- package/dist/bundle/{dispatch-KOQZA74A.js → dispatch-4KNSZ3PI.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-URO3QGCG.js → echarts-ISH62J4E.js} +2 -2
- package/dist/bundle/{embed-JLIPWTNN.js → embed-6ODGTZPK.js} +9 -9
- package/dist/bundle/{embedder-LUTDO3HS.js → embedder-6FY67FTQ.js} +12 -12
- package/dist/bundle/entry-2SA6ZX7E.js +25 -0
- package/dist/bundle/{failure-GJMQLM7O.js → failure-V3ILKUTX.js} +4 -4
- package/dist/bundle/first-run-ZNKPPD6M.js +31 -0
- package/dist/bundle/first-screen-WF6GYLPN.js +45 -0
- package/dist/bundle/google-QCADNPCQ.js +46 -0
- package/dist/bundle/{google-api-RFXKRLL4.js → google-api-ZTI3NKZX.js} +85 -85
- package/dist/bundle/grants-BPN5AGDK.js +133 -0
- package/dist/bundle/{identity-FXPB5EMT.js → identity-YX4IPGOO.js} +6 -6
- package/dist/bundle/{instructions-IROIUVZI.js → instructions-G5ZGHVFB.js} +1 -1
- package/dist/bundle/{login-WIY5VQU7.js → login-CVX5VJX6.js} +91 -91
- package/dist/bundle/{mcp-NJIOKW3E.js → mcp-MQ2L5IIM.js} +2 -2
- package/dist/bundle/meeting-combined-HKZJMJ6Q.js +28 -0
- package/dist/bundle/meeting-model-DSE4GRVE.js +29 -0
- package/dist/bundle/{meeting-semantic-62QNQMOM.js → meeting-semantic-OHG2QN2G.js} +10 -10
- package/dist/bundle/{node-IACCI2CW.js → node-NLJINXVQ.js} +2 -2
- package/dist/bundle/{node-sqlite-WYIRC7C7.js → node-sqlite-KDFQDYVZ.js} +10 -10
- package/dist/bundle/notes-search-3VBVSQ3R.js +70 -0
- package/dist/bundle/oauth-M3E62ZHC.js +22 -0
- package/dist/bundle/{open-H32B6BCT.js → open-WVRUVBIZ.js} +8 -8
- package/dist/bundle/{openai-VHMPJJUG.js → openai-JJWOSJMV.js} +20 -20
- package/dist/bundle/{process-RNHPF5OK.js → process-LPVAYRO7.js} +1 -1
- package/dist/bundle/{program-GYMJ3DDH.js → program-ZJRIP25J.js} +108 -108
- package/dist/bundle/{prompt-TOG2CRCE.js → prompt-XCDHTEAO.js} +8 -8
- package/dist/bundle/{reasons-TLFQ45YX.js → reasons-REEEQDAZ.js} +5 -5
- package/dist/bundle/{recognize-GYGY45EY.js → recognize-OZLFDJAT.js} +7 -7
- package/dist/bundle/{remote-6XN2QLI5.js → remote-MDPYVCZB.js} +13 -13
- package/dist/bundle/{rerank-HJO3O4TW.js → rerank-FLZWJNHA.js} +10 -10
- package/dist/bundle/{serve-XPCNLHCR.js → serve-5UV5VLRV.js} +12 -12
- package/dist/bundle/{server-WPT3NC5B.js → server-53A2X2MK.js} +71 -71
- package/dist/bundle/server-5GMURMDE.js +97 -0
- package/dist/bundle/{services-253KKKVU.js → services-XSMH7BXB.js} +58 -58
- package/dist/bundle/{sqlite-runtime-EZASGJXW.js → sqlite-runtime-E3L7ENFU.js} +9 -9
- package/dist/bundle/{start-UHI35JFL.js → start-4S2VNR4J.js} +7 -7
- package/dist/bundle/{state-KJTSPFGK.js → state-TQI4JSH7.js} +9 -9
- package/dist/bundle/{store-G5B7T7M7.js → store-GS7PU6PJ.js} +26 -26
- package/dist/bundle/{store-62J2H2A3.js → store-VYJPL7MW.js} +28 -28
- package/dist/bundle/store-maintenance-command-JJVYUZMG.js +85 -0
- package/dist/bundle/surface-JC4XVMZR.js +83 -0
- package/dist/bundle/tokens-KJQ5EAPW.js +133 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/agent-23OB2NZP.js +0 -46
- package/dist/bundle/command-contract-BMQT2G5X.js +0 -45
- package/dist/bundle/entry-AVF6LMG7.js +0 -25
- package/dist/bundle/first-run-VYTIEUDA.js +0 -31
- package/dist/bundle/first-screen-QVZPF7KL.js +0 -45
- package/dist/bundle/google-VX7IPACN.js +0 -46
- package/dist/bundle/grants-4XWJFVD6.js +0 -133
- package/dist/bundle/meeting-combined-JUNV35GM.js +0 -28
- package/dist/bundle/meeting-model-XY4UNWWK.js +0 -29
- package/dist/bundle/notes-search-DEDUJKSN.js +0 -70
- package/dist/bundle/oauth-HXBXF4VI.js +0 -22
- package/dist/bundle/server-UBJZ66XE.js +0 -97
- package/dist/bundle/store-maintenance-command-C6T4YLVF.js +0 -85
- package/dist/bundle/surface-3OT64BHS.js +0 -83
- package/dist/bundle/tokens-EHYO6D2X.js +0 -133
|
@@ -5,40 +5,40 @@ import {
|
|
|
5
5
|
endpointKeyName,
|
|
6
6
|
modelGateway,
|
|
7
7
|
withRecovery
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QURQ2OU2.js";
|
|
9
9
|
import {
|
|
10
10
|
safeName
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MA6U4XH2.js";
|
|
12
12
|
import {
|
|
13
13
|
capability
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-G2KKMQRN.js";
|
|
15
15
|
import {
|
|
16
16
|
questionLookup,
|
|
17
17
|
questionText
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-R3EDZWXF.js";
|
|
19
19
|
import {
|
|
20
20
|
localOnly
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QB7K6PIP.js";
|
|
22
22
|
import {
|
|
23
23
|
defaultThreads,
|
|
24
24
|
isTextModelInstalled,
|
|
25
25
|
openEmbedder,
|
|
26
26
|
textModelsDirectory
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GYAPDUF5.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_IMAGE_MODEL,
|
|
30
30
|
codeOf,
|
|
31
31
|
imageModel,
|
|
32
32
|
imageModelsDirectory,
|
|
33
33
|
isImageModelInstalled
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QK7GKFKB.js";
|
|
35
35
|
import {
|
|
36
36
|
ANSWER_RESERVE_MS,
|
|
37
37
|
deadlineMargin
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HOICQNJX.js";
|
|
39
39
|
import {
|
|
40
40
|
envName
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5BHP4FVM.js";
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_TEXT_MODEL,
|
|
44
44
|
PREVIOUS_DEFAULT_TEXT_MODEL,
|
|
@@ -47,12 +47,12 @@ import {
|
|
|
47
47
|
textModel,
|
|
48
48
|
textModels,
|
|
49
49
|
vectorModelKey
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-JZ65CQWK.js";
|
|
51
51
|
import {
|
|
52
52
|
endpoint,
|
|
53
53
|
modelAddressAllowed,
|
|
54
54
|
onThisComputer
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-6KND2DYT.js";
|
|
56
56
|
import {
|
|
57
57
|
chatReferenceOf,
|
|
58
58
|
chatsMatching,
|
|
@@ -64,21 +64,21 @@ import {
|
|
|
64
64
|
pickChat,
|
|
65
65
|
pickPerson,
|
|
66
66
|
profilesOn
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-B6JC5RS3.js";
|
|
68
68
|
import {
|
|
69
69
|
DEFAULT_STEMMERS,
|
|
70
70
|
createStemmer
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-WDJRUNQN.js";
|
|
72
72
|
import {
|
|
73
73
|
RRF_K,
|
|
74
74
|
SEARCH_QUERY,
|
|
75
75
|
isQueryLimit,
|
|
76
76
|
plainQuery,
|
|
77
77
|
validateFields
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-CP2TZXAG.js";
|
|
79
79
|
import {
|
|
80
80
|
normalize
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-AG34MPVN.js";
|
|
82
82
|
import {
|
|
83
83
|
INTERNAL_NOTES,
|
|
84
84
|
accountsOfList,
|
|
@@ -97,30 +97,30 @@ import {
|
|
|
97
97
|
sameAs,
|
|
98
98
|
sourceOf2 as sourceOf,
|
|
99
99
|
typedCommand
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-FKP4T7A4.js";
|
|
101
101
|
import {
|
|
102
102
|
isCliFailure,
|
|
103
103
|
sqliteCode
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-VBIZD5V5.js";
|
|
105
105
|
import {
|
|
106
106
|
normalizeTag
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-X5CXANSA.js";
|
|
108
108
|
import {
|
|
109
109
|
dateRange,
|
|
110
110
|
parseLucene,
|
|
111
111
|
timezoneOf
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-4DK55MLP.js";
|
|
113
113
|
import {
|
|
114
114
|
readSharedSection,
|
|
115
115
|
sharedConfigPath,
|
|
116
116
|
writeSharedSection
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-HCMEU7AF.js";
|
|
118
118
|
import {
|
|
119
119
|
storePath
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-HMN26CVU.js";
|
|
121
121
|
import {
|
|
122
122
|
singleLine
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-MDJUYCHT.js";
|
|
124
124
|
import {
|
|
125
125
|
array,
|
|
126
126
|
check,
|
|
@@ -142,15 +142,15 @@ import {
|
|
|
142
142
|
transform,
|
|
143
143
|
trim,
|
|
144
144
|
unknown
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-OBDPKDGB.js";
|
|
146
146
|
import {
|
|
147
147
|
CliError
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-IBQZT2YD.js";
|
|
149
149
|
import {
|
|
150
150
|
__name
|
|
151
151
|
} from "./chunk-ZVVMGPBJ.js";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/groups.js
|
|
154
154
|
var ALL = "all";
|
|
155
155
|
var OWNER_NOTES = { provider: "notes", account: INTERNAL_NOTES };
|
|
156
156
|
var NOT_GROUP_NAMES = /* @__PURE__ */ new Set([ALL, "bots"]);
|
|
@@ -285,7 +285,7 @@ var scopeToGroup = /* @__PURE__ */ __name((run, request, context) => {
|
|
|
285
285
|
return scoped;
|
|
286
286
|
}, "scopeToGroup");
|
|
287
287
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
|
|
289
289
|
var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
|
|
290
290
|
var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
|
|
291
291
|
let narrows = false;
|
|
@@ -314,7 +314,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
|
|
|
314
314
|
return wanted(root).join(" ").trim();
|
|
315
315
|
}, "meaningWords");
|
|
316
316
|
|
|
317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/total.js
|
|
318
318
|
var TOTAL_CAP = 1e4;
|
|
319
319
|
var totalOf = /* @__PURE__ */ __name((count, shown, hasMore, exact = true) => {
|
|
320
320
|
const least = shown + (hasMore ? 1 : 0);
|
|
@@ -325,7 +325,7 @@ var totalOf = /* @__PURE__ */ __name((count, shown, hasMore, exact = true) => {
|
|
|
325
325
|
return { value: count, relation: exact ? "eq" : "gte" };
|
|
326
326
|
}, "totalOf");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
|
|
329
329
|
import { createHash } from "node:crypto";
|
|
330
330
|
var refOf = /* @__PURE__ */ __name((target) => target.ref ?? `document:${target.documentId}`, "refOf");
|
|
331
331
|
var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
|
|
@@ -333,7 +333,7 @@ var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}
|
|
|
333
333
|
const directory = imageModelsDirectory(env);
|
|
334
334
|
if (!isImageModelInstalled(model, directory))
|
|
335
335
|
throw new CliError("not_found", `the picture model is not downloaded \u2014 ${command === void 0 ? "install it with a WireCat CLI that has `images models download` (tg, max or wa); they share the model folder" : `\`${command} images models download ${model.id}\` fetches it`}`, { reason: "model.not-downloaded", model: model.id });
|
|
336
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
336
|
+
const { openPictureEmbedder } = await import("./embedder-6FY67FTQ.js");
|
|
337
337
|
return openPictureEmbedder(model, directory);
|
|
338
338
|
}, "openPictureEmbedderFor");
|
|
339
339
|
var savePicture = /* @__PURE__ */ __name(async (store, target, bytes, options = {}) => {
|
|
@@ -354,7 +354,7 @@ var savePicture = /* @__PURE__ */ __name(async (store, target, bytes, options =
|
|
|
354
354
|
}, "savePicture");
|
|
355
355
|
var removePicture = /* @__PURE__ */ __name((store, target) => store.notes.removePicture(refOf(target)), "removePicture");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/document-source.js
|
|
358
358
|
var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file) => {
|
|
359
359
|
const metadata = note.frontMatter;
|
|
360
360
|
const account = accounts.find(({ id }) => String(id) === note.folderId);
|
|
@@ -376,7 +376,7 @@ var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file) =>
|
|
|
376
376
|
};
|
|
377
377
|
}, "documentSource");
|
|
378
378
|
|
|
379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/enrichment-setting.js
|
|
380
380
|
var SECTION = "enrichment";
|
|
381
381
|
var ENRICHMENT_PROVIDERS = ["openai", "anthropic"];
|
|
382
382
|
var DEFAULT_BASE_URLS = {
|
|
@@ -451,7 +451,7 @@ var costOf = /* @__PURE__ */ __name((usage, setting) => {
|
|
|
451
451
|
return price ? Math.round((usage.input * price.input + usage.output * price.output) * 1e6) / 1e6 : null;
|
|
452
452
|
}, "costOf");
|
|
453
453
|
|
|
454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/enrichment.js
|
|
455
455
|
var ENRICH_PER_RUN = 600;
|
|
456
456
|
var BATCH = 20;
|
|
457
457
|
var CONCURRENCY = 4;
|
|
@@ -736,7 +736,7 @@ var enrichmentState = /* @__PURE__ */ __name(async (store, env, estimateFor, key
|
|
|
736
736
|
};
|
|
737
737
|
}, "enrichmentState");
|
|
738
738
|
|
|
739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/meaning-model.js
|
|
740
740
|
var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
|
|
741
741
|
const chosen = chosenTextModel(env);
|
|
742
742
|
if (chosen.from === "chosen" || chosen.id !== DEFAULT_TEXT_MODEL)
|
|
@@ -751,7 +751,7 @@ var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
|
|
|
751
751
|
return (counts.get(before) ?? 0) > (counts.get(now) ?? 0) ? previous.id : current.id;
|
|
752
752
|
}, "meaningModel");
|
|
753
753
|
|
|
754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
|
|
755
755
|
var plainQueryWords = /* @__PURE__ */ __name((query) => {
|
|
756
756
|
let root;
|
|
757
757
|
try {
|
|
@@ -778,12 +778,12 @@ var titleTiers = /* @__PURE__ */ __name((hits, words) => {
|
|
|
778
778
|
return [...hits].sort((a, b) => rank(a) - rank(b));
|
|
779
779
|
}, "titleTiers");
|
|
780
780
|
|
|
781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
782
782
|
import { createHash as createHash2 } from "node:crypto";
|
|
783
783
|
import { lstat, readFile } from "node:fs/promises";
|
|
784
784
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
785
785
|
|
|
786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/models.js
|
|
787
787
|
var GROUP_SETTINGS = [
|
|
788
788
|
"allCanPin",
|
|
789
789
|
"onlyAdminsAdd",
|
|
@@ -797,14 +797,14 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
|
|
|
797
797
|
var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
|
|
798
798
|
var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
|
|
799
799
|
|
|
800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
801
801
|
import { createWriteStream, mkdirSync } from "node:fs";
|
|
802
802
|
import { link, rm } from "node:fs/promises";
|
|
803
803
|
import { join, resolve } from "node:path";
|
|
804
804
|
import { Readable, Transform } from "node:stream";
|
|
805
805
|
import { pipeline } from "node:stream/promises";
|
|
806
806
|
|
|
807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/batch.js
|
|
808
808
|
var actionable = /* @__PURE__ */ __name((error) => {
|
|
809
809
|
if (isCliFailure(error))
|
|
810
810
|
return withRecovery({ code: error.code, message: error.message, ...error.details });
|
|
@@ -887,7 +887,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
|
|
|
887
887
|
};
|
|
888
888
|
}, "mergeBatches");
|
|
889
889
|
|
|
890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
891
891
|
var refreshedFiles = /* @__PURE__ */ __name((files) => files.flatMap(({ kind, name, position, providerRef }) => providerRef === void 0 || Object.keys(providerRef).length === 0 ? [] : [
|
|
892
892
|
{
|
|
893
893
|
kind,
|
|
@@ -996,7 +996,7 @@ var save = /* @__PURE__ */ __name(async (file, directory, fallbackName, { unique
|
|
|
996
996
|
}
|
|
997
997
|
}, "save");
|
|
998
998
|
|
|
999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/deps.js
|
|
1000
1000
|
var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
|
|
1001
1001
|
var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
|
|
1002
1002
|
var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
|
|
@@ -1071,7 +1071,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account, { app, env }) => {
|
|
|
1071
1071
|
return { ...storedDeps(messenger, store, account, guard), ...env === void 0 ? {} : { env } };
|
|
1072
1072
|
}, "storeOnlyDeps");
|
|
1073
1073
|
|
|
1074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/search-kind.js
|
|
1075
1075
|
var NO_MAIL = "no_mail";
|
|
1076
1076
|
var MAIL = "email";
|
|
1077
1077
|
var groupLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -1145,7 +1145,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
|
|
|
1145
1145
|
return chosenMail.map(({ provider, account }) => ({ provider, account }));
|
|
1146
1146
|
}, "accountsOfKind");
|
|
1147
1147
|
|
|
1148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
|
|
1149
1149
|
var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
|
|
1150
1150
|
if (deps.reads !== "store")
|
|
1151
1151
|
return keptChatId(deps.messenger, reference, store, account);
|
|
@@ -1346,7 +1346,7 @@ var chatsMatchingIn = /* @__PURE__ */ __name(async (store, accounts, pattern) =>
|
|
|
1346
1346
|
}, "chatsMatchingIn");
|
|
1347
1347
|
var isText = /* @__PURE__ */ __name((value) => typeof value === "string" && value !== "", "isText");
|
|
1348
1348
|
|
|
1349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
1350
1350
|
var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
|
|
1351
1351
|
var PICTURE_FLOOR = 0.25;
|
|
1352
1352
|
var PAGE = 50;
|
|
@@ -1387,7 +1387,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
1387
1387
|
const directory = imageModelsDirectory(deps.env);
|
|
1388
1388
|
if (!isImageModelInstalled(model2, directory))
|
|
1389
1389
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
1390
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
1390
|
+
const { openPictureEmbedder } = await import("./embedder-6FY67FTQ.js");
|
|
1391
1391
|
return openPictureEmbedder(model2, directory);
|
|
1392
1392
|
}, "open");
|
|
1393
1393
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -1561,7 +1561,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
|
|
|
1561
1561
|
}, "search")
|
|
1562
1562
|
}), "withPictures");
|
|
1563
1563
|
|
|
1564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/notes-search.js
|
|
1565
1565
|
var storeQuery = /* @__PURE__ */ __name(async (store, text, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text, exact), timezone), "storeQuery");
|
|
1566
1566
|
var parsedQuery = /* @__PURE__ */ __name((text, exact) => validateFields(parseLucene(text, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
|
|
1567
1567
|
var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
|
|
@@ -2,14 +2,14 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
errorObjectOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T3OK6AYZ.js";
|
|
6
6
|
import {
|
|
7
7
|
visibleControls
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MDJUYCHT.js";
|
|
9
9
|
import {
|
|
10
10
|
LOG_ATTRIBUTE_KEYS,
|
|
11
11
|
isContentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IABPGOMT.js";
|
|
13
13
|
import {
|
|
14
14
|
getDotPath,
|
|
15
15
|
object,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
safeParse,
|
|
18
18
|
string,
|
|
19
19
|
unknown
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OBDPKDGB.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IBQZT2YD.js";
|
|
24
24
|
import {
|
|
25
25
|
__commonJS,
|
|
26
26
|
__name,
|
|
@@ -1893,7 +1893,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1893
1893
|
}
|
|
1894
1894
|
});
|
|
1895
1895
|
|
|
1896
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1896
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
1897
1897
|
import { createRequire } from "node:module";
|
|
1898
1898
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
1899
1899
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -1919,7 +1919,7 @@ var systemKeyring = {
|
|
|
1919
1919
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
1920
1920
|
};
|
|
1921
1921
|
|
|
1922
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1922
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
1923
1923
|
import { realpathSync } from "node:fs";
|
|
1924
1924
|
import { homedir, userInfo } from "node:os";
|
|
1925
1925
|
import { join, posix, win32 } from "node:path";
|
|
@@ -1993,11 +1993,11 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1993
1993
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
1994
1994
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1995
1995
|
|
|
1996
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1996
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
1997
1997
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
1998
1998
|
import { join as join3, resolve } from "node:path";
|
|
1999
1999
|
|
|
2000
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2000
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2001
2001
|
import { randomBytes } from "node:crypto";
|
|
2002
2002
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2003
2003
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2041,7 +2041,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2041
2041
|
`, 384);
|
|
2042
2042
|
}, "saveConfigFile");
|
|
2043
2043
|
|
|
2044
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2044
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2045
2045
|
var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
|
|
2046
2046
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2047
2047
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
@@ -2186,7 +2186,7 @@ var Credentials = class {
|
|
|
2186
2186
|
}
|
|
2187
2187
|
};
|
|
2188
2188
|
|
|
2189
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2189
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
2190
2190
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2191
2191
|
if (signal?.aborted)
|
|
2192
2192
|
return Promise.reject(signal.reason);
|
|
@@ -2214,7 +2214,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2214
2214
|
});
|
|
2215
2215
|
}, "waitForDrain");
|
|
2216
2216
|
|
|
2217
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2217
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2218
2218
|
var processStreams = {
|
|
2219
2219
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2220
2220
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2243,7 +2243,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2243
2243
|
};
|
|
2244
2244
|
}, "captureStreams");
|
|
2245
2245
|
|
|
2246
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2246
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2247
2247
|
var DEFAULT_RETRY = {
|
|
2248
2248
|
retries: 1,
|
|
2249
2249
|
baseDelayMs: 250,
|
|
@@ -2255,7 +2255,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2255
2255
|
return Math.round(random() * ceiling);
|
|
2256
2256
|
}, "backoffMs");
|
|
2257
2257
|
|
|
2258
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2258
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
2259
2259
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2260
2260
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2261
2261
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2320,7 +2320,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2320
2320
|
return project(value, fields);
|
|
2321
2321
|
}, "projectFields");
|
|
2322
2322
|
|
|
2323
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2323
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2324
2324
|
var BATCH_LIMITS = Object.freeze({
|
|
2325
2325
|
requests: 32,
|
|
2326
2326
|
input_bytes: 262144,
|
|
@@ -2447,7 +2447,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2447
2447
|
};
|
|
2448
2448
|
}, "runBatch");
|
|
2449
2449
|
|
|
2450
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2450
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2451
2451
|
import { fileURLToPath } from "node:url";
|
|
2452
2452
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2453
2453
|
var baseConstantsSchema = object({});
|
|
@@ -2502,7 +2502,7 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
|
|
|
2502
2502
|
return deepFreeze(result.output);
|
|
2503
2503
|
}, "loadConstants");
|
|
2504
2504
|
|
|
2505
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2505
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2506
2506
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2507
2507
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2508
2508
|
if (signal?.aborted) {
|
|
@@ -2517,7 +2517,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2517
2517
|
}), "realSleep");
|
|
2518
2518
|
var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
|
|
2519
2519
|
|
|
2520
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2520
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2521
2521
|
import { appendFileSync } from "node:fs";
|
|
2522
2522
|
var REDACTED_FIELDS = [
|
|
2523
2523
|
"authorization",
|
|
@@ -2612,7 +2612,7 @@ var silent = {
|
|
|
2612
2612
|
}, "error")
|
|
2613
2613
|
};
|
|
2614
2614
|
|
|
2615
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2615
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2616
2616
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2617
2617
|
import { styleText } from "node:util";
|
|
2618
2618
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2687,7 +2687,7 @@ var BORDERLESS = {
|
|
|
2687
2687
|
middle: ""
|
|
2688
2688
|
};
|
|
2689
2689
|
|
|
2690
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2690
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2691
2691
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2692
2692
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2693
2693
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -535,7 +535,7 @@ function toError(value) {
|
|
|
535
535
|
}
|
|
536
536
|
__name(toError, "toError");
|
|
537
537
|
|
|
538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
539
539
|
import { PassThrough, Writable } from "node:stream";
|
|
540
540
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
541
541
|
let rest = "";
|
|
@@ -19,16 +19,16 @@ import {
|
|
|
19
19
|
reference,
|
|
20
20
|
string,
|
|
21
21
|
variant
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OBDPKDGB.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
isCliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IBQZT2YD.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
32
32
|
var QUERY_LIMITS = {
|
|
33
33
|
bytes: 8192,
|
|
34
34
|
depth: 32,
|
|
@@ -72,7 +72,7 @@ function queryError(reason, span, alternative, context = {}, details = {}) {
|
|
|
72
72
|
__name(queryError, "queryError");
|
|
73
73
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
74
74
|
|
|
75
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
75
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
76
76
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
77
77
|
var reserved = /* @__PURE__ */ new Set([
|
|
78
78
|
"+",
|
|
@@ -381,7 +381,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text) => {
|
|
|
381
381
|
return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
382
382
|
}, "implicitTextTerms");
|
|
383
383
|
|
|
384
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
385
385
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
386
386
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
387
387
|
try {
|
|
@@ -531,7 +531,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
531
531
|
};
|
|
532
532
|
}, "dateRange");
|
|
533
533
|
|
|
534
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
534
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
535
535
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
536
536
|
var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
537
537
|
var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
|
|
@@ -568,7 +568,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
568
568
|
return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
569
569
|
}, "queryDescription");
|
|
570
570
|
|
|
571
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
571
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
572
572
|
var wordsOf = /* @__PURE__ */ __name((text) => text.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
573
573
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
574
574
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -623,7 +623,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
623
623
|
}, "matches");
|
|
624
624
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
625
625
|
|
|
626
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
626
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
627
627
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
628
628
|
var OPERATORS_BY_TYPE = {
|
|
629
629
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -702,7 +702,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
702
702
|
return [...own, ...relations, ...states];
|
|
703
703
|
}, "queryFieldsOf");
|
|
704
704
|
|
|
705
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
705
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
706
706
|
var inContext = /* @__PURE__ */ __name((context, run) => {
|
|
707
707
|
try {
|
|
708
708
|
run();
|
|
@@ -777,7 +777,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
777
777
|
}, "validateQuery");
|
|
778
778
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
779
779
|
|
|
780
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
780
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
781
781
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
782
782
|
entity: registry.entity,
|
|
783
783
|
backend: registry.backend,
|
|
@@ -3,31 +3,33 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
activeProfile,
|
|
5
5
|
paths
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-35GROSBS.js";
|
|
7
7
|
import {
|
|
8
8
|
READ_SCOPE,
|
|
9
9
|
WRITE_SCOPE
|
|
10
10
|
} from "./chunk-G4NHRFS7.js";
|
|
11
11
|
import {
|
|
12
12
|
googleError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YJVQ5GST.js";
|
|
14
14
|
import {
|
|
15
15
|
credentialStorage,
|
|
16
16
|
driveSessionCodec,
|
|
17
|
-
providerRequest,
|
|
18
17
|
tokenKeeper
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JDGF3YYS.js";
|
|
19
|
+
import {
|
|
20
|
+
providerRequest
|
|
21
|
+
} from "./chunk-SSFGSY77.js";
|
|
20
22
|
import {
|
|
21
23
|
hostFetch
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6KND2DYT.js";
|
|
23
25
|
import {
|
|
24
26
|
DESKTOP
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YRCGFSRR.js";
|
|
26
28
|
import {
|
|
27
29
|
Credentials,
|
|
28
30
|
isMovedRun,
|
|
29
31
|
systemKeyring
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3ZGWJYSG.js";
|
|
31
33
|
import {
|
|
32
34
|
minLength,
|
|
33
35
|
nullable,
|
|
@@ -37,16 +39,16 @@ import {
|
|
|
37
39
|
pipe,
|
|
38
40
|
safeParse,
|
|
39
41
|
string
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OBDPKDGB.js";
|
|
41
43
|
import {
|
|
42
44
|
CliError,
|
|
43
45
|
isCliError
|
|
44
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-IBQZT2YD.js";
|
|
45
47
|
import {
|
|
46
48
|
__name
|
|
47
49
|
} from "./chunk-ZVVMGPBJ.js";
|
|
48
50
|
|
|
49
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/oauth/provider.js
|
|
50
52
|
var googleProvider = /* @__PURE__ */ __name((client, { loginHint } = {}) => ({
|
|
51
53
|
id: "google",
|
|
52
54
|
name: "Google",
|