@wirecat/cli-memo 0.131.72 → 0.131.73
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/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-G6S5HOBT.js → all-profiles-L5QBYI3V.js} +5 -5
- package/dist/bundle/{anthropic-LA6PXTPQ.js → anthropic-XXKHNCQS.js} +13 -4
- package/dist/bundle/{app-server-SESNZIAV.js → app-server-FDMP3IBP.js} +35 -35
- package/dist/bundle/auto-YQAECIZA.js +85 -0
- package/dist/bundle/{bun-PZNVNH4G.js → bun-VLN4HBWB.js} +2 -2
- package/dist/bundle/{bun-sqlite-VICDK5FS.js → bun-sqlite-KJCYXNMS.js} +2 -2
- package/dist/bundle/{chunk-FXZ7PQKG.js → chunk-2BH2RNFR.js} +5 -5
- package/dist/bundle/{chunk-RGIS2DRA.js → chunk-2C323QNQ.js} +4 -4
- package/dist/bundle/{chunk-SR7C53CS.js → chunk-3CANRF2G.js} +2 -2
- package/dist/bundle/{chunk-A4UQKFGY.js → chunk-6OPZTBRR.js} +12 -12
- package/dist/bundle/{chunk-I4HWKPQR.js → chunk-6ZRBQTKZ.js} +4 -4
- package/dist/bundle/{chunk-ASDOPGKC.js → chunk-A7QXBRUH.js} +2 -2
- package/dist/bundle/{chunk-IXZWUHSG.js → chunk-B7ATMWVO.js} +7 -7
- package/dist/bundle/{chunk-FOPDWCRG.js → chunk-BBLT77AO.js} +5 -5
- package/dist/bundle/{chunk-NRLXWY4Q.js → chunk-BOZEBD3I.js} +433 -368
- package/dist/bundle/{chunk-FPWF2XLH.js → chunk-BTVND2RV.js} +12 -12
- package/dist/bundle/{chunk-HIHZNBR7.js → chunk-C3UOKLIT.js} +1 -1
- package/dist/bundle/{chunk-UCRR7R6Q.js → chunk-E75LK7GD.js} +2 -2
- package/dist/bundle/{chunk-M2DAITNE.js → chunk-EH7ACKFW.js} +2 -2
- package/dist/bundle/{chunk-MSTWHRLN.js → chunk-EI2P5E4C.js} +1 -1
- package/dist/bundle/{chunk-FHIGY5K6.js → chunk-EQLOQOIB.js} +1 -1
- package/dist/bundle/{chunk-2VETW2QK.js → chunk-FMSXN2N6.js} +482 -369
- package/dist/bundle/{chunk-UX52EWLQ.js → chunk-FSXQLNU4.js} +1 -1
- package/dist/bundle/{chunk-K55WZ67L.js → chunk-H74CWBSY.js} +3 -3
- package/dist/bundle/{chunk-FENNNSCI.js → chunk-HBP7AQXX.js} +5 -5
- package/dist/bundle/{chunk-SVVSGUMU.js → chunk-I6MGDSYH.js} +4 -4
- package/dist/bundle/{chunk-ZM6J47GY.js → chunk-IDCYBSML.js} +2 -2
- package/dist/bundle/{chunk-QUPPO7DB.js → chunk-IKH4RCJO.js} +1 -1
- package/dist/bundle/{chunk-PHL53ERQ.js → chunk-IUEYR3TK.js} +4 -4
- package/dist/bundle/{chunk-MKOQDN3I.js → chunk-J7ESMDVV.js} +1 -1
- package/dist/bundle/{chunk-INQAQ55X.js → chunk-JABLJBXL.js} +80 -76
- package/dist/bundle/{chunk-YBL4QKLV.js → chunk-JLC2RE4Y.js} +46 -46
- package/dist/bundle/{chunk-FDSM2TU6.js → chunk-JPXDDRBD.js} +8 -8
- package/dist/bundle/{chunk-SL2LXOCN.js → chunk-K54MCZWM.js} +2 -2
- package/dist/bundle/{chunk-5XRCF57Z.js → chunk-KK3ZHBMI.js} +1 -1
- package/dist/bundle/{chunk-THPGFRPZ.js → chunk-KQTR6YA4.js} +9 -9
- package/dist/bundle/{chunk-II2SXJEO.js → chunk-LG5SQGNM.js} +28 -28
- package/dist/bundle/{chunk-LIF2HXIQ.js → chunk-LHZ4QBWB.js} +1 -1
- package/dist/bundle/{chunk-6Z62U7NY.js → chunk-LOYI3STE.js} +3 -3
- package/dist/bundle/{chunk-WT2P44YD.js → chunk-MLN4DPXN.js} +10 -10
- package/dist/bundle/{chunk-FVJSDDSV.js → chunk-MM3OMWST.js} +11 -9
- package/dist/bundle/{chunk-G3FQTKHT.js → chunk-NMOWIFH3.js} +7 -7
- package/dist/bundle/{chunk-ESYCZ575.js → chunk-O5KXCQE4.js} +2 -2
- package/dist/bundle/{chunk-CLQXHFKG.js → chunk-OGUXOAOH.js} +5 -5
- package/dist/bundle/{chunk-H3LAORYX.js → chunk-ON7ZROFP.js} +2 -2
- package/dist/bundle/{chunk-KH43CUE2.js → chunk-PAHBDQ5A.js} +5 -5
- package/dist/bundle/{chunk-MAGAWAPG.js → chunk-PF6LXPK5.js} +167 -165
- package/dist/bundle/{chunk-BD7AGXJJ.js → chunk-QHLEMEF3.js} +31 -31
- package/dist/bundle/{chunk-U3P5F57B.js → chunk-R3PK4Y7C.js} +1 -1
- package/dist/bundle/{chunk-G7XOBQB5.js → chunk-RB266FS6.js} +3 -3
- package/dist/bundle/{chunk-IRBYZUI7.js → chunk-SILEPITK.js} +27 -36
- package/dist/bundle/{chunk-STJWETNW.js → chunk-US2HTCJA.js} +4 -4
- package/dist/bundle/{chunk-6B3GQMR6.js → chunk-VPR47AG4.js} +1 -1
- package/dist/bundle/{chunk-3LS76TFB.js → chunk-VQUSPMYO.js} +1 -1
- package/dist/bundle/{chunk-RF6KPQWV.js → chunk-W6JPIP5C.js} +2 -2
- package/dist/bundle/{chunk-XXEHPPNS.js → chunk-WJNLBQSV.js} +1099 -743
- package/dist/bundle/{chunk-XNX3U6GD.js → chunk-X35Q5CHE.js} +6 -6
- package/dist/bundle/{chunk-B7LGXY3S.js → chunk-XGXEWKR7.js} +4 -4
- package/dist/bundle/{chunk-CPUQC7UF.js → chunk-XM6ZAPFW.js} +1 -1
- package/dist/bundle/{chunk-2RNNWFU7.js → chunk-YDGZJK6U.js} +13 -13
- package/dist/bundle/{chunk-3ZSPTUG3.js → chunk-ZI5Y2EUA.js} +6 -6
- package/dist/bundle/{chunk-PGOMGFXA.js → chunk-ZIGVDRSI.js} +1 -1
- package/dist/bundle/{command-contract-7QECBB6M.js → command-contract-6HJ322BP.js} +11 -11
- package/dist/bundle/{decode-WRWXOJML.js → decode-OS6Y6ICA.js} +2 -2
- package/dist/bundle/{echarts-MTCNTCST.js → echarts-JKGDUDYL.js} +2 -2
- package/dist/bundle/{embed-PPPCHSTE.js → embed-UB4LH6MF.js} +3 -3
- package/dist/bundle/{embedder-UJBIX6A2.js → embedder-TUQBG22Y.js} +6 -6
- package/dist/bundle/{entry-W6SHKRBE.js → entry-N4NCIQYH.js} +4 -4
- package/dist/bundle/failure-BJEFFYH3.js +65 -0
- package/dist/bundle/{first-run-7HAWGQ3B.js → first-run-VNJHZYGS.js} +5 -5
- package/dist/bundle/{first-screen-FRRTKWFB.js → first-screen-4XGF2NZ3.js} +12 -12
- package/dist/bundle/{instructions-JKIO4JF7.js → instructions-Q6IZQUU7.js} +1 -1
- package/dist/bundle/{mcp-OL6ZYF2T.js → mcp-REIASUJR.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-3AIXDDDR.js → node-ZSSIVKVC.js} +2 -2
- package/dist/bundle/{node-sqlite-NX722DXD.js → node-sqlite-AUNJSQQL.js} +3 -3
- package/dist/bundle/{oauth-2NPSI7Q3.js → oauth-2MTJFCMI.js} +4 -4
- package/dist/bundle/{open-AFRN6Q36.js → open-U7RC27MJ.js} +2 -2
- package/dist/bundle/{openai-U5CQFLRU.js → openai-2SJCG6XM.js} +7 -7
- package/dist/bundle/{process-J2IBN6X7.js → process-UEQX5STY.js} +1 -1
- package/dist/bundle/{program-MRG4ZQQI.js → program-G3F26HW7.js} +168 -87
- package/dist/bundle/{prompt-6XNKR4VQ.js → prompt-F23FC5PJ.js} +2 -2
- package/dist/bundle/{recognize-G3GI32QS.js → recognize-ZVEGVD56.js} +1 -1
- package/dist/bundle/{remote-DJO255PT.js → remote-CZXQS7PS.js} +4 -4
- package/dist/bundle/{rerank-5SBZRIHF.js → rerank-IRFXSVVO.js} +4 -4
- package/dist/bundle/{serve-BZVBKGU3.js → serve-6CIMU5HP.js} +6 -6
- package/dist/bundle/server-27KXLL4E.js +61 -0
- package/dist/bundle/{server-D5BJDKTJ.js → server-H24MAUT2.js} +50 -50
- package/dist/bundle/server-TWMUWMFM.js +48 -0
- package/dist/bundle/{state-A57F7T5D.js → state-TRWZWXB5.js} +3 -3
- package/dist/bundle/{store-JXD7SGIK.js → store-E4QUOOLX.js} +9 -9
- package/dist/bundle/store-maintenance-command-GLHRB2VZ.js +47 -0
- package/dist/bundle/update-QQEM73O5.js +68 -0
- package/dist/contract-overrides/search.d.ts.map +1 -1
- package/dist/contract-overrides/search.js +9 -3
- package/dist/contract-overrides/search.js.map +1 -1
- package/dist/digest/backfill.d.ts.map +1 -1
- package/dist/digest/backfill.js +7 -7
- package/dist/digest/backfill.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +9 -3
- package/dist/examples.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/search/answers.d.ts +9 -2
- package/dist/search/answers.d.ts.map +1 -1
- package/dist/search/answers.js +59 -5
- package/dist/search/answers.js.map +1 -1
- package/dist/search/command.d.ts.map +1 -1
- package/dist/search/command.js +38 -7
- package/dist/search/command.js.map +1 -1
- package/dist/search/search.d.ts +6 -2
- package/dist/search/search.d.ts.map +1 -1
- package/dist/search/search.js +14 -5
- package/dist/search/search.js.map +1 -1
- package/dist/store/group.d.ts +1 -1
- package/dist/store/group.d.ts.map +1 -1
- package/dist/store/group.js +2 -1
- package/dist/store/group.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/SKILL.md +3 -3
- package/skills/cli-memo/topics/meetings.md +2 -1
- package/skills/cli-memo/topics/search.md +1 -0
- package/dist/bundle/auto-WU47LYXJ.js +0 -85
- package/dist/bundle/failure-NRJ3EPBO.js +0 -65
- package/dist/bundle/server-AEZPZ3ZD.js +0 -48
- package/dist/bundle/server-CIT5B2SV.js +0 -61
- package/dist/bundle/store-maintenance-command-5DG4SEQA.js +0 -47
- package/dist/bundle/update-NI24ED4V.js +0 -68
- /package/dist/bundle/{chunk-YSYFOIW7.js → chunk-ZOWQ5B33.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZI5Y2EUA.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LOYI3STE.js";
|
|
16
16
|
import {
|
|
17
17
|
envName,
|
|
18
18
|
readOnlyLockOf,
|
|
19
19
|
readOnlyRefusal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-C3UOKLIT.js";
|
|
21
21
|
import {
|
|
22
22
|
carries
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VQUSPMYO.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
CATEGORIES,
|
|
@@ -98,23 +98,23 @@ import {
|
|
|
98
98
|
typedCommand,
|
|
99
99
|
untrusted,
|
|
100
100
|
useAsProcessRun
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-JABLJBXL.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure,
|
|
104
104
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-EH7ACKFW.js";
|
|
106
106
|
import {
|
|
107
107
|
readSharedSection,
|
|
108
108
|
sharedConfigPath,
|
|
109
109
|
writeSharedSection
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-I6MGDSYH.js";
|
|
111
111
|
import {
|
|
112
112
|
filesPresent,
|
|
113
113
|
sharedModelsDirectory
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-RB266FS6.js";
|
|
115
115
|
import {
|
|
116
116
|
storePath
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-R3PK4Y7C.js";
|
|
118
118
|
import {
|
|
119
119
|
configFilePath,
|
|
120
120
|
createRecordLog,
|
|
@@ -3979,7 +3979,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3979
3979
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3980
3980
|
}), "commandsDocument");
|
|
3981
3981
|
|
|
3982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3983
3983
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3984
3984
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3985
3985
|
messageId: message2.id,
|
|
@@ -4006,18 +4006,18 @@ var stopWrites = /* @__PURE__ */ __name((scope, reason) => {
|
|
|
4006
4006
|
for (const write of scope)
|
|
4007
4007
|
write.cut();
|
|
4008
4008
|
}, "stopWrites");
|
|
4009
|
-
var refuseStopped = /* @__PURE__ */ __name((
|
|
4010
|
-
for (const scope of
|
|
4009
|
+
var refuseStopped = /* @__PURE__ */ __name((scopes3) => {
|
|
4010
|
+
for (const scope of scopes3)
|
|
4011
4011
|
if (stopped.has(scope))
|
|
4012
4012
|
throw stopped.get(scope);
|
|
4013
4013
|
}, "refuseStopped");
|
|
4014
4014
|
var currentOperation = /* @__PURE__ */ __name(() => current.getStore(), "currentOperation");
|
|
4015
4015
|
var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 = () => ({}), prepare) => {
|
|
4016
|
-
const
|
|
4017
|
-
refuseStopped(
|
|
4016
|
+
const scopes3 = scopesFor();
|
|
4017
|
+
refuseStopped(scopes3);
|
|
4018
4018
|
try {
|
|
4019
4019
|
await guard.ask?.(attempt);
|
|
4020
|
-
refuseStopped(
|
|
4020
|
+
refuseStopped(scopes3);
|
|
4021
4021
|
if (guard.reserve) {
|
|
4022
4022
|
guard.check(attempt, { reserve: false });
|
|
4023
4023
|
await guard.reserve(attempt);
|
|
@@ -4028,7 +4028,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4028
4028
|
throw error;
|
|
4029
4029
|
}
|
|
4030
4030
|
try {
|
|
4031
|
-
refuseStopped(
|
|
4031
|
+
refuseStopped(scopes3);
|
|
4032
4032
|
} catch (error) {
|
|
4033
4033
|
guard.record({ ...attempt, outcome: "failed", errorCode: codeOf(error) });
|
|
4034
4034
|
throw error;
|
|
@@ -4053,7 +4053,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4053
4053
|
});
|
|
4054
4054
|
}, "cut")
|
|
4055
4055
|
};
|
|
4056
|
-
for (const scope of
|
|
4056
|
+
for (const scope of scopes3)
|
|
4057
4057
|
scope.add(flight);
|
|
4058
4058
|
try {
|
|
4059
4059
|
if (prepare !== void 0)
|
|
@@ -4079,13 +4079,13 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4079
4079
|
throw new CliError(error.code, error.message, { ...error.details, sent: false });
|
|
4080
4080
|
throw error;
|
|
4081
4081
|
} finally {
|
|
4082
|
-
for (const scope of
|
|
4082
|
+
for (const scope of scopes3)
|
|
4083
4083
|
scope.delete(flight);
|
|
4084
4084
|
}
|
|
4085
4085
|
}, "guardedWrite");
|
|
4086
4086
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4087
4087
|
|
|
4088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4089
4089
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4090
4090
|
try {
|
|
4091
4091
|
return work();
|
|
@@ -4112,7 +4112,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4112
4112
|
return projectFields(value, fields);
|
|
4113
4113
|
}), "projectFields");
|
|
4114
4114
|
|
|
4115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4116
4116
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4117
4117
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4118
4118
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4134,7 +4134,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4134
4134
|
}
|
|
4135
4135
|
}, "withAbort");
|
|
4136
4136
|
|
|
4137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4138
4138
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4139
4139
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4140
4140
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4194,7 +4194,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
4194
4194
|
return root;
|
|
4195
4195
|
}, "rootOf");
|
|
4196
4196
|
|
|
4197
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4197
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4198
4198
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4199
4199
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4200
4200
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4594,7 +4594,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4594
4594
|
}
|
|
4595
4595
|
}, "assertRetentionEvidenceRead");
|
|
4596
4596
|
|
|
4597
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4597
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4598
4598
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4599
4599
|
import { join } from "node:path";
|
|
4600
4600
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4616,12 +4616,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4616
4616
|
}, "profilesWithAccounts");
|
|
4617
4617
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4618
4618
|
|
|
4619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4620
4620
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4621
4621
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4622
4622
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4623
4623
|
|
|
4624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4625
4625
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4626
4626
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4627
4627
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4657,7 +4657,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4657
4657
|
return value;
|
|
4658
4658
|
}, "atDetail");
|
|
4659
4659
|
|
|
4660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/output.js
|
|
4661
4661
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4662
4662
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4663
4663
|
if (other)
|
|
@@ -4721,7 +4721,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4721
4721
|
}, "warn")
|
|
4722
4722
|
}), "silence");
|
|
4723
4723
|
|
|
4724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4725
4725
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4726
4726
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4727
4727
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4757,7 +4757,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4757
4757
|
store: "store.write"
|
|
4758
4758
|
};
|
|
4759
4759
|
|
|
4760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4760
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4761
4761
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4762
4762
|
const recording = startRecording(options);
|
|
4763
4763
|
try {
|
|
@@ -4972,7 +4972,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4972
4972
|
return void 0;
|
|
4973
4973
|
}, "partialOutcome");
|
|
4974
4974
|
|
|
4975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4976
4976
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4977
4977
|
if (ms2 === void 0)
|
|
4978
4978
|
return body();
|
|
@@ -4998,10 +4998,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4998
4998
|
}
|
|
4999
4999
|
}, "withDeadline");
|
|
5000
5000
|
|
|
5001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5002
5002
|
import { existsSync as existsSync5 } from "node:fs";
|
|
5003
5003
|
|
|
5004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5005
5005
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5006
5006
|
try {
|
|
5007
5007
|
const url3 = new URL(value);
|
|
@@ -5011,7 +5011,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5011
5011
|
}
|
|
5012
5012
|
}, "endpoint");
|
|
5013
5013
|
|
|
5014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5015
5015
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5016
5016
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5017
5017
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5080,7 +5080,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5080
5080
|
};
|
|
5081
5081
|
}, "modelTarget");
|
|
5082
5082
|
|
|
5083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5084
5084
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5085
5085
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5086
5086
|
var AI_FIELDS = {
|
|
@@ -5124,7 +5124,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5124
5124
|
};
|
|
5125
5125
|
}, "resolveAISettings");
|
|
5126
5126
|
|
|
5127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5128
5128
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5129
5129
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5130
5130
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5138,7 +5138,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5138
5138
|
return ms2;
|
|
5139
5139
|
}, "parseDuration");
|
|
5140
5140
|
|
|
5141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5142
5142
|
import { existsSync as existsSync2 } from "node:fs";
|
|
5143
5143
|
import { join as join2 } from "node:path";
|
|
5144
5144
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -5415,7 +5415,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5415
5415
|
}, "vectorModelKey");
|
|
5416
5416
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5417
5417
|
|
|
5418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5419
5419
|
var HISTORY_MAX_DAYS = 1095;
|
|
5420
5420
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5421
5421
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5462,7 +5462,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5462
5462
|
return { batch: { ...batch, messages }, skipped };
|
|
5463
5463
|
}, "limitBatch");
|
|
5464
5464
|
|
|
5465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5466
5466
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
5467
5467
|
import { join as join3 } from "node:path";
|
|
5468
5468
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5551,10 +5551,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5551
5551
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5552
5552
|
}, "registryProfiles");
|
|
5553
5553
|
|
|
5554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5555
5555
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
5556
5556
|
|
|
5557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5558
5558
|
var REPAIR_WORDS = {
|
|
5559
5559
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5560
5560
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5795,7 +5795,7 @@ ${parts.join(",\n")}
|
|
|
5795
5795
|
${indent}${close}`;
|
|
5796
5796
|
}, "serialise");
|
|
5797
5797
|
|
|
5798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5799
5799
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5800
5800
|
var SECTIONS = ["personal", "bot"];
|
|
5801
5801
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6090,7 +6090,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6090
6090
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6091
6091
|
}, "readConfigFile");
|
|
6092
6092
|
|
|
6093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6094
6094
|
import { existsSync as existsSync4, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
6095
6095
|
import { dirname, join as join4 } from "node:path";
|
|
6096
6096
|
var DEFAULT_CONFIG = {
|
|
@@ -6119,7 +6119,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6119
6119
|
}
|
|
6120
6120
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6121
6121
|
|
|
6122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6123
6123
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6124
6124
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6125
6125
|
const path2 = key.split(".");
|
|
@@ -6152,7 +6152,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6152
6152
|
};
|
|
6153
6153
|
}), "settingRows");
|
|
6154
6154
|
|
|
6155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6155
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6156
6156
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6157
6157
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6158
6158
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6677,7 +6677,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6677
6677
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6678
6678
|
}, "given");
|
|
6679
6679
|
|
|
6680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6681
6681
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6682
6682
|
const slot = environmentOf(command).exit;
|
|
6683
6683
|
if (slot)
|
|
@@ -6800,7 +6800,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6800
6800
|
return words2.join(" ");
|
|
6801
6801
|
}, "commandPath");
|
|
6802
6802
|
|
|
6803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6804
6804
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6805
6805
|
var FETCH = { remote: "read", local: "write" };
|
|
6806
6806
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6920,7 +6920,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6920
6920
|
throw readOnlyRefusal(lock, what);
|
|
6921
6921
|
}, "refuseUnderReadOnly");
|
|
6922
6922
|
|
|
6923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6924
6924
|
var account = strictObject({
|
|
6925
6925
|
provider: text,
|
|
6926
6926
|
id,
|
|
@@ -6930,7 +6930,7 @@ var account = strictObject({
|
|
|
6930
6930
|
scope: optional(picklist(["personal", "work"]))
|
|
6931
6931
|
});
|
|
6932
6932
|
|
|
6933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6934
6934
|
var accountSession = strictObject({
|
|
6935
6935
|
current: boolean(),
|
|
6936
6936
|
client: nullable(text),
|
|
@@ -6940,7 +6940,7 @@ var accountSession = strictObject({
|
|
|
6940
6940
|
created_at: optional(nullable(time))
|
|
6941
6941
|
});
|
|
6942
6942
|
|
|
6943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6944
6944
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6945
6945
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6946
6946
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6969,7 +6969,7 @@ var accountRemoval = strictObject({
|
|
|
6969
6969
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6970
6970
|
});
|
|
6971
6971
|
|
|
6972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6973
6973
|
var accountProfile = strictObject({
|
|
6974
6974
|
profile: id,
|
|
6975
6975
|
current: boolean(),
|
|
@@ -6981,7 +6981,7 @@ var accountProfile = strictObject({
|
|
|
6981
6981
|
bot: optional(literal(true))
|
|
6982
6982
|
});
|
|
6983
6983
|
|
|
6984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6985
6985
|
var milliseconds = pipe(number(), minValue(0));
|
|
6986
6986
|
var counterReading = strictObject({
|
|
6987
6987
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6993,7 +6993,7 @@ var counterReading = strictObject({
|
|
|
6993
6993
|
});
|
|
6994
6994
|
var selection = record(string(), unknown());
|
|
6995
6995
|
|
|
6996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6997
6997
|
var adminRow = strictObject({
|
|
6998
6998
|
ref: reference,
|
|
6999
6999
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7046,7 +7046,7 @@ var adminReport = strictObject({
|
|
|
7046
7046
|
rows: array(adminRow)
|
|
7047
7047
|
});
|
|
7048
7048
|
|
|
7049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7050
7050
|
var closeSuggestion = strictObject({
|
|
7051
7051
|
as: picklist(["done", "dismissed"]),
|
|
7052
7052
|
/** The agent's name. */
|
|
@@ -7108,7 +7108,7 @@ var task = strictObject({
|
|
|
7108
7108
|
updated_at: optional(time)
|
|
7109
7109
|
});
|
|
7110
7110
|
|
|
7111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7112
7112
|
var agendaChat = strictObject({
|
|
7113
7113
|
chat: reference,
|
|
7114
7114
|
title: nullable(text),
|
|
@@ -7178,11 +7178,11 @@ var agenda = strictObject({
|
|
|
7178
7178
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7179
7179
|
});
|
|
7180
7180
|
|
|
7181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7182
7182
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7183
7183
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7184
7184
|
|
|
7185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7186
7186
|
var attachment = strictObject({
|
|
7187
7187
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7188
7188
|
message: optional(reference),
|
|
@@ -7220,7 +7220,7 @@ var attachment = strictObject({
|
|
|
7220
7220
|
});
|
|
7221
7221
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7222
7222
|
|
|
7223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7223
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7224
7224
|
var actionableError = objectWithRest({
|
|
7225
7225
|
code: text,
|
|
7226
7226
|
message: text,
|
|
@@ -7237,7 +7237,7 @@ var batchResult = strictObject({
|
|
|
7237
7237
|
max_error_percent: count
|
|
7238
7238
|
});
|
|
7239
7239
|
|
|
7240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7241
7241
|
var extractionItem = strictObject({
|
|
7242
7242
|
ref: reference,
|
|
7243
7243
|
attachment: count,
|
|
@@ -7270,7 +7270,7 @@ var extractionReport = strictObject({
|
|
|
7270
7270
|
cursor: optional(text)
|
|
7271
7271
|
});
|
|
7272
7272
|
|
|
7273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7274
7274
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7275
7275
|
var attachmentBytes = strictObject({
|
|
7276
7276
|
ref: reference,
|
|
@@ -7298,7 +7298,7 @@ var attachmentTextChange = strictObject({
|
|
|
7298
7298
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7299
7299
|
});
|
|
7300
7300
|
|
|
7301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7302
7302
|
var WEIGHTS = {
|
|
7303
7303
|
bot: 3,
|
|
7304
7304
|
scam: 3,
|
|
@@ -7323,7 +7323,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7323
7323
|
var DIGITS = /\d{5,}/;
|
|
7324
7324
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7325
7325
|
|
|
7326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7327
7327
|
var linkedIdentity = strictObject({
|
|
7328
7328
|
provider: text,
|
|
7329
7329
|
id,
|
|
@@ -7371,7 +7371,7 @@ var contactCheck = strictObject({
|
|
|
7371
7371
|
checked_at: time
|
|
7372
7372
|
});
|
|
7373
7373
|
|
|
7374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7374
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7375
7375
|
var member = strictObject({
|
|
7376
7376
|
id,
|
|
7377
7377
|
name: nullable(text),
|
|
@@ -7394,7 +7394,7 @@ var member = strictObject({
|
|
|
7394
7394
|
check: optional(record(string(), unknown()))
|
|
7395
7395
|
});
|
|
7396
7396
|
|
|
7397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7398
7398
|
var setting = optional(nullable(boolean()));
|
|
7399
7399
|
var chat = strictObject({
|
|
7400
7400
|
ref: reference,
|
|
@@ -7435,7 +7435,7 @@ var chat = strictObject({
|
|
|
7435
7435
|
members: optional(array(member))
|
|
7436
7436
|
});
|
|
7437
7437
|
|
|
7438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7439
7439
|
var quoted = strictObject({
|
|
7440
7440
|
id,
|
|
7441
7441
|
sender_id: nullable(id),
|
|
@@ -7554,7 +7554,7 @@ var message = strictObject({
|
|
|
7554
7554
|
provider_metadata: providerMetadata
|
|
7555
7555
|
});
|
|
7556
7556
|
|
|
7557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7558
7558
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7559
7559
|
var contextMessage = strictObject({
|
|
7560
7560
|
locator: reference,
|
|
@@ -7690,6 +7690,7 @@ var meetingCue = strictObject({
|
|
|
7690
7690
|
text,
|
|
7691
7691
|
revision: picklist(["current", "superseded"])
|
|
7692
7692
|
});
|
|
7693
|
+
var scopes2 = array(picklist(["personal", "work"]));
|
|
7693
7694
|
var contactPreparation = strictObject({
|
|
7694
7695
|
...context.entries,
|
|
7695
7696
|
prepare: strictObject({
|
|
@@ -7733,15 +7734,18 @@ var contactPreparation = strictObject({
|
|
|
7733
7734
|
tasks: strictObject({
|
|
7734
7735
|
...coverage.entries,
|
|
7735
7736
|
selection: literal("open, assigned to them in any role"),
|
|
7736
|
-
accounts: array(text)
|
|
7737
|
+
accounts: array(text),
|
|
7738
|
+
scopes: scopes2
|
|
7737
7739
|
}),
|
|
7738
7740
|
facts: strictObject({
|
|
7739
7741
|
...coverage.entries,
|
|
7740
|
-
selection: literal("accepted, about them or a project they are a member of")
|
|
7742
|
+
selection: literal("accepted, about them or a project they are a member of"),
|
|
7743
|
+
scopes: scopes2
|
|
7741
7744
|
}),
|
|
7742
7745
|
notes: strictObject({
|
|
7743
7746
|
...coverage.entries,
|
|
7744
7747
|
selection: literal("written by you, about them"),
|
|
7748
|
+
scopes: scopes2,
|
|
7745
7749
|
withheld: optional(literal("contacts.notes.list"))
|
|
7746
7750
|
}),
|
|
7747
7751
|
meetings: strictObject({
|
|
@@ -7754,7 +7758,7 @@ var contactPreparation = strictObject({
|
|
|
7754
7758
|
})
|
|
7755
7759
|
});
|
|
7756
7760
|
|
|
7757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7758
7762
|
var nullableText = nullable(text);
|
|
7759
7763
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7760
7764
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7846,7 +7850,7 @@ var stage = strictObject({
|
|
|
7846
7850
|
untrusted
|
|
7847
7851
|
});
|
|
7848
7852
|
|
|
7849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7850
7854
|
var nullableText2 = nullable(text);
|
|
7851
7855
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7852
7856
|
var standing = picklist(STANDINGS);
|
|
@@ -8020,7 +8024,7 @@ var dealBrief = strictObject({
|
|
|
8020
8024
|
not_read: coverage2.entries.not_read
|
|
8021
8025
|
});
|
|
8022
8026
|
|
|
8023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
8024
8028
|
var chart = strictObject({
|
|
8025
8029
|
version: literal(1),
|
|
8026
8030
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -8035,7 +8039,7 @@ var chart = strictObject({
|
|
|
8035
8039
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
8036
8040
|
});
|
|
8037
8041
|
|
|
8038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8042
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
8039
8043
|
var named2 = strictObject({
|
|
8040
8044
|
id,
|
|
8041
8045
|
title: nullable(text),
|
|
@@ -8058,7 +8062,7 @@ var folder = strictObject({
|
|
|
8058
8062
|
excluded_chats: optional(array(named2))
|
|
8059
8063
|
});
|
|
8060
8064
|
|
|
8061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
8062
8066
|
var inviteLink = strictObject({
|
|
8063
8067
|
link: text,
|
|
8064
8068
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -8074,7 +8078,7 @@ var inviteLink = strictObject({
|
|
|
8074
8078
|
joined_count: optional(count)
|
|
8075
8079
|
});
|
|
8076
8080
|
|
|
8077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8081
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
8078
8082
|
var operated = { operation_id: id, chat_id: id };
|
|
8079
8083
|
var group = strictObject({
|
|
8080
8084
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8154,7 +8158,7 @@ var chatFolderOrder = strictObject({
|
|
|
8154
8158
|
folders: array(strictObject({ id, title: text }))
|
|
8155
8159
|
});
|
|
8156
8160
|
|
|
8157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8158
8162
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8159
8163
|
var chatRemoval = strictObject(operated2);
|
|
8160
8164
|
var chatMuting = strictObject({
|
|
@@ -8165,7 +8169,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8165
8169
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8166
8170
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8167
8171
|
|
|
8168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8169
8173
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8170
8174
|
var chatEvent = strictObject({
|
|
8171
8175
|
chat_id: id,
|
|
@@ -8182,7 +8186,7 @@ var chatEvent = strictObject({
|
|
|
8182
8186
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8183
8187
|
});
|
|
8184
8188
|
|
|
8185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8186
8190
|
var chatMetadata = strictObject({
|
|
8187
8191
|
chat_id: id,
|
|
8188
8192
|
title: nullable(text),
|
|
@@ -8197,7 +8201,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8197
8201
|
has_more: boolean()
|
|
8198
8202
|
});
|
|
8199
8203
|
|
|
8200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8201
8205
|
var action = picklist(["report", "delete", "remove"]);
|
|
8202
8206
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8203
8207
|
var chatRules = strictObject({
|
|
@@ -8234,7 +8238,7 @@ var chatModeration = strictObject({
|
|
|
8234
8238
|
}))
|
|
8235
8239
|
});
|
|
8236
8240
|
|
|
8237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8238
8242
|
var optionalCount = optional(count);
|
|
8239
8243
|
var minutes = nullable(number());
|
|
8240
8244
|
var chatStats = strictObject({
|
|
@@ -8308,7 +8312,7 @@ var taskStats = strictObject({
|
|
|
8308
8312
|
}))
|
|
8309
8313
|
});
|
|
8310
8314
|
|
|
8311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8312
8316
|
var memberCount = strictObject({
|
|
8313
8317
|
day: pipe(text, isoDate()),
|
|
8314
8318
|
participants: nullable(count),
|
|
@@ -8331,7 +8335,7 @@ var chatTracking = strictObject({
|
|
|
8331
8335
|
tracked: boolean()
|
|
8332
8336
|
});
|
|
8333
8337
|
|
|
8334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8335
8339
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8336
8340
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8337
8341
|
var profileFields = {
|
|
@@ -8369,7 +8373,7 @@ var profileFields = {
|
|
|
8369
8373
|
}))
|
|
8370
8374
|
};
|
|
8371
8375
|
|
|
8372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8373
8377
|
var contact = strictObject({
|
|
8374
8378
|
ref: reference,
|
|
8375
8379
|
id,
|
|
@@ -8400,7 +8404,7 @@ var contact = strictObject({
|
|
|
8400
8404
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8401
8405
|
});
|
|
8402
8406
|
|
|
8403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8404
8408
|
var contactNote = strictObject({
|
|
8405
8409
|
id,
|
|
8406
8410
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8412,13 +8416,13 @@ var contactNote = strictObject({
|
|
|
8412
8416
|
updated_at: time
|
|
8413
8417
|
});
|
|
8414
8418
|
|
|
8415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8416
8420
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8417
8421
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8418
8422
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8419
8423
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8420
8424
|
|
|
8421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8422
8426
|
var conversation = strictObject({
|
|
8423
8427
|
id,
|
|
8424
8428
|
chat: reference,
|
|
@@ -8433,7 +8437,7 @@ var conversation = strictObject({
|
|
|
8433
8437
|
rules_version: count
|
|
8434
8438
|
});
|
|
8435
8439
|
|
|
8436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8437
8441
|
var conversationBuild = strictObject({
|
|
8438
8442
|
chat: id,
|
|
8439
8443
|
messages: count,
|
|
@@ -8458,7 +8462,7 @@ var catchUpPreparation = strictObject({
|
|
|
8458
8462
|
prepared: optional(conversationPreparation)
|
|
8459
8463
|
});
|
|
8460
8464
|
|
|
8461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8462
8466
|
var conversationDetails = union([
|
|
8463
8467
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8464
8468
|
message
|
|
@@ -8548,7 +8552,7 @@ var conversationHit = strictObject({
|
|
|
8548
8552
|
stale: boolean()
|
|
8549
8553
|
});
|
|
8550
8554
|
|
|
8551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8552
8556
|
var counters = strictObject({
|
|
8553
8557
|
cutoff: time,
|
|
8554
8558
|
max_age_ms: milliseconds,
|
|
@@ -8578,7 +8582,7 @@ var counterRefresh = strictObject({
|
|
|
8578
8582
|
complete: optional(boolean())
|
|
8579
8583
|
});
|
|
8580
8584
|
|
|
8581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8582
8586
|
var document = strictObject({
|
|
8583
8587
|
ref: reference,
|
|
8584
8588
|
id,
|
|
@@ -8593,7 +8597,7 @@ var document = strictObject({
|
|
|
8593
8597
|
owners: optional(array(text))
|
|
8594
8598
|
});
|
|
8595
8599
|
|
|
8596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8597
8601
|
var documentLink = strictObject({
|
|
8598
8602
|
ref: reference,
|
|
8599
8603
|
url: text,
|
|
@@ -8604,7 +8608,7 @@ var documentLink = strictObject({
|
|
|
8604
8608
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8605
8609
|
});
|
|
8606
8610
|
|
|
8607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8608
8612
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8609
8613
|
var contribution = strictObject({
|
|
8610
8614
|
message: evidenceMessage,
|
|
@@ -8634,7 +8638,7 @@ var retentionStay = strictObject({
|
|
|
8634
8638
|
});
|
|
8635
8639
|
var evidence = union([contribution, retentionStay]);
|
|
8636
8640
|
|
|
8637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8638
8642
|
var fact = strictObject({
|
|
8639
8643
|
ref: reference,
|
|
8640
8644
|
id,
|
|
@@ -8665,7 +8669,7 @@ var fact = strictObject({
|
|
|
8665
8669
|
updated_at: time
|
|
8666
8670
|
});
|
|
8667
8671
|
|
|
8668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8669
8673
|
var hit = strictObject({
|
|
8670
8674
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8671
8675
|
ref: reference,
|
|
@@ -8686,8 +8690,8 @@ var hit = strictObject({
|
|
|
8686
8690
|
found_by: optional(array(picklist(["title", "words", "meaning"]))),
|
|
8687
8691
|
/** How far into the meeting the passage is. */
|
|
8688
8692
|
offset_ms: optional(nullable(count)),
|
|
8689
|
-
/** A meeting
|
|
8690
|
-
scope: optional(picklist(["transcript", "chat", "summary"])),
|
|
8693
|
+
/** A meeting hit's place: its title, transcript, chat or summary. */
|
|
8694
|
+
scope: optional(picklist(["title", "transcript", "chat", "summary"])),
|
|
8691
8695
|
/** A meeting transcript hit's cue, which `meetings passage` opens with the lines around it. */
|
|
8692
8696
|
cue_ref: optional(reference),
|
|
8693
8697
|
/** A meeting transcript hit's transcript language (`ru`, `en`…), `null` when unknown. */
|
|
@@ -8695,6 +8699,10 @@ var hit = strictObject({
|
|
|
8695
8699
|
/** A meeting transcript hit's line, from 1, of `lines_total` lines in its transcript. */
|
|
8696
8700
|
line: optional(pipe(count, minValue(1))),
|
|
8697
8701
|
lines_total: optional(count),
|
|
8702
|
+
/** `corrected`: a meeting hit found only through a spelling speech recognition may have garbled. */
|
|
8703
|
+
match: optional(picklist(["corrected"])),
|
|
8704
|
+
/** For a `corrected` hit, the stored words each such query word matched. */
|
|
8705
|
+
corrections: optional(array(strictObject({ from: text, to: array(text) }))),
|
|
8698
8706
|
/** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
|
|
8699
8707
|
id: optional(pipe(string(), minLength(1))),
|
|
8700
8708
|
/** A business hit's: `proposed` waits for the owner; a product or a wallet has no review and is `confirmed`. */
|
|
@@ -8707,7 +8715,7 @@ var hit = strictObject({
|
|
|
8707
8715
|
untrusted
|
|
8708
8716
|
});
|
|
8709
8717
|
|
|
8710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8711
8719
|
var identity = strictObject({
|
|
8712
8720
|
ref: reference,
|
|
8713
8721
|
provider: text,
|
|
@@ -8720,7 +8728,7 @@ var identity = strictObject({
|
|
|
8720
8728
|
person: optional(nullable(reference))
|
|
8721
8729
|
});
|
|
8722
8730
|
|
|
8723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8724
8732
|
var imageEmbedding = strictObject({
|
|
8725
8733
|
model: text,
|
|
8726
8734
|
embedded: count,
|
|
@@ -8729,13 +8737,13 @@ var imageEmbedding = strictObject({
|
|
|
8729
8737
|
more: boolean()
|
|
8730
8738
|
});
|
|
8731
8739
|
|
|
8732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8733
8741
|
import { spawn } from "node:child_process";
|
|
8734
8742
|
import { randomBytes } from "node:crypto";
|
|
8735
8743
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8736
8744
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8737
8745
|
|
|
8738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8739
8747
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8740
8748
|
const total = input.total ?? null;
|
|
8741
8749
|
const updated = input.updatedAt ?? null;
|
|
@@ -8766,7 +8774,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8766
8774
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8767
8775
|
}, "progressLine");
|
|
8768
8776
|
|
|
8769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8770
8778
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8771
8779
|
const run = currentRun();
|
|
8772
8780
|
const trace = traceId ?? run.traceId;
|
|
@@ -8780,7 +8788,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8780
8788
|
}));
|
|
8781
8789
|
}, "recordLogFor");
|
|
8782
8790
|
|
|
8783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8784
8792
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8785
8793
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8786
8794
|
const out = openSync(log, "a", 384);
|
|
@@ -8935,7 +8943,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8935
8943
|
return { job: id6, pid, chat: input.chat, log };
|
|
8936
8944
|
}, "startArchiveJob");
|
|
8937
8945
|
|
|
8938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8946
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8939
8947
|
var problem = strictObject({ code: text, message: text });
|
|
8940
8948
|
var job = strictObject({
|
|
8941
8949
|
id,
|
|
@@ -8958,7 +8966,7 @@ var job = strictObject({
|
|
|
8958
8966
|
error: optional(problem)
|
|
8959
8967
|
});
|
|
8960
8968
|
|
|
8961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8962
8970
|
var joinRequest = strictObject({
|
|
8963
8971
|
person_id: id,
|
|
8964
8972
|
name: nullable(text),
|
|
@@ -8969,7 +8977,7 @@ var joinRequest = strictObject({
|
|
|
8969
8977
|
about: optional(text)
|
|
8970
8978
|
});
|
|
8971
8979
|
|
|
8972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8973
8981
|
var botProfile = strictObject({
|
|
8974
8982
|
name: text,
|
|
8975
8983
|
token: text,
|
|
@@ -9064,7 +9072,7 @@ var stickerInventory = strictObject({
|
|
|
9064
9072
|
url: optional(nullable(text))
|
|
9065
9073
|
});
|
|
9066
9074
|
|
|
9067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9068
9076
|
var pollVote = strictObject({
|
|
9069
9077
|
person_id: id,
|
|
9070
9078
|
name: nullable(text),
|
|
@@ -9074,7 +9082,7 @@ var pollVote = strictObject({
|
|
|
9074
9082
|
voted_at: time
|
|
9075
9083
|
});
|
|
9076
9084
|
|
|
9077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9078
9086
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9079
9087
|
var observation = strictObject({
|
|
9080
9088
|
value: pipe(number(), minValue(0)),
|
|
@@ -9116,7 +9124,7 @@ var serveSummary = strictObject({
|
|
|
9116
9124
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9117
9125
|
});
|
|
9118
9126
|
|
|
9119
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9120
9128
|
var mailCounts = strictObject({
|
|
9121
9129
|
by: picklist(["day", "week", "sender"]),
|
|
9122
9130
|
received: count,
|
|
@@ -9131,7 +9139,7 @@ var mailCounts = strictObject({
|
|
|
9131
9139
|
}))
|
|
9132
9140
|
});
|
|
9133
9141
|
|
|
9134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9135
9143
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9136
9144
|
var base = { id, evidence: array(evidence2) };
|
|
9137
9145
|
var finding = variant("kind", [
|
|
@@ -9275,7 +9283,7 @@ var mailFindings = strictObject({
|
|
|
9275
9283
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9276
9284
|
});
|
|
9277
9285
|
|
|
9278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9279
9287
|
var mediaArchive = strictObject({
|
|
9280
9288
|
directory: text,
|
|
9281
9289
|
chats: count,
|
|
@@ -9307,7 +9315,7 @@ var mediaArchiveTimer = union([
|
|
|
9307
9315
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9308
9316
|
]);
|
|
9309
9317
|
|
|
9310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9318
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9311
9319
|
var preparationId = pipe(string(), minLength(1));
|
|
9312
9320
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9313
9321
|
var preparationTime = nullable(isoTime);
|
|
@@ -9399,7 +9407,7 @@ var preparationMeeting = strictObject({
|
|
|
9399
9407
|
updated_at: isoTime
|
|
9400
9408
|
});
|
|
9401
9409
|
|
|
9402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9403
9411
|
var meetingEvidence = preparationEvidence;
|
|
9404
9412
|
var meetingPersonContext = strictObject({
|
|
9405
9413
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9421,7 +9429,7 @@ var meetingPersonContext = strictObject({
|
|
|
9421
9429
|
})
|
|
9422
9430
|
});
|
|
9423
9431
|
|
|
9424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9425
9433
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9426
9434
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9427
9435
|
var finding2 = variant("kind", [
|
|
@@ -9459,7 +9467,7 @@ var meetingFindings = strictObject({
|
|
|
9459
9467
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9460
9468
|
});
|
|
9461
9469
|
|
|
9462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9463
9471
|
var communicationCoverage = strictObject({
|
|
9464
9472
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9465
9473
|
query: string(),
|
|
@@ -9504,7 +9512,7 @@ var preparationCommunications = strictObject({
|
|
|
9504
9512
|
}))
|
|
9505
9513
|
});
|
|
9506
9514
|
|
|
9507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9508
9516
|
var meetingPreparation = strictObject({
|
|
9509
9517
|
communications: optional(preparationCommunications),
|
|
9510
9518
|
schema_version: literal(1),
|
|
@@ -9617,7 +9625,7 @@ var meetingPreparation = strictObject({
|
|
|
9617
9625
|
})
|
|
9618
9626
|
});
|
|
9619
9627
|
|
|
9620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9621
9629
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9622
9630
|
var id3 = pipe(string(), minLength(1));
|
|
9623
9631
|
var text3 = string();
|
|
@@ -9681,7 +9689,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9681
9689
|
})
|
|
9682
9690
|
});
|
|
9683
9691
|
|
|
9684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9685
9693
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9686
9694
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9687
9695
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9711,7 +9719,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9711
9719
|
})
|
|
9712
9720
|
});
|
|
9713
9721
|
|
|
9714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9715
9723
|
var text4 = string();
|
|
9716
9724
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9717
9725
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9728,7 +9736,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9728
9736
|
persistence: literal("proposal-only")
|
|
9729
9737
|
});
|
|
9730
9738
|
|
|
9731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9732
9740
|
var memory = strictObject({
|
|
9733
9741
|
ref: reference,
|
|
9734
9742
|
id,
|
|
@@ -9756,7 +9764,7 @@ var memory = strictObject({
|
|
|
9756
9764
|
updated_at: time
|
|
9757
9765
|
});
|
|
9758
9766
|
|
|
9759
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9760
9768
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9761
9769
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9762
9770
|
var mention = strictObject({
|
|
@@ -9800,13 +9808,13 @@ var mentionRebuild = strictObject({
|
|
|
9800
9808
|
mentions: count
|
|
9801
9809
|
});
|
|
9802
9810
|
|
|
9803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9804
9812
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9805
9813
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9806
9814
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9807
9815
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9808
9816
|
|
|
9809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9810
9818
|
var messageTranscript = strictObject({
|
|
9811
9819
|
message_id: id,
|
|
9812
9820
|
text,
|
|
@@ -9864,7 +9872,7 @@ var evidencePacket = strictObject({
|
|
|
9864
9872
|
}))
|
|
9865
9873
|
});
|
|
9866
9874
|
|
|
9867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9868
9876
|
var messageThread = strictObject({
|
|
9869
9877
|
ref: reference,
|
|
9870
9878
|
chat: id,
|
|
@@ -9881,7 +9889,7 @@ var messageThread = strictObject({
|
|
|
9881
9889
|
});
|
|
9882
9890
|
var messageContext = union([message, messageThread]);
|
|
9883
9891
|
|
|
9884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9885
9893
|
var messageCounts = strictObject({
|
|
9886
9894
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9887
9895
|
total: count,
|
|
@@ -9894,7 +9902,7 @@ var messageCounts = strictObject({
|
|
|
9894
9902
|
}))
|
|
9895
9903
|
});
|
|
9896
9904
|
|
|
9897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9898
9906
|
var messageLink = strictObject({
|
|
9899
9907
|
ref: reference,
|
|
9900
9908
|
url: nullable(text),
|
|
@@ -9911,7 +9919,7 @@ var messageLink = strictObject({
|
|
|
9911
9919
|
})))
|
|
9912
9920
|
});
|
|
9913
9921
|
|
|
9914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9915
9923
|
var savedMessageFile = strictObject({
|
|
9916
9924
|
kind: text,
|
|
9917
9925
|
path: text,
|
|
@@ -9998,7 +10006,7 @@ var messageSyncAll = strictObject({
|
|
|
9998
10006
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9999
10007
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10000
10008
|
|
|
10001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10009
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10002
10010
|
var messageWrite = strictObject({
|
|
10003
10011
|
operation_id: id,
|
|
10004
10012
|
message,
|
|
@@ -10013,7 +10021,7 @@ var draftWrite = strictObject({
|
|
|
10013
10021
|
});
|
|
10014
10022
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10015
10023
|
|
|
10016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10017
10025
|
var model2 = strictObject({
|
|
10018
10026
|
id,
|
|
10019
10027
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10048,7 +10056,7 @@ var chosenModel = strictObject({
|
|
|
10048
10056
|
estimate_seconds: nullable(count)
|
|
10049
10057
|
});
|
|
10050
10058
|
|
|
10051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10052
10060
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10053
10061
|
var modelKey = strictObject({
|
|
10054
10062
|
provider: text,
|
|
@@ -10058,7 +10066,7 @@ var modelKey = strictObject({
|
|
|
10058
10066
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10059
10067
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10060
10068
|
|
|
10061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10069
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10062
10070
|
var link = {
|
|
10063
10071
|
target_text: nullable(text),
|
|
10064
10072
|
kind: text,
|
|
@@ -10099,7 +10107,7 @@ var note = strictObject({
|
|
|
10099
10107
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10100
10108
|
});
|
|
10101
10109
|
|
|
10102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10103
10111
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10104
10112
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10105
10113
|
var graph = strictObject({
|
|
@@ -10133,14 +10141,14 @@ var officialStats = strictObject({
|
|
|
10133
10141
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10134
10142
|
});
|
|
10135
10143
|
|
|
10136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10137
10145
|
var person2 = strictObject({
|
|
10138
10146
|
ref: reference,
|
|
10139
10147
|
name: nullable(text),
|
|
10140
10148
|
identities: optional(array(identity))
|
|
10141
10149
|
});
|
|
10142
10150
|
|
|
10143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10151
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10144
10152
|
var poll = strictObject({
|
|
10145
10153
|
chat_id: id,
|
|
10146
10154
|
message_id: id,
|
|
@@ -10156,11 +10164,11 @@ var poll = strictObject({
|
|
|
10156
10164
|
});
|
|
10157
10165
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10158
10166
|
|
|
10159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10160
10168
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10161
10169
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10162
10170
|
|
|
10163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10164
10172
|
var figures = record(string(), number());
|
|
10165
10173
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10166
10174
|
var rankingRow = strictObject({
|
|
@@ -10207,7 +10215,7 @@ var ranking = strictObject({
|
|
|
10207
10215
|
rows: array(rankingRow)
|
|
10208
10216
|
});
|
|
10209
10217
|
|
|
10210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10211
10219
|
var reaction = strictObject({
|
|
10212
10220
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10213
10221
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10215,7 +10223,7 @@ var reaction = strictObject({
|
|
|
10215
10223
|
reacted_at: time
|
|
10216
10224
|
});
|
|
10217
10225
|
|
|
10218
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10219
10227
|
var reactionChange = strictObject({
|
|
10220
10228
|
operation_id: id,
|
|
10221
10229
|
chat_id: id,
|
|
@@ -10223,7 +10231,7 @@ var reactionChange = strictObject({
|
|
|
10223
10231
|
reaction: nullable(text)
|
|
10224
10232
|
});
|
|
10225
10233
|
|
|
10226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10227
10235
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10228
10236
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10229
10237
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10234,7 +10242,7 @@ var recipientChange = strictObject({
|
|
|
10234
10242
|
...partial(recipientOff).entries
|
|
10235
10243
|
});
|
|
10236
10244
|
|
|
10237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10238
10246
|
var events = array(record(string(), unknown()));
|
|
10239
10247
|
var recordedRun = strictObject({
|
|
10240
10248
|
run_id: id,
|
|
@@ -10306,7 +10314,7 @@ var runHit = strictObject({
|
|
|
10306
10314
|
});
|
|
10307
10315
|
var runLocation = strictObject({ path: text });
|
|
10308
10316
|
|
|
10309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10310
10318
|
var relationship = strictObject({
|
|
10311
10319
|
id,
|
|
10312
10320
|
from: reference,
|
|
@@ -10333,7 +10341,7 @@ var relationship = strictObject({
|
|
|
10333
10341
|
created_at: time
|
|
10334
10342
|
});
|
|
10335
10343
|
|
|
10336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10337
10345
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10338
10346
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10339
10347
|
var responseTimes = strictObject({
|
|
@@ -10350,7 +10358,7 @@ var waitingChats = strictObject({
|
|
|
10350
10358
|
by_kind: strictObject({ private: count, group: count })
|
|
10351
10359
|
});
|
|
10352
10360
|
|
|
10353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10354
10362
|
var retentionCohort = strictObject({
|
|
10355
10363
|
/** The first day of the joining day or week. */
|
|
10356
10364
|
cohort: text,
|
|
@@ -10398,7 +10406,7 @@ var retention = strictObject({
|
|
|
10398
10406
|
rows: array(retentionCohort)
|
|
10399
10407
|
});
|
|
10400
10408
|
|
|
10401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10402
10410
|
var savedSearch = strictObject({
|
|
10403
10411
|
id,
|
|
10404
10412
|
/** `null` for a run in the history. */
|
|
@@ -10415,7 +10423,7 @@ var savedSearch = strictObject({
|
|
|
10415
10423
|
});
|
|
10416
10424
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10417
10425
|
|
|
10418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10419
10427
|
var sendAttempt = strictObject({
|
|
10420
10428
|
at: time,
|
|
10421
10429
|
profile: text,
|
|
@@ -10443,7 +10451,7 @@ var sendAttempt = strictObject({
|
|
|
10443
10451
|
error_code: optional(text)
|
|
10444
10452
|
});
|
|
10445
10453
|
|
|
10446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10447
10455
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10448
10456
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10449
10457
|
var infoSchema = strictObject({
|
|
@@ -10664,7 +10672,7 @@ var storeRepair = union([
|
|
|
10664
10672
|
]);
|
|
10665
10673
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10666
10674
|
|
|
10667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10668
10676
|
var range = strictObject({ from: number(), to: number() });
|
|
10669
10677
|
var storeChatStatus = strictObject({
|
|
10670
10678
|
chat_id: id,
|
|
@@ -10762,7 +10770,7 @@ var storeJobRetry = union([
|
|
|
10762
10770
|
]);
|
|
10763
10771
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10764
10772
|
|
|
10765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10766
10774
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10767
10775
|
var storeTable = strictObject({
|
|
10768
10776
|
name: text,
|
|
@@ -10771,7 +10779,7 @@ var storeTable = strictObject({
|
|
|
10771
10779
|
bytes: optional(nullable(count))
|
|
10772
10780
|
});
|
|
10773
10781
|
|
|
10774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10775
10783
|
var tagTarget = variant("type", [
|
|
10776
10784
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10777
10785
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10802,7 +10810,7 @@ var automaticTags = strictObject({
|
|
|
10802
10810
|
dry_run: boolean()
|
|
10803
10811
|
});
|
|
10804
10812
|
|
|
10805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10806
10814
|
var tagging = strictObject({
|
|
10807
10815
|
tag: text,
|
|
10808
10816
|
type: picklist(TAG_TYPES),
|
|
@@ -10815,7 +10823,7 @@ var tagging = strictObject({
|
|
|
10815
10823
|
created_at: time
|
|
10816
10824
|
});
|
|
10817
10825
|
|
|
10818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10819
10827
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10820
10828
|
var taskPair = strictObject({
|
|
10821
10829
|
task: nullable(side),
|
|
@@ -10838,7 +10846,7 @@ var taskPair = strictObject({
|
|
|
10838
10846
|
created_at: time
|
|
10839
10847
|
});
|
|
10840
10848
|
|
|
10841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10842
10850
|
var nullableTime = nullable(time);
|
|
10843
10851
|
var link2 = strictObject({
|
|
10844
10852
|
id,
|
|
@@ -11012,7 +11020,7 @@ var taskReview = strictObject({
|
|
|
11012
11020
|
untrusted
|
|
11013
11021
|
});
|
|
11014
11022
|
|
|
11015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
11016
11024
|
var template = strictObject({
|
|
11017
11025
|
key: text,
|
|
11018
11026
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -11024,7 +11032,7 @@ var template = strictObject({
|
|
|
11024
11032
|
updated_by: nullable(text)
|
|
11025
11033
|
});
|
|
11026
11034
|
|
|
11027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11028
11036
|
var topic = strictObject({
|
|
11029
11037
|
id,
|
|
11030
11038
|
title: text,
|
|
@@ -11038,7 +11046,7 @@ var topic = strictObject({
|
|
|
11038
11046
|
untrusted
|
|
11039
11047
|
});
|
|
11040
11048
|
|
|
11041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11042
11050
|
var ENTITIES = {
|
|
11043
11051
|
sync_progress: progress,
|
|
11044
11052
|
deal,
|
|
@@ -11331,7 +11339,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11331
11339
|
return [name, definition];
|
|
11332
11340
|
})), "entityDefinitions");
|
|
11333
11341
|
|
|
11334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11335
11343
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11336
11344
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11337
11345
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11365,7 +11373,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11365
11373
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11366
11374
|
}, "answerRow");
|
|
11367
11375
|
|
|
11368
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11369
11377
|
import { join as join6 } from "node:path";
|
|
11370
11378
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11371
11379
|
var IMAGE_MODELS = [
|
|
@@ -11419,7 +11427,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11419
11427
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11420
11428
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11421
11429
|
|
|
11422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11423
11431
|
var STEPS2 = defineSteps([
|
|
11424
11432
|
...STEPS,
|
|
11425
11433
|
{
|
|
@@ -11638,12 +11646,6 @@ var STEPS2 = defineSteps([
|
|
|
11638
11646
|
command: "store recover",
|
|
11639
11647
|
args: [],
|
|
11640
11648
|
why: "the store file is damaged; this says what is lost and the commands that recover it"
|
|
11641
|
-
},
|
|
11642
|
-
{
|
|
11643
|
-
id: "search.meetings",
|
|
11644
|
-
command: "*",
|
|
11645
|
-
args: [{ name: "max_meetings", required: true }],
|
|
11646
|
-
why: "stopped after {scanned} meetings; more may match"
|
|
11647
11649
|
}
|
|
11648
11650
|
]);
|
|
11649
11651
|
var nextStep = /* @__PURE__ */ __name((id6, input) => {
|
|
@@ -11697,7 +11699,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11697
11699
|
].join(" ");
|
|
11698
11700
|
}, "stepLine");
|
|
11699
11701
|
|
|
11700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11701
11703
|
var where = [{ field: "ref" }];
|
|
11702
11704
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11703
11705
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11789,7 +11791,7 @@ var STATUS_ROWS = {
|
|
|
11789
11791
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11790
11792
|
};
|
|
11791
11793
|
|
|
11792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11793
11795
|
var TEXT_CHARS = 400;
|
|
11794
11796
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11795
11797
|
var messageRow = {
|
|
@@ -12155,7 +12157,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12155
12157
|
return lines.concat(footerOf(body)).join("\n");
|
|
12156
12158
|
}, "compactText");
|
|
12157
12159
|
|
|
12158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12159
12161
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12160
12162
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12161
12163
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12202,7 +12204,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12202
12204
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12203
12205
|
}, "largeAnswerSteps");
|
|
12204
12206
|
|
|
12205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12206
12208
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12207
12209
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12208
12210
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12216,7 +12218,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12216
12218
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12217
12219
|
}, "strip");
|
|
12218
12220
|
|
|
12219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12220
12222
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12221
12223
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12222
12224
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|