@wirecat/notion-cli 0.3.0 → 0.5.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 +48 -0
- package/README.md +3 -0
- package/contracts/wirecat.json +49 -0
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/{all-profiles-4IONYZB6.js → all-profiles-V37KCXH3.js} +9 -9
- package/dist/bundle/{anthropic-OXF74J4P.js → anthropic-Q4S3BYXD.js} +5 -5
- package/dist/bundle/{app-server-M2VF6ABM.js → app-server-43SR3ACI.js} +54 -54
- package/dist/bundle/{bun-DLA6QRLL.js → bun-M3J2QTR3.js} +2 -2
- package/dist/bundle/{bun-sqlite-F4BYLW3F.js → bun-sqlite-EJ3W2PSV.js} +6 -6
- package/dist/bundle/{chunk-7NGFGFE5.js → chunk-2FJNMADN.js} +7 -7
- package/dist/bundle/{chunk-RMJMID5D.js → chunk-3RL2MIUF.js} +8 -8
- package/dist/bundle/{chunk-GCCPFKSU.js → chunk-5P5TXU2K.js} +462 -392
- package/dist/bundle/{chunk-L62XTC7N.js → chunk-6EOZTUHT.js} +10 -10
- package/dist/bundle/{chunk-4TQVZXOV.js → chunk-AT5I34AN.js} +3 -3
- package/dist/bundle/{chunk-CBGBFAYJ.js → chunk-B3FSLAIU.js} +6 -4
- package/dist/bundle/{chunk-7NVPM55S.js → chunk-BBSFQ3PU.js} +1262 -1048
- package/dist/bundle/{chunk-JIRRF6BM.js → chunk-BNEE35WD.js} +4 -4
- package/dist/bundle/{chunk-HTKSCSJU.js → chunk-BWLBSQSU.js} +3 -3
- package/dist/bundle/{chunk-T5UNSFES.js → chunk-C32AKHTY.js} +8 -8
- package/dist/bundle/{chunk-GK4GLPG2.js → chunk-CDK5E45T.js} +3 -3
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
- package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-DB2XKHI4.js} +2 -2
- package/dist/bundle/{chunk-Z53LYX4M.js → chunk-DBEQI5YM.js} +3 -3
- package/dist/bundle/{chunk-2MHMKNWD.js → chunk-DFCHHR5M.js} +1 -1
- package/dist/bundle/{chunk-OI5DWZJG.js → chunk-DO7BLXO3.js} +3 -3
- package/dist/bundle/{chunk-5UA2TYMI.js → chunk-DSP36YHQ.js} +2 -2
- package/dist/bundle/{chunk-WZEEEQGC.js → chunk-E2AFUJDR.js} +3 -3
- package/dist/bundle/{chunk-YFWLHTNO.js → chunk-E5WLE7BM.js} +1 -1
- package/dist/bundle/{chunk-P3P6DA6K.js → chunk-ECC2UX7X.js} +6 -6
- package/dist/bundle/{chunk-GSNE7OB4.js → chunk-ECEZOLOD.js} +4 -4
- package/dist/bundle/{chunk-CIVXTBJY.js → chunk-FBZI4Z3Z.js} +41 -41
- package/dist/bundle/{chunk-5XP4KQ2F.js → chunk-FKA7DOCK.js} +1 -1
- package/dist/bundle/chunk-FPUGMDJV.js +7 -0
- package/dist/bundle/{chunk-OCDJ4FFA.js → chunk-G2MJYXZG.js} +3 -3
- package/dist/bundle/{chunk-5LBJNTEJ.js → chunk-GCZ6MAEN.js} +6 -6
- package/dist/bundle/{chunk-M2EEIYBU.js → chunk-GTY6N5KZ.js} +2 -2
- package/dist/bundle/{chunk-TJCPTRYD.js → chunk-H3E2PZ5Y.js} +7 -7
- package/dist/bundle/{chunk-FSJHASRQ.js → chunk-HHVFIXDO.js} +304 -265
- package/dist/bundle/{chunk-6JBLIQQN.js → chunk-HZRQLAHO.js} +1 -1
- package/dist/bundle/{chunk-WU3XHGOB.js → chunk-J3NKZ6MO.js} +17 -15
- package/dist/bundle/{chunk-QX3TPFEX.js → chunk-JCKWQGCD.js} +36 -36
- package/dist/bundle/{chunk-4KUJTSHG.js → chunk-KHWOLBHQ.js} +2 -2
- package/dist/bundle/{chunk-R6SDRSZK.js → chunk-KHZ2RGXI.js} +33 -32
- package/dist/bundle/{chunk-SGBS5QCU.js → chunk-LBYGJKXW.js} +4 -4
- package/dist/bundle/{chunk-EY6S7FV3.js → chunk-MNRMKWCN.js} +6 -6
- package/dist/bundle/{chunk-TFNRCCGR.js → chunk-N2XADGL4.js} +3 -3
- package/dist/bundle/{chunk-IJMFG7HB.js → chunk-NA6QLHBZ.js} +7 -7
- package/dist/bundle/{chunk-TXONV3HW.js → chunk-NE43YXKL.js} +2 -2
- package/dist/bundle/{chunk-TZ2QJ53V.js → chunk-NHHJHXMQ.js} +2 -2
- package/dist/bundle/{chunk-K5I64ZVI.js → chunk-NTG657MI.js} +8 -8
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
- package/dist/bundle/{chunk-KL3P5TQK.js → chunk-O5YB7FQD.js} +4 -4
- package/dist/bundle/{chunk-WHJWURZB.js → chunk-ONZVPE24.js} +5 -5
- package/dist/bundle/{chunk-7NF3V5L2.js → chunk-P5BHKKBI.js} +4 -4
- package/dist/bundle/{chunk-GBFEEHQC.js → chunk-PAW6RRCW.js} +11 -26
- package/dist/bundle/{chunk-D6RCRBDH.js → chunk-PPHBRESD.js} +2 -2
- package/dist/bundle/{chunk-MRA62W5K.js → chunk-PWRRDDMZ.js} +182 -170
- package/dist/bundle/{chunk-COH7OEER.js → chunk-QIG55MZH.js} +12 -12
- package/dist/bundle/{chunk-L6H7PY4X.js → chunk-QWYMXFKM.js} +3 -3
- package/dist/bundle/{chunk-M6DGZ2O6.js → chunk-QYXWRKNA.js} +7 -7
- package/dist/bundle/{chunk-JODE2XED.js → chunk-RIGE67FR.js} +24 -24
- package/dist/bundle/{chunk-ZC6ZQQ55.js → chunk-RJMQGG3P.js} +30 -30
- package/dist/bundle/{chunk-BEPFGITI.js → chunk-TD2JZ25O.js} +59 -56
- package/dist/bundle/{chunk-EQPAZ33O.js → chunk-TDNURSU6.js} +17 -17
- package/dist/bundle/{chunk-6GN7KU7X.js → chunk-TOSCB4SO.js} +14 -8
- package/dist/bundle/{chunk-Y5LAJWR5.js → chunk-TP7GDWVF.js} +1 -1
- package/dist/bundle/{chunk-UROEWCOG.js → chunk-UZSBGECU.js} +3 -3
- package/dist/bundle/{chunk-7YZPBAQX.js → chunk-W53EJOFQ.js} +1 -1
- package/dist/bundle/{chunk-AYU5TFDU.js → chunk-W5JZMXGW.js} +29 -20
- package/dist/bundle/{chunk-UKE3CGHK.js → chunk-W7HM2VGO.js} +1 -1
- package/dist/bundle/{chunk-FEMHUSGO.js → chunk-WE4UFASG.js} +1 -1
- package/dist/bundle/{chunk-XCTOCVMW.js → chunk-WPP76PSX.js} +14 -14
- package/dist/bundle/{chunk-YGCI3DHS.js → chunk-X2M6NIQG.js} +1 -1
- package/dist/bundle/{chunk-CDGZZNGY.js → chunk-XUPN2EHR.js} +21 -7
- package/dist/bundle/command-contract-TVRFW2IX.js +38 -0
- package/dist/bundle/{command-server-entry-2SORMVRM.js → command-server-entry-LJ627ZUA.js} +26 -26
- package/dist/bundle/{decode-5O7IEFPN.js → decode-PX2LZ5Y2.js} +5 -5
- package/dist/bundle/{dispatch-YHQX6FEJ.js → dispatch-KOISQ5QJ.js} +8 -8
- package/dist/bundle/{echarts-ARLMVQC7.js → echarts-FVTUDXDU.js} +2 -2
- package/dist/bundle/{embed-FUDUKQ3K.js → embed-CCSDK43I.js} +6 -6
- package/dist/bundle/{embedder-HDRV7GX3.js → embedder-VHI4DHB7.js} +9 -9
- package/dist/bundle/{failure-JHXICWIL.js → failure-FZ6VYKEQ.js} +2 -2
- package/dist/bundle/{first-run-BGEFTXOE.js → first-run-7JKE5AHN.js} +12 -12
- package/dist/bundle/first-screen-ZROHOEYJ.js +38 -0
- package/dist/bundle/{instructions-MEFIKCDI.js → instructions-HET7BCYK.js} +1 -1
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
- package/dist/bundle/meeting-combined-SSTOJUIJ.js +24 -0
- package/dist/bundle/{meeting-model-REZVYGQW.js → meeting-model-K7TPS4S5.js} +12 -12
- package/dist/bundle/{meeting-semantic-R4CSLVRG.js → meeting-semantic-UD26T37N.js} +6 -6
- package/dist/bundle/{node-MAQALPLA.js → node-CXZIFHZC.js} +2 -2
- package/dist/bundle/{node-sqlite-J7IJYNBO.js → node-sqlite-ME7KMORI.js} +7 -7
- package/dist/bundle/notion.js +13 -13
- package/dist/bundle/{oauth-AMV4YGJD.js → oauth-XBTROXHB.js} +7 -7
- package/dist/bundle/{open-AB27MTGR.js → open-HA6D3SXR.js} +5 -5
- package/dist/bundle/{openai-D77MU5XV.js → openai-H5AJPZBX.js} +16 -16
- package/dist/bundle/{process-SIOWTRJ6.js → process-5RUXWGYS.js} +1 -1
- package/dist/bundle/{program-QC5MX4ZJ.js → program-F3NBTZ7J.js} +1961 -994
- package/dist/bundle/{prompt-W77YDHA6.js → prompt-6XSUOLHK.js} +5 -5
- package/dist/bundle/{recognize-3JAXQQ36.js → recognize-2Y7AUVGG.js} +4 -4
- package/dist/bundle/{remote-PSOJXCXO.js → remote-KCABPXQ3.js} +10 -10
- package/dist/bundle/{rerank-EE44ZTGL.js → rerank-BTN7LUVA.js} +7 -7
- package/dist/bundle/{schemas-LBYUMBC6.js → schemas-VVLTLMXS.js} +1 -1
- package/dist/bundle/{serve-XJMGAMFW.js → serve-CYEMVRFC.js} +9 -9
- package/dist/bundle/server-UC2FNNXX.js +72 -0
- package/dist/bundle/{server-ASU6CP5R.js → server-WFIICGMI.js} +46 -46
- package/dist/bundle/{services-PT4PA4J6.js → services-L4W6ZWDG.js} +41 -41
- package/dist/bundle/{sqlite-runtime-YHXRTVXE.js → sqlite-runtime-IKMYLRQC.js} +6 -6
- package/dist/bundle/{state-T6ZKFWGD.js → state-LMUP636P.js} +6 -6
- package/dist/bundle/{store-3MUCZEI3.js → store-A2QZFBOX.js} +19 -17
- package/dist/bundle/{store-E5EE25FY.js → store-W2JC2JP4.js} +19 -19
- package/dist/bundle/store-maintenance-command-LRGQJPSZ.js +63 -0
- package/dist/commands/comments.d.ts +4 -0
- package/dist/commands/comments.d.ts.map +1 -0
- package/dist/commands/comments.js +80 -0
- package/dist/commands/comments.js.map +1 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +5 -102
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/files.d.ts +4 -0
- package/dist/commands/files.d.ts.map +1 -0
- package/dist/commands/files.js +57 -0
- package/dist/commands/files.js.map +1 -0
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +56 -12
- package/dist/commands/library.js.map +1 -1
- package/dist/commands/writing.d.ts +32 -0
- package/dist/commands/writing.d.ts.map +1 -0
- package/dist/commands/writing.js +126 -0
- package/dist/commands/writing.js.map +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +3 -0
- package/dist/config.js.map +1 -1
- package/dist/generated/manifest.d.ts +4 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +20 -0
- package/dist/generated/manifest.js.map +1 -1
- package/dist/knowledge.d.ts +1 -0
- package/dist/knowledge.d.ts.map +1 -1
- package/dist/knowledge.js +68 -2
- package/dist/knowledge.js.map +1 -1
- package/dist/library.d.ts +4 -1
- package/dist/library.d.ts.map +1 -1
- package/dist/library.js +11 -0
- package/dist/library.js.map +1 -1
- package/dist/notion/errors.d.ts.map +1 -1
- package/dist/notion/errors.js +2 -0
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/notion.d.ts +38 -0
- package/dist/notion/notion.d.ts.map +1 -1
- package/dist/notion/notion.js +43 -0
- package/dist/notion/notion.js.map +1 -1
- package/dist/notion/port.d.ts.map +1 -1
- package/dist/notion/port.js +1 -0
- package/dist/notion/port.js.map +1 -1
- package/dist/notion/reads.d.ts +13 -1
- package/dist/notion/reads.d.ts.map +1 -1
- package/dist/notion/reads.js +1 -1
- package/dist/notion/writes.d.ts +38 -0
- package/dist/notion/writes.d.ts.map +1 -1
- package/dist/notion/writes.js +73 -0
- package/dist/notion/writes.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +21 -2
- package/dist/program.js.map +1 -1
- package/dist/sync/browse.d.ts +30 -0
- package/dist/sync/browse.d.ts.map +1 -0
- package/dist/sync/browse.js +67 -0
- package/dist/sync/browse.js.map +1 -0
- package/dist/sync/cursor.d.ts +17 -0
- package/dist/sync/cursor.d.ts.map +1 -1
- package/dist/sync/cursor.js +28 -0
- package/dist/sync/cursor.js.map +1 -1
- package/dist/sync/files.d.ts +8 -0
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/files.js +10 -0
- package/dist/sync/files.js.map +1 -1
- package/dist/sync/source.d.ts +4 -4
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +49 -60
- package/dist/sync/source.js.map +1 -1
- package/dist/sync/users.d.ts +9 -0
- package/dist/sync/users.d.ts.map +1 -0
- package/dist/sync/users.js +76 -0
- package/dist/sync/users.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-SHTHNBHG.js +0 -2
- package/dist/bundle/command-contract-UBXS6NHI.js +0 -38
- package/dist/bundle/first-screen-F5F3VS6Y.js +0 -38
- package/dist/bundle/meeting-combined-HNSS3FQY.js +0 -24
- package/dist/bundle/server-WSPQ5EOA.js +0 -72
- package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +0 -63
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NA6QLHBZ.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AT5I34AN.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ONZVPE24.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-W53EJOFQ.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BWLBSQSU.js";
|
|
26
26
|
import {
|
|
27
27
|
BUSINESS_KINDS,
|
|
28
28
|
CATEGORIES,
|
|
@@ -80,14 +80,14 @@ import {
|
|
|
80
80
|
typedCommand,
|
|
81
81
|
untrusted,
|
|
82
82
|
useAsProcessRun
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-JCKWQGCD.js";
|
|
84
84
|
import {
|
|
85
85
|
isCliFailure,
|
|
86
86
|
storeDamaged
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-UZSBGECU.js";
|
|
88
88
|
import {
|
|
89
89
|
TAG_TYPES
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-DSP36YHQ.js";
|
|
91
91
|
import {
|
|
92
92
|
FACT_TYPES,
|
|
93
93
|
FIELD_TYPES,
|
|
@@ -115,21 +115,21 @@ import {
|
|
|
115
115
|
parseLucene,
|
|
116
116
|
readsZone,
|
|
117
117
|
timezoneOf
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-HHVFIXDO.js";
|
|
119
119
|
import {
|
|
120
120
|
endpoint
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-E2AFUJDR.js";
|
|
122
122
|
import {
|
|
123
123
|
repairConfigText,
|
|
124
124
|
sharedConfigPath
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-H3E2PZ5Y.js";
|
|
126
126
|
import {
|
|
127
127
|
filesPresent,
|
|
128
128
|
sharedModelsDirectory
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-BNEE35WD.js";
|
|
130
130
|
import {
|
|
131
131
|
storePath
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-GTY6N5KZ.js";
|
|
133
133
|
import {
|
|
134
134
|
configFilePath,
|
|
135
135
|
createRecordLog,
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
resolvePaths,
|
|
142
142
|
saveConfigFile,
|
|
143
143
|
writeSecurely
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-W5JZMXGW.js";
|
|
145
145
|
import {
|
|
146
146
|
COMPACT_FLAG,
|
|
147
147
|
MAX_NEXT_STEPS,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
reference,
|
|
159
159
|
stepOf,
|
|
160
160
|
writes
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-TOSCB4SO.js";
|
|
162
162
|
import {
|
|
163
163
|
array,
|
|
164
164
|
boolean,
|
|
@@ -201,12 +201,12 @@ import {
|
|
|
201
201
|
isCliError,
|
|
202
202
|
singleLine,
|
|
203
203
|
visibleControls
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-DB2XKHI4.js";
|
|
205
205
|
import {
|
|
206
206
|
__name
|
|
207
207
|
} from "./chunk-ZVVMGPBJ.js";
|
|
208
208
|
|
|
209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
210
210
|
import { readFileSync } from "node:fs";
|
|
211
211
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
212
212
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -260,7 +260,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
260
260
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
261
261
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
262
262
|
|
|
263
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
263
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
264
264
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
265
265
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
266
266
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3761,7 +3761,7 @@ __name(useColor, "useColor");
|
|
|
3761
3761
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3762
3762
|
var program = new Command();
|
|
3763
3763
|
|
|
3764
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3764
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3765
3765
|
var argumentInfoSchema = object({
|
|
3766
3766
|
name: string(),
|
|
3767
3767
|
required: boolean(),
|
|
@@ -3835,7 +3835,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3835
3835
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3836
3836
|
});
|
|
3837
3837
|
|
|
3838
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3838
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3839
3839
|
import { isDeepStrictEqual } from "node:util";
|
|
3840
3840
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3841
3841
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3945,7 +3945,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3945
3945
|
return result;
|
|
3946
3946
|
}, "sharedCommand");
|
|
3947
3947
|
|
|
3948
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3948
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3949
3949
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3950
3950
|
let command = root;
|
|
3951
3951
|
const path2 = [];
|
|
@@ -3963,7 +3963,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3963
3963
|
}
|
|
3964
3964
|
}, "refuseJoinedPath");
|
|
3965
3965
|
|
|
3966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3967
3967
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3968
3968
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3969
3969
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4389,7 +4389,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4389
4389
|
}
|
|
4390
4390
|
}, "assertRetentionEvidenceRead");
|
|
4391
4391
|
|
|
4392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
4393
4393
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4394
4394
|
var requests = new AsyncLocalStorage();
|
|
4395
4395
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -4404,7 +4404,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
4404
4404
|
return direct;
|
|
4405
4405
|
}, "exitCodeSet");
|
|
4406
4406
|
|
|
4407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
4408
4408
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4409
4409
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
4410
4410
|
messageId: message2.id,
|
|
@@ -4510,7 +4510,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4510
4510
|
}, "guardedWrite");
|
|
4511
4511
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4512
4512
|
|
|
4513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4514
4514
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4515
4515
|
try {
|
|
4516
4516
|
return work();
|
|
@@ -4537,7 +4537,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4537
4537
|
return projectFields(value, fields);
|
|
4538
4538
|
}), "projectFields");
|
|
4539
4539
|
|
|
4540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4541
4541
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4542
4542
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4543
4543
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4720,7 +4720,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4720
4720
|
}
|
|
4721
4721
|
}, "withAbort");
|
|
4722
4722
|
|
|
4723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4724
4724
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4725
4725
|
import { join } from "node:path";
|
|
4726
4726
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4742,7 +4742,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4742
4742
|
}, "profilesWithAccounts");
|
|
4743
4743
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4744
4744
|
|
|
4745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4746
4746
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4747
4747
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4748
4748
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4799,7 +4799,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4799
4799
|
};
|
|
4800
4800
|
}, "runBudget");
|
|
4801
4801
|
|
|
4802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4803
4803
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4804
4804
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4805
4805
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4835,7 +4835,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4835
4835
|
return value;
|
|
4836
4836
|
}, "atDetail");
|
|
4837
4837
|
|
|
4838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/output.js
|
|
4839
4839
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4840
4840
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4841
4841
|
if (other)
|
|
@@ -4899,7 +4899,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4899
4899
|
}, "warn")
|
|
4900
4900
|
}), "silence");
|
|
4901
4901
|
|
|
4902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4903
4903
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4904
4904
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4905
4905
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4937,7 +4937,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4937
4937
|
progress: "sync.progress"
|
|
4938
4938
|
};
|
|
4939
4939
|
|
|
4940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4941
4941
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4942
4942
|
const recording = startRecording(options);
|
|
4943
4943
|
try {
|
|
@@ -5152,7 +5152,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5152
5152
|
return void 0;
|
|
5153
5153
|
}, "partialOutcome");
|
|
5154
5154
|
|
|
5155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5156
5156
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5157
5157
|
if (ms2 === void 0)
|
|
5158
5158
|
return body();
|
|
@@ -5178,7 +5178,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5178
5178
|
}
|
|
5179
5179
|
}, "withDeadline");
|
|
5180
5180
|
|
|
5181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5182
5182
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5183
5183
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5184
5184
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5247,10 +5247,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5247
5247
|
return void 0;
|
|
5248
5248
|
}, "sampleCommand");
|
|
5249
5249
|
|
|
5250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5251
5251
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5252
5252
|
|
|
5253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5253
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5254
5254
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5255
5255
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5256
5256
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5319,7 +5319,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5319
5319
|
};
|
|
5320
5320
|
}, "modelTarget");
|
|
5321
5321
|
|
|
5322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5323
5323
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5324
5324
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5325
5325
|
var AI_FIELDS = {
|
|
@@ -5363,7 +5363,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5363
5363
|
};
|
|
5364
5364
|
}, "resolveAISettings");
|
|
5365
5365
|
|
|
5366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5367
5367
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5368
5368
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5369
5369
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5377,7 +5377,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5377
5377
|
return ms2;
|
|
5378
5378
|
}, "parseDuration");
|
|
5379
5379
|
|
|
5380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5381
5381
|
var HISTORY_MAX_DAYS = 1095;
|
|
5382
5382
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5383
5383
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5424,7 +5424,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5424
5424
|
return { batch: { ...batch, messages }, skipped };
|
|
5425
5425
|
}, "limitBatch");
|
|
5426
5426
|
|
|
5427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5428
5428
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5429
5429
|
import { join as join2 } from "node:path";
|
|
5430
5430
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5513,7 +5513,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5513
5513
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5514
5514
|
}, "registryProfiles");
|
|
5515
5515
|
|
|
5516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5517
5517
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5518
5518
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5519
5519
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5808,7 +5808,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5808
5808
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5809
5809
|
}, "readConfigFile");
|
|
5810
5810
|
|
|
5811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5812
5812
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5813
5813
|
import { dirname, join as join3 } from "node:path";
|
|
5814
5814
|
var DEFAULT_CONFIG = {
|
|
@@ -5837,7 +5837,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5837
5837
|
}
|
|
5838
5838
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5839
5839
|
|
|
5840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5841
5841
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5842
5842
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5843
5843
|
const path2 = key.split(".");
|
|
@@ -5859,7 +5859,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5859
5859
|
return { config, added };
|
|
5860
5860
|
}, "withSettingDefaults");
|
|
5861
5861
|
|
|
5862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5863
5863
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5864
5864
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5865
5865
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6387,7 +6387,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6387
6387
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6388
6388
|
}, "given");
|
|
6389
6389
|
|
|
6390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6391
6391
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6392
6392
|
const { deadline, signal, app } = environmentOf(command);
|
|
6393
6393
|
const now = deadline?.();
|
|
@@ -6413,9 +6413,17 @@ var provide = /* @__PURE__ */ __name((program2, environment) => {
|
|
|
6413
6413
|
environments.set(program2, environment);
|
|
6414
6414
|
}, "provide");
|
|
6415
6415
|
var environmentOf = /* @__PURE__ */ __name((command) => environments.get(rootOf(command)) ?? {}, "environmentOf");
|
|
6416
|
+
var PAGING = ["page", "limit", "all"];
|
|
6417
|
+
var withoutOwnPaging = /* @__PURE__ */ __name((command, flags) => {
|
|
6418
|
+
if (metaOf(command).origin !== "generated")
|
|
6419
|
+
return flags;
|
|
6420
|
+
const own = PAGING.filter((name) => command.options.some((option) => option.attributeName() === name));
|
|
6421
|
+
return own.length > 0 ? Object.fromEntries(Object.entries(flags).filter(([name]) => !own.includes(name))) : flags;
|
|
6422
|
+
}, "withoutOwnPaging");
|
|
6416
6423
|
var withAgentLevels = /* @__PURE__ */ __name((command, flags) => {
|
|
6417
6424
|
const overrides = environmentOf(command).agent?.overrides ?? [];
|
|
6418
|
-
|
|
6425
|
+
const read = withoutOwnPaging(command, flags);
|
|
6426
|
+
return overrides.length > 0 ? { ...read, permission: [...overrides, ...read.permission ?? []] } : read;
|
|
6419
6427
|
}, "withAgentLevels");
|
|
6420
6428
|
var secretInputOf = /* @__PURE__ */ __name((command) => {
|
|
6421
6429
|
const { stdin, stderr } = environmentOf(command);
|
|
@@ -6533,7 +6541,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6533
6541
|
return words.join(" ");
|
|
6534
6542
|
}, "commandPath");
|
|
6535
6543
|
|
|
6536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6537
6545
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6538
6546
|
var FETCH = { remote: "read", local: "write" };
|
|
6539
6547
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6669,7 +6677,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6669
6677
|
throw readOnlyRefusal(lock, what);
|
|
6670
6678
|
}, "refuseUnderReadOnly");
|
|
6671
6679
|
|
|
6672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6673
6681
|
var account = strictObject({
|
|
6674
6682
|
provider: text,
|
|
6675
6683
|
id,
|
|
@@ -6679,7 +6687,7 @@ var account = strictObject({
|
|
|
6679
6687
|
scope: optional(picklist(["personal", "work"]))
|
|
6680
6688
|
});
|
|
6681
6689
|
|
|
6682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6683
6691
|
var accountSession = strictObject({
|
|
6684
6692
|
current: boolean(),
|
|
6685
6693
|
client: nullable(text),
|
|
@@ -6689,7 +6697,7 @@ var accountSession = strictObject({
|
|
|
6689
6697
|
created_at: optional(nullable(time))
|
|
6690
6698
|
});
|
|
6691
6699
|
|
|
6692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6693
6701
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6694
6702
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6695
6703
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6718,7 +6726,7 @@ var accountRemoval = strictObject({
|
|
|
6718
6726
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6719
6727
|
});
|
|
6720
6728
|
|
|
6721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6722
6730
|
var accountProfile = strictObject({
|
|
6723
6731
|
profile: id,
|
|
6724
6732
|
current: boolean(),
|
|
@@ -6730,7 +6738,7 @@ var accountProfile = strictObject({
|
|
|
6730
6738
|
bot: optional(literal(true))
|
|
6731
6739
|
});
|
|
6732
6740
|
|
|
6733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6741
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6734
6742
|
var milliseconds = pipe(number(), minValue(0));
|
|
6735
6743
|
var counterReading = strictObject({
|
|
6736
6744
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6742,7 +6750,7 @@ var counterReading = strictObject({
|
|
|
6742
6750
|
});
|
|
6743
6751
|
var selection = record(string(), unknown());
|
|
6744
6752
|
|
|
6745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6746
6754
|
var adminRow = strictObject({
|
|
6747
6755
|
ref: reference,
|
|
6748
6756
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6795,7 +6803,7 @@ var adminReport = strictObject({
|
|
|
6795
6803
|
rows: array(adminRow)
|
|
6796
6804
|
});
|
|
6797
6805
|
|
|
6798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6799
6807
|
var closeSuggestion = strictObject({
|
|
6800
6808
|
as: picklist(["done", "dismissed"]),
|
|
6801
6809
|
/** The agent's name. */
|
|
@@ -6857,7 +6865,7 @@ var task = strictObject({
|
|
|
6857
6865
|
updated_at: optional(time)
|
|
6858
6866
|
});
|
|
6859
6867
|
|
|
6860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6861
6869
|
var agendaChat = strictObject({
|
|
6862
6870
|
chat: reference,
|
|
6863
6871
|
title: nullable(text),
|
|
@@ -6927,11 +6935,11 @@ var agenda = strictObject({
|
|
|
6927
6935
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6928
6936
|
});
|
|
6929
6937
|
|
|
6930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6931
6939
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6932
6940
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6933
6941
|
|
|
6934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6935
6943
|
var attachment = strictObject({
|
|
6936
6944
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6937
6945
|
message: optional(reference),
|
|
@@ -6976,7 +6984,7 @@ var hitFile = strictObject({
|
|
|
6976
6984
|
local_path: optional(text)
|
|
6977
6985
|
});
|
|
6978
6986
|
|
|
6979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6987
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6980
6988
|
var actionableError = objectWithRest({
|
|
6981
6989
|
code: text,
|
|
6982
6990
|
message: text,
|
|
@@ -6993,7 +7001,7 @@ var batchResult = strictObject({
|
|
|
6993
7001
|
max_error_percent: count
|
|
6994
7002
|
});
|
|
6995
7003
|
|
|
6996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6997
7005
|
var extractionItem = strictObject({
|
|
6998
7006
|
ref: reference,
|
|
6999
7007
|
attachment: count,
|
|
@@ -7026,7 +7034,7 @@ var extractionReport = strictObject({
|
|
|
7026
7034
|
cursor: optional(text)
|
|
7027
7035
|
});
|
|
7028
7036
|
|
|
7029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7030
7038
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7031
7039
|
var attachmentBytes = strictObject({
|
|
7032
7040
|
ref: reference,
|
|
@@ -7057,7 +7065,7 @@ var attachmentTextChange = strictObject({
|
|
|
7057
7065
|
text: optional(text)
|
|
7058
7066
|
});
|
|
7059
7067
|
|
|
7060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7061
7069
|
var WEIGHTS = {
|
|
7062
7070
|
bot: 3,
|
|
7063
7071
|
scam: 3,
|
|
@@ -7082,7 +7090,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7082
7090
|
var DIGITS = /\d{5,}/;
|
|
7083
7091
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7084
7092
|
|
|
7085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7086
7094
|
var linkedIdentity = strictObject({
|
|
7087
7095
|
provider: text,
|
|
7088
7096
|
id,
|
|
@@ -7137,7 +7145,7 @@ var contactCheck = strictObject({
|
|
|
7137
7145
|
checked_at: time
|
|
7138
7146
|
});
|
|
7139
7147
|
|
|
7140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7141
7149
|
var member = strictObject({
|
|
7142
7150
|
id,
|
|
7143
7151
|
name: nullable(text),
|
|
@@ -7160,7 +7168,7 @@ var member = strictObject({
|
|
|
7160
7168
|
check: optional(record(string(), unknown()))
|
|
7161
7169
|
});
|
|
7162
7170
|
|
|
7163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7164
7172
|
var setting = optional(nullable(boolean()));
|
|
7165
7173
|
var chat = strictObject({
|
|
7166
7174
|
ref: reference,
|
|
@@ -7201,7 +7209,7 @@ var chat = strictObject({
|
|
|
7201
7209
|
members: optional(array(member))
|
|
7202
7210
|
});
|
|
7203
7211
|
|
|
7204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7205
7213
|
var quoted = strictObject({
|
|
7206
7214
|
id,
|
|
7207
7215
|
sender_id: nullable(id),
|
|
@@ -7320,7 +7328,7 @@ var message = strictObject({
|
|
|
7320
7328
|
provider_metadata: providerMetadata
|
|
7321
7329
|
});
|
|
7322
7330
|
|
|
7323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7324
7332
|
var recordedMeeting = strictObject({
|
|
7325
7333
|
ref: reference,
|
|
7326
7334
|
meeting_id: count,
|
|
@@ -7337,7 +7345,7 @@ var recordedMeeting = strictObject({
|
|
|
7337
7345
|
call: optional(meetingCall)
|
|
7338
7346
|
});
|
|
7339
7347
|
|
|
7340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7341
7349
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7342
7350
|
var contextMessage = strictObject({
|
|
7343
7351
|
locator: reference,
|
|
@@ -7543,7 +7551,7 @@ var contactPreparation = strictObject({
|
|
|
7543
7551
|
})
|
|
7544
7552
|
});
|
|
7545
7553
|
|
|
7546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7547
7555
|
var nullableText = nullable(text);
|
|
7548
7556
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7549
7557
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7699,7 +7707,7 @@ var stage = strictObject({
|
|
|
7699
7707
|
untrusted
|
|
7700
7708
|
});
|
|
7701
7709
|
|
|
7702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7703
7711
|
var nullableText2 = nullable(text);
|
|
7704
7712
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7705
7713
|
var standing = picklist(STANDINGS);
|
|
@@ -7785,6 +7793,16 @@ var taskLine = strictObject({
|
|
|
7785
7793
|
due_at: nullable(time)
|
|
7786
7794
|
});
|
|
7787
7795
|
var counts = { messages: count, mail: count, meetings: count };
|
|
7796
|
+
var touch = {
|
|
7797
|
+
kind: picklist(["message", "mail", "meeting"]),
|
|
7798
|
+
ref: reference,
|
|
7799
|
+
title: nullableText2,
|
|
7800
|
+
at: nullable(time),
|
|
7801
|
+
people: array(reference),
|
|
7802
|
+
text: optional(nullableText2),
|
|
7803
|
+
call: optional(meetingCall),
|
|
7804
|
+
duration_ms: optional(nullable(count))
|
|
7805
|
+
};
|
|
7788
7806
|
var personBusiness = strictObject({
|
|
7789
7807
|
organizations: section(strictObject({ ...related.entries, categories })),
|
|
7790
7808
|
reports_to: section(related),
|
|
@@ -7824,6 +7842,8 @@ var organizationContext = strictObject({
|
|
|
7824
7842
|
money,
|
|
7825
7843
|
/** Counts only, through its own people, in the accounts read. */
|
|
7826
7844
|
communications: strictObject({ ...counts, has_more: boolean() }),
|
|
7845
|
+
/** Its people's messages, mail and meetings, newest first. */
|
|
7846
|
+
history: section(strictObject(touch)),
|
|
7827
7847
|
tasks: section(taskLine),
|
|
7828
7848
|
coverage: coverage2
|
|
7829
7849
|
});
|
|
@@ -7839,17 +7859,7 @@ var dealContext = strictObject({
|
|
|
7839
7859
|
window: strictObject({ since: time, until: time }),
|
|
7840
7860
|
/** Shared people within its lifetime: `proposed`, an overlap of people, never a link. */
|
|
7841
7861
|
communications: strictObject({
|
|
7842
|
-
...section(strictObject({
|
|
7843
|
-
kind: picklist(["message", "mail", "meeting"]),
|
|
7844
|
-
ref: reference,
|
|
7845
|
-
title: nullableText2,
|
|
7846
|
-
at: nullable(time),
|
|
7847
|
-
people: array(reference),
|
|
7848
|
-
text: optional(nullableText2),
|
|
7849
|
-
call: optional(meetingCall),
|
|
7850
|
-
duration_ms: optional(nullable(count)),
|
|
7851
|
-
standing: literal("proposed")
|
|
7852
|
-
})).entries,
|
|
7862
|
+
...section(strictObject({ ...touch, standing: literal("proposed") })).entries,
|
|
7853
7863
|
counts: strictObject(counts)
|
|
7854
7864
|
}),
|
|
7855
7865
|
tasks: section(taskLine),
|
|
@@ -7876,7 +7886,7 @@ var dealBrief = strictObject({
|
|
|
7876
7886
|
not_read: coverage2.entries.not_read
|
|
7877
7887
|
});
|
|
7878
7888
|
|
|
7879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7880
7890
|
var chart = strictObject({
|
|
7881
7891
|
version: literal(1),
|
|
7882
7892
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7891,7 +7901,7 @@ var chart = strictObject({
|
|
|
7891
7901
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7892
7902
|
});
|
|
7893
7903
|
|
|
7894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7895
7905
|
var named2 = strictObject({
|
|
7896
7906
|
id,
|
|
7897
7907
|
title: nullable(text),
|
|
@@ -7914,7 +7924,7 @@ var folder = strictObject({
|
|
|
7914
7924
|
excluded_chats: optional(array(named2))
|
|
7915
7925
|
});
|
|
7916
7926
|
|
|
7917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7918
7928
|
var inviteLink = strictObject({
|
|
7919
7929
|
link: text,
|
|
7920
7930
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7930,7 +7940,7 @@ var inviteLink = strictObject({
|
|
|
7930
7940
|
joined_count: optional(count)
|
|
7931
7941
|
});
|
|
7932
7942
|
|
|
7933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7934
7944
|
var operated = { operation_id: id, chat_id: id };
|
|
7935
7945
|
var group = strictObject({
|
|
7936
7946
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8010,7 +8020,7 @@ var chatFolderOrder = strictObject({
|
|
|
8010
8020
|
folders: array(strictObject({ id, title: text }))
|
|
8011
8021
|
});
|
|
8012
8022
|
|
|
8013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8014
8024
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8015
8025
|
var chatRemoval = strictObject(operated2);
|
|
8016
8026
|
var chatMuting = strictObject({
|
|
@@ -8021,7 +8031,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8021
8031
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8022
8032
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8023
8033
|
|
|
8024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8025
8035
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8026
8036
|
var chatEvent = strictObject({
|
|
8027
8037
|
chat_id: id,
|
|
@@ -8038,7 +8048,7 @@ var chatEvent = strictObject({
|
|
|
8038
8048
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8039
8049
|
});
|
|
8040
8050
|
|
|
8041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8042
8052
|
var chatMetadata = strictObject({
|
|
8043
8053
|
chat_id: id,
|
|
8044
8054
|
title: nullable(text),
|
|
@@ -8053,7 +8063,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8053
8063
|
has_more: boolean()
|
|
8054
8064
|
});
|
|
8055
8065
|
|
|
8056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8057
8067
|
var action = picklist(["report", "delete", "remove"]);
|
|
8058
8068
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8059
8069
|
var chatRules = strictObject({
|
|
@@ -8090,7 +8100,7 @@ var chatModeration = strictObject({
|
|
|
8090
8100
|
}))
|
|
8091
8101
|
});
|
|
8092
8102
|
|
|
8093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
8094
8104
|
var chatSending = strictObject({
|
|
8095
8105
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
8096
8106
|
meaning: text,
|
|
@@ -8100,7 +8110,7 @@ var chatSending = strictObject({
|
|
|
8100
8110
|
changed: optional(boolean())
|
|
8101
8111
|
});
|
|
8102
8112
|
|
|
8103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8104
8114
|
var optionalCount = optional(count);
|
|
8105
8115
|
var minutes = nullable(number());
|
|
8106
8116
|
var chatStats = strictObject({
|
|
@@ -8176,7 +8186,7 @@ var taskStats = strictObject({
|
|
|
8176
8186
|
}))
|
|
8177
8187
|
});
|
|
8178
8188
|
|
|
8179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8180
8190
|
var memberCount = strictObject({
|
|
8181
8191
|
day: pipe(text, isoDate()),
|
|
8182
8192
|
participants: nullable(count),
|
|
@@ -8199,7 +8209,7 @@ var chatTracking = strictObject({
|
|
|
8199
8209
|
tracked: boolean()
|
|
8200
8210
|
});
|
|
8201
8211
|
|
|
8202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8203
8213
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8204
8214
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8205
8215
|
var profileFields = {
|
|
@@ -8237,7 +8247,7 @@ var profileFields = {
|
|
|
8237
8247
|
}))
|
|
8238
8248
|
};
|
|
8239
8249
|
|
|
8240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8241
8251
|
var contact = strictObject({
|
|
8242
8252
|
ref: reference,
|
|
8243
8253
|
id,
|
|
@@ -8268,7 +8278,7 @@ var contact = strictObject({
|
|
|
8268
8278
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8269
8279
|
});
|
|
8270
8280
|
|
|
8271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8272
8282
|
var contactNote = strictObject({
|
|
8273
8283
|
id,
|
|
8274
8284
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8280,13 +8290,13 @@ var contactNote = strictObject({
|
|
|
8280
8290
|
updated_at: time
|
|
8281
8291
|
});
|
|
8282
8292
|
|
|
8283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8284
8294
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8285
8295
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8286
8296
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8287
8297
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8288
8298
|
|
|
8289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8290
8300
|
var conversation = strictObject({
|
|
8291
8301
|
id,
|
|
8292
8302
|
chat: reference,
|
|
@@ -8301,7 +8311,7 @@ var conversation = strictObject({
|
|
|
8301
8311
|
rules_version: count
|
|
8302
8312
|
});
|
|
8303
8313
|
|
|
8304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8314
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8305
8315
|
var conversationBuild = strictObject({
|
|
8306
8316
|
chat: id,
|
|
8307
8317
|
messages: count,
|
|
@@ -8326,7 +8336,7 @@ var catchUpPreparation = strictObject({
|
|
|
8326
8336
|
prepared: optional(conversationPreparation)
|
|
8327
8337
|
});
|
|
8328
8338
|
|
|
8329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8330
8340
|
var conversationDetails = union([
|
|
8331
8341
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8332
8342
|
message
|
|
@@ -8416,7 +8426,7 @@ var conversationHit = strictObject({
|
|
|
8416
8426
|
stale: boolean()
|
|
8417
8427
|
});
|
|
8418
8428
|
|
|
8419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8420
8430
|
var counters = strictObject({
|
|
8421
8431
|
cutoff: time,
|
|
8422
8432
|
max_age_ms: milliseconds,
|
|
@@ -8446,7 +8456,7 @@ var counterRefresh = strictObject({
|
|
|
8446
8456
|
complete: optional(boolean())
|
|
8447
8457
|
});
|
|
8448
8458
|
|
|
8449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8450
8460
|
var document = strictObject({
|
|
8451
8461
|
ref: reference,
|
|
8452
8462
|
id,
|
|
@@ -8461,7 +8471,7 @@ var document = strictObject({
|
|
|
8461
8471
|
owners: optional(array(text))
|
|
8462
8472
|
});
|
|
8463
8473
|
|
|
8464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8465
8475
|
var documentLink = strictObject({
|
|
8466
8476
|
ref: reference,
|
|
8467
8477
|
url: text,
|
|
@@ -8472,7 +8482,7 @@ var documentLink = strictObject({
|
|
|
8472
8482
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8473
8483
|
});
|
|
8474
8484
|
|
|
8475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8476
8486
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8477
8487
|
var contribution = strictObject({
|
|
8478
8488
|
message: evidenceMessage,
|
|
@@ -8502,7 +8512,7 @@ var retentionStay = strictObject({
|
|
|
8502
8512
|
});
|
|
8503
8513
|
var evidence = union([contribution, retentionStay]);
|
|
8504
8514
|
|
|
8505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8506
8516
|
var fact = strictObject({
|
|
8507
8517
|
ref: reference,
|
|
8508
8518
|
id,
|
|
@@ -8533,7 +8543,7 @@ var fact = strictObject({
|
|
|
8533
8543
|
updated_at: time
|
|
8534
8544
|
});
|
|
8535
8545
|
|
|
8536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8537
8547
|
var hit = strictObject({
|
|
8538
8548
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8539
8549
|
ref: reference,
|
|
@@ -8581,7 +8591,7 @@ var hit = strictObject({
|
|
|
8581
8591
|
untrusted
|
|
8582
8592
|
});
|
|
8583
8593
|
|
|
8584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8585
8595
|
var identity = strictObject({
|
|
8586
8596
|
ref: reference,
|
|
8587
8597
|
provider: text,
|
|
@@ -8597,7 +8607,7 @@ var identity = strictObject({
|
|
|
8597
8607
|
person: optional(nullable(reference))
|
|
8598
8608
|
});
|
|
8599
8609
|
|
|
8600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8601
8611
|
var imageEmbedding = strictObject({
|
|
8602
8612
|
model: text,
|
|
8603
8613
|
embedded: count,
|
|
@@ -8606,13 +8616,13 @@ var imageEmbedding = strictObject({
|
|
|
8606
8616
|
more: boolean()
|
|
8607
8617
|
});
|
|
8608
8618
|
|
|
8609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8610
8620
|
import { spawn } from "node:child_process";
|
|
8611
8621
|
import { randomBytes } from "node:crypto";
|
|
8612
8622
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8613
8623
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8614
8624
|
|
|
8615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8616
8626
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8617
8627
|
const total = input.total ?? null;
|
|
8618
8628
|
const updated = input.updatedAt ?? null;
|
|
@@ -8628,7 +8638,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8628
8638
|
};
|
|
8629
8639
|
}, "progressOf");
|
|
8630
8640
|
|
|
8631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8632
8642
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8633
8643
|
const run = currentRun();
|
|
8634
8644
|
const trace = traceId ?? run.traceId;
|
|
@@ -8642,7 +8652,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8642
8652
|
}));
|
|
8643
8653
|
}, "recordLogFor");
|
|
8644
8654
|
|
|
8645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8646
8656
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8647
8657
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8648
8658
|
const out = openSync(log, "a", 384);
|
|
@@ -8797,7 +8807,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8797
8807
|
return { job: id6, pid, chat: input.chat, log };
|
|
8798
8808
|
}, "startArchiveJob");
|
|
8799
8809
|
|
|
8800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8801
8811
|
var problem = strictObject({ code: text, message: text });
|
|
8802
8812
|
var job = strictObject({
|
|
8803
8813
|
id,
|
|
@@ -8820,7 +8830,7 @@ var job = strictObject({
|
|
|
8820
8830
|
error: optional(problem)
|
|
8821
8831
|
});
|
|
8822
8832
|
|
|
8823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8824
8834
|
var joinRequest = strictObject({
|
|
8825
8835
|
person_id: id,
|
|
8826
8836
|
name: nullable(text),
|
|
@@ -8831,7 +8841,7 @@ var joinRequest = strictObject({
|
|
|
8831
8841
|
about: optional(text)
|
|
8832
8842
|
});
|
|
8833
8843
|
|
|
8834
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8835
8845
|
var botProfile = strictObject({
|
|
8836
8846
|
name: text,
|
|
8837
8847
|
token: text,
|
|
@@ -8955,7 +8965,7 @@ var stickerInventory = strictObject({
|
|
|
8955
8965
|
url: optional(nullable(text))
|
|
8956
8966
|
});
|
|
8957
8967
|
|
|
8958
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8959
8969
|
var pollVote = strictObject({
|
|
8960
8970
|
person_id: id,
|
|
8961
8971
|
name: nullable(text),
|
|
@@ -8965,7 +8975,7 @@ var pollVote = strictObject({
|
|
|
8965
8975
|
voted_at: time
|
|
8966
8976
|
});
|
|
8967
8977
|
|
|
8968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8969
8979
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8970
8980
|
var observation = strictObject({
|
|
8971
8981
|
value: pipe(number(), minValue(0)),
|
|
@@ -9007,7 +9017,7 @@ var serveSummary = strictObject({
|
|
|
9007
9017
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9008
9018
|
});
|
|
9009
9019
|
|
|
9010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9011
9021
|
var mailCounts = strictObject({
|
|
9012
9022
|
by: picklist(["day", "week", "sender"]),
|
|
9013
9023
|
received: count,
|
|
@@ -9022,7 +9032,7 @@ var mailCounts = strictObject({
|
|
|
9022
9032
|
}))
|
|
9023
9033
|
});
|
|
9024
9034
|
|
|
9025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9026
9036
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9027
9037
|
var base = { id, evidence: array(evidence2) };
|
|
9028
9038
|
var finding = variant("kind", [
|
|
@@ -9166,7 +9176,7 @@ var mailFindings = strictObject({
|
|
|
9166
9176
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9167
9177
|
});
|
|
9168
9178
|
|
|
9169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9170
9180
|
var mediaArchive = strictObject({
|
|
9171
9181
|
directory: text,
|
|
9172
9182
|
chats: count,
|
|
@@ -9198,7 +9208,7 @@ var mediaArchiveTimer = union([
|
|
|
9198
9208
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9199
9209
|
]);
|
|
9200
9210
|
|
|
9201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9202
9212
|
var preparationId = pipe(string(), minLength(1));
|
|
9203
9213
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9204
9214
|
var preparationTime = nullable(isoTime);
|
|
@@ -9290,7 +9300,7 @@ var preparationMeeting = strictObject({
|
|
|
9290
9300
|
updated_at: isoTime
|
|
9291
9301
|
});
|
|
9292
9302
|
|
|
9293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9294
9304
|
var meetingEvidence = preparationEvidence;
|
|
9295
9305
|
var meetingPersonContext = strictObject({
|
|
9296
9306
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9312,7 +9322,7 @@ var meetingPersonContext = strictObject({
|
|
|
9312
9322
|
})
|
|
9313
9323
|
});
|
|
9314
9324
|
|
|
9315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9316
9326
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9317
9327
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9318
9328
|
var finding2 = variant("kind", [
|
|
@@ -9350,7 +9360,7 @@ var meetingFindings = strictObject({
|
|
|
9350
9360
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9351
9361
|
});
|
|
9352
9362
|
|
|
9353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9363
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9354
9364
|
var communicationCoverage = strictObject({
|
|
9355
9365
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9356
9366
|
query: string(),
|
|
@@ -9395,7 +9405,7 @@ var preparationCommunications = strictObject({
|
|
|
9395
9405
|
}))
|
|
9396
9406
|
});
|
|
9397
9407
|
|
|
9398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9399
9409
|
var meetingPreparation = strictObject({
|
|
9400
9410
|
communications: optional(preparationCommunications),
|
|
9401
9411
|
schema_version: literal(1),
|
|
@@ -9508,7 +9518,7 @@ var meetingPreparation = strictObject({
|
|
|
9508
9518
|
})
|
|
9509
9519
|
});
|
|
9510
9520
|
|
|
9511
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9512
9522
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9513
9523
|
var id3 = pipe(string(), minLength(1));
|
|
9514
9524
|
var text3 = string();
|
|
@@ -9572,7 +9582,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9572
9582
|
})
|
|
9573
9583
|
});
|
|
9574
9584
|
|
|
9575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9576
9586
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9577
9587
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9578
9588
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9602,7 +9612,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9602
9612
|
})
|
|
9603
9613
|
});
|
|
9604
9614
|
|
|
9605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9606
9616
|
var text4 = string();
|
|
9607
9617
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9608
9618
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9619,7 +9629,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9619
9629
|
persistence: literal("proposal-only")
|
|
9620
9630
|
});
|
|
9621
9631
|
|
|
9622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9623
9633
|
var memory = strictObject({
|
|
9624
9634
|
ref: reference,
|
|
9625
9635
|
id,
|
|
@@ -9647,7 +9657,7 @@ var memory = strictObject({
|
|
|
9647
9657
|
updated_at: time
|
|
9648
9658
|
});
|
|
9649
9659
|
|
|
9650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9651
9661
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9652
9662
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9653
9663
|
var mention = strictObject({
|
|
@@ -9691,13 +9701,13 @@ var mentionRebuild = strictObject({
|
|
|
9691
9701
|
mentions: count
|
|
9692
9702
|
});
|
|
9693
9703
|
|
|
9694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9695
9705
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9696
9706
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9697
9707
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9698
9708
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9699
9709
|
|
|
9700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9701
9711
|
var messageTranscript = strictObject({
|
|
9702
9712
|
message_id: id,
|
|
9703
9713
|
text,
|
|
@@ -9755,7 +9765,7 @@ var evidencePacket = strictObject({
|
|
|
9755
9765
|
}))
|
|
9756
9766
|
});
|
|
9757
9767
|
|
|
9758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9759
9769
|
var messageThread = strictObject({
|
|
9760
9770
|
ref: reference,
|
|
9761
9771
|
chat: id,
|
|
@@ -9772,7 +9782,7 @@ var messageThread = strictObject({
|
|
|
9772
9782
|
});
|
|
9773
9783
|
var messageContext = union([message, messageThread]);
|
|
9774
9784
|
|
|
9775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9776
9786
|
var messageCounts = strictObject({
|
|
9777
9787
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9778
9788
|
total: count,
|
|
@@ -9785,7 +9795,7 @@ var messageCounts = strictObject({
|
|
|
9785
9795
|
}))
|
|
9786
9796
|
});
|
|
9787
9797
|
|
|
9788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9789
9799
|
var messageLink = strictObject({
|
|
9790
9800
|
ref: reference,
|
|
9791
9801
|
url: nullable(text),
|
|
@@ -9802,7 +9812,7 @@ var messageLink = strictObject({
|
|
|
9802
9812
|
})))
|
|
9803
9813
|
});
|
|
9804
9814
|
|
|
9805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9806
9816
|
var savedMessageFile = strictObject({
|
|
9807
9817
|
kind: text,
|
|
9808
9818
|
path: text,
|
|
@@ -9889,7 +9899,7 @@ var messageSyncAll = strictObject({
|
|
|
9889
9899
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9890
9900
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9891
9901
|
|
|
9892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9893
9903
|
var messageWrite = strictObject({
|
|
9894
9904
|
operation_id: id,
|
|
9895
9905
|
message,
|
|
@@ -9904,7 +9914,7 @@ var draftWrite = strictObject({
|
|
|
9904
9914
|
});
|
|
9905
9915
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9906
9916
|
|
|
9907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9908
9918
|
var model2 = strictObject({
|
|
9909
9919
|
id,
|
|
9910
9920
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9939,7 +9949,7 @@ var chosenModel = strictObject({
|
|
|
9939
9949
|
estimate_seconds: nullable(count)
|
|
9940
9950
|
});
|
|
9941
9951
|
|
|
9942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9943
9953
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9944
9954
|
var modelKey = strictObject({
|
|
9945
9955
|
provider: text,
|
|
@@ -9949,7 +9959,7 @@ var modelKey = strictObject({
|
|
|
9949
9959
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9950
9960
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9951
9961
|
|
|
9952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9953
9963
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9954
9964
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9955
9965
|
var graph = strictObject({
|
|
@@ -9983,14 +9993,14 @@ var officialStats = strictObject({
|
|
|
9983
9993
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9984
9994
|
});
|
|
9985
9995
|
|
|
9986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9987
9997
|
var person2 = strictObject({
|
|
9988
9998
|
ref: reference,
|
|
9989
9999
|
name: nullable(text),
|
|
9990
10000
|
identities: optional(array(identity))
|
|
9991
10001
|
});
|
|
9992
10002
|
|
|
9993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10003
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9994
10004
|
var poll = strictObject({
|
|
9995
10005
|
chat_id: id,
|
|
9996
10006
|
message_id: id,
|
|
@@ -10006,11 +10016,11 @@ var poll = strictObject({
|
|
|
10006
10016
|
});
|
|
10007
10017
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10008
10018
|
|
|
10009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10010
10020
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10011
10021
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10012
10022
|
|
|
10013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10014
10024
|
var figures = record(string(), number());
|
|
10015
10025
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10016
10026
|
var rankingRow = strictObject({
|
|
@@ -10057,7 +10067,7 @@ var ranking = strictObject({
|
|
|
10057
10067
|
rows: array(rankingRow)
|
|
10058
10068
|
});
|
|
10059
10069
|
|
|
10060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10061
10071
|
var reaction = strictObject({
|
|
10062
10072
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10063
10073
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10065,7 +10075,7 @@ var reaction = strictObject({
|
|
|
10065
10075
|
reacted_at: time
|
|
10066
10076
|
});
|
|
10067
10077
|
|
|
10068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10069
10079
|
var reactionChange = strictObject({
|
|
10070
10080
|
operation_id: id,
|
|
10071
10081
|
chat_id: id,
|
|
@@ -10073,7 +10083,7 @@ var reactionChange = strictObject({
|
|
|
10073
10083
|
reaction: nullable(text)
|
|
10074
10084
|
});
|
|
10075
10085
|
|
|
10076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10077
10087
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10078
10088
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10079
10089
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10084,7 +10094,7 @@ var recipientChange = strictObject({
|
|
|
10084
10094
|
...partial(recipientOff).entries
|
|
10085
10095
|
});
|
|
10086
10096
|
|
|
10087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10088
10098
|
var events = array(record(string(), unknown()));
|
|
10089
10099
|
var recordedRun = strictObject({
|
|
10090
10100
|
run_id: id,
|
|
@@ -10156,7 +10166,7 @@ var runHit = strictObject({
|
|
|
10156
10166
|
});
|
|
10157
10167
|
var runLocation = strictObject({ path: text });
|
|
10158
10168
|
|
|
10159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10160
10170
|
var relationship = strictObject({
|
|
10161
10171
|
id,
|
|
10162
10172
|
from: reference,
|
|
@@ -10183,7 +10193,7 @@ var relationship = strictObject({
|
|
|
10183
10193
|
created_at: time
|
|
10184
10194
|
});
|
|
10185
10195
|
|
|
10186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10187
10197
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10188
10198
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10189
10199
|
var responseTimes = strictObject({
|
|
@@ -10200,7 +10210,7 @@ var waitingChats = strictObject({
|
|
|
10200
10210
|
by_kind: strictObject({ private: count, group: count })
|
|
10201
10211
|
});
|
|
10202
10212
|
|
|
10203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10204
10214
|
var retentionCohort = strictObject({
|
|
10205
10215
|
/** The first day of the joining day or week. */
|
|
10206
10216
|
cohort: text,
|
|
@@ -10248,7 +10258,7 @@ var retention = strictObject({
|
|
|
10248
10258
|
rows: array(retentionCohort)
|
|
10249
10259
|
});
|
|
10250
10260
|
|
|
10251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10252
10262
|
var savedSearch = strictObject({
|
|
10253
10263
|
id,
|
|
10254
10264
|
/** `null` for a run in the history. */
|
|
@@ -10265,7 +10275,7 @@ var savedSearch = strictObject({
|
|
|
10265
10275
|
});
|
|
10266
10276
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10267
10277
|
|
|
10268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10269
10279
|
var sendAttempt = strictObject({
|
|
10270
10280
|
at: time,
|
|
10271
10281
|
profile: text,
|
|
@@ -10293,7 +10303,7 @@ var sendAttempt = strictObject({
|
|
|
10293
10303
|
error_code: optional(text)
|
|
10294
10304
|
});
|
|
10295
10305
|
|
|
10296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10297
10307
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10298
10308
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10299
10309
|
var infoSchema = strictObject({
|
|
@@ -10523,7 +10533,7 @@ var storeRepair = union([
|
|
|
10523
10533
|
]);
|
|
10524
10534
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10525
10535
|
|
|
10526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10527
10537
|
var range = strictObject({ from: number(), to: number() });
|
|
10528
10538
|
var storeChatStatus = strictObject({
|
|
10529
10539
|
chat_id: id,
|
|
@@ -10621,7 +10631,7 @@ var storeJobRetry = union([
|
|
|
10621
10631
|
]);
|
|
10622
10632
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10623
10633
|
|
|
10624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10625
10635
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10626
10636
|
var storeTable = strictObject({
|
|
10627
10637
|
name: text,
|
|
@@ -10630,7 +10640,7 @@ var storeTable = strictObject({
|
|
|
10630
10640
|
bytes: optional(nullable(count))
|
|
10631
10641
|
});
|
|
10632
10642
|
|
|
10633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10634
10644
|
var tagTarget = variant("type", [
|
|
10635
10645
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10636
10646
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10661,7 +10671,7 @@ var automaticTags = strictObject({
|
|
|
10661
10671
|
dry_run: boolean()
|
|
10662
10672
|
});
|
|
10663
10673
|
|
|
10664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10665
10675
|
var tagging = strictObject({
|
|
10666
10676
|
tag: text,
|
|
10667
10677
|
type: picklist(TAG_TYPES),
|
|
@@ -10674,7 +10684,7 @@ var tagging = strictObject({
|
|
|
10674
10684
|
created_at: time
|
|
10675
10685
|
});
|
|
10676
10686
|
|
|
10677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10678
10688
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10679
10689
|
var taskPair = strictObject({
|
|
10680
10690
|
task: nullable(side),
|
|
@@ -10697,7 +10707,7 @@ var taskPair = strictObject({
|
|
|
10697
10707
|
created_at: time
|
|
10698
10708
|
});
|
|
10699
10709
|
|
|
10700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10701
10711
|
var nullableTime = nullable(time);
|
|
10702
10712
|
var link = strictObject({
|
|
10703
10713
|
id,
|
|
@@ -10871,7 +10881,7 @@ var taskReview = strictObject({
|
|
|
10871
10881
|
untrusted
|
|
10872
10882
|
});
|
|
10873
10883
|
|
|
10874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10875
10885
|
var template = strictObject({
|
|
10876
10886
|
key: text,
|
|
10877
10887
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10883,7 +10893,7 @@ var template = strictObject({
|
|
|
10883
10893
|
updated_by: nullable(text)
|
|
10884
10894
|
});
|
|
10885
10895
|
|
|
10886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10887
10897
|
var topic = strictObject({
|
|
10888
10898
|
id,
|
|
10889
10899
|
title: text,
|
|
@@ -10897,7 +10907,7 @@ var topic = strictObject({
|
|
|
10897
10907
|
untrusted
|
|
10898
10908
|
});
|
|
10899
10909
|
|
|
10900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10901
10911
|
var ENTITIES = {
|
|
10902
10912
|
sync_progress: progress,
|
|
10903
10913
|
deal,
|
|
@@ -11196,7 +11206,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11196
11206
|
return [name, definition];
|
|
11197
11207
|
})), "entityDefinitions");
|
|
11198
11208
|
|
|
11199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11200
11210
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11201
11211
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11202
11212
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11230,7 +11240,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11230
11240
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11231
11241
|
}, "answerRow");
|
|
11232
11242
|
|
|
11233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11234
11244
|
import { join as join5 } from "node:path";
|
|
11235
11245
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11236
11246
|
var IMAGE_MODELS = [
|
|
@@ -11284,7 +11294,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11284
11294
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11285
11295
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11286
11296
|
|
|
11287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11288
11298
|
var STEPS2 = defineSteps([
|
|
11289
11299
|
...STEPS,
|
|
11290
11300
|
{
|
|
@@ -11574,7 +11584,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11574
11584
|
].join(" ");
|
|
11575
11585
|
}, "stepLine");
|
|
11576
11586
|
|
|
11577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11578
11588
|
var where = [{ field: "ref" }];
|
|
11579
11589
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11580
11590
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11666,7 +11676,7 @@ var STATUS_ROWS = {
|
|
|
11666
11676
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11667
11677
|
};
|
|
11668
11678
|
|
|
11669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11679
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11670
11680
|
var TEXT_CHARS = 400;
|
|
11671
11681
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11672
11682
|
var messageRow = {
|
|
@@ -12034,7 +12044,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12034
12044
|
return lines.concat(footerOf(body)).join("\n");
|
|
12035
12045
|
}, "compactText");
|
|
12036
12046
|
|
|
12037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12038
12048
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12039
12049
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12040
12050
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12092,7 +12102,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12092
12102
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12093
12103
|
}, "largeAnswerSteps");
|
|
12094
12104
|
|
|
12095
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12096
12106
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12097
12107
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12098
12108
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12106,7 +12116,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12106
12116
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12107
12117
|
}, "strip");
|
|
12108
12118
|
|
|
12109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12110
12120
|
var OPEN = "\u27E6";
|
|
12111
12121
|
var CLOSE = "\u27E7";
|
|
12112
12122
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12190,7 +12200,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12190
12200
|
return result;
|
|
12191
12201
|
}, "withFieldsMarked");
|
|
12192
12202
|
|
|
12193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12194
12204
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12195
12205
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12196
12206
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12446,6 +12456,7 @@ export {
|
|
|
12446
12456
|
readKeysForCommand,
|
|
12447
12457
|
keyForCommand,
|
|
12448
12458
|
assertRetentionEvidenceRead,
|
|
12459
|
+
ANSWER_RESERVE_MS,
|
|
12449
12460
|
deadlineMargin,
|
|
12450
12461
|
recorded,
|
|
12451
12462
|
startRecording,
|
|
@@ -12501,6 +12512,7 @@ export {
|
|
|
12501
12512
|
setExitCode,
|
|
12502
12513
|
provide,
|
|
12503
12514
|
environmentOf,
|
|
12515
|
+
withoutOwnPaging,
|
|
12504
12516
|
withAgentLevels,
|
|
12505
12517
|
secretInputOf,
|
|
12506
12518
|
outputFieldsOf,
|