@wirecat/zoom-cli 0.60.1 → 0.61.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 +3 -3
- package/dist/answers.d.ts +16 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{chunk-3R437ICM.js → all-profiles-HZLIU6RZ.js} +11 -7
- package/dist/bundle/answer-policy-GRODO2DY.js +96 -0
- package/dist/bundle/{anthropic-CSLAACWX.js → anthropic-O2YYPCVK.js} +4 -4
- package/dist/bundle/{app-server-RYYXX6QV.js → app-server-YYCANTUE.js} +50 -50
- package/dist/bundle/{bun-JVDJVDHL.js → bun-UEFRULAT.js} +2 -2
- package/dist/bundle/{bun-sqlite-B5CZHAV4.js → bun-sqlite-VVYKOY7S.js} +3 -3
- package/dist/bundle/{chunk-KNAS4VEA.js → chunk-2M2U43IF.js} +2 -2
- package/dist/bundle/{chunk-QKSCDALS.js → chunk-35X6G276.js} +1 -1
- package/dist/bundle/{chunk-PPHUBORC.js → chunk-3TGR4RDD.js} +32 -34
- package/dist/bundle/{chunk-WEUXLXOZ.js → chunk-4XI4PDEH.js} +31 -21
- package/dist/bundle/{chunk-W5EUHV3J.js → chunk-4XPIOW5L.js} +1 -1
- package/dist/bundle/{chunk-XS72YFPV.js → chunk-5NRBNGR3.js} +2 -2
- package/dist/bundle/{chunk-VVKHF6VJ.js → chunk-67WW33JB.js} +49 -24
- package/dist/bundle/{chunk-KYUIU5UR.js → chunk-6LHTWR3X.js} +2 -2
- package/dist/bundle/{chunk-K6NPOZUP.js → chunk-6RV7KXDF.js} +7 -7
- package/dist/bundle/{chunk-46R2JTGO.js → chunk-6SLGIPLT.js} +2 -2
- package/dist/bundle/{chunk-IQENQXUJ.js → chunk-77GJITSU.js} +2 -2
- package/dist/bundle/{chunk-BO7J5Z3T.js → chunk-7ATLKYBN.js} +17 -17
- package/dist/bundle/{chunk-VJBVNDFR.js → chunk-7DMMNCY2.js} +3 -3
- package/dist/bundle/chunk-ABCHE4YP.js +217 -0
- package/dist/bundle/{chunk-Y3YURIZF.js → chunk-AOSIU5T6.js} +51 -38
- package/dist/bundle/{chunk-HYZ545ON.js → chunk-B3PTSX5D.js} +2 -2
- package/dist/bundle/{chunk-GEVHI226.js → chunk-B45MFBBF.js} +6 -6
- package/dist/bundle/{chunk-6BJQBVMN.js → chunk-BNUNZTOU.js} +25 -25
- package/dist/bundle/{chunk-ZDRDCANC.js → chunk-BPQNTYLN.js} +388 -299
- package/dist/bundle/{chunk-VLE3FWE3.js → chunk-CMG54Q4X.js} +120 -32
- package/dist/bundle/{chunk-RACSKYNX.js → chunk-COU66X3X.js} +7 -5
- package/dist/bundle/{chunk-AOZGGGUK.js → chunk-CUSGSXSR.js} +2 -2
- package/dist/bundle/{chunk-MFS52LTZ.js → chunk-DLAFGSTN.js} +1 -1
- package/dist/bundle/{chunk-V53IB5AU.js → chunk-E4QPLXZT.js} +47 -47
- package/dist/bundle/{chunk-EUHQ5D4K.js → chunk-E4T7IJJO.js} +26 -26
- package/dist/bundle/{chunk-3LBA63D5.js → chunk-F32GKBMF.js} +22 -5
- package/dist/bundle/{chunk-YEZQ7SD7.js → chunk-FAOVUALC.js} +13 -13
- package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-FBJC7OCI.js} +1 -1
- package/dist/bundle/{chunk-HIAO4MPA.js → chunk-FQ54A7GI.js} +1 -1
- package/dist/bundle/{chunk-ES6UWVTM.js → chunk-FXY45HU7.js} +6 -6
- package/dist/bundle/{chunk-REC3AZP6.js → chunk-GNHPYQMM.js} +2 -2
- package/dist/bundle/{chunk-TY5PBEH2.js → chunk-H5EAHMQN.js} +11 -11
- package/dist/bundle/chunk-HF233RN4.js +335 -0
- package/dist/bundle/{chunk-RUEPZTNA.js → chunk-HTGBUE2U.js} +2 -2
- package/dist/bundle/{chunk-HAUAEGGI.js → chunk-IKZFR645.js} +10 -10
- package/dist/bundle/chunk-JKWYXBGK.js +380 -0
- package/dist/bundle/{chunk-EN5DBDKW.js → chunk-KGZHRJ7H.js} +4 -4
- package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-KPZIQKOF.js} +1 -1
- package/dist/bundle/{chunk-PAEBFJUC.js → chunk-KXYURHVE.js} +118 -95
- package/dist/bundle/{chunk-IRX2YVAH.js → chunk-KZGHGU2M.js} +4 -4
- package/dist/bundle/{chunk-ZXQCA3ZW.js → chunk-KZV5GU7G.js} +8 -8
- package/dist/bundle/{chunk-R4SRXI7M.js → chunk-L7VIPVHL.js} +166 -102
- package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-LPJ3S6GE.js} +1 -1
- package/dist/bundle/{chunk-HBYE4EP2.js → chunk-LX6DO44O.js} +1 -1
- package/dist/bundle/{chunk-N27LOY3D.js → chunk-LXOSBFWW.js} +7 -7
- package/dist/bundle/{chunk-KXEC5FVT.js → chunk-M3EVVGR6.js} +2 -2
- package/dist/bundle/{chunk-YLATWUE7.js → chunk-MBMDF5EL.js} +6 -6
- package/dist/bundle/{chunk-AZZPMHP2.js → chunk-MTAVA2LS.js} +2 -2
- package/dist/bundle/{chunk-7IDNHVJS.js → chunk-MVRCLMQL.js} +2 -2
- package/dist/bundle/{chunk-LVHZQCP4.js → chunk-NVN4O5IC.js} +14 -10
- package/dist/bundle/{chunk-4TCQT57W.js → chunk-O3WVOAT7.js} +408 -420
- package/dist/bundle/{chunk-UWVNY5CA.js → chunk-OLZE27RS.js} +2 -2
- package/dist/bundle/{chunk-XX7KVQIG.js → chunk-OMUX4LSS.js} +4 -4
- package/dist/bundle/{chunk-IQSBMAYB.js → chunk-OU46OTTE.js} +3 -3
- package/dist/bundle/{chunk-Z4D6M62I.js → chunk-OVVDOVLN.js} +2 -2
- package/dist/bundle/{chunk-WB7MQHUI.js → chunk-P2NRA7E5.js} +2 -2
- package/dist/bundle/{chunk-PEMLI3T7.js → chunk-PCUPOGKR.js} +6 -4
- package/dist/bundle/{chunk-OEEMCNAO.js → chunk-QHT2LZRW.js} +6 -6
- package/dist/bundle/{decode-CTQJQYNU.js → chunk-RGOBGHWE.js} +21 -18
- package/dist/bundle/{chunk-Q7U627RY.js → chunk-RSXLI5GP.js} +79 -59
- package/dist/bundle/{chunk-LPY2ISJK.js → chunk-S726LZCH.js} +6 -6
- package/dist/bundle/{chunk-PATM7JGR.js → chunk-SVBM6F4Z.js} +1 -1
- package/dist/bundle/{chunk-X7YPTYM4.js → chunk-T7IQMYPW.js} +15 -3
- package/dist/bundle/{chunk-WFT2GGFH.js → chunk-TD4Y5LXG.js} +25 -22
- package/dist/bundle/{chunk-FZMRHNOP.js → chunk-U4Y2QQ2D.js} +3 -3
- package/dist/bundle/{chunk-CGCJ6P3A.js → chunk-UPWHCUVA.js} +617 -380
- package/dist/bundle/{chunk-FWJ3Q7NO.js → chunk-UYAKSUT5.js} +5 -5
- package/dist/bundle/{chunk-LPDYI5GR.js → chunk-VARX3SBT.js} +1 -1
- package/dist/bundle/{chunk-WWNZS7ZY.js → chunk-WVYSOV3C.js} +16 -4
- package/dist/bundle/{chunk-VKUS2V4L.js → chunk-XOJGXWTK.js} +8 -8
- package/dist/bundle/{chunk-OBUKZ2ZM.js → chunk-XX2PDQ54.js} +31 -211
- package/dist/bundle/{chunk-43BX56ZI.js → chunk-XZ4OVTA5.js} +9 -9
- package/dist/bundle/{chunk-Z5H47R4G.js → chunk-YESOQEOB.js} +735 -826
- package/dist/bundle/{cli-CYKEKT5P.js → cli-O4LAGYXI.js} +60 -54
- package/dist/bundle/command-contract-67QKBY6M.js +38 -0
- package/dist/bundle/config-ABURZDD2.js +78 -0
- package/dist/bundle/decode-WRMZJJCR.js +20 -0
- package/dist/bundle/{dist-YLSQKPPY.js → dist-SQK4GIJT.js} +14 -14
- package/dist/bundle/{echarts-4OQHS575.js → echarts-3DOOJSQR.js} +2 -2
- package/dist/bundle/{embed-P2BKRRJD.js → embed-OYRHTMFI.js} +4 -4
- package/dist/bundle/{embedder-HC6ZARP5.js → embedder-ZAYCL22W.js} +7 -7
- package/dist/bundle/{first-run-UERFFXBV.js → first-run-QXSPIXOQ.js} +8 -8
- package/dist/bundle/first-screen-MD6HWIJW.js +36 -0
- package/dist/bundle/{folders-RSLPTZLJ.js → folders-EXQLKXVK.js} +2 -2
- package/dist/bundle/{instructions-3QZBKKPF.js → instructions-GFEOB7XJ.js} +1 -1
- package/dist/bundle/{main-2T6D77JC.js → main-RADF3CRI.js} +16 -16
- package/dist/bundle/{mcp-OQBZXELQ.js → mcp-WSGVVZWI.js} +2 -2
- package/dist/bundle/{meetings-ZIDSQZBJ.js → meetings-6BIIT42H.js} +4 -4
- package/dist/bundle/{node-R2BLYUSB.js → node-A3B2YRQI.js} +2 -2
- package/dist/bundle/{node-sqlite-7CGHAHIS.js → node-sqlite-XRP5FUDY.js} +3 -3
- package/dist/bundle/{oauth-UBCYXTWV.js → oauth-YICY4AN4.js} +5 -5
- package/dist/bundle/{open-AWUB4Q7Z.js → open-4CNKSQRB.js} +2 -2
- package/dist/bundle/openai-YYRO3X7I.js +22 -0
- package/dist/bundle/{output-file-SN22HAVL.js → output-file-7BXYV6OL.js} +3 -3
- package/dist/bundle/{process-IX5YWGDP.js → process-A45QXKID.js} +1 -1
- package/dist/bundle/{program-STYPTNT3.js → program-DTP7BRTW.js} +415 -428
- package/dist/bundle/{prompt-MAYUHEGN.js → prompt-5LMKO7SE.js} +3 -3
- package/dist/bundle/{recognize-FVTNXRTF.js → recognize-MB6WRGUD.js} +4 -2
- package/dist/bundle/{remote-WCPRU73L.js → remote-PD7WMTTS.js} +5 -5
- package/dist/bundle/{rerank-6CBLZBCV.js → rerank-7E6GQ5Y6.js} +5 -5
- package/dist/bundle/{run-log-G4WZTOBW.js → run-log-TCFK4LEC.js} +53 -53
- package/dist/bundle/{chunk-XNUFDYR6.js → serve-JBT2BWHK.js} +8 -6
- package/dist/bundle/server-CFIKEPLG.js +66 -0
- package/dist/bundle/{chunk-INARC5O7.js → server-H2UPGGBI.js} +43 -10
- package/dist/bundle/{services-326Z3TNE.js → services-SJOTKL5V.js} +33 -26
- package/dist/bundle/{speech-KSZ7RKM3.js → speech-4SL25GSC.js} +28 -5
- package/dist/bundle/{state-EPB3L2JM.js → state-FVMTDZ6B.js} +4 -4
- package/dist/bundle/{store-KO242JBK.js → store-DNPKBUVO.js} +13 -13
- package/dist/bundle/{store-7WX7SW2R.js → store-TI77SCNL.js} +15 -15
- package/dist/bundle/store-connection-GIFWWMNO.js +76 -0
- package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +55 -0
- package/dist/bundle/{streaming-M6VDKBBH.js → streaming-UHAHGPH5.js} +4 -4
- package/dist/bundle/{tokens-BTNXHR7T.js → tokens-Y2MX6JBL.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/commands.d.ts +1 -2
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -16
- package/dist/commands.js.map +1 -1
- package/dist/contract-overrides.d.ts +0 -2
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +0 -158
- package/dist/contract-overrides.js.map +1 -1
- package/dist/program-bindings.d.ts +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +16 -18
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +2 -4
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts.map +1 -1
- package/dist/read-only.js +3 -0
- package/dist/read-only.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +82 -32
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +8 -46
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +4 -1
- package/dist/store-commands.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/all-profiles-E6KXASLY.js +0 -25
- package/dist/bundle/answer-policy-YWCC55NB.js +0 -96
- package/dist/bundle/chunk-DBSWVZES.js +0 -48
- package/dist/bundle/chunk-WYRYLBST.js +0 -390
- package/dist/bundle/chunk-YLBNPI7H.js +0 -2
- package/dist/bundle/command-contract-P45QCCXM.js +0 -38
- package/dist/bundle/config-JYKTLEA3.js +0 -79
- package/dist/bundle/first-screen-VFIS7FX3.js +0 -36
- package/dist/bundle/mcp-4VHVUMCR.js +0 -92
- package/dist/bundle/mcp-6CLW2IZM.js +0 -189
- package/dist/bundle/serve-3IDUVTZL.js +0 -19
- package/dist/bundle/server-7GU36TER.js +0 -66
- package/dist/bundle/server-VHRS5UAL.js +0 -53
- package/dist/bundle/store-connection-K3MNDCQQ.js +0 -76
- package/dist/bundle/store-maintenance-command-GJDJYI2U.js +0 -54
- package/dist/mcp-command.d.ts +0 -33
- package/dist/mcp-command.d.ts.map +0 -1
- package/dist/mcp-command.js +0 -143
- package/dist/mcp-command.js.map +0 -1
- package/dist/mcp.d.ts +0 -30
- package/dist/mcp.d.ts.map +0 -1
- package/dist/mcp.js +0 -110
- package/dist/mcp.js.map +0 -1
- /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-62EDJKGP.js} +0 -0
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
QUERY_REASONS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NVN4O5IC.js";
|
|
6
6
|
import {
|
|
7
7
|
defineReasons
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L7VIPVHL.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.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/errors/reasons.js
|
|
14
14
|
var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
|
|
15
15
|
var QUERY = [
|
|
16
16
|
["query.aborted", "the search was stopped before it finished"],
|
|
@@ -75,6 +75,10 @@ var OTHERS = [
|
|
|
75
75
|
["calendar.read-only", "permission_error", "the calendar takes no new events from this account"],
|
|
76
76
|
["busy.offline", "permission_error", "calendars busy asks the provider; --offline was given"],
|
|
77
77
|
validation("busy.no-calendars", "no calendar syncs and no person was named, so there is nobody to ask"),
|
|
78
|
+
["search.offline", "permission_error", "search --backend server asks the provider; --offline was given"],
|
|
79
|
+
validation("search.no-calendars", "no calendar of this profile syncs yet, so the provider has nothing to search"),
|
|
80
|
+
validation("search.server-options", "search --backend server takes neither --exact, --cursor nor --newest"),
|
|
81
|
+
validation("search.one-backend", "search answers from one backend at a time: archive or server"),
|
|
78
82
|
validation("store.refused", "the local store refused the document text"),
|
|
79
83
|
["store.not-writable", "permission_error", "the message store cannot be written from this process"],
|
|
80
84
|
[
|
|
@@ -94,6 +98,13 @@ var OTHERS = [
|
|
|
94
98
|
validation("memory.evidence-required", "a memory needs its evidence"),
|
|
95
99
|
validation("memory.scope-required", "a memory needs its scope"),
|
|
96
100
|
["model.not-downloaded", "not_found", "the model is not downloaded on this machine"],
|
|
101
|
+
["transcription.no-key", "authentication_error", "no OpenAI key is set for transcription"],
|
|
102
|
+
validation("transcription.too-large", "the audio is over the transcription provider's size limit"),
|
|
103
|
+
[
|
|
104
|
+
"transcription.quota-exhausted",
|
|
105
|
+
"permission_error",
|
|
106
|
+
"the transcription provider account has no credit or limit left"
|
|
107
|
+
],
|
|
97
108
|
validation("name.invalid", "the name is not valid"),
|
|
98
109
|
validation("output.choose-fields", "at a terminal, --json names the fields it prints"),
|
|
99
110
|
validation("output.one-object", "a report is one JSON object; --jsonl streams lists only"),
|
|
@@ -202,6 +213,7 @@ var DETAILS = [
|
|
|
202
213
|
"reference",
|
|
203
214
|
"remembered",
|
|
204
215
|
"retry_at",
|
|
216
|
+
"retry_after_ms",
|
|
205
217
|
"runtime",
|
|
206
218
|
"saved",
|
|
207
219
|
"scheduled_for",
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
AUDIT_MIN_SCORE,
|
|
5
5
|
throughWrapper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YESOQEOB.js";
|
|
7
7
|
import {
|
|
8
8
|
Command,
|
|
9
9
|
InvalidArgumentError,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
renderAnswer,
|
|
17
17
|
sharedCommand,
|
|
18
18
|
snakeKeys
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AOSIU5T6.js";
|
|
20
20
|
import {
|
|
21
21
|
readOnlyLockOf
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6LHTWR3X.js";
|
|
23
23
|
import {
|
|
24
24
|
formatReference
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FXY45HU7.js";
|
|
26
26
|
import {
|
|
27
27
|
EVENT_QUERY,
|
|
28
28
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
readMeetingProjectEvidence,
|
|
46
46
|
validateMeetingHitSearch,
|
|
47
47
|
validateMeetingPassage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-RSXLI5GP.js";
|
|
49
49
|
import {
|
|
50
50
|
OPERATORS_BY_TYPE,
|
|
51
51
|
QUERY_LIMITS,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
timezoneOf,
|
|
60
60
|
validateQuery,
|
|
61
61
|
zonedMoment
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-NVN4O5IC.js";
|
|
63
63
|
import {
|
|
64
64
|
CliError,
|
|
65
65
|
array,
|
|
@@ -73,12 +73,12 @@ import {
|
|
|
73
73
|
safeParse,
|
|
74
74
|
strictObject,
|
|
75
75
|
string
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-L7VIPVHL.js";
|
|
77
77
|
import {
|
|
78
78
|
__name
|
|
79
79
|
} from "./chunk-ZVVMGPBJ.js";
|
|
80
80
|
|
|
81
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
81
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
82
82
|
var COMMAND_NEEDS = {
|
|
83
83
|
"account update": ["updateProfile", "change the profile"],
|
|
84
84
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -128,7 +128,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
128
128
|
return group;
|
|
129
129
|
}, "hideNever");
|
|
130
130
|
|
|
131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
132
132
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
133
133
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
134
134
|
const zone = timezoneOf();
|
|
@@ -214,7 +214,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
214
214
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
215
215
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
218
218
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
219
219
|
command.allowUnknownOption();
|
|
220
220
|
const parse = command.parseOptions.bind(command);
|
|
@@ -234,7 +234,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
234
234
|
return command;
|
|
235
235
|
}, "queryWordsAfterOptions");
|
|
236
236
|
|
|
237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
238
238
|
var count = /* @__PURE__ */ __name((value) => {
|
|
239
239
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
240
240
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -276,7 +276,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
276
276
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
277
277
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
278
278
|
|
|
279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
280
280
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
281
281
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
282
282
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -299,7 +299,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
299
299
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
300
300
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
301
301
|
|
|
302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
303
303
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
304
304
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
305
305
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -419,7 +419,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
419
419
|
}, "addMeetingCommandsDefinition");
|
|
420
420
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
421
421
|
|
|
422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
423
423
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
424
424
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
425
425
|
const query = defineQuery(registry);
|
|
@@ -479,7 +479,8 @@ var queryArgument = /* @__PURE__ */ __name((registry) => {
|
|
|
479
479
|
const fields = askable(registry);
|
|
480
480
|
return optional(pipe(string(), maxLength(QUERY_LIMITS.bytes), description(fields.length === 0 ? "field:value terms; this list filters by none yet, so any term is refused" : `${registry.backend === "native" ? "field:value terms joined by AND that narrow the list" : "field:value terms that narrow the list (Lucene: AND OR NOT, [a TO b], > <)"}; fields: ${fields.map((field) => field.name).join(", ")}; e.g. ${fields[0]?.example ?? ""}`)));
|
|
481
481
|
}, "queryArgument");
|
|
482
|
-
var nativeTerms = /* @__PURE__ */ __name((ast, command) =>
|
|
482
|
+
var nativeTerms = /* @__PURE__ */ __name((ast, command) => new Map([...nativeTermLists(ast, command)].map(([field, [node]]) => [field, node])), "nativeTerms");
|
|
483
|
+
var nativeTermLists = /* @__PURE__ */ __name((ast, command, repeatable = []) => {
|
|
483
484
|
const terms = /* @__PURE__ */ new Map();
|
|
484
485
|
if (!ast)
|
|
485
486
|
return terms;
|
|
@@ -493,13 +494,14 @@ var nativeTerms = /* @__PURE__ */ __name((ast, command) => {
|
|
|
493
494
|
}
|
|
494
495
|
return;
|
|
495
496
|
}
|
|
496
|
-
|
|
497
|
+
const held = terms.get(node.field);
|
|
498
|
+
if (held && !repeatable.includes(node.field))
|
|
497
499
|
queryError("query.unsupported-placement", node.span, `${node.field} only once here`, context);
|
|
498
|
-
terms.set(node.field, node);
|
|
500
|
+
terms.set(node.field, [...held ?? [], node]);
|
|
499
501
|
}, "add");
|
|
500
502
|
add(ast.root);
|
|
501
503
|
return terms;
|
|
502
|
-
}, "
|
|
504
|
+
}, "nativeTermLists");
|
|
503
505
|
var queryTerms = /* @__PURE__ */ __name((words, registry, command) => {
|
|
504
506
|
const terms = /* @__PURE__ */ new Map();
|
|
505
507
|
for (const [field, node] of nativeTerms(listQuery(typedQuery(words), registry, command), command)) {
|
|
@@ -543,7 +545,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
543
545
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
544
546
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
545
547
|
|
|
546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
547
549
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
548
550
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
549
551
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -552,7 +554,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
552
554
|
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");
|
|
553
555
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
554
556
|
|
|
555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
556
558
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
557
559
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
558
560
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -814,7 +816,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
814
816
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
815
817
|
}), "sessionAnswer");
|
|
816
818
|
|
|
817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
818
820
|
import { createHash } from "node:crypto";
|
|
819
821
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
820
822
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1035,7 +1037,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1035
1037
|
}, () => finish({ error: stopped() }));
|
|
1036
1038
|
}), "relayCommand");
|
|
1037
1039
|
|
|
1038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1039
1041
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1040
1042
|
close: /* @__PURE__ */ __name(async () => {
|
|
1041
1043
|
}, "close"),
|
|
@@ -1148,6 +1150,7 @@ export {
|
|
|
1148
1150
|
pagedList,
|
|
1149
1151
|
queryArgument,
|
|
1150
1152
|
nativeTerms,
|
|
1153
|
+
nativeTermLists,
|
|
1151
1154
|
queryTerms,
|
|
1152
1155
|
timeBounds,
|
|
1153
1156
|
searchText,
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-B45MFBBF.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L7VIPVHL.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.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|