@wirecat/zoom-cli 0.78.0 → 0.80.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/README.md +5 -4
- package/dist/answer-output.d.ts +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-7JN3N3E6.js → all-profiles-5GOKWOT4.js} +11 -11
- package/dist/bundle/answer-policy-7PYXHK2I.js +122 -0
- package/dist/bundle/{anthropic-U6O7UYGZ.js → anthropic-NHXMOFYS.js} +6 -6
- package/dist/bundle/{app-server-G7BTC6CE.js → app-server-HFW5Z5PI.js} +68 -68
- package/dist/bundle/{bun-VLROVUFK.js → bun-M5IGY2TG.js} +2 -2
- package/dist/bundle/{bun-sqlite-C5JLANDE.js → bun-sqlite-MTP5JJQ2.js} +7 -7
- package/dist/bundle/{chunk-7HEZQCHL.js → chunk-2P6MQH4V.js} +6 -6
- package/dist/bundle/{chunk-HGBZBQAE.js → chunk-2XZ2YKW4.js} +3 -3
- package/dist/bundle/{chunk-3NZJKY7A.js → chunk-3AOESMW6.js} +34 -24
- package/dist/bundle/{chunk-HI4QICF7.js → chunk-3BTRJYIT.js} +12 -12
- package/dist/bundle/{chunk-GQ6EJDMV.js → chunk-3UONR5HW.js} +1 -1
- package/dist/bundle/{chunk-NS5XSCHC.js → chunk-3Z7CFQTI.js} +1 -1
- package/dist/bundle/{chunk-RJIJR6KH.js → chunk-475P3LWG.js} +1 -1
- package/dist/bundle/{chunk-MVLLWSV7.js → chunk-4F7Q5CET.js} +16 -16
- package/dist/bundle/{chunk-7K5O2VWO.js → chunk-4OAR7BGU.js} +1 -1
- package/dist/bundle/{chunk-ZZJ5IWNT.js → chunk-5CJ6AAUI.js} +4 -4
- package/dist/bundle/{chunk-4XPVRZXE.js → chunk-5K54M6RD.js} +1 -1
- package/dist/bundle/{chunk-LX532BXO.js → chunk-5QXQIZJY.js} +1 -1
- package/dist/bundle/{chunk-WJTXO2EI.js → chunk-5RVXXDN7.js} +1 -1
- package/dist/bundle/{chunk-M5R2DURM.js → chunk-5XO2AY6D.js} +10 -10
- package/dist/bundle/{chunk-MSMFYW6N.js → chunk-6CDMGT6Q.js} +2 -2
- package/dist/bundle/{chunk-AEVSVVTP.js → chunk-6I4C4ZFT.js} +2 -2
- package/dist/bundle/{chunk-YNYQGZUW.js → chunk-6LY4LBSD.js} +7 -7
- package/dist/bundle/{chunk-OOLNK3Y5.js → chunk-6MDL2LZA.js} +8 -8
- package/dist/bundle/{chunk-532FNLON.js → chunk-6PIXP5IH.js} +20 -20
- package/dist/bundle/{chunk-VMA7SILL.js → chunk-6QCBTBDA.js} +1 -1
- package/dist/bundle/{chunk-BIUHLXL2.js → chunk-75JW7X2W.js} +33 -33
- package/dist/bundle/{chunk-FXHZHQKU.js → chunk-7U5X37TE.js} +6 -6
- package/dist/bundle/{chunk-VW36ZSAE.js → chunk-A3TUG2DP.js} +1 -1
- package/dist/bundle/{chunk-FCGRXUAU.js → chunk-ARL2TTPZ.js} +9 -9
- package/dist/bundle/{chunk-TXDCIM5D.js → chunk-BIKHHFD2.js} +1162 -771
- package/dist/bundle/{chunk-OAYAGQ7C.js → chunk-BNEJKGG7.js} +31 -22
- package/dist/bundle/{chunk-P5QO7Y3H.js → chunk-BPSURRAD.js} +6 -6
- package/dist/bundle/{chunk-6MFEWAK4.js → chunk-BRMV33MO.js} +4 -4
- package/dist/bundle/{chunk-HOJOVUO6.js → chunk-BW5JEOBE.js} +12 -12
- package/dist/bundle/{chunk-HUSIS3XO.js → chunk-CHEHK6IW.js} +64 -61
- package/dist/bundle/{chunk-XCOGI4JE.js → chunk-CW6CPQHI.js} +4 -4
- package/dist/bundle/{chunk-BAHXR4PA.js → chunk-CWCDCNXA.js} +6 -6
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
- package/dist/bundle/{chunk-F7IDYQLM.js → chunk-D4HKTC2T.js} +2 -2
- package/dist/bundle/{chunk-YZKVCTZI.js → chunk-DYRISFHZ.js} +8 -8
- package/dist/bundle/{chunk-OI4563JI.js → chunk-DZ6H3YJH.js} +13 -13
- package/dist/bundle/{chunk-YHQ3TEGB.js → chunk-E3JVLVVB.js} +29 -27
- package/dist/bundle/{chunk-MJMHUU3J.js → chunk-EI37UXDR.js} +1 -1
- package/dist/bundle/{chunk-3A3B3JX4.js → chunk-EMYRUJCV.js} +35 -12
- package/dist/bundle/{chunk-B4V4DRVO.js → chunk-EPIA2UUM.js} +12 -12
- package/dist/bundle/{chunk-H74NENWA.js → chunk-FIJREKLA.js} +3 -3
- package/dist/bundle/chunk-FPUGMDJV.js +7 -0
- package/dist/bundle/{chunk-JOIAE3NO.js → chunk-FSLR2YGR.js} +7 -7
- package/dist/bundle/{chunk-2LMD3JUD.js → chunk-G5VH4WUF.js} +2 -2
- package/dist/bundle/{chunk-LERF2FIK.js → chunk-GCPO7T2X.js} +3 -3
- package/dist/bundle/{chunk-IBINGDYF.js → chunk-GCUOZ2OA.js} +6 -6
- package/dist/bundle/{chunk-XSF5OBVZ.js → chunk-GGKEQQME.js} +8 -8
- package/dist/bundle/{chunk-H34KEXTN.js → chunk-GRYXOSN6.js} +10 -10
- package/dist/bundle/{chunk-DLJPN47R.js → chunk-GVKZZT7E.js} +6 -5
- package/dist/bundle/{chunk-M2M3U4UU.js → chunk-HGSBLY6M.js} +12 -12
- package/dist/bundle/{chunk-7AMKSXMB.js → chunk-HH7GR6TN.js} +6 -6
- package/dist/bundle/{chunk-WOYPWXZK.js → chunk-IQWBGMCR.js} +4 -4
- package/dist/bundle/{chunk-F2KZNAFF.js → chunk-JGSVWLL2.js} +2 -2
- package/dist/bundle/{chunk-XOG7B7K5.js → chunk-JJX4HKDV.js} +4 -4
- package/dist/bundle/{chunk-C56OYYFG.js → chunk-JXSEH64A.js} +3 -3
- package/dist/bundle/{chunk-Q4AKIAIA.js → chunk-K672XJ2P.js} +12 -12
- package/dist/bundle/{chunk-LBV4673S.js → chunk-L2TURFT6.js} +3 -3
- package/dist/bundle/{chunk-H7SRM26V.js → chunk-L6FM5RQY.js} +3 -3
- package/dist/bundle/{chunk-EV7QCFQR.js → chunk-M4LAF627.js} +45 -23
- package/dist/bundle/{chunk-B6TUEQ4O.js → chunk-MH4L5LL6.js} +3 -3
- package/dist/bundle/{chunk-5SM2IOAS.js → chunk-N5YUHN6S.js} +14 -29
- package/dist/bundle/{chunk-TEFHNXXX.js → chunk-NMETTKCV.js} +31 -16
- package/dist/bundle/{chunk-6NTNAEZF.js → chunk-NRVMK5H3.js} +1390 -1039
- package/dist/bundle/{chunk-53TV72JG.js → chunk-NXFKZFTC.js} +2 -2
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
- package/dist/bundle/{chunk-XXD4YPHQ.js → chunk-O4ZBFATF.js} +12 -12
- package/dist/bundle/{chunk-UKYO3HNO.js → chunk-ONJPUFLX.js} +1 -1
- package/dist/bundle/{chunk-WEAMGNST.js → chunk-OXPHJEJ2.js} +3 -3
- package/dist/bundle/{chunk-ZDZASHSQ.js → chunk-P2JTVRGU.js} +17 -17
- package/dist/bundle/{chunk-U2Z35B3W.js → chunk-PCPOO5FS.js} +2 -2
- package/dist/bundle/{chunk-7IIQU5RA.js → chunk-PKW3TPNP.js} +13 -13
- package/dist/bundle/{chunk-5DLK4OXF.js → chunk-PMO2Z6DQ.js} +3 -3
- package/dist/bundle/{chunk-3QWYRZME.js → chunk-Q5LUGY2V.js} +8 -8
- package/dist/bundle/{chunk-KBTINKQF.js → chunk-Q6MISDKJ.js} +3 -3
- package/dist/bundle/{chunk-BGO7IEHY.js → chunk-QIK2IBJ4.js} +21 -7
- package/dist/bundle/{chunk-2AWWMROP.js → chunk-RFXJLG5V.js} +7495 -7138
- package/dist/bundle/{chunk-UHBQM54J.js → chunk-RMX2WPWS.js} +4 -4
- package/dist/bundle/{chunk-2USGT7LE.js → chunk-RT7C3SSJ.js} +1 -1
- package/dist/bundle/{chunk-FNLXFQN6.js → chunk-ST3ZB7LS.js} +1 -1
- package/dist/bundle/{chunk-INJK7FNM.js → chunk-SUG6YGAF.js} +201 -175
- package/dist/bundle/{chunk-FURKMNC2.js → chunk-TDBVM2SS.js} +3 -3
- package/dist/bundle/{chunk-FHOQWPQ6.js → chunk-TMYZKDQ7.js} +307 -268
- package/dist/bundle/{chunk-LBTANUUH.js → chunk-TNL3YQ33.js} +2 -2
- package/dist/bundle/{chunk-V53TIJLY.js → chunk-U5N2PKKM.js} +2 -2
- package/dist/bundle/{chunk-FMMCGQNT.js → chunk-UX4JZMA4.js} +28 -4
- package/dist/bundle/{chunk-ZCVO6GAT.js → chunk-VN7TKMOW.js} +1 -1
- package/dist/bundle/{chunk-OAE6XR7E.js → chunk-W2QDYMAM.js} +7 -7
- package/dist/bundle/{chunk-2O66KMOR.js → chunk-W32HK7KG.js} +2 -2
- package/dist/bundle/{chunk-UIBKGH5P.js → chunk-W3GZ7JUO.js} +1 -1
- package/dist/bundle/{chunk-ORSTSBWU.js → chunk-W7M4JYEE.js} +1 -1
- package/dist/bundle/{chunk-KEAKNNXU.js → chunk-XIHENZW6.js} +4 -4
- package/dist/bundle/{chunk-C26V2XNV.js → chunk-XKLU5KV2.js} +1 -1
- package/dist/bundle/{chunk-Q4CNLEAY.js → chunk-XL4ND7CZ.js} +26 -26
- package/dist/bundle/{chunk-7EVB4UV7.js → chunk-XTCAWNBP.js} +4 -4
- package/dist/bundle/{chunk-4QCLPSJ7.js → chunk-YAA2D6RP.js} +5 -5
- package/dist/bundle/{chunk-YLNUKNGD.js → chunk-YR5TRWT2.js} +35 -34
- package/dist/bundle/{chunk-TFDD4Q5Z.js → chunk-Z3CPZ4I4.js} +10 -10
- package/dist/bundle/{chunk-PJMQE4PW.js → chunk-ZPZT46O6.js} +15 -9
- package/dist/bundle/{cli-YALONJ4V.js → cli-QNBYDOKV.js} +91 -77
- package/dist/bundle/command-contract-CT6MV6YG.js +45 -0
- package/dist/bundle/{command-server-entry-W4XTBUZE.js → command-server-entry-WMA4SWJ5.js} +35 -35
- package/dist/bundle/config-ZFQFDEVL.js +109 -0
- package/dist/bundle/{decode-IFQHVCFX.js → decode-7PXUXNIP.js} +6 -6
- package/dist/bundle/{dispatch-GOJB4TDK.js → dispatch-AWDROXWN.js} +9 -9
- package/dist/bundle/{dist-H7XFUMRX.js → dist-TSBH4FOU.js} +21 -21
- package/dist/bundle/{echarts-HPUHPJCO.js → echarts-WIDIUEO6.js} +2 -2
- package/dist/bundle/{embed-ESU3WZYW.js → embed-EIRVQF5E.js} +7 -7
- package/dist/bundle/{embedder-BV6O76B3.js → embedder-MXPM6OXK.js} +10 -10
- package/dist/bundle/{failure-SWVCYFQX.js → failure-JZW73RP7.js} +3 -3
- package/dist/bundle/first-run-K6EHRAIM.js +29 -0
- package/dist/bundle/first-screen-C6AF4KT4.js +45 -0
- package/dist/bundle/{folders-VQGKBM3P.js → folders-TGFOE7DY.js} +5 -5
- package/dist/bundle/{instructions-UUX57I3V.js → instructions-D5LNE6NJ.js} +1 -1
- package/dist/bundle/{main-UIKADOFB.js → main-OHW5Z56X.js} +24 -24
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
- package/dist/bundle/meeting-combined-3OKFXZNA.js +26 -0
- package/dist/bundle/meeting-model-4XNF725D.js +26 -0
- package/dist/bundle/{meeting-semantic-F6GUICB7.js → meeting-semantic-FYOVY4S2.js} +8 -8
- package/dist/bundle/{meetings-KIBUPLPW.js → meetings-WI4SXPBJ.js} +9 -7
- package/dist/bundle/{node-AM3JCAWB.js → node-UEWUFR7N.js} +2 -2
- package/dist/bundle/{node-sqlite-VM6VS3RU.js → node-sqlite-FJWKJHYU.js} +8 -8
- package/dist/bundle/{oauth-AX5Z32H6.js → oauth-KOONTGLW.js} +8 -8
- package/dist/bundle/{open-SSGOOOZG.js → open-EFYTWUGC.js} +6 -6
- package/dist/bundle/openai-6Y2JRDNY.js +28 -0
- package/dist/bundle/{output-file-FR226A64.js → output-file-J4SU6X4I.js} +6 -6
- package/dist/bundle/{process-5ZEK2VFY.js → process-U5PLNIDC.js} +1 -1
- package/dist/bundle/{program-ROJAJHCB.js → program-3JICCSA6.js} +98 -95
- package/dist/bundle/{prompt-6Y7A4453.js → prompt-YPDMSOKC.js} +6 -6
- package/dist/bundle/{recognize-R5W25WKH.js → recognize-Z2SSWUKH.js} +5 -5
- package/dist/bundle/{remote-PA4FQUZK.js → remote-R5HMDHOG.js} +11 -11
- package/dist/bundle/{rerank-CYX3UFTM.js → rerank-6NGBEMQ2.js} +8 -8
- package/dist/bundle/run-log-LG3TI3WI.js +136 -0
- package/dist/bundle/{serve-MM5QEZJW.js → serve-CU3RMWU7.js} +10 -10
- package/dist/bundle/{server-JQQAH7E5.js → server-SOQSVX2Q.js} +60 -60
- package/dist/bundle/server-X7JYRMKX.js +85 -0
- package/dist/bundle/{services-Y2DOQONM.js → services-LROZ3RDT.js} +54 -54
- package/dist/bundle/{speech-O6WLX34V.js → speech-AS77HFIF.js} +25 -25
- package/dist/bundle/{sqlite-runtime-LQTBZMFH.js → sqlite-runtime-U25NS6BK.js} +7 -7
- package/dist/bundle/{state-AIDPZLVH.js → state-CPEVKK66.js} +7 -7
- package/dist/bundle/{store-BA4FQS5V.js → store-6CHRMJM7.js} +28 -24
- package/dist/bundle/{store-UNDS2TBG.js → store-QKHCZOYR.js} +26 -26
- package/dist/bundle/store-connection-FCDVOPWB.js +102 -0
- package/dist/bundle/store-maintenance-command-6HVOAHOZ.js +77 -0
- package/dist/bundle/{streaming-UFHT5MR2.js → streaming-VDJOYGMO.js} +7 -7
- package/dist/bundle/{tokens-Z32UKGQB.js → tokens-JBN2OHQB.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-6U46XBTG.js → zoom-app-Q4IKYNG3.js} +8 -8
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +3 -2
- package/dist/program-bindings.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +2 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -0
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
- package/dist/bundle/answer-policy-G2BNMPEX.js +0 -122
- package/dist/bundle/chunk-SHTHNBHG.js +0 -2
- package/dist/bundle/command-contract-DMR5EOIN.js +0 -45
- package/dist/bundle/config-4TLDRXRL.js +0 -109
- package/dist/bundle/first-run-OEJGAQAE.js +0 -29
- package/dist/bundle/first-screen-QLM4IABL.js +0 -45
- package/dist/bundle/meeting-combined-SKJISCC7.js +0 -26
- package/dist/bundle/meeting-model-YG3Z5KCB.js +0 -26
- package/dist/bundle/openai-YIP73X2B.js +0 -28
- package/dist/bundle/run-log-FHERL3H6.js +0 -136
- package/dist/bundle/server-W2BBONCQ.js +0 -85
- package/dist/bundle/store-connection-ADBJ36T4.js +0 -102
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +0 -77
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ACCESS_SECONDS,
|
|
5
5
|
REFRESH_SECONDS,
|
|
6
6
|
readStored
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XTCAWNBP.js";
|
|
8
8
|
import {
|
|
9
9
|
OAuthError,
|
|
10
10
|
OAuthErrorCode
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -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.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateFormattedText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5XO2AY6D.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6CDMGT6Q.js";
|
|
9
9
|
import {
|
|
10
10
|
RECORDS_SCHEMA_VERSION,
|
|
11
11
|
RECORD_TYPES,
|
|
12
12
|
pointerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6PIXP5IH.js";
|
|
14
14
|
import {
|
|
15
15
|
indent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BNEJKGG7.js";
|
|
17
17
|
import {
|
|
18
18
|
CliError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
25
25
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
26
26
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
27
27
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
30
30
|
var MARKERS = [
|
|
31
31
|
["**", "bold"],
|
|
32
32
|
["~~", "strike"],
|
|
@@ -72,7 +72,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
72
72
|
return end;
|
|
73
73
|
}, "closing");
|
|
74
74
|
|
|
75
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
75
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
76
76
|
var STYLES = [
|
|
77
77
|
["**", "bold"],
|
|
78
78
|
["__", "underline"],
|
|
@@ -232,7 +232,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
232
232
|
return validateFormattedText(result);
|
|
233
233
|
}, "parseMarkdownSpans");
|
|
234
234
|
|
|
235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
236
236
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
237
237
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
238
238
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -247,7 +247,7 @@ var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
|
247
247
|
};
|
|
248
248
|
}, "countedPoll");
|
|
249
249
|
|
|
250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/records-table.js
|
|
251
251
|
var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => RECORD_TYPES[type].sheet !== false);
|
|
252
252
|
var TableError = class extends Error {
|
|
253
253
|
static {
|
|
@@ -2237,7 +2237,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
2237
2237
|
var qrcode_default = qrcode;
|
|
2238
2238
|
var stringToBytes = qrcode.stringToBytes;
|
|
2239
2239
|
|
|
2240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
2241
2241
|
var QUIET_ZONE = 4;
|
|
2242
2242
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
2243
2243
|
var RESET = "\x1B[0m";
|
|
@@ -2284,7 +2284,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
2284
2284
|
return lines.join("\n");
|
|
2285
2285
|
}, "plainQr");
|
|
2286
2286
|
|
|
2287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
2288
2288
|
var MARGIN = 2;
|
|
2289
2289
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
2290
2290
|
var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
|
|
@@ -2,15 +2,15 @@ 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-ST3ZB7LS.js";
|
|
6
6
|
import {
|
|
7
7
|
singleLine
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5RVXXDN7.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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
14
14
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
15
15
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
16
16
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -23,28 +23,28 @@ import {
|
|
|
23
23
|
tagMemberIds,
|
|
24
24
|
thingOf,
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NRVMK5H3.js";
|
|
27
27
|
import {
|
|
28
28
|
fold
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4OAR7BGU.js";
|
|
30
30
|
import {
|
|
31
31
|
damagedFile
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6I4C4ZFT.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-PKW3TPNP.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ST3ZB7LS.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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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");
|
|
@@ -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-Z3CPZ4I4.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
isCliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
formatMeetingReference,
|
|
5
5
|
parseMeetingReference
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TMYZKDQ7.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
10
10
|
import {
|
|
11
11
|
singleLine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5RVXXDN7.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
18
18
|
var CURRENCY_SCALES = {
|
|
19
19
|
AED: 2,
|
|
20
20
|
AMD: 2,
|
|
@@ -108,7 +108,7 @@ var quantityOf = /* @__PURE__ */ __name((text) => {
|
|
|
108
108
|
}, "quantityOf");
|
|
109
109
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
110
110
|
|
|
111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/deals.js
|
|
112
112
|
var DEAL_KINDS = ["deal", "lead"];
|
|
113
113
|
var DEAL_STATUSES = ["open", "won", "lost"];
|
|
114
114
|
var STAGE_OUTCOMES = DEAL_STATUSES;
|
|
@@ -118,7 +118,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
|
|
|
118
118
|
return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
|
|
119
119
|
}, "dealLine");
|
|
120
120
|
|
|
121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
122
122
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
123
123
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
124
124
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -147,7 +147,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
147
147
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
148
148
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
151
151
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
152
152
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
153
153
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -158,7 +158,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
158
158
|
}, "orderLine");
|
|
159
159
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
160
160
|
|
|
161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/relations.js
|
|
162
162
|
var ORGANIZATION_ROLES = [
|
|
163
163
|
"employee",
|
|
164
164
|
"contractor",
|
|
@@ -265,7 +265,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
|
|
|
265
265
|
var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
|
|
266
266
|
var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
|
|
267
267
|
|
|
268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/crm.js
|
|
269
269
|
var CRM_KINDS = ["organization", "person", "deal", "lead"];
|
|
270
270
|
var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
|
|
271
271
|
var isCrmUserId = /* @__PURE__ */ __name((id) => /^\d{1,20}$/.test(id), "isCrmUserId");
|
|
@@ -275,7 +275,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id) => {
|
|
|
275
275
|
}, "normalCrmUserId");
|
|
276
276
|
var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
|
|
277
277
|
|
|
278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/business.js
|
|
279
279
|
var CATALOG_KINDS = ["product", "service"];
|
|
280
280
|
var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
|
|
281
281
|
var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
|
|
@@ -304,7 +304,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
|
|
|
304
304
|
var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
|
|
305
305
|
var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
|
|
306
306
|
|
|
307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/locator.js
|
|
308
308
|
var SCHEME = "msg:";
|
|
309
309
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
310
310
|
var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -325,7 +325,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
|
|
|
325
325
|
return { provider, account, chat, message };
|
|
326
326
|
}, "parseLocator");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/references.js
|
|
329
329
|
var SIMPLE_REFERENCES = [
|
|
330
330
|
"note",
|
|
331
331
|
"document",
|
|
@@ -488,7 +488,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
|
|
|
488
488
|
return match !== null && byPrefix.has(match[1]);
|
|
489
489
|
}, "looksLikeReference");
|
|
490
490
|
|
|
491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
492
492
|
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
|
|
493
493
|
var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
|
|
494
494
|
var CRM_OPENS = { deal: "deals show", lead: "leads show", pipeline: "pipelines show" };
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
openOrdinaryFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NMETTKCV.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ST3ZB7LS.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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
14
14
|
import { createHash } from "node:crypto";
|
|
15
15
|
import { basename, resolve } from "node:path";
|
|
16
16
|
var prepared = /* @__PURE__ */ new WeakMap();
|
|
@@ -6,28 +6,28 @@ import {
|
|
|
6
6
|
QUERY_LIMITS,
|
|
7
7
|
SEARCH_QUERY,
|
|
8
8
|
searchError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L2TURFT6.js";
|
|
10
10
|
import {
|
|
11
11
|
tagOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OXPHJEJ2.js";
|
|
13
13
|
import {
|
|
14
14
|
parseLucene,
|
|
15
15
|
queryAstSchema,
|
|
16
16
|
validateQuery,
|
|
17
17
|
walkQuery
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z3CPZ4I4.js";
|
|
19
19
|
import {
|
|
20
20
|
safeParse
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZPZT46O6.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
isCliError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ST3ZB7LS.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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
|
|
31
31
|
var FIELD_VERSION = 2;
|
|
32
32
|
var UNITS = {
|
|
33
33
|
"": 1,
|
|
@@ -607,7 +607,7 @@ var QUERY_OPERATORS = [
|
|
|
607
607
|
{ name: "boost / minimum / intervals", example: "invoice^2", semantics: "query.unsupported-operator" }
|
|
608
608
|
];
|
|
609
609
|
|
|
610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
|
|
611
611
|
var REPAIRED = /* @__PURE__ */ new Set([
|
|
612
612
|
"query.invalid-syntax",
|
|
613
613
|
"query.unclosed-literal",
|
|
@@ -750,7 +750,7 @@ var plainQuery = /* @__PURE__ */ __name((text, fields = SEARCH_FIELDS) => {
|
|
|
750
750
|
return text;
|
|
751
751
|
}, "plainQuery");
|
|
752
752
|
|
|
753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/search/fusion.js
|
|
754
754
|
var RRF_K = 60;
|
|
755
755
|
var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
756
756
|
const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6CDMGT6Q.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
backoffMs,
|
|
6
6
|
realSleep,
|
|
7
7
|
wallClock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BNEJKGG7.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isCliError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
|
|
18
18
|
var LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?";
|
|
19
19
|
var HOST_PATTERN = new RegExp(`^(?:${LABEL}(?:\\.${LABEL})*|\\*\\.${LABEL}(?:\\.${LABEL})+)$`);
|
|
20
20
|
var hostProblems = /* @__PURE__ */ __name((hosts) => [
|
|
@@ -26,7 +26,7 @@ var hostCovered = /* @__PURE__ */ __name((hostname, hosts) => {
|
|
|
26
26
|
return hosts.some((host) => host.startsWith("*.") ? name.endsWith(host.slice(1)) : name === host);
|
|
27
27
|
}, "hostCovered");
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/fetch.js
|
|
30
30
|
var HOST_FETCH_TIMEOUT_MS = 3e4;
|
|
31
31
|
var REDIRECTS = 5;
|
|
32
32
|
var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
@@ -61,6 +61,15 @@ var checked = /* @__PURE__ */ __name((url, hosts) => {
|
|
|
61
61
|
throw undeclared(url);
|
|
62
62
|
return url;
|
|
63
63
|
}, "checked");
|
|
64
|
+
var NOT_SENT = /* @__PURE__ */ new Set(["EAI_AGAIN", "ENOTFOUND", "ECONNREFUSED"]);
|
|
65
|
+
var neverSent = /* @__PURE__ */ __name((error) => {
|
|
66
|
+
for (let at = error, depth = 0; at instanceof Error && depth < 4; at = at.cause, depth++) {
|
|
67
|
+
const code = at.code;
|
|
68
|
+
if (typeof code === "string" && NOT_SENT.has(code))
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
return false;
|
|
72
|
+
}, "neverSent");
|
|
64
73
|
var hostFetch = /* @__PURE__ */ __name((options) => {
|
|
65
74
|
const problems = hostProblems(options.hosts);
|
|
66
75
|
if (problems.length > 0)
|
|
@@ -76,8 +85,10 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
|
|
|
76
85
|
let method = (init.method ?? request?.method ?? "GET").toUpperCase();
|
|
77
86
|
let body = init.body ?? request?.body ?? void 0;
|
|
78
87
|
const headers = new Headers(init.headers ?? request?.headers);
|
|
88
|
+
let answered = false;
|
|
79
89
|
try {
|
|
80
90
|
let response = await send(input, { ...init, signal, ...follow ? { redirect: "manual" } : {} });
|
|
91
|
+
answered = true;
|
|
81
92
|
for (let hop = 0; follow && REDIRECT_STATUSES.has(response.status); hop += 1) {
|
|
82
93
|
const location = response.headers.get("location");
|
|
83
94
|
if (!location)
|
|
@@ -109,12 +120,15 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
|
|
|
109
120
|
throw isCliError(caller.reason) ? caller.reason : new CliError("cancelled", "request cancelled");
|
|
110
121
|
if (timeout.signal.aborted)
|
|
111
122
|
throw new CliError("timeout", `${url.hostname} did not answer within ${timeoutMs} ms`, { retryable: true });
|
|
112
|
-
throw new CliError("network_error", `${url.hostname} could not be reached`, {
|
|
123
|
+
throw new CliError("network_error", `${url.hostname} could not be reached`, {
|
|
124
|
+
retryable: true,
|
|
125
|
+
...!answered && neverSent(error) ? { sent: false } : {}
|
|
126
|
+
});
|
|
113
127
|
}
|
|
114
128
|
};
|
|
115
129
|
}, "hostFetch");
|
|
116
130
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
131
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
|
|
118
132
|
var interrupted = /* @__PURE__ */ __name((signal) => isCliError(signal.reason) ? signal.reason : new CliError(signal.reason instanceof Error && signal.reason.name === "TimeoutError" ? "timeout" : "cancelled", "HTTP response read was interrupted"), "interrupted");
|
|
119
133
|
var checked2 = /* @__PURE__ */ __name((signal) => {
|
|
120
134
|
if (signal?.aborted)
|
|
@@ -199,7 +213,7 @@ var readJsonResponse = /* @__PURE__ */ __name(async (response, options) => {
|
|
|
199
213
|
}
|
|
200
214
|
}, "readJsonResponse");
|
|
201
215
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
216
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
|
|
203
217
|
var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
|
|
204
218
|
if (!header)
|
|
205
219
|
return void 0;
|