@wirecat/drive-cli 0.66.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/wirecat.json +29 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-WCQLIHUG.js → all-profiles-BU6XUFUP.js} +14 -14
- package/dist/bundle/{anthropic-5RJMB6O7.js → anthropic-ZP5B7S2Z.js} +8 -8
- package/dist/bundle/{app-server-3RGYXPKG.js → app-server-EB4DH6T7.js} +60 -56
- package/dist/bundle/{bun-L34VEKGG.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-H6IAXQXI.js → bun-sqlite-6VPR2SVC.js} +9 -9
- package/dist/bundle/{chunk-HPKE2GDP.js → chunk-2UHQVRH2.js} +18 -18
- package/dist/bundle/{chunk-2AF77WMH.js → chunk-2VYEGKQ3.js} +1 -1
- package/dist/bundle/{chunk-TAHISPDE.js → chunk-43NEDPXB.js} +39 -35
- package/dist/bundle/{chunk-OT7SQQJK.js → chunk-5G2BY4B6.js} +17 -17
- package/dist/bundle/{chunk-NYZS2LKF.js → chunk-5TK2YQCO.js} +2 -2
- package/dist/bundle/{chunk-5XLU4NN6.js → chunk-5W65QTYS.js} +4 -4
- package/dist/bundle/{chunk-YTIPTHEE.js → chunk-6HFZZ2PW.js} +2 -2
- package/dist/bundle/{chunk-GY4DAJSK.js → chunk-6QR7NKMG.js} +35 -6
- package/dist/bundle/{chunk-BIJW6AYA.js → chunk-6WAC2LOS.js} +3698 -3594
- package/dist/bundle/{chunk-VR3YKXHL.js → chunk-74NCZKRW.js} +33 -20
- package/dist/bundle/{chunk-5HVJK3ZJ.js → chunk-7A77GYCE.js} +4 -4
- package/dist/bundle/{chunk-7ZGJRVBH.js → chunk-7BXVI7XF.js} +4 -4
- package/dist/bundle/{chunk-UNTIVT47.js → chunk-7JKECODO.js} +1 -1
- package/dist/bundle/{chunk-FKKPVPZR.js → chunk-7TNQZKRD.js} +57 -57
- package/dist/bundle/{chunk-3SDJIMZB.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-QJ57PV55.js → chunk-AXYG2DDY.js} +136 -90
- package/dist/bundle/{chunk-T3ULDA7C.js → chunk-BXHFJTU5.js} +3 -3
- package/dist/bundle/{chunk-HPSHQVJU.js → chunk-CK2SQ2CE.js} +28 -22
- package/dist/bundle/{chunk-KRG5X5PH.js → chunk-CMWFYZ45.js} +2 -2
- package/dist/bundle/{chunk-3QFUDXMQ.js → chunk-CRIEW4FP.js} +3 -2
- package/dist/bundle/{chunk-V2WXTILT.js → chunk-CVAJMRRD.js} +6 -6
- package/dist/bundle/{chunk-JCHF7LZT.js → chunk-D4MVEOU2.js} +4 -4
- package/dist/bundle/{chunk-FHBTQPA3.js → chunk-DIZBJLPM.js} +41 -37
- package/dist/bundle/{chunk-VUUPFDRU.js → chunk-DU23ET2O.js} +113 -39
- package/dist/bundle/{chunk-IRNDYNQX.js → chunk-DYLYH7VE.js} +4 -4
- package/dist/bundle/{chunk-IIHZTV6V.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/{chunk-AP4MX247.js → chunk-EEE4H2PA.js} +12 -12
- package/dist/bundle/{chunk-UAKX6DP4.js → chunk-EOC7RHJ2.js} +5 -5
- package/dist/bundle/{chunk-HHRJPLFO.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-KOY5HUBY.js → chunk-F7KAMSXA.js} +4 -4
- package/dist/bundle/{chunk-D4MIMH2N.js → chunk-FAMXUI2X.js} +5 -5
- package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-XVZNFA2P.js → chunk-GTLXBAJV.js} +309 -278
- package/dist/bundle/{chunk-JQXK3M5M.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-NK4GVFJH.js → chunk-IJCUAKR5.js} +4 -4
- package/dist/bundle/{chunk-MZWXTJ4O.js → chunk-IVOG6T6P.js} +3 -3
- package/dist/bundle/{chunk-PKM55ZRR.js → chunk-J5LXL435.js} +20 -20
- package/dist/bundle/{chunk-G4TNKBDX.js → chunk-JMZQBRRZ.js} +7 -7
- package/dist/bundle/{chunk-VQKNKJYL.js → chunk-JRFKCYMW.js} +6 -6
- package/dist/bundle/{chunk-XLGDNI4S.js → chunk-JZ3MT7IE.js} +5 -40
- package/dist/bundle/{chunk-UG3GHFGY.js → chunk-KPKIHJIT.js} +6 -8
- package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-5PLINHEY.js → chunk-MLSXHTUB.js} +153 -149
- package/dist/bundle/{chunk-Y5U4HIZS.js → chunk-MOKEB656.js} +2 -2
- package/dist/bundle/{chunk-6X3KUFRQ.js → chunk-MW46BLWH.js} +20 -20
- package/dist/bundle/{chunk-I5R5CMQR.js → chunk-MWCPKUU4.js} +5 -5
- package/dist/bundle/{chunk-6UJCCOZC.js → chunk-NV75QPML.js} +4 -4
- package/dist/bundle/{chunk-OZOQLAWK.js → chunk-O7T3WGCV.js} +6 -6
- package/dist/bundle/{chunk-H7XL6WTW.js → chunk-PGPHEC2X.js} +2 -2
- package/dist/bundle/{chunk-UQPW42HF.js → chunk-PJ3FKBXG.js} +1 -1
- package/dist/bundle/{chunk-ALE67WRR.js → chunk-PV3AWPHR.js} +5 -5
- package/dist/bundle/{chunk-HQBLJLYH.js → chunk-PWIEOATY.js} +8 -8
- package/dist/bundle/{chunk-WYTYHUFH.js → chunk-Q6BD6RUH.js} +43 -43
- package/dist/bundle/{chunk-BQXSE645.js → chunk-QKY24RWV.js} +12 -12
- package/dist/bundle/{chunk-2S3E2HVV.js → chunk-QRSPFCRY.js} +17 -17
- package/dist/bundle/{chunk-3NYH756U.js → chunk-QTRYJZL7.js} +11 -6
- package/dist/bundle/{chunk-QF7VL4C3.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-ULXEW6FT.js → chunk-QWGEOQHA.js} +1 -1
- package/dist/bundle/{chunk-JLCR24UM.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-M7543RUJ.js → chunk-RT5NT62B.js} +220 -15
- package/dist/bundle/{chunk-SZ6JFOL4.js → chunk-SOS4U2RF.js} +62 -41
- package/dist/bundle/{chunk-PUMDOCAF.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-COGWKO2T.js → chunk-U52QE4QV.js} +3 -3
- package/dist/bundle/{chunk-LVAPSAHF.js → chunk-UFPRP7MG.js} +8 -8
- package/dist/bundle/{chunk-5VDVGDOC.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-7LT2G5BC.js → chunk-ULNN3LCY.js} +29 -27
- package/dist/bundle/{chunk-GVA3KTCD.js → chunk-UPCEHSIZ.js} +10 -10
- package/dist/bundle/{chunk-4UHBJSMI.js → chunk-UUQJVKPB.js} +516 -458
- package/dist/bundle/{chunk-O53WLYX3.js → chunk-UYBLNGZ2.js} +2 -2
- package/dist/bundle/{chunk-D7KOAPG6.js → chunk-WCNTDETD.js} +2 -2
- package/dist/bundle/{chunk-JHMEETXI.js → chunk-WGX4DZPW.js} +2 -2
- package/dist/bundle/{chunk-P7HQFII6.js → chunk-WUFZGPXX.js} +7 -7
- package/dist/bundle/{chunk-5K54RZBK.js → chunk-Y2QVNVHK.js} +1 -1
- package/dist/bundle/{chunk-7EP4AU6A.js → chunk-YUGTJBV3.js} +3 -3
- package/dist/bundle/{chunk-QSELSDWE.js → chunk-YYIWPH53.js} +13 -13
- package/dist/bundle/{chunk-E2F2XIX6.js → chunk-Z5BMYI2V.js} +8 -8
- package/dist/bundle/{chunk-TYLEICTX.js → chunk-ZAIE3G5I.js} +3 -3
- package/dist/bundle/{chunk-SOOU5WO6.js → chunk-ZSVMZH5O.js} +2 -2
- package/dist/bundle/{chunk-FA2TNA5X.js → chunk-ZVQDOKDY.js} +1 -1
- package/dist/bundle/{cli-KW6QQVS5.js → cli-L7P36YUH.js} +61 -61
- package/dist/bundle/command-contract-EYFGMKIG.js +41 -0
- package/dist/bundle/{command-server-entry-OC4E4DED.js → command-server-entry-H3VGPOLJ.js} +31 -31
- package/dist/bundle/{decode-AH5ZLLDK.js → decode-JEU6JWCV.js} +8 -8
- package/dist/bundle/{dispatch-CDWZZ54Q.js → dispatch-WBEOHZDV.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-VC7MTXWY.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-EPSQY6QG.js → embed-WUKOASQG.js} +9 -9
- package/dist/bundle/{embedder-TK4U4TJR.js → embedder-UBRAXRDZ.js} +12 -12
- package/dist/bundle/entry-C4NUQFTF.js +25 -0
- package/dist/bundle/{failure-WSVZOPFE.js → failure-X6PSLVSO.js} +4 -4
- package/dist/bundle/first-run-PKHBS7B4.js +30 -0
- package/dist/bundle/first-screen-QOVOM4BF.js +39 -0
- package/dist/bundle/google-XXHSMTVK.js +45 -0
- package/dist/bundle/{google-api-AV4X2JH3.js → google-api-SQQ4BSNR.js} +63 -63
- package/dist/bundle/grants-2U4JVT6O.js +111 -0
- package/dist/bundle/{identity-CGHHF7AK.js → identity-SRL6RSU2.js} +6 -6
- package/dist/bundle/{instructions-24PHDBBE.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/{login-XHFESAFM.js → login-N243GGEE.js} +69 -69
- package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-GIDULTV5.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-sqlite-LINBOAWK.js → node-sqlite-SZQCCMV2.js} +10 -10
- package/dist/bundle/oauth-CMAFXX6A.js +22 -0
- package/dist/bundle/{open-RYFKPNCJ.js → open-RVTPKDA3.js} +8 -8
- package/dist/bundle/{openai-Q7YYUHJF.js → openai-6NN63BMH.js} +19 -19
- package/dist/bundle/{process-VPIZTIJR.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-IUXFRBZA.js → program-B4QBJYB5.js} +187 -228
- package/dist/bundle/{prompt-LF4KX3XL.js → prompt-HGP2DSRW.js} +8 -8
- package/dist/bundle/{reasons-JPYOU5GV.js → reasons-KSYP5VDJ.js} +5 -5
- package/dist/bundle/{recognize-KEWTJXFH.js → recognize-26SHB7HI.js} +7 -7
- package/dist/bundle/{remote-HGGLB76S.js → remote-Z4PWHZ5N.js} +13 -13
- package/dist/bundle/{rerank-TDUKETFT.js → rerank-QHJZJK3Q.js} +10 -10
- package/dist/bundle/{serve-XFYMKW5W.js → serve-MYJW5IEM.js} +12 -12
- package/dist/bundle/server-HBZPIHDX.js +74 -0
- package/dist/bundle/{server-PXIPSGFP.js → server-XFW3V7CR.js} +49 -47
- package/dist/bundle/{services-2BOCGMJU.js → services-IQG2RVTO.js} +36 -36
- package/dist/bundle/{sqlite-runtime-R7M5XUMW.js → sqlite-runtime-X4GB5PBV.js} +9 -9
- package/dist/bundle/{start-YRLT4MQZ.js → start-C6EXYXAL.js} +7 -7
- package/dist/bundle/{state-NZ7WRJWH.js → state-ATQK2X3W.js} +9 -9
- package/dist/bundle/{store-ICDGPSEN.js → store-MEHEUOJH.js} +19 -19
- package/dist/bundle/{store-7LCVDO7G.js → store-QUBUPK6F.js} +21 -21
- package/dist/bundle/store-maintenance-command-33ULVDWY.js +65 -0
- package/dist/bundle/tokens-A2GP4F34.js +111 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -3
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/search.js +4 -4
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +2 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/transcripts.d.ts +4 -0
- package/dist/commands/transcripts.d.ts.map +1 -0
- package/dist/commands/transcripts.js +42 -0
- package/dist/commands/transcripts.js.map +1 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +14 -1
- package/dist/config.js.map +1 -1
- package/dist/google.d.ts.map +1 -1
- package/dist/google.js +31 -28
- package/dist/google.js.map +1 -1
- package/dist/list-queries.d.ts +10 -0
- package/dist/list-queries.d.ts.map +1 -1
- package/dist/list-queries.js +12 -1
- package/dist/list-queries.js.map +1 -1
- package/dist/model.d.ts +4 -1
- package/dist/model.d.ts.map +1 -1
- package/dist/policy.d.ts +2 -0
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +3 -2
- package/dist/policy.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +5 -2
- package/dist/program.js.map +1 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +2 -0
- package/dist/state.js.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +5 -1
- package/dist/sync.js.map +1 -1
- package/dist/transcripts.d.ts +21 -0
- package/dist/transcripts.d.ts.map +1 -0
- package/dist/transcripts.js +48 -0
- package/dist/transcripts.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-CE543JBN.js +0 -41
- package/dist/bundle/entry-3VN23M7M.js +0 -25
- package/dist/bundle/first-run-7ZYJ7EB3.js +0 -30
- package/dist/bundle/first-screen-CZDH7QY3.js +0 -39
- package/dist/bundle/google-OBZMWA7J.js +0 -45
- package/dist/bundle/grants-WTRLN4ZI.js +0 -111
- package/dist/bundle/oauth-JHUX3KE3.js +0 -22
- package/dist/bundle/server-BDEV3CZJ.js +0 -74
- package/dist/bundle/store-maintenance-command-SJPLY6IH.js +0 -65
- package/dist/bundle/tokens-FGTBE7VW.js +0 -111
- /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WUFZGPXX.js";
|
|
13
13
|
import {
|
|
14
14
|
CEILING_KEY,
|
|
15
15
|
COMMAND_PATH_KEY,
|
|
@@ -38,29 +38,29 @@ import {
|
|
|
38
38
|
tagging,
|
|
39
39
|
task,
|
|
40
40
|
withWriteScope
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-J5LXL435.js";
|
|
42
42
|
import {
|
|
43
43
|
modelSettingsShape,
|
|
44
44
|
resolveModelSettings
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-7A77GYCE.js";
|
|
46
46
|
import {
|
|
47
47
|
permissionCeiling
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KPKIHJIT.js";
|
|
49
49
|
import {
|
|
50
50
|
ancestorValue,
|
|
51
51
|
envName,
|
|
52
52
|
readOnlyLockOf,
|
|
53
53
|
readOnlyRefusal
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-MOKEB656.js";
|
|
55
55
|
import {
|
|
56
56
|
carries
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-UIKVP23D.js";
|
|
58
58
|
import {
|
|
59
59
|
endpoint
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6QR7NKMG.js";
|
|
61
61
|
import {
|
|
62
62
|
note
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-IVOG6T6P.js";
|
|
64
64
|
import {
|
|
65
65
|
BUSINESS_KINDS,
|
|
66
66
|
CATEGORIES,
|
|
@@ -135,22 +135,22 @@ import {
|
|
|
135
135
|
typedCommand,
|
|
136
136
|
untrusted,
|
|
137
137
|
useAsProcessRun
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-AXYG2DDY.js";
|
|
139
139
|
import {
|
|
140
140
|
FIELD_TYPES,
|
|
141
141
|
QUERY_BACKENDS,
|
|
142
142
|
describeQuery
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-UPCEHSIZ.js";
|
|
144
144
|
import {
|
|
145
145
|
isCliFailure,
|
|
146
146
|
storeDamaged
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-UYBLNGZ2.js";
|
|
148
148
|
import {
|
|
149
149
|
sharedConfigPath
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-PWIEOATY.js";
|
|
151
151
|
import {
|
|
152
152
|
storePath
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-CRIEW4FP.js";
|
|
154
154
|
import {
|
|
155
155
|
configFilePath,
|
|
156
156
|
createRecordLog,
|
|
@@ -161,19 +161,19 @@ import {
|
|
|
161
161
|
resolvePaths,
|
|
162
162
|
saveConfigFile,
|
|
163
163
|
writeSecurely
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-MW46BLWH.js";
|
|
165
165
|
import {
|
|
166
166
|
EXIT_CODES,
|
|
167
167
|
GENERIC_FAILURE,
|
|
168
168
|
exitCodeOfAnswer
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-PV3AWPHR.js";
|
|
170
170
|
import {
|
|
171
171
|
singleLine,
|
|
172
172
|
visibleControls
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-HCZYJMBP.js";
|
|
174
174
|
import {
|
|
175
175
|
defineLogEvents
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-5TK2YQCO.js";
|
|
177
177
|
import {
|
|
178
178
|
COMPACT_FLAG,
|
|
179
179
|
MAX_NEXT_STEPS,
|
|
@@ -223,15 +223,15 @@ import {
|
|
|
223
223
|
unwrap,
|
|
224
224
|
variant,
|
|
225
225
|
writes
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-JRFKCYMW.js";
|
|
227
227
|
import {
|
|
228
228
|
CliError
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-EA2OB75T.js";
|
|
230
230
|
import {
|
|
231
231
|
__name
|
|
232
232
|
} from "./chunk-ZVVMGPBJ.js";
|
|
233
233
|
|
|
234
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
234
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
235
235
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
236
236
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
237
237
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3732,7 +3732,7 @@ __name(useColor, "useColor");
|
|
|
3732
3732
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3733
3733
|
var program = new Command();
|
|
3734
3734
|
|
|
3735
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3735
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3736
3736
|
import { isDeepStrictEqual } from "node:util";
|
|
3737
3737
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3738
3738
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3934,7 +3934,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3934
3934
|
return command;
|
|
3935
3935
|
}, "customizeSharedCommand");
|
|
3936
3936
|
|
|
3937
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3937
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3938
3938
|
var argumentInfoSchema = object({
|
|
3939
3939
|
name: string(),
|
|
3940
3940
|
required: boolean(),
|
|
@@ -4017,7 +4017,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
4017
4017
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
4018
4018
|
}), "commandsDocument");
|
|
4019
4019
|
|
|
4020
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4020
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
4021
4021
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
4022
4022
|
let command = root;
|
|
4023
4023
|
const path2 = [];
|
|
@@ -4035,7 +4035,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
4035
4035
|
}
|
|
4036
4036
|
}, "refuseJoinedPath");
|
|
4037
4037
|
|
|
4038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4039
4039
|
var linkedIdentity = strictObject({
|
|
4040
4040
|
provider: text,
|
|
4041
4041
|
id,
|
|
@@ -4090,7 +4090,7 @@ var contactCheck = strictObject({
|
|
|
4090
4090
|
checked_at: time
|
|
4091
4091
|
});
|
|
4092
4092
|
|
|
4093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4094
4094
|
var member = strictObject({
|
|
4095
4095
|
id,
|
|
4096
4096
|
name: nullable(text),
|
|
@@ -4113,7 +4113,7 @@ var member = strictObject({
|
|
|
4113
4113
|
check: optional(record(string(), unknown()))
|
|
4114
4114
|
});
|
|
4115
4115
|
|
|
4116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4117
4117
|
var setting = optional(nullable(boolean()));
|
|
4118
4118
|
var chat = strictObject({
|
|
4119
4119
|
ref: reference,
|
|
@@ -4154,7 +4154,7 @@ var chat = strictObject({
|
|
|
4154
4154
|
members: optional(array(member))
|
|
4155
4155
|
});
|
|
4156
4156
|
|
|
4157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4158
4158
|
var quoted = strictObject({
|
|
4159
4159
|
id,
|
|
4160
4160
|
sender_id: nullable(id),
|
|
@@ -4273,7 +4273,7 @@ var message = strictObject({
|
|
|
4273
4273
|
provider_metadata: providerMetadata
|
|
4274
4274
|
});
|
|
4275
4275
|
|
|
4276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
4277
4277
|
var recordedMeeting = strictObject({
|
|
4278
4278
|
ref: reference,
|
|
4279
4279
|
meeting_id: count,
|
|
@@ -4286,7 +4286,7 @@ var recordedMeeting = strictObject({
|
|
|
4286
4286
|
people: array(reference)
|
|
4287
4287
|
});
|
|
4288
4288
|
|
|
4289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
4290
4290
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
4291
4291
|
var contextMessage = strictObject({
|
|
4292
4292
|
locator: reference,
|
|
@@ -4492,7 +4492,7 @@ var contactPreparation = strictObject({
|
|
|
4492
4492
|
})
|
|
4493
4493
|
});
|
|
4494
4494
|
|
|
4495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
4496
4496
|
var nullableText = nullable(text);
|
|
4497
4497
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
4498
4498
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -4603,7 +4603,7 @@ var stage = strictObject({
|
|
|
4603
4603
|
untrusted
|
|
4604
4604
|
});
|
|
4605
4605
|
|
|
4606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
4607
4607
|
var nullableText2 = nullable(text);
|
|
4608
4608
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
4609
4609
|
var standing = picklist(STANDINGS);
|
|
@@ -4777,7 +4777,7 @@ var dealBrief = strictObject({
|
|
|
4777
4777
|
not_read: coverage2.entries.not_read
|
|
4778
4778
|
});
|
|
4779
4779
|
|
|
4780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
4781
4781
|
var botProfile = strictObject({
|
|
4782
4782
|
name: text,
|
|
4783
4783
|
token: text,
|
|
@@ -4901,7 +4901,7 @@ var stickerInventory = strictObject({
|
|
|
4901
4901
|
url: optional(nullable(text))
|
|
4902
4902
|
});
|
|
4903
4903
|
|
|
4904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4905
4905
|
var actionableError = objectWithRest({
|
|
4906
4906
|
code: text,
|
|
4907
4907
|
message: text,
|
|
@@ -4918,7 +4918,7 @@ var batchResult = strictObject({
|
|
|
4918
4918
|
max_error_percent: count
|
|
4919
4919
|
});
|
|
4920
4920
|
|
|
4921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
4922
4922
|
var conversationBuild = strictObject({
|
|
4923
4923
|
chat: id,
|
|
4924
4924
|
messages: count,
|
|
@@ -4943,13 +4943,13 @@ var catchUpPreparation = strictObject({
|
|
|
4943
4943
|
prepared: optional(conversationPreparation)
|
|
4944
4944
|
});
|
|
4945
4945
|
|
|
4946
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4946
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
4947
4947
|
import { spawn } from "node:child_process";
|
|
4948
4948
|
import { randomBytes } from "node:crypto";
|
|
4949
4949
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
4950
4950
|
import { dirname, join } from "node:path";
|
|
4951
4951
|
|
|
4952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
4953
4953
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
4954
4954
|
const run = currentRun();
|
|
4955
4955
|
const trace = traceId ?? run.traceId;
|
|
@@ -4963,7 +4963,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
4963
4963
|
}));
|
|
4964
4964
|
}, "recordLogFor");
|
|
4965
4965
|
|
|
4966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
4967
4967
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
4968
4968
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
4969
4969
|
const out = openSync(log, "a", 384);
|
|
@@ -5118,7 +5118,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
5118
5118
|
return { job: id6, pid, chat: input.chat, log };
|
|
5119
5119
|
}, "startArchiveJob");
|
|
5120
5120
|
|
|
5121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
5122
5122
|
var problem = strictObject({ code: text, message: text });
|
|
5123
5123
|
var job = strictObject({
|
|
5124
5124
|
id,
|
|
@@ -5141,7 +5141,7 @@ var job = strictObject({
|
|
|
5141
5141
|
error: optional(problem)
|
|
5142
5142
|
});
|
|
5143
5143
|
|
|
5144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
5145
5145
|
var extractionItem = strictObject({
|
|
5146
5146
|
ref: reference,
|
|
5147
5147
|
attachment: count,
|
|
@@ -5174,7 +5174,7 @@ var extractionReport = strictObject({
|
|
|
5174
5174
|
cursor: optional(text)
|
|
5175
5175
|
});
|
|
5176
5176
|
|
|
5177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
5178
5178
|
var savedMessageFile = strictObject({
|
|
5179
5179
|
kind: text,
|
|
5180
5180
|
path: text,
|
|
@@ -5261,7 +5261,7 @@ var messageSyncAll = strictObject({
|
|
|
5261
5261
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
5262
5262
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
5263
5263
|
|
|
5264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
5265
5265
|
var range = strictObject({ from: number(), to: number() });
|
|
5266
5266
|
var storeChatStatus = strictObject({
|
|
5267
5267
|
chat_id: id,
|
|
@@ -5359,7 +5359,7 @@ var storeJobRetry = union([
|
|
|
5359
5359
|
]);
|
|
5360
5360
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
5361
5361
|
|
|
5362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
5363
5363
|
var account = strictObject({
|
|
5364
5364
|
provider: text,
|
|
5365
5365
|
id,
|
|
@@ -5369,7 +5369,7 @@ var account = strictObject({
|
|
|
5369
5369
|
scope: optional(picklist(["personal", "work"]))
|
|
5370
5370
|
});
|
|
5371
5371
|
|
|
5372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
5373
5373
|
var accountSession = strictObject({
|
|
5374
5374
|
current: boolean(),
|
|
5375
5375
|
client: nullable(text),
|
|
@@ -5379,7 +5379,7 @@ var accountSession = strictObject({
|
|
|
5379
5379
|
created_at: optional(nullable(time))
|
|
5380
5380
|
});
|
|
5381
5381
|
|
|
5382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
5383
5383
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
5384
5384
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
5385
5385
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -5408,7 +5408,7 @@ var accountRemoval = strictObject({
|
|
|
5408
5408
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
5409
5409
|
});
|
|
5410
5410
|
|
|
5411
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5411
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
5412
5412
|
var accountProfile = strictObject({
|
|
5413
5413
|
profile: id,
|
|
5414
5414
|
current: boolean(),
|
|
@@ -5420,7 +5420,7 @@ var accountProfile = strictObject({
|
|
|
5420
5420
|
bot: optional(literal(true))
|
|
5421
5421
|
});
|
|
5422
5422
|
|
|
5423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
5424
5424
|
var milliseconds = pipe(number(), minValue(0));
|
|
5425
5425
|
var counterReading = strictObject({
|
|
5426
5426
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -5432,7 +5432,7 @@ var counterReading = strictObject({
|
|
|
5432
5432
|
});
|
|
5433
5433
|
var selection = record(string(), unknown());
|
|
5434
5434
|
|
|
5435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
5436
5436
|
var adminRow = strictObject({
|
|
5437
5437
|
ref: reference,
|
|
5438
5438
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -5485,11 +5485,11 @@ var adminReport = strictObject({
|
|
|
5485
5485
|
rows: array(adminRow)
|
|
5486
5486
|
});
|
|
5487
5487
|
|
|
5488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
5489
5489
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
5490
5490
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
5491
5491
|
|
|
5492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
5493
5493
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
5494
5494
|
var attachmentBytes = strictObject({
|
|
5495
5495
|
ref: reference,
|
|
@@ -5520,7 +5520,7 @@ var attachmentTextChange = strictObject({
|
|
|
5520
5520
|
text: optional(text)
|
|
5521
5521
|
});
|
|
5522
5522
|
|
|
5523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5524
5524
|
var chart = strictObject({
|
|
5525
5525
|
version: literal(1),
|
|
5526
5526
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5535,7 +5535,7 @@ var chart = strictObject({
|
|
|
5535
5535
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5536
5536
|
});
|
|
5537
5537
|
|
|
5538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5539
5539
|
var named = strictObject({
|
|
5540
5540
|
id,
|
|
5541
5541
|
title: nullable(text),
|
|
@@ -5558,7 +5558,7 @@ var folder = strictObject({
|
|
|
5558
5558
|
excluded_chats: optional(array(named))
|
|
5559
5559
|
});
|
|
5560
5560
|
|
|
5561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5562
5562
|
var inviteLink = strictObject({
|
|
5563
5563
|
link: text,
|
|
5564
5564
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5574,7 +5574,7 @@ var inviteLink = strictObject({
|
|
|
5574
5574
|
joined_count: optional(count)
|
|
5575
5575
|
});
|
|
5576
5576
|
|
|
5577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5578
5578
|
var operated = { operation_id: id, chat_id: id };
|
|
5579
5579
|
var group = strictObject({
|
|
5580
5580
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5654,7 +5654,7 @@ var chatFolderOrder = strictObject({
|
|
|
5654
5654
|
folders: array(strictObject({ id, title: text }))
|
|
5655
5655
|
});
|
|
5656
5656
|
|
|
5657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5658
5658
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5659
5659
|
var chatRemoval = strictObject(operated2);
|
|
5660
5660
|
var chatMuting = strictObject({
|
|
@@ -5665,7 +5665,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5665
5665
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5666
5666
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5667
5667
|
|
|
5668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5669
5669
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5670
5670
|
var chatEvent = strictObject({
|
|
5671
5671
|
chat_id: id,
|
|
@@ -5682,7 +5682,7 @@ var chatEvent = strictObject({
|
|
|
5682
5682
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5683
5683
|
});
|
|
5684
5684
|
|
|
5685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5686
5686
|
var chatMetadata = strictObject({
|
|
5687
5687
|
chat_id: id,
|
|
5688
5688
|
title: nullable(text),
|
|
@@ -5697,7 +5697,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5697
5697
|
has_more: boolean()
|
|
5698
5698
|
});
|
|
5699
5699
|
|
|
5700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5701
5701
|
var action = picklist(["report", "delete", "remove"]);
|
|
5702
5702
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5703
5703
|
var chatRules = strictObject({
|
|
@@ -5734,7 +5734,7 @@ var chatModeration = strictObject({
|
|
|
5734
5734
|
}))
|
|
5735
5735
|
});
|
|
5736
5736
|
|
|
5737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5738
5738
|
var optionalCount = optional(count);
|
|
5739
5739
|
var minutes = nullable(number());
|
|
5740
5740
|
var chatStats = strictObject({
|
|
@@ -5810,7 +5810,7 @@ var taskStats = strictObject({
|
|
|
5810
5810
|
}))
|
|
5811
5811
|
});
|
|
5812
5812
|
|
|
5813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5814
5814
|
var memberCount = strictObject({
|
|
5815
5815
|
day: pipe(text, isoDate()),
|
|
5816
5816
|
participants: nullable(count),
|
|
@@ -5833,7 +5833,7 @@ var chatTracking = strictObject({
|
|
|
5833
5833
|
tracked: boolean()
|
|
5834
5834
|
});
|
|
5835
5835
|
|
|
5836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5837
5837
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5838
5838
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5839
5839
|
var profileFields = {
|
|
@@ -5871,7 +5871,7 @@ var profileFields = {
|
|
|
5871
5871
|
}))
|
|
5872
5872
|
};
|
|
5873
5873
|
|
|
5874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5875
5875
|
var contact = strictObject({
|
|
5876
5876
|
ref: reference,
|
|
5877
5877
|
id,
|
|
@@ -5902,7 +5902,7 @@ var contact = strictObject({
|
|
|
5902
5902
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5903
5903
|
});
|
|
5904
5904
|
|
|
5905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5906
5906
|
var contactNote = strictObject({
|
|
5907
5907
|
id,
|
|
5908
5908
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5914,13 +5914,13 @@ var contactNote = strictObject({
|
|
|
5914
5914
|
updated_at: time
|
|
5915
5915
|
});
|
|
5916
5916
|
|
|
5917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5918
5918
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5919
5919
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5920
5920
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5921
5921
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5922
5922
|
|
|
5923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5924
5924
|
var conversationDetails = union([
|
|
5925
5925
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5926
5926
|
message
|
|
@@ -6010,7 +6010,7 @@ var conversationHit = strictObject({
|
|
|
6010
6010
|
stale: boolean()
|
|
6011
6011
|
});
|
|
6012
6012
|
|
|
6013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6014
6014
|
var counters = strictObject({
|
|
6015
6015
|
cutoff: time,
|
|
6016
6016
|
max_age_ms: milliseconds,
|
|
@@ -6040,7 +6040,7 @@ var counterRefresh = strictObject({
|
|
|
6040
6040
|
complete: optional(boolean())
|
|
6041
6041
|
});
|
|
6042
6042
|
|
|
6043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6044
6044
|
var document = strictObject({
|
|
6045
6045
|
ref: reference,
|
|
6046
6046
|
id,
|
|
@@ -6055,7 +6055,7 @@ var document = strictObject({
|
|
|
6055
6055
|
owners: optional(array(text))
|
|
6056
6056
|
});
|
|
6057
6057
|
|
|
6058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6059
6059
|
var documentLink = strictObject({
|
|
6060
6060
|
ref: reference,
|
|
6061
6061
|
url: text,
|
|
@@ -6066,7 +6066,7 @@ var documentLink = strictObject({
|
|
|
6066
6066
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6067
6067
|
});
|
|
6068
6068
|
|
|
6069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6069
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6070
6070
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6071
6071
|
var contribution = strictObject({
|
|
6072
6072
|
message: evidenceMessage,
|
|
@@ -6096,7 +6096,7 @@ var retentionStay = strictObject({
|
|
|
6096
6096
|
});
|
|
6097
6097
|
var evidence = union([contribution, retentionStay]);
|
|
6098
6098
|
|
|
6099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6100
6100
|
var fact = strictObject({
|
|
6101
6101
|
ref: reference,
|
|
6102
6102
|
id,
|
|
@@ -6127,7 +6127,7 @@ var fact = strictObject({
|
|
|
6127
6127
|
updated_at: time
|
|
6128
6128
|
});
|
|
6129
6129
|
|
|
6130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6131
6131
|
var hit = strictObject({
|
|
6132
6132
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6133
6133
|
ref: reference,
|
|
@@ -6167,13 +6167,15 @@ var hit = strictObject({
|
|
|
6167
6167
|
review: optional(picklist(["proposed", "confirmed"])),
|
|
6168
6168
|
/** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
|
|
6169
6169
|
source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
|
|
6170
|
+
/** A document's: the meeting it is the transcript, recording or notes of. */
|
|
6171
|
+
meeting: optional(reference),
|
|
6170
6172
|
/** A message's files; absent when it has none. */
|
|
6171
6173
|
attachments: optional(array(hitFile)),
|
|
6172
6174
|
/** Absent on a note hit: the owner wrote it. */
|
|
6173
6175
|
untrusted
|
|
6174
6176
|
});
|
|
6175
6177
|
|
|
6176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6177
6179
|
var identity = strictObject({
|
|
6178
6180
|
ref: reference,
|
|
6179
6181
|
provider: text,
|
|
@@ -6189,7 +6191,7 @@ var identity = strictObject({
|
|
|
6189
6191
|
person: optional(nullable(reference))
|
|
6190
6192
|
});
|
|
6191
6193
|
|
|
6192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6193
6195
|
var imageEmbedding = strictObject({
|
|
6194
6196
|
model: text,
|
|
6195
6197
|
embedded: count,
|
|
@@ -6198,7 +6200,7 @@ var imageEmbedding = strictObject({
|
|
|
6198
6200
|
more: boolean()
|
|
6199
6201
|
});
|
|
6200
6202
|
|
|
6201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6202
6204
|
var joinRequest = strictObject({
|
|
6203
6205
|
person_id: id,
|
|
6204
6206
|
name: nullable(text),
|
|
@@ -6209,7 +6211,7 @@ var joinRequest = strictObject({
|
|
|
6209
6211
|
about: optional(text)
|
|
6210
6212
|
});
|
|
6211
6213
|
|
|
6212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6213
6215
|
var pollVote = strictObject({
|
|
6214
6216
|
person_id: id,
|
|
6215
6217
|
name: nullable(text),
|
|
@@ -6219,7 +6221,7 @@ var pollVote = strictObject({
|
|
|
6219
6221
|
voted_at: time
|
|
6220
6222
|
});
|
|
6221
6223
|
|
|
6222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6223
6225
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6224
6226
|
var observation = strictObject({
|
|
6225
6227
|
value: pipe(number(), minValue(0)),
|
|
@@ -6261,7 +6263,7 @@ var serveSummary = strictObject({
|
|
|
6261
6263
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6262
6264
|
});
|
|
6263
6265
|
|
|
6264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6265
6267
|
var mailCounts = strictObject({
|
|
6266
6268
|
by: picklist(["day", "week", "sender"]),
|
|
6267
6269
|
received: count,
|
|
@@ -6276,7 +6278,7 @@ var mailCounts = strictObject({
|
|
|
6276
6278
|
}))
|
|
6277
6279
|
});
|
|
6278
6280
|
|
|
6279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6280
6282
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6281
6283
|
var base = { id, evidence: array(evidence2) };
|
|
6282
6284
|
var finding = variant("kind", [
|
|
@@ -6420,7 +6422,7 @@ var mailFindings = strictObject({
|
|
|
6420
6422
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6421
6423
|
});
|
|
6422
6424
|
|
|
6423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6424
6426
|
var mediaArchive = strictObject({
|
|
6425
6427
|
directory: text,
|
|
6426
6428
|
chats: count,
|
|
@@ -6452,7 +6454,7 @@ var mediaArchiveTimer = union([
|
|
|
6452
6454
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6453
6455
|
]);
|
|
6454
6456
|
|
|
6455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6456
6458
|
var preparationId = pipe(string(), minLength(1));
|
|
6457
6459
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6458
6460
|
var preparationTime = nullable(isoTime);
|
|
@@ -6544,7 +6546,7 @@ var preparationMeeting = strictObject({
|
|
|
6544
6546
|
updated_at: isoTime
|
|
6545
6547
|
});
|
|
6546
6548
|
|
|
6547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6548
6550
|
var meetingEvidence = preparationEvidence;
|
|
6549
6551
|
var meetingPersonContext = strictObject({
|
|
6550
6552
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6566,7 +6568,7 @@ var meetingPersonContext = strictObject({
|
|
|
6566
6568
|
})
|
|
6567
6569
|
});
|
|
6568
6570
|
|
|
6569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6570
6572
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6571
6573
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6572
6574
|
var finding2 = variant("kind", [
|
|
@@ -6604,7 +6606,7 @@ var meetingFindings = strictObject({
|
|
|
6604
6606
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6605
6607
|
});
|
|
6606
6608
|
|
|
6607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6608
6610
|
var communicationCoverage = strictObject({
|
|
6609
6611
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6610
6612
|
query: string(),
|
|
@@ -6649,7 +6651,7 @@ var preparationCommunications = strictObject({
|
|
|
6649
6651
|
}))
|
|
6650
6652
|
});
|
|
6651
6653
|
|
|
6652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6653
6655
|
var meetingPreparation = strictObject({
|
|
6654
6656
|
communications: optional(preparationCommunications),
|
|
6655
6657
|
schema_version: literal(1),
|
|
@@ -6762,7 +6764,7 @@ var meetingPreparation = strictObject({
|
|
|
6762
6764
|
})
|
|
6763
6765
|
});
|
|
6764
6766
|
|
|
6765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
6766
6768
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
6767
6769
|
var id3 = pipe(string(), minLength(1));
|
|
6768
6770
|
var text3 = string();
|
|
@@ -6826,7 +6828,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
6826
6828
|
})
|
|
6827
6829
|
});
|
|
6828
6830
|
|
|
6829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
6830
6832
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
6831
6833
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
6832
6834
|
var meetingSeriesInventory = strictObject({
|
|
@@ -6856,7 +6858,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
6856
6858
|
})
|
|
6857
6859
|
});
|
|
6858
6860
|
|
|
6859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
6860
6862
|
var text4 = string();
|
|
6861
6863
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
6862
6864
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -6873,7 +6875,7 @@ var meetingTaskProposal = strictObject({
|
|
|
6873
6875
|
persistence: literal("proposal-only")
|
|
6874
6876
|
});
|
|
6875
6877
|
|
|
6876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6878
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
6877
6879
|
var memory = strictObject({
|
|
6878
6880
|
ref: reference,
|
|
6879
6881
|
id,
|
|
@@ -6901,7 +6903,7 @@ var memory = strictObject({
|
|
|
6901
6903
|
updated_at: time
|
|
6902
6904
|
});
|
|
6903
6905
|
|
|
6904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
6905
6907
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
6906
6908
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
6907
6909
|
var mention = strictObject({
|
|
@@ -6945,13 +6947,13 @@ var mentionRebuild = strictObject({
|
|
|
6945
6947
|
mentions: count
|
|
6946
6948
|
});
|
|
6947
6949
|
|
|
6948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
6949
6951
|
var operated3 = { operation_id: id, chat_id: id };
|
|
6950
6952
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
6951
6953
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
6952
6954
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
6953
6955
|
|
|
6954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
6955
6957
|
var messageTranscript = strictObject({
|
|
6956
6958
|
message_id: id,
|
|
6957
6959
|
text,
|
|
@@ -7009,7 +7011,7 @@ var evidencePacket = strictObject({
|
|
|
7009
7011
|
}))
|
|
7010
7012
|
});
|
|
7011
7013
|
|
|
7012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7013
7015
|
var messageThread = strictObject({
|
|
7014
7016
|
ref: reference,
|
|
7015
7017
|
chat: id,
|
|
@@ -7026,7 +7028,7 @@ var messageThread = strictObject({
|
|
|
7026
7028
|
});
|
|
7027
7029
|
var messageContext = union([message, messageThread]);
|
|
7028
7030
|
|
|
7029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7030
7032
|
var messageCounts = strictObject({
|
|
7031
7033
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7032
7034
|
total: count,
|
|
@@ -7039,7 +7041,7 @@ var messageCounts = strictObject({
|
|
|
7039
7041
|
}))
|
|
7040
7042
|
});
|
|
7041
7043
|
|
|
7042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7043
7045
|
var messageLink = strictObject({
|
|
7044
7046
|
ref: reference,
|
|
7045
7047
|
url: nullable(text),
|
|
@@ -7056,7 +7058,7 @@ var messageLink = strictObject({
|
|
|
7056
7058
|
})))
|
|
7057
7059
|
});
|
|
7058
7060
|
|
|
7059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7060
7062
|
var messageWrite = strictObject({
|
|
7061
7063
|
operation_id: id,
|
|
7062
7064
|
message,
|
|
@@ -7071,7 +7073,7 @@ var draftWrite = strictObject({
|
|
|
7071
7073
|
});
|
|
7072
7074
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7073
7075
|
|
|
7074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7075
7077
|
var model = strictObject({
|
|
7076
7078
|
id,
|
|
7077
7079
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7106,7 +7108,7 @@ var chosenModel = strictObject({
|
|
|
7106
7108
|
estimate_seconds: nullable(count)
|
|
7107
7109
|
});
|
|
7108
7110
|
|
|
7109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7110
7112
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7111
7113
|
var modelKey = strictObject({
|
|
7112
7114
|
provider: text,
|
|
@@ -7116,7 +7118,7 @@ var modelKey = strictObject({
|
|
|
7116
7118
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7117
7119
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7118
7120
|
|
|
7119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7120
7122
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7121
7123
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7122
7124
|
var graph = strictObject({
|
|
@@ -7150,14 +7152,14 @@ var officialStats = strictObject({
|
|
|
7150
7152
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7151
7153
|
});
|
|
7152
7154
|
|
|
7153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7154
7156
|
var person2 = strictObject({
|
|
7155
7157
|
ref: reference,
|
|
7156
7158
|
name: nullable(text),
|
|
7157
7159
|
identities: optional(array(identity))
|
|
7158
7160
|
});
|
|
7159
7161
|
|
|
7160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7161
7163
|
var poll = strictObject({
|
|
7162
7164
|
chat_id: id,
|
|
7163
7165
|
message_id: id,
|
|
@@ -7173,11 +7175,11 @@ var poll = strictObject({
|
|
|
7173
7175
|
});
|
|
7174
7176
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7175
7177
|
|
|
7176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7177
7179
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7178
7180
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7179
7181
|
|
|
7180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7181
7183
|
var figures = record(string(), number());
|
|
7182
7184
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7183
7185
|
var rankingRow = strictObject({
|
|
@@ -7224,7 +7226,7 @@ var ranking = strictObject({
|
|
|
7224
7226
|
rows: array(rankingRow)
|
|
7225
7227
|
});
|
|
7226
7228
|
|
|
7227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7228
7230
|
var reaction = strictObject({
|
|
7229
7231
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7230
7232
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7232,7 +7234,7 @@ var reaction = strictObject({
|
|
|
7232
7234
|
reacted_at: time
|
|
7233
7235
|
});
|
|
7234
7236
|
|
|
7235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7236
7238
|
var reactionChange = strictObject({
|
|
7237
7239
|
operation_id: id,
|
|
7238
7240
|
chat_id: id,
|
|
@@ -7240,7 +7242,7 @@ var reactionChange = strictObject({
|
|
|
7240
7242
|
reaction: nullable(text)
|
|
7241
7243
|
});
|
|
7242
7244
|
|
|
7243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7244
7246
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7245
7247
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7246
7248
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7251,7 +7253,7 @@ var recipientChange = strictObject({
|
|
|
7251
7253
|
...partial(recipientOff).entries
|
|
7252
7254
|
});
|
|
7253
7255
|
|
|
7254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7255
7257
|
var events = array(record(string(), unknown()));
|
|
7256
7258
|
var recordedRun = strictObject({
|
|
7257
7259
|
run_id: id,
|
|
@@ -7323,7 +7325,7 @@ var runHit = strictObject({
|
|
|
7323
7325
|
});
|
|
7324
7326
|
var runLocation = strictObject({ path: text });
|
|
7325
7327
|
|
|
7326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7327
7329
|
var relationship = strictObject({
|
|
7328
7330
|
id,
|
|
7329
7331
|
from: reference,
|
|
@@ -7350,7 +7352,7 @@ var relationship = strictObject({
|
|
|
7350
7352
|
created_at: time
|
|
7351
7353
|
});
|
|
7352
7354
|
|
|
7353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7354
7356
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7355
7357
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7356
7358
|
var responseTimes = strictObject({
|
|
@@ -7367,7 +7369,7 @@ var waitingChats = strictObject({
|
|
|
7367
7369
|
by_kind: strictObject({ private: count, group: count })
|
|
7368
7370
|
});
|
|
7369
7371
|
|
|
7370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7371
7373
|
var retentionCohort = strictObject({
|
|
7372
7374
|
/** The first day of the joining day or week. */
|
|
7373
7375
|
cohort: text,
|
|
@@ -7415,7 +7417,7 @@ var retention = strictObject({
|
|
|
7415
7417
|
rows: array(retentionCohort)
|
|
7416
7418
|
});
|
|
7417
7419
|
|
|
7418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7419
7421
|
var savedSearch = strictObject({
|
|
7420
7422
|
id,
|
|
7421
7423
|
/** `null` for a run in the history. */
|
|
@@ -7432,7 +7434,7 @@ var savedSearch = strictObject({
|
|
|
7432
7434
|
});
|
|
7433
7435
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7434
7436
|
|
|
7435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7436
7438
|
var sendAttempt = strictObject({
|
|
7437
7439
|
at: time,
|
|
7438
7440
|
profile: text,
|
|
@@ -7460,7 +7462,7 @@ var sendAttempt = strictObject({
|
|
|
7460
7462
|
error_code: optional(text)
|
|
7461
7463
|
});
|
|
7462
7464
|
|
|
7463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7464
7466
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7465
7467
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7466
7468
|
var infoSchema = strictObject({
|
|
@@ -7690,7 +7692,7 @@ var storeRepair = union([
|
|
|
7690
7692
|
]);
|
|
7691
7693
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
7692
7694
|
|
|
7693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
7694
7696
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
7695
7697
|
var storeTable = strictObject({
|
|
7696
7698
|
name: text,
|
|
@@ -7699,7 +7701,7 @@ var storeTable = strictObject({
|
|
|
7699
7701
|
bytes: optional(nullable(count))
|
|
7700
7702
|
});
|
|
7701
7703
|
|
|
7702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
7703
7705
|
var tagTarget = variant("type", [
|
|
7704
7706
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
7705
7707
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -7730,7 +7732,7 @@ var automaticTags = strictObject({
|
|
|
7730
7732
|
dry_run: boolean()
|
|
7731
7733
|
});
|
|
7732
7734
|
|
|
7733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
7734
7736
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
7735
7737
|
var taskPair = strictObject({
|
|
7736
7738
|
task: nullable(side),
|
|
@@ -7753,7 +7755,7 @@ var taskPair = strictObject({
|
|
|
7753
7755
|
created_at: time
|
|
7754
7756
|
});
|
|
7755
7757
|
|
|
7756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
7757
7759
|
var nullableTime = nullable(time);
|
|
7758
7760
|
var link = strictObject({
|
|
7759
7761
|
id,
|
|
@@ -7927,7 +7929,7 @@ var taskReview = strictObject({
|
|
|
7927
7929
|
untrusted
|
|
7928
7930
|
});
|
|
7929
7931
|
|
|
7930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
7931
7933
|
var template = strictObject({
|
|
7932
7934
|
key: text,
|
|
7933
7935
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -7939,7 +7941,7 @@ var template = strictObject({
|
|
|
7939
7941
|
updated_by: nullable(text)
|
|
7940
7942
|
});
|
|
7941
7943
|
|
|
7942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
7943
7945
|
var topic = strictObject({
|
|
7944
7946
|
id,
|
|
7945
7947
|
title: text,
|
|
@@ -7953,7 +7955,7 @@ var topic = strictObject({
|
|
|
7953
7955
|
untrusted
|
|
7954
7956
|
});
|
|
7955
7957
|
|
|
7956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
7957
7959
|
var ENTITIES = {
|
|
7958
7960
|
sync_progress: progress,
|
|
7959
7961
|
deal,
|
|
@@ -8248,7 +8250,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8248
8250
|
return [name, definition];
|
|
8249
8251
|
})), "entityDefinitions");
|
|
8250
8252
|
|
|
8251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8253
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8252
8254
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8253
8255
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8254
8256
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8282,7 +8284,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8282
8284
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8283
8285
|
}, "answerRow");
|
|
8284
8286
|
|
|
8285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
8286
8288
|
var where = [{ field: "ref" }];
|
|
8287
8289
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
8288
8290
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -8374,7 +8376,7 @@ var STATUS_ROWS = {
|
|
|
8374
8376
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
8375
8377
|
};
|
|
8376
8378
|
|
|
8377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
8378
8380
|
var TEXT_CHARS = 400;
|
|
8379
8381
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
8380
8382
|
var messageRow = {
|
|
@@ -8722,8 +8724,9 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
8722
8724
|
} else if (isFields(body.item)) {
|
|
8723
8725
|
const sections = shape.sections ?? {};
|
|
8724
8726
|
const rest = Object.fromEntries(Object.entries(body.item).filter(([name]) => !Object.hasOwn(sections, name) && !shape.hidden?.includes(name)));
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
+
const own = shape.oneLine ? rowsOfItems([rest], shape, clock, chars) : void 0;
|
|
8728
|
+
lines = own ? own.lines.filter((line) => line !== "") : blockOf(rest, chars, "", shape.whole).map(guarded);
|
|
8729
|
+
let dates = own?.dates ?? [];
|
|
8727
8730
|
let drawn = [];
|
|
8728
8731
|
for (const [name, entity] of Object.entries(sections)) {
|
|
8729
8732
|
const list = body.item[name];
|
|
@@ -8734,13 +8737,14 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
8734
8737
|
drawn = drawn.concat([`# ${[`${clean(name)}: ${list.length}`, ...header].join(" \xB7 ")}`], rows2);
|
|
8735
8738
|
}
|
|
8736
8739
|
const when = spanOf(dates, clock);
|
|
8737
|
-
|
|
8740
|
+
const head = [...own?.header ?? [], ...when];
|
|
8741
|
+
lines = own ? (head.length ? [`# ${head.join(" \xB7 ")}`] : []).concat(lines, drawn) : lines.concat(when.length ? [`# ${when.join(" \xB7 ")}`] : [], drawn);
|
|
8738
8742
|
} else if (present(body.item))
|
|
8739
8743
|
lines = [guarded(cut(clean(String(body.item)), chars))];
|
|
8740
8744
|
return lines.concat(footerOf(body)).join("\n");
|
|
8741
8745
|
}, "compactText");
|
|
8742
8746
|
|
|
8743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
8744
8748
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
8745
8749
|
try {
|
|
8746
8750
|
return work();
|
|
@@ -8767,7 +8771,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
8767
8771
|
return projectFields(value, fields);
|
|
8768
8772
|
}), "projectFields");
|
|
8769
8773
|
|
|
8770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
8771
8775
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
8772
8776
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
8773
8777
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -8805,7 +8809,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
8805
8809
|
progress: "sync.progress"
|
|
8806
8810
|
};
|
|
8807
8811
|
|
|
8808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
8809
8813
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
8810
8814
|
const recording = startRecording(options);
|
|
8811
8815
|
try {
|
|
@@ -9020,7 +9024,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9020
9024
|
return void 0;
|
|
9021
9025
|
}, "partialOutcome");
|
|
9022
9026
|
|
|
9023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
9024
9028
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9025
9029
|
var requests = new AsyncLocalStorage();
|
|
9026
9030
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -9035,7 +9039,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
9035
9039
|
return direct;
|
|
9036
9040
|
}, "exitCodeSet");
|
|
9037
9041
|
|
|
9038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9042
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9039
9043
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9040
9044
|
if (ms2 === void 0)
|
|
9041
9045
|
return body();
|
|
@@ -9061,7 +9065,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9061
9065
|
}
|
|
9062
9066
|
}, "withDeadline");
|
|
9063
9067
|
|
|
9064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9065
9069
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9066
9070
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9067
9071
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9244,7 +9248,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9244
9248
|
}
|
|
9245
9249
|
}, "withAbort");
|
|
9246
9250
|
|
|
9247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9248
9252
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9249
9253
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9250
9254
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9331,7 +9335,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9331
9335
|
return void 0;
|
|
9332
9336
|
}, "sampleCommand");
|
|
9333
9337
|
|
|
9334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9335
9339
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9336
9340
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9337
9341
|
var AI_FIELDS = {
|
|
@@ -9375,7 +9379,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9375
9379
|
};
|
|
9376
9380
|
}, "resolveAISettings");
|
|
9377
9381
|
|
|
9378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9379
9383
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9380
9384
|
import { join as join2 } from "node:path";
|
|
9381
9385
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9464,10 +9468,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9464
9468
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9465
9469
|
}, "registryProfiles");
|
|
9466
9470
|
|
|
9467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9468
9472
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
9469
9473
|
|
|
9470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
9471
9475
|
var REPAIR_WORDS = {
|
|
9472
9476
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
9473
9477
|
comment: "a comment, which JSON does not allow",
|
|
@@ -9708,7 +9712,7 @@ ${parts.join(",\n")}
|
|
|
9708
9712
|
${indent}${close}`;
|
|
9709
9713
|
}, "serialise");
|
|
9710
9714
|
|
|
9711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
9712
9716
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
9713
9717
|
var SECTIONS = ["personal", "bot"];
|
|
9714
9718
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10003,7 +10007,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10003
10007
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10004
10008
|
}, "readConfigFile");
|
|
10005
10009
|
|
|
10006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10007
10011
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10008
10012
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
10009
10013
|
var DEFAULT_CONFIG = {
|
|
@@ -10032,7 +10036,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10032
10036
|
}
|
|
10033
10037
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10034
10038
|
|
|
10035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
10036
10040
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync4 } from "node:fs";
|
|
10037
10041
|
import { join as join4 } from "node:path";
|
|
10038
10042
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -10054,7 +10058,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
10054
10058
|
}, "profilesWithAccounts");
|
|
10055
10059
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
10056
10060
|
|
|
10057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10058
10062
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10059
10063
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10060
10064
|
const path2 = key.split(".");
|
|
@@ -10087,7 +10091,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10087
10091
|
};
|
|
10088
10092
|
}), "settingRows");
|
|
10089
10093
|
|
|
10090
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10091
10095
|
import { existsSync as existsSync5 } from "node:fs";
|
|
10092
10096
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10093
10097
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
@@ -10614,7 +10618,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
10614
10618
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
10615
10619
|
}, "given");
|
|
10616
10620
|
|
|
10617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
10618
10622
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
10619
10623
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
10620
10624
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -10650,7 +10654,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
10650
10654
|
return value;
|
|
10651
10655
|
}, "atDetail");
|
|
10652
10656
|
|
|
10653
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/output.js
|
|
10654
10658
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
10655
10659
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
10656
10660
|
if (other)
|
|
@@ -10714,7 +10718,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
10714
10718
|
}, "warn")
|
|
10715
10719
|
}), "silence");
|
|
10716
10720
|
|
|
10717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
10718
10722
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
10719
10723
|
const { deadline, signal, app } = environmentOf(command);
|
|
10720
10724
|
const now = deadline?.();
|
|
@@ -10854,7 +10858,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
10854
10858
|
return words.join(" ");
|
|
10855
10859
|
}, "commandPath");
|
|
10856
10860
|
|
|
10857
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
10858
10862
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
10859
10863
|
var FETCH = { remote: "read", local: "write" };
|
|
10860
10864
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11001,7 +11005,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11001
11005
|
throw readOnlyRefusal(lock, what);
|
|
11002
11006
|
}, "refuseUnderReadOnly");
|
|
11003
11007
|
|
|
11004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11005
11009
|
var STEPS2 = defineSteps([
|
|
11006
11010
|
...STEPS,
|
|
11007
11011
|
{
|
|
@@ -11291,7 +11295,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11291
11295
|
].join(" ");
|
|
11292
11296
|
}, "stepLine");
|
|
11293
11297
|
|
|
11294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11295
11299
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11296
11300
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11297
11301
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11349,7 +11353,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11349
11353
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11350
11354
|
}, "largeAnswerSteps");
|
|
11351
11355
|
|
|
11352
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11356
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11353
11357
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11354
11358
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11355
11359
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11363,7 +11367,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11363
11367
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11364
11368
|
}, "strip");
|
|
11365
11369
|
|
|
11366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11370
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11367
11371
|
var OPEN = "\u27E6";
|
|
11368
11372
|
var CLOSE = "\u27E7";
|
|
11369
11373
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11447,7 +11451,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11447
11451
|
return result;
|
|
11448
11452
|
}, "withFieldsMarked");
|
|
11449
11453
|
|
|
11450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11451
11455
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11452
11456
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11453
11457
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|