@wirecat/amo-cli 0.2.0 → 0.4.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/CHANGELOG.md +47 -0
- package/README.md +19 -14
- package/contracts/wirecat.json +58 -19
- package/dist/amo/button.d.ts +53 -0
- package/dist/amo/button.d.ts.map +1 -0
- package/dist/amo/button.js +234 -0
- package/dist/amo/button.js.map +1 -0
- package/dist/amo/oauth.d.ts +12 -3
- package/dist/amo/oauth.d.ts.map +1 -1
- package/dist/amo/oauth.js +19 -6
- package/dist/amo/oauth.js.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-43BMVBX2.js +40 -0
- package/dist/bundle/{all-profiles-3KQVWDV4.js → all-profiles-PRNXEZRH.js} +63 -21
- package/dist/bundle/amo.js +28 -26
- package/dist/bundle/{anthropic-N5NOX7K7.js → anthropic-FDI24DU2.js} +5 -5
- package/dist/bundle/{app-server-2MST5EZ5.js → app-server-WAKJVDLN.js} +79 -68
- package/dist/bundle/{bun-4NHWOFX2.js → bun-YPXUXMBI.js} +2 -2
- package/dist/bundle/{bun-sqlite-DRSXPWPR.js → bun-sqlite-UBQ5M47X.js} +6 -6
- package/dist/bundle/chunk-23AQD7JU.js +559 -0
- package/dist/bundle/{chunk-2I5UVMLW.js → chunk-2AIG2SSJ.js} +1733 -1160
- package/dist/bundle/{chunk-DQV2IKCF.js → chunk-2UJ7ZZZC.js} +10 -3
- package/dist/bundle/{chunk-ODNQU7DH.js → chunk-3K6T2G52.js} +43 -64
- package/dist/bundle/chunk-3PCVQCCV.js +108 -0
- package/dist/bundle/{chunk-UMVRT7VQ.js → chunk-3WG4MTQI.js} +1 -1
- package/dist/bundle/chunk-4PQECIU2.js +30 -0
- package/dist/bundle/{chunk-T2UDLX76.js → chunk-5HZMXHRH.js} +6 -6
- package/dist/bundle/{chunk-P3WQRTYZ.js → chunk-5II6TAJE.js} +1 -1
- package/dist/bundle/{chunk-RPWAJYI6.js → chunk-5SJEJYQZ.js} +3 -3
- package/dist/bundle/{chunk-5QFHNBGB.js → chunk-6PILR4AX.js} +2 -2
- package/dist/bundle/{chunk-TNUFLULO.js → chunk-6QMSKJB4.js} +8 -8
- package/dist/bundle/{chunk-5RLUHTK6.js → chunk-745FMNI5.js} +1 -1
- package/dist/bundle/{chunk-AUBB72VF.js → chunk-7OVTUADG.js} +41 -10
- package/dist/bundle/{chunk-7U5HJEPZ.js → chunk-A4W7J6VN.js} +34 -22
- package/dist/bundle/chunk-ABMPZL2P.js +734 -0
- package/dist/bundle/{chunk-EROSAUNP.js → chunk-AN6IJYH3.js} +5 -5
- package/dist/bundle/{chunk-SZ2V62HB.js → chunk-AP3CWDRK.js} +2 -2
- package/dist/bundle/{chunk-ESZSMZKT.js → chunk-ASU63X5C.js} +2 -2
- package/dist/bundle/{chunk-EPOV5UIO.js → chunk-BCIZAUDV.js} +11 -11
- package/dist/bundle/{chunk-7PKFYX7V.js → chunk-CEBX63XY.js} +8 -8
- package/dist/bundle/{chunk-7GTUZY7M.js → chunk-CYHIM5SL.js} +3 -3
- package/dist/bundle/chunk-DWA5TZMP.js +209 -0
- package/dist/bundle/{chunk-LDEBZ3IX.js → chunk-DWD3KDJA.js} +1 -1
- package/dist/bundle/{chunk-GQ7VFIYM.js → chunk-E3EWS6DF.js} +23 -7
- package/dist/bundle/{chunk-NJYAL3UW.js → chunk-EAX5RO7S.js} +1 -1
- package/dist/bundle/{chunk-LJQUYECN.js → chunk-EBNCUQLV.js} +1 -1
- package/dist/bundle/{chunk-UBRREVLJ.js → chunk-ELAKOEIO.js} +2 -2
- package/dist/bundle/{chunk-DAY6TSPF.js → chunk-FEUNZG7U.js} +62 -50
- package/dist/bundle/{chunk-63F65DHU.js → chunk-FQRP6JWX.js} +2 -2
- package/dist/bundle/{chunk-SMSTGO2G.js → chunk-G3LAYJJJ.js} +4 -4
- package/dist/bundle/{chunk-LGQXGOPJ.js → chunk-GBQ76X6T.js} +2 -2
- package/dist/bundle/{chunk-CHUKWON6.js → chunk-GJBOZAUD.js} +3 -3
- package/dist/bundle/{chunk-A33TIM5D.js → chunk-GMHRPX5M.js} +225 -225
- package/dist/bundle/{chunk-O2UCU52O.js → chunk-GQKEMBM6.js} +171 -569
- package/dist/bundle/{chunk-EQUKVVHX.js → chunk-HDZNSOV5.js} +7 -7
- package/dist/bundle/{chunk-ZM7I52EP.js → chunk-HZZ56JO7.js} +3 -4
- package/dist/bundle/{chunk-XQL7FEF4.js → chunk-IBEHYGG6.js} +9 -9
- package/dist/bundle/{chunk-U7RLVJ34.js → chunk-IPNIF5JE.js} +4 -4
- package/dist/bundle/{chunk-QDMXZZG4.js → chunk-KBAOJISR.js} +18 -8
- package/dist/bundle/{chunk-ADEWU4P4.js → chunk-KORZEYZN.js} +1 -1
- package/dist/bundle/{chunk-JMDLPBXK.js → chunk-KQZTX4LM.js} +17 -17
- package/dist/bundle/{chunk-NHXJYS4R.js → chunk-KRD375P7.js} +32 -28
- package/dist/bundle/{chunk-ULXQ5MJM.js → chunk-LAR2DLTI.js} +4 -4
- package/dist/bundle/{chunk-NC76INB2.js → chunk-LZ4IWN43.js} +3088 -2266
- package/dist/bundle/{chunk-BVMNXI53.js → chunk-M33XHJTM.js} +25 -25
- package/dist/bundle/{chunk-WCYCUTSK.js → chunk-M54YKD3I.js} +7 -7
- package/dist/bundle/{chunk-LSND5QYI.js → chunk-MW7HUD6R.js} +9 -9
- package/dist/bundle/{chunk-AHJ4W2IL.js → chunk-NFWD4QX3.js} +2 -2
- package/dist/bundle/{chunk-PM77PRB6.js → chunk-NKYWQTS2.js} +189 -163
- package/dist/bundle/{chunk-LRBPT7LQ.js → chunk-NXNUCGGO.js} +6 -6
- package/dist/bundle/{chunk-5D4Z2B5B.js → chunk-O3WE5IGP.js} +9 -9
- package/dist/bundle/chunk-OYMHPQF7.js +52 -0
- package/dist/bundle/{chunk-VVHRQ46X.js → chunk-PIOR6PIO.js} +2 -2
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-XEFAMLSD.js → chunk-PL7TNKAY.js} +3 -3
- package/dist/bundle/chunk-PLU2IQXC.js +80 -0
- package/dist/bundle/{chunk-73CXFE36.js → chunk-QGFURWEP.js} +29 -1
- package/dist/bundle/{chunk-CDY2NJFE.js → chunk-RQPB2BSH.js} +2 -2
- package/dist/bundle/{chunk-QRQYUHCZ.js → chunk-S6DTLAOB.js} +12 -12
- package/dist/bundle/{chunk-DJD7TBYG.js → chunk-SCMB4LI6.js} +76 -74
- package/dist/bundle/{chunk-TGEQNS6G.js → chunk-SFZVMKB6.js} +1 -1
- package/dist/bundle/{chunk-PFO76YFP.js → chunk-SHOSFYI7.js} +18 -18
- package/dist/bundle/{chunk-5SBLU7D7.js → chunk-SMM7GS4Q.js} +1 -1
- package/dist/bundle/{chunk-EQ7A6NA6.js → chunk-SNBYFQHT.js} +1 -1
- package/dist/bundle/{chunk-GNTJMB6X.js → chunk-SZX7EPPY.js} +4 -4
- package/dist/bundle/{chunk-VX37MPTJ.js → chunk-TCSVW7BA.js} +1 -1
- package/dist/bundle/{chunk-P5LYZRKW.js → chunk-TEGQVVCZ.js} +1992 -885
- package/dist/bundle/{chunk-Q2VNBY4Y.js → chunk-TIR3AB35.js} +758 -1205
- package/dist/bundle/{chunk-5HGGG3QO.js → chunk-U46RNOEQ.js} +16 -3
- package/dist/bundle/{chunk-Y37A3232.js → chunk-UCM7C773.js} +130 -8
- package/dist/bundle/{chunk-L6AFE73L.js → chunk-UEN5NWNW.js} +1 -1
- package/dist/bundle/{chunk-6RS7OYTD.js → chunk-V2QWX6B3.js} +3 -3
- package/dist/bundle/{chunk-3IRJDH2U.js → chunk-V5SETIQK.js} +2 -100
- package/dist/bundle/{chunk-JR6TSMFX.js → chunk-VEFAYLKX.js} +103 -70
- package/dist/bundle/{chunk-CUZRHF34.js → chunk-VG26HDKH.js} +4 -4
- package/dist/bundle/{chunk-4ZAK773N.js → chunk-VG2ERHFJ.js} +3 -3
- package/dist/bundle/{chunk-CHH42KI4.js → chunk-WAFB3IWJ.js} +8 -8
- package/dist/bundle/{chunk-5Z5PEEKP.js → chunk-WASBOYI2.js} +4 -4
- package/dist/bundle/{chunk-DXGGCGRP.js → chunk-WEWJA42Q.js} +14 -14
- package/dist/bundle/chunk-WR2FPZTE.js +353 -0
- package/dist/bundle/chunk-XEYT2EQT.js +338 -0
- package/dist/bundle/{chunk-DOSJONCX.js → chunk-YFRTEJ6V.js} +7 -7
- package/dist/bundle/{chunk-XRTD2GCU.js → chunk-YHVHDRED.js} +19 -258
- package/dist/bundle/{chunk-JH3UOHRE.js → chunk-YREKMP24.js} +4 -4
- package/dist/bundle/{chunk-V77XNPXG.js → chunk-Z2B3VNRI.js} +11 -11
- package/dist/bundle/{chunk-FKR3M62D.js → chunk-ZJC2XJQC.js} +13 -13
- package/dist/bundle/{chunk-5E5R65CA.js → chunk-ZKRWNL4T.js} +2 -2
- package/dist/bundle/{cli-QVWTXADI.js → cli-QDPKC2HJ.js} +150 -103
- package/dist/bundle/command-contract-KWNCP3MQ.js +39 -0
- package/dist/bundle/{command-server-entry-5VL5U5EE.js → command-server-entry-TX7WNN7G.js} +28 -28
- package/dist/bundle/{decode-SQ5WGNDX.js → decode-BLPC7OYE.js} +5 -5
- package/dist/bundle/{dispatch-LA4DFXJD.js → dispatch-5JUT55CS.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-25Z3RINX.js → echarts-54D3FOCL.js} +2 -2
- package/dist/bundle/{embed-BNOTNXMA.js → embed-O7KMDYM7.js} +6 -6
- package/dist/bundle/{embedder-BCUT7KKV.js → embedder-4PE67CLX.js} +9 -9
- package/dist/bundle/{failure-PKAC6XCT.js → failure-NNQYTB3Z.js} +2 -2
- package/dist/bundle/{first-run-EO5K5GME.js → first-run-EAU5SHBI.js} +12 -12
- package/dist/bundle/first-screen-APSNGZYZ.js +39 -0
- package/dist/bundle/{instructions-VLM3QAYB.js → instructions-ONXP5DZQ.js} +1 -1
- package/dist/bundle/{mcp-7ILNMJH5.js → mcp-ZNULRPZ4.js} +2 -2
- package/dist/bundle/meeting-combined-W2XIYXFU.js +24 -0
- package/dist/bundle/{meeting-model-GHMMUQ34.js → meeting-model-FWIZRKVN.js} +11 -11
- package/dist/bundle/{meeting-semantic-BMP6323L.js → meeting-semantic-M4YVJ57W.js} +6 -6
- package/dist/bundle/{node-CT3N3TNL.js → node-UTQCYQF5.js} +2 -2
- package/dist/bundle/{node-sqlite-MELD2SBX.js → node-sqlite-APJG6MGL.js} +7 -7
- package/dist/bundle/{oauth-YBH5OKC2.js → oauth-TY7RMIBL.js} +8 -8
- package/dist/bundle/{open-WNSBWTAG.js → open-WDVEQL75.js} +5 -5
- package/dist/bundle/{openai-XSNMNLW6.js → openai-H5UJHSEZ.js} +15 -15
- package/dist/bundle/{process-I2QKOMM7.js → process-MGMXXPMY.js} +1 -1
- package/dist/bundle/{program-G6O3IJR2.js → program-IF36C6VR.js} +969 -1127
- package/dist/bundle/{prompt-SOG4AKPM.js → prompt-4RLIWLMF.js} +5 -5
- package/dist/bundle/{recognize-WMQLWMXH.js → recognize-UIRTMWM4.js} +4 -4
- package/dist/bundle/{remote-4BTFOLFY.js → remote-L3MNWZQK.js} +9 -9
- package/dist/bundle/{rerank-LJ3TWRNV.js → rerank-F4KZQTY6.js} +7 -7
- package/dist/bundle/{serve-B6UANKXN.js → serve-37AUYTWS.js} +10 -10
- package/dist/bundle/server-CRF4QSZR.js +86 -0
- package/dist/bundle/{server-YRH6GJ5Z.js → server-UBG676ZJ.js} +73 -61
- package/dist/bundle/source-Z7GH7T4B.js +44 -0
- package/dist/bundle/{sqlite-runtime-R7QFWFE7.js → sqlite-runtime-CI3RW7VA.js} +6 -6
- package/dist/bundle/{state-DIJ5YUOE.js → state-JOHLSLUO.js} +6 -6
- package/dist/bundle/{store-MYTYDV6A.js → store-2MBG4IUS.js} +28 -21
- package/dist/bundle/{store-6WFWW7EC.js → store-OSOUXBYL.js} +28 -23
- package/dist/bundle/store-SNW6U32Y.js +34 -0
- package/dist/bundle/store-maintenance-command-W7V54SLT.js +73 -0
- package/dist/bundle/surface-ESJS2FUI.js +72 -0
- package/dist/bundle/writer-BJDQMKUV.js +46 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +38 -77
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +2 -0
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +23 -6
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +122 -77
- package/dist/commands/session.js.map +1 -1
- package/dist/identity.js +1 -1
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +0 -2
- package/dist/program.js.map +1 -1
- package/dist/reasons.js +2 -2
- package/dist/reasons.js.map +1 -1
- package/dist/setup/flow.d.ts.map +1 -1
- package/dist/setup/flow.js +74 -4
- package/dist/setup/flow.js.map +1 -1
- package/dist/setup/texts.en.json +22 -1
- package/dist/setup/texts.es.json +22 -1
- package/dist/setup/texts.ru.json +22 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/amo-cli/references/setup.md +8 -2
- package/dist/bundle/command-contract-QBUQBXH7.js +0 -39
- package/dist/bundle/first-screen-GMN3T6RW.js +0 -39
- package/dist/bundle/meeting-combined-LAMF7S2B.js +0 -24
- package/dist/bundle/server-S6XD6V6E.js +0 -77
- package/dist/bundle/source-DGFTA2TN.js +0 -42
- package/dist/bundle/store-CHWY2USQ.js +0 -32
- package/dist/bundle/store-maintenance-command-B5TMKFMG.js +0 -68
- package/dist/bundle/writer-GP7VIMAU.js +0 -44
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M54YKD3I.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G3LAYJJJ.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-O3WE5IGP.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SMM7GS4Q.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-V2QWX6B3.js";
|
|
26
26
|
import {
|
|
27
27
|
CATEGORIES,
|
|
28
28
|
FACT_STATUSES,
|
|
@@ -68,22 +68,18 @@ import {
|
|
|
68
68
|
typedCommand,
|
|
69
69
|
untrusted,
|
|
70
70
|
useAsProcessRun
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-M33XHJTM.js";
|
|
72
72
|
import {
|
|
73
73
|
isCliFailure,
|
|
74
74
|
storeDamaged
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-ELAKOEIO.js";
|
|
76
76
|
import {
|
|
77
77
|
endpoint
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import {
|
|
80
|
-
repairConfigText,
|
|
81
|
-
sharedConfigPath
|
|
82
|
-
} from "./chunk-DOSJONCX.js";
|
|
78
|
+
} from "./chunk-E3EWS6DF.js";
|
|
83
79
|
import {
|
|
84
80
|
filesPresent,
|
|
85
81
|
sharedModelsDirectory
|
|
86
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-IPNIF5JE.js";
|
|
87
83
|
import {
|
|
88
84
|
CEILING_KEY,
|
|
89
85
|
COMMAND_PATH_KEY,
|
|
@@ -97,7 +93,7 @@ import {
|
|
|
97
93
|
permissionOverrides,
|
|
98
94
|
projectFields,
|
|
99
95
|
resolveOutput
|
|
100
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-KBAOJISR.js";
|
|
101
97
|
import {
|
|
102
98
|
BUSINESS_KINDS,
|
|
103
99
|
CRM_ACTIVITY_KINDS,
|
|
@@ -112,10 +108,10 @@ import {
|
|
|
112
108
|
ORDER_STATUSES,
|
|
113
109
|
RELATION_KINDS,
|
|
114
110
|
STANDINGS
|
|
115
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-S6DTLAOB.js";
|
|
116
112
|
import {
|
|
117
113
|
TAG_TYPES
|
|
118
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-FQRP6JWX.js";
|
|
119
115
|
import {
|
|
120
116
|
FACT_TYPES,
|
|
121
117
|
FIELD_TYPES,
|
|
@@ -143,10 +139,14 @@ import {
|
|
|
143
139
|
parseLucene,
|
|
144
140
|
readsZone,
|
|
145
141
|
timezoneOf
|
|
146
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-GMHRPX5M.js";
|
|
143
|
+
import {
|
|
144
|
+
repairConfigText,
|
|
145
|
+
sharedConfigPath
|
|
146
|
+
} from "./chunk-YFRTEJ6V.js";
|
|
147
147
|
import {
|
|
148
148
|
storePath
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-ZKRWNL4T.js";
|
|
150
150
|
import {
|
|
151
151
|
configFilePath,
|
|
152
152
|
createRecordLog,
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
resolvePaths,
|
|
156
156
|
saveConfigFile,
|
|
157
157
|
writeSecurely
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-SCMB4LI6.js";
|
|
159
159
|
import {
|
|
160
160
|
COMPACT_FLAG,
|
|
161
161
|
MAX_NEXT_STEPS,
|
|
@@ -207,17 +207,17 @@ import {
|
|
|
207
207
|
unwrap,
|
|
208
208
|
variant,
|
|
209
209
|
writes
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-7OVTUADG.js";
|
|
211
211
|
import {
|
|
212
212
|
CliError,
|
|
213
213
|
isCliError,
|
|
214
214
|
visibleControls
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-AP3CWDRK.js";
|
|
216
216
|
import {
|
|
217
217
|
__name
|
|
218
218
|
} from "./chunk-ZVVMGPBJ.js";
|
|
219
219
|
|
|
220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
221
221
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
222
222
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
223
223
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -286,7 +286,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
286
286
|
};
|
|
287
287
|
}, "modelTarget");
|
|
288
288
|
|
|
289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
290
290
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
291
291
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
292
292
|
var AI_FIELDS = {
|
|
@@ -330,7 +330,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
330
330
|
};
|
|
331
331
|
}, "resolveAISettings");
|
|
332
332
|
|
|
333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
334
334
|
import { readFileSync } from "node:fs";
|
|
335
335
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
336
336
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -384,7 +384,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
384
384
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
385
385
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
386
386
|
|
|
387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
388
388
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
389
389
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
390
390
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -398,7 +398,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
398
398
|
return ms2;
|
|
399
399
|
}, "parseDuration");
|
|
400
400
|
|
|
401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
402
402
|
var WEIGHTS = {
|
|
403
403
|
bot: 3,
|
|
404
404
|
scam: 3,
|
|
@@ -423,7 +423,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
423
423
|
var DIGITS = /\d{5,}/;
|
|
424
424
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
425
425
|
|
|
426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
427
427
|
var linkedIdentity = strictObject({
|
|
428
428
|
provider: text,
|
|
429
429
|
id,
|
|
@@ -478,7 +478,7 @@ var contactCheck = strictObject({
|
|
|
478
478
|
checked_at: time
|
|
479
479
|
});
|
|
480
480
|
|
|
481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
482
482
|
var member = strictObject({
|
|
483
483
|
id,
|
|
484
484
|
name: nullable(text),
|
|
@@ -501,7 +501,7 @@ var member = strictObject({
|
|
|
501
501
|
check: optional(record(string(), unknown()))
|
|
502
502
|
});
|
|
503
503
|
|
|
504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
505
505
|
var setting = optional(nullable(boolean()));
|
|
506
506
|
var chat = strictObject({
|
|
507
507
|
ref: reference,
|
|
@@ -542,7 +542,7 @@ var chat = strictObject({
|
|
|
542
542
|
members: optional(array(member))
|
|
543
543
|
});
|
|
544
544
|
|
|
545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
546
546
|
var attachment = strictObject({
|
|
547
547
|
/** The message it came with, as a locator; absent inside that message. */
|
|
548
548
|
message: optional(reference),
|
|
@@ -587,7 +587,7 @@ var hitFile = strictObject({
|
|
|
587
587
|
local_path: optional(text)
|
|
588
588
|
});
|
|
589
589
|
|
|
590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
591
591
|
var quoted = strictObject({
|
|
592
592
|
id,
|
|
593
593
|
sender_id: nullable(id),
|
|
@@ -701,12 +701,14 @@ var message = strictObject({
|
|
|
701
701
|
/** Mail `review`: no earlier stored email, in any account, came from this address. */
|
|
702
702
|
new_sender: optional(boolean()),
|
|
703
703
|
/** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
|
|
704
|
-
sender_identities: optional(number())
|
|
704
|
+
sender_identities: optional(number()),
|
|
705
|
+
/** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
|
|
706
|
+
inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
|
|
705
707
|
})),
|
|
706
708
|
provider_metadata: providerMetadata
|
|
707
709
|
});
|
|
708
710
|
|
|
709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
710
712
|
var recordedMeeting = strictObject({
|
|
711
713
|
ref: reference,
|
|
712
714
|
meeting_id: count,
|
|
@@ -723,7 +725,7 @@ var recordedMeeting = strictObject({
|
|
|
723
725
|
call: optional(meetingCall)
|
|
724
726
|
});
|
|
725
727
|
|
|
726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
727
729
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
728
730
|
var contextMessage = strictObject({
|
|
729
731
|
locator: reference,
|
|
@@ -929,7 +931,7 @@ var contactPreparation = strictObject({
|
|
|
929
931
|
})
|
|
930
932
|
});
|
|
931
933
|
|
|
932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
933
935
|
var nullableText = nullable(text);
|
|
934
936
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
935
937
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -1085,7 +1087,7 @@ var stage = strictObject({
|
|
|
1085
1087
|
untrusted
|
|
1086
1088
|
});
|
|
1087
1089
|
|
|
1088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
1089
1091
|
var nullableText2 = nullable(text);
|
|
1090
1092
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
1091
1093
|
var standing = picklist(STANDINGS);
|
|
@@ -1264,7 +1266,7 @@ var dealBrief = strictObject({
|
|
|
1264
1266
|
not_read: coverage2.entries.not_read
|
|
1265
1267
|
});
|
|
1266
1268
|
|
|
1267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
1268
1270
|
var botProfile = strictObject({
|
|
1269
1271
|
name: text,
|
|
1270
1272
|
token: text,
|
|
@@ -1388,7 +1390,7 @@ var stickerInventory = strictObject({
|
|
|
1388
1390
|
url: optional(nullable(text))
|
|
1389
1391
|
});
|
|
1390
1392
|
|
|
1391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
1392
1394
|
var actionableError = objectWithRest({
|
|
1393
1395
|
code: text,
|
|
1394
1396
|
message: text,
|
|
@@ -1405,7 +1407,7 @@ var batchResult = strictObject({
|
|
|
1405
1407
|
max_error_percent: count
|
|
1406
1408
|
});
|
|
1407
1409
|
|
|
1408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
1409
1411
|
var conversationBuild = strictObject({
|
|
1410
1412
|
chat: id,
|
|
1411
1413
|
messages: count,
|
|
@@ -1430,13 +1432,13 @@ var catchUpPreparation = strictObject({
|
|
|
1430
1432
|
prepared: optional(conversationPreparation)
|
|
1431
1433
|
});
|
|
1432
1434
|
|
|
1433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
1434
1436
|
import { spawn } from "node:child_process";
|
|
1435
1437
|
import { randomBytes } from "node:crypto";
|
|
1436
1438
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync } from "node:fs";
|
|
1437
1439
|
import { dirname, join } from "node:path";
|
|
1438
1440
|
|
|
1439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1441
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
1440
1442
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
1441
1443
|
const total = input.total ?? null;
|
|
1442
1444
|
const updated = input.updatedAt ?? null;
|
|
@@ -1467,7 +1469,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
1467
1469
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
1468
1470
|
}, "progressLine");
|
|
1469
1471
|
|
|
1470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
1471
1473
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
1472
1474
|
const run = currentRun();
|
|
1473
1475
|
const trace = traceId ?? run.traceId;
|
|
@@ -1481,7 +1483,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
1481
1483
|
}));
|
|
1482
1484
|
}, "recordLogFor");
|
|
1483
1485
|
|
|
1484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
1485
1487
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
1486
1488
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
1487
1489
|
const out = openSync(log, "a", 384);
|
|
@@ -1636,7 +1638,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
1636
1638
|
return { job: id6, pid, chat: input.chat, log };
|
|
1637
1639
|
}, "startArchiveJob");
|
|
1638
1640
|
|
|
1639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
1640
1642
|
var problem = strictObject({ code: text, message: text });
|
|
1641
1643
|
var job = strictObject({
|
|
1642
1644
|
id,
|
|
@@ -1659,7 +1661,7 @@ var job = strictObject({
|
|
|
1659
1661
|
error: optional(problem)
|
|
1660
1662
|
});
|
|
1661
1663
|
|
|
1662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
1663
1665
|
var extractionItem = strictObject({
|
|
1664
1666
|
ref: reference,
|
|
1665
1667
|
attachment: count,
|
|
@@ -1692,7 +1694,7 @@ var extractionReport = strictObject({
|
|
|
1692
1694
|
cursor: optional(text)
|
|
1693
1695
|
});
|
|
1694
1696
|
|
|
1695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
1696
1698
|
var savedMessageFile = strictObject({
|
|
1697
1699
|
kind: text,
|
|
1698
1700
|
path: text,
|
|
@@ -1779,7 +1781,7 @@ var messageSyncAll = strictObject({
|
|
|
1779
1781
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
1780
1782
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
1781
1783
|
|
|
1782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
1783
1785
|
var range = strictObject({ from: number(), to: number() });
|
|
1784
1786
|
var storeChatStatus = strictObject({
|
|
1785
1787
|
chat_id: id,
|
|
@@ -1877,7 +1879,7 @@ var storeJobRetry = union([
|
|
|
1877
1879
|
]);
|
|
1878
1880
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
1879
1881
|
|
|
1880
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1882
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.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
|
|
1881
1883
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
1882
1884
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
1883
1885
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -5378,7 +5380,7 @@ __name(useColor, "useColor");
|
|
|
5378
5380
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
5379
5381
|
var program = new Command();
|
|
5380
5382
|
|
|
5381
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5383
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.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
|
|
5382
5384
|
import { isDeepStrictEqual } from "node:util";
|
|
5383
5385
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
5384
5386
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -5580,7 +5582,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
5580
5582
|
return command;
|
|
5581
5583
|
}, "customizeSharedCommand");
|
|
5582
5584
|
|
|
5583
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5585
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.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
|
|
5584
5586
|
var argumentInfoSchema = object({
|
|
5585
5587
|
name: string(),
|
|
5586
5588
|
required: boolean(),
|
|
@@ -5654,7 +5656,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
5654
5656
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
5655
5657
|
});
|
|
5656
5658
|
|
|
5657
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5659
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.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
|
|
5658
5660
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
5659
5661
|
let command = root;
|
|
5660
5662
|
const path2 = [];
|
|
@@ -5672,7 +5674,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
5672
5674
|
}
|
|
5673
5675
|
}, "refuseJoinedPath");
|
|
5674
5676
|
|
|
5675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
5676
5678
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
5677
5679
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
5678
5680
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -5710,7 +5712,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
5710
5712
|
progress: "sync.progress"
|
|
5711
5713
|
};
|
|
5712
5714
|
|
|
5713
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5714
5716
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5715
5717
|
const recording = startRecording(options);
|
|
5716
5718
|
try {
|
|
@@ -5925,7 +5927,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5925
5927
|
return void 0;
|
|
5926
5928
|
}, "partialOutcome");
|
|
5927
5929
|
|
|
5928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
5929
5931
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
5930
5932
|
var requests = new AsyncLocalStorage();
|
|
5931
5933
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -5940,7 +5942,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
5940
5942
|
return direct;
|
|
5941
5943
|
}, "exitCodeSet");
|
|
5942
5944
|
|
|
5943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
5944
5946
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5945
5947
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
5946
5948
|
messageId: message2.id,
|
|
@@ -6046,7 +6048,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
6046
6048
|
}, "guardedWrite");
|
|
6047
6049
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
6048
6050
|
|
|
6049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
6050
6052
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
6051
6053
|
if (ms2 === void 0)
|
|
6052
6054
|
return body();
|
|
@@ -6072,7 +6074,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
6072
6074
|
}
|
|
6073
6075
|
}, "withDeadline");
|
|
6074
6076
|
|
|
6075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
6076
6078
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
6077
6079
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
6078
6080
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -6255,7 +6257,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
6255
6257
|
}
|
|
6256
6258
|
}, "withAbort");
|
|
6257
6259
|
|
|
6258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
6259
6261
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
6260
6262
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
6261
6263
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -6342,7 +6344,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
6342
6344
|
return void 0;
|
|
6343
6345
|
}, "sampleCommand");
|
|
6344
6346
|
|
|
6345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
6346
6348
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
6347
6349
|
import { join as join2 } from "node:path";
|
|
6348
6350
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -6431,7 +6433,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
6431
6433
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
6432
6434
|
}, "registryProfiles");
|
|
6433
6435
|
|
|
6434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6435
6437
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
6436
6438
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6437
6439
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -6634,7 +6636,10 @@ var scopes2 = /* @__PURE__ */ __name((raw) => {
|
|
|
6634
6636
|
return out;
|
|
6635
6637
|
}, "scopes");
|
|
6636
6638
|
var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes2(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
|
|
6637
|
-
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) =>
|
|
6639
|
+
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
|
|
6640
|
+
const now = renamed.get(name);
|
|
6641
|
+
return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
|
|
6642
|
+
})), "permissionIssues");
|
|
6638
6643
|
var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
|
|
6639
6644
|
var prune = /* @__PURE__ */ __name((raw, paths) => {
|
|
6640
6645
|
const drop = new Set(paths.map(pathId));
|
|
@@ -6727,7 +6732,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6727
6732
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6728
6733
|
}, "readConfigFile");
|
|
6729
6734
|
|
|
6730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6731
6736
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
6732
6737
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
6733
6738
|
var DEFAULT_CONFIG = {
|
|
@@ -6756,7 +6761,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6756
6761
|
}
|
|
6757
6762
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6758
6763
|
|
|
6759
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
6760
6765
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
6761
6766
|
import { join as join4 } from "node:path";
|
|
6762
6767
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -6778,7 +6783,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
6778
6783
|
}, "profilesWithAccounts");
|
|
6779
6784
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
6780
6785
|
|
|
6781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6782
6787
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6783
6788
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6784
6789
|
const path2 = key.split(".");
|
|
@@ -6811,10 +6816,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6811
6816
|
};
|
|
6812
6817
|
}), "settingRows");
|
|
6813
6818
|
|
|
6814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6815
6820
|
import { existsSync as existsSync5 } from "node:fs";
|
|
6816
6821
|
|
|
6817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
6818
6823
|
var HISTORY_MAX_DAYS = 1095;
|
|
6819
6824
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
6820
6825
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -6861,7 +6866,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
6861
6866
|
return { batch: { ...batch, messages }, skipped };
|
|
6862
6867
|
}, "limitBatch");
|
|
6863
6868
|
|
|
6864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6869
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6865
6870
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6866
6871
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6867
6872
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -7389,7 +7394,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
7389
7394
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
7390
7395
|
}, "given");
|
|
7391
7396
|
|
|
7392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
7393
7398
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
7394
7399
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
7395
7400
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -7446,7 +7451,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
7446
7451
|
};
|
|
7447
7452
|
}, "runBudget");
|
|
7448
7453
|
|
|
7449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
7450
7455
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
7451
7456
|
const { deadline, signal, app } = environmentOf(command);
|
|
7452
7457
|
const now = deadline?.();
|
|
@@ -7600,7 +7605,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7600
7605
|
return words.join(" ");
|
|
7601
7606
|
}, "commandPath");
|
|
7602
7607
|
|
|
7603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7604
7609
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7605
7610
|
var FETCH = { remote: "read", local: "write" };
|
|
7606
7611
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7636,7 +7641,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
7636
7641
|
KEPT_UNDER_LOCK.add(command);
|
|
7637
7642
|
return command;
|
|
7638
7643
|
}, "destroysNothing");
|
|
7639
|
-
var PROPOSE_COMMANDS = [
|
|
7644
|
+
var PROPOSE_COMMANDS = [
|
|
7645
|
+
"messages acknowledge",
|
|
7646
|
+
"mail findings add",
|
|
7647
|
+
"projects actions add",
|
|
7648
|
+
"meetings actions add"
|
|
7649
|
+
];
|
|
7640
7650
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
7641
7651
|
var proposesOnly = /* @__PURE__ */ __name((command) => {
|
|
7642
7652
|
PROPOSES.add(command);
|
|
@@ -7752,7 +7762,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7752
7762
|
throw readOnlyRefusal(lock, what);
|
|
7753
7763
|
}, "refuseUnderReadOnly");
|
|
7754
7764
|
|
|
7755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7756
7766
|
var account = strictObject({
|
|
7757
7767
|
provider: text,
|
|
7758
7768
|
id,
|
|
@@ -7762,7 +7772,7 @@ var account = strictObject({
|
|
|
7762
7772
|
scope: optional(picklist(["personal", "work"]))
|
|
7763
7773
|
});
|
|
7764
7774
|
|
|
7765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7766
7776
|
var accountSession = strictObject({
|
|
7767
7777
|
current: boolean(),
|
|
7768
7778
|
client: nullable(text),
|
|
@@ -7772,7 +7782,7 @@ var accountSession = strictObject({
|
|
|
7772
7782
|
created_at: optional(nullable(time))
|
|
7773
7783
|
});
|
|
7774
7784
|
|
|
7775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7776
7786
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7777
7787
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7778
7788
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7801,7 +7811,7 @@ var accountRemoval = strictObject({
|
|
|
7801
7811
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
7802
7812
|
});
|
|
7803
7813
|
|
|
7804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7805
7815
|
var accountProfile = strictObject({
|
|
7806
7816
|
profile: id,
|
|
7807
7817
|
current: boolean(),
|
|
@@ -7813,7 +7823,7 @@ var accountProfile = strictObject({
|
|
|
7813
7823
|
bot: optional(literal(true))
|
|
7814
7824
|
});
|
|
7815
7825
|
|
|
7816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7817
7827
|
var milliseconds = pipe(number(), minValue(0));
|
|
7818
7828
|
var counterReading = strictObject({
|
|
7819
7829
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7825,7 +7835,7 @@ var counterReading = strictObject({
|
|
|
7825
7835
|
});
|
|
7826
7836
|
var selection = record(string(), unknown());
|
|
7827
7837
|
|
|
7828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7829
7839
|
var adminRow = strictObject({
|
|
7830
7840
|
ref: reference,
|
|
7831
7841
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7878,7 +7888,7 @@ var adminReport = strictObject({
|
|
|
7878
7888
|
rows: array(adminRow)
|
|
7879
7889
|
});
|
|
7880
7890
|
|
|
7881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7882
7892
|
var closeSuggestion = strictObject({
|
|
7883
7893
|
as: picklist(["done", "dismissed"]),
|
|
7884
7894
|
/** The agent's name. */
|
|
@@ -7940,7 +7950,7 @@ var task = strictObject({
|
|
|
7940
7950
|
updated_at: optional(time)
|
|
7941
7951
|
});
|
|
7942
7952
|
|
|
7943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7944
7954
|
var agendaChat = strictObject({
|
|
7945
7955
|
chat: reference,
|
|
7946
7956
|
title: nullable(text),
|
|
@@ -8010,11 +8020,11 @@ var agenda = strictObject({
|
|
|
8010
8020
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
8011
8021
|
});
|
|
8012
8022
|
|
|
8013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
8014
8024
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
8015
8025
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
8016
8026
|
|
|
8017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
8018
8028
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
8019
8029
|
var attachmentBytes = strictObject({
|
|
8020
8030
|
ref: reference,
|
|
@@ -8045,7 +8055,7 @@ var attachmentTextChange = strictObject({
|
|
|
8045
8055
|
text: optional(text)
|
|
8046
8056
|
});
|
|
8047
8057
|
|
|
8048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
8049
8059
|
var chart = strictObject({
|
|
8050
8060
|
version: literal(1),
|
|
8051
8061
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -8060,7 +8070,7 @@ var chart = strictObject({
|
|
|
8060
8070
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
8061
8071
|
});
|
|
8062
8072
|
|
|
8063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8073
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
8064
8074
|
var named = strictObject({
|
|
8065
8075
|
id,
|
|
8066
8076
|
title: nullable(text),
|
|
@@ -8083,7 +8093,7 @@ var folder = strictObject({
|
|
|
8083
8093
|
excluded_chats: optional(array(named))
|
|
8084
8094
|
});
|
|
8085
8095
|
|
|
8086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
8087
8097
|
var inviteLink = strictObject({
|
|
8088
8098
|
link: text,
|
|
8089
8099
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -8099,7 +8109,7 @@ var inviteLink = strictObject({
|
|
|
8099
8109
|
joined_count: optional(count)
|
|
8100
8110
|
});
|
|
8101
8111
|
|
|
8102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
8103
8113
|
var operated = { operation_id: id, chat_id: id };
|
|
8104
8114
|
var group = strictObject({
|
|
8105
8115
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8179,7 +8189,7 @@ var chatFolderOrder = strictObject({
|
|
|
8179
8189
|
folders: array(strictObject({ id, title: text }))
|
|
8180
8190
|
});
|
|
8181
8191
|
|
|
8182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8183
8193
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8184
8194
|
var chatRemoval = strictObject(operated2);
|
|
8185
8195
|
var chatMuting = strictObject({
|
|
@@ -8190,7 +8200,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8190
8200
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8191
8201
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8192
8202
|
|
|
8193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8194
8204
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8195
8205
|
var chatEvent = strictObject({
|
|
8196
8206
|
chat_id: id,
|
|
@@ -8207,7 +8217,7 @@ var chatEvent = strictObject({
|
|
|
8207
8217
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8208
8218
|
});
|
|
8209
8219
|
|
|
8210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8211
8221
|
var chatMetadata = strictObject({
|
|
8212
8222
|
chat_id: id,
|
|
8213
8223
|
title: nullable(text),
|
|
@@ -8222,7 +8232,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8222
8232
|
has_more: boolean()
|
|
8223
8233
|
});
|
|
8224
8234
|
|
|
8225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8226
8236
|
var action = picklist(["report", "delete", "remove"]);
|
|
8227
8237
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8228
8238
|
var chatRules = strictObject({
|
|
@@ -8259,7 +8269,7 @@ var chatModeration = strictObject({
|
|
|
8259
8269
|
}))
|
|
8260
8270
|
});
|
|
8261
8271
|
|
|
8262
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
8263
8273
|
var chatSending = strictObject({
|
|
8264
8274
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
8265
8275
|
meaning: text,
|
|
@@ -8269,7 +8279,7 @@ var chatSending = strictObject({
|
|
|
8269
8279
|
changed: optional(boolean())
|
|
8270
8280
|
});
|
|
8271
8281
|
|
|
8272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8273
8283
|
var optionalCount = optional(count);
|
|
8274
8284
|
var minutes = nullable(number());
|
|
8275
8285
|
var chatStats = strictObject({
|
|
@@ -8345,7 +8355,7 @@ var taskStats = strictObject({
|
|
|
8345
8355
|
}))
|
|
8346
8356
|
});
|
|
8347
8357
|
|
|
8348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8349
8359
|
var memberCount = strictObject({
|
|
8350
8360
|
day: pipe(text, isoDate()),
|
|
8351
8361
|
participants: nullable(count),
|
|
@@ -8368,7 +8378,7 @@ var chatTracking = strictObject({
|
|
|
8368
8378
|
tracked: boolean()
|
|
8369
8379
|
});
|
|
8370
8380
|
|
|
8371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8372
8382
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8373
8383
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8374
8384
|
var profileFields = {
|
|
@@ -8406,7 +8416,7 @@ var profileFields = {
|
|
|
8406
8416
|
}))
|
|
8407
8417
|
};
|
|
8408
8418
|
|
|
8409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8410
8420
|
var contact = strictObject({
|
|
8411
8421
|
ref: reference,
|
|
8412
8422
|
id,
|
|
@@ -8437,7 +8447,7 @@ var contact = strictObject({
|
|
|
8437
8447
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8438
8448
|
});
|
|
8439
8449
|
|
|
8440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8441
8451
|
var contactNote = strictObject({
|
|
8442
8452
|
id,
|
|
8443
8453
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8449,13 +8459,13 @@ var contactNote = strictObject({
|
|
|
8449
8459
|
updated_at: time
|
|
8450
8460
|
});
|
|
8451
8461
|
|
|
8452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8453
8463
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8454
8464
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8455
8465
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8456
8466
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8457
8467
|
|
|
8458
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8459
8469
|
var conversation = strictObject({
|
|
8460
8470
|
id,
|
|
8461
8471
|
chat: reference,
|
|
@@ -8470,7 +8480,7 @@ var conversation = strictObject({
|
|
|
8470
8480
|
rules_version: count
|
|
8471
8481
|
});
|
|
8472
8482
|
|
|
8473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8474
8484
|
var conversationDetails = union([
|
|
8475
8485
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8476
8486
|
message
|
|
@@ -8557,10 +8567,15 @@ var conversationHit = strictObject({
|
|
|
8557
8567
|
score: nullable(number()),
|
|
8558
8568
|
matched_in: optional(literal("context")),
|
|
8559
8569
|
by: array(picklist(["meaning", "words"])),
|
|
8560
|
-
stale: boolean()
|
|
8570
|
+
stale: boolean(),
|
|
8571
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
8572
|
+
lines: optional(array(text)),
|
|
8573
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
8574
|
+
from_owner: optional(literal(true)),
|
|
8575
|
+
untrusted
|
|
8561
8576
|
});
|
|
8562
8577
|
|
|
8563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8564
8579
|
var counters = strictObject({
|
|
8565
8580
|
cutoff: time,
|
|
8566
8581
|
max_age_ms: milliseconds,
|
|
@@ -8590,7 +8605,7 @@ var counterRefresh = strictObject({
|
|
|
8590
8605
|
complete: optional(boolean())
|
|
8591
8606
|
});
|
|
8592
8607
|
|
|
8593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8594
8609
|
var document = strictObject({
|
|
8595
8610
|
ref: reference,
|
|
8596
8611
|
id,
|
|
@@ -8605,7 +8620,7 @@ var document = strictObject({
|
|
|
8605
8620
|
owners: optional(array(text))
|
|
8606
8621
|
});
|
|
8607
8622
|
|
|
8608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8609
8624
|
var documentLink = strictObject({
|
|
8610
8625
|
ref: reference,
|
|
8611
8626
|
url: text,
|
|
@@ -8616,7 +8631,7 @@ var documentLink = strictObject({
|
|
|
8616
8631
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8617
8632
|
});
|
|
8618
8633
|
|
|
8619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8620
8635
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8621
8636
|
var contribution = strictObject({
|
|
8622
8637
|
message: evidenceMessage,
|
|
@@ -8646,7 +8661,7 @@ var retentionStay = strictObject({
|
|
|
8646
8661
|
});
|
|
8647
8662
|
var evidence = union([contribution, retentionStay]);
|
|
8648
8663
|
|
|
8649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8650
8665
|
var fact = strictObject({
|
|
8651
8666
|
ref: reference,
|
|
8652
8667
|
id,
|
|
@@ -8677,7 +8692,7 @@ var fact = strictObject({
|
|
|
8677
8692
|
updated_at: time
|
|
8678
8693
|
});
|
|
8679
8694
|
|
|
8680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8681
8696
|
var hit = strictObject({
|
|
8682
8697
|
kind: picklist([
|
|
8683
8698
|
"message",
|
|
@@ -8736,7 +8751,7 @@ var hit = strictObject({
|
|
|
8736
8751
|
untrusted
|
|
8737
8752
|
});
|
|
8738
8753
|
|
|
8739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8740
8755
|
var identity = strictObject({
|
|
8741
8756
|
ref: reference,
|
|
8742
8757
|
provider: text,
|
|
@@ -8752,7 +8767,7 @@ var identity = strictObject({
|
|
|
8752
8767
|
person: optional(nullable(reference))
|
|
8753
8768
|
});
|
|
8754
8769
|
|
|
8755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8756
8771
|
var imageEmbedding = strictObject({
|
|
8757
8772
|
model: text,
|
|
8758
8773
|
embedded: count,
|
|
@@ -8761,7 +8776,7 @@ var imageEmbedding = strictObject({
|
|
|
8761
8776
|
more: boolean()
|
|
8762
8777
|
});
|
|
8763
8778
|
|
|
8764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8765
8780
|
var joinRequest = strictObject({
|
|
8766
8781
|
person_id: id,
|
|
8767
8782
|
name: nullable(text),
|
|
@@ -8772,7 +8787,7 @@ var joinRequest = strictObject({
|
|
|
8772
8787
|
about: optional(text)
|
|
8773
8788
|
});
|
|
8774
8789
|
|
|
8775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8776
8791
|
var pollVote = strictObject({
|
|
8777
8792
|
person_id: id,
|
|
8778
8793
|
name: nullable(text),
|
|
@@ -8782,7 +8797,7 @@ var pollVote = strictObject({
|
|
|
8782
8797
|
voted_at: time
|
|
8783
8798
|
});
|
|
8784
8799
|
|
|
8785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8786
8801
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8787
8802
|
var observation = strictObject({
|
|
8788
8803
|
value: pipe(number(), minValue(0)),
|
|
@@ -8824,7 +8839,7 @@ var serveSummary = strictObject({
|
|
|
8824
8839
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8825
8840
|
});
|
|
8826
8841
|
|
|
8827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8828
8843
|
var mailCounts = strictObject({
|
|
8829
8844
|
by: picklist(["day", "week", "sender"]),
|
|
8830
8845
|
received: count,
|
|
@@ -8839,7 +8854,7 @@ var mailCounts = strictObject({
|
|
|
8839
8854
|
}))
|
|
8840
8855
|
});
|
|
8841
8856
|
|
|
8842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8843
8858
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8844
8859
|
var base = { id, evidence: array(evidence2) };
|
|
8845
8860
|
var finding = variant("kind", [
|
|
@@ -8983,7 +8998,7 @@ var mailFindings = strictObject({
|
|
|
8983
8998
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8984
8999
|
});
|
|
8985
9000
|
|
|
8986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8987
9002
|
var mediaArchive = strictObject({
|
|
8988
9003
|
directory: text,
|
|
8989
9004
|
chats: count,
|
|
@@ -9015,7 +9030,7 @@ var mediaArchiveTimer = union([
|
|
|
9015
9030
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9016
9031
|
]);
|
|
9017
9032
|
|
|
9018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9019
9034
|
var preparationId = pipe(string(), minLength(1));
|
|
9020
9035
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9021
9036
|
var preparationTime = nullable(isoTime);
|
|
@@ -9107,7 +9122,7 @@ var preparationMeeting = strictObject({
|
|
|
9107
9122
|
updated_at: isoTime
|
|
9108
9123
|
});
|
|
9109
9124
|
|
|
9110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9111
9126
|
var meetingEvidence = preparationEvidence;
|
|
9112
9127
|
var meetingPersonContext = strictObject({
|
|
9113
9128
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9129,7 +9144,7 @@ var meetingPersonContext = strictObject({
|
|
|
9129
9144
|
})
|
|
9130
9145
|
});
|
|
9131
9146
|
|
|
9132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9133
9148
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9134
9149
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9135
9150
|
var finding2 = variant("kind", [
|
|
@@ -9167,7 +9182,7 @@ var meetingFindings = strictObject({
|
|
|
9167
9182
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9168
9183
|
});
|
|
9169
9184
|
|
|
9170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9171
9186
|
var communicationCoverage = strictObject({
|
|
9172
9187
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9173
9188
|
query: string(),
|
|
@@ -9212,7 +9227,7 @@ var preparationCommunications = strictObject({
|
|
|
9212
9227
|
}))
|
|
9213
9228
|
});
|
|
9214
9229
|
|
|
9215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9216
9231
|
var meetingPreparation = strictObject({
|
|
9217
9232
|
communications: optional(preparationCommunications),
|
|
9218
9233
|
schema_version: literal(1),
|
|
@@ -9325,7 +9340,7 @@ var meetingPreparation = strictObject({
|
|
|
9325
9340
|
})
|
|
9326
9341
|
});
|
|
9327
9342
|
|
|
9328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9329
9344
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9330
9345
|
var id3 = pipe(string(), minLength(1));
|
|
9331
9346
|
var text3 = string();
|
|
@@ -9389,7 +9404,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9389
9404
|
})
|
|
9390
9405
|
});
|
|
9391
9406
|
|
|
9392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9393
9408
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9394
9409
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9395
9410
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9419,7 +9434,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9419
9434
|
})
|
|
9420
9435
|
});
|
|
9421
9436
|
|
|
9422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9423
9438
|
var text4 = string();
|
|
9424
9439
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9425
9440
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9436,7 +9451,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9436
9451
|
persistence: literal("proposal-only")
|
|
9437
9452
|
});
|
|
9438
9453
|
|
|
9439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9440
9455
|
var memory = strictObject({
|
|
9441
9456
|
ref: reference,
|
|
9442
9457
|
id,
|
|
@@ -9464,7 +9479,7 @@ var memory = strictObject({
|
|
|
9464
9479
|
updated_at: time
|
|
9465
9480
|
});
|
|
9466
9481
|
|
|
9467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9468
9483
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9469
9484
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9470
9485
|
var mention = strictObject({
|
|
@@ -9508,13 +9523,16 @@ var mentionRebuild = strictObject({
|
|
|
9508
9523
|
mentions: count
|
|
9509
9524
|
});
|
|
9510
9525
|
|
|
9511
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9512
9527
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9513
9528
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9514
9529
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9515
9530
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9531
|
+
var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
|
|
9532
|
+
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9533
|
+
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9516
9534
|
|
|
9517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9518
9536
|
var messageTranscript = strictObject({
|
|
9519
9537
|
message_id: id,
|
|
9520
9538
|
text,
|
|
@@ -9572,7 +9590,7 @@ var evidencePacket = strictObject({
|
|
|
9572
9590
|
}))
|
|
9573
9591
|
});
|
|
9574
9592
|
|
|
9575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9593
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9576
9594
|
var messageThread = strictObject({
|
|
9577
9595
|
ref: reference,
|
|
9578
9596
|
chat: id,
|
|
@@ -9589,7 +9607,7 @@ var messageThread = strictObject({
|
|
|
9589
9607
|
});
|
|
9590
9608
|
var messageContext = union([message, messageThread]);
|
|
9591
9609
|
|
|
9592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9593
9611
|
var messageCounts = strictObject({
|
|
9594
9612
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9595
9613
|
total: count,
|
|
@@ -9602,7 +9620,7 @@ var messageCounts = strictObject({
|
|
|
9602
9620
|
}))
|
|
9603
9621
|
});
|
|
9604
9622
|
|
|
9605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9606
9624
|
var messageLink = strictObject({
|
|
9607
9625
|
ref: reference,
|
|
9608
9626
|
url: nullable(text),
|
|
@@ -9619,7 +9637,7 @@ var messageLink = strictObject({
|
|
|
9619
9637
|
})))
|
|
9620
9638
|
});
|
|
9621
9639
|
|
|
9622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9623
9641
|
var messageWrite = strictObject({
|
|
9624
9642
|
operation_id: id,
|
|
9625
9643
|
message,
|
|
@@ -9634,7 +9652,7 @@ var draftWrite = strictObject({
|
|
|
9634
9652
|
});
|
|
9635
9653
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9636
9654
|
|
|
9637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9638
9656
|
var model2 = strictObject({
|
|
9639
9657
|
id,
|
|
9640
9658
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9669,7 +9687,7 @@ var chosenModel = strictObject({
|
|
|
9669
9687
|
estimate_seconds: nullable(count)
|
|
9670
9688
|
});
|
|
9671
9689
|
|
|
9672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9673
9691
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9674
9692
|
var modelKey = strictObject({
|
|
9675
9693
|
provider: text,
|
|
@@ -9679,7 +9697,7 @@ var modelKey = strictObject({
|
|
|
9679
9697
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9680
9698
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9681
9699
|
|
|
9682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9683
9701
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9684
9702
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9685
9703
|
var graph = strictObject({
|
|
@@ -9713,14 +9731,14 @@ var officialStats = strictObject({
|
|
|
9713
9731
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9714
9732
|
});
|
|
9715
9733
|
|
|
9716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9717
9735
|
var person2 = strictObject({
|
|
9718
9736
|
ref: reference,
|
|
9719
9737
|
name: nullable(text),
|
|
9720
9738
|
identities: optional(array(identity))
|
|
9721
9739
|
});
|
|
9722
9740
|
|
|
9723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9724
9742
|
var poll = strictObject({
|
|
9725
9743
|
chat_id: id,
|
|
9726
9744
|
message_id: id,
|
|
@@ -9736,11 +9754,11 @@ var poll = strictObject({
|
|
|
9736
9754
|
});
|
|
9737
9755
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9738
9756
|
|
|
9739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9740
9758
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9741
9759
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9742
9760
|
|
|
9743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9744
9762
|
var figures = record(string(), number());
|
|
9745
9763
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9746
9764
|
var rankingRow = strictObject({
|
|
@@ -9787,7 +9805,7 @@ var ranking = strictObject({
|
|
|
9787
9805
|
rows: array(rankingRow)
|
|
9788
9806
|
});
|
|
9789
9807
|
|
|
9790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9791
9809
|
var reaction = strictObject({
|
|
9792
9810
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9793
9811
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9795,7 +9813,7 @@ var reaction = strictObject({
|
|
|
9795
9813
|
reacted_at: time
|
|
9796
9814
|
});
|
|
9797
9815
|
|
|
9798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9799
9817
|
var reactionChange = strictObject({
|
|
9800
9818
|
operation_id: id,
|
|
9801
9819
|
chat_id: id,
|
|
@@ -9803,7 +9821,7 @@ var reactionChange = strictObject({
|
|
|
9803
9821
|
reaction: nullable(text)
|
|
9804
9822
|
});
|
|
9805
9823
|
|
|
9806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9807
9825
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9808
9826
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9809
9827
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9814,7 +9832,7 @@ var recipientChange = strictObject({
|
|
|
9814
9832
|
...partial(recipientOff).entries
|
|
9815
9833
|
});
|
|
9816
9834
|
|
|
9817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9818
9836
|
var events = array(record(string(), unknown()));
|
|
9819
9837
|
var recordedRun = strictObject({
|
|
9820
9838
|
run_id: id,
|
|
@@ -9886,7 +9904,7 @@ var runHit = strictObject({
|
|
|
9886
9904
|
});
|
|
9887
9905
|
var runLocation = strictObject({ path: text });
|
|
9888
9906
|
|
|
9889
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9890
9908
|
var relationship = strictObject({
|
|
9891
9909
|
id,
|
|
9892
9910
|
from: reference,
|
|
@@ -9913,7 +9931,7 @@ var relationship = strictObject({
|
|
|
9913
9931
|
created_at: time
|
|
9914
9932
|
});
|
|
9915
9933
|
|
|
9916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9917
9935
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9918
9936
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9919
9937
|
var responseTimes = strictObject({
|
|
@@ -9930,7 +9948,7 @@ var waitingChats = strictObject({
|
|
|
9930
9948
|
by_kind: strictObject({ private: count, group: count })
|
|
9931
9949
|
});
|
|
9932
9950
|
|
|
9933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9934
9952
|
var retentionCohort = strictObject({
|
|
9935
9953
|
/** The first day of the joining day or week. */
|
|
9936
9954
|
cohort: text,
|
|
@@ -9978,7 +9996,7 @@ var retention = strictObject({
|
|
|
9978
9996
|
rows: array(retentionCohort)
|
|
9979
9997
|
});
|
|
9980
9998
|
|
|
9981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9982
10000
|
var savedSearch = strictObject({
|
|
9983
10001
|
id,
|
|
9984
10002
|
/** `null` for a run in the history. */
|
|
@@ -9995,7 +10013,7 @@ var savedSearch = strictObject({
|
|
|
9995
10013
|
});
|
|
9996
10014
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9997
10015
|
|
|
9998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9999
10017
|
var sendAttempt = strictObject({
|
|
10000
10018
|
at: time,
|
|
10001
10019
|
profile: text,
|
|
@@ -10023,7 +10041,7 @@ var sendAttempt = strictObject({
|
|
|
10023
10041
|
error_code: optional(text)
|
|
10024
10042
|
});
|
|
10025
10043
|
|
|
10026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10027
10045
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10028
10046
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10029
10047
|
var infoSchema = strictObject({
|
|
@@ -10253,7 +10271,7 @@ var storeRepair = union([
|
|
|
10253
10271
|
]);
|
|
10254
10272
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10255
10273
|
|
|
10256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10257
10275
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10258
10276
|
var storeTable = strictObject({
|
|
10259
10277
|
name: text,
|
|
@@ -10262,7 +10280,7 @@ var storeTable = strictObject({
|
|
|
10262
10280
|
bytes: optional(nullable(count))
|
|
10263
10281
|
});
|
|
10264
10282
|
|
|
10265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10266
10284
|
var tagTarget = variant("type", [
|
|
10267
10285
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10268
10286
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10293,7 +10311,7 @@ var automaticTags = strictObject({
|
|
|
10293
10311
|
dry_run: boolean()
|
|
10294
10312
|
});
|
|
10295
10313
|
|
|
10296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10314
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10297
10315
|
var tagging = strictObject({
|
|
10298
10316
|
tag: text,
|
|
10299
10317
|
type: picklist(TAG_TYPES),
|
|
@@ -10306,7 +10324,7 @@ var tagging = strictObject({
|
|
|
10306
10324
|
created_at: time
|
|
10307
10325
|
});
|
|
10308
10326
|
|
|
10309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10310
10328
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10311
10329
|
var taskPair = strictObject({
|
|
10312
10330
|
task: nullable(side),
|
|
@@ -10329,7 +10347,7 @@ var taskPair = strictObject({
|
|
|
10329
10347
|
created_at: time
|
|
10330
10348
|
});
|
|
10331
10349
|
|
|
10332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10350
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10333
10351
|
var nullableTime = nullable(time);
|
|
10334
10352
|
var link = strictObject({
|
|
10335
10353
|
id,
|
|
@@ -10503,7 +10521,7 @@ var taskReview = strictObject({
|
|
|
10503
10521
|
untrusted
|
|
10504
10522
|
});
|
|
10505
10523
|
|
|
10506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10507
10525
|
var template = strictObject({
|
|
10508
10526
|
key: text,
|
|
10509
10527
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10515,7 +10533,7 @@ var template = strictObject({
|
|
|
10515
10533
|
updated_by: nullable(text)
|
|
10516
10534
|
});
|
|
10517
10535
|
|
|
10518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10519
10537
|
var topic = strictObject({
|
|
10520
10538
|
id,
|
|
10521
10539
|
title: text,
|
|
@@ -10529,7 +10547,7 @@ var topic = strictObject({
|
|
|
10529
10547
|
untrusted
|
|
10530
10548
|
});
|
|
10531
10549
|
|
|
10532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10533
10551
|
var ENTITIES = {
|
|
10534
10552
|
sync_progress: progress,
|
|
10535
10553
|
deal,
|
|
@@ -10563,6 +10581,7 @@ var ENTITIES = {
|
|
|
10563
10581
|
attachments: optional(array(hitFile)),
|
|
10564
10582
|
untrusted
|
|
10565
10583
|
}),
|
|
10584
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
10566
10585
|
"message.summary": strictObject({
|
|
10567
10586
|
...pick(message, [
|
|
10568
10587
|
"ref",
|
|
@@ -10585,6 +10604,8 @@ var ENTITIES = {
|
|
|
10585
10604
|
message_pin: messagePin,
|
|
10586
10605
|
message_star: messageStar,
|
|
10587
10606
|
message_deletion: messageDeletion,
|
|
10607
|
+
scheduled_cancellation: scheduledCancellation,
|
|
10608
|
+
scheduled_send: scheduledSend,
|
|
10588
10609
|
message_transcript: messageTranscript,
|
|
10589
10610
|
message_links: messageLinks,
|
|
10590
10611
|
evidence_packet: evidencePacket,
|
|
@@ -10828,7 +10849,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10828
10849
|
return [name, definition];
|
|
10829
10850
|
})), "entityDefinitions");
|
|
10830
10851
|
|
|
10831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10832
10853
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10833
10854
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10834
10855
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10862,7 +10883,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10862
10883
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10863
10884
|
}, "answerRow");
|
|
10864
10885
|
|
|
10865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
10866
10887
|
var where = [{ field: "ref" }];
|
|
10867
10888
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
10868
10889
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -10954,7 +10975,7 @@ var STATUS_ROWS = {
|
|
|
10954
10975
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
10955
10976
|
};
|
|
10956
10977
|
|
|
10957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
10958
10979
|
var TEXT_CHARS = 400;
|
|
10959
10980
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
10960
10981
|
var messageRow = {
|
|
@@ -11322,7 +11343,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11322
11343
|
return lines.concat(footerOf(body)).join("\n");
|
|
11323
11344
|
}, "compactText");
|
|
11324
11345
|
|
|
11325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11326
11347
|
import { join as join5 } from "node:path";
|
|
11327
11348
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11328
11349
|
var IMAGE_MODELS = [
|
|
@@ -11376,7 +11397,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11376
11397
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11377
11398
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11378
11399
|
|
|
11379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11380
11401
|
var STEPS2 = defineSteps([
|
|
11381
11402
|
...STEPS,
|
|
11382
11403
|
{
|
|
@@ -11666,7 +11687,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11666
11687
|
].join(" ");
|
|
11667
11688
|
}, "stepLine");
|
|
11668
11689
|
|
|
11669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11670
11691
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11671
11692
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11672
11693
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11724,7 +11745,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11724
11745
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11725
11746
|
}, "largeAnswerSteps");
|
|
11726
11747
|
|
|
11727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11728
11749
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11729
11750
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11730
11751
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11738,7 +11759,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11738
11759
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11739
11760
|
}, "strip");
|
|
11740
11761
|
|
|
11741
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11742
11763
|
var OPEN = "\u27E6";
|
|
11743
11764
|
var CLOSE = "\u27E7";
|
|
11744
11765
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11807,6 +11828,8 @@ var MESSAGE_UNTRUSTED = [
|
|
|
11807
11828
|
"bcc.name",
|
|
11808
11829
|
"reply_addresses.name"
|
|
11809
11830
|
];
|
|
11831
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
11832
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11810
11833
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11811
11834
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11812
11835
|
DECLARED.set(command, fields);
|
|
@@ -11826,7 +11849,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11826
11849
|
return result;
|
|
11827
11850
|
}, "withFieldsMarked");
|
|
11828
11851
|
|
|
11829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11830
11853
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11831
11854
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11832
11855
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12250,7 +12273,10 @@ export {
|
|
|
12250
12273
|
tooLargeSteps,
|
|
12251
12274
|
withoutProviderRefs,
|
|
12252
12275
|
runMarkOf,
|
|
12276
|
+
marked,
|
|
12253
12277
|
withUntrustedMarked,
|
|
12278
|
+
CHAT_UNTRUSTED,
|
|
12279
|
+
CONTACT_UNTRUSTED,
|
|
12254
12280
|
marksUntrusted,
|
|
12255
12281
|
answerSchema,
|
|
12256
12282
|
listOf,
|