@wirecat/drive-cli 0.66.0 → 0.67.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/contracts/wirecat.json +29 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-WCQLIHUG.js → all-profiles-DVZUVAPQ.js} +14 -14
- package/dist/bundle/{anthropic-5RJMB6O7.js → anthropic-Y45C45O2.js} +8 -8
- package/dist/bundle/{app-server-3RGYXPKG.js → app-server-GTXUOUGD.js} +56 -56
- package/dist/bundle/{bun-L34VEKGG.js → bun-QVJV76QJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-H6IAXQXI.js → bun-sqlite-CC7PIAMH.js} +9 -9
- package/dist/bundle/{chunk-UAKX6DP4.js → chunk-2MEVCMBW.js} +5 -5
- package/dist/bundle/{chunk-7ZGJRVBH.js → chunk-2PIA45FC.js} +4 -4
- package/dist/bundle/{chunk-5PLINHEY.js → chunk-2Y3YBDZX.js} +151 -149
- package/dist/bundle/{chunk-BQXSE645.js → chunk-3RG6LL25.js} +12 -12
- package/dist/bundle/{chunk-3QFUDXMQ.js → chunk-4G7WQNG7.js} +3 -2
- package/dist/bundle/{chunk-5HVJK3ZJ.js → chunk-4VH7M2OD.js} +4 -4
- package/dist/bundle/{chunk-COGWKO2T.js → chunk-5DMPGTNR.js} +3 -3
- package/dist/bundle/{chunk-NYZS2LKF.js → chunk-5TK2YQCO.js} +2 -2
- package/dist/bundle/{chunk-4UHBJSMI.js → chunk-5TSILGTO.js} +508 -450
- package/dist/bundle/{chunk-WYTYHUFH.js → chunk-6ERQE4FS.js} +43 -43
- package/dist/bundle/{chunk-O53WLYX3.js → chunk-7AZCAUST.js} +2 -2
- package/dist/bundle/{chunk-P7HQFII6.js → chunk-7J2IP3WL.js} +7 -7
- package/dist/bundle/{chunk-UNTIVT47.js → chunk-7JKECODO.js} +1 -1
- package/dist/bundle/{chunk-UQPW42HF.js → chunk-AAZPDWRD.js} +1 -1
- package/dist/bundle/{chunk-2S3E2HVV.js → chunk-ABJQ6IDU.js} +17 -17
- package/dist/bundle/{chunk-GY4DAJSK.js → chunk-AJ3DFPRT.js} +35 -6
- package/dist/bundle/{chunk-JLCR24UM.js → chunk-AZKFZ7J7.js} +1 -1
- package/dist/bundle/{chunk-I5R5CMQR.js → chunk-BHSLMJF7.js} +5 -5
- package/dist/bundle/{chunk-AP4MX247.js → chunk-C72WYRXD.js} +12 -12
- package/dist/bundle/{chunk-OZOQLAWK.js → chunk-CWDC6QJM.js} +6 -6
- package/dist/bundle/{chunk-JCHF7LZT.js → chunk-D4MVEOU2.js} +4 -4
- package/dist/bundle/{chunk-M7543RUJ.js → chunk-DAFKV6DJ.js} +220 -15
- package/dist/bundle/{chunk-3SDJIMZB.js → chunk-E3XA56TS.js} +1 -1
- package/dist/bundle/{chunk-IIHZTV6V.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/{chunk-FKKPVPZR.js → chunk-ETAFFY3J.js} +57 -57
- package/dist/bundle/{chunk-QJ57PV55.js → chunk-EXWOOST5.js} +102 -84
- package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-TYLEICTX.js → chunk-FOMQ4MG3.js} +3 -3
- package/dist/bundle/{chunk-VUUPFDRU.js → chunk-FS2PG2PE.js} +113 -39
- package/dist/bundle/{chunk-JQXK3M5M.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-VR3YKXHL.js → chunk-HJF2QGOX.js} +16 -16
- package/dist/bundle/{chunk-NK4GVFJH.js → chunk-IJCUAKR5.js} +4 -4
- package/dist/bundle/{chunk-XVZNFA2P.js → chunk-IRULPE5M.js} +293 -278
- package/dist/bundle/{chunk-QSELSDWE.js → chunk-JCNEPYQZ.js} +13 -13
- package/dist/bundle/{chunk-FA2TNA5X.js → chunk-JEMBW6IO.js} +1 -1
- package/dist/bundle/{chunk-H7XL6WTW.js → chunk-JJHDV32D.js} +2 -2
- package/dist/bundle/{chunk-LVAPSAHF.js → chunk-JLUQZZ26.js} +8 -8
- package/dist/bundle/{chunk-HPKE2GDP.js → chunk-JO7BJYAP.js} +18 -18
- package/dist/bundle/{chunk-VQKNKJYL.js → chunk-JRFKCYMW.js} +6 -6
- package/dist/bundle/{chunk-IRNDYNQX.js → chunk-JY2GZDJL.js} +4 -4
- package/dist/bundle/{chunk-YTIPTHEE.js → chunk-LSAIXPAX.js} +2 -2
- package/dist/bundle/{chunk-T3ULDA7C.js → chunk-LXRBTXCZ.js} +3 -3
- package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-PKM55ZRR.js → chunk-MBLB4TQI.js} +20 -20
- package/dist/bundle/{chunk-HQBLJLYH.js → chunk-MEQNAZ6R.js} +7 -7
- package/dist/bundle/{chunk-TAHISPDE.js → chunk-MEY7URZZ.js} +39 -35
- package/dist/bundle/{chunk-KRG5X5PH.js → chunk-MF46W7PQ.js} +2 -2
- package/dist/bundle/{chunk-6X3KUFRQ.js → chunk-MW46BLWH.js} +20 -20
- package/dist/bundle/{chunk-2AF77WMH.js → chunk-NFIR346J.js} +1 -1
- package/dist/bundle/{chunk-BIJW6AYA.js → chunk-NWYVOHIX.js} +3662 -3598
- package/dist/bundle/{chunk-HPSHQVJU.js → chunk-OOBSSU2G.js} +24 -19
- package/dist/bundle/{chunk-UG3GHFGY.js → chunk-P6A77LMP.js} +4 -4
- package/dist/bundle/{chunk-XLGDNI4S.js → chunk-PDHN4GHU.js} +5 -40
- package/dist/bundle/{chunk-ALE67WRR.js → chunk-PV3AWPHR.js} +5 -5
- package/dist/bundle/{chunk-SOOU5WO6.js → chunk-QOKPRFHM.js} +2 -2
- package/dist/bundle/{chunk-V2WXTILT.js → chunk-RC72RU66.js} +6 -6
- package/dist/bundle/{chunk-E2F2XIX6.js → chunk-RLH6BOEG.js} +8 -8
- package/dist/bundle/{chunk-D4MIMH2N.js → chunk-SJE7UGOW.js} +5 -5
- package/dist/bundle/{chunk-QF7VL4C3.js → chunk-SXJDCRXE.js} +1 -1
- package/dist/bundle/{chunk-5XLU4NN6.js → chunk-T2VAEDJS.js} +4 -4
- package/dist/bundle/{chunk-3NYH756U.js → chunk-U2ERT45N.js} +11 -6
- package/dist/bundle/{chunk-MZWXTJ4O.js → chunk-UFNE57VY.js} +3 -3
- package/dist/bundle/{chunk-6UJCCOZC.js → chunk-ULH3TNUP.js} +4 -4
- package/dist/bundle/{chunk-SZ6JFOL4.js → chunk-UOAHZV3K.js} +58 -37
- package/dist/bundle/{chunk-GVA3KTCD.js → chunk-UPCEHSIZ.js} +10 -10
- package/dist/bundle/{chunk-D7KOAPG6.js → chunk-V7E25BUU.js} +2 -2
- package/dist/bundle/{chunk-KOY5HUBY.js → chunk-VZ5KETIX.js} +4 -4
- package/dist/bundle/{chunk-ULXEW6FT.js → chunk-WBKYZZQT.js} +1 -1
- package/dist/bundle/{chunk-7LT2G5BC.js → chunk-WKIQKGOF.js} +26 -26
- package/dist/bundle/{chunk-5VDVGDOC.js → chunk-WWW7YTFG.js} +1 -1
- package/dist/bundle/{chunk-G4TNKBDX.js → chunk-XZCF5XU7.js} +7 -7
- package/dist/bundle/{chunk-5K54RZBK.js → chunk-Y2QVNVHK.js} +1 -1
- package/dist/bundle/{chunk-7EP4AU6A.js → chunk-Y5WSRG3F.js} +3 -3
- package/dist/bundle/{chunk-FHBTQPA3.js → chunk-YI4DXASF.js} +37 -37
- package/dist/bundle/{chunk-OT7SQQJK.js → chunk-YVUAG7RF.js} +17 -17
- package/dist/bundle/{chunk-Y5U4HIZS.js → chunk-ZEPDEFVT.js} +2 -2
- package/dist/bundle/{chunk-HHRJPLFO.js → chunk-ZH4H5XTA.js} +1 -1
- package/dist/bundle/{chunk-JHMEETXI.js → chunk-ZK46UHDP.js} +2 -2
- package/dist/bundle/{chunk-PUMDOCAF.js → chunk-ZU5VQYNY.js} +1 -1
- package/dist/bundle/{cli-KW6QQVS5.js → cli-U4LSBYDV.js} +61 -61
- package/dist/bundle/command-contract-UU5T24ZZ.js +41 -0
- package/dist/bundle/{command-server-entry-OC4E4DED.js → command-server-entry-PK6FBUPO.js} +31 -31
- package/dist/bundle/{decode-AH5ZLLDK.js → decode-3ZE6NBKV.js} +8 -8
- package/dist/bundle/{dispatch-CDWZZ54Q.js → dispatch-WBEOHZDV.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-VC7MTXWY.js → echarts-6FWNCNXK.js} +2 -2
- package/dist/bundle/{embed-EPSQY6QG.js → embed-DGYBBZUW.js} +9 -9
- package/dist/bundle/{embedder-TK4U4TJR.js → embedder-O7A6VMWI.js} +12 -12
- package/dist/bundle/entry-CDJ2QSU2.js +25 -0
- package/dist/bundle/{failure-WSVZOPFE.js → failure-X6PSLVSO.js} +4 -4
- package/dist/bundle/first-run-UOQW7DN5.js +30 -0
- package/dist/bundle/first-screen-SNDV4YKF.js +39 -0
- package/dist/bundle/google-HPX52KMC.js +45 -0
- package/dist/bundle/{google-api-AV4X2JH3.js → google-api-HIMN4XL5.js} +63 -63
- package/dist/bundle/grants-RO42I6E4.js +111 -0
- package/dist/bundle/{identity-CGHHF7AK.js → identity-NFGHDPLL.js} +6 -6
- package/dist/bundle/{instructions-24PHDBBE.js → instructions-6JAQYCM6.js} +1 -1
- package/dist/bundle/{login-XHFESAFM.js → login-RZOQN63N.js} +69 -69
- package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-GIDULTV5.js → node-KSIX3GIH.js} +2 -2
- package/dist/bundle/{node-sqlite-LINBOAWK.js → node-sqlite-4FJ6WJXN.js} +10 -10
- package/dist/bundle/oauth-BKZAMFKK.js +22 -0
- package/dist/bundle/{open-RYFKPNCJ.js → open-4AQJGH42.js} +8 -8
- package/dist/bundle/{openai-Q7YYUHJF.js → openai-24F2OX55.js} +19 -19
- package/dist/bundle/{process-VPIZTIJR.js → process-7NOA2T7H.js} +1 -1
- package/dist/bundle/{program-IUXFRBZA.js → program-7JHMLDEX.js} +181 -225
- package/dist/bundle/{prompt-LF4KX3XL.js → prompt-NM66MAZ4.js} +8 -8
- package/dist/bundle/{reasons-JPYOU5GV.js → reasons-KSYP5VDJ.js} +5 -5
- package/dist/bundle/{recognize-KEWTJXFH.js → recognize-DBKV2JYZ.js} +7 -7
- package/dist/bundle/{remote-HGGLB76S.js → remote-ABWUTBVB.js} +13 -13
- package/dist/bundle/{rerank-TDUKETFT.js → rerank-FQAU4ENY.js} +10 -10
- package/dist/bundle/{serve-XFYMKW5W.js → serve-QLJG4QZD.js} +12 -12
- package/dist/bundle/server-NUBLY5SV.js +74 -0
- package/dist/bundle/{server-PXIPSGFP.js → server-VGZNK5XD.js} +47 -47
- package/dist/bundle/{services-2BOCGMJU.js → services-5KARVUHK.js} +36 -36
- package/dist/bundle/{sqlite-runtime-R7M5XUMW.js → sqlite-runtime-ILF6EFQJ.js} +9 -9
- package/dist/bundle/{start-YRLT4MQZ.js → start-C6EXYXAL.js} +7 -7
- package/dist/bundle/{state-NZ7WRJWH.js → state-R2M56GPU.js} +9 -9
- package/dist/bundle/{store-ICDGPSEN.js → store-2OBVMUQL.js} +19 -19
- package/dist/bundle/{store-7LCVDO7G.js → store-DA4K7HWW.js} +21 -21
- package/dist/bundle/store-maintenance-command-KSIPI5B5.js +65 -0
- package/dist/bundle/tokens-VQDGSHRB.js +111 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -3
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/search.js +4 -4
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +2 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/transcripts.d.ts +4 -0
- package/dist/commands/transcripts.d.ts.map +1 -0
- package/dist/commands/transcripts.js +42 -0
- package/dist/commands/transcripts.js.map +1 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +14 -1
- package/dist/config.js.map +1 -1
- package/dist/google.d.ts.map +1 -1
- package/dist/google.js +31 -28
- package/dist/google.js.map +1 -1
- package/dist/list-queries.d.ts +10 -0
- package/dist/list-queries.d.ts.map +1 -1
- package/dist/list-queries.js +12 -1
- package/dist/list-queries.js.map +1 -1
- package/dist/model.d.ts +4 -1
- package/dist/model.d.ts.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +2 -0
- package/dist/state.js.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +5 -1
- package/dist/sync.js.map +1 -1
- package/dist/transcripts.d.ts +21 -0
- package/dist/transcripts.d.ts.map +1 -0
- package/dist/transcripts.js +48 -0
- package/dist/transcripts.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-CE543JBN.js +0 -41
- package/dist/bundle/entry-3VN23M7M.js +0 -25
- package/dist/bundle/first-run-7ZYJ7EB3.js +0 -30
- package/dist/bundle/first-screen-CZDH7QY3.js +0 -39
- package/dist/bundle/google-OBZMWA7J.js +0 -45
- package/dist/bundle/grants-WTRLN4ZI.js +0 -111
- package/dist/bundle/oauth-JHUX3KE3.js +0 -22
- package/dist/bundle/server-BDEV3CZJ.js +0 -74
- package/dist/bundle/store-maintenance-command-SJPLY6IH.js +0 -65
- package/dist/bundle/tokens-FGTBE7VW.js +0 -111
- /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
filesPresent,
|
|
5
5
|
sharedModelsDirectory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T2VAEDJS.js";
|
|
7
7
|
import {
|
|
8
8
|
PRIORITY_LABELS,
|
|
9
9
|
TAG_TYPES,
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
id,
|
|
15
15
|
text,
|
|
16
16
|
time
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EXWOOST5.js";
|
|
18
18
|
import {
|
|
19
19
|
readSharedSection,
|
|
20
20
|
sharedConfigPath,
|
|
21
21
|
writeSharedSection
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MEQNAZ6R.js";
|
|
23
23
|
import {
|
|
24
24
|
storePath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4G7WQNG7.js";
|
|
26
26
|
import {
|
|
27
27
|
array,
|
|
28
28
|
boolean,
|
|
@@ -46,16 +46,16 @@ import {
|
|
|
46
46
|
string,
|
|
47
47
|
trim,
|
|
48
48
|
url
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-JRFKCYMW.js";
|
|
50
50
|
import {
|
|
51
51
|
CliError,
|
|
52
52
|
isCliError
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-EA2OB75T.js";
|
|
54
54
|
import {
|
|
55
55
|
__name
|
|
56
56
|
} from "./chunk-ZVVMGPBJ.js";
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
59
59
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
60
60
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
61
61
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -459,7 +459,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
459
459
|
}
|
|
460
460
|
}, "assertRetentionEvidenceRead");
|
|
461
461
|
|
|
462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
463
463
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
464
464
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
465
465
|
var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
@@ -473,7 +473,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
|
473
473
|
return ms;
|
|
474
474
|
}, "parseDuration");
|
|
475
475
|
|
|
476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
477
477
|
import { existsSync } from "node:fs";
|
|
478
478
|
import { join } from "node:path";
|
|
479
479
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -750,7 +750,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model) => {
|
|
|
750
750
|
}, "vectorModelKey");
|
|
751
751
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
752
752
|
|
|
753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
754
754
|
var closeSuggestion = strictObject({
|
|
755
755
|
as: picklist(["done", "dismissed"]),
|
|
756
756
|
/** The agent's name. */
|
|
@@ -812,7 +812,7 @@ var task = strictObject({
|
|
|
812
812
|
updated_at: optional(time)
|
|
813
813
|
});
|
|
814
814
|
|
|
815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
816
816
|
var agendaChat = strictObject({
|
|
817
817
|
chat: reference,
|
|
818
818
|
title: nullable(text),
|
|
@@ -882,7 +882,7 @@ var agenda = strictObject({
|
|
|
882
882
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
883
883
|
});
|
|
884
884
|
|
|
885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
886
886
|
var attachment = strictObject({
|
|
887
887
|
/** The message it came with, as a locator; absent inside that message. */
|
|
888
888
|
message: optional(reference),
|
|
@@ -927,7 +927,7 @@ var hitFile = strictObject({
|
|
|
927
927
|
local_path: optional(text)
|
|
928
928
|
});
|
|
929
929
|
|
|
930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
931
931
|
var conversation = strictObject({
|
|
932
932
|
id,
|
|
933
933
|
chat: reference,
|
|
@@ -942,7 +942,7 @@ var conversation = strictObject({
|
|
|
942
942
|
rules_version: count
|
|
943
943
|
});
|
|
944
944
|
|
|
945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
946
946
|
var tagging = strictObject({
|
|
947
947
|
tag: text,
|
|
948
948
|
type: picklist(TAG_TYPES),
|
|
@@ -955,7 +955,7 @@ var tagging = strictObject({
|
|
|
955
955
|
created_at: time
|
|
956
956
|
});
|
|
957
957
|
|
|
958
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
959
959
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
960
960
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
961
961
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -998,7 +998,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
998
998
|
};
|
|
999
999
|
}, "runBudget");
|
|
1000
1000
|
|
|
1001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
1002
1002
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
1003
1003
|
var sentIds = /* @__PURE__ */ __name((typed, message) => ({
|
|
1004
1004
|
messageId: message.id,
|
|
@@ -1104,7 +1104,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
|
|
|
1104
1104
|
}, "guardedWrite");
|
|
1105
1105
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
1106
1106
|
|
|
1107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
1108
1108
|
var HISTORY_MAX_DAYS = 1095;
|
|
1109
1109
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
1110
1110
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -1151,7 +1151,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
1151
1151
|
return { batch: { ...batch, messages }, skipped };
|
|
1152
1152
|
}, "limitBatch");
|
|
1153
1153
|
|
|
1154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
1155
1155
|
import { join as join2 } from "node:path";
|
|
1156
1156
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
1157
1157
|
var IMAGE_MODELS = [
|
|
@@ -1205,7 +1205,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
1205
1205
|
var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
|
|
1206
1206
|
var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
|
|
1207
1207
|
|
|
1208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
1209
1209
|
var WEIGHTS = {
|
|
1210
1210
|
bot: 3,
|
|
1211
1211
|
scam: 3,
|
|
@@ -1230,7 +1230,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
1230
1230
|
var DIGITS = /\d{5,}/;
|
|
1231
1231
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
1232
1232
|
|
|
1233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
1234
1234
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
1235
1235
|
const total = input.total ?? null;
|
|
1236
1236
|
const updated = input.updatedAt ?? null;
|
|
@@ -2,25 +2,25 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4G7WQNG7.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MW46BLWH.js";
|
|
9
9
|
import {
|
|
10
10
|
singleLine
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HCZYJMBP.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EA2OB75T.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
20
20
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
21
21
|
import { dirname, join, resolve } from "node:path";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
24
24
|
var DEFAULT_TASK_CATEGORIES = [
|
|
25
25
|
{
|
|
26
26
|
name: "taxes",
|
|
@@ -775,7 +775,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
775
775
|
}
|
|
776
776
|
}, "storedTaskCategories");
|
|
777
777
|
|
|
778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
779
779
|
var SECTION = "task_categories";
|
|
780
780
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
781
781
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
DOC,
|
|
5
4
|
MAX_ENTRIES,
|
|
6
5
|
READABLE,
|
|
7
|
-
SHEET,
|
|
8
6
|
XLSX,
|
|
9
7
|
supported,
|
|
10
8
|
tooManyEntries
|
|
11
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PDHN4GHU.js";
|
|
10
|
+
import {
|
|
11
|
+
DOC,
|
|
12
|
+
SHEET
|
|
13
|
+
} from "./chunk-FS2PG2PE.js";
|
|
12
14
|
import {
|
|
13
15
|
googleError
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Y2QVNVHK.js";
|
|
15
17
|
import {
|
|
16
18
|
extractText
|
|
17
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6ERQE4FS.js";
|
|
18
20
|
import {
|
|
19
21
|
MAX_TEXT_CHARS
|
|
20
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LXRBTXCZ.js";
|
|
21
23
|
import {
|
|
22
24
|
importFrom
|
|
23
25
|
} from "./chunk-Y5E2WNWB.js";
|
|
24
26
|
import {
|
|
25
27
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EA2OB75T.js";
|
|
27
29
|
import {
|
|
28
30
|
__name
|
|
29
31
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -116,6 +118,34 @@ var googleSource = /* @__PURE__ */ __name((auth) => {
|
|
|
116
118
|
throw googleError(error);
|
|
117
119
|
}
|
|
118
120
|
}, "safe");
|
|
121
|
+
const listed = /* @__PURE__ */ __name((q, what) => safe(async () => {
|
|
122
|
+
const files = [];
|
|
123
|
+
const seen = /* @__PURE__ */ new Set();
|
|
124
|
+
let pageToken;
|
|
125
|
+
for (let page = 0; page < MAX_PAGES; page++) {
|
|
126
|
+
const { data } = await api.files.list({
|
|
127
|
+
q,
|
|
128
|
+
fields: `nextPageToken,incompleteSearch,files(${FIELDS})`,
|
|
129
|
+
pageSize: 1e3,
|
|
130
|
+
supportsAllDrives: true,
|
|
131
|
+
includeItemsFromAllDrives: true,
|
|
132
|
+
...pageToken ? { pageToken } : {}
|
|
133
|
+
}, { timeout: 3e4 });
|
|
134
|
+
if (data.incompleteSearch)
|
|
135
|
+
throw new CliError("provider_error", `Google ${what} was incomplete; sync state was preserved`);
|
|
136
|
+
for (const file of data.files ?? [])
|
|
137
|
+
files.push(metadataOf(file));
|
|
138
|
+
if (files.length > MAX_ENTRIES)
|
|
139
|
+
throw tooManyEntries();
|
|
140
|
+
if (!data.nextPageToken)
|
|
141
|
+
return files;
|
|
142
|
+
if (seen.has(data.nextPageToken))
|
|
143
|
+
throw new CliError("invalid_response", "Google repeated a folder page token");
|
|
144
|
+
seen.add(data.nextPageToken);
|
|
145
|
+
pageToken = data.nextPageToken;
|
|
146
|
+
}
|
|
147
|
+
throw new CliError("provider_error", `${what} pagination exceeded its bound; sync state was preserved`);
|
|
148
|
+
}), "listed");
|
|
119
149
|
const metadata = /* @__PURE__ */ __name((id) => safe(async () => metadataOf((await api.files.get({ fileId: id, fields: FIELDS, supportsAllDrives: true }, { timeout: 3e4 })).data)), "metadata");
|
|
120
150
|
return {
|
|
121
151
|
metadata,
|
|
@@ -125,34 +155,8 @@ var googleSource = /* @__PURE__ */ __name((auth) => {
|
|
|
125
155
|
throw new CliError("invalid_response", "Google did not identify the signed-in account");
|
|
126
156
|
return id;
|
|
127
157
|
}), "identity"),
|
|
128
|
-
children: /* @__PURE__ */ __name((id) =>
|
|
129
|
-
|
|
130
|
-
const seen = /* @__PURE__ */ new Set();
|
|
131
|
-
let pageToken;
|
|
132
|
-
for (let page = 0; page < MAX_PAGES; page++) {
|
|
133
|
-
const { data } = await api.files.list({
|
|
134
|
-
q: `'${id}' in parents and trashed = false`,
|
|
135
|
-
fields: `nextPageToken,incompleteSearch,files(${FIELDS})`,
|
|
136
|
-
pageSize: 1e3,
|
|
137
|
-
supportsAllDrives: true,
|
|
138
|
-
includeItemsFromAllDrives: true,
|
|
139
|
-
...pageToken ? { pageToken } : {}
|
|
140
|
-
}, { timeout: 3e4 });
|
|
141
|
-
if (data.incompleteSearch)
|
|
142
|
-
throw new CliError("provider_error", "Google folder listing was incomplete; sync state was preserved");
|
|
143
|
-
for (const file of data.files ?? [])
|
|
144
|
-
files.push(metadataOf(file));
|
|
145
|
-
if (files.length > MAX_ENTRIES)
|
|
146
|
-
throw tooManyEntries();
|
|
147
|
-
if (!data.nextPageToken)
|
|
148
|
-
return files;
|
|
149
|
-
if (seen.has(data.nextPageToken))
|
|
150
|
-
throw new CliError("invalid_response", "Google repeated a folder page token");
|
|
151
|
-
seen.add(data.nextPageToken);
|
|
152
|
-
pageToken = data.nextPageToken;
|
|
153
|
-
}
|
|
154
|
-
throw new CliError("provider_error", "folder pagination exceeded its bound; sync state was preserved");
|
|
155
|
-
}), "children"),
|
|
158
|
+
children: /* @__PURE__ */ __name((id) => listed(`'${id}' in parents and trashed = false`, "folder listing"), "children"),
|
|
159
|
+
search: /* @__PURE__ */ __name((q) => listed(q, "transcript search"), "search"),
|
|
156
160
|
startToken: /* @__PURE__ */ __name(() => safe(async () => {
|
|
157
161
|
const token = (await api.changes.getStartPageToken({ supportsAllDrives: true }, { timeout: 3e4 })).data.startPageToken;
|
|
158
162
|
if (!token)
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EA2OB75T.js";
|
|
9
9
|
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.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -2,14 +2,14 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
errorObjectOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PV3AWPHR.js";
|
|
6
6
|
import {
|
|
7
7
|
visibleControls
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HCZYJMBP.js";
|
|
9
9
|
import {
|
|
10
10
|
LOG_ATTRIBUTE_KEYS,
|
|
11
11
|
isContentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5TK2YQCO.js";
|
|
13
13
|
import {
|
|
14
14
|
getDotPath,
|
|
15
15
|
object,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
safeParse,
|
|
18
18
|
string,
|
|
19
19
|
unknown
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JRFKCYMW.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EA2OB75T.js";
|
|
24
24
|
import {
|
|
25
25
|
__commonJS,
|
|
26
26
|
__name,
|
|
@@ -1893,7 +1893,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1893
1893
|
}
|
|
1894
1894
|
});
|
|
1895
1895
|
|
|
1896
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1896
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
1897
1897
|
import { createRequire } from "node:module";
|
|
1898
1898
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
1899
1899
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -1919,7 +1919,7 @@ var systemKeyring = {
|
|
|
1919
1919
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
1920
1920
|
};
|
|
1921
1921
|
|
|
1922
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1922
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
1923
1923
|
import { realpathSync } from "node:fs";
|
|
1924
1924
|
import { homedir, userInfo } from "node:os";
|
|
1925
1925
|
import { join, posix, win32 } from "node:path";
|
|
@@ -1993,11 +1993,11 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1993
1993
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
1994
1994
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1995
1995
|
|
|
1996
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1996
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
1997
1997
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
1998
1998
|
import { join as join3, resolve } from "node:path";
|
|
1999
1999
|
|
|
2000
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2000
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2001
2001
|
import { randomBytes } from "node:crypto";
|
|
2002
2002
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2003
2003
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2041,7 +2041,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2041
2041
|
`, 384);
|
|
2042
2042
|
}, "saveConfigFile");
|
|
2043
2043
|
|
|
2044
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2044
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2045
2045
|
var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
|
|
2046
2046
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2047
2047
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
@@ -2177,7 +2177,7 @@ var Credentials = class {
|
|
|
2177
2177
|
}
|
|
2178
2178
|
};
|
|
2179
2179
|
|
|
2180
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2180
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
2181
2181
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2182
2182
|
if (signal?.aborted)
|
|
2183
2183
|
return Promise.reject(signal.reason);
|
|
@@ -2205,7 +2205,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2205
2205
|
});
|
|
2206
2206
|
}, "waitForDrain");
|
|
2207
2207
|
|
|
2208
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2208
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2209
2209
|
var processStreams = {
|
|
2210
2210
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2211
2211
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2234,7 +2234,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2234
2234
|
};
|
|
2235
2235
|
}, "captureStreams");
|
|
2236
2236
|
|
|
2237
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2237
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2238
2238
|
var DEFAULT_RETRY = {
|
|
2239
2239
|
retries: 1,
|
|
2240
2240
|
baseDelayMs: 250,
|
|
@@ -2246,7 +2246,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2246
2246
|
return Math.round(random() * ceiling);
|
|
2247
2247
|
}, "backoffMs");
|
|
2248
2248
|
|
|
2249
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2249
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
2250
2250
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2251
2251
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2252
2252
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2311,7 +2311,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2311
2311
|
return project(value, fields);
|
|
2312
2312
|
}, "projectFields");
|
|
2313
2313
|
|
|
2314
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2314
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2315
2315
|
var BATCH_LIMITS = Object.freeze({
|
|
2316
2316
|
requests: 32,
|
|
2317
2317
|
input_bytes: 262144,
|
|
@@ -2438,7 +2438,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2438
2438
|
};
|
|
2439
2439
|
}, "runBatch");
|
|
2440
2440
|
|
|
2441
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2441
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2442
2442
|
import { fileURLToPath } from "node:url";
|
|
2443
2443
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2444
2444
|
var baseConstantsSchema = object({});
|
|
@@ -2493,7 +2493,7 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
|
|
|
2493
2493
|
return deepFreeze(result.output);
|
|
2494
2494
|
}, "loadConstants");
|
|
2495
2495
|
|
|
2496
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2496
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2497
2497
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2498
2498
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2499
2499
|
if (signal?.aborted) {
|
|
@@ -2507,7 +2507,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2507
2507
|
}, { once: true });
|
|
2508
2508
|
}), "realSleep");
|
|
2509
2509
|
|
|
2510
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2510
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2511
2511
|
import { appendFileSync } from "node:fs";
|
|
2512
2512
|
var REDACTED_FIELDS = [
|
|
2513
2513
|
"authorization",
|
|
@@ -2602,7 +2602,7 @@ var silent = {
|
|
|
2602
2602
|
}, "error")
|
|
2603
2603
|
};
|
|
2604
2604
|
|
|
2605
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2605
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2606
2606
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2607
2607
|
import { styleText } from "node:util";
|
|
2608
2608
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2677,7 +2677,7 @@ var BORDERLESS = {
|
|
|
2677
2677
|
middle: ""
|
|
2678
2678
|
};
|
|
2679
2679
|
|
|
2680
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2680
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2681
2681
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2682
2682
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2683
2683
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.652.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_8be4ae3be01c4720e564a3a01e19fd64/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
|
|
8
8
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
9
9
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
10
10
|
|