@wirecat/attio-cli 0.5.1 → 0.5.3
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 +18 -0
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-YCPGDAWJ.js +37 -0
- package/dist/bundle/{all-profiles-OVSFABZM.js → all-profiles-ONLZNT2O.js} +6 -6
- package/dist/bundle/{anthropic-ISXRCL4Y.js → anthropic-7NHDUCS7.js} +2 -2
- package/dist/bundle/{app-server-NEHGIO3W.js → app-server-76UZBJNR.js} +53 -53
- package/dist/bundle/attio.js +2 -2
- package/dist/bundle/{bun-K7FMAYXA.js → bun-3M7LDMJY.js} +2 -2
- package/dist/bundle/{bun-sqlite-RA6HOIXV.js → bun-sqlite-WWPYULNT.js} +3 -3
- package/dist/bundle/{chunk-YT4VACIE.js → chunk-2HU7TYQK.js} +1 -1
- package/dist/bundle/{chunk-MGB2AQAA.js → chunk-3MZREGLN.js} +11 -11
- package/dist/bundle/{chunk-VOENQSTT.js → chunk-3QYMX2QX.js} +2 -2
- package/dist/bundle/{chunk-FLEW7XVY.js → chunk-3TFPJCTB.js} +23 -23
- package/dist/bundle/{chunk-UBWALYSW.js → chunk-65OPLJBL.js} +2 -2
- package/dist/bundle/{chunk-QLMMCGAY.js → chunk-6MEPMDWU.js} +183 -159
- package/dist/bundle/{chunk-3CTKGH6N.js → chunk-6MPA7CKD.js} +2 -2
- package/dist/bundle/{chunk-ARFO3IJU.js → chunk-764RTGNI.js} +2 -2
- package/dist/bundle/{chunk-4SUAKG7I.js → chunk-7ONN7UCC.js} +1 -1
- package/dist/bundle/{chunk-JDECYQ5S.js → chunk-A5A2I2DY.js} +1 -1
- package/dist/bundle/{chunk-JRBKNTJA.js → chunk-ABMNYUSQ.js} +11 -11
- package/dist/bundle/{chunk-ACTG2Z3H.js → chunk-AYF2JNHE.js} +2 -2
- package/dist/bundle/{chunk-I7VAGHHF.js → chunk-BSPMRKPS.js} +5 -5
- package/dist/bundle/{chunk-L6EEBPFM.js → chunk-DOTBJMPB.js} +2 -2
- package/dist/bundle/{chunk-VALYZBOY.js → chunk-EKRO2AYG.js} +7 -7
- package/dist/bundle/{chunk-ZHCM7N4J.js → chunk-F5IGO45Z.js} +5 -5
- package/dist/bundle/{chunk-ZFXWL2QZ.js → chunk-FVBZHGFE.js} +1 -1
- package/dist/bundle/{chunk-F6V5TEUQ.js → chunk-GHT7KPTC.js} +32 -32
- package/dist/bundle/{chunk-GBI2NDI4.js → chunk-H7RYW7CD.js} +1 -1
- package/dist/bundle/{chunk-4E26GPWD.js → chunk-HGD4JW37.js} +10 -10
- package/dist/bundle/{chunk-ZXUJDPJA.js → chunk-HPYDPVGU.js} +2 -2
- package/dist/bundle/{chunk-UAZWR6VN.js → chunk-J3ZQ4JWD.js} +32 -32
- package/dist/bundle/{chunk-VUB6OEOZ.js → chunk-JRHDYND7.js} +1 -1
- package/dist/bundle/{chunk-U43KHI4P.js → chunk-KTGIA7CC.js} +467 -408
- package/dist/bundle/{chunk-M3J5LRF3.js → chunk-KWJ4GAYR.js} +3 -3
- package/dist/bundle/{chunk-AGYTUJIQ.js → chunk-LQDZSJ3V.js} +1 -1
- package/dist/bundle/{chunk-FEO364I5.js → chunk-LSFZSGQK.js} +2 -2
- package/dist/bundle/{chunk-BHWVONNC.js → chunk-M62QM7VF.js} +9 -9
- package/dist/bundle/{chunk-S3HPTHNJ.js → chunk-MFPYCWMY.js} +4 -4
- package/dist/bundle/{chunk-7INZNQN4.js → chunk-MUDJABVF.js} +2 -2
- package/dist/bundle/{chunk-5GABY7WX.js → chunk-N6VLRVCC.js} +51 -51
- package/dist/bundle/{chunk-MY6MMJEU.js → chunk-NCYBA5FH.js} +2 -2
- package/dist/bundle/{chunk-3EKBP26W.js → chunk-NGVO2UTA.js} +16 -16
- package/dist/bundle/{chunk-25KK4NZN.js → chunk-NKVJV5GN.js} +1 -1
- package/dist/bundle/{chunk-EB2EH7AT.js → chunk-NN7Z5RK6.js} +7 -7
- package/dist/bundle/{chunk-HCY4SCTJ.js → chunk-OLKDUVWD.js} +12 -12
- package/dist/bundle/{chunk-POC7B6AV.js → chunk-PQHS4Z5G.js} +1 -1
- package/dist/bundle/{chunk-66OD3NCV.js → chunk-PVZK2COW.js} +4 -4
- package/dist/bundle/{chunk-X353GEAF.js → chunk-PYFVVNAD.js} +1 -1
- package/dist/bundle/{chunk-7YC47KTF.js → chunk-PZBQH5B7.js} +2 -2
- package/dist/bundle/{chunk-YNEQYCHF.js → chunk-PZE4D63W.js} +5 -5
- package/dist/bundle/{chunk-ZF5QK3OL.js → chunk-QRHPXZST.js} +2 -2
- package/dist/bundle/{chunk-3YS7VDRY.js → chunk-RDXB7HFB.js} +2 -2
- package/dist/bundle/{chunk-335XEBZP.js → chunk-RUNJPSJ3.js} +324 -280
- package/dist/bundle/{chunk-L3Y7MQVO.js → chunk-S3SA2XXD.js} +9 -9
- package/dist/bundle/{chunk-HCLRMCN5.js → chunk-S552I4P7.js} +1 -1
- package/dist/bundle/{chunk-BC46L5BQ.js → chunk-STEUWWU5.js} +22 -11
- package/dist/bundle/{chunk-OX3RM2OX.js → chunk-T2TW53JB.js} +6 -6
- package/dist/bundle/{chunk-CKXABXRV.js → chunk-T3QKHFGB.js} +12 -12
- package/dist/bundle/{chunk-QTNEKXDY.js → chunk-TF33UDFE.js} +1 -1
- package/dist/bundle/{chunk-3SOHZ6K4.js → chunk-TL7NUBVM.js} +1 -1
- package/dist/bundle/{chunk-OSBMLTHV.js → chunk-TVDBAZFO.js} +5 -5
- package/dist/bundle/{chunk-24MNY5XH.js → chunk-U3KTIE6B.js} +1 -1
- package/dist/bundle/{chunk-3HARYC4G.js → chunk-UFFAPBAP.js} +4 -4
- package/dist/bundle/{chunk-3PRKGRIZ.js → chunk-V2AF7BYP.js} +54 -54
- package/dist/bundle/{chunk-RH3NCNO2.js → chunk-V6RWAUX7.js} +3 -3
- package/dist/bundle/{chunk-4G453WRH.js → chunk-VIXMK7ZG.js} +6 -6
- package/dist/bundle/{chunk-BRXPI7XB.js → chunk-VNGG6O5T.js} +5 -5
- package/dist/bundle/{chunk-FF6P3JJ7.js → chunk-WUECAFAJ.js} +1 -1
- package/dist/bundle/{chunk-NHQXNPOU.js → chunk-WVXEVCMY.js} +7 -7
- package/dist/bundle/{chunk-Y3ZYJLIE.js → chunk-X6NSSCMF.js} +1 -1
- package/dist/bundle/{chunk-EXCKOFIO.js → chunk-Y2HZQMNK.js} +1 -1
- package/dist/bundle/{chunk-IEZWMY65.js → chunk-YQNZFXOW.js} +6 -6
- package/dist/bundle/{command-contract-22E5LBQL.js → command-contract-7BABQLZN.js} +15 -15
- package/dist/bundle/{command-server-entry-R2AAAHM5.js → command-server-entry-6UEGWYW7.js} +21 -21
- package/dist/bundle/{decode-7JSTO4HB.js → decode-BF2CNTOP.js} +2 -2
- package/dist/bundle/{echarts-OT7WULUA.js → echarts-ELZMS7DC.js} +2 -2
- package/dist/bundle/{embed-LN6XDQDI.js → embed-SXU7JVUG.js} +3 -3
- package/dist/bundle/{embedder-A4AXC4PU.js → embedder-ZVNBHGXC.js} +6 -6
- package/dist/bundle/{first-run-ZQD6GFBY.js → first-run-SLIPSHPE.js} +6 -6
- package/dist/bundle/first-screen-UPNPU4MF.js +37 -0
- package/dist/bundle/{instructions-RF5WGIMV.js → instructions-Q6QKH7MV.js} +1 -1
- package/dist/bundle/{meeting-combined-VI4TBXBN.js → meeting-combined-DLXVVC5J.js} +10 -10
- package/dist/bundle/{meeting-model-3S6VF6AM.js → meeting-model-XJ6OWIAP.js} +8 -8
- package/dist/bundle/{meeting-semantic-TFMLBQHQ.js → meeting-semantic-7TJE4HX6.js} +2 -2
- package/dist/bundle/{node-KWIPUN4D.js → node-YNLEE4BB.js} +2 -2
- package/dist/bundle/{node-sqlite-QZ7LM2UX.js → node-sqlite-24VK6J3W.js} +4 -4
- package/dist/bundle/{oauth-EHAFL6WQ.js → oauth-4TLSBITF.js} +4 -4
- package/dist/bundle/{open-SJYZOSWL.js → open-U6M2RLYK.js} +2 -2
- package/dist/bundle/{openai-GRFJ67FY.js → openai-UKD2XQ5J.js} +12 -12
- package/dist/bundle/{process-RJVFXNK3.js → process-UIE2CRFP.js} +1 -1
- package/dist/bundle/{program-RKN662WC.js → program-HXMBQWIM.js} +487 -401
- package/dist/bundle/{prompt-JO77APQ7.js → prompt-TSDXFP3E.js} +2 -2
- package/dist/bundle/{recognize-NQZ5XWLD.js → recognize-Y534SZIK.js} +1 -1
- package/dist/bundle/{remote-LZ4QPBQN.js → remote-PJNOYKXU.js} +6 -6
- package/dist/bundle/{rerank-5DAH5SPK.js → rerank-TE4HIS5A.js} +4 -4
- package/dist/bundle/{serve-QICSA7GZ.js → serve-ZOZWJKHB.js} +6 -6
- package/dist/bundle/{server-66KF772Q.js → server-3K4IC4OA.js} +45 -45
- package/dist/bundle/server-HPHPHKNF.js +79 -0
- package/dist/bundle/{sqlite-runtime-MEXAEM3S.js → sqlite-runtime-6R6CHLEM.js} +3 -3
- package/dist/bundle/{state-QSUH43VB.js → state-DFAH57DP.js} +3 -3
- package/dist/bundle/{store-5P47ROKG.js → store-6B5JF2LC.js} +16 -16
- package/dist/bundle/{store-Y65M7V4H.js → store-LPO5SHGK.js} +14 -14
- package/dist/bundle/store-maintenance-command-UBNM3ADW.js +66 -0
- package/dist/bundle/surface-WQ7UR2NJ.js +65 -0
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +7 -4
- package/dist/hooks.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/attio-cli/SKILL.md +9 -2
- package/dist/bundle/agent-VR5OZH73.js +0 -37
- package/dist/bundle/first-screen-V7RM66AG.js +0 -37
- package/dist/bundle/server-TFW2APGU.js +0 -79
- package/dist/bundle/store-maintenance-command-DHBXPPOE.js +0 -66
- package/dist/bundle/surface-FNLKVJJJ.js +0 -65
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YQNZFXOW.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DOTBJMPB.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UFFAPBAP.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-A5A2I2DY.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RDXB7HFB.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-J3ZQ4JWD.js";
|
|
84
84
|
import {
|
|
85
85
|
isCliFailure,
|
|
86
86
|
storeDamaged
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-QRHPXZST.js";
|
|
88
88
|
import {
|
|
89
89
|
TAG_TYPES
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-U3KTIE6B.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-N6VLRVCC.js";
|
|
119
119
|
import {
|
|
120
120
|
endpoint
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-Y2HZQMNK.js";
|
|
122
122
|
import {
|
|
123
123
|
repairConfigText,
|
|
124
124
|
sharedConfigPath
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-F5IGO45Z.js";
|
|
126
126
|
import {
|
|
127
127
|
filesPresent,
|
|
128
128
|
sharedModelsDirectory
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-V6RWAUX7.js";
|
|
130
130
|
import {
|
|
131
131
|
storePath
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-FVBZHGFE.js";
|
|
133
133
|
import {
|
|
134
134
|
configFilePath,
|
|
135
135
|
createRecordLog,
|
|
@@ -206,7 +206,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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");
|
|
@@ -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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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"];
|
|
@@ -5821,7 +5821,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5821
5821
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5822
5822
|
}, "readConfigFile");
|
|
5823
5823
|
|
|
5824
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5825
5825
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5826
5826
|
import { dirname, join as join3 } from "node:path";
|
|
5827
5827
|
var DEFAULT_CONFIG = {
|
|
@@ -5850,7 +5850,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5850
5850
|
}
|
|
5851
5851
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5852
5852
|
|
|
5853
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5854
5854
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5855
5855
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5856
5856
|
const path2 = key.split(".");
|
|
@@ -5872,7 +5872,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5872
5872
|
return { config, added };
|
|
5873
5873
|
}, "withSettingDefaults");
|
|
5874
5874
|
|
|
5875
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5876
5876
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5877
5877
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5878
5878
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6400,7 +6400,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6400
6400
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6401
6401
|
}, "given");
|
|
6402
6402
|
|
|
6403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6404
6404
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6405
6405
|
const { deadline, signal, app } = environmentOf(command);
|
|
6406
6406
|
const now = deadline?.();
|
|
@@ -6554,7 +6554,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6554
6554
|
return words.join(" ");
|
|
6555
6555
|
}, "commandPath");
|
|
6556
6556
|
|
|
6557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6558
6558
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6559
6559
|
var FETCH = { remote: "read", local: "write" };
|
|
6560
6560
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6691,7 +6691,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6691
6691
|
throw readOnlyRefusal(lock, what);
|
|
6692
6692
|
}, "refuseUnderReadOnly");
|
|
6693
6693
|
|
|
6694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6695
6695
|
var account = strictObject({
|
|
6696
6696
|
provider: text,
|
|
6697
6697
|
id,
|
|
@@ -6701,7 +6701,7 @@ var account = strictObject({
|
|
|
6701
6701
|
scope: optional(picklist(["personal", "work"]))
|
|
6702
6702
|
});
|
|
6703
6703
|
|
|
6704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6705
6705
|
var accountSession = strictObject({
|
|
6706
6706
|
current: boolean(),
|
|
6707
6707
|
client: nullable(text),
|
|
@@ -6711,7 +6711,7 @@ var accountSession = strictObject({
|
|
|
6711
6711
|
created_at: optional(nullable(time))
|
|
6712
6712
|
});
|
|
6713
6713
|
|
|
6714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6715
6715
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6716
6716
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6717
6717
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6740,7 +6740,7 @@ var accountRemoval = strictObject({
|
|
|
6740
6740
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6741
6741
|
});
|
|
6742
6742
|
|
|
6743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6744
6744
|
var accountProfile = strictObject({
|
|
6745
6745
|
profile: id,
|
|
6746
6746
|
current: boolean(),
|
|
@@ -6752,7 +6752,7 @@ var accountProfile = strictObject({
|
|
|
6752
6752
|
bot: optional(literal(true))
|
|
6753
6753
|
});
|
|
6754
6754
|
|
|
6755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6756
6756
|
var milliseconds = pipe(number(), minValue(0));
|
|
6757
6757
|
var counterReading = strictObject({
|
|
6758
6758
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6764,7 +6764,7 @@ var counterReading = strictObject({
|
|
|
6764
6764
|
});
|
|
6765
6765
|
var selection = record(string(), unknown());
|
|
6766
6766
|
|
|
6767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6768
6768
|
var adminRow = strictObject({
|
|
6769
6769
|
ref: reference,
|
|
6770
6770
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6817,7 +6817,7 @@ var adminReport = strictObject({
|
|
|
6817
6817
|
rows: array(adminRow)
|
|
6818
6818
|
});
|
|
6819
6819
|
|
|
6820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6821
6821
|
var closeSuggestion = strictObject({
|
|
6822
6822
|
as: picklist(["done", "dismissed"]),
|
|
6823
6823
|
/** The agent's name. */
|
|
@@ -6879,7 +6879,7 @@ var task = strictObject({
|
|
|
6879
6879
|
updated_at: optional(time)
|
|
6880
6880
|
});
|
|
6881
6881
|
|
|
6882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6883
6883
|
var agendaChat = strictObject({
|
|
6884
6884
|
chat: reference,
|
|
6885
6885
|
title: nullable(text),
|
|
@@ -6949,11 +6949,11 @@ var agenda = strictObject({
|
|
|
6949
6949
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6950
6950
|
});
|
|
6951
6951
|
|
|
6952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6953
6953
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6954
6954
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6955
6955
|
|
|
6956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6957
6957
|
var attachment = strictObject({
|
|
6958
6958
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6959
6959
|
message: optional(reference),
|
|
@@ -6998,7 +6998,7 @@ var hitFile = strictObject({
|
|
|
6998
6998
|
local_path: optional(text)
|
|
6999
6999
|
});
|
|
7000
7000
|
|
|
7001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7002
7002
|
var actionableError = objectWithRest({
|
|
7003
7003
|
code: text,
|
|
7004
7004
|
message: text,
|
|
@@ -7015,7 +7015,7 @@ var batchResult = strictObject({
|
|
|
7015
7015
|
max_error_percent: count
|
|
7016
7016
|
});
|
|
7017
7017
|
|
|
7018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7019
7019
|
var extractionItem = strictObject({
|
|
7020
7020
|
ref: reference,
|
|
7021
7021
|
attachment: count,
|
|
@@ -7048,7 +7048,7 @@ var extractionReport = strictObject({
|
|
|
7048
7048
|
cursor: optional(text)
|
|
7049
7049
|
});
|
|
7050
7050
|
|
|
7051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7052
7052
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7053
7053
|
var attachmentBytes = strictObject({
|
|
7054
7054
|
ref: reference,
|
|
@@ -7079,7 +7079,7 @@ var attachmentTextChange = strictObject({
|
|
|
7079
7079
|
text: optional(text)
|
|
7080
7080
|
});
|
|
7081
7081
|
|
|
7082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7083
7083
|
var WEIGHTS = {
|
|
7084
7084
|
bot: 3,
|
|
7085
7085
|
scam: 3,
|
|
@@ -7104,7 +7104,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7104
7104
|
var DIGITS = /\d{5,}/;
|
|
7105
7105
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7106
7106
|
|
|
7107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7108
7108
|
var linkedIdentity = strictObject({
|
|
7109
7109
|
provider: text,
|
|
7110
7110
|
id,
|
|
@@ -7159,7 +7159,7 @@ var contactCheck = strictObject({
|
|
|
7159
7159
|
checked_at: time
|
|
7160
7160
|
});
|
|
7161
7161
|
|
|
7162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7163
7163
|
var member = strictObject({
|
|
7164
7164
|
id,
|
|
7165
7165
|
name: nullable(text),
|
|
@@ -7182,7 +7182,7 @@ var member = strictObject({
|
|
|
7182
7182
|
check: optional(record(string(), unknown()))
|
|
7183
7183
|
});
|
|
7184
7184
|
|
|
7185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7186
7186
|
var setting = optional(nullable(boolean()));
|
|
7187
7187
|
var chat = strictObject({
|
|
7188
7188
|
ref: reference,
|
|
@@ -7223,7 +7223,7 @@ var chat = strictObject({
|
|
|
7223
7223
|
members: optional(array(member))
|
|
7224
7224
|
});
|
|
7225
7225
|
|
|
7226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7227
7227
|
var quoted = strictObject({
|
|
7228
7228
|
id,
|
|
7229
7229
|
sender_id: nullable(id),
|
|
@@ -7344,7 +7344,7 @@ var message = strictObject({
|
|
|
7344
7344
|
provider_metadata: providerMetadata
|
|
7345
7345
|
});
|
|
7346
7346
|
|
|
7347
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7348
7348
|
var recordedMeeting = strictObject({
|
|
7349
7349
|
ref: reference,
|
|
7350
7350
|
meeting_id: count,
|
|
@@ -7361,7 +7361,7 @@ var recordedMeeting = strictObject({
|
|
|
7361
7361
|
call: optional(meetingCall)
|
|
7362
7362
|
});
|
|
7363
7363
|
|
|
7364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7364
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7365
7365
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7366
7366
|
var contextMessage = strictObject({
|
|
7367
7367
|
locator: reference,
|
|
@@ -7567,7 +7567,7 @@ var contactPreparation = strictObject({
|
|
|
7567
7567
|
})
|
|
7568
7568
|
});
|
|
7569
7569
|
|
|
7570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7571
7571
|
var nullableText = nullable(text);
|
|
7572
7572
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7573
7573
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7723,7 +7723,7 @@ var stage = strictObject({
|
|
|
7723
7723
|
untrusted
|
|
7724
7724
|
});
|
|
7725
7725
|
|
|
7726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7727
7727
|
var nullableText2 = nullable(text);
|
|
7728
7728
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7729
7729
|
var standing = picklist(STANDINGS);
|
|
@@ -7902,7 +7902,7 @@ var dealBrief = strictObject({
|
|
|
7902
7902
|
not_read: coverage2.entries.not_read
|
|
7903
7903
|
});
|
|
7904
7904
|
|
|
7905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7906
7906
|
var chart = strictObject({
|
|
7907
7907
|
version: literal(1),
|
|
7908
7908
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7917,7 +7917,7 @@ var chart = strictObject({
|
|
|
7917
7917
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7918
7918
|
});
|
|
7919
7919
|
|
|
7920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7921
7921
|
var named2 = strictObject({
|
|
7922
7922
|
id,
|
|
7923
7923
|
title: nullable(text),
|
|
@@ -7940,7 +7940,7 @@ var folder = strictObject({
|
|
|
7940
7940
|
excluded_chats: optional(array(named2))
|
|
7941
7941
|
});
|
|
7942
7942
|
|
|
7943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7944
7944
|
var inviteLink = strictObject({
|
|
7945
7945
|
link: text,
|
|
7946
7946
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7956,7 +7956,7 @@ var inviteLink = strictObject({
|
|
|
7956
7956
|
joined_count: optional(count)
|
|
7957
7957
|
});
|
|
7958
7958
|
|
|
7959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7960
7960
|
var operated = { operation_id: id, chat_id: id };
|
|
7961
7961
|
var group = strictObject({
|
|
7962
7962
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8036,7 +8036,7 @@ var chatFolderOrder = strictObject({
|
|
|
8036
8036
|
folders: array(strictObject({ id, title: text }))
|
|
8037
8037
|
});
|
|
8038
8038
|
|
|
8039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8040
8040
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8041
8041
|
var chatRemoval = strictObject(operated2);
|
|
8042
8042
|
var chatMuting = strictObject({
|
|
@@ -8047,7 +8047,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8047
8047
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8048
8048
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8049
8049
|
|
|
8050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8050
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8051
8051
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8052
8052
|
var chatEvent = strictObject({
|
|
8053
8053
|
chat_id: id,
|
|
@@ -8064,7 +8064,7 @@ var chatEvent = strictObject({
|
|
|
8064
8064
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8065
8065
|
});
|
|
8066
8066
|
|
|
8067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8068
8068
|
var chatMetadata = strictObject({
|
|
8069
8069
|
chat_id: id,
|
|
8070
8070
|
title: nullable(text),
|
|
@@ -8079,7 +8079,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8079
8079
|
has_more: boolean()
|
|
8080
8080
|
});
|
|
8081
8081
|
|
|
8082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8083
8083
|
var action = picklist(["report", "delete", "remove"]);
|
|
8084
8084
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8085
8085
|
var chatRules = strictObject({
|
|
@@ -8116,7 +8116,7 @@ var chatModeration = strictObject({
|
|
|
8116
8116
|
}))
|
|
8117
8117
|
});
|
|
8118
8118
|
|
|
8119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
8120
8120
|
var chatSending = strictObject({
|
|
8121
8121
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
8122
8122
|
meaning: text,
|
|
@@ -8126,7 +8126,7 @@ var chatSending = strictObject({
|
|
|
8126
8126
|
changed: optional(boolean())
|
|
8127
8127
|
});
|
|
8128
8128
|
|
|
8129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8130
8130
|
var optionalCount = optional(count);
|
|
8131
8131
|
var minutes = nullable(number());
|
|
8132
8132
|
var chatStats = strictObject({
|
|
@@ -8202,7 +8202,7 @@ var taskStats = strictObject({
|
|
|
8202
8202
|
}))
|
|
8203
8203
|
});
|
|
8204
8204
|
|
|
8205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8206
8206
|
var memberCount = strictObject({
|
|
8207
8207
|
day: pipe(text, isoDate()),
|
|
8208
8208
|
participants: nullable(count),
|
|
@@ -8225,7 +8225,7 @@ var chatTracking = strictObject({
|
|
|
8225
8225
|
tracked: boolean()
|
|
8226
8226
|
});
|
|
8227
8227
|
|
|
8228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8229
8229
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8230
8230
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8231
8231
|
var profileFields = {
|
|
@@ -8263,7 +8263,7 @@ var profileFields = {
|
|
|
8263
8263
|
}))
|
|
8264
8264
|
};
|
|
8265
8265
|
|
|
8266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8267
8267
|
var contact = strictObject({
|
|
8268
8268
|
ref: reference,
|
|
8269
8269
|
id,
|
|
@@ -8294,7 +8294,7 @@ var contact = strictObject({
|
|
|
8294
8294
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8295
8295
|
});
|
|
8296
8296
|
|
|
8297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8298
8298
|
var contactNote = strictObject({
|
|
8299
8299
|
id,
|
|
8300
8300
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8306,13 +8306,13 @@ var contactNote = strictObject({
|
|
|
8306
8306
|
updated_at: time
|
|
8307
8307
|
});
|
|
8308
8308
|
|
|
8309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8310
8310
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8311
8311
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8312
8312
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8313
8313
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8314
8314
|
|
|
8315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8316
8316
|
var conversation = strictObject({
|
|
8317
8317
|
id,
|
|
8318
8318
|
chat: reference,
|
|
@@ -8327,7 +8327,7 @@ var conversation = strictObject({
|
|
|
8327
8327
|
rules_version: count
|
|
8328
8328
|
});
|
|
8329
8329
|
|
|
8330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8331
8331
|
var conversationBuild = strictObject({
|
|
8332
8332
|
chat: id,
|
|
8333
8333
|
messages: count,
|
|
@@ -8352,7 +8352,7 @@ var catchUpPreparation = strictObject({
|
|
|
8352
8352
|
prepared: optional(conversationPreparation)
|
|
8353
8353
|
});
|
|
8354
8354
|
|
|
8355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8356
8356
|
var conversationDetails = union([
|
|
8357
8357
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8358
8358
|
message
|
|
@@ -8447,7 +8447,7 @@ var conversationHit = strictObject({
|
|
|
8447
8447
|
untrusted
|
|
8448
8448
|
});
|
|
8449
8449
|
|
|
8450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8451
8451
|
var counters = strictObject({
|
|
8452
8452
|
cutoff: time,
|
|
8453
8453
|
max_age_ms: milliseconds,
|
|
@@ -8477,7 +8477,7 @@ var counterRefresh = strictObject({
|
|
|
8477
8477
|
complete: optional(boolean())
|
|
8478
8478
|
});
|
|
8479
8479
|
|
|
8480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8481
8481
|
var document = strictObject({
|
|
8482
8482
|
ref: reference,
|
|
8483
8483
|
id,
|
|
@@ -8492,7 +8492,7 @@ var document = strictObject({
|
|
|
8492
8492
|
owners: optional(array(text))
|
|
8493
8493
|
});
|
|
8494
8494
|
|
|
8495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8496
8496
|
var documentLink = strictObject({
|
|
8497
8497
|
ref: reference,
|
|
8498
8498
|
url: text,
|
|
@@ -8503,7 +8503,7 @@ var documentLink = strictObject({
|
|
|
8503
8503
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8504
8504
|
});
|
|
8505
8505
|
|
|
8506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8507
8507
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8508
8508
|
var contribution = strictObject({
|
|
8509
8509
|
message: evidenceMessage,
|
|
@@ -8533,7 +8533,7 @@ var retentionStay = strictObject({
|
|
|
8533
8533
|
});
|
|
8534
8534
|
var evidence = union([contribution, retentionStay]);
|
|
8535
8535
|
|
|
8536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8537
8537
|
var fact = strictObject({
|
|
8538
8538
|
ref: reference,
|
|
8539
8539
|
id,
|
|
@@ -8564,7 +8564,7 @@ var fact = strictObject({
|
|
|
8564
8564
|
updated_at: time
|
|
8565
8565
|
});
|
|
8566
8566
|
|
|
8567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8568
8568
|
var hit = strictObject({
|
|
8569
8569
|
kind: picklist([
|
|
8570
8570
|
"message",
|
|
@@ -8628,7 +8628,7 @@ var hit = strictObject({
|
|
|
8628
8628
|
untrusted
|
|
8629
8629
|
});
|
|
8630
8630
|
|
|
8631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8632
8632
|
var identity = strictObject({
|
|
8633
8633
|
ref: reference,
|
|
8634
8634
|
provider: text,
|
|
@@ -8644,7 +8644,7 @@ var identity = strictObject({
|
|
|
8644
8644
|
person: optional(nullable(reference))
|
|
8645
8645
|
});
|
|
8646
8646
|
|
|
8647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8648
8648
|
var imageEmbedding = strictObject({
|
|
8649
8649
|
model: text,
|
|
8650
8650
|
embedded: count,
|
|
@@ -8653,13 +8653,13 @@ var imageEmbedding = strictObject({
|
|
|
8653
8653
|
more: boolean()
|
|
8654
8654
|
});
|
|
8655
8655
|
|
|
8656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8657
8657
|
import { spawn } from "node:child_process";
|
|
8658
8658
|
import { randomBytes } from "node:crypto";
|
|
8659
8659
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8660
8660
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8661
8661
|
|
|
8662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8663
8663
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8664
8664
|
const total = input.total ?? null;
|
|
8665
8665
|
const updated = input.updatedAt ?? null;
|
|
@@ -8690,7 +8690,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8690
8690
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8691
8691
|
}, "progressLine");
|
|
8692
8692
|
|
|
8693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8694
8694
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8695
8695
|
const run = currentRun();
|
|
8696
8696
|
const trace = traceId ?? run.traceId;
|
|
@@ -8704,7 +8704,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8704
8704
|
}));
|
|
8705
8705
|
}, "recordLogFor");
|
|
8706
8706
|
|
|
8707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8708
8708
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8709
8709
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8710
8710
|
const out = openSync(log, "a", 384);
|
|
@@ -8859,7 +8859,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8859
8859
|
return { job: id6, pid, chat: input.chat, log };
|
|
8860
8860
|
}, "startArchiveJob");
|
|
8861
8861
|
|
|
8862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8863
8863
|
var problem = strictObject({ code: text, message: text });
|
|
8864
8864
|
var job = strictObject({
|
|
8865
8865
|
id,
|
|
@@ -8882,7 +8882,7 @@ var job = strictObject({
|
|
|
8882
8882
|
error: optional(problem)
|
|
8883
8883
|
});
|
|
8884
8884
|
|
|
8885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8886
8886
|
var joinRequest = strictObject({
|
|
8887
8887
|
person_id: id,
|
|
8888
8888
|
name: nullable(text),
|
|
@@ -8893,7 +8893,7 @@ var joinRequest = strictObject({
|
|
|
8893
8893
|
about: optional(text)
|
|
8894
8894
|
});
|
|
8895
8895
|
|
|
8896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8897
8897
|
var botProfile = strictObject({
|
|
8898
8898
|
name: text,
|
|
8899
8899
|
token: text,
|
|
@@ -9017,7 +9017,7 @@ var stickerInventory = strictObject({
|
|
|
9017
9017
|
url: optional(nullable(text))
|
|
9018
9018
|
});
|
|
9019
9019
|
|
|
9020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9021
9021
|
var pollVote = strictObject({
|
|
9022
9022
|
person_id: id,
|
|
9023
9023
|
name: nullable(text),
|
|
@@ -9027,7 +9027,7 @@ var pollVote = strictObject({
|
|
|
9027
9027
|
voted_at: time
|
|
9028
9028
|
});
|
|
9029
9029
|
|
|
9030
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9031
9031
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9032
9032
|
var observation = strictObject({
|
|
9033
9033
|
value: pipe(number(), minValue(0)),
|
|
@@ -9069,7 +9069,7 @@ var serveSummary = strictObject({
|
|
|
9069
9069
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9070
9070
|
});
|
|
9071
9071
|
|
|
9072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9073
9073
|
var mailCounts = strictObject({
|
|
9074
9074
|
by: picklist(["day", "week", "sender"]),
|
|
9075
9075
|
received: count,
|
|
@@ -9084,7 +9084,7 @@ var mailCounts = strictObject({
|
|
|
9084
9084
|
}))
|
|
9085
9085
|
});
|
|
9086
9086
|
|
|
9087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9088
9088
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9089
9089
|
var base = { id, evidence: array(evidence2) };
|
|
9090
9090
|
var finding = variant("kind", [
|
|
@@ -9228,7 +9228,7 @@ var mailFindings = strictObject({
|
|
|
9228
9228
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9229
9229
|
});
|
|
9230
9230
|
|
|
9231
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9231
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9232
9232
|
var mediaArchive = strictObject({
|
|
9233
9233
|
directory: text,
|
|
9234
9234
|
chats: count,
|
|
@@ -9260,7 +9260,7 @@ var mediaArchiveTimer = union([
|
|
|
9260
9260
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9261
9261
|
]);
|
|
9262
9262
|
|
|
9263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9264
9264
|
var preparationId = pipe(string(), minLength(1));
|
|
9265
9265
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9266
9266
|
var preparationTime = nullable(isoTime);
|
|
@@ -9352,7 +9352,7 @@ var preparationMeeting = strictObject({
|
|
|
9352
9352
|
updated_at: isoTime
|
|
9353
9353
|
});
|
|
9354
9354
|
|
|
9355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9356
9356
|
var meetingEvidence = preparationEvidence;
|
|
9357
9357
|
var meetingPersonContext = strictObject({
|
|
9358
9358
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9374,7 +9374,7 @@ var meetingPersonContext = strictObject({
|
|
|
9374
9374
|
})
|
|
9375
9375
|
});
|
|
9376
9376
|
|
|
9377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9378
9378
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9379
9379
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9380
9380
|
var finding2 = variant("kind", [
|
|
@@ -9412,7 +9412,7 @@ var meetingFindings = strictObject({
|
|
|
9412
9412
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9413
9413
|
});
|
|
9414
9414
|
|
|
9415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9416
9416
|
var communicationCoverage = strictObject({
|
|
9417
9417
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9418
9418
|
query: string(),
|
|
@@ -9457,7 +9457,7 @@ var preparationCommunications = strictObject({
|
|
|
9457
9457
|
}))
|
|
9458
9458
|
});
|
|
9459
9459
|
|
|
9460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9461
9461
|
var meetingPreparation = strictObject({
|
|
9462
9462
|
communications: optional(preparationCommunications),
|
|
9463
9463
|
schema_version: literal(1),
|
|
@@ -9570,7 +9570,7 @@ var meetingPreparation = strictObject({
|
|
|
9570
9570
|
})
|
|
9571
9571
|
});
|
|
9572
9572
|
|
|
9573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9573
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9574
9574
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9575
9575
|
var id3 = pipe(string(), minLength(1));
|
|
9576
9576
|
var text3 = string();
|
|
@@ -9634,7 +9634,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9634
9634
|
})
|
|
9635
9635
|
});
|
|
9636
9636
|
|
|
9637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9638
9638
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9639
9639
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9640
9640
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9664,7 +9664,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9664
9664
|
})
|
|
9665
9665
|
});
|
|
9666
9666
|
|
|
9667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9668
9668
|
var text4 = string();
|
|
9669
9669
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9670
9670
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9681,7 +9681,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9681
9681
|
persistence: literal("proposal-only")
|
|
9682
9682
|
});
|
|
9683
9683
|
|
|
9684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9685
9685
|
var memory = strictObject({
|
|
9686
9686
|
ref: reference,
|
|
9687
9687
|
id,
|
|
@@ -9709,7 +9709,7 @@ var memory = strictObject({
|
|
|
9709
9709
|
updated_at: time
|
|
9710
9710
|
});
|
|
9711
9711
|
|
|
9712
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9712
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9713
9713
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9714
9714
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9715
9715
|
var mention = strictObject({
|
|
@@ -9753,7 +9753,7 @@ var mentionRebuild = strictObject({
|
|
|
9753
9753
|
mentions: count
|
|
9754
9754
|
});
|
|
9755
9755
|
|
|
9756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9757
9757
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9758
9758
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9759
9759
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9762,7 +9762,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9762
9762
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9763
9763
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9764
9764
|
|
|
9765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9766
9766
|
var messageTranscript = strictObject({
|
|
9767
9767
|
message_id: id,
|
|
9768
9768
|
text,
|
|
@@ -9820,7 +9820,7 @@ var evidencePacket = strictObject({
|
|
|
9820
9820
|
}))
|
|
9821
9821
|
});
|
|
9822
9822
|
|
|
9823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9824
9824
|
var messageThread = strictObject({
|
|
9825
9825
|
ref: reference,
|
|
9826
9826
|
chat: id,
|
|
@@ -9837,7 +9837,7 @@ var messageThread = strictObject({
|
|
|
9837
9837
|
});
|
|
9838
9838
|
var messageContext = union([message, messageThread]);
|
|
9839
9839
|
|
|
9840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9841
9841
|
var messageCounts = strictObject({
|
|
9842
9842
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9843
9843
|
total: count,
|
|
@@ -9850,7 +9850,7 @@ var messageCounts = strictObject({
|
|
|
9850
9850
|
}))
|
|
9851
9851
|
});
|
|
9852
9852
|
|
|
9853
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9854
9854
|
var messageLink = strictObject({
|
|
9855
9855
|
ref: reference,
|
|
9856
9856
|
url: nullable(text),
|
|
@@ -9867,7 +9867,7 @@ var messageLink = strictObject({
|
|
|
9867
9867
|
})))
|
|
9868
9868
|
});
|
|
9869
9869
|
|
|
9870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9870
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9871
9871
|
var savedMessageFile = strictObject({
|
|
9872
9872
|
kind: text,
|
|
9873
9873
|
path: text,
|
|
@@ -9954,7 +9954,7 @@ var messageSyncAll = strictObject({
|
|
|
9954
9954
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9955
9955
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9956
9956
|
|
|
9957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9958
9958
|
var messageWrite = strictObject({
|
|
9959
9959
|
operation_id: id,
|
|
9960
9960
|
message,
|
|
@@ -9969,7 +9969,7 @@ var draftWrite = strictObject({
|
|
|
9969
9969
|
});
|
|
9970
9970
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9971
9971
|
|
|
9972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9973
9973
|
var model2 = strictObject({
|
|
9974
9974
|
id,
|
|
9975
9975
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10004,7 +10004,7 @@ var chosenModel = strictObject({
|
|
|
10004
10004
|
estimate_seconds: nullable(count)
|
|
10005
10005
|
});
|
|
10006
10006
|
|
|
10007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10008
10008
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10009
10009
|
var modelKey = strictObject({
|
|
10010
10010
|
provider: text,
|
|
@@ -10014,7 +10014,7 @@ var modelKey = strictObject({
|
|
|
10014
10014
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10015
10015
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10016
10016
|
|
|
10017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10017
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10018
10018
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10019
10019
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10020
10020
|
var graph = strictObject({
|
|
@@ -10048,14 +10048,14 @@ var officialStats = strictObject({
|
|
|
10048
10048
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10049
10049
|
});
|
|
10050
10050
|
|
|
10051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10052
10052
|
var person2 = strictObject({
|
|
10053
10053
|
ref: reference,
|
|
10054
10054
|
name: nullable(text),
|
|
10055
10055
|
identities: optional(array(identity))
|
|
10056
10056
|
});
|
|
10057
10057
|
|
|
10058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10059
10059
|
var poll = strictObject({
|
|
10060
10060
|
chat_id: id,
|
|
10061
10061
|
message_id: id,
|
|
@@ -10071,11 +10071,11 @@ var poll = strictObject({
|
|
|
10071
10071
|
});
|
|
10072
10072
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10073
10073
|
|
|
10074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10075
10075
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10076
10076
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10077
10077
|
|
|
10078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10079
10079
|
var figures = record(string(), number());
|
|
10080
10080
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10081
10081
|
var rankingRow = strictObject({
|
|
@@ -10122,7 +10122,7 @@ var ranking = strictObject({
|
|
|
10122
10122
|
rows: array(rankingRow)
|
|
10123
10123
|
});
|
|
10124
10124
|
|
|
10125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10126
10126
|
var reaction = strictObject({
|
|
10127
10127
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10128
10128
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10130,7 +10130,7 @@ var reaction = strictObject({
|
|
|
10130
10130
|
reacted_at: time
|
|
10131
10131
|
});
|
|
10132
10132
|
|
|
10133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10134
10134
|
var reactionChange = strictObject({
|
|
10135
10135
|
operation_id: id,
|
|
10136
10136
|
chat_id: id,
|
|
@@ -10138,7 +10138,7 @@ var reactionChange = strictObject({
|
|
|
10138
10138
|
reaction: nullable(text)
|
|
10139
10139
|
});
|
|
10140
10140
|
|
|
10141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10142
10142
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10143
10143
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10144
10144
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10149,7 +10149,7 @@ var recipientChange = strictObject({
|
|
|
10149
10149
|
...partial(recipientOff).entries
|
|
10150
10150
|
});
|
|
10151
10151
|
|
|
10152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10153
10153
|
var events = array(record(string(), unknown()));
|
|
10154
10154
|
var recordedRun = strictObject({
|
|
10155
10155
|
run_id: id,
|
|
@@ -10221,7 +10221,7 @@ var runHit = strictObject({
|
|
|
10221
10221
|
});
|
|
10222
10222
|
var runLocation = strictObject({ path: text });
|
|
10223
10223
|
|
|
10224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10225
10225
|
var relationship = strictObject({
|
|
10226
10226
|
id,
|
|
10227
10227
|
from: reference,
|
|
@@ -10248,7 +10248,7 @@ var relationship = strictObject({
|
|
|
10248
10248
|
created_at: time
|
|
10249
10249
|
});
|
|
10250
10250
|
|
|
10251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10252
10252
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10253
10253
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10254
10254
|
var responseTimes = strictObject({
|
|
@@ -10265,7 +10265,7 @@ var waitingChats = strictObject({
|
|
|
10265
10265
|
by_kind: strictObject({ private: count, group: count })
|
|
10266
10266
|
});
|
|
10267
10267
|
|
|
10268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10269
10269
|
var retentionCohort = strictObject({
|
|
10270
10270
|
/** The first day of the joining day or week. */
|
|
10271
10271
|
cohort: text,
|
|
@@ -10313,7 +10313,7 @@ var retention = strictObject({
|
|
|
10313
10313
|
rows: array(retentionCohort)
|
|
10314
10314
|
});
|
|
10315
10315
|
|
|
10316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10317
10317
|
var savedSearch = strictObject({
|
|
10318
10318
|
id,
|
|
10319
10319
|
/** `null` for a run in the history. */
|
|
@@ -10330,7 +10330,7 @@ var savedSearch = strictObject({
|
|
|
10330
10330
|
});
|
|
10331
10331
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10332
10332
|
|
|
10333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10334
10334
|
var sendAttempt = strictObject({
|
|
10335
10335
|
at: time,
|
|
10336
10336
|
profile: text,
|
|
@@ -10358,7 +10358,7 @@ var sendAttempt = strictObject({
|
|
|
10358
10358
|
error_code: optional(text)
|
|
10359
10359
|
});
|
|
10360
10360
|
|
|
10361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10362
10362
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10363
10363
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10364
10364
|
var infoSchema = strictObject({
|
|
@@ -10588,7 +10588,7 @@ var storeRepair = union([
|
|
|
10588
10588
|
]);
|
|
10589
10589
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10590
10590
|
|
|
10591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10592
10592
|
var range = strictObject({ from: number(), to: number() });
|
|
10593
10593
|
var storeChatStatus = strictObject({
|
|
10594
10594
|
chat_id: id,
|
|
@@ -10686,7 +10686,7 @@ var storeJobRetry = union([
|
|
|
10686
10686
|
]);
|
|
10687
10687
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10688
10688
|
|
|
10689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10690
10690
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10691
10691
|
var storeTable = strictObject({
|
|
10692
10692
|
name: text,
|
|
@@ -10695,7 +10695,7 @@ var storeTable = strictObject({
|
|
|
10695
10695
|
bytes: optional(nullable(count))
|
|
10696
10696
|
});
|
|
10697
10697
|
|
|
10698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10699
10699
|
var tagTarget = variant("type", [
|
|
10700
10700
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10701
10701
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10726,7 +10726,7 @@ var automaticTags = strictObject({
|
|
|
10726
10726
|
dry_run: boolean()
|
|
10727
10727
|
});
|
|
10728
10728
|
|
|
10729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10730
10730
|
var tagging = strictObject({
|
|
10731
10731
|
tag: text,
|
|
10732
10732
|
type: picklist(TAG_TYPES),
|
|
@@ -10739,7 +10739,7 @@ var tagging = strictObject({
|
|
|
10739
10739
|
created_at: time
|
|
10740
10740
|
});
|
|
10741
10741
|
|
|
10742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10743
10743
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10744
10744
|
var taskPair = strictObject({
|
|
10745
10745
|
task: nullable(side),
|
|
@@ -10762,7 +10762,7 @@ var taskPair = strictObject({
|
|
|
10762
10762
|
created_at: time
|
|
10763
10763
|
});
|
|
10764
10764
|
|
|
10765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10766
10766
|
var nullableTime = nullable(time);
|
|
10767
10767
|
var link = strictObject({
|
|
10768
10768
|
id,
|
|
@@ -10936,7 +10936,7 @@ var taskReview = strictObject({
|
|
|
10936
10936
|
untrusted
|
|
10937
10937
|
});
|
|
10938
10938
|
|
|
10939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10940
10940
|
var template = strictObject({
|
|
10941
10941
|
key: text,
|
|
10942
10942
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10948,7 +10948,7 @@ var template = strictObject({
|
|
|
10948
10948
|
updated_by: nullable(text)
|
|
10949
10949
|
});
|
|
10950
10950
|
|
|
10951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10952
10952
|
var topic = strictObject({
|
|
10953
10953
|
id,
|
|
10954
10954
|
title: text,
|
|
@@ -10962,7 +10962,7 @@ var topic = strictObject({
|
|
|
10962
10962
|
untrusted
|
|
10963
10963
|
});
|
|
10964
10964
|
|
|
10965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10966
10966
|
var ENTITIES = {
|
|
10967
10967
|
sync_progress: progress,
|
|
10968
10968
|
deal,
|
|
@@ -11264,7 +11264,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11264
11264
|
return [name, definition];
|
|
11265
11265
|
})), "entityDefinitions");
|
|
11266
11266
|
|
|
11267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11268
11268
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11269
11269
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11270
11270
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11298,7 +11298,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11298
11298
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11299
11299
|
}, "answerRow");
|
|
11300
11300
|
|
|
11301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11302
11302
|
import { join as join5 } from "node:path";
|
|
11303
11303
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11304
11304
|
var IMAGE_MODELS = [
|
|
@@ -11352,7 +11352,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11352
11352
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11353
11353
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11354
11354
|
|
|
11355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11356
11356
|
var STEPS2 = defineSteps([
|
|
11357
11357
|
...STEPS,
|
|
11358
11358
|
{
|
|
@@ -11656,7 +11656,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11656
11656
|
].join(" ");
|
|
11657
11657
|
}, "stepLine");
|
|
11658
11658
|
|
|
11659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11660
11660
|
var where = [{ field: "ref" }];
|
|
11661
11661
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11662
11662
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11748,7 +11748,7 @@ var STATUS_ROWS = {
|
|
|
11748
11748
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11749
11749
|
};
|
|
11750
11750
|
|
|
11751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11752
11752
|
var TEXT_CHARS = 400;
|
|
11753
11753
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11754
11754
|
var messageRow = {
|
|
@@ -11882,9 +11882,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
|
|
|
11882
11882
|
var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
|
|
11883
11883
|
var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
|
|
11884
11884
|
var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
|
|
11885
|
+
var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
|
|
11885
11886
|
var cut = /* @__PURE__ */ __name((text5, chars) => {
|
|
11886
11887
|
if (chars <= 0)
|
|
11887
11888
|
return text5;
|
|
11889
|
+
const block = BLOCK.exec(text5);
|
|
11890
|
+
if (block)
|
|
11891
|
+
return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
|
|
11888
11892
|
const letters = Array.from(text5);
|
|
11889
11893
|
return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
|
|
11890
11894
|
}, "cut");
|
|
@@ -12116,7 +12120,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12116
12120
|
return lines.concat(footerOf(body)).join("\n");
|
|
12117
12121
|
}, "compactText");
|
|
12118
12122
|
|
|
12119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12120
12124
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12121
12125
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12122
12126
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12174,7 +12178,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12174
12178
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12175
12179
|
}, "largeAnswerSteps");
|
|
12176
12180
|
|
|
12177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12178
12182
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12179
12183
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12180
12184
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12188,7 +12192,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12188
12192
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12189
12193
|
}, "strip");
|
|
12190
12194
|
|
|
12191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12192
12196
|
var OPEN = "\u27E6";
|
|
12193
12197
|
var CLOSE = "\u27E7";
|
|
12194
12198
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12210,19 +12214,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
|
|
|
12210
12214
|
const id6 = value.ref ?? value.id;
|
|
12211
12215
|
return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
|
|
12212
12216
|
}, "idOf");
|
|
12217
|
+
var everyStringAt = /* @__PURE__ */ __name((value, mark, source2, id6) => {
|
|
12218
|
+
if (Array.isArray(value))
|
|
12219
|
+
return value.map((one) => everyStringAt(one, mark, source2, id6));
|
|
12220
|
+
if (value === null || typeof value !== "object")
|
|
12221
|
+
return markAt(value, [], mark, source2, id6);
|
|
12222
|
+
const record2 = value;
|
|
12223
|
+
const own = idOf(record2) ?? id6;
|
|
12224
|
+
return Object.fromEntries(Object.entries(record2).map(([key, child]) => [key, everyStringAt(child, mark, source2, own)]));
|
|
12225
|
+
}, "everyStringAt");
|
|
12213
12226
|
var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
|
|
12214
12227
|
if (Array.isArray(value))
|
|
12215
12228
|
return value.map((one) => markAt(one, path2, mark, source2, id6));
|
|
12216
12229
|
if (path2.length === 0)
|
|
12217
12230
|
return typeof value === "string" && !value.startsWith(`${OPEN}untrusted:${mark} `) ? marked(value, mark, source2, id6) : value;
|
|
12231
|
+
if (path2.length === 1 && path2[0] === "*")
|
|
12232
|
+
return everyStringAt(value, mark, source2, id6);
|
|
12218
12233
|
if (value === null || typeof value !== "object")
|
|
12219
12234
|
return value;
|
|
12220
12235
|
const [key = "", ...rest] = path2;
|
|
12221
12236
|
const record2 = value;
|
|
12237
|
+
const own = idOf(record2) ?? id6;
|
|
12238
|
+
if (key === "*")
|
|
12239
|
+
return Object.fromEntries(Object.entries(record2).map(([name, child]) => [name, markAt(child, rest, mark, source2, own)]));
|
|
12222
12240
|
if (!(key in record2))
|
|
12223
12241
|
return value;
|
|
12224
|
-
return { ...record2, [key]: markAt(record2[key], rest, mark, source2,
|
|
12242
|
+
return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
|
|
12225
12243
|
}, "markAt");
|
|
12244
|
+
var withoutRunMarks = /* @__PURE__ */ __name((text5, mark) => text5.replace(new RegExp(`${OPEN}untrusted:${mark}(?: [^${OPEN}${CLOSE}]*)?${CLOSE}|${OPEN}/untrusted:${mark}${CLOSE}`, "gu"), ""), "withoutRunMarks");
|
|
12245
|
+
var API_UNTRUSTED = ["item.*", "items.*"];
|
|
12226
12246
|
var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
|
|
12227
12247
|
if (Array.isArray(value))
|
|
12228
12248
|
return value.map((one) => withUntrustedMarked(one, mark, id6));
|
|
@@ -12261,7 +12281,8 @@ var CHAT_UNTRUSTED = ["title", "description"];
|
|
|
12261
12281
|
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
12262
12282
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
12263
12283
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
12264
|
-
DECLARED.
|
|
12284
|
+
const raw = DECLARED.get(command) === API_UNTRUSTED;
|
|
12285
|
+
DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
|
|
12265
12286
|
return command;
|
|
12266
12287
|
}, "marksUntrusted");
|
|
12267
12288
|
var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
|
|
@@ -12278,7 +12299,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12278
12299
|
return result;
|
|
12279
12300
|
}, "withFieldsMarked");
|
|
12280
12301
|
|
|
12281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12282
12303
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12283
12304
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12284
12305
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12664,6 +12685,15 @@ export {
|
|
|
12664
12685
|
imageModelsDirectory,
|
|
12665
12686
|
placedImage,
|
|
12666
12687
|
isImageModelInstalled,
|
|
12688
|
+
untrustedMarkOf,
|
|
12689
|
+
runMarkOf,
|
|
12690
|
+
marked,
|
|
12691
|
+
withoutRunMarks,
|
|
12692
|
+
API_UNTRUSTED,
|
|
12693
|
+
withUntrustedMarked,
|
|
12694
|
+
CHAT_UNTRUSTED,
|
|
12695
|
+
CONTACT_UNTRUSTED,
|
|
12696
|
+
marksUntrusted,
|
|
12667
12697
|
answerEntity,
|
|
12668
12698
|
answerEntitySchema,
|
|
12669
12699
|
answerProjectionSchema,
|
|
@@ -12681,12 +12711,6 @@ export {
|
|
|
12681
12711
|
stepLine,
|
|
12682
12712
|
tooLargeSteps,
|
|
12683
12713
|
withoutProviderRefs,
|
|
12684
|
-
runMarkOf,
|
|
12685
|
-
marked,
|
|
12686
|
-
withUntrustedMarked,
|
|
12687
|
-
CHAT_UNTRUSTED,
|
|
12688
|
-
CONTACT_UNTRUSTED,
|
|
12689
|
-
marksUntrusted,
|
|
12690
12714
|
answerSchema,
|
|
12691
12715
|
listOf,
|
|
12692
12716
|
itemOf,
|