@wirecat/drive-cli 0.64.0 → 0.66.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/contracts/wirecat.json +2871 -0
- package/dist/bin/drive.js +2 -2
- package/dist/bin/drive.js.map +1 -1
- package/dist/browse.d.ts +1 -1
- package/dist/browse.d.ts.map +1 -1
- package/dist/browse.js +1 -1
- package/dist/bundle/{all-profiles-BPPT2AK5.js → all-profiles-WCQLIHUG.js} +14 -13
- package/dist/bundle/{anthropic-JW6GOJUD.js → anthropic-5RJMB6O7.js} +32 -16
- package/dist/bundle/{app-server-KAQIOJMZ.js → app-server-3RGYXPKG.js} +72 -58
- package/dist/bundle/{bun-UT7GNTPV.js → bun-L34VEKGG.js} +2 -2
- package/dist/bundle/{bun-sqlite-2OIVV3LS.js → bun-sqlite-H6IAXQXI.js} +12 -8
- package/dist/bundle/chunk-2AF77WMH.js +13 -0
- package/dist/bundle/{chunk-KVW4XNKB.js → chunk-2S3E2HVV.js} +107 -48
- package/dist/bundle/{chunk-IX7NQJLY.js → chunk-3NYH756U.js} +49 -116
- package/dist/bundle/chunk-3QFUDXMQ.js +53 -0
- package/dist/bundle/{chunk-5ZBR55US.js → chunk-3SDJIMZB.js} +1 -1
- package/dist/bundle/{chunk-AHB4OJCI.js → chunk-4UHBJSMI.js} +21735 -27143
- package/dist/bundle/chunk-5HVJK3ZJ.js +101 -0
- package/dist/bundle/{chunk-GSMYXGFR.js → chunk-5K54RZBK.js} +13 -5
- package/dist/bundle/{chunk-LOMW6F2E.js → chunk-5PLINHEY.js} +5403 -4847
- package/dist/bundle/{chunk-J62DI53V.js → chunk-5VDVGDOC.js} +1 -1
- package/dist/bundle/{chunk-66AF4FBW.js → chunk-5XLU4NN6.js} +4 -4
- package/dist/bundle/{chunk-4CNTID2X.js → chunk-6UJCCOZC.js} +4 -4
- package/dist/bundle/{chunk-G4KEKKDE.js → chunk-6X3KUFRQ.js} +60 -29
- package/dist/bundle/{chunk-QEAD2LF4.js → chunk-7EP4AU6A.js} +3 -3
- package/dist/bundle/{chunk-ZRZ4HTCK.js → chunk-7LT2G5BC.js} +171 -174
- package/dist/bundle/{chunk-2W464HAE.js → chunk-7ZGJRVBH.js} +7 -5
- package/dist/bundle/{chunk-FXBHOCJK.js → chunk-ADLS6FVG.js} +1 -1
- package/dist/bundle/{chunk-KG2XKEHL.js → chunk-ALE67WRR.js} +5 -5
- package/dist/bundle/{chunk-ZSZJLJIA.js → chunk-AP4MX247.js} +38 -28
- package/dist/bundle/{chunk-EWGVDFPT.js → chunk-BIJW6AYA.js} +41873 -36466
- package/dist/bundle/{chunk-B7XBIOMR.js → chunk-BQXSE645.js} +16 -16
- package/dist/bundle/{chunk-F2VDAG32.js → chunk-COGWKO2T.js} +3 -3
- package/dist/bundle/{chunk-EZ6O3ST3.js → chunk-D4MIMH2N.js} +12 -6
- package/dist/bundle/{chunk-4YRENUB5.js → chunk-D7KOAPG6.js} +2 -2
- package/dist/bundle/chunk-E2F2XIX6.js +224 -0
- package/dist/bundle/{chunk-36GPBPWM.js → chunk-FA2TNA5X.js} +3 -1
- package/dist/bundle/{chunk-SIOIMO62.js → chunk-FHBTQPA3.js} +69 -63
- package/dist/bundle/{chunk-34BIDKF4.js → chunk-FKKPVPZR.js} +649 -212
- package/dist/bundle/chunk-G4TNKBDX.js +185 -0
- package/dist/bundle/{chunk-2FEZ24DK.js → chunk-GVA3KTCD.js} +20 -20
- package/dist/bundle/chunk-GY4DAJSK.js +167 -0
- package/dist/bundle/{chunk-5OFA5EXE.js → chunk-H7XL6WTW.js} +2 -2
- package/dist/bundle/{chunk-K6BSB53R.js → chunk-HHRJPLFO.js} +1 -1
- package/dist/bundle/{chunk-P7DEGRZA.js → chunk-HPKE2GDP.js} +49 -28
- package/dist/bundle/{chunk-QXCKJUZY.js → chunk-HPSHQVJU.js} +633 -465
- package/dist/bundle/{chunk-BEZJA44H.js → chunk-HQBLJLYH.js} +7 -7
- package/dist/bundle/{chunk-JRXFW7HE.js → chunk-I5R5CMQR.js} +5 -5
- package/dist/bundle/{chunk-EJ4PNHPP.js → chunk-IIHZTV6V.js} +1 -1
- package/dist/bundle/{chunk-G3NULXOM.js → chunk-IRNDYNQX.js} +4 -4
- package/dist/bundle/{chunk-N622LRPM.js → chunk-JCHF7LZT.js} +4 -4
- package/dist/bundle/{chunk-WWCYTMAV.js → chunk-JHMEETXI.js} +2 -2
- package/dist/bundle/{chunk-ZF6GUZCE.js → chunk-JLCR24UM.js} +1 -1
- package/dist/bundle/{chunk-IDAK4DDK.js → chunk-JQXK3M5M.js} +1 -1
- package/dist/bundle/{chunk-KIN6PDFE.js → chunk-KOY5HUBY.js} +14 -5
- package/dist/bundle/{chunk-5HSRQ53R.js → chunk-KRG5X5PH.js} +2 -2
- package/dist/bundle/{chunk-VIJ6ACYB.js → chunk-LVAPSAHF.js} +8 -8
- package/dist/bundle/{chunk-OEVHZOHC.js → chunk-M7543RUJ.js} +50 -18
- package/dist/bundle/{chunk-BZ2ZKILM.js → chunk-MZWXTJ4O.js} +3 -3
- package/dist/bundle/{chunk-EC2XGDKJ.js → chunk-NK4GVFJH.js} +4 -4
- package/dist/bundle/chunk-NYECVHFH.js +10283 -0
- package/dist/bundle/{chunk-HW4UPST2.js → chunk-NYZS2LKF.js} +2 -2
- package/dist/bundle/chunk-O53WLYX3.js +72 -0
- package/dist/bundle/{chunk-IK6KH3RE.js → chunk-OIF4B526.js} +1 -1
- package/dist/bundle/{chunk-UJR272CP.js → chunk-OT7SQQJK.js} +359 -903
- package/dist/bundle/chunk-OZOQLAWK.js +72 -0
- package/dist/bundle/{chunk-VT2UFYPJ.js → chunk-P7HQFII6.js} +22 -15
- package/dist/bundle/{chunk-6G53ZFUT.js → chunk-PJGOQSE5.js} +1 -1
- package/dist/bundle/{chunk-OH3K2E7X.js → chunk-PKM55ZRR.js} +704 -1214
- package/dist/bundle/{chunk-GW3U6OLD.js → chunk-PUMDOCAF.js} +1 -1
- package/dist/bundle/{chunk-EQEGJVO2.js → chunk-QF7VL4C3.js} +1 -1
- package/dist/bundle/{chunk-CPMRM3GQ.js → chunk-QJ57PV55.js} +1941 -662
- package/dist/bundle/{chunk-O2QO5UZC.js → chunk-QSELSDWE.js} +13 -13
- package/dist/bundle/{chunk-BEUAICUD.js → chunk-SOOU5WO6.js} +2 -2
- package/dist/bundle/{chunk-46CD64J2.js → chunk-SZ6JFOL4.js} +269 -64
- package/dist/bundle/{chunk-UD55VB2N.js → chunk-T3ULDA7C.js} +3 -3
- package/dist/bundle/{chunk-E2LBCCTG.js → chunk-TAHISPDE.js} +5 -5
- package/dist/bundle/{chunk-6B37XO6B.js → chunk-TYLEICTX.js} +3 -3
- package/dist/bundle/{chunk-TNV2FXVK.js → chunk-UAKX6DP4.js} +5 -5
- package/dist/bundle/{chunk-VPLFD5RJ.js → chunk-UG3GHFGY.js} +4 -4
- package/dist/bundle/{chunk-B67BLRAI.js → chunk-ULXEW6FT.js} +3 -60
- package/dist/bundle/{chunk-C7WBNOYW.js → chunk-UNTIVT47.js} +26 -2
- package/dist/bundle/chunk-UQPW42HF.js +18 -0
- package/dist/bundle/{chunk-USLZE36C.js → chunk-V2WXTILT.js} +6 -6
- package/dist/bundle/{chunk-BDYWZ7JE.js → chunk-VQKNKJYL.js} +46 -7
- package/dist/bundle/{chunk-XPXKD63J.js → chunk-VR3YKXHL.js} +93 -31
- package/dist/bundle/{chunk-UIEA6FIV.js → chunk-VUUPFDRU.js} +27 -28
- package/dist/bundle/{chunk-KE4XPPRQ.js → chunk-WYTYHUFH.js} +1750 -138
- package/dist/bundle/{chunk-PBMSBCVB.js → chunk-XLGDNI4S.js} +1 -1
- package/dist/bundle/{chunk-3J5KAFNA.js → chunk-XVZNFA2P.js} +4935 -3623
- package/dist/bundle/chunk-Y5U4HIZS.js +71 -0
- package/dist/bundle/chunk-YTIPTHEE.js +47 -0
- package/dist/bundle/cli-KW6QQVS5.js +1101 -0
- package/dist/bundle/command-contract-CE543JBN.js +41 -0
- package/dist/bundle/command-server-entry-OC4E4DED.js +171 -0
- package/dist/bundle/{decode-HTOQ6S3V.js → decode-AH5ZLLDK.js} +8 -8
- package/dist/bundle/{dispatch-SH5SP6LA.js → dispatch-CDWZZ54Q.js} +9 -9
- package/dist/bundle/drive.js +13 -13
- package/dist/bundle/{echarts-KFHB6SLX.js → echarts-VC7MTXWY.js} +2 -2
- package/dist/bundle/{embed-YATFB2PN.js → embed-EPSQY6QG.js} +9 -9
- package/dist/bundle/{embedder-MQPDFGTJ.js → embedder-TK4U4TJR.js} +12 -12
- package/dist/bundle/entry-3VN23M7M.js +25 -0
- package/dist/bundle/{failure-4FQL4XJI.js → failure-WSVZOPFE.js} +4 -4
- package/dist/bundle/first-run-7ZYJ7EB3.js +30 -0
- package/dist/bundle/first-screen-CZDH7QY3.js +39 -0
- package/dist/bundle/google-OBZMWA7J.js +45 -0
- package/dist/bundle/{google-api-QMFGCXBM.js → google-api-AV4X2JH3.js} +68 -57
- package/dist/bundle/grants-WTRLN4ZI.js +111 -0
- package/dist/bundle/{identity-FYVDK4M2.js → identity-CGHHF7AK.js} +8 -6
- package/dist/bundle/{instructions-D3GF3B7M.js → instructions-24PHDBBE.js} +1 -1
- package/dist/bundle/{login-COFZ2IWP.js → login-XHFESAFM.js} +73 -64
- package/dist/bundle/{mcp-RKJG22KM.js → mcp-M5YCSWJJ.js} +2 -2
- package/dist/bundle/{node-OFICOKX3.js → node-GIDULTV5.js} +2 -2
- package/dist/bundle/{node-KM3CUABH.js → node-P4E63KXA.js} +9 -9
- package/dist/bundle/{node-sqlite-DNBTDOXD.js → node-sqlite-LINBOAWK.js} +13 -9
- package/dist/bundle/oauth-JHUX3KE3.js +22 -0
- package/dist/bundle/{open-PTPR2YWX.js → open-RYFKPNCJ.js} +8 -8
- package/dist/bundle/{openai-2KV5LUW4.js → openai-Q7YYUHJF.js} +28 -42
- package/dist/bundle/{process-EAW6NST2.js → process-VPIZTIJR.js} +1 -1
- package/dist/bundle/{program-6UV5Q5YN.js → program-IUXFRBZA.js} +419 -604
- package/dist/bundle/{prompt-634TPMJK.js → prompt-LF4KX3XL.js} +8 -8
- package/dist/bundle/{reasons-DDWCEYSQ.js → reasons-JPYOU5GV.js} +5 -5
- package/dist/bundle/{recognize-SJO6QUDW.js → recognize-KEWTJXFH.js} +7 -7
- package/dist/bundle/{remote-6JXZITKF.js → remote-HGGLB76S.js} +13 -10
- package/dist/bundle/{rerank-MD5VOPQ6.js → rerank-TDUKETFT.js} +10 -10
- package/dist/bundle/{serve-LZTROA2M.js → serve-XFYMKW5W.js} +12 -12
- package/dist/bundle/server-BDEV3CZJ.js +74 -0
- package/dist/bundle/{server-NSA3UAFY.js → server-PXIPSGFP.js} +48 -44
- package/dist/bundle/{services-F5A6XQCV.js → services-2BOCGMJU.js} +111 -41
- package/dist/bundle/{sqlite-runtime-7YF6REKS.js → sqlite-runtime-R7M5XUMW.js} +9 -9
- package/dist/bundle/{start-MUFLE6FA.js → start-YRLT4MQZ.js} +7 -7
- package/dist/bundle/{state-UC54F3YZ.js → state-NZ7WRJWH.js} +9 -9
- package/dist/bundle/{store-F5FJGWMR.js → store-7LCVDO7G.js} +63 -28
- package/dist/bundle/{store-J53YNAH6.js → store-ICDGPSEN.js} +27 -18
- package/dist/bundle/store-maintenance-command-SJPLY6IH.js +65 -0
- package/dist/bundle/tokens-FGTBE7VW.js +111 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +6 -5
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts +4 -2
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/discovery.d.ts +0 -1
- package/dist/commands/discovery.d.ts.map +1 -1
- package/dist/commands/discovery.js +6 -26
- package/dist/commands/discovery.js.map +1 -1
- package/dist/commands/documents.d.ts +2 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +39 -3
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +7 -6
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/search.js +11 -8
- package/dist/commands/search.js.map +1 -1
- package/dist/config.d.ts +14 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +35 -4
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides.d.ts +16 -4
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +86 -410
- package/dist/contract-overrides.js.map +1 -1
- package/dist/documents-add.d.ts +49 -0
- package/dist/documents-add.d.ts.map +1 -0
- package/dist/documents-add.js +122 -0
- package/dist/documents-add.js.map +1 -0
- package/dist/errors.d.ts +1 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +13 -1
- package/dist/errors.js.map +1 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +4 -1
- package/dist/google-api.js.map +1 -1
- package/dist/identity.d.ts +4 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +22 -0
- package/dist/identity.js.map +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.d.ts.map +1 -1
- package/dist/knowledge.js +17 -19
- package/dist/knowledge.js.map +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +2 -2
- package/dist/login.js.map +1 -1
- package/dist/model.d.ts +3 -0
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +30 -21
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +25 -1
- package/dist/reasons.js.map +1 -1
- package/dist/store-transition.js +2 -2
- package/dist/store-transition.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +27 -7
- package/dist/store.js.map +1 -1
- package/dist/tokens.d.ts +9 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +18 -15
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +8 -8
- package/dist/bundle/chunk-3NULZGQU.js +0 -27
- package/dist/bundle/chunk-DD7EFG6B.js +0 -35
- package/dist/bundle/chunk-M73NNJ3X.js +0 -26
- package/dist/bundle/chunk-SBZB7HMU.js +0 -1055
- package/dist/bundle/command-contract-H5OYJOPF.js +0 -38
- package/dist/bundle/dist-PY3MVR3G.js +0 -21
- package/dist/bundle/entry-YZBB647C.js +0 -22
- package/dist/bundle/first-run-5JT3UQZB.js +0 -30
- package/dist/bundle/first-screen-BEMDEWO7.js +0 -36
- package/dist/bundle/google-DVADVICN.js +0 -36
- package/dist/bundle/grants-WKB2E4TA.js +0 -103
- package/dist/bundle/oauth-PDQHWFBF.js +0 -22
- package/dist/bundle/server-GT7X666D.js +0 -69
- package/dist/bundle/store-maintenance-command-GJVXLBAB.js +0 -58
- package/dist/bundle/tokens-H2EJKGA5.js +0 -101
- package/dist/bundle/{chunk-SW6C6WH5.js → chunk-HVJJWJYQ.js} +0 -0
- package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-CE73EWJ2.js} +3 -3
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
AUDIT_MIN_SCORE,
|
|
5
|
+
throughWrapper
|
|
6
|
+
} from "./chunk-XVZNFA2P.js";
|
|
3
7
|
import {
|
|
4
8
|
Command,
|
|
5
9
|
InvalidArgumentError,
|
|
@@ -13,17 +17,10 @@ import {
|
|
|
13
17
|
renderAnswer,
|
|
14
18
|
sharedCommand,
|
|
15
19
|
snakeKeys
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
AUDIT_MIN_SCORE,
|
|
19
|
-
throughWrapper
|
|
20
|
-
} from "./chunk-3J5KAFNA.js";
|
|
20
|
+
} from "./chunk-5PLINHEY.js";
|
|
21
21
|
import {
|
|
22
22
|
readOnlyLockOf
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
formatReference
|
|
26
|
-
} from "./chunk-EWGVDFPT.js";
|
|
23
|
+
} from "./chunk-Y5U4HIZS.js";
|
|
27
24
|
import {
|
|
28
25
|
EVENT_QUERY,
|
|
29
26
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -33,6 +30,7 @@ import {
|
|
|
33
30
|
SAVE_HELP,
|
|
34
31
|
eventItem,
|
|
35
32
|
exportMeeting,
|
|
33
|
+
formatReference,
|
|
36
34
|
importFiles,
|
|
37
35
|
listed,
|
|
38
36
|
meetingDetailsAnswer,
|
|
@@ -46,38 +44,43 @@ import {
|
|
|
46
44
|
readMeetingProjectEvidence,
|
|
47
45
|
validateMeetingHitSearch,
|
|
48
46
|
validateMeetingPassage
|
|
49
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-QJ57PV55.js";
|
|
50
48
|
import {
|
|
51
49
|
OPERATORS_BY_TYPE,
|
|
50
|
+
QUERY_LIMITS,
|
|
52
51
|
dateRange,
|
|
53
52
|
defineQuery,
|
|
54
53
|
fieldsHelp,
|
|
55
54
|
fieldsNamed,
|
|
56
55
|
parseLucene,
|
|
56
|
+
queryDescription,
|
|
57
57
|
queryError,
|
|
58
58
|
queryFieldsOf,
|
|
59
59
|
timezoneOf,
|
|
60
60
|
validateQuery,
|
|
61
61
|
zonedMoment
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-GVA3KTCD.js";
|
|
63
63
|
import {
|
|
64
64
|
array,
|
|
65
65
|
boolean,
|
|
66
66
|
check,
|
|
67
|
+
description,
|
|
68
|
+
maxLength,
|
|
69
|
+
optional,
|
|
67
70
|
pipe,
|
|
68
71
|
record,
|
|
69
72
|
safeParse,
|
|
70
73
|
strictObject,
|
|
71
74
|
string
|
|
72
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-VQKNKJYL.js";
|
|
73
76
|
import {
|
|
74
77
|
CliError
|
|
75
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-IIHZTV6V.js";
|
|
76
79
|
import {
|
|
77
80
|
__name
|
|
78
81
|
} from "./chunk-ZVVMGPBJ.js";
|
|
79
82
|
|
|
80
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
83
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
81
84
|
var COMMAND_NEEDS = {
|
|
82
85
|
"account update": ["updateProfile", "change the profile"],
|
|
83
86
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -127,7 +130,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
127
130
|
return group;
|
|
128
131
|
}, "hideNever");
|
|
129
132
|
|
|
130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
131
134
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
132
135
|
command.allowUnknownOption();
|
|
133
136
|
const parse = command.parseOptions.bind(command);
|
|
@@ -147,7 +150,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
147
150
|
return command;
|
|
148
151
|
}, "queryWordsAfterOptions");
|
|
149
152
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
151
154
|
var count = /* @__PURE__ */ __name((value) => {
|
|
152
155
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
153
156
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -189,7 +192,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
189
192
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
190
193
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
191
194
|
|
|
192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
193
196
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
194
197
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
195
198
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -212,7 +215,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
212
215
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
213
216
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
214
217
|
|
|
215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
216
219
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
217
220
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
218
221
|
const zone = timezoneOf();
|
|
@@ -298,7 +301,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
298
301
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
299
302
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
300
303
|
|
|
301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
302
305
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
303
306
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
304
307
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -337,7 +340,12 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
337
340
|
annotate(list, { effects: LOCAL_READ, query: defineQuery(MEETING_QUERY), output: { entity: "meeting" } });
|
|
338
341
|
output(list).option("--limit <n>", "meetings per page", integer3, 100).option("--page <n>", "page number", integer3, 1).action(async (words, opts, command) => {
|
|
339
342
|
const query = meetingsQuery(words.join(" "));
|
|
340
|
-
print(await meetingsList(deps.store, {
|
|
343
|
+
print(await meetingsList(deps.store, {
|
|
344
|
+
accountId: deps.accountId,
|
|
345
|
+
limit: opts.limit,
|
|
346
|
+
offset: (opts.page - 1) * opts.limit,
|
|
347
|
+
...query ? { query } : {}
|
|
348
|
+
}), command);
|
|
341
349
|
});
|
|
342
350
|
output(annotate(group.command("show"), { effects: LOCAL_READ, output: { entity: "meeting_details" } }).description("show a stored meeting").argument("<meeting>", "stored meeting id", integer3).addHelpText("after", SAVE_HELP)).action(async (id, _opts, command) => {
|
|
343
351
|
print(await meetingDetailsAnswer(deps.store, id, deps.accountId), command);
|
|
@@ -442,7 +450,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
442
450
|
}, "addMeetingCommandsDefinition");
|
|
443
451
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
444
452
|
|
|
445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
446
454
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
447
455
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
448
456
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -460,6 +468,12 @@ var unfilteredQuery = /* @__PURE__ */ __name((entity, schema) => ({
|
|
|
460
468
|
backend: "native",
|
|
461
469
|
fields: queryFieldsOf(schema, {})
|
|
462
470
|
}), "unfilteredQuery");
|
|
471
|
+
var commandPath = /* @__PURE__ */ __name((command) => {
|
|
472
|
+
const words = [];
|
|
473
|
+
for (let at = command; at?.parent; at = at.parent)
|
|
474
|
+
words.unshift(at.name());
|
|
475
|
+
return words.join(" ");
|
|
476
|
+
}, "commandPath");
|
|
463
477
|
var withTomorrow = /* @__PURE__ */ __name((query, registry, zone = timezoneOf(), now = Date.now()) => {
|
|
464
478
|
const times = new Set(registry.fields.filter(({ type }) => type === "time").map(({ name }) => name));
|
|
465
479
|
const date2 = /* @__PURE__ */ new Date(`${new Intl.DateTimeFormat("en-CA", { timeZone: zone }).format(now)}T00:00:00Z`);
|
|
@@ -471,7 +485,8 @@ var withTomorrow = /* @__PURE__ */ __name((query, registry, zone = timezoneOf(),
|
|
|
471
485
|
}, "withTomorrow");
|
|
472
486
|
var listQuery = /* @__PURE__ */ __name((text, registry, command, { defaultField = "none" } = {}) => {
|
|
473
487
|
const context = { command, guide: LIST_QUERY_GUIDE };
|
|
474
|
-
const
|
|
488
|
+
const signed = text.replace(/(^|[\s(])([\p{L}_][\p{L}\p{N}_.]*:)\+([^\s()"]+)/gu, '$1$2"+$3"');
|
|
489
|
+
const parsed = signed.trim() === "" ? void 0 : parseLucene(signed, { defaultField, ...context });
|
|
475
490
|
const typed = parsed && withTomorrow(parsed, registry);
|
|
476
491
|
if (typed)
|
|
477
492
|
validateQuery(typed, registry, context);
|
|
@@ -495,14 +510,16 @@ var listQuery = /* @__PURE__ */ __name((text, registry, command, { defaultField
|
|
|
495
510
|
var typedQuery = /* @__PURE__ */ __name((words) => typeof words === "string" ? words : (words ?? []).join(" "), "typedQuery");
|
|
496
511
|
var EVERY = Number.MAX_SAFE_INTEGER - 1;
|
|
497
512
|
var pageOf = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { limit: EVERY, offset: 0 } : { limit, offset: (page - 1) * limit }, "pageOf");
|
|
498
|
-
var pagedList = /* @__PURE__ */ __name((command, { limit, page, all }, { items,
|
|
513
|
+
var pagedList = /* @__PURE__ */ __name((command, { limit, page, all }, { items, hasMore, ...rest }) => listOf(command, {
|
|
499
514
|
...rest,
|
|
500
515
|
items,
|
|
501
516
|
limit: all ? Math.max(1, items.length) : limit,
|
|
502
|
-
has_more: all ? false :
|
|
517
|
+
has_more: all ? false : hasMore,
|
|
503
518
|
page
|
|
504
519
|
}), "pagedList");
|
|
505
520
|
var askable = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "askable");
|
|
521
|
+
var queryArgument = /* @__PURE__ */ __name((registry) => optional(pipe(string(), maxLength(QUERY_LIMITS.bytes), description(queryDescription(registry)))), "queryArgument");
|
|
522
|
+
var negatableOf = /* @__PURE__ */ __name((registry) => askable(registry).filter((field) => field.negatable).map((field) => field.name), "negatableOf");
|
|
506
523
|
var nativeTerms = /* @__PURE__ */ __name((ast, command) => new Map([...nativeTermLists(ast, command)].map(([field, [node]]) => [field, node])), "nativeTerms");
|
|
507
524
|
var nativeTermLists = /* @__PURE__ */ __name((ast, command, repeatable = [], negatable = []) => {
|
|
508
525
|
const terms = /* @__PURE__ */ new Map();
|
|
@@ -575,7 +592,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
575
592
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
576
593
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
577
594
|
|
|
578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
579
596
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
580
597
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
581
598
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -584,7 +601,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
584
601
|
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");
|
|
585
602
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
586
603
|
|
|
587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
604
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
588
605
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
589
606
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
590
607
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -846,7 +863,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
846
863
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
847
864
|
}), "sessionAnswer");
|
|
848
865
|
|
|
849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
850
867
|
import { createHash } from "node:crypto";
|
|
851
868
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
852
869
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1067,7 +1084,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1067
1084
|
}, () => finish({ error: stopped() }));
|
|
1068
1085
|
}), "relayCommand");
|
|
1069
1086
|
|
|
1070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1071
1088
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1072
1089
|
close: /* @__PURE__ */ __name(async () => {
|
|
1073
1090
|
}, "close"),
|
|
@@ -1153,6 +1170,7 @@ var serveRelay = /* @__PURE__ */ __name((command, messenger) => {
|
|
|
1153
1170
|
}, "serveRelay");
|
|
1154
1171
|
|
|
1155
1172
|
export {
|
|
1173
|
+
COMMAND_NEEDS,
|
|
1156
1174
|
lackedNeed,
|
|
1157
1175
|
refuseLacking,
|
|
1158
1176
|
hideNever,
|
|
@@ -1171,10 +1189,13 @@ export {
|
|
|
1171
1189
|
QUERY_ARGUMENT,
|
|
1172
1190
|
withQuery,
|
|
1173
1191
|
unfilteredQuery,
|
|
1192
|
+
commandPath,
|
|
1174
1193
|
listQuery,
|
|
1175
1194
|
typedQuery,
|
|
1176
1195
|
pageOf,
|
|
1177
1196
|
pagedList,
|
|
1197
|
+
queryArgument,
|
|
1198
|
+
negatableOf,
|
|
1178
1199
|
nativeTerms,
|
|
1179
1200
|
nativeTermLists,
|
|
1180
1201
|
queryTerms,
|