@wirecat/zoom-cli 0.77.0 → 0.79.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-LDSHUH5W.js} +11 -11
- package/dist/bundle/answer-policy-VJK4ID2F.js +122 -0
- package/dist/bundle/{anthropic-TGJOKLUS.js → anthropic-UH3QWA3F.js} +6 -6
- package/dist/bundle/{app-server-OAODUFM3.js → app-server-LFANTLAJ.js} +72 -72
- package/dist/bundle/{bun-HJHVHJJV.js → bun-M3J2QTR3.js} +2 -2
- package/dist/bundle/{bun-sqlite-PLBOY6FP.js → bun-sqlite-NYP5UH23.js} +7 -7
- package/dist/bundle/{chunk-NOF6LABG.js → chunk-2GI63IPV.js} +2 -2
- package/dist/bundle/{chunk-CL6QAZGT.js → chunk-2IPIBDXI.js} +13 -13
- package/dist/bundle/{chunk-635GRAO5.js → chunk-2LJARGNG.js} +14 -13
- package/dist/bundle/{chunk-7S3N5CTA.js → chunk-2N57GL4L.js} +1 -1
- package/dist/bundle/{chunk-2QDD6S2R.js → chunk-2OTETB4A.js} +8 -8
- package/dist/bundle/{chunk-LUAS73NT.js → chunk-2PUMYKGV.js} +20 -118
- package/dist/bundle/{chunk-UGRGYLEI.js → chunk-2W6QGFHF.js} +8 -8
- package/dist/bundle/{chunk-NJJEUG4C.js → chunk-3AFZ6Q5N.js} +12 -12
- package/dist/bundle/{chunk-T4CI3YXW.js → chunk-3QPAD6YI.js} +6 -6
- package/dist/bundle/{chunk-77JQIY2V.js → chunk-4BQN5IFQ.js} +3 -3
- package/dist/bundle/{chunk-LWMDLXEO.js → chunk-4S7RUA3U.js} +3397 -3088
- package/dist/bundle/{chunk-QE4L2QQZ.js → chunk-4T3J4NCF.js} +9 -9
- package/dist/bundle/{chunk-ZUMKZOHR.js → chunk-525BI32C.js} +3 -3
- package/dist/bundle/{chunk-PO4RZ4XZ.js → chunk-52ZQ72HL.js} +1 -1
- package/dist/bundle/{chunk-CZ6OO66B.js → chunk-5KEOCHBZ.js} +4 -4
- package/dist/bundle/{chunk-KYKW2W6X.js → chunk-5RVXXDN7.js} +1 -1
- package/dist/bundle/{chunk-XVHDT4CO.js → chunk-63WT3HCY.js} +3 -3
- package/dist/bundle/{chunk-6YCFDDRO.js → chunk-65DOVVHQ.js} +1 -1
- package/dist/bundle/{chunk-SFPUSEOT.js → chunk-73L5R7AS.js} +2 -2
- package/dist/bundle/{chunk-QKNO3JTG.js → chunk-7DTWT7BN.js} +2 -2
- package/dist/bundle/{chunk-PM3MB3E7.js → chunk-AWLZZTPW.js} +3 -3
- package/dist/bundle/{chunk-CUJJZJ4R.js → chunk-AZB6QXZU.js} +38 -5
- package/dist/bundle/{chunk-QAGECFHL.js → chunk-BNEJKGG7.js} +31 -22
- package/dist/bundle/{chunk-MTH3JJHF.js → chunk-BOVYOUB3.js} +10 -10
- package/dist/bundle/{chunk-DCEQIKFD.js → chunk-BTFPDS52.js} +6 -6
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-CWXOXIWS.js} +1 -1
- package/dist/bundle/{chunk-7CMYNW3W.js → chunk-D264RGZ4.js} +4 -4
- package/dist/bundle/{chunk-H2EVYY5Z.js → chunk-DFCHHR5M.js} +1 -1
- package/dist/bundle/{chunk-ECRFXQHA.js → chunk-DI5JX4SD.js} +1 -1
- package/dist/bundle/{chunk-DDUNPLET.js → chunk-DQVCCO7G.js} +261 -177
- package/dist/bundle/{chunk-FDQE2CLT.js → chunk-E5WLE7BM.js} +1 -1
- package/dist/bundle/{chunk-JFVZVPRW.js → chunk-FIJREKLA.js} +3 -3
- package/dist/bundle/{chunk-DYIRJINE.js → chunk-FKA7DOCK.js} +1 -1
- package/dist/bundle/{chunk-TY4FFK2P.js → chunk-FMT4CIGN.js} +9 -60
- package/dist/bundle/{chunk-LMZUC4CS.js → chunk-FO5UNFFN.js} +4 -4
- package/dist/bundle/chunk-FPUGMDJV.js +7 -0
- package/dist/bundle/{chunk-ICZVSVTW.js → chunk-GTUBQQU2.js} +64 -61
- package/dist/bundle/{chunk-7SNU7RFU.js → chunk-HOXBHGP2.js} +12 -12
- package/dist/bundle/{chunk-SP5OMHOO.js → chunk-HVQVCGME.js} +3 -3
- package/dist/bundle/{chunk-A6LK2W5J.js → chunk-HZRQLAHO.js} +1 -1
- package/dist/bundle/{chunk-B7XFDMFV.js → chunk-I6VDTYML.js} +10 -10
- package/dist/bundle/{chunk-7DTU7QZP.js → chunk-I75KOOUD.js} +3 -3
- package/dist/bundle/{chunk-JMU3E2WA.js → chunk-IIFRJV3A.js} +2 -2
- package/dist/bundle/{chunk-W7UCN7MF.js → chunk-J62BQBVG.js} +3 -3
- package/dist/bundle/{chunk-MCLZ74II.js → chunk-JJGUHWLB.js} +7 -7
- package/dist/bundle/{chunk-NPDPD2H3.js → chunk-LCCVEX4R.js} +12 -12
- package/dist/bundle/{chunk-5A5W322G.js → chunk-LITZ7KPO.js} +2 -2
- package/dist/bundle/{chunk-YFN5A7OP.js → chunk-M4RXPZ6K.js} +4 -4
- package/dist/bundle/{chunk-GHBDYYPO.js → chunk-M5FW654Z.js} +2 -2
- package/dist/bundle/{chunk-6JRBMNRN.js → chunk-N5O3XVX3.js} +3 -3
- package/dist/bundle/{chunk-5KHCFIWI.js → chunk-ND7TBQKO.js} +2 -2
- package/dist/bundle/{chunk-QUGESVOE.js → chunk-NI7UYGTF.js} +13 -13
- package/dist/bundle/{chunk-5C6CRSEM.js → chunk-NKFEEY5M.js} +14 -29
- package/dist/bundle/{chunk-Q7ZW7XAX.js → chunk-NQMHYLZO.js} +20 -20
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-O3DYRCIT.js} +1 -1
- package/dist/bundle/{chunk-MIG4RLDB.js → chunk-OLMEJNL4.js} +6 -6
- package/dist/bundle/{chunk-NPIVV52M.js → chunk-ONJPUFLX.js} +1 -1
- package/dist/bundle/{chunk-36SI35XZ.js → chunk-OZQSTX4J.js} +5 -5
- package/dist/bundle/{chunk-OXXJW3A5.js → chunk-P4MZOAPC.js} +2843 -1647
- package/dist/bundle/{chunk-XC3MWABM.js → chunk-P4WHDL2F.js} +4 -4
- package/dist/bundle/{chunk-2QRGJSKO.js → chunk-PCPOO5FS.js} +2 -2
- package/dist/bundle/{chunk-LYVHQ6DJ.js → chunk-PJFVE7UH.js} +14 -14
- package/dist/bundle/{chunk-SVJQRG5N.js → chunk-PP6SZLCY.js} +103 -42
- package/dist/bundle/{chunk-XCA5N63N.js → chunk-QIK2IBJ4.js} +21 -7
- package/dist/bundle/{chunk-5C5UEKUJ.js → chunk-QRKSASGP.js} +3 -3
- package/dist/bundle/{chunk-3TLQF3DN.js → chunk-QX3PO5UE.js} +3 -3
- package/dist/bundle/{chunk-T6RSYDFA.js → chunk-RJ5JAYNZ.js} +361 -270
- package/dist/bundle/{chunk-4Z4VOQRR.js → chunk-RMQ7EALU.js} +17 -17
- package/dist/bundle/{chunk-IS6MUPN2.js → chunk-RMX2WPWS.js} +4 -4
- package/dist/bundle/{chunk-ZRNNMBPC.js → chunk-RUE3WP7K.js} +19 -19
- package/dist/bundle/{chunk-I3QMPQYD.js → chunk-SGFNQFP4.js} +38 -39
- package/dist/bundle/{chunk-4QNW4NK6.js → chunk-ST3ZB7LS.js} +1 -1
- package/dist/bundle/{chunk-F4ROWGLU.js → chunk-T6LA664Z.js} +65 -34
- package/dist/bundle/{chunk-7AFYZOHU.js → chunk-TLO62ROR.js} +26 -26
- package/dist/bundle/{chunk-MMAZUJBO.js → chunk-TP7GDWVF.js} +1 -1
- package/dist/bundle/{chunk-IUOKIZZN.js → chunk-TUECY6LV.js} +2 -2
- package/dist/bundle/{chunk-7ILGYNWX.js → chunk-U7QXC75C.js} +8 -8
- package/dist/bundle/{chunk-WD5OL5JB.js → chunk-UQKVZFIX.js} +12 -12
- package/dist/bundle/{chunk-SY5NGYKA.js → chunk-VX6ZSKXM.js} +12 -12
- package/dist/bundle/{chunk-OOIU36FA.js → chunk-W53EJOFQ.js} +1 -1
- package/dist/bundle/{chunk-VJ2TLU7R.js → chunk-W5HRTC6X.js} +6 -6
- package/dist/bundle/{chunk-STNZQBY4.js → chunk-W656MRJD.js} +6 -6
- package/dist/bundle/{chunk-NKKVVPL5.js → chunk-W7HM2VGO.js} +1 -1
- package/dist/bundle/chunk-WE4UFASG.js +88 -0
- package/dist/bundle/{chunk-ADJIYY33.js → chunk-X2M6NIQG.js} +1 -1
- package/dist/bundle/{chunk-VGERRRDC.js → chunk-XAOSZGTD.js} +1 -1
- package/dist/bundle/{chunk-IJTBB23F.js → chunk-XDBGGOE2.js} +27 -27
- package/dist/bundle/{chunk-375BH5OD.js → chunk-XEIL6VNA.js} +4 -4
- package/dist/bundle/{chunk-BOJCRTQW.js → chunk-XFMVDQ6J.js} +2 -2
- package/dist/bundle/{chunk-YJIGGUPI.js → chunk-XIHENZW6.js} +4 -4
- package/dist/bundle/{chunk-KHBSQROH.js → chunk-XOYMIEAZ.js} +9 -6
- package/dist/bundle/{chunk-JQUYHPQD.js → chunk-Y4UDPQ3L.js} +7 -7
- package/dist/bundle/{chunk-RQS3W4P6.js → chunk-Y64L7A7E.js} +6 -6
- package/dist/bundle/{chunk-CJL5GHTQ.js → chunk-YCW422X7.js} +3175 -1791
- package/dist/bundle/{chunk-FRC5QIPQ.js → chunk-YOBTKYIX.js} +8 -8
- package/dist/bundle/{chunk-IZMRQ3MV.js → chunk-Z3CPZ4I4.js} +10 -10
- package/dist/bundle/{chunk-E3UPMPUV.js → chunk-ZKVYV25H.js} +8 -8
- package/dist/bundle/{chunk-FS5HPXQN.js → chunk-ZPZT46O6.js} +35 -9
- package/dist/bundle/{cli-Y27PHKBV.js → cli-AVQU63FT.js} +123 -77
- package/dist/bundle/command-contract-MCWBL5VS.js +45 -0
- package/dist/bundle/{command-server-entry-AXQSW2X6.js → command-server-entry-JZP7Y73G.js} +35 -35
- package/dist/bundle/config-G3C54VH6.js +109 -0
- package/dist/bundle/{decode-ZRNOOTUZ.js → decode-JLAYH7GC.js} +6 -6
- package/dist/bundle/{dispatch-2GHGPAYH.js → dispatch-AWDROXWN.js} +9 -9
- package/dist/bundle/{dist-MUFVAMKB.js → dist-TBLTUL5M.js} +21 -21
- package/dist/bundle/{echarts-F4PHDYET.js → echarts-FVTUDXDU.js} +2 -2
- package/dist/bundle/{embed-KWHCKPCV.js → embed-CJRENDF7.js} +7 -7
- package/dist/bundle/{embedder-U3R3RY54.js → embedder-RPE67QJD.js} +10 -10
- package/dist/bundle/{failure-S2YXEN4A.js → failure-JZW73RP7.js} +3 -3
- package/dist/bundle/first-run-QEASX5J5.js +29 -0
- package/dist/bundle/first-screen-NGCQD3CU.js +45 -0
- package/dist/bundle/{folders-DVTRFQKW.js → folders-TGFOE7DY.js} +5 -5
- package/dist/bundle/{instructions-JU4YW6QY.js → instructions-HET7BCYK.js} +1 -1
- package/dist/bundle/{main-5UCRPACH.js → main-QRJ6NRCD.js} +24 -24
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-RGNRW77S.js} +2 -2
- package/dist/bundle/meeting-combined-AZXCDXCV.js +26 -0
- package/dist/bundle/meeting-model-7HNQ4I3J.js +26 -0
- package/dist/bundle/{meeting-semantic-5DKRGZFS.js → meeting-semantic-4MURLQCA.js} +8 -8
- package/dist/bundle/{meetings-T2UY35DV.js → meetings-QFZWKHI4.js} +21 -7
- package/dist/bundle/{node-MAVRAF4M.js → node-CXZIFHZC.js} +2 -2
- package/dist/bundle/{node-sqlite-TFBQ5NDI.js → node-sqlite-CZPYFROO.js} +8 -8
- package/dist/bundle/{oauth-7IG5HWSY.js → oauth-T45MPIZF.js} +8 -8
- package/dist/bundle/{open-3R3N7L3X.js → open-3AONZFET.js} +6 -6
- package/dist/bundle/openai-LHWUXEBO.js +28 -0
- package/dist/bundle/{output-file-KKHHAYWF.js → output-file-J4SU6X4I.js} +6 -6
- package/dist/bundle/{process-OIO254NR.js → process-5RUXWGYS.js} +1 -1
- package/dist/bundle/{program-IBYRU76H.js → program-2O4YSRWY.js} +96 -93
- package/dist/bundle/{prompt-LNEOO7PN.js → prompt-NDLUFCJV.js} +6 -6
- package/dist/bundle/{recognize-2WYLT3PC.js → recognize-CZOIAJQX.js} +5 -5
- package/dist/bundle/{remote-7EAJEIV7.js → remote-O3CE4Q3B.js} +11 -11
- package/dist/bundle/{rerank-DZBZ744F.js → rerank-MZOL746K.js} +8 -8
- package/dist/bundle/run-log-GX6LNMWY.js +136 -0
- package/dist/bundle/{serve-T3KQV5SS.js → serve-43IBHMFM.js} +10 -10
- package/dist/bundle/server-3E2PJGYK.js +85 -0
- package/dist/bundle/{server-2QQAQZ2J.js → server-6LTMPPTO.js} +64 -64
- package/dist/bundle/{services-DETAKMC3.js → services-UIRD5PHE.js} +60 -53
- package/dist/bundle/{speech-HD57JNTK.js → speech-6QVKIJVR.js} +25 -25
- package/dist/bundle/{sqlite-runtime-OCETZSEZ.js → sqlite-runtime-PKCIBVHZ.js} +7 -7
- package/dist/bundle/{state-ZKVQ4DBI.js → state-AC55V3IE.js} +7 -7
- package/dist/bundle/{store-7IZ2WMHF.js → store-OAGA2ZK3.js} +28 -24
- package/dist/bundle/{store-GEAQ7V5R.js → store-QOCYJNKX.js} +30 -26
- package/dist/bundle/store-connection-PBZMFY56.js +102 -0
- package/dist/bundle/store-maintenance-command-VBCHEOGI.js +77 -0
- package/dist/bundle/{streaming-CLBAO3MG.js → streaming-VDJOYGMO.js} +7 -7
- package/dist/bundle/{tokens-WH73ZWFI.js → tokens-LN442AO6.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-ZDTYMJET.js → zoom-app-TOCQ7LB5.js} +8 -8
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +1 -0
- package/dist/program-bindings.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +2 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -0
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +6 -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/chunk-VKE77B3F.js +0 -2
- 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
|
@@ -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-FO5UNFFN.js";
|
|
7
7
|
import {
|
|
8
8
|
ancestorValue,
|
|
9
9
|
envName,
|
|
10
10
|
readOnlyLockOf,
|
|
11
11
|
readOnlyRefusal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M5FW654Z.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-W53EJOFQ.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-JJGUHWLB.js";
|
|
26
26
|
import {
|
|
27
27
|
permissionCeiling
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XEIL6VNA.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-2OTETB4A.js";
|
|
43
43
|
import {
|
|
44
44
|
note
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-N5O3XVX3.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_RERANK_MODEL,
|
|
48
48
|
RERANK_MODELS
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-W656MRJD.js";
|
|
50
50
|
import {
|
|
51
51
|
endpoint
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-HVQVCGME.js";
|
|
53
53
|
import {
|
|
54
54
|
filesPresent,
|
|
55
55
|
sharedModelsDirectory
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-5KEOCHBZ.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-RUE3WP7K.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-OLMEJNL4.js";
|
|
105
105
|
import {
|
|
106
106
|
isCliFailure,
|
|
107
107
|
storeDamaged
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-ND7TBQKO.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-NI7UYGTF.js";
|
|
124
124
|
import {
|
|
125
125
|
TAG_TYPES
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-63WT3HCY.js";
|
|
127
127
|
import {
|
|
128
128
|
repairConfigText,
|
|
129
129
|
sharedConfigPath
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-ZKVYV25H.js";
|
|
131
131
|
import {
|
|
132
132
|
storePath
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-73L5R7AS.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-RJ5JAYNZ.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-Z3CPZ4I4.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-BNEJKGG7.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-ZPZT46O6.js";
|
|
223
224
|
import {
|
|
224
225
|
CliError,
|
|
225
226
|
isCliError
|
|
226
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
227
228
|
import {
|
|
228
229
|
visibleControls
|
|
229
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-5RVXXDN7.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.109.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.109.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.109.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.109.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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/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);
|
|
@@ -4750,6 +4800,16 @@ var taskLine = strictObject({
|
|
|
4750
4800
|
due_at: nullable(time)
|
|
4751
4801
|
});
|
|
4752
4802
|
var counts = { messages: count, mail: count, meetings: count };
|
|
4803
|
+
var touch = {
|
|
4804
|
+
kind: picklist(["message", "mail", "meeting"]),
|
|
4805
|
+
ref: reference,
|
|
4806
|
+
title: nullableText2,
|
|
4807
|
+
at: nullable(time),
|
|
4808
|
+
people: array(reference),
|
|
4809
|
+
text: optional(nullableText2),
|
|
4810
|
+
call: optional(meetingCall),
|
|
4811
|
+
duration_ms: optional(nullable(count))
|
|
4812
|
+
};
|
|
4753
4813
|
var personBusiness = strictObject({
|
|
4754
4814
|
organizations: section(strictObject({ ...related.entries, categories })),
|
|
4755
4815
|
reports_to: section(related),
|
|
@@ -4789,13 +4849,15 @@ var organizationContext = strictObject({
|
|
|
4789
4849
|
money,
|
|
4790
4850
|
/** Counts only, through its own people, in the accounts read. */
|
|
4791
4851
|
communications: strictObject({ ...counts, has_more: boolean() }),
|
|
4852
|
+
/** Its people's messages, mail and meetings, newest first. */
|
|
4853
|
+
history: section(strictObject(touch)),
|
|
4792
4854
|
tasks: section(taskLine),
|
|
4793
4855
|
coverage: coverage2
|
|
4794
4856
|
});
|
|
4795
4857
|
var { untrusted: _, ...dealRow } = deal.entries;
|
|
4796
4858
|
var dealContext = strictObject({
|
|
4797
4859
|
deal: strictObject(dealRow),
|
|
4798
|
-
stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time })),
|
|
4860
|
+
stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time, exact: boolean() })),
|
|
4799
4861
|
organization: nullable(strictObject({ ref: reference, name: nullableText2, categories })),
|
|
4800
4862
|
participants: section(related),
|
|
4801
4863
|
owner: nullable(related),
|
|
@@ -4804,14 +4866,7 @@ var dealContext = strictObject({
|
|
|
4804
4866
|
window: strictObject({ since: time, until: time }),
|
|
4805
4867
|
/** Shared people within its lifetime: `proposed`, an overlap of people, never a link. */
|
|
4806
4868
|
communications: strictObject({
|
|
4807
|
-
...section(strictObject({
|
|
4808
|
-
kind: picklist(["message", "mail", "meeting"]),
|
|
4809
|
-
ref: reference,
|
|
4810
|
-
title: nullableText2,
|
|
4811
|
-
at: nullable(time),
|
|
4812
|
-
people: array(reference),
|
|
4813
|
-
standing: literal("proposed")
|
|
4814
|
-
})).entries,
|
|
4869
|
+
...section(strictObject({ ...touch, standing: literal("proposed") })).entries,
|
|
4815
4870
|
counts: strictObject(counts)
|
|
4816
4871
|
}),
|
|
4817
4872
|
tasks: section(taskLine),
|
|
@@ -4838,7 +4893,7 @@ var dealBrief = strictObject({
|
|
|
4838
4893
|
not_read: coverage2.entries.not_read
|
|
4839
4894
|
});
|
|
4840
4895
|
|
|
4841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
4842
4897
|
var botProfile = strictObject({
|
|
4843
4898
|
name: text,
|
|
4844
4899
|
token: text,
|
|
@@ -4962,7 +5017,7 @@ var stickerInventory = strictObject({
|
|
|
4962
5017
|
url: optional(nullable(text))
|
|
4963
5018
|
});
|
|
4964
5019
|
|
|
4965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4966
5021
|
var actionableError = objectWithRest({
|
|
4967
5022
|
code: text,
|
|
4968
5023
|
message: text,
|
|
@@ -4979,7 +5034,7 @@ var batchResult = strictObject({
|
|
|
4979
5034
|
max_error_percent: count
|
|
4980
5035
|
});
|
|
4981
5036
|
|
|
4982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
4983
5038
|
var conversationBuild = strictObject({
|
|
4984
5039
|
chat: id,
|
|
4985
5040
|
messages: count,
|
|
@@ -5004,13 +5059,13 @@ var catchUpPreparation = strictObject({
|
|
|
5004
5059
|
prepared: optional(conversationPreparation)
|
|
5005
5060
|
});
|
|
5006
5061
|
|
|
5007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5008
5063
|
import { spawn } from "node:child_process";
|
|
5009
5064
|
import { randomBytes } from "node:crypto";
|
|
5010
5065
|
import { closeSync, existsSync as existsSync2, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
5011
5066
|
import { dirname, join as join2 } from "node:path";
|
|
5012
5067
|
|
|
5013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
5014
5069
|
import { existsSync, readFileSync, rmSync } from "node:fs";
|
|
5015
5070
|
import { join } from "node:path";
|
|
5016
5071
|
var PART = /^[\w@+-][\w.@+-]{0,99}$/;
|
|
@@ -5050,7 +5105,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
5050
5105
|
};
|
|
5051
5106
|
}, "progressOf");
|
|
5052
5107
|
|
|
5053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
5054
5109
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
5055
5110
|
const run = currentRun();
|
|
5056
5111
|
const trace = traceId ?? run.traceId;
|
|
@@ -5064,7 +5119,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
5064
5119
|
}));
|
|
5065
5120
|
}, "recordLogFor");
|
|
5066
5121
|
|
|
5067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
5068
5123
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
5069
5124
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
5070
5125
|
const out = openSync(log, "a", 384);
|
|
@@ -5219,7 +5274,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5219
5274
|
return { job: id6, pid, chat: input.chat, log };
|
|
5220
5275
|
}, "startArchiveJob");
|
|
5221
5276
|
|
|
5222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5223
5278
|
var problem = strictObject({ code: text, message: text });
|
|
5224
5279
|
var job = strictObject({
|
|
5225
5280
|
id,
|
|
@@ -5242,7 +5297,7 @@ var job = strictObject({
|
|
|
5242
5297
|
error: optional(problem)
|
|
5243
5298
|
});
|
|
5244
5299
|
|
|
5245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5246
5301
|
var extractionItem = strictObject({
|
|
5247
5302
|
ref: reference,
|
|
5248
5303
|
attachment: count,
|
|
@@ -5275,7 +5330,7 @@ var extractionReport = strictObject({
|
|
|
5275
5330
|
cursor: optional(text)
|
|
5276
5331
|
});
|
|
5277
5332
|
|
|
5278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5279
5334
|
var savedMessageFile = strictObject({
|
|
5280
5335
|
kind: text,
|
|
5281
5336
|
path: text,
|
|
@@ -5362,7 +5417,7 @@ var messageSyncAll = strictObject({
|
|
|
5362
5417
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5363
5418
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5364
5419
|
|
|
5365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5366
5421
|
var range = strictObject({ from: number(), to: number() });
|
|
5367
5422
|
var storeChatStatus = strictObject({
|
|
5368
5423
|
chat_id: id,
|
|
@@ -5460,7 +5515,7 @@ var storeJobRetry = union([
|
|
|
5460
5515
|
]);
|
|
5461
5516
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5462
5517
|
|
|
5463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5464
5519
|
var account = strictObject({
|
|
5465
5520
|
provider: text,
|
|
5466
5521
|
id,
|
|
@@ -5470,7 +5525,7 @@ var account = strictObject({
|
|
|
5470
5525
|
scope: optional(picklist(["personal", "work"]))
|
|
5471
5526
|
});
|
|
5472
5527
|
|
|
5473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5474
5529
|
var accountSession = strictObject({
|
|
5475
5530
|
current: boolean(),
|
|
5476
5531
|
client: nullable(text),
|
|
@@ -5480,7 +5535,7 @@ var accountSession = strictObject({
|
|
|
5480
5535
|
created_at: optional(nullable(time))
|
|
5481
5536
|
});
|
|
5482
5537
|
|
|
5483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5484
5539
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5485
5540
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5486
5541
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5509,7 +5564,7 @@ var accountRemoval = strictObject({
|
|
|
5509
5564
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5510
5565
|
});
|
|
5511
5566
|
|
|
5512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5513
5568
|
var accountProfile = strictObject({
|
|
5514
5569
|
profile: id,
|
|
5515
5570
|
current: boolean(),
|
|
@@ -5521,7 +5576,7 @@ var accountProfile = strictObject({
|
|
|
5521
5576
|
bot: optional(literal(true))
|
|
5522
5577
|
});
|
|
5523
5578
|
|
|
5524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5525
5580
|
var milliseconds = pipe(number(), minValue(0));
|
|
5526
5581
|
var counterReading = strictObject({
|
|
5527
5582
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5533,7 +5588,7 @@ var counterReading = strictObject({
|
|
|
5533
5588
|
});
|
|
5534
5589
|
var selection = record(string(), unknown());
|
|
5535
5590
|
|
|
5536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5537
5592
|
var adminRow = strictObject({
|
|
5538
5593
|
ref: reference,
|
|
5539
5594
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5586,7 +5641,7 @@ var adminReport = strictObject({
|
|
|
5586
5641
|
rows: array(adminRow)
|
|
5587
5642
|
});
|
|
5588
5643
|
|
|
5589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
5590
5645
|
var closeSuggestion = strictObject({
|
|
5591
5646
|
as: picklist(["done", "dismissed"]),
|
|
5592
5647
|
/** The agent's name. */
|
|
@@ -5648,7 +5703,7 @@ var task = strictObject({
|
|
|
5648
5703
|
updated_at: optional(time)
|
|
5649
5704
|
});
|
|
5650
5705
|
|
|
5651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
5652
5707
|
var agendaChat = strictObject({
|
|
5653
5708
|
chat: reference,
|
|
5654
5709
|
title: nullable(text),
|
|
@@ -5718,11 +5773,11 @@ var agenda = strictObject({
|
|
|
5718
5773
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
5719
5774
|
});
|
|
5720
5775
|
|
|
5721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
5722
5777
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5723
5778
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5724
5779
|
|
|
5725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
5726
5781
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5727
5782
|
var attachmentBytes = strictObject({
|
|
5728
5783
|
ref: reference,
|
|
@@ -5753,7 +5808,7 @@ var attachmentTextChange = strictObject({
|
|
|
5753
5808
|
text: optional(text)
|
|
5754
5809
|
});
|
|
5755
5810
|
|
|
5756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5757
5812
|
var chart = strictObject({
|
|
5758
5813
|
version: literal(1),
|
|
5759
5814
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5768,7 +5823,7 @@ var chart = strictObject({
|
|
|
5768
5823
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5769
5824
|
});
|
|
5770
5825
|
|
|
5771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5772
5827
|
var named = strictObject({
|
|
5773
5828
|
id,
|
|
5774
5829
|
title: nullable(text),
|
|
@@ -5791,7 +5846,7 @@ var folder = strictObject({
|
|
|
5791
5846
|
excluded_chats: optional(array(named))
|
|
5792
5847
|
});
|
|
5793
5848
|
|
|
5794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5795
5850
|
var inviteLink = strictObject({
|
|
5796
5851
|
link: text,
|
|
5797
5852
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5807,7 +5862,7 @@ var inviteLink = strictObject({
|
|
|
5807
5862
|
joined_count: optional(count)
|
|
5808
5863
|
});
|
|
5809
5864
|
|
|
5810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5865
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5811
5866
|
var operated = { operation_id: id, chat_id: id };
|
|
5812
5867
|
var group = strictObject({
|
|
5813
5868
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5887,7 +5942,7 @@ var chatFolderOrder = strictObject({
|
|
|
5887
5942
|
folders: array(strictObject({ id, title: text }))
|
|
5888
5943
|
});
|
|
5889
5944
|
|
|
5890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5891
5946
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5892
5947
|
var chatRemoval = strictObject(operated2);
|
|
5893
5948
|
var chatMuting = strictObject({
|
|
@@ -5898,7 +5953,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5898
5953
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5899
5954
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5900
5955
|
|
|
5901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5902
5957
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5903
5958
|
var chatEvent = strictObject({
|
|
5904
5959
|
chat_id: id,
|
|
@@ -5915,7 +5970,7 @@ var chatEvent = strictObject({
|
|
|
5915
5970
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5916
5971
|
});
|
|
5917
5972
|
|
|
5918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5973
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5919
5974
|
var chatMetadata = strictObject({
|
|
5920
5975
|
chat_id: id,
|
|
5921
5976
|
title: nullable(text),
|
|
@@ -5930,7 +5985,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5930
5985
|
has_more: boolean()
|
|
5931
5986
|
});
|
|
5932
5987
|
|
|
5933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5934
5989
|
var action = picklist(["report", "delete", "remove"]);
|
|
5935
5990
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5936
5991
|
var chatRules = strictObject({
|
|
@@ -5967,7 +6022,7 @@ var chatModeration = strictObject({
|
|
|
5967
6022
|
}))
|
|
5968
6023
|
});
|
|
5969
6024
|
|
|
5970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
5971
6026
|
var chatSending = strictObject({
|
|
5972
6027
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
5973
6028
|
meaning: text,
|
|
@@ -5977,7 +6032,7 @@ var chatSending = strictObject({
|
|
|
5977
6032
|
changed: optional(boolean())
|
|
5978
6033
|
});
|
|
5979
6034
|
|
|
5980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5981
6036
|
var optionalCount = optional(count);
|
|
5982
6037
|
var minutes = nullable(number());
|
|
5983
6038
|
var chatStats = strictObject({
|
|
@@ -6053,7 +6108,7 @@ var taskStats = strictObject({
|
|
|
6053
6108
|
}))
|
|
6054
6109
|
});
|
|
6055
6110
|
|
|
6056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
6057
6112
|
var memberCount = strictObject({
|
|
6058
6113
|
day: pipe(text, isoDate()),
|
|
6059
6114
|
participants: nullable(count),
|
|
@@ -6076,7 +6131,7 @@ var chatTracking = strictObject({
|
|
|
6076
6131
|
tracked: boolean()
|
|
6077
6132
|
});
|
|
6078
6133
|
|
|
6079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
6080
6135
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6081
6136
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
6082
6137
|
var profileFields = {
|
|
@@ -6114,7 +6169,7 @@ var profileFields = {
|
|
|
6114
6169
|
}))
|
|
6115
6170
|
};
|
|
6116
6171
|
|
|
6117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
6118
6173
|
var contact = strictObject({
|
|
6119
6174
|
ref: reference,
|
|
6120
6175
|
id,
|
|
@@ -6145,7 +6200,7 @@ var contact = strictObject({
|
|
|
6145
6200
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
6146
6201
|
});
|
|
6147
6202
|
|
|
6148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
6149
6204
|
var contactNote = strictObject({
|
|
6150
6205
|
id,
|
|
6151
6206
|
/** The contact, as a `contact:` reference. */
|
|
@@ -6157,13 +6212,13 @@ var contactNote = strictObject({
|
|
|
6157
6212
|
updated_at: time
|
|
6158
6213
|
});
|
|
6159
6214
|
|
|
6160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
6161
6216
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
6162
6217
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
6163
6218
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
6164
6219
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
6165
6220
|
|
|
6166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6167
6222
|
var conversation = strictObject({
|
|
6168
6223
|
id,
|
|
6169
6224
|
chat: reference,
|
|
@@ -6178,7 +6233,7 @@ var conversation = strictObject({
|
|
|
6178
6233
|
rules_version: count
|
|
6179
6234
|
});
|
|
6180
6235
|
|
|
6181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
6182
6237
|
var conversationDetails = union([
|
|
6183
6238
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
6184
6239
|
message
|
|
@@ -6268,7 +6323,7 @@ var conversationHit = strictObject({
|
|
|
6268
6323
|
stale: boolean()
|
|
6269
6324
|
});
|
|
6270
6325
|
|
|
6271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6272
6327
|
var counters = strictObject({
|
|
6273
6328
|
cutoff: time,
|
|
6274
6329
|
max_age_ms: milliseconds,
|
|
@@ -6298,7 +6353,7 @@ var counterRefresh = strictObject({
|
|
|
6298
6353
|
complete: optional(boolean())
|
|
6299
6354
|
});
|
|
6300
6355
|
|
|
6301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6302
6357
|
var document = strictObject({
|
|
6303
6358
|
ref: reference,
|
|
6304
6359
|
id,
|
|
@@ -6313,7 +6368,7 @@ var document = strictObject({
|
|
|
6313
6368
|
owners: optional(array(text))
|
|
6314
6369
|
});
|
|
6315
6370
|
|
|
6316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6317
6372
|
var documentLink = strictObject({
|
|
6318
6373
|
ref: reference,
|
|
6319
6374
|
url: text,
|
|
@@ -6324,7 +6379,7 @@ var documentLink = strictObject({
|
|
|
6324
6379
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6325
6380
|
});
|
|
6326
6381
|
|
|
6327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6328
6383
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6329
6384
|
var contribution = strictObject({
|
|
6330
6385
|
message: evidenceMessage,
|
|
@@ -6354,7 +6409,7 @@ var retentionStay = strictObject({
|
|
|
6354
6409
|
});
|
|
6355
6410
|
var evidence = union([contribution, retentionStay]);
|
|
6356
6411
|
|
|
6357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6358
6413
|
var fact = strictObject({
|
|
6359
6414
|
ref: reference,
|
|
6360
6415
|
id,
|
|
@@ -6385,7 +6440,7 @@ var fact = strictObject({
|
|
|
6385
6440
|
updated_at: time
|
|
6386
6441
|
});
|
|
6387
6442
|
|
|
6388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6389
6444
|
var hit = strictObject({
|
|
6390
6445
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6391
6446
|
ref: reference,
|
|
@@ -6433,7 +6488,7 @@ var hit = strictObject({
|
|
|
6433
6488
|
untrusted
|
|
6434
6489
|
});
|
|
6435
6490
|
|
|
6436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6437
6492
|
var identity = strictObject({
|
|
6438
6493
|
ref: reference,
|
|
6439
6494
|
provider: text,
|
|
@@ -6449,7 +6504,7 @@ var identity = strictObject({
|
|
|
6449
6504
|
person: optional(nullable(reference))
|
|
6450
6505
|
});
|
|
6451
6506
|
|
|
6452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6453
6508
|
var imageEmbedding = strictObject({
|
|
6454
6509
|
model: text,
|
|
6455
6510
|
embedded: count,
|
|
@@ -6458,7 +6513,7 @@ var imageEmbedding = strictObject({
|
|
|
6458
6513
|
more: boolean()
|
|
6459
6514
|
});
|
|
6460
6515
|
|
|
6461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6462
6517
|
var joinRequest = strictObject({
|
|
6463
6518
|
person_id: id,
|
|
6464
6519
|
name: nullable(text),
|
|
@@ -6469,7 +6524,7 @@ var joinRequest = strictObject({
|
|
|
6469
6524
|
about: optional(text)
|
|
6470
6525
|
});
|
|
6471
6526
|
|
|
6472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6473
6528
|
var pollVote = strictObject({
|
|
6474
6529
|
person_id: id,
|
|
6475
6530
|
name: nullable(text),
|
|
@@ -6479,7 +6534,7 @@ var pollVote = strictObject({
|
|
|
6479
6534
|
voted_at: time
|
|
6480
6535
|
});
|
|
6481
6536
|
|
|
6482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6483
6538
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6484
6539
|
var observation = strictObject({
|
|
6485
6540
|
value: pipe(number(), minValue(0)),
|
|
@@ -6521,7 +6576,7 @@ var serveSummary = strictObject({
|
|
|
6521
6576
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6522
6577
|
});
|
|
6523
6578
|
|
|
6524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6525
6580
|
var mailCounts = strictObject({
|
|
6526
6581
|
by: picklist(["day", "week", "sender"]),
|
|
6527
6582
|
received: count,
|
|
@@ -6536,7 +6591,7 @@ var mailCounts = strictObject({
|
|
|
6536
6591
|
}))
|
|
6537
6592
|
});
|
|
6538
6593
|
|
|
6539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6540
6595
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6541
6596
|
var base = { id, evidence: array(evidence2) };
|
|
6542
6597
|
var finding = variant("kind", [
|
|
@@ -6680,7 +6735,7 @@ var mailFindings = strictObject({
|
|
|
6680
6735
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6681
6736
|
});
|
|
6682
6737
|
|
|
6683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6684
6739
|
var mediaArchive = strictObject({
|
|
6685
6740
|
directory: text,
|
|
6686
6741
|
chats: count,
|
|
@@ -6712,7 +6767,7 @@ var mediaArchiveTimer = union([
|
|
|
6712
6767
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6713
6768
|
]);
|
|
6714
6769
|
|
|
6715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6716
6771
|
var preparationId = pipe(string(), minLength(1));
|
|
6717
6772
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6718
6773
|
var preparationTime = nullable(isoTime);
|
|
@@ -6804,7 +6859,7 @@ var preparationMeeting = strictObject({
|
|
|
6804
6859
|
updated_at: isoTime
|
|
6805
6860
|
});
|
|
6806
6861
|
|
|
6807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6808
6863
|
var meetingEvidence = preparationEvidence;
|
|
6809
6864
|
var meetingPersonContext = strictObject({
|
|
6810
6865
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6826,7 +6881,7 @@ var meetingPersonContext = strictObject({
|
|
|
6826
6881
|
})
|
|
6827
6882
|
});
|
|
6828
6883
|
|
|
6829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6830
6885
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6831
6886
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6832
6887
|
var finding2 = variant("kind", [
|
|
@@ -6864,7 +6919,7 @@ var meetingFindings = strictObject({
|
|
|
6864
6919
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6865
6920
|
});
|
|
6866
6921
|
|
|
6867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6868
6923
|
var communicationCoverage = strictObject({
|
|
6869
6924
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6870
6925
|
query: string(),
|
|
@@ -6909,7 +6964,7 @@ var preparationCommunications = strictObject({
|
|
|
6909
6964
|
}))
|
|
6910
6965
|
});
|
|
6911
6966
|
|
|
6912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6913
6968
|
var meetingPreparation = strictObject({
|
|
6914
6969
|
communications: optional(preparationCommunications),
|
|
6915
6970
|
schema_version: literal(1),
|
|
@@ -7022,7 +7077,7 @@ var meetingPreparation = strictObject({
|
|
|
7022
7077
|
})
|
|
7023
7078
|
});
|
|
7024
7079
|
|
|
7025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7080
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7026
7081
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7027
7082
|
var id3 = pipe(string(), minLength(1));
|
|
7028
7083
|
var text3 = string();
|
|
@@ -7086,7 +7141,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7086
7141
|
})
|
|
7087
7142
|
});
|
|
7088
7143
|
|
|
7089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7090
7145
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7091
7146
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7092
7147
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7116,7 +7171,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7116
7171
|
})
|
|
7117
7172
|
});
|
|
7118
7173
|
|
|
7119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7120
7175
|
var text4 = string();
|
|
7121
7176
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7122
7177
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7133,7 +7188,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7133
7188
|
persistence: literal("proposal-only")
|
|
7134
7189
|
});
|
|
7135
7190
|
|
|
7136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7137
7192
|
var memory = strictObject({
|
|
7138
7193
|
ref: reference,
|
|
7139
7194
|
id,
|
|
@@ -7161,7 +7216,7 @@ var memory = strictObject({
|
|
|
7161
7216
|
updated_at: time
|
|
7162
7217
|
});
|
|
7163
7218
|
|
|
7164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7165
7220
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7166
7221
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7167
7222
|
var mention = strictObject({
|
|
@@ -7205,13 +7260,13 @@ var mentionRebuild = strictObject({
|
|
|
7205
7260
|
mentions: count
|
|
7206
7261
|
});
|
|
7207
7262
|
|
|
7208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7209
7264
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7210
7265
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7211
7266
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7212
7267
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7213
7268
|
|
|
7214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7215
7270
|
var messageTranscript = strictObject({
|
|
7216
7271
|
message_id: id,
|
|
7217
7272
|
text,
|
|
@@ -7269,7 +7324,7 @@ var evidencePacket = strictObject({
|
|
|
7269
7324
|
}))
|
|
7270
7325
|
});
|
|
7271
7326
|
|
|
7272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7273
7328
|
var messageThread = strictObject({
|
|
7274
7329
|
ref: reference,
|
|
7275
7330
|
chat: id,
|
|
@@ -7286,7 +7341,7 @@ var messageThread = strictObject({
|
|
|
7286
7341
|
});
|
|
7287
7342
|
var messageContext = union([message, messageThread]);
|
|
7288
7343
|
|
|
7289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7290
7345
|
var messageCounts = strictObject({
|
|
7291
7346
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7292
7347
|
total: count,
|
|
@@ -7299,7 +7354,7 @@ var messageCounts = strictObject({
|
|
|
7299
7354
|
}))
|
|
7300
7355
|
});
|
|
7301
7356
|
|
|
7302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7303
7358
|
var messageLink = strictObject({
|
|
7304
7359
|
ref: reference,
|
|
7305
7360
|
url: nullable(text),
|
|
@@ -7316,7 +7371,7 @@ var messageLink = strictObject({
|
|
|
7316
7371
|
})))
|
|
7317
7372
|
});
|
|
7318
7373
|
|
|
7319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7374
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7320
7375
|
var messageWrite = strictObject({
|
|
7321
7376
|
operation_id: id,
|
|
7322
7377
|
message,
|
|
@@ -7331,7 +7386,7 @@ var draftWrite = strictObject({
|
|
|
7331
7386
|
});
|
|
7332
7387
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7333
7388
|
|
|
7334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7335
7390
|
var model = strictObject({
|
|
7336
7391
|
id,
|
|
7337
7392
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7366,7 +7421,7 @@ var chosenModel = strictObject({
|
|
|
7366
7421
|
estimate_seconds: nullable(count)
|
|
7367
7422
|
});
|
|
7368
7423
|
|
|
7369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7370
7425
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7371
7426
|
var modelKey = strictObject({
|
|
7372
7427
|
provider: text,
|
|
@@ -7376,7 +7431,7 @@ var modelKey = strictObject({
|
|
|
7376
7431
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7377
7432
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7378
7433
|
|
|
7379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7380
7435
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7381
7436
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7382
7437
|
var graph = strictObject({
|
|
@@ -7410,14 +7465,14 @@ var officialStats = strictObject({
|
|
|
7410
7465
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7411
7466
|
});
|
|
7412
7467
|
|
|
7413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7414
7469
|
var person2 = strictObject({
|
|
7415
7470
|
ref: reference,
|
|
7416
7471
|
name: nullable(text),
|
|
7417
7472
|
identities: optional(array(identity))
|
|
7418
7473
|
});
|
|
7419
7474
|
|
|
7420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7421
7476
|
var poll = strictObject({
|
|
7422
7477
|
chat_id: id,
|
|
7423
7478
|
message_id: id,
|
|
@@ -7433,11 +7488,11 @@ var poll = strictObject({
|
|
|
7433
7488
|
});
|
|
7434
7489
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7435
7490
|
|
|
7436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7437
7492
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7438
7493
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7439
7494
|
|
|
7440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7441
7496
|
var figures = record(string(), number());
|
|
7442
7497
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7443
7498
|
var rankingRow = strictObject({
|
|
@@ -7484,7 +7539,7 @@ var ranking = strictObject({
|
|
|
7484
7539
|
rows: array(rankingRow)
|
|
7485
7540
|
});
|
|
7486
7541
|
|
|
7487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7488
7543
|
var reaction = strictObject({
|
|
7489
7544
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7490
7545
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7492,7 +7547,7 @@ var reaction = strictObject({
|
|
|
7492
7547
|
reacted_at: time
|
|
7493
7548
|
});
|
|
7494
7549
|
|
|
7495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7496
7551
|
var reactionChange = strictObject({
|
|
7497
7552
|
operation_id: id,
|
|
7498
7553
|
chat_id: id,
|
|
@@ -7500,7 +7555,7 @@ var reactionChange = strictObject({
|
|
|
7500
7555
|
reaction: nullable(text)
|
|
7501
7556
|
});
|
|
7502
7557
|
|
|
7503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7504
7559
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7505
7560
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7506
7561
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7511,7 +7566,7 @@ var recipientChange = strictObject({
|
|
|
7511
7566
|
...partial(recipientOff).entries
|
|
7512
7567
|
});
|
|
7513
7568
|
|
|
7514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7515
7570
|
var events = array(record(string(), unknown()));
|
|
7516
7571
|
var recordedRun = strictObject({
|
|
7517
7572
|
run_id: id,
|
|
@@ -7583,7 +7638,7 @@ var runHit = strictObject({
|
|
|
7583
7638
|
});
|
|
7584
7639
|
var runLocation = strictObject({ path: text });
|
|
7585
7640
|
|
|
7586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7587
7642
|
var relationship = strictObject({
|
|
7588
7643
|
id,
|
|
7589
7644
|
from: reference,
|
|
@@ -7610,7 +7665,7 @@ var relationship = strictObject({
|
|
|
7610
7665
|
created_at: time
|
|
7611
7666
|
});
|
|
7612
7667
|
|
|
7613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7614
7669
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7615
7670
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7616
7671
|
var responseTimes = strictObject({
|
|
@@ -7627,7 +7682,7 @@ var waitingChats = strictObject({
|
|
|
7627
7682
|
by_kind: strictObject({ private: count, group: count })
|
|
7628
7683
|
});
|
|
7629
7684
|
|
|
7630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7631
7686
|
var retentionCohort = strictObject({
|
|
7632
7687
|
/** The first day of the joining day or week. */
|
|
7633
7688
|
cohort: text,
|
|
@@ -7675,7 +7730,7 @@ var retention = strictObject({
|
|
|
7675
7730
|
rows: array(retentionCohort)
|
|
7676
7731
|
});
|
|
7677
7732
|
|
|
7678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7679
7734
|
var savedSearch = strictObject({
|
|
7680
7735
|
id,
|
|
7681
7736
|
/** `null` for a run in the history. */
|
|
@@ -7692,7 +7747,7 @@ var savedSearch = strictObject({
|
|
|
7692
7747
|
});
|
|
7693
7748
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7694
7749
|
|
|
7695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7696
7751
|
var sendAttempt = strictObject({
|
|
7697
7752
|
at: time,
|
|
7698
7753
|
profile: text,
|
|
@@ -7720,7 +7775,7 @@ var sendAttempt = strictObject({
|
|
|
7720
7775
|
error_code: optional(text)
|
|
7721
7776
|
});
|
|
7722
7777
|
|
|
7723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7724
7779
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7725
7780
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7726
7781
|
var infoSchema = strictObject({
|
|
@@ -7950,7 +8005,7 @@ var storeRepair = union([
|
|
|
7950
8005
|
]);
|
|
7951
8006
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
7952
8007
|
|
|
7953
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
7954
8009
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
7955
8010
|
var storeTable = strictObject({
|
|
7956
8011
|
name: text,
|
|
@@ -7959,7 +8014,7 @@ var storeTable = strictObject({
|
|
|
7959
8014
|
bytes: optional(nullable(count))
|
|
7960
8015
|
});
|
|
7961
8016
|
|
|
7962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8017
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
7963
8018
|
var tagTarget = variant("type", [
|
|
7964
8019
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
7965
8020
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -7990,7 +8045,7 @@ var automaticTags = strictObject({
|
|
|
7990
8045
|
dry_run: boolean()
|
|
7991
8046
|
});
|
|
7992
8047
|
|
|
7993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
7994
8049
|
var tagging = strictObject({
|
|
7995
8050
|
tag: text,
|
|
7996
8051
|
type: picklist(TAG_TYPES),
|
|
@@ -8003,7 +8058,7 @@ var tagging = strictObject({
|
|
|
8003
8058
|
created_at: time
|
|
8004
8059
|
});
|
|
8005
8060
|
|
|
8006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8007
8062
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8008
8063
|
var taskPair = strictObject({
|
|
8009
8064
|
task: nullable(side),
|
|
@@ -8026,7 +8081,7 @@ var taskPair = strictObject({
|
|
|
8026
8081
|
created_at: time
|
|
8027
8082
|
});
|
|
8028
8083
|
|
|
8029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8030
8085
|
var nullableTime = nullable(time);
|
|
8031
8086
|
var link = strictObject({
|
|
8032
8087
|
id,
|
|
@@ -8200,7 +8255,7 @@ var taskReview = strictObject({
|
|
|
8200
8255
|
untrusted
|
|
8201
8256
|
});
|
|
8202
8257
|
|
|
8203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8204
8259
|
var template = strictObject({
|
|
8205
8260
|
key: text,
|
|
8206
8261
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8212,7 +8267,7 @@ var template = strictObject({
|
|
|
8212
8267
|
updated_by: nullable(text)
|
|
8213
8268
|
});
|
|
8214
8269
|
|
|
8215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8216
8271
|
var topic = strictObject({
|
|
8217
8272
|
id,
|
|
8218
8273
|
title: text,
|
|
@@ -8226,7 +8281,7 @@ var topic = strictObject({
|
|
|
8226
8281
|
untrusted
|
|
8227
8282
|
});
|
|
8228
8283
|
|
|
8229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8230
8285
|
var ENTITIES = {
|
|
8231
8286
|
sync_progress: progress,
|
|
8232
8287
|
deal,
|
|
@@ -8525,7 +8580,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8525
8580
|
return [name, definition];
|
|
8526
8581
|
})), "entityDefinitions");
|
|
8527
8582
|
|
|
8528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8529
8584
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8530
8585
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8531
8586
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8559,7 +8614,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8559
8614
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8560
8615
|
}, "answerRow");
|
|
8561
8616
|
|
|
8562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8563
8618
|
var where = [{ field: "ref" }];
|
|
8564
8619
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8565
8620
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8651,7 +8706,7 @@ var STATUS_ROWS = {
|
|
|
8651
8706
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8652
8707
|
};
|
|
8653
8708
|
|
|
8654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
8655
8710
|
var TEXT_CHARS = 400;
|
|
8656
8711
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8657
8712
|
var messageRow = {
|
|
@@ -9019,7 +9074,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
9019
9074
|
return lines.concat(footerOf(body)).join("\n");
|
|
9020
9075
|
}, "compactText");
|
|
9021
9076
|
|
|
9022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9023
9078
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9024
9079
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9025
9080
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9057,7 +9112,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9057
9112
|
progress: "sync.progress"
|
|
9058
9113
|
};
|
|
9059
9114
|
|
|
9060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9061
9116
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9062
9117
|
const recording = startRecording(options);
|
|
9063
9118
|
try {
|
|
@@ -9272,7 +9327,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9272
9327
|
return void 0;
|
|
9273
9328
|
}, "partialOutcome");
|
|
9274
9329
|
|
|
9275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9276
9331
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9277
9332
|
var requests = new AsyncLocalStorage();
|
|
9278
9333
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9287,7 +9342,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9287
9342
|
return direct;
|
|
9288
9343
|
}, "exitCodeSet");
|
|
9289
9344
|
|
|
9290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
9291
9346
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
9292
9347
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
9293
9348
|
messageId: message2.id,
|
|
@@ -9393,7 +9448,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9393
9448
|
}, "guardedWrite");
|
|
9394
9449
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9395
9450
|
|
|
9396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9397
9452
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9398
9453
|
if (ms2 === void 0)
|
|
9399
9454
|
return body();
|
|
@@ -9419,7 +9474,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9419
9474
|
}
|
|
9420
9475
|
}, "withDeadline");
|
|
9421
9476
|
|
|
9422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9423
9478
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9424
9479
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9425
9480
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9602,7 +9657,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9602
9657
|
}
|
|
9603
9658
|
}, "withAbort");
|
|
9604
9659
|
|
|
9605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9606
9661
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9607
9662
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9608
9663
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9689,7 +9744,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9689
9744
|
return void 0;
|
|
9690
9745
|
}, "sampleCommand");
|
|
9691
9746
|
|
|
9692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9693
9748
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9694
9749
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9695
9750
|
var AI_FIELDS = {
|
|
@@ -9733,7 +9788,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9733
9788
|
};
|
|
9734
9789
|
}, "resolveAISettings");
|
|
9735
9790
|
|
|
9736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9737
9792
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9738
9793
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9739
9794
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9747,7 +9802,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9747
9802
|
return ms2;
|
|
9748
9803
|
}, "parseDuration");
|
|
9749
9804
|
|
|
9750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9751
9806
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
9752
9807
|
import { join as join3 } from "node:path";
|
|
9753
9808
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9836,7 +9891,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9836
9891
|
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
9892
|
}, "registryProfiles");
|
|
9838
9893
|
|
|
9839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9840
9895
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
9841
9896
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
9842
9897
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -10132,7 +10187,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10132
10187
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10133
10188
|
}, "readConfigFile");
|
|
10134
10189
|
|
|
10135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10136
10191
|
import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
|
|
10137
10192
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
10138
10193
|
var DEFAULT_CONFIG = {
|
|
@@ -10161,7 +10216,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10161
10216
|
}
|
|
10162
10217
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10163
10218
|
|
|
10164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
10165
10220
|
import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
10166
10221
|
import { join as join5 } from "node:path";
|
|
10167
10222
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10183,7 +10238,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10183
10238
|
}, "profilesWithAccounts");
|
|
10184
10239
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10185
10240
|
|
|
10186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10187
10242
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10188
10243
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10189
10244
|
const path2 = key.split(".");
|
|
@@ -10216,10 +10271,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10216
10271
|
};
|
|
10217
10272
|
}), "settingRows");
|
|
10218
10273
|
|
|
10219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10220
10275
|
import { existsSync as existsSync6 } from "node:fs";
|
|
10221
10276
|
|
|
10222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10223
10278
|
var HISTORY_MAX_DAYS = 1095;
|
|
10224
10279
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10225
10280
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10266,7 +10321,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10266
10321
|
return { batch: { ...batch, messages }, skipped };
|
|
10267
10322
|
}, "limitBatch");
|
|
10268
10323
|
|
|
10269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10270
10325
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10271
10326
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10272
10327
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -10415,13 +10470,13 @@ var NoProfileHere = class extends CliError {
|
|
|
10415
10470
|
}
|
|
10416
10471
|
app;
|
|
10417
10472
|
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: [] });
|
|
10473
|
+
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
10474
|
this.app = app;
|
|
10420
10475
|
}
|
|
10421
10476
|
/** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
|
|
10422
10477
|
withoutSetup(words) {
|
|
10423
10478
|
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: [] });
|
|
10479
|
+
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
10480
|
}
|
|
10426
10481
|
};
|
|
10427
10482
|
var first = /* @__PURE__ */ __name((candidates, fallback) => {
|
|
@@ -10499,7 +10554,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10499
10554
|
const here = profilesOf(config, env);
|
|
10500
10555
|
if (here.length === 0)
|
|
10501
10556
|
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 });
|
|
10557
|
+
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
10558
|
}, "unnamed");
|
|
10504
10559
|
const profilesOf = /* @__PURE__ */ __name((config, env) => profilesHere(app, [...namedProfiles(config), ...extension.profiles?.(env) ?? []], env), "profilesOf");
|
|
10505
10560
|
const botsOf = /* @__PURE__ */ __name((config, env) => [.../* @__PURE__ */ new Set([...Object.keys(config.bot?.profiles ?? {}), ...registryProfiles(app, env)])].sort(), "botsOf");
|
|
@@ -10746,9 +10801,11 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
10746
10801
|
saveConfigFile(path2, config);
|
|
10747
10802
|
return added;
|
|
10748
10803
|
}, "migrate");
|
|
10804
|
+
const settingSchema = /* @__PURE__ */ __name((key) => Object.hasOwn(profileEntries, key) ? profileEntries[key] : void 0, "settingSchema");
|
|
10749
10805
|
return {
|
|
10750
10806
|
resolveSettings,
|
|
10751
10807
|
configuredProfiles,
|
|
10808
|
+
settingSchema,
|
|
10752
10809
|
changeSetting,
|
|
10753
10810
|
migrate,
|
|
10754
10811
|
declaredSettings,
|
|
@@ -10792,10 +10849,12 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10792
10849
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10793
10850
|
}, "given");
|
|
10794
10851
|
|
|
10795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
10796
10853
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
10797
10854
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
10798
10855
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
10856
|
+
var ANSWER_RESERVE_MS = 500;
|
|
10857
|
+
var oneMoreFits = /* @__PURE__ */ __name((deadline, at2, requestMs = DEFAULT_REQUEST_MS) => deadline !== void 0 && at2 + requestMs + ANSWER_RESERVE_MS < deadline.endsAt, "oneMoreFits");
|
|
10799
10858
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
10800
10859
|
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
10860
|
var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, requestMs, signal, now = Date.now } = {}) => {
|
|
@@ -10803,6 +10862,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10803
10862
|
const limit = fits === null ? requests2 ?? null : Math.min(fits, requests2 ?? fits);
|
|
10804
10863
|
const margin = deadline ? deadlineMargin(deadline) : 0;
|
|
10805
10864
|
let used = 0;
|
|
10865
|
+
let granted = false;
|
|
10806
10866
|
let stopped2 = null;
|
|
10807
10867
|
let last;
|
|
10808
10868
|
let slowest = 0;
|
|
@@ -10825,6 +10885,17 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10825
10885
|
last = at2;
|
|
10826
10886
|
return null;
|
|
10827
10887
|
},
|
|
10888
|
+
first() {
|
|
10889
|
+
if (granted || used > 0 || stopped2 !== "deadline")
|
|
10890
|
+
return false;
|
|
10891
|
+
const at2 = now();
|
|
10892
|
+
if (!oneMoreFits(deadline, at2, Math.max(requestMs ?? DEFAULT_REQUEST_MS, slowest)))
|
|
10893
|
+
return false;
|
|
10894
|
+
granted = true;
|
|
10895
|
+
used += 1;
|
|
10896
|
+
last = at2;
|
|
10897
|
+
return true;
|
|
10898
|
+
},
|
|
10828
10899
|
get used() {
|
|
10829
10900
|
return used;
|
|
10830
10901
|
},
|
|
@@ -10835,7 +10906,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
10835
10906
|
};
|
|
10836
10907
|
}, "runBudget");
|
|
10837
10908
|
|
|
10838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10839
10910
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
10840
10911
|
const { deadline, signal, app } = environmentOf(command);
|
|
10841
10912
|
const now = deadline?.();
|
|
@@ -10861,9 +10932,17 @@ var provide = /* @__PURE__ */ __name((program2, environment) => {
|
|
|
10861
10932
|
environments.set(program2, environment);
|
|
10862
10933
|
}, "provide");
|
|
10863
10934
|
var environmentOf = /* @__PURE__ */ __name((command) => environments.get(rootOf(command)) ?? {}, "environmentOf");
|
|
10935
|
+
var PAGING = ["page", "limit", "all"];
|
|
10936
|
+
var withoutOwnPaging = /* @__PURE__ */ __name((command, flags) => {
|
|
10937
|
+
if (metaOf(command).origin !== "generated")
|
|
10938
|
+
return flags;
|
|
10939
|
+
const own = PAGING.filter((name) => command.options.some((option) => option.attributeName() === name));
|
|
10940
|
+
return own.length > 0 ? Object.fromEntries(Object.entries(flags).filter(([name]) => !own.includes(name))) : flags;
|
|
10941
|
+
}, "withoutOwnPaging");
|
|
10864
10942
|
var withAgentLevels = /* @__PURE__ */ __name((command, flags) => {
|
|
10865
10943
|
const overrides = environmentOf(command).agent?.overrides ?? [];
|
|
10866
|
-
|
|
10944
|
+
const read = withoutOwnPaging(command, flags);
|
|
10945
|
+
return overrides.length > 0 ? { ...read, permission: [...overrides, ...read.permission ?? []] } : read;
|
|
10867
10946
|
}, "withAgentLevels");
|
|
10868
10947
|
var secretInputOf = /* @__PURE__ */ __name((command) => {
|
|
10869
10948
|
const { stdin, stderr } = environmentOf(command);
|
|
@@ -10981,7 +11060,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
10981
11060
|
return words.join(" ");
|
|
10982
11061
|
}, "commandPath");
|
|
10983
11062
|
|
|
10984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
10985
11064
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
10986
11065
|
var FETCH = { remote: "read", local: "write" };
|
|
10987
11066
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11133,7 +11212,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11133
11212
|
throw readOnlyRefusal(lock, what);
|
|
11134
11213
|
}, "refuseUnderReadOnly");
|
|
11135
11214
|
|
|
11136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11137
11216
|
import { join as join6 } from "node:path";
|
|
11138
11217
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11139
11218
|
var IMAGE_MODELS = [
|
|
@@ -11187,7 +11266,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11187
11266
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11188
11267
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11189
11268
|
|
|
11190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11191
11270
|
var STEPS2 = defineSteps([
|
|
11192
11271
|
...STEPS,
|
|
11193
11272
|
{
|
|
@@ -11477,7 +11556,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11477
11556
|
].join(" ");
|
|
11478
11557
|
}, "stepLine");
|
|
11479
11558
|
|
|
11480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11481
11560
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11482
11561
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11483
11562
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11535,7 +11614,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11535
11614
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11536
11615
|
}, "largeAnswerSteps");
|
|
11537
11616
|
|
|
11538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11539
11618
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11540
11619
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11541
11620
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11549,7 +11628,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11549
11628
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11550
11629
|
}, "strip");
|
|
11551
11630
|
|
|
11552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11553
11632
|
var OPEN = "\u27E6";
|
|
11554
11633
|
var CLOSE = "\u27E7";
|
|
11555
11634
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11633,7 +11712,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11633
11712
|
return result;
|
|
11634
11713
|
}, "withFieldsMarked");
|
|
11635
11714
|
|
|
11636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11637
11716
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11638
11717
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11639
11718
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11912,6 +11991,8 @@ export {
|
|
|
11912
11991
|
entityRows,
|
|
11913
11992
|
rowShapeOf,
|
|
11914
11993
|
compactText,
|
|
11994
|
+
ANSWER_RESERVE_MS,
|
|
11995
|
+
deadlineMargin,
|
|
11915
11996
|
CORE_LOG_EVENTS,
|
|
11916
11997
|
recorded,
|
|
11917
11998
|
startRecording,
|
|
@@ -11987,6 +12068,7 @@ export {
|
|
|
11987
12068
|
setExitCode,
|
|
11988
12069
|
provide,
|
|
11989
12070
|
environmentOf,
|
|
12071
|
+
withoutOwnPaging,
|
|
11990
12072
|
withAgentLevels,
|
|
11991
12073
|
secretInputOf,
|
|
11992
12074
|
outputFieldsOf,
|
|
@@ -12049,6 +12131,8 @@ export {
|
|
|
12049
12131
|
stepLine,
|
|
12050
12132
|
tooLargeSteps,
|
|
12051
12133
|
withoutProviderRefs,
|
|
12134
|
+
untrustedMarkOf,
|
|
12135
|
+
withUntrustedMarked,
|
|
12052
12136
|
marksUntrusted,
|
|
12053
12137
|
answerSchema,
|
|
12054
12138
|
listOf,
|