@wirecat/drive-cli 0.47.0 → 0.49.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/age.d.ts +36 -0
- package/dist/age.d.ts.map +1 -1
- package/dist/age.js +17 -0
- package/dist/age.js.map +1 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-O7CNQ7FO.js → all-profiles-WK2XXGPU.js} +5 -5
- package/dist/bundle/{anthropic-6T67J2CE.js → anthropic-R354D7GT.js} +3 -3
- package/dist/bundle/{app-server-BVBZT3UY.js → app-server-3YHJ757G.js} +46 -46
- package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
- package/dist/bundle/{bun-sqlite-54W7JUY3.js → bun-sqlite-KZCZWSRZ.js} +2 -2
- package/dist/bundle/{chunk-LOTQ2HMT.js → chunk-22LTNYO2.js} +3 -3
- package/dist/bundle/{chunk-5MGIL5LW.js → chunk-254VYUWN.js} +18 -15
- package/dist/bundle/{chunk-NLEB26GA.js → chunk-2BADVV4A.js} +2 -2
- package/dist/bundle/{chunk-XEBFFKXO.js → chunk-2CKGGIWF.js} +1 -1
- package/dist/bundle/{chunk-D67JGWSC.js → chunk-2ZFR67KY.js} +6 -3
- package/dist/bundle/{chunk-K74PQVQZ.js → chunk-3UHJC6HH.js} +6 -6
- package/dist/bundle/{chunk-44FV5JAS.js → chunk-45TPBTR3.js} +18 -18
- package/dist/bundle/{chunk-NP3XLLN3.js → chunk-463NMG57.js} +2 -2
- package/dist/bundle/{chunk-AOOD3RMK.js → chunk-467AQO7E.js} +5 -5
- package/dist/bundle/{chunk-FEULDMWM.js → chunk-46X7Z4FD.js} +1903 -1526
- package/dist/bundle/{chunk-IKNU5A5Y.js → chunk-4ORK4UAY.js} +2 -2
- package/dist/bundle/{chunk-GOR3Z2FR.js → chunk-5ISHP4TK.js} +1 -1
- package/dist/bundle/{chunk-R2A3K7ZF.js → chunk-5KR7BKDV.js} +4 -4
- package/dist/bundle/{chunk-GWPKIRNQ.js → chunk-624B6G64.js} +3 -3
- package/dist/bundle/{chunk-TRMIV3OA.js → chunk-65AW2AEQ.js} +1 -1
- package/dist/bundle/{chunk-BQUPOB5H.js → chunk-6Z3W7LTD.js} +7 -7
- package/dist/bundle/{chunk-XF5MFUEB.js → chunk-75VCGSNB.js} +10 -10
- package/dist/bundle/{chunk-K7FRUB33.js → chunk-7BA3HL7N.js} +32 -32
- package/dist/bundle/{chunk-NDNTLUPS.js → chunk-7WEISHFA.js} +1 -1
- package/dist/bundle/{chunk-GNFHZZ55.js → chunk-ABVFH76X.js} +4 -4
- package/dist/bundle/{chunk-BEXHAGXH.js → chunk-AN7HENGZ.js} +156 -144
- package/dist/bundle/{chunk-CFZWPIVC.js → chunk-BQV3WYXW.js} +26 -18
- package/dist/bundle/{chunk-SWMMR3FR.js → chunk-CB5NGX6E.js} +1 -1
- package/dist/bundle/{chunk-DL7D6Y3B.js → chunk-CCLDCM7J.js} +3320 -3282
- package/dist/bundle/{chunk-BHE7ZY2N.js → chunk-DKJGYYCP.js} +71 -43
- package/dist/bundle/{chunk-ZBM4GEV2.js → chunk-E2Y6GJZX.js} +3 -3
- package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
- package/dist/bundle/{chunk-DORXXBFC.js → chunk-EOZPMJJP.js} +5 -5
- package/dist/bundle/{chunk-GQW4GRYR.js → chunk-FB7I5JWC.js} +4 -4
- package/dist/bundle/{chunk-PDBBBUY7.js → chunk-FUJZ5S2Q.js} +8 -8
- package/dist/bundle/{chunk-OWXTPXIQ.js → chunk-FZQSGLHU.js} +10 -10
- package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
- package/dist/bundle/{chunk-NB2N6L3R.js → chunk-HD3TFIT4.js} +5 -5
- package/dist/bundle/{chunk-HEPIOCHN.js → chunk-HF2T7E67.js} +55 -48
- package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
- package/dist/bundle/{chunk-4DW6QGEV.js → chunk-HQ2PGEOK.js} +9 -9
- package/dist/bundle/{chunk-PH74B2VZ.js → chunk-HVM5LS5Z.js} +2 -2
- package/dist/bundle/{chunk-CKR3DVUK.js → chunk-IEAZAPC3.js} +20 -17
- package/dist/bundle/{chunk-GHOWRW7E.js → chunk-IRDGH7DV.js} +8 -1
- package/dist/bundle/{chunk-XAZQTJXR.js → chunk-IRNX4CO5.js} +16 -16
- package/dist/bundle/{chunk-LHIL46I3.js → chunk-ITZI7T2X.js} +1 -1
- package/dist/bundle/{chunk-67BQ3XMH.js → chunk-JMOX454R.js} +1 -1
- package/dist/bundle/{chunk-AUS6TKP5.js → chunk-JMRHDZMV.js} +30 -30
- package/dist/bundle/{chunk-VHQNVG3J.js → chunk-JZ3SUK2M.js} +2 -2
- package/dist/bundle/{chunk-RJ633GFA.js → chunk-KK3BA4IS.js} +1 -1
- package/dist/bundle/{chunk-WUFCYDKB.js → chunk-KKZYZ32J.js} +1 -1
- package/dist/bundle/{chunk-VYBOYBLX.js → chunk-KYJYOZYG.js} +5 -5
- package/dist/bundle/{chunk-JVTVAZ5X.js → chunk-L5RZI2M5.js} +56 -17
- package/dist/bundle/{chunk-U2OD7MKK.js → chunk-LF7ACSTK.js} +1 -1
- package/dist/bundle/{chunk-CYCQBQBH.js → chunk-MC77UZVA.js} +3 -3
- package/dist/bundle/{chunk-QWSRPXCJ.js → chunk-MP2UCK3Z.js} +4 -4
- package/dist/bundle/{chunk-LJARCTGL.js → chunk-NFU3OBCC.js} +3 -3
- package/dist/bundle/{chunk-3HRDEJJW.js → chunk-NVHB2MHX.js} +4 -4
- package/dist/bundle/{chunk-VCYFEWPD.js → chunk-NXFEZQDL.js} +25 -25
- package/dist/bundle/{chunk-G3FAOS52.js → chunk-P4NOTS3U.js} +2 -2
- package/dist/bundle/{chunk-6T7NSOYC.js → chunk-P4OU3OVF.js} +12 -12
- package/dist/bundle/{chunk-RCS2SCX5.js → chunk-P7INAZIT.js} +4 -4
- package/dist/bundle/{chunk-3Z7WSD2A.js → chunk-PPXNEHYX.js} +7 -7
- package/dist/bundle/{chunk-SMHQA5J6.js → chunk-QEM3MOSB.js} +14 -7
- package/dist/bundle/{chunk-KADPV4YA.js → chunk-R235IRSJ.js} +1 -1
- package/dist/bundle/{chunk-QTJUH3LS.js → chunk-RAAI3JLI.js} +1 -1
- package/dist/bundle/{chunk-KJMBV574.js → chunk-SSD2V4HR.js} +356 -304
- package/dist/bundle/{chunk-5TC3NCAF.js → chunk-U77RLMOK.js} +1 -1
- package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
- package/dist/bundle/{chunk-IAW5A7OR.js → chunk-W5IDHD6C.js} +30 -26
- package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
- package/dist/bundle/{recognize-IFXOJHEA.js → chunk-XVXXWNAA.js} +6 -6
- package/dist/bundle/{chunk-IGMRWQP3.js → chunk-Y2AUB4TJ.js} +29 -25
- package/dist/bundle/{chunk-QW36EOAM.js → chunk-YOF5BC4G.js} +2 -2
- package/dist/bundle/{chunk-PJ7IQVOM.js → chunk-YYMHFXHK.js} +1 -1
- package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
- package/dist/bundle/command-contract-AEA45IX7.js +38 -0
- package/dist/bundle/decode-BE3VDYTJ.js +159 -0
- package/dist/bundle/drive.js +4 -4
- package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
- package/dist/bundle/{embed-FJKIIM43.js → embed-QR76SJDI.js} +3 -3
- package/dist/bundle/{embedder-NNQ5ZC25.js → embedder-EMIDKBYV.js} +6 -6
- package/dist/bundle/{entry-ZYSNPDSD.js → entry-FE4REJDO.js} +4 -4
- package/dist/bundle/{failure-KZDBSYBR.js → failure-GYOTW6NN.js} +11 -11
- package/dist/bundle/{first-run-KA2UPZAU.js → first-run-ALPI62PX.js} +5 -5
- package/dist/bundle/first-screen-JLS57PIT.js +36 -0
- package/dist/bundle/{google-ZYDFTHLN.js → google-NV75VSCD.js} +4 -4
- package/dist/bundle/google-api-6623OUF2.js +82 -0
- package/dist/bundle/{identity-7JM62OER.js → identity-NZ7SP6OL.js} +2 -2
- package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
- package/dist/bundle/{login-JU6NKW5P.js → login-KNBM6XUX.js} +54 -54
- package/dist/bundle/mcp-4NPK6BM3.js +95 -0
- package/dist/bundle/{mcp-KWXNBIAI.js → mcp-XY2FGGUM.js} +68 -68
- package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
- package/dist/bundle/node-sqlite-PMRVP442.js +62 -0
- package/dist/bundle/{oauth-NAIBKERJ.js → oauth-NM2AKRRT.js} +4 -4
- package/dist/bundle/{open-3P5EPXPV.js → open-XZH5ZNDA.js} +1 -1
- package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
- package/dist/bundle/{program-VKHR42BF.js → program-MDWQHGBY.js} +124 -89
- package/dist/bundle/{prompt-3TX2SWOY.js → prompt-5K6XGWSK.js} +2 -2
- package/dist/bundle/recognize-U7GDD6T2.js +22 -0
- package/dist/bundle/{remote-663M42Y5.js → remote-ZWXOGNQX.js} +4 -4
- package/dist/bundle/{rerank-OT2F2DBV.js → rerank-YRQBCS63.js} +4 -4
- package/dist/bundle/{serve-PDNNI6O6.js → serve-6PQ7K5RK.js} +6 -6
- package/dist/bundle/server-O7SS6NAY.js +56 -0
- package/dist/bundle/server-WT57TF6S.js +69 -0
- package/dist/bundle/{services-5MCTECBU.js → services-QBIQX236.js} +22 -22
- package/dist/bundle/{sqlite-runtime-BF3KDM7W.js → sqlite-runtime-7Q5UD2VR.js} +2 -2
- package/dist/bundle/{state-SZX65E74.js → state-U72TC26L.js} +3 -3
- package/dist/bundle/{store-TCWNLA3V.js → store-B4RAJ63G.js} +10 -10
- package/dist/bundle/{store-UKPGGAPW.js → store-FYABCSIH.js} +12 -12
- package/dist/bundle/store-maintenance-command-DAF5NI3T.js +57 -0
- package/dist/bundle/tokens-DISQJKDM.js +103 -0
- package/dist/commands/documents.d.ts +5 -1
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +11 -5
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/remote.d.ts +8 -0
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +16 -0
- package/dist/commands/remote.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -1
- 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/command-contract-MXCBV3GJ.js +0 -38
- package/dist/bundle/first-screen-VQ3RXDMF.js +0 -36
- package/dist/bundle/google-api-2GT5PAW2.js +0 -82
- package/dist/bundle/mcp-JOQMFGBC.js +0 -95
- package/dist/bundle/node-sqlite-TXPSRROT.js +0 -46
- package/dist/bundle/server-BFOEPMR7.js +0 -56
- package/dist/bundle/server-K566PJ7H.js +0 -69
- package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +0 -57
- package/dist/bundle/tokens-DFCFRF7I.js +0 -103
- /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-YLBNPI7H.js} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
installFiles,
|
|
9
9
|
megabytes,
|
|
10
10
|
sharedModelsDirectory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ABVFH76X.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
14
|
} from "./chunk-BJ3JRO34.js";
|
|
@@ -19,12 +19,12 @@ 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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
23
23
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
24
24
|
import { availableParallelism } from "node:os";
|
|
25
25
|
import { basename, join as join2 } from "node:path";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
28
28
|
import { createHash } from "node:crypto";
|
|
29
29
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
30
30
|
import { join } from "node:path";
|
|
@@ -207,7 +207,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
207
207
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
208
208
|
}, "openSession");
|
|
209
209
|
|
|
210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
211
211
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
212
212
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
213
213
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5ISHP4TK.js";
|
|
6
6
|
import {
|
|
7
7
|
isContentKey
|
|
8
8
|
} from "./chunk-BJ3JRO34.js";
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
15
|
import { createHash } from "node:crypto";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
18
18
|
import { homedir } from "node:os";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
21
21
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
22
22
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
23
23
|
if (event.event === "warning") {
|
|
@@ -65,7 +65,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
65
65
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
66
66
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
67
67
|
|
|
68
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
68
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
69
69
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
70
70
|
"authorization",
|
|
71
71
|
"cookie",
|
|
@@ -146,7 +146,7 @@ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.
|
|
|
146
146
|
var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
|
|
147
147
|
var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
150
150
|
var MESSAGE_AT_MOST = 500;
|
|
151
151
|
var CAUSES_AT_MOST = 5;
|
|
152
152
|
var FRAMES_AT_MOST = 15;
|
|
@@ -254,7 +254,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
254
254
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
255
255
|
}, "redactText");
|
|
256
256
|
|
|
257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
258
258
|
var REDACTED = "[redacted]";
|
|
259
259
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
260
260
|
if (!record)
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3UHJC6HH.js";
|
|
11
11
|
import {
|
|
12
12
|
NO_EFFECTS,
|
|
13
13
|
commandAt,
|
|
14
14
|
environmentOf,
|
|
15
15
|
takesProfile
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JMRHDZMV.js";
|
|
17
17
|
import {
|
|
18
18
|
Command,
|
|
19
19
|
Help,
|
|
20
20
|
Option,
|
|
21
21
|
annotate,
|
|
22
22
|
metaOf
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-22LTNYO2.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError,
|
|
26
26
|
writes
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
|
|
|
94
94
|
upgrade: "setup"
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
98
98
|
var DESCRIPTION = 90;
|
|
99
99
|
var COLUMN = 52;
|
|
100
100
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
133
133
|
`;
|
|
134
134
|
}, "commandsText");
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
137
137
|
var ARGUMENT_KINDS = {
|
|
138
138
|
chat: "chat",
|
|
139
139
|
chats: "chat",
|
|
@@ -285,6 +285,8 @@ var withProfile = /* @__PURE__ */ __name((command, example) => {
|
|
|
285
285
|
const top = commandPathOf(command)[0];
|
|
286
286
|
if (!profiled.has(root) || top === void 0 || !takesProfile(command))
|
|
287
287
|
return example;
|
|
288
|
+
if (example.split(" ").includes("--profiles"))
|
|
289
|
+
return example;
|
|
288
290
|
const prefix = `${root.name()} ${top}`;
|
|
289
291
|
return example === prefix || example.startsWith(`${prefix} `) ? `${root.name()} ${EXAMPLE_PROFILE} ${example.slice(root.name().length + 1)}` : example;
|
|
290
292
|
}, "withProfile");
|
|
@@ -323,7 +325,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
323
325
|
command.addHelpText("after", () => commandHelpText(command));
|
|
324
326
|
}, "installCommandHelp");
|
|
325
327
|
|
|
326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
327
329
|
var WIRECAT_TOOLS = [
|
|
328
330
|
{
|
|
329
331
|
command: "tg",
|
|
@@ -350,6 +352,11 @@ var WIRECAT_TOOLS = [
|
|
|
350
352
|
package: "@wirecat/drive-cli",
|
|
351
353
|
does: "Google Drive and Docs as local text, searchable with your other WireCat data"
|
|
352
354
|
},
|
|
355
|
+
{
|
|
356
|
+
command: "gcal",
|
|
357
|
+
package: "@wirecat/gcal-cli",
|
|
358
|
+
does: "Google Calendar events, searchable with your other WireCat data"
|
|
359
|
+
},
|
|
353
360
|
{
|
|
354
361
|
command: "memo",
|
|
355
362
|
package: "@wirecat/cli-memo",
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|