@wirecat/amo-cli 0.1.1 → 0.3.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 +36 -0
- package/README.md +15 -10
- package/contracts/wirecat.json +55 -6
- 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-FDNP27SW.js +40 -0
- package/dist/bundle/{all-profiles-3KQVWDV4.js → all-profiles-PPUN52SP.js} +63 -21
- package/dist/bundle/amo.js +28 -26
- package/dist/bundle/{anthropic-N5NOX7K7.js → anthropic-RDNDT6ZP.js} +5 -5
- package/dist/bundle/{app-server-2MST5EZ5.js → app-server-MMALJDBP.js} +79 -68
- package/dist/bundle/{bun-4NHWOFX2.js → bun-Y4FRPURU.js} +2 -2
- package/dist/bundle/{bun-sqlite-DRSXPWPR.js → bun-sqlite-7NXJGZCO.js} +6 -6
- package/dist/bundle/{chunk-GNTJMB6X.js → chunk-2YEDK2XV.js} +4 -4
- package/dist/bundle/chunk-3NDMVXGS.js +80 -0
- package/dist/bundle/{chunk-Y37A3232.js → chunk-3RP57VDS.js} +114 -7
- package/dist/bundle/{chunk-ODNQU7DH.js → chunk-3YOZTGZ6.js} +43 -64
- package/dist/bundle/{chunk-ESZSMZKT.js → chunk-4EYPFFTN.js} +2 -2
- package/dist/bundle/{chunk-TZSUZGWM.js → chunk-4MVTSMWP.js} +2 -2
- package/dist/bundle/{chunk-LJQUYECN.js → chunk-5DPMNYQT.js} +1 -1
- package/dist/bundle/{chunk-7PKFYX7V.js → chunk-5POLHHDZ.js} +8 -8
- package/dist/bundle/{chunk-A33TIM5D.js → chunk-5RXH35ZA.js} +225 -225
- package/dist/bundle/{chunk-BVMNXI53.js → chunk-77FP6AWC.js} +25 -25
- package/dist/bundle/{chunk-L6AFE73L.js → chunk-7E6QSIRQ.js} +1 -1
- package/dist/bundle/chunk-7SBAHYZW.js +734 -0
- package/dist/bundle/{chunk-GQ7VFIYM.js → chunk-7USADF2W.js} +23 -7
- package/dist/bundle/{chunk-AHJ4W2IL.js → chunk-7VSYOMEH.js} +2 -2
- package/dist/bundle/chunk-7Z6NYSAN.js +52 -0
- package/dist/bundle/chunk-AYR6FIXN.js +30 -0
- package/dist/bundle/{chunk-ADEWU4P4.js → chunk-B4ITT55D.js} +1 -1
- package/dist/bundle/{chunk-AUBB72VF.js → chunk-BKTLAXUK.js} +41 -10
- package/dist/bundle/{chunk-63F65DHU.js → chunk-BYVDMPLX.js} +2 -2
- package/dist/bundle/{chunk-V77XNPXG.js → chunk-CQ472K6W.js} +11 -11
- package/dist/bundle/{chunk-FKR3M62D.js → chunk-CUZISGWH.js} +13 -13
- package/dist/bundle/{chunk-LDEBZ3IX.js → chunk-D6UPCAPD.js} +1 -1
- package/dist/bundle/{chunk-P3WQRTYZ.js → chunk-E2DLRLJ5.js} +1 -1
- package/dist/bundle/{chunk-NJYAL3UW.js → chunk-EHULZEXQ.js} +1 -1
- package/dist/bundle/chunk-EKNP326Q.js +108 -0
- package/dist/bundle/{chunk-DJD7TBYG.js → chunk-ELJGALVX.js} +76 -74
- package/dist/bundle/{chunk-RPWAJYI6.js → chunk-FI2TP6TY.js} +3 -3
- package/dist/bundle/{chunk-CDY2NJFE.js → chunk-FPDTIQOK.js} +2 -2
- package/dist/bundle/{chunk-NC76INB2.js → chunk-FPIUFSWK.js} +3099 -2266
- package/dist/bundle/{chunk-SZ2V62HB.js → chunk-GCUFGDKE.js} +2 -2
- package/dist/bundle/{chunk-LRBPT7LQ.js → chunk-GKP7CKW2.js} +6 -6
- package/dist/bundle/chunk-H34RBRS3.js +209 -0
- package/dist/bundle/{chunk-O2UCU52O.js → chunk-HQH4YPO5.js} +134 -569
- package/dist/bundle/{chunk-TNUFLULO.js → chunk-I4QCJZW7.js} +8 -8
- package/dist/bundle/{chunk-DXGGCGRP.js → chunk-IDQ7BNCZ.js} +14 -14
- package/dist/bundle/{chunk-JMDLPBXK.js → chunk-IEAPNTHT.js} +17 -17
- package/dist/bundle/{chunk-XQL7FEF4.js → chunk-ILUREFWJ.js} +9 -9
- package/dist/bundle/{chunk-QRQYUHCZ.js → chunk-IYUWVMGP.js} +12 -12
- package/dist/bundle/chunk-JTFAG3BX.js +338 -0
- package/dist/bundle/{chunk-CHUKWON6.js → chunk-JZ2AITOE.js} +3 -3
- package/dist/bundle/{chunk-JR6TSMFX.js → chunk-KEOKH2OZ.js} +103 -70
- package/dist/bundle/{chunk-UMVRT7VQ.js → chunk-KKXF6TSS.js} +1 -1
- package/dist/bundle/{chunk-5E5R65CA.js → chunk-KTLCQ7GC.js} +2 -2
- package/dist/bundle/{chunk-QDMXZZG4.js → chunk-KZDBO2FT.js} +18 -8
- package/dist/bundle/{chunk-VX37MPTJ.js → chunk-L2ZQDTDU.js} +1 -1
- package/dist/bundle/{chunk-CUZRHF34.js → chunk-L3JDQNBC.js} +4 -4
- package/dist/bundle/{chunk-3IRJDH2U.js → chunk-L72UALL5.js} +2 -100
- package/dist/bundle/{chunk-XRTD2GCU.js → chunk-LOSOWTAZ.js} +19 -258
- package/dist/bundle/{chunk-LGQXGOPJ.js → chunk-LYRICHEK.js} +2 -2
- package/dist/bundle/{chunk-UBRREVLJ.js → chunk-MMOEAH5G.js} +2 -2
- package/dist/bundle/{chunk-EQ7A6NA6.js → chunk-MPXKBF37.js} +1 -1
- package/dist/bundle/{chunk-SMSTGO2G.js → chunk-MYMBPQPQ.js} +4 -4
- package/dist/bundle/chunk-N4A6E2LL.js +559 -0
- package/dist/bundle/{chunk-5HGGG3QO.js → chunk-NJ2LJKNH.js} +16 -3
- package/dist/bundle/{chunk-TGEQNS6G.js → chunk-OMH3WP7F.js} +1 -1
- package/dist/bundle/{chunk-ULXQ5MJM.js → chunk-ORFLQGWH.js} +4 -4
- package/dist/bundle/{chunk-DQV2IKCF.js → chunk-PFZ7WG2B.js} +10 -3
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-6RS7OYTD.js → chunk-Q2YVY7IR.js} +3 -3
- package/dist/bundle/{chunk-DOSJONCX.js → chunk-QHA33ZS6.js} +7 -7
- package/dist/bundle/{chunk-JH3UOHRE.js → chunk-QQT7WUR4.js} +4 -4
- package/dist/bundle/{chunk-EROSAUNP.js → chunk-R23DRW2T.js} +5 -5
- package/dist/bundle/{chunk-WCYCUTSK.js → chunk-SBQ5MFHM.js} +7 -7
- package/dist/bundle/{chunk-DAY6TSPF.js → chunk-SJYVKR54.js} +62 -50
- package/dist/bundle/{chunk-T2UDLX76.js → chunk-SJZ52MZE.js} +6 -6
- package/dist/bundle/{chunk-ZM7I52EP.js → chunk-T6D34X5S.js} +3 -4
- package/dist/bundle/{chunk-P5LYZRKW.js → chunk-TCDER3G7.js} +1586 -749
- package/dist/bundle/{chunk-2I5UVMLW.js → chunk-TWZF7VO6.js} +1726 -1159
- package/dist/bundle/{chunk-VVHRQ46X.js → chunk-UA7C57IB.js} +2 -2
- package/dist/bundle/{chunk-5SBLU7D7.js → chunk-UM6SDFB6.js} +1 -1
- package/dist/bundle/{chunk-7U5HJEPZ.js → chunk-UOPP6ORQ.js} +21 -19
- package/dist/bundle/{chunk-U7RLVJ34.js → chunk-UT3ODJMI.js} +4 -4
- package/dist/bundle/{chunk-7GTUZY7M.js → chunk-UZLT6VSP.js} +3 -3
- package/dist/bundle/{chunk-5RLUHTK6.js → chunk-V3ZWYMXT.js} +1 -1
- package/dist/bundle/{chunk-LSND5QYI.js → chunk-VD7HD25M.js} +9 -9
- package/dist/bundle/{chunk-PFO76YFP.js → chunk-VEGNZPQU.js} +18 -18
- package/dist/bundle/{chunk-5Z5PEEKP.js → chunk-VFU25P57.js} +4 -4
- package/dist/bundle/{chunk-4ZAK773N.js → chunk-VJHOBOJR.js} +3 -3
- package/dist/bundle/{chunk-PM77PRB6.js → chunk-VPBSZ4HQ.js} +185 -162
- package/dist/bundle/{chunk-Q2VNBY4Y.js → chunk-VY27K2SH.js} +746 -1205
- package/dist/bundle/{chunk-XEFAMLSD.js → chunk-W4KY5JF5.js} +3 -3
- package/dist/bundle/{chunk-73CXFE36.js → chunk-WBWVBEHH.js} +29 -1
- package/dist/bundle/{chunk-NHXJYS4R.js → chunk-XDT74W5P.js} +32 -28
- package/dist/bundle/{chunk-EPOV5UIO.js → chunk-XI75EKLG.js} +11 -11
- package/dist/bundle/{chunk-2B24PDH7.js → chunk-XM2G62YF.js} +8 -6
- package/dist/bundle/{chunk-5D4Z2B5B.js → chunk-YSOGGUK3.js} +9 -9
- package/dist/bundle/chunk-YVO2YGML.js +353 -0
- package/dist/bundle/{chunk-EQUKVVHX.js → chunk-ZIFEIJRK.js} +7 -7
- package/dist/bundle/{cli-QVWTXADI.js → cli-GAO7LDDA.js} +150 -103
- package/dist/bundle/command-contract-RLIBGIDT.js +39 -0
- package/dist/bundle/{command-server-entry-5VL5U5EE.js → command-server-entry-BCDJP7XE.js} +28 -28
- package/dist/bundle/{decode-SQ5WGNDX.js → decode-OY2GR442.js} +5 -5
- package/dist/bundle/{dispatch-LA4DFXJD.js → dispatch-JWEJCBTF.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-25Z3RINX.js → echarts-AHEPEA5P.js} +2 -2
- package/dist/bundle/{embed-BNOTNXMA.js → embed-RVSUV54Z.js} +6 -6
- package/dist/bundle/{embedder-BCUT7KKV.js → embedder-GRZXZUXR.js} +9 -9
- package/dist/bundle/{failure-PKAC6XCT.js → failure-DDCSR54L.js} +2 -2
- package/dist/bundle/{first-run-EO5K5GME.js → first-run-G3WI4DH4.js} +12 -12
- package/dist/bundle/first-screen-6MLCMW2U.js +39 -0
- package/dist/bundle/{instructions-VLM3QAYB.js → instructions-NWQC5IP4.js} +1 -1
- package/dist/bundle/{mcp-7ILNMJH5.js → mcp-KGWT6TGO.js} +2 -2
- package/dist/bundle/meeting-combined-SVTFVZNJ.js +24 -0
- package/dist/bundle/{meeting-model-GHMMUQ34.js → meeting-model-I6T5HIZ5.js} +11 -11
- package/dist/bundle/{meeting-semantic-BMP6323L.js → meeting-semantic-47UA5JBF.js} +6 -6
- package/dist/bundle/{node-CT3N3TNL.js → node-7VXN7F4B.js} +2 -2
- package/dist/bundle/{node-sqlite-MELD2SBX.js → node-sqlite-BSEON57L.js} +7 -7
- package/dist/bundle/{oauth-YBH5OKC2.js → oauth-V6UAT4YD.js} +8 -8
- package/dist/bundle/{open-WNSBWTAG.js → open-7LVAY7ZU.js} +5 -5
- package/dist/bundle/{openai-XSNMNLW6.js → openai-OIEH342H.js} +15 -15
- package/dist/bundle/{process-I2QKOMM7.js → process-PTUCNLZ7.js} +1 -1
- package/dist/bundle/{program-DV73CIGP.js → program-S5WY5IZP.js} +643 -852
- package/dist/bundle/{prompt-SOG4AKPM.js → prompt-7XWTEQ62.js} +5 -5
- package/dist/bundle/{recognize-WMQLWMXH.js → recognize-HGIAJXDR.js} +4 -4
- package/dist/bundle/{remote-4BTFOLFY.js → remote-X4SVEMHS.js} +9 -9
- package/dist/bundle/{rerank-LJ3TWRNV.js → rerank-QWM3DQMU.js} +7 -7
- package/dist/bundle/{serve-B6UANKXN.js → serve-VVG3TXYT.js} +10 -10
- package/dist/bundle/{server-YRH6GJ5Z.js → server-EHYK62BJ.js} +73 -61
- package/dist/bundle/server-WRPTBVNW.js +86 -0
- package/dist/bundle/source-YISMYLBQ.js +44 -0
- package/dist/bundle/{sqlite-runtime-R7QFWFE7.js → sqlite-runtime-MCKXDNYC.js} +6 -6
- package/dist/bundle/{state-DIJ5YUOE.js → state-MYNYQJCT.js} +6 -6
- package/dist/bundle/store-A7R2SZVD.js +34 -0
- package/dist/bundle/{store-MYTYDV6A.js → store-B7O3F3QB.js} +28 -21
- package/dist/bundle/{store-6WFWW7EC.js → store-FPIU2546.js} +24 -23
- package/dist/bundle/store-maintenance-command-D55FRTIK.js +73 -0
- package/dist/bundle/surface-3EX6IGHW.js +72 -0
- package/dist/bundle/writer-XDHZ54JD.js +46 -0
- package/dist/commands/session.d.ts +23 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +115 -45
- 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 +3 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +2 -0
- 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 +5 -3
- package/scenarios/first-sync.md +23 -0
- package/scenarios/keep-in-sync.md +18 -0
- package/scenarios/safe-agent-writes.md +21 -0
- package/skills/amo-cli/SKILL.md +1 -1
- package/skills/amo-cli/references/mcp.md +1 -1
- package/skills/amo-cli/references/setup.md +9 -3
- 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-FJCNZULV.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-SBQ5MFHM.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MYMBPQPQ.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YSOGGUK3.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UM6SDFB6.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Q2YVY7IR.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-77FP6AWC.js";
|
|
72
72
|
import {
|
|
73
73
|
isCliFailure,
|
|
74
74
|
storeDamaged
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-MMOEAH5G.js";
|
|
76
76
|
import {
|
|
77
77
|
endpoint
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import {
|
|
80
|
-
repairConfigText,
|
|
81
|
-
sharedConfigPath
|
|
82
|
-
} from "./chunk-DOSJONCX.js";
|
|
78
|
+
} from "./chunk-7USADF2W.js";
|
|
83
79
|
import {
|
|
84
80
|
filesPresent,
|
|
85
81
|
sharedModelsDirectory
|
|
86
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-UT3ODJMI.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-KZDBO2FT.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-IYUWVMGP.js";
|
|
116
112
|
import {
|
|
117
113
|
TAG_TYPES
|
|
118
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-BYVDMPLX.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-5RXH35ZA.js";
|
|
143
|
+
import {
|
|
144
|
+
repairConfigText,
|
|
145
|
+
sharedConfigPath
|
|
146
|
+
} from "./chunk-QHA33ZS6.js";
|
|
147
147
|
import {
|
|
148
148
|
storePath
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-KTLCQ7GC.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-ELJGALVX.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-BKTLAXUK.js";
|
|
211
211
|
import {
|
|
212
212
|
CliError,
|
|
213
213
|
isCliError,
|
|
214
214
|
visibleControls
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-GCUFGDKE.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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.126.1_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.126.1_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.126.1_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.126.1_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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/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"];
|
|
@@ -6727,7 +6729,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6727
6729
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6728
6730
|
}, "readConfigFile");
|
|
6729
6731
|
|
|
6730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6731
6733
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
6732
6734
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
6733
6735
|
var DEFAULT_CONFIG = {
|
|
@@ -6756,7 +6758,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6756
6758
|
}
|
|
6757
6759
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6758
6760
|
|
|
6759
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
6760
6762
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
|
|
6761
6763
|
import { join as join4 } from "node:path";
|
|
6762
6764
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -6778,7 +6780,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
6778
6780
|
}, "profilesWithAccounts");
|
|
6779
6781
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
6780
6782
|
|
|
6781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6782
6784
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6783
6785
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6784
6786
|
const path2 = key.split(".");
|
|
@@ -6811,10 +6813,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6811
6813
|
};
|
|
6812
6814
|
}), "settingRows");
|
|
6813
6815
|
|
|
6814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6815
6817
|
import { existsSync as existsSync5 } from "node:fs";
|
|
6816
6818
|
|
|
6817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
6818
6820
|
var HISTORY_MAX_DAYS = 1095;
|
|
6819
6821
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
6820
6822
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -6861,7 +6863,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
6861
6863
|
return { batch: { ...batch, messages }, skipped };
|
|
6862
6864
|
}, "limitBatch");
|
|
6863
6865
|
|
|
6864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6865
6867
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6866
6868
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6867
6869
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -7389,7 +7391,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
7389
7391
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
7390
7392
|
}, "given");
|
|
7391
7393
|
|
|
7392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
7393
7395
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
7394
7396
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
7395
7397
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -7446,7 +7448,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
7446
7448
|
};
|
|
7447
7449
|
}, "runBudget");
|
|
7448
7450
|
|
|
7449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
7450
7452
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
7451
7453
|
const { deadline, signal, app } = environmentOf(command);
|
|
7452
7454
|
const now = deadline?.();
|
|
@@ -7600,7 +7602,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7600
7602
|
return words.join(" ");
|
|
7601
7603
|
}, "commandPath");
|
|
7602
7604
|
|
|
7603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7604
7606
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7605
7607
|
var FETCH = { remote: "read", local: "write" };
|
|
7606
7608
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7636,7 +7638,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
7636
7638
|
KEPT_UNDER_LOCK.add(command);
|
|
7637
7639
|
return command;
|
|
7638
7640
|
}, "destroysNothing");
|
|
7639
|
-
var PROPOSE_COMMANDS = [
|
|
7641
|
+
var PROPOSE_COMMANDS = [
|
|
7642
|
+
"messages acknowledge",
|
|
7643
|
+
"mail findings add",
|
|
7644
|
+
"projects actions add",
|
|
7645
|
+
"meetings actions add"
|
|
7646
|
+
];
|
|
7640
7647
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
7641
7648
|
var proposesOnly = /* @__PURE__ */ __name((command) => {
|
|
7642
7649
|
PROPOSES.add(command);
|
|
@@ -7752,7 +7759,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7752
7759
|
throw readOnlyRefusal(lock, what);
|
|
7753
7760
|
}, "refuseUnderReadOnly");
|
|
7754
7761
|
|
|
7755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7756
7763
|
var account = strictObject({
|
|
7757
7764
|
provider: text,
|
|
7758
7765
|
id,
|
|
@@ -7762,7 +7769,7 @@ var account = strictObject({
|
|
|
7762
7769
|
scope: optional(picklist(["personal", "work"]))
|
|
7763
7770
|
});
|
|
7764
7771
|
|
|
7765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7772
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7766
7773
|
var accountSession = strictObject({
|
|
7767
7774
|
current: boolean(),
|
|
7768
7775
|
client: nullable(text),
|
|
@@ -7772,7 +7779,7 @@ var accountSession = strictObject({
|
|
|
7772
7779
|
created_at: optional(nullable(time))
|
|
7773
7780
|
});
|
|
7774
7781
|
|
|
7775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7776
7783
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7777
7784
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7778
7785
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7801,7 +7808,7 @@ var accountRemoval = strictObject({
|
|
|
7801
7808
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
7802
7809
|
});
|
|
7803
7810
|
|
|
7804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7805
7812
|
var accountProfile = strictObject({
|
|
7806
7813
|
profile: id,
|
|
7807
7814
|
current: boolean(),
|
|
@@ -7813,7 +7820,7 @@ var accountProfile = strictObject({
|
|
|
7813
7820
|
bot: optional(literal(true))
|
|
7814
7821
|
});
|
|
7815
7822
|
|
|
7816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7817
7824
|
var milliseconds = pipe(number(), minValue(0));
|
|
7818
7825
|
var counterReading = strictObject({
|
|
7819
7826
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7825,7 +7832,7 @@ var counterReading = strictObject({
|
|
|
7825
7832
|
});
|
|
7826
7833
|
var selection = record(string(), unknown());
|
|
7827
7834
|
|
|
7828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7829
7836
|
var adminRow = strictObject({
|
|
7830
7837
|
ref: reference,
|
|
7831
7838
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7878,7 +7885,7 @@ var adminReport = strictObject({
|
|
|
7878
7885
|
rows: array(adminRow)
|
|
7879
7886
|
});
|
|
7880
7887
|
|
|
7881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7882
7889
|
var closeSuggestion = strictObject({
|
|
7883
7890
|
as: picklist(["done", "dismissed"]),
|
|
7884
7891
|
/** The agent's name. */
|
|
@@ -7940,7 +7947,7 @@ var task = strictObject({
|
|
|
7940
7947
|
updated_at: optional(time)
|
|
7941
7948
|
});
|
|
7942
7949
|
|
|
7943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7944
7951
|
var agendaChat = strictObject({
|
|
7945
7952
|
chat: reference,
|
|
7946
7953
|
title: nullable(text),
|
|
@@ -8010,11 +8017,11 @@ var agenda = strictObject({
|
|
|
8010
8017
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
8011
8018
|
});
|
|
8012
8019
|
|
|
8013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
8014
8021
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
8015
8022
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
8016
8023
|
|
|
8017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
8018
8025
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
8019
8026
|
var attachmentBytes = strictObject({
|
|
8020
8027
|
ref: reference,
|
|
@@ -8045,7 +8052,7 @@ var attachmentTextChange = strictObject({
|
|
|
8045
8052
|
text: optional(text)
|
|
8046
8053
|
});
|
|
8047
8054
|
|
|
8048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
8049
8056
|
var chart = strictObject({
|
|
8050
8057
|
version: literal(1),
|
|
8051
8058
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -8060,7 +8067,7 @@ var chart = strictObject({
|
|
|
8060
8067
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
8061
8068
|
});
|
|
8062
8069
|
|
|
8063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
8064
8071
|
var named = strictObject({
|
|
8065
8072
|
id,
|
|
8066
8073
|
title: nullable(text),
|
|
@@ -8083,7 +8090,7 @@ var folder = strictObject({
|
|
|
8083
8090
|
excluded_chats: optional(array(named))
|
|
8084
8091
|
});
|
|
8085
8092
|
|
|
8086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
8087
8094
|
var inviteLink = strictObject({
|
|
8088
8095
|
link: text,
|
|
8089
8096
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -8099,7 +8106,7 @@ var inviteLink = strictObject({
|
|
|
8099
8106
|
joined_count: optional(count)
|
|
8100
8107
|
});
|
|
8101
8108
|
|
|
8102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
8103
8110
|
var operated = { operation_id: id, chat_id: id };
|
|
8104
8111
|
var group = strictObject({
|
|
8105
8112
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8179,7 +8186,7 @@ var chatFolderOrder = strictObject({
|
|
|
8179
8186
|
folders: array(strictObject({ id, title: text }))
|
|
8180
8187
|
});
|
|
8181
8188
|
|
|
8182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8183
8190
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8184
8191
|
var chatRemoval = strictObject(operated2);
|
|
8185
8192
|
var chatMuting = strictObject({
|
|
@@ -8190,7 +8197,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8190
8197
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8191
8198
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8192
8199
|
|
|
8193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8194
8201
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8195
8202
|
var chatEvent = strictObject({
|
|
8196
8203
|
chat_id: id,
|
|
@@ -8207,7 +8214,7 @@ var chatEvent = strictObject({
|
|
|
8207
8214
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8208
8215
|
});
|
|
8209
8216
|
|
|
8210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8211
8218
|
var chatMetadata = strictObject({
|
|
8212
8219
|
chat_id: id,
|
|
8213
8220
|
title: nullable(text),
|
|
@@ -8222,7 +8229,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8222
8229
|
has_more: boolean()
|
|
8223
8230
|
});
|
|
8224
8231
|
|
|
8225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8226
8233
|
var action = picklist(["report", "delete", "remove"]);
|
|
8227
8234
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8228
8235
|
var chatRules = strictObject({
|
|
@@ -8259,7 +8266,7 @@ var chatModeration = strictObject({
|
|
|
8259
8266
|
}))
|
|
8260
8267
|
});
|
|
8261
8268
|
|
|
8262
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
8263
8270
|
var chatSending = strictObject({
|
|
8264
8271
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
8265
8272
|
meaning: text,
|
|
@@ -8269,7 +8276,7 @@ var chatSending = strictObject({
|
|
|
8269
8276
|
changed: optional(boolean())
|
|
8270
8277
|
});
|
|
8271
8278
|
|
|
8272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8273
8280
|
var optionalCount = optional(count);
|
|
8274
8281
|
var minutes = nullable(number());
|
|
8275
8282
|
var chatStats = strictObject({
|
|
@@ -8345,7 +8352,7 @@ var taskStats = strictObject({
|
|
|
8345
8352
|
}))
|
|
8346
8353
|
});
|
|
8347
8354
|
|
|
8348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8349
8356
|
var memberCount = strictObject({
|
|
8350
8357
|
day: pipe(text, isoDate()),
|
|
8351
8358
|
participants: nullable(count),
|
|
@@ -8368,7 +8375,7 @@ var chatTracking = strictObject({
|
|
|
8368
8375
|
tracked: boolean()
|
|
8369
8376
|
});
|
|
8370
8377
|
|
|
8371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8372
8379
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8373
8380
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8374
8381
|
var profileFields = {
|
|
@@ -8406,7 +8413,7 @@ var profileFields = {
|
|
|
8406
8413
|
}))
|
|
8407
8414
|
};
|
|
8408
8415
|
|
|
8409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8410
8417
|
var contact = strictObject({
|
|
8411
8418
|
ref: reference,
|
|
8412
8419
|
id,
|
|
@@ -8437,7 +8444,7 @@ var contact = strictObject({
|
|
|
8437
8444
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8438
8445
|
});
|
|
8439
8446
|
|
|
8440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8441
8448
|
var contactNote = strictObject({
|
|
8442
8449
|
id,
|
|
8443
8450
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8449,13 +8456,13 @@ var contactNote = strictObject({
|
|
|
8449
8456
|
updated_at: time
|
|
8450
8457
|
});
|
|
8451
8458
|
|
|
8452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8453
8460
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8454
8461
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8455
8462
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8456
8463
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8457
8464
|
|
|
8458
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8459
8466
|
var conversation = strictObject({
|
|
8460
8467
|
id,
|
|
8461
8468
|
chat: reference,
|
|
@@ -8470,7 +8477,7 @@ var conversation = strictObject({
|
|
|
8470
8477
|
rules_version: count
|
|
8471
8478
|
});
|
|
8472
8479
|
|
|
8473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8474
8481
|
var conversationDetails = union([
|
|
8475
8482
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8476
8483
|
message
|
|
@@ -8557,10 +8564,15 @@ var conversationHit = strictObject({
|
|
|
8557
8564
|
score: nullable(number()),
|
|
8558
8565
|
matched_in: optional(literal("context")),
|
|
8559
8566
|
by: array(picklist(["meaning", "words"])),
|
|
8560
|
-
stale: boolean()
|
|
8567
|
+
stale: boolean(),
|
|
8568
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
8569
|
+
lines: optional(array(text)),
|
|
8570
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
8571
|
+
from_owner: optional(literal(true)),
|
|
8572
|
+
untrusted
|
|
8561
8573
|
});
|
|
8562
8574
|
|
|
8563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8564
8576
|
var counters = strictObject({
|
|
8565
8577
|
cutoff: time,
|
|
8566
8578
|
max_age_ms: milliseconds,
|
|
@@ -8590,7 +8602,7 @@ var counterRefresh = strictObject({
|
|
|
8590
8602
|
complete: optional(boolean())
|
|
8591
8603
|
});
|
|
8592
8604
|
|
|
8593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8594
8606
|
var document = strictObject({
|
|
8595
8607
|
ref: reference,
|
|
8596
8608
|
id,
|
|
@@ -8605,7 +8617,7 @@ var document = strictObject({
|
|
|
8605
8617
|
owners: optional(array(text))
|
|
8606
8618
|
});
|
|
8607
8619
|
|
|
8608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8609
8621
|
var documentLink = strictObject({
|
|
8610
8622
|
ref: reference,
|
|
8611
8623
|
url: text,
|
|
@@ -8616,7 +8628,7 @@ var documentLink = strictObject({
|
|
|
8616
8628
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8617
8629
|
});
|
|
8618
8630
|
|
|
8619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8620
8632
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8621
8633
|
var contribution = strictObject({
|
|
8622
8634
|
message: evidenceMessage,
|
|
@@ -8646,7 +8658,7 @@ var retentionStay = strictObject({
|
|
|
8646
8658
|
});
|
|
8647
8659
|
var evidence = union([contribution, retentionStay]);
|
|
8648
8660
|
|
|
8649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8650
8662
|
var fact = strictObject({
|
|
8651
8663
|
ref: reference,
|
|
8652
8664
|
id,
|
|
@@ -8677,7 +8689,7 @@ var fact = strictObject({
|
|
|
8677
8689
|
updated_at: time
|
|
8678
8690
|
});
|
|
8679
8691
|
|
|
8680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8681
8693
|
var hit = strictObject({
|
|
8682
8694
|
kind: picklist([
|
|
8683
8695
|
"message",
|
|
@@ -8736,7 +8748,7 @@ var hit = strictObject({
|
|
|
8736
8748
|
untrusted
|
|
8737
8749
|
});
|
|
8738
8750
|
|
|
8739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8740
8752
|
var identity = strictObject({
|
|
8741
8753
|
ref: reference,
|
|
8742
8754
|
provider: text,
|
|
@@ -8752,7 +8764,7 @@ var identity = strictObject({
|
|
|
8752
8764
|
person: optional(nullable(reference))
|
|
8753
8765
|
});
|
|
8754
8766
|
|
|
8755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8756
8768
|
var imageEmbedding = strictObject({
|
|
8757
8769
|
model: text,
|
|
8758
8770
|
embedded: count,
|
|
@@ -8761,7 +8773,7 @@ var imageEmbedding = strictObject({
|
|
|
8761
8773
|
more: boolean()
|
|
8762
8774
|
});
|
|
8763
8775
|
|
|
8764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8765
8777
|
var joinRequest = strictObject({
|
|
8766
8778
|
person_id: id,
|
|
8767
8779
|
name: nullable(text),
|
|
@@ -8772,7 +8784,7 @@ var joinRequest = strictObject({
|
|
|
8772
8784
|
about: optional(text)
|
|
8773
8785
|
});
|
|
8774
8786
|
|
|
8775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8776
8788
|
var pollVote = strictObject({
|
|
8777
8789
|
person_id: id,
|
|
8778
8790
|
name: nullable(text),
|
|
@@ -8782,7 +8794,7 @@ var pollVote = strictObject({
|
|
|
8782
8794
|
voted_at: time
|
|
8783
8795
|
});
|
|
8784
8796
|
|
|
8785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8786
8798
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8787
8799
|
var observation = strictObject({
|
|
8788
8800
|
value: pipe(number(), minValue(0)),
|
|
@@ -8824,7 +8836,7 @@ var serveSummary = strictObject({
|
|
|
8824
8836
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8825
8837
|
});
|
|
8826
8838
|
|
|
8827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8828
8840
|
var mailCounts = strictObject({
|
|
8829
8841
|
by: picklist(["day", "week", "sender"]),
|
|
8830
8842
|
received: count,
|
|
@@ -8839,7 +8851,7 @@ var mailCounts = strictObject({
|
|
|
8839
8851
|
}))
|
|
8840
8852
|
});
|
|
8841
8853
|
|
|
8842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8843
8855
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8844
8856
|
var base = { id, evidence: array(evidence2) };
|
|
8845
8857
|
var finding = variant("kind", [
|
|
@@ -8983,7 +8995,7 @@ var mailFindings = strictObject({
|
|
|
8983
8995
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8984
8996
|
});
|
|
8985
8997
|
|
|
8986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8998
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8987
8999
|
var mediaArchive = strictObject({
|
|
8988
9000
|
directory: text,
|
|
8989
9001
|
chats: count,
|
|
@@ -9015,7 +9027,7 @@ var mediaArchiveTimer = union([
|
|
|
9015
9027
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9016
9028
|
]);
|
|
9017
9029
|
|
|
9018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9019
9031
|
var preparationId = pipe(string(), minLength(1));
|
|
9020
9032
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9021
9033
|
var preparationTime = nullable(isoTime);
|
|
@@ -9107,7 +9119,7 @@ var preparationMeeting = strictObject({
|
|
|
9107
9119
|
updated_at: isoTime
|
|
9108
9120
|
});
|
|
9109
9121
|
|
|
9110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9111
9123
|
var meetingEvidence = preparationEvidence;
|
|
9112
9124
|
var meetingPersonContext = strictObject({
|
|
9113
9125
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9129,7 +9141,7 @@ var meetingPersonContext = strictObject({
|
|
|
9129
9141
|
})
|
|
9130
9142
|
});
|
|
9131
9143
|
|
|
9132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9133
9145
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9134
9146
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9135
9147
|
var finding2 = variant("kind", [
|
|
@@ -9167,7 +9179,7 @@ var meetingFindings = strictObject({
|
|
|
9167
9179
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9168
9180
|
});
|
|
9169
9181
|
|
|
9170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9171
9183
|
var communicationCoverage = strictObject({
|
|
9172
9184
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9173
9185
|
query: string(),
|
|
@@ -9212,7 +9224,7 @@ var preparationCommunications = strictObject({
|
|
|
9212
9224
|
}))
|
|
9213
9225
|
});
|
|
9214
9226
|
|
|
9215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9216
9228
|
var meetingPreparation = strictObject({
|
|
9217
9229
|
communications: optional(preparationCommunications),
|
|
9218
9230
|
schema_version: literal(1),
|
|
@@ -9325,7 +9337,7 @@ var meetingPreparation = strictObject({
|
|
|
9325
9337
|
})
|
|
9326
9338
|
});
|
|
9327
9339
|
|
|
9328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9329
9341
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9330
9342
|
var id3 = pipe(string(), minLength(1));
|
|
9331
9343
|
var text3 = string();
|
|
@@ -9389,7 +9401,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9389
9401
|
})
|
|
9390
9402
|
});
|
|
9391
9403
|
|
|
9392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9393
9405
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9394
9406
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9395
9407
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9419,7 +9431,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9419
9431
|
})
|
|
9420
9432
|
});
|
|
9421
9433
|
|
|
9422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9434
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9423
9435
|
var text4 = string();
|
|
9424
9436
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9425
9437
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9436,7 +9448,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9436
9448
|
persistence: literal("proposal-only")
|
|
9437
9449
|
});
|
|
9438
9450
|
|
|
9439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9440
9452
|
var memory = strictObject({
|
|
9441
9453
|
ref: reference,
|
|
9442
9454
|
id,
|
|
@@ -9464,7 +9476,7 @@ var memory = strictObject({
|
|
|
9464
9476
|
updated_at: time
|
|
9465
9477
|
});
|
|
9466
9478
|
|
|
9467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9468
9480
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9469
9481
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9470
9482
|
var mention = strictObject({
|
|
@@ -9508,13 +9520,16 @@ var mentionRebuild = strictObject({
|
|
|
9508
9520
|
mentions: count
|
|
9509
9521
|
});
|
|
9510
9522
|
|
|
9511
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9512
9524
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9513
9525
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9514
9526
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9515
9527
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9528
|
+
var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
|
|
9529
|
+
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9530
|
+
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9516
9531
|
|
|
9517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9518
9533
|
var messageTranscript = strictObject({
|
|
9519
9534
|
message_id: id,
|
|
9520
9535
|
text,
|
|
@@ -9572,7 +9587,7 @@ var evidencePacket = strictObject({
|
|
|
9572
9587
|
}))
|
|
9573
9588
|
});
|
|
9574
9589
|
|
|
9575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9576
9591
|
var messageThread = strictObject({
|
|
9577
9592
|
ref: reference,
|
|
9578
9593
|
chat: id,
|
|
@@ -9589,7 +9604,7 @@ var messageThread = strictObject({
|
|
|
9589
9604
|
});
|
|
9590
9605
|
var messageContext = union([message, messageThread]);
|
|
9591
9606
|
|
|
9592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9593
9608
|
var messageCounts = strictObject({
|
|
9594
9609
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9595
9610
|
total: count,
|
|
@@ -9602,7 +9617,7 @@ var messageCounts = strictObject({
|
|
|
9602
9617
|
}))
|
|
9603
9618
|
});
|
|
9604
9619
|
|
|
9605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9606
9621
|
var messageLink = strictObject({
|
|
9607
9622
|
ref: reference,
|
|
9608
9623
|
url: nullable(text),
|
|
@@ -9619,7 +9634,7 @@ var messageLink = strictObject({
|
|
|
9619
9634
|
})))
|
|
9620
9635
|
});
|
|
9621
9636
|
|
|
9622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9623
9638
|
var messageWrite = strictObject({
|
|
9624
9639
|
operation_id: id,
|
|
9625
9640
|
message,
|
|
@@ -9634,7 +9649,7 @@ var draftWrite = strictObject({
|
|
|
9634
9649
|
});
|
|
9635
9650
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9636
9651
|
|
|
9637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9638
9653
|
var model2 = strictObject({
|
|
9639
9654
|
id,
|
|
9640
9655
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9669,7 +9684,7 @@ var chosenModel = strictObject({
|
|
|
9669
9684
|
estimate_seconds: nullable(count)
|
|
9670
9685
|
});
|
|
9671
9686
|
|
|
9672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9673
9688
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9674
9689
|
var modelKey = strictObject({
|
|
9675
9690
|
provider: text,
|
|
@@ -9679,7 +9694,7 @@ var modelKey = strictObject({
|
|
|
9679
9694
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9680
9695
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9681
9696
|
|
|
9682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9683
9698
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9684
9699
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9685
9700
|
var graph = strictObject({
|
|
@@ -9713,14 +9728,14 @@ var officialStats = strictObject({
|
|
|
9713
9728
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9714
9729
|
});
|
|
9715
9730
|
|
|
9716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9717
9732
|
var person2 = strictObject({
|
|
9718
9733
|
ref: reference,
|
|
9719
9734
|
name: nullable(text),
|
|
9720
9735
|
identities: optional(array(identity))
|
|
9721
9736
|
});
|
|
9722
9737
|
|
|
9723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9724
9739
|
var poll = strictObject({
|
|
9725
9740
|
chat_id: id,
|
|
9726
9741
|
message_id: id,
|
|
@@ -9736,11 +9751,11 @@ var poll = strictObject({
|
|
|
9736
9751
|
});
|
|
9737
9752
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9738
9753
|
|
|
9739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9740
9755
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9741
9756
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9742
9757
|
|
|
9743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9744
9759
|
var figures = record(string(), number());
|
|
9745
9760
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9746
9761
|
var rankingRow = strictObject({
|
|
@@ -9787,7 +9802,7 @@ var ranking = strictObject({
|
|
|
9787
9802
|
rows: array(rankingRow)
|
|
9788
9803
|
});
|
|
9789
9804
|
|
|
9790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9791
9806
|
var reaction = strictObject({
|
|
9792
9807
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9793
9808
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9795,7 +9810,7 @@ var reaction = strictObject({
|
|
|
9795
9810
|
reacted_at: time
|
|
9796
9811
|
});
|
|
9797
9812
|
|
|
9798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9799
9814
|
var reactionChange = strictObject({
|
|
9800
9815
|
operation_id: id,
|
|
9801
9816
|
chat_id: id,
|
|
@@ -9803,7 +9818,7 @@ var reactionChange = strictObject({
|
|
|
9803
9818
|
reaction: nullable(text)
|
|
9804
9819
|
});
|
|
9805
9820
|
|
|
9806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9807
9822
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9808
9823
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9809
9824
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9814,7 +9829,7 @@ var recipientChange = strictObject({
|
|
|
9814
9829
|
...partial(recipientOff).entries
|
|
9815
9830
|
});
|
|
9816
9831
|
|
|
9817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9818
9833
|
var events = array(record(string(), unknown()));
|
|
9819
9834
|
var recordedRun = strictObject({
|
|
9820
9835
|
run_id: id,
|
|
@@ -9886,7 +9901,7 @@ var runHit = strictObject({
|
|
|
9886
9901
|
});
|
|
9887
9902
|
var runLocation = strictObject({ path: text });
|
|
9888
9903
|
|
|
9889
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9890
9905
|
var relationship = strictObject({
|
|
9891
9906
|
id,
|
|
9892
9907
|
from: reference,
|
|
@@ -9913,7 +9928,7 @@ var relationship = strictObject({
|
|
|
9913
9928
|
created_at: time
|
|
9914
9929
|
});
|
|
9915
9930
|
|
|
9916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9917
9932
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9918
9933
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9919
9934
|
var responseTimes = strictObject({
|
|
@@ -9930,7 +9945,7 @@ var waitingChats = strictObject({
|
|
|
9930
9945
|
by_kind: strictObject({ private: count, group: count })
|
|
9931
9946
|
});
|
|
9932
9947
|
|
|
9933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9948
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9934
9949
|
var retentionCohort = strictObject({
|
|
9935
9950
|
/** The first day of the joining day or week. */
|
|
9936
9951
|
cohort: text,
|
|
@@ -9978,7 +9993,7 @@ var retention = strictObject({
|
|
|
9978
9993
|
rows: array(retentionCohort)
|
|
9979
9994
|
});
|
|
9980
9995
|
|
|
9981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9982
9997
|
var savedSearch = strictObject({
|
|
9983
9998
|
id,
|
|
9984
9999
|
/** `null` for a run in the history. */
|
|
@@ -9995,7 +10010,7 @@ var savedSearch = strictObject({
|
|
|
9995
10010
|
});
|
|
9996
10011
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9997
10012
|
|
|
9998
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9999
10014
|
var sendAttempt = strictObject({
|
|
10000
10015
|
at: time,
|
|
10001
10016
|
profile: text,
|
|
@@ -10023,7 +10038,7 @@ var sendAttempt = strictObject({
|
|
|
10023
10038
|
error_code: optional(text)
|
|
10024
10039
|
});
|
|
10025
10040
|
|
|
10026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10027
10042
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10028
10043
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10029
10044
|
var infoSchema = strictObject({
|
|
@@ -10253,7 +10268,7 @@ var storeRepair = union([
|
|
|
10253
10268
|
]);
|
|
10254
10269
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10255
10270
|
|
|
10256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10257
10272
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10258
10273
|
var storeTable = strictObject({
|
|
10259
10274
|
name: text,
|
|
@@ -10262,7 +10277,7 @@ var storeTable = strictObject({
|
|
|
10262
10277
|
bytes: optional(nullable(count))
|
|
10263
10278
|
});
|
|
10264
10279
|
|
|
10265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10266
10281
|
var tagTarget = variant("type", [
|
|
10267
10282
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10268
10283
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10293,7 +10308,7 @@ var automaticTags = strictObject({
|
|
|
10293
10308
|
dry_run: boolean()
|
|
10294
10309
|
});
|
|
10295
10310
|
|
|
10296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10297
10312
|
var tagging = strictObject({
|
|
10298
10313
|
tag: text,
|
|
10299
10314
|
type: picklist(TAG_TYPES),
|
|
@@ -10306,7 +10321,7 @@ var tagging = strictObject({
|
|
|
10306
10321
|
created_at: time
|
|
10307
10322
|
});
|
|
10308
10323
|
|
|
10309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10310
10325
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10311
10326
|
var taskPair = strictObject({
|
|
10312
10327
|
task: nullable(side),
|
|
@@ -10329,7 +10344,7 @@ var taskPair = strictObject({
|
|
|
10329
10344
|
created_at: time
|
|
10330
10345
|
});
|
|
10331
10346
|
|
|
10332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10333
10348
|
var nullableTime = nullable(time);
|
|
10334
10349
|
var link = strictObject({
|
|
10335
10350
|
id,
|
|
@@ -10503,7 +10518,7 @@ var taskReview = strictObject({
|
|
|
10503
10518
|
untrusted
|
|
10504
10519
|
});
|
|
10505
10520
|
|
|
10506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10507
10522
|
var template = strictObject({
|
|
10508
10523
|
key: text,
|
|
10509
10524
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10515,7 +10530,7 @@ var template = strictObject({
|
|
|
10515
10530
|
updated_by: nullable(text)
|
|
10516
10531
|
});
|
|
10517
10532
|
|
|
10518
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10533
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10519
10534
|
var topic = strictObject({
|
|
10520
10535
|
id,
|
|
10521
10536
|
title: text,
|
|
@@ -10529,7 +10544,7 @@ var topic = strictObject({
|
|
|
10529
10544
|
untrusted
|
|
10530
10545
|
});
|
|
10531
10546
|
|
|
10532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10533
10548
|
var ENTITIES = {
|
|
10534
10549
|
sync_progress: progress,
|
|
10535
10550
|
deal,
|
|
@@ -10563,6 +10578,7 @@ var ENTITIES = {
|
|
|
10563
10578
|
attachments: optional(array(hitFile)),
|
|
10564
10579
|
untrusted
|
|
10565
10580
|
}),
|
|
10581
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
10566
10582
|
"message.summary": strictObject({
|
|
10567
10583
|
...pick(message, [
|
|
10568
10584
|
"ref",
|
|
@@ -10585,6 +10601,8 @@ var ENTITIES = {
|
|
|
10585
10601
|
message_pin: messagePin,
|
|
10586
10602
|
message_star: messageStar,
|
|
10587
10603
|
message_deletion: messageDeletion,
|
|
10604
|
+
scheduled_cancellation: scheduledCancellation,
|
|
10605
|
+
scheduled_send: scheduledSend,
|
|
10588
10606
|
message_transcript: messageTranscript,
|
|
10589
10607
|
message_links: messageLinks,
|
|
10590
10608
|
evidence_packet: evidencePacket,
|
|
@@ -10828,7 +10846,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10828
10846
|
return [name, definition];
|
|
10829
10847
|
})), "entityDefinitions");
|
|
10830
10848
|
|
|
10831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10832
10850
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10833
10851
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10834
10852
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10862,7 +10880,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10862
10880
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10863
10881
|
}, "answerRow");
|
|
10864
10882
|
|
|
10865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
10866
10884
|
var where = [{ field: "ref" }];
|
|
10867
10885
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
10868
10886
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -10954,7 +10972,7 @@ var STATUS_ROWS = {
|
|
|
10954
10972
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
10955
10973
|
};
|
|
10956
10974
|
|
|
10957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
10958
10976
|
var TEXT_CHARS = 400;
|
|
10959
10977
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
10960
10978
|
var messageRow = {
|
|
@@ -11322,7 +11340,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11322
11340
|
return lines.concat(footerOf(body)).join("\n");
|
|
11323
11341
|
}, "compactText");
|
|
11324
11342
|
|
|
11325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11326
11344
|
import { join as join5 } from "node:path";
|
|
11327
11345
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11328
11346
|
var IMAGE_MODELS = [
|
|
@@ -11376,7 +11394,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11376
11394
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11377
11395
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11378
11396
|
|
|
11379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11380
11398
|
var STEPS2 = defineSteps([
|
|
11381
11399
|
...STEPS,
|
|
11382
11400
|
{
|
|
@@ -11666,7 +11684,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11666
11684
|
].join(" ");
|
|
11667
11685
|
}, "stepLine");
|
|
11668
11686
|
|
|
11669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11670
11688
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11671
11689
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11672
11690
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11724,7 +11742,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11724
11742
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11725
11743
|
}, "largeAnswerSteps");
|
|
11726
11744
|
|
|
11727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11728
11746
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11729
11747
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11730
11748
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11738,7 +11756,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11738
11756
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11739
11757
|
}, "strip");
|
|
11740
11758
|
|
|
11741
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11759
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11742
11760
|
var OPEN = "\u27E6";
|
|
11743
11761
|
var CLOSE = "\u27E7";
|
|
11744
11762
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11807,6 +11825,8 @@ var MESSAGE_UNTRUSTED = [
|
|
|
11807
11825
|
"bcc.name",
|
|
11808
11826
|
"reply_addresses.name"
|
|
11809
11827
|
];
|
|
11828
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
11829
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11810
11830
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11811
11831
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11812
11832
|
DECLARED.set(command, fields);
|
|
@@ -11826,7 +11846,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11826
11846
|
return result;
|
|
11827
11847
|
}, "withFieldsMarked");
|
|
11828
11848
|
|
|
11829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11830
11850
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11831
11851
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11832
11852
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12250,7 +12270,10 @@ export {
|
|
|
12250
12270
|
tooLargeSteps,
|
|
12251
12271
|
withoutProviderRefs,
|
|
12252
12272
|
runMarkOf,
|
|
12273
|
+
marked,
|
|
12253
12274
|
withUntrustedMarked,
|
|
12275
|
+
CHAT_UNTRUSTED,
|
|
12276
|
+
CONTACT_UNTRUSTED,
|
|
12254
12277
|
marksUntrusted,
|
|
12255
12278
|
answerSchema,
|
|
12256
12279
|
listOf,
|