@wirecat/drive-cli 0.57.0 → 0.58.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/bin/drive.js.map +1 -1
- package/dist/bundle/{all-profiles-7LSZ3CC3.js → all-profiles-ANDWOJDL.js} +10 -6
- package/dist/bundle/{anthropic-3QRM4QXB.js → anthropic-EZPZUWGS.js} +10 -6
- package/dist/bundle/{app-server-WWNMUHID.js → app-server-67WL423B.js} +57 -51
- package/dist/bundle/{bun-sqlite-GSLSN3OT.js → bun-sqlite-A5ZKTIYC.js} +7 -3
- package/dist/bundle/{chunk-L4BBK7UX.js → chunk-2TASMYGM.js} +4 -2
- package/dist/bundle/{chunk-VTJF2L5E.js → chunk-34XHR5FL.js} +5 -5
- package/dist/bundle/{chunk-JIGMCW4C.js → chunk-3GXNODTB.js} +3 -3
- package/dist/bundle/chunk-3RG27IWA.js +201 -0
- package/dist/bundle/{chunk-KHNDZNQA.js → chunk-4EEOJ54H.js} +40 -36
- package/dist/bundle/{chunk-Q3TMNETS.js → chunk-4GZLX2ME.js} +27 -21
- package/dist/bundle/{chunk-B3TPS7BW.js → chunk-4ICWGMHN.js} +6 -4
- package/dist/bundle/{chunk-4F2VRJZE.js → chunk-4UU4ONKY.js} +31 -23
- package/dist/bundle/{chunk-IJ2S53WJ.js → chunk-5NPFHWLP.js} +7 -7
- package/dist/bundle/{chunk-566W4Q6L.js → chunk-6SARLV3Z.js} +1 -1
- package/dist/bundle/{chunk-AKPFH3KC.js → chunk-6THTUYPT.js} +1 -1
- package/dist/bundle/{chunk-GKHUHRSL.js → chunk-7AL57FCK.js} +1 -1
- package/dist/bundle/{chunk-SRNXTXJN.js → chunk-7VFD3UJQ.js} +1 -1
- package/dist/bundle/{chunk-CGCQNYB3.js → chunk-7VUHY5LP.js} +1 -1
- package/dist/bundle/{chunk-TZHCS5MG.js → chunk-7YUZAEBG.js} +1 -1
- package/dist/bundle/{chunk-JUKVJ7M2.js → chunk-A4DHPOFQ.js} +7 -5
- package/dist/bundle/chunk-A7FMNTCK.js +166 -0
- package/dist/bundle/{chunk-2QLLKDE5.js → chunk-AFZ33AC7.js} +47 -43
- package/dist/bundle/{chunk-XGNADVIA.js → chunk-ALTG7BZQ.js} +14 -215
- package/dist/bundle/chunk-ASPIEEXN.js +34 -0
- package/dist/bundle/{chunk-WJOKTIOJ.js → chunk-BAEIAQWH.js} +1 -1
- package/dist/bundle/{chunk-W6FYYQ2J.js → chunk-BKM2CGG2.js} +2 -2
- package/dist/bundle/{chunk-G34Y5RAC.js → chunk-BLJVCJZU.js} +5 -5
- package/dist/bundle/{chunk-7SNS443B.js → chunk-D72FL3L3.js} +1 -1
- package/dist/bundle/{chunk-OYNSFQ7K.js → chunk-D72URWJE.js} +1 -39
- package/dist/bundle/{chunk-B64EY2SC.js → chunk-ED5JNYN5.js} +27 -27
- package/dist/bundle/{chunk-64E6QXXQ.js → chunk-ESF2B22R.js} +7 -7
- package/dist/bundle/{chunk-5KNIVHP6.js → chunk-FD7A6745.js} +6 -19
- package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
- package/dist/bundle/{chunk-TKVSJV5P.js → chunk-GDRO4YMH.js} +5 -3
- package/dist/bundle/{chunk-KYNTSA6K.js → chunk-I4VUHZSD.js} +5 -5
- package/dist/bundle/{chunk-O5KDIVGE.js → chunk-IBJOO5FG.js} +17 -15
- package/dist/bundle/{chunk-J2HGHSLX.js → chunk-IH4UCM5K.js} +3 -3
- package/dist/bundle/chunk-ITD7WI23.js +45 -0
- package/dist/bundle/{chunk-EN7OZ5JH.js → chunk-IXXQZCNK.js} +13 -11
- package/dist/bundle/{chunk-R5GJZPRF.js → chunk-J36Z6BDZ.js} +6 -4
- package/dist/bundle/{chunk-6CFSDU56.js → chunk-JEMKSWVI.js} +15 -13
- package/dist/bundle/chunk-JZ67M3HR.js +46 -0
- package/dist/bundle/{chunk-WJPVGXKA.js → chunk-KCBHOYNZ.js} +3 -3
- package/dist/bundle/{chunk-QAT6UXZZ.js → chunk-MBNKNWOG.js} +43 -39
- package/dist/bundle/{chunk-AHBUTDS7.js → chunk-NKL5XXOM.js} +1 -1
- package/dist/bundle/chunk-NYINLKWT.js +23 -0
- package/dist/bundle/{chunk-GIQFBXQN.js → chunk-O3K46QRL.js} +5 -120
- package/dist/bundle/{chunk-NLLWLCUZ.js → chunk-OG5ERX4S.js} +2 -2
- package/dist/bundle/{chunk-RAEKC6TV.js → chunk-OUQVZTF5.js} +7 -5
- package/dist/bundle/{chunk-W5FOPSJZ.js → chunk-OZEJA67C.js} +6 -4
- package/dist/bundle/{chunk-4UQLL6RJ.js → chunk-P5MCZ635.js} +2 -2
- package/dist/bundle/{chunk-YZ6SYLDC.js → chunk-PYPLD7JO.js} +1 -1
- package/dist/bundle/{chunk-6ZA4NR5H.js → chunk-QVIJMV22.js} +2 -2
- package/dist/bundle/chunk-RRHC5SBB.js +106 -0
- package/dist/bundle/{chunk-WBYCUBYM.js → chunk-SPVPKHBQ.js} +25 -23
- package/dist/bundle/{chunk-XJVK7ETL.js → chunk-SWFA36F3.js} +5 -3
- package/dist/bundle/{chunk-HNUSPNUQ.js → chunk-TCJRJ3TE.js} +1 -1
- package/dist/bundle/{chunk-TR5656OS.js → chunk-TIXIB32T.js} +16 -12
- package/dist/bundle/{chunk-KM4Y55ZE.js → chunk-TMW526H3.js} +4 -4
- package/dist/bundle/{chunk-WAVJWGUC.js → chunk-TNX77VPM.js} +35 -33
- package/dist/bundle/{chunk-EE7R457T.js → chunk-UBZ2LH7N.js} +229 -221
- package/dist/bundle/{chunk-2ULJW5BA.js → chunk-UMJLXAJI.js} +1 -1
- package/dist/bundle/{chunk-ELIYJXIY.js → chunk-UTDL7MKT.js} +1 -1
- package/dist/bundle/{chunk-ISK4K7UE.js → chunk-VXI67T7U.js} +1 -1
- package/dist/bundle/{chunk-LBFFI6FE.js → chunk-W6KMNO3C.js} +9 -7
- package/dist/bundle/{chunk-RB674T6L.js → chunk-WICYDOVL.js} +15 -11
- package/dist/bundle/{chunk-UKMFPBAO.js → chunk-X4F3M6L6.js} +3 -3
- package/dist/bundle/{chunk-373WJIHE.js → chunk-X5XWUQNU.js} +1 -1
- package/dist/bundle/{chunk-CD736BG3.js → chunk-XQMMB6ST.js} +1 -1
- package/dist/bundle/{chunk-3BXSLNWW.js → chunk-Y6M2G7JK.js} +12 -10
- package/dist/bundle/{chunk-OZJMZSFB.js → chunk-YHRJUZ3O.js} +2 -2
- package/dist/bundle/{chunk-JLKNUFL2.js → chunk-Z5GDNCTJ.js} +1 -1
- package/dist/bundle/command-contract-ZCXFT764.js +39 -0
- package/dist/bundle/{decode-5MHMPYKE.js → decode-2R6DTGRX.js} +9 -5
- package/dist/bundle/dispatch-DEXAEMIN.js +412 -0
- package/dist/bundle/drive.js +40 -22
- package/dist/bundle/{embed-TF66ODAR.js → embed-RJJWOLKN.js} +9 -5
- package/dist/bundle/{embedder-EDWOIAC2.js → embedder-DWYS5JYJ.js} +11 -7
- package/dist/bundle/entry-E6H7IUPV.js +21 -0
- package/dist/bundle/failure-GBZ4L5QO.js +26 -0
- package/dist/bundle/first-run-DI2JIG44.js +30 -0
- package/dist/bundle/first-screen-X5N4TCKD.js +37 -0
- package/dist/bundle/{google-A4F2WFO4.js → google-L776ETP4.js} +13 -9
- package/dist/bundle/{google-api-ZXGQOJUI.js → google-api-AI5ZJJ2M.js} +54 -48
- package/dist/bundle/grants-HKGYAWL6.js +104 -0
- package/dist/bundle/{identity-4IO7WGG4.js → identity-MDLWK2TX.js} +5 -3
- package/dist/bundle/{login-A4QHJ5DA.js → login-6HHQLRHY.js} +60 -54
- package/dist/bundle/{mcp-VVMPUDSL.js → mcp-ZZUYI44D.js} +4 -2
- package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
- package/dist/bundle/{node-sqlite-AFQTE4XZ.js → node-sqlite-AVNHGMVL.js} +7 -3
- package/dist/bundle/{oauth-46XBJBML.js → oauth-UVU52X57.js} +9 -5
- package/dist/bundle/{open-WJCRBIP7.js → open-BXPLXJC2.js} +7 -3
- package/dist/bundle/{openai-3TIBDWZA.js → openai-CRO5GDBY.js} +14 -10
- package/dist/bundle/{program-AHZH65IT.js → program-4DWVWSGQ.js} +135 -127
- package/dist/bundle/prompt-AFWVGRDG.js +17 -0
- package/dist/bundle/{reasons-VHCVYH54.js → reasons-IHPNUP5W.js} +4 -2
- package/dist/bundle/{recognize-4EAKIMON.js → recognize-NAISVA56.js} +7 -3
- package/dist/bundle/{remote-HX3JP4EH.js → remote-KCUHG5HV.js} +10 -6
- package/dist/bundle/{rerank-BW3A4PUU.js → rerank-Q3POCDSK.js} +9 -5
- package/dist/bundle/{serve-YYOOLIBS.js → serve-5CUOYLSG.js} +10 -6
- package/dist/bundle/server-FTLPSLRU.js +69 -0
- package/dist/bundle/{server-G6XTEEFI.js → server-FXW3GARV.js} +42 -36
- package/dist/bundle/{services-OAPILZOW.js → services-PEYBXZ3R.js} +30 -24
- package/dist/bundle/{sqlite-runtime-GTXDK4PE.js → sqlite-runtime-YMPWN5PM.js} +8 -4
- package/dist/bundle/start-PFWEF44R.js +138 -0
- package/dist/bundle/{state-XG335LGZ.js → state-5TQ7IOJH.js} +8 -4
- package/dist/bundle/{store-N53SJOPS.js → store-E2VWY4O6.js} +18 -14
- package/dist/bundle/{store-7KOXJNQP.js → store-P4OYYFW5.js} +15 -11
- package/dist/bundle/store-maintenance-command-MWVERNK7.js +58 -0
- package/dist/bundle/tokens-OVG4CJO4.js +102 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
- package/dist/bundle/command-contract-XIACCAZL.js +0 -35
- package/dist/bundle/entry-CWYCQ53A.js +0 -17
- package/dist/bundle/first-run-YIH7EHJI.js +0 -24
- package/dist/bundle/first-screen-THH3XD5Y.js +0 -33
- package/dist/bundle/grants-3Z7DG3W3.js +0 -98
- package/dist/bundle/prompt-FFGBIT4A.js +0 -13
- package/dist/bundle/server-YKYEUIJT.js +0 -63
- package/dist/bundle/store-maintenance-command-W3TI52X2.js +0 -52
- package/dist/bundle/tokens-P7TEHKDD.js +0 -96
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
classify,
|
|
5
|
+
documentExtractor,
|
|
6
|
+
documentKind,
|
|
7
|
+
engineMissing,
|
|
8
|
+
extractText,
|
|
9
|
+
importEngine
|
|
10
|
+
} from "./chunk-BLJVCJZU.js";
|
|
3
11
|
import {
|
|
4
12
|
acquireLock,
|
|
5
13
|
openOrdinaryFile,
|
|
@@ -8,15 +16,7 @@ import {
|
|
|
8
16
|
sameOrdinaryFile,
|
|
9
17
|
syncDirectory,
|
|
10
18
|
writeFileAtomic
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
classify,
|
|
14
|
-
documentExtractor,
|
|
15
|
-
documentKind,
|
|
16
|
-
engineMissing,
|
|
17
|
-
extractText,
|
|
18
|
-
importEngine
|
|
19
|
-
} from "./chunk-G34Y5RAC.js";
|
|
19
|
+
} from "./chunk-TCJRJ3TE.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_IMAGE_MODEL,
|
|
22
22
|
DEFAULT_RERANK_MODEL,
|
|
@@ -44,23 +44,23 @@ import {
|
|
|
44
44
|
typedCommand,
|
|
45
45
|
vectorModelKey,
|
|
46
46
|
withAttempt
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-TIXIB32T.js";
|
|
48
48
|
import {
|
|
49
49
|
isCliFailure
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-UMJLXAJI.js";
|
|
51
51
|
import {
|
|
52
52
|
isNewer,
|
|
53
53
|
updateCommand
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FD7A6745.js";
|
|
55
55
|
import {
|
|
56
56
|
MAX_MODEL_IMAGE_BYTES
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-UTDL7MKT.js";
|
|
58
58
|
import {
|
|
59
59
|
OPENAI_URL,
|
|
60
60
|
openRemote,
|
|
61
61
|
remoteKey,
|
|
62
62
|
remoteModel
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QVIJMV22.js";
|
|
64
64
|
import {
|
|
65
65
|
defaultThreads,
|
|
66
66
|
installNativeRuntime,
|
|
@@ -69,11 +69,11 @@ import {
|
|
|
69
69
|
placedText,
|
|
70
70
|
runEmbedders,
|
|
71
71
|
textModelsDirectory
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-TMW526H3.js";
|
|
73
73
|
import {
|
|
74
74
|
installFiles,
|
|
75
75
|
megabytes
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-YHRJUZ3O.js";
|
|
77
77
|
import {
|
|
78
78
|
AGENDA_COLUMNS,
|
|
79
79
|
CHAT_COLUMNS,
|
|
@@ -147,12 +147,12 @@ import {
|
|
|
147
147
|
threadConversation,
|
|
148
148
|
validateAst,
|
|
149
149
|
validateFields
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-TNX77VPM.js";
|
|
151
151
|
import {
|
|
152
152
|
MAX_TEXT_CHARS,
|
|
153
153
|
attachmentMaxBytes,
|
|
154
154
|
pdfPreviewLimits
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-X5XWUQNU.js";
|
|
156
156
|
import {
|
|
157
157
|
MEETING_FINDINGS_KIND,
|
|
158
158
|
TASK_KINDS,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
validateMeetingHitSearch,
|
|
177
177
|
validateMeetingPassage,
|
|
178
178
|
validateMeetingSeriesHistory
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-J36Z6BDZ.js";
|
|
180
180
|
import {
|
|
181
181
|
dateRange,
|
|
182
182
|
implicitTextTerms,
|
|
@@ -186,33 +186,33 @@ import {
|
|
|
186
186
|
timezoneOf,
|
|
187
187
|
validateQuery,
|
|
188
188
|
walkQuery
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-SWFA36F3.js";
|
|
190
190
|
import {
|
|
191
191
|
DEFAULT_STEMMERS,
|
|
192
192
|
createStemmer,
|
|
193
193
|
fold,
|
|
194
194
|
normalize
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-NKL5XXOM.js";
|
|
196
196
|
import {
|
|
197
197
|
DEFAULT_TASK_CATEGORIES,
|
|
198
198
|
FALLBACK_CATEGORY
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-4ICWGMHN.js";
|
|
200
200
|
import {
|
|
201
201
|
storePath,
|
|
202
202
|
wirecatDirectory
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-7VUHY5LP.js";
|
|
204
204
|
import {
|
|
205
205
|
resolvePaths,
|
|
206
|
-
singleLine,
|
|
207
|
-
visibleControls,
|
|
208
206
|
writeSecurely
|
|
209
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-ALTG7BZQ.js";
|
|
208
|
+
import {
|
|
209
|
+
singleLine,
|
|
210
|
+
visibleControls
|
|
211
|
+
} from "./chunk-ASPIEEXN.js";
|
|
210
212
|
import {
|
|
211
|
-
CliError,
|
|
212
213
|
array,
|
|
213
214
|
getDotPath,
|
|
214
215
|
integer,
|
|
215
|
-
isCliError,
|
|
216
216
|
maxLength,
|
|
217
217
|
minLength,
|
|
218
218
|
minValue,
|
|
@@ -229,7 +229,11 @@ import {
|
|
|
229
229
|
string,
|
|
230
230
|
transform,
|
|
231
231
|
unknown
|
|
232
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-O3K46QRL.js";
|
|
233
|
+
import {
|
|
234
|
+
CliError,
|
|
235
|
+
isCliError
|
|
236
|
+
} from "./chunk-ITD7WI23.js";
|
|
233
237
|
import {
|
|
234
238
|
__name
|
|
235
239
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -3177,7 +3181,7 @@ var downloadTextModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
3177
3181
|
}
|
|
3178
3182
|
await nativeRuntime({ env, progress });
|
|
3179
3183
|
progress(`${model.id}: loading it once to check it works`);
|
|
3180
|
-
const { openEmbedder: openEmbedder2 } = await import("./embed-
|
|
3184
|
+
const { openEmbedder: openEmbedder2 } = await import("./embed-RJJWOLKN.js");
|
|
3181
3185
|
const embedder = await openEmbedder2(model, directory);
|
|
3182
3186
|
try {
|
|
3183
3187
|
const [vector] = await embedder.embed(["check"], "query");
|
|
@@ -3198,7 +3202,7 @@ var downloadRerankModel = /* @__PURE__ */ __name(async (id2, { env, progress = /
|
|
|
3198
3202
|
}
|
|
3199
3203
|
await nativeRuntime({ env, progress });
|
|
3200
3204
|
progress(`${model.id}: loading it once to check it works`);
|
|
3201
|
-
const { openReranker } = await import("./rerank-
|
|
3205
|
+
const { openReranker } = await import("./rerank-Q3POCDSK.js");
|
|
3202
3206
|
const reranker = await openReranker(model, directory);
|
|
3203
3207
|
try {
|
|
3204
3208
|
await reranker.score("check", ["check"]);
|
|
@@ -3216,7 +3220,7 @@ var downloadImageModel = /* @__PURE__ */ __name(async (id2, { env, progress = /*
|
|
|
3216
3220
|
await installFiles(placedImage(model, directory), { progress });
|
|
3217
3221
|
}
|
|
3218
3222
|
progress(`${model.id}: loading it once to check it works`);
|
|
3219
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
3223
|
+
const { openPictureEmbedder } = await import("./embedder-DWYS5JYJ.js");
|
|
3220
3224
|
const embedder = await openPictureEmbedder(model, directory);
|
|
3221
3225
|
try {
|
|
3222
3226
|
const vector = await embedder.embedQuery("check");
|
|
@@ -6125,7 +6129,7 @@ var embeddingTarget = /* @__PURE__ */ __name((deps, choice = DEFAULT_TEXT_MODEL)
|
|
|
6125
6129
|
price: remote.price,
|
|
6126
6130
|
installed: true,
|
|
6127
6131
|
perBatch: PER_REQUEST * concurrency,
|
|
6128
|
-
open: /* @__PURE__ */ __name(async () => (await import("./remote-
|
|
6132
|
+
open: /* @__PURE__ */ __name(async () => (await import("./remote-KCUHG5HV.js")).openRemote(remote, apiKey, { concurrency }), "open")
|
|
6129
6133
|
};
|
|
6130
6134
|
}
|
|
6131
6135
|
const model = textModel(choice);
|
|
@@ -11446,7 +11450,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
11446
11450
|
const directory = imageModelsDirectory(deps.env);
|
|
11447
11451
|
if (!isImageModelInstalled(model2, directory))
|
|
11448
11452
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
11449
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
11453
|
+
const { openPictureEmbedder } = await import("./embedder-DWYS5JYJ.js");
|
|
11450
11454
|
return openPictureEmbedder(model2, directory);
|
|
11451
11455
|
}, "open");
|
|
11452
11456
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -11706,7 +11710,7 @@ var rerankLane = /* @__PURE__ */ __name((deps) => {
|
|
|
11706
11710
|
const warm = deps.embedders;
|
|
11707
11711
|
const reranker = warm ? await warm.reranker(`rerank:${model.id}`, async () => (await import("./process-P36JP33R.js")).openRerankerProcess(model, directory, {
|
|
11708
11712
|
threads: defaultThreads()
|
|
11709
|
-
})) : await (await import("./rerank-
|
|
11713
|
+
})) : await (await import("./rerank-Q3POCDSK.js")).openReranker(model, directory);
|
|
11710
11714
|
return {
|
|
11711
11715
|
model: model.id,
|
|
11712
11716
|
score: /* @__PURE__ */ __name((question, passages) => reranker.score(plainWords(question), passages), "score"),
|
|
@@ -11734,7 +11738,7 @@ var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}
|
|
|
11734
11738
|
const directory = imageModelsDirectory(env);
|
|
11735
11739
|
if (!isImageModelInstalled(model, directory))
|
|
11736
11740
|
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 });
|
|
11737
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
11741
|
+
const { openPictureEmbedder } = await import("./embedder-DWYS5JYJ.js");
|
|
11738
11742
|
return openPictureEmbedder(model, directory);
|
|
11739
11743
|
}, "openPictureEmbedderFor");
|
|
11740
11744
|
var savePicture = /* @__PURE__ */ __name(async (store, target, bytes2, options = {}) => {
|
|
@@ -7,23 +7,18 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WICYDOVL.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PYPLD7JO.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
17
17
|
refuseLacking
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
onlineDeps,
|
|
21
|
-
servicesFor,
|
|
22
|
-
storeModeDeps
|
|
23
|
-
} from "./chunk-KHNDZNQA.js";
|
|
18
|
+
} from "./chunk-IXXQZCNK.js";
|
|
24
19
|
import {
|
|
25
20
|
ENTITIES
|
|
26
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Y6M2G7JK.js";
|
|
27
22
|
import {
|
|
28
23
|
DEFAULT_OUTPUT_BYTES,
|
|
29
24
|
LOCAL_WRITE,
|
|
@@ -37,13 +32,18 @@ import {
|
|
|
37
32
|
refuseStoreChange,
|
|
38
33
|
sealed,
|
|
39
34
|
startRecording
|
|
40
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4UU4ONKY.js";
|
|
41
36
|
import {
|
|
42
37
|
currentCaller,
|
|
43
38
|
keepsSuccess,
|
|
44
39
|
runContextOf,
|
|
45
40
|
withCaller
|
|
46
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-P5MCZ635.js";
|
|
42
|
+
import {
|
|
43
|
+
onlineDeps,
|
|
44
|
+
servicesFor,
|
|
45
|
+
storeModeDeps
|
|
46
|
+
} from "./chunk-4EEOJ54H.js";
|
|
47
47
|
import {
|
|
48
48
|
authorityAllowed,
|
|
49
49
|
botApiAllowed,
|
|
@@ -54,26 +54,29 @@ import {
|
|
|
54
54
|
newRunId,
|
|
55
55
|
readKeysForCommand,
|
|
56
56
|
traceOf
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-TIXIB32T.js";
|
|
58
|
+
import {
|
|
59
|
+
queryDescription
|
|
60
|
+
} from "./chunk-SWFA36F3.js";
|
|
58
61
|
import {
|
|
59
62
|
MAX_BUFFERED_INPUT
|
|
60
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7YUZAEBG.js";
|
|
61
64
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./chunk-
|
|
65
|
+
captureStreams
|
|
66
|
+
} from "./chunk-ALTG7BZQ.js";
|
|
64
67
|
import {
|
|
65
|
-
captureStreams,
|
|
66
68
|
errorObjectOf,
|
|
67
69
|
mcpErrorResult
|
|
68
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3RG27IWA.js";
|
|
71
|
+
import {
|
|
72
|
+
traceIdOf
|
|
73
|
+
} from "./chunk-RRHC5SBB.js";
|
|
69
74
|
import {
|
|
70
|
-
CliError,
|
|
71
75
|
SNAKE_CASE,
|
|
72
76
|
array,
|
|
73
77
|
boolean,
|
|
74
78
|
description,
|
|
75
79
|
duplicates,
|
|
76
|
-
errorCodes,
|
|
77
80
|
integer,
|
|
78
81
|
isoDate,
|
|
79
82
|
itemEnvelopeSchema,
|
|
@@ -99,12 +102,15 @@ import {
|
|
|
99
102
|
text,
|
|
100
103
|
toJsonSchema,
|
|
101
104
|
toStandardJsonSchema,
|
|
102
|
-
traceIdOf,
|
|
103
105
|
union,
|
|
104
106
|
unknown,
|
|
105
107
|
word,
|
|
106
108
|
writes
|
|
107
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-O3K46QRL.js";
|
|
110
|
+
import {
|
|
111
|
+
CliError,
|
|
112
|
+
errorCodes
|
|
113
|
+
} from "./chunk-ITD7WI23.js";
|
|
108
114
|
import {
|
|
109
115
|
__name
|
|
110
116
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,14 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7VUHY5LP.js";
|
|
6
|
+
import {
|
|
7
|
+
resolvePaths
|
|
8
|
+
} from "./chunk-ALTG7BZQ.js";
|
|
6
9
|
import {
|
|
7
|
-
resolvePaths,
|
|
8
10
|
singleLine
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ASPIEEXN.js";
|
|
10
12
|
import {
|
|
11
13
|
CliError
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ITD7WI23.js";
|
|
13
15
|
import {
|
|
14
16
|
__name
|
|
15
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -9,7 +9,15 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P5MCZ635.js";
|
|
13
|
+
import {
|
|
14
|
+
permissionCeiling
|
|
15
|
+
} from "./chunk-X4F3M6L6.js";
|
|
16
|
+
import {
|
|
17
|
+
envName,
|
|
18
|
+
readOnlyLockOf,
|
|
19
|
+
readOnlyRefusal
|
|
20
|
+
} from "./chunk-Z5GDNCTJ.js";
|
|
13
21
|
import {
|
|
14
22
|
CEILING_KEY,
|
|
15
23
|
COMMAND_PATH_KEY,
|
|
@@ -40,56 +48,53 @@ import {
|
|
|
40
48
|
typedCommand,
|
|
41
49
|
useAsProcessRun,
|
|
42
50
|
withWriteScope
|
|
43
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-TIXIB32T.js";
|
|
44
52
|
import {
|
|
45
53
|
isCliFailure
|
|
46
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UMJLXAJI.js";
|
|
47
55
|
import {
|
|
48
56
|
count,
|
|
49
57
|
text
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import {
|
|
52
|
-
permissionCeiling
|
|
53
|
-
} from "./chunk-UKMFPBAO.js";
|
|
54
|
-
import {
|
|
55
|
-
envName,
|
|
56
|
-
readOnlyLockOf,
|
|
57
|
-
readOnlyRefusal
|
|
58
|
-
} from "./chunk-JLKNUFL2.js";
|
|
58
|
+
} from "./chunk-D72FL3L3.js";
|
|
59
59
|
import {
|
|
60
60
|
FIELD_TYPES,
|
|
61
61
|
QUERY_BACKENDS,
|
|
62
62
|
describeQuery
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-SWFA36F3.js";
|
|
64
64
|
import {
|
|
65
65
|
sharedConfigPath
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-4ICWGMHN.js";
|
|
67
67
|
import {
|
|
68
68
|
storePath
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-7VUHY5LP.js";
|
|
70
70
|
import {
|
|
71
|
-
EXIT_CODES,
|
|
72
|
-
GENERIC_FAILURE,
|
|
73
71
|
configFilePath,
|
|
74
72
|
createRecordLog,
|
|
75
73
|
createRenderer,
|
|
76
|
-
exitCodeOfAnswer,
|
|
77
74
|
fieldsOf,
|
|
78
75
|
processStreams,
|
|
79
76
|
projectFields,
|
|
80
77
|
resolvePaths,
|
|
81
78
|
saveConfigFile,
|
|
82
|
-
singleLine,
|
|
83
79
|
writeSecurely
|
|
84
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-ALTG7BZQ.js";
|
|
81
|
+
import {
|
|
82
|
+
EXIT_CODES,
|
|
83
|
+
GENERIC_FAILURE,
|
|
84
|
+
exitCodeOfAnswer
|
|
85
|
+
} from "./chunk-3RG27IWA.js";
|
|
86
|
+
import {
|
|
87
|
+
singleLine
|
|
88
|
+
} from "./chunk-ASPIEEXN.js";
|
|
89
|
+
import {
|
|
90
|
+
defineLogEvents
|
|
91
|
+
} from "./chunk-RRHC5SBB.js";
|
|
85
92
|
import {
|
|
86
|
-
CliError,
|
|
87
93
|
MAX_NEXT_STEPS,
|
|
88
94
|
STEPS,
|
|
89
95
|
array,
|
|
90
96
|
boolean,
|
|
91
97
|
check,
|
|
92
|
-
defineLogEvents,
|
|
93
98
|
defineSteps,
|
|
94
99
|
effectsSchema,
|
|
95
100
|
getDotPath,
|
|
@@ -120,7 +125,10 @@ import {
|
|
|
120
125
|
union,
|
|
121
126
|
unknown,
|
|
122
127
|
writes
|
|
123
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-O3K46QRL.js";
|
|
129
|
+
import {
|
|
130
|
+
CliError
|
|
131
|
+
} from "./chunk-ITD7WI23.js";
|
|
124
132
|
import {
|
|
125
133
|
__name
|
|
126
134
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
XLSX,
|
|
9
9
|
supported,
|
|
10
10
|
tooManyEntries
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VXI67T7U.js";
|
|
12
12
|
import {
|
|
13
13
|
googleError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6THTUYPT.js";
|
|
15
15
|
import {
|
|
16
16
|
extractText
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BLJVCJZU.js";
|
|
18
18
|
import {
|
|
19
19
|
MAX_TEXT_CHARS
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import {
|
|
22
|
-
CliError
|
|
23
|
-
} from "./chunk-GIQFBXQN.js";
|
|
20
|
+
} from "./chunk-X5XWUQNU.js";
|
|
24
21
|
import {
|
|
25
22
|
importFrom
|
|
26
23
|
} from "./chunk-Y5E2WNWB.js";
|
|
24
|
+
import {
|
|
25
|
+
CliError
|
|
26
|
+
} from "./chunk-ITD7WI23.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,14 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
walkQuery
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SWFA36F3.js";
|
|
6
6
|
import {
|
|
7
7
|
writeSecurely
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ALTG7BZQ.js";
|
|
9
9
|
import {
|
|
10
|
-
CliError,
|
|
11
10
|
array,
|
|
12
|
-
isCliError,
|
|
13
11
|
literal,
|
|
14
12
|
looseObject,
|
|
15
13
|
maxLength,
|
|
@@ -23,7 +21,11 @@ import {
|
|
|
23
21
|
safeParse,
|
|
24
22
|
string,
|
|
25
23
|
trim
|
|
26
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-O3K46QRL.js";
|
|
25
|
+
import {
|
|
26
|
+
CliError,
|
|
27
|
+
isCliError
|
|
28
|
+
} from "./chunk-ITD7WI23.js";
|
|
27
29
|
import {
|
|
28
30
|
__name
|
|
29
31
|
} from "./chunk-ZVVMGPBJ.js";
|