@wirecat/drive-cli 0.55.0 → 0.57.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/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-I5KJKZPF.js → all-profiles-7LSZ3CC3.js} +9 -9
- package/dist/bundle/{anthropic-DPM7BRKX.js → anthropic-3QRM4QXB.js} +5 -5
- package/dist/bundle/{app-server-FTGLOZ2K.js → app-server-WWNMUHID.js} +48 -48
- package/dist/bundle/{bun-XRO6XJHQ.js → bun-NIIYUR5F.js} +2 -2
- package/dist/bundle/{bun-sqlite-7JJX6OUT.js → bun-sqlite-GSLSN3OT.js} +4 -4
- package/dist/bundle/{chunk-NPMVPKBD.js → chunk-2QLLKDE5.js} +48 -47
- package/dist/bundle/{chunk-P4ABC6C4.js → chunk-2ULJW5BA.js} +2 -2
- package/dist/bundle/{chunk-AR2HRFQO.js → chunk-373WJIHE.js} +2 -2
- package/dist/bundle/{chunk-K2DMCTTF.js → chunk-3BXSLNWW.js} +129 -97
- package/dist/bundle/{chunk-BO7ZKZCH.js → chunk-4F2VRJZE.js} +121 -46
- package/dist/bundle/{chunk-NDUYK676.js → chunk-4UQLL6RJ.js} +10 -9
- package/dist/bundle/{chunk-NFOUG7ES.js → chunk-566W4Q6L.js} +2 -2
- package/dist/bundle/{chunk-E7RDXCV2.js → chunk-5KNIVHP6.js} +5 -5
- package/dist/bundle/{chunk-VXZULAWV.js → chunk-64E6QXXQ.js} +14 -13
- package/dist/bundle/{chunk-FNDQFFLP.js → chunk-6CFSDU56.js} +11 -11
- package/dist/bundle/{chunk-ORRQDSDH.js → chunk-6ZA4NR5H.js} +3 -3
- package/dist/bundle/{chunk-PFTIYWOK.js → chunk-7SNS443B.js} +4 -4
- package/dist/bundle/{chunk-JPFF6MNK.js → chunk-AHBUTDS7.js} +8 -8
- package/dist/bundle/{chunk-TIEEVT2Z.js → chunk-AKPFH3KC.js} +1 -1
- package/dist/bundle/{chunk-FDCGTODC.js → chunk-AL7MY7MW.js} +1 -1
- package/dist/bundle/{chunk-RMQGFLT2.js → chunk-B3TPS7BW.js} +6 -6
- package/dist/bundle/{chunk-2DZMGPUC.js → chunk-B64EY2SC.js} +123 -34
- package/dist/bundle/{chunk-2OGANEKA.js → chunk-CD736BG3.js} +2 -2
- package/dist/bundle/{chunk-C4QKY33N.js → chunk-CGCQNYB3.js} +2 -2
- package/dist/bundle/{chunk-2KARCTUU.js → chunk-EE7R457T.js} +949 -581
- package/dist/bundle/{chunk-TQFCPUIM.js → chunk-EFEI724Z.js} +1 -1
- package/dist/bundle/{chunk-JBBZCTTF.js → chunk-EFX6FIDM.js} +1 -1
- package/dist/bundle/{chunk-DNJ43DT5.js → chunk-ELIYJXIY.js} +2 -2
- package/dist/bundle/{chunk-NPKFXGYG.js → chunk-EN7OZ5JH.js} +41 -23
- package/dist/bundle/{chunk-IXXVCKWL.js → chunk-G34Y5RAC.js} +26 -26
- package/dist/bundle/{chunk-TBD362SJ.js → chunk-GIQFBXQN.js} +11 -7
- package/dist/bundle/{chunk-KWKRTYRL.js → chunk-GKHUHRSL.js} +4 -4
- package/dist/bundle/{chunk-VGTDXEYD.js → chunk-HNUSPNUQ.js} +26 -13
- package/dist/bundle/{chunk-XTNEYXAQ.js → chunk-IJ2S53WJ.js} +5 -5
- package/dist/bundle/{chunk-FUKJQZED.js → chunk-ISK4K7UE.js} +1 -1
- package/dist/bundle/{chunk-YP5FDMTG.js → chunk-J2HGHSLX.js} +2 -2
- package/dist/bundle/{chunk-ULPS2OAL.js → chunk-JIGMCW4C.js} +4 -4
- package/dist/bundle/{chunk-ALMQEGYO.js → chunk-JLKNUFL2.js} +2 -2
- package/dist/bundle/{chunk-UDWMRZL6.js → chunk-JUKVJ7M2.js} +21 -21
- package/dist/bundle/{chunk-LAVWTS4P.js → chunk-KHNDZNQA.js} +5333 -5108
- package/dist/bundle/{chunk-GB5YM5HK.js → chunk-KM4Y55ZE.js} +5 -5
- package/dist/bundle/{chunk-CP6M5P4X.js → chunk-KYNTSA6K.js} +3 -3
- package/dist/bundle/{chunk-4XRLPQ3N.js → chunk-L4BBK7UX.js} +2 -2
- package/dist/bundle/chunk-LBFFI6FE.js +247 -0
- package/dist/bundle/{chunk-EOEDICIE.js → chunk-LSSIVBQI.js} +1 -1
- package/dist/bundle/{chunk-D6SRTPCV.js → chunk-NLLWLCUZ.js} +2 -2
- package/dist/bundle/{chunk-6OJMA4ZT.js → chunk-O5KDIVGE.js} +389 -255
- package/dist/bundle/{chunk-2LLNPNMB.js → chunk-OOR6PEHV.js} +1 -1
- package/dist/bundle/{chunk-UIPT6IAU.js → chunk-OYNSFQ7K.js} +1 -1
- package/dist/bundle/{chunk-67A2YFAT.js → chunk-OZJMZSFB.js} +4 -4
- package/dist/bundle/{chunk-GC4JNVYF.js → chunk-Q3TMNETS.js} +98 -37
- package/dist/bundle/{chunk-5DEEBWDI.js → chunk-QAT6UXZZ.js} +38 -37
- package/dist/bundle/{chunk-VY3TYRCK.js → chunk-R5GJZPRF.js} +114 -59
- package/dist/bundle/{chunk-4I7EBJJV.js → chunk-RAEKC6TV.js} +6 -6
- package/dist/bundle/{chunk-HNR2BJJU.js → chunk-RB674T6L.js} +75 -17
- package/dist/bundle/{chunk-NCCL4QWR.js → chunk-SRNXTXJN.js} +3 -3
- package/dist/bundle/{chunk-TD4RAOMZ.js → chunk-TKVSJV5P.js} +3 -3
- package/dist/bundle/{chunk-W6DMCGMK.js → chunk-TR5656OS.js} +47 -22
- package/dist/bundle/{chunk-VY2AUZMJ.js → chunk-TZHCS5MG.js} +2 -2
- package/dist/bundle/{chunk-KM7Q67Z3.js → chunk-U2RSVKR5.js} +1 -1
- package/dist/bundle/{chunk-IDK5QUBJ.js → chunk-UKMFPBAO.js} +4 -4
- package/dist/bundle/{chunk-GIRVMZD3.js → chunk-VTJF2L5E.js} +16 -16
- package/dist/bundle/{chunk-AQNY57J2.js → chunk-W5FOPSJZ.js} +7 -7
- package/dist/bundle/{chunk-FKHWVVMV.js → chunk-W6FYYQ2J.js} +3 -3
- package/dist/bundle/{chunk-VVMCGF5X.js → chunk-WAVJWGUC.js} +1811 -883
- package/dist/bundle/{chunk-FDM3JMQZ.js → chunk-WBYCUBYM.js} +89 -36
- package/dist/bundle/{chunk-TIVC4DB5.js → chunk-WJOKTIOJ.js} +2 -2
- package/dist/bundle/{chunk-7MVKSPEG.js → chunk-WJPVGXKA.js} +6 -6
- package/dist/bundle/{chunk-N4VNUOOD.js → chunk-XGNADVIA.js} +18 -18
- package/dist/bundle/{chunk-J6XLM4QW.js → chunk-XJVK7ETL.js} +28 -10
- package/dist/bundle/{chunk-3K4H2DTA.js → chunk-YZ6SYLDC.js} +12 -3
- package/dist/bundle/command-contract-XIACCAZL.js +35 -0
- package/dist/bundle/{decode-3LX3BLZM.js → decode-5MHMPYKE.js} +4 -4
- package/dist/bundle/drive.js +6 -6
- package/dist/bundle/{echarts-YNGCOYHW.js → echarts-CLB22SZS.js} +2 -2
- package/dist/bundle/{embed-FICTRZJL.js → embed-TF66ODAR.js} +5 -5
- package/dist/bundle/{embedder-DSMRCRSH.js → embedder-EDWOIAC2.js} +8 -8
- package/dist/bundle/{entry-4ZX3BNXK.js → entry-CWYCQ53A.js} +8 -6
- package/dist/bundle/{first-run-GRBQ3SQ5.js → first-run-YIH7EHJI.js} +9 -9
- package/dist/bundle/first-screen-THH3XD5Y.js +33 -0
- package/dist/bundle/{google-QV2B2KZA.js → google-A4F2WFO4.js} +9 -9
- package/dist/bundle/{google-api-EVO7F3WB.js → google-api-ZXGQOJUI.js} +51 -51
- package/dist/bundle/grants-3Z7DG3W3.js +98 -0
- package/dist/bundle/{identity-TKAX75OT.js → identity-4IO7WGG4.js} +4 -4
- package/dist/bundle/{instructions-GJHHFV64.js → instructions-BXZZNAMS.js} +1 -1
- package/dist/bundle/{login-R2YEAKEM.js → login-A4QHJ5DA.js} +57 -57
- package/dist/bundle/{mcp-EMNFFY4N.js → mcp-VVMPUDSL.js} +2 -2
- package/dist/bundle/{node-GFOH6FKP.js → node-R6ZNQ3NT.js} +2 -2
- package/dist/bundle/{node-sqlite-NZIBED3C.js → node-sqlite-AFQTE4XZ.js} +4 -4
- package/dist/bundle/{oauth-WUHT2JII.js → oauth-46XBJBML.js} +6 -6
- package/dist/bundle/{open-INBNHORD.js → open-WJCRBIP7.js} +3 -3
- package/dist/bundle/{openai-BMREUGJP.js → openai-3TIBDWZA.js} +13 -13
- package/dist/bundle/{process-XVDX4SPD.js → process-P36JP33R.js} +1 -1
- package/dist/bundle/{program-DUWFQOSL.js → program-AHZH65IT.js} +85 -77
- package/dist/bundle/{prompt-S7GHCPGR.js → prompt-FFGBIT4A.js} +4 -4
- package/dist/bundle/{reasons-T24V3AYS.js → reasons-VHCVYH54.js} +3 -3
- package/dist/bundle/{recognize-T3DABMW5.js → recognize-4EAKIMON.js} +3 -3
- package/dist/bundle/{remote-ASYGFT6E.js → remote-HX3JP4EH.js} +6 -6
- package/dist/bundle/{rerank-BQ5U252K.js → rerank-BW3A4PUU.js} +6 -6
- package/dist/bundle/{serve-JMLNKCUZ.js → serve-YYOOLIBS.js} +8 -8
- package/dist/bundle/{server-5E6RC7GZ.js → server-G6XTEEFI.js} +38 -38
- package/dist/bundle/server-YKYEUIJT.js +63 -0
- package/dist/bundle/{services-NFB3XSON.js → services-OAPILZOW.js} +45 -25
- package/dist/bundle/{sqlite-runtime-TAMYMQFR.js → sqlite-runtime-GTXDK4PE.js} +4 -4
- package/dist/bundle/{state-DS4G3ZXV.js → state-XG335LGZ.js} +5 -5
- package/dist/bundle/{store-MLMKYJLC.js → store-7KOXJNQP.js} +14 -12
- package/dist/bundle/{store-HAS2LRFE.js → store-N53SJOPS.js} +33 -15
- package/dist/bundle/store-maintenance-command-W3TI52X2.js +52 -0
- package/dist/bundle/tokens-P7TEHKDD.js +96 -0
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +10 -2
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/config.d.ts +6 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +4 -12
- package/dist/config.js.map +1 -1
- package/dist/profile-lock.js +2 -2
- package/dist/profile-lock.js.map +1 -1
- package/dist/reasons.js +1 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-3NAVOBGH.js +0 -331
- package/dist/bundle/command-contract-VXLGE6NV.js +0 -35
- package/dist/bundle/first-screen-JK3MZVCU.js +0 -33
- package/dist/bundle/grants-B642KK5M.js +0 -98
- package/dist/bundle/server-QI4C3CQT.js +0 -63
- package/dist/bundle/store-maintenance-command-LI3JR22B.js +0 -52
- package/dist/bundle/tokens-UMSAYGOH.js +0 -96
- /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-HPXYN7F3.js} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
describeDriveProgram,
|
|
11
11
|
examples,
|
|
12
12
|
markProfileFree
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KYNTSA6K.js";
|
|
14
14
|
import {
|
|
15
15
|
apiMethod,
|
|
16
16
|
apiMethods,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
schemas,
|
|
20
20
|
validateApiParams,
|
|
21
21
|
validateRequest
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TKVSJV5P.js";
|
|
23
23
|
import {
|
|
24
24
|
DOC,
|
|
25
25
|
DOCUMENT_LIST_FIELDS,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
metadataJson,
|
|
29
29
|
supported,
|
|
30
30
|
tooManyEntries
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ISK4K7UE.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULTS_ONLY,
|
|
34
34
|
DEFAULT_LEVELS,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
textLimit,
|
|
55
55
|
unknownProfile,
|
|
56
56
|
writeConfig
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-O5KDIVGE.js";
|
|
58
58
|
import {
|
|
59
59
|
DISCOVERY_DESCRIPTIONS,
|
|
60
60
|
MEMO_SCENARIOS,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
skillCommand,
|
|
85
85
|
suggest,
|
|
86
86
|
upgradeCommand
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-EE7R457T.js";
|
|
88
88
|
import {
|
|
89
89
|
blockKey,
|
|
90
90
|
blocksMarkdown,
|
|
@@ -103,33 +103,33 @@ import {
|
|
|
103
103
|
syncDocuments,
|
|
104
104
|
syncMirrors,
|
|
105
105
|
watchMirrors
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-JUKVJ7M2.js";
|
|
107
107
|
import {
|
|
108
108
|
googleError
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import "./chunk-
|
|
111
|
-
import "./chunk-
|
|
112
|
-
import "./chunk-
|
|
109
|
+
} from "./chunk-AKPFH3KC.js";
|
|
110
|
+
import "./chunk-WBYCUBYM.js";
|
|
111
|
+
import "./chunk-OOR6PEHV.js";
|
|
112
|
+
import "./chunk-RB674T6L.js";
|
|
113
113
|
import "./chunk-SBZB7HMU.js";
|
|
114
114
|
import {
|
|
115
115
|
DRIVE_APP,
|
|
116
116
|
PACKAGE,
|
|
117
117
|
VERSION
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-NLLWLCUZ.js";
|
|
119
119
|
import {
|
|
120
120
|
REASONS
|
|
121
|
-
} from "./chunk-
|
|
122
|
-
import "./chunk-
|
|
123
|
-
import "./chunk-
|
|
121
|
+
} from "./chunk-CD736BG3.js";
|
|
122
|
+
import "./chunk-AL7MY7MW.js";
|
|
123
|
+
import "./chunk-GKHUHRSL.js";
|
|
124
124
|
import {
|
|
125
125
|
modelGateway,
|
|
126
126
|
storeInfo
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-2QLLKDE5.js";
|
|
128
128
|
import {
|
|
129
129
|
RecipientList,
|
|
130
130
|
SendJournal,
|
|
131
131
|
sendGuard
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-B64EY2SC.js";
|
|
133
133
|
import {
|
|
134
134
|
LIST_QUERY_GUIDE,
|
|
135
135
|
listQuery,
|
|
@@ -140,29 +140,29 @@ import {
|
|
|
140
140
|
typedQuery,
|
|
141
141
|
unfilteredQuery,
|
|
142
142
|
withQuery
|
|
143
|
-
} from "./chunk-
|
|
144
|
-
import "./chunk-
|
|
143
|
+
} from "./chunk-EN7OZ5JH.js";
|
|
144
|
+
import "./chunk-SRNXTXJN.js";
|
|
145
145
|
import {
|
|
146
146
|
newOperationId
|
|
147
|
-
} from "./chunk-
|
|
148
|
-
import "./chunk-
|
|
147
|
+
} from "./chunk-KHNDZNQA.js";
|
|
148
|
+
import "./chunk-HNUSPNUQ.js";
|
|
149
149
|
import {
|
|
150
150
|
columnName,
|
|
151
151
|
readSpreadsheet
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-G34Y5RAC.js";
|
|
153
153
|
import {
|
|
154
154
|
applyDocumentTransfer,
|
|
155
155
|
previewDocumentTransfer
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-VTJF2L5E.js";
|
|
157
157
|
import {
|
|
158
158
|
commandsText,
|
|
159
159
|
inSection
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-W5FOPSJZ.js";
|
|
161
161
|
import "./chunk-HTQTIKWP.js";
|
|
162
162
|
import {
|
|
163
163
|
answerEntity
|
|
164
|
-
} from "./chunk-
|
|
165
|
-
import "./chunk-
|
|
164
|
+
} from "./chunk-RAEKC6TV.js";
|
|
165
|
+
import "./chunk-3BXSLNWW.js";
|
|
166
166
|
import {
|
|
167
167
|
FETCH,
|
|
168
168
|
InvalidArgumentError,
|
|
@@ -192,9 +192,9 @@ import {
|
|
|
192
192
|
resolveAISettings,
|
|
193
193
|
rootOf,
|
|
194
194
|
snakeKeys
|
|
195
|
-
} from "./chunk-
|
|
196
|
-
import "./chunk-
|
|
197
|
-
import "./chunk-
|
|
195
|
+
} from "./chunk-4F2VRJZE.js";
|
|
196
|
+
import "./chunk-4UQLL6RJ.js";
|
|
197
|
+
import "./chunk-U2RSVKR5.js";
|
|
198
198
|
import {
|
|
199
199
|
CEILING_KEY,
|
|
200
200
|
LEVELS,
|
|
@@ -203,49 +203,49 @@ import {
|
|
|
203
203
|
layerPermissions,
|
|
204
204
|
levelFor,
|
|
205
205
|
parseDuration
|
|
206
|
-
} from "./chunk-
|
|
207
|
-
import "./chunk-
|
|
206
|
+
} from "./chunk-TR5656OS.js";
|
|
207
|
+
import "./chunk-2ULJW5BA.js";
|
|
208
208
|
import {
|
|
209
209
|
note
|
|
210
|
-
} from "./chunk-
|
|
211
|
-
import "./chunk-
|
|
210
|
+
} from "./chunk-7SNS443B.js";
|
|
211
|
+
import "./chunk-6CFSDU56.js";
|
|
212
212
|
import {
|
|
213
213
|
installerOf,
|
|
214
214
|
latestVersion,
|
|
215
215
|
runUpdate,
|
|
216
216
|
updateNotice
|
|
217
|
-
} from "./chunk-
|
|
218
|
-
import "./chunk-
|
|
217
|
+
} from "./chunk-5KNIVHP6.js";
|
|
218
|
+
import "./chunk-OYNSFQ7K.js";
|
|
219
219
|
import {
|
|
220
220
|
setupPermissionCeiling
|
|
221
|
-
} from "./chunk-
|
|
222
|
-
import "./chunk-
|
|
221
|
+
} from "./chunk-UKMFPBAO.js";
|
|
222
|
+
import "./chunk-64E6QXXQ.js";
|
|
223
223
|
import {
|
|
224
224
|
readOnlyLockOf,
|
|
225
225
|
readOnlyRefusal
|
|
226
|
-
} from "./chunk-
|
|
227
|
-
import "./chunk-
|
|
228
|
-
import "./chunk-
|
|
229
|
-
import "./chunk-
|
|
230
|
-
import "./chunk-
|
|
231
|
-
import "./chunk-
|
|
232
|
-
import "./chunk-
|
|
226
|
+
} from "./chunk-JLKNUFL2.js";
|
|
227
|
+
import "./chunk-W6FYYQ2J.js";
|
|
228
|
+
import "./chunk-TZHCS5MG.js";
|
|
229
|
+
import "./chunk-L4BBK7UX.js";
|
|
230
|
+
import "./chunk-ELIYJXIY.js";
|
|
231
|
+
import "./chunk-6ZA4NR5H.js";
|
|
232
|
+
import "./chunk-KM4Y55ZE.js";
|
|
233
233
|
import "./chunk-5DPV7X27.js";
|
|
234
|
-
import "./chunk-
|
|
235
|
-
import "./chunk-
|
|
234
|
+
import "./chunk-OZJMZSFB.js";
|
|
235
|
+
import "./chunk-WJOKTIOJ.js";
|
|
236
236
|
import {
|
|
237
237
|
CATALOG_QUERY,
|
|
238
238
|
IMPORTED_DOCUMENT_QUERY,
|
|
239
239
|
openStore
|
|
240
|
-
} from "./chunk-
|
|
241
|
-
import "./chunk-
|
|
240
|
+
} from "./chunk-WAVJWGUC.js";
|
|
241
|
+
import "./chunk-373WJIHE.js";
|
|
242
242
|
import {
|
|
243
243
|
FACT_STATUSES,
|
|
244
244
|
FACT_TYPES,
|
|
245
245
|
MEMORY_KINDS,
|
|
246
246
|
MEMORY_SCOPES,
|
|
247
247
|
MEMORY_STATUSES
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-R5GJZPRF.js";
|
|
249
249
|
import {
|
|
250
250
|
dateRange,
|
|
251
251
|
defineQuery,
|
|
@@ -255,19 +255,19 @@ import {
|
|
|
255
255
|
timezoneOf,
|
|
256
256
|
validateQuery,
|
|
257
257
|
zonedMoment
|
|
258
|
-
} from "./chunk-
|
|
259
|
-
import "./chunk-
|
|
260
|
-
import "./chunk-
|
|
261
|
-
import "./chunk-
|
|
258
|
+
} from "./chunk-XJVK7ETL.js";
|
|
259
|
+
import "./chunk-HPXYN7F3.js";
|
|
260
|
+
import "./chunk-AHBUTDS7.js";
|
|
261
|
+
import "./chunk-B3TPS7BW.js";
|
|
262
262
|
import {
|
|
263
263
|
storePath
|
|
264
|
-
} from "./chunk-
|
|
265
|
-
import "./chunk-
|
|
264
|
+
} from "./chunk-CGCQNYB3.js";
|
|
265
|
+
import "./chunk-WJPVGXKA.js";
|
|
266
266
|
import {
|
|
267
267
|
processStreams,
|
|
268
268
|
saveConfigFile,
|
|
269
269
|
writeSecurely
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-XGNADVIA.js";
|
|
271
271
|
import {
|
|
272
272
|
CliError,
|
|
273
273
|
array,
|
|
@@ -293,9 +293,9 @@ import {
|
|
|
293
293
|
string,
|
|
294
294
|
unknown,
|
|
295
295
|
writes
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-GIQFBXQN.js";
|
|
297
297
|
import "./chunk-Y5E2WNWB.js";
|
|
298
|
-
import "./chunk-
|
|
298
|
+
import "./chunk-LSSIVBQI.js";
|
|
299
299
|
import {
|
|
300
300
|
__commonJS,
|
|
301
301
|
__name,
|
|
@@ -2358,12 +2358,12 @@ var lockProfile = /* @__PURE__ */ __name(async (env, name) => {
|
|
|
2358
2358
|
assertHeld: /* @__PURE__ */ __name(() => {
|
|
2359
2359
|
if (compromised)
|
|
2360
2360
|
throw new CliError("provider_unavailable", "profile lock was lost; retry the operation", {
|
|
2361
|
-
reason: "profile.
|
|
2361
|
+
reason: "profile.busy"
|
|
2362
2362
|
});
|
|
2363
2363
|
}, "assertHeld")
|
|
2364
2364
|
};
|
|
2365
2365
|
} catch {
|
|
2366
|
-
throw new CliError("provider_unavailable", "another sync or knowledge operation holds this profile's lock; retry later", { reason: "profile.
|
|
2366
|
+
throw new CliError("provider_unavailable", "another sync or knowledge operation holds this profile's lock; retry later", { reason: "profile.busy" });
|
|
2367
2367
|
}
|
|
2368
2368
|
}, "lockProfile");
|
|
2369
2369
|
|
|
@@ -2710,7 +2710,7 @@ var installModelCommands = /* @__PURE__ */ __name((program, { env, output, strea
|
|
|
2710
2710
|
throw new CliError("permission_error", "downloading a model needs the network; --offline was requested", {
|
|
2711
2711
|
reason: "offline.refused"
|
|
2712
2712
|
});
|
|
2713
|
-
const { downloadImageModel, downloadTextModel } = await import("./services-
|
|
2713
|
+
const { downloadImageModel, downloadTextModel } = await import("./services-OAPILZOW.js");
|
|
2714
2714
|
const progress = /* @__PURE__ */ __name((line) => {
|
|
2715
2715
|
if (!program.opts().quiet)
|
|
2716
2716
|
streams.diagnostic(line);
|
|
@@ -3787,7 +3787,11 @@ var installKnowledgeCommandsDefinition = /* @__PURE__ */ __name((program, helper
|
|
|
3787
3787
|
examples(annotate(relationships.command("remove"), { effects: LOCAL_WRITE }).description("remove one of a document's relationships"), ["drive personal relationships remove DOC_ID LINK_ID"]).argument("<document>", documentArgument).argument("<relationship-id>", "id, as relationships list prints it").action(async (doc, id) => output(itemOf(await run3(doc, (k, p, ref) => k.removeLink(p, ref, id)))));
|
|
3788
3788
|
const notes = annotate(program.command("notes"), { effects: LOCAL_READ }).description("write notes about an imported document");
|
|
3789
3789
|
const noteArgument = "note:<id> reference, as notes list prints it";
|
|
3790
|
-
examples(annotate(notes.command("add"), {
|
|
3790
|
+
examples(annotate(notes.command("add"), {
|
|
3791
|
+
effects: LOCAL_WRITE,
|
|
3792
|
+
output: { entity: "note" },
|
|
3793
|
+
literal_after_dashes: true
|
|
3794
|
+
}).description("write a note about a document"), [`drive personal notes add DOC_ID "Check the numbers" --title Review`]).argument("<document>", documentArgument).argument("<text>", "the note's text").option("--title <title>", "a title for the note").action(async (doc, text, args) => output(itemOf(await run3(doc, (k, p, ref) => k.addNote(p, ref, text, args.title)))));
|
|
3791
3795
|
withQuery(examples(annotate(notes.command("list"), { effects: LOCAL_READ }).description("list a document's notes"), [
|
|
3792
3796
|
"drive personal notes list DOC_ID",
|
|
3793
3797
|
"drive personal notes list DOC_ID text:review --limit 10"
|
|
@@ -3803,7 +3807,11 @@ var installKnowledgeCommandsDefinition = /* @__PURE__ */ __name((program, helper
|
|
|
3803
3807
|
}));
|
|
3804
3808
|
});
|
|
3805
3809
|
examples(annotate(notes.command("show"), { effects: LOCAL_READ, output: { entity: "note" } }).description("show one note"), ["drive personal notes show DOC_ID note:NOTE_ID"]).argument("<document>", documentArgument).argument("<note>", noteArgument).action(async (doc, noteRef) => output(itemOf(await run3(doc, (k, p, ref) => k.note(p, ref, noteRef)))));
|
|
3806
|
-
examples(annotate(notes.command("edit"), {
|
|
3810
|
+
examples(annotate(notes.command("edit"), {
|
|
3811
|
+
effects: LOCAL_WRITE,
|
|
3812
|
+
output: { entity: "note" },
|
|
3813
|
+
literal_after_dashes: true
|
|
3814
|
+
}).description("replace a note's text"), [`drive personal notes edit DOC_ID note:NOTE_ID "Numbers checked" --revision 2`]).argument("<document>", documentArgument).argument("<note>", noteArgument).argument("<text>", "the note's new text").requiredOption("--revision <n>", "revision from notes show; a newer note is not overwritten", positive2).action(async (doc, noteRef, text, args) => output(itemOf(await run3(doc, (k, p, ref) => k.editNote(p, ref, noteRef, text, args.revision)))));
|
|
3807
3815
|
examples(annotate(notes.command("remove"), { effects: LOCAL_WRITE }).description("delete one note"), [
|
|
3808
3816
|
"drive personal notes remove DOC_ID note:NOTE_ID"
|
|
3809
3817
|
]).argument("<document>", documentArgument).argument("<note>", noteArgument).action(async (doc, noteRef) => output(itemOf(await run3(doc, (k, p, ref) => k.removeNote(p, ref, noteRef)))));
|
|
@@ -22519,7 +22527,7 @@ var installSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22519
22527
|
json: json === true || jsonl === true || !process.stdout.isTTY,
|
|
22520
22528
|
answers: false
|
|
22521
22529
|
});
|
|
22522
|
-
const { login } = await import("./login-
|
|
22530
|
+
const { login } = await import("./login-A4QHJ5DA.js");
|
|
22523
22531
|
output(itemOf(await login({
|
|
22524
22532
|
env,
|
|
22525
22533
|
profile: selected(),
|
|
@@ -22549,7 +22557,7 @@ var installSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22549
22557
|
const name = selected();
|
|
22550
22558
|
const config = readConfig(env);
|
|
22551
22559
|
const profile = activeProfile(env, name);
|
|
22552
|
-
const { credentials } = await import("./tokens-
|
|
22560
|
+
const { credentials } = await import("./tokens-P7TEHKDD.js");
|
|
22553
22561
|
const store = credentials(env, profile.storage, options.keyring);
|
|
22554
22562
|
store.remove(name);
|
|
22555
22563
|
writeConfig(env, config);
|
|
@@ -22596,7 +22604,7 @@ var selection = /* @__PURE__ */ __name((env, name, source) => {
|
|
|
22596
22604
|
return { profile, state, options: { source, destination, collection: `google-drive:${profile.principal}`, env } };
|
|
22597
22605
|
}, "selection");
|
|
22598
22606
|
var checkStoreImport = /* @__PURE__ */ __name(async (env, name, source, bindings) => {
|
|
22599
|
-
const { ensureSqlite } = await import("./sqlite-runtime-
|
|
22607
|
+
const { ensureSqlite } = await import("./sqlite-runtime-GTXDK4PE.js");
|
|
22600
22608
|
await ensureSqlite();
|
|
22601
22609
|
const { state, options } = selection(env, name, source);
|
|
22602
22610
|
const preview = await previewDocumentTransfer({ ...options, bindings });
|
|
@@ -22770,7 +22778,7 @@ var installSyncCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22770
22778
|
// dist/commands/upgrade.js
|
|
22771
22779
|
import { join as join7 } from "node:path";
|
|
22772
22780
|
|
|
22773
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
22774
22782
|
import { realpathSync } from "node:fs";
|
|
22775
22783
|
import { fileURLToPath } from "node:url";
|
|
22776
22784
|
var QUIET_WORDS = [
|
|
@@ -23169,9 +23177,9 @@ var prepareStore = /* @__PURE__ */ __name(async (index, env, name, rescan = fals
|
|
|
23169
23177
|
var openIndex = /* @__PURE__ */ __name(async (env, name, rescan = false) => {
|
|
23170
23178
|
if (name)
|
|
23171
23179
|
activeProfile(env, name);
|
|
23172
|
-
const { ensureSqlite } = await import("./sqlite-runtime-
|
|
23180
|
+
const { ensureSqlite } = await import("./sqlite-runtime-GTXDK4PE.js");
|
|
23173
23181
|
await ensureSqlite();
|
|
23174
|
-
const { openStore: openStore2, storePath: storePath2 } = await import("./store-
|
|
23182
|
+
const { openStore: openStore2, storePath: storePath2 } = await import("./store-N53SJOPS.js");
|
|
23175
23183
|
if (env.DRIVE_STORE)
|
|
23176
23184
|
throw new CliError("configuration_error", "DRIVE_STORE has been retired; use MESSAGING_STORE to select the shared database", { reason: "store.override-retired" });
|
|
23177
23185
|
const store = await openStore2({ path: storePath2(env), env, command: "drive", version: VERSION });
|
|
@@ -23215,7 +23223,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23215
23223
|
linkMessages: /* @__PURE__ */ __name((documents, since) => store.notes.linkMessages({ documents, ...since ? { since } : {} }), "linkMessages"),
|
|
23216
23224
|
knowledge: documentKnowledge2(store, async (principal) => (await folder(principal, false))?.id),
|
|
23217
23225
|
openPictures: /* @__PURE__ */ __name(async () => {
|
|
23218
|
-
const { openPictureEmbedderFor, savePicture } = await import("./services-
|
|
23226
|
+
const { openPictureEmbedderFor, savePicture } = await import("./services-OAPILZOW.js");
|
|
23219
23227
|
const embedder = pictureEmbedder ?? await openPictureEmbedderFor({ env, command: "drive" });
|
|
23220
23228
|
return {
|
|
23221
23229
|
save: /* @__PURE__ */ __name((reference, bytes) => savePicture(store, { ref: reference }, bytes, { embedder }), "save"),
|
|
@@ -23234,7 +23242,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23234
23242
|
has_more: false,
|
|
23235
23243
|
meaning_skipped: "this Google account has no imported sources"
|
|
23236
23244
|
};
|
|
23237
|
-
const { searchNotes } = await import("./services-
|
|
23245
|
+
const { searchNotes } = await import("./services-OAPILZOW.js");
|
|
23238
23246
|
const result = await searchNotes(store, query, {
|
|
23239
23247
|
...options,
|
|
23240
23248
|
folderIds: selected ? [selected.id] : [],
|
|
@@ -23265,7 +23273,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23265
23273
|
};
|
|
23266
23274
|
}, "search"),
|
|
23267
23275
|
embed: /* @__PURE__ */ __name(async (max) => {
|
|
23268
|
-
const { embedNotes } = await import("./services-
|
|
23276
|
+
const { embedNotes } = await import("./services-OAPILZOW.js");
|
|
23269
23277
|
return embedNotes(store, { maxChunks: max, env, command: "drive" });
|
|
23270
23278
|
}, "embed"),
|
|
23271
23279
|
close: /* @__PURE__ */ __name(() => store.close(), "close")
|
|
@@ -23551,7 +23559,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23551
23559
|
}, "output");
|
|
23552
23560
|
const signal = /* @__PURE__ */ __name(() => environment().signal, "signal");
|
|
23553
23561
|
const signedIn = /* @__PURE__ */ __name(async (name, scope2) => {
|
|
23554
|
-
const { authorizedClient, checkAuthorization } = await import("./tokens-
|
|
23562
|
+
const { authorizedClient, checkAuthorization } = await import("./tokens-P7TEHKDD.js");
|
|
23555
23563
|
const client = authorizedClient(env, name, environment().keyring, signal());
|
|
23556
23564
|
await checkAuthorization(client, scope2);
|
|
23557
23565
|
return client;
|
|
@@ -23561,7 +23569,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23561
23569
|
const fake = environment().source;
|
|
23562
23570
|
if (fake)
|
|
23563
23571
|
return fake(name);
|
|
23564
|
-
const [{ googleSource }, client] = await Promise.all([import("./google-
|
|
23572
|
+
const [{ googleSource }, client] = await Promise.all([import("./google-A4F2WFO4.js"), signedIn(name)]);
|
|
23565
23573
|
return googleSource(client);
|
|
23566
23574
|
}, "source");
|
|
23567
23575
|
const withIndex = /* @__PURE__ */ __name(async (fn) => {
|
|
@@ -23700,7 +23708,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23700
23708
|
if (fake)
|
|
23701
23709
|
return await fake.call(method, params, body);
|
|
23702
23710
|
const [{ googleApi }, client] = await Promise.all([
|
|
23703
|
-
import("./google-api-
|
|
23711
|
+
import("./google-api-ZXGQOJUI.js"),
|
|
23704
23712
|
signedIn(selected(), descriptor.scope)
|
|
23705
23713
|
]);
|
|
23706
23714
|
return await googleApi(client).call(method, params, body);
|
|
@@ -23726,7 +23734,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23726
23734
|
if (fake)
|
|
23727
23735
|
return fake(id, mime);
|
|
23728
23736
|
const [{ googleDownload }, client] = await Promise.all([
|
|
23729
|
-
import("./google-api-
|
|
23737
|
+
import("./google-api-ZXGQOJUI.js"),
|
|
23730
23738
|
signedIn(selected(), apiMethod(method).scope)
|
|
23731
23739
|
]);
|
|
23732
23740
|
return googleDownload(client)(id, mime);
|
|
@@ -23744,7 +23752,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23744
23752
|
let request = environment().uploadRequest;
|
|
23745
23753
|
if (!request) {
|
|
23746
23754
|
const [{ googleUploadRequest }, client] = await Promise.all([
|
|
23747
|
-
import("./google-api-
|
|
23755
|
+
import("./google-api-ZXGQOJUI.js"),
|
|
23748
23756
|
signedIn(selected(), apiMethod(method).scope)
|
|
23749
23757
|
]);
|
|
23750
23758
|
request = googleUploadRequest(client);
|
|
@@ -23945,7 +23953,7 @@ var mcpCommand = /* @__PURE__ */ __name(() => {
|
|
|
23945
23953
|
const environment = environmentOf(action);
|
|
23946
23954
|
if (environment.api)
|
|
23947
23955
|
return;
|
|
23948
|
-
const { grantAvailability } = await import("./grants-
|
|
23956
|
+
const { grantAvailability } = await import("./grants-3Z7DG3W3.js");
|
|
23949
23957
|
availability = grantAvailability(rootOf(root), environment.env ?? process.env, environment.keyring);
|
|
23950
23958
|
});
|
|
23951
23959
|
}, "mcpCommand");
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readSecret
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-W6FYYQ2J.js";
|
|
6
|
+
import "./chunk-TZHCS5MG.js";
|
|
7
|
+
import "./chunk-XGNADVIA.js";
|
|
8
|
+
import "./chunk-GIQFBXQN.js";
|
|
9
9
|
import "./chunk-Y5E2WNWB.js";
|
|
10
10
|
import "./chunk-ZVVMGPBJ.js";
|
|
11
11
|
export {
|
|
@@ -2,9 +2,9 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
REASONS
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-CD736BG3.js";
|
|
6
|
+
import "./chunk-HPXYN7F3.js";
|
|
7
|
+
import "./chunk-GIQFBXQN.js";
|
|
8
8
|
import "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
export {
|
|
10
10
|
REASONS
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
openRecognizer,
|
|
9
9
|
openSpeechCutter,
|
|
10
10
|
toModelRate
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-JIGMCW4C.js";
|
|
12
|
+
import "./chunk-XGNADVIA.js";
|
|
13
|
+
import "./chunk-GIQFBXQN.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
openRemote,
|
|
9
9
|
remoteKey,
|
|
10
10
|
remoteModel
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-6ZA4NR5H.js";
|
|
12
|
+
import "./chunk-KM4Y55ZE.js";
|
|
13
13
|
import "./chunk-5DPV7X27.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-OZJMZSFB.js";
|
|
15
|
+
import "./chunk-CGCQNYB3.js";
|
|
16
|
+
import "./chunk-XGNADVIA.js";
|
|
17
|
+
import "./chunk-GIQFBXQN.js";
|
|
18
18
|
import "./chunk-Y5E2WNWB.js";
|
|
19
19
|
import "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
export {
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
defaultThreads,
|
|
5
5
|
loadModel,
|
|
6
6
|
truncated
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KM4Y55ZE.js";
|
|
8
8
|
import "./chunk-5DPV7X27.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-OZJMZSFB.js";
|
|
10
|
+
import "./chunk-CGCQNYB3.js";
|
|
11
|
+
import "./chunk-XGNADVIA.js";
|
|
12
|
+
import "./chunk-GIQFBXQN.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
19
19
|
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
20
20
|
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
21
21
|
const typeIds = session.inputNames.includes("token_type_ids");
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AL7MY7MW.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-566W4Q6L.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -20,19 +20,19 @@ import {
|
|
|
20
20
|
calledTools,
|
|
21
21
|
httpActivityFile,
|
|
22
22
|
httpLock
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-GKHUHRSL.js";
|
|
24
|
+
import "./chunk-SRNXTXJN.js";
|
|
25
|
+
import "./chunk-U2RSVKR5.js";
|
|
26
|
+
import "./chunk-XGNADVIA.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GIQFBXQN.js";
|
|
30
30
|
import "./chunk-Y5E2WNWB.js";
|
|
31
31
|
import {
|
|
32
32
|
__name
|
|
33
33
|
} from "./chunk-ZVVMGPBJ.js";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
var MCP_PATH = "/mcp";
|
|
38
38
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|