@wirecat/attio-cli 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +2 -2
- package/dist/activities.d.ts.map +1 -1
- package/dist/activities.js +2 -1
- package/dist/activities.js.map +1 -1
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-C3SZOGZS.js +38 -0
- package/dist/bundle/{all-profiles-63N3EQ46.js → all-profiles-673VSTRG.js} +7 -7
- package/dist/bundle/{anthropic-B4W7MZQE.js → anthropic-V4RZS5XM.js} +3 -3
- package/dist/bundle/{app-server-EXNGTHWO.js → app-server-CTEDPA5H.js} +55 -56
- package/dist/bundle/attio.js +3 -3
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-NBAY7FR2.js → bun-sqlite-33JTNHCK.js} +4 -4
- package/dist/bundle/{chunk-L72WUJAS.js → chunk-2R2EX5I6.js} +2 -2
- package/dist/bundle/{chunk-SCI7QEHF.js → chunk-5EH7S4RM.js} +7 -7
- package/dist/bundle/{chunk-V57E7PJQ.js → chunk-5WY6RURV.js} +4 -4
- package/dist/bundle/{chunk-X5UPBSTP.js → chunk-6E5QWCBK.js} +1 -1
- package/dist/bundle/{chunk-RQORQN2V.js → chunk-6V7ZUJI6.js} +51 -51
- package/dist/bundle/{chunk-UDSL3MUU.js → chunk-AOKAYQSJ.js} +14 -9
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-J6GVVISK.js → chunk-B4DVW2BA.js} +7 -7
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-JIGEJZ4I.js → chunk-DBHZ7TQ7.js} +3696 -2811
- package/dist/bundle/{chunk-DPD4FMHN.js → chunk-E2L4R6EI.js} +3 -3
- package/dist/bundle/{chunk-YNGU36GW.js → chunk-EDWRHVHD.js} +11 -11
- package/dist/bundle/{chunk-4RSWOPKL.js → chunk-EV6B3GHM.js} +7 -7
- package/dist/bundle/{chunk-OYEVYOCL.js → chunk-FBWECICU.js} +5 -5
- package/dist/bundle/{chunk-JG6LCSEX.js → chunk-FFER7KJI.js} +12 -12
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/{chunk-MCLQTCGH.js → chunk-G3PK5BZB.js} +34 -14
- package/dist/bundle/{chunk-NISH4UXM.js → chunk-G46PNDWL.js} +1 -1
- package/dist/bundle/{chunk-LKH3UKLO.js → chunk-G6NY7LFB.js} +3 -3
- package/dist/bundle/{chunk-V7IF2K3P.js → chunk-GLU36VKA.js} +2 -2
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-XQGN2D44.js → chunk-HMYBAVIE.js} +3 -3
- package/dist/bundle/{chunk-P7G5HFY3.js → chunk-HOJJPSLU.js} +2 -2
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- package/dist/bundle/{chunk-M4AC55ZB.js → chunk-J2LSOG3A.js} +205 -172
- package/dist/bundle/{chunk-5WD22IXQ.js → chunk-K5L77R7P.js} +2 -2
- package/dist/bundle/chunk-KKRFVN4X.js +1835 -0
- package/dist/bundle/{chunk-IA7LLLEI.js → chunk-KLRCTMES.js} +2 -2
- package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/{chunk-2QDUP74I.js → chunk-L5QLKUQR.js} +33 -33
- package/dist/bundle/{chunk-GTEX4IUO.js → chunk-MFSWMNSZ.js} +4 -4
- package/dist/bundle/{chunk-3MSHGNVE.js → chunk-MYK2F5LD.js} +20 -12
- package/dist/bundle/{chunk-7Z53MLQP.js → chunk-NBNQLNVV.js} +2 -2
- package/dist/bundle/{chunk-LM3W7YOM.js → chunk-O3DZDITT.js} +3 -3
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/{chunk-L45WN3AR.js → chunk-P5XYQZVW.js} +2 -2
- package/dist/bundle/{chunk-TTF5DP4V.js → chunk-P6OJKJJS.js} +6 -6
- package/dist/bundle/{chunk-6TD3DCWC.js → chunk-P6S3ZRVW.js} +2 -2
- package/dist/bundle/{chunk-UKHF37ZU.js → chunk-QBJRK733.js} +20 -20
- package/dist/bundle/{chunk-QSJKSPWF.js → chunk-QBYE26ZC.js} +2 -2
- package/dist/bundle/{chunk-APARYILG.js → chunk-R2CEA7MK.js} +13 -13
- package/dist/bundle/{chunk-ZZD2YPOX.js → chunk-SKUY7JDA.js} +14 -6
- package/dist/bundle/{chunk-4RBMCXZT.js → chunk-T35IOBPJ.js} +28 -24
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-WXQGA6XK.js → chunk-TB3LN5G2.js} +2 -2
- package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-YWDFYQOU.js → chunk-TES7MB6I.js} +1 -1
- package/dist/bundle/{chunk-DURNR4RO.js → chunk-U7UTYALA.js} +7 -7
- package/dist/bundle/{chunk-PAEKXVJW.js → chunk-UOWHMOU3.js} +6 -6
- package/dist/bundle/{chunk-5JKTVAXX.js → chunk-UXDUWGX6.js} +3 -0
- package/dist/bundle/{chunk-FH6OEGGN.js → chunk-V5I3QHDU.js} +14 -13
- package/dist/bundle/{chunk-KVTNYRDO.js → chunk-VCDIKCFE.js} +5 -5
- package/dist/bundle/{chunk-RDVTHFPP.js → chunk-VJHUMB7U.js} +4 -4
- package/dist/bundle/{chunk-PMQ7GP6X.js → chunk-W4KLHM2K.js} +5 -5
- package/dist/bundle/{chunk-HZ3C4WXD.js → chunk-W5LKEOGN.js} +1 -1
- package/dist/bundle/{chunk-PLPBEWD4.js → chunk-WLDZWHSF.js} +2 -2
- package/dist/bundle/{chunk-DM7KWVDZ.js → chunk-WQEEYEWO.js} +10 -10
- package/dist/bundle/{chunk-AATTOFNY.js → chunk-WRF6TY63.js} +96 -620
- package/dist/bundle/{chunk-EY36BTKZ.js → chunk-WXYOELRI.js} +2 -2
- package/dist/bundle/{chunk-EVUMQKV7.js → chunk-WZBPUOWM.js} +2 -2
- package/dist/bundle/chunk-XGNZD52X.js +592 -0
- package/dist/bundle/{chunk-FOP6G45D.js → chunk-YQH4J6YZ.js} +9 -9
- package/dist/bundle/{chunk-6K4Z6CAM.js → chunk-Z7Y2I5YR.js} +447 -399
- package/dist/bundle/{chunk-T4J7XFXT.js → chunk-ZBCC7MBN.js} +62 -58
- package/dist/bundle/command-contract-ZL67KMYL.js +37 -0
- package/dist/bundle/{command-server-entry-3NPPABQQ.js → command-server-entry-COR2VDRU.js} +22 -22
- package/dist/bundle/{decode-26M7XE2B.js → decode-33SGRQM6.js} +3 -3
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-XJLEAWXE.js → embed-W4ZBXPWD.js} +4 -4
- package/dist/bundle/{embedder-OEL6PXEH.js → embedder-73CCZC52.js} +7 -7
- package/dist/bundle/{first-run-CIXGBXY6.js → first-run-MOSUMMVX.js} +7 -8
- package/dist/bundle/first-screen-GUXBF3SL.js +38 -0
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/{meeting-combined-DMVGQNJ7.js → meeting-combined-QMIZOBBJ.js} +11 -11
- package/dist/bundle/{meeting-model-2THAT7OH.js → meeting-model-2UYVGXD5.js} +9 -9
- package/dist/bundle/{meeting-semantic-Q6XYFYUD.js → meeting-semantic-LEJPUIN3.js} +3 -3
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-2SWWGW6H.js → node-sqlite-UHPODTKB.js} +5 -5
- package/dist/bundle/{oauth-V5LGTXF2.js → oauth-T3DWL7OV.js} +5 -5
- package/dist/bundle/{open-25EKOTZA.js → open-ODWX32PF.js} +3 -3
- package/dist/bundle/{openai-VX3OLIHM.js → openai-GSXXHKPX.js} +13 -13
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-F37JH2SO.js → program-SXSUG335.js} +2209 -1081
- package/dist/bundle/{prompt-2VSPX5S7.js → prompt-GVTYTFK7.js} +3 -3
- package/dist/bundle/{recognize-NA5XUFKK.js → recognize-XDSZEZP5.js} +2 -2
- package/dist/bundle/{remote-BOME6XOE.js → remote-ZWZKMEY6.js} +7 -7
- package/dist/bundle/{rerank-NG3XMFCV.js → rerank-OBZQ54NL.js} +5 -5
- package/dist/bundle/{serve-MR67OBED.js → serve-NY5MUTNW.js} +7 -7
- package/dist/bundle/{server-OP2HJNXD.js → server-JK334V5Y.js} +47 -48
- package/dist/bundle/server-VOPYQCUD.js +79 -0
- package/dist/bundle/{sqlite-runtime-V5U6F5EB.js → sqlite-runtime-2NHF4S6G.js} +4 -4
- package/dist/bundle/{state-L4MWAATO.js → state-YGWZZWPM.js} +4 -4
- package/dist/bundle/{store-CXZFRG5D.js → store-LRQUTFJR.js} +46 -37
- package/dist/bundle/{store-2ALTEH55.js → store-ND6KU4RI.js} +16 -16
- package/dist/bundle/store-maintenance-command-GLYGQM2V.js +66 -0
- package/dist/bundle/surface-P53WLLXP.js +65 -0
- package/dist/hooks.d.ts +1 -8
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +50 -49
- package/dist/hooks.js.map +1 -1
- package/dist/links.d.ts +10 -0
- package/dist/links.d.ts.map +1 -0
- package/dist/links.js +7 -0
- package/dist/links.js.map +1 -0
- package/dist/meetings.d.ts +57 -0
- package/dist/meetings.d.ts.map +1 -0
- package/dist/meetings.js +96 -0
- package/dist/meetings.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/attio-cli/SKILL.md +3 -1
- package/dist/bundle/agent-GUXXSLT5.js +0 -38
- package/dist/bundle/chunk-2JHVQMVC.js +0 -16
- package/dist/bundle/chunk-RRTMPSQR.js +0 -29
- package/dist/bundle/chunk-SSA6JBPA.js +0 -778
- package/dist/bundle/command-contract-KCCW4LNI.js +0 -37
- package/dist/bundle/first-screen-5FK4D45F.js +0 -38
- package/dist/bundle/server-4BWAGJQO.js +0 -80
- package/dist/bundle/store-maintenance-command-LC55DRQA.js +0 -67
- package/dist/bundle/surface-3GRJ7473.js +0 -66
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5EH7S4RM.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GLU36VKA.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MFSWMNSZ.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-T3W4V4A6.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-K5L77R7P.js";
|
|
26
26
|
import {
|
|
27
27
|
BUSINESS_KINDS,
|
|
28
28
|
CATEGORIES,
|
|
@@ -30,7 +30,6 @@ import {
|
|
|
30
30
|
DEAL_KINDS,
|
|
31
31
|
DEAL_ROLES,
|
|
32
32
|
DEAL_STATUSES,
|
|
33
|
-
FACT_STATUSES,
|
|
34
33
|
FINANCE_REVIEWS,
|
|
35
34
|
INVOICE_DIRECTIONS,
|
|
36
35
|
INVOICE_STATUSES,
|
|
@@ -39,22 +38,12 @@ import {
|
|
|
39
38
|
LINK_KINDS,
|
|
40
39
|
LINK_SOURCES,
|
|
41
40
|
LOG_ATTRIBUTES,
|
|
42
|
-
MEMORY_KINDS,
|
|
43
|
-
MEMORY_SCOPES,
|
|
44
|
-
MEMORY_STATUSES,
|
|
45
41
|
MONEY_DIRECTIONS,
|
|
46
42
|
ORDER_PURPOSES,
|
|
47
43
|
ORDER_STATUSES,
|
|
48
|
-
PRIORITY_LABELS,
|
|
49
44
|
RELATION_KINDS,
|
|
50
45
|
RUNS_SIZE_LIMIT_MB,
|
|
51
46
|
STANDINGS,
|
|
52
|
-
TASK_KINDS,
|
|
53
|
-
TASK_ORIGINS,
|
|
54
|
-
TASK_STATES,
|
|
55
|
-
TASK_TYPES,
|
|
56
|
-
TASK_VERDICTS,
|
|
57
|
-
WORK_TASK_TYPES,
|
|
58
47
|
author,
|
|
59
48
|
childTrace,
|
|
60
49
|
count,
|
|
@@ -80,14 +69,26 @@ import {
|
|
|
80
69
|
typedCommand,
|
|
81
70
|
untrusted,
|
|
82
71
|
useAsProcessRun
|
|
83
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-WRF6TY63.js";
|
|
84
73
|
import {
|
|
85
74
|
isCliFailure,
|
|
75
|
+
storeBusy,
|
|
86
76
|
storeDamaged
|
|
87
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-SKUY7JDA.js";
|
|
88
78
|
import {
|
|
89
|
-
|
|
90
|
-
|
|
79
|
+
FACT_STATUSES,
|
|
80
|
+
MEMORY_KINDS,
|
|
81
|
+
MEMORY_SCOPES,
|
|
82
|
+
MEMORY_STATUSES,
|
|
83
|
+
PRIORITY_LABELS,
|
|
84
|
+
TAG_TYPES,
|
|
85
|
+
TASK_KINDS,
|
|
86
|
+
TASK_ORIGINS,
|
|
87
|
+
TASK_STATES,
|
|
88
|
+
TASK_TYPES,
|
|
89
|
+
TASK_VERDICTS,
|
|
90
|
+
WORK_TASK_TYPES
|
|
91
|
+
} from "./chunk-XGNZD52X.js";
|
|
91
92
|
import {
|
|
92
93
|
FACT_TYPES,
|
|
93
94
|
FIELD_TYPES,
|
|
@@ -115,21 +116,21 @@ import {
|
|
|
115
116
|
parseLucene,
|
|
116
117
|
readsZone,
|
|
117
118
|
timezoneOf
|
|
118
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-6V7ZUJI6.js";
|
|
119
120
|
import {
|
|
120
121
|
endpoint
|
|
121
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-NBNQLNVV.js";
|
|
122
123
|
import {
|
|
123
124
|
repairConfigText,
|
|
124
125
|
sharedConfigPath
|
|
125
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-P6OJKJJS.js";
|
|
126
127
|
import {
|
|
127
128
|
filesPresent,
|
|
128
129
|
sharedModelsDirectory
|
|
129
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-O3DZDITT.js";
|
|
130
131
|
import {
|
|
131
132
|
storePath
|
|
132
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-2R2EX5I6.js";
|
|
133
134
|
import {
|
|
134
135
|
configFilePath,
|
|
135
136
|
createRecordLog,
|
|
@@ -141,7 +142,7 @@ import {
|
|
|
141
142
|
resolvePaths,
|
|
142
143
|
saveConfigFile,
|
|
143
144
|
writeSecurely
|
|
144
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-UXDUWGX6.js";
|
|
145
146
|
import {
|
|
146
147
|
COMPACT_FLAG,
|
|
147
148
|
MAX_NEXT_STEPS,
|
|
@@ -206,7 +207,7 @@ import {
|
|
|
206
207
|
__name
|
|
207
208
|
} from "./chunk-ZVVMGPBJ.js";
|
|
208
209
|
|
|
209
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
210
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
210
211
|
import { readFileSync } from "node:fs";
|
|
211
212
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
212
213
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -3963,7 +3964,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3963
3964
|
}
|
|
3964
3965
|
}, "refuseJoinedPath");
|
|
3965
3966
|
|
|
3966
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
3967
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3967
3968
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3968
3969
|
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
3969
3970
|
"messages.delete",
|
|
@@ -4399,7 +4400,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4399
4400
|
}
|
|
4400
4401
|
}, "assertRetentionEvidenceRead");
|
|
4401
4402
|
|
|
4402
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4403
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
4403
4404
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4404
4405
|
var requests = new AsyncLocalStorage();
|
|
4405
4406
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -4414,7 +4415,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
4414
4415
|
return direct;
|
|
4415
4416
|
}, "exitCodeSet");
|
|
4416
4417
|
|
|
4417
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4418
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
4418
4419
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4419
4420
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
4420
4421
|
messageId: message2.id,
|
|
@@ -4520,7 +4521,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4520
4521
|
}, "guardedWrite");
|
|
4521
4522
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4522
4523
|
|
|
4523
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4524
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4524
4525
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4525
4526
|
try {
|
|
4526
4527
|
return work();
|
|
@@ -4547,7 +4548,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4547
4548
|
return projectFields(value, fields);
|
|
4548
4549
|
}), "projectFields");
|
|
4549
4550
|
|
|
4550
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4551
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4551
4552
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4552
4553
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4553
4554
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4730,7 +4731,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4730
4731
|
}
|
|
4731
4732
|
}, "withAbort");
|
|
4732
4733
|
|
|
4733
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4734
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4734
4735
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4735
4736
|
import { join } from "node:path";
|
|
4736
4737
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4752,7 +4753,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4752
4753
|
}, "profilesWithAccounts");
|
|
4753
4754
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4754
4755
|
|
|
4755
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4756
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4756
4757
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4757
4758
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4758
4759
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4809,7 +4810,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4809
4810
|
};
|
|
4810
4811
|
}, "runBudget");
|
|
4811
4812
|
|
|
4812
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4813
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4813
4814
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4814
4815
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4815
4816
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4845,7 +4846,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4845
4846
|
return value;
|
|
4846
4847
|
}, "atDetail");
|
|
4847
4848
|
|
|
4848
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4849
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/output.js
|
|
4849
4850
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4850
4851
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4851
4852
|
if (other)
|
|
@@ -4909,7 +4910,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4909
4910
|
}, "warn")
|
|
4910
4911
|
}), "silence");
|
|
4911
4912
|
|
|
4912
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4913
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4913
4914
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4914
4915
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4915
4916
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4947,7 +4948,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4947
4948
|
progress: "sync.progress"
|
|
4948
4949
|
};
|
|
4949
4950
|
|
|
4950
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4951
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4951
4952
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4952
4953
|
const recording = startRecording(options);
|
|
4953
4954
|
try {
|
|
@@ -5044,7 +5045,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
5044
5045
|
});
|
|
5045
5046
|
}, "succeed"),
|
|
5046
5047
|
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
5047
|
-
const error = storeDamaged(thrown);
|
|
5048
|
+
const error = storeBusy(storeDamaged(thrown));
|
|
5048
5049
|
markStoreDamaged(thrown, {
|
|
5049
5050
|
store: storePath(options.env),
|
|
5050
5051
|
command: `${options.app.command} ${options.command}`,
|
|
@@ -5162,7 +5163,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5162
5163
|
return void 0;
|
|
5163
5164
|
}, "partialOutcome");
|
|
5164
5165
|
|
|
5165
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5166
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5166
5167
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5167
5168
|
if (ms2 === void 0)
|
|
5168
5169
|
return body();
|
|
@@ -5188,7 +5189,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5188
5189
|
}
|
|
5189
5190
|
}, "withDeadline");
|
|
5190
5191
|
|
|
5191
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5192
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5192
5193
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5193
5194
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5194
5195
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5257,10 +5258,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5257
5258
|
return void 0;
|
|
5258
5259
|
}, "sampleCommand");
|
|
5259
5260
|
|
|
5260
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5261
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5261
5262
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5262
5263
|
|
|
5263
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5264
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5264
5265
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5265
5266
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5266
5267
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5329,7 +5330,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5329
5330
|
};
|
|
5330
5331
|
}, "modelTarget");
|
|
5331
5332
|
|
|
5332
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5333
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5333
5334
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5334
5335
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5335
5336
|
var AI_FIELDS = {
|
|
@@ -5373,7 +5374,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5373
5374
|
};
|
|
5374
5375
|
}, "resolveAISettings");
|
|
5375
5376
|
|
|
5376
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5377
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5377
5378
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5378
5379
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5379
5380
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5387,7 +5388,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5387
5388
|
return ms2;
|
|
5388
5389
|
}, "parseDuration");
|
|
5389
5390
|
|
|
5390
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5391
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5391
5392
|
var HISTORY_MAX_DAYS = 1095;
|
|
5392
5393
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5393
5394
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5434,7 +5435,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5434
5435
|
return { batch: { ...batch, messages }, skipped };
|
|
5435
5436
|
}, "limitBatch");
|
|
5436
5437
|
|
|
5437
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5438
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5438
5439
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5439
5440
|
import { join as join2 } from "node:path";
|
|
5440
5441
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5523,7 +5524,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5523
5524
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5524
5525
|
}, "registryProfiles");
|
|
5525
5526
|
|
|
5526
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5527
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5527
5528
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5528
5529
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5529
5530
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5821,7 +5822,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5821
5822
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5822
5823
|
}, "readConfigFile");
|
|
5823
5824
|
|
|
5824
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5825
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5825
5826
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5826
5827
|
import { dirname, join as join3 } from "node:path";
|
|
5827
5828
|
var DEFAULT_CONFIG = {
|
|
@@ -5850,7 +5851,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5850
5851
|
}
|
|
5851
5852
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5852
5853
|
|
|
5853
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5854
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5854
5855
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5855
5856
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5856
5857
|
const path2 = key.split(".");
|
|
@@ -5872,7 +5873,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5872
5873
|
return { config, added };
|
|
5873
5874
|
}, "withSettingDefaults");
|
|
5874
5875
|
|
|
5875
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5876
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5876
5877
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5877
5878
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5878
5879
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6400,7 +6401,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6400
6401
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6401
6402
|
}, "given");
|
|
6402
6403
|
|
|
6403
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6404
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6404
6405
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6405
6406
|
const { deadline, signal, app } = environmentOf(command);
|
|
6406
6407
|
const now = deadline?.();
|
|
@@ -6554,7 +6555,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6554
6555
|
return words.join(" ");
|
|
6555
6556
|
}, "commandPath");
|
|
6556
6557
|
|
|
6557
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6558
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6558
6559
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6559
6560
|
var FETCH = { remote: "read", local: "write" };
|
|
6560
6561
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6697,7 +6698,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6697
6698
|
throw readOnlyRefusal(lock, what);
|
|
6698
6699
|
}, "refuseUnderReadOnly");
|
|
6699
6700
|
|
|
6700
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6701
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6701
6702
|
var account = strictObject({
|
|
6702
6703
|
provider: text,
|
|
6703
6704
|
id,
|
|
@@ -6707,7 +6708,7 @@ var account = strictObject({
|
|
|
6707
6708
|
scope: optional(picklist(["personal", "work"]))
|
|
6708
6709
|
});
|
|
6709
6710
|
|
|
6710
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6711
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6711
6712
|
var accountSession = strictObject({
|
|
6712
6713
|
current: boolean(),
|
|
6713
6714
|
client: nullable(text),
|
|
@@ -6717,7 +6718,7 @@ var accountSession = strictObject({
|
|
|
6717
6718
|
created_at: optional(nullable(time))
|
|
6718
6719
|
});
|
|
6719
6720
|
|
|
6720
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6721
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6721
6722
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6722
6723
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6723
6724
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6746,7 +6747,7 @@ var accountRemoval = strictObject({
|
|
|
6746
6747
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6747
6748
|
});
|
|
6748
6749
|
|
|
6749
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6750
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6750
6751
|
var accountProfile = strictObject({
|
|
6751
6752
|
profile: id,
|
|
6752
6753
|
current: boolean(),
|
|
@@ -6758,7 +6759,7 @@ var accountProfile = strictObject({
|
|
|
6758
6759
|
bot: optional(literal(true))
|
|
6759
6760
|
});
|
|
6760
6761
|
|
|
6761
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6762
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6762
6763
|
var milliseconds = pipe(number(), minValue(0));
|
|
6763
6764
|
var counterReading = strictObject({
|
|
6764
6765
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6770,7 +6771,7 @@ var counterReading = strictObject({
|
|
|
6770
6771
|
});
|
|
6771
6772
|
var selection = record(string(), unknown());
|
|
6772
6773
|
|
|
6773
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6774
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6774
6775
|
var adminRow = strictObject({
|
|
6775
6776
|
ref: reference,
|
|
6776
6777
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6823,7 +6824,7 @@ var adminReport = strictObject({
|
|
|
6823
6824
|
rows: array(adminRow)
|
|
6824
6825
|
});
|
|
6825
6826
|
|
|
6826
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6827
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6827
6828
|
var closeSuggestion = strictObject({
|
|
6828
6829
|
as: picklist(["done", "dismissed"]),
|
|
6829
6830
|
/** The agent's name. */
|
|
@@ -6848,7 +6849,7 @@ var task = strictObject({
|
|
|
6848
6849
|
project_key: optional(nullable(text)),
|
|
6849
6850
|
project_name: optional(nullable(text)),
|
|
6850
6851
|
/** Who added it: the owner, or an agent by its bot name. */
|
|
6851
|
-
created_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
6852
|
+
created_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() }))),
|
|
6852
6853
|
account: optional(text),
|
|
6853
6854
|
/** The chat it came from, as a `chat:` reference. */
|
|
6854
6855
|
chat: optional(nullable(reference)),
|
|
@@ -6885,7 +6886,7 @@ var task = strictObject({
|
|
|
6885
6886
|
updated_at: optional(time)
|
|
6886
6887
|
});
|
|
6887
6888
|
|
|
6888
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6889
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6889
6890
|
var agendaChat = strictObject({
|
|
6890
6891
|
chat: reference,
|
|
6891
6892
|
title: nullable(text),
|
|
@@ -6955,11 +6956,11 @@ var agenda = strictObject({
|
|
|
6955
6956
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6956
6957
|
});
|
|
6957
6958
|
|
|
6958
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6959
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6959
6960
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6960
6961
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6961
6962
|
|
|
6962
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6963
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6963
6964
|
var attachment = strictObject({
|
|
6964
6965
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6965
6966
|
message: optional(reference),
|
|
@@ -7004,7 +7005,7 @@ var hitFile = strictObject({
|
|
|
7004
7005
|
local_path: optional(text)
|
|
7005
7006
|
});
|
|
7006
7007
|
|
|
7007
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7008
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7008
7009
|
var actionableError = objectWithRest({
|
|
7009
7010
|
code: text,
|
|
7010
7011
|
message: text,
|
|
@@ -7021,7 +7022,7 @@ var batchResult = strictObject({
|
|
|
7021
7022
|
max_error_percent: count
|
|
7022
7023
|
});
|
|
7023
7024
|
|
|
7024
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7025
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7025
7026
|
var extractionItem = strictObject({
|
|
7026
7027
|
ref: reference,
|
|
7027
7028
|
attachment: count,
|
|
@@ -7054,7 +7055,7 @@ var extractionReport = strictObject({
|
|
|
7054
7055
|
cursor: optional(text)
|
|
7055
7056
|
});
|
|
7056
7057
|
|
|
7057
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7058
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7058
7059
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7059
7060
|
var attachmentBytes = strictObject({
|
|
7060
7061
|
ref: reference,
|
|
@@ -7085,7 +7086,7 @@ var attachmentTextChange = strictObject({
|
|
|
7085
7086
|
text: optional(text)
|
|
7086
7087
|
});
|
|
7087
7088
|
|
|
7088
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7089
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7089
7090
|
var WEIGHTS = {
|
|
7090
7091
|
bot: 3,
|
|
7091
7092
|
scam: 3,
|
|
@@ -7110,7 +7111,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7110
7111
|
var DIGITS = /\d{5,}/;
|
|
7111
7112
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7112
7113
|
|
|
7113
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7114
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7114
7115
|
var linkedIdentity = strictObject({
|
|
7115
7116
|
provider: text,
|
|
7116
7117
|
id,
|
|
@@ -7165,7 +7166,7 @@ var contactCheck = strictObject({
|
|
|
7165
7166
|
checked_at: time
|
|
7166
7167
|
});
|
|
7167
7168
|
|
|
7168
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7169
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7169
7170
|
var member = strictObject({
|
|
7170
7171
|
id,
|
|
7171
7172
|
name: nullable(text),
|
|
@@ -7188,7 +7189,7 @@ var member = strictObject({
|
|
|
7188
7189
|
check: optional(record(string(), unknown()))
|
|
7189
7190
|
});
|
|
7190
7191
|
|
|
7191
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7192
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7192
7193
|
var setting = optional(nullable(boolean()));
|
|
7193
7194
|
var chat = strictObject({
|
|
7194
7195
|
ref: reference,
|
|
@@ -7229,7 +7230,7 @@ var chat = strictObject({
|
|
|
7229
7230
|
members: optional(array(member))
|
|
7230
7231
|
});
|
|
7231
7232
|
|
|
7232
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7233
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7233
7234
|
var quoted = strictObject({
|
|
7234
7235
|
id,
|
|
7235
7236
|
sender_id: nullable(id),
|
|
@@ -7330,6 +7331,10 @@ var message = strictObject({
|
|
|
7330
7331
|
thread: reference,
|
|
7331
7332
|
read: nullable(boolean()),
|
|
7332
7333
|
flagged: nullable(boolean()),
|
|
7334
|
+
/** What the email is, apart from its sender: one of the mail types. @experimental */
|
|
7335
|
+
mail_type: optional(text),
|
|
7336
|
+
/** How it reached the owner: direct, group or broadcast. @experimental */
|
|
7337
|
+
reach: optional(text),
|
|
7333
7338
|
/** How much the sender's mail looks like spam, a scam or a robot (memo's score), and why; absent when unscored. */
|
|
7334
7339
|
sender_score: optional(strictObject({ score: number(), signals: array(text), demoted: optional(literal(true)) })),
|
|
7335
7340
|
/** Mail `review`: filed in the mailbox of mail sent to many. */
|
|
@@ -7350,7 +7355,7 @@ var message = strictObject({
|
|
|
7350
7355
|
provider_metadata: providerMetadata
|
|
7351
7356
|
});
|
|
7352
7357
|
|
|
7353
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7358
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7354
7359
|
var recordedMeeting = strictObject({
|
|
7355
7360
|
ref: reference,
|
|
7356
7361
|
meeting_id: count,
|
|
@@ -7367,7 +7372,7 @@ var recordedMeeting = strictObject({
|
|
|
7367
7372
|
call: optional(meetingCall)
|
|
7368
7373
|
});
|
|
7369
7374
|
|
|
7370
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7375
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7371
7376
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7372
7377
|
var contextMessage = strictObject({
|
|
7373
7378
|
locator: reference,
|
|
@@ -7573,7 +7578,7 @@ var contactPreparation = strictObject({
|
|
|
7573
7578
|
})
|
|
7574
7579
|
});
|
|
7575
7580
|
|
|
7576
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7581
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7577
7582
|
var nullableText = nullable(text);
|
|
7578
7583
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7579
7584
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7638,7 +7643,7 @@ var deal = strictObject({
|
|
|
7638
7643
|
})),
|
|
7639
7644
|
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
7640
7645
|
author: strictObject({
|
|
7641
|
-
type: picklist(["person", "
|
|
7646
|
+
type: picklist(["person", "agent"]),
|
|
7642
7647
|
id,
|
|
7643
7648
|
name: nullableText,
|
|
7644
7649
|
kind: nullable(picklist(["agent", "rule"]))
|
|
@@ -7729,7 +7734,7 @@ var stage = strictObject({
|
|
|
7729
7734
|
untrusted
|
|
7730
7735
|
});
|
|
7731
7736
|
|
|
7732
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7737
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7733
7738
|
var nullableText2 = nullable(text);
|
|
7734
7739
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7735
7740
|
var standing = picklist(STANDINGS);
|
|
@@ -7908,7 +7913,7 @@ var dealBrief = strictObject({
|
|
|
7908
7913
|
not_read: coverage2.entries.not_read
|
|
7909
7914
|
});
|
|
7910
7915
|
|
|
7911
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7916
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7912
7917
|
var chart = strictObject({
|
|
7913
7918
|
version: literal(1),
|
|
7914
7919
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7923,7 +7928,7 @@ var chart = strictObject({
|
|
|
7923
7928
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7924
7929
|
});
|
|
7925
7930
|
|
|
7926
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7931
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7927
7932
|
var named2 = strictObject({
|
|
7928
7933
|
id,
|
|
7929
7934
|
title: nullable(text),
|
|
@@ -7946,7 +7951,7 @@ var folder = strictObject({
|
|
|
7946
7951
|
excluded_chats: optional(array(named2))
|
|
7947
7952
|
});
|
|
7948
7953
|
|
|
7949
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7954
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7950
7955
|
var inviteLink = strictObject({
|
|
7951
7956
|
link: text,
|
|
7952
7957
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7962,7 +7967,7 @@ var inviteLink = strictObject({
|
|
|
7962
7967
|
joined_count: optional(count)
|
|
7963
7968
|
});
|
|
7964
7969
|
|
|
7965
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7970
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7966
7971
|
var operated = { operation_id: id, chat_id: id };
|
|
7967
7972
|
var group = strictObject({
|
|
7968
7973
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8042,7 +8047,7 @@ var chatFolderOrder = strictObject({
|
|
|
8042
8047
|
folders: array(strictObject({ id, title: text }))
|
|
8043
8048
|
});
|
|
8044
8049
|
|
|
8045
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8050
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8046
8051
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8047
8052
|
var chatRemoval = strictObject(operated2);
|
|
8048
8053
|
var chatMuting = strictObject({
|
|
@@ -8053,7 +8058,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8053
8058
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8054
8059
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8055
8060
|
|
|
8056
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8061
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8057
8062
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8058
8063
|
var chatEvent = strictObject({
|
|
8059
8064
|
chat_id: id,
|
|
@@ -8070,7 +8075,7 @@ var chatEvent = strictObject({
|
|
|
8070
8075
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8071
8076
|
});
|
|
8072
8077
|
|
|
8073
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8078
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8074
8079
|
var chatMetadata = strictObject({
|
|
8075
8080
|
chat_id: id,
|
|
8076
8081
|
title: nullable(text),
|
|
@@ -8085,7 +8090,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8085
8090
|
has_more: boolean()
|
|
8086
8091
|
});
|
|
8087
8092
|
|
|
8088
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8093
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8089
8094
|
var action = picklist(["report", "delete", "remove"]);
|
|
8090
8095
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8091
8096
|
var chatRules = strictObject({
|
|
@@ -8122,7 +8127,7 @@ var chatModeration = strictObject({
|
|
|
8122
8127
|
}))
|
|
8123
8128
|
});
|
|
8124
8129
|
|
|
8125
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8130
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
8126
8131
|
var chatSending = strictObject({
|
|
8127
8132
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
8128
8133
|
meaning: text,
|
|
@@ -8132,7 +8137,7 @@ var chatSending = strictObject({
|
|
|
8132
8137
|
changed: optional(boolean())
|
|
8133
8138
|
});
|
|
8134
8139
|
|
|
8135
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8140
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8136
8141
|
var optionalCount = optional(count);
|
|
8137
8142
|
var minutes = nullable(number());
|
|
8138
8143
|
var chatStats = strictObject({
|
|
@@ -8208,7 +8213,7 @@ var taskStats = strictObject({
|
|
|
8208
8213
|
}))
|
|
8209
8214
|
});
|
|
8210
8215
|
|
|
8211
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8216
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8212
8217
|
var memberCount = strictObject({
|
|
8213
8218
|
day: pipe(text, isoDate()),
|
|
8214
8219
|
participants: nullable(count),
|
|
@@ -8231,7 +8236,7 @@ var chatTracking = strictObject({
|
|
|
8231
8236
|
tracked: boolean()
|
|
8232
8237
|
});
|
|
8233
8238
|
|
|
8234
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8239
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8235
8240
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8236
8241
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8237
8242
|
var profileFields = {
|
|
@@ -8269,7 +8274,7 @@ var profileFields = {
|
|
|
8269
8274
|
}))
|
|
8270
8275
|
};
|
|
8271
8276
|
|
|
8272
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8277
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8273
8278
|
var contact = strictObject({
|
|
8274
8279
|
ref: reference,
|
|
8275
8280
|
id,
|
|
@@ -8300,7 +8305,7 @@ var contact = strictObject({
|
|
|
8300
8305
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8301
8306
|
});
|
|
8302
8307
|
|
|
8303
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8308
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8304
8309
|
var contactNote = strictObject({
|
|
8305
8310
|
id,
|
|
8306
8311
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8312,13 +8317,13 @@ var contactNote = strictObject({
|
|
|
8312
8317
|
updated_at: time
|
|
8313
8318
|
});
|
|
8314
8319
|
|
|
8315
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8320
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8316
8321
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8317
8322
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8318
8323
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8319
8324
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8320
8325
|
|
|
8321
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8326
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8322
8327
|
var conversation = strictObject({
|
|
8323
8328
|
id,
|
|
8324
8329
|
chat: reference,
|
|
@@ -8333,7 +8338,7 @@ var conversation = strictObject({
|
|
|
8333
8338
|
rules_version: count
|
|
8334
8339
|
});
|
|
8335
8340
|
|
|
8336
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8341
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8337
8342
|
var conversationBuild = strictObject({
|
|
8338
8343
|
chat: id,
|
|
8339
8344
|
messages: count,
|
|
@@ -8358,7 +8363,7 @@ var catchUpPreparation = strictObject({
|
|
|
8358
8363
|
prepared: optional(conversationPreparation)
|
|
8359
8364
|
});
|
|
8360
8365
|
|
|
8361
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8366
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8362
8367
|
var conversationDetails = union([
|
|
8363
8368
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8364
8369
|
message
|
|
@@ -8453,7 +8458,7 @@ var conversationHit = strictObject({
|
|
|
8453
8458
|
untrusted
|
|
8454
8459
|
});
|
|
8455
8460
|
|
|
8456
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8461
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8457
8462
|
var counters = strictObject({
|
|
8458
8463
|
cutoff: time,
|
|
8459
8464
|
max_age_ms: milliseconds,
|
|
@@ -8483,7 +8488,7 @@ var counterRefresh = strictObject({
|
|
|
8483
8488
|
complete: optional(boolean())
|
|
8484
8489
|
});
|
|
8485
8490
|
|
|
8486
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8491
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8487
8492
|
var document = strictObject({
|
|
8488
8493
|
ref: reference,
|
|
8489
8494
|
id,
|
|
@@ -8498,7 +8503,7 @@ var document = strictObject({
|
|
|
8498
8503
|
owners: optional(array(text))
|
|
8499
8504
|
});
|
|
8500
8505
|
|
|
8501
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8506
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8502
8507
|
var documentLink = strictObject({
|
|
8503
8508
|
ref: reference,
|
|
8504
8509
|
url: text,
|
|
@@ -8509,7 +8514,34 @@ var documentLink = strictObject({
|
|
|
8509
8514
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8510
8515
|
});
|
|
8511
8516
|
|
|
8512
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8517
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/domain-list.js
|
|
8518
|
+
var domainList = strictObject({
|
|
8519
|
+
id,
|
|
8520
|
+
title: text,
|
|
8521
|
+
/**
|
|
8522
|
+
* `sector` gives an organization its sector; `freemail` keeps a mailbox provider from making one; `bad` only marks a
|
|
8523
|
+
* host known for spam, phishing or malware.
|
|
8524
|
+
*/
|
|
8525
|
+
signal: picklist(["sector", "freemail", "bad"]),
|
|
8526
|
+
/** `non-commercial`: WireCat may use it, a paid service built around it may not. */
|
|
8527
|
+
class: picklist(["commercial-ok", "non-commercial"]),
|
|
8528
|
+
licence: text,
|
|
8529
|
+
licence_url: text,
|
|
8530
|
+
attribution: text,
|
|
8531
|
+
homepage: text,
|
|
8532
|
+
/** Fetched from its source on this computer, since it may not be redistributed. */
|
|
8533
|
+
upstream: boolean(),
|
|
8534
|
+
lines: count,
|
|
8535
|
+
/** Lines per sector or category, as published. */
|
|
8536
|
+
tags: record(string(), count),
|
|
8537
|
+
/** The pack's build date. */
|
|
8538
|
+
version: text,
|
|
8539
|
+
installed_at: time,
|
|
8540
|
+
sha256: text,
|
|
8541
|
+
path: text
|
|
8542
|
+
});
|
|
8543
|
+
|
|
8544
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8513
8545
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8514
8546
|
var contribution = strictObject({
|
|
8515
8547
|
message: evidenceMessage,
|
|
@@ -8539,7 +8571,7 @@ var retentionStay = strictObject({
|
|
|
8539
8571
|
});
|
|
8540
8572
|
var evidence = union([contribution, retentionStay]);
|
|
8541
8573
|
|
|
8542
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8574
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8543
8575
|
var fact = strictObject({
|
|
8544
8576
|
ref: reference,
|
|
8545
8577
|
id,
|
|
@@ -8558,7 +8590,7 @@ var fact = strictObject({
|
|
|
8558
8590
|
author,
|
|
8559
8591
|
model: nullable(text),
|
|
8560
8592
|
/** Who accepted it; `null` while it is proposed. */
|
|
8561
|
-
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
8593
|
+
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id }))),
|
|
8562
8594
|
scope: nullable(picklist(MEMORY_SCOPES)),
|
|
8563
8595
|
/** Who recorded it: the owner, or an agent whose fact waits as proposed. */
|
|
8564
8596
|
origin: picklist(["owner", "agent"]),
|
|
@@ -8570,7 +8602,7 @@ var fact = strictObject({
|
|
|
8570
8602
|
updated_at: time
|
|
8571
8603
|
});
|
|
8572
8604
|
|
|
8573
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8605
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8574
8606
|
var hit = strictObject({
|
|
8575
8607
|
kind: picklist([
|
|
8576
8608
|
"message",
|
|
@@ -8634,7 +8666,7 @@ var hit = strictObject({
|
|
|
8634
8666
|
untrusted
|
|
8635
8667
|
});
|
|
8636
8668
|
|
|
8637
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8669
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8638
8670
|
var identity = strictObject({
|
|
8639
8671
|
ref: reference,
|
|
8640
8672
|
provider: text,
|
|
@@ -8650,7 +8682,7 @@ var identity = strictObject({
|
|
|
8650
8682
|
person: optional(nullable(reference))
|
|
8651
8683
|
});
|
|
8652
8684
|
|
|
8653
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8685
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8654
8686
|
var imageEmbedding = strictObject({
|
|
8655
8687
|
model: text,
|
|
8656
8688
|
embedded: count,
|
|
@@ -8659,13 +8691,13 @@ var imageEmbedding = strictObject({
|
|
|
8659
8691
|
more: boolean()
|
|
8660
8692
|
});
|
|
8661
8693
|
|
|
8662
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8694
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8663
8695
|
import { spawn } from "node:child_process";
|
|
8664
8696
|
import { randomBytes } from "node:crypto";
|
|
8665
8697
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8666
8698
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8667
8699
|
|
|
8668
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8700
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8669
8701
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8670
8702
|
const total = input.total ?? null;
|
|
8671
8703
|
const updated = input.updatedAt ?? null;
|
|
@@ -8696,7 +8728,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8696
8728
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8697
8729
|
}, "progressLine");
|
|
8698
8730
|
|
|
8699
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8731
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8700
8732
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8701
8733
|
const run = currentRun();
|
|
8702
8734
|
const trace = traceId ?? run.traceId;
|
|
@@ -8710,7 +8742,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8710
8742
|
}));
|
|
8711
8743
|
}, "recordLogFor");
|
|
8712
8744
|
|
|
8713
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8745
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8714
8746
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8715
8747
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8716
8748
|
const out = openSync(log, "a", 384);
|
|
@@ -8865,7 +8897,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8865
8897
|
return { job: id6, pid, chat: input.chat, log };
|
|
8866
8898
|
}, "startArchiveJob");
|
|
8867
8899
|
|
|
8868
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8900
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8869
8901
|
var problem = strictObject({ code: text, message: text });
|
|
8870
8902
|
var job = strictObject({
|
|
8871
8903
|
id,
|
|
@@ -8888,7 +8920,7 @@ var job = strictObject({
|
|
|
8888
8920
|
error: optional(problem)
|
|
8889
8921
|
});
|
|
8890
8922
|
|
|
8891
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8923
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8892
8924
|
var joinRequest = strictObject({
|
|
8893
8925
|
person_id: id,
|
|
8894
8926
|
name: nullable(text),
|
|
@@ -8899,7 +8931,7 @@ var joinRequest = strictObject({
|
|
|
8899
8931
|
about: optional(text)
|
|
8900
8932
|
});
|
|
8901
8933
|
|
|
8902
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8934
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8903
8935
|
var botProfile = strictObject({
|
|
8904
8936
|
name: text,
|
|
8905
8937
|
token: text,
|
|
@@ -9023,7 +9055,7 @@ var stickerInventory = strictObject({
|
|
|
9023
9055
|
url: optional(nullable(text))
|
|
9024
9056
|
});
|
|
9025
9057
|
|
|
9026
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9058
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9027
9059
|
var pollVote = strictObject({
|
|
9028
9060
|
person_id: id,
|
|
9029
9061
|
name: nullable(text),
|
|
@@ -9033,7 +9065,7 @@ var pollVote = strictObject({
|
|
|
9033
9065
|
voted_at: time
|
|
9034
9066
|
});
|
|
9035
9067
|
|
|
9036
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9068
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9037
9069
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9038
9070
|
var observation = strictObject({
|
|
9039
9071
|
value: pipe(number(), minValue(0)),
|
|
@@ -9075,7 +9107,7 @@ var serveSummary = strictObject({
|
|
|
9075
9107
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9076
9108
|
});
|
|
9077
9109
|
|
|
9078
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9110
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9079
9111
|
var mailCounts = strictObject({
|
|
9080
9112
|
by: picklist(["day", "week", "sender"]),
|
|
9081
9113
|
received: count,
|
|
@@ -9090,7 +9122,7 @@ var mailCounts = strictObject({
|
|
|
9090
9122
|
}))
|
|
9091
9123
|
});
|
|
9092
9124
|
|
|
9093
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9125
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9094
9126
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9095
9127
|
var base = { id, evidence: array(evidence2) };
|
|
9096
9128
|
var finding = variant("kind", [
|
|
@@ -9228,13 +9260,13 @@ var mailFindings = strictObject({
|
|
|
9228
9260
|
fingerprint: text,
|
|
9229
9261
|
status: picklist(["proposed", "reviewed"]),
|
|
9230
9262
|
author,
|
|
9231
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
9263
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
9232
9264
|
decided_at: nullable(time),
|
|
9233
9265
|
previous: array(outcome2),
|
|
9234
9266
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9235
9267
|
});
|
|
9236
9268
|
|
|
9237
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9269
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9238
9270
|
var mediaArchive = strictObject({
|
|
9239
9271
|
directory: text,
|
|
9240
9272
|
chats: count,
|
|
@@ -9266,7 +9298,7 @@ var mediaArchiveTimer = union([
|
|
|
9266
9298
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9267
9299
|
]);
|
|
9268
9300
|
|
|
9269
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9301
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9270
9302
|
var preparationId = pipe(string(), minLength(1));
|
|
9271
9303
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9272
9304
|
var preparationTime = nullable(isoTime);
|
|
@@ -9358,7 +9390,7 @@ var preparationMeeting = strictObject({
|
|
|
9358
9390
|
updated_at: isoTime
|
|
9359
9391
|
});
|
|
9360
9392
|
|
|
9361
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9393
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9362
9394
|
var meetingEvidence = preparationEvidence;
|
|
9363
9395
|
var meetingPersonContext = strictObject({
|
|
9364
9396
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9380,7 +9412,7 @@ var meetingPersonContext = strictObject({
|
|
|
9380
9412
|
})
|
|
9381
9413
|
});
|
|
9382
9414
|
|
|
9383
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9415
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9384
9416
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9385
9417
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9386
9418
|
var finding2 = variant("kind", [
|
|
@@ -9412,13 +9444,13 @@ var meetingFindings = strictObject({
|
|
|
9412
9444
|
fingerprint: text,
|
|
9413
9445
|
status: picklist(["proposed", "reviewed"]),
|
|
9414
9446
|
author,
|
|
9415
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
9447
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
9416
9448
|
decided_at: nullable(time),
|
|
9417
9449
|
previous: array(outcome3),
|
|
9418
9450
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9419
9451
|
});
|
|
9420
9452
|
|
|
9421
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9453
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9422
9454
|
var communicationCoverage = strictObject({
|
|
9423
9455
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9424
9456
|
query: string(),
|
|
@@ -9463,7 +9495,7 @@ var preparationCommunications = strictObject({
|
|
|
9463
9495
|
}))
|
|
9464
9496
|
});
|
|
9465
9497
|
|
|
9466
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9498
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9467
9499
|
var meetingPreparation = strictObject({
|
|
9468
9500
|
communications: optional(preparationCommunications),
|
|
9469
9501
|
schema_version: literal(1),
|
|
@@ -9576,7 +9608,7 @@ var meetingPreparation = strictObject({
|
|
|
9576
9608
|
})
|
|
9577
9609
|
});
|
|
9578
9610
|
|
|
9579
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9611
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9580
9612
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9581
9613
|
var id3 = pipe(string(), minLength(1));
|
|
9582
9614
|
var text3 = string();
|
|
@@ -9640,7 +9672,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9640
9672
|
})
|
|
9641
9673
|
});
|
|
9642
9674
|
|
|
9643
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9675
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9644
9676
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9645
9677
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9646
9678
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9670,7 +9702,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9670
9702
|
})
|
|
9671
9703
|
});
|
|
9672
9704
|
|
|
9673
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9705
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9674
9706
|
var text4 = string();
|
|
9675
9707
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9676
9708
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9687,7 +9719,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9687
9719
|
persistence: literal("proposal-only")
|
|
9688
9720
|
});
|
|
9689
9721
|
|
|
9690
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9722
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9691
9723
|
var memory = strictObject({
|
|
9692
9724
|
ref: reference,
|
|
9693
9725
|
id,
|
|
@@ -9715,7 +9747,7 @@ var memory = strictObject({
|
|
|
9715
9747
|
updated_at: time
|
|
9716
9748
|
});
|
|
9717
9749
|
|
|
9718
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9750
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9719
9751
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9720
9752
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9721
9753
|
var mention = strictObject({
|
|
@@ -9759,7 +9791,7 @@ var mentionRebuild = strictObject({
|
|
|
9759
9791
|
mentions: count
|
|
9760
9792
|
});
|
|
9761
9793
|
|
|
9762
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9794
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9763
9795
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9764
9796
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9765
9797
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9768,7 +9800,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9768
9800
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9769
9801
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9770
9802
|
|
|
9771
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9803
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9772
9804
|
var messageTranscript = strictObject({
|
|
9773
9805
|
message_id: id,
|
|
9774
9806
|
text,
|
|
@@ -9826,7 +9858,7 @@ var evidencePacket = strictObject({
|
|
|
9826
9858
|
}))
|
|
9827
9859
|
});
|
|
9828
9860
|
|
|
9829
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9861
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9830
9862
|
var messageThread = strictObject({
|
|
9831
9863
|
ref: reference,
|
|
9832
9864
|
chat: id,
|
|
@@ -9843,7 +9875,7 @@ var messageThread = strictObject({
|
|
|
9843
9875
|
});
|
|
9844
9876
|
var messageContext = union([message, messageThread]);
|
|
9845
9877
|
|
|
9846
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9878
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9847
9879
|
var messageCounts = strictObject({
|
|
9848
9880
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9849
9881
|
total: count,
|
|
@@ -9856,7 +9888,7 @@ var messageCounts = strictObject({
|
|
|
9856
9888
|
}))
|
|
9857
9889
|
});
|
|
9858
9890
|
|
|
9859
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9891
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9860
9892
|
var messageLink = strictObject({
|
|
9861
9893
|
ref: reference,
|
|
9862
9894
|
url: nullable(text),
|
|
@@ -9873,7 +9905,7 @@ var messageLink = strictObject({
|
|
|
9873
9905
|
})))
|
|
9874
9906
|
});
|
|
9875
9907
|
|
|
9876
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9908
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9877
9909
|
var savedMessageFile = strictObject({
|
|
9878
9910
|
kind: text,
|
|
9879
9911
|
path: text,
|
|
@@ -9960,7 +9992,7 @@ var messageSyncAll = strictObject({
|
|
|
9960
9992
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9961
9993
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9962
9994
|
|
|
9963
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9995
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9964
9996
|
var messageWrite = strictObject({
|
|
9965
9997
|
operation_id: id,
|
|
9966
9998
|
message,
|
|
@@ -9975,7 +10007,7 @@ var draftWrite = strictObject({
|
|
|
9975
10007
|
});
|
|
9976
10008
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9977
10009
|
|
|
9978
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10010
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9979
10011
|
var model2 = strictObject({
|
|
9980
10012
|
id,
|
|
9981
10013
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10010,7 +10042,7 @@ var chosenModel = strictObject({
|
|
|
10010
10042
|
estimate_seconds: nullable(count)
|
|
10011
10043
|
});
|
|
10012
10044
|
|
|
10013
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10045
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10014
10046
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10015
10047
|
var modelKey = strictObject({
|
|
10016
10048
|
provider: text,
|
|
@@ -10020,7 +10052,7 @@ var modelKey = strictObject({
|
|
|
10020
10052
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10021
10053
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10022
10054
|
|
|
10023
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10055
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10024
10056
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10025
10057
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10026
10058
|
var graph = strictObject({
|
|
@@ -10054,14 +10086,14 @@ var officialStats = strictObject({
|
|
|
10054
10086
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10055
10087
|
});
|
|
10056
10088
|
|
|
10057
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10089
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10058
10090
|
var person2 = strictObject({
|
|
10059
10091
|
ref: reference,
|
|
10060
10092
|
name: nullable(text),
|
|
10061
10093
|
identities: optional(array(identity))
|
|
10062
10094
|
});
|
|
10063
10095
|
|
|
10064
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10096
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10065
10097
|
var poll = strictObject({
|
|
10066
10098
|
chat_id: id,
|
|
10067
10099
|
message_id: id,
|
|
@@ -10077,11 +10109,11 @@ var poll = strictObject({
|
|
|
10077
10109
|
});
|
|
10078
10110
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10079
10111
|
|
|
10080
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10112
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10081
10113
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10082
10114
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10083
10115
|
|
|
10084
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10116
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10085
10117
|
var figures = record(string(), number());
|
|
10086
10118
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10087
10119
|
var rankingRow = strictObject({
|
|
@@ -10128,7 +10160,7 @@ var ranking = strictObject({
|
|
|
10128
10160
|
rows: array(rankingRow)
|
|
10129
10161
|
});
|
|
10130
10162
|
|
|
10131
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10163
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10132
10164
|
var reaction = strictObject({
|
|
10133
10165
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10134
10166
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10136,7 +10168,7 @@ var reaction = strictObject({
|
|
|
10136
10168
|
reacted_at: time
|
|
10137
10169
|
});
|
|
10138
10170
|
|
|
10139
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10171
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10140
10172
|
var reactionChange = strictObject({
|
|
10141
10173
|
operation_id: id,
|
|
10142
10174
|
chat_id: id,
|
|
@@ -10144,7 +10176,7 @@ var reactionChange = strictObject({
|
|
|
10144
10176
|
reaction: nullable(text)
|
|
10145
10177
|
});
|
|
10146
10178
|
|
|
10147
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10179
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10148
10180
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10149
10181
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10150
10182
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10155,7 +10187,7 @@ var recipientChange = strictObject({
|
|
|
10155
10187
|
...partial(recipientOff).entries
|
|
10156
10188
|
});
|
|
10157
10189
|
|
|
10158
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10190
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10159
10191
|
var events = array(record(string(), unknown()));
|
|
10160
10192
|
var recordedRun = strictObject({
|
|
10161
10193
|
run_id: id,
|
|
@@ -10227,7 +10259,7 @@ var runHit = strictObject({
|
|
|
10227
10259
|
});
|
|
10228
10260
|
var runLocation = strictObject({ path: text });
|
|
10229
10261
|
|
|
10230
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10262
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10231
10263
|
var relationship = strictObject({
|
|
10232
10264
|
id,
|
|
10233
10265
|
from: reference,
|
|
@@ -10254,7 +10286,7 @@ var relationship = strictObject({
|
|
|
10254
10286
|
created_at: time
|
|
10255
10287
|
});
|
|
10256
10288
|
|
|
10257
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10289
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10258
10290
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10259
10291
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10260
10292
|
var responseTimes = strictObject({
|
|
@@ -10271,7 +10303,7 @@ var waitingChats = strictObject({
|
|
|
10271
10303
|
by_kind: strictObject({ private: count, group: count })
|
|
10272
10304
|
});
|
|
10273
10305
|
|
|
10274
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10306
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10275
10307
|
var retentionCohort = strictObject({
|
|
10276
10308
|
/** The first day of the joining day or week. */
|
|
10277
10309
|
cohort: text,
|
|
@@ -10319,7 +10351,7 @@ var retention = strictObject({
|
|
|
10319
10351
|
rows: array(retentionCohort)
|
|
10320
10352
|
});
|
|
10321
10353
|
|
|
10322
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10354
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10323
10355
|
var savedSearch = strictObject({
|
|
10324
10356
|
id,
|
|
10325
10357
|
/** `null` for a run in the history. */
|
|
@@ -10336,7 +10368,7 @@ var savedSearch = strictObject({
|
|
|
10336
10368
|
});
|
|
10337
10369
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10338
10370
|
|
|
10339
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10371
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10340
10372
|
var sendAttempt = strictObject({
|
|
10341
10373
|
at: time,
|
|
10342
10374
|
profile: text,
|
|
@@ -10364,7 +10396,7 @@ var sendAttempt = strictObject({
|
|
|
10364
10396
|
error_code: optional(text)
|
|
10365
10397
|
});
|
|
10366
10398
|
|
|
10367
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10399
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10368
10400
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10369
10401
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10370
10402
|
var infoSchema = strictObject({
|
|
@@ -10409,7 +10441,7 @@ var perAccount = { chats: count, messages: count, emails: count, documents: coun
|
|
|
10409
10441
|
var contents = {
|
|
10410
10442
|
by_provider: optional(array(strictObject({ provider: text, accounts: count, ...perAccount }))),
|
|
10411
10443
|
by_chat_kind: optional(array(strictObject({ provider: text, kind: text, chats: count, messages: count }))),
|
|
10412
|
-
/** `name` is the one `
|
|
10444
|
+
/** `name` is the one `session list` shows; the messenger's own id for the account is left out. */
|
|
10413
10445
|
by_account: optional(array(strictObject({ provider: text, account_id: count, name: nullable(text), ...perAccount }))),
|
|
10414
10446
|
/** Calendar years in UTC. */
|
|
10415
10447
|
by_year: optional(array(strictObject({ provider: text, year: count, messages: count }))),
|
|
@@ -10594,7 +10626,7 @@ var storeRepair = union([
|
|
|
10594
10626
|
]);
|
|
10595
10627
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10596
10628
|
|
|
10597
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10629
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10598
10630
|
var range = strictObject({ from: number(), to: number() });
|
|
10599
10631
|
var storeChatStatus = strictObject({
|
|
10600
10632
|
chat_id: id,
|
|
@@ -10692,7 +10724,7 @@ var storeJobRetry = union([
|
|
|
10692
10724
|
]);
|
|
10693
10725
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10694
10726
|
|
|
10695
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10727
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10696
10728
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10697
10729
|
var storeTable = strictObject({
|
|
10698
10730
|
name: text,
|
|
@@ -10701,7 +10733,7 @@ var storeTable = strictObject({
|
|
|
10701
10733
|
bytes: optional(nullable(count))
|
|
10702
10734
|
});
|
|
10703
10735
|
|
|
10704
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10736
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10705
10737
|
var tagTarget = variant("type", [
|
|
10706
10738
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10707
10739
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10732,7 +10764,7 @@ var automaticTags = strictObject({
|
|
|
10732
10764
|
dry_run: boolean()
|
|
10733
10765
|
});
|
|
10734
10766
|
|
|
10735
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10767
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10736
10768
|
var tagging = strictObject({
|
|
10737
10769
|
tag: text,
|
|
10738
10770
|
type: picklist(TAG_TYPES),
|
|
@@ -10745,7 +10777,7 @@ var tagging = strictObject({
|
|
|
10745
10777
|
created_at: time
|
|
10746
10778
|
});
|
|
10747
10779
|
|
|
10748
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10780
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10749
10781
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10750
10782
|
var taskPair = strictObject({
|
|
10751
10783
|
task: nullable(side),
|
|
@@ -10768,7 +10800,7 @@ var taskPair = strictObject({
|
|
|
10768
10800
|
created_at: time
|
|
10769
10801
|
});
|
|
10770
10802
|
|
|
10771
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10803
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10772
10804
|
var nullableTime = nullable(time);
|
|
10773
10805
|
var link = strictObject({
|
|
10774
10806
|
id,
|
|
@@ -10792,7 +10824,7 @@ var taskCard = strictObject({
|
|
|
10792
10824
|
project: reference,
|
|
10793
10825
|
project_key: text,
|
|
10794
10826
|
project_name: text,
|
|
10795
|
-
created_by: nullable(strictObject({ type: picklist(["person", "
|
|
10827
|
+
created_by: nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() })),
|
|
10796
10828
|
title: text,
|
|
10797
10829
|
description: nullable(text),
|
|
10798
10830
|
type: picklist(TASK_TYPES),
|
|
@@ -10942,7 +10974,7 @@ var taskReview = strictObject({
|
|
|
10942
10974
|
untrusted
|
|
10943
10975
|
});
|
|
10944
10976
|
|
|
10945
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10977
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10946
10978
|
var template = strictObject({
|
|
10947
10979
|
key: text,
|
|
10948
10980
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10954,7 +10986,7 @@ var template = strictObject({
|
|
|
10954
10986
|
updated_by: nullable(text)
|
|
10955
10987
|
});
|
|
10956
10988
|
|
|
10957
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10989
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10958
10990
|
var topic = strictObject({
|
|
10959
10991
|
id,
|
|
10960
10992
|
title: text,
|
|
@@ -10968,7 +11000,7 @@ var topic = strictObject({
|
|
|
10968
11000
|
untrusted
|
|
10969
11001
|
});
|
|
10970
11002
|
|
|
10971
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11003
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10972
11004
|
var ENTITIES = {
|
|
10973
11005
|
sync_progress: progress,
|
|
10974
11006
|
deal,
|
|
@@ -11224,6 +11256,7 @@ var ENTITIES = {
|
|
|
11224
11256
|
chat_rules: chatRules,
|
|
11225
11257
|
chat_moderation: chatModeration,
|
|
11226
11258
|
"model.chosen": chosenModel,
|
|
11259
|
+
domain_list: domainList,
|
|
11227
11260
|
model_key: modelKey,
|
|
11228
11261
|
chat_sending: chatSending,
|
|
11229
11262
|
"model_key.stored": storedModelKey,
|
|
@@ -11270,7 +11303,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11270
11303
|
return [name, definition];
|
|
11271
11304
|
})), "entityDefinitions");
|
|
11272
11305
|
|
|
11273
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11306
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11274
11307
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11275
11308
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11276
11309
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11304,7 +11337,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11304
11337
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11305
11338
|
}, "answerRow");
|
|
11306
11339
|
|
|
11307
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11340
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11308
11341
|
import { join as join5 } from "node:path";
|
|
11309
11342
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11310
11343
|
var IMAGE_MODELS = [
|
|
@@ -11358,7 +11391,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11358
11391
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11359
11392
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11360
11393
|
|
|
11361
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11394
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11362
11395
|
var STEPS2 = defineSteps([
|
|
11363
11396
|
...STEPS,
|
|
11364
11397
|
{
|
|
@@ -11662,7 +11695,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11662
11695
|
].join(" ");
|
|
11663
11696
|
}, "stepLine");
|
|
11664
11697
|
|
|
11665
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11698
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11666
11699
|
var where = [{ field: "ref" }];
|
|
11667
11700
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11668
11701
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11754,7 +11787,7 @@ var STATUS_ROWS = {
|
|
|
11754
11787
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11755
11788
|
};
|
|
11756
11789
|
|
|
11757
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11790
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11758
11791
|
var TEXT_CHARS = 400;
|
|
11759
11792
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11760
11793
|
var messageRow = {
|
|
@@ -12126,7 +12159,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12126
12159
|
return lines.concat(footerOf(body)).join("\n");
|
|
12127
12160
|
}, "compactText");
|
|
12128
12161
|
|
|
12129
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
12162
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12130
12163
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12131
12164
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12132
12165
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12184,7 +12217,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12184
12217
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12185
12218
|
}, "largeAnswerSteps");
|
|
12186
12219
|
|
|
12187
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
12220
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12188
12221
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12189
12222
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12190
12223
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12198,7 +12231,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12198
12231
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12199
12232
|
}, "strip");
|
|
12200
12233
|
|
|
12201
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
12234
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12202
12235
|
var OPEN = "\u27E6";
|
|
12203
12236
|
var CLOSE = "\u27E7";
|
|
12204
12237
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12305,7 +12338,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12305
12338
|
return result;
|
|
12306
12339
|
}, "withFieldsMarked");
|
|
12307
12340
|
|
|
12308
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
12341
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12309
12342
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12310
12343
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12311
12344
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|