@wirecat/zoom-cli 0.75.0 → 0.76.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-WFLKFKJC.js → all-profiles-AAMFP7IN.js} +11 -11
- package/dist/bundle/answer-policy-ETAELI4A.js +110 -0
- package/dist/bundle/{anthropic-H45W4P22.js → anthropic-6KIS53QB.js} +6 -6
- package/dist/bundle/{app-server-I4FPLBIX.js → app-server-6QYNNYEU.js} +57 -57
- package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-X2YZPHDS.js → bun-sqlite-Y2ZFMNQ3.js} +7 -7
- package/dist/bundle/{chunk-P4ZQQLZF.js → chunk-25GMFXPF.js} +707 -698
- package/dist/bundle/{chunk-PX4IMYVB.js → chunk-2HKUQ7DR.js} +3 -3
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
- package/dist/bundle/{chunk-4RJL32PF.js → chunk-3D5PETD2.js} +26 -9
- package/dist/bundle/{chunk-C5WQ57AB.js → chunk-4ERYXY4Y.js} +1 -1
- package/dist/bundle/{chunk-HKPNQL52.js → chunk-4JPOELCT.js} +4 -4
- package/dist/bundle/{chunk-QBKKTTA3.js → chunk-55SWKR6Y.js} +181 -158
- package/dist/bundle/{chunk-2PYZTRRC.js → chunk-5EII5RIL.js} +1 -1
- package/dist/bundle/{chunk-F6RB5FHZ.js → chunk-5T7TBK5Y.js} +1 -1
- package/dist/bundle/{chunk-NU4FSSMN.js → chunk-64N7MY3I.js} +3 -3
- package/dist/bundle/{chunk-532H3KT3.js → chunk-65VRWNDP.js} +4 -4
- package/dist/bundle/{chunk-T25PR26L.js → chunk-6SXCGS3A.js} +7 -7
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
- package/dist/bundle/{chunk-MNVT7EJS.js → chunk-7RORMNKP.js} +2 -2
- package/dist/bundle/{chunk-IDGWBKMH.js → chunk-B7ZREOBD.js} +12 -12
- package/dist/bundle/{chunk-LRCSDAYK.js → chunk-CE5Y7PQU.js} +4 -4
- package/dist/bundle/{chunk-IW245Q5B.js → chunk-CPOFLYPU.js} +33 -29
- package/dist/bundle/{chunk-HNWDEDMU.js → chunk-CS62FET6.js} +21 -21
- package/dist/bundle/{chunk-DUPFAY35.js → chunk-CXHUOPN5.js} +7 -7
- package/dist/bundle/{chunk-DQBLDZ7M.js → chunk-D2TGXSHQ.js} +5 -5
- package/dist/bundle/{chunk-ELD5AC7Q.js → chunk-DQHS336B.js} +6 -6
- package/dist/bundle/{chunk-VUPWDCYV.js → chunk-EBIK5Q73.js} +1 -1
- package/dist/bundle/{chunk-3YRPDNWK.js → chunk-ELW3LMJZ.js} +803 -359
- package/dist/bundle/{chunk-HCZYJMBP.js → chunk-EPPE6ZTS.js} +1 -1
- package/dist/bundle/{chunk-K5E5MB4C.js → chunk-EZJSAYWZ.js} +21 -21
- package/dist/bundle/{chunk-7ZVWV33Z.js → chunk-EZXW3ZCR.js} +35 -13
- package/dist/bundle/{chunk-IO3BQ6JU.js → chunk-FBVJGJDM.js} +29 -28
- package/dist/bundle/{chunk-ZMHZ6CQS.js → chunk-FGRFIXG2.js} +2 -2
- package/dist/bundle/{chunk-3HTJBGNP.js → chunk-FMJ4QSSU.js} +21 -16
- package/dist/bundle/{chunk-NE4GYKQA.js → chunk-GB5LI5RM.js} +6 -6
- package/dist/bundle/{chunk-W2AC2RAG.js → chunk-GPIQY4YB.js} +14 -14
- package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-GYTAHH5Y.js} +2 -2
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
- package/dist/bundle/{chunk-GPVSGZ4R.js → chunk-HUHH25AG.js} +434 -410
- package/dist/bundle/{chunk-X2FILY5F.js → chunk-HWYSJ4SL.js} +3 -3
- package/dist/bundle/{chunk-XCJGDPMN.js → chunk-IUSY4ZJK.js} +6109 -5958
- package/dist/bundle/{chunk-RBYVQE3S.js → chunk-IVFNHIU4.js} +5 -5
- package/dist/bundle/{chunk-V3UK6E5B.js → chunk-IXPBSDKB.js} +4 -4
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
- package/dist/bundle/{chunk-WUWF4EXZ.js → chunk-JWMOHEDL.js} +22 -12
- package/dist/bundle/{chunk-EA2OB75T.js → chunk-K3K3WKDB.js} +1 -1
- package/dist/bundle/{chunk-F7K2V6OA.js → chunk-KEFDP6NL.js} +12 -12
- package/dist/bundle/{chunk-NQQVNLO6.js → chunk-LEVOI6Z3.js} +12 -12
- package/dist/bundle/{chunk-VLK3X53X.js → chunk-LGBLYFKI.js} +2 -2
- package/dist/bundle/{chunk-AVCYD4WQ.js → chunk-LOEK6IFQ.js} +44 -36
- package/dist/bundle/{chunk-PCJRHC5Y.js → chunk-M7WYBGQT.js} +8 -8
- package/dist/bundle/{chunk-JDTZCZ5K.js → chunk-MDTEAKA5.js} +5 -5
- package/dist/bundle/{chunk-GU4FVTJV.js → chunk-NQ356ERO.js} +3 -4
- package/dist/bundle/{chunk-T4FMXDDV.js → chunk-OFODCJ2A.js} +3 -3
- package/dist/bundle/{chunk-FBYGBR4Q.js → chunk-OINDAHXC.js} +4 -4
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
- package/dist/bundle/{chunk-NL6AZ6S2.js → chunk-ORM73DZO.js} +2 -2
- package/dist/bundle/{chunk-P6MQ6FS4.js → chunk-OWZETMRE.js} +8 -8
- package/dist/bundle/{chunk-VPSQZ2YR.js → chunk-PFLJJQWW.js} +33 -33
- package/dist/bundle/{chunk-TSHUBGN4.js → chunk-QLUU3BV2.js} +2 -2
- package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-QY6GE7CL.js} +2 -2
- package/dist/bundle/{chunk-QEO3XTIE.js → chunk-R47GYLNN.js} +29 -32
- package/dist/bundle/{chunk-EOZAJGB4.js → chunk-RJK5ADMH.js} +16 -16
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
- package/dist/bundle/{chunk-BY2YPKZZ.js → chunk-T2QVWRJF.js} +13 -13
- package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
- package/dist/bundle/{chunk-IMDTC4MD.js → chunk-TYAFL66K.js} +21 -18
- package/dist/bundle/{chunk-MHXZ62CU.js → chunk-UAV74EY4.js} +1 -1
- package/dist/bundle/{chunk-WQOGHND4.js → chunk-UG2QDGAH.js} +1 -1
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
- package/dist/bundle/{chunk-B6Q53CVA.js → chunk-VABYJQYE.js} +10 -10
- package/dist/bundle/{chunk-IJCUAKR5.js → chunk-VCFSUGPE.js} +4 -4
- package/dist/bundle/{chunk-3YKAFLXY.js → chunk-VG63EXRC.js} +2 -2
- package/dist/bundle/{chunk-RABCFGT3.js → chunk-VJANMYEC.js} +3 -3
- package/dist/bundle/{chunk-ZVVRRMLW.js → chunk-VRA4RVQU.js} +3 -3
- package/dist/bundle/{chunk-L5UILROP.js → chunk-WKT5RPSY.js} +8 -8
- package/dist/bundle/{chunk-JTYWSXJG.js → chunk-WNXC42IU.js} +9 -9
- package/dist/bundle/{chunk-FT7X74RT.js → chunk-WZJ7ZYR4.js} +4 -4
- package/dist/bundle/{chunk-PPM7UTCT.js → chunk-X73YEFQE.js} +18 -18
- package/dist/bundle/{chunk-Y5J5CAG2.js → chunk-XC4V6YCS.js} +1 -1
- package/dist/bundle/{chunk-A3Q3PG54.js → chunk-XHVFX74L.js} +2 -2
- package/dist/bundle/{chunk-NQLL4KRN.js → chunk-XRH2NKW4.js} +6 -6
- package/dist/bundle/{chunk-3U3W6YY5.js → chunk-XWQKRKMT.js} +58 -58
- package/dist/bundle/{chunk-RKI4BGWG.js → chunk-Y2BGABXP.js} +3 -3
- package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-Y4WEAWU7.js} +1 -1
- package/dist/bundle/{chunk-4XDWV6VJ.js → chunk-YEBWRWE3.js} +17 -17
- package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-YESHGC3M.js} +2 -2
- package/dist/bundle/{chunk-SR5X7YKB.js → chunk-YGKM2ZWF.js} +3 -3
- package/dist/bundle/{chunk-QXQUANWE.js → chunk-ZETM63M6.js} +6 -6
- package/dist/bundle/{chunk-MAE5UGRQ.js → chunk-ZFYNJERV.js} +6 -6
- package/dist/bundle/{cli-NPRYCWFH.js → cli-FHMLYHUZ.js} +69 -65
- package/dist/bundle/command-contract-HUZ4I23S.js +41 -0
- package/dist/bundle/{command-server-entry-BV4SUPUI.js → command-server-entry-YEZM52R5.js} +31 -31
- package/dist/bundle/config-KVTWN7QZ.js +97 -0
- package/dist/bundle/{decode-PRMKCHHC.js → decode-SIYRMJOK.js} +6 -6
- package/dist/bundle/{dispatch-EU67WGME.js → dispatch-SMER3WDX.js} +9 -9
- package/dist/bundle/{dist-HGLDGKUW.js → dist-BSJETSFE.js} +19 -19
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
- package/dist/bundle/{embed-OZN2BIJY.js → embed-A7DSHVI7.js} +7 -7
- package/dist/bundle/{embedder-RBDHO6Z6.js → embedder-WQBR4UGS.js} +10 -10
- package/dist/bundle/{failure-CTJLEB2R.js → failure-73UQXQTW.js} +3 -3
- package/dist/bundle/first-run-SY6XSUZ3.js +29 -0
- package/dist/bundle/first-screen-ZDMODGWS.js +39 -0
- package/dist/bundle/{folders-MSBTAPAG.js → folders-BH4SV6SI.js} +5 -5
- package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-SDDUBGH4.js} +1 -1
- package/dist/bundle/{main-FPMCCRIQ.js → main-KL4FN5F3.js} +24 -24
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
- package/dist/bundle/{meetings-WYCVHAIP.js → meetings-URPXBHV7.js} +25 -7
- package/dist/bundle/{node-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
- package/dist/bundle/{node-sqlite-O4C6IWSM.js → node-sqlite-QLSNHZBM.js} +8 -8
- package/dist/bundle/{oauth-6VXOUXSE.js → oauth-LZ64S7Y3.js} +8 -8
- package/dist/bundle/{open-AMUIWV3Y.js → open-WB4HUPQT.js} +6 -6
- package/dist/bundle/openai-KN6JE4QU.js +28 -0
- package/dist/bundle/{output-file-VDOCYH2G.js → output-file-AHPQA5LR.js} +6 -6
- package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
- package/dist/bundle/{program-CF2NKA2A.js → program-CIMACIBE.js} +87 -81
- package/dist/bundle/{prompt-N3UZE4ZR.js → prompt-GG53UBDJ.js} +6 -6
- package/dist/bundle/{recognize-I5F3K3CZ.js → recognize-CFJ3CAEH.js} +5 -5
- package/dist/bundle/{remote-CJF5KMMY.js → remote-BLEM7C3Q.js} +11 -11
- package/dist/bundle/{rerank-6WLY6MKY.js → rerank-ERN6PC66.js} +8 -8
- package/dist/bundle/run-log-S67YPJF6.js +124 -0
- package/dist/bundle/{serve-FOQJ3WMX.js → serve-FJPPTJXH.js} +10 -10
- package/dist/bundle/{server-OEEGRSQD.js → server-FLUSDUGM.js} +49 -49
- package/dist/bundle/server-UNJY3TSJ.js +74 -0
- package/dist/bundle/{services-Q6SFESMS.js → services-LXC6DVUQ.js} +43 -41
- package/dist/bundle/{speech-PBVEIG4N.js → speech-WFEZTKXA.js} +17 -17
- package/dist/bundle/{sqlite-runtime-IWR65V6I.js → sqlite-runtime-KN33VSP7.js} +7 -7
- package/dist/bundle/{state-G54C2N6U.js → state-TXS4ZHIT.js} +7 -7
- package/dist/bundle/{store-7EWMPTTW.js → store-MUOXLVL4.js} +22 -22
- package/dist/bundle/{store-D5OLXIFW.js → store-ZUREZYZB.js} +20 -20
- package/dist/bundle/store-connection-NRNEBUPU.js +90 -0
- package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +65 -0
- package/dist/bundle/{streaming-PQEXKTE5.js → streaming-ZSCHRC5S.js} +7 -7
- package/dist/bundle/{tokens-J7TFHLEG.js → tokens-YVDOY4EV.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-SULPMVN4.js → zoom-app-O6GIMB7Y.js} +8 -8
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +6 -5
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -1
- package/dist/program-bindings.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +3 -1
- package/dist/run.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-XCKC2LLN.js +0 -110
- package/dist/bundle/command-contract-OJYRKQHR.js +0 -41
- package/dist/bundle/config-UMEV24OE.js +0 -97
- package/dist/bundle/first-run-HNCD7U3B.js +0 -29
- package/dist/bundle/first-screen-374BBMO6.js +0 -39
- package/dist/bundle/openai-MEDN6FSK.js +0 -28
- package/dist/bundle/run-log-FKF4ZX4M.js +0 -124
- package/dist/bundle/server-BAGY5HEZ.js +0 -74
- package/dist/bundle/store-connection-34747SCC.js +0 -90
- package/dist/bundle/store-maintenance-command-QBO67F7Z.js +0 -65
- /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
8
8
|
var CONTROL = (
|
|
9
9
|
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
10
10
|
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
fold
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TK77DCE5.js";
|
|
6
6
|
import {
|
|
7
7
|
CATALOG_KINDS,
|
|
8
8
|
CONTRACT_KINDS,
|
|
@@ -21,27 +21,27 @@ import {
|
|
|
21
21
|
parseReference,
|
|
22
22
|
providerLabel,
|
|
23
23
|
providerNamed
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TYAFL66K.js";
|
|
25
25
|
import {
|
|
26
26
|
holdsCredential,
|
|
27
27
|
secretNamed
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EBIK5Q73.js";
|
|
29
29
|
import {
|
|
30
30
|
QUERY_LIMITS,
|
|
31
31
|
queryError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FMJ4QSSU.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError,
|
|
35
35
|
isCliError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-K3K3WKDB.js";
|
|
37
37
|
import {
|
|
38
38
|
singleLine
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EPPE6ZTS.js";
|
|
40
40
|
import {
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
|
|
45
45
|
var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
46
46
|
var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
47
47
|
var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
@@ -160,7 +160,7 @@ var fieldError = /* @__PURE__ */ __name((schema, value, at = []) => {
|
|
|
160
160
|
return void 0;
|
|
161
161
|
}, "fieldError");
|
|
162
162
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/record-types.js
|
|
164
164
|
var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
|
|
165
165
|
var PARTY = ["person", "organization"];
|
|
166
166
|
var ORGANIZATION = ["organization"];
|
|
@@ -555,7 +555,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
|
|
|
555
555
|
var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
|
|
556
556
|
var article = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
|
|
557
557
|
|
|
558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/addresses.js
|
|
559
559
|
var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
|
|
560
560
|
var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
|
|
561
561
|
var ROLE_ADDRESS_WORDS = {
|
|
@@ -617,7 +617,7 @@ var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
|
|
|
617
617
|
var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
|
|
618
618
|
var isNoReplyAddress = /* @__PURE__ */ __name((address) => NO_REPLY.has(localWord(address)), "isNoReplyAddress");
|
|
619
619
|
|
|
620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
|
|
621
621
|
var PHONE_PLANS = [
|
|
622
622
|
{
|
|
623
623
|
country: "us",
|
|
@@ -997,7 +997,7 @@ var PHONE_PLANS = [
|
|
|
997
997
|
}
|
|
998
998
|
];
|
|
999
999
|
|
|
1000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/phones.js
|
|
1001
1001
|
var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
|
|
1002
1002
|
var DEFAULT_PHONE_COUNTRIES = ["ru"];
|
|
1003
1003
|
var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
|
|
@@ -1072,7 +1072,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
|
|
|
1072
1072
|
return found ? `+${found[1]}` : void 0;
|
|
1073
1073
|
}, "storedPhone");
|
|
1074
1074
|
|
|
1075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
1076
1076
|
var QUERY_VERSION = 1;
|
|
1077
1077
|
var QUERY_LIMITS2 = {
|
|
1078
1078
|
...QUERY_LIMITS,
|
|
@@ -1117,7 +1117,7 @@ function tooWideTerm([term], budget) {
|
|
|
1117
1117
|
}
|
|
1118
1118
|
__name(tooWideTerm, "tooWideTerm");
|
|
1119
1119
|
|
|
1120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
1121
1121
|
var TAKES = {
|
|
1122
1122
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
1123
1123
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -1177,7 +1177,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
1177
1177
|
throw wrongAccount(reference, scope, profiles);
|
|
1178
1178
|
}, "ensureAccount");
|
|
1179
1179
|
|
|
1180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
|
|
1181
1181
|
var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
|
|
1182
1182
|
var literal = /* @__PURE__ */ __name((c) => ({
|
|
1183
1183
|
kind: "char",
|
|
@@ -1577,7 +1577,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
|
|
|
1577
1577
|
return out;
|
|
1578
1578
|
}, "foldRegex");
|
|
1579
1579
|
|
|
1580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1580
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/search/trigrams.js
|
|
1581
1581
|
var trigrams = /* @__PURE__ */ __name((term) => {
|
|
1582
1582
|
const padded = ` ${term} `;
|
|
1583
1583
|
const pieces = /* @__PURE__ */ new Set();
|
|
@@ -1586,7 +1586,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
|
|
|
1586
1586
|
return [...pieces];
|
|
1587
1587
|
}, "trigrams");
|
|
1588
1588
|
|
|
1589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
1590
1590
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
1591
1591
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
|
|
1592
1592
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -1657,7 +1657,7 @@ ${lines}`, { candidates });
|
|
|
1657
1657
|
}, "ambiguous");
|
|
1658
1658
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
1659
1659
|
|
|
1660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/display-names.js
|
|
1661
1661
|
var QUOTES = [
|
|
1662
1662
|
['"', '"'],
|
|
1663
1663
|
["'", "'"],
|
|
@@ -1715,7 +1715,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
|
|
|
1715
1715
|
}, "nameKey");
|
|
1716
1716
|
var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
|
|
1717
1717
|
|
|
1718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/counters.js
|
|
1719
1719
|
var COUNTER_FIELDS = ["views", "reactions", "comments"];
|
|
1720
1720
|
var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
|
|
1721
1721
|
var counterValue = /* @__PURE__ */ __name((message, field) => {
|
|
@@ -1752,7 +1752,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
|
|
|
1752
1752
|
return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
|
|
1753
1753
|
}, "counterFreshness");
|
|
1754
1754
|
|
|
1755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
|
|
1756
1756
|
var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
|
|
1757
1757
|
var AUTHOR_MEASURES = [
|
|
1758
1758
|
"messages",
|
|
@@ -1892,7 +1892,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
|
|
|
1892
1892
|
var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
|
|
1893
1893
|
var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
|
|
1894
1894
|
|
|
1895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/records.js
|
|
1896
1896
|
import { createHash } from "node:crypto";
|
|
1897
1897
|
var RECORDS_SCHEMA_VERSION = 1;
|
|
1898
1898
|
var RECORD_OPERATIONS = ["upsert", "delete"];
|
|
@@ -2245,7 +2245,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
|
|
|
2245
2245
|
return found;
|
|
2246
2246
|
}, "fieldReferences");
|
|
2247
2247
|
|
|
2248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
|
|
2249
2249
|
var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
|
|
2250
2250
|
var ROLE_LABELS = {
|
|
2251
2251
|
organization: {
|
|
@@ -5,24 +5,26 @@ import {
|
|
|
5
5
|
LIST_QUERY_GUIDE,
|
|
6
6
|
nativeTerms,
|
|
7
7
|
throughWrapper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-25GMFXPF.js";
|
|
9
9
|
import {
|
|
10
|
+
DEFAULT_CONFIG,
|
|
10
11
|
environmentOf,
|
|
11
12
|
itemOf,
|
|
12
13
|
listOf,
|
|
13
14
|
nextStep,
|
|
14
15
|
renderAnswer,
|
|
15
|
-
snakeKeys
|
|
16
|
-
|
|
16
|
+
snakeKeys,
|
|
17
|
+
withAgentLevels
|
|
18
|
+
} from "./chunk-55SWKR6Y.js";
|
|
17
19
|
import {
|
|
18
20
|
readOnlyLockOf
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QY6GE7CL.js";
|
|
20
22
|
import {
|
|
21
23
|
formatReference
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TYAFL66K.js";
|
|
23
25
|
import {
|
|
24
26
|
queryError
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FMJ4QSSU.js";
|
|
26
28
|
import {
|
|
27
29
|
array,
|
|
28
30
|
boolean,
|
|
@@ -32,15 +34,15 @@ import {
|
|
|
32
34
|
safeParse,
|
|
33
35
|
strictObject,
|
|
34
36
|
string
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-3D5PETD2.js";
|
|
36
38
|
import {
|
|
37
39
|
CliError
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-K3K3WKDB.js";
|
|
39
41
|
import {
|
|
40
42
|
__name
|
|
41
43
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
44
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
45
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
44
46
|
var COMMAND_NEEDS = {
|
|
45
47
|
"account update": ["updateProfile", "change the profile"],
|
|
46
48
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -90,16 +92,34 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
90
92
|
return group;
|
|
91
93
|
}, "hideNever");
|
|
92
94
|
|
|
93
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
95
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
94
96
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
95
97
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
96
98
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
97
99
|
return Number(value);
|
|
98
100
|
}, "positiveCount");
|
|
101
|
+
var configuredLimit = /* @__PURE__ */ __name((command, most = Number.POSITIVE_INFINITY) => {
|
|
102
|
+
const { resolveSettings, env } = environmentOf(command);
|
|
103
|
+
const { limit: _typed, ...flags } = command.optsWithGlobals();
|
|
104
|
+
const configured = resolveSettings?.(flags, { needsProfile: false, ...env ? { env } : {} }).limit ?? DEFAULT_CONFIG.defaults.limit;
|
|
105
|
+
return Math.min(configured, most);
|
|
106
|
+
}, "configuredLimit");
|
|
99
107
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
100
108
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
109
|
+
var pagingOf = /* @__PURE__ */ __name((command) => {
|
|
110
|
+
const environment = environmentOf(command);
|
|
111
|
+
const flags = command.optsWithGlobals();
|
|
112
|
+
if (!environment.resolveSettings)
|
|
113
|
+
return { limit: flags.limit ?? DEFAULT_CONFIG.defaults.limit, page: flags.page ?? 1 };
|
|
114
|
+
const { limit, page } = environment.resolveSettings(withAgentLevels(command, command.optsWithGlobals()), {
|
|
115
|
+
env: environment.env ?? process.env,
|
|
116
|
+
needsProfile: false,
|
|
117
|
+
readOnly: true
|
|
118
|
+
});
|
|
119
|
+
return { limit: limit ?? DEFAULT_CONFIG.defaults.limit, page: page ?? 1 };
|
|
120
|
+
}, "pagingOf");
|
|
101
121
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
103
123
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
104
124
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
105
125
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -361,7 +381,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
361
381
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
362
382
|
}), "sessionAnswer");
|
|
363
383
|
|
|
364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
365
385
|
import { createHash } from "node:crypto";
|
|
366
386
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
367
387
|
import { createConnection, createServer } from "node:net";
|
|
@@ -582,7 +602,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
582
602
|
}, () => finish({ error: stopped() }));
|
|
583
603
|
}), "relayCommand");
|
|
584
604
|
|
|
585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
586
606
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
587
607
|
close: /* @__PURE__ */ __name(async () => {
|
|
588
608
|
}, "close"),
|
|
@@ -677,8 +697,10 @@ export {
|
|
|
677
697
|
lentConnection,
|
|
678
698
|
serveRelay,
|
|
679
699
|
positiveCount,
|
|
700
|
+
configuredLimit,
|
|
680
701
|
withPaging,
|
|
681
702
|
window,
|
|
703
|
+
pagingOf,
|
|
682
704
|
chatRef,
|
|
683
705
|
chatAnswer,
|
|
684
706
|
memberAnswer,
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure,
|
|
5
5
|
isStoreDamage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VG63EXRC.js";
|
|
7
7
|
import {
|
|
8
8
|
ADDED_PROVIDER,
|
|
9
9
|
INTERNAL_NOTES,
|
|
@@ -17,22 +17,23 @@ import {
|
|
|
17
17
|
kindsIn,
|
|
18
18
|
providerNamed,
|
|
19
19
|
providers
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TYAFL66K.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerStoreInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XHVFX74L.js";
|
|
24
24
|
import {
|
|
25
25
|
createRecordLog,
|
|
26
26
|
resolvePaths,
|
|
27
27
|
traceIdOf,
|
|
28
28
|
writeSecurely
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CS62FET6.js";
|
|
30
30
|
import {
|
|
31
31
|
array,
|
|
32
32
|
boolean,
|
|
33
|
+
description,
|
|
33
34
|
integer,
|
|
34
35
|
isoTime,
|
|
35
|
-
|
|
36
|
+
maxLength,
|
|
36
37
|
minLength,
|
|
37
38
|
minValue,
|
|
38
39
|
nullable,
|
|
@@ -45,21 +46,21 @@ import {
|
|
|
45
46
|
strictObject,
|
|
46
47
|
string,
|
|
47
48
|
unknown
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3D5PETD2.js";
|
|
49
50
|
import {
|
|
50
51
|
CliError
|
|
51
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-K3K3WKDB.js";
|
|
52
53
|
import {
|
|
53
54
|
__name
|
|
54
55
|
} from "./chunk-ZVVMGPBJ.js";
|
|
55
56
|
|
|
56
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
57
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
57
58
|
import { randomUUID } from "node:crypto";
|
|
58
59
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
59
60
|
import { userInfo } from "node:os";
|
|
60
61
|
import { join, sep } from "node:path";
|
|
61
62
|
|
|
62
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
63
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
63
64
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
64
65
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
65
66
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -72,7 +73,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
72
73
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
73
74
|
}), "snakeLogger");
|
|
74
75
|
|
|
75
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
76
77
|
var diagnostic = {
|
|
77
78
|
event: true,
|
|
78
79
|
operation: true,
|
|
@@ -146,7 +147,7 @@ var LOG_ATTRIBUTES = [
|
|
|
146
147
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
147
148
|
].sort();
|
|
148
149
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
150
151
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
151
152
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
152
153
|
var KEEP_STORE_RUNS_FOR_DAYS = 3;
|
|
@@ -513,7 +514,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
513
514
|
};
|
|
514
515
|
}, "metadataOf");
|
|
515
516
|
|
|
516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
517
518
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
518
519
|
import { randomBytes } from "node:crypto";
|
|
519
520
|
var scopes = new AsyncLocalStorage();
|
|
@@ -566,14 +567,14 @@ var attempts = new AsyncLocalStorage();
|
|
|
566
567
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
567
568
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
568
569
|
|
|
569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
570
571
|
var SOURCE_REVIEW_KIND = "memory_source_review";
|
|
571
572
|
var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
|
|
572
573
|
var ERASED_TEXT = "[source erased]";
|
|
573
574
|
var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
|
|
574
575
|
var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
|
|
575
576
|
|
|
576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
577
578
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
578
579
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
579
580
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -588,7 +589,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
588
589
|
}
|
|
589
590
|
__name(closeTask, "closeTask");
|
|
590
591
|
|
|
591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
592
593
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
593
594
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
594
595
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -617,7 +618,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
617
618
|
}, "priorityOf");
|
|
618
619
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
619
620
|
|
|
620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
621
622
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
622
623
|
async function find(id2) {
|
|
623
624
|
const task = await store.get(id2);
|
|
@@ -677,13 +678,13 @@ function median(values) {
|
|
|
677
678
|
}
|
|
678
679
|
__name(median, "median");
|
|
679
680
|
|
|
680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
681
682
|
function matches(task, filter) {
|
|
682
683
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
683
684
|
}
|
|
684
685
|
__name(matches, "matches");
|
|
685
686
|
|
|
686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
687
688
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
688
689
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
689
690
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -691,14 +692,14 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
691
692
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
692
693
|
var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
693
694
|
|
|
694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/categories.js
|
|
695
696
|
var CATEGORIES = ["client", "supplier", "partner", "employer"];
|
|
696
697
|
|
|
697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
698
699
|
var text = string();
|
|
699
700
|
var id = pipe(string(), minLength(1));
|
|
700
701
|
var time = isoTime;
|
|
701
|
-
var
|
|
702
|
+
var typedTime = pipe(string(), minLength(1), maxLength(64), description("an ISO 8601 date or time, in the computer's zone without one; or 30m, 2h, 7d ago"));
|
|
702
703
|
var count = pipe(number(), integer(), minValue(0));
|
|
703
704
|
var untrusted = optional(array(text));
|
|
704
705
|
var providerMetadata = optional(record(string(), unknown()));
|
|
@@ -719,7 +720,7 @@ var author = strictObject({
|
|
|
719
720
|
name: nullable(text)
|
|
720
721
|
});
|
|
721
722
|
|
|
722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
723
724
|
var organization = strictObject({
|
|
724
725
|
id,
|
|
725
726
|
ref: reference,
|
|
@@ -749,7 +750,7 @@ var reminder = strictObject({
|
|
|
749
750
|
receipt: nullable(text)
|
|
750
751
|
});
|
|
751
752
|
|
|
752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
753
754
|
import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
754
755
|
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
755
756
|
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
@@ -870,7 +871,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
|
|
|
870
871
|
return { previous, cleared };
|
|
871
872
|
}, "recordDeepCheck");
|
|
872
873
|
|
|
873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
874
875
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
875
876
|
var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
|
|
876
877
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -893,7 +894,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
893
894
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
894
895
|
}, "sourceOf");
|
|
895
896
|
|
|
896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
897
898
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
898
899
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
899
900
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|
|
@@ -1103,7 +1104,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind) =>
|
|
|
1103
1104
|
return { accounts: [...chosen.values()], skipped };
|
|
1104
1105
|
}, "fitting");
|
|
1105
1106
|
|
|
1106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
|
|
1107
1108
|
var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
|
|
1108
1109
|
var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
1109
1110
|
const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
|
|
@@ -1113,7 +1114,7 @@ var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
|
1113
1114
|
};
|
|
1114
1115
|
}, "sourceOf");
|
|
1115
1116
|
|
|
1116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
1117
1118
|
var LINK_KINDS = [
|
|
1118
1119
|
"links-to",
|
|
1119
1120
|
"blocked-by",
|
|
@@ -1174,7 +1175,7 @@ export {
|
|
|
1174
1175
|
text,
|
|
1175
1176
|
id,
|
|
1176
1177
|
time,
|
|
1177
|
-
|
|
1178
|
+
typedTime,
|
|
1178
1179
|
count,
|
|
1179
1180
|
untrusted,
|
|
1180
1181
|
providerMetadata,
|
|
@@ -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-FMJ4QSSU.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
isCliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K3K3WKDB.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|