@wirecat/amo-cli 0.3.0 → 0.4.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/CHANGELOG.md +19 -0
- package/README.md +8 -4
- package/contracts/wirecat.json +13 -13
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-43BMVBX2.js +40 -0
- package/dist/bundle/{all-profiles-PPUN52SP.js → all-profiles-PRNXEZRH.js} +11 -11
- package/dist/bundle/amo.js +28 -28
- package/dist/bundle/{anthropic-RDNDT6ZP.js → anthropic-FDI24DU2.js} +5 -5
- package/dist/bundle/{app-server-MMALJDBP.js → app-server-WAKJVDLN.js} +69 -69
- package/dist/bundle/{bun-Y4FRPURU.js → bun-YPXUXMBI.js} +2 -2
- package/dist/bundle/{bun-sqlite-7NXJGZCO.js → bun-sqlite-UBQ5M47X.js} +6 -6
- package/dist/bundle/{chunk-N4A6E2LL.js → chunk-23AQD7JU.js} +16 -16
- package/dist/bundle/{chunk-TWZF7VO6.js → chunk-2AIG2SSJ.js} +55 -49
- package/dist/bundle/{chunk-PFZ7WG2B.js → chunk-2UJ7ZZZC.js} +3 -3
- package/dist/bundle/{chunk-3YOZTGZ6.js → chunk-3K6T2G52.js} +6 -6
- package/dist/bundle/{chunk-EKNP326Q.js → chunk-3PCVQCCV.js} +2 -2
- package/dist/bundle/{chunk-KKXF6TSS.js → chunk-3WG4MTQI.js} +1 -1
- package/dist/bundle/{chunk-AYR6FIXN.js → chunk-4PQECIU2.js} +2 -2
- package/dist/bundle/{chunk-SJZ52MZE.js → chunk-5HZMXHRH.js} +6 -6
- package/dist/bundle/{chunk-E2DLRLJ5.js → chunk-5II6TAJE.js} +1 -1
- package/dist/bundle/{chunk-FI2TP6TY.js → chunk-5SJEJYQZ.js} +3 -3
- package/dist/bundle/{chunk-4MVTSMWP.js → chunk-6PILR4AX.js} +2 -2
- package/dist/bundle/{chunk-I4QCJZW7.js → chunk-6QMSKJB4.js} +8 -8
- package/dist/bundle/{chunk-V3ZWYMXT.js → chunk-745FMNI5.js} +1 -1
- package/dist/bundle/{chunk-BKTLAXUK.js → chunk-7OVTUADG.js} +8 -8
- package/dist/bundle/{chunk-UOPP6ORQ.js → chunk-A4W7J6VN.js} +30 -20
- package/dist/bundle/{chunk-7SBAHYZW.js → chunk-ABMPZL2P.js} +13 -13
- package/dist/bundle/{chunk-R23DRW2T.js → chunk-AN6IJYH3.js} +5 -5
- package/dist/bundle/{chunk-GCUFGDKE.js → chunk-AP3CWDRK.js} +2 -2
- package/dist/bundle/{chunk-4EYPFFTN.js → chunk-ASU63X5C.js} +2 -2
- package/dist/bundle/{chunk-XI75EKLG.js → chunk-BCIZAUDV.js} +9 -9
- package/dist/bundle/{chunk-5POLHHDZ.js → chunk-CEBX63XY.js} +8 -8
- package/dist/bundle/{chunk-UZLT6VSP.js → chunk-CYHIM5SL.js} +3 -3
- package/dist/bundle/{chunk-H34RBRS3.js → chunk-DWA5TZMP.js} +8 -8
- package/dist/bundle/{chunk-D6UPCAPD.js → chunk-DWD3KDJA.js} +1 -1
- package/dist/bundle/{chunk-7USADF2W.js → chunk-E3EWS6DF.js} +6 -6
- package/dist/bundle/{chunk-EHULZEXQ.js → chunk-EAX5RO7S.js} +1 -1
- package/dist/bundle/{chunk-5DPMNYQT.js → chunk-EBNCUQLV.js} +1 -1
- package/dist/bundle/{chunk-MMOEAH5G.js → chunk-ELAKOEIO.js} +2 -2
- package/dist/bundle/{chunk-SJYVKR54.js → chunk-FEUNZG7U.js} +37 -37
- package/dist/bundle/{chunk-BYVDMPLX.js → chunk-FQRP6JWX.js} +2 -2
- package/dist/bundle/{chunk-MYMBPQPQ.js → chunk-G3LAYJJJ.js} +4 -4
- package/dist/bundle/{chunk-LYRICHEK.js → chunk-GBQ76X6T.js} +2 -2
- package/dist/bundle/{chunk-JZ2AITOE.js → chunk-GJBOZAUD.js} +3 -3
- package/dist/bundle/{chunk-5RXH35ZA.js → chunk-GMHRPX5M.js} +61 -61
- package/dist/bundle/{chunk-HQH4YPO5.js → chunk-GQKEMBM6.js} +67 -30
- package/dist/bundle/{chunk-ZIFEIJRK.js → chunk-HDZNSOV5.js} +7 -7
- package/dist/bundle/{chunk-T6D34X5S.js → chunk-HZZ56JO7.js} +1 -1
- package/dist/bundle/{chunk-ILUREFWJ.js → chunk-IBEHYGG6.js} +8 -8
- package/dist/bundle/{chunk-UT3ODJMI.js → chunk-IPNIF5JE.js} +4 -4
- package/dist/bundle/{chunk-KZDBO2FT.js → chunk-KBAOJISR.js} +7 -7
- package/dist/bundle/{chunk-B4ITT55D.js → chunk-KORZEYZN.js} +1 -1
- package/dist/bundle/{chunk-IEAPNTHT.js → chunk-KQZTX4LM.js} +17 -17
- package/dist/bundle/{chunk-XDT74W5P.js → chunk-KRD375P7.js} +27 -27
- package/dist/bundle/{chunk-ORFLQGWH.js → chunk-LAR2DLTI.js} +4 -4
- package/dist/bundle/{chunk-FPIUFSWK.js → chunk-LZ4IWN43.js} +387 -398
- package/dist/bundle/{chunk-77FP6AWC.js → chunk-M33XHJTM.js} +25 -25
- package/dist/bundle/{chunk-SBQ5MFHM.js → chunk-M54YKD3I.js} +7 -7
- package/dist/bundle/{chunk-VD7HD25M.js → chunk-MW7HUD6R.js} +9 -9
- package/dist/bundle/{chunk-7VSYOMEH.js → chunk-NFWD4QX3.js} +2 -2
- package/dist/bundle/{chunk-VPBSZ4HQ.js → chunk-NKYWQTS2.js} +160 -157
- package/dist/bundle/{chunk-GKP7CKW2.js → chunk-NXNUCGGO.js} +6 -6
- package/dist/bundle/{chunk-YSOGGUK3.js → chunk-O3WE5IGP.js} +6 -6
- package/dist/bundle/{chunk-7Z6NYSAN.js → chunk-OYMHPQF7.js} +4 -4
- package/dist/bundle/{chunk-UA7C57IB.js → chunk-PIOR6PIO.js} +2 -2
- package/dist/bundle/{chunk-W4KY5JF5.js → chunk-PL7TNKAY.js} +2 -2
- package/dist/bundle/{chunk-3NDMVXGS.js → chunk-PLU2IQXC.js} +3 -3
- package/dist/bundle/{chunk-WBWVBEHH.js → chunk-QGFURWEP.js} +1 -1
- package/dist/bundle/{chunk-FPDTIQOK.js → chunk-RQPB2BSH.js} +2 -2
- package/dist/bundle/{chunk-IYUWVMGP.js → chunk-S6DTLAOB.js} +12 -12
- package/dist/bundle/{chunk-ELJGALVX.js → chunk-SCMB4LI6.js} +19 -19
- package/dist/bundle/{chunk-OMH3WP7F.js → chunk-SFZVMKB6.js} +1 -1
- package/dist/bundle/{chunk-VEGNZPQU.js → chunk-SHOSFYI7.js} +18 -18
- package/dist/bundle/{chunk-UM6SDFB6.js → chunk-SMM7GS4Q.js} +1 -1
- package/dist/bundle/{chunk-MPXKBF37.js → chunk-SNBYFQHT.js} +1 -1
- package/dist/bundle/{chunk-2YEDK2XV.js → chunk-SZX7EPPY.js} +4 -4
- package/dist/bundle/{chunk-L2ZQDTDU.js → chunk-TCSVW7BA.js} +1 -1
- package/dist/bundle/{chunk-TCDER3G7.js → chunk-TEGQVVCZ.js} +828 -558
- package/dist/bundle/{chunk-VY27K2SH.js → chunk-TIR3AB35.js} +250 -238
- package/dist/bundle/{chunk-NJ2LJKNH.js → chunk-U46RNOEQ.js} +3 -3
- package/dist/bundle/{chunk-3RP57VDS.js → chunk-UCM7C773.js} +23 -8
- package/dist/bundle/{chunk-7E6QSIRQ.js → chunk-UEN5NWNW.js} +1 -1
- package/dist/bundle/{chunk-Q2YVY7IR.js → chunk-V2QWX6B3.js} +3 -3
- package/dist/bundle/{chunk-L72UALL5.js → chunk-V5SETIQK.js} +1 -1
- package/dist/bundle/{chunk-KEOKH2OZ.js → chunk-VEFAYLKX.js} +61 -61
- package/dist/bundle/{chunk-L3JDQNBC.js → chunk-VG26HDKH.js} +4 -4
- package/dist/bundle/{chunk-VJHOBOJR.js → chunk-VG2ERHFJ.js} +3 -3
- package/dist/bundle/{chunk-XM2G62YF.js → chunk-WAFB3IWJ.js} +5 -7
- package/dist/bundle/{chunk-VFU25P57.js → chunk-WASBOYI2.js} +4 -4
- package/dist/bundle/{chunk-IDQ7BNCZ.js → chunk-WEWJA42Q.js} +12 -12
- package/dist/bundle/{chunk-YVO2YGML.js → chunk-WR2FPZTE.js} +8 -8
- package/dist/bundle/{chunk-JTFAG3BX.js → chunk-XEYT2EQT.js} +6 -6
- package/dist/bundle/{chunk-QHA33ZS6.js → chunk-YFRTEJ6V.js} +7 -7
- package/dist/bundle/{chunk-LOSOWTAZ.js → chunk-YHVHDRED.js} +6 -6
- package/dist/bundle/{chunk-QQT7WUR4.js → chunk-YREKMP24.js} +4 -4
- package/dist/bundle/{chunk-CQ472K6W.js → chunk-Z2B3VNRI.js} +11 -11
- package/dist/bundle/{chunk-CUZISGWH.js → chunk-ZJC2XJQC.js} +13 -13
- package/dist/bundle/{chunk-KTLCQ7GC.js → chunk-ZKRWNL4T.js} +2 -2
- package/dist/bundle/{cli-GAO7LDDA.js → cli-QDPKC2HJ.js} +72 -72
- package/dist/bundle/command-contract-KWNCP3MQ.js +39 -0
- package/dist/bundle/{command-server-entry-BCDJP7XE.js → command-server-entry-TX7WNN7G.js} +28 -28
- package/dist/bundle/{decode-OY2GR442.js → decode-BLPC7OYE.js} +5 -5
- package/dist/bundle/{dispatch-JWEJCBTF.js → dispatch-5JUT55CS.js} +8 -8
- package/dist/bundle/{echarts-AHEPEA5P.js → echarts-54D3FOCL.js} +2 -2
- package/dist/bundle/{embed-RVSUV54Z.js → embed-O7KMDYM7.js} +6 -6
- package/dist/bundle/{embedder-GRZXZUXR.js → embedder-4PE67CLX.js} +9 -9
- package/dist/bundle/{failure-DDCSR54L.js → failure-NNQYTB3Z.js} +2 -2
- package/dist/bundle/{first-run-G3WI4DH4.js → first-run-EAU5SHBI.js} +12 -12
- package/dist/bundle/first-screen-APSNGZYZ.js +39 -0
- package/dist/bundle/{instructions-NWQC5IP4.js → instructions-ONXP5DZQ.js} +1 -1
- package/dist/bundle/{mcp-KGWT6TGO.js → mcp-ZNULRPZ4.js} +2 -2
- package/dist/bundle/meeting-combined-W2XIYXFU.js +24 -0
- package/dist/bundle/{meeting-model-I6T5HIZ5.js → meeting-model-FWIZRKVN.js} +11 -11
- package/dist/bundle/{meeting-semantic-47UA5JBF.js → meeting-semantic-M4YVJ57W.js} +6 -6
- package/dist/bundle/{node-7VXN7F4B.js → node-UTQCYQF5.js} +2 -2
- package/dist/bundle/{node-sqlite-BSEON57L.js → node-sqlite-APJG6MGL.js} +7 -7
- package/dist/bundle/{oauth-V6UAT4YD.js → oauth-TY7RMIBL.js} +7 -7
- package/dist/bundle/{open-7LVAY7ZU.js → open-WDVEQL75.js} +5 -5
- package/dist/bundle/{openai-OIEH342H.js → openai-H5UJHSEZ.js} +15 -15
- package/dist/bundle/{process-PTUCNLZ7.js → process-MGMXXPMY.js} +1 -1
- package/dist/bundle/{program-S5WY5IZP.js → program-IF36C6VR.js} +1096 -1042
- package/dist/bundle/{prompt-7XWTEQ62.js → prompt-4RLIWLMF.js} +5 -5
- package/dist/bundle/{recognize-HGIAJXDR.js → recognize-UIRTMWM4.js} +4 -4
- package/dist/bundle/{remote-X4SVEMHS.js → remote-L3MNWZQK.js} +9 -9
- package/dist/bundle/{rerank-QWM3DQMU.js → rerank-F4KZQTY6.js} +7 -7
- package/dist/bundle/{serve-VVG3TXYT.js → serve-37AUYTWS.js} +9 -9
- package/dist/bundle/server-CRF4QSZR.js +86 -0
- package/dist/bundle/{server-EHYK62BJ.js → server-UBG676ZJ.js} +61 -61
- package/dist/bundle/source-Z7GH7T4B.js +44 -0
- package/dist/bundle/{sqlite-runtime-MCKXDNYC.js → sqlite-runtime-CI3RW7VA.js} +6 -6
- package/dist/bundle/{state-MYNYQJCT.js → state-JOHLSLUO.js} +6 -6
- package/dist/bundle/{store-B7O3F3QB.js → store-2MBG4IUS.js} +22 -22
- package/dist/bundle/{store-FPIU2546.js → store-OSOUXBYL.js} +28 -24
- package/dist/bundle/store-SNW6U32Y.js +34 -0
- package/dist/bundle/store-maintenance-command-W7V54SLT.js +73 -0
- package/dist/bundle/surface-ESJS2FUI.js +72 -0
- package/dist/bundle/writer-BJDQMKUV.js +46 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +38 -77
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +2 -0
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +0 -6
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +9 -34
- package/dist/commands/session.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +0 -2
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -2
- package/dist/reasons.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/agent-FDNP27SW.js +0 -40
- package/dist/bundle/command-contract-RLIBGIDT.js +0 -39
- package/dist/bundle/first-screen-6MLCMW2U.js +0 -39
- package/dist/bundle/meeting-combined-SVTFVZNJ.js +0 -24
- package/dist/bundle/server-WRPTBVNW.js +0 -86
- package/dist/bundle/source-YISMYLBQ.js +0 -44
- package/dist/bundle/store-A7R2SZVD.js +0 -34
- package/dist/bundle/store-maintenance-command-D55FRTIK.js +0 -73
- package/dist/bundle/surface-3EX6IGHW.js +0 -72
- package/dist/bundle/writer-XDHZ54JD.js +0 -46
|
@@ -2,36 +2,36 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
commandAvailability
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OYMHPQF7.js";
|
|
6
6
|
import {
|
|
7
7
|
lentConnection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XEYT2EQT.js";
|
|
9
9
|
import {
|
|
10
10
|
QUERY_ARGUMENT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ABMPZL2P.js";
|
|
12
12
|
import {
|
|
13
13
|
changesMessenger,
|
|
14
14
|
flatten
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NKYWQTS2.js";
|
|
16
16
|
import {
|
|
17
17
|
currentCaller
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M54YKD3I.js";
|
|
19
19
|
import {
|
|
20
20
|
enclosingTraceId,
|
|
21
21
|
inRun,
|
|
22
22
|
newRunId,
|
|
23
23
|
traceOf
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-M33XHJTM.js";
|
|
25
25
|
import {
|
|
26
26
|
authorityAllowed,
|
|
27
27
|
botApiAllowed
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KBAOJISR.js";
|
|
29
29
|
import {
|
|
30
30
|
queryDescription
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GMHRPX5M.js";
|
|
32
32
|
import {
|
|
33
33
|
captureStreams
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SCMB4LI6.js";
|
|
35
35
|
import {
|
|
36
36
|
COMPACT_FLAG,
|
|
37
37
|
SNAKE_CASE,
|
|
@@ -60,18 +60,18 @@ import {
|
|
|
60
60
|
unknown,
|
|
61
61
|
word,
|
|
62
62
|
writes
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7OVTUADG.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-AP3CWDRK.js";
|
|
67
67
|
import {
|
|
68
68
|
__name
|
|
69
69
|
} from "./chunk-ZVVMGPBJ.js";
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
72
72
|
import { Readable } from "node:stream";
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
74
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
75
75
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
76
76
|
var lintRuleSchema = strictObject({
|
|
77
77
|
id: word,
|
|
@@ -217,7 +217,7 @@ var overrideSchema = strictObject({
|
|
|
217
217
|
});
|
|
218
218
|
var overridesSchema = array(overrideSchema);
|
|
219
219
|
|
|
220
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
220
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
221
221
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
222
222
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
223
223
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -428,7 +428,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
428
428
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
429
429
|
]);
|
|
430
430
|
|
|
431
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
431
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
432
432
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
433
433
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
434
434
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -444,7 +444,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
444
444
|
}
|
|
445
445
|
]);
|
|
446
446
|
|
|
447
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
447
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
448
448
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
449
449
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
450
450
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -466,7 +466,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
466
466
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
467
467
|
]);
|
|
468
468
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
469
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
|
|
470
470
|
var ACCOUNT_FLAGS = [
|
|
471
471
|
{
|
|
472
472
|
name: "--client-id",
|
|
@@ -503,7 +503,7 @@ var ACCOUNT_FLAGS = [
|
|
|
503
503
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
504
504
|
];
|
|
505
505
|
|
|
506
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
506
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
507
507
|
var CALENDAR_FLAGS = [
|
|
508
508
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
509
509
|
{
|
|
@@ -591,7 +591,7 @@ var CALENDAR_FLAGS = [
|
|
|
591
591
|
}
|
|
592
592
|
];
|
|
593
593
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-content.js
|
|
595
595
|
var CONTENT_FLAGS = [
|
|
596
596
|
{ name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
|
|
597
597
|
{
|
|
@@ -609,7 +609,7 @@ var CONTENT_FLAGS = [
|
|
|
609
609
|
}
|
|
610
610
|
];
|
|
611
611
|
|
|
612
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
612
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
613
613
|
var CRM_FLAGS = [
|
|
614
614
|
{
|
|
615
615
|
name: "--email",
|
|
@@ -773,7 +773,7 @@ var CRM_FLAGS = [
|
|
|
773
773
|
}
|
|
774
774
|
];
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
777
777
|
var HOW_FLAGS = [
|
|
778
778
|
{
|
|
779
779
|
name: "--limit",
|
|
@@ -1766,7 +1766,7 @@ var HOW_FLAGS = [
|
|
|
1766
1766
|
}
|
|
1767
1767
|
];
|
|
1768
1768
|
|
|
1769
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1769
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1770
1770
|
var KNOWLEDGE_FLAGS = [
|
|
1771
1771
|
{
|
|
1772
1772
|
name: "--accept-terms",
|
|
@@ -1825,7 +1825,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1825
1825
|
}
|
|
1826
1826
|
];
|
|
1827
1827
|
|
|
1828
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1828
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1829
1829
|
var MAIL_FLAGS = [
|
|
1830
1830
|
{
|
|
1831
1831
|
name: "--cc",
|
|
@@ -1855,7 +1855,38 @@ var MAIL_FLAGS = [
|
|
|
1855
1855
|
}
|
|
1856
1856
|
];
|
|
1857
1857
|
|
|
1858
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1858
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mirror.js
|
|
1859
|
+
var MIRROR_FLAGS = [
|
|
1860
|
+
{
|
|
1861
|
+
name: "--keep",
|
|
1862
|
+
value: "<side>",
|
|
1863
|
+
role: "mode",
|
|
1864
|
+
type: "choice",
|
|
1865
|
+
meaning: "settle a conflict with one side: local, the remote by its own name (disk, drive), or both, the other kept as a conflict copy"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
name: "--allow-deletions",
|
|
1869
|
+
value: "<count>",
|
|
1870
|
+
role: "mode",
|
|
1871
|
+
type: "count",
|
|
1872
|
+
meaning: "let this run delete up to this many files when the mirror's guard stops it; owner only"
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
name: "--allow-replacements",
|
|
1876
|
+
value: "<count>",
|
|
1877
|
+
role: "mode",
|
|
1878
|
+
type: "count",
|
|
1879
|
+
meaning: "let this run overwrite up to this many existing files when the mirror's guard stops it; owner only"
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
name: "--repin",
|
|
1883
|
+
role: "mode",
|
|
1884
|
+
type: "switch",
|
|
1885
|
+
meaning: "accept that a replaced local or remote folder is the mirror's folder now, and sync it; owner only"
|
|
1886
|
+
}
|
|
1887
|
+
];
|
|
1888
|
+
|
|
1889
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1859
1890
|
var PRIVACY_FLAGS = [
|
|
1860
1891
|
{
|
|
1861
1892
|
name: "--about-text",
|
|
@@ -1916,7 +1947,7 @@ var PRIVACY_FLAGS = [
|
|
|
1916
1947
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1917
1948
|
];
|
|
1918
1949
|
|
|
1919
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1950
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1920
1951
|
var SCHEDULE_FLAGS = [
|
|
1921
1952
|
{
|
|
1922
1953
|
name: "--locale",
|
|
@@ -1949,7 +1980,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1949
1980
|
}
|
|
1950
1981
|
];
|
|
1951
1982
|
|
|
1952
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1983
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-search.js
|
|
1953
1984
|
var SEARCH_FLAGS = [
|
|
1954
1985
|
{
|
|
1955
1986
|
name: "--like",
|
|
@@ -1960,7 +1991,7 @@ var SEARCH_FLAGS = [
|
|
|
1960
1991
|
}
|
|
1961
1992
|
];
|
|
1962
1993
|
|
|
1963
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1994
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1964
1995
|
var WHAT_FLAGS = [
|
|
1965
1996
|
{
|
|
1966
1997
|
name: "--analysis-provider",
|
|
@@ -2957,7 +2988,7 @@ var WHAT_FLAGS = [
|
|
|
2957
2988
|
}
|
|
2958
2989
|
];
|
|
2959
2990
|
|
|
2960
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2991
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2961
2992
|
var FLAG_TYPES = [
|
|
2962
2993
|
"switch",
|
|
2963
2994
|
"count",
|
|
@@ -3252,6 +3283,11 @@ var collections = [
|
|
|
3252
3283
|
["roles", "the parts a person plays in a relationship, built in or the owner's own"],
|
|
3253
3284
|
["sheets", "remote spreadsheets and their cell ranges, read or changed through a provider"],
|
|
3254
3285
|
["files", "files in the source, such as Google Drive, read and changed there"],
|
|
3286
|
+
["mirrors", "saved pairings of a local folder and a folder in the source, which sync keeps the same both ways"],
|
|
3287
|
+
[
|
|
3288
|
+
"conflicts",
|
|
3289
|
+
"files a mirror's sync found changed on both sides and could not merge, each waiting for a side or a final file"
|
|
3290
|
+
],
|
|
3255
3291
|
["comments", "comments people left on a thing in the source: a channel post or a file"],
|
|
3256
3292
|
["meetings", "stored meetings, from Zoom or another provider"],
|
|
3257
3293
|
["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"],
|
|
@@ -3393,11 +3429,12 @@ var VOCABULARY = defineVocabulary({
|
|
|
3393
3429
|
...CRM_FLAGS,
|
|
3394
3430
|
...SCHEDULE_FLAGS,
|
|
3395
3431
|
...CONTENT_FLAGS,
|
|
3396
|
-
...SEARCH_FLAGS
|
|
3432
|
+
...SEARCH_FLAGS,
|
|
3433
|
+
...MIRROR_FLAGS
|
|
3397
3434
|
]
|
|
3398
3435
|
});
|
|
3399
3436
|
|
|
3400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3401
3438
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3402
3439
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3403
3440
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
WIRECAT_TOOLS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QGFURWEP.js";
|
|
6
6
|
import {
|
|
7
7
|
commandPathOf,
|
|
8
8
|
outputOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AN6IJYH3.js";
|
|
10
10
|
import {
|
|
11
11
|
Command,
|
|
12
12
|
Help,
|
|
@@ -17,21 +17,21 @@ import {
|
|
|
17
17
|
environmentOf,
|
|
18
18
|
metaOf,
|
|
19
19
|
takesProfile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NKYWQTS2.js";
|
|
21
21
|
import {
|
|
22
22
|
wrapAnsi
|
|
23
23
|
} from "./chunk-EH6ZEJGT.js";
|
|
24
24
|
import {
|
|
25
25
|
writes
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7OVTUADG.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AP3CWDRK.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
35
35
|
var ARGUMENT_KINDS = {
|
|
36
36
|
chat: "chat",
|
|
37
37
|
chats: "chat",
|
|
@@ -253,7 +253,7 @@ var exampleReport = /* @__PURE__ */ __name((program) => {
|
|
|
253
253
|
return { written, generated, text };
|
|
254
254
|
}, "exampleReport");
|
|
255
255
|
|
|
256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
257
257
|
var WIDTH = 100;
|
|
258
258
|
var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
|
|
259
259
|
var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
|
|
@@ -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.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { pipeline, Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -6,28 +6,28 @@ import {
|
|
|
6
6
|
QUERY_LIMITS,
|
|
7
7
|
SEARCH_QUERY,
|
|
8
8
|
searchError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2UJ7ZZZC.js";
|
|
10
10
|
import {
|
|
11
11
|
tagOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FQRP6JWX.js";
|
|
13
13
|
import {
|
|
14
14
|
parseLucene,
|
|
15
15
|
queryAstSchema,
|
|
16
16
|
validateQuery,
|
|
17
17
|
walkQuery
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GMHRPX5M.js";
|
|
19
19
|
import {
|
|
20
20
|
safeParse
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7OVTUADG.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
isCliError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AP3CWDRK.js";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/fusion.js
|
|
31
31
|
var RRF_K = 60;
|
|
32
32
|
var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
33
33
|
const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
|
|
@@ -35,7 +35,7 @@ var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
|
35
35
|
return rows.sort((a, b) => Number(b.exact === true) - Number(a.exact === true) || (ranking ? Number(b.ranked) - Number(a.ranked) || b.vote - a.vote : 0) || b.at - a.at).map(({ item }) => item);
|
|
36
36
|
}, "fuseRanked");
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
|
|
39
39
|
var FIELD_VERSION = 2;
|
|
40
40
|
var UNITS = {
|
|
41
41
|
"": 1,
|
|
@@ -564,7 +564,7 @@ var validateAst = /* @__PURE__ */ __name((input, options = {}) => {
|
|
|
564
564
|
return validateFields(parsed.output, options);
|
|
565
565
|
}, "validateAst");
|
|
566
566
|
|
|
567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
|
|
568
568
|
var REPAIRED = /* @__PURE__ */ new Set([
|
|
569
569
|
"query.invalid-syntax",
|
|
570
570
|
"query.unclosed-literal",
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZKRWNL4T.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AP3CWDRK.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.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
fieldsOf,
|
|
6
6
|
processStreams,
|
|
7
7
|
projectFields
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SCMB4LI6.js";
|
|
9
9
|
import {
|
|
10
10
|
COMPACT_FLAG
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7OVTUADG.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError,
|
|
14
14
|
singleLine
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AP3CWDRK.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
21
21
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
22
22
|
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
23
23
|
"messages.delete",
|
|
@@ -453,7 +453,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
453
453
|
}
|
|
454
454
|
}, "assertRetentionEvidenceRead");
|
|
455
455
|
|
|
456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
457
457
|
var named = /* @__PURE__ */ __name((work) => {
|
|
458
458
|
try {
|
|
459
459
|
return work();
|
|
@@ -480,7 +480,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
480
480
|
return projectFields(value, fields);
|
|
481
481
|
}), "projectFields");
|
|
482
482
|
|
|
483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
484
484
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
485
485
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
486
486
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -516,7 +516,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
516
516
|
return value;
|
|
517
517
|
}, "atDetail");
|
|
518
518
|
|
|
519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/output.js
|
|
520
520
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
521
521
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
522
522
|
if (other)
|
|
@@ -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.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
8
|
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
9
|
var TimeLimitReached = class extends Error {
|
|
10
10
|
static {
|
|
@@ -23,28 +23,28 @@ import {
|
|
|
23
23
|
tagMemberIds,
|
|
24
24
|
thingOf,
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TEGQVVCZ.js";
|
|
27
27
|
import {
|
|
28
28
|
damagedFile
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ELAKOEIO.js";
|
|
30
30
|
import {
|
|
31
31
|
fold
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-SFZVMKB6.js";
|
|
33
33
|
import {
|
|
34
34
|
ADDED_PROVIDER,
|
|
35
35
|
filesAccountSql,
|
|
36
36
|
folderProviderOf,
|
|
37
37
|
folderProviderSql,
|
|
38
38
|
isDocumentAccountProvider
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-S6DTLAOB.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-AP3CWDRK.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
48
48
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
49
49
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
50
50
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
|
|
|
147
147
|
};
|
|
148
148
|
}, "storeDamageReport");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
151
151
|
import { realpathSync, statSync } from "node:fs";
|
|
152
152
|
import { resolve } from "node:path";
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
155
155
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
156
156
|
const creatable = /* @__PURE__ */ new Set();
|
|
157
157
|
let people = 0, identities = 0;
|
|
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
214
214
|
}
|
|
215
215
|
}, "copyPeople");
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
218
218
|
import { createHash } from "node:crypto";
|
|
219
219
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
222
222
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
223
223
|
const colon = collection.indexOf(":");
|
|
224
224
|
const provider = collection.slice(0, colon);
|
|
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
262
262
|
};
|
|
263
263
|
}, "currentCollection");
|
|
264
264
|
|
|
265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
266
266
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
267
267
|
const mappings = /* @__PURE__ */ new Map();
|
|
268
268
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
429
429
|
};
|
|
430
430
|
}, "planTransfer");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
433
433
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
434
434
|
var MAX_ENTITIES = 1e3;
|
|
435
435
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
591
591
|
};
|
|
592
592
|
}), "transferSnapshot");
|
|
593
593
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
595
595
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
596
596
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
597
597
|
return provider ?? null;
|
|
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
763
763
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
764
764
|
}, "remapEntity");
|
|
765
765
|
|
|
766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
767
767
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
768
768
|
for (const value of [options.source, options.destination, options.collection])
|
|
769
769
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
|
|
|
865
865
|
}
|
|
866
866
|
}, "applyWith");
|
|
867
867
|
|
|
868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
869
869
|
import { existsSync, statSync as statSync2 } from "node:fs";
|
|
870
870
|
var JSON_COLUMNS = {
|
|
871
871
|
accounts: ["settings"],
|
|
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}, "storeHealth");
|
|
1009
1009
|
|
|
1010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
1011
1011
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
1012
1012
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1013
1013
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
1033
1033
|
});
|
|
1034
1034
|
}, "previewProjectAnnotationSnapshot");
|
|
1035
1035
|
|
|
1036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
1037
1037
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
1038
1038
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1039
1039
|
throw new CliError("validation_error", "snapshot options are required");
|