@wirecat/mail-cli 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-6NXVQLUQ.js → all-profiles-5XWH7TBM.js} +7 -7
- package/dist/bundle/{anthropic-OLNFE2CL.js → anthropic-QEQGUEPW.js} +2 -2
- package/dist/bundle/{app-server-J76N6XIK.js → app-server-YWDU56NR.js} +48 -44
- package/dist/bundle/{bun-6PYDHXNR.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-QD5PFHPS.js → bun-sqlite-S4QD5YUO.js} +3 -3
- package/dist/bundle/{chunk-VA4V73SL.js → chunk-255RGG5W.js} +5 -5
- package/dist/bundle/{chunk-5WROIMUV.js → chunk-2FZMIJW7.js} +4 -4
- package/dist/bundle/{chunk-AJ5K74X6.js → chunk-4VDWQKDI.js} +16 -16
- package/dist/bundle/{chunk-HI5XUETY.js → chunk-572NWJUN.js} +1 -1
- package/dist/bundle/{chunk-H2IJQH5X.js → chunk-5BPOEPYL.js} +4 -4
- package/dist/bundle/{chunk-DKIVYAXW.js → chunk-5DLPM5AV.js} +12 -12
- package/dist/bundle/{chunk-CZI45AQM.js → chunk-77J5ID2O.js} +2 -2
- package/dist/bundle/{chunk-2E2EV4HD.js → chunk-7BXOFLWJ.js} +80 -57
- package/dist/bundle/{chunk-QI6EXKSH.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-CFBIPM7T.js → chunk-AIZ225IA.js} +267 -251
- package/dist/bundle/{chunk-RXKIP2ML.js → chunk-APLVXHFG.js} +1 -1
- package/dist/bundle/{chunk-NBJU6MBU.js → chunk-BZCXAVGP.js} +7 -7
- package/dist/bundle/{chunk-XZ7CQ6NA.js → chunk-CKFVKHTB.js} +3 -3
- package/dist/bundle/{chunk-MIWSCTLG.js → chunk-CZRMT6XV.js} +2 -2
- package/dist/bundle/{chunk-NMFPK3MU.js → chunk-DQO2LX5I.js} +2 -2
- package/dist/bundle/{chunk-PY2IOVUN.js → chunk-DSUOYJUL.js} +3 -3
- package/dist/bundle/{chunk-QJGG6QYV.js → chunk-ELPH22W6.js} +7 -7
- package/dist/bundle/{chunk-BMGRDZM3.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-M4Y33SJJ.js → chunk-FOTP6QLO.js} +2 -2
- package/dist/bundle/{chunk-T7SHPALQ.js → chunk-FVVSBQGK.js} +24 -22
- package/dist/bundle/{chunk-76VSHS5Y.js → chunk-HBK6MRAL.js} +7 -7
- package/dist/bundle/{chunk-YM345236.js → chunk-IDOHT4Z3.js} +19 -19
- package/dist/bundle/{chunk-A3EBRXOQ.js → chunk-KHBZ4OEP.js} +1 -1
- package/dist/bundle/{chunk-LTZGLOKE.js → chunk-MY4LVD64.js} +1 -1
- package/dist/bundle/{chunk-M7RHPCXM.js → chunk-NZG6IRDW.js} +2 -2
- package/dist/bundle/{chunk-V32L23NN.js → chunk-OC3U2JAK.js} +3 -3
- package/dist/bundle/{chunk-XELZCDWE.js → chunk-OCUKQRJ3.js} +158 -148
- package/dist/bundle/{chunk-VWRT57QU.js → chunk-OEPNLKHI.js} +4 -4
- package/dist/bundle/{chunk-UE2NKPA4.js → chunk-OPOEAGVB.js} +6 -6
- package/dist/bundle/{chunk-JNKXU7AE.js → chunk-PA7LDYVX.js} +52 -52
- package/dist/bundle/{chunk-EDWJ7IYH.js → chunk-PJ3FKBXG.js} +1 -1
- package/dist/bundle/{chunk-PJ6YMNJG.js → chunk-PRSXMM4I.js} +447 -407
- package/dist/bundle/{chunk-OGE7YG4J.js → chunk-QQTSPQ2D.js} +1 -1
- package/dist/bundle/{chunk-52M5BAEG.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-YXGHC3NP.js → chunk-R3A65A4D.js} +10 -10
- package/dist/bundle/{chunk-BDYQQ6G2.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-A6XETABW.js → chunk-RGQFVVBB.js} +17 -17
- package/dist/bundle/{chunk-ZZSZN4CJ.js → chunk-ROLHKFKB.js} +13 -12
- package/dist/bundle/{chunk-KXASCNOV.js → chunk-RRLAFEPQ.js} +2 -2
- package/dist/bundle/{chunk-LMTQMYUF.js → chunk-S2QRW647.js} +33 -29
- package/dist/bundle/{chunk-GIG7F6UW.js → chunk-S7H7TAC3.js} +5 -5
- package/dist/bundle/{chunk-VJPLIXV4.js → chunk-SXKKOOA7.js} +1 -1
- package/dist/bundle/{chunk-76EKZSDK.js → chunk-T7VERZP5.js} +23 -23
- package/dist/bundle/{chunk-66C66FNK.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-3J2UJFBJ.js → chunk-TKOZCIHU.js} +15 -15
- package/dist/bundle/{chunk-JVJG54QK.js → chunk-UBH4UPZ7.js} +1 -1
- package/dist/bundle/{chunk-UNJUCK5R.js → chunk-UEJVXUIO.js} +12 -12
- package/dist/bundle/{chunk-V4PFD25P.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-3XTKQ5EM.js → chunk-VYZ37D2Q.js} +1 -1
- package/dist/bundle/{chunk-M2LATBP2.js → chunk-WMXUFUV3.js} +2 -2
- package/dist/bundle/{chunk-4Q6KAV4O.js → chunk-WRHAX53U.js} +6 -6
- package/dist/bundle/{chunk-3RY4HC4V.js → chunk-XBL46B4V.js} +1 -1
- package/dist/bundle/{chunk-XUJEZ5YF.js → chunk-XCYDTIVK.js} +5 -5
- package/dist/bundle/{chunk-HNSBXC6U.js → chunk-XM2THVMR.js} +2 -2
- package/dist/bundle/{chunk-M7ECSGSN.js → chunk-ZSWSFKNE.js} +4 -6
- package/dist/bundle/{chunk-2TCS4PLJ.js → chunk-ZVQDOKDY.js} +1 -1
- package/dist/bundle/{command-contract-NNEXHZW5.js → command-contract-MIJONVVG.js} +15 -15
- package/dist/bundle/{command-server-entry-AIBWNC5D.js → command-server-entry-VHUFW3OZ.js} +21 -21
- package/dist/bundle/{decode-H7KLRD33.js → decode-TIMTSVXM.js} +2 -2
- package/dist/bundle/{dist-YYSP43J3.js → dist-IP25JFTN.js} +11 -11
- package/dist/bundle/{echarts-VSD3LS6D.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-UENZ5HN3.js → embed-4W527BCE.js} +3 -3
- package/dist/bundle/{embedder-MJMGOJT7.js → embedder-LQE2SBJ3.js} +6 -6
- package/dist/bundle/{first-run-HYALREFN.js → first-run-KZTKMEI4.js} +6 -6
- package/dist/bundle/first-screen-4LG5SJ6D.js +34 -0
- package/dist/bundle/{instructions-WOHRYOLN.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-4BRWJJCE.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-sqlite-D3QESEYQ.js → node-sqlite-PVSKI4OS.js} +4 -4
- package/dist/bundle/{oauth-T7TTOBIZ.js → oauth-TGYGAVGF.js} +4 -4
- package/dist/bundle/{open-6P6627QB.js → open-5YED4Q4C.js} +2 -2
- package/dist/bundle/{openai-FIMCJGAP.js → openai-XVJTML22.js} +12 -12
- package/dist/bundle/{process-35IH3WHC.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-IEXB72IK.js → program-TDHDXAQA.js} +387 -374
- package/dist/bundle/{prompt-HFBCPMVL.js → prompt-HPZANASN.js} +2 -2
- package/dist/bundle/{recognize-CNL4HJ7Z.js → recognize-PP5XQQHH.js} +1 -1
- package/dist/bundle/{remote-AYGZI7HT.js → remote-C2LU2WYG.js} +6 -6
- package/dist/bundle/{rerank-5C2OZZXD.js → rerank-WRHNOM4Z.js} +4 -4
- package/dist/bundle/{serve-S6OYBDIB.js → serve-RE3IV2QB.js} +6 -6
- package/dist/bundle/server-43V7HNFY.js +68 -0
- package/dist/bundle/{server-VKO6E6PI.js → server-52BJ7UTO.js} +37 -35
- package/dist/bundle/{sqlite-runtime-DBTGNTVE.js → sqlite-runtime-CRRL3MYX.js} +3 -3
- package/dist/bundle/{state-ZQG6AL2Y.js → state-YGJRPMWD.js} +3 -3
- package/dist/bundle/{store-B7BXWILZ.js → store-6AZ5LVJL.js} +15 -15
- package/dist/bundle/{store-LY4QKTOO.js → store-ESQE4VHP.js} +13 -13
- package/dist/bundle/store-maintenance-command-AKQMKUYO.js +58 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/first-screen-GPF5RHBX.js +0 -34
- package/dist/bundle/server-WXSHVDME.js +0 -68
- package/dist/bundle/store-maintenance-command-UR6NQDVV.js +0 -58
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2FZMIJW7.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
providerErrorKey,
|
|
24
24
|
renderEvent,
|
|
25
25
|
runContextOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HBK6MRAL.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UIKVP23D.js";
|
|
30
30
|
import {
|
|
31
31
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZSWSFKNE.js";
|
|
33
33
|
import {
|
|
34
34
|
note
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NZG6IRDW.js";
|
|
36
36
|
import {
|
|
37
37
|
CATEGORIES,
|
|
38
38
|
FACT_STATUSES,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
typedCommand,
|
|
78
78
|
untrusted,
|
|
79
79
|
useAsProcessRun
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-T7VERZP5.js";
|
|
81
81
|
import {
|
|
82
82
|
BUSINESS_KINDS,
|
|
83
83
|
CRM_ACTIVITY_KINDS,
|
|
@@ -112,26 +112,26 @@ import {
|
|
|
112
112
|
meetingStats,
|
|
113
113
|
meetingSummary,
|
|
114
114
|
meetingTranscript
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-7BXOFLWJ.js";
|
|
116
116
|
import {
|
|
117
117
|
isCliFailure,
|
|
118
118
|
storeDamaged
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-SXKKOOA7.js";
|
|
120
120
|
import {
|
|
121
121
|
endpoint
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-XBL46B4V.js";
|
|
123
123
|
import {
|
|
124
124
|
readSharedSection,
|
|
125
125
|
sharedConfigPath,
|
|
126
126
|
writeSharedSection
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-XCYDTIVK.js";
|
|
128
128
|
import {
|
|
129
129
|
filesPresent,
|
|
130
130
|
sharedModelsDirectory
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-CKFVKHTB.js";
|
|
132
132
|
import {
|
|
133
133
|
storePath
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-VYZ37D2Q.js";
|
|
135
135
|
import {
|
|
136
136
|
configFilePath,
|
|
137
137
|
createRecordLog,
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
__name
|
|
205
205
|
} from "./chunk-ZVVMGPBJ.js";
|
|
206
206
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
208
208
|
import { readFileSync } from "node:fs";
|
|
209
209
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
210
210
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -3961,7 +3961,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3961
3961
|
}
|
|
3962
3962
|
}, "refuseJoinedPath");
|
|
3963
3963
|
|
|
3964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
3965
3965
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3966
3966
|
var requests = new AsyncLocalStorage();
|
|
3967
3967
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3976,7 +3976,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3976
3976
|
return direct;
|
|
3977
3977
|
}, "exitCodeSet");
|
|
3978
3978
|
|
|
3979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3980
3980
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3981
3981
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3982
3982
|
messageId: message2.id,
|
|
@@ -4082,7 +4082,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4082
4082
|
}, "guardedWrite");
|
|
4083
4083
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4084
4084
|
|
|
4085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4086
4086
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4087
4087
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4088
4088
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4265,7 +4265,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
}, "withAbort");
|
|
4267
4267
|
|
|
4268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4269
4269
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4270
4270
|
import { join } from "node:path";
|
|
4271
4271
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4287,7 +4287,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4287
4287
|
}, "profilesWithAccounts");
|
|
4288
4288
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4289
4289
|
|
|
4290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4291
4291
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4292
4292
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4293
4293
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4330,7 +4330,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4330
4330
|
};
|
|
4331
4331
|
}, "runBudget");
|
|
4332
4332
|
|
|
4333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4334
4334
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4335
4335
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4336
4336
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4368,7 +4368,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4368
4368
|
progress: "sync.progress"
|
|
4369
4369
|
};
|
|
4370
4370
|
|
|
4371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4372
4372
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4373
4373
|
const recording = startRecording(options);
|
|
4374
4374
|
try {
|
|
@@ -4583,7 +4583,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4583
4583
|
return void 0;
|
|
4584
4584
|
}, "partialOutcome");
|
|
4585
4585
|
|
|
4586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4587
4587
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4588
4588
|
if (ms2 === void 0)
|
|
4589
4589
|
return body();
|
|
@@ -4609,7 +4609,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4609
4609
|
}
|
|
4610
4610
|
}, "withDeadline");
|
|
4611
4611
|
|
|
4612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4613
4613
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4614
4614
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4615
4615
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4678,10 +4678,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4678
4678
|
return void 0;
|
|
4679
4679
|
}, "sampleCommand");
|
|
4680
4680
|
|
|
4681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4682
4682
|
import { existsSync as existsSync5 } from "node:fs";
|
|
4683
4683
|
|
|
4684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4685
4685
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4686
4686
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4687
4687
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4750,7 +4750,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4750
4750
|
};
|
|
4751
4751
|
}, "modelTarget");
|
|
4752
4752
|
|
|
4753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4754
4754
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4755
4755
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4756
4756
|
var AI_FIELDS = {
|
|
@@ -4794,7 +4794,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4794
4794
|
};
|
|
4795
4795
|
}, "resolveAISettings");
|
|
4796
4796
|
|
|
4797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
4798
4798
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4799
4799
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4800
4800
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4808,7 +4808,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4808
4808
|
return ms2;
|
|
4809
4809
|
}, "parseDuration");
|
|
4810
4810
|
|
|
4811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
4812
4812
|
import { existsSync as existsSync2 } from "node:fs";
|
|
4813
4813
|
import { join as join2 } from "node:path";
|
|
4814
4814
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -5085,7 +5085,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5085
5085
|
}, "vectorModelKey");
|
|
5086
5086
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5087
5087
|
|
|
5088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5089
5089
|
var HISTORY_MAX_DAYS = 1095;
|
|
5090
5090
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5091
5091
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5132,7 +5132,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5132
5132
|
return { batch: { ...batch, messages }, skipped };
|
|
5133
5133
|
}, "limitBatch");
|
|
5134
5134
|
|
|
5135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5136
5136
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5137
5137
|
import { join as join3 } from "node:path";
|
|
5138
5138
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5221,10 +5221,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5221
5221
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5222
5222
|
}, "registryProfiles");
|
|
5223
5223
|
|
|
5224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5225
5225
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5226
5226
|
|
|
5227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5228
5228
|
var REPAIR_WORDS = {
|
|
5229
5229
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5230
5230
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5465,7 +5465,7 @@ ${parts.join(",\n")}
|
|
|
5465
5465
|
${indent}${close}`;
|
|
5466
5466
|
}, "serialise");
|
|
5467
5467
|
|
|
5468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5469
5469
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5470
5470
|
var SECTIONS = ["personal", "bot"];
|
|
5471
5471
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5759,7 +5759,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5759
5759
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5760
5760
|
}, "readConfigFile");
|
|
5761
5761
|
|
|
5762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5763
5763
|
import { existsSync as existsSync4, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5764
5764
|
import { dirname, join as join4 } from "node:path";
|
|
5765
5765
|
var DEFAULT_CONFIG = {
|
|
@@ -5788,7 +5788,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5788
5788
|
}
|
|
5789
5789
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5790
5790
|
|
|
5791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5792
5792
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5793
5793
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5794
5794
|
const path2 = key.split(".");
|
|
@@ -5810,7 +5810,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5810
5810
|
return { config, added };
|
|
5811
5811
|
}, "withSettingDefaults");
|
|
5812
5812
|
|
|
5813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5814
5814
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5815
5815
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5816
5816
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6336,7 +6336,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6336
6336
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6337
6337
|
}, "given");
|
|
6338
6338
|
|
|
6339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6340
6340
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6341
6341
|
const { deadline, signal, app } = environmentOf(command);
|
|
6342
6342
|
const now = deadline?.();
|
|
@@ -6476,7 +6476,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6476
6476
|
return words2.join(" ");
|
|
6477
6477
|
}, "commandPath");
|
|
6478
6478
|
|
|
6479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6480
6480
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6481
6481
|
var FETCH = { remote: "read", local: "write" };
|
|
6482
6482
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6546,6 +6546,12 @@ var fetchesOnly = /* @__PURE__ */ __name((command) => {
|
|
|
6546
6546
|
const effects = metaOf(command).effects;
|
|
6547
6547
|
return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
|
|
6548
6548
|
}, "fetchesOnly");
|
|
6549
|
+
var fetchesOnlyAt = /* @__PURE__ */ __name((root) => (path2) => {
|
|
6550
|
+
let at2 = root;
|
|
6551
|
+
for (const word of path2)
|
|
6552
|
+
at2 = at2?.commands.find((one) => one.name() === word);
|
|
6553
|
+
return at2 !== void 0 && fetchesOnly(at2);
|
|
6554
|
+
}, "fetchesOnlyAt");
|
|
6549
6555
|
var FILE_OPTION = /* @__PURE__ */ new WeakMap();
|
|
6550
6556
|
var fileOptionOf = /* @__PURE__ */ __name((command) => FILE_OPTION.get(command), "fileOptionOf");
|
|
6551
6557
|
var writesFileNow = /* @__PURE__ */ __name((command) => {
|
|
@@ -6609,7 +6615,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6609
6615
|
throw readOnlyRefusal(lock, what);
|
|
6610
6616
|
}, "refuseUnderReadOnly");
|
|
6611
6617
|
|
|
6612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6618
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6613
6619
|
var account = strictObject({
|
|
6614
6620
|
provider: text,
|
|
6615
6621
|
id,
|
|
@@ -6619,7 +6625,7 @@ var account = strictObject({
|
|
|
6619
6625
|
scope: optional(picklist(["personal", "work"]))
|
|
6620
6626
|
});
|
|
6621
6627
|
|
|
6622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6623
6629
|
var accountSession = strictObject({
|
|
6624
6630
|
current: boolean(),
|
|
6625
6631
|
client: nullable(text),
|
|
@@ -6629,7 +6635,7 @@ var accountSession = strictObject({
|
|
|
6629
6635
|
created_at: optional(nullable(time))
|
|
6630
6636
|
});
|
|
6631
6637
|
|
|
6632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6633
6639
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6634
6640
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6635
6641
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6658,7 +6664,7 @@ var accountRemoval = strictObject({
|
|
|
6658
6664
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6659
6665
|
});
|
|
6660
6666
|
|
|
6661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6662
6668
|
var accountProfile = strictObject({
|
|
6663
6669
|
profile: id,
|
|
6664
6670
|
current: boolean(),
|
|
@@ -6670,7 +6676,7 @@ var accountProfile = strictObject({
|
|
|
6670
6676
|
bot: optional(literal(true))
|
|
6671
6677
|
});
|
|
6672
6678
|
|
|
6673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6679
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6674
6680
|
var milliseconds = pipe(number(), minValue(0));
|
|
6675
6681
|
var counterReading = strictObject({
|
|
6676
6682
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6682,7 +6688,7 @@ var counterReading = strictObject({
|
|
|
6682
6688
|
});
|
|
6683
6689
|
var selection = record(string(), unknown());
|
|
6684
6690
|
|
|
6685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6686
6692
|
var adminRow = strictObject({
|
|
6687
6693
|
ref: reference,
|
|
6688
6694
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6735,7 +6741,7 @@ var adminReport = strictObject({
|
|
|
6735
6741
|
rows: array(adminRow)
|
|
6736
6742
|
});
|
|
6737
6743
|
|
|
6738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6739
6745
|
var closeSuggestion = strictObject({
|
|
6740
6746
|
as: picklist(["done", "dismissed"]),
|
|
6741
6747
|
/** The agent's name. */
|
|
@@ -6797,7 +6803,7 @@ var task = strictObject({
|
|
|
6797
6803
|
updated_at: optional(time)
|
|
6798
6804
|
});
|
|
6799
6805
|
|
|
6800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6801
6807
|
var agendaChat = strictObject({
|
|
6802
6808
|
chat: reference,
|
|
6803
6809
|
title: nullable(text),
|
|
@@ -6867,11 +6873,11 @@ var agenda = strictObject({
|
|
|
6867
6873
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6868
6874
|
});
|
|
6869
6875
|
|
|
6870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6876
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6871
6877
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6872
6878
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6873
6879
|
|
|
6874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6875
6881
|
var attachment = strictObject({
|
|
6876
6882
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6877
6883
|
message: optional(reference),
|
|
@@ -6916,7 +6922,7 @@ var hitFile = strictObject({
|
|
|
6916
6922
|
local_path: optional(text)
|
|
6917
6923
|
});
|
|
6918
6924
|
|
|
6919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6920
6926
|
var actionableError = objectWithRest({
|
|
6921
6927
|
code: text,
|
|
6922
6928
|
message: text,
|
|
@@ -6933,7 +6939,7 @@ var batchResult = strictObject({
|
|
|
6933
6939
|
max_error_percent: count
|
|
6934
6940
|
});
|
|
6935
6941
|
|
|
6936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6937
6943
|
var extractionItem = strictObject({
|
|
6938
6944
|
ref: reference,
|
|
6939
6945
|
attachment: count,
|
|
@@ -6966,7 +6972,7 @@ var extractionReport = strictObject({
|
|
|
6966
6972
|
cursor: optional(text)
|
|
6967
6973
|
});
|
|
6968
6974
|
|
|
6969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6970
6976
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6971
6977
|
var attachmentBytes = strictObject({
|
|
6972
6978
|
ref: reference,
|
|
@@ -6997,7 +7003,7 @@ var attachmentTextChange = strictObject({
|
|
|
6997
7003
|
text: optional(text)
|
|
6998
7004
|
});
|
|
6999
7005
|
|
|
7000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7001
7007
|
var WEIGHTS = {
|
|
7002
7008
|
bot: 3,
|
|
7003
7009
|
scam: 3,
|
|
@@ -7022,7 +7028,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7022
7028
|
var DIGITS = /\d{5,}/;
|
|
7023
7029
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7024
7030
|
|
|
7025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7026
7032
|
var linkedIdentity = strictObject({
|
|
7027
7033
|
provider: text,
|
|
7028
7034
|
id,
|
|
@@ -7077,7 +7083,7 @@ var contactCheck = strictObject({
|
|
|
7077
7083
|
checked_at: time
|
|
7078
7084
|
});
|
|
7079
7085
|
|
|
7080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7081
7087
|
var member = strictObject({
|
|
7082
7088
|
id,
|
|
7083
7089
|
name: nullable(text),
|
|
@@ -7100,7 +7106,7 @@ var member = strictObject({
|
|
|
7100
7106
|
check: optional(record(string(), unknown()))
|
|
7101
7107
|
});
|
|
7102
7108
|
|
|
7103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7104
7110
|
var setting = optional(nullable(boolean()));
|
|
7105
7111
|
var chat = strictObject({
|
|
7106
7112
|
ref: reference,
|
|
@@ -7141,7 +7147,7 @@ var chat = strictObject({
|
|
|
7141
7147
|
members: optional(array(member))
|
|
7142
7148
|
});
|
|
7143
7149
|
|
|
7144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7145
7151
|
var quoted = strictObject({
|
|
7146
7152
|
id,
|
|
7147
7153
|
sender_id: nullable(id),
|
|
@@ -7260,7 +7266,7 @@ var message = strictObject({
|
|
|
7260
7266
|
provider_metadata: providerMetadata
|
|
7261
7267
|
});
|
|
7262
7268
|
|
|
7263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7264
7270
|
var recordedMeeting = strictObject({
|
|
7265
7271
|
ref: reference,
|
|
7266
7272
|
meeting_id: count,
|
|
@@ -7273,7 +7279,7 @@ var recordedMeeting = strictObject({
|
|
|
7273
7279
|
people: array(reference)
|
|
7274
7280
|
});
|
|
7275
7281
|
|
|
7276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7277
7283
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7278
7284
|
var contextMessage = strictObject({
|
|
7279
7285
|
locator: reference,
|
|
@@ -7479,7 +7485,7 @@ var contactPreparation = strictObject({
|
|
|
7479
7485
|
})
|
|
7480
7486
|
});
|
|
7481
7487
|
|
|
7482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7483
7489
|
var nullableText = nullable(text);
|
|
7484
7490
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7485
7491
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7590,7 +7596,7 @@ var stage = strictObject({
|
|
|
7590
7596
|
untrusted
|
|
7591
7597
|
});
|
|
7592
7598
|
|
|
7593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7594
7600
|
var nullableText2 = nullable(text);
|
|
7595
7601
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7596
7602
|
var standing = picklist(STANDINGS);
|
|
@@ -7764,7 +7770,7 @@ var dealBrief = strictObject({
|
|
|
7764
7770
|
not_read: coverage2.entries.not_read
|
|
7765
7771
|
});
|
|
7766
7772
|
|
|
7767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7768
7774
|
var chart = strictObject({
|
|
7769
7775
|
version: literal(1),
|
|
7770
7776
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7779,7 +7785,7 @@ var chart = strictObject({
|
|
|
7779
7785
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7780
7786
|
});
|
|
7781
7787
|
|
|
7782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7783
7789
|
var named = strictObject({
|
|
7784
7790
|
id,
|
|
7785
7791
|
title: nullable(text),
|
|
@@ -7802,7 +7808,7 @@ var folder = strictObject({
|
|
|
7802
7808
|
excluded_chats: optional(array(named))
|
|
7803
7809
|
});
|
|
7804
7810
|
|
|
7805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7806
7812
|
var inviteLink = strictObject({
|
|
7807
7813
|
link: text,
|
|
7808
7814
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7818,7 +7824,7 @@ var inviteLink = strictObject({
|
|
|
7818
7824
|
joined_count: optional(count)
|
|
7819
7825
|
});
|
|
7820
7826
|
|
|
7821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7827
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7822
7828
|
var operated = { operation_id: id, chat_id: id };
|
|
7823
7829
|
var group = strictObject({
|
|
7824
7830
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7898,7 +7904,7 @@ var chatFolderOrder = strictObject({
|
|
|
7898
7904
|
folders: array(strictObject({ id, title: text }))
|
|
7899
7905
|
});
|
|
7900
7906
|
|
|
7901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7902
7908
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7903
7909
|
var chatRemoval = strictObject(operated2);
|
|
7904
7910
|
var chatMuting = strictObject({
|
|
@@ -7909,7 +7915,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7909
7915
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7910
7916
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7911
7917
|
|
|
7912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7913
7919
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7914
7920
|
var chatEvent = strictObject({
|
|
7915
7921
|
chat_id: id,
|
|
@@ -7926,7 +7932,7 @@ var chatEvent = strictObject({
|
|
|
7926
7932
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7927
7933
|
});
|
|
7928
7934
|
|
|
7929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7930
7936
|
var chatMetadata = strictObject({
|
|
7931
7937
|
chat_id: id,
|
|
7932
7938
|
title: nullable(text),
|
|
@@ -7941,7 +7947,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7941
7947
|
has_more: boolean()
|
|
7942
7948
|
});
|
|
7943
7949
|
|
|
7944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7945
7951
|
var action = picklist(["report", "delete", "remove"]);
|
|
7946
7952
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7947
7953
|
var chatRules = strictObject({
|
|
@@ -7978,7 +7984,7 @@ var chatModeration = strictObject({
|
|
|
7978
7984
|
}))
|
|
7979
7985
|
});
|
|
7980
7986
|
|
|
7981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7987
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7982
7988
|
var optionalCount = optional(count);
|
|
7983
7989
|
var minutes = nullable(number());
|
|
7984
7990
|
var chatStats = strictObject({
|
|
@@ -8054,7 +8060,7 @@ var taskStats = strictObject({
|
|
|
8054
8060
|
}))
|
|
8055
8061
|
});
|
|
8056
8062
|
|
|
8057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8058
8064
|
var memberCount = strictObject({
|
|
8059
8065
|
day: pipe(text, isoDate()),
|
|
8060
8066
|
participants: nullable(count),
|
|
@@ -8077,7 +8083,7 @@ var chatTracking = strictObject({
|
|
|
8077
8083
|
tracked: boolean()
|
|
8078
8084
|
});
|
|
8079
8085
|
|
|
8080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8081
8087
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8082
8088
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8083
8089
|
var profileFields = {
|
|
@@ -8115,7 +8121,7 @@ var profileFields = {
|
|
|
8115
8121
|
}))
|
|
8116
8122
|
};
|
|
8117
8123
|
|
|
8118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8119
8125
|
var contact = strictObject({
|
|
8120
8126
|
ref: reference,
|
|
8121
8127
|
id,
|
|
@@ -8146,7 +8152,7 @@ var contact = strictObject({
|
|
|
8146
8152
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8147
8153
|
});
|
|
8148
8154
|
|
|
8149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8150
8156
|
var contactNote = strictObject({
|
|
8151
8157
|
id,
|
|
8152
8158
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8158,13 +8164,13 @@ var contactNote = strictObject({
|
|
|
8158
8164
|
updated_at: time
|
|
8159
8165
|
});
|
|
8160
8166
|
|
|
8161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8162
8168
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8163
8169
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8164
8170
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8165
8171
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8166
8172
|
|
|
8167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8168
8174
|
var conversation = strictObject({
|
|
8169
8175
|
id,
|
|
8170
8176
|
chat: reference,
|
|
@@ -8179,7 +8185,7 @@ var conversation = strictObject({
|
|
|
8179
8185
|
rules_version: count
|
|
8180
8186
|
});
|
|
8181
8187
|
|
|
8182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8188
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8183
8189
|
var conversationBuild = strictObject({
|
|
8184
8190
|
chat: id,
|
|
8185
8191
|
messages: count,
|
|
@@ -8204,7 +8210,7 @@ var catchUpPreparation = strictObject({
|
|
|
8204
8210
|
prepared: optional(conversationPreparation)
|
|
8205
8211
|
});
|
|
8206
8212
|
|
|
8207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8208
8214
|
var conversationDetails = union([
|
|
8209
8215
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8210
8216
|
message
|
|
@@ -8294,7 +8300,7 @@ var conversationHit = strictObject({
|
|
|
8294
8300
|
stale: boolean()
|
|
8295
8301
|
});
|
|
8296
8302
|
|
|
8297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8298
8304
|
var counters = strictObject({
|
|
8299
8305
|
cutoff: time,
|
|
8300
8306
|
max_age_ms: milliseconds,
|
|
@@ -8324,7 +8330,7 @@ var counterRefresh = strictObject({
|
|
|
8324
8330
|
complete: optional(boolean())
|
|
8325
8331
|
});
|
|
8326
8332
|
|
|
8327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8328
8334
|
var document = strictObject({
|
|
8329
8335
|
ref: reference,
|
|
8330
8336
|
id,
|
|
@@ -8339,7 +8345,7 @@ var document = strictObject({
|
|
|
8339
8345
|
owners: optional(array(text))
|
|
8340
8346
|
});
|
|
8341
8347
|
|
|
8342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8343
8349
|
var documentLink = strictObject({
|
|
8344
8350
|
ref: reference,
|
|
8345
8351
|
url: text,
|
|
@@ -8350,7 +8356,7 @@ var documentLink = strictObject({
|
|
|
8350
8356
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8351
8357
|
});
|
|
8352
8358
|
|
|
8353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8354
8360
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8355
8361
|
var contribution = strictObject({
|
|
8356
8362
|
message: evidenceMessage,
|
|
@@ -8380,7 +8386,7 @@ var retentionStay = strictObject({
|
|
|
8380
8386
|
});
|
|
8381
8387
|
var evidence = union([contribution, retentionStay]);
|
|
8382
8388
|
|
|
8383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8384
8390
|
var fact = strictObject({
|
|
8385
8391
|
ref: reference,
|
|
8386
8392
|
id,
|
|
@@ -8411,7 +8417,7 @@ var fact = strictObject({
|
|
|
8411
8417
|
updated_at: time
|
|
8412
8418
|
});
|
|
8413
8419
|
|
|
8414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8415
8421
|
var hit = strictObject({
|
|
8416
8422
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8417
8423
|
ref: reference,
|
|
@@ -8451,13 +8457,15 @@ var hit = strictObject({
|
|
|
8451
8457
|
review: optional(picklist(["proposed", "confirmed"])),
|
|
8452
8458
|
/** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
|
|
8453
8459
|
source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
|
|
8460
|
+
/** A document's: the meeting it is the transcript, recording or notes of. */
|
|
8461
|
+
meeting: optional(reference),
|
|
8454
8462
|
/** A message's files; absent when it has none. */
|
|
8455
8463
|
attachments: optional(array(hitFile)),
|
|
8456
8464
|
/** Absent on a note hit: the owner wrote it. */
|
|
8457
8465
|
untrusted
|
|
8458
8466
|
});
|
|
8459
8467
|
|
|
8460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8461
8469
|
var identity = strictObject({
|
|
8462
8470
|
ref: reference,
|
|
8463
8471
|
provider: text,
|
|
@@ -8473,7 +8481,7 @@ var identity = strictObject({
|
|
|
8473
8481
|
person: optional(nullable(reference))
|
|
8474
8482
|
});
|
|
8475
8483
|
|
|
8476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8477
8485
|
var imageEmbedding = strictObject({
|
|
8478
8486
|
model: text,
|
|
8479
8487
|
embedded: count,
|
|
@@ -8482,13 +8490,13 @@ var imageEmbedding = strictObject({
|
|
|
8482
8490
|
more: boolean()
|
|
8483
8491
|
});
|
|
8484
8492
|
|
|
8485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8486
8494
|
import { spawn } from "node:child_process";
|
|
8487
8495
|
import { randomBytes } from "node:crypto";
|
|
8488
8496
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8489
8497
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8490
8498
|
|
|
8491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8499
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8492
8500
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8493
8501
|
const total = input.total ?? null;
|
|
8494
8502
|
const updated = input.updatedAt ?? null;
|
|
@@ -8504,7 +8512,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8504
8512
|
};
|
|
8505
8513
|
}, "progressOf");
|
|
8506
8514
|
|
|
8507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8508
8516
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8509
8517
|
const run = currentRun();
|
|
8510
8518
|
const trace = traceId ?? run.traceId;
|
|
@@ -8518,7 +8526,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8518
8526
|
}));
|
|
8519
8527
|
}, "recordLogFor");
|
|
8520
8528
|
|
|
8521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8522
8530
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8523
8531
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8524
8532
|
const out = openSync(log, "a", 384);
|
|
@@ -8673,7 +8681,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8673
8681
|
return { job: id6, pid, chat: input.chat, log };
|
|
8674
8682
|
}, "startArchiveJob");
|
|
8675
8683
|
|
|
8676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8677
8685
|
var problem = strictObject({ code: text, message: text });
|
|
8678
8686
|
var job = strictObject({
|
|
8679
8687
|
id,
|
|
@@ -8696,7 +8704,7 @@ var job = strictObject({
|
|
|
8696
8704
|
error: optional(problem)
|
|
8697
8705
|
});
|
|
8698
8706
|
|
|
8699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8700
8708
|
var joinRequest = strictObject({
|
|
8701
8709
|
person_id: id,
|
|
8702
8710
|
name: nullable(text),
|
|
@@ -8707,7 +8715,7 @@ var joinRequest = strictObject({
|
|
|
8707
8715
|
about: optional(text)
|
|
8708
8716
|
});
|
|
8709
8717
|
|
|
8710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8711
8719
|
var botProfile = strictObject({
|
|
8712
8720
|
name: text,
|
|
8713
8721
|
token: text,
|
|
@@ -8831,7 +8839,7 @@ var stickerInventory = strictObject({
|
|
|
8831
8839
|
url: optional(nullable(text))
|
|
8832
8840
|
});
|
|
8833
8841
|
|
|
8834
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8835
8843
|
var pollVote = strictObject({
|
|
8836
8844
|
person_id: id,
|
|
8837
8845
|
name: nullable(text),
|
|
@@ -8841,7 +8849,7 @@ var pollVote = strictObject({
|
|
|
8841
8849
|
voted_at: time
|
|
8842
8850
|
});
|
|
8843
8851
|
|
|
8844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8845
8853
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8846
8854
|
var observation = strictObject({
|
|
8847
8855
|
value: pipe(number(), minValue(0)),
|
|
@@ -8883,7 +8891,7 @@ var serveSummary = strictObject({
|
|
|
8883
8891
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8884
8892
|
});
|
|
8885
8893
|
|
|
8886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8887
8895
|
var mailCounts = strictObject({
|
|
8888
8896
|
by: picklist(["day", "week", "sender"]),
|
|
8889
8897
|
received: count,
|
|
@@ -8898,7 +8906,7 @@ var mailCounts = strictObject({
|
|
|
8898
8906
|
}))
|
|
8899
8907
|
});
|
|
8900
8908
|
|
|
8901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8902
8910
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8903
8911
|
var base = { id, evidence: array(evidence2) };
|
|
8904
8912
|
var finding = variant("kind", [
|
|
@@ -9042,7 +9050,7 @@ var mailFindings = strictObject({
|
|
|
9042
9050
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9043
9051
|
});
|
|
9044
9052
|
|
|
9045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9046
9054
|
var mediaArchive = strictObject({
|
|
9047
9055
|
directory: text,
|
|
9048
9056
|
chats: count,
|
|
@@ -9074,7 +9082,7 @@ var mediaArchiveTimer = union([
|
|
|
9074
9082
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9075
9083
|
]);
|
|
9076
9084
|
|
|
9077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9078
9086
|
var preparationId = pipe(string(), minLength(1));
|
|
9079
9087
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9080
9088
|
var preparationTime = nullable(isoTime);
|
|
@@ -9166,7 +9174,7 @@ var preparationMeeting = strictObject({
|
|
|
9166
9174
|
updated_at: isoTime
|
|
9167
9175
|
});
|
|
9168
9176
|
|
|
9169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9170
9178
|
var meetingEvidence = preparationEvidence;
|
|
9171
9179
|
var meetingPersonContext = strictObject({
|
|
9172
9180
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9188,7 +9196,7 @@ var meetingPersonContext = strictObject({
|
|
|
9188
9196
|
})
|
|
9189
9197
|
});
|
|
9190
9198
|
|
|
9191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9192
9200
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9193
9201
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9194
9202
|
var finding2 = variant("kind", [
|
|
@@ -9226,7 +9234,7 @@ var meetingFindings = strictObject({
|
|
|
9226
9234
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9227
9235
|
});
|
|
9228
9236
|
|
|
9229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9230
9238
|
var communicationCoverage = strictObject({
|
|
9231
9239
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9232
9240
|
query: string(),
|
|
@@ -9271,7 +9279,7 @@ var preparationCommunications = strictObject({
|
|
|
9271
9279
|
}))
|
|
9272
9280
|
});
|
|
9273
9281
|
|
|
9274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9275
9283
|
var meetingPreparation = strictObject({
|
|
9276
9284
|
communications: optional(preparationCommunications),
|
|
9277
9285
|
schema_version: literal(1),
|
|
@@ -9384,7 +9392,7 @@ var meetingPreparation = strictObject({
|
|
|
9384
9392
|
})
|
|
9385
9393
|
});
|
|
9386
9394
|
|
|
9387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9388
9396
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9389
9397
|
var id3 = pipe(string(), minLength(1));
|
|
9390
9398
|
var text3 = string();
|
|
@@ -9448,7 +9456,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9448
9456
|
})
|
|
9449
9457
|
});
|
|
9450
9458
|
|
|
9451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9452
9460
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9453
9461
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9454
9462
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9478,7 +9486,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9478
9486
|
})
|
|
9479
9487
|
});
|
|
9480
9488
|
|
|
9481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9482
9490
|
var text4 = string();
|
|
9483
9491
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9484
9492
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9495,7 +9503,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9495
9503
|
persistence: literal("proposal-only")
|
|
9496
9504
|
});
|
|
9497
9505
|
|
|
9498
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9499
9507
|
var memory = strictObject({
|
|
9500
9508
|
ref: reference,
|
|
9501
9509
|
id,
|
|
@@ -9523,7 +9531,7 @@ var memory = strictObject({
|
|
|
9523
9531
|
updated_at: time
|
|
9524
9532
|
});
|
|
9525
9533
|
|
|
9526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9527
9535
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9528
9536
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9529
9537
|
var mention = strictObject({
|
|
@@ -9567,13 +9575,13 @@ var mentionRebuild = strictObject({
|
|
|
9567
9575
|
mentions: count
|
|
9568
9576
|
});
|
|
9569
9577
|
|
|
9570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9571
9579
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9572
9580
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9573
9581
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9574
9582
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9575
9583
|
|
|
9576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9577
9585
|
var messageTranscript = strictObject({
|
|
9578
9586
|
message_id: id,
|
|
9579
9587
|
text,
|
|
@@ -9631,7 +9639,7 @@ var evidencePacket = strictObject({
|
|
|
9631
9639
|
}))
|
|
9632
9640
|
});
|
|
9633
9641
|
|
|
9634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9635
9643
|
var messageThread = strictObject({
|
|
9636
9644
|
ref: reference,
|
|
9637
9645
|
chat: id,
|
|
@@ -9648,7 +9656,7 @@ var messageThread = strictObject({
|
|
|
9648
9656
|
});
|
|
9649
9657
|
var messageContext = union([message, messageThread]);
|
|
9650
9658
|
|
|
9651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9652
9660
|
var messageCounts = strictObject({
|
|
9653
9661
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9654
9662
|
total: count,
|
|
@@ -9661,7 +9669,7 @@ var messageCounts = strictObject({
|
|
|
9661
9669
|
}))
|
|
9662
9670
|
});
|
|
9663
9671
|
|
|
9664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9665
9673
|
var messageLink = strictObject({
|
|
9666
9674
|
ref: reference,
|
|
9667
9675
|
url: nullable(text),
|
|
@@ -9678,7 +9686,7 @@ var messageLink = strictObject({
|
|
|
9678
9686
|
})))
|
|
9679
9687
|
});
|
|
9680
9688
|
|
|
9681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9682
9690
|
var savedMessageFile = strictObject({
|
|
9683
9691
|
kind: text,
|
|
9684
9692
|
path: text,
|
|
@@ -9765,7 +9773,7 @@ var messageSyncAll = strictObject({
|
|
|
9765
9773
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9766
9774
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9767
9775
|
|
|
9768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9769
9777
|
var messageWrite = strictObject({
|
|
9770
9778
|
operation_id: id,
|
|
9771
9779
|
message,
|
|
@@ -9780,7 +9788,7 @@ var draftWrite = strictObject({
|
|
|
9780
9788
|
});
|
|
9781
9789
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9782
9790
|
|
|
9783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9784
9792
|
var model2 = strictObject({
|
|
9785
9793
|
id,
|
|
9786
9794
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9815,7 +9823,7 @@ var chosenModel = strictObject({
|
|
|
9815
9823
|
estimate_seconds: nullable(count)
|
|
9816
9824
|
});
|
|
9817
9825
|
|
|
9818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9819
9827
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9820
9828
|
var modelKey = strictObject({
|
|
9821
9829
|
provider: text,
|
|
@@ -9825,7 +9833,7 @@ var modelKey = strictObject({
|
|
|
9825
9833
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9826
9834
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9827
9835
|
|
|
9828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9829
9837
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9830
9838
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9831
9839
|
var graph = strictObject({
|
|
@@ -9859,14 +9867,14 @@ var officialStats = strictObject({
|
|
|
9859
9867
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9860
9868
|
});
|
|
9861
9869
|
|
|
9862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9870
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9863
9871
|
var person2 = strictObject({
|
|
9864
9872
|
ref: reference,
|
|
9865
9873
|
name: nullable(text),
|
|
9866
9874
|
identities: optional(array(identity))
|
|
9867
9875
|
});
|
|
9868
9876
|
|
|
9869
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9870
9878
|
var poll = strictObject({
|
|
9871
9879
|
chat_id: id,
|
|
9872
9880
|
message_id: id,
|
|
@@ -9882,11 +9890,11 @@ var poll = strictObject({
|
|
|
9882
9890
|
});
|
|
9883
9891
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9884
9892
|
|
|
9885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9886
9894
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9887
9895
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9888
9896
|
|
|
9889
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9890
9898
|
var figures = record(string(), number());
|
|
9891
9899
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9892
9900
|
var rankingRow = strictObject({
|
|
@@ -9933,7 +9941,7 @@ var ranking = strictObject({
|
|
|
9933
9941
|
rows: array(rankingRow)
|
|
9934
9942
|
});
|
|
9935
9943
|
|
|
9936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9937
9945
|
var reaction = strictObject({
|
|
9938
9946
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9939
9947
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9941,7 +9949,7 @@ var reaction = strictObject({
|
|
|
9941
9949
|
reacted_at: time
|
|
9942
9950
|
});
|
|
9943
9951
|
|
|
9944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9945
9953
|
var reactionChange = strictObject({
|
|
9946
9954
|
operation_id: id,
|
|
9947
9955
|
chat_id: id,
|
|
@@ -9949,7 +9957,7 @@ var reactionChange = strictObject({
|
|
|
9949
9957
|
reaction: nullable(text)
|
|
9950
9958
|
});
|
|
9951
9959
|
|
|
9952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9953
9961
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9954
9962
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9955
9963
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9960,7 +9968,7 @@ var recipientChange = strictObject({
|
|
|
9960
9968
|
...partial(recipientOff).entries
|
|
9961
9969
|
});
|
|
9962
9970
|
|
|
9963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9964
9972
|
var events = array(record(string(), unknown()));
|
|
9965
9973
|
var recordedRun = strictObject({
|
|
9966
9974
|
run_id: id,
|
|
@@ -10032,7 +10040,7 @@ var runHit = strictObject({
|
|
|
10032
10040
|
});
|
|
10033
10041
|
var runLocation = strictObject({ path: text });
|
|
10034
10042
|
|
|
10035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10036
10044
|
var relationship = strictObject({
|
|
10037
10045
|
id,
|
|
10038
10046
|
from: reference,
|
|
@@ -10059,7 +10067,7 @@ var relationship = strictObject({
|
|
|
10059
10067
|
created_at: time
|
|
10060
10068
|
});
|
|
10061
10069
|
|
|
10062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10063
10071
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10064
10072
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10065
10073
|
var responseTimes = strictObject({
|
|
@@ -10076,7 +10084,7 @@ var waitingChats = strictObject({
|
|
|
10076
10084
|
by_kind: strictObject({ private: count, group: count })
|
|
10077
10085
|
});
|
|
10078
10086
|
|
|
10079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10080
10088
|
var retentionCohort = strictObject({
|
|
10081
10089
|
/** The first day of the joining day or week. */
|
|
10082
10090
|
cohort: text,
|
|
@@ -10124,7 +10132,7 @@ var retention = strictObject({
|
|
|
10124
10132
|
rows: array(retentionCohort)
|
|
10125
10133
|
});
|
|
10126
10134
|
|
|
10127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10128
10136
|
var savedSearch = strictObject({
|
|
10129
10137
|
id,
|
|
10130
10138
|
/** `null` for a run in the history. */
|
|
@@ -10141,7 +10149,7 @@ var savedSearch = strictObject({
|
|
|
10141
10149
|
});
|
|
10142
10150
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10143
10151
|
|
|
10144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10145
10153
|
var sendAttempt = strictObject({
|
|
10146
10154
|
at: time,
|
|
10147
10155
|
profile: text,
|
|
@@ -10169,7 +10177,7 @@ var sendAttempt = strictObject({
|
|
|
10169
10177
|
error_code: optional(text)
|
|
10170
10178
|
});
|
|
10171
10179
|
|
|
10172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10173
10181
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10174
10182
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10175
10183
|
var infoSchema = strictObject({
|
|
@@ -10399,7 +10407,7 @@ var storeRepair = union([
|
|
|
10399
10407
|
]);
|
|
10400
10408
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10401
10409
|
|
|
10402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10403
10411
|
var range = strictObject({ from: number(), to: number() });
|
|
10404
10412
|
var storeChatStatus = strictObject({
|
|
10405
10413
|
chat_id: id,
|
|
@@ -10497,7 +10505,7 @@ var storeJobRetry = union([
|
|
|
10497
10505
|
]);
|
|
10498
10506
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10499
10507
|
|
|
10500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10501
10509
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10502
10510
|
var storeTable = strictObject({
|
|
10503
10511
|
name: text,
|
|
@@ -10506,7 +10514,7 @@ var storeTable = strictObject({
|
|
|
10506
10514
|
bytes: optional(nullable(count))
|
|
10507
10515
|
});
|
|
10508
10516
|
|
|
10509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10510
10518
|
var tagTarget = variant("type", [
|
|
10511
10519
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10512
10520
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10537,7 +10545,7 @@ var automaticTags = strictObject({
|
|
|
10537
10545
|
dry_run: boolean()
|
|
10538
10546
|
});
|
|
10539
10547
|
|
|
10540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10541
10549
|
var tagging = strictObject({
|
|
10542
10550
|
tag: text,
|
|
10543
10551
|
type: picklist(TAG_TYPES),
|
|
@@ -10550,7 +10558,7 @@ var tagging = strictObject({
|
|
|
10550
10558
|
created_at: time
|
|
10551
10559
|
});
|
|
10552
10560
|
|
|
10553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10554
10562
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10555
10563
|
var taskPair = strictObject({
|
|
10556
10564
|
task: nullable(side),
|
|
@@ -10573,7 +10581,7 @@ var taskPair = strictObject({
|
|
|
10573
10581
|
created_at: time
|
|
10574
10582
|
});
|
|
10575
10583
|
|
|
10576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10577
10585
|
var nullableTime = nullable(time);
|
|
10578
10586
|
var link = strictObject({
|
|
10579
10587
|
id,
|
|
@@ -10747,7 +10755,7 @@ var taskReview = strictObject({
|
|
|
10747
10755
|
untrusted
|
|
10748
10756
|
});
|
|
10749
10757
|
|
|
10750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10751
10759
|
var template = strictObject({
|
|
10752
10760
|
key: text,
|
|
10753
10761
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10759,7 +10767,7 @@ var template = strictObject({
|
|
|
10759
10767
|
updated_by: nullable(text)
|
|
10760
10768
|
});
|
|
10761
10769
|
|
|
10762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10763
10771
|
var topic = strictObject({
|
|
10764
10772
|
id,
|
|
10765
10773
|
title: text,
|
|
@@ -10773,7 +10781,7 @@ var topic = strictObject({
|
|
|
10773
10781
|
untrusted
|
|
10774
10782
|
});
|
|
10775
10783
|
|
|
10776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10777
10785
|
var ENTITIES = {
|
|
10778
10786
|
sync_progress: progress,
|
|
10779
10787
|
deal,
|
|
@@ -11068,7 +11076,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11068
11076
|
return [name, definition];
|
|
11069
11077
|
})), "entityDefinitions");
|
|
11070
11078
|
|
|
11071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11072
11080
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11073
11081
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11074
11082
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11102,7 +11110,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11102
11110
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11103
11111
|
}, "answerRow");
|
|
11104
11112
|
|
|
11105
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11106
11114
|
import { join as join6 } from "node:path";
|
|
11107
11115
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11108
11116
|
var IMAGE_MODELS = [
|
|
@@ -11156,7 +11164,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11156
11164
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11157
11165
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11158
11166
|
|
|
11159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11160
11168
|
var STEPS2 = defineSteps([
|
|
11161
11169
|
...STEPS,
|
|
11162
11170
|
{
|
|
@@ -11446,7 +11454,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11446
11454
|
].join(" ");
|
|
11447
11455
|
}, "stepLine");
|
|
11448
11456
|
|
|
11449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11457
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11450
11458
|
var where = [{ field: "ref" }];
|
|
11451
11459
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11452
11460
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11538,7 +11546,7 @@ var STATUS_ROWS = {
|
|
|
11538
11546
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11539
11547
|
};
|
|
11540
11548
|
|
|
11541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11542
11550
|
var TEXT_CHARS = 400;
|
|
11543
11551
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11544
11552
|
var messageRow = {
|
|
@@ -11906,7 +11914,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11906
11914
|
return lines.concat(footerOf(body)).join("\n");
|
|
11907
11915
|
}, "compactText");
|
|
11908
11916
|
|
|
11909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11910
11918
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11911
11919
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11912
11920
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11964,7 +11972,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11964
11972
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11965
11973
|
}, "largeAnswerSteps");
|
|
11966
11974
|
|
|
11967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11968
11976
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11969
11977
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11970
11978
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11978,7 +11986,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11978
11986
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11979
11987
|
}, "strip");
|
|
11980
11988
|
|
|
11981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11982
11990
|
var OPEN = "\u27E6";
|
|
11983
11991
|
var CLOSE = "\u27E7";
|
|
11984
11992
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12062,7 +12070,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12062
12070
|
return result;
|
|
12063
12071
|
}, "withFieldsMarked");
|
|
12064
12072
|
|
|
12065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12073
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12066
12074
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12067
12075
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12068
12076
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12369,6 +12377,8 @@ export {
|
|
|
12369
12377
|
narrowsUnderLock,
|
|
12370
12378
|
admittedUnderLock,
|
|
12371
12379
|
changesStore,
|
|
12380
|
+
fetchesOnly,
|
|
12381
|
+
fetchesOnlyAt,
|
|
12372
12382
|
fileOptionOf,
|
|
12373
12383
|
readsOverMcpAt,
|
|
12374
12384
|
isStoreChange,
|