@wirecat/attio-cli 0.2.1 → 0.3.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 +47 -0
- package/README.md +13 -9
- package/contracts/wirecat.json +268 -21
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-HM6ST5HY.js +37 -0
- package/dist/bundle/{all-profiles-LZDKPHN2.js → all-profiles-7GUR2SM3.js} +10 -10
- package/dist/bundle/{anthropic-BF72H77D.js → anthropic-4CN3TJYB.js} +5 -5
- package/dist/bundle/{app-server-H57FZJX5.js → app-server-HSQEPWRY.js} +61 -61
- package/dist/bundle/attio.js +11 -11
- package/dist/bundle/{bun-WO77T4LG.js → bun-DTF5MNDQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-2BP7JDVO.js → bun-sqlite-NFVPKLZD.js} +6 -6
- package/dist/bundle/{chunk-IDU4ESRZ.js → chunk-2AVWKAHP.js} +29 -1
- package/dist/bundle/{chunk-X6R74TWX.js → chunk-2KP5LRCK.js} +4 -4
- package/dist/bundle/{chunk-RU5J7DWY.js → chunk-2PDJCM3U.js} +156 -14
- package/dist/bundle/{chunk-4SMGM2Q6.js → chunk-2SM6G7CP.js} +4 -4
- package/dist/bundle/{chunk-TF7ZGCOK.js → chunk-3HFUSESO.js} +3 -3
- package/dist/bundle/{chunk-BUGROVF3.js → chunk-3JZNNESS.js} +2 -2
- package/dist/bundle/{chunk-5K3FGXZH.js → chunk-3L3ZRFKH.js} +1 -1
- package/dist/bundle/{chunk-6NDJDDSQ.js → chunk-3PPTBPRU.js} +42 -38
- package/dist/bundle/{chunk-76RRELCU.js → chunk-4A5E32BA.js} +1747 -826
- package/dist/bundle/{chunk-CMO5ND3Y.js → chunk-4BHD26FI.js} +34 -34
- package/dist/bundle/{chunk-JA26HG7T.js → chunk-4GGTI6J2.js} +8 -8
- package/dist/bundle/{chunk-J5P5VSRG.js → chunk-4IASSY4K.js} +21 -8
- package/dist/bundle/{chunk-DSRXCLPO.js → chunk-55OZY4JK.js} +1 -1
- package/dist/bundle/{chunk-L5WS6CYZ.js → chunk-6GLKKI5B.js} +2 -2
- package/dist/bundle/{chunk-PMP37KLR.js → chunk-6GVBDIY7.js} +3 -3
- package/dist/bundle/{chunk-VDMIJ3JW.js → chunk-6MKREZYW.js} +3 -3
- package/dist/bundle/{chunk-7MXCUMHG.js → chunk-6UVYOUKX.js} +1 -1
- package/dist/bundle/{chunk-4STBJZR4.js → chunk-73D7FXGY.js} +177 -40
- package/dist/bundle/{chunk-3I2FGNWO.js → chunk-77PCNTJY.js} +1 -1
- package/dist/bundle/{chunk-7ZUOI3HY.js → chunk-AO6N3HLS.js} +16 -3
- package/dist/bundle/{chunk-IXCIQ7FZ.js → chunk-CEY7LGCR.js} +4 -4
- package/dist/bundle/{chunk-MNQACPXG.js → chunk-CV65DYDO.js} +31 -27
- package/dist/bundle/{chunk-OBXDRUO4.js → chunk-CWLNO3ZU.js} +1 -1
- package/dist/bundle/{chunk-CHZ26CW5.js → chunk-D3BQH24W.js} +77 -59
- package/dist/bundle/{chunk-ERW2WOJT.js → chunk-EBVOFSWE.js} +1 -1
- package/dist/bundle/{chunk-ESH2QGCA.js → chunk-ECPUCPPX.js} +24 -8
- package/dist/bundle/{chunk-6SK3YB2B.js → chunk-FJUBFNIH.js} +12 -12
- package/dist/bundle/{chunk-Q7BSTQ3T.js → chunk-GFKYZJN4.js} +1 -1
- package/dist/bundle/{chunk-ASCUOOLO.js → chunk-GJFFI6OA.js} +1 -1
- package/dist/bundle/{chunk-S7K2XFQB.js → chunk-GMRYIIGP.js} +6 -6
- package/dist/bundle/{chunk-G3JTLVVL.js → chunk-GS3LY5S5.js} +14 -7
- package/dist/bundle/{chunk-WARIIYSW.js → chunk-H55WJPRM.js} +2 -2
- package/dist/bundle/{chunk-H7QDPW3D.js → chunk-HS7TLG6U.js} +3 -4
- package/dist/bundle/{chunk-EEPE3SOW.js → chunk-HVLKBGYN.js} +5 -5
- package/dist/bundle/{chunk-XXLQNHKF.js → chunk-IFDR5RYE.js} +2 -2
- package/dist/bundle/{chunk-3YFDZSM3.js → chunk-IQSXBZA7.js} +1 -1
- package/dist/bundle/{chunk-GLHFJPYS.js → chunk-IWC3ECVF.js} +3 -3
- package/dist/bundle/{chunk-EQXT7KO4.js → chunk-J3KE3D3L.js} +6 -6
- package/dist/bundle/{chunk-JSTBW7F4.js → chunk-KP7U75NI.js} +6 -6
- package/dist/bundle/{chunk-O4A33Y54.js → chunk-KRCE3EBI.js} +2 -2
- package/dist/bundle/{chunk-ZDBTYBFR.js → chunk-LC4KJJZ2.js} +3 -3
- package/dist/bundle/{chunk-3NVOKVRY.js → chunk-LX6IMPKX.js} +2361 -845
- package/dist/bundle/{chunk-V6BTAILB.js → chunk-MCNZCQ6P.js} +61 -61
- package/dist/bundle/{chunk-DF2IIO32.js → chunk-N7EFLZNW.js} +202 -163
- package/dist/bundle/{chunk-G6FQMVKW.js → chunk-NE65S7F6.js} +3 -3
- package/dist/bundle/{chunk-HG7FT3H3.js → chunk-NK32ZZRV.js} +7 -7
- package/dist/bundle/{chunk-VW5F6FK3.js → chunk-NTW3Z4ZC.js} +4 -4
- package/dist/bundle/{chunk-XXOTX4M3.js → chunk-OOS57MMX.js} +7 -7
- package/dist/bundle/{chunk-2E6JGBM5.js → chunk-PBUBZNIA.js} +25 -174
- package/dist/bundle/{chunk-AFAULIL5.js → chunk-PCYDTU6N.js} +3 -2
- package/dist/bundle/{chunk-WK7GLHHL.js → chunk-PTBGWRI4.js} +5 -5
- package/dist/bundle/{chunk-X5S5KUSU.js → chunk-PX5XI2UR.js} +19 -19
- package/dist/bundle/{chunk-KHDXRFJZ.js → chunk-ROJF7524.js} +8 -8
- package/dist/bundle/{chunk-AMUONYQR.js → chunk-RPL3VL7F.js} +2 -2
- package/dist/bundle/{chunk-MOSH2KPD.js → chunk-SDZJIDMF.js} +10 -10
- package/dist/bundle/{chunk-OFR3YYT6.js → chunk-SEZLN6OX.js} +1 -1
- package/dist/bundle/{chunk-MT2ZUZRA.js → chunk-SIYP5IZG.js} +43 -64
- package/dist/bundle/{chunk-I3WS6V5H.js → chunk-SNUCQQQU.js} +8 -8
- package/dist/bundle/{chunk-34FJ26K2.js → chunk-SRU4EQYO.js} +2 -2
- package/dist/bundle/{chunk-LWJ4ZGUM.js → chunk-SVUQKDBZ.js} +13 -13
- package/dist/bundle/{chunk-GW4G5KLS.js → chunk-SZ76WGXS.js} +8 -8
- package/dist/bundle/{chunk-DQ6P3R4B.js → chunk-UN63OIS5.js} +3 -3
- package/dist/bundle/{chunk-MRREDVPY.js → chunk-UNI5OO3J.js} +20 -14
- package/dist/bundle/{chunk-EQGXEKSV.js → chunk-UXT4532H.js} +7 -7
- package/dist/bundle/{chunk-ZGADZ4CH.js → chunk-V6RIJ22V.js} +15 -15
- package/dist/bundle/{chunk-6ALPRBNV.js → chunk-WAOJEEGU.js} +3 -3
- package/dist/bundle/{chunk-QLHDUYGE.js → chunk-WE6UGOBO.js} +1 -1
- package/dist/bundle/{chunk-Q3JCUUOR.js → chunk-WYPHP2AM.js} +3 -3
- package/dist/bundle/{chunk-W6F2CQZ6.js → chunk-Y6QUAEEJ.js} +17 -17
- package/dist/bundle/{chunk-GBZ6JUXU.js → chunk-YERPSSUC.js} +2 -2
- package/dist/bundle/{chunk-MC2RQ2OB.js → chunk-ZAZUNEZB.js} +1 -1
- package/dist/bundle/{chunk-SQHDE3TC.js → chunk-ZSO3T2W4.js} +4 -4
- package/dist/bundle/command-contract-XZKDRLEC.js +37 -0
- package/dist/bundle/{command-server-entry-MNVPYQZ3.js → command-server-entry-VTYSKZSD.js} +25 -25
- package/dist/bundle/{decode-MQNKNXLK.js → decode-EJCGQVLX.js} +5 -5
- package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-YGAG263C.js} +8 -8
- package/dist/bundle/{echarts-6ZSUNO4L.js → echarts-LHBWIDKI.js} +2 -2
- package/dist/bundle/{embed-PHCCJJ5Z.js → embed-QKVPSZLS.js} +6 -6
- package/dist/bundle/{embedder-WLZZQTKZ.js → embedder-NYO6EOFU.js} +9 -9
- package/dist/bundle/{failure-MR2XVHFP.js → failure-SE7VJEXI.js} +2 -2
- package/dist/bundle/{first-run-64LREHSV.js → first-run-P5QA7RNU.js} +12 -12
- package/dist/bundle/first-screen-EUIV6PVE.js +37 -0
- package/dist/bundle/{instructions-22GCKNR5.js → instructions-T6LGIEPV.js} +1 -1
- package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-PVQZS6IH.js} +2 -2
- package/dist/bundle/meeting-combined-GOBZBEX2.js +24 -0
- package/dist/bundle/{meeting-model-JWDTCGLZ.js → meeting-model-7UBHXIVW.js} +11 -11
- package/dist/bundle/{meeting-semantic-375GYPZQ.js → meeting-semantic-RXCWAIZZ.js} +6 -6
- package/dist/bundle/{node-ITDTNRRZ.js → node-UBG6VKKA.js} +2 -2
- package/dist/bundle/{node-sqlite-IRAGRMEZ.js → node-sqlite-PYNAIHR6.js} +7 -7
- package/dist/bundle/{oauth-CACOQJEL.js → oauth-BLOW6XVT.js} +7 -7
- package/dist/bundle/{open-HU4KHKDR.js → open-VWILPEZ2.js} +5 -5
- package/dist/bundle/{openai-JQUPAVKX.js → openai-N37NPTEE.js} +15 -15
- package/dist/bundle/{process-QS5OHEUK.js → process-DMYM7PNQ.js} +1 -1
- package/dist/bundle/{program-5OTAVU5S.js → program-5QZLUWS4.js} +4240 -4056
- package/dist/bundle/{prompt-VA5MKXJU.js → prompt-EJHIAH4K.js} +5 -5
- package/dist/bundle/{recognize-JGA5IVKC.js → recognize-67LER7ZN.js} +4 -4
- package/dist/bundle/{remote-NPY2KZQ4.js → remote-BONPKWRO.js} +9 -9
- package/dist/bundle/{rerank-4H2QR4XU.js → rerank-FK2AFC3Y.js} +7 -7
- package/dist/bundle/{schemas-THAI3G5S.js → schemas-4E76I6ME.js} +1 -1
- package/dist/bundle/{serve-UH46SZQG.js → serve-ZIXWKUE3.js} +9 -9
- package/dist/bundle/{server-6H7JS6SU.js → server-4RX3LBCA.js} +53 -53
- package/dist/bundle/server-RL6NIURH.js +79 -0
- package/dist/bundle/{sqlite-runtime-EJWEUTBR.js → sqlite-runtime-WDXPYP7C.js} +6 -6
- package/dist/bundle/{state-34B6AUQZ.js → state-NE7WPOBK.js} +6 -6
- package/dist/bundle/{store-3R4ILTCJ.js → store-2LX2ZQY5.js} +22 -18
- package/dist/bundle/{store-XSE35P3U.js → store-PUAKYH6Z.js} +24 -20
- package/dist/bundle/store-maintenance-command-CSYN4LXT.js +66 -0
- package/dist/bundle/surface-HJIDG2KX.js +65 -0
- package/dist/commands/crm.d.ts +3 -0
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +35 -8
- package/dist/commands/crm.js.map +1 -1
- package/dist/commands/schedule.d.ts +3 -0
- package/dist/commands/schedule.d.ts.map +1 -0
- package/dist/commands/schedule.js +9 -0
- package/dist/commands/schedule.js.map +1 -0
- package/dist/commands/session.d.ts +2 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +5 -1
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +0 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +22 -5
- package/dist/config.js.map +1 -1
- package/dist/generated/wirecat-config.d.ts.map +1 -1
- package/dist/generated/wirecat-config.js +175 -0
- package/dist/generated/wirecat-config.js.map +1 -1
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +10 -2
- package/dist/hooks.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +4 -2
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +11 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
- package/skills/attio-cli/SKILL.md +18 -3
- package/dist/bundle/agent-DYTWDBTT.js +0 -37
- package/dist/bundle/command-contract-7M6EPH3D.js +0 -37
- package/dist/bundle/first-screen-YSCAZIYJ.js +0 -37
- package/dist/bundle/meeting-combined-YX3T5WJD.js +0 -24
- package/dist/bundle/server-SR52KBL3.js +0 -79
- package/dist/bundle/store-maintenance-command-ABJARLI4.js +0 -66
- package/dist/bundle/surface-NOTIEJB5.js +0 -65
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OOS57MMX.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NE65S7F6.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PTBGWRI4.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CWLNO3ZU.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LC4KJJZ2.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-3PPTBPRU.js";
|
|
84
84
|
import {
|
|
85
85
|
isCliFailure,
|
|
86
86
|
storeDamaged
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-IWC3ECVF.js";
|
|
88
88
|
import {
|
|
89
89
|
TAG_TYPES
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-KRCE3EBI.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-MCNZCQ6P.js";
|
|
119
119
|
import {
|
|
120
120
|
endpoint
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-ECPUCPPX.js";
|
|
122
122
|
import {
|
|
123
123
|
repairConfigText,
|
|
124
124
|
sharedConfigPath
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-UXT4532H.js";
|
|
126
126
|
import {
|
|
127
127
|
filesPresent,
|
|
128
128
|
sharedModelsDirectory
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-2SM6G7CP.js";
|
|
130
130
|
import {
|
|
131
131
|
storePath
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-SRU4EQYO.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-PX5XI2UR.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-4IASSY4K.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-3JZNNESS.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.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/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.129.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.129.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.129.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.129.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,9 +3963,16 @@ 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.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3967
3967
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3968
|
-
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
3968
|
+
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
3969
|
+
"messages.delete",
|
|
3970
|
+
"messages.scheduled.cancel",
|
|
3971
|
+
"bot.messages.delete",
|
|
3972
|
+
"topics.delete",
|
|
3973
|
+
"chats.delete",
|
|
3974
|
+
"chats.clear"
|
|
3975
|
+
]);
|
|
3969
3976
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
3970
3977
|
var DEFAULT_PERMISSIONS = {
|
|
3971
3978
|
// Owner, 2026-11-14: deleting a message does not ask; a profile that wants the question sets `ask`.
|
|
@@ -4186,6 +4193,9 @@ var NAMED_WRITE_KEYS = [
|
|
|
4186
4193
|
"messages.sync-first",
|
|
4187
4194
|
"messages.server-search",
|
|
4188
4195
|
"messages.press",
|
|
4196
|
+
"messages.scheduled.cancel",
|
|
4197
|
+
"messages.scheduled.edit",
|
|
4198
|
+
"messages.scheduled.send",
|
|
4189
4199
|
"chats.start",
|
|
4190
4200
|
"chats.app",
|
|
4191
4201
|
"stats.messages.counters.sync",
|
|
@@ -4389,7 +4399,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4389
4399
|
}
|
|
4390
4400
|
}, "assertRetentionEvidenceRead");
|
|
4391
4401
|
|
|
4392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
4393
4403
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4394
4404
|
var requests = new AsyncLocalStorage();
|
|
4395
4405
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -4404,7 +4414,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
4404
4414
|
return direct;
|
|
4405
4415
|
}, "exitCodeSet");
|
|
4406
4416
|
|
|
4407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
4408
4418
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4409
4419
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
4410
4420
|
messageId: message2.id,
|
|
@@ -4510,7 +4520,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4510
4520
|
}, "guardedWrite");
|
|
4511
4521
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4512
4522
|
|
|
4513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4514
4524
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4515
4525
|
try {
|
|
4516
4526
|
return work();
|
|
@@ -4537,7 +4547,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4537
4547
|
return projectFields(value, fields);
|
|
4538
4548
|
}), "projectFields");
|
|
4539
4549
|
|
|
4540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4541
4551
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4542
4552
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4543
4553
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4720,7 +4730,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4720
4730
|
}
|
|
4721
4731
|
}, "withAbort");
|
|
4722
4732
|
|
|
4723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4724
4734
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4725
4735
|
import { join } from "node:path";
|
|
4726
4736
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4742,7 +4752,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4742
4752
|
}, "profilesWithAccounts");
|
|
4743
4753
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4744
4754
|
|
|
4745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4746
4756
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4747
4757
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4748
4758
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4799,7 +4809,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4799
4809
|
};
|
|
4800
4810
|
}, "runBudget");
|
|
4801
4811
|
|
|
4802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4803
4813
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4804
4814
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4805
4815
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4835,7 +4845,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4835
4845
|
return value;
|
|
4836
4846
|
}, "atDetail");
|
|
4837
4847
|
|
|
4838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4848
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/output.js
|
|
4839
4849
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4840
4850
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4841
4851
|
if (other)
|
|
@@ -4899,7 +4909,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4899
4909
|
}, "warn")
|
|
4900
4910
|
}), "silence");
|
|
4901
4911
|
|
|
4902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4903
4913
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4904
4914
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4905
4915
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4937,7 +4947,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4937
4947
|
progress: "sync.progress"
|
|
4938
4948
|
};
|
|
4939
4949
|
|
|
4940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4941
4951
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4942
4952
|
const recording = startRecording(options);
|
|
4943
4953
|
try {
|
|
@@ -5152,7 +5162,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5152
5162
|
return void 0;
|
|
5153
5163
|
}, "partialOutcome");
|
|
5154
5164
|
|
|
5155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5156
5166
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5157
5167
|
if (ms2 === void 0)
|
|
5158
5168
|
return body();
|
|
@@ -5178,7 +5188,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5178
5188
|
}
|
|
5179
5189
|
}, "withDeadline");
|
|
5180
5190
|
|
|
5181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5182
5192
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5183
5193
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5184
5194
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5247,10 +5257,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5247
5257
|
return void 0;
|
|
5248
5258
|
}, "sampleCommand");
|
|
5249
5259
|
|
|
5250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5251
5261
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5252
5262
|
|
|
5253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5254
5264
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5255
5265
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5256
5266
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5319,7 +5329,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5319
5329
|
};
|
|
5320
5330
|
}, "modelTarget");
|
|
5321
5331
|
|
|
5322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5323
5333
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5324
5334
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5325
5335
|
var AI_FIELDS = {
|
|
@@ -5363,7 +5373,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5363
5373
|
};
|
|
5364
5374
|
}, "resolveAISettings");
|
|
5365
5375
|
|
|
5366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5367
5377
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5368
5378
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5369
5379
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5377,7 +5387,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5377
5387
|
return ms2;
|
|
5378
5388
|
}, "parseDuration");
|
|
5379
5389
|
|
|
5380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5381
5391
|
var HISTORY_MAX_DAYS = 1095;
|
|
5382
5392
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5383
5393
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5424,7 +5434,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5424
5434
|
return { batch: { ...batch, messages }, skipped };
|
|
5425
5435
|
}, "limitBatch");
|
|
5426
5436
|
|
|
5427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5428
5438
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5429
5439
|
import { join as join2 } from "node:path";
|
|
5430
5440
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5513,7 +5523,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5513
5523
|
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
5524
|
}, "registryProfiles");
|
|
5515
5525
|
|
|
5516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5517
5527
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5518
5528
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5519
5529
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5716,7 +5726,10 @@ var scopes = /* @__PURE__ */ __name((raw) => {
|
|
|
5716
5726
|
return out;
|
|
5717
5727
|
}, "scopes");
|
|
5718
5728
|
var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
|
|
5719
|
-
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) =>
|
|
5729
|
+
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
|
|
5730
|
+
const now = renamed.get(name);
|
|
5731
|
+
return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
|
|
5732
|
+
})), "permissionIssues");
|
|
5720
5733
|
var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
|
|
5721
5734
|
var prune = /* @__PURE__ */ __name((raw, paths) => {
|
|
5722
5735
|
const drop = new Set(paths.map(pathId));
|
|
@@ -5808,7 +5821,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5808
5821
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5809
5822
|
}, "readConfigFile");
|
|
5810
5823
|
|
|
5811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5812
5825
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5813
5826
|
import { dirname, join as join3 } from "node:path";
|
|
5814
5827
|
var DEFAULT_CONFIG = {
|
|
@@ -5837,7 +5850,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5837
5850
|
}
|
|
5838
5851
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5839
5852
|
|
|
5840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5841
5854
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5842
5855
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5843
5856
|
const path2 = key.split(".");
|
|
@@ -5859,7 +5872,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5859
5872
|
return { config, added };
|
|
5860
5873
|
}, "withSettingDefaults");
|
|
5861
5874
|
|
|
5862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5863
5876
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5864
5877
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5865
5878
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6387,7 +6400,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6387
6400
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6388
6401
|
}, "given");
|
|
6389
6402
|
|
|
6390
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6391
6404
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6392
6405
|
const { deadline, signal, app } = environmentOf(command);
|
|
6393
6406
|
const now = deadline?.();
|
|
@@ -6541,7 +6554,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6541
6554
|
return words.join(" ");
|
|
6542
6555
|
}, "commandPath");
|
|
6543
6556
|
|
|
6544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6545
6558
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6546
6559
|
var FETCH = { remote: "read", local: "write" };
|
|
6547
6560
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6577,7 +6590,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
6577
6590
|
KEPT_UNDER_LOCK.add(command);
|
|
6578
6591
|
return command;
|
|
6579
6592
|
}, "destroysNothing");
|
|
6580
|
-
var PROPOSE_COMMANDS = [
|
|
6593
|
+
var PROPOSE_COMMANDS = [
|
|
6594
|
+
"messages acknowledge",
|
|
6595
|
+
"mail findings add",
|
|
6596
|
+
"projects actions add",
|
|
6597
|
+
"meetings actions add"
|
|
6598
|
+
];
|
|
6581
6599
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
6582
6600
|
var isProposal = /* @__PURE__ */ __name((command) => {
|
|
6583
6601
|
if (!PROPOSES.has(command))
|
|
@@ -6673,7 +6691,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6673
6691
|
throw readOnlyRefusal(lock, what);
|
|
6674
6692
|
}, "refuseUnderReadOnly");
|
|
6675
6693
|
|
|
6676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6677
6695
|
var account = strictObject({
|
|
6678
6696
|
provider: text,
|
|
6679
6697
|
id,
|
|
@@ -6683,7 +6701,7 @@ var account = strictObject({
|
|
|
6683
6701
|
scope: optional(picklist(["personal", "work"]))
|
|
6684
6702
|
});
|
|
6685
6703
|
|
|
6686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6687
6705
|
var accountSession = strictObject({
|
|
6688
6706
|
current: boolean(),
|
|
6689
6707
|
client: nullable(text),
|
|
@@ -6693,7 +6711,7 @@ var accountSession = strictObject({
|
|
|
6693
6711
|
created_at: optional(nullable(time))
|
|
6694
6712
|
});
|
|
6695
6713
|
|
|
6696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6697
6715
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6698
6716
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6699
6717
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6722,7 +6740,7 @@ var accountRemoval = strictObject({
|
|
|
6722
6740
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6723
6741
|
});
|
|
6724
6742
|
|
|
6725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6726
6744
|
var accountProfile = strictObject({
|
|
6727
6745
|
profile: id,
|
|
6728
6746
|
current: boolean(),
|
|
@@ -6734,7 +6752,7 @@ var accountProfile = strictObject({
|
|
|
6734
6752
|
bot: optional(literal(true))
|
|
6735
6753
|
});
|
|
6736
6754
|
|
|
6737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6738
6756
|
var milliseconds = pipe(number(), minValue(0));
|
|
6739
6757
|
var counterReading = strictObject({
|
|
6740
6758
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6746,7 +6764,7 @@ var counterReading = strictObject({
|
|
|
6746
6764
|
});
|
|
6747
6765
|
var selection = record(string(), unknown());
|
|
6748
6766
|
|
|
6749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6750
6768
|
var adminRow = strictObject({
|
|
6751
6769
|
ref: reference,
|
|
6752
6770
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6799,7 +6817,7 @@ var adminReport = strictObject({
|
|
|
6799
6817
|
rows: array(adminRow)
|
|
6800
6818
|
});
|
|
6801
6819
|
|
|
6802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6803
6821
|
var closeSuggestion = strictObject({
|
|
6804
6822
|
as: picklist(["done", "dismissed"]),
|
|
6805
6823
|
/** The agent's name. */
|
|
@@ -6861,7 +6879,7 @@ var task = strictObject({
|
|
|
6861
6879
|
updated_at: optional(time)
|
|
6862
6880
|
});
|
|
6863
6881
|
|
|
6864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6865
6883
|
var agendaChat = strictObject({
|
|
6866
6884
|
chat: reference,
|
|
6867
6885
|
title: nullable(text),
|
|
@@ -6931,11 +6949,11 @@ var agenda = strictObject({
|
|
|
6931
6949
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6932
6950
|
});
|
|
6933
6951
|
|
|
6934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6935
6953
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6936
6954
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6937
6955
|
|
|
6938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6939
6957
|
var attachment = strictObject({
|
|
6940
6958
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6941
6959
|
message: optional(reference),
|
|
@@ -6980,7 +6998,7 @@ var hitFile = strictObject({
|
|
|
6980
6998
|
local_path: optional(text)
|
|
6981
6999
|
});
|
|
6982
7000
|
|
|
6983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6984
7002
|
var actionableError = objectWithRest({
|
|
6985
7003
|
code: text,
|
|
6986
7004
|
message: text,
|
|
@@ -6997,7 +7015,7 @@ var batchResult = strictObject({
|
|
|
6997
7015
|
max_error_percent: count
|
|
6998
7016
|
});
|
|
6999
7017
|
|
|
7000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7001
7019
|
var extractionItem = strictObject({
|
|
7002
7020
|
ref: reference,
|
|
7003
7021
|
attachment: count,
|
|
@@ -7030,7 +7048,7 @@ var extractionReport = strictObject({
|
|
|
7030
7048
|
cursor: optional(text)
|
|
7031
7049
|
});
|
|
7032
7050
|
|
|
7033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7034
7052
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7035
7053
|
var attachmentBytes = strictObject({
|
|
7036
7054
|
ref: reference,
|
|
@@ -7061,7 +7079,7 @@ var attachmentTextChange = strictObject({
|
|
|
7061
7079
|
text: optional(text)
|
|
7062
7080
|
});
|
|
7063
7081
|
|
|
7064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7065
7083
|
var WEIGHTS = {
|
|
7066
7084
|
bot: 3,
|
|
7067
7085
|
scam: 3,
|
|
@@ -7086,7 +7104,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7086
7104
|
var DIGITS = /\d{5,}/;
|
|
7087
7105
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7088
7106
|
|
|
7089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7090
7108
|
var linkedIdentity = strictObject({
|
|
7091
7109
|
provider: text,
|
|
7092
7110
|
id,
|
|
@@ -7141,7 +7159,7 @@ var contactCheck = strictObject({
|
|
|
7141
7159
|
checked_at: time
|
|
7142
7160
|
});
|
|
7143
7161
|
|
|
7144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7145
7163
|
var member = strictObject({
|
|
7146
7164
|
id,
|
|
7147
7165
|
name: nullable(text),
|
|
@@ -7164,7 +7182,7 @@ var member = strictObject({
|
|
|
7164
7182
|
check: optional(record(string(), unknown()))
|
|
7165
7183
|
});
|
|
7166
7184
|
|
|
7167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7168
7186
|
var setting = optional(nullable(boolean()));
|
|
7169
7187
|
var chat = strictObject({
|
|
7170
7188
|
ref: reference,
|
|
@@ -7205,7 +7223,7 @@ var chat = strictObject({
|
|
|
7205
7223
|
members: optional(array(member))
|
|
7206
7224
|
});
|
|
7207
7225
|
|
|
7208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7209
7227
|
var quoted = strictObject({
|
|
7210
7228
|
id,
|
|
7211
7229
|
sender_id: nullable(id),
|
|
@@ -7319,12 +7337,14 @@ var message = strictObject({
|
|
|
7319
7337
|
/** Mail `review`: no earlier stored email, in any account, came from this address. */
|
|
7320
7338
|
new_sender: optional(boolean()),
|
|
7321
7339
|
/** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
|
|
7322
|
-
sender_identities: optional(number())
|
|
7340
|
+
sender_identities: optional(number()),
|
|
7341
|
+
/** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
|
|
7342
|
+
inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
|
|
7323
7343
|
})),
|
|
7324
7344
|
provider_metadata: providerMetadata
|
|
7325
7345
|
});
|
|
7326
7346
|
|
|
7327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7328
7348
|
var recordedMeeting = strictObject({
|
|
7329
7349
|
ref: reference,
|
|
7330
7350
|
meeting_id: count,
|
|
@@ -7341,7 +7361,7 @@ var recordedMeeting = strictObject({
|
|
|
7341
7361
|
call: optional(meetingCall)
|
|
7342
7362
|
});
|
|
7343
7363
|
|
|
7344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7364
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7345
7365
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7346
7366
|
var contextMessage = strictObject({
|
|
7347
7367
|
locator: reference,
|
|
@@ -7547,7 +7567,7 @@ var contactPreparation = strictObject({
|
|
|
7547
7567
|
})
|
|
7548
7568
|
});
|
|
7549
7569
|
|
|
7550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7551
7571
|
var nullableText = nullable(text);
|
|
7552
7572
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7553
7573
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7703,7 +7723,7 @@ var stage = strictObject({
|
|
|
7703
7723
|
untrusted
|
|
7704
7724
|
});
|
|
7705
7725
|
|
|
7706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7707
7727
|
var nullableText2 = nullable(text);
|
|
7708
7728
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7709
7729
|
var standing = picklist(STANDINGS);
|
|
@@ -7882,7 +7902,7 @@ var dealBrief = strictObject({
|
|
|
7882
7902
|
not_read: coverage2.entries.not_read
|
|
7883
7903
|
});
|
|
7884
7904
|
|
|
7885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7886
7906
|
var chart = strictObject({
|
|
7887
7907
|
version: literal(1),
|
|
7888
7908
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7897,7 +7917,7 @@ var chart = strictObject({
|
|
|
7897
7917
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7898
7918
|
});
|
|
7899
7919
|
|
|
7900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7901
7921
|
var named2 = strictObject({
|
|
7902
7922
|
id,
|
|
7903
7923
|
title: nullable(text),
|
|
@@ -7920,7 +7940,7 @@ var folder = strictObject({
|
|
|
7920
7940
|
excluded_chats: optional(array(named2))
|
|
7921
7941
|
});
|
|
7922
7942
|
|
|
7923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7924
7944
|
var inviteLink = strictObject({
|
|
7925
7945
|
link: text,
|
|
7926
7946
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7936,7 +7956,7 @@ var inviteLink = strictObject({
|
|
|
7936
7956
|
joined_count: optional(count)
|
|
7937
7957
|
});
|
|
7938
7958
|
|
|
7939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7940
7960
|
var operated = { operation_id: id, chat_id: id };
|
|
7941
7961
|
var group = strictObject({
|
|
7942
7962
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8016,7 +8036,7 @@ var chatFolderOrder = strictObject({
|
|
|
8016
8036
|
folders: array(strictObject({ id, title: text }))
|
|
8017
8037
|
});
|
|
8018
8038
|
|
|
8019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8020
8040
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8021
8041
|
var chatRemoval = strictObject(operated2);
|
|
8022
8042
|
var chatMuting = strictObject({
|
|
@@ -8027,7 +8047,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8027
8047
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8028
8048
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8029
8049
|
|
|
8030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8050
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8031
8051
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8032
8052
|
var chatEvent = strictObject({
|
|
8033
8053
|
chat_id: id,
|
|
@@ -8044,7 +8064,7 @@ var chatEvent = strictObject({
|
|
|
8044
8064
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8045
8065
|
});
|
|
8046
8066
|
|
|
8047
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8048
8068
|
var chatMetadata = strictObject({
|
|
8049
8069
|
chat_id: id,
|
|
8050
8070
|
title: nullable(text),
|
|
@@ -8059,7 +8079,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8059
8079
|
has_more: boolean()
|
|
8060
8080
|
});
|
|
8061
8081
|
|
|
8062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8063
8083
|
var action = picklist(["report", "delete", "remove"]);
|
|
8064
8084
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8065
8085
|
var chatRules = strictObject({
|
|
@@ -8096,7 +8116,7 @@ var chatModeration = strictObject({
|
|
|
8096
8116
|
}))
|
|
8097
8117
|
});
|
|
8098
8118
|
|
|
8099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
8100
8120
|
var chatSending = strictObject({
|
|
8101
8121
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
8102
8122
|
meaning: text,
|
|
@@ -8106,7 +8126,7 @@ var chatSending = strictObject({
|
|
|
8106
8126
|
changed: optional(boolean())
|
|
8107
8127
|
});
|
|
8108
8128
|
|
|
8109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8110
8130
|
var optionalCount = optional(count);
|
|
8111
8131
|
var minutes = nullable(number());
|
|
8112
8132
|
var chatStats = strictObject({
|
|
@@ -8182,7 +8202,7 @@ var taskStats = strictObject({
|
|
|
8182
8202
|
}))
|
|
8183
8203
|
});
|
|
8184
8204
|
|
|
8185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8186
8206
|
var memberCount = strictObject({
|
|
8187
8207
|
day: pipe(text, isoDate()),
|
|
8188
8208
|
participants: nullable(count),
|
|
@@ -8205,7 +8225,7 @@ var chatTracking = strictObject({
|
|
|
8205
8225
|
tracked: boolean()
|
|
8206
8226
|
});
|
|
8207
8227
|
|
|
8208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8209
8229
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8210
8230
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8211
8231
|
var profileFields = {
|
|
@@ -8243,7 +8263,7 @@ var profileFields = {
|
|
|
8243
8263
|
}))
|
|
8244
8264
|
};
|
|
8245
8265
|
|
|
8246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8247
8267
|
var contact = strictObject({
|
|
8248
8268
|
ref: reference,
|
|
8249
8269
|
id,
|
|
@@ -8274,7 +8294,7 @@ var contact = strictObject({
|
|
|
8274
8294
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8275
8295
|
});
|
|
8276
8296
|
|
|
8277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8278
8298
|
var contactNote = strictObject({
|
|
8279
8299
|
id,
|
|
8280
8300
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8286,13 +8306,13 @@ var contactNote = strictObject({
|
|
|
8286
8306
|
updated_at: time
|
|
8287
8307
|
});
|
|
8288
8308
|
|
|
8289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8290
8310
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8291
8311
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8292
8312
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8293
8313
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8294
8314
|
|
|
8295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8296
8316
|
var conversation = strictObject({
|
|
8297
8317
|
id,
|
|
8298
8318
|
chat: reference,
|
|
@@ -8307,7 +8327,7 @@ var conversation = strictObject({
|
|
|
8307
8327
|
rules_version: count
|
|
8308
8328
|
});
|
|
8309
8329
|
|
|
8310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8311
8331
|
var conversationBuild = strictObject({
|
|
8312
8332
|
chat: id,
|
|
8313
8333
|
messages: count,
|
|
@@ -8332,7 +8352,7 @@ var catchUpPreparation = strictObject({
|
|
|
8332
8352
|
prepared: optional(conversationPreparation)
|
|
8333
8353
|
});
|
|
8334
8354
|
|
|
8335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8336
8356
|
var conversationDetails = union([
|
|
8337
8357
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8338
8358
|
message
|
|
@@ -8419,10 +8439,15 @@ var conversationHit = strictObject({
|
|
|
8419
8439
|
score: nullable(number()),
|
|
8420
8440
|
matched_in: optional(literal("context")),
|
|
8421
8441
|
by: array(picklist(["meaning", "words"])),
|
|
8422
|
-
stale: boolean()
|
|
8442
|
+
stale: boolean(),
|
|
8443
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
8444
|
+
lines: optional(array(text)),
|
|
8445
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
8446
|
+
from_owner: optional(literal(true)),
|
|
8447
|
+
untrusted
|
|
8423
8448
|
});
|
|
8424
8449
|
|
|
8425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8426
8451
|
var counters = strictObject({
|
|
8427
8452
|
cutoff: time,
|
|
8428
8453
|
max_age_ms: milliseconds,
|
|
@@ -8452,7 +8477,7 @@ var counterRefresh = strictObject({
|
|
|
8452
8477
|
complete: optional(boolean())
|
|
8453
8478
|
});
|
|
8454
8479
|
|
|
8455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8456
8481
|
var document = strictObject({
|
|
8457
8482
|
ref: reference,
|
|
8458
8483
|
id,
|
|
@@ -8467,7 +8492,7 @@ var document = strictObject({
|
|
|
8467
8492
|
owners: optional(array(text))
|
|
8468
8493
|
});
|
|
8469
8494
|
|
|
8470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8471
8496
|
var documentLink = strictObject({
|
|
8472
8497
|
ref: reference,
|
|
8473
8498
|
url: text,
|
|
@@ -8478,7 +8503,7 @@ var documentLink = strictObject({
|
|
|
8478
8503
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8479
8504
|
});
|
|
8480
8505
|
|
|
8481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8482
8507
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8483
8508
|
var contribution = strictObject({
|
|
8484
8509
|
message: evidenceMessage,
|
|
@@ -8508,7 +8533,7 @@ var retentionStay = strictObject({
|
|
|
8508
8533
|
});
|
|
8509
8534
|
var evidence = union([contribution, retentionStay]);
|
|
8510
8535
|
|
|
8511
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8512
8537
|
var fact = strictObject({
|
|
8513
8538
|
ref: reference,
|
|
8514
8539
|
id,
|
|
@@ -8539,7 +8564,7 @@ var fact = strictObject({
|
|
|
8539
8564
|
updated_at: time
|
|
8540
8565
|
});
|
|
8541
8566
|
|
|
8542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8543
8568
|
var hit = strictObject({
|
|
8544
8569
|
kind: picklist([
|
|
8545
8570
|
"message",
|
|
@@ -8551,6 +8576,9 @@ var hit = strictObject({
|
|
|
8551
8576
|
"deal",
|
|
8552
8577
|
"lead",
|
|
8553
8578
|
"crm_file",
|
|
8579
|
+
"issue",
|
|
8580
|
+
"project",
|
|
8581
|
+
"issue_comment",
|
|
8554
8582
|
...BUSINESS_KINDS
|
|
8555
8583
|
]),
|
|
8556
8584
|
ref: reference,
|
|
@@ -8598,7 +8626,7 @@ var hit = strictObject({
|
|
|
8598
8626
|
untrusted
|
|
8599
8627
|
});
|
|
8600
8628
|
|
|
8601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8602
8630
|
var identity = strictObject({
|
|
8603
8631
|
ref: reference,
|
|
8604
8632
|
provider: text,
|
|
@@ -8614,7 +8642,7 @@ var identity = strictObject({
|
|
|
8614
8642
|
person: optional(nullable(reference))
|
|
8615
8643
|
});
|
|
8616
8644
|
|
|
8617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8618
8646
|
var imageEmbedding = strictObject({
|
|
8619
8647
|
model: text,
|
|
8620
8648
|
embedded: count,
|
|
@@ -8623,13 +8651,13 @@ var imageEmbedding = strictObject({
|
|
|
8623
8651
|
more: boolean()
|
|
8624
8652
|
});
|
|
8625
8653
|
|
|
8626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8627
8655
|
import { spawn } from "node:child_process";
|
|
8628
8656
|
import { randomBytes } from "node:crypto";
|
|
8629
8657
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8630
8658
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8631
8659
|
|
|
8632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8633
8661
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8634
8662
|
const total = input.total ?? null;
|
|
8635
8663
|
const updated = input.updatedAt ?? null;
|
|
@@ -8660,7 +8688,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8660
8688
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8661
8689
|
}, "progressLine");
|
|
8662
8690
|
|
|
8663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8664
8692
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8665
8693
|
const run = currentRun();
|
|
8666
8694
|
const trace = traceId ?? run.traceId;
|
|
@@ -8674,7 +8702,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8674
8702
|
}));
|
|
8675
8703
|
}, "recordLogFor");
|
|
8676
8704
|
|
|
8677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8678
8706
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8679
8707
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8680
8708
|
const out = openSync(log, "a", 384);
|
|
@@ -8829,7 +8857,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8829
8857
|
return { job: id6, pid, chat: input.chat, log };
|
|
8830
8858
|
}, "startArchiveJob");
|
|
8831
8859
|
|
|
8832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8833
8861
|
var problem = strictObject({ code: text, message: text });
|
|
8834
8862
|
var job = strictObject({
|
|
8835
8863
|
id,
|
|
@@ -8852,7 +8880,7 @@ var job = strictObject({
|
|
|
8852
8880
|
error: optional(problem)
|
|
8853
8881
|
});
|
|
8854
8882
|
|
|
8855
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8856
8884
|
var joinRequest = strictObject({
|
|
8857
8885
|
person_id: id,
|
|
8858
8886
|
name: nullable(text),
|
|
@@ -8863,7 +8891,7 @@ var joinRequest = strictObject({
|
|
|
8863
8891
|
about: optional(text)
|
|
8864
8892
|
});
|
|
8865
8893
|
|
|
8866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8867
8895
|
var botProfile = strictObject({
|
|
8868
8896
|
name: text,
|
|
8869
8897
|
token: text,
|
|
@@ -8987,7 +9015,7 @@ var stickerInventory = strictObject({
|
|
|
8987
9015
|
url: optional(nullable(text))
|
|
8988
9016
|
});
|
|
8989
9017
|
|
|
8990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8991
9019
|
var pollVote = strictObject({
|
|
8992
9020
|
person_id: id,
|
|
8993
9021
|
name: nullable(text),
|
|
@@ -8997,7 +9025,7 @@ var pollVote = strictObject({
|
|
|
8997
9025
|
voted_at: time
|
|
8998
9026
|
});
|
|
8999
9027
|
|
|
9000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9001
9029
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9002
9030
|
var observation = strictObject({
|
|
9003
9031
|
value: pipe(number(), minValue(0)),
|
|
@@ -9039,7 +9067,7 @@ var serveSummary = strictObject({
|
|
|
9039
9067
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9040
9068
|
});
|
|
9041
9069
|
|
|
9042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9043
9071
|
var mailCounts = strictObject({
|
|
9044
9072
|
by: picklist(["day", "week", "sender"]),
|
|
9045
9073
|
received: count,
|
|
@@ -9054,7 +9082,7 @@ var mailCounts = strictObject({
|
|
|
9054
9082
|
}))
|
|
9055
9083
|
});
|
|
9056
9084
|
|
|
9057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9058
9086
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9059
9087
|
var base = { id, evidence: array(evidence2) };
|
|
9060
9088
|
var finding = variant("kind", [
|
|
@@ -9198,7 +9226,7 @@ var mailFindings = strictObject({
|
|
|
9198
9226
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9199
9227
|
});
|
|
9200
9228
|
|
|
9201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9202
9230
|
var mediaArchive = strictObject({
|
|
9203
9231
|
directory: text,
|
|
9204
9232
|
chats: count,
|
|
@@ -9230,7 +9258,7 @@ var mediaArchiveTimer = union([
|
|
|
9230
9258
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9231
9259
|
]);
|
|
9232
9260
|
|
|
9233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9234
9262
|
var preparationId = pipe(string(), minLength(1));
|
|
9235
9263
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9236
9264
|
var preparationTime = nullable(isoTime);
|
|
@@ -9322,7 +9350,7 @@ var preparationMeeting = strictObject({
|
|
|
9322
9350
|
updated_at: isoTime
|
|
9323
9351
|
});
|
|
9324
9352
|
|
|
9325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9326
9354
|
var meetingEvidence = preparationEvidence;
|
|
9327
9355
|
var meetingPersonContext = strictObject({
|
|
9328
9356
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9344,7 +9372,7 @@ var meetingPersonContext = strictObject({
|
|
|
9344
9372
|
})
|
|
9345
9373
|
});
|
|
9346
9374
|
|
|
9347
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9348
9376
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9349
9377
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9350
9378
|
var finding2 = variant("kind", [
|
|
@@ -9382,7 +9410,7 @@ var meetingFindings = strictObject({
|
|
|
9382
9410
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9383
9411
|
});
|
|
9384
9412
|
|
|
9385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9413
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9386
9414
|
var communicationCoverage = strictObject({
|
|
9387
9415
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9388
9416
|
query: string(),
|
|
@@ -9427,7 +9455,7 @@ var preparationCommunications = strictObject({
|
|
|
9427
9455
|
}))
|
|
9428
9456
|
});
|
|
9429
9457
|
|
|
9430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9458
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9431
9459
|
var meetingPreparation = strictObject({
|
|
9432
9460
|
communications: optional(preparationCommunications),
|
|
9433
9461
|
schema_version: literal(1),
|
|
@@ -9540,7 +9568,7 @@ var meetingPreparation = strictObject({
|
|
|
9540
9568
|
})
|
|
9541
9569
|
});
|
|
9542
9570
|
|
|
9543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9544
9572
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9545
9573
|
var id3 = pipe(string(), minLength(1));
|
|
9546
9574
|
var text3 = string();
|
|
@@ -9604,7 +9632,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9604
9632
|
})
|
|
9605
9633
|
});
|
|
9606
9634
|
|
|
9607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9608
9636
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9609
9637
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9610
9638
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9634,7 +9662,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9634
9662
|
})
|
|
9635
9663
|
});
|
|
9636
9664
|
|
|
9637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9638
9666
|
var text4 = string();
|
|
9639
9667
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9640
9668
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9651,7 +9679,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9651
9679
|
persistence: literal("proposal-only")
|
|
9652
9680
|
});
|
|
9653
9681
|
|
|
9654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9655
9683
|
var memory = strictObject({
|
|
9656
9684
|
ref: reference,
|
|
9657
9685
|
id,
|
|
@@ -9679,7 +9707,7 @@ var memory = strictObject({
|
|
|
9679
9707
|
updated_at: time
|
|
9680
9708
|
});
|
|
9681
9709
|
|
|
9682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9683
9711
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9684
9712
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9685
9713
|
var mention = strictObject({
|
|
@@ -9723,13 +9751,16 @@ var mentionRebuild = strictObject({
|
|
|
9723
9751
|
mentions: count
|
|
9724
9752
|
});
|
|
9725
9753
|
|
|
9726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9727
9755
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9728
9756
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9729
9757
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9730
9758
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9759
|
+
var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
|
|
9760
|
+
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9761
|
+
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9731
9762
|
|
|
9732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9733
9764
|
var messageTranscript = strictObject({
|
|
9734
9765
|
message_id: id,
|
|
9735
9766
|
text,
|
|
@@ -9787,7 +9818,7 @@ var evidencePacket = strictObject({
|
|
|
9787
9818
|
}))
|
|
9788
9819
|
});
|
|
9789
9820
|
|
|
9790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9791
9822
|
var messageThread = strictObject({
|
|
9792
9823
|
ref: reference,
|
|
9793
9824
|
chat: id,
|
|
@@ -9804,7 +9835,7 @@ var messageThread = strictObject({
|
|
|
9804
9835
|
});
|
|
9805
9836
|
var messageContext = union([message, messageThread]);
|
|
9806
9837
|
|
|
9807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9808
9839
|
var messageCounts = strictObject({
|
|
9809
9840
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9810
9841
|
total: count,
|
|
@@ -9817,7 +9848,7 @@ var messageCounts = strictObject({
|
|
|
9817
9848
|
}))
|
|
9818
9849
|
});
|
|
9819
9850
|
|
|
9820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9851
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9821
9852
|
var messageLink = strictObject({
|
|
9822
9853
|
ref: reference,
|
|
9823
9854
|
url: nullable(text),
|
|
@@ -9834,7 +9865,7 @@ var messageLink = strictObject({
|
|
|
9834
9865
|
})))
|
|
9835
9866
|
});
|
|
9836
9867
|
|
|
9837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9838
9869
|
var savedMessageFile = strictObject({
|
|
9839
9870
|
kind: text,
|
|
9840
9871
|
path: text,
|
|
@@ -9921,7 +9952,7 @@ var messageSyncAll = strictObject({
|
|
|
9921
9952
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9922
9953
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9923
9954
|
|
|
9924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9925
9956
|
var messageWrite = strictObject({
|
|
9926
9957
|
operation_id: id,
|
|
9927
9958
|
message,
|
|
@@ -9936,7 +9967,7 @@ var draftWrite = strictObject({
|
|
|
9936
9967
|
});
|
|
9937
9968
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9938
9969
|
|
|
9939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9940
9971
|
var model2 = strictObject({
|
|
9941
9972
|
id,
|
|
9942
9973
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9971,7 +10002,7 @@ var chosenModel = strictObject({
|
|
|
9971
10002
|
estimate_seconds: nullable(count)
|
|
9972
10003
|
});
|
|
9973
10004
|
|
|
9974
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9975
10006
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9976
10007
|
var modelKey = strictObject({
|
|
9977
10008
|
provider: text,
|
|
@@ -9981,7 +10012,7 @@ var modelKey = strictObject({
|
|
|
9981
10012
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9982
10013
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9983
10014
|
|
|
9984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9985
10016
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9986
10017
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9987
10018
|
var graph = strictObject({
|
|
@@ -10015,14 +10046,14 @@ var officialStats = strictObject({
|
|
|
10015
10046
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10016
10047
|
});
|
|
10017
10048
|
|
|
10018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10019
10050
|
var person2 = strictObject({
|
|
10020
10051
|
ref: reference,
|
|
10021
10052
|
name: nullable(text),
|
|
10022
10053
|
identities: optional(array(identity))
|
|
10023
10054
|
});
|
|
10024
10055
|
|
|
10025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10026
10057
|
var poll = strictObject({
|
|
10027
10058
|
chat_id: id,
|
|
10028
10059
|
message_id: id,
|
|
@@ -10038,11 +10069,11 @@ var poll = strictObject({
|
|
|
10038
10069
|
});
|
|
10039
10070
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10040
10071
|
|
|
10041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10042
10073
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10043
10074
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10044
10075
|
|
|
10045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10046
10077
|
var figures = record(string(), number());
|
|
10047
10078
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10048
10079
|
var rankingRow = strictObject({
|
|
@@ -10089,7 +10120,7 @@ var ranking = strictObject({
|
|
|
10089
10120
|
rows: array(rankingRow)
|
|
10090
10121
|
});
|
|
10091
10122
|
|
|
10092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10093
10124
|
var reaction = strictObject({
|
|
10094
10125
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10095
10126
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10097,7 +10128,7 @@ var reaction = strictObject({
|
|
|
10097
10128
|
reacted_at: time
|
|
10098
10129
|
});
|
|
10099
10130
|
|
|
10100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10101
10132
|
var reactionChange = strictObject({
|
|
10102
10133
|
operation_id: id,
|
|
10103
10134
|
chat_id: id,
|
|
@@ -10105,7 +10136,7 @@ var reactionChange = strictObject({
|
|
|
10105
10136
|
reaction: nullable(text)
|
|
10106
10137
|
});
|
|
10107
10138
|
|
|
10108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10109
10140
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10110
10141
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10111
10142
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10116,7 +10147,7 @@ var recipientChange = strictObject({
|
|
|
10116
10147
|
...partial(recipientOff).entries
|
|
10117
10148
|
});
|
|
10118
10149
|
|
|
10119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10120
10151
|
var events = array(record(string(), unknown()));
|
|
10121
10152
|
var recordedRun = strictObject({
|
|
10122
10153
|
run_id: id,
|
|
@@ -10188,7 +10219,7 @@ var runHit = strictObject({
|
|
|
10188
10219
|
});
|
|
10189
10220
|
var runLocation = strictObject({ path: text });
|
|
10190
10221
|
|
|
10191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10192
10223
|
var relationship = strictObject({
|
|
10193
10224
|
id,
|
|
10194
10225
|
from: reference,
|
|
@@ -10215,7 +10246,7 @@ var relationship = strictObject({
|
|
|
10215
10246
|
created_at: time
|
|
10216
10247
|
});
|
|
10217
10248
|
|
|
10218
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10219
10250
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10220
10251
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10221
10252
|
var responseTimes = strictObject({
|
|
@@ -10232,7 +10263,7 @@ var waitingChats = strictObject({
|
|
|
10232
10263
|
by_kind: strictObject({ private: count, group: count })
|
|
10233
10264
|
});
|
|
10234
10265
|
|
|
10235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10236
10267
|
var retentionCohort = strictObject({
|
|
10237
10268
|
/** The first day of the joining day or week. */
|
|
10238
10269
|
cohort: text,
|
|
@@ -10280,7 +10311,7 @@ var retention = strictObject({
|
|
|
10280
10311
|
rows: array(retentionCohort)
|
|
10281
10312
|
});
|
|
10282
10313
|
|
|
10283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10314
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10284
10315
|
var savedSearch = strictObject({
|
|
10285
10316
|
id,
|
|
10286
10317
|
/** `null` for a run in the history. */
|
|
@@ -10297,7 +10328,7 @@ var savedSearch = strictObject({
|
|
|
10297
10328
|
});
|
|
10298
10329
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10299
10330
|
|
|
10300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10301
10332
|
var sendAttempt = strictObject({
|
|
10302
10333
|
at: time,
|
|
10303
10334
|
profile: text,
|
|
@@ -10325,7 +10356,7 @@ var sendAttempt = strictObject({
|
|
|
10325
10356
|
error_code: optional(text)
|
|
10326
10357
|
});
|
|
10327
10358
|
|
|
10328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10329
10360
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10330
10361
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10331
10362
|
var infoSchema = strictObject({
|
|
@@ -10555,7 +10586,7 @@ var storeRepair = union([
|
|
|
10555
10586
|
]);
|
|
10556
10587
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10557
10588
|
|
|
10558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10559
10590
|
var range = strictObject({ from: number(), to: number() });
|
|
10560
10591
|
var storeChatStatus = strictObject({
|
|
10561
10592
|
chat_id: id,
|
|
@@ -10653,7 +10684,7 @@ var storeJobRetry = union([
|
|
|
10653
10684
|
]);
|
|
10654
10685
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10655
10686
|
|
|
10656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10657
10688
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10658
10689
|
var storeTable = strictObject({
|
|
10659
10690
|
name: text,
|
|
@@ -10662,7 +10693,7 @@ var storeTable = strictObject({
|
|
|
10662
10693
|
bytes: optional(nullable(count))
|
|
10663
10694
|
});
|
|
10664
10695
|
|
|
10665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10666
10697
|
var tagTarget = variant("type", [
|
|
10667
10698
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10668
10699
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10693,7 +10724,7 @@ var automaticTags = strictObject({
|
|
|
10693
10724
|
dry_run: boolean()
|
|
10694
10725
|
});
|
|
10695
10726
|
|
|
10696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10697
10728
|
var tagging = strictObject({
|
|
10698
10729
|
tag: text,
|
|
10699
10730
|
type: picklist(TAG_TYPES),
|
|
@@ -10706,7 +10737,7 @@ var tagging = strictObject({
|
|
|
10706
10737
|
created_at: time
|
|
10707
10738
|
});
|
|
10708
10739
|
|
|
10709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10710
10741
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10711
10742
|
var taskPair = strictObject({
|
|
10712
10743
|
task: nullable(side),
|
|
@@ -10729,7 +10760,7 @@ var taskPair = strictObject({
|
|
|
10729
10760
|
created_at: time
|
|
10730
10761
|
});
|
|
10731
10762
|
|
|
10732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10733
10764
|
var nullableTime = nullable(time);
|
|
10734
10765
|
var link = strictObject({
|
|
10735
10766
|
id,
|
|
@@ -10903,7 +10934,7 @@ var taskReview = strictObject({
|
|
|
10903
10934
|
untrusted
|
|
10904
10935
|
});
|
|
10905
10936
|
|
|
10906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10907
10938
|
var template = strictObject({
|
|
10908
10939
|
key: text,
|
|
10909
10940
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10915,7 +10946,7 @@ var template = strictObject({
|
|
|
10915
10946
|
updated_by: nullable(text)
|
|
10916
10947
|
});
|
|
10917
10948
|
|
|
10918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10919
10950
|
var topic = strictObject({
|
|
10920
10951
|
id,
|
|
10921
10952
|
title: text,
|
|
@@ -10929,7 +10960,7 @@ var topic = strictObject({
|
|
|
10929
10960
|
untrusted
|
|
10930
10961
|
});
|
|
10931
10962
|
|
|
10932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10933
10964
|
var ENTITIES = {
|
|
10934
10965
|
sync_progress: progress,
|
|
10935
10966
|
deal,
|
|
@@ -10963,6 +10994,7 @@ var ENTITIES = {
|
|
|
10963
10994
|
attachments: optional(array(hitFile)),
|
|
10964
10995
|
untrusted
|
|
10965
10996
|
}),
|
|
10997
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
10966
10998
|
"message.summary": strictObject({
|
|
10967
10999
|
...pick(message, [
|
|
10968
11000
|
"ref",
|
|
@@ -10985,6 +11017,8 @@ var ENTITIES = {
|
|
|
10985
11017
|
message_pin: messagePin,
|
|
10986
11018
|
message_star: messageStar,
|
|
10987
11019
|
message_deletion: messageDeletion,
|
|
11020
|
+
scheduled_cancellation: scheduledCancellation,
|
|
11021
|
+
scheduled_send: scheduledSend,
|
|
10988
11022
|
message_transcript: messageTranscript,
|
|
10989
11023
|
message_links: messageLinks,
|
|
10990
11024
|
evidence_packet: evidencePacket,
|
|
@@ -11228,7 +11262,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11228
11262
|
return [name, definition];
|
|
11229
11263
|
})), "entityDefinitions");
|
|
11230
11264
|
|
|
11231
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11232
11266
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11233
11267
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11234
11268
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11262,7 +11296,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11262
11296
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11263
11297
|
}, "answerRow");
|
|
11264
11298
|
|
|
11265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11266
11300
|
import { join as join5 } from "node:path";
|
|
11267
11301
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11268
11302
|
var IMAGE_MODELS = [
|
|
@@ -11316,7 +11350,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11316
11350
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11317
11351
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11318
11352
|
|
|
11319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11320
11354
|
var STEPS2 = defineSteps([
|
|
11321
11355
|
...STEPS,
|
|
11322
11356
|
{
|
|
@@ -11606,7 +11640,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11606
11640
|
].join(" ");
|
|
11607
11641
|
}, "stepLine");
|
|
11608
11642
|
|
|
11609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11610
11644
|
var where = [{ field: "ref" }];
|
|
11611
11645
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11612
11646
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11698,7 +11732,7 @@ var STATUS_ROWS = {
|
|
|
11698
11732
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11699
11733
|
};
|
|
11700
11734
|
|
|
11701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11702
11736
|
var TEXT_CHARS = 400;
|
|
11703
11737
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11704
11738
|
var messageRow = {
|
|
@@ -12066,7 +12100,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12066
12100
|
return lines.concat(footerOf(body)).join("\n");
|
|
12067
12101
|
}, "compactText");
|
|
12068
12102
|
|
|
12069
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12070
12104
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12071
12105
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12072
12106
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12124,7 +12158,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12124
12158
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12125
12159
|
}, "largeAnswerSteps");
|
|
12126
12160
|
|
|
12127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12128
12162
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12129
12163
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12130
12164
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12138,7 +12172,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12138
12172
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12139
12173
|
}, "strip");
|
|
12140
12174
|
|
|
12141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12175
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12142
12176
|
var OPEN = "\u27E6";
|
|
12143
12177
|
var CLOSE = "\u27E7";
|
|
12144
12178
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12207,6 +12241,8 @@ var MESSAGE_UNTRUSTED = [
|
|
|
12207
12241
|
"bcc.name",
|
|
12208
12242
|
"reply_addresses.name"
|
|
12209
12243
|
];
|
|
12244
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
12245
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
12210
12246
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
12211
12247
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
12212
12248
|
DECLARED.set(command, fields);
|
|
@@ -12226,7 +12262,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12226
12262
|
return result;
|
|
12227
12263
|
}, "withFieldsMarked");
|
|
12228
12264
|
|
|
12229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12230
12266
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12231
12267
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12232
12268
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12628,7 +12664,10 @@ export {
|
|
|
12628
12664
|
tooLargeSteps,
|
|
12629
12665
|
withoutProviderRefs,
|
|
12630
12666
|
runMarkOf,
|
|
12667
|
+
marked,
|
|
12631
12668
|
withUntrustedMarked,
|
|
12669
|
+
CHAT_UNTRUSTED,
|
|
12670
|
+
CONTACT_UNTRUSTED,
|
|
12632
12671
|
marksUntrusted,
|
|
12633
12672
|
answerSchema,
|
|
12634
12673
|
listOf,
|