@wirecat/drive-cli 0.68.0 → 0.69.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-BU6XUFUP.js → all-profiles-B4A737YW.js} +20 -30
- package/dist/bundle/{anthropic-ZP5B7S2Z.js → anthropic-RZGPDESM.js} +3 -3
- package/dist/bundle/{app-server-EB4DH6T7.js → app-server-OWEW7DY5.js} +47 -63
- package/dist/bundle/{bun-PWMM6L45.js → bun-V5QLYBZU.js} +2 -2
- package/dist/bundle/{bun-sqlite-6VPR2SVC.js → bun-sqlite-KHLHXXGH.js} +4 -4
- package/dist/bundle/{chunk-7TNQZKRD.js → chunk-22SH77TG.js} +65 -64
- package/dist/bundle/{chunk-MLSXHTUB.js → chunk-25FT44S3.js} +1480 -464
- package/dist/bundle/{chunk-5G2BY4B6.js → chunk-2DS2TDGW.js} +29 -28
- package/dist/bundle/{chunk-PGPHEC2X.js → chunk-2Q4CB4EI.js} +1 -1
- package/dist/bundle/{chunk-74NCZKRW.js → chunk-2VFAXC6O.js} +13 -13
- package/dist/bundle/{chunk-NV75QPML.js → chunk-376ZGVUZ.js} +4 -4
- package/dist/bundle/{chunk-6WAC2LOS.js → chunk-3RLRJHAI.js} +1558 -928
- package/dist/bundle/{chunk-QVJMFZFW.js → chunk-3URYKAJP.js} +1 -1
- package/dist/bundle/{chunk-UYBLNGZ2.js → chunk-3YKAFLXY.js} +1 -1
- package/dist/bundle/{chunk-CMWFYZ45.js → chunk-4J5GJJ2I.js} +1 -1
- package/dist/bundle/{chunk-QKY24RWV.js → chunk-4YECZ6CN.js} +11 -11
- package/dist/bundle/{chunk-FAMXUI2X.js → chunk-4ZFO2CVH.js} +4 -4
- package/dist/bundle/{chunk-IVOG6T6P.js → chunk-533XOW74.js} +2 -2
- package/dist/bundle/{chunk-Q6BD6RUH.js → chunk-5B5NOAIA.js} +100 -55
- package/dist/bundle/{chunk-MW46BLWH.js → chunk-5SJZDEIO.js} +2 -0
- package/dist/bundle/{chunk-CVAJMRRD.js → chunk-6D44YQ5X.js} +5 -5
- package/dist/bundle/{chunk-EOC7RHJ2.js → chunk-6EL5AVXX.js} +3 -5
- package/dist/bundle/{chunk-TI2OANJZ.js → chunk-6XNTELM5.js} +1 -1
- package/dist/bundle/{chunk-WUFZGPXX.js → chunk-AD7VI3XU.js} +6 -6
- package/dist/bundle/{chunk-YUGTJBV3.js → chunk-AMQGKMLZ.js} +2 -2
- package/dist/bundle/{chunk-SOS4U2RF.js → chunk-BBJVV4E2.js} +24 -25
- package/dist/bundle/{chunk-JMZQBRRZ.js → chunk-BVVXYZSU.js} +5 -5
- package/dist/bundle/{chunk-AIEMFRBU.js → chunk-CAQ5GW3A.js} +1 -1
- package/dist/bundle/{chunk-PWIEOATY.js → chunk-CDSB7WVG.js} +323 -12
- package/dist/bundle/{chunk-KPKIHJIT.js → chunk-CU6RATZH.js} +3 -3
- package/dist/bundle/{chunk-43NEDPXB.js → chunk-CZ4UEXCE.js} +4 -4
- package/dist/bundle/{chunk-UFPRP7MG.js → chunk-E7URRFBB.js} +7 -7
- package/dist/bundle/{chunk-YYIWPH53.js → chunk-EL2E3ABX.js} +12 -12
- package/dist/bundle/{chunk-MWCPKUU4.js → chunk-EWUQIUTB.js} +4 -4
- package/dist/bundle/{chunk-7A77GYCE.js → chunk-F5UUJU6R.js} +2 -2
- package/dist/bundle/{chunk-O7T3WGCV.js → chunk-GHFBT2ZM.js} +4 -4
- package/dist/bundle/{chunk-7BXVI7XF.js → chunk-GK6KXBL6.js} +1 -1
- package/dist/bundle/{chunk-5W65QTYS.js → chunk-GTDCP5OG.js} +3 -3
- package/dist/bundle/{chunk-GTLXBAJV.js → chunk-HEBZCKMU.js} +1669 -662
- package/dist/bundle/{chunk-AXYG2DDY.js → chunk-I55XYREN.js} +636 -227
- package/dist/bundle/{chunk-UUQJVKPB.js → chunk-IQ2QU2X6.js} +1608 -1096
- package/dist/bundle/{chunk-ULNN3LCY.js → chunk-KUQDBWPU.js} +40 -32
- package/dist/bundle/{chunk-6QR7NKMG.js → chunk-L342KHIZ.js} +105 -1
- package/dist/bundle/{chunk-DYLYH7VE.js → chunk-LRCSDAYK.js} +3 -3
- package/dist/bundle/{chunk-QTRYJZL7.js → chunk-LUZRVBQR.js} +4 -4
- package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-MHXZ62CU.js} +1 -1
- package/dist/bundle/{chunk-WGX4DZPW.js → chunk-N4ACIIQB.js} +2 -2
- package/dist/bundle/{chunk-DU23ET2O.js → chunk-NVDR72GP.js} +19 -19
- package/dist/bundle/{chunk-F7KAMSXA.js → chunk-O6PD7RZY.js} +2 -2
- package/dist/bundle/{chunk-JZ3MT7IE.js → chunk-OOIAJRKQ.js} +1 -1
- package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-OUM4ZO53.js} +1 -1
- package/dist/bundle/{chunk-ZSVMZH5O.js → chunk-PB6NWKH3.js} +2 -2
- package/dist/bundle/{chunk-EEE4H2PA.js → chunk-QJGFQRTL.js} +10 -10
- package/dist/bundle/chunk-RLGQMMYE.js +707 -0
- package/dist/bundle/{chunk-CRIEW4FP.js → chunk-RWQ7T4Y5.js} +2 -2
- package/dist/bundle/{chunk-EXWZCI5G.js → chunk-SEJBS7SI.js} +1 -1
- package/dist/bundle/{chunk-CK2SQ2CE.js → chunk-SY2HLH5R.js} +32 -19
- package/dist/bundle/{chunk-6HFZZ2PW.js → chunk-SYUXKV2E.js} +1 -1
- package/dist/bundle/{chunk-ZAIE3G5I.js → chunk-T4FMXDDV.js} +2 -2
- package/dist/bundle/{chunk-U52QE4QV.js → chunk-T6X6EZ5N.js} +3 -3
- package/dist/bundle/{chunk-Z5BMYI2V.js → chunk-TZ75K6R7.js} +6 -6
- package/dist/bundle/{chunk-D4MVEOU2.js → chunk-U3RXH6RY.js} +1 -1
- package/dist/bundle/{chunk-QRSPFCRY.js → chunk-V4FMN5A6.js} +16 -16
- package/dist/bundle/{chunk-QWGEOQHA.js → chunk-VUPWDCYV.js} +1 -1
- package/dist/bundle/{chunk-WCNTDETD.js → chunk-WNMPIRRF.js} +98 -6
- package/dist/bundle/{chunk-RT5NT62B.js → chunk-WOUIHZRI.js} +13 -15
- package/dist/bundle/{chunk-UIKVP23D.js → chunk-WQOGHND4.js} +1 -1
- package/dist/bundle/{chunk-2VYEGKQ3.js → chunk-XUHQ7DVT.js} +1 -1
- package/dist/bundle/{chunk-DIZBJLPM.js → chunk-XVH3WZSZ.js} +45 -55
- package/dist/bundle/{chunk-MOKEB656.js → chunk-ZBYKCVSV.js} +1 -1
- package/dist/bundle/{chunk-BXHFJTU5.js → chunk-ZUG67442.js} +2 -2
- package/dist/bundle/{cli-L7P36YUH.js → cli-BS4L3HAP.js} +100 -70
- package/dist/bundle/{command-contract-EYFGMKIG.js → command-contract-HYURWSD6.js} +16 -17
- package/dist/bundle/{command-server-entry-H3VGPOLJ.js → command-server-entry-CJ2CV7ZV.js} +23 -24
- package/dist/bundle/{decode-JEU6JWCV.js → decode-E2NM5SSM.js} +3 -3
- package/dist/bundle/drive.js +4 -4
- package/dist/bundle/{echarts-SDZA2SWG.js → echarts-QIXLXS3G.js} +2 -2
- package/dist/bundle/{embed-WUKOASQG.js → embed-YNZW5X6M.js} +4 -4
- package/dist/bundle/{embedder-UBRAXRDZ.js → embedder-LRC2PKTS.js} +7 -7
- package/dist/bundle/{entry-C4NUQFTF.js → entry-2IMSWRJU.js} +7 -7
- package/dist/bundle/{first-run-PKHBS7B4.js → first-run-7CPHQDM5.js} +7 -7
- package/dist/bundle/first-screen-OKZ7GMFR.js +38 -0
- package/dist/bundle/{google-XXHSMTVK.js → google-WDKDBDD4.js} +15 -15
- package/dist/bundle/{google-api-SQQ4BSNR.js → google-api-7JDZDCWE.js} +52 -53
- package/dist/bundle/{grants-2U4JVT6O.js → grants-AU25GWKF.js} +57 -58
- package/dist/bundle/{identity-SRL6RSU2.js → identity-E43WKN5F.js} +1 -1
- package/dist/bundle/{instructions-7T6JJIFS.js → instructions-MD2RZT5Z.js} +1 -1
- package/dist/bundle/{login-N243GGEE.js → login-RBDJPQAG.js} +57 -58
- package/dist/bundle/{node-BZDMUFTW.js → node-IEVT2FSJ.js} +2 -2
- package/dist/bundle/{node-sqlite-SZQCCMV2.js → node-sqlite-IENH4TRX.js} +5 -5
- package/dist/bundle/{oauth-CMAFXX6A.js → oauth-3JGSN47Z.js} +5 -5
- package/dist/bundle/{open-RVTPKDA3.js → open-TZ5H7NYM.js} +3 -3
- package/dist/bundle/{openai-6NN63BMH.js → openai-XF2KB7W2.js} +14 -14
- package/dist/bundle/{process-756VBE7E.js → process-6Q23D3TO.js} +1 -1
- package/dist/bundle/{program-B4QBJYB5.js → program-D5XWOHV5.js} +86 -89
- package/dist/bundle/{prompt-HGP2DSRW.js → prompt-KUC5D4GX.js} +3 -3
- package/dist/bundle/{recognize-26SHB7HI.js → recognize-DPFW7HO3.js} +2 -2
- package/dist/bundle/{remote-Z4PWHZ5N.js → remote-MODTSUNH.js} +8 -8
- package/dist/bundle/{rerank-QHJZJK3Q.js → rerank-JK7SERLE.js} +5 -5
- package/dist/bundle/{serve-MYJW5IEM.js → serve-BV2WHZLW.js} +7 -7
- package/dist/bundle/server-6YDI4Y36.js +72 -0
- package/dist/bundle/{server-XFW3V7CR.js → server-N3WPEU7Z.js} +45 -44
- package/dist/bundle/{services-IQG2RVTO.js → services-SV6CFUCS.js} +42 -27
- package/dist/bundle/{sqlite-runtime-X4GB5PBV.js → sqlite-runtime-RZ5PLZVQ.js} +4 -4
- package/dist/bundle/{state-ATQK2X3W.js → state-RAZIREVG.js} +4 -4
- package/dist/bundle/{store-QUBUPK6F.js → store-2DLGLYS6.js} +18 -14
- package/dist/bundle/{store-MEHEUOJH.js → store-DQKJKX2G.js} +12 -12
- package/dist/bundle/store-maintenance-command-UJ5F5L4H.js +64 -0
- package/dist/bundle/tokens-LY3WML55.js +110 -0
- package/dist/policy.d.ts +1 -1
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +3 -3
- package/dist/policy.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-2UHQVRH2.js +0 -1235
- package/dist/bundle/chunk-J5LXL435.js +0 -1316
- package/dist/bundle/chunk-R5FTCNLJ.js +0 -76
- package/dist/bundle/first-screen-QOVOM4BF.js +0 -39
- package/dist/bundle/server-HBZPIHDX.js +0 -74
- package/dist/bundle/store-maintenance-command-33ULVDWY.js +0 -65
- package/dist/bundle/tokens-A2GP4F34.js +0 -111
|
@@ -3,33 +3,33 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-LRCSDAYK.js";
|
|
7
|
+
import "./chunk-EL2E3ABX.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4ZFO2CVH.js";
|
|
11
11
|
import {
|
|
12
12
|
refuseModelAddress
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-GHFBT2ZM.js";
|
|
14
|
+
import "./chunk-EWUQIUTB.js";
|
|
15
15
|
import "./chunk-5DPV7X27.js";
|
|
16
16
|
import {
|
|
17
17
|
endpointFetch,
|
|
18
18
|
providerWaitMs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-L342KHIZ.js";
|
|
20
20
|
import {
|
|
21
21
|
OPENAI_TRANSCRIBE_MODEL,
|
|
22
22
|
VAD,
|
|
23
23
|
filesPresent,
|
|
24
24
|
modelsDirectory,
|
|
25
25
|
vadPath
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-GTDCP5OG.js";
|
|
27
|
+
import "./chunk-CDSB7WVG.js";
|
|
28
|
+
import "./chunk-RWQ7T4Y5.js";
|
|
29
29
|
import {
|
|
30
30
|
DEFAULT_RETRY,
|
|
31
31
|
backoffMs
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5SJZDEIO.js";
|
|
33
33
|
import "./chunk-PV3AWPHR.js";
|
|
34
34
|
import "./chunk-Y5E2WNWB.js";
|
|
35
35
|
import "./chunk-HCZYJMBP.js";
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
__name
|
|
43
43
|
} from "./chunk-ZVVMGPBJ.js";
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
45
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
46
46
|
import { setTimeout as wait } from "node:timers/promises";
|
|
47
47
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
48
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
49
49
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
50
50
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
51
51
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -66,7 +66,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
66
66
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
67
67
|
}, "encodeWav");
|
|
68
68
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
69
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
70
70
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
71
71
|
var JOINED_SECONDS = 0.2;
|
|
72
72
|
var PAD_SECONDS = 0.2;
|
|
@@ -189,7 +189,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
189
189
|
return pieces;
|
|
190
190
|
}, "piecesOf");
|
|
191
191
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
192
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
192
|
+
const { openSpeechCutter } = await import("./recognize-DPFW7HO3.js");
|
|
193
193
|
return openSpeechCutter(vadModel);
|
|
194
194
|
}, "openCutter");
|
|
195
195
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/embeddings/process.js
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_ENTRIES,
|
|
5
5
|
supported,
|
|
6
6
|
tooManyEntries
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OOIAJRKQ.js";
|
|
8
8
|
import {
|
|
9
9
|
ACCOUNT_FREE_COMMANDS,
|
|
10
10
|
ANY_PROFILE_COMMANDS,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
describeDriveProgram,
|
|
16
16
|
examples,
|
|
17
17
|
markProfileFree
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AMQGKMLZ.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULTS_ONLY,
|
|
21
21
|
DEFAULT_LEVELS,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
unknownProfile,
|
|
74
74
|
withDefaults,
|
|
75
75
|
writeConfig
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-WOUIHZRI.js";
|
|
77
77
|
import {
|
|
78
78
|
DOC,
|
|
79
79
|
DOCUMENT_LIST_FIELDS,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
syncDocuments,
|
|
97
97
|
syncMirrors,
|
|
98
98
|
watchMirrors
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-NVDR72GP.js";
|
|
100
100
|
import {
|
|
101
101
|
apiMethod,
|
|
102
102
|
apiMethods,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
schemas,
|
|
106
106
|
validateApiParams,
|
|
107
107
|
validateRequest
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-GK6KXBL6.js";
|
|
109
109
|
import {
|
|
110
110
|
operations
|
|
111
111
|
} from "./chunk-NYECVHFH.js";
|
|
@@ -143,68 +143,69 @@ import {
|
|
|
143
143
|
signInSteps,
|
|
144
144
|
skillCommand,
|
|
145
145
|
upgradeCommand
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
-
import "./chunk-
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
146
|
+
} from "./chunk-IQ2QU2X6.js";
|
|
147
|
+
import "./chunk-SEJBS7SI.js";
|
|
148
|
+
import "./chunk-6XNTELM5.js";
|
|
149
|
+
import "./chunk-KUQDBWPU.js";
|
|
150
|
+
import "./chunk-SY2HLH5R.js";
|
|
151
151
|
import {
|
|
152
152
|
storeInfo
|
|
153
|
-
} from "./chunk-
|
|
154
|
-
import "./chunk-
|
|
155
|
-
import "./chunk-
|
|
153
|
+
} from "./chunk-22SH77TG.js";
|
|
154
|
+
import "./chunk-TZ75K6R7.js";
|
|
155
|
+
import "./chunk-2DS2TDGW.js";
|
|
156
|
+
import "./chunk-RLGQMMYE.js";
|
|
156
157
|
import {
|
|
157
158
|
LIST_QUERY_GUIDE,
|
|
159
|
+
RecipientList,
|
|
160
|
+
SendJournal,
|
|
158
161
|
listQuery,
|
|
159
162
|
nativeField,
|
|
163
|
+
newOperationId,
|
|
160
164
|
queryHelp,
|
|
161
165
|
queryTerms,
|
|
166
|
+
sendGuard,
|
|
162
167
|
termField,
|
|
163
168
|
typedQuery,
|
|
164
169
|
unfilteredQuery,
|
|
165
170
|
withQuery
|
|
166
|
-
} from "./chunk-
|
|
167
|
-
import {
|
|
168
|
-
RecipientList,
|
|
169
|
-
SendJournal,
|
|
170
|
-
newOperationId,
|
|
171
|
-
sendGuard
|
|
172
|
-
} from "./chunk-GTLXBAJV.js";
|
|
171
|
+
} from "./chunk-HEBZCKMU.js";
|
|
173
172
|
import {
|
|
174
173
|
columnName,
|
|
175
174
|
modelGateway,
|
|
176
175
|
readSpreadsheet
|
|
177
|
-
} from "./chunk-
|
|
178
|
-
import "./chunk-
|
|
179
|
-
import "./chunk-
|
|
176
|
+
} from "./chunk-5B5NOAIA.js";
|
|
177
|
+
import "./chunk-EL2E3ABX.js";
|
|
178
|
+
import "./chunk-LUZRVBQR.js";
|
|
180
179
|
import "./chunk-HTQTIKWP.js";
|
|
181
|
-
import "./chunk-
|
|
180
|
+
import "./chunk-4YECZ6CN.js";
|
|
182
181
|
import {
|
|
183
182
|
latestVersion,
|
|
184
183
|
runUpdate,
|
|
185
184
|
updateNotice
|
|
186
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-U3RXH6RY.js";
|
|
187
186
|
import "./chunk-FIVFP53N.js";
|
|
188
|
-
import "./chunk-
|
|
189
|
-
import "./chunk-
|
|
190
|
-
import "./chunk-
|
|
191
|
-
import "./chunk-
|
|
192
|
-
import "./chunk-
|
|
193
|
-
import "./chunk-
|
|
187
|
+
import "./chunk-QJGFQRTL.js";
|
|
188
|
+
import "./chunk-376ZGVUZ.js";
|
|
189
|
+
import "./chunk-T6X6EZ5N.js";
|
|
190
|
+
import "./chunk-O6PD7RZY.js";
|
|
191
|
+
import "./chunk-4ZFO2CVH.js";
|
|
192
|
+
import "./chunk-GHFBT2ZM.js";
|
|
194
193
|
import {
|
|
195
194
|
applyDocumentTransfer,
|
|
196
195
|
previewDocumentTransfer
|
|
197
|
-
} from "./chunk-
|
|
198
|
-
import "./chunk-
|
|
196
|
+
} from "./chunk-V4FMN5A6.js";
|
|
197
|
+
import "./chunk-EWUQIUTB.js";
|
|
199
198
|
import "./chunk-5DPV7X27.js";
|
|
200
|
-
import "./chunk-
|
|
201
|
-
import "./chunk-
|
|
202
|
-
import "./chunk-
|
|
203
|
-
import "./chunk-
|
|
204
|
-
import "./chunk-
|
|
199
|
+
import "./chunk-BVVXYZSU.js";
|
|
200
|
+
import "./chunk-MHXZ62CU.js";
|
|
201
|
+
import "./chunk-XUHQ7DVT.js";
|
|
202
|
+
import "./chunk-PB6NWKH3.js";
|
|
203
|
+
import "./chunk-6EL5AVXX.js";
|
|
205
204
|
import {
|
|
205
|
+
CEILING_KEY,
|
|
206
206
|
FETCH,
|
|
207
207
|
InvalidArgumentError,
|
|
208
|
+
LEVELS,
|
|
208
209
|
LOCAL_READ,
|
|
209
210
|
LOCAL_WRITE,
|
|
210
211
|
NO_EFFECTS,
|
|
@@ -219,13 +220,17 @@ import {
|
|
|
219
220
|
fetchesOnly,
|
|
220
221
|
flatten,
|
|
221
222
|
grantsAuthority,
|
|
223
|
+
guardedWrite,
|
|
222
224
|
hasSharedContract,
|
|
223
225
|
itemOf,
|
|
224
226
|
jsonlRecords,
|
|
227
|
+
layerPermissions,
|
|
228
|
+
levelFor,
|
|
225
229
|
listOf,
|
|
226
230
|
metaOf,
|
|
227
231
|
outputFor,
|
|
228
232
|
overrideSharedContract,
|
|
233
|
+
parseDuration,
|
|
229
234
|
refuseCommandName,
|
|
230
235
|
renderAnswer,
|
|
231
236
|
resolveAISettings,
|
|
@@ -233,42 +238,34 @@ import {
|
|
|
233
238
|
settingRows,
|
|
234
239
|
sharedContracts,
|
|
235
240
|
snakeKeys
|
|
236
|
-
} from "./chunk-
|
|
237
|
-
import "./chunk-WUFZGPXX.js";
|
|
238
|
-
import {
|
|
239
|
-
CEILING_KEY,
|
|
240
|
-
LEVELS,
|
|
241
|
-
guardedWrite,
|
|
242
|
-
layerPermissions,
|
|
243
|
-
levelFor,
|
|
244
|
-
parseDuration
|
|
245
|
-
} from "./chunk-J5LXL435.js";
|
|
241
|
+
} from "./chunk-25FT44S3.js";
|
|
246
242
|
import {
|
|
247
243
|
modelTarget
|
|
248
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-F5UUJU6R.js";
|
|
245
|
+
import "./chunk-AD7VI3XU.js";
|
|
249
246
|
import {
|
|
250
247
|
setupPermissionCeiling
|
|
251
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-CU6RATZH.js";
|
|
252
249
|
import {
|
|
253
250
|
readOnlyLockOf,
|
|
254
251
|
readOnlyRefusal
|
|
255
|
-
} from "./chunk-
|
|
256
|
-
import "./chunk-
|
|
252
|
+
} from "./chunk-ZBYKCVSV.js";
|
|
253
|
+
import "./chunk-WQOGHND4.js";
|
|
257
254
|
import {
|
|
258
255
|
hostFetch
|
|
259
|
-
} from "./chunk-
|
|
260
|
-
import "./chunk-
|
|
261
|
-
import "./chunk-
|
|
262
|
-
import "./chunk-
|
|
263
|
-
import "./chunk-
|
|
256
|
+
} from "./chunk-L342KHIZ.js";
|
|
257
|
+
import "./chunk-533XOW74.js";
|
|
258
|
+
import "./chunk-GTDCP5OG.js";
|
|
259
|
+
import "./chunk-T4FMXDDV.js";
|
|
260
|
+
import "./chunk-2Q4CB4EI.js";
|
|
264
261
|
import {
|
|
265
262
|
CATALOG_QUERY,
|
|
266
263
|
IMPORTED_DOCUMENT_QUERY,
|
|
267
264
|
openStore
|
|
268
|
-
} from "./chunk-
|
|
269
|
-
import "./chunk-
|
|
270
|
-
import "./chunk-
|
|
271
|
-
import "./chunk-
|
|
265
|
+
} from "./chunk-3RLRJHAI.js";
|
|
266
|
+
import "./chunk-ZUG67442.js";
|
|
267
|
+
import "./chunk-E7URRFBB.js";
|
|
268
|
+
import "./chunk-6D44YQ5X.js";
|
|
272
269
|
import {
|
|
273
270
|
FACT_STATUSES,
|
|
274
271
|
FACT_TYPES,
|
|
@@ -276,7 +273,7 @@ import {
|
|
|
276
273
|
MEMORY_SCOPES,
|
|
277
274
|
MEMORY_STATUSES,
|
|
278
275
|
inRun
|
|
279
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-I55XYREN.js";
|
|
280
277
|
import {
|
|
281
278
|
defineQuery,
|
|
282
279
|
parseLucene,
|
|
@@ -285,10 +282,10 @@ import {
|
|
|
285
282
|
validateQuery,
|
|
286
283
|
zonedMoment
|
|
287
284
|
} from "./chunk-UPCEHSIZ.js";
|
|
288
|
-
import "./chunk-
|
|
289
|
-
import "./chunk-
|
|
290
|
-
import "./chunk-
|
|
291
|
-
import "./chunk-
|
|
285
|
+
import "./chunk-VUPWDCYV.js";
|
|
286
|
+
import "./chunk-3YKAFLXY.js";
|
|
287
|
+
import "./chunk-CDSB7WVG.js";
|
|
288
|
+
import "./chunk-3URYKAJP.js";
|
|
292
289
|
import "./chunk-D72URWJE.js";
|
|
293
290
|
import {
|
|
294
291
|
installerOf
|
|
@@ -297,20 +294,20 @@ import {
|
|
|
297
294
|
DRIVE_APP,
|
|
298
295
|
PACKAGE,
|
|
299
296
|
VERSION
|
|
300
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-SYUXKV2E.js";
|
|
301
298
|
import {
|
|
302
299
|
REASONS
|
|
303
300
|
} from "./chunk-7JKECODO.js";
|
|
304
301
|
import "./chunk-XWBPP2HX.js";
|
|
305
|
-
import "./chunk-
|
|
302
|
+
import "./chunk-OUM4ZO53.js";
|
|
306
303
|
import {
|
|
307
304
|
storePath
|
|
308
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-RWQ7T4Y5.js";
|
|
309
306
|
import {
|
|
310
307
|
processStreams,
|
|
311
308
|
saveConfigFile,
|
|
312
309
|
writeSecurely
|
|
313
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-5SJZDEIO.js";
|
|
314
311
|
import "./chunk-PV3AWPHR.js";
|
|
315
312
|
import "./chunk-Y5E2WNWB.js";
|
|
316
313
|
import "./chunk-HCZYJMBP.js";
|
|
@@ -2180,7 +2177,7 @@ var profileLocked2 = /* @__PURE__ */ __name((env, name) => import_proper_lockfil
|
|
|
2180
2177
|
var removal = {
|
|
2181
2178
|
signOut: /* @__PURE__ */ __name(async (profile, { env, keyring, mayRevoke }) => {
|
|
2182
2179
|
const storage = readConfig(env).profiles[profile]?.storage ?? "keyring";
|
|
2183
|
-
const { sessionKeeper } = await import("./tokens-
|
|
2180
|
+
const { sessionKeeper } = await import("./tokens-LY3WML55.js");
|
|
2184
2181
|
const { revoked } = await sessionKeeper({
|
|
2185
2182
|
env,
|
|
2186
2183
|
name: profile,
|
|
@@ -2494,11 +2491,11 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((env, what) => {
|
|
|
2494
2491
|
}, "refuseUnderReadOnly");
|
|
2495
2492
|
var checkPolicy = /* @__PURE__ */ __name(async (env, profile, key, mutates, flags = {}, ask) => {
|
|
2496
2493
|
const { levels, readOnly, lock } = policySettings(env, profile, flags);
|
|
2497
|
-
const { level
|
|
2494
|
+
const { level } = levelFor(levels, key, DEFAULT_LEVELS);
|
|
2498
2495
|
if (mutates && lock)
|
|
2499
2496
|
throw readOnlyRefusal(lock, "change local or Google data");
|
|
2500
|
-
const
|
|
2501
|
-
if (level === "deny" || mutates && !
|
|
2497
|
+
const fetchOnly = flags.fetches === true && flags.readOnly !== true;
|
|
2498
|
+
if (level === "deny" || mutates && !fetchOnly && (readOnly || level === "readonly"))
|
|
2502
2499
|
throw new CliError("permission_error", "profile policy refuses this operation", {
|
|
2503
2500
|
reason: "policy.denied",
|
|
2504
2501
|
permission: key
|
|
@@ -2696,7 +2693,7 @@ var installModelCommands = /* @__PURE__ */ __name((program, { env, output, strea
|
|
|
2696
2693
|
const download = /* @__PURE__ */ __name(async (kind, id, acceptTerms) => {
|
|
2697
2694
|
if (policyFlags().offline)
|
|
2698
2695
|
throw offlineRefused("downloading a model needs the network");
|
|
2699
|
-
const { downloadImageModel, downloadTextModel } = await import("./services-
|
|
2696
|
+
const { downloadImageModel, downloadTextModel } = await import("./services-SV6CFUCS.js");
|
|
2700
2697
|
const progress = /* @__PURE__ */ __name((line) => {
|
|
2701
2698
|
if (!program.opts().quiet)
|
|
2702
2699
|
streams.diagnostic(line);
|
|
@@ -22466,7 +22463,7 @@ var installSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22466
22463
|
const app = application(env, { file: args.clientFile, clientId: args.clientId, profile: selected() });
|
|
22467
22464
|
if (!app.clientSecret)
|
|
22468
22465
|
streams.diagnostic("your Google app has no secret here, and Google refuses a Desktop app without one: set DRIVE_GOOGLE_CLIENT_SECRET\n");
|
|
22469
|
-
const { login } = await import("./login-
|
|
22466
|
+
const { login } = await import("./login-RBDJPQAG.js");
|
|
22470
22467
|
output(itemOf(await login({
|
|
22471
22468
|
env,
|
|
22472
22469
|
profile: selected(),
|
|
@@ -22497,7 +22494,7 @@ var installSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22497
22494
|
const name = selected();
|
|
22498
22495
|
const config = readConfig(env);
|
|
22499
22496
|
const profile = activeProfile(env, name);
|
|
22500
|
-
const { credentials } = await import("./tokens-
|
|
22497
|
+
const { credentials } = await import("./tokens-LY3WML55.js");
|
|
22501
22498
|
const store = credentials(env, profile.storage, options.keyring);
|
|
22502
22499
|
store.remove(name);
|
|
22503
22500
|
writeConfig(env, config);
|
|
@@ -22544,7 +22541,7 @@ var selection = /* @__PURE__ */ __name((env, name, source) => {
|
|
|
22544
22541
|
return { profile, state, options: { source, destination, collection: `google-drive:${profile.principal}`, env } };
|
|
22545
22542
|
}, "selection");
|
|
22546
22543
|
var checkStoreImport = /* @__PURE__ */ __name(async (env, name, source, bindings) => {
|
|
22547
|
-
const { ensureSqlite } = await import("./sqlite-runtime-
|
|
22544
|
+
const { ensureSqlite } = await import("./sqlite-runtime-RZ5PLZVQ.js");
|
|
22548
22545
|
await ensureSqlite();
|
|
22549
22546
|
const { state, options } = selection(env, name, source);
|
|
22550
22547
|
const preview = await previewDocumentTransfer({ ...options, bindings });
|
|
@@ -22753,7 +22750,7 @@ var installTranscriptCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22753
22750
|
// dist/commands/upgrade.js
|
|
22754
22751
|
import { join as join8 } from "node:path";
|
|
22755
22752
|
|
|
22756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
22757
22754
|
import { realpathSync } from "node:fs";
|
|
22758
22755
|
import { fileURLToPath } from "node:url";
|
|
22759
22756
|
var npmRegistry = /* @__PURE__ */ __name(() => hostFetch({ hosts: ["registry.npmjs.org"] }), "npmRegistry");
|
|
@@ -23180,7 +23177,7 @@ var openIndex = /* @__PURE__ */ __name(async (env, name, rescan = false) => {
|
|
|
23180
23177
|
activeProfile(env, name);
|
|
23181
23178
|
if (env.DRIVE_STORE)
|
|
23182
23179
|
throw new CliError("configuration_error", "DRIVE_STORE has been retired; use MESSAGING_STORE to select the shared database", { reason: "store.override-retired" });
|
|
23183
|
-
const { openAppStore } = await import("./cli-
|
|
23180
|
+
const { openAppStore } = await import("./cli-BS4L3HAP.js");
|
|
23184
23181
|
const store = await openAppStore(env, { app: { command: "drive", version: VERSION }, provider: DRIVE_PROVIDER });
|
|
23185
23182
|
const index = indexOver(store, env);
|
|
23186
23183
|
try {
|
|
@@ -23231,7 +23228,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23231
23228
|
linkMessages: /* @__PURE__ */ __name((documents, since) => store.notes.linkMessages({ documents, ...since ? { since } : {} }), "linkMessages"),
|
|
23232
23229
|
knowledge: documentKnowledge2(store, async (principal) => (await folder(principal, false))?.id),
|
|
23233
23230
|
openPictures: /* @__PURE__ */ __name(async () => {
|
|
23234
|
-
const { openPictureEmbedderFor, savePicture } = await import("./services-
|
|
23231
|
+
const { openPictureEmbedderFor, savePicture } = await import("./services-SV6CFUCS.js");
|
|
23235
23232
|
const embedder = pictureEmbedder ?? await openPictureEmbedderFor({ env, command: "drive" });
|
|
23236
23233
|
return {
|
|
23237
23234
|
save: /* @__PURE__ */ __name((reference, bytes) => savePicture(store, { ref: reference }, bytes, { embedder }), "save"),
|
|
@@ -23250,7 +23247,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23250
23247
|
has_more: false,
|
|
23251
23248
|
meaning_skipped: "this Google account has no imported sources"
|
|
23252
23249
|
};
|
|
23253
|
-
const { searchNotes } = await import("./services-
|
|
23250
|
+
const { searchNotes } = await import("./services-SV6CFUCS.js");
|
|
23254
23251
|
const result = await searchNotes(store, query, {
|
|
23255
23252
|
...options,
|
|
23256
23253
|
folderIds: selected ? [selected.id] : [],
|
|
@@ -23283,7 +23280,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23283
23280
|
};
|
|
23284
23281
|
}, "search"),
|
|
23285
23282
|
embed: /* @__PURE__ */ __name(async (max) => {
|
|
23286
|
-
const { embedNotes } = await import("./services-
|
|
23283
|
+
const { embedNotes } = await import("./services-SV6CFUCS.js");
|
|
23287
23284
|
return embedNotes(store, { maxChunks: max, env, command: "drive" });
|
|
23288
23285
|
}, "embed"),
|
|
23289
23286
|
close: /* @__PURE__ */ __name(() => store.close(), "close")
|
|
@@ -23570,7 +23567,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23570
23567
|
}, "output");
|
|
23571
23568
|
const signal = /* @__PURE__ */ __name(() => environment().signal, "signal");
|
|
23572
23569
|
const signedIn = /* @__PURE__ */ __name(async (name, scope2) => {
|
|
23573
|
-
const { authorizedClient, checkAuthorization } = await import("./tokens-
|
|
23570
|
+
const { authorizedClient, checkAuthorization } = await import("./tokens-LY3WML55.js");
|
|
23574
23571
|
const client = authorizedClient(env, name, environment().keyring, signal());
|
|
23575
23572
|
await checkAuthorization(client, scope2);
|
|
23576
23573
|
return client;
|
|
@@ -23580,7 +23577,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23580
23577
|
const fake = environment().source;
|
|
23581
23578
|
if (fake)
|
|
23582
23579
|
return fake(name);
|
|
23583
|
-
const [{ googleSource }, client] = await Promise.all([import("./google-
|
|
23580
|
+
const [{ googleSource }, client] = await Promise.all([import("./google-WDKDBDD4.js"), signedIn(name)]);
|
|
23584
23581
|
return googleSource(client);
|
|
23585
23582
|
}, "source");
|
|
23586
23583
|
const withIndex = /* @__PURE__ */ __name(async (fn, profile) => {
|
|
@@ -23725,7 +23722,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23725
23722
|
if (fake)
|
|
23726
23723
|
return await fake.call(method, params, body);
|
|
23727
23724
|
const [{ googleApi }, client] = await Promise.all([
|
|
23728
|
-
import("./google-api-
|
|
23725
|
+
import("./google-api-7JDZDCWE.js"),
|
|
23729
23726
|
signedIn(selected(), descriptor.scope)
|
|
23730
23727
|
]);
|
|
23731
23728
|
return await googleApi(client).call(method, params, body);
|
|
@@ -23751,7 +23748,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23751
23748
|
if (fake)
|
|
23752
23749
|
return fake(id, mime);
|
|
23753
23750
|
const [{ googleDownload }, client] = await Promise.all([
|
|
23754
|
-
import("./google-api-
|
|
23751
|
+
import("./google-api-7JDZDCWE.js"),
|
|
23755
23752
|
signedIn(selected(), apiMethod(method).scope)
|
|
23756
23753
|
]);
|
|
23757
23754
|
return googleDownload(client)(id, mime);
|
|
@@ -23769,7 +23766,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23769
23766
|
let request = environment().uploadRequest;
|
|
23770
23767
|
if (!request) {
|
|
23771
23768
|
const [{ googleUploadRequest }, client] = await Promise.all([
|
|
23772
|
-
import("./google-api-
|
|
23769
|
+
import("./google-api-7JDZDCWE.js"),
|
|
23773
23770
|
signedIn(selected(), apiMethod(method).scope)
|
|
23774
23771
|
]);
|
|
23775
23772
|
request = googleUploadRequest(client);
|
|
@@ -23982,7 +23979,7 @@ var mcpCommand = /* @__PURE__ */ __name(() => {
|
|
|
23982
23979
|
const environment = environmentOf(action);
|
|
23983
23980
|
if (environment.api)
|
|
23984
23981
|
return;
|
|
23985
|
-
const { grantAvailability } = await import("./grants-
|
|
23982
|
+
const { grantAvailability } = await import("./grants-AU25GWKF.js");
|
|
23986
23983
|
availability = grantAvailability(rootOf(root), environment.env ?? process.env, environment.keyring);
|
|
23987
23984
|
});
|
|
23988
23985
|
}, "mcpCommand");
|
|
@@ -3,9 +3,9 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
pasteHint,
|
|
5
5
|
readSecret
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-T4FMXDDV.js";
|
|
7
|
+
import "./chunk-2Q4CB4EI.js";
|
|
8
|
+
import "./chunk-5SJZDEIO.js";
|
|
9
9
|
import "./chunk-PV3AWPHR.js";
|
|
10
10
|
import "./chunk-Y5E2WNWB.js";
|
|
11
11
|
import "./chunk-HCZYJMBP.js";
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
openRecognizer,
|
|
9
9
|
openSpeechCutter,
|
|
10
10
|
toModelRate
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-LRCSDAYK.js";
|
|
12
|
+
import "./chunk-5SJZDEIO.js";
|
|
13
13
|
import "./chunk-PV3AWPHR.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import "./chunk-HCZYJMBP.js";
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
openRemote,
|
|
9
9
|
remoteKey,
|
|
10
10
|
remoteModel
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-4ZFO2CVH.js";
|
|
12
|
+
import "./chunk-GHFBT2ZM.js";
|
|
13
|
+
import "./chunk-EWUQIUTB.js";
|
|
14
14
|
import "./chunk-5DPV7X27.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-L342KHIZ.js";
|
|
16
|
+
import "./chunk-GTDCP5OG.js";
|
|
17
|
+
import "./chunk-CDSB7WVG.js";
|
|
18
|
+
import "./chunk-RWQ7T4Y5.js";
|
|
19
|
+
import "./chunk-5SJZDEIO.js";
|
|
20
20
|
import "./chunk-PV3AWPHR.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
22
|
import "./chunk-HCZYJMBP.js";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
defaultThreads,
|
|
5
5
|
loadModel,
|
|
6
6
|
truncated
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EWUQIUTB.js";
|
|
8
8
|
import "./chunk-5DPV7X27.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-GTDCP5OG.js";
|
|
10
|
+
import "./chunk-RWQ7T4Y5.js";
|
|
11
|
+
import "./chunk-5SJZDEIO.js";
|
|
12
12
|
import "./chunk-PV3AWPHR.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-HCZYJMBP.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
23
23
|
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
24
24
|
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
25
25
|
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-6XNTELM5.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N4ACIIQB.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -20,10 +20,10 @@ 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-376ZGVUZ.js";
|
|
24
|
+
import "./chunk-T6X6EZ5N.js";
|
|
25
|
+
import "./chunk-WQOGHND4.js";
|
|
26
|
+
import "./chunk-5SJZDEIO.js";
|
|
27
27
|
import "./chunk-PV3AWPHR.js";
|
|
28
28
|
import "./chunk-Y5E2WNWB.js";
|
|
29
29
|
import "./chunk-HCZYJMBP.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
__name
|
|
37
37
|
} from "./chunk-ZVVMGPBJ.js";
|
|
38
38
|
|
|
39
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
40
40
|
import { randomUUID } from "node:crypto";
|
|
41
41
|
var MCP_PATH = "/mcp";
|
|
42
42
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|