@wirecat/zoom-cli 0.77.0 → 0.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-PMCFNDMA.js → all-profiles-7JN3N3E6.js} +11 -11
- package/dist/bundle/answer-policy-G2BNMPEX.js +122 -0
- package/dist/bundle/{anthropic-TGJOKLUS.js → anthropic-U6O7UYGZ.js} +6 -6
- package/dist/bundle/{app-server-OAODUFM3.js → app-server-G7BTC6CE.js} +72 -72
- package/dist/bundle/{bun-HJHVHJJV.js → bun-VLROVUFK.js} +2 -2
- package/dist/bundle/{bun-sqlite-PLBOY6FP.js → bun-sqlite-C5JLANDE.js} +7 -7
- package/dist/bundle/{chunk-LWMDLXEO.js → chunk-2AWWMROP.js} +3252 -3057
- package/dist/bundle/{chunk-QKNO3JTG.js → chunk-2LMD3JUD.js} +2 -2
- package/dist/bundle/{chunk-5A5W322G.js → chunk-2O66KMOR.js} +2 -2
- package/dist/bundle/{chunk-MMAZUJBO.js → chunk-2USGT7LE.js} +1 -1
- package/dist/bundle/{chunk-FRC5QIPQ.js → chunk-3A3B3JX4.js} +8 -8
- package/dist/bundle/{chunk-SVJQRG5N.js → chunk-3NZJKY7A.js} +103 -42
- package/dist/bundle/{chunk-7ILGYNWX.js → chunk-3QWYRZME.js} +8 -8
- package/dist/bundle/{chunk-36SI35XZ.js → chunk-4QCLPSJ7.js} +5 -5
- package/dist/bundle/{chunk-6YCFDDRO.js → chunk-4XPVRZXE.js} +1 -1
- package/dist/bundle/{chunk-Q7ZW7XAX.js → chunk-532FNLON.js} +20 -20
- package/dist/bundle/{chunk-NOF6LABG.js → chunk-53TV72JG.js} +2 -2
- package/dist/bundle/{chunk-ZUMKZOHR.js → chunk-5DLK4OXF.js} +3 -3
- package/dist/bundle/{chunk-5C6CRSEM.js → chunk-5SM2IOAS.js} +12 -12
- package/dist/bundle/{chunk-YFN5A7OP.js → chunk-6MFEWAK4.js} +4 -4
- package/dist/bundle/{chunk-OXXJW3A5.js → chunk-6NTNAEZF.js} +2014 -1032
- package/dist/bundle/{chunk-RQS3W4P6.js → chunk-7AMKSXMB.js} +6 -6
- package/dist/bundle/{chunk-7CMYNW3W.js → chunk-7EVB4UV7.js} +4 -4
- package/dist/bundle/{chunk-MIG4RLDB.js → chunk-7HEZQCHL.js} +6 -6
- package/dist/bundle/{chunk-QUGESVOE.js → chunk-7IIQU5RA.js} +13 -13
- package/dist/bundle/{chunk-A6LK2W5J.js → chunk-7K5O2VWO.js} +1 -1
- package/dist/bundle/{chunk-5KHCFIWI.js → chunk-AEVSVVTP.js} +2 -2
- package/dist/bundle/{chunk-7SNU7RFU.js → chunk-B4V4DRVO.js} +12 -12
- package/dist/bundle/{chunk-W7UCN7MF.js → chunk-B6TUEQ4O.js} +3 -3
- package/dist/bundle/{chunk-DCEQIKFD.js → chunk-BAHXR4PA.js} +6 -6
- package/dist/bundle/{chunk-XCA5N63N.js → chunk-BGO7IEHY.js} +6 -6
- package/dist/bundle/{chunk-I3QMPQYD.js → chunk-BIUHLXL2.js} +38 -39
- package/dist/bundle/{chunk-ECRFXQHA.js → chunk-C26V2XNV.js} +1 -1
- package/dist/bundle/{chunk-5C5UEKUJ.js → chunk-C56OYYFG.js} +3 -3
- package/dist/bundle/{chunk-KHBSQROH.js → chunk-DLJPN47R.js} +8 -6
- package/dist/bundle/{chunk-ZRNNMBPC.js → chunk-EV7QCFQR.js} +19 -19
- package/dist/bundle/{chunk-IUOKIZZN.js → chunk-F2KZNAFF.js} +2 -2
- package/dist/bundle/{chunk-GHBDYYPO.js → chunk-F7IDYQLM.js} +2 -2
- package/dist/bundle/{chunk-QE4L2QQZ.js → chunk-FCGRXUAU.js} +9 -9
- package/dist/bundle/{chunk-T6RSYDFA.js → chunk-FHOQWPQ6.js} +119 -67
- package/dist/bundle/{chunk-CUJJZJ4R.js → chunk-FMMCGQNT.js} +36 -5
- package/dist/bundle/{chunk-4QNW4NK6.js → chunk-FNLXFQN6.js} +1 -1
- package/dist/bundle/{chunk-SP5OMHOO.js → chunk-FURKMNC2.js} +3 -3
- package/dist/bundle/{chunk-VJ2TLU7R.js → chunk-FXHZHQKU.js} +6 -6
- package/dist/bundle/{chunk-NKKVVPL5.js → chunk-GQ6EJDMV.js} +1 -1
- package/dist/bundle/{chunk-MTH3JJHF.js → chunk-H34KEXTN.js} +10 -10
- package/dist/bundle/{chunk-JFVZVPRW.js → chunk-H74NENWA.js} +3 -3
- package/dist/bundle/{chunk-6JRBMNRN.js → chunk-H7SRM26V.js} +3 -3
- package/dist/bundle/{chunk-77JQIY2V.js → chunk-HGBZBQAE.js} +3 -3
- package/dist/bundle/{chunk-NJJEUG4C.js → chunk-HI4QICF7.js} +12 -12
- package/dist/bundle/{chunk-635GRAO5.js → chunk-HOJOVUO6.js} +14 -13
- package/dist/bundle/{chunk-ICZVSVTW.js → chunk-HUSIS3XO.js} +59 -59
- package/dist/bundle/{chunk-STNZQBY4.js → chunk-IBINGDYF.js} +6 -6
- package/dist/bundle/{chunk-DDUNPLET.js → chunk-INJK7FNM.js} +240 -168
- package/dist/bundle/{chunk-MCLZ74II.js → chunk-JOIAE3NO.js} +7 -7
- package/dist/bundle/{chunk-3TLQF3DN.js → chunk-KBTINKQF.js} +3 -3
- package/dist/bundle/{chunk-YJIGGUPI.js → chunk-KEAKNNXU.js} +4 -4
- package/dist/bundle/{chunk-SFPUSEOT.js → chunk-LBTANUUH.js} +2 -2
- package/dist/bundle/{chunk-7DTU7QZP.js → chunk-LBV4673S.js} +3 -3
- package/dist/bundle/{chunk-PM3MB3E7.js → chunk-LERF2FIK.js} +3 -3
- package/dist/bundle/{chunk-FDQE2CLT.js → chunk-LX532BXO.js} +1 -1
- package/dist/bundle/{chunk-WD5OL5JB.js → chunk-M2M3U4UU.js} +12 -12
- package/dist/bundle/{chunk-B7XFDMFV.js → chunk-M5R2DURM.js} +10 -10
- package/dist/bundle/{chunk-VGERRRDC.js → chunk-MJMHUU3J.js} +1 -1
- package/dist/bundle/{chunk-BOJCRTQW.js → chunk-MSMFYW6N.js} +2 -2
- package/dist/bundle/{chunk-LUAS73NT.js → chunk-MVLLWSV7.js} +20 -118
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-7S3N5CTA.js → chunk-NS5XSCHC.js} +1 -1
- package/dist/bundle/{chunk-TY4FFK2P.js → chunk-OAE6XR7E.js} +9 -60
- package/dist/bundle/{chunk-QAGECFHL.js → chunk-OAYAGQ7C.js} +21 -21
- package/dist/bundle/{chunk-CL6QAZGT.js → chunk-OI4563JI.js} +13 -13
- package/dist/bundle/{chunk-E3UPMPUV.js → chunk-OOLNK3Y5.js} +8 -8
- package/dist/bundle/{chunk-PO4RZ4XZ.js → chunk-ORSTSBWU.js} +1 -1
- package/dist/bundle/{chunk-T4CI3YXW.js → chunk-P5QO7Y3H.js} +6 -6
- package/dist/bundle/{chunk-FS5HPXQN.js → chunk-PJMQE4PW.js} +29 -9
- package/dist/bundle/{chunk-NPDPD2H3.js → chunk-Q4AKIAIA.js} +12 -12
- package/dist/bundle/{chunk-7AFYZOHU.js → chunk-Q4CNLEAY.js} +26 -26
- package/dist/bundle/{chunk-ADJIYY33.js → chunk-RJIJR6KH.js} +1 -1
- package/dist/bundle/{chunk-LYVHQ6DJ.js → chunk-TEFHNXXX.js} +14 -14
- package/dist/bundle/{chunk-IZMRQ3MV.js → chunk-TFDD4Q5Z.js} +10 -10
- package/dist/bundle/{chunk-CJL5GHTQ.js → chunk-TXDCIM5D.js} +2493 -1444
- package/dist/bundle/{chunk-2QRGJSKO.js → chunk-U2Z35B3W.js} +2 -2
- package/dist/bundle/{chunk-IS6MUPN2.js → chunk-UHBQM54J.js} +4 -4
- package/dist/bundle/{chunk-DYIRJINE.js → chunk-UIBKGH5P.js} +1 -1
- package/dist/bundle/{chunk-NPIVV52M.js → chunk-UKYO3HNO.js} +1 -1
- package/dist/bundle/{chunk-JMU3E2WA.js → chunk-V53TIJLY.js} +2 -2
- package/dist/bundle/{chunk-H2EVYY5Z.js → chunk-VMA7SILL.js} +1 -1
- package/dist/bundle/chunk-VW36ZSAE.js +88 -0
- package/dist/bundle/{chunk-XVHDT4CO.js → chunk-WEAMGNST.js} +3 -3
- package/dist/bundle/{chunk-KYKW2W6X.js → chunk-WJTXO2EI.js} +1 -1
- package/dist/bundle/{chunk-375BH5OD.js → chunk-WOYPWXZK.js} +4 -4
- package/dist/bundle/{chunk-CZ6OO66B.js → chunk-XCOGI4JE.js} +4 -4
- package/dist/bundle/{chunk-XC3MWABM.js → chunk-XOG7B7K5.js} +4 -4
- package/dist/bundle/{chunk-UGRGYLEI.js → chunk-XSF5OBVZ.js} +8 -8
- package/dist/bundle/{chunk-SY5NGYKA.js → chunk-XXD4YPHQ.js} +12 -12
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-IJTBB23F.js → chunk-YHQ3TEGB.js} +27 -27
- package/dist/bundle/{chunk-F4ROWGLU.js → chunk-YLNUKNGD.js} +63 -33
- package/dist/bundle/{chunk-JQUYHPQD.js → chunk-YNYQGZUW.js} +7 -7
- package/dist/bundle/{chunk-2QDD6S2R.js → chunk-YZKVCTZI.js} +8 -8
- package/dist/bundle/{chunk-OOIU36FA.js → chunk-ZCVO6GAT.js} +1 -1
- package/dist/bundle/{chunk-4Z4VOQRR.js → chunk-ZDZASHSQ.js} +17 -17
- package/dist/bundle/{chunk-LMZUC4CS.js → chunk-ZZJ5IWNT.js} +4 -4
- package/dist/bundle/{cli-Y27PHKBV.js → cli-YALONJ4V.js} +111 -77
- package/dist/bundle/command-contract-DMR5EOIN.js +45 -0
- package/dist/bundle/{command-server-entry-AXQSW2X6.js → command-server-entry-W4XTBUZE.js} +35 -35
- package/dist/bundle/config-4TLDRXRL.js +109 -0
- package/dist/bundle/{decode-ZRNOOTUZ.js → decode-IFQHVCFX.js} +6 -6
- package/dist/bundle/{dispatch-2GHGPAYH.js → dispatch-GOJB4TDK.js} +9 -9
- package/dist/bundle/{dist-MUFVAMKB.js → dist-H7XFUMRX.js} +21 -21
- package/dist/bundle/{echarts-F4PHDYET.js → echarts-HPUHPJCO.js} +2 -2
- package/dist/bundle/{embed-KWHCKPCV.js → embed-ESU3WZYW.js} +7 -7
- package/dist/bundle/{embedder-U3R3RY54.js → embedder-BV6O76B3.js} +10 -10
- package/dist/bundle/{failure-S2YXEN4A.js → failure-SWVCYFQX.js} +3 -3
- package/dist/bundle/first-run-OEJGAQAE.js +29 -0
- package/dist/bundle/first-screen-QLM4IABL.js +45 -0
- package/dist/bundle/{folders-DVTRFQKW.js → folders-VQGKBM3P.js} +5 -5
- package/dist/bundle/{instructions-JU4YW6QY.js → instructions-UUX57I3V.js} +1 -1
- package/dist/bundle/{main-5UCRPACH.js → main-UIKADOFB.js} +24 -24
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-SKJISCC7.js +26 -0
- package/dist/bundle/meeting-model-YG3Z5KCB.js +26 -0
- package/dist/bundle/{meeting-semantic-5DKRGZFS.js → meeting-semantic-F6GUICB7.js} +8 -8
- package/dist/bundle/{meetings-T2UY35DV.js → meetings-KIBUPLPW.js} +19 -7
- package/dist/bundle/{node-MAVRAF4M.js → node-AM3JCAWB.js} +2 -2
- package/dist/bundle/{node-sqlite-TFBQ5NDI.js → node-sqlite-VM6VS3RU.js} +8 -8
- package/dist/bundle/{oauth-7IG5HWSY.js → oauth-AX5Z32H6.js} +8 -8
- package/dist/bundle/{open-3R3N7L3X.js → open-SSGOOOZG.js} +6 -6
- package/dist/bundle/openai-YIP73X2B.js +28 -0
- package/dist/bundle/{output-file-KKHHAYWF.js → output-file-FR226A64.js} +6 -6
- package/dist/bundle/{process-OIO254NR.js → process-5ZEK2VFY.js} +1 -1
- package/dist/bundle/{program-IBYRU76H.js → program-ROJAJHCB.js} +93 -92
- package/dist/bundle/{prompt-LNEOO7PN.js → prompt-6Y7A4453.js} +6 -6
- package/dist/bundle/{recognize-2WYLT3PC.js → recognize-R5W25WKH.js} +5 -5
- package/dist/bundle/{remote-7EAJEIV7.js → remote-PA4FQUZK.js} +11 -11
- package/dist/bundle/{rerank-DZBZ744F.js → rerank-CYX3UFTM.js} +8 -8
- package/dist/bundle/run-log-FHERL3H6.js +136 -0
- package/dist/bundle/{serve-T3KQV5SS.js → serve-MM5QEZJW.js} +10 -10
- package/dist/bundle/{server-2QQAQZ2J.js → server-JQQAH7E5.js} +64 -64
- package/dist/bundle/server-W2BBONCQ.js +85 -0
- package/dist/bundle/{services-DETAKMC3.js → services-Y2DOQONM.js} +58 -51
- package/dist/bundle/{speech-HD57JNTK.js → speech-O6WLX34V.js} +25 -25
- package/dist/bundle/{sqlite-runtime-OCETZSEZ.js → sqlite-runtime-LQTBZMFH.js} +7 -7
- package/dist/bundle/{state-ZKVQ4DBI.js → state-AIDPZLVH.js} +7 -7
- package/dist/bundle/{store-7IZ2WMHF.js → store-BA4FQS5V.js} +26 -24
- package/dist/bundle/{store-GEAQ7V5R.js → store-UNDS2TBG.js} +30 -26
- package/dist/bundle/store-connection-ADBJ36T4.js +102 -0
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +77 -0
- package/dist/bundle/{streaming-CLBAO3MG.js → streaming-UFHT5MR2.js} +7 -7
- package/dist/bundle/{tokens-WH73ZWFI.js → tokens-Z32UKGQB.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-ZDTYMJET.js → zoom-app-6U46XBTG.js} +8 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
- package/skills/zoom-cli/SKILL.md +88 -236
- package/skills/zoom-cli/references/archive.md +59 -0
- package/skills/zoom-cli/references/people-and-projects.md +51 -0
- package/skills/zoom-cli/references/prepare.md +78 -0
- package/skills/zoom-cli/references/search.md +71 -0
- package/skills/zoom-cli/references/setup.md +31 -0
- package/skills/zoom-cli/references/zoom-live.md +27 -0
- package/dist/bundle/answer-policy-XU7KEW2V.js +0 -121
- package/dist/bundle/command-contract-GB7YA3KW.js +0 -45
- package/dist/bundle/config-2OOABHR7.js +0 -108
- package/dist/bundle/first-run-F4YR2E2C.js +0 -29
- package/dist/bundle/first-screen-HPRHD3VK.js +0 -43
- package/dist/bundle/meeting-combined-IWU5SPAH.js +0 -26
- package/dist/bundle/meeting-model-ILIUJECZ.js +0 -26
- package/dist/bundle/openai-DD5I3DWC.js +0 -28
- package/dist/bundle/run-log-CCIVRSHP.js +0 -135
- package/dist/bundle/server-OJQMPF2R.js +0 -84
- package/dist/bundle/store-connection-BALCZW7P.js +0 -101
- package/dist/bundle/store-maintenance-command-SBT4LDSI.js +0 -76
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
modelSettingsShape,
|
|
5
5
|
resolveModelSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZZJ5IWNT.js";
|
|
7
7
|
import {
|
|
8
8
|
ancestorValue,
|
|
9
9
|
envName,
|
|
10
10
|
readOnlyLockOf,
|
|
11
11
|
readOnlyRefusal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F7IDYQLM.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZCVO6GAT.js";
|
|
16
16
|
import {
|
|
17
17
|
currentCaller,
|
|
18
18
|
endpointTemplate,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
providerErrorKey,
|
|
23
23
|
renderEvent,
|
|
24
24
|
runContextOf
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JOIAE3NO.js";
|
|
26
26
|
import {
|
|
27
27
|
permissionCeiling
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WOYPWXZK.js";
|
|
29
29
|
import {
|
|
30
30
|
CEILING_KEY,
|
|
31
31
|
COMMAND_PATH_KEY,
|
|
@@ -39,21 +39,21 @@ import {
|
|
|
39
39
|
permissionOverrides,
|
|
40
40
|
projectFields,
|
|
41
41
|
resolveOutput
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YZKVCTZI.js";
|
|
43
43
|
import {
|
|
44
44
|
note
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-H7SRM26V.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_RERANK_MODEL,
|
|
48
48
|
RERANK_MODELS
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IBINGDYF.js";
|
|
50
50
|
import {
|
|
51
51
|
endpoint
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-FURKMNC2.js";
|
|
53
53
|
import {
|
|
54
54
|
filesPresent,
|
|
55
55
|
sharedModelsDirectory
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-XCOGI4JE.js";
|
|
57
57
|
import {
|
|
58
58
|
CATEGORIES,
|
|
59
59
|
FACT_STATUSES,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
text,
|
|
84
84
|
time,
|
|
85
85
|
untrusted
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-EV7QCFQR.js";
|
|
87
87
|
import {
|
|
88
88
|
KEEP_STORE_RUNS_FOR_DAYS,
|
|
89
89
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
@@ -101,11 +101,11 @@ import {
|
|
|
101
101
|
traceOf,
|
|
102
102
|
typedCommand,
|
|
103
103
|
useAsProcessRun
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-7HEZQCHL.js";
|
|
105
105
|
import {
|
|
106
106
|
isCliFailure,
|
|
107
107
|
storeDamaged
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-AEVSVVTP.js";
|
|
109
109
|
import {
|
|
110
110
|
BUSINESS_KINDS,
|
|
111
111
|
CRM_ACTIVITY_KINDS,
|
|
@@ -120,23 +120,24 @@ import {
|
|
|
120
120
|
ORDER_STATUSES,
|
|
121
121
|
RELATION_KINDS,
|
|
122
122
|
STANDINGS
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-7IIQU5RA.js";
|
|
124
124
|
import {
|
|
125
125
|
TAG_TYPES
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-WEAMGNST.js";
|
|
127
127
|
import {
|
|
128
128
|
repairConfigText,
|
|
129
129
|
sharedConfigPath
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-OOLNK3Y5.js";
|
|
131
131
|
import {
|
|
132
132
|
storePath
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-LBTANUUH.js";
|
|
134
134
|
import {
|
|
135
135
|
FACT_TYPES,
|
|
136
136
|
MEETING_RESULT_ENTITIES,
|
|
137
137
|
callStats,
|
|
138
138
|
event,
|
|
139
139
|
meeting,
|
|
140
|
+
meetingCall,
|
|
140
141
|
meetingCounts,
|
|
141
142
|
meetingDetails,
|
|
142
143
|
meetingHit,
|
|
@@ -152,14 +153,14 @@ import {
|
|
|
152
153
|
meetingTagging,
|
|
153
154
|
meetingTranscript,
|
|
154
155
|
readsZone
|
|
155
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-FHOQWPQ6.js";
|
|
156
157
|
import {
|
|
157
158
|
FIELD_TYPES,
|
|
158
159
|
QUERY_BACKENDS,
|
|
159
160
|
describeQuery,
|
|
160
161
|
parseLucene,
|
|
161
162
|
timezoneOf
|
|
162
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-TFDD4Q5Z.js";
|
|
163
164
|
import {
|
|
164
165
|
configFilePath,
|
|
165
166
|
createRecordLog,
|
|
@@ -168,7 +169,7 @@ import {
|
|
|
168
169
|
resolvePaths,
|
|
169
170
|
saveConfigFile,
|
|
170
171
|
writeSecurely
|
|
171
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-OAYAGQ7C.js";
|
|
172
173
|
import {
|
|
173
174
|
COMPACT_FLAG,
|
|
174
175
|
MAX_NEXT_STEPS,
|
|
@@ -219,19 +220,19 @@ import {
|
|
|
219
220
|
unwrap,
|
|
220
221
|
variant,
|
|
221
222
|
writes
|
|
222
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-PJMQE4PW.js";
|
|
223
224
|
import {
|
|
224
225
|
CliError,
|
|
225
226
|
isCliError
|
|
226
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-FNLXFQN6.js";
|
|
227
228
|
import {
|
|
228
229
|
visibleControls
|
|
229
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-WJTXO2EI.js";
|
|
230
231
|
import {
|
|
231
232
|
__name
|
|
232
233
|
} from "./chunk-ZVVMGPBJ.js";
|
|
233
234
|
|
|
234
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
235
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
235
236
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
236
237
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
237
238
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3732,7 +3733,7 @@ __name(useColor, "useColor");
|
|
|
3732
3733
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3733
3734
|
var program = new Command();
|
|
3734
3735
|
|
|
3735
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3736
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3736
3737
|
import { isDeepStrictEqual } from "node:util";
|
|
3737
3738
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3738
3739
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3934,7 +3935,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3934
3935
|
return command;
|
|
3935
3936
|
}, "customizeSharedCommand");
|
|
3936
3937
|
|
|
3937
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3938
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3938
3939
|
var argumentInfoSchema = object({
|
|
3939
3940
|
name: string(),
|
|
3940
3941
|
required: boolean(),
|
|
@@ -4008,7 +4009,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
4008
4009
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
4009
4010
|
});
|
|
4010
4011
|
|
|
4011
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4012
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
4012
4013
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
4013
4014
|
let command = root;
|
|
4014
4015
|
const path2 = [];
|
|
@@ -4026,7 +4027,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4026
4027
|
}
|
|
4027
4028
|
}, "refuseJoinedPath");
|
|
4028
4029
|
|
|
4029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4030
4031
|
var WEIGHTS = {
|
|
4031
4032
|
bot: 3,
|
|
4032
4033
|
scam: 3,
|
|
@@ -4051,7 +4052,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4051
4052
|
var DIGITS = /\d{5,}/;
|
|
4052
4053
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4053
4054
|
|
|
4054
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4055
4056
|
var linkedIdentity = strictObject({
|
|
4056
4057
|
provider: text,
|
|
4057
4058
|
id,
|
|
@@ -4106,7 +4107,7 @@ var contactCheck = strictObject({
|
|
|
4106
4107
|
checked_at: time
|
|
4107
4108
|
});
|
|
4108
4109
|
|
|
4109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4110
4111
|
var member = strictObject({
|
|
4111
4112
|
id,
|
|
4112
4113
|
name: nullable(text),
|
|
@@ -4129,7 +4130,7 @@ var member = strictObject({
|
|
|
4129
4130
|
check: optional(record(string(), unknown()))
|
|
4130
4131
|
});
|
|
4131
4132
|
|
|
4132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4133
4134
|
var setting = optional(nullable(boolean()));
|
|
4134
4135
|
var chat = strictObject({
|
|
4135
4136
|
ref: reference,
|
|
@@ -4170,7 +4171,7 @@ var chat = strictObject({
|
|
|
4170
4171
|
members: optional(array(member))
|
|
4171
4172
|
});
|
|
4172
4173
|
|
|
4173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4174
4175
|
var attachment = strictObject({
|
|
4175
4176
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4176
4177
|
message: optional(reference),
|
|
@@ -4215,7 +4216,7 @@ var hitFile = strictObject({
|
|
|
4215
4216
|
local_path: optional(text)
|
|
4216
4217
|
});
|
|
4217
4218
|
|
|
4218
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4219
4220
|
var quoted = strictObject({
|
|
4220
4221
|
id,
|
|
4221
4222
|
sender_id: nullable(id),
|
|
@@ -4334,7 +4335,7 @@ var message = strictObject({
|
|
|
4334
4335
|
provider_metadata: providerMetadata
|
|
4335
4336
|
});
|
|
4336
4337
|
|
|
4337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
4338
4339
|
var recordedMeeting = strictObject({
|
|
4339
4340
|
ref: reference,
|
|
4340
4341
|
meeting_id: count,
|
|
@@ -4343,11 +4344,15 @@ var recordedMeeting = strictObject({
|
|
|
4343
4344
|
started_at: nullable(time),
|
|
4344
4345
|
duration_ms: nullable(count),
|
|
4345
4346
|
has_transcript: boolean(),
|
|
4347
|
+
/** The start of its transcript, on one line: what the people said, never instructions. */
|
|
4348
|
+
snippet: optional(nullable(text)),
|
|
4346
4349
|
event: nullable(reference),
|
|
4347
|
-
people: array(reference)
|
|
4350
|
+
people: array(reference),
|
|
4351
|
+
/** Present only on a phone call: its direction, manager and the other side's number. */
|
|
4352
|
+
call: optional(meetingCall)
|
|
4348
4353
|
});
|
|
4349
4354
|
|
|
4350
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
4351
4356
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4352
4357
|
var contextMessage = strictObject({
|
|
4353
4358
|
locator: reference,
|
|
@@ -4553,7 +4558,7 @@ var contactPreparation = strictObject({
|
|
|
4553
4558
|
})
|
|
4554
4559
|
});
|
|
4555
4560
|
|
|
4556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
4557
4562
|
var nullableText = nullable(text);
|
|
4558
4563
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4559
4564
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -4571,6 +4576,12 @@ var activity = strictObject({
|
|
|
4571
4576
|
created_at: time,
|
|
4572
4577
|
updated_at: time
|
|
4573
4578
|
});
|
|
4579
|
+
var stageEntry = strictObject({
|
|
4580
|
+
from: nullableText,
|
|
4581
|
+
to: text,
|
|
4582
|
+
at: time,
|
|
4583
|
+
exact: boolean()
|
|
4584
|
+
});
|
|
4574
4585
|
var deal = strictObject({
|
|
4575
4586
|
id,
|
|
4576
4587
|
ref: reference,
|
|
@@ -4601,7 +4612,10 @@ var deal = strictObject({
|
|
|
4601
4612
|
external_id: nullableText,
|
|
4602
4613
|
/** A CRM copy's assignee, the identity `<account>/user/<id>`. */
|
|
4603
4614
|
assignee: nullableText,
|
|
4604
|
-
/**
|
|
4615
|
+
/**
|
|
4616
|
+
* A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. `amount_note` is
|
|
4617
|
+
* WireCat's own note, not a CRM field: the CRM's amount the store could not keep, and why.
|
|
4618
|
+
*/
|
|
4605
4619
|
provider_metadata: record(string(), strictObject({
|
|
4606
4620
|
label: nullable(string()),
|
|
4607
4621
|
value: unknown(),
|
|
@@ -4626,9 +4640,30 @@ var deal = strictObject({
|
|
|
4626
4640
|
activities: optional(array(activity)),
|
|
4627
4641
|
/** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
|
|
4628
4642
|
meetings: optional(array(recordedMeeting)),
|
|
4643
|
+
/**
|
|
4644
|
+
* `show` of a CRM copy: every stage it entered, oldest first. Once the CRM's own history names any, it alone is
|
|
4645
|
+
* listed, from as far back as it was read; the copy's changes between syncs are left out.
|
|
4646
|
+
*/
|
|
4647
|
+
stage_history: optional(array(stageEntry)),
|
|
4629
4648
|
untrusted
|
|
4630
4649
|
});
|
|
4631
4650
|
var lead = deal;
|
|
4651
|
+
var amount = strictObject({ amount: text, currency: text, items: count });
|
|
4652
|
+
var winRate = nullable(number());
|
|
4653
|
+
var pipelineOwner = strictObject({
|
|
4654
|
+
assignee: nullableText,
|
|
4655
|
+
name: nullableText,
|
|
4656
|
+
open: count,
|
|
4657
|
+
won: count,
|
|
4658
|
+
lost: count,
|
|
4659
|
+
win_rate: winRate
|
|
4660
|
+
});
|
|
4661
|
+
var pipelineClosed = strictObject({
|
|
4662
|
+
won: count,
|
|
4663
|
+
lost: count,
|
|
4664
|
+
win_rate: winRate,
|
|
4665
|
+
won_amounts: array(amount)
|
|
4666
|
+
});
|
|
4632
4667
|
var pipelineStage = strictObject({
|
|
4633
4668
|
name: text,
|
|
4634
4669
|
position: count,
|
|
@@ -4641,8 +4676,11 @@ var pipelineStage = strictObject({
|
|
|
4641
4676
|
conversion: optional(nullable(number())),
|
|
4642
4677
|
/** With a funnel: rows standing in it now, and their sum per currency, never converted. */
|
|
4643
4678
|
items: optional(count),
|
|
4644
|
-
amounts: optional(array(
|
|
4679
|
+
amounts: optional(array(amount)),
|
|
4680
|
+
/** With a funnel: the median days a row of the window stayed in it before it moved on. */
|
|
4681
|
+
median_days: optional(nullable(number()))
|
|
4645
4682
|
});
|
|
4683
|
+
var pipelineStageAnswer = pipelineStage;
|
|
4646
4684
|
var pipeline = strictObject({
|
|
4647
4685
|
id,
|
|
4648
4686
|
ref: reference,
|
|
@@ -4650,10 +4688,20 @@ var pipeline = strictObject({
|
|
|
4650
4688
|
kind: picklist(["deal", "lead"]),
|
|
4651
4689
|
account: crmAccount,
|
|
4652
4690
|
external_id: nullableText,
|
|
4653
|
-
stages: array(
|
|
4691
|
+
stages: array(pipelineStageAnswer),
|
|
4654
4692
|
created_at: time,
|
|
4655
|
-
|
|
4693
|
+
/** `show`: the rows made in the window. */
|
|
4694
|
+
totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: winRate })),
|
|
4695
|
+
window: optional(strictObject({ since: nullable(time), until: nullable(time) })),
|
|
4656
4696
|
since: optional(day),
|
|
4697
|
+
/** `show`: rows closed on a day in the window, in the owner's zone. */
|
|
4698
|
+
closed: optional(pipelineClosed),
|
|
4699
|
+
/** `show`: days from made to won, of the rows won in the window. */
|
|
4700
|
+
cycle: optional(strictObject({ median_days: nullable(number()), items: count })),
|
|
4701
|
+
owners: optional(array(pipelineOwner)),
|
|
4702
|
+
lost_reasons: optional(array(strictObject({ reason: text, items: count }))),
|
|
4703
|
+
/** `show`: rows whose stages came from the CRM's own history, and from the copy's diffs. */
|
|
4704
|
+
history: optional(strictObject({ exact: count, copy: count })),
|
|
4657
4705
|
untrusted
|
|
4658
4706
|
});
|
|
4659
4707
|
var stage = strictObject({
|
|
@@ -4661,10 +4709,12 @@ var stage = strictObject({
|
|
|
4661
4709
|
pipeline: reference,
|
|
4662
4710
|
pipeline_name: text,
|
|
4663
4711
|
kind: picklist(["deal", "lead"]),
|
|
4712
|
+
/** A CRM's stage: the task its `stage-tasks` rule opens when a row enters it, or `null`. */
|
|
4713
|
+
stage_task: optional(nullable(strictObject({ title: text, due_days: count }))),
|
|
4664
4714
|
untrusted
|
|
4665
4715
|
});
|
|
4666
4716
|
|
|
4667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
4668
4718
|
var nullableText2 = nullable(text);
|
|
4669
4719
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
4670
4720
|
var standing = picklist(STANDINGS);
|
|
@@ -4795,7 +4845,7 @@ var organizationContext = strictObject({
|
|
|
4795
4845
|
var { untrusted: _, ...dealRow } = deal.entries;
|
|
4796
4846
|
var dealContext = strictObject({
|
|
4797
4847
|
deal: strictObject(dealRow),
|
|
4798
|
-
stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time })),
|
|
4848
|
+
stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time, exact: boolean() })),
|
|
4799
4849
|
organization: nullable(strictObject({ ref: reference, name: nullableText2, categories })),
|
|
4800
4850
|
participants: section(related),
|
|
4801
4851
|
owner: nullable(related),
|
|
@@ -4810,6 +4860,9 @@ var dealContext = strictObject({
|
|
|
4810
4860
|
title: nullableText2,
|
|
4811
4861
|
at: nullable(time),
|
|
4812
4862
|
people: array(reference),
|
|
4863
|
+
text: optional(nullableText2),
|
|
4864
|
+
call: optional(meetingCall),
|
|
4865
|
+
duration_ms: optional(nullable(count)),
|
|
4813
4866
|
standing: literal("proposed")
|
|
4814
4867
|
})).entries,
|
|
4815
4868
|
counts: strictObject(counts)
|
|
@@ -4838,7 +4891,7 @@ var dealBrief = strictObject({
|
|
|
4838
4891
|
not_read: coverage2.entries.not_read
|
|
4839
4892
|
});
|
|
4840
4893
|
|
|
4841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
4842
4895
|
var botProfile = strictObject({
|
|
4843
4896
|
name: text,
|
|
4844
4897
|
token: text,
|
|
@@ -4962,7 +5015,7 @@ var stickerInventory = strictObject({
|
|
|
4962
5015
|
url: optional(nullable(text))
|
|
4963
5016
|
});
|
|
4964
5017
|
|
|
4965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4966
5019
|
var actionableError = objectWithRest({
|
|
4967
5020
|
code: text,
|
|
4968
5021
|
message: text,
|
|
@@ -4979,7 +5032,7 @@ var batchResult = strictObject({
|
|
|
4979
5032
|
max_error_percent: count
|
|
4980
5033
|
});
|
|
4981
5034
|
|
|
4982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
4983
5036
|
var conversationBuild = strictObject({
|
|
4984
5037
|
chat: id,
|
|
4985
5038
|
messages: count,
|
|
@@ -5004,13 +5057,13 @@ var catchUpPreparation = strictObject({
|
|
|
5004
5057
|
prepared: optional(conversationPreparation)
|
|
5005
5058
|
});
|
|
5006
5059
|
|
|
5007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5008
5061
|
import { spawn } from "node:child_process";
|
|
5009
5062
|
import { randomBytes } from "node:crypto";
|
|
5010
5063
|
import { closeSync, existsSync as existsSync2, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
5011
5064
|
import { dirname, join as join2 } from "node:path";
|
|
5012
5065
|
|
|
5013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
5014
5067
|
import { existsSync, readFileSync, rmSync } from "node:fs";
|
|
5015
5068
|
import { join } from "node:path";
|
|
5016
5069
|
var PART = /^[\w@+-][\w.@+-]{0,99}$/;
|
|
@@ -5050,7 +5103,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
5050
5103
|
};
|
|
5051
5104
|
}, "progressOf");
|
|
5052
5105
|
|
|
5053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5054
5107
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5055
5108
|
const run = currentRun();
|
|
5056
5109
|
const trace = traceId ?? run.traceId;
|
|
@@ -5064,7 +5117,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5064
5117
|
}));
|
|
5065
5118
|
}, "recordLogFor");
|
|
5066
5119
|
|
|
5067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5068
5121
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
5069
5122
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
5070
5123
|
const out = openSync(log, "a", 384);
|
|
@@ -5219,7 +5272,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5219
5272
|
return { job: id6, pid, chat: input.chat, log };
|
|
5220
5273
|
}, "startArchiveJob");
|
|
5221
5274
|
|
|
5222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5223
5276
|
var problem = strictObject({ code: text, message: text });
|
|
5224
5277
|
var job = strictObject({
|
|
5225
5278
|
id,
|
|
@@ -5242,7 +5295,7 @@ var job = strictObject({
|
|
|
5242
5295
|
error: optional(problem)
|
|
5243
5296
|
});
|
|
5244
5297
|
|
|
5245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5246
5299
|
var extractionItem = strictObject({
|
|
5247
5300
|
ref: reference,
|
|
5248
5301
|
attachment: count,
|
|
@@ -5275,7 +5328,7 @@ var extractionReport = strictObject({
|
|
|
5275
5328
|
cursor: optional(text)
|
|
5276
5329
|
});
|
|
5277
5330
|
|
|
5278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5279
5332
|
var savedMessageFile = strictObject({
|
|
5280
5333
|
kind: text,
|
|
5281
5334
|
path: text,
|
|
@@ -5362,7 +5415,7 @@ var messageSyncAll = strictObject({
|
|
|
5362
5415
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5363
5416
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5364
5417
|
|
|
5365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5366
5419
|
var range = strictObject({ from: number(), to: number() });
|
|
5367
5420
|
var storeChatStatus = strictObject({
|
|
5368
5421
|
chat_id: id,
|
|
@@ -5460,7 +5513,7 @@ var storeJobRetry = union([
|
|
|
5460
5513
|
]);
|
|
5461
5514
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5462
5515
|
|
|
5463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5464
5517
|
var account = strictObject({
|
|
5465
5518
|
provider: text,
|
|
5466
5519
|
id,
|
|
@@ -5470,7 +5523,7 @@ var account = strictObject({
|
|
|
5470
5523
|
scope: optional(picklist(["personal", "work"]))
|
|
5471
5524
|
});
|
|
5472
5525
|
|
|
5473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5474
5527
|
var accountSession = strictObject({
|
|
5475
5528
|
current: boolean(),
|
|
5476
5529
|
client: nullable(text),
|
|
@@ -5480,7 +5533,7 @@ var accountSession = strictObject({
|
|
|
5480
5533
|
created_at: optional(nullable(time))
|
|
5481
5534
|
});
|
|
5482
5535
|
|
|
5483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5484
5537
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5485
5538
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5486
5539
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5509,7 +5562,7 @@ var accountRemoval = strictObject({
|
|
|
5509
5562
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5510
5563
|
});
|
|
5511
5564
|
|
|
5512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5513
5566
|
var accountProfile = strictObject({
|
|
5514
5567
|
profile: id,
|
|
5515
5568
|
current: boolean(),
|
|
@@ -5521,7 +5574,7 @@ var accountProfile = strictObject({
|
|
|
5521
5574
|
bot: optional(literal(true))
|
|
5522
5575
|
});
|
|
5523
5576
|
|
|
5524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5525
5578
|
var milliseconds = pipe(number(), minValue(0));
|
|
5526
5579
|
var counterReading = strictObject({
|
|
5527
5580
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5533,7 +5586,7 @@ var counterReading = strictObject({
|
|
|
5533
5586
|
});
|
|
5534
5587
|
var selection = record(string(), unknown());
|
|
5535
5588
|
|
|
5536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5537
5590
|
var adminRow = strictObject({
|
|
5538
5591
|
ref: reference,
|
|
5539
5592
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5586,7 +5639,7 @@ var adminReport = strictObject({
|
|
|
5586
5639
|
rows: array(adminRow)
|
|
5587
5640
|
});
|
|
5588
5641
|
|
|
5589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
5590
5643
|
var closeSuggestion = strictObject({
|
|
5591
5644
|
as: picklist(["done", "dismissed"]),
|
|
5592
5645
|
/** The agent's name. */
|
|
@@ -5648,7 +5701,7 @@ var task = strictObject({
|
|
|
5648
5701
|
updated_at: optional(time)
|
|
5649
5702
|
});
|
|
5650
5703
|
|
|
5651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
5652
5705
|
var agendaChat = strictObject({
|
|
5653
5706
|
chat: reference,
|
|
5654
5707
|
title: nullable(text),
|
|
@@ -5718,11 +5771,11 @@ var agenda = strictObject({
|
|
|
5718
5771
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
5719
5772
|
});
|
|
5720
5773
|
|
|
5721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
5722
5775
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5723
5776
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5724
5777
|
|
|
5725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
5726
5779
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5727
5780
|
var attachmentBytes = strictObject({
|
|
5728
5781
|
ref: reference,
|
|
@@ -5753,7 +5806,7 @@ var attachmentTextChange = strictObject({
|
|
|
5753
5806
|
text: optional(text)
|
|
5754
5807
|
});
|
|
5755
5808
|
|
|
5756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5757
5810
|
var chart = strictObject({
|
|
5758
5811
|
version: literal(1),
|
|
5759
5812
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5768,7 +5821,7 @@ var chart = strictObject({
|
|
|
5768
5821
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5769
5822
|
});
|
|
5770
5823
|
|
|
5771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5772
5825
|
var named = strictObject({
|
|
5773
5826
|
id,
|
|
5774
5827
|
title: nullable(text),
|
|
@@ -5791,7 +5844,7 @@ var folder = strictObject({
|
|
|
5791
5844
|
excluded_chats: optional(array(named))
|
|
5792
5845
|
});
|
|
5793
5846
|
|
|
5794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5795
5848
|
var inviteLink = strictObject({
|
|
5796
5849
|
link: text,
|
|
5797
5850
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5807,7 +5860,7 @@ var inviteLink = strictObject({
|
|
|
5807
5860
|
joined_count: optional(count)
|
|
5808
5861
|
});
|
|
5809
5862
|
|
|
5810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5811
5864
|
var operated = { operation_id: id, chat_id: id };
|
|
5812
5865
|
var group = strictObject({
|
|
5813
5866
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5887,7 +5940,7 @@ var chatFolderOrder = strictObject({
|
|
|
5887
5940
|
folders: array(strictObject({ id, title: text }))
|
|
5888
5941
|
});
|
|
5889
5942
|
|
|
5890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5891
5944
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5892
5945
|
var chatRemoval = strictObject(operated2);
|
|
5893
5946
|
var chatMuting = strictObject({
|
|
@@ -5898,7 +5951,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5898
5951
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5899
5952
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5900
5953
|
|
|
5901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5902
5955
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5903
5956
|
var chatEvent = strictObject({
|
|
5904
5957
|
chat_id: id,
|
|
@@ -5915,7 +5968,7 @@ var chatEvent = strictObject({
|
|
|
5915
5968
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5916
5969
|
});
|
|
5917
5970
|
|
|
5918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5919
5972
|
var chatMetadata = strictObject({
|
|
5920
5973
|
chat_id: id,
|
|
5921
5974
|
title: nullable(text),
|
|
@@ -5930,7 +5983,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5930
5983
|
has_more: boolean()
|
|
5931
5984
|
});
|
|
5932
5985
|
|
|
5933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5934
5987
|
var action = picklist(["report", "delete", "remove"]);
|
|
5935
5988
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5936
5989
|
var chatRules = strictObject({
|
|
@@ -5967,7 +6020,7 @@ var chatModeration = strictObject({
|
|
|
5967
6020
|
}))
|
|
5968
6021
|
});
|
|
5969
6022
|
|
|
5970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5971
6024
|
var chatSending = strictObject({
|
|
5972
6025
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5973
6026
|
meaning: text,
|
|
@@ -5977,7 +6030,7 @@ var chatSending = strictObject({
|
|
|
5977
6030
|
changed: optional(boolean())
|
|
5978
6031
|
});
|
|
5979
6032
|
|
|
5980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5981
6034
|
var optionalCount = optional(count);
|
|
5982
6035
|
var minutes = nullable(number());
|
|
5983
6036
|
var chatStats = strictObject({
|
|
@@ -6053,7 +6106,7 @@ var taskStats = strictObject({
|
|
|
6053
6106
|
}))
|
|
6054
6107
|
});
|
|
6055
6108
|
|
|
6056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
6057
6110
|
var memberCount = strictObject({
|
|
6058
6111
|
day: pipe(text, isoDate()),
|
|
6059
6112
|
participants: nullable(count),
|
|
@@ -6076,7 +6129,7 @@ var chatTracking = strictObject({
|
|
|
6076
6129
|
tracked: boolean()
|
|
6077
6130
|
});
|
|
6078
6131
|
|
|
6079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
6080
6133
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6081
6134
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6082
6135
|
var profileFields = {
|
|
@@ -6114,7 +6167,7 @@ var profileFields = {
|
|
|
6114
6167
|
}))
|
|
6115
6168
|
};
|
|
6116
6169
|
|
|
6117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6118
6171
|
var contact = strictObject({
|
|
6119
6172
|
ref: reference,
|
|
6120
6173
|
id,
|
|
@@ -6145,7 +6198,7 @@ var contact = strictObject({
|
|
|
6145
6198
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6146
6199
|
});
|
|
6147
6200
|
|
|
6148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6149
6202
|
var contactNote = strictObject({
|
|
6150
6203
|
id,
|
|
6151
6204
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6157,13 +6210,13 @@ var contactNote = strictObject({
|
|
|
6157
6210
|
updated_at: time
|
|
6158
6211
|
});
|
|
6159
6212
|
|
|
6160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6161
6214
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6162
6215
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6163
6216
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6164
6217
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6165
6218
|
|
|
6166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6167
6220
|
var conversation = strictObject({
|
|
6168
6221
|
id,
|
|
6169
6222
|
chat: reference,
|
|
@@ -6178,7 +6231,7 @@ var conversation = strictObject({
|
|
|
6178
6231
|
rules_version: count
|
|
6179
6232
|
});
|
|
6180
6233
|
|
|
6181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6182
6235
|
var conversationDetails = union([
|
|
6183
6236
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6184
6237
|
message
|
|
@@ -6268,7 +6321,7 @@ var conversationHit = strictObject({
|
|
|
6268
6321
|
stale: boolean()
|
|
6269
6322
|
});
|
|
6270
6323
|
|
|
6271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6272
6325
|
var counters = strictObject({
|
|
6273
6326
|
cutoff: time,
|
|
6274
6327
|
max_age_ms: milliseconds,
|
|
@@ -6298,7 +6351,7 @@ var counterRefresh = strictObject({
|
|
|
6298
6351
|
complete: optional(boolean())
|
|
6299
6352
|
});
|
|
6300
6353
|
|
|
6301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6302
6355
|
var document = strictObject({
|
|
6303
6356
|
ref: reference,
|
|
6304
6357
|
id,
|
|
@@ -6313,7 +6366,7 @@ var document = strictObject({
|
|
|
6313
6366
|
owners: optional(array(text))
|
|
6314
6367
|
});
|
|
6315
6368
|
|
|
6316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6317
6370
|
var documentLink = strictObject({
|
|
6318
6371
|
ref: reference,
|
|
6319
6372
|
url: text,
|
|
@@ -6324,7 +6377,7 @@ var documentLink = strictObject({
|
|
|
6324
6377
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6325
6378
|
});
|
|
6326
6379
|
|
|
6327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6328
6381
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6329
6382
|
var contribution = strictObject({
|
|
6330
6383
|
message: evidenceMessage,
|
|
@@ -6354,7 +6407,7 @@ var retentionStay = strictObject({
|
|
|
6354
6407
|
});
|
|
6355
6408
|
var evidence = union([contribution, retentionStay]);
|
|
6356
6409
|
|
|
6357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6358
6411
|
var fact = strictObject({
|
|
6359
6412
|
ref: reference,
|
|
6360
6413
|
id,
|
|
@@ -6385,7 +6438,7 @@ var fact = strictObject({
|
|
|
6385
6438
|
updated_at: time
|
|
6386
6439
|
});
|
|
6387
6440
|
|
|
6388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6441
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6389
6442
|
var hit = strictObject({
|
|
6390
6443
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6391
6444
|
ref: reference,
|
|
@@ -6433,7 +6486,7 @@ var hit = strictObject({
|
|
|
6433
6486
|
untrusted
|
|
6434
6487
|
});
|
|
6435
6488
|
|
|
6436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6437
6490
|
var identity = strictObject({
|
|
6438
6491
|
ref: reference,
|
|
6439
6492
|
provider: text,
|
|
@@ -6449,7 +6502,7 @@ var identity = strictObject({
|
|
|
6449
6502
|
person: optional(nullable(reference))
|
|
6450
6503
|
});
|
|
6451
6504
|
|
|
6452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6453
6506
|
var imageEmbedding = strictObject({
|
|
6454
6507
|
model: text,
|
|
6455
6508
|
embedded: count,
|
|
@@ -6458,7 +6511,7 @@ var imageEmbedding = strictObject({
|
|
|
6458
6511
|
more: boolean()
|
|
6459
6512
|
});
|
|
6460
6513
|
|
|
6461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6462
6515
|
var joinRequest = strictObject({
|
|
6463
6516
|
person_id: id,
|
|
6464
6517
|
name: nullable(text),
|
|
@@ -6469,7 +6522,7 @@ var joinRequest = strictObject({
|
|
|
6469
6522
|
about: optional(text)
|
|
6470
6523
|
});
|
|
6471
6524
|
|
|
6472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6473
6526
|
var pollVote = strictObject({
|
|
6474
6527
|
person_id: id,
|
|
6475
6528
|
name: nullable(text),
|
|
@@ -6479,7 +6532,7 @@ var pollVote = strictObject({
|
|
|
6479
6532
|
voted_at: time
|
|
6480
6533
|
});
|
|
6481
6534
|
|
|
6482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6483
6536
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6484
6537
|
var observation = strictObject({
|
|
6485
6538
|
value: pipe(number(), minValue(0)),
|
|
@@ -6521,7 +6574,7 @@ var serveSummary = strictObject({
|
|
|
6521
6574
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6522
6575
|
});
|
|
6523
6576
|
|
|
6524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6525
6578
|
var mailCounts = strictObject({
|
|
6526
6579
|
by: picklist(["day", "week", "sender"]),
|
|
6527
6580
|
received: count,
|
|
@@ -6536,7 +6589,7 @@ var mailCounts = strictObject({
|
|
|
6536
6589
|
}))
|
|
6537
6590
|
});
|
|
6538
6591
|
|
|
6539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6540
6593
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6541
6594
|
var base = { id, evidence: array(evidence2) };
|
|
6542
6595
|
var finding = variant("kind", [
|
|
@@ -6680,7 +6733,7 @@ var mailFindings = strictObject({
|
|
|
6680
6733
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6681
6734
|
});
|
|
6682
6735
|
|
|
6683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6684
6737
|
var mediaArchive = strictObject({
|
|
6685
6738
|
directory: text,
|
|
6686
6739
|
chats: count,
|
|
@@ -6712,7 +6765,7 @@ var mediaArchiveTimer = union([
|
|
|
6712
6765
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6713
6766
|
]);
|
|
6714
6767
|
|
|
6715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6716
6769
|
var preparationId = pipe(string(), minLength(1));
|
|
6717
6770
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6718
6771
|
var preparationTime = nullable(isoTime);
|
|
@@ -6804,7 +6857,7 @@ var preparationMeeting = strictObject({
|
|
|
6804
6857
|
updated_at: isoTime
|
|
6805
6858
|
});
|
|
6806
6859
|
|
|
6807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6808
6861
|
var meetingEvidence = preparationEvidence;
|
|
6809
6862
|
var meetingPersonContext = strictObject({
|
|
6810
6863
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6826,7 +6879,7 @@ var meetingPersonContext = strictObject({
|
|
|
6826
6879
|
})
|
|
6827
6880
|
});
|
|
6828
6881
|
|
|
6829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6830
6883
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6831
6884
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6832
6885
|
var finding2 = variant("kind", [
|
|
@@ -6864,7 +6917,7 @@ var meetingFindings = strictObject({
|
|
|
6864
6917
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6865
6918
|
});
|
|
6866
6919
|
|
|
6867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6868
6921
|
var communicationCoverage = strictObject({
|
|
6869
6922
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6870
6923
|
query: string(),
|
|
@@ -6909,7 +6962,7 @@ var preparationCommunications = strictObject({
|
|
|
6909
6962
|
}))
|
|
6910
6963
|
});
|
|
6911
6964
|
|
|
6912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6913
6966
|
var meetingPreparation = strictObject({
|
|
6914
6967
|
communications: optional(preparationCommunications),
|
|
6915
6968
|
schema_version: literal(1),
|
|
@@ -7022,7 +7075,7 @@ var meetingPreparation = strictObject({
|
|
|
7022
7075
|
})
|
|
7023
7076
|
});
|
|
7024
7077
|
|
|
7025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7026
7079
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7027
7080
|
var id3 = pipe(string(), minLength(1));
|
|
7028
7081
|
var text3 = string();
|
|
@@ -7086,7 +7139,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7086
7139
|
})
|
|
7087
7140
|
});
|
|
7088
7141
|
|
|
7089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7090
7143
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7091
7144
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7092
7145
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7116,7 +7169,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7116
7169
|
})
|
|
7117
7170
|
});
|
|
7118
7171
|
|
|
7119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7120
7173
|
var text4 = string();
|
|
7121
7174
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7122
7175
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7133,7 +7186,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7133
7186
|
persistence: literal("proposal-only")
|
|
7134
7187
|
});
|
|
7135
7188
|
|
|
7136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7137
7190
|
var memory = strictObject({
|
|
7138
7191
|
ref: reference,
|
|
7139
7192
|
id,
|
|
@@ -7161,7 +7214,7 @@ var memory = strictObject({
|
|
|
7161
7214
|
updated_at: time
|
|
7162
7215
|
});
|
|
7163
7216
|
|
|
7164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7165
7218
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7166
7219
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7167
7220
|
var mention = strictObject({
|
|
@@ -7205,13 +7258,13 @@ var mentionRebuild = strictObject({
|
|
|
7205
7258
|
mentions: count
|
|
7206
7259
|
});
|
|
7207
7260
|
|
|
7208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7209
7262
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7210
7263
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7211
7264
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7212
7265
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7213
7266
|
|
|
7214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7215
7268
|
var messageTranscript = strictObject({
|
|
7216
7269
|
message_id: id,
|
|
7217
7270
|
text,
|
|
@@ -7269,7 +7322,7 @@ var evidencePacket = strictObject({
|
|
|
7269
7322
|
}))
|
|
7270
7323
|
});
|
|
7271
7324
|
|
|
7272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7273
7326
|
var messageThread = strictObject({
|
|
7274
7327
|
ref: reference,
|
|
7275
7328
|
chat: id,
|
|
@@ -7286,7 +7339,7 @@ var messageThread = strictObject({
|
|
|
7286
7339
|
});
|
|
7287
7340
|
var messageContext = union([message, messageThread]);
|
|
7288
7341
|
|
|
7289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7290
7343
|
var messageCounts = strictObject({
|
|
7291
7344
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7292
7345
|
total: count,
|
|
@@ -7299,7 +7352,7 @@ var messageCounts = strictObject({
|
|
|
7299
7352
|
}))
|
|
7300
7353
|
});
|
|
7301
7354
|
|
|
7302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7303
7356
|
var messageLink = strictObject({
|
|
7304
7357
|
ref: reference,
|
|
7305
7358
|
url: nullable(text),
|
|
@@ -7316,7 +7369,7 @@ var messageLink = strictObject({
|
|
|
7316
7369
|
})))
|
|
7317
7370
|
});
|
|
7318
7371
|
|
|
7319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7320
7373
|
var messageWrite = strictObject({
|
|
7321
7374
|
operation_id: id,
|
|
7322
7375
|
message,
|
|
@@ -7331,7 +7384,7 @@ var draftWrite = strictObject({
|
|
|
7331
7384
|
});
|
|
7332
7385
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7333
7386
|
|
|
7334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7335
7388
|
var model = strictObject({
|
|
7336
7389
|
id,
|
|
7337
7390
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7366,7 +7419,7 @@ var chosenModel = strictObject({
|
|
|
7366
7419
|
estimate_seconds: nullable(count)
|
|
7367
7420
|
});
|
|
7368
7421
|
|
|
7369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7370
7423
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7371
7424
|
var modelKey = strictObject({
|
|
7372
7425
|
provider: text,
|
|
@@ -7376,7 +7429,7 @@ var modelKey = strictObject({
|
|
|
7376
7429
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7377
7430
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7378
7431
|
|
|
7379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7380
7433
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7381
7434
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7382
7435
|
var graph = strictObject({
|
|
@@ -7410,14 +7463,14 @@ var officialStats = strictObject({
|
|
|
7410
7463
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7411
7464
|
});
|
|
7412
7465
|
|
|
7413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7466
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7414
7467
|
var person2 = strictObject({
|
|
7415
7468
|
ref: reference,
|
|
7416
7469
|
name: nullable(text),
|
|
7417
7470
|
identities: optional(array(identity))
|
|
7418
7471
|
});
|
|
7419
7472
|
|
|
7420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7421
7474
|
var poll = strictObject({
|
|
7422
7475
|
chat_id: id,
|
|
7423
7476
|
message_id: id,
|
|
@@ -7433,11 +7486,11 @@ var poll = strictObject({
|
|
|
7433
7486
|
});
|
|
7434
7487
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7435
7488
|
|
|
7436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7437
7490
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7438
7491
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7439
7492
|
|
|
7440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7441
7494
|
var figures = record(string(), number());
|
|
7442
7495
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7443
7496
|
var rankingRow = strictObject({
|
|
@@ -7484,7 +7537,7 @@ var ranking = strictObject({
|
|
|
7484
7537
|
rows: array(rankingRow)
|
|
7485
7538
|
});
|
|
7486
7539
|
|
|
7487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7488
7541
|
var reaction = strictObject({
|
|
7489
7542
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7490
7543
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7492,7 +7545,7 @@ var reaction = strictObject({
|
|
|
7492
7545
|
reacted_at: time
|
|
7493
7546
|
});
|
|
7494
7547
|
|
|
7495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7496
7549
|
var reactionChange = strictObject({
|
|
7497
7550
|
operation_id: id,
|
|
7498
7551
|
chat_id: id,
|
|
@@ -7500,7 +7553,7 @@ var reactionChange = strictObject({
|
|
|
7500
7553
|
reaction: nullable(text)
|
|
7501
7554
|
});
|
|
7502
7555
|
|
|
7503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7504
7557
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7505
7558
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7506
7559
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7511,7 +7564,7 @@ var recipientChange = strictObject({
|
|
|
7511
7564
|
...partial(recipientOff).entries
|
|
7512
7565
|
});
|
|
7513
7566
|
|
|
7514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7515
7568
|
var events = array(record(string(), unknown()));
|
|
7516
7569
|
var recordedRun = strictObject({
|
|
7517
7570
|
run_id: id,
|
|
@@ -7583,7 +7636,7 @@ var runHit = strictObject({
|
|
|
7583
7636
|
});
|
|
7584
7637
|
var runLocation = strictObject({ path: text });
|
|
7585
7638
|
|
|
7586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7587
7640
|
var relationship = strictObject({
|
|
7588
7641
|
id,
|
|
7589
7642
|
from: reference,
|
|
@@ -7610,7 +7663,7 @@ var relationship = strictObject({
|
|
|
7610
7663
|
created_at: time
|
|
7611
7664
|
});
|
|
7612
7665
|
|
|
7613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7614
7667
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7615
7668
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7616
7669
|
var responseTimes = strictObject({
|
|
@@ -7627,7 +7680,7 @@ var waitingChats = strictObject({
|
|
|
7627
7680
|
by_kind: strictObject({ private: count, group: count })
|
|
7628
7681
|
});
|
|
7629
7682
|
|
|
7630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7631
7684
|
var retentionCohort = strictObject({
|
|
7632
7685
|
/** The first day of the joining day or week. */
|
|
7633
7686
|
cohort: text,
|
|
@@ -7675,7 +7728,7 @@ var retention = strictObject({
|
|
|
7675
7728
|
rows: array(retentionCohort)
|
|
7676
7729
|
});
|
|
7677
7730
|
|
|
7678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7679
7732
|
var savedSearch = strictObject({
|
|
7680
7733
|
id,
|
|
7681
7734
|
/** `null` for a run in the history. */
|
|
@@ -7692,7 +7745,7 @@ var savedSearch = strictObject({
|
|
|
7692
7745
|
});
|
|
7693
7746
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7694
7747
|
|
|
7695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7696
7749
|
var sendAttempt = strictObject({
|
|
7697
7750
|
at: time,
|
|
7698
7751
|
profile: text,
|
|
@@ -7720,7 +7773,7 @@ var sendAttempt = strictObject({
|
|
|
7720
7773
|
error_code: optional(text)
|
|
7721
7774
|
});
|
|
7722
7775
|
|
|
7723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7724
7777
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7725
7778
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7726
7779
|
var infoSchema = strictObject({
|
|
@@ -7950,7 +8003,7 @@ var storeRepair = union([
|
|
|
7950
8003
|
]);
|
|
7951
8004
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
7952
8005
|
|
|
7953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
7954
8007
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
7955
8008
|
var storeTable = strictObject({
|
|
7956
8009
|
name: text,
|
|
@@ -7959,7 +8012,7 @@ var storeTable = strictObject({
|
|
|
7959
8012
|
bytes: optional(nullable(count))
|
|
7960
8013
|
});
|
|
7961
8014
|
|
|
7962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
7963
8016
|
var tagTarget = variant("type", [
|
|
7964
8017
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
7965
8018
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -7990,7 +8043,7 @@ var automaticTags = strictObject({
|
|
|
7990
8043
|
dry_run: boolean()
|
|
7991
8044
|
});
|
|
7992
8045
|
|
|
7993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
7994
8047
|
var tagging = strictObject({
|
|
7995
8048
|
tag: text,
|
|
7996
8049
|
type: picklist(TAG_TYPES),
|
|
@@ -8003,7 +8056,7 @@ var tagging = strictObject({
|
|
|
8003
8056
|
created_at: time
|
|
8004
8057
|
});
|
|
8005
8058
|
|
|
8006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8007
8060
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8008
8061
|
var taskPair = strictObject({
|
|
8009
8062
|
task: nullable(side),
|
|
@@ -8026,7 +8079,7 @@ var taskPair = strictObject({
|
|
|
8026
8079
|
created_at: time
|
|
8027
8080
|
});
|
|
8028
8081
|
|
|
8029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8030
8083
|
var nullableTime = nullable(time);
|
|
8031
8084
|
var link = strictObject({
|
|
8032
8085
|
id,
|
|
@@ -8200,7 +8253,7 @@ var taskReview = strictObject({
|
|
|
8200
8253
|
untrusted
|
|
8201
8254
|
});
|
|
8202
8255
|
|
|
8203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8204
8257
|
var template = strictObject({
|
|
8205
8258
|
key: text,
|
|
8206
8259
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8212,7 +8265,7 @@ var template = strictObject({
|
|
|
8212
8265
|
updated_by: nullable(text)
|
|
8213
8266
|
});
|
|
8214
8267
|
|
|
8215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8216
8269
|
var topic = strictObject({
|
|
8217
8270
|
id,
|
|
8218
8271
|
title: text,
|
|
@@ -8226,7 +8279,7 @@ var topic = strictObject({
|
|
|
8226
8279
|
untrusted
|
|
8227
8280
|
});
|
|
8228
8281
|
|
|
8229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8230
8283
|
var ENTITIES = {
|
|
8231
8284
|
sync_progress: progress,
|
|
8232
8285
|
deal,
|
|
@@ -8525,7 +8578,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8525
8578
|
return [name, definition];
|
|
8526
8579
|
})), "entityDefinitions");
|
|
8527
8580
|
|
|
8528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8529
8582
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8530
8583
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8531
8584
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8559,7 +8612,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8559
8612
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8560
8613
|
}, "answerRow");
|
|
8561
8614
|
|
|
8562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8563
8616
|
var where = [{ field: "ref" }];
|
|
8564
8617
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8565
8618
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8651,7 +8704,7 @@ var STATUS_ROWS = {
|
|
|
8651
8704
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8652
8705
|
};
|
|
8653
8706
|
|
|
8654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
8655
8708
|
var TEXT_CHARS = 400;
|
|
8656
8709
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8657
8710
|
var messageRow = {
|
|
@@ -9019,7 +9072,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
9019
9072
|
return lines.concat(footerOf(body)).join("\n");
|
|
9020
9073
|
}, "compactText");
|
|
9021
9074
|
|
|
9022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9023
9076
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9024
9077
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9025
9078
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9057,7 +9110,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9057
9110
|
progress: "sync.progress"
|
|
9058
9111
|
};
|
|
9059
9112
|
|
|
9060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9061
9114
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9062
9115
|
const recording = startRecording(options);
|
|
9063
9116
|
try {
|
|
@@ -9272,7 +9325,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9272
9325
|
return void 0;
|
|
9273
9326
|
}, "partialOutcome");
|
|
9274
9327
|
|
|
9275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9276
9329
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9277
9330
|
var requests = new AsyncLocalStorage();
|
|
9278
9331
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9287,7 +9340,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9287
9340
|
return direct;
|
|
9288
9341
|
}, "exitCodeSet");
|
|
9289
9342
|
|
|
9290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9291
9344
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9292
9345
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9293
9346
|
messageId: message2.id,
|
|
@@ -9393,7 +9446,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9393
9446
|
}, "guardedWrite");
|
|
9394
9447
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9395
9448
|
|
|
9396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9397
9450
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9398
9451
|
if (ms2 === void 0)
|
|
9399
9452
|
return body();
|
|
@@ -9419,7 +9472,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9419
9472
|
}
|
|
9420
9473
|
}, "withDeadline");
|
|
9421
9474
|
|
|
9422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9423
9476
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9424
9477
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9425
9478
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9602,7 +9655,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9602
9655
|
}
|
|
9603
9656
|
}, "withAbort");
|
|
9604
9657
|
|
|
9605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9658
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9606
9659
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9607
9660
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9608
9661
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9689,7 +9742,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9689
9742
|
return void 0;
|
|
9690
9743
|
}, "sampleCommand");
|
|
9691
9744
|
|
|
9692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9693
9746
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9694
9747
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9695
9748
|
var AI_FIELDS = {
|
|
@@ -9733,7 +9786,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9733
9786
|
};
|
|
9734
9787
|
}, "resolveAISettings");
|
|
9735
9788
|
|
|
9736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9737
9790
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9738
9791
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9739
9792
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9747,7 +9800,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9747
9800
|
return ms2;
|
|
9748
9801
|
}, "parseDuration");
|
|
9749
9802
|
|
|
9750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9751
9804
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
9752
9805
|
import { join as join3 } from "node:path";
|
|
9753
9806
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9836,7 +9889,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9836
9889
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9837
9890
|
}, "registryProfiles");
|
|
9838
9891
|
|
|
9839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9840
9893
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
9841
9894
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
9842
9895
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10132,7 +10185,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10132
10185
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10133
10186
|
}, "readConfigFile");
|
|
10134
10187
|
|
|
10135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10188
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10136
10189
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
|
|
10137
10190
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10138
10191
|
var DEFAULT_CONFIG = {
|
|
@@ -10161,7 +10214,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10161
10214
|
}
|
|
10162
10215
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10163
10216
|
|
|
10164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
10165
10218
|
import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
10166
10219
|
import { join as join5 } from "node:path";
|
|
10167
10220
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10183,7 +10236,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10183
10236
|
}, "profilesWithAccounts");
|
|
10184
10237
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10185
10238
|
|
|
10186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10187
10240
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10188
10241
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10189
10242
|
const path2 = key.split(".");
|
|
@@ -10216,10 +10269,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10216
10269
|
};
|
|
10217
10270
|
}), "settingRows");
|
|
10218
10271
|
|
|
10219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10220
10273
|
import { existsSync as existsSync6 } from "node:fs";
|
|
10221
10274
|
|
|
10222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10223
10276
|
var HISTORY_MAX_DAYS = 1095;
|
|
10224
10277
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10225
10278
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10266,7 +10319,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10266
10319
|
return { batch: { ...batch, messages }, skipped };
|
|
10267
10320
|
}, "limitBatch");
|
|
10268
10321
|
|
|
10269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10270
10323
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10271
10324
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10272
10325
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10415,13 +10468,13 @@ var NoProfileHere = class extends CliError {
|
|
|
10415
10468
|
}
|
|
10416
10469
|
app;
|
|
10417
10470
|
constructor(app) {
|
|
10418
|
-
super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { profiles: [] });
|
|
10471
|
+
super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { reason: "profile.missing", profiles: [] });
|
|
10419
10472
|
this.app = app;
|
|
10420
10473
|
}
|
|
10421
10474
|
/** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
|
|
10422
10475
|
withoutSetup(words) {
|
|
10423
10476
|
const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
|
|
10424
|
-
return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { profiles: [] });
|
|
10477
|
+
return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { reason: "profile.missing", profiles: [] });
|
|
10425
10478
|
}
|
|
10426
10479
|
};
|
|
10427
10480
|
var first = /* @__PURE__ */ __name((candidates, fallback) => {
|
|
@@ -10499,7 +10552,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10499
10552
|
const here = profilesOf(config, env);
|
|
10500
10553
|
if (here.length === 0)
|
|
10501
10554
|
throw new NoProfileHere(app);
|
|
10502
|
-
throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { profiles: here });
|
|
10555
|
+
throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { reason: "profile.missing", profiles: here });
|
|
10503
10556
|
}, "unnamed");
|
|
10504
10557
|
const profilesOf = /* @__PURE__ */ __name((config, env) => profilesHere(app, [...namedProfiles(config), ...extension.profiles?.(env) ?? []], env), "profilesOf");
|
|
10505
10558
|
const botsOf = /* @__PURE__ */ __name((config, env) => [.../* @__PURE__ */ new Set([...Object.keys(config.bot?.profiles ?? {}), ...registryProfiles(app, env)])].sort(), "botsOf");
|
|
@@ -10746,9 +10799,11 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10746
10799
|
saveConfigFile(path2, config);
|
|
10747
10800
|
return added;
|
|
10748
10801
|
}, "migrate");
|
|
10802
|
+
const settingSchema = /* @__PURE__ */ __name((key) => Object.hasOwn(profileEntries, key) ? profileEntries[key] : void 0, "settingSchema");
|
|
10749
10803
|
return {
|
|
10750
10804
|
resolveSettings,
|
|
10751
10805
|
configuredProfiles,
|
|
10806
|
+
settingSchema,
|
|
10752
10807
|
changeSetting,
|
|
10753
10808
|
migrate,
|
|
10754
10809
|
declaredSettings,
|
|
@@ -10792,10 +10847,12 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10792
10847
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10793
10848
|
}, "given");
|
|
10794
10849
|
|
|
10795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
10796
10851
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
10797
10852
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
10798
10853
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
10854
|
+
var ANSWER_RESERVE_MS = 500;
|
|
10855
|
+
var oneMoreFits = /* @__PURE__ */ __name((deadline, at2, requestMs = DEFAULT_REQUEST_MS) => deadline !== void 0 && at2 + requestMs + ANSWER_RESERVE_MS < deadline.endsAt, "oneMoreFits");
|
|
10799
10856
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
10800
10857
|
var requestsFor = /* @__PURE__ */ __name((deadline, requestMs = DEFAULT_REQUEST_MS) => deadline === void 0 ? null : Math.max(1, Math.floor((deadline.ms - deadlineMargin(deadline)) / requestMs)), "requestsFor");
|
|
10801
10858
|
var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, requestMs, signal, now = Date.now } = {}) => {
|
|
@@ -10803,6 +10860,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10803
10860
|
const limit = fits === null ? requests2 ?? null : Math.min(fits, requests2 ?? fits);
|
|
10804
10861
|
const margin = deadline ? deadlineMargin(deadline) : 0;
|
|
10805
10862
|
let used = 0;
|
|
10863
|
+
let granted = false;
|
|
10806
10864
|
let stopped2 = null;
|
|
10807
10865
|
let last;
|
|
10808
10866
|
let slowest = 0;
|
|
@@ -10825,6 +10883,17 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10825
10883
|
last = at2;
|
|
10826
10884
|
return null;
|
|
10827
10885
|
},
|
|
10886
|
+
first() {
|
|
10887
|
+
if (granted || used > 0 || stopped2 !== "deadline")
|
|
10888
|
+
return false;
|
|
10889
|
+
const at2 = now();
|
|
10890
|
+
if (!oneMoreFits(deadline, at2, Math.max(requestMs ?? DEFAULT_REQUEST_MS, slowest)))
|
|
10891
|
+
return false;
|
|
10892
|
+
granted = true;
|
|
10893
|
+
used += 1;
|
|
10894
|
+
last = at2;
|
|
10895
|
+
return true;
|
|
10896
|
+
},
|
|
10828
10897
|
get used() {
|
|
10829
10898
|
return used;
|
|
10830
10899
|
},
|
|
@@ -10835,7 +10904,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10835
10904
|
};
|
|
10836
10905
|
}, "runBudget");
|
|
10837
10906
|
|
|
10838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10839
10908
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
10840
10909
|
const { deadline, signal, app } = environmentOf(command);
|
|
10841
10910
|
const now = deadline?.();
|
|
@@ -10981,7 +11050,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
10981
11050
|
return words.join(" ");
|
|
10982
11051
|
}, "commandPath");
|
|
10983
11052
|
|
|
10984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
10985
11054
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
10986
11055
|
var FETCH = { remote: "read", local: "write" };
|
|
10987
11056
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11133,7 +11202,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11133
11202
|
throw readOnlyRefusal(lock, what);
|
|
11134
11203
|
}, "refuseUnderReadOnly");
|
|
11135
11204
|
|
|
11136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11137
11206
|
import { join as join6 } from "node:path";
|
|
11138
11207
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11139
11208
|
var IMAGE_MODELS = [
|
|
@@ -11187,7 +11256,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11187
11256
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11188
11257
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11189
11258
|
|
|
11190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11191
11260
|
var STEPS2 = defineSteps([
|
|
11192
11261
|
...STEPS,
|
|
11193
11262
|
{
|
|
@@ -11477,7 +11546,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11477
11546
|
].join(" ");
|
|
11478
11547
|
}, "stepLine");
|
|
11479
11548
|
|
|
11480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11481
11550
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11482
11551
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11483
11552
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11535,7 +11604,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11535
11604
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11536
11605
|
}, "largeAnswerSteps");
|
|
11537
11606
|
|
|
11538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11539
11608
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11540
11609
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11541
11610
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11549,7 +11618,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11549
11618
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11550
11619
|
}, "strip");
|
|
11551
11620
|
|
|
11552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11553
11622
|
var OPEN = "\u27E6";
|
|
11554
11623
|
var CLOSE = "\u27E7";
|
|
11555
11624
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11633,7 +11702,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11633
11702
|
return result;
|
|
11634
11703
|
}, "withFieldsMarked");
|
|
11635
11704
|
|
|
11636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11637
11706
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11638
11707
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11639
11708
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11912,6 +11981,7 @@ export {
|
|
|
11912
11981
|
entityRows,
|
|
11913
11982
|
rowShapeOf,
|
|
11914
11983
|
compactText,
|
|
11984
|
+
deadlineMargin,
|
|
11915
11985
|
CORE_LOG_EVENTS,
|
|
11916
11986
|
recorded,
|
|
11917
11987
|
startRecording,
|
|
@@ -12049,6 +12119,8 @@ export {
|
|
|
12049
12119
|
stepLine,
|
|
12050
12120
|
tooLargeSteps,
|
|
12051
12121
|
withoutProviderRefs,
|
|
12122
|
+
untrustedMarkOf,
|
|
12123
|
+
withUntrustedMarked,
|
|
12052
12124
|
marksUntrusted,
|
|
12053
12125
|
answerSchema,
|
|
12054
12126
|
listOf,
|