@wirecat/zoom-cli 0.61.0 → 0.62.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/zm.js +2 -2
- package/dist/bundle/{all-profiles-HZLIU6RZ.js → all-profiles-CGGNBINU.js} +8 -8
- package/dist/bundle/answer-policy-D46SGQ35.js +96 -0
- package/dist/bundle/{anthropic-O2YYPCVK.js → anthropic-KVWPIHFG.js} +4 -4
- package/dist/bundle/{app-server-YYCANTUE.js → app-server-NKKFBTQN.js} +50 -50
- package/dist/bundle/{bun-UEFRULAT.js → bun-XRO6XJHQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-VVYKOY7S.js → bun-sqlite-FWNCLOAR.js} +3 -3
- package/dist/bundle/{chunk-IKZFR645.js → chunk-2DPMYUWQ.js} +10 -10
- package/dist/bundle/{chunk-LX6DO44O.js → chunk-2LLNPNMB.js} +1 -1
- package/dist/bundle/{chunk-P2NRA7E5.js → chunk-2NAM2XQG.js} +2 -2
- package/dist/bundle/{chunk-KXYURHVE.js → chunk-2T7MUSDB.js} +95 -95
- package/dist/bundle/{chunk-S726LZCH.js → chunk-3YBDRVOG.js} +6 -6
- package/dist/bundle/{chunk-4XI4PDEH.js → chunk-4OQVRDTG.js} +20 -20
- package/dist/bundle/{chunk-RSXLI5GP.js → chunk-4OTXE6CF.js} +52 -52
- package/dist/bundle/{chunk-VARX3SBT.js → chunk-4UUQEQ5D.js} +1 -1
- package/dist/bundle/{chunk-UYAKSUT5.js → chunk-5LMQTEU5.js} +5 -5
- package/dist/bundle/{chunk-BNUNZTOU.js → chunk-5MYLM6SU.js} +44 -26
- package/dist/bundle/{chunk-YESOQEOB.js → chunk-5NLFQ644.js} +543 -288
- package/dist/bundle/{chunk-5NRBNGR3.js → chunk-6R3GMSLR.js} +2 -2
- package/dist/bundle/{chunk-MTAVA2LS.js → chunk-6SK5SHCR.js} +2 -2
- package/dist/bundle/{chunk-H5EAHMQN.js → chunk-6SPWQCJF.js} +11 -11
- package/dist/bundle/{chunk-E4T7IJJO.js → chunk-6URISMGR.js} +26 -26
- package/dist/bundle/{chunk-XZ4OVTA5.js → chunk-72S5TXFN.js} +9 -9
- package/dist/bundle/{chunk-XX2PDQ54.js → chunk-73BAQ7PH.js} +24 -24
- package/dist/bundle/{chunk-F32GKBMF.js → chunk-7AY3ADNV.js} +5 -5
- package/dist/bundle/{chunk-COU66X3X.js → chunk-7CNRZSAV.js} +4 -4
- package/dist/bundle/{chunk-77GJITSU.js → chunk-7LQLJ7LW.js} +2 -2
- package/dist/bundle/{chunk-KGZHRJ7H.js → chunk-AMIIU3UZ.js} +4 -4
- package/dist/bundle/{chunk-HTGBUE2U.js → chunk-BJPFWPKH.js} +2 -2
- package/dist/bundle/{chunk-2M2U43IF.js → chunk-BNTAQADF.js} +2 -2
- package/dist/bundle/{chunk-PCUPOGKR.js → chunk-BPMKLWHV.js} +4 -4
- package/dist/bundle/{chunk-JKWYXBGK.js → chunk-CXPHUOJR.js} +12 -12
- package/dist/bundle/{chunk-NVN4O5IC.js → chunk-D6FTCPXA.js} +9 -9
- package/dist/bundle/{chunk-KZGHGU2M.js → chunk-DIXC56OU.js} +4 -4
- package/dist/bundle/{chunk-TD4Y5LXG.js → chunk-ECXRRW7J.js} +18 -18
- package/dist/bundle/{chunk-M3EVVGR6.js → chunk-EG7HC4EC.js} +2 -2
- package/dist/bundle/{chunk-B45MFBBF.js → chunk-EJFSS65P.js} +6 -6
- package/dist/bundle/{chunk-FQ54A7GI.js → chunk-EOEDICIE.js} +1 -1
- package/dist/bundle/{chunk-7ATLKYBN.js → chunk-FAOLCUKV.js} +17 -17
- package/dist/bundle/{chunk-KPZIQKOF.js → chunk-FDCGTODC.js} +1 -1
- package/dist/bundle/{chunk-OU46OTTE.js → chunk-GOESXUJQ.js} +3 -3
- package/dist/bundle/{chunk-CUSGSXSR.js → chunk-HIZQYFY3.js} +3 -3
- package/dist/bundle/{chunk-MBMDF5EL.js → chunk-IK2OSV5C.js} +6 -6
- package/dist/bundle/{chunk-6SLGIPLT.js → chunk-IOCS5FXW.js} +2 -2
- package/dist/bundle/{chunk-AOSIU5T6.js → chunk-IOUPXUFH.js} +37 -36
- package/dist/bundle/{chunk-KZV5GU7G.js → chunk-IR73ZZY6.js} +8 -8
- package/dist/bundle/{chunk-FBJC7OCI.js → chunk-JBBZCTTF.js} +1 -1
- package/dist/bundle/{chunk-QHT2LZRW.js → chunk-JDJDVYGS.js} +6 -6
- package/dist/bundle/{chunk-SVBM6F4Z.js → chunk-JYVFFUIX.js} +1 -1
- package/dist/bundle/{chunk-4XPIOW5L.js → chunk-KM7Q67Z3.js} +1 -1
- package/dist/bundle/{chunk-U4Y2QQ2D.js → chunk-KMQUZ4YM.js} +3 -3
- package/dist/bundle/{chunk-CMG54Q4X.js → chunk-LXYC75D3.js} +25 -25
- package/dist/bundle/{chunk-E4QPLXZT.js → chunk-M2WQWF3I.js} +47 -47
- package/dist/bundle/{chunk-T7IQMYPW.js → chunk-M6FCCVYZ.js} +4 -3
- package/dist/bundle/{chunk-O3WVOAT7.js → chunk-M7YNOK4D.js} +10 -10
- package/dist/bundle/{chunk-HF233RN4.js → chunk-MI3JK6MW.js} +10 -10
- package/dist/bundle/{chunk-FXY45HU7.js → chunk-MIUPH3WA.js} +6 -6
- package/dist/bundle/{chunk-7DMMNCY2.js → chunk-MLNC5N7H.js} +3 -3
- package/dist/bundle/{chunk-OLZE27RS.js → chunk-N3KQ7XND.js} +2 -2
- package/dist/bundle/{chunk-XOJGXWTK.js → chunk-NQCFUYC2.js} +8 -8
- package/dist/bundle/{chunk-6LHTWR3X.js → chunk-Q4ZE2LXE.js} +2 -2
- package/dist/bundle/{chunk-67WW33JB.js → chunk-QLQ7VVLK.js} +4 -4
- package/dist/bundle/{chunk-6RV7KXDF.js → chunk-QUWMFBMS.js} +6 -6
- package/dist/bundle/{chunk-WVYSOV3C.js → chunk-RWG44LQD.js} +4 -4
- package/dist/bundle/{chunk-L7VIPVHL.js → chunk-SB47UAW2.js} +49 -39
- package/dist/bundle/{chunk-LXOSBFWW.js → chunk-SEH7DBAM.js} +7 -7
- package/dist/bundle/{chunk-FAOVUALC.js → chunk-SPJJCD2A.js} +13 -13
- package/dist/bundle/{chunk-UPWHCUVA.js → chunk-TILW3EJY.js} +334 -293
- package/dist/bundle/{chunk-LPJ3S6GE.js → chunk-TQFCPUIM.js} +1 -1
- package/dist/bundle/{chunk-BPQNTYLN.js → chunk-TZE6WXID.js} +565 -297
- package/dist/bundle/{chunk-OMUX4LSS.js → chunk-UD4FKICZ.js} +4 -4
- package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-35X6G276.js → chunk-URJZK4GX.js} +1 -1
- package/dist/bundle/{chunk-RGOBGHWE.js → chunk-VFJ3MOIR.js} +3 -3
- package/dist/bundle/{chunk-GNHPYQMM.js → chunk-XAXXEZZ5.js} +2 -2
- package/dist/bundle/{chunk-OVVDOVLN.js → chunk-YBMOFCY5.js} +2 -2
- package/dist/bundle/{chunk-3TGR4RDD.js → chunk-YF2PT5KA.js} +31 -31
- package/dist/bundle/{chunk-ABCHE4YP.js → chunk-YFIUXE25.js} +3 -3
- package/dist/bundle/{chunk-MVRCLMQL.js → chunk-YI6ZNDPC.js} +22 -12
- package/dist/bundle/{chunk-B3PTSX5D.js → chunk-YJN4XYNA.js} +2 -2
- package/dist/bundle/{cli-O4LAGYXI.js → cli-AHPIESAC.js} +63 -53
- package/dist/bundle/command-contract-HVLI3OKU.js +38 -0
- package/dist/bundle/config-UW6W34I2.js +78 -0
- package/dist/bundle/{decode-WRMZJJCR.js → decode-ZU7WLMMV.js} +3 -3
- package/dist/bundle/{dist-SQK4GIJT.js → dist-LTS7VI3S.js} +14 -14
- package/dist/bundle/{echarts-3DOOJSQR.js → echarts-YNGCOYHW.js} +2 -2
- package/dist/bundle/{embed-OYRHTMFI.js → embed-VWWOW7PP.js} +4 -4
- package/dist/bundle/{embedder-ZAYCL22W.js → embedder-T5GJC7M2.js} +7 -7
- package/dist/bundle/{first-run-QXSPIXOQ.js → first-run-PX3SHPUU.js} +8 -8
- package/dist/bundle/first-screen-RAPEZG57.js +36 -0
- package/dist/bundle/{folders-EXQLKXVK.js → folders-VXMDFC2D.js} +2 -2
- package/dist/bundle/{instructions-GFEOB7XJ.js → instructions-GJHHFV64.js} +1 -1
- package/dist/bundle/{main-RADF3CRI.js → main-IYCD6MBH.js} +16 -16
- package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{meetings-6BIIT42H.js → meetings-GHYNIOHG.js} +4 -4
- package/dist/bundle/{node-A3B2YRQI.js → node-GFOH6FKP.js} +2 -2
- package/dist/bundle/{node-sqlite-XRP5FUDY.js → node-sqlite-QXKSPHTP.js} +3 -3
- package/dist/bundle/{oauth-YICY4AN4.js → oauth-A6I2OMDD.js} +5 -5
- package/dist/bundle/{open-4CNKSQRB.js → open-TQKCU447.js} +2 -2
- package/dist/bundle/{openai-YYRO3X7I.js → openai-XE3BJXOI.js} +9 -9
- package/dist/bundle/{output-file-7BXYV6OL.js → output-file-FQNFCUKE.js} +3 -3
- package/dist/bundle/{process-A45QXKID.js → process-XVDX4SPD.js} +1 -1
- package/dist/bundle/{program-DTP7BRTW.js → program-UYK4AD2W.js} +69 -69
- package/dist/bundle/{prompt-5LMKO7SE.js → prompt-ISYG5RWM.js} +3 -3
- package/dist/bundle/{recognize-MB6WRGUD.js → recognize-KENPECLZ.js} +2 -2
- package/dist/bundle/{remote-PD7WMTTS.js → remote-ZP5XTDCC.js} +5 -5
- package/dist/bundle/{rerank-7E6GQ5Y6.js → rerank-SG653RHT.js} +5 -5
- package/dist/bundle/{run-log-TCFK4LEC.js → run-log-HYKGQ42E.js} +53 -53
- package/dist/bundle/{serve-JBT2BWHK.js → serve-6UJCZD7Z.js} +7 -7
- package/dist/bundle/server-AXE37E6Q.js +66 -0
- package/dist/bundle/{server-H2UPGGBI.js → server-ZAYEDPFR.js} +42 -42
- package/dist/bundle/{services-SJOTKL5V.js → services-KMH7XZPY.js} +31 -27
- package/dist/bundle/{speech-4SL25GSC.js → speech-LINBLG5E.js} +11 -11
- package/dist/bundle/{state-FVMTDZ6B.js → state-4RKZNHE7.js} +4 -4
- package/dist/bundle/{store-TI77SCNL.js → store-253N7NUC.js} +15 -15
- package/dist/bundle/{store-DNPKBUVO.js → store-JTBHRQZK.js} +13 -13
- package/dist/bundle/store-connection-PWLUMCP7.js +76 -0
- package/dist/bundle/store-maintenance-command-XRNECVDU.js +55 -0
- package/dist/bundle/{streaming-UHAHGPH5.js → streaming-YW64OKKQ.js} +4 -4
- package/dist/bundle/{tokens-Y2MX6JBL.js → tokens-DPBC2P3I.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/tokens.d.ts +6 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +21 -10
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-GRODO2DY.js +0 -96
- package/dist/bundle/command-contract-67QKBY6M.js +0 -38
- package/dist/bundle/config-ABURZDD2.js +0 -78
- package/dist/bundle/first-screen-MD6HWIJW.js +0 -36
- package/dist/bundle/server-CFIKEPLG.js +0 -66
- package/dist/bundle/store-connection-GIFWWMNO.js +0 -76
- package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +0 -55
- /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
organization,
|
|
5
5
|
project,
|
|
6
6
|
reminder
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RWG44LQD.js";
|
|
8
8
|
import {
|
|
9
9
|
MIGRATIONS,
|
|
10
10
|
SnapshotBudget,
|
|
@@ -28,31 +28,31 @@ import {
|
|
|
28
28
|
tagMemberIds,
|
|
29
29
|
thingOf,
|
|
30
30
|
write
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-TILW3EJY.js";
|
|
32
32
|
import {
|
|
33
33
|
fold
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IR73ZZY6.js";
|
|
35
35
|
import {
|
|
36
36
|
filesAccountSql,
|
|
37
37
|
folderProviderOf,
|
|
38
38
|
folderProviderSql,
|
|
39
39
|
isDocumentAccountProvider
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-MIUPH3WA.js";
|
|
41
41
|
import {
|
|
42
42
|
queryFieldsOf
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-D6FTCPXA.js";
|
|
44
44
|
import {
|
|
45
45
|
CliError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-SB47UAW2.js";
|
|
47
47
|
import {
|
|
48
48
|
__name
|
|
49
49
|
} from "./chunk-ZVVMGPBJ.js";
|
|
50
50
|
|
|
51
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
52
52
|
import { realpathSync, statSync } from "node:fs";
|
|
53
53
|
import { resolve } from "node:path";
|
|
54
54
|
|
|
55
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
55
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
56
56
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
57
57
|
const creatable = /* @__PURE__ */ new Set();
|
|
58
58
|
let people = 0, identities = 0;
|
|
@@ -115,11 +115,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
115
115
|
}
|
|
116
116
|
}, "copyPeople");
|
|
117
117
|
|
|
118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
119
119
|
import { createHash } from "node:crypto";
|
|
120
120
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
123
123
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
124
124
|
const colon = collection.indexOf(":");
|
|
125
125
|
const provider = collection.slice(0, colon);
|
|
@@ -163,7 +163,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
163
163
|
};
|
|
164
164
|
}, "currentCollection");
|
|
165
165
|
|
|
166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
167
167
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
168
168
|
const mappings = /* @__PURE__ */ new Map();
|
|
169
169
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -330,7 +330,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
330
330
|
};
|
|
331
331
|
}, "planTransfer");
|
|
332
332
|
|
|
333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
334
334
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
335
335
|
var MAX_ENTITIES = 1e3;
|
|
336
336
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -492,7 +492,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
492
492
|
};
|
|
493
493
|
}), "transferSnapshot");
|
|
494
494
|
|
|
495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
496
496
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
497
497
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
498
498
|
return provider ?? null;
|
|
@@ -664,7 +664,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
664
664
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
665
665
|
}, "remapEntity");
|
|
666
666
|
|
|
667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
668
668
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
669
669
|
for (const value of [options.source, options.destination, options.collection])
|
|
670
670
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -760,7 +760,7 @@ var applyDocumentTransfer = /* @__PURE__ */ __name(async (options) => {
|
|
|
760
760
|
}
|
|
761
761
|
}, "applyDocumentTransfer");
|
|
762
762
|
|
|
763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
|
|
764
764
|
var ORGANIZATIONS_QUERY = {
|
|
765
765
|
entity: "organization",
|
|
766
766
|
backend: "sql",
|
|
@@ -795,7 +795,7 @@ var REMINDERS_QUERY = {
|
|
|
795
795
|
})
|
|
796
796
|
};
|
|
797
797
|
|
|
798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
799
799
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
800
800
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
801
801
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -817,7 +817,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
817
817
|
}
|
|
818
818
|
}, "previewProjectAnnotationSnapshot");
|
|
819
819
|
|
|
820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
821
821
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
822
822
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
823
823
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KM7Q67Z3.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SB47UAW2.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
11
11
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
12
12
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
13
13
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -295,7 +295,7 @@ var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
|
295
295
|
]);
|
|
296
296
|
var BOT_HOUSEKEEPING = /* @__PURE__ */ new Set(["auth", "list", "sends", "recipients", "mcp"]);
|
|
297
297
|
var STORE_MAINTENANCE = /* @__PURE__ */ new Set(["info", "check", "copies"]);
|
|
298
|
-
var SHOW_MESSAGES = /* @__PURE__ */ new Set(["inbox", "review", "watch", "serve", "store", "conversations"]);
|
|
298
|
+
var SHOW_MESSAGES = /* @__PURE__ */ new Set(["inbox", "review", "watch", "serve", "store", "conversations", "projects"]);
|
|
299
299
|
var readKeysForCommand = /* @__PURE__ */ __name((path) => {
|
|
300
300
|
if (path[0] === "bot")
|
|
301
301
|
return readKeysForCommand(path.slice(1)).map((key2) => `bot.${key2}`);
|
|
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
11
11
|
var PRAGMAS = `
|
|
12
12
|
PRAGMA busy_timeout = 5000;
|
|
13
13
|
PRAGMA journal_mode = WAL;
|
|
14
14
|
PRAGMA foreign_keys = ON;
|
|
15
15
|
`;
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
18
18
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
19
19
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
20
20
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -35,7 +35,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
35
35
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
36
36
|
}, "isSqliteWarning");
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
39
39
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
40
40
|
const database = await openFile(path);
|
|
41
41
|
try {
|
|
@@ -48,12 +48,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
48
48
|
}, "openCache");
|
|
49
49
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
50
50
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
51
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
51
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-FWNCLOAR.js");
|
|
52
52
|
return await openWithBunSqlite(path);
|
|
53
53
|
}, "openUnderBun");
|
|
54
54
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
55
55
|
quietSqliteWarning();
|
|
56
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
56
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-QXKSPHTP.js");
|
|
57
57
|
return openWithNodeSqlite(path);
|
|
58
58
|
}, "openUnderNode");
|
|
59
59
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
timezoneOf,
|
|
5
5
|
wallTime
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-D6FTCPXA.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
isCliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SB47UAW2.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
envName,
|
|
5
5
|
readOnlyLockOf,
|
|
6
6
|
readOnlyRefusal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q4ZE2LXE.js";
|
|
8
8
|
import {
|
|
9
9
|
currentCaller,
|
|
10
10
|
endpointTemplate,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
providerErrorKey,
|
|
15
15
|
renderEvent,
|
|
16
16
|
runContextOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NQCFUYC2.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_RERANK_MODEL,
|
|
20
20
|
IMAGE_MODELS,
|
|
@@ -36,22 +36,22 @@ import {
|
|
|
36
36
|
typedCommand,
|
|
37
37
|
useAsProcessRun,
|
|
38
38
|
withWriteScope
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4OQVRDTG.js";
|
|
40
40
|
import {
|
|
41
41
|
isCliFailure
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-7LQLJ7LW.js";
|
|
43
43
|
import {
|
|
44
44
|
count,
|
|
45
45
|
text
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RWG44LQD.js";
|
|
47
47
|
import {
|
|
48
48
|
permissionCeiling
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-DIXC56OU.js";
|
|
50
50
|
import {
|
|
51
51
|
fieldsOf,
|
|
52
52
|
projectFields,
|
|
53
53
|
resolveOutput
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-AMIIU3UZ.js";
|
|
55
55
|
import {
|
|
56
56
|
CEILING_KEY,
|
|
57
57
|
COMMAND_PATH_KEY,
|
|
@@ -62,18 +62,18 @@ import {
|
|
|
62
62
|
keyForCommand,
|
|
63
63
|
layerPermissions,
|
|
64
64
|
permissionOverrides
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-HIZQYFY3.js";
|
|
66
66
|
import {
|
|
67
67
|
sharedConfigPath
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-5LMQTEU5.js";
|
|
69
69
|
import {
|
|
70
70
|
storePath
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-EG7HC4EC.js";
|
|
72
72
|
import {
|
|
73
73
|
FIELD_TYPES,
|
|
74
74
|
QUERY_BACKENDS,
|
|
75
75
|
describeQuery
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-D6FTCPXA.js";
|
|
77
77
|
import {
|
|
78
78
|
CliError,
|
|
79
79
|
MAX_NEXT_STEPS,
|
|
@@ -119,12 +119,12 @@ import {
|
|
|
119
119
|
unknown,
|
|
120
120
|
writeSecurely,
|
|
121
121
|
writes
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-SB47UAW2.js";
|
|
123
123
|
import {
|
|
124
124
|
__name
|
|
125
125
|
} from "./chunk-ZVVMGPBJ.js";
|
|
126
126
|
|
|
127
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
127
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
128
128
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
129
129
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
130
130
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3625,7 +3625,7 @@ __name(useColor, "useColor");
|
|
|
3625
3625
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3626
3626
|
var program = new Command();
|
|
3627
3627
|
|
|
3628
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3628
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3629
3629
|
import { isDeepStrictEqual } from "node:util";
|
|
3630
3630
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3631
3631
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3827,7 +3827,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference, reason, build, e
|
|
|
3827
3827
|
return command;
|
|
3828
3828
|
}, "customizeSharedCommand");
|
|
3829
3829
|
|
|
3830
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3830
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3831
3831
|
var argumentInfoSchema = object({
|
|
3832
3832
|
name: string(),
|
|
3833
3833
|
required: boolean(),
|
|
@@ -3900,7 +3900,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3900
3900
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3901
3901
|
});
|
|
3902
3902
|
|
|
3903
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3903
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3904
3904
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3905
3905
|
let command = root;
|
|
3906
3906
|
const path2 = [];
|
|
@@ -3918,7 +3918,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3918
3918
|
}
|
|
3919
3919
|
}, "refuseJoinedPath");
|
|
3920
3920
|
|
|
3921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
3922
3922
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
3923
3923
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
3924
3924
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -3952,7 +3952,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
3952
3952
|
cache: "cache.answered"
|
|
3953
3953
|
};
|
|
3954
3954
|
|
|
3955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
3956
3956
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
3957
3957
|
const recording = startRecording(options);
|
|
3958
3958
|
try {
|
|
@@ -4137,7 +4137,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4137
4137
|
return void 0;
|
|
4138
4138
|
}, "partialOutcome");
|
|
4139
4139
|
|
|
4140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4141
4141
|
var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
4142
4142
|
if (ms === void 0)
|
|
4143
4143
|
return body();
|
|
@@ -4163,7 +4163,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
4163
4163
|
}
|
|
4164
4164
|
}, "withDeadline");
|
|
4165
4165
|
|
|
4166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4167
4167
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4168
4168
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4169
4169
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4345,7 +4345,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4345
4345
|
}
|
|
4346
4346
|
}, "withAbort");
|
|
4347
4347
|
|
|
4348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4349
4349
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4350
4350
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4351
4351
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4414,7 +4414,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4414
4414
|
return void 0;
|
|
4415
4415
|
}, "sampleCommand");
|
|
4416
4416
|
|
|
4417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
4418
4418
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
4419
4419
|
try {
|
|
4420
4420
|
const url2 = new URL(value);
|
|
@@ -4424,7 +4424,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
4424
4424
|
}
|
|
4425
4425
|
}, "endpoint");
|
|
4426
4426
|
|
|
4427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4428
4428
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4429
4429
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4430
4430
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4493,7 +4493,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4493
4493
|
};
|
|
4494
4494
|
}, "modelTarget");
|
|
4495
4495
|
|
|
4496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4497
4497
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4498
4498
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4499
4499
|
var AI_FIELDS = {
|
|
@@ -4537,7 +4537,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4537
4537
|
};
|
|
4538
4538
|
}, "resolveAISettings");
|
|
4539
4539
|
|
|
4540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
4541
4541
|
import { readFileSync } from "node:fs";
|
|
4542
4542
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
4543
4543
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -4828,7 +4828,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
4828
4828
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
4829
4829
|
}, "readConfigFile");
|
|
4830
4830
|
|
|
4831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
4832
4832
|
import { existsSync, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
4833
4833
|
import { dirname, join } from "node:path";
|
|
4834
4834
|
var DEFAULT_CONFIG = {
|
|
@@ -4857,7 +4857,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
4857
4857
|
}
|
|
4858
4858
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
4859
4859
|
|
|
4860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4861
4861
|
import { existsSync as existsSync2, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4862
4862
|
import { join as join2 } from "node:path";
|
|
4863
4863
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4879,7 +4879,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4879
4879
|
}, "profilesWithAccounts");
|
|
4880
4880
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4881
4881
|
|
|
4882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4883
4883
|
import { existsSync as existsSync3 } from "node:fs";
|
|
4884
4884
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
4885
4885
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
@@ -5270,7 +5270,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5270
5270
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5271
5271
|
}, "given");
|
|
5272
5272
|
|
|
5273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
5274
5274
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
5275
5275
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
5276
5276
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -5313,7 +5313,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
5313
5313
|
};
|
|
5314
5314
|
}, "runBudget");
|
|
5315
5315
|
|
|
5316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5317
5317
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
|
|
5318
5318
|
const { deadline, signal, app } = environmentOf(command);
|
|
5319
5319
|
const now = deadline?.();
|
|
@@ -5430,7 +5430,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
5430
5430
|
return words.join(" ");
|
|
5431
5431
|
}, "commandPath");
|
|
5432
5432
|
|
|
5433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
5434
5434
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
5435
5435
|
var FETCH = { remote: "read", local: "write" };
|
|
5436
5436
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -5532,7 +5532,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
5532
5532
|
throw readOnlyRefusal(lock, what);
|
|
5533
5533
|
}, "refuseUnderReadOnly");
|
|
5534
5534
|
|
|
5535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
5536
5536
|
var STEPS2 = defineSteps([
|
|
5537
5537
|
...STEPS,
|
|
5538
5538
|
{
|
|
@@ -5799,7 +5799,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
|
|
|
5799
5799
|
].join(" ");
|
|
5800
5800
|
}, "stepLine");
|
|
5801
5801
|
|
|
5802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
5803
5803
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
5804
5804
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
5805
5805
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -5813,7 +5813,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
5813
5813
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
5814
5814
|
}, "strip");
|
|
5815
5815
|
|
|
5816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
5817
5817
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
5818
5818
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
5819
5819
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -5947,7 +5947,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
|
|
|
5947
5947
|
renderer.result(item);
|
|
5948
5948
|
}, "printItem");
|
|
5949
5949
|
|
|
5950
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
5951
5951
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
5952
5952
|
var storeTable = strictObject({
|
|
5953
5953
|
name: text,
|
|
@@ -5956,7 +5956,7 @@ var storeTable = strictObject({
|
|
|
5956
5956
|
bytes: optional(nullable(count))
|
|
5957
5957
|
});
|
|
5958
5958
|
|
|
5959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5960
5960
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5961
5961
|
const run = currentRun();
|
|
5962
5962
|
const trace = traceId ?? run.traceId;
|
|
@@ -5973,6 +5973,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5973
5973
|
export {
|
|
5974
5974
|
annotate,
|
|
5975
5975
|
metaOf,
|
|
5976
|
+
annotateOption,
|
|
5976
5977
|
describeProgram,
|
|
5977
5978
|
describeOptions,
|
|
5978
5979
|
flatten,
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|