@wirecat/mail-cli 0.37.0 → 0.38.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 +20 -0
- package/contracts/wirecat.json +1 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-U43CYLAP.js +41 -0
- package/dist/bundle/{all-profiles-ICGWDPUU.js → all-profiles-OCUZMXMI.js} +7 -7
- package/dist/bundle/{anthropic-TL4WFWGU.js → anthropic-CABWJABQ.js} +2 -2
- package/dist/bundle/{app-server-YAR5EFOO.js → app-server-TTWPIGWG.js} +63 -62
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-WI3ZPANS.js → bun-sqlite-YKYG25CR.js} +3 -3
- package/dist/bundle/{chunk-YODGIMMM.js → chunk-24UGTK32.js} +7 -7
- package/dist/bundle/{chunk-IUJDWEGJ.js → chunk-2HDXD6LM.js} +4 -4
- package/dist/bundle/{chunk-UTS5NMR3.js → chunk-2SQLHBDP.js} +1 -1
- package/dist/bundle/{chunk-JLXXUEAM.js → chunk-3TYER5IK.js} +13 -5
- package/dist/bundle/{chunk-R73VWPNL.js → chunk-4FXDUXZP.js} +6 -6
- package/dist/bundle/{chunk-XWBTD2WP.js → chunk-5ICUC66S.js} +2 -2
- package/dist/bundle/{chunk-TMJLGR4A.js → chunk-725OPCHI.js} +51 -51
- package/dist/bundle/{chunk-ZSAPOC7B.js → chunk-77YTUOKN.js} +22 -14
- package/dist/bundle/{chunk-NB52JKLR.js → chunk-7EJWHADX.js} +7 -7
- package/dist/bundle/{chunk-FXNCKPQ7.js → chunk-7KO5FSAW.js} +2 -2
- package/dist/bundle/{chunk-OWPRJLHV.js → chunk-A3KNH3Q4.js} +7 -7
- package/dist/bundle/{chunk-KUX54EGR.js → chunk-AGO3OVKW.js} +441 -377
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-NAOLBEFX.js → chunk-BA5B5ZF4.js} +203 -168
- package/dist/bundle/{chunk-CICUPYHT.js → chunk-C4PUDTGD.js} +2 -2
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-DJZIFZOT.js → chunk-CJJFOT7W.js} +2 -2
- package/dist/bundle/{chunk-JNP3XGJI.js → chunk-CLTFTGBP.js} +15 -14
- package/dist/bundle/{chunk-GQIMVR7C.js → chunk-DKGKPJA3.js} +10 -10
- package/dist/bundle/{chunk-DTR7JO2M.js → chunk-DYCE72XB.js} +34 -34
- package/dist/bundle/{chunk-7PDGZFXD.js → chunk-EDWY73H7.js} +3 -3
- package/dist/bundle/{chunk-3ZOOTTFW.js → chunk-EJQAP6A6.js} +5 -5
- package/dist/bundle/{chunk-7YKWFERX.js → chunk-ESNZL7SB.js} +1 -1
- 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-GPUC3FTU.js → chunk-FWGNDKJK.js} +1 -1
- package/dist/bundle/{chunk-NISH4UXM.js → chunk-G46PNDWL.js} +1 -1
- package/dist/bundle/{chunk-K4DEQAEW.js → chunk-G5HG7ZWQ.js} +42 -164
- package/dist/bundle/{chunk-LKH3UKLO.js → chunk-G6NY7LFB.js} +3 -3
- package/dist/bundle/{chunk-KCM3WSER.js → chunk-GMWKNWWY.js} +1 -1
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-HFY7536N.js → chunk-HFDDVGDH.js} +62 -60
- package/dist/bundle/{chunk-BYITYTRL.js → chunk-HFRH5YJ6.js} +2 -2
- package/dist/bundle/{chunk-EZQ5BYNL.js → chunk-HI6MTNID.js} +4 -4
- package/dist/bundle/{chunk-BNURKCQG.js → chunk-HIKPVWCL.js} +2 -1
- package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/{chunk-F2D3J5DR.js → chunk-HYUUAH2N.js} +6 -6
- package/dist/bundle/chunk-I4AWLFYH.js +377 -0
- package/dist/bundle/{chunk-CUW7Y2HJ.js → chunk-I4PZOWYG.js} +4 -4
- package/dist/bundle/chunk-IDCZ4LWS.js +150 -0
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- 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-4IZ6R5FS.js → chunk-LB2CF3GG.js} +13 -13
- package/dist/bundle/{chunk-XEQQJBBO.js → chunk-LC7ZD2RW.js} +1 -1
- package/dist/bundle/{chunk-4FTIHADB.js → chunk-M65NILSA.js} +5 -5
- package/dist/bundle/{chunk-IWFWWO37.js → chunk-NQFG7AES.js} +7 -7
- package/dist/bundle/chunk-OAO3JKQD.js +463 -0
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/{chunk-R44KVISE.js → chunk-OVHC7OV4.js} +10 -10
- package/dist/bundle/{chunk-HES6YMYN.js → chunk-PT4VLN3K.js} +4 -4
- package/dist/bundle/chunk-QETNCUWB.js +1703 -0
- package/dist/bundle/{chunk-BNVISIHP.js → chunk-QK3Z7BCC.js} +5 -5
- package/dist/bundle/{chunk-CQHLWMKK.js → chunk-QWF3TFW4.js} +34 -25
- package/dist/bundle/{chunk-FTT7UDYV.js → chunk-RHEDE7D4.js} +2 -2
- package/dist/bundle/{chunk-7HRKUKKY.js → chunk-RI5YZ23Y.js} +20 -20
- package/dist/bundle/{chunk-JZUYZ2XJ.js → chunk-ROUZN6UQ.js} +19 -98
- package/dist/bundle/{chunk-3SKTQ2HC.js → chunk-RQD7CAGF.js} +2 -2
- package/dist/bundle/{chunk-BQMJYSA4.js → chunk-SBLHQAH3.js} +10 -10
- package/dist/bundle/{chunk-NQSKI7XK.js → chunk-SXLIADMY.js} +3 -3
- package/dist/bundle/{chunk-ES2FF42M.js → chunk-SYCM6SQ5.js} +12 -12
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- 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-HCRUGAIN.js → chunk-UGFMQWAZ.js} +29 -9
- package/dist/bundle/{chunk-3DHJF57U.js → chunk-VA6PHTMV.js} +6 -6
- package/dist/bundle/{chunk-Z4BLNAWI.js → chunk-VUHH4MQW.js} +8817 -2581
- package/dist/bundle/{chunk-UDSL3MUU.js → chunk-W3BOR6AT.js} +7 -7
- package/dist/bundle/chunk-WA53OJ7V.js +160 -0
- package/dist/bundle/{chunk-QLJGYDWG.js → chunk-XGVMQMTS.js} +5 -5
- package/dist/bundle/{chunk-ZTWTEXB2.js → chunk-YP4FYLFI.js} +2 -2
- package/dist/bundle/{chunk-KZD3H5QA.js → chunk-ZDBWBCEO.js} +2 -2
- package/dist/bundle/{chunk-EV72K4IU.js → chunk-ZKVUAH5N.js} +3 -3
- package/dist/bundle/command-contract-V2WIL6RL.js +40 -0
- package/dist/bundle/{command-server-entry-RA3ZX2KV.js → command-server-entry-ZC5YF4EC.js} +25 -24
- package/dist/bundle/{decode-QVKRSRVF.js → decode-NXAGEUAD.js} +2 -2
- package/dist/bundle/{dist-ITIXJAXK.js → dist-XN2CRP3U.js} +45 -44
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-2HOODFQT.js → embed-3P3LSM2O.js} +3 -3
- package/dist/bundle/{embedder-22AJGCZX.js → embedder-2SANUF2X.js} +6 -6
- package/dist/bundle/{first-run-FU4MFXOA.js → first-run-HEZKQLJL.js} +6 -6
- package/dist/bundle/first-screen-7TQZ4I6X.js +41 -0
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/meeting-combined-HF2NL4PU.js +26 -0
- package/dist/bundle/{meeting-model-QWGAOQHL.js → meeting-model-B7RVFB7L.js} +8 -8
- package/dist/bundle/{meeting-semantic-7PVO6RNB.js → meeting-semantic-YQTL7YVQ.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-JXUELLMP.js → node-sqlite-OFHTCHJH.js} +4 -4
- package/dist/bundle/{oauth-OYAYWH4K.js → oauth-IVB5RP7T.js} +4 -4
- package/dist/bundle/{open-GLEUJGNA.js → open-KDGDLCWV.js} +2 -2
- package/dist/bundle/{openai-PYTVNB6L.js → openai-NVUBKA7Z.js} +12 -12
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-7CFNZ2DF.js → program-JQ7EFODJ.js} +1615 -6308
- package/dist/bundle/{prompt-CYTILD7N.js → prompt-QG7FC2SA.js} +2 -2
- package/dist/bundle/{public-XWMXEGEF.js → public-FBD7MQUM.js} +42 -34
- package/dist/bundle/{recognize-26UNETSQ.js → recognize-ZBR5KNID.js} +1 -1
- package/dist/bundle/{remote-PKXBQA5N.js → remote-QOTHNO2M.js} +6 -6
- package/dist/bundle/{rerank-LLKP7M6Q.js → rerank-JD2NIUW6.js} +4 -4
- package/dist/bundle/{serve-ZRJEAPJI.js → serve-QZT3FKK7.js} +6 -6
- package/dist/bundle/{server-4OQ4G5JY.js → server-M6JJ7IKS.js} +55 -54
- package/dist/bundle/server-TAMXMWK6.js +87 -0
- package/dist/bundle/{sqlite-runtime-667VV4VY.js → sqlite-runtime-N2PY7C7J.js} +3 -3
- package/dist/bundle/{state-V3CAAJBE.js → state-OGRUMU7P.js} +3 -3
- package/dist/bundle/{store-BJCIMIAH.js → store-7UE63OQR.js} +52 -41
- package/dist/bundle/{store-GLBBY4OZ.js → store-DGJKE4ZJ.js} +21 -19
- package/dist/bundle/store-maintenance-command-WIDKMZLK.js +74 -0
- package/dist/bundle/surface-LTEEEZU4.js +73 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +28 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -0
- package/dist/identity.js.map +1 -1
- package/dist/mail/send-as.d.ts +21 -0
- package/dist/mail/send-as.d.ts.map +1 -0
- package/dist/mail/send-as.js +66 -0
- package/dist/mail/send-as.js.map +1 -0
- package/dist/mail/send.d.ts.map +1 -1
- package/dist/mail/send.js +3 -1
- package/dist/mail/send.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/agent-OU4K7TKQ.js +0 -40
- package/dist/bundle/chunk-G4VJN75G.js +0 -806
- package/dist/bundle/chunk-OZKZT3ZI.js +0 -79
- package/dist/bundle/chunk-RRTMPSQR.js +0 -29
- package/dist/bundle/chunk-VYCB5EVI.js +0 -721
- package/dist/bundle/command-contract-UC6IGCCM.js +0 -39
- package/dist/bundle/first-screen-A7SEI2ON.js +0 -40
- package/dist/bundle/meeting-combined-KC6YGWA7.js +0 -24
- package/dist/bundle/server-VVRQ4A34.js +0 -86
- package/dist/bundle/store-maintenance-command-N7L5OVUE.js +0 -73
- package/dist/bundle/surface-26EUQNDT.js +0 -72
- /package/dist/bundle/{chunk-KXJ3JEDH.js → chunk-7ECP5ZQR.js} +0 -0
- /package/dist/bundle/{chunk-XXPJF2VD.js → chunk-TQDSBLQB.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2HDXD6LM.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -23,39 +23,28 @@ import {
|
|
|
23
23
|
providerErrorKey,
|
|
24
24
|
renderEvent,
|
|
25
25
|
runContextOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NQFG7AES.js";
|
|
27
27
|
import {
|
|
28
28
|
permissionCeiling
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CJJFOT7W.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_RERANK_MODEL,
|
|
32
32
|
RERANK_MODELS
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-I4PZOWYG.js";
|
|
34
34
|
import {
|
|
35
35
|
carries
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-T3W4V4A6.js";
|
|
37
37
|
import {
|
|
38
38
|
note
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7KO5FSAW.js";
|
|
40
40
|
import {
|
|
41
41
|
CATEGORIES,
|
|
42
|
-
FACT_STATUSES,
|
|
43
42
|
KEEP_STORE_RUNS_FOR_DAYS,
|
|
44
43
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
45
44
|
LINK_KINDS,
|
|
46
45
|
LINK_SOURCES,
|
|
47
46
|
LOG_ATTRIBUTES,
|
|
48
|
-
MEMORY_KINDS,
|
|
49
|
-
MEMORY_SCOPES,
|
|
50
|
-
MEMORY_STATUSES,
|
|
51
|
-
PRIORITY_LABELS,
|
|
52
47
|
RUNS_SIZE_LIMIT_MB,
|
|
53
|
-
TASK_KINDS,
|
|
54
|
-
TASK_ORIGINS,
|
|
55
|
-
TASK_STATES,
|
|
56
|
-
TASK_TYPES,
|
|
57
|
-
TASK_VERDICTS,
|
|
58
|
-
WORK_TASK_TYPES,
|
|
59
48
|
author,
|
|
60
49
|
childTrace,
|
|
61
50
|
count,
|
|
@@ -81,7 +70,7 @@ import {
|
|
|
81
70
|
typedCommand,
|
|
82
71
|
untrusted,
|
|
83
72
|
useAsProcessRun
|
|
84
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-G5HG7ZWQ.js";
|
|
85
74
|
import {
|
|
86
75
|
BUSINESS_KINDS,
|
|
87
76
|
CRM_ACTIVITY_KINDS,
|
|
@@ -96,14 +85,28 @@ import {
|
|
|
96
85
|
ORDER_STATUSES,
|
|
97
86
|
RELATION_KINDS,
|
|
98
87
|
STANDINGS
|
|
99
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-I4AWLFYH.js";
|
|
100
89
|
import {
|
|
101
90
|
isCliFailure,
|
|
91
|
+
storeBusy,
|
|
102
92
|
storeDamaged
|
|
103
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-3TYER5IK.js";
|
|
94
|
+
import {
|
|
95
|
+
FACT_STATUSES,
|
|
96
|
+
MEMORY_KINDS,
|
|
97
|
+
MEMORY_SCOPES,
|
|
98
|
+
MEMORY_STATUSES,
|
|
99
|
+
PRIORITY_LABELS,
|
|
100
|
+
TASK_KINDS,
|
|
101
|
+
TASK_ORIGINS,
|
|
102
|
+
TASK_STATES,
|
|
103
|
+
TASK_TYPES,
|
|
104
|
+
TASK_VERDICTS,
|
|
105
|
+
WORK_TASK_TYPES
|
|
106
|
+
} from "./chunk-IDCZ4LWS.js";
|
|
104
107
|
import {
|
|
105
108
|
TAG_TYPES
|
|
106
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-OAO3JKQD.js";
|
|
107
110
|
import {
|
|
108
111
|
FACT_TYPES,
|
|
109
112
|
FIELD_TYPES,
|
|
@@ -131,21 +134,21 @@ import {
|
|
|
131
134
|
parseLucene,
|
|
132
135
|
readsZone,
|
|
133
136
|
timezoneOf
|
|
134
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-725OPCHI.js";
|
|
135
138
|
import {
|
|
136
139
|
endpoint
|
|
137
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-ESNZL7SB.js";
|
|
138
141
|
import {
|
|
139
142
|
repairConfigText,
|
|
140
143
|
sharedConfigPath
|
|
141
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-XGVMQMTS.js";
|
|
142
145
|
import {
|
|
143
146
|
filesPresent,
|
|
144
147
|
sharedModelsDirectory
|
|
145
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-ZKVUAH5N.js";
|
|
146
149
|
import {
|
|
147
150
|
storePath
|
|
148
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-2SQLHBDP.js";
|
|
149
152
|
import {
|
|
150
153
|
configFilePath,
|
|
151
154
|
createRecordLog,
|
|
@@ -216,7 +219,7 @@ import {
|
|
|
216
219
|
__name
|
|
217
220
|
} from "./chunk-ZVVMGPBJ.js";
|
|
218
221
|
|
|
219
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
222
|
+
// 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
|
|
220
223
|
import { readFileSync } from "node:fs";
|
|
221
224
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
222
225
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -3973,7 +3976,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3973
3976
|
}
|
|
3974
3977
|
}, "refuseJoinedPath");
|
|
3975
3978
|
|
|
3976
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
3979
|
+
// 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
|
|
3977
3980
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3978
3981
|
var requests = new AsyncLocalStorage();
|
|
3979
3982
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3988,7 +3991,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3988
3991
|
return direct;
|
|
3989
3992
|
}, "exitCodeSet");
|
|
3990
3993
|
|
|
3991
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
3994
|
+
// 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
|
|
3992
3995
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3993
3996
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3994
3997
|
messageId: message2.id,
|
|
@@ -4094,7 +4097,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4094
4097
|
}, "guardedWrite");
|
|
4095
4098
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4096
4099
|
|
|
4097
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4100
|
+
// 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
|
|
4098
4101
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4099
4102
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4100
4103
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4277,7 +4280,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4277
4280
|
}
|
|
4278
4281
|
}, "withAbort");
|
|
4279
4282
|
|
|
4280
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4283
|
+
// 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
|
|
4281
4284
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4282
4285
|
import { join } from "node:path";
|
|
4283
4286
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4299,7 +4302,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4299
4302
|
}, "profilesWithAccounts");
|
|
4300
4303
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4301
4304
|
|
|
4302
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4305
|
+
// 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
|
|
4303
4306
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4304
4307
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4305
4308
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4356,7 +4359,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4356
4359
|
};
|
|
4357
4360
|
}, "runBudget");
|
|
4358
4361
|
|
|
4359
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4362
|
+
// 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
|
|
4360
4363
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4361
4364
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4362
4365
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4394,7 +4397,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4394
4397
|
progress: "sync.progress"
|
|
4395
4398
|
};
|
|
4396
4399
|
|
|
4397
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4400
|
+
// 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
|
|
4398
4401
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4399
4402
|
const recording = startRecording(options);
|
|
4400
4403
|
try {
|
|
@@ -4491,7 +4494,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
4491
4494
|
});
|
|
4492
4495
|
}, "succeed"),
|
|
4493
4496
|
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
4494
|
-
const error = storeDamaged(thrown);
|
|
4497
|
+
const error = storeBusy(storeDamaged(thrown));
|
|
4495
4498
|
markStoreDamaged(thrown, {
|
|
4496
4499
|
store: storePath(options.env),
|
|
4497
4500
|
command: `${options.app.command} ${options.command}`,
|
|
@@ -4609,7 +4612,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4609
4612
|
return void 0;
|
|
4610
4613
|
}, "partialOutcome");
|
|
4611
4614
|
|
|
4612
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4615
|
+
// 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
|
|
4613
4616
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4614
4617
|
if (ms2 === void 0)
|
|
4615
4618
|
return body();
|
|
@@ -4635,7 +4638,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4635
4638
|
}
|
|
4636
4639
|
}, "withDeadline");
|
|
4637
4640
|
|
|
4638
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4641
|
+
// 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
|
|
4639
4642
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4640
4643
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4641
4644
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4704,10 +4707,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4704
4707
|
return void 0;
|
|
4705
4708
|
}, "sampleCommand");
|
|
4706
4709
|
|
|
4707
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4710
|
+
// 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
|
|
4708
4711
|
import { existsSync as existsSync4 } from "node:fs";
|
|
4709
4712
|
|
|
4710
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4713
|
+
// 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
|
|
4711
4714
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4712
4715
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4713
4716
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4776,7 +4779,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4776
4779
|
};
|
|
4777
4780
|
}, "modelTarget");
|
|
4778
4781
|
|
|
4779
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4782
|
+
// 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
|
|
4780
4783
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4781
4784
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4782
4785
|
var AI_FIELDS = {
|
|
@@ -4820,7 +4823,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4820
4823
|
};
|
|
4821
4824
|
}, "resolveAISettings");
|
|
4822
4825
|
|
|
4823
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4826
|
+
// 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
|
|
4824
4827
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4825
4828
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4826
4829
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4834,7 +4837,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4834
4837
|
return ms2;
|
|
4835
4838
|
}, "parseDuration");
|
|
4836
4839
|
|
|
4837
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4840
|
+
// 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
|
|
4838
4841
|
var HISTORY_MAX_DAYS = 1095;
|
|
4839
4842
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
4840
4843
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -4881,7 +4884,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
4881
4884
|
return { batch: { ...batch, messages }, skipped };
|
|
4882
4885
|
}, "limitBatch");
|
|
4883
4886
|
|
|
4884
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4887
|
+
// 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
|
|
4885
4888
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
4886
4889
|
import { join as join2 } from "node:path";
|
|
4887
4890
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -4970,7 +4973,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
4970
4973
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
4971
4974
|
}, "registryProfiles");
|
|
4972
4975
|
|
|
4973
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
4976
|
+
// 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
|
|
4974
4977
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
4975
4978
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
4976
4979
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5268,7 +5271,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5268
5271
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5269
5272
|
}, "readConfigFile");
|
|
5270
5273
|
|
|
5271
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5274
|
+
// 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
|
|
5272
5275
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5273
5276
|
import { dirname, join as join3 } from "node:path";
|
|
5274
5277
|
var DEFAULT_CONFIG = {
|
|
@@ -5297,7 +5300,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5297
5300
|
}
|
|
5298
5301
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5299
5302
|
|
|
5300
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5303
|
+
// 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
|
|
5301
5304
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5302
5305
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5303
5306
|
const path2 = key.split(".");
|
|
@@ -5319,7 +5322,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5319
5322
|
return { config, added };
|
|
5320
5323
|
}, "withSettingDefaults");
|
|
5321
5324
|
|
|
5322
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5325
|
+
// 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
|
|
5323
5326
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5324
5327
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5325
5328
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5847,7 +5850,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5847
5850
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5848
5851
|
}, "given");
|
|
5849
5852
|
|
|
5850
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
5853
|
+
// 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
|
|
5851
5854
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
5852
5855
|
const { deadline, signal, app } = environmentOf(command);
|
|
5853
5856
|
const now = deadline?.();
|
|
@@ -6001,7 +6004,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6001
6004
|
return words.join(" ");
|
|
6002
6005
|
}, "commandPath");
|
|
6003
6006
|
|
|
6004
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6007
|
+
// 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
|
|
6005
6008
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6006
6009
|
var FETCH = { remote: "read", local: "write" };
|
|
6007
6010
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6146,7 +6149,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6146
6149
|
throw readOnlyRefusal(lock, what);
|
|
6147
6150
|
}, "refuseUnderReadOnly");
|
|
6148
6151
|
|
|
6149
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6152
|
+
// 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
|
|
6150
6153
|
var account = strictObject({
|
|
6151
6154
|
provider: text,
|
|
6152
6155
|
id,
|
|
@@ -6156,7 +6159,7 @@ var account = strictObject({
|
|
|
6156
6159
|
scope: optional(picklist(["personal", "work"]))
|
|
6157
6160
|
});
|
|
6158
6161
|
|
|
6159
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6162
|
+
// 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
|
|
6160
6163
|
var accountSession = strictObject({
|
|
6161
6164
|
current: boolean(),
|
|
6162
6165
|
client: nullable(text),
|
|
@@ -6166,7 +6169,7 @@ var accountSession = strictObject({
|
|
|
6166
6169
|
created_at: optional(nullable(time))
|
|
6167
6170
|
});
|
|
6168
6171
|
|
|
6169
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6172
|
+
// 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
|
|
6170
6173
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6171
6174
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6172
6175
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6195,7 +6198,7 @@ var accountRemoval = strictObject({
|
|
|
6195
6198
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6196
6199
|
});
|
|
6197
6200
|
|
|
6198
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6201
|
+
// 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
|
|
6199
6202
|
var accountProfile = strictObject({
|
|
6200
6203
|
profile: id,
|
|
6201
6204
|
current: boolean(),
|
|
@@ -6207,7 +6210,7 @@ var accountProfile = strictObject({
|
|
|
6207
6210
|
bot: optional(literal(true))
|
|
6208
6211
|
});
|
|
6209
6212
|
|
|
6210
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6213
|
+
// 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
|
|
6211
6214
|
var milliseconds = pipe(number(), minValue(0));
|
|
6212
6215
|
var counterReading = strictObject({
|
|
6213
6216
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6219,7 +6222,7 @@ var counterReading = strictObject({
|
|
|
6219
6222
|
});
|
|
6220
6223
|
var selection = record(string(), unknown());
|
|
6221
6224
|
|
|
6222
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6225
|
+
// 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
|
|
6223
6226
|
var adminRow = strictObject({
|
|
6224
6227
|
ref: reference,
|
|
6225
6228
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6272,7 +6275,7 @@ var adminReport = strictObject({
|
|
|
6272
6275
|
rows: array(adminRow)
|
|
6273
6276
|
});
|
|
6274
6277
|
|
|
6275
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6278
|
+
// 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
|
|
6276
6279
|
var closeSuggestion = strictObject({
|
|
6277
6280
|
as: picklist(["done", "dismissed"]),
|
|
6278
6281
|
/** The agent's name. */
|
|
@@ -6297,7 +6300,7 @@ var task = strictObject({
|
|
|
6297
6300
|
project_key: optional(nullable(text)),
|
|
6298
6301
|
project_name: optional(nullable(text)),
|
|
6299
6302
|
/** Who added it: the owner, or an agent by its bot name. */
|
|
6300
|
-
created_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
6303
|
+
created_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() }))),
|
|
6301
6304
|
account: optional(text),
|
|
6302
6305
|
/** The chat it came from, as a `chat:` reference. */
|
|
6303
6306
|
chat: optional(nullable(reference)),
|
|
@@ -6334,7 +6337,7 @@ var task = strictObject({
|
|
|
6334
6337
|
updated_at: optional(time)
|
|
6335
6338
|
});
|
|
6336
6339
|
|
|
6337
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6340
|
+
// 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
|
|
6338
6341
|
var agendaChat = strictObject({
|
|
6339
6342
|
chat: reference,
|
|
6340
6343
|
title: nullable(text),
|
|
@@ -6404,11 +6407,11 @@ var agenda = strictObject({
|
|
|
6404
6407
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6405
6408
|
});
|
|
6406
6409
|
|
|
6407
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6410
|
+
// 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
|
|
6408
6411
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6409
6412
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6410
6413
|
|
|
6411
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6414
|
+
// 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
|
|
6412
6415
|
var attachment = strictObject({
|
|
6413
6416
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6414
6417
|
message: optional(reference),
|
|
@@ -6453,7 +6456,7 @@ var hitFile = strictObject({
|
|
|
6453
6456
|
local_path: optional(text)
|
|
6454
6457
|
});
|
|
6455
6458
|
|
|
6456
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6459
|
+
// 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
|
|
6457
6460
|
var actionableError = objectWithRest({
|
|
6458
6461
|
code: text,
|
|
6459
6462
|
message: text,
|
|
@@ -6470,7 +6473,7 @@ var batchResult = strictObject({
|
|
|
6470
6473
|
max_error_percent: count
|
|
6471
6474
|
});
|
|
6472
6475
|
|
|
6473
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6476
|
+
// 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
|
|
6474
6477
|
var extractionItem = strictObject({
|
|
6475
6478
|
ref: reference,
|
|
6476
6479
|
attachment: count,
|
|
@@ -6503,7 +6506,7 @@ var extractionReport = strictObject({
|
|
|
6503
6506
|
cursor: optional(text)
|
|
6504
6507
|
});
|
|
6505
6508
|
|
|
6506
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6509
|
+
// 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
|
|
6507
6510
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6508
6511
|
var attachmentBytes = strictObject({
|
|
6509
6512
|
ref: reference,
|
|
@@ -6534,7 +6537,7 @@ var attachmentTextChange = strictObject({
|
|
|
6534
6537
|
text: optional(text)
|
|
6535
6538
|
});
|
|
6536
6539
|
|
|
6537
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6540
|
+
// 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
|
|
6538
6541
|
var WEIGHTS = {
|
|
6539
6542
|
bot: 3,
|
|
6540
6543
|
scam: 3,
|
|
@@ -6559,7 +6562,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6559
6562
|
var DIGITS = /\d{5,}/;
|
|
6560
6563
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6561
6564
|
|
|
6562
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6565
|
+
// 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
|
|
6563
6566
|
var linkedIdentity = strictObject({
|
|
6564
6567
|
provider: text,
|
|
6565
6568
|
id,
|
|
@@ -6614,7 +6617,7 @@ var contactCheck = strictObject({
|
|
|
6614
6617
|
checked_at: time
|
|
6615
6618
|
});
|
|
6616
6619
|
|
|
6617
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6620
|
+
// 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
|
|
6618
6621
|
var member = strictObject({
|
|
6619
6622
|
id,
|
|
6620
6623
|
name: nullable(text),
|
|
@@ -6637,7 +6640,7 @@ var member = strictObject({
|
|
|
6637
6640
|
check: optional(record(string(), unknown()))
|
|
6638
6641
|
});
|
|
6639
6642
|
|
|
6640
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6643
|
+
// 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
|
|
6641
6644
|
var setting = optional(nullable(boolean()));
|
|
6642
6645
|
var chat = strictObject({
|
|
6643
6646
|
ref: reference,
|
|
@@ -6678,7 +6681,7 @@ var chat = strictObject({
|
|
|
6678
6681
|
members: optional(array(member))
|
|
6679
6682
|
});
|
|
6680
6683
|
|
|
6681
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6684
|
+
// 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
|
|
6682
6685
|
var quoted = strictObject({
|
|
6683
6686
|
id,
|
|
6684
6687
|
sender_id: nullable(id),
|
|
@@ -6779,6 +6782,10 @@ var message = strictObject({
|
|
|
6779
6782
|
thread: reference,
|
|
6780
6783
|
read: nullable(boolean()),
|
|
6781
6784
|
flagged: nullable(boolean()),
|
|
6785
|
+
/** What the email is, apart from its sender: one of the mail types. @experimental */
|
|
6786
|
+
mail_type: optional(text),
|
|
6787
|
+
/** How it reached the owner: direct, group or broadcast. @experimental */
|
|
6788
|
+
reach: optional(text),
|
|
6782
6789
|
/** How much the sender's mail looks like spam, a scam or a robot (memo's score), and why; absent when unscored. */
|
|
6783
6790
|
sender_score: optional(strictObject({ score: number(), signals: array(text), demoted: optional(literal(true)) })),
|
|
6784
6791
|
/** Mail `review`: filed in the mailbox of mail sent to many. */
|
|
@@ -6799,7 +6806,7 @@ var message = strictObject({
|
|
|
6799
6806
|
provider_metadata: providerMetadata
|
|
6800
6807
|
});
|
|
6801
6808
|
|
|
6802
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6809
|
+
// 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
|
|
6803
6810
|
var recordedMeeting = strictObject({
|
|
6804
6811
|
ref: reference,
|
|
6805
6812
|
meeting_id: count,
|
|
@@ -6816,7 +6823,7 @@ var recordedMeeting = strictObject({
|
|
|
6816
6823
|
call: optional(meetingCall)
|
|
6817
6824
|
});
|
|
6818
6825
|
|
|
6819
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
6826
|
+
// 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
|
|
6820
6827
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
6821
6828
|
var contextMessage = strictObject({
|
|
6822
6829
|
locator: reference,
|
|
@@ -7022,7 +7029,7 @@ var contactPreparation = strictObject({
|
|
|
7022
7029
|
})
|
|
7023
7030
|
});
|
|
7024
7031
|
|
|
7025
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7032
|
+
// 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
|
|
7026
7033
|
var nullableText = nullable(text);
|
|
7027
7034
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7028
7035
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7087,7 +7094,7 @@ var deal = strictObject({
|
|
|
7087
7094
|
})),
|
|
7088
7095
|
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
7089
7096
|
author: strictObject({
|
|
7090
|
-
type: picklist(["person", "
|
|
7097
|
+
type: picklist(["person", "agent"]),
|
|
7091
7098
|
id,
|
|
7092
7099
|
name: nullableText,
|
|
7093
7100
|
kind: nullable(picklist(["agent", "rule"]))
|
|
@@ -7178,7 +7185,7 @@ var stage = strictObject({
|
|
|
7178
7185
|
untrusted
|
|
7179
7186
|
});
|
|
7180
7187
|
|
|
7181
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7188
|
+
// 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
|
|
7182
7189
|
var nullableText2 = nullable(text);
|
|
7183
7190
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7184
7191
|
var standing = picklist(STANDINGS);
|
|
@@ -7357,7 +7364,7 @@ var dealBrief = strictObject({
|
|
|
7357
7364
|
not_read: coverage2.entries.not_read
|
|
7358
7365
|
});
|
|
7359
7366
|
|
|
7360
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7367
|
+
// 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
|
|
7361
7368
|
var chart = strictObject({
|
|
7362
7369
|
version: literal(1),
|
|
7363
7370
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7372,7 +7379,7 @@ var chart = strictObject({
|
|
|
7372
7379
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7373
7380
|
});
|
|
7374
7381
|
|
|
7375
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7382
|
+
// 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
|
|
7376
7383
|
var named = strictObject({
|
|
7377
7384
|
id,
|
|
7378
7385
|
title: nullable(text),
|
|
@@ -7395,7 +7402,7 @@ var folder = strictObject({
|
|
|
7395
7402
|
excluded_chats: optional(array(named))
|
|
7396
7403
|
});
|
|
7397
7404
|
|
|
7398
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7405
|
+
// 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
|
|
7399
7406
|
var inviteLink = strictObject({
|
|
7400
7407
|
link: text,
|
|
7401
7408
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7411,7 +7418,7 @@ var inviteLink = strictObject({
|
|
|
7411
7418
|
joined_count: optional(count)
|
|
7412
7419
|
});
|
|
7413
7420
|
|
|
7414
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7421
|
+
// 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
|
|
7415
7422
|
var operated = { operation_id: id, chat_id: id };
|
|
7416
7423
|
var group = strictObject({
|
|
7417
7424
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7491,7 +7498,7 @@ var chatFolderOrder = strictObject({
|
|
|
7491
7498
|
folders: array(strictObject({ id, title: text }))
|
|
7492
7499
|
});
|
|
7493
7500
|
|
|
7494
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7501
|
+
// 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
|
|
7495
7502
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7496
7503
|
var chatRemoval = strictObject(operated2);
|
|
7497
7504
|
var chatMuting = strictObject({
|
|
@@ -7502,7 +7509,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7502
7509
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7503
7510
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7504
7511
|
|
|
7505
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7512
|
+
// 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
|
|
7506
7513
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7507
7514
|
var chatEvent = strictObject({
|
|
7508
7515
|
chat_id: id,
|
|
@@ -7519,7 +7526,7 @@ var chatEvent = strictObject({
|
|
|
7519
7526
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7520
7527
|
});
|
|
7521
7528
|
|
|
7522
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7529
|
+
// 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
|
|
7523
7530
|
var chatMetadata = strictObject({
|
|
7524
7531
|
chat_id: id,
|
|
7525
7532
|
title: nullable(text),
|
|
@@ -7534,7 +7541,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7534
7541
|
has_more: boolean()
|
|
7535
7542
|
});
|
|
7536
7543
|
|
|
7537
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7544
|
+
// 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
|
|
7538
7545
|
var action = picklist(["report", "delete", "remove"]);
|
|
7539
7546
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7540
7547
|
var chatRules = strictObject({
|
|
@@ -7571,7 +7578,7 @@ var chatModeration = strictObject({
|
|
|
7571
7578
|
}))
|
|
7572
7579
|
});
|
|
7573
7580
|
|
|
7574
|
-
// 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/chat-sending.js
|
|
7575
7582
|
var chatSending = strictObject({
|
|
7576
7583
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
7577
7584
|
meaning: text,
|
|
@@ -7581,7 +7588,7 @@ var chatSending = strictObject({
|
|
|
7581
7588
|
changed: optional(boolean())
|
|
7582
7589
|
});
|
|
7583
7590
|
|
|
7584
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7591
|
+
// 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
|
|
7585
7592
|
var optionalCount = optional(count);
|
|
7586
7593
|
var minutes = nullable(number());
|
|
7587
7594
|
var chatStats = strictObject({
|
|
@@ -7657,7 +7664,7 @@ var taskStats = strictObject({
|
|
|
7657
7664
|
}))
|
|
7658
7665
|
});
|
|
7659
7666
|
|
|
7660
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7667
|
+
// 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
|
|
7661
7668
|
var memberCount = strictObject({
|
|
7662
7669
|
day: pipe(text, isoDate()),
|
|
7663
7670
|
participants: nullable(count),
|
|
@@ -7680,7 +7687,7 @@ var chatTracking = strictObject({
|
|
|
7680
7687
|
tracked: boolean()
|
|
7681
7688
|
});
|
|
7682
7689
|
|
|
7683
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7690
|
+
// 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
|
|
7684
7691
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7685
7692
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7686
7693
|
var profileFields = {
|
|
@@ -7718,7 +7725,7 @@ var profileFields = {
|
|
|
7718
7725
|
}))
|
|
7719
7726
|
};
|
|
7720
7727
|
|
|
7721
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7728
|
+
// 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
|
|
7722
7729
|
var contact = strictObject({
|
|
7723
7730
|
ref: reference,
|
|
7724
7731
|
id,
|
|
@@ -7749,7 +7756,7 @@ var contact = strictObject({
|
|
|
7749
7756
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7750
7757
|
});
|
|
7751
7758
|
|
|
7752
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7759
|
+
// 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
|
|
7753
7760
|
var contactNote = strictObject({
|
|
7754
7761
|
id,
|
|
7755
7762
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7761,13 +7768,13 @@ var contactNote = strictObject({
|
|
|
7761
7768
|
updated_at: time
|
|
7762
7769
|
});
|
|
7763
7770
|
|
|
7764
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7771
|
+
// 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
|
|
7765
7772
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7766
7773
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7767
7774
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7768
7775
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7769
7776
|
|
|
7770
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7777
|
+
// 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
|
|
7771
7778
|
var conversation = strictObject({
|
|
7772
7779
|
id,
|
|
7773
7780
|
chat: reference,
|
|
@@ -7782,7 +7789,7 @@ var conversation = strictObject({
|
|
|
7782
7789
|
rules_version: count
|
|
7783
7790
|
});
|
|
7784
7791
|
|
|
7785
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7792
|
+
// 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
|
|
7786
7793
|
var conversationBuild = strictObject({
|
|
7787
7794
|
chat: id,
|
|
7788
7795
|
messages: count,
|
|
@@ -7807,7 +7814,7 @@ var catchUpPreparation = strictObject({
|
|
|
7807
7814
|
prepared: optional(conversationPreparation)
|
|
7808
7815
|
});
|
|
7809
7816
|
|
|
7810
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7817
|
+
// 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
|
|
7811
7818
|
var conversationDetails = union([
|
|
7812
7819
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7813
7820
|
message
|
|
@@ -7902,7 +7909,7 @@ var conversationHit = strictObject({
|
|
|
7902
7909
|
untrusted
|
|
7903
7910
|
});
|
|
7904
7911
|
|
|
7905
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7912
|
+
// 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
|
|
7906
7913
|
var counters = strictObject({
|
|
7907
7914
|
cutoff: time,
|
|
7908
7915
|
max_age_ms: milliseconds,
|
|
@@ -7932,7 +7939,7 @@ var counterRefresh = strictObject({
|
|
|
7932
7939
|
complete: optional(boolean())
|
|
7933
7940
|
});
|
|
7934
7941
|
|
|
7935
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7942
|
+
// 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
|
|
7936
7943
|
var document = strictObject({
|
|
7937
7944
|
ref: reference,
|
|
7938
7945
|
id,
|
|
@@ -7947,7 +7954,7 @@ var document = strictObject({
|
|
|
7947
7954
|
owners: optional(array(text))
|
|
7948
7955
|
});
|
|
7949
7956
|
|
|
7950
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7957
|
+
// 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
|
|
7951
7958
|
var documentLink = strictObject({
|
|
7952
7959
|
ref: reference,
|
|
7953
7960
|
url: text,
|
|
@@ -7958,7 +7965,34 @@ var documentLink = strictObject({
|
|
|
7958
7965
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7959
7966
|
});
|
|
7960
7967
|
|
|
7961
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7968
|
+
// 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
|
|
7969
|
+
var domainList = strictObject({
|
|
7970
|
+
id,
|
|
7971
|
+
title: text,
|
|
7972
|
+
/**
|
|
7973
|
+
* `sector` gives an organization its sector; `freemail` keeps a mailbox provider from making one; `bad` only marks a
|
|
7974
|
+
* host known for spam, phishing or malware.
|
|
7975
|
+
*/
|
|
7976
|
+
signal: picklist(["sector", "freemail", "bad"]),
|
|
7977
|
+
/** `non-commercial`: WireCat may use it, a paid service built around it may not. */
|
|
7978
|
+
class: picklist(["commercial-ok", "non-commercial"]),
|
|
7979
|
+
licence: text,
|
|
7980
|
+
licence_url: text,
|
|
7981
|
+
attribution: text,
|
|
7982
|
+
homepage: text,
|
|
7983
|
+
/** Fetched from its source on this computer, since it may not be redistributed. */
|
|
7984
|
+
upstream: boolean(),
|
|
7985
|
+
lines: count,
|
|
7986
|
+
/** Lines per sector or category, as published. */
|
|
7987
|
+
tags: record(string(), count),
|
|
7988
|
+
/** The pack's build date. */
|
|
7989
|
+
version: text,
|
|
7990
|
+
installed_at: time,
|
|
7991
|
+
sha256: text,
|
|
7992
|
+
path: text
|
|
7993
|
+
});
|
|
7994
|
+
|
|
7995
|
+
// 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
|
|
7962
7996
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7963
7997
|
var contribution = strictObject({
|
|
7964
7998
|
message: evidenceMessage,
|
|
@@ -7988,7 +8022,7 @@ var retentionStay = strictObject({
|
|
|
7988
8022
|
});
|
|
7989
8023
|
var evidence = union([contribution, retentionStay]);
|
|
7990
8024
|
|
|
7991
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8025
|
+
// 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
|
|
7992
8026
|
var fact = strictObject({
|
|
7993
8027
|
ref: reference,
|
|
7994
8028
|
id,
|
|
@@ -8007,7 +8041,7 @@ var fact = strictObject({
|
|
|
8007
8041
|
author,
|
|
8008
8042
|
model: nullable(text),
|
|
8009
8043
|
/** Who accepted it; `null` while it is proposed. */
|
|
8010
|
-
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "
|
|
8044
|
+
confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id }))),
|
|
8011
8045
|
scope: nullable(picklist(MEMORY_SCOPES)),
|
|
8012
8046
|
/** Who recorded it: the owner, or an agent whose fact waits as proposed. */
|
|
8013
8047
|
origin: picklist(["owner", "agent"]),
|
|
@@ -8019,7 +8053,7 @@ var fact = strictObject({
|
|
|
8019
8053
|
updated_at: time
|
|
8020
8054
|
});
|
|
8021
8055
|
|
|
8022
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8056
|
+
// 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
|
|
8023
8057
|
var hit = strictObject({
|
|
8024
8058
|
kind: picklist([
|
|
8025
8059
|
"message",
|
|
@@ -8083,7 +8117,7 @@ var hit = strictObject({
|
|
|
8083
8117
|
untrusted
|
|
8084
8118
|
});
|
|
8085
8119
|
|
|
8086
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8120
|
+
// 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
|
|
8087
8121
|
var identity = strictObject({
|
|
8088
8122
|
ref: reference,
|
|
8089
8123
|
provider: text,
|
|
@@ -8099,7 +8133,7 @@ var identity = strictObject({
|
|
|
8099
8133
|
person: optional(nullable(reference))
|
|
8100
8134
|
});
|
|
8101
8135
|
|
|
8102
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8136
|
+
// 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
|
|
8103
8137
|
var imageEmbedding = strictObject({
|
|
8104
8138
|
model: text,
|
|
8105
8139
|
embedded: count,
|
|
@@ -8108,13 +8142,13 @@ var imageEmbedding = strictObject({
|
|
|
8108
8142
|
more: boolean()
|
|
8109
8143
|
});
|
|
8110
8144
|
|
|
8111
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8145
|
+
// 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
|
|
8112
8146
|
import { spawn } from "node:child_process";
|
|
8113
8147
|
import { randomBytes } from "node:crypto";
|
|
8114
8148
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8115
8149
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8116
8150
|
|
|
8117
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8151
|
+
// 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
|
|
8118
8152
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8119
8153
|
const total = input.total ?? null;
|
|
8120
8154
|
const updated = input.updatedAt ?? null;
|
|
@@ -8130,7 +8164,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8130
8164
|
};
|
|
8131
8165
|
}, "progressOf");
|
|
8132
8166
|
|
|
8133
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8167
|
+
// 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
|
|
8134
8168
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8135
8169
|
const run = currentRun();
|
|
8136
8170
|
const trace = traceId ?? run.traceId;
|
|
@@ -8144,7 +8178,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8144
8178
|
}));
|
|
8145
8179
|
}, "recordLogFor");
|
|
8146
8180
|
|
|
8147
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8181
|
+
// 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
|
|
8148
8182
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8149
8183
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8150
8184
|
const out = openSync(log, "a", 384);
|
|
@@ -8299,7 +8333,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8299
8333
|
return { job: id6, pid, chat: input.chat, log };
|
|
8300
8334
|
}, "startArchiveJob");
|
|
8301
8335
|
|
|
8302
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8336
|
+
// 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
|
|
8303
8337
|
var problem = strictObject({ code: text, message: text });
|
|
8304
8338
|
var job = strictObject({
|
|
8305
8339
|
id,
|
|
@@ -8322,7 +8356,7 @@ var job = strictObject({
|
|
|
8322
8356
|
error: optional(problem)
|
|
8323
8357
|
});
|
|
8324
8358
|
|
|
8325
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8359
|
+
// 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
|
|
8326
8360
|
var joinRequest = strictObject({
|
|
8327
8361
|
person_id: id,
|
|
8328
8362
|
name: nullable(text),
|
|
@@ -8333,7 +8367,7 @@ var joinRequest = strictObject({
|
|
|
8333
8367
|
about: optional(text)
|
|
8334
8368
|
});
|
|
8335
8369
|
|
|
8336
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8370
|
+
// 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
|
|
8337
8371
|
var botProfile = strictObject({
|
|
8338
8372
|
name: text,
|
|
8339
8373
|
token: text,
|
|
@@ -8457,7 +8491,7 @@ var stickerInventory = strictObject({
|
|
|
8457
8491
|
url: optional(nullable(text))
|
|
8458
8492
|
});
|
|
8459
8493
|
|
|
8460
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8494
|
+
// 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
|
|
8461
8495
|
var pollVote = strictObject({
|
|
8462
8496
|
person_id: id,
|
|
8463
8497
|
name: nullable(text),
|
|
@@ -8467,7 +8501,7 @@ var pollVote = strictObject({
|
|
|
8467
8501
|
voted_at: time
|
|
8468
8502
|
});
|
|
8469
8503
|
|
|
8470
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8504
|
+
// 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
|
|
8471
8505
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8472
8506
|
var observation = strictObject({
|
|
8473
8507
|
value: pipe(number(), minValue(0)),
|
|
@@ -8509,7 +8543,7 @@ var serveSummary = strictObject({
|
|
|
8509
8543
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8510
8544
|
});
|
|
8511
8545
|
|
|
8512
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8546
|
+
// 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
|
|
8513
8547
|
var mailCounts = strictObject({
|
|
8514
8548
|
by: picklist(["day", "week", "sender"]),
|
|
8515
8549
|
received: count,
|
|
@@ -8524,7 +8558,7 @@ var mailCounts = strictObject({
|
|
|
8524
8558
|
}))
|
|
8525
8559
|
});
|
|
8526
8560
|
|
|
8527
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8561
|
+
// 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
|
|
8528
8562
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8529
8563
|
var base = { id, evidence: array(evidence2) };
|
|
8530
8564
|
var finding = variant("kind", [
|
|
@@ -8662,13 +8696,13 @@ var mailFindings = strictObject({
|
|
|
8662
8696
|
fingerprint: text,
|
|
8663
8697
|
status: picklist(["proposed", "reviewed"]),
|
|
8664
8698
|
author,
|
|
8665
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
8699
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
8666
8700
|
decided_at: nullable(time),
|
|
8667
8701
|
previous: array(outcome2),
|
|
8668
8702
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8669
8703
|
});
|
|
8670
8704
|
|
|
8671
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8705
|
+
// 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
|
|
8672
8706
|
var mediaArchive = strictObject({
|
|
8673
8707
|
directory: text,
|
|
8674
8708
|
chats: count,
|
|
@@ -8700,7 +8734,7 @@ var mediaArchiveTimer = union([
|
|
|
8700
8734
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8701
8735
|
]);
|
|
8702
8736
|
|
|
8703
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8737
|
+
// 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
|
|
8704
8738
|
var preparationId = pipe(string(), minLength(1));
|
|
8705
8739
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8706
8740
|
var preparationTime = nullable(isoTime);
|
|
@@ -8792,7 +8826,7 @@ var preparationMeeting = strictObject({
|
|
|
8792
8826
|
updated_at: isoTime
|
|
8793
8827
|
});
|
|
8794
8828
|
|
|
8795
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8829
|
+
// 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
|
|
8796
8830
|
var meetingEvidence = preparationEvidence;
|
|
8797
8831
|
var meetingPersonContext = strictObject({
|
|
8798
8832
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8814,7 +8848,7 @@ var meetingPersonContext = strictObject({
|
|
|
8814
8848
|
})
|
|
8815
8849
|
});
|
|
8816
8850
|
|
|
8817
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8851
|
+
// 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
|
|
8818
8852
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8819
8853
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8820
8854
|
var finding2 = variant("kind", [
|
|
@@ -8846,13 +8880,13 @@ var meetingFindings = strictObject({
|
|
|
8846
8880
|
fingerprint: text,
|
|
8847
8881
|
status: picklist(["proposed", "reviewed"]),
|
|
8848
8882
|
author,
|
|
8849
|
-
decided_by: nullable(strictObject({ type: picklist(["person", "
|
|
8883
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
|
|
8850
8884
|
decided_at: nullable(time),
|
|
8851
8885
|
previous: array(outcome3),
|
|
8852
8886
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8853
8887
|
});
|
|
8854
8888
|
|
|
8855
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
8889
|
+
// 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
|
|
8856
8890
|
var communicationCoverage = strictObject({
|
|
8857
8891
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8858
8892
|
query: string(),
|
|
@@ -8897,7 +8931,7 @@ var preparationCommunications = strictObject({
|
|
|
8897
8931
|
}))
|
|
8898
8932
|
});
|
|
8899
8933
|
|
|
8900
|
-
// 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/meeting-preparation.js
|
|
8901
8935
|
var meetingPreparation = strictObject({
|
|
8902
8936
|
communications: optional(preparationCommunications),
|
|
8903
8937
|
schema_version: literal(1),
|
|
@@ -9010,7 +9044,7 @@ var meetingPreparation = strictObject({
|
|
|
9010
9044
|
})
|
|
9011
9045
|
});
|
|
9012
9046
|
|
|
9013
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9047
|
+
// 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
|
|
9014
9048
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9015
9049
|
var id3 = pipe(string(), minLength(1));
|
|
9016
9050
|
var text3 = string();
|
|
@@ -9074,7 +9108,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9074
9108
|
})
|
|
9075
9109
|
});
|
|
9076
9110
|
|
|
9077
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9111
|
+
// 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
|
|
9078
9112
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9079
9113
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9080
9114
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9104,7 +9138,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9104
9138
|
})
|
|
9105
9139
|
});
|
|
9106
9140
|
|
|
9107
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9141
|
+
// 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
|
|
9108
9142
|
var text4 = string();
|
|
9109
9143
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9110
9144
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9121,7 +9155,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9121
9155
|
persistence: literal("proposal-only")
|
|
9122
9156
|
});
|
|
9123
9157
|
|
|
9124
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9158
|
+
// 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
|
|
9125
9159
|
var memory = strictObject({
|
|
9126
9160
|
ref: reference,
|
|
9127
9161
|
id,
|
|
@@ -9149,7 +9183,7 @@ var memory = strictObject({
|
|
|
9149
9183
|
updated_at: time
|
|
9150
9184
|
});
|
|
9151
9185
|
|
|
9152
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9186
|
+
// 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
|
|
9153
9187
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9154
9188
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9155
9189
|
var mention = strictObject({
|
|
@@ -9193,7 +9227,7 @@ var mentionRebuild = strictObject({
|
|
|
9193
9227
|
mentions: count
|
|
9194
9228
|
});
|
|
9195
9229
|
|
|
9196
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9230
|
+
// 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
|
|
9197
9231
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9198
9232
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9199
9233
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9202,7 +9236,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9202
9236
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9203
9237
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9204
9238
|
|
|
9205
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9239
|
+
// 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
|
|
9206
9240
|
var messageTranscript = strictObject({
|
|
9207
9241
|
message_id: id,
|
|
9208
9242
|
text,
|
|
@@ -9260,7 +9294,7 @@ var evidencePacket = strictObject({
|
|
|
9260
9294
|
}))
|
|
9261
9295
|
});
|
|
9262
9296
|
|
|
9263
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9297
|
+
// 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
|
|
9264
9298
|
var messageThread = strictObject({
|
|
9265
9299
|
ref: reference,
|
|
9266
9300
|
chat: id,
|
|
@@ -9277,7 +9311,7 @@ var messageThread = strictObject({
|
|
|
9277
9311
|
});
|
|
9278
9312
|
var messageContext = union([message, messageThread]);
|
|
9279
9313
|
|
|
9280
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9314
|
+
// 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
|
|
9281
9315
|
var messageCounts = strictObject({
|
|
9282
9316
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9283
9317
|
total: count,
|
|
@@ -9290,7 +9324,7 @@ var messageCounts = strictObject({
|
|
|
9290
9324
|
}))
|
|
9291
9325
|
});
|
|
9292
9326
|
|
|
9293
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9327
|
+
// 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
|
|
9294
9328
|
var messageLink = strictObject({
|
|
9295
9329
|
ref: reference,
|
|
9296
9330
|
url: nullable(text),
|
|
@@ -9307,7 +9341,7 @@ var messageLink = strictObject({
|
|
|
9307
9341
|
})))
|
|
9308
9342
|
});
|
|
9309
9343
|
|
|
9310
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9344
|
+
// 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
|
|
9311
9345
|
var savedMessageFile = strictObject({
|
|
9312
9346
|
kind: text,
|
|
9313
9347
|
path: text,
|
|
@@ -9394,7 +9428,7 @@ var messageSyncAll = strictObject({
|
|
|
9394
9428
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9395
9429
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9396
9430
|
|
|
9397
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9431
|
+
// 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
|
|
9398
9432
|
var messageWrite = strictObject({
|
|
9399
9433
|
operation_id: id,
|
|
9400
9434
|
message,
|
|
@@ -9409,7 +9443,7 @@ var draftWrite = strictObject({
|
|
|
9409
9443
|
});
|
|
9410
9444
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9411
9445
|
|
|
9412
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9446
|
+
// 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
|
|
9413
9447
|
var model2 = strictObject({
|
|
9414
9448
|
id,
|
|
9415
9449
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9444,7 +9478,7 @@ var chosenModel = strictObject({
|
|
|
9444
9478
|
estimate_seconds: nullable(count)
|
|
9445
9479
|
});
|
|
9446
9480
|
|
|
9447
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9481
|
+
// 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
|
|
9448
9482
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9449
9483
|
var modelKey = strictObject({
|
|
9450
9484
|
provider: text,
|
|
@@ -9454,7 +9488,7 @@ var modelKey = strictObject({
|
|
|
9454
9488
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9455
9489
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9456
9490
|
|
|
9457
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9491
|
+
// 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
|
|
9458
9492
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9459
9493
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9460
9494
|
var graph = strictObject({
|
|
@@ -9488,14 +9522,14 @@ var officialStats = strictObject({
|
|
|
9488
9522
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9489
9523
|
});
|
|
9490
9524
|
|
|
9491
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9525
|
+
// 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
|
|
9492
9526
|
var person2 = strictObject({
|
|
9493
9527
|
ref: reference,
|
|
9494
9528
|
name: nullable(text),
|
|
9495
9529
|
identities: optional(array(identity))
|
|
9496
9530
|
});
|
|
9497
9531
|
|
|
9498
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9532
|
+
// 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
|
|
9499
9533
|
var poll = strictObject({
|
|
9500
9534
|
chat_id: id,
|
|
9501
9535
|
message_id: id,
|
|
@@ -9511,11 +9545,11 @@ var poll = strictObject({
|
|
|
9511
9545
|
});
|
|
9512
9546
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9513
9547
|
|
|
9514
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9548
|
+
// 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
|
|
9515
9549
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9516
9550
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9517
9551
|
|
|
9518
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9552
|
+
// 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
|
|
9519
9553
|
var figures = record(string(), number());
|
|
9520
9554
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9521
9555
|
var rankingRow = strictObject({
|
|
@@ -9562,7 +9596,7 @@ var ranking = strictObject({
|
|
|
9562
9596
|
rows: array(rankingRow)
|
|
9563
9597
|
});
|
|
9564
9598
|
|
|
9565
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9599
|
+
// 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
|
|
9566
9600
|
var reaction = strictObject({
|
|
9567
9601
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9568
9602
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9570,7 +9604,7 @@ var reaction = strictObject({
|
|
|
9570
9604
|
reacted_at: time
|
|
9571
9605
|
});
|
|
9572
9606
|
|
|
9573
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9607
|
+
// 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
|
|
9574
9608
|
var reactionChange = strictObject({
|
|
9575
9609
|
operation_id: id,
|
|
9576
9610
|
chat_id: id,
|
|
@@ -9578,7 +9612,7 @@ var reactionChange = strictObject({
|
|
|
9578
9612
|
reaction: nullable(text)
|
|
9579
9613
|
});
|
|
9580
9614
|
|
|
9581
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9615
|
+
// 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
|
|
9582
9616
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9583
9617
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9584
9618
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9589,7 +9623,7 @@ var recipientChange = strictObject({
|
|
|
9589
9623
|
...partial(recipientOff).entries
|
|
9590
9624
|
});
|
|
9591
9625
|
|
|
9592
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9626
|
+
// 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
|
|
9593
9627
|
var events = array(record(string(), unknown()));
|
|
9594
9628
|
var recordedRun = strictObject({
|
|
9595
9629
|
run_id: id,
|
|
@@ -9661,7 +9695,7 @@ var runHit = strictObject({
|
|
|
9661
9695
|
});
|
|
9662
9696
|
var runLocation = strictObject({ path: text });
|
|
9663
9697
|
|
|
9664
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9698
|
+
// 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
|
|
9665
9699
|
var relationship = strictObject({
|
|
9666
9700
|
id,
|
|
9667
9701
|
from: reference,
|
|
@@ -9688,7 +9722,7 @@ var relationship = strictObject({
|
|
|
9688
9722
|
created_at: time
|
|
9689
9723
|
});
|
|
9690
9724
|
|
|
9691
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9725
|
+
// 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
|
|
9692
9726
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9693
9727
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9694
9728
|
var responseTimes = strictObject({
|
|
@@ -9705,7 +9739,7 @@ var waitingChats = strictObject({
|
|
|
9705
9739
|
by_kind: strictObject({ private: count, group: count })
|
|
9706
9740
|
});
|
|
9707
9741
|
|
|
9708
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9742
|
+
// 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
|
|
9709
9743
|
var retentionCohort = strictObject({
|
|
9710
9744
|
/** The first day of the joining day or week. */
|
|
9711
9745
|
cohort: text,
|
|
@@ -9753,7 +9787,7 @@ var retention = strictObject({
|
|
|
9753
9787
|
rows: array(retentionCohort)
|
|
9754
9788
|
});
|
|
9755
9789
|
|
|
9756
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9790
|
+
// 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
|
|
9757
9791
|
var savedSearch = strictObject({
|
|
9758
9792
|
id,
|
|
9759
9793
|
/** `null` for a run in the history. */
|
|
@@ -9770,7 +9804,7 @@ var savedSearch = strictObject({
|
|
|
9770
9804
|
});
|
|
9771
9805
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9772
9806
|
|
|
9773
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9807
|
+
// 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
|
|
9774
9808
|
var sendAttempt = strictObject({
|
|
9775
9809
|
at: time,
|
|
9776
9810
|
profile: text,
|
|
@@ -9798,7 +9832,7 @@ var sendAttempt = strictObject({
|
|
|
9798
9832
|
error_code: optional(text)
|
|
9799
9833
|
});
|
|
9800
9834
|
|
|
9801
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
9835
|
+
// 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
|
|
9802
9836
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9803
9837
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9804
9838
|
var infoSchema = strictObject({
|
|
@@ -9843,7 +9877,7 @@ var perAccount = { chats: count, messages: count, emails: count, documents: coun
|
|
|
9843
9877
|
var contents = {
|
|
9844
9878
|
by_provider: optional(array(strictObject({ provider: text, accounts: count, ...perAccount }))),
|
|
9845
9879
|
by_chat_kind: optional(array(strictObject({ provider: text, kind: text, chats: count, messages: count }))),
|
|
9846
|
-
/** `name` is the one `
|
|
9880
|
+
/** `name` is the one `session list` shows; the messenger's own id for the account is left out. */
|
|
9847
9881
|
by_account: optional(array(strictObject({ provider: text, account_id: count, name: nullable(text), ...perAccount }))),
|
|
9848
9882
|
/** Calendar years in UTC. */
|
|
9849
9883
|
by_year: optional(array(strictObject({ provider: text, year: count, messages: count }))),
|
|
@@ -10028,7 +10062,7 @@ var storeRepair = union([
|
|
|
10028
10062
|
]);
|
|
10029
10063
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10030
10064
|
|
|
10031
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10065
|
+
// 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
|
|
10032
10066
|
var range = strictObject({ from: number(), to: number() });
|
|
10033
10067
|
var storeChatStatus = strictObject({
|
|
10034
10068
|
chat_id: id,
|
|
@@ -10126,7 +10160,7 @@ var storeJobRetry = union([
|
|
|
10126
10160
|
]);
|
|
10127
10161
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10128
10162
|
|
|
10129
|
-
// 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/store-table.js
|
|
10130
10164
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10131
10165
|
var storeTable = strictObject({
|
|
10132
10166
|
name: text,
|
|
@@ -10135,7 +10169,7 @@ var storeTable = strictObject({
|
|
|
10135
10169
|
bytes: optional(nullable(count))
|
|
10136
10170
|
});
|
|
10137
10171
|
|
|
10138
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10172
|
+
// 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
|
|
10139
10173
|
var tagTarget = variant("type", [
|
|
10140
10174
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10141
10175
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10166,7 +10200,7 @@ var automaticTags = strictObject({
|
|
|
10166
10200
|
dry_run: boolean()
|
|
10167
10201
|
});
|
|
10168
10202
|
|
|
10169
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10203
|
+
// 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
|
|
10170
10204
|
var tagging = strictObject({
|
|
10171
10205
|
tag: text,
|
|
10172
10206
|
type: picklist(TAG_TYPES),
|
|
@@ -10179,7 +10213,7 @@ var tagging = strictObject({
|
|
|
10179
10213
|
created_at: time
|
|
10180
10214
|
});
|
|
10181
10215
|
|
|
10182
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10216
|
+
// 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
|
|
10183
10217
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10184
10218
|
var taskPair = strictObject({
|
|
10185
10219
|
task: nullable(side),
|
|
@@ -10202,7 +10236,7 @@ var taskPair = strictObject({
|
|
|
10202
10236
|
created_at: time
|
|
10203
10237
|
});
|
|
10204
10238
|
|
|
10205
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10239
|
+
// 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
|
|
10206
10240
|
var nullableTime = nullable(time);
|
|
10207
10241
|
var link = strictObject({
|
|
10208
10242
|
id,
|
|
@@ -10226,7 +10260,7 @@ var taskCard = strictObject({
|
|
|
10226
10260
|
project: reference,
|
|
10227
10261
|
project_key: text,
|
|
10228
10262
|
project_name: text,
|
|
10229
|
-
created_by: nullable(strictObject({ type: picklist(["person", "
|
|
10263
|
+
created_by: nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() })),
|
|
10230
10264
|
title: text,
|
|
10231
10265
|
description: nullable(text),
|
|
10232
10266
|
type: picklist(TASK_TYPES),
|
|
@@ -10376,7 +10410,7 @@ var taskReview = strictObject({
|
|
|
10376
10410
|
untrusted
|
|
10377
10411
|
});
|
|
10378
10412
|
|
|
10379
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10413
|
+
// 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
|
|
10380
10414
|
var template = strictObject({
|
|
10381
10415
|
key: text,
|
|
10382
10416
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10388,7 +10422,7 @@ var template = strictObject({
|
|
|
10388
10422
|
updated_by: nullable(text)
|
|
10389
10423
|
});
|
|
10390
10424
|
|
|
10391
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10425
|
+
// 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
|
|
10392
10426
|
var topic = strictObject({
|
|
10393
10427
|
id,
|
|
10394
10428
|
title: text,
|
|
@@ -10402,7 +10436,7 @@ var topic = strictObject({
|
|
|
10402
10436
|
untrusted
|
|
10403
10437
|
});
|
|
10404
10438
|
|
|
10405
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10439
|
+
// 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
|
|
10406
10440
|
var ENTITIES = {
|
|
10407
10441
|
sync_progress: progress,
|
|
10408
10442
|
deal,
|
|
@@ -10658,6 +10692,7 @@ var ENTITIES = {
|
|
|
10658
10692
|
chat_rules: chatRules,
|
|
10659
10693
|
chat_moderation: chatModeration,
|
|
10660
10694
|
"model.chosen": chosenModel,
|
|
10695
|
+
domain_list: domainList,
|
|
10661
10696
|
model_key: modelKey,
|
|
10662
10697
|
chat_sending: chatSending,
|
|
10663
10698
|
"model_key.stored": storedModelKey,
|
|
@@ -10704,7 +10739,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10704
10739
|
return [name, definition];
|
|
10705
10740
|
})), "entityDefinitions");
|
|
10706
10741
|
|
|
10707
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10742
|
+
// 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
|
|
10708
10743
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10709
10744
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10710
10745
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10738,7 +10773,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10738
10773
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10739
10774
|
}, "answerRow");
|
|
10740
10775
|
|
|
10741
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10776
|
+
// 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
|
|
10742
10777
|
import { join as join5 } from "node:path";
|
|
10743
10778
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10744
10779
|
var IMAGE_MODELS = [
|
|
@@ -10792,7 +10827,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10792
10827
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10793
10828
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10794
10829
|
|
|
10795
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10830
|
+
// 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
|
|
10796
10831
|
var STEPS2 = defineSteps([
|
|
10797
10832
|
...STEPS,
|
|
10798
10833
|
{
|
|
@@ -11096,7 +11131,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11096
11131
|
].join(" ");
|
|
11097
11132
|
}, "stepLine");
|
|
11098
11133
|
|
|
11099
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11134
|
+
// 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
|
|
11100
11135
|
var where = [{ field: "ref" }];
|
|
11101
11136
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11102
11137
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11188,7 +11223,7 @@ var STATUS_ROWS = {
|
|
|
11188
11223
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11189
11224
|
};
|
|
11190
11225
|
|
|
11191
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11226
|
+
// 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
|
|
11192
11227
|
var TEXT_CHARS = 400;
|
|
11193
11228
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11194
11229
|
var messageRow = {
|
|
@@ -11560,7 +11595,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11560
11595
|
return lines.concat(footerOf(body)).join("\n");
|
|
11561
11596
|
}, "compactText");
|
|
11562
11597
|
|
|
11563
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11598
|
+
// 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
|
|
11564
11599
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11565
11600
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11566
11601
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11618,7 +11653,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11618
11653
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11619
11654
|
}, "largeAnswerSteps");
|
|
11620
11655
|
|
|
11621
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11656
|
+
// 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
|
|
11622
11657
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11623
11658
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11624
11659
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11632,7 +11667,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11632
11667
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11633
11668
|
}, "strip");
|
|
11634
11669
|
|
|
11635
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11670
|
+
// 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
|
|
11636
11671
|
var OPEN = "\u27E6";
|
|
11637
11672
|
var CLOSE = "\u27E7";
|
|
11638
11673
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11739,7 +11774,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11739
11774
|
return result;
|
|
11740
11775
|
}, "withFieldsMarked");
|
|
11741
11776
|
|
|
11742
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
11777
|
+
// 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
|
|
11743
11778
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11744
11779
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11745
11780
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|