@wirecat/hubspot-cli 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +2 -2
- package/contracts/wirecat.json +40 -2
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-A7ARC3QB.js +40 -0
- package/dist/bundle/{all-profiles-64JAUYW4.js → all-profiles-6452VSJB.js} +64 -22
- package/dist/bundle/{anthropic-VJOS4OUM.js → anthropic-VQUOVYOW.js} +6 -6
- package/dist/bundle/{app-server-GXV2OFML.js → app-server-EQZUP4H4.js} +79 -68
- package/dist/bundle/{bun-M3J2QTR3.js → bun-AJPJ4ZUN.js} +2 -2
- package/dist/bundle/{bun-sqlite-IX3XYA5F.js → bun-sqlite-AGXGSF6D.js} +7 -7
- package/dist/bundle/{chunk-N2XADGL4.js → chunk-2A64XS22.js} +4 -4
- package/dist/bundle/{chunk-Q2OLOMHL.js → chunk-2HYGCLKN.js} +93 -565
- package/dist/bundle/{chunk-FOZYMDRL.js → chunk-2NCO4E4T.js} +6 -6
- package/dist/bundle/{chunk-FBCCBCFH.js → chunk-2PRVWEJC.js} +3 -3
- package/dist/bundle/{chunk-LOBVOGOE.js → chunk-3DIXAEGH.js} +4 -4
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3I2FGNWO.js} +1 -1
- package/dist/bundle/{chunk-65TWQ7BV.js → chunk-3PEKYGZ3.js} +2 -2
- package/dist/bundle/{chunk-DRWWJLI6.js → chunk-3R4KRNUZ.js} +8 -8
- package/dist/bundle/{chunk-2VGD63G6.js → chunk-3TEFE6YU.js} +7 -7
- package/dist/bundle/{chunk-TI46WQXQ.js → chunk-4DNHXRCJ.js} +7 -7
- package/dist/bundle/{chunk-QU25DA5N.js → chunk-5AYKCKSE.js} +11 -11
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-5K3FGXZH.js} +1 -1
- package/dist/bundle/{chunk-24ERVFJP.js → chunk-5YNAVVCW.js} +3 -3
- package/dist/bundle/{chunk-URX6YDUL.js → chunk-5ZV7REBE.js} +75 -66
- package/dist/bundle/{chunk-TLKEPUAV.js → chunk-6MFP47XC.js} +60 -50
- package/dist/bundle/{chunk-36ITRDYY.js → chunk-7LQRXVQ3.js} +783 -482
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-7NZT7Y55.js} +1 -1
- package/dist/bundle/{chunk-C32AKHTY.js → chunk-7UEL65GQ.js} +35 -12
- package/dist/bundle/chunk-7VHBS5BJ.js +108 -0
- package/dist/bundle/{chunk-O55RWNSH.js → chunk-A6UFH3QU.js} +4 -4
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-ABXVU5O4.js} +8 -1
- package/dist/bundle/{chunk-4W6BMH45.js → chunk-AF7DANIR.js} +2 -100
- package/dist/bundle/{chunk-2VGZRYEH.js → chunk-ARTJLL7W.js} +6 -6
- package/dist/bundle/chunk-AVUMH42T.js +194 -0
- package/dist/bundle/{chunk-MFNMKHML.js → chunk-AWOJYRQW.js} +1024 -1639
- package/dist/bundle/chunk-B2W3C4N6.js +338 -0
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-B3EH22CO.js} +1 -1
- package/dist/bundle/{chunk-E52JAS35.js → chunk-BAUK2MD5.js} +6 -6
- package/dist/bundle/{chunk-LXZ66MCH.js → chunk-BHZUPOQY.js} +35 -29
- package/dist/bundle/{chunk-JLDBMEKZ.js → chunk-BN22EKQQ.js} +2 -2
- package/dist/bundle/{chunk-DB2XKHI4.js → chunk-BUGROVF3.js} +2 -2
- package/dist/bundle/{chunk-DSP36YHQ.js → chunk-CBCEMFCF.js} +2 -2
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-DQB5JMTY.js} +1 -1
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DSRXCLPO.js} +1 -1
- package/dist/bundle/{chunk-UUMUL4L3.js → chunk-DW23LM47.js} +2 -2
- package/dist/bundle/{chunk-VOH7S5M4.js → chunk-E4FAMU2S.js} +3230 -3116
- package/dist/bundle/{chunk-TKVL2C3B.js → chunk-E4X7JAFC.js} +3 -3
- package/dist/bundle/{chunk-NUU4WZVL.js → chunk-EE4JSYGZ.js} +3 -3
- package/dist/bundle/{chunk-NWHEHV3K.js → chunk-EMOVVERN.js} +5 -5
- package/dist/bundle/{chunk-PVKF24ZW.js → chunk-FIVD4HM4.js} +8 -8
- package/dist/bundle/{chunk-QJW35N5V.js → chunk-GC6FLHZF.js} +12 -12
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-GRFICQTZ.js} +1 -1
- package/dist/bundle/{chunk-GPYCBYX5.js → chunk-GZZR5U3K.js} +12 -12
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-HPZRUY6S.js} +1 -1
- package/dist/bundle/{chunk-CLAN3FES.js → chunk-IBTMK5KD.js} +54 -34
- package/dist/bundle/{chunk-5A6ZYNAQ.js → chunk-IQ2XZ62J.js} +18 -18
- package/dist/bundle/{chunk-DBEQI5YM.js → chunk-ITGNDZRR.js} +3 -3
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-IXZLMFPO.js} +1 -1
- package/dist/bundle/{chunk-TOSCB4SO.js → chunk-J5P5VSRG.js} +16 -10
- package/dist/bundle/{chunk-RMIYKDUL.js → chunk-JK2SNLU5.js} +17 -17
- package/dist/bundle/{chunk-43EKCUBJ.js → chunk-JP2HJXFO.js} +3 -3
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-JUKAIXKY.js} +1 -1
- package/dist/bundle/{chunk-3WLYWRGG.js → chunk-K4X5ZHI2.js} +19 -17
- package/dist/bundle/{chunk-5GBUCHRU.js → chunk-KO4VR5NK.js} +4 -4
- package/dist/bundle/{chunk-PPHBRESD.js → chunk-KVXEEKBB.js} +2 -2
- package/dist/bundle/{chunk-SDQGB4KB.js → chunk-L433IDOX.js} +9 -9
- package/dist/bundle/chunk-LA3YU4K7.js +40 -0
- package/dist/bundle/{chunk-ECEZOLOD.js → chunk-LKSNISYV.js} +4 -4
- package/dist/bundle/{chunk-5K7QLJMM.js → chunk-LT5KE44Q.js} +226 -226
- package/dist/bundle/{chunk-YMCY7VRE.js → chunk-LTVYGXWT.js} +7 -7
- package/dist/bundle/chunk-M763RNWP.js +733 -0
- package/dist/bundle/{chunk-IMJQRPLN.js → chunk-NNMU2TDU.js} +1 -1
- package/dist/bundle/chunk-NTQBS2JL.js +52 -0
- package/dist/bundle/{chunk-HCAZV5NP.js → chunk-NZGI74GS.js} +6 -6
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-O3VM5PTJ.js} +1 -1
- package/dist/bundle/chunk-ODPU3II6.js +353 -0
- package/dist/bundle/chunk-OJIJVOOA.js +561 -0
- package/dist/bundle/{chunk-7ELMWE3P.js → chunk-PHXOL5HZ.js} +176 -160
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-B3MANLNK.js → chunk-PLRUUXK7.js} +19 -233
- package/dist/bundle/{chunk-RR5MX5TM.js → chunk-PMP37KLR.js} +4 -4
- package/dist/bundle/{chunk-FTFV3HFW.js → chunk-Q27QAB4X.js} +9 -9
- package/dist/bundle/{chunk-2QZK5BEP.js → chunk-RVWGFD32.js} +30 -15
- package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
- package/dist/bundle/{chunk-QGFX5MXL.js → chunk-SEELWPRD.js} +9 -9
- package/dist/bundle/{chunk-HC5ZWE5X.js → chunk-TIHDBKA7.js} +2 -2
- package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-U6XA3OOM.js} +2 -2
- package/dist/bundle/{chunk-IJADZW42.js → chunk-VNPC274V.js} +3 -3
- package/dist/bundle/{chunk-NXERIDPJ.js → chunk-VQEAZXTV.js} +7 -7
- package/dist/bundle/{chunk-P5BHKKBI.js → chunk-VW5F6FK3.js} +4 -4
- package/dist/bundle/{chunk-XRREFEIW.js → chunk-WCQW4GYO.js} +7 -7
- package/dist/bundle/{chunk-H3TNVEQX.js → chunk-WGBVRDY3.js} +29 -4
- package/dist/bundle/chunk-WRCKE5ND.js +80 -0
- package/dist/bundle/{chunk-TBJYLC5K.js → chunk-X5S5KUSU.js} +75 -75
- package/dist/bundle/{chunk-2UOJ7DLZ.js → chunk-XLDQTDF6.js} +3 -3
- package/dist/bundle/{chunk-Z73OL5HV.js → chunk-Z6ZQVYIE.js} +3 -3
- package/dist/bundle/command-contract-R2FGN7CQ.js +40 -0
- package/dist/bundle/{command-server-entry-DJKVVZCQ.js → command-server-entry-GJSMDSNE.js} +29 -29
- package/dist/bundle/{decode-FC65Y4IV.js → decode-6PLXHVHW.js} +6 -6
- package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-TAQ7635E.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-UZ7QLRE2.js} +2 -2
- package/dist/bundle/{embed-VNBZFPYH.js → embed-AWLL4EBF.js} +7 -7
- package/dist/bundle/{embedder-6U4NOFRO.js → embedder-MM225YJ6.js} +10 -10
- package/dist/bundle/{failure-FZ6VYKEQ.js → failure-MR2XVHFP.js} +3 -3
- package/dist/bundle/first-run-KCZVNFJ7.js +29 -0
- package/dist/bundle/first-screen-SCDV7TXT.js +40 -0
- package/dist/bundle/hubspot.js +26 -26
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-ZJ7U3QUE.js} +1 -1
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-CNV7F2XZ.js} +2 -2
- package/dist/bundle/meeting-combined-EL5XZIJ5.js +25 -0
- package/dist/bundle/meeting-model-OYXB2NOE.js +25 -0
- package/dist/bundle/{meeting-semantic-JY3OGCBS.js → meeting-semantic-S3DBB7XD.js} +7 -7
- package/dist/bundle/{node-CXZIFHZC.js → node-HGCZGZ4R.js} +2 -2
- package/dist/bundle/{node-sqlite-P3O7XN7Q.js → node-sqlite-RKYSRKEB.js} +8 -8
- package/dist/bundle/oauth-PYDCAQ7Y.js +20 -0
- package/dist/bundle/{open-F4P6YV54.js → open-UCDSQUN2.js} +6 -6
- package/dist/bundle/{openai-4AICLIK3.js → openai-Y4F5ZC7O.js} +16 -16
- package/dist/bundle/{process-5RUXWGYS.js → process-P7FB7YO7.js} +1 -1
- package/dist/bundle/{program-XA4C44Z4.js → program-O2A5L4S4.js} +683 -242
- package/dist/bundle/{prompt-NFMDVBZ4.js → prompt-E5TKZ37Q.js} +6 -6
- package/dist/bundle/{recognize-DKN3RY4V.js → recognize-5NYPTSLT.js} +5 -5
- package/dist/bundle/{remote-6QHAGQWY.js → remote-U4LUAHF2.js} +10 -10
- package/dist/bundle/{rerank-M4KHEHUZ.js → rerank-AJAVKK5L.js} +8 -8
- package/dist/bundle/{schemas-JRL3DLMP.js → schemas-QLQ2K6DL.js} +7 -33
- package/dist/bundle/{serve-DNU43ND6.js → serve-4UJ3R5IP.js} +11 -11
- package/dist/bundle/{server-ATG5KY7K.js → server-DUKWJUKD.js} +73 -61
- package/dist/bundle/server-UQVV2PPX.js +86 -0
- package/dist/bundle/{source-54HR4IWG.js → source-FCQDXCAD.js} +334 -78
- package/dist/bundle/{sqlite-runtime-EMQAC63N.js → sqlite-runtime-KLEA4XAU.js} +7 -7
- package/dist/bundle/{state-T45CX7VY.js → state-COGSYMVH.js} +7 -7
- package/dist/bundle/{store-6TZ2FCVA.js → store-BJXCSP26.js} +25 -24
- package/dist/bundle/store-CHH3G3SL.js +32 -0
- package/dist/bundle/{store-6LCEVBAZ.js → store-V5UMSWK4.js} +27 -22
- package/dist/bundle/store-maintenance-command-DQUBBWMD.js +73 -0
- package/dist/bundle/surface-IGBQUYE5.js +72 -0
- package/dist/bundle/writer-AQSEPEEN.js +86 -0
- package/dist/commands/session.js +2 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -5
- package/dist/config.js.map +1 -1
- package/dist/crm/activities.d.ts.map +1 -1
- package/dist/crm/activities.js +3 -13
- package/dist/crm/activities.js.map +1 -1
- package/dist/crm/records.d.ts +6 -0
- package/dist/crm/records.d.ts.map +1 -1
- package/dist/crm/records.js +6 -0
- package/dist/crm/records.js.map +1 -1
- package/dist/crm/source.d.ts +0 -6
- package/dist/crm/source.d.ts.map +1 -1
- package/dist/crm/source.js +1 -7
- package/dist/crm/source.js.map +1 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +0 -115
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/types.d.ts +160 -0
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/hubspot/transport.js +1 -1
- package/dist/hubspot/transport.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-C6CBFXZF.js +0 -40
- package/dist/bundle/first-run-UWAFSINQ.js +0 -29
- package/dist/bundle/first-screen-RTVMGHAE.js +0 -40
- package/dist/bundle/meeting-combined-L5AGBPYX.js +0 -25
- package/dist/bundle/meeting-model-NTB4RK3F.js +0 -25
- package/dist/bundle/oauth-HNCY4B2S.js +0 -20
- package/dist/bundle/server-VNWVVH7A.js +0 -77
- package/dist/bundle/store-DXWYNVVB.js +0 -32
- package/dist/bundle/store-maintenance-command-J57HCJYY.js +0 -68
- package/dist/bundle/writer-NLLI5YRM.js +0 -79
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FIVD4HM4.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EE4JSYGZ.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ARTJLL7W.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IXZLMFPO.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3DIXAEGH.js";
|
|
26
26
|
import {
|
|
27
27
|
CATEGORIES,
|
|
28
28
|
FACT_STATUSES,
|
|
@@ -67,22 +67,22 @@ import {
|
|
|
67
67
|
typedCommand,
|
|
68
68
|
untrusted,
|
|
69
69
|
useAsProcessRun
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-IBTMK5KD.js";
|
|
71
71
|
import {
|
|
72
72
|
isCliFailure,
|
|
73
73
|
storeDamaged
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-DW23LM47.js";
|
|
75
75
|
import {
|
|
76
76
|
endpoint
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-WCQW4GYO.js";
|
|
78
78
|
import {
|
|
79
79
|
repairConfigText,
|
|
80
80
|
sharedConfigPath
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-4DNHXRCJ.js";
|
|
82
82
|
import {
|
|
83
83
|
filesPresent,
|
|
84
84
|
sharedModelsDirectory
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-KO4VR5NK.js";
|
|
86
86
|
import {
|
|
87
87
|
CEILING_KEY,
|
|
88
88
|
COMMAND_PATH_KEY,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
permissionOverrides,
|
|
97
97
|
projectFields,
|
|
98
98
|
resolveOutput
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-3TEFE6YU.js";
|
|
100
100
|
import {
|
|
101
101
|
BUSINESS_KINDS,
|
|
102
102
|
CRM_ACTIVITY_KINDS,
|
|
@@ -111,10 +111,10 @@ import {
|
|
|
111
111
|
ORDER_STATUSES,
|
|
112
112
|
RELATION_KINDS,
|
|
113
113
|
STANDINGS
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-GC6FLHZF.js";
|
|
115
115
|
import {
|
|
116
116
|
TAG_TYPES
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-CBCEMFCF.js";
|
|
118
118
|
import {
|
|
119
119
|
FACT_TYPES,
|
|
120
120
|
FIELD_TYPES,
|
|
@@ -142,10 +142,10 @@ import {
|
|
|
142
142
|
parseLucene,
|
|
143
143
|
readsZone,
|
|
144
144
|
timezoneOf
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-LT5KE44Q.js";
|
|
146
146
|
import {
|
|
147
147
|
storePath
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-3PEKYGZ3.js";
|
|
149
149
|
import {
|
|
150
150
|
configFilePath,
|
|
151
151
|
createRecordLog,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
resolvePaths,
|
|
155
155
|
saveConfigFile,
|
|
156
156
|
writeSecurely
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-X5S5KUSU.js";
|
|
158
158
|
import {
|
|
159
159
|
COMPACT_FLAG,
|
|
160
160
|
MAX_NEXT_STEPS,
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
reference,
|
|
172
172
|
stepOf,
|
|
173
173
|
writes
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-J5P5VSRG.js";
|
|
175
175
|
import {
|
|
176
176
|
array,
|
|
177
177
|
boolean,
|
|
@@ -208,17 +208,17 @@ import {
|
|
|
208
208
|
unknown,
|
|
209
209
|
unwrap,
|
|
210
210
|
variant
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-S4UUN6LD.js";
|
|
212
212
|
import {
|
|
213
213
|
CliError,
|
|
214
214
|
isCliError,
|
|
215
215
|
visibleControls
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-BUGROVF3.js";
|
|
217
217
|
import {
|
|
218
218
|
__name
|
|
219
219
|
} from "./chunk-ZVVMGPBJ.js";
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
222
222
|
import { readFileSync } from "node:fs";
|
|
223
223
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
224
224
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -272,7 +272,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
272
272
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
273
273
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
274
274
|
|
|
275
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
275
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.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
|
|
276
276
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
277
277
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
278
278
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3773,7 +3773,7 @@ __name(useColor, "useColor");
|
|
|
3773
3773
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3774
3774
|
var program = new Command();
|
|
3775
3775
|
|
|
3776
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3776
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.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
|
|
3777
3777
|
var argumentInfoSchema = object({
|
|
3778
3778
|
name: string(),
|
|
3779
3779
|
required: boolean(),
|
|
@@ -3847,7 +3847,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3847
3847
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3848
3848
|
});
|
|
3849
3849
|
|
|
3850
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3850
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.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
|
|
3851
3851
|
import { isDeepStrictEqual } from "node:util";
|
|
3852
3852
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3853
3853
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3957,7 +3957,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3957
3957
|
return result;
|
|
3958
3958
|
}, "sharedCommand");
|
|
3959
3959
|
|
|
3960
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3960
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.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
|
|
3961
3961
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3962
3962
|
let command = root;
|
|
3963
3963
|
const path2 = [];
|
|
@@ -3975,7 +3975,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3975
3975
|
}
|
|
3976
3976
|
}, "refuseJoinedPath");
|
|
3977
3977
|
|
|
3978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
3979
3979
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3980
3980
|
var requests = new AsyncLocalStorage();
|
|
3981
3981
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3990,7 +3990,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3990
3990
|
return direct;
|
|
3991
3991
|
}, "exitCodeSet");
|
|
3992
3992
|
|
|
3993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3994
3994
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3995
3995
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3996
3996
|
messageId: message2.id,
|
|
@@ -4096,7 +4096,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4096
4096
|
}, "guardedWrite");
|
|
4097
4097
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4098
4098
|
|
|
4099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4100
4100
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4101
4101
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4102
4102
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4279,7 +4279,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4279
4279
|
}
|
|
4280
4280
|
}, "withAbort");
|
|
4281
4281
|
|
|
4282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4283
4283
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4284
4284
|
import { join } from "node:path";
|
|
4285
4285
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4301,7 +4301,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4301
4301
|
}, "profilesWithAccounts");
|
|
4302
4302
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4303
4303
|
|
|
4304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4305
4305
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4306
4306
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4307
4307
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4358,7 +4358,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4358
4358
|
};
|
|
4359
4359
|
}, "runBudget");
|
|
4360
4360
|
|
|
4361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4362
4362
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4363
4363
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4364
4364
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4396,7 +4396,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4396
4396
|
progress: "sync.progress"
|
|
4397
4397
|
};
|
|
4398
4398
|
|
|
4399
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4399
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4400
4400
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4401
4401
|
const recording = startRecording(options);
|
|
4402
4402
|
try {
|
|
@@ -4611,7 +4611,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4611
4611
|
return void 0;
|
|
4612
4612
|
}, "partialOutcome");
|
|
4613
4613
|
|
|
4614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4615
4615
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4616
4616
|
if (ms2 === void 0)
|
|
4617
4617
|
return body();
|
|
@@ -4637,7 +4637,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4637
4637
|
}
|
|
4638
4638
|
}, "withDeadline");
|
|
4639
4639
|
|
|
4640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4641
4641
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4642
4642
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4643
4643
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4706,10 +4706,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4706
4706
|
return void 0;
|
|
4707
4707
|
}, "sampleCommand");
|
|
4708
4708
|
|
|
4709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4710
4710
|
import { existsSync as existsSync4 } from "node:fs";
|
|
4711
4711
|
|
|
4712
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4712
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4713
4713
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4714
4714
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4715
4715
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4778,7 +4778,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4778
4778
|
};
|
|
4779
4779
|
}, "modelTarget");
|
|
4780
4780
|
|
|
4781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4782
4782
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4783
4783
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4784
4784
|
var AI_FIELDS = {
|
|
@@ -4822,7 +4822,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4822
4822
|
};
|
|
4823
4823
|
}, "resolveAISettings");
|
|
4824
4824
|
|
|
4825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
4826
4826
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4827
4827
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4828
4828
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4836,7 +4836,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4836
4836
|
return ms2;
|
|
4837
4837
|
}, "parseDuration");
|
|
4838
4838
|
|
|
4839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
4840
4840
|
var HISTORY_MAX_DAYS = 1095;
|
|
4841
4841
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
4842
4842
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -4883,7 +4883,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
4883
4883
|
return { batch: { ...batch, messages }, skipped };
|
|
4884
4884
|
}, "limitBatch");
|
|
4885
4885
|
|
|
4886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
4887
4887
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
4888
4888
|
import { join as join2 } from "node:path";
|
|
4889
4889
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -4972,7 +4972,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
4972
4972
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
4973
4973
|
}, "registryProfiles");
|
|
4974
4974
|
|
|
4975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
4976
4976
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
4977
4977
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
4978
4978
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5267,7 +5267,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5267
5267
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5268
5268
|
}, "readConfigFile");
|
|
5269
5269
|
|
|
5270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5271
5271
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5272
5272
|
import { dirname, join as join3 } from "node:path";
|
|
5273
5273
|
var DEFAULT_CONFIG = {
|
|
@@ -5296,7 +5296,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5296
5296
|
}
|
|
5297
5297
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5298
5298
|
|
|
5299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5300
5300
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5301
5301
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5302
5302
|
const path2 = key.split(".");
|
|
@@ -5318,7 +5318,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5318
5318
|
return { config, added };
|
|
5319
5319
|
}, "withSettingDefaults");
|
|
5320
5320
|
|
|
5321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5322
5322
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5323
5323
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5324
5324
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5846,7 +5846,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5846
5846
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5847
5847
|
}, "given");
|
|
5848
5848
|
|
|
5849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5850
5850
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
5851
5851
|
const { deadline, signal, app } = environmentOf(command);
|
|
5852
5852
|
const now = deadline?.();
|
|
@@ -6000,7 +6000,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6000
6000
|
return words.join(" ");
|
|
6001
6001
|
}, "commandPath");
|
|
6002
6002
|
|
|
6003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6003
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6004
6004
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6005
6005
|
var FETCH = { remote: "read", local: "write" };
|
|
6006
6006
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6132,7 +6132,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6132
6132
|
throw readOnlyRefusal(lock, what);
|
|
6133
6133
|
}, "refuseUnderReadOnly");
|
|
6134
6134
|
|
|
6135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6136
6136
|
var account = strictObject({
|
|
6137
6137
|
provider: text,
|
|
6138
6138
|
id,
|
|
@@ -6142,7 +6142,7 @@ var account = strictObject({
|
|
|
6142
6142
|
scope: optional(picklist(["personal", "work"]))
|
|
6143
6143
|
});
|
|
6144
6144
|
|
|
6145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6146
6146
|
var accountSession = strictObject({
|
|
6147
6147
|
current: boolean(),
|
|
6148
6148
|
client: nullable(text),
|
|
@@ -6152,7 +6152,7 @@ var accountSession = strictObject({
|
|
|
6152
6152
|
created_at: optional(nullable(time))
|
|
6153
6153
|
});
|
|
6154
6154
|
|
|
6155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6156
6156
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6157
6157
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6158
6158
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6181,7 +6181,7 @@ var accountRemoval = strictObject({
|
|
|
6181
6181
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6182
6182
|
});
|
|
6183
6183
|
|
|
6184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6185
6185
|
var accountProfile = strictObject({
|
|
6186
6186
|
profile: id,
|
|
6187
6187
|
current: boolean(),
|
|
@@ -6193,7 +6193,7 @@ var accountProfile = strictObject({
|
|
|
6193
6193
|
bot: optional(literal(true))
|
|
6194
6194
|
});
|
|
6195
6195
|
|
|
6196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6197
6197
|
var milliseconds = pipe(number(), minValue(0));
|
|
6198
6198
|
var counterReading = strictObject({
|
|
6199
6199
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6205,7 +6205,7 @@ var counterReading = strictObject({
|
|
|
6205
6205
|
});
|
|
6206
6206
|
var selection = record(string(), unknown());
|
|
6207
6207
|
|
|
6208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6209
6209
|
var adminRow = strictObject({
|
|
6210
6210
|
ref: reference,
|
|
6211
6211
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6258,7 +6258,7 @@ var adminReport = strictObject({
|
|
|
6258
6258
|
rows: array(adminRow)
|
|
6259
6259
|
});
|
|
6260
6260
|
|
|
6261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6262
6262
|
var closeSuggestion = strictObject({
|
|
6263
6263
|
as: picklist(["done", "dismissed"]),
|
|
6264
6264
|
/** The agent's name. */
|
|
@@ -6320,7 +6320,7 @@ var task = strictObject({
|
|
|
6320
6320
|
updated_at: optional(time)
|
|
6321
6321
|
});
|
|
6322
6322
|
|
|
6323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6323
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6324
6324
|
var agendaChat = strictObject({
|
|
6325
6325
|
chat: reference,
|
|
6326
6326
|
title: nullable(text),
|
|
@@ -6390,11 +6390,11 @@ var agenda = strictObject({
|
|
|
6390
6390
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6391
6391
|
});
|
|
6392
6392
|
|
|
6393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6394
6394
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6395
6395
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6396
6396
|
|
|
6397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6398
6398
|
var attachment = strictObject({
|
|
6399
6399
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6400
6400
|
message: optional(reference),
|
|
@@ -6439,7 +6439,7 @@ var hitFile = strictObject({
|
|
|
6439
6439
|
local_path: optional(text)
|
|
6440
6440
|
});
|
|
6441
6441
|
|
|
6442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6443
6443
|
var actionableError = objectWithRest({
|
|
6444
6444
|
code: text,
|
|
6445
6445
|
message: text,
|
|
@@ -6456,7 +6456,7 @@ var batchResult = strictObject({
|
|
|
6456
6456
|
max_error_percent: count
|
|
6457
6457
|
});
|
|
6458
6458
|
|
|
6459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6460
6460
|
var extractionItem = strictObject({
|
|
6461
6461
|
ref: reference,
|
|
6462
6462
|
attachment: count,
|
|
@@ -6489,7 +6489,7 @@ var extractionReport = strictObject({
|
|
|
6489
6489
|
cursor: optional(text)
|
|
6490
6490
|
});
|
|
6491
6491
|
|
|
6492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6493
6493
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6494
6494
|
var attachmentBytes = strictObject({
|
|
6495
6495
|
ref: reference,
|
|
@@ -6520,7 +6520,7 @@ var attachmentTextChange = strictObject({
|
|
|
6520
6520
|
text: optional(text)
|
|
6521
6521
|
});
|
|
6522
6522
|
|
|
6523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6524
6524
|
var WEIGHTS = {
|
|
6525
6525
|
bot: 3,
|
|
6526
6526
|
scam: 3,
|
|
@@ -6545,7 +6545,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6545
6545
|
var DIGITS = /\d{5,}/;
|
|
6546
6546
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6547
6547
|
|
|
6548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6549
6549
|
var linkedIdentity = strictObject({
|
|
6550
6550
|
provider: text,
|
|
6551
6551
|
id,
|
|
@@ -6600,7 +6600,7 @@ var contactCheck = strictObject({
|
|
|
6600
6600
|
checked_at: time
|
|
6601
6601
|
});
|
|
6602
6602
|
|
|
6603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6604
6604
|
var member = strictObject({
|
|
6605
6605
|
id,
|
|
6606
6606
|
name: nullable(text),
|
|
@@ -6623,7 +6623,7 @@ var member = strictObject({
|
|
|
6623
6623
|
check: optional(record(string(), unknown()))
|
|
6624
6624
|
});
|
|
6625
6625
|
|
|
6626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6627
6627
|
var setting = optional(nullable(boolean()));
|
|
6628
6628
|
var chat = strictObject({
|
|
6629
6629
|
ref: reference,
|
|
@@ -6664,7 +6664,7 @@ var chat = strictObject({
|
|
|
6664
6664
|
members: optional(array(member))
|
|
6665
6665
|
});
|
|
6666
6666
|
|
|
6667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6668
6668
|
var quoted = strictObject({
|
|
6669
6669
|
id,
|
|
6670
6670
|
sender_id: nullable(id),
|
|
@@ -6783,7 +6783,7 @@ var message = strictObject({
|
|
|
6783
6783
|
provider_metadata: providerMetadata
|
|
6784
6784
|
});
|
|
6785
6785
|
|
|
6786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6786
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
6787
6787
|
var recordedMeeting = strictObject({
|
|
6788
6788
|
ref: reference,
|
|
6789
6789
|
meeting_id: count,
|
|
@@ -6800,7 +6800,7 @@ var recordedMeeting = strictObject({
|
|
|
6800
6800
|
call: optional(meetingCall)
|
|
6801
6801
|
});
|
|
6802
6802
|
|
|
6803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
6804
6804
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
6805
6805
|
var contextMessage = strictObject({
|
|
6806
6806
|
locator: reference,
|
|
@@ -7006,7 +7006,7 @@ var contactPreparation = strictObject({
|
|
|
7006
7006
|
})
|
|
7007
7007
|
});
|
|
7008
7008
|
|
|
7009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7009
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7010
7010
|
var nullableText = nullable(text);
|
|
7011
7011
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7012
7012
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7162,7 +7162,7 @@ var stage = strictObject({
|
|
|
7162
7162
|
untrusted
|
|
7163
7163
|
});
|
|
7164
7164
|
|
|
7165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7166
7166
|
var nullableText2 = nullable(text);
|
|
7167
7167
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7168
7168
|
var standing = picklist(STANDINGS);
|
|
@@ -7341,7 +7341,7 @@ var dealBrief = strictObject({
|
|
|
7341
7341
|
not_read: coverage2.entries.not_read
|
|
7342
7342
|
});
|
|
7343
7343
|
|
|
7344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7345
7345
|
var chart = strictObject({
|
|
7346
7346
|
version: literal(1),
|
|
7347
7347
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7356,7 +7356,7 @@ var chart = strictObject({
|
|
|
7356
7356
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7357
7357
|
});
|
|
7358
7358
|
|
|
7359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7360
7360
|
var named = strictObject({
|
|
7361
7361
|
id,
|
|
7362
7362
|
title: nullable(text),
|
|
@@ -7379,7 +7379,7 @@ var folder = strictObject({
|
|
|
7379
7379
|
excluded_chats: optional(array(named))
|
|
7380
7380
|
});
|
|
7381
7381
|
|
|
7382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7383
7383
|
var inviteLink = strictObject({
|
|
7384
7384
|
link: text,
|
|
7385
7385
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7395,7 +7395,7 @@ var inviteLink = strictObject({
|
|
|
7395
7395
|
joined_count: optional(count)
|
|
7396
7396
|
});
|
|
7397
7397
|
|
|
7398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7399
7399
|
var operated = { operation_id: id, chat_id: id };
|
|
7400
7400
|
var group = strictObject({
|
|
7401
7401
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7475,7 +7475,7 @@ var chatFolderOrder = strictObject({
|
|
|
7475
7475
|
folders: array(strictObject({ id, title: text }))
|
|
7476
7476
|
});
|
|
7477
7477
|
|
|
7478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7478
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7479
7479
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7480
7480
|
var chatRemoval = strictObject(operated2);
|
|
7481
7481
|
var chatMuting = strictObject({
|
|
@@ -7486,7 +7486,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7486
7486
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7487
7487
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7488
7488
|
|
|
7489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7490
7490
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7491
7491
|
var chatEvent = strictObject({
|
|
7492
7492
|
chat_id: id,
|
|
@@ -7503,7 +7503,7 @@ var chatEvent = strictObject({
|
|
|
7503
7503
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7504
7504
|
});
|
|
7505
7505
|
|
|
7506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7507
7507
|
var chatMetadata = strictObject({
|
|
7508
7508
|
chat_id: id,
|
|
7509
7509
|
title: nullable(text),
|
|
@@ -7518,7 +7518,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7518
7518
|
has_more: boolean()
|
|
7519
7519
|
});
|
|
7520
7520
|
|
|
7521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7522
7522
|
var action = picklist(["report", "delete", "remove"]);
|
|
7523
7523
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7524
7524
|
var chatRules = strictObject({
|
|
@@ -7555,7 +7555,7 @@ var chatModeration = strictObject({
|
|
|
7555
7555
|
}))
|
|
7556
7556
|
});
|
|
7557
7557
|
|
|
7558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
7559
7559
|
var chatSending = strictObject({
|
|
7560
7560
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
7561
7561
|
meaning: text,
|
|
@@ -7565,7 +7565,7 @@ var chatSending = strictObject({
|
|
|
7565
7565
|
changed: optional(boolean())
|
|
7566
7566
|
});
|
|
7567
7567
|
|
|
7568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7569
7569
|
var optionalCount = optional(count);
|
|
7570
7570
|
var minutes = nullable(number());
|
|
7571
7571
|
var chatStats = strictObject({
|
|
@@ -7641,7 +7641,7 @@ var taskStats = strictObject({
|
|
|
7641
7641
|
}))
|
|
7642
7642
|
});
|
|
7643
7643
|
|
|
7644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7645
7645
|
var memberCount = strictObject({
|
|
7646
7646
|
day: pipe(text, isoDate()),
|
|
7647
7647
|
participants: nullable(count),
|
|
@@ -7664,7 +7664,7 @@ var chatTracking = strictObject({
|
|
|
7664
7664
|
tracked: boolean()
|
|
7665
7665
|
});
|
|
7666
7666
|
|
|
7667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7668
7668
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7669
7669
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7670
7670
|
var profileFields = {
|
|
@@ -7702,7 +7702,7 @@ var profileFields = {
|
|
|
7702
7702
|
}))
|
|
7703
7703
|
};
|
|
7704
7704
|
|
|
7705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7706
7706
|
var contact = strictObject({
|
|
7707
7707
|
ref: reference,
|
|
7708
7708
|
id,
|
|
@@ -7733,7 +7733,7 @@ var contact = strictObject({
|
|
|
7733
7733
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7734
7734
|
});
|
|
7735
7735
|
|
|
7736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7737
7737
|
var contactNote = strictObject({
|
|
7738
7738
|
id,
|
|
7739
7739
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7745,13 +7745,13 @@ var contactNote = strictObject({
|
|
|
7745
7745
|
updated_at: time
|
|
7746
7746
|
});
|
|
7747
7747
|
|
|
7748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7749
7749
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7750
7750
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7751
7751
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7752
7752
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7753
7753
|
|
|
7754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7755
7755
|
var conversation = strictObject({
|
|
7756
7756
|
id,
|
|
7757
7757
|
chat: reference,
|
|
@@ -7766,7 +7766,7 @@ var conversation = strictObject({
|
|
|
7766
7766
|
rules_version: count
|
|
7767
7767
|
});
|
|
7768
7768
|
|
|
7769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7770
7770
|
var conversationBuild = strictObject({
|
|
7771
7771
|
chat: id,
|
|
7772
7772
|
messages: count,
|
|
@@ -7791,7 +7791,7 @@ var catchUpPreparation = strictObject({
|
|
|
7791
7791
|
prepared: optional(conversationPreparation)
|
|
7792
7792
|
});
|
|
7793
7793
|
|
|
7794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7795
7795
|
var conversationDetails = union([
|
|
7796
7796
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7797
7797
|
message
|
|
@@ -7881,7 +7881,7 @@ var conversationHit = strictObject({
|
|
|
7881
7881
|
stale: boolean()
|
|
7882
7882
|
});
|
|
7883
7883
|
|
|
7884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
7885
7885
|
var counters = strictObject({
|
|
7886
7886
|
cutoff: time,
|
|
7887
7887
|
max_age_ms: milliseconds,
|
|
@@ -7911,7 +7911,7 @@ var counterRefresh = strictObject({
|
|
|
7911
7911
|
complete: optional(boolean())
|
|
7912
7912
|
});
|
|
7913
7913
|
|
|
7914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
7915
7915
|
var document = strictObject({
|
|
7916
7916
|
ref: reference,
|
|
7917
7917
|
id,
|
|
@@ -7926,7 +7926,7 @@ var document = strictObject({
|
|
|
7926
7926
|
owners: optional(array(text))
|
|
7927
7927
|
});
|
|
7928
7928
|
|
|
7929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
7930
7930
|
var documentLink = strictObject({
|
|
7931
7931
|
ref: reference,
|
|
7932
7932
|
url: text,
|
|
@@ -7937,7 +7937,7 @@ var documentLink = strictObject({
|
|
|
7937
7937
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7938
7938
|
});
|
|
7939
7939
|
|
|
7940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
7941
7941
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7942
7942
|
var contribution = strictObject({
|
|
7943
7943
|
message: evidenceMessage,
|
|
@@ -7967,7 +7967,7 @@ var retentionStay = strictObject({
|
|
|
7967
7967
|
});
|
|
7968
7968
|
var evidence = union([contribution, retentionStay]);
|
|
7969
7969
|
|
|
7970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
7971
7971
|
var fact = strictObject({
|
|
7972
7972
|
ref: reference,
|
|
7973
7973
|
id,
|
|
@@ -7998,9 +7998,20 @@ var fact = strictObject({
|
|
|
7998
7998
|
updated_at: time
|
|
7999
7999
|
});
|
|
8000
8000
|
|
|
8001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8002
8002
|
var hit = strictObject({
|
|
8003
|
-
kind: picklist([
|
|
8003
|
+
kind: picklist([
|
|
8004
|
+
"message",
|
|
8005
|
+
"mail",
|
|
8006
|
+
"note",
|
|
8007
|
+
"document",
|
|
8008
|
+
"event",
|
|
8009
|
+
"meeting",
|
|
8010
|
+
"deal",
|
|
8011
|
+
"lead",
|
|
8012
|
+
"crm_file",
|
|
8013
|
+
...BUSINESS_KINDS
|
|
8014
|
+
]),
|
|
8004
8015
|
ref: reference,
|
|
8005
8016
|
provider: text,
|
|
8006
8017
|
url: optional(text),
|
|
@@ -8046,7 +8057,7 @@ var hit = strictObject({
|
|
|
8046
8057
|
untrusted
|
|
8047
8058
|
});
|
|
8048
8059
|
|
|
8049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8050
8061
|
var identity = strictObject({
|
|
8051
8062
|
ref: reference,
|
|
8052
8063
|
provider: text,
|
|
@@ -8062,7 +8073,7 @@ var identity = strictObject({
|
|
|
8062
8073
|
person: optional(nullable(reference))
|
|
8063
8074
|
});
|
|
8064
8075
|
|
|
8065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8066
8077
|
var imageEmbedding = strictObject({
|
|
8067
8078
|
model: text,
|
|
8068
8079
|
embedded: count,
|
|
@@ -8071,13 +8082,13 @@ var imageEmbedding = strictObject({
|
|
|
8071
8082
|
more: boolean()
|
|
8072
8083
|
});
|
|
8073
8084
|
|
|
8074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8075
8086
|
import { spawn } from "node:child_process";
|
|
8076
8087
|
import { randomBytes } from "node:crypto";
|
|
8077
8088
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8078
8089
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8079
8090
|
|
|
8080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8081
8092
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8082
8093
|
const total = input.total ?? null;
|
|
8083
8094
|
const updated = input.updatedAt ?? null;
|
|
@@ -8108,7 +8119,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8108
8119
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8109
8120
|
}, "progressLine");
|
|
8110
8121
|
|
|
8111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8112
8123
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8113
8124
|
const run = currentRun();
|
|
8114
8125
|
const trace = traceId ?? run.traceId;
|
|
@@ -8122,7 +8133,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8122
8133
|
}));
|
|
8123
8134
|
}, "recordLogFor");
|
|
8124
8135
|
|
|
8125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8126
8137
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8127
8138
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8128
8139
|
const out = openSync(log, "a", 384);
|
|
@@ -8277,7 +8288,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8277
8288
|
return { job: id6, pid, chat: input.chat, log };
|
|
8278
8289
|
}, "startArchiveJob");
|
|
8279
8290
|
|
|
8280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8281
8292
|
var problem = strictObject({ code: text, message: text });
|
|
8282
8293
|
var job = strictObject({
|
|
8283
8294
|
id,
|
|
@@ -8300,7 +8311,7 @@ var job = strictObject({
|
|
|
8300
8311
|
error: optional(problem)
|
|
8301
8312
|
});
|
|
8302
8313
|
|
|
8303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8314
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8304
8315
|
var joinRequest = strictObject({
|
|
8305
8316
|
person_id: id,
|
|
8306
8317
|
name: nullable(text),
|
|
@@ -8311,7 +8322,7 @@ var joinRequest = strictObject({
|
|
|
8311
8322
|
about: optional(text)
|
|
8312
8323
|
});
|
|
8313
8324
|
|
|
8314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8315
8326
|
var botProfile = strictObject({
|
|
8316
8327
|
name: text,
|
|
8317
8328
|
token: text,
|
|
@@ -8435,7 +8446,7 @@ var stickerInventory = strictObject({
|
|
|
8435
8446
|
url: optional(nullable(text))
|
|
8436
8447
|
});
|
|
8437
8448
|
|
|
8438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8439
8450
|
var pollVote = strictObject({
|
|
8440
8451
|
person_id: id,
|
|
8441
8452
|
name: nullable(text),
|
|
@@ -8445,7 +8456,7 @@ var pollVote = strictObject({
|
|
|
8445
8456
|
voted_at: time
|
|
8446
8457
|
});
|
|
8447
8458
|
|
|
8448
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8449
8460
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8450
8461
|
var observation = strictObject({
|
|
8451
8462
|
value: pipe(number(), minValue(0)),
|
|
@@ -8487,7 +8498,7 @@ var serveSummary = strictObject({
|
|
|
8487
8498
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8488
8499
|
});
|
|
8489
8500
|
|
|
8490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8491
8502
|
var mailCounts = strictObject({
|
|
8492
8503
|
by: picklist(["day", "week", "sender"]),
|
|
8493
8504
|
received: count,
|
|
@@ -8502,7 +8513,7 @@ var mailCounts = strictObject({
|
|
|
8502
8513
|
}))
|
|
8503
8514
|
});
|
|
8504
8515
|
|
|
8505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8506
8517
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8507
8518
|
var base = { id, evidence: array(evidence2) };
|
|
8508
8519
|
var finding = variant("kind", [
|
|
@@ -8646,7 +8657,7 @@ var mailFindings = strictObject({
|
|
|
8646
8657
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8647
8658
|
});
|
|
8648
8659
|
|
|
8649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8650
8661
|
var mediaArchive = strictObject({
|
|
8651
8662
|
directory: text,
|
|
8652
8663
|
chats: count,
|
|
@@ -8678,7 +8689,7 @@ var mediaArchiveTimer = union([
|
|
|
8678
8689
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8679
8690
|
]);
|
|
8680
8691
|
|
|
8681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8682
8693
|
var preparationId = pipe(string(), minLength(1));
|
|
8683
8694
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8684
8695
|
var preparationTime = nullable(isoTime);
|
|
@@ -8770,7 +8781,7 @@ var preparationMeeting = strictObject({
|
|
|
8770
8781
|
updated_at: isoTime
|
|
8771
8782
|
});
|
|
8772
8783
|
|
|
8773
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8774
8785
|
var meetingEvidence = preparationEvidence;
|
|
8775
8786
|
var meetingPersonContext = strictObject({
|
|
8776
8787
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8792,7 +8803,7 @@ var meetingPersonContext = strictObject({
|
|
|
8792
8803
|
})
|
|
8793
8804
|
});
|
|
8794
8805
|
|
|
8795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8796
8807
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8797
8808
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8798
8809
|
var finding2 = variant("kind", [
|
|
@@ -8830,7 +8841,7 @@ var meetingFindings = strictObject({
|
|
|
8830
8841
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8831
8842
|
});
|
|
8832
8843
|
|
|
8833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8834
8845
|
var communicationCoverage = strictObject({
|
|
8835
8846
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8836
8847
|
query: string(),
|
|
@@ -8875,7 +8886,7 @@ var preparationCommunications = strictObject({
|
|
|
8875
8886
|
}))
|
|
8876
8887
|
});
|
|
8877
8888
|
|
|
8878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8879
8890
|
var meetingPreparation = strictObject({
|
|
8880
8891
|
communications: optional(preparationCommunications),
|
|
8881
8892
|
schema_version: literal(1),
|
|
@@ -8988,7 +8999,7 @@ var meetingPreparation = strictObject({
|
|
|
8988
8999
|
})
|
|
8989
9000
|
});
|
|
8990
9001
|
|
|
8991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
8992
9003
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
8993
9004
|
var id3 = pipe(string(), minLength(1));
|
|
8994
9005
|
var text3 = string();
|
|
@@ -9052,7 +9063,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9052
9063
|
})
|
|
9053
9064
|
});
|
|
9054
9065
|
|
|
9055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9056
9067
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9057
9068
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9058
9069
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9082,7 +9093,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9082
9093
|
})
|
|
9083
9094
|
});
|
|
9084
9095
|
|
|
9085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9086
9097
|
var text4 = string();
|
|
9087
9098
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9088
9099
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9099,7 +9110,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9099
9110
|
persistence: literal("proposal-only")
|
|
9100
9111
|
});
|
|
9101
9112
|
|
|
9102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9103
9114
|
var memory = strictObject({
|
|
9104
9115
|
ref: reference,
|
|
9105
9116
|
id,
|
|
@@ -9127,7 +9138,7 @@ var memory = strictObject({
|
|
|
9127
9138
|
updated_at: time
|
|
9128
9139
|
});
|
|
9129
9140
|
|
|
9130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9131
9142
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9132
9143
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9133
9144
|
var mention = strictObject({
|
|
@@ -9171,13 +9182,13 @@ var mentionRebuild = strictObject({
|
|
|
9171
9182
|
mentions: count
|
|
9172
9183
|
});
|
|
9173
9184
|
|
|
9174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9175
9186
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9176
9187
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9177
9188
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9178
9189
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9179
9190
|
|
|
9180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9181
9192
|
var messageTranscript = strictObject({
|
|
9182
9193
|
message_id: id,
|
|
9183
9194
|
text,
|
|
@@ -9235,7 +9246,7 @@ var evidencePacket = strictObject({
|
|
|
9235
9246
|
}))
|
|
9236
9247
|
});
|
|
9237
9248
|
|
|
9238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9239
9250
|
var messageThread = strictObject({
|
|
9240
9251
|
ref: reference,
|
|
9241
9252
|
chat: id,
|
|
@@ -9252,7 +9263,7 @@ var messageThread = strictObject({
|
|
|
9252
9263
|
});
|
|
9253
9264
|
var messageContext = union([message, messageThread]);
|
|
9254
9265
|
|
|
9255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9256
9267
|
var messageCounts = strictObject({
|
|
9257
9268
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9258
9269
|
total: count,
|
|
@@ -9265,7 +9276,7 @@ var messageCounts = strictObject({
|
|
|
9265
9276
|
}))
|
|
9266
9277
|
});
|
|
9267
9278
|
|
|
9268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9269
9280
|
var messageLink = strictObject({
|
|
9270
9281
|
ref: reference,
|
|
9271
9282
|
url: nullable(text),
|
|
@@ -9282,7 +9293,7 @@ var messageLink = strictObject({
|
|
|
9282
9293
|
})))
|
|
9283
9294
|
});
|
|
9284
9295
|
|
|
9285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9286
9297
|
var savedMessageFile = strictObject({
|
|
9287
9298
|
kind: text,
|
|
9288
9299
|
path: text,
|
|
@@ -9369,7 +9380,7 @@ var messageSyncAll = strictObject({
|
|
|
9369
9380
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9370
9381
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9371
9382
|
|
|
9372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9373
9384
|
var messageWrite = strictObject({
|
|
9374
9385
|
operation_id: id,
|
|
9375
9386
|
message,
|
|
@@ -9384,7 +9395,7 @@ var draftWrite = strictObject({
|
|
|
9384
9395
|
});
|
|
9385
9396
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9386
9397
|
|
|
9387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9388
9399
|
var model2 = strictObject({
|
|
9389
9400
|
id,
|
|
9390
9401
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9419,7 +9430,7 @@ var chosenModel = strictObject({
|
|
|
9419
9430
|
estimate_seconds: nullable(count)
|
|
9420
9431
|
});
|
|
9421
9432
|
|
|
9422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9423
9434
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9424
9435
|
var modelKey = strictObject({
|
|
9425
9436
|
provider: text,
|
|
@@ -9429,7 +9440,7 @@ var modelKey = strictObject({
|
|
|
9429
9440
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9430
9441
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9431
9442
|
|
|
9432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9433
9444
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9434
9445
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9435
9446
|
var graph = strictObject({
|
|
@@ -9463,14 +9474,14 @@ var officialStats = strictObject({
|
|
|
9463
9474
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9464
9475
|
});
|
|
9465
9476
|
|
|
9466
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9467
9478
|
var person2 = strictObject({
|
|
9468
9479
|
ref: reference,
|
|
9469
9480
|
name: nullable(text),
|
|
9470
9481
|
identities: optional(array(identity))
|
|
9471
9482
|
});
|
|
9472
9483
|
|
|
9473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9474
9485
|
var poll = strictObject({
|
|
9475
9486
|
chat_id: id,
|
|
9476
9487
|
message_id: id,
|
|
@@ -9486,11 +9497,11 @@ var poll = strictObject({
|
|
|
9486
9497
|
});
|
|
9487
9498
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9488
9499
|
|
|
9489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9490
9501
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9491
9502
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9492
9503
|
|
|
9493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9494
9505
|
var figures = record(string(), number());
|
|
9495
9506
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9496
9507
|
var rankingRow = strictObject({
|
|
@@ -9537,7 +9548,7 @@ var ranking = strictObject({
|
|
|
9537
9548
|
rows: array(rankingRow)
|
|
9538
9549
|
});
|
|
9539
9550
|
|
|
9540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9541
9552
|
var reaction = strictObject({
|
|
9542
9553
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9543
9554
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9545,7 +9556,7 @@ var reaction = strictObject({
|
|
|
9545
9556
|
reacted_at: time
|
|
9546
9557
|
});
|
|
9547
9558
|
|
|
9548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9549
9560
|
var reactionChange = strictObject({
|
|
9550
9561
|
operation_id: id,
|
|
9551
9562
|
chat_id: id,
|
|
@@ -9553,7 +9564,7 @@ var reactionChange = strictObject({
|
|
|
9553
9564
|
reaction: nullable(text)
|
|
9554
9565
|
});
|
|
9555
9566
|
|
|
9556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9557
9568
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9558
9569
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9559
9570
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9564,7 +9575,7 @@ var recipientChange = strictObject({
|
|
|
9564
9575
|
...partial(recipientOff).entries
|
|
9565
9576
|
});
|
|
9566
9577
|
|
|
9567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9568
9579
|
var events = array(record(string(), unknown()));
|
|
9569
9580
|
var recordedRun = strictObject({
|
|
9570
9581
|
run_id: id,
|
|
@@ -9636,7 +9647,7 @@ var runHit = strictObject({
|
|
|
9636
9647
|
});
|
|
9637
9648
|
var runLocation = strictObject({ path: text });
|
|
9638
9649
|
|
|
9639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9650
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9640
9651
|
var relationship = strictObject({
|
|
9641
9652
|
id,
|
|
9642
9653
|
from: reference,
|
|
@@ -9663,7 +9674,7 @@ var relationship = strictObject({
|
|
|
9663
9674
|
created_at: time
|
|
9664
9675
|
});
|
|
9665
9676
|
|
|
9666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9667
9678
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9668
9679
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9669
9680
|
var responseTimes = strictObject({
|
|
@@ -9680,7 +9691,7 @@ var waitingChats = strictObject({
|
|
|
9680
9691
|
by_kind: strictObject({ private: count, group: count })
|
|
9681
9692
|
});
|
|
9682
9693
|
|
|
9683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9684
9695
|
var retentionCohort = strictObject({
|
|
9685
9696
|
/** The first day of the joining day or week. */
|
|
9686
9697
|
cohort: text,
|
|
@@ -9728,7 +9739,7 @@ var retention = strictObject({
|
|
|
9728
9739
|
rows: array(retentionCohort)
|
|
9729
9740
|
});
|
|
9730
9741
|
|
|
9731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9732
9743
|
var savedSearch = strictObject({
|
|
9733
9744
|
id,
|
|
9734
9745
|
/** `null` for a run in the history. */
|
|
@@ -9745,7 +9756,7 @@ var savedSearch = strictObject({
|
|
|
9745
9756
|
});
|
|
9746
9757
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9747
9758
|
|
|
9748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9759
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9749
9760
|
var sendAttempt = strictObject({
|
|
9750
9761
|
at: time,
|
|
9751
9762
|
profile: text,
|
|
@@ -9773,7 +9784,7 @@ var sendAttempt = strictObject({
|
|
|
9773
9784
|
error_code: optional(text)
|
|
9774
9785
|
});
|
|
9775
9786
|
|
|
9776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9777
9788
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9778
9789
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9779
9790
|
var infoSchema = strictObject({
|
|
@@ -10003,7 +10014,7 @@ var storeRepair = union([
|
|
|
10003
10014
|
]);
|
|
10004
10015
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10005
10016
|
|
|
10006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10017
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10007
10018
|
var range = strictObject({ from: number(), to: number() });
|
|
10008
10019
|
var storeChatStatus = strictObject({
|
|
10009
10020
|
chat_id: id,
|
|
@@ -10101,7 +10112,7 @@ var storeJobRetry = union([
|
|
|
10101
10112
|
]);
|
|
10102
10113
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10103
10114
|
|
|
10104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10105
10116
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10106
10117
|
var storeTable = strictObject({
|
|
10107
10118
|
name: text,
|
|
@@ -10110,7 +10121,7 @@ var storeTable = strictObject({
|
|
|
10110
10121
|
bytes: optional(nullable(count))
|
|
10111
10122
|
});
|
|
10112
10123
|
|
|
10113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10114
10125
|
var tagTarget = variant("type", [
|
|
10115
10126
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10116
10127
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10141,7 +10152,7 @@ var automaticTags = strictObject({
|
|
|
10141
10152
|
dry_run: boolean()
|
|
10142
10153
|
});
|
|
10143
10154
|
|
|
10144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10145
10156
|
var tagging = strictObject({
|
|
10146
10157
|
tag: text,
|
|
10147
10158
|
type: picklist(TAG_TYPES),
|
|
@@ -10154,7 +10165,7 @@ var tagging = strictObject({
|
|
|
10154
10165
|
created_at: time
|
|
10155
10166
|
});
|
|
10156
10167
|
|
|
10157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10158
10169
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10159
10170
|
var taskPair = strictObject({
|
|
10160
10171
|
task: nullable(side),
|
|
@@ -10177,7 +10188,7 @@ var taskPair = strictObject({
|
|
|
10177
10188
|
created_at: time
|
|
10178
10189
|
});
|
|
10179
10190
|
|
|
10180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10181
10192
|
var nullableTime = nullable(time);
|
|
10182
10193
|
var link = strictObject({
|
|
10183
10194
|
id,
|
|
@@ -10351,7 +10362,7 @@ var taskReview = strictObject({
|
|
|
10351
10362
|
untrusted
|
|
10352
10363
|
});
|
|
10353
10364
|
|
|
10354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10355
10366
|
var template = strictObject({
|
|
10356
10367
|
key: text,
|
|
10357
10368
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10363,7 +10374,7 @@ var template = strictObject({
|
|
|
10363
10374
|
updated_by: nullable(text)
|
|
10364
10375
|
});
|
|
10365
10376
|
|
|
10366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10367
10378
|
var topic = strictObject({
|
|
10368
10379
|
id,
|
|
10369
10380
|
title: text,
|
|
@@ -10377,7 +10388,7 @@ var topic = strictObject({
|
|
|
10377
10388
|
untrusted
|
|
10378
10389
|
});
|
|
10379
10390
|
|
|
10380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10381
10392
|
var ENTITIES = {
|
|
10382
10393
|
sync_progress: progress,
|
|
10383
10394
|
deal,
|
|
@@ -10676,7 +10687,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10676
10687
|
return [name, definition];
|
|
10677
10688
|
})), "entityDefinitions");
|
|
10678
10689
|
|
|
10679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10680
10691
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10681
10692
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10682
10693
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10710,7 +10721,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10710
10721
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10711
10722
|
}, "answerRow");
|
|
10712
10723
|
|
|
10713
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10714
10725
|
import { join as join5 } from "node:path";
|
|
10715
10726
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10716
10727
|
var IMAGE_MODELS = [
|
|
@@ -10764,7 +10775,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10764
10775
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10765
10776
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10766
10777
|
|
|
10767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10768
10779
|
var STEPS2 = defineSteps([
|
|
10769
10780
|
...STEPS,
|
|
10770
10781
|
{
|
|
@@ -11054,7 +11065,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11054
11065
|
].join(" ");
|
|
11055
11066
|
}, "stepLine");
|
|
11056
11067
|
|
|
11057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11058
11069
|
var where = [{ field: "ref" }];
|
|
11059
11070
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11060
11071
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11146,7 +11157,7 @@ var STATUS_ROWS = {
|
|
|
11146
11157
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11147
11158
|
};
|
|
11148
11159
|
|
|
11149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11150
11161
|
var TEXT_CHARS = 400;
|
|
11151
11162
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11152
11163
|
var messageRow = {
|
|
@@ -11514,7 +11525,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11514
11525
|
return lines.concat(footerOf(body)).join("\n");
|
|
11515
11526
|
}, "compactText");
|
|
11516
11527
|
|
|
11517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11518
11529
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11519
11530
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11520
11531
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11572,7 +11583,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11572
11583
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11573
11584
|
}, "largeAnswerSteps");
|
|
11574
11585
|
|
|
11575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11576
11587
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11577
11588
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11578
11589
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11586,7 +11597,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11586
11597
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11587
11598
|
}, "strip");
|
|
11588
11599
|
|
|
11589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11590
11601
|
var OPEN = "\u27E6";
|
|
11591
11602
|
var CLOSE = "\u27E7";
|
|
11592
11603
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11595,6 +11606,10 @@ var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
|
11595
11606
|
const mark = ancestorValue(envName(app, "UNTRUSTED_MARK"), env);
|
|
11596
11607
|
return mark && /^[0-9a-f]{16}$/.test(mark) ? mark : void 0;
|
|
11597
11608
|
}, "untrustedMarkOf");
|
|
11609
|
+
var runMarkOf = /* @__PURE__ */ __name((command) => {
|
|
11610
|
+
const { app, env } = environmentOf(command);
|
|
11611
|
+
return app ? untrustedMarkOf(app, env ?? process.env) : void 0;
|
|
11612
|
+
}, "runMarkOf");
|
|
11598
11613
|
var marked = /* @__PURE__ */ __name((text5, mark, source2, id6) => {
|
|
11599
11614
|
const inside = text5.replaceAll(OPEN, "").replaceAll(CLOSE, "").replaceAll(mark, "");
|
|
11600
11615
|
const named2 = id6 === void 0 ? "" : ` id=${id6.replaceAll(OPEN, "").replaceAll(CLOSE, "").replace(/\s/g, "")}`;
|
|
@@ -11670,7 +11685,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11670
11685
|
return result;
|
|
11671
11686
|
}, "withFieldsMarked");
|
|
11672
11687
|
|
|
11673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11688
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11674
11689
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11675
11690
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11676
11691
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11800,8 +11815,7 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
|
|
|
11800
11815
|
const root = rootOf2(command);
|
|
11801
11816
|
const runnableSteps = runnable(root, body.next);
|
|
11802
11817
|
const next = environmentOf(command).agent ? runnableSteps : withLines(root, runnableSteps);
|
|
11803
|
-
const
|
|
11804
|
-
const mark = app ? untrustedMarkOf(app, env ?? process.env) : void 0;
|
|
11818
|
+
const mark = runMarkOf(command);
|
|
11805
11819
|
const declared = untrustedFieldsOf(command);
|
|
11806
11820
|
const shown = mark === void 0 ? body : withUntrustedMarked(declared ? withFieldsMarked(body, declared, mark) : body, mark);
|
|
11807
11821
|
const kept = withoutProviderRefs({ ...shown, ...next.length > 0 ? { next } : {} });
|
|
@@ -12050,6 +12064,8 @@ export {
|
|
|
12050
12064
|
stepLine,
|
|
12051
12065
|
tooLargeSteps,
|
|
12052
12066
|
withoutProviderRefs,
|
|
12067
|
+
runMarkOf,
|
|
12068
|
+
withUntrustedMarked,
|
|
12053
12069
|
marksUntrusted,
|
|
12054
12070
|
answerSchema,
|
|
12055
12071
|
listOf,
|