@wirecat/drive-cli 0.67.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-DVZUVAPQ.js → all-profiles-B4A737YW.js} +20 -30
- package/dist/bundle/{anthropic-Y45C45O2.js → anthropic-RZGPDESM.js} +3 -3
- package/dist/bundle/{app-server-GTXUOUGD.js → app-server-OWEW7DY5.js} +51 -63
- package/dist/bundle/{bun-QVJV76QJ.js → bun-V5QLYBZU.js} +2 -2
- package/dist/bundle/{bun-sqlite-CC7PIAMH.js → bun-sqlite-KHLHXXGH.js} +4 -4
- package/dist/bundle/{chunk-ETAFFY3J.js → chunk-22SH77TG.js} +65 -64
- package/dist/bundle/{chunk-2Y3YBDZX.js → chunk-25FT44S3.js} +1482 -464
- package/dist/bundle/{chunk-YVUAG7RF.js → chunk-2DS2TDGW.js} +29 -28
- package/dist/bundle/{chunk-JJHDV32D.js → chunk-2Q4CB4EI.js} +1 -1
- package/dist/bundle/{chunk-HJF2QGOX.js → chunk-2VFAXC6O.js} +30 -17
- package/dist/bundle/{chunk-ULH3TNUP.js → chunk-376ZGVUZ.js} +4 -4
- package/dist/bundle/{chunk-NWYVOHIX.js → chunk-3RLRJHAI.js} +1646 -976
- package/dist/bundle/{chunk-SXJDCRXE.js → chunk-3URYKAJP.js} +1 -1
- package/dist/bundle/{chunk-7AZCAUST.js → chunk-3YKAFLXY.js} +1 -1
- package/dist/bundle/{chunk-MF46W7PQ.js → chunk-4J5GJJ2I.js} +1 -1
- package/dist/bundle/{chunk-3RG6LL25.js → chunk-4YECZ6CN.js} +11 -11
- package/dist/bundle/{chunk-SJE7UGOW.js → chunk-4ZFO2CVH.js} +4 -4
- package/dist/bundle/{chunk-UFNE57VY.js → chunk-533XOW74.js} +2 -2
- package/dist/bundle/{chunk-6ERQE4FS.js → chunk-5B5NOAIA.js} +100 -55
- package/dist/bundle/{chunk-MW46BLWH.js → chunk-5SJZDEIO.js} +2 -0
- package/dist/bundle/{chunk-RC72RU66.js → chunk-6D44YQ5X.js} +5 -5
- package/dist/bundle/{chunk-2MEVCMBW.js → chunk-6EL5AVXX.js} +3 -5
- package/dist/bundle/{chunk-ZU5VQYNY.js → chunk-6XNTELM5.js} +1 -1
- package/dist/bundle/{chunk-7J2IP3WL.js → chunk-AD7VI3XU.js} +6 -6
- package/dist/bundle/{chunk-Y5WSRG3F.js → chunk-AMQGKMLZ.js} +2 -2
- package/dist/bundle/{chunk-UOAHZV3K.js → chunk-BBJVV4E2.js} +28 -29
- package/dist/bundle/{chunk-XZCF5XU7.js → chunk-BVVXYZSU.js} +5 -5
- package/dist/bundle/{chunk-E3XA56TS.js → chunk-CAQ5GW3A.js} +1 -1
- package/dist/bundle/{chunk-MEQNAZ6R.js → chunk-CDSB7WVG.js} +323 -12
- package/dist/bundle/{chunk-P6A77LMP.js → chunk-CU6RATZH.js} +5 -7
- package/dist/bundle/{chunk-MEY7URZZ.js → chunk-CZ4UEXCE.js} +4 -4
- package/dist/bundle/{chunk-JLUQZZ26.js → chunk-E7URRFBB.js} +7 -7
- package/dist/bundle/{chunk-JCNEPYQZ.js → chunk-EL2E3ABX.js} +12 -12
- package/dist/bundle/{chunk-BHSLMJF7.js → chunk-EWUQIUTB.js} +4 -4
- package/dist/bundle/{chunk-4VH7M2OD.js → chunk-F5UUJU6R.js} +2 -2
- package/dist/bundle/{chunk-CWDC6QJM.js → chunk-GHFBT2ZM.js} +4 -4
- package/dist/bundle/{chunk-2PIA45FC.js → chunk-GK6KXBL6.js} +1 -1
- package/dist/bundle/{chunk-T2VAEDJS.js → chunk-GTDCP5OG.js} +3 -3
- package/dist/bundle/{chunk-IRULPE5M.js → chunk-HEBZCKMU.js} +1695 -672
- package/dist/bundle/{chunk-EXWOOST5.js → chunk-I55XYREN.js} +667 -230
- package/dist/bundle/{chunk-5TSILGTO.js → chunk-IQ2QU2X6.js} +1613 -1101
- package/dist/bundle/{chunk-WKIQKGOF.js → chunk-KUQDBWPU.js} +42 -32
- package/dist/bundle/{chunk-AJ3DFPRT.js → chunk-L342KHIZ.js} +105 -1
- package/dist/bundle/{chunk-JY2GZDJL.js → chunk-LRCSDAYK.js} +3 -3
- package/dist/bundle/{chunk-U2ERT45N.js → chunk-LUZRVBQR.js} +4 -4
- package/dist/bundle/{chunk-AAZPDWRD.js → chunk-MHXZ62CU.js} +1 -1
- package/dist/bundle/{chunk-ZK46UHDP.js → chunk-N4ACIIQB.js} +2 -2
- package/dist/bundle/{chunk-FS2PG2PE.js → chunk-NVDR72GP.js} +19 -19
- package/dist/bundle/{chunk-VZ5KETIX.js → chunk-O6PD7RZY.js} +2 -2
- package/dist/bundle/{chunk-PDHN4GHU.js → chunk-OOIAJRKQ.js} +1 -1
- package/dist/bundle/{chunk-JEMBW6IO.js → chunk-OUM4ZO53.js} +1 -1
- package/dist/bundle/{chunk-QOKPRFHM.js → chunk-PB6NWKH3.js} +2 -2
- package/dist/bundle/{chunk-C72WYRXD.js → chunk-QJGFQRTL.js} +10 -10
- package/dist/bundle/chunk-RLGQMMYE.js +707 -0
- package/dist/bundle/{chunk-4G7WQNG7.js → chunk-RWQ7T4Y5.js} +2 -2
- package/dist/bundle/{chunk-ZH4H5XTA.js → chunk-SEJBS7SI.js} +1 -1
- package/dist/bundle/{chunk-OOBSSU2G.js → chunk-SY2HLH5R.js} +33 -19
- package/dist/bundle/{chunk-LSAIXPAX.js → chunk-SYUXKV2E.js} +1 -1
- package/dist/bundle/{chunk-FOMQ4MG3.js → chunk-T4FMXDDV.js} +2 -2
- package/dist/bundle/{chunk-5DMPGTNR.js → chunk-T6X6EZ5N.js} +3 -3
- package/dist/bundle/{chunk-RLH6BOEG.js → chunk-TZ75K6R7.js} +6 -6
- package/dist/bundle/{chunk-D4MVEOU2.js → chunk-U3RXH6RY.js} +1 -1
- package/dist/bundle/{chunk-ABJQ6IDU.js → chunk-V4FMN5A6.js} +16 -16
- package/dist/bundle/{chunk-WBKYZZQT.js → chunk-VUPWDCYV.js} +1 -1
- package/dist/bundle/{chunk-V7E25BUU.js → chunk-WNMPIRRF.js} +98 -6
- package/dist/bundle/{chunk-DAFKV6DJ.js → chunk-WOUIHZRI.js} +13 -15
- package/dist/bundle/{chunk-WWW7YTFG.js → chunk-WQOGHND4.js} +1 -1
- package/dist/bundle/{chunk-NFIR346J.js → chunk-XUHQ7DVT.js} +1 -1
- package/dist/bundle/{chunk-YI4DXASF.js → chunk-XVH3WZSZ.js} +49 -55
- package/dist/bundle/{chunk-ZEPDEFVT.js → chunk-ZBYKCVSV.js} +1 -1
- package/dist/bundle/{chunk-LXRBTXCZ.js → chunk-ZUG67442.js} +2 -2
- package/dist/bundle/{cli-U4LSBYDV.js → cli-BS4L3HAP.js} +100 -70
- package/dist/bundle/{command-contract-UU5T24ZZ.js → command-contract-HYURWSD6.js} +16 -17
- package/dist/bundle/{command-server-entry-PK6FBUPO.js → command-server-entry-CJ2CV7ZV.js} +23 -24
- package/dist/bundle/{decode-3ZE6NBKV.js → decode-E2NM5SSM.js} +3 -3
- package/dist/bundle/drive.js +4 -4
- package/dist/bundle/{echarts-6FWNCNXK.js → echarts-QIXLXS3G.js} +2 -2
- package/dist/bundle/{embed-DGYBBZUW.js → embed-YNZW5X6M.js} +4 -4
- package/dist/bundle/{embedder-O7A6VMWI.js → embedder-LRC2PKTS.js} +7 -7
- package/dist/bundle/{entry-CDJ2QSU2.js → entry-2IMSWRJU.js} +7 -7
- package/dist/bundle/{first-run-UOQW7DN5.js → first-run-7CPHQDM5.js} +7 -7
- package/dist/bundle/first-screen-OKZ7GMFR.js +38 -0
- package/dist/bundle/{google-HPX52KMC.js → google-WDKDBDD4.js} +15 -15
- package/dist/bundle/{google-api-HIMN4XL5.js → google-api-7JDZDCWE.js} +52 -53
- package/dist/bundle/{grants-RO42I6E4.js → grants-AU25GWKF.js} +57 -58
- package/dist/bundle/{identity-NFGHDPLL.js → identity-E43WKN5F.js} +1 -1
- package/dist/bundle/{instructions-6JAQYCM6.js → instructions-MD2RZT5Z.js} +1 -1
- package/dist/bundle/{login-RZOQN63N.js → login-RBDJPQAG.js} +57 -58
- package/dist/bundle/{node-KSIX3GIH.js → node-IEVT2FSJ.js} +2 -2
- package/dist/bundle/{node-sqlite-4FJ6WJXN.js → node-sqlite-IENH4TRX.js} +5 -5
- package/dist/bundle/{oauth-BKZAMFKK.js → oauth-3JGSN47Z.js} +5 -5
- package/dist/bundle/{open-4AQJGH42.js → open-TZ5H7NYM.js} +3 -3
- package/dist/bundle/{openai-24F2OX55.js → openai-XF2KB7W2.js} +14 -14
- package/dist/bundle/{process-7NOA2T7H.js → process-6Q23D3TO.js} +1 -1
- package/dist/bundle/{program-7JHMLDEX.js → program-D5XWOHV5.js} +88 -88
- package/dist/bundle/{prompt-NM66MAZ4.js → prompt-KUC5D4GX.js} +3 -3
- package/dist/bundle/{recognize-DBKV2JYZ.js → recognize-DPFW7HO3.js} +2 -2
- package/dist/bundle/{remote-ABWUTBVB.js → remote-MODTSUNH.js} +8 -8
- package/dist/bundle/{rerank-FQAU4ENY.js → rerank-JK7SERLE.js} +5 -5
- package/dist/bundle/{serve-QLJG4QZD.js → serve-BV2WHZLW.js} +7 -7
- package/dist/bundle/server-6YDI4Y36.js +72 -0
- package/dist/bundle/{server-VGZNK5XD.js → server-N3WPEU7Z.js} +47 -44
- package/dist/bundle/{services-5KARVUHK.js → services-SV6CFUCS.js} +42 -27
- package/dist/bundle/{sqlite-runtime-ILF6EFQJ.js → sqlite-runtime-RZ5PLZVQ.js} +4 -4
- package/dist/bundle/{state-R2M56GPU.js → state-RAZIREVG.js} +4 -4
- package/dist/bundle/{store-DA4K7HWW.js → store-2DLGLYS6.js} +18 -14
- package/dist/bundle/{store-2OBVMUQL.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 +2 -0
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +2 -1
- package/dist/policy.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +3 -2
- package/dist/program.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-AZKFZ7J7.js +0 -76
- package/dist/bundle/chunk-JO7BJYAP.js +0 -1235
- package/dist/bundle/chunk-MBLB4TQI.js +0 -1316
- package/dist/bundle/first-screen-SNDV4YKF.js +0 -39
- package/dist/bundle/server-NUBLY5SV.js +0 -74
- package/dist/bundle/store-maintenance-command-KSIPI5B5.js +0 -65
- package/dist/bundle/tokens-VQDGSHRB.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-IRULPE5M.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,
|
|
@@ -216,15 +217,20 @@ import {
|
|
|
216
217
|
commandWords,
|
|
217
218
|
customizeSharedCommand,
|
|
218
219
|
environmentOf,
|
|
220
|
+
fetchesOnly,
|
|
219
221
|
flatten,
|
|
220
222
|
grantsAuthority,
|
|
223
|
+
guardedWrite,
|
|
221
224
|
hasSharedContract,
|
|
222
225
|
itemOf,
|
|
223
226
|
jsonlRecords,
|
|
227
|
+
layerPermissions,
|
|
228
|
+
levelFor,
|
|
224
229
|
listOf,
|
|
225
230
|
metaOf,
|
|
226
231
|
outputFor,
|
|
227
232
|
overrideSharedContract,
|
|
233
|
+
parseDuration,
|
|
228
234
|
refuseCommandName,
|
|
229
235
|
renderAnswer,
|
|
230
236
|
resolveAISettings,
|
|
@@ -232,42 +238,34 @@ import {
|
|
|
232
238
|
settingRows,
|
|
233
239
|
sharedContracts,
|
|
234
240
|
snakeKeys
|
|
235
|
-
} from "./chunk-
|
|
236
|
-
import "./chunk-7J2IP3WL.js";
|
|
237
|
-
import {
|
|
238
|
-
CEILING_KEY,
|
|
239
|
-
LEVELS,
|
|
240
|
-
guardedWrite,
|
|
241
|
-
layerPermissions,
|
|
242
|
-
levelFor,
|
|
243
|
-
parseDuration
|
|
244
|
-
} from "./chunk-MBLB4TQI.js";
|
|
241
|
+
} from "./chunk-25FT44S3.js";
|
|
245
242
|
import {
|
|
246
243
|
modelTarget
|
|
247
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-F5UUJU6R.js";
|
|
245
|
+
import "./chunk-AD7VI3XU.js";
|
|
248
246
|
import {
|
|
249
247
|
setupPermissionCeiling
|
|
250
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-CU6RATZH.js";
|
|
251
249
|
import {
|
|
252
250
|
readOnlyLockOf,
|
|
253
251
|
readOnlyRefusal
|
|
254
|
-
} from "./chunk-
|
|
255
|
-
import "./chunk-
|
|
252
|
+
} from "./chunk-ZBYKCVSV.js";
|
|
253
|
+
import "./chunk-WQOGHND4.js";
|
|
256
254
|
import {
|
|
257
255
|
hostFetch
|
|
258
|
-
} from "./chunk-
|
|
259
|
-
import "./chunk-
|
|
260
|
-
import "./chunk-
|
|
261
|
-
import "./chunk-
|
|
262
|
-
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";
|
|
263
261
|
import {
|
|
264
262
|
CATALOG_QUERY,
|
|
265
263
|
IMPORTED_DOCUMENT_QUERY,
|
|
266
264
|
openStore
|
|
267
|
-
} from "./chunk-
|
|
268
|
-
import "./chunk-
|
|
269
|
-
import "./chunk-
|
|
270
|
-
import "./chunk-
|
|
265
|
+
} from "./chunk-3RLRJHAI.js";
|
|
266
|
+
import "./chunk-ZUG67442.js";
|
|
267
|
+
import "./chunk-E7URRFBB.js";
|
|
268
|
+
import "./chunk-6D44YQ5X.js";
|
|
271
269
|
import {
|
|
272
270
|
FACT_STATUSES,
|
|
273
271
|
FACT_TYPES,
|
|
@@ -275,7 +273,7 @@ import {
|
|
|
275
273
|
MEMORY_SCOPES,
|
|
276
274
|
MEMORY_STATUSES,
|
|
277
275
|
inRun
|
|
278
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-I55XYREN.js";
|
|
279
277
|
import {
|
|
280
278
|
defineQuery,
|
|
281
279
|
parseLucene,
|
|
@@ -284,10 +282,10 @@ import {
|
|
|
284
282
|
validateQuery,
|
|
285
283
|
zonedMoment
|
|
286
284
|
} from "./chunk-UPCEHSIZ.js";
|
|
287
|
-
import "./chunk-
|
|
288
|
-
import "./chunk-
|
|
289
|
-
import "./chunk-
|
|
290
|
-
import "./chunk-
|
|
285
|
+
import "./chunk-VUPWDCYV.js";
|
|
286
|
+
import "./chunk-3YKAFLXY.js";
|
|
287
|
+
import "./chunk-CDSB7WVG.js";
|
|
288
|
+
import "./chunk-3URYKAJP.js";
|
|
291
289
|
import "./chunk-D72URWJE.js";
|
|
292
290
|
import {
|
|
293
291
|
installerOf
|
|
@@ -296,20 +294,20 @@ import {
|
|
|
296
294
|
DRIVE_APP,
|
|
297
295
|
PACKAGE,
|
|
298
296
|
VERSION
|
|
299
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-SYUXKV2E.js";
|
|
300
298
|
import {
|
|
301
299
|
REASONS
|
|
302
300
|
} from "./chunk-7JKECODO.js";
|
|
303
301
|
import "./chunk-XWBPP2HX.js";
|
|
304
|
-
import "./chunk-
|
|
302
|
+
import "./chunk-OUM4ZO53.js";
|
|
305
303
|
import {
|
|
306
304
|
storePath
|
|
307
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-RWQ7T4Y5.js";
|
|
308
306
|
import {
|
|
309
307
|
processStreams,
|
|
310
308
|
saveConfigFile,
|
|
311
309
|
writeSecurely
|
|
312
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-5SJZDEIO.js";
|
|
313
311
|
import "./chunk-PV3AWPHR.js";
|
|
314
312
|
import "./chunk-Y5E2WNWB.js";
|
|
315
313
|
import "./chunk-HCZYJMBP.js";
|
|
@@ -2179,7 +2177,7 @@ var profileLocked2 = /* @__PURE__ */ __name((env, name) => import_proper_lockfil
|
|
|
2179
2177
|
var removal = {
|
|
2180
2178
|
signOut: /* @__PURE__ */ __name(async (profile, { env, keyring, mayRevoke }) => {
|
|
2181
2179
|
const storage = readConfig(env).profiles[profile]?.storage ?? "keyring";
|
|
2182
|
-
const { sessionKeeper } = await import("./tokens-
|
|
2180
|
+
const { sessionKeeper } = await import("./tokens-LY3WML55.js");
|
|
2183
2181
|
const { revoked } = await sessionKeeper({
|
|
2184
2182
|
env,
|
|
2185
2183
|
name: profile,
|
|
@@ -2496,7 +2494,8 @@ var checkPolicy = /* @__PURE__ */ __name(async (env, profile, key, mutates, flag
|
|
|
2496
2494
|
const { level } = levelFor(levels, key, DEFAULT_LEVELS);
|
|
2497
2495
|
if (mutates && lock)
|
|
2498
2496
|
throw readOnlyRefusal(lock, "change local or Google data");
|
|
2499
|
-
|
|
2497
|
+
const fetchOnly = flags.fetches === true && flags.readOnly !== true;
|
|
2498
|
+
if (level === "deny" || mutates && !fetchOnly && (readOnly || level === "readonly"))
|
|
2500
2499
|
throw new CliError("permission_error", "profile policy refuses this operation", {
|
|
2501
2500
|
reason: "policy.denied",
|
|
2502
2501
|
permission: key
|
|
@@ -2694,7 +2693,7 @@ var installModelCommands = /* @__PURE__ */ __name((program, { env, output, strea
|
|
|
2694
2693
|
const download = /* @__PURE__ */ __name(async (kind, id, acceptTerms) => {
|
|
2695
2694
|
if (policyFlags().offline)
|
|
2696
2695
|
throw offlineRefused("downloading a model needs the network");
|
|
2697
|
-
const { downloadImageModel, downloadTextModel } = await import("./services-
|
|
2696
|
+
const { downloadImageModel, downloadTextModel } = await import("./services-SV6CFUCS.js");
|
|
2698
2697
|
const progress = /* @__PURE__ */ __name((line) => {
|
|
2699
2698
|
if (!program.opts().quiet)
|
|
2700
2699
|
streams.diagnostic(line);
|
|
@@ -22464,7 +22463,7 @@ var installSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22464
22463
|
const app = application(env, { file: args.clientFile, clientId: args.clientId, profile: selected() });
|
|
22465
22464
|
if (!app.clientSecret)
|
|
22466
22465
|
streams.diagnostic("your Google app has no secret here, and Google refuses a Desktop app without one: set DRIVE_GOOGLE_CLIENT_SECRET\n");
|
|
22467
|
-
const { login } = await import("./login-
|
|
22466
|
+
const { login } = await import("./login-RBDJPQAG.js");
|
|
22468
22467
|
output(itemOf(await login({
|
|
22469
22468
|
env,
|
|
22470
22469
|
profile: selected(),
|
|
@@ -22495,7 +22494,7 @@ var installSessionCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22495
22494
|
const name = selected();
|
|
22496
22495
|
const config = readConfig(env);
|
|
22497
22496
|
const profile = activeProfile(env, name);
|
|
22498
|
-
const { credentials } = await import("./tokens-
|
|
22497
|
+
const { credentials } = await import("./tokens-LY3WML55.js");
|
|
22499
22498
|
const store = credentials(env, profile.storage, options.keyring);
|
|
22500
22499
|
store.remove(name);
|
|
22501
22500
|
writeConfig(env, config);
|
|
@@ -22542,7 +22541,7 @@ var selection = /* @__PURE__ */ __name((env, name, source) => {
|
|
|
22542
22541
|
return { profile, state, options: { source, destination, collection: `google-drive:${profile.principal}`, env } };
|
|
22543
22542
|
}, "selection");
|
|
22544
22543
|
var checkStoreImport = /* @__PURE__ */ __name(async (env, name, source, bindings) => {
|
|
22545
|
-
const { ensureSqlite } = await import("./sqlite-runtime-
|
|
22544
|
+
const { ensureSqlite } = await import("./sqlite-runtime-RZ5PLZVQ.js");
|
|
22546
22545
|
await ensureSqlite();
|
|
22547
22546
|
const { state, options } = selection(env, name, source);
|
|
22548
22547
|
const preview = await previewDocumentTransfer({ ...options, bindings });
|
|
@@ -22751,7 +22750,7 @@ var installTranscriptCommands = /* @__PURE__ */ __name((program, context) => {
|
|
|
22751
22750
|
// dist/commands/upgrade.js
|
|
22752
22751
|
import { join as join8 } from "node:path";
|
|
22753
22752
|
|
|
22754
|
-
// 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
|
|
22755
22754
|
import { realpathSync } from "node:fs";
|
|
22756
22755
|
import { fileURLToPath } from "node:url";
|
|
22757
22756
|
var npmRegistry = /* @__PURE__ */ __name(() => hostFetch({ hosts: ["registry.npmjs.org"] }), "npmRegistry");
|
|
@@ -23178,7 +23177,7 @@ var openIndex = /* @__PURE__ */ __name(async (env, name, rescan = false) => {
|
|
|
23178
23177
|
activeProfile(env, name);
|
|
23179
23178
|
if (env.DRIVE_STORE)
|
|
23180
23179
|
throw new CliError("configuration_error", "DRIVE_STORE has been retired; use MESSAGING_STORE to select the shared database", { reason: "store.override-retired" });
|
|
23181
|
-
const { openAppStore } = await import("./cli-
|
|
23180
|
+
const { openAppStore } = await import("./cli-BS4L3HAP.js");
|
|
23182
23181
|
const store = await openAppStore(env, { app: { command: "drive", version: VERSION }, provider: DRIVE_PROVIDER });
|
|
23183
23182
|
const index = indexOver(store, env);
|
|
23184
23183
|
try {
|
|
@@ -23229,7 +23228,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23229
23228
|
linkMessages: /* @__PURE__ */ __name((documents, since) => store.notes.linkMessages({ documents, ...since ? { since } : {} }), "linkMessages"),
|
|
23230
23229
|
knowledge: documentKnowledge2(store, async (principal) => (await folder(principal, false))?.id),
|
|
23231
23230
|
openPictures: /* @__PURE__ */ __name(async () => {
|
|
23232
|
-
const { openPictureEmbedderFor, savePicture } = await import("./services-
|
|
23231
|
+
const { openPictureEmbedderFor, savePicture } = await import("./services-SV6CFUCS.js");
|
|
23233
23232
|
const embedder = pictureEmbedder ?? await openPictureEmbedderFor({ env, command: "drive" });
|
|
23234
23233
|
return {
|
|
23235
23234
|
save: /* @__PURE__ */ __name((reference, bytes) => savePicture(store, { ref: reference }, bytes, { embedder }), "save"),
|
|
@@ -23248,7 +23247,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23248
23247
|
has_more: false,
|
|
23249
23248
|
meaning_skipped: "this Google account has no imported sources"
|
|
23250
23249
|
};
|
|
23251
|
-
const { searchNotes } = await import("./services-
|
|
23250
|
+
const { searchNotes } = await import("./services-SV6CFUCS.js");
|
|
23252
23251
|
const result = await searchNotes(store, query, {
|
|
23253
23252
|
...options,
|
|
23254
23253
|
folderIds: selected ? [selected.id] : [],
|
|
@@ -23281,7 +23280,7 @@ var indexOver = /* @__PURE__ */ __name((store, env, pictureEmbedder) => {
|
|
|
23281
23280
|
};
|
|
23282
23281
|
}, "search"),
|
|
23283
23282
|
embed: /* @__PURE__ */ __name(async (max) => {
|
|
23284
|
-
const { embedNotes } = await import("./services-
|
|
23283
|
+
const { embedNotes } = await import("./services-SV6CFUCS.js");
|
|
23285
23284
|
return embedNotes(store, { maxChunks: max, env, command: "drive" });
|
|
23286
23285
|
}, "embed"),
|
|
23287
23286
|
close: /* @__PURE__ */ __name(() => store.close(), "close")
|
|
@@ -23568,7 +23567,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23568
23567
|
}, "output");
|
|
23569
23568
|
const signal = /* @__PURE__ */ __name(() => environment().signal, "signal");
|
|
23570
23569
|
const signedIn = /* @__PURE__ */ __name(async (name, scope2) => {
|
|
23571
|
-
const { authorizedClient, checkAuthorization } = await import("./tokens-
|
|
23570
|
+
const { authorizedClient, checkAuthorization } = await import("./tokens-LY3WML55.js");
|
|
23572
23571
|
const client = authorizedClient(env, name, environment().keyring, signal());
|
|
23573
23572
|
await checkAuthorization(client, scope2);
|
|
23574
23573
|
return client;
|
|
@@ -23578,7 +23577,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23578
23577
|
const fake = environment().source;
|
|
23579
23578
|
if (fake)
|
|
23580
23579
|
return fake(name);
|
|
23581
|
-
const [{ googleSource }, client] = await Promise.all([import("./google-
|
|
23580
|
+
const [{ googleSource }, client] = await Promise.all([import("./google-WDKDBDD4.js"), signedIn(name)]);
|
|
23582
23581
|
return googleSource(client);
|
|
23583
23582
|
}, "source");
|
|
23584
23583
|
const withIndex = /* @__PURE__ */ __name(async (fn, profile) => {
|
|
@@ -23723,7 +23722,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23723
23722
|
if (fake)
|
|
23724
23723
|
return await fake.call(method, params, body);
|
|
23725
23724
|
const [{ googleApi }, client] = await Promise.all([
|
|
23726
|
-
import("./google-api-
|
|
23725
|
+
import("./google-api-7JDZDCWE.js"),
|
|
23727
23726
|
signedIn(selected(), descriptor.scope)
|
|
23728
23727
|
]);
|
|
23729
23728
|
return await googleApi(client).call(method, params, body);
|
|
@@ -23749,7 +23748,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23749
23748
|
if (fake)
|
|
23750
23749
|
return fake(id, mime);
|
|
23751
23750
|
const [{ googleDownload }, client] = await Promise.all([
|
|
23752
|
-
import("./google-api-
|
|
23751
|
+
import("./google-api-7JDZDCWE.js"),
|
|
23753
23752
|
signedIn(selected(), apiMethod(method).scope)
|
|
23754
23753
|
]);
|
|
23755
23754
|
return googleDownload(client)(id, mime);
|
|
@@ -23767,7 +23766,7 @@ var installDrive = /* @__PURE__ */ __name((program) => {
|
|
|
23767
23766
|
let request = environment().uploadRequest;
|
|
23768
23767
|
if (!request) {
|
|
23769
23768
|
const [{ googleUploadRequest }, client] = await Promise.all([
|
|
23770
|
-
import("./google-api-
|
|
23769
|
+
import("./google-api-7JDZDCWE.js"),
|
|
23771
23770
|
signedIn(selected(), apiMethod(method).scope)
|
|
23772
23771
|
]);
|
|
23773
23772
|
request = googleUploadRequest(client);
|
|
@@ -23914,8 +23913,9 @@ Availability: unavailable \u2014 ${availability.reason}
|
|
|
23914
23913
|
}
|
|
23915
23914
|
const mutates = method ? apiMethod(method).mutates : writes(metadata.effects);
|
|
23916
23915
|
const key = method ? `api.${method}` : path.join(".");
|
|
23916
|
+
const fetches = !method && fetchesOnly(action);
|
|
23917
23917
|
for (const permission of method ? methodPolicyKeys(method) : [key])
|
|
23918
|
-
await checkPolicy(env, selected(), permission, mutates, flags, askOnce);
|
|
23918
|
+
await checkPolicy(env, selected(), permission, mutates, { ...flags, fetches }, askOnce);
|
|
23919
23919
|
checkedMethod = method;
|
|
23920
23920
|
if (flags.offline && (method || metadata.effects?.remote !== "none"))
|
|
23921
23921
|
throw offlineRefused();
|
|
@@ -23979,7 +23979,7 @@ var mcpCommand = /* @__PURE__ */ __name(() => {
|
|
|
23979
23979
|
const environment = environmentOf(action);
|
|
23980
23980
|
if (environment.api)
|
|
23981
23981
|
return;
|
|
23982
|
-
const { grantAvailability } = await import("./grants-
|
|
23982
|
+
const { grantAvailability } = await import("./grants-AU25GWKF.js");
|
|
23983
23983
|
availability = grantAvailability(rootOf(root), environment.env ?? process.env, environment.keyring);
|
|
23984
23984
|
});
|
|
23985
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";
|