@wirecat/attio-cli 0.2.2 → 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 +36 -0
- package/README.md +13 -9
- package/contracts/wirecat.json +263 -1
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-HM6ST5HY.js +37 -0
- package/dist/bundle/{all-profiles-RAFO3NFW.js → all-profiles-7GUR2SM3.js} +10 -10
- package/dist/bundle/{anthropic-TNR6QJGA.js → anthropic-4CN3TJYB.js} +5 -5
- package/dist/bundle/{app-server-BXVGXUGQ.js → app-server-HSQEPWRY.js} +61 -61
- package/dist/bundle/attio.js +11 -11
- package/dist/bundle/{bun-3RTK5XYF.js → bun-DTF5MNDQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-I5K5Z2ZK.js → bun-sqlite-NFVPKLZD.js} +6 -6
- package/dist/bundle/{chunk-EMZ4MGPD.js → chunk-2AVWKAHP.js} +22 -1
- package/dist/bundle/{chunk-CZP6C6MX.js → chunk-2KP5LRCK.js} +4 -4
- package/dist/bundle/{chunk-DKSO7UTS.js → chunk-2PDJCM3U.js} +134 -14
- package/dist/bundle/{chunk-SEDD6YZQ.js → chunk-2SM6G7CP.js} +4 -4
- package/dist/bundle/{chunk-ZI3IRII7.js → chunk-3HFUSESO.js} +3 -3
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-3JZNNESS.js} +2 -2
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-3L3ZRFKH.js} +1 -1
- package/dist/bundle/{chunk-WHDVRMB7.js → chunk-3PPTBPRU.js} +42 -38
- package/dist/bundle/{chunk-NWDO4DE3.js → chunk-4A5E32BA.js} +1185 -672
- package/dist/bundle/{chunk-2CS7VHUB.js → chunk-4BHD26FI.js} +34 -34
- package/dist/bundle/{chunk-TUOFAUBR.js → chunk-4GGTI6J2.js} +8 -8
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-4IASSY4K.js} +21 -8
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-55OZY4JK.js} +1 -1
- package/dist/bundle/{chunk-6ZBJCBXA.js → chunk-6GLKKI5B.js} +2 -2
- package/dist/bundle/{chunk-7QH5BZUG.js → chunk-6GVBDIY7.js} +3 -3
- package/dist/bundle/{chunk-CKG7GIHR.js → chunk-6MKREZYW.js} +3 -3
- package/dist/bundle/{chunk-O4SX6FXT.js → chunk-6UVYOUKX.js} +1 -1
- package/dist/bundle/{chunk-L7BMGR5W.js → chunk-73D7FXGY.js} +130 -32
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-77PCNTJY.js} +1 -1
- package/dist/bundle/{chunk-XSUU7PB7.js → chunk-AO6N3HLS.js} +16 -3
- package/dist/bundle/{chunk-V4JWUVNO.js → chunk-CEY7LGCR.js} +4 -4
- package/dist/bundle/{chunk-FPMWW2HK.js → chunk-CV65DYDO.js} +31 -27
- package/dist/bundle/{chunk-P76XVKVC.js → chunk-CWLNO3ZU.js} +1 -1
- package/dist/bundle/{chunk-UZYL4AMA.js → chunk-D3BQH24W.js} +72 -57
- package/dist/bundle/{chunk-RKKY3MSZ.js → chunk-EBVOFSWE.js} +1 -1
- package/dist/bundle/{chunk-XQIRF6PS.js → chunk-ECPUCPPX.js} +7 -7
- package/dist/bundle/{chunk-UTTNGFKW.js → chunk-FJUBFNIH.js} +12 -12
- package/dist/bundle/{chunk-7626I3P4.js → chunk-GFKYZJN4.js} +1 -1
- package/dist/bundle/{chunk-JFFCP52L.js → chunk-GJFFI6OA.js} +1 -1
- package/dist/bundle/{chunk-APNSAKSO.js → chunk-GMRYIIGP.js} +6 -6
- package/dist/bundle/{chunk-GT3HXSKW.js → chunk-GS3LY5S5.js} +14 -7
- package/dist/bundle/{chunk-LHKVAZ5T.js → chunk-H55WJPRM.js} +2 -2
- package/dist/bundle/{chunk-MG4U6AKG.js → chunk-HS7TLG6U.js} +3 -4
- package/dist/bundle/{chunk-2TLGP7BS.js → chunk-HVLKBGYN.js} +5 -5
- package/dist/bundle/{chunk-LG6Y4NAT.js → chunk-IFDR5RYE.js} +2 -2
- package/dist/bundle/{chunk-PRERT2BZ.js → chunk-IQSXBZA7.js} +1 -1
- package/dist/bundle/{chunk-LIIOT3AN.js → chunk-IWC3ECVF.js} +3 -3
- package/dist/bundle/{chunk-62FENOMX.js → chunk-J3KE3D3L.js} +6 -6
- package/dist/bundle/{chunk-6HYTDMOL.js → chunk-KP7U75NI.js} +6 -6
- package/dist/bundle/{chunk-QSUFJGTG.js → chunk-KRCE3EBI.js} +2 -2
- package/dist/bundle/{chunk-7WS4ONXZ.js → chunk-LC4KJJZ2.js} +3 -3
- package/dist/bundle/{chunk-HMYJLOXE.js → chunk-LX6IMPKX.js} +2291 -844
- package/dist/bundle/{chunk-MI6IH5UW.js → chunk-MCNZCQ6P.js} +61 -61
- package/dist/bundle/{chunk-JWRI6ZY6.js → chunk-N7EFLZNW.js} +186 -162
- package/dist/bundle/{chunk-4F3FQ5QX.js → chunk-NE65S7F6.js} +3 -3
- package/dist/bundle/{chunk-BDFNXTNK.js → chunk-NK32ZZRV.js} +7 -7
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-NTW3Z4ZC.js} +4 -4
- package/dist/bundle/{chunk-2JB5XD5R.js → chunk-OOS57MMX.js} +7 -7
- package/dist/bundle/{chunk-AXGSAG53.js → chunk-PBUBZNIA.js} +25 -174
- package/dist/bundle/{chunk-JSAXTIRX.js → chunk-PCYDTU6N.js} +3 -2
- package/dist/bundle/{chunk-FRCORPOY.js → chunk-PTBGWRI4.js} +5 -5
- package/dist/bundle/{chunk-3BM6KBWP.js → chunk-PX5XI2UR.js} +19 -19
- package/dist/bundle/{chunk-MW2OS2GD.js → chunk-ROJF7524.js} +8 -8
- package/dist/bundle/{chunk-BFWERPF6.js → chunk-RPL3VL7F.js} +2 -2
- package/dist/bundle/{chunk-Q2U6DGSV.js → chunk-SDZJIDMF.js} +10 -10
- package/dist/bundle/{chunk-NQNFMKL2.js → chunk-SEZLN6OX.js} +1 -1
- package/dist/bundle/{chunk-AHPGTDO2.js → chunk-SIYP5IZG.js} +6 -6
- package/dist/bundle/{chunk-B7U5FLPP.js → chunk-SNUCQQQU.js} +8 -8
- package/dist/bundle/{chunk-VQSVE4RD.js → chunk-SRU4EQYO.js} +2 -2
- package/dist/bundle/{chunk-53BHLQRA.js → chunk-SVUQKDBZ.js} +13 -13
- package/dist/bundle/{chunk-WALQNDXO.js → chunk-SZ76WGXS.js} +8 -8
- package/dist/bundle/{chunk-YBJBYPS7.js → chunk-UN63OIS5.js} +3 -3
- package/dist/bundle/{chunk-OHCYBSCA.js → chunk-UNI5OO3J.js} +13 -13
- package/dist/bundle/{chunk-2PSAS4TT.js → chunk-UXT4532H.js} +7 -7
- package/dist/bundle/{chunk-T6DV3ED2.js → chunk-V6RIJ22V.js} +14 -14
- package/dist/bundle/{chunk-NQJ7QMEF.js → chunk-WAOJEEGU.js} +3 -3
- package/dist/bundle/{chunk-3JRLPNPO.js → chunk-WE6UGOBO.js} +1 -1
- package/dist/bundle/{chunk-SYBAMYFY.js → chunk-WYPHP2AM.js} +3 -3
- package/dist/bundle/{chunk-Z3HZD24R.js → chunk-Y6QUAEEJ.js} +17 -17
- package/dist/bundle/{chunk-AMRELFBT.js → chunk-YERPSSUC.js} +2 -2
- package/dist/bundle/{chunk-MHMHZ6GY.js → chunk-ZAZUNEZB.js} +1 -1
- package/dist/bundle/{chunk-OC35ZLPE.js → chunk-ZSO3T2W4.js} +4 -4
- package/dist/bundle/command-contract-XZKDRLEC.js +37 -0
- package/dist/bundle/{command-server-entry-ZKWL26Q5.js → command-server-entry-VTYSKZSD.js} +25 -25
- package/dist/bundle/{decode-TG45PUJW.js → decode-EJCGQVLX.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-YGAG263C.js} +8 -8
- package/dist/bundle/{echarts-AWICNZBO.js → echarts-LHBWIDKI.js} +2 -2
- package/dist/bundle/{embed-TN6HQUK2.js → embed-QKVPSZLS.js} +6 -6
- package/dist/bundle/{embedder-T3KJA3I4.js → embedder-NYO6EOFU.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-SE7VJEXI.js} +2 -2
- package/dist/bundle/{first-run-BZUITKMF.js → first-run-P5QA7RNU.js} +12 -12
- package/dist/bundle/first-screen-EUIV6PVE.js +37 -0
- package/dist/bundle/{instructions-FRJHLLZX.js → instructions-T6LGIEPV.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-PVQZS6IH.js} +2 -2
- package/dist/bundle/meeting-combined-GOBZBEX2.js +24 -0
- package/dist/bundle/{meeting-model-TENJU3OG.js → meeting-model-7UBHXIVW.js} +11 -11
- package/dist/bundle/{meeting-semantic-ZKOG2XMU.js → meeting-semantic-RXCWAIZZ.js} +6 -6
- package/dist/bundle/{node-3ZISJOEM.js → node-UBG6VKKA.js} +2 -2
- package/dist/bundle/{node-sqlite-KA35X4F4.js → node-sqlite-PYNAIHR6.js} +7 -7
- package/dist/bundle/{oauth-C74B6XHN.js → oauth-BLOW6XVT.js} +7 -7
- package/dist/bundle/{open-CJESRWUG.js → open-VWILPEZ2.js} +5 -5
- package/dist/bundle/{openai-WLXOXSTV.js → openai-N37NPTEE.js} +15 -15
- package/dist/bundle/{process-JV3KVGJY.js → process-DMYM7PNQ.js} +1 -1
- package/dist/bundle/{program-HSVLSH7A.js → program-5QZLUWS4.js} +4115 -4148
- package/dist/bundle/{prompt-EEBVB3XG.js → prompt-EJHIAH4K.js} +5 -5
- package/dist/bundle/{recognize-ZFITQZ4W.js → recognize-67LER7ZN.js} +4 -4
- package/dist/bundle/{remote-RZXSYHOJ.js → remote-BONPKWRO.js} +9 -9
- package/dist/bundle/{rerank-2BHYAEO3.js → rerank-FK2AFC3Y.js} +7 -7
- package/dist/bundle/{schemas-6GTYA2NR.js → schemas-4E76I6ME.js} +1 -1
- package/dist/bundle/{serve-G3M5H5JM.js → serve-ZIXWKUE3.js} +9 -9
- package/dist/bundle/{server-44WJ5K2W.js → server-4RX3LBCA.js} +53 -53
- package/dist/bundle/server-RL6NIURH.js +79 -0
- package/dist/bundle/{sqlite-runtime-TRISCWIG.js → sqlite-runtime-WDXPYP7C.js} +6 -6
- package/dist/bundle/{state-BF6IMDP2.js → state-NE7WPOBK.js} +6 -6
- package/dist/bundle/{store-VSKYLTLH.js → store-2LX2ZQY5.js} +18 -18
- package/dist/bundle/{store-LZPZC72J.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 +33 -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-3FYEIRN4.js +0 -37
- package/dist/bundle/command-contract-N5X3UOTT.js +0 -37
- package/dist/bundle/first-screen-I23NJLFH.js +0 -37
- package/dist/bundle/meeting-combined-7ZNV4MZ2.js +0 -24
- package/dist/bundle/server-3ZL5TECF.js +0 -79
- package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +0 -66
- package/dist/bundle/surface-OHYA3YS6.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,7 +3963,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3963
3963
|
}
|
|
3964
3964
|
}, "refuseJoinedPath");
|
|
3965
3965
|
|
|
3966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.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
3968
|
var DANGEROUS = /* @__PURE__ */ new Set([
|
|
3969
3969
|
"messages.delete",
|
|
@@ -4399,7 +4399,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4399
4399
|
}
|
|
4400
4400
|
}, "assertRetentionEvidenceRead");
|
|
4401
4401
|
|
|
4402
|
-
// 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
|
|
4403
4403
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4404
4404
|
var requests = new AsyncLocalStorage();
|
|
4405
4405
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -4414,7 +4414,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
4414
4414
|
return direct;
|
|
4415
4415
|
}, "exitCodeSet");
|
|
4416
4416
|
|
|
4417
|
-
// 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
|
|
4418
4418
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4419
4419
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
4420
4420
|
messageId: message2.id,
|
|
@@ -4520,7 +4520,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4520
4520
|
}, "guardedWrite");
|
|
4521
4521
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4522
4522
|
|
|
4523
|
-
// 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
|
|
4524
4524
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4525
4525
|
try {
|
|
4526
4526
|
return work();
|
|
@@ -4547,7 +4547,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4547
4547
|
return projectFields(value, fields);
|
|
4548
4548
|
}), "projectFields");
|
|
4549
4549
|
|
|
4550
|
-
// 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
|
|
4551
4551
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4552
4552
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4553
4553
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4730,7 +4730,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4730
4730
|
}
|
|
4731
4731
|
}, "withAbort");
|
|
4732
4732
|
|
|
4733
|
-
// 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
|
|
4734
4734
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4735
4735
|
import { join } from "node:path";
|
|
4736
4736
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4752,7 +4752,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4752
4752
|
}, "profilesWithAccounts");
|
|
4753
4753
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4754
4754
|
|
|
4755
|
-
// 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
|
|
4756
4756
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4757
4757
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4758
4758
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4809,7 +4809,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4809
4809
|
};
|
|
4810
4810
|
}, "runBudget");
|
|
4811
4811
|
|
|
4812
|
-
// 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
|
|
4813
4813
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4814
4814
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4815
4815
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4845,7 +4845,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4845
4845
|
return value;
|
|
4846
4846
|
}, "atDetail");
|
|
4847
4847
|
|
|
4848
|
-
// 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
|
|
4849
4849
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4850
4850
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4851
4851
|
if (other)
|
|
@@ -4909,7 +4909,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4909
4909
|
}, "warn")
|
|
4910
4910
|
}), "silence");
|
|
4911
4911
|
|
|
4912
|
-
// 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
|
|
4913
4913
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4914
4914
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4915
4915
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4947,7 +4947,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4947
4947
|
progress: "sync.progress"
|
|
4948
4948
|
};
|
|
4949
4949
|
|
|
4950
|
-
// 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
|
|
4951
4951
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4952
4952
|
const recording = startRecording(options);
|
|
4953
4953
|
try {
|
|
@@ -5162,7 +5162,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5162
5162
|
return void 0;
|
|
5163
5163
|
}, "partialOutcome");
|
|
5164
5164
|
|
|
5165
|
-
// 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
|
|
5166
5166
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5167
5167
|
if (ms2 === void 0)
|
|
5168
5168
|
return body();
|
|
@@ -5188,7 +5188,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5188
5188
|
}
|
|
5189
5189
|
}, "withDeadline");
|
|
5190
5190
|
|
|
5191
|
-
// 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
|
|
5192
5192
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5193
5193
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5194
5194
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5257,10 +5257,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5257
5257
|
return void 0;
|
|
5258
5258
|
}, "sampleCommand");
|
|
5259
5259
|
|
|
5260
|
-
// 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
|
|
5261
5261
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5262
5262
|
|
|
5263
|
-
// 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
|
|
5264
5264
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5265
5265
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5266
5266
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5329,7 +5329,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5329
5329
|
};
|
|
5330
5330
|
}, "modelTarget");
|
|
5331
5331
|
|
|
5332
|
-
// 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
|
|
5333
5333
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5334
5334
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5335
5335
|
var AI_FIELDS = {
|
|
@@ -5373,7 +5373,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5373
5373
|
};
|
|
5374
5374
|
}, "resolveAISettings");
|
|
5375
5375
|
|
|
5376
|
-
// 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
|
|
5377
5377
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5378
5378
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5379
5379
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5387,7 +5387,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5387
5387
|
return ms2;
|
|
5388
5388
|
}, "parseDuration");
|
|
5389
5389
|
|
|
5390
|
-
// 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
|
|
5391
5391
|
var HISTORY_MAX_DAYS = 1095;
|
|
5392
5392
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5393
5393
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5434,7 +5434,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5434
5434
|
return { batch: { ...batch, messages }, skipped };
|
|
5435
5435
|
}, "limitBatch");
|
|
5436
5436
|
|
|
5437
|
-
// 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
|
|
5438
5438
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5439
5439
|
import { join as join2 } from "node:path";
|
|
5440
5440
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5523,7 +5523,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5523
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));
|
|
5524
5524
|
}, "registryProfiles");
|
|
5525
5525
|
|
|
5526
|
-
// 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
|
|
5527
5527
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5528
5528
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5529
5529
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5726,7 +5726,10 @@ var scopes = /* @__PURE__ */ __name((raw) => {
|
|
|
5726
5726
|
return out;
|
|
5727
5727
|
}, "scopes");
|
|
5728
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");
|
|
5729
|
-
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");
|
|
5730
5733
|
var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
|
|
5731
5734
|
var prune = /* @__PURE__ */ __name((raw, paths) => {
|
|
5732
5735
|
const drop = new Set(paths.map(pathId));
|
|
@@ -5818,7 +5821,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5818
5821
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5819
5822
|
}, "readConfigFile");
|
|
5820
5823
|
|
|
5821
|
-
// 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
|
|
5822
5825
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5823
5826
|
import { dirname, join as join3 } from "node:path";
|
|
5824
5827
|
var DEFAULT_CONFIG = {
|
|
@@ -5847,7 +5850,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5847
5850
|
}
|
|
5848
5851
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5849
5852
|
|
|
5850
|
-
// 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
|
|
5851
5854
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5852
5855
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5853
5856
|
const path2 = key.split(".");
|
|
@@ -5869,7 +5872,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5869
5872
|
return { config, added };
|
|
5870
5873
|
}, "withSettingDefaults");
|
|
5871
5874
|
|
|
5872
|
-
// 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
|
|
5873
5876
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5874
5877
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5875
5878
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6397,7 +6400,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6397
6400
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6398
6401
|
}, "given");
|
|
6399
6402
|
|
|
6400
|
-
// 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
|
|
6401
6404
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6402
6405
|
const { deadline, signal, app } = environmentOf(command);
|
|
6403
6406
|
const now = deadline?.();
|
|
@@ -6551,7 +6554,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6551
6554
|
return words.join(" ");
|
|
6552
6555
|
}, "commandPath");
|
|
6553
6556
|
|
|
6554
|
-
// 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
|
|
6555
6558
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6556
6559
|
var FETCH = { remote: "read", local: "write" };
|
|
6557
6560
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6587,7 +6590,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
6587
6590
|
KEPT_UNDER_LOCK.add(command);
|
|
6588
6591
|
return command;
|
|
6589
6592
|
}, "destroysNothing");
|
|
6590
|
-
var PROPOSE_COMMANDS = [
|
|
6593
|
+
var PROPOSE_COMMANDS = [
|
|
6594
|
+
"messages acknowledge",
|
|
6595
|
+
"mail findings add",
|
|
6596
|
+
"projects actions add",
|
|
6597
|
+
"meetings actions add"
|
|
6598
|
+
];
|
|
6591
6599
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
6592
6600
|
var isProposal = /* @__PURE__ */ __name((command) => {
|
|
6593
6601
|
if (!PROPOSES.has(command))
|
|
@@ -6683,7 +6691,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6683
6691
|
throw readOnlyRefusal(lock, what);
|
|
6684
6692
|
}, "refuseUnderReadOnly");
|
|
6685
6693
|
|
|
6686
|
-
// 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
|
|
6687
6695
|
var account = strictObject({
|
|
6688
6696
|
provider: text,
|
|
6689
6697
|
id,
|
|
@@ -6693,7 +6701,7 @@ var account = strictObject({
|
|
|
6693
6701
|
scope: optional(picklist(["personal", "work"]))
|
|
6694
6702
|
});
|
|
6695
6703
|
|
|
6696
|
-
// 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
|
|
6697
6705
|
var accountSession = strictObject({
|
|
6698
6706
|
current: boolean(),
|
|
6699
6707
|
client: nullable(text),
|
|
@@ -6703,7 +6711,7 @@ var accountSession = strictObject({
|
|
|
6703
6711
|
created_at: optional(nullable(time))
|
|
6704
6712
|
});
|
|
6705
6713
|
|
|
6706
|
-
// 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
|
|
6707
6715
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6708
6716
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6709
6717
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6732,7 +6740,7 @@ var accountRemoval = strictObject({
|
|
|
6732
6740
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6733
6741
|
});
|
|
6734
6742
|
|
|
6735
|
-
// 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
|
|
6736
6744
|
var accountProfile = strictObject({
|
|
6737
6745
|
profile: id,
|
|
6738
6746
|
current: boolean(),
|
|
@@ -6744,7 +6752,7 @@ var accountProfile = strictObject({
|
|
|
6744
6752
|
bot: optional(literal(true))
|
|
6745
6753
|
});
|
|
6746
6754
|
|
|
6747
|
-
// 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
|
|
6748
6756
|
var milliseconds = pipe(number(), minValue(0));
|
|
6749
6757
|
var counterReading = strictObject({
|
|
6750
6758
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6756,7 +6764,7 @@ var counterReading = strictObject({
|
|
|
6756
6764
|
});
|
|
6757
6765
|
var selection = record(string(), unknown());
|
|
6758
6766
|
|
|
6759
|
-
// 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
|
|
6760
6768
|
var adminRow = strictObject({
|
|
6761
6769
|
ref: reference,
|
|
6762
6770
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6809,7 +6817,7 @@ var adminReport = strictObject({
|
|
|
6809
6817
|
rows: array(adminRow)
|
|
6810
6818
|
});
|
|
6811
6819
|
|
|
6812
|
-
// 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
|
|
6813
6821
|
var closeSuggestion = strictObject({
|
|
6814
6822
|
as: picklist(["done", "dismissed"]),
|
|
6815
6823
|
/** The agent's name. */
|
|
@@ -6871,7 +6879,7 @@ var task = strictObject({
|
|
|
6871
6879
|
updated_at: optional(time)
|
|
6872
6880
|
});
|
|
6873
6881
|
|
|
6874
|
-
// 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
|
|
6875
6883
|
var agendaChat = strictObject({
|
|
6876
6884
|
chat: reference,
|
|
6877
6885
|
title: nullable(text),
|
|
@@ -6941,11 +6949,11 @@ var agenda = strictObject({
|
|
|
6941
6949
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6942
6950
|
});
|
|
6943
6951
|
|
|
6944
|
-
// 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
|
|
6945
6953
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6946
6954
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6947
6955
|
|
|
6948
|
-
// 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
|
|
6949
6957
|
var attachment = strictObject({
|
|
6950
6958
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6951
6959
|
message: optional(reference),
|
|
@@ -6990,7 +6998,7 @@ var hitFile = strictObject({
|
|
|
6990
6998
|
local_path: optional(text)
|
|
6991
6999
|
});
|
|
6992
7000
|
|
|
6993
|
-
// 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
|
|
6994
7002
|
var actionableError = objectWithRest({
|
|
6995
7003
|
code: text,
|
|
6996
7004
|
message: text,
|
|
@@ -7007,7 +7015,7 @@ var batchResult = strictObject({
|
|
|
7007
7015
|
max_error_percent: count
|
|
7008
7016
|
});
|
|
7009
7017
|
|
|
7010
|
-
// 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
|
|
7011
7019
|
var extractionItem = strictObject({
|
|
7012
7020
|
ref: reference,
|
|
7013
7021
|
attachment: count,
|
|
@@ -7040,7 +7048,7 @@ var extractionReport = strictObject({
|
|
|
7040
7048
|
cursor: optional(text)
|
|
7041
7049
|
});
|
|
7042
7050
|
|
|
7043
|
-
// 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
|
|
7044
7052
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7045
7053
|
var attachmentBytes = strictObject({
|
|
7046
7054
|
ref: reference,
|
|
@@ -7071,7 +7079,7 @@ var attachmentTextChange = strictObject({
|
|
|
7071
7079
|
text: optional(text)
|
|
7072
7080
|
});
|
|
7073
7081
|
|
|
7074
|
-
// 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
|
|
7075
7083
|
var WEIGHTS = {
|
|
7076
7084
|
bot: 3,
|
|
7077
7085
|
scam: 3,
|
|
@@ -7096,7 +7104,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7096
7104
|
var DIGITS = /\d{5,}/;
|
|
7097
7105
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7098
7106
|
|
|
7099
|
-
// 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
|
|
7100
7108
|
var linkedIdentity = strictObject({
|
|
7101
7109
|
provider: text,
|
|
7102
7110
|
id,
|
|
@@ -7151,7 +7159,7 @@ var contactCheck = strictObject({
|
|
|
7151
7159
|
checked_at: time
|
|
7152
7160
|
});
|
|
7153
7161
|
|
|
7154
|
-
// 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
|
|
7155
7163
|
var member = strictObject({
|
|
7156
7164
|
id,
|
|
7157
7165
|
name: nullable(text),
|
|
@@ -7174,7 +7182,7 @@ var member = strictObject({
|
|
|
7174
7182
|
check: optional(record(string(), unknown()))
|
|
7175
7183
|
});
|
|
7176
7184
|
|
|
7177
|
-
// 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
|
|
7178
7186
|
var setting = optional(nullable(boolean()));
|
|
7179
7187
|
var chat = strictObject({
|
|
7180
7188
|
ref: reference,
|
|
@@ -7215,7 +7223,7 @@ var chat = strictObject({
|
|
|
7215
7223
|
members: optional(array(member))
|
|
7216
7224
|
});
|
|
7217
7225
|
|
|
7218
|
-
// 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
|
|
7219
7227
|
var quoted = strictObject({
|
|
7220
7228
|
id,
|
|
7221
7229
|
sender_id: nullable(id),
|
|
@@ -7329,12 +7337,14 @@ var message = strictObject({
|
|
|
7329
7337
|
/** Mail `review`: no earlier stored email, in any account, came from this address. */
|
|
7330
7338
|
new_sender: optional(boolean()),
|
|
7331
7339
|
/** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
|
|
7332
|
-
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 }))
|
|
7333
7343
|
})),
|
|
7334
7344
|
provider_metadata: providerMetadata
|
|
7335
7345
|
});
|
|
7336
7346
|
|
|
7337
|
-
// 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
|
|
7338
7348
|
var recordedMeeting = strictObject({
|
|
7339
7349
|
ref: reference,
|
|
7340
7350
|
meeting_id: count,
|
|
@@ -7351,7 +7361,7 @@ var recordedMeeting = strictObject({
|
|
|
7351
7361
|
call: optional(meetingCall)
|
|
7352
7362
|
});
|
|
7353
7363
|
|
|
7354
|
-
// 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
|
|
7355
7365
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7356
7366
|
var contextMessage = strictObject({
|
|
7357
7367
|
locator: reference,
|
|
@@ -7557,7 +7567,7 @@ var contactPreparation = strictObject({
|
|
|
7557
7567
|
})
|
|
7558
7568
|
});
|
|
7559
7569
|
|
|
7560
|
-
// 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
|
|
7561
7571
|
var nullableText = nullable(text);
|
|
7562
7572
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7563
7573
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7713,7 +7723,7 @@ var stage = strictObject({
|
|
|
7713
7723
|
untrusted
|
|
7714
7724
|
});
|
|
7715
7725
|
|
|
7716
|
-
// 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
|
|
7717
7727
|
var nullableText2 = nullable(text);
|
|
7718
7728
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7719
7729
|
var standing = picklist(STANDINGS);
|
|
@@ -7892,7 +7902,7 @@ var dealBrief = strictObject({
|
|
|
7892
7902
|
not_read: coverage2.entries.not_read
|
|
7893
7903
|
});
|
|
7894
7904
|
|
|
7895
|
-
// 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
|
|
7896
7906
|
var chart = strictObject({
|
|
7897
7907
|
version: literal(1),
|
|
7898
7908
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7907,7 +7917,7 @@ var chart = strictObject({
|
|
|
7907
7917
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7908
7918
|
});
|
|
7909
7919
|
|
|
7910
|
-
// 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
|
|
7911
7921
|
var named2 = strictObject({
|
|
7912
7922
|
id,
|
|
7913
7923
|
title: nullable(text),
|
|
@@ -7930,7 +7940,7 @@ var folder = strictObject({
|
|
|
7930
7940
|
excluded_chats: optional(array(named2))
|
|
7931
7941
|
});
|
|
7932
7942
|
|
|
7933
|
-
// 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
|
|
7934
7944
|
var inviteLink = strictObject({
|
|
7935
7945
|
link: text,
|
|
7936
7946
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7946,7 +7956,7 @@ var inviteLink = strictObject({
|
|
|
7946
7956
|
joined_count: optional(count)
|
|
7947
7957
|
});
|
|
7948
7958
|
|
|
7949
|
-
// 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
|
|
7950
7960
|
var operated = { operation_id: id, chat_id: id };
|
|
7951
7961
|
var group = strictObject({
|
|
7952
7962
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8026,7 +8036,7 @@ var chatFolderOrder = strictObject({
|
|
|
8026
8036
|
folders: array(strictObject({ id, title: text }))
|
|
8027
8037
|
});
|
|
8028
8038
|
|
|
8029
|
-
// 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
|
|
8030
8040
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8031
8041
|
var chatRemoval = strictObject(operated2);
|
|
8032
8042
|
var chatMuting = strictObject({
|
|
@@ -8037,7 +8047,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8037
8047
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8038
8048
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8039
8049
|
|
|
8040
|
-
// 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
|
|
8041
8051
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8042
8052
|
var chatEvent = strictObject({
|
|
8043
8053
|
chat_id: id,
|
|
@@ -8054,7 +8064,7 @@ var chatEvent = strictObject({
|
|
|
8054
8064
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8055
8065
|
});
|
|
8056
8066
|
|
|
8057
|
-
// 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
|
|
8058
8068
|
var chatMetadata = strictObject({
|
|
8059
8069
|
chat_id: id,
|
|
8060
8070
|
title: nullable(text),
|
|
@@ -8069,7 +8079,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8069
8079
|
has_more: boolean()
|
|
8070
8080
|
});
|
|
8071
8081
|
|
|
8072
|
-
// 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
|
|
8073
8083
|
var action = picklist(["report", "delete", "remove"]);
|
|
8074
8084
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8075
8085
|
var chatRules = strictObject({
|
|
@@ -8106,7 +8116,7 @@ var chatModeration = strictObject({
|
|
|
8106
8116
|
}))
|
|
8107
8117
|
});
|
|
8108
8118
|
|
|
8109
|
-
// 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
|
|
8110
8120
|
var chatSending = strictObject({
|
|
8111
8121
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
8112
8122
|
meaning: text,
|
|
@@ -8116,7 +8126,7 @@ var chatSending = strictObject({
|
|
|
8116
8126
|
changed: optional(boolean())
|
|
8117
8127
|
});
|
|
8118
8128
|
|
|
8119
|
-
// 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
|
|
8120
8130
|
var optionalCount = optional(count);
|
|
8121
8131
|
var minutes = nullable(number());
|
|
8122
8132
|
var chatStats = strictObject({
|
|
@@ -8192,7 +8202,7 @@ var taskStats = strictObject({
|
|
|
8192
8202
|
}))
|
|
8193
8203
|
});
|
|
8194
8204
|
|
|
8195
|
-
// 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
|
|
8196
8206
|
var memberCount = strictObject({
|
|
8197
8207
|
day: pipe(text, isoDate()),
|
|
8198
8208
|
participants: nullable(count),
|
|
@@ -8215,7 +8225,7 @@ var chatTracking = strictObject({
|
|
|
8215
8225
|
tracked: boolean()
|
|
8216
8226
|
});
|
|
8217
8227
|
|
|
8218
|
-
// 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
|
|
8219
8229
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8220
8230
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8221
8231
|
var profileFields = {
|
|
@@ -8253,7 +8263,7 @@ var profileFields = {
|
|
|
8253
8263
|
}))
|
|
8254
8264
|
};
|
|
8255
8265
|
|
|
8256
|
-
// 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
|
|
8257
8267
|
var contact = strictObject({
|
|
8258
8268
|
ref: reference,
|
|
8259
8269
|
id,
|
|
@@ -8284,7 +8294,7 @@ var contact = strictObject({
|
|
|
8284
8294
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8285
8295
|
});
|
|
8286
8296
|
|
|
8287
|
-
// 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
|
|
8288
8298
|
var contactNote = strictObject({
|
|
8289
8299
|
id,
|
|
8290
8300
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8296,13 +8306,13 @@ var contactNote = strictObject({
|
|
|
8296
8306
|
updated_at: time
|
|
8297
8307
|
});
|
|
8298
8308
|
|
|
8299
|
-
// 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
|
|
8300
8310
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8301
8311
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8302
8312
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8303
8313
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8304
8314
|
|
|
8305
|
-
// 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
|
|
8306
8316
|
var conversation = strictObject({
|
|
8307
8317
|
id,
|
|
8308
8318
|
chat: reference,
|
|
@@ -8317,7 +8327,7 @@ var conversation = strictObject({
|
|
|
8317
8327
|
rules_version: count
|
|
8318
8328
|
});
|
|
8319
8329
|
|
|
8320
|
-
// 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
|
|
8321
8331
|
var conversationBuild = strictObject({
|
|
8322
8332
|
chat: id,
|
|
8323
8333
|
messages: count,
|
|
@@ -8342,7 +8352,7 @@ var catchUpPreparation = strictObject({
|
|
|
8342
8352
|
prepared: optional(conversationPreparation)
|
|
8343
8353
|
});
|
|
8344
8354
|
|
|
8345
|
-
// 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
|
|
8346
8356
|
var conversationDetails = union([
|
|
8347
8357
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8348
8358
|
message
|
|
@@ -8429,10 +8439,15 @@ var conversationHit = strictObject({
|
|
|
8429
8439
|
score: nullable(number()),
|
|
8430
8440
|
matched_in: optional(literal("context")),
|
|
8431
8441
|
by: array(picklist(["meaning", "words"])),
|
|
8432
|
-
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
|
|
8433
8448
|
});
|
|
8434
8449
|
|
|
8435
|
-
// 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
|
|
8436
8451
|
var counters = strictObject({
|
|
8437
8452
|
cutoff: time,
|
|
8438
8453
|
max_age_ms: milliseconds,
|
|
@@ -8462,7 +8477,7 @@ var counterRefresh = strictObject({
|
|
|
8462
8477
|
complete: optional(boolean())
|
|
8463
8478
|
});
|
|
8464
8479
|
|
|
8465
|
-
// 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
|
|
8466
8481
|
var document = strictObject({
|
|
8467
8482
|
ref: reference,
|
|
8468
8483
|
id,
|
|
@@ -8477,7 +8492,7 @@ var document = strictObject({
|
|
|
8477
8492
|
owners: optional(array(text))
|
|
8478
8493
|
});
|
|
8479
8494
|
|
|
8480
|
-
// 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
|
|
8481
8496
|
var documentLink = strictObject({
|
|
8482
8497
|
ref: reference,
|
|
8483
8498
|
url: text,
|
|
@@ -8488,7 +8503,7 @@ var documentLink = strictObject({
|
|
|
8488
8503
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8489
8504
|
});
|
|
8490
8505
|
|
|
8491
|
-
// 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
|
|
8492
8507
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8493
8508
|
var contribution = strictObject({
|
|
8494
8509
|
message: evidenceMessage,
|
|
@@ -8518,7 +8533,7 @@ var retentionStay = strictObject({
|
|
|
8518
8533
|
});
|
|
8519
8534
|
var evidence = union([contribution, retentionStay]);
|
|
8520
8535
|
|
|
8521
|
-
// 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
|
|
8522
8537
|
var fact = strictObject({
|
|
8523
8538
|
ref: reference,
|
|
8524
8539
|
id,
|
|
@@ -8549,7 +8564,7 @@ var fact = strictObject({
|
|
|
8549
8564
|
updated_at: time
|
|
8550
8565
|
});
|
|
8551
8566
|
|
|
8552
|
-
// 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
|
|
8553
8568
|
var hit = strictObject({
|
|
8554
8569
|
kind: picklist([
|
|
8555
8570
|
"message",
|
|
@@ -8561,6 +8576,9 @@ var hit = strictObject({
|
|
|
8561
8576
|
"deal",
|
|
8562
8577
|
"lead",
|
|
8563
8578
|
"crm_file",
|
|
8579
|
+
"issue",
|
|
8580
|
+
"project",
|
|
8581
|
+
"issue_comment",
|
|
8564
8582
|
...BUSINESS_KINDS
|
|
8565
8583
|
]),
|
|
8566
8584
|
ref: reference,
|
|
@@ -8608,7 +8626,7 @@ var hit = strictObject({
|
|
|
8608
8626
|
untrusted
|
|
8609
8627
|
});
|
|
8610
8628
|
|
|
8611
|
-
// 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
|
|
8612
8630
|
var identity = strictObject({
|
|
8613
8631
|
ref: reference,
|
|
8614
8632
|
provider: text,
|
|
@@ -8624,7 +8642,7 @@ var identity = strictObject({
|
|
|
8624
8642
|
person: optional(nullable(reference))
|
|
8625
8643
|
});
|
|
8626
8644
|
|
|
8627
|
-
// 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
|
|
8628
8646
|
var imageEmbedding = strictObject({
|
|
8629
8647
|
model: text,
|
|
8630
8648
|
embedded: count,
|
|
@@ -8633,13 +8651,13 @@ var imageEmbedding = strictObject({
|
|
|
8633
8651
|
more: boolean()
|
|
8634
8652
|
});
|
|
8635
8653
|
|
|
8636
|
-
// 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
|
|
8637
8655
|
import { spawn } from "node:child_process";
|
|
8638
8656
|
import { randomBytes } from "node:crypto";
|
|
8639
8657
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8640
8658
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8641
8659
|
|
|
8642
|
-
// 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
|
|
8643
8661
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8644
8662
|
const total = input.total ?? null;
|
|
8645
8663
|
const updated = input.updatedAt ?? null;
|
|
@@ -8670,7 +8688,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8670
8688
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8671
8689
|
}, "progressLine");
|
|
8672
8690
|
|
|
8673
|
-
// 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
|
|
8674
8692
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8675
8693
|
const run = currentRun();
|
|
8676
8694
|
const trace = traceId ?? run.traceId;
|
|
@@ -8684,7 +8702,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8684
8702
|
}));
|
|
8685
8703
|
}, "recordLogFor");
|
|
8686
8704
|
|
|
8687
|
-
// 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
|
|
8688
8706
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8689
8707
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8690
8708
|
const out = openSync(log, "a", 384);
|
|
@@ -8839,7 +8857,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8839
8857
|
return { job: id6, pid, chat: input.chat, log };
|
|
8840
8858
|
}, "startArchiveJob");
|
|
8841
8859
|
|
|
8842
|
-
// 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
|
|
8843
8861
|
var problem = strictObject({ code: text, message: text });
|
|
8844
8862
|
var job = strictObject({
|
|
8845
8863
|
id,
|
|
@@ -8862,7 +8880,7 @@ var job = strictObject({
|
|
|
8862
8880
|
error: optional(problem)
|
|
8863
8881
|
});
|
|
8864
8882
|
|
|
8865
|
-
// 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
|
|
8866
8884
|
var joinRequest = strictObject({
|
|
8867
8885
|
person_id: id,
|
|
8868
8886
|
name: nullable(text),
|
|
@@ -8873,7 +8891,7 @@ var joinRequest = strictObject({
|
|
|
8873
8891
|
about: optional(text)
|
|
8874
8892
|
});
|
|
8875
8893
|
|
|
8876
|
-
// 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
|
|
8877
8895
|
var botProfile = strictObject({
|
|
8878
8896
|
name: text,
|
|
8879
8897
|
token: text,
|
|
@@ -8997,7 +9015,7 @@ var stickerInventory = strictObject({
|
|
|
8997
9015
|
url: optional(nullable(text))
|
|
8998
9016
|
});
|
|
8999
9017
|
|
|
9000
|
-
// 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
|
|
9001
9019
|
var pollVote = strictObject({
|
|
9002
9020
|
person_id: id,
|
|
9003
9021
|
name: nullable(text),
|
|
@@ -9007,7 +9025,7 @@ var pollVote = strictObject({
|
|
|
9007
9025
|
voted_at: time
|
|
9008
9026
|
});
|
|
9009
9027
|
|
|
9010
|
-
// 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
|
|
9011
9029
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9012
9030
|
var observation = strictObject({
|
|
9013
9031
|
value: pipe(number(), minValue(0)),
|
|
@@ -9049,7 +9067,7 @@ var serveSummary = strictObject({
|
|
|
9049
9067
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9050
9068
|
});
|
|
9051
9069
|
|
|
9052
|
-
// 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
|
|
9053
9071
|
var mailCounts = strictObject({
|
|
9054
9072
|
by: picklist(["day", "week", "sender"]),
|
|
9055
9073
|
received: count,
|
|
@@ -9064,7 +9082,7 @@ var mailCounts = strictObject({
|
|
|
9064
9082
|
}))
|
|
9065
9083
|
});
|
|
9066
9084
|
|
|
9067
|
-
// 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
|
|
9068
9086
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9069
9087
|
var base = { id, evidence: array(evidence2) };
|
|
9070
9088
|
var finding = variant("kind", [
|
|
@@ -9208,7 +9226,7 @@ var mailFindings = strictObject({
|
|
|
9208
9226
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9209
9227
|
});
|
|
9210
9228
|
|
|
9211
|
-
// 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
|
|
9212
9230
|
var mediaArchive = strictObject({
|
|
9213
9231
|
directory: text,
|
|
9214
9232
|
chats: count,
|
|
@@ -9240,7 +9258,7 @@ var mediaArchiveTimer = union([
|
|
|
9240
9258
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9241
9259
|
]);
|
|
9242
9260
|
|
|
9243
|
-
// 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
|
|
9244
9262
|
var preparationId = pipe(string(), minLength(1));
|
|
9245
9263
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9246
9264
|
var preparationTime = nullable(isoTime);
|
|
@@ -9332,7 +9350,7 @@ var preparationMeeting = strictObject({
|
|
|
9332
9350
|
updated_at: isoTime
|
|
9333
9351
|
});
|
|
9334
9352
|
|
|
9335
|
-
// 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
|
|
9336
9354
|
var meetingEvidence = preparationEvidence;
|
|
9337
9355
|
var meetingPersonContext = strictObject({
|
|
9338
9356
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9354,7 +9372,7 @@ var meetingPersonContext = strictObject({
|
|
|
9354
9372
|
})
|
|
9355
9373
|
});
|
|
9356
9374
|
|
|
9357
|
-
// 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
|
|
9358
9376
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9359
9377
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9360
9378
|
var finding2 = variant("kind", [
|
|
@@ -9392,7 +9410,7 @@ var meetingFindings = strictObject({
|
|
|
9392
9410
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9393
9411
|
});
|
|
9394
9412
|
|
|
9395
|
-
// 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
|
|
9396
9414
|
var communicationCoverage = strictObject({
|
|
9397
9415
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9398
9416
|
query: string(),
|
|
@@ -9437,7 +9455,7 @@ var preparationCommunications = strictObject({
|
|
|
9437
9455
|
}))
|
|
9438
9456
|
});
|
|
9439
9457
|
|
|
9440
|
-
// 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
|
|
9441
9459
|
var meetingPreparation = strictObject({
|
|
9442
9460
|
communications: optional(preparationCommunications),
|
|
9443
9461
|
schema_version: literal(1),
|
|
@@ -9550,7 +9568,7 @@ var meetingPreparation = strictObject({
|
|
|
9550
9568
|
})
|
|
9551
9569
|
});
|
|
9552
9570
|
|
|
9553
|
-
// 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
|
|
9554
9572
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9555
9573
|
var id3 = pipe(string(), minLength(1));
|
|
9556
9574
|
var text3 = string();
|
|
@@ -9614,7 +9632,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9614
9632
|
})
|
|
9615
9633
|
});
|
|
9616
9634
|
|
|
9617
|
-
// 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
|
|
9618
9636
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9619
9637
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9620
9638
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9644,7 +9662,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9644
9662
|
})
|
|
9645
9663
|
});
|
|
9646
9664
|
|
|
9647
|
-
// 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
|
|
9648
9666
|
var text4 = string();
|
|
9649
9667
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9650
9668
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9661,7 +9679,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9661
9679
|
persistence: literal("proposal-only")
|
|
9662
9680
|
});
|
|
9663
9681
|
|
|
9664
|
-
// 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
|
|
9665
9683
|
var memory = strictObject({
|
|
9666
9684
|
ref: reference,
|
|
9667
9685
|
id,
|
|
@@ -9689,7 +9707,7 @@ var memory = strictObject({
|
|
|
9689
9707
|
updated_at: time
|
|
9690
9708
|
});
|
|
9691
9709
|
|
|
9692
|
-
// 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
|
|
9693
9711
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9694
9712
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9695
9713
|
var mention = strictObject({
|
|
@@ -9733,7 +9751,7 @@ var mentionRebuild = strictObject({
|
|
|
9733
9751
|
mentions: count
|
|
9734
9752
|
});
|
|
9735
9753
|
|
|
9736
|
-
// 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
|
|
9737
9755
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9738
9756
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9739
9757
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9742,7 +9760,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9742
9760
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9743
9761
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9744
9762
|
|
|
9745
|
-
// 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
|
|
9746
9764
|
var messageTranscript = strictObject({
|
|
9747
9765
|
message_id: id,
|
|
9748
9766
|
text,
|
|
@@ -9800,7 +9818,7 @@ var evidencePacket = strictObject({
|
|
|
9800
9818
|
}))
|
|
9801
9819
|
});
|
|
9802
9820
|
|
|
9803
|
-
// 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
|
|
9804
9822
|
var messageThread = strictObject({
|
|
9805
9823
|
ref: reference,
|
|
9806
9824
|
chat: id,
|
|
@@ -9817,7 +9835,7 @@ var messageThread = strictObject({
|
|
|
9817
9835
|
});
|
|
9818
9836
|
var messageContext = union([message, messageThread]);
|
|
9819
9837
|
|
|
9820
|
-
// 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
|
|
9821
9839
|
var messageCounts = strictObject({
|
|
9822
9840
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9823
9841
|
total: count,
|
|
@@ -9830,7 +9848,7 @@ var messageCounts = strictObject({
|
|
|
9830
9848
|
}))
|
|
9831
9849
|
});
|
|
9832
9850
|
|
|
9833
|
-
// 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
|
|
9834
9852
|
var messageLink = strictObject({
|
|
9835
9853
|
ref: reference,
|
|
9836
9854
|
url: nullable(text),
|
|
@@ -9847,7 +9865,7 @@ var messageLink = strictObject({
|
|
|
9847
9865
|
})))
|
|
9848
9866
|
});
|
|
9849
9867
|
|
|
9850
|
-
// 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
|
|
9851
9869
|
var savedMessageFile = strictObject({
|
|
9852
9870
|
kind: text,
|
|
9853
9871
|
path: text,
|
|
@@ -9934,7 +9952,7 @@ var messageSyncAll = strictObject({
|
|
|
9934
9952
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9935
9953
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9936
9954
|
|
|
9937
|
-
// 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
|
|
9938
9956
|
var messageWrite = strictObject({
|
|
9939
9957
|
operation_id: id,
|
|
9940
9958
|
message,
|
|
@@ -9949,7 +9967,7 @@ var draftWrite = strictObject({
|
|
|
9949
9967
|
});
|
|
9950
9968
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9951
9969
|
|
|
9952
|
-
// 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
|
|
9953
9971
|
var model2 = strictObject({
|
|
9954
9972
|
id,
|
|
9955
9973
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9984,7 +10002,7 @@ var chosenModel = strictObject({
|
|
|
9984
10002
|
estimate_seconds: nullable(count)
|
|
9985
10003
|
});
|
|
9986
10004
|
|
|
9987
|
-
// 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
|
|
9988
10006
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9989
10007
|
var modelKey = strictObject({
|
|
9990
10008
|
provider: text,
|
|
@@ -9994,7 +10012,7 @@ var modelKey = strictObject({
|
|
|
9994
10012
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9995
10013
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9996
10014
|
|
|
9997
|
-
// 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
|
|
9998
10016
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9999
10017
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10000
10018
|
var graph = strictObject({
|
|
@@ -10028,14 +10046,14 @@ var officialStats = strictObject({
|
|
|
10028
10046
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10029
10047
|
});
|
|
10030
10048
|
|
|
10031
|
-
// 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
|
|
10032
10050
|
var person2 = strictObject({
|
|
10033
10051
|
ref: reference,
|
|
10034
10052
|
name: nullable(text),
|
|
10035
10053
|
identities: optional(array(identity))
|
|
10036
10054
|
});
|
|
10037
10055
|
|
|
10038
|
-
// 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
|
|
10039
10057
|
var poll = strictObject({
|
|
10040
10058
|
chat_id: id,
|
|
10041
10059
|
message_id: id,
|
|
@@ -10051,11 +10069,11 @@ var poll = strictObject({
|
|
|
10051
10069
|
});
|
|
10052
10070
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10053
10071
|
|
|
10054
|
-
// 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
|
|
10055
10073
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10056
10074
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10057
10075
|
|
|
10058
|
-
// 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
|
|
10059
10077
|
var figures = record(string(), number());
|
|
10060
10078
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10061
10079
|
var rankingRow = strictObject({
|
|
@@ -10102,7 +10120,7 @@ var ranking = strictObject({
|
|
|
10102
10120
|
rows: array(rankingRow)
|
|
10103
10121
|
});
|
|
10104
10122
|
|
|
10105
|
-
// 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
|
|
10106
10124
|
var reaction = strictObject({
|
|
10107
10125
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10108
10126
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10110,7 +10128,7 @@ var reaction = strictObject({
|
|
|
10110
10128
|
reacted_at: time
|
|
10111
10129
|
});
|
|
10112
10130
|
|
|
10113
|
-
// 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
|
|
10114
10132
|
var reactionChange = strictObject({
|
|
10115
10133
|
operation_id: id,
|
|
10116
10134
|
chat_id: id,
|
|
@@ -10118,7 +10136,7 @@ var reactionChange = strictObject({
|
|
|
10118
10136
|
reaction: nullable(text)
|
|
10119
10137
|
});
|
|
10120
10138
|
|
|
10121
|
-
// 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
|
|
10122
10140
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10123
10141
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10124
10142
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10129,7 +10147,7 @@ var recipientChange = strictObject({
|
|
|
10129
10147
|
...partial(recipientOff).entries
|
|
10130
10148
|
});
|
|
10131
10149
|
|
|
10132
|
-
// 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
|
|
10133
10151
|
var events = array(record(string(), unknown()));
|
|
10134
10152
|
var recordedRun = strictObject({
|
|
10135
10153
|
run_id: id,
|
|
@@ -10201,7 +10219,7 @@ var runHit = strictObject({
|
|
|
10201
10219
|
});
|
|
10202
10220
|
var runLocation = strictObject({ path: text });
|
|
10203
10221
|
|
|
10204
|
-
// 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
|
|
10205
10223
|
var relationship = strictObject({
|
|
10206
10224
|
id,
|
|
10207
10225
|
from: reference,
|
|
@@ -10228,7 +10246,7 @@ var relationship = strictObject({
|
|
|
10228
10246
|
created_at: time
|
|
10229
10247
|
});
|
|
10230
10248
|
|
|
10231
|
-
// 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
|
|
10232
10250
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10233
10251
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10234
10252
|
var responseTimes = strictObject({
|
|
@@ -10245,7 +10263,7 @@ var waitingChats = strictObject({
|
|
|
10245
10263
|
by_kind: strictObject({ private: count, group: count })
|
|
10246
10264
|
});
|
|
10247
10265
|
|
|
10248
|
-
// 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
|
|
10249
10267
|
var retentionCohort = strictObject({
|
|
10250
10268
|
/** The first day of the joining day or week. */
|
|
10251
10269
|
cohort: text,
|
|
@@ -10293,7 +10311,7 @@ var retention = strictObject({
|
|
|
10293
10311
|
rows: array(retentionCohort)
|
|
10294
10312
|
});
|
|
10295
10313
|
|
|
10296
|
-
// 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
|
|
10297
10315
|
var savedSearch = strictObject({
|
|
10298
10316
|
id,
|
|
10299
10317
|
/** `null` for a run in the history. */
|
|
@@ -10310,7 +10328,7 @@ var savedSearch = strictObject({
|
|
|
10310
10328
|
});
|
|
10311
10329
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10312
10330
|
|
|
10313
|
-
// 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
|
|
10314
10332
|
var sendAttempt = strictObject({
|
|
10315
10333
|
at: time,
|
|
10316
10334
|
profile: text,
|
|
@@ -10338,7 +10356,7 @@ var sendAttempt = strictObject({
|
|
|
10338
10356
|
error_code: optional(text)
|
|
10339
10357
|
});
|
|
10340
10358
|
|
|
10341
|
-
// 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
|
|
10342
10360
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10343
10361
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10344
10362
|
var infoSchema = strictObject({
|
|
@@ -10568,7 +10586,7 @@ var storeRepair = union([
|
|
|
10568
10586
|
]);
|
|
10569
10587
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10570
10588
|
|
|
10571
|
-
// 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
|
|
10572
10590
|
var range = strictObject({ from: number(), to: number() });
|
|
10573
10591
|
var storeChatStatus = strictObject({
|
|
10574
10592
|
chat_id: id,
|
|
@@ -10666,7 +10684,7 @@ var storeJobRetry = union([
|
|
|
10666
10684
|
]);
|
|
10667
10685
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10668
10686
|
|
|
10669
|
-
// 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
|
|
10670
10688
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10671
10689
|
var storeTable = strictObject({
|
|
10672
10690
|
name: text,
|
|
@@ -10675,7 +10693,7 @@ var storeTable = strictObject({
|
|
|
10675
10693
|
bytes: optional(nullable(count))
|
|
10676
10694
|
});
|
|
10677
10695
|
|
|
10678
|
-
// 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
|
|
10679
10697
|
var tagTarget = variant("type", [
|
|
10680
10698
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10681
10699
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10706,7 +10724,7 @@ var automaticTags = strictObject({
|
|
|
10706
10724
|
dry_run: boolean()
|
|
10707
10725
|
});
|
|
10708
10726
|
|
|
10709
|
-
// 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
|
|
10710
10728
|
var tagging = strictObject({
|
|
10711
10729
|
tag: text,
|
|
10712
10730
|
type: picklist(TAG_TYPES),
|
|
@@ -10719,7 +10737,7 @@ var tagging = strictObject({
|
|
|
10719
10737
|
created_at: time
|
|
10720
10738
|
});
|
|
10721
10739
|
|
|
10722
|
-
// 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
|
|
10723
10741
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10724
10742
|
var taskPair = strictObject({
|
|
10725
10743
|
task: nullable(side),
|
|
@@ -10742,7 +10760,7 @@ var taskPair = strictObject({
|
|
|
10742
10760
|
created_at: time
|
|
10743
10761
|
});
|
|
10744
10762
|
|
|
10745
|
-
// 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
|
|
10746
10764
|
var nullableTime = nullable(time);
|
|
10747
10765
|
var link = strictObject({
|
|
10748
10766
|
id,
|
|
@@ -10916,7 +10934,7 @@ var taskReview = strictObject({
|
|
|
10916
10934
|
untrusted
|
|
10917
10935
|
});
|
|
10918
10936
|
|
|
10919
|
-
// 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
|
|
10920
10938
|
var template = strictObject({
|
|
10921
10939
|
key: text,
|
|
10922
10940
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10928,7 +10946,7 @@ var template = strictObject({
|
|
|
10928
10946
|
updated_by: nullable(text)
|
|
10929
10947
|
});
|
|
10930
10948
|
|
|
10931
|
-
// 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
|
|
10932
10950
|
var topic = strictObject({
|
|
10933
10951
|
id,
|
|
10934
10952
|
title: text,
|
|
@@ -10942,7 +10960,7 @@ var topic = strictObject({
|
|
|
10942
10960
|
untrusted
|
|
10943
10961
|
});
|
|
10944
10962
|
|
|
10945
|
-
// 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
|
|
10946
10964
|
var ENTITIES = {
|
|
10947
10965
|
sync_progress: progress,
|
|
10948
10966
|
deal,
|
|
@@ -10976,6 +10994,7 @@ var ENTITIES = {
|
|
|
10976
10994
|
attachments: optional(array(hitFile)),
|
|
10977
10995
|
untrusted
|
|
10978
10996
|
}),
|
|
10997
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
10979
10998
|
"message.summary": strictObject({
|
|
10980
10999
|
...pick(message, [
|
|
10981
11000
|
"ref",
|
|
@@ -11243,7 +11262,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11243
11262
|
return [name, definition];
|
|
11244
11263
|
})), "entityDefinitions");
|
|
11245
11264
|
|
|
11246
|
-
// 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
|
|
11247
11266
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11248
11267
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11249
11268
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11277,7 +11296,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11277
11296
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11278
11297
|
}, "answerRow");
|
|
11279
11298
|
|
|
11280
|
-
// 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
|
|
11281
11300
|
import { join as join5 } from "node:path";
|
|
11282
11301
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11283
11302
|
var IMAGE_MODELS = [
|
|
@@ -11331,7 +11350,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11331
11350
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11332
11351
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11333
11352
|
|
|
11334
|
-
// 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
|
|
11335
11354
|
var STEPS2 = defineSteps([
|
|
11336
11355
|
...STEPS,
|
|
11337
11356
|
{
|
|
@@ -11621,7 +11640,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11621
11640
|
].join(" ");
|
|
11622
11641
|
}, "stepLine");
|
|
11623
11642
|
|
|
11624
|
-
// 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
|
|
11625
11644
|
var where = [{ field: "ref" }];
|
|
11626
11645
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11627
11646
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11713,7 +11732,7 @@ var STATUS_ROWS = {
|
|
|
11713
11732
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11714
11733
|
};
|
|
11715
11734
|
|
|
11716
|
-
// 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
|
|
11717
11736
|
var TEXT_CHARS = 400;
|
|
11718
11737
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11719
11738
|
var messageRow = {
|
|
@@ -12081,7 +12100,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12081
12100
|
return lines.concat(footerOf(body)).join("\n");
|
|
12082
12101
|
}, "compactText");
|
|
12083
12102
|
|
|
12084
|
-
// 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
|
|
12085
12104
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12086
12105
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12087
12106
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12139,7 +12158,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12139
12158
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12140
12159
|
}, "largeAnswerSteps");
|
|
12141
12160
|
|
|
12142
|
-
// 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
|
|
12143
12162
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12144
12163
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12145
12164
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12153,7 +12172,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12153
12172
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12154
12173
|
}, "strip");
|
|
12155
12174
|
|
|
12156
|
-
// 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
|
|
12157
12176
|
var OPEN = "\u27E6";
|
|
12158
12177
|
var CLOSE = "\u27E7";
|
|
12159
12178
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12222,6 +12241,8 @@ var MESSAGE_UNTRUSTED = [
|
|
|
12222
12241
|
"bcc.name",
|
|
12223
12242
|
"reply_addresses.name"
|
|
12224
12243
|
];
|
|
12244
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
12245
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
12225
12246
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
12226
12247
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
12227
12248
|
DECLARED.set(command, fields);
|
|
@@ -12241,7 +12262,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12241
12262
|
return result;
|
|
12242
12263
|
}, "withFieldsMarked");
|
|
12243
12264
|
|
|
12244
|
-
// 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
|
|
12245
12266
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12246
12267
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12247
12268
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12643,7 +12664,10 @@ export {
|
|
|
12643
12664
|
tooLargeSteps,
|
|
12644
12665
|
withoutProviderRefs,
|
|
12645
12666
|
runMarkOf,
|
|
12667
|
+
marked,
|
|
12646
12668
|
withUntrustedMarked,
|
|
12669
|
+
CHAT_UNTRUSTED,
|
|
12670
|
+
CONTACT_UNTRUSTED,
|
|
12647
12671
|
marksUntrusted,
|
|
12648
12672
|
answerSchema,
|
|
12649
12673
|
listOf,
|