@wirecat/cli-memo 0.131.66 → 0.131.67
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-CWV6RUGR.js → all-profiles-W3GRNNLJ.js} +6 -6
- package/dist/bundle/{anthropic-OIVOFYZY.js → anthropic-GWMYHBO4.js} +3 -3
- package/dist/bundle/{app-server-2APNY5WO.js → app-server-RQ26EXNI.js} +37 -37
- package/dist/bundle/auto-FR6LX5KO.js +85 -0
- package/dist/bundle/{bun-7ZKANZII.js → bun-KKLPQTG5.js} +2 -2
- package/dist/bundle/{bun-sqlite-M2EHGYBI.js → bun-sqlite-WKIZJNTG.js} +3 -3
- package/dist/bundle/{chunk-R4LVHS2N.js → chunk-32ROGX5N.js} +1 -1
- package/dist/bundle/{chunk-2SIOUXJ7.js → chunk-4C6RU7DG.js} +5 -5
- package/dist/bundle/{chunk-OO6SA2FM.js → chunk-4JTCNMW6.js} +1 -1
- package/dist/bundle/{chunk-75MWX5PK.js → chunk-6SFTVGNL.js} +1 -1
- package/dist/bundle/{chunk-GL74QTTV.js → chunk-7DANHJF6.js} +35 -33
- package/dist/bundle/{chunk-UCLZMKTT.js → chunk-7IKET6ES.js} +2 -2
- package/dist/bundle/{chunk-KOJN4WTN.js → chunk-7KYVUVDS.js} +2 -2
- package/dist/bundle/{chunk-QWP6RJFR.js → chunk-7OMKWYFN.js} +34 -11
- package/dist/bundle/{chunk-2QIM6246.js → chunk-AGNWFOAJ.js} +1 -1
- package/dist/bundle/{chunk-BF4SX6DP.js → chunk-BOOEDDVY.js} +76 -62
- package/dist/bundle/{chunk-M76ZJSPA.js → chunk-CQNYBTWP.js} +3 -3
- package/dist/bundle/{chunk-JSFC6TRN.js → chunk-DNDELSVT.js} +5 -5
- package/dist/bundle/{chunk-CUC7KGX4.js → chunk-DNS2QWK3.js} +3 -3
- package/dist/bundle/{chunk-KU4TU5XZ.js → chunk-ECMYCWG2.js} +2 -2
- package/dist/bundle/{chunk-22XVNJQP.js → chunk-FBSHWCIZ.js} +9 -9
- package/dist/bundle/{chunk-DNXPQGFB.js → chunk-GHN2KYMO.js} +21 -21
- package/dist/bundle/{chunk-ADDDSIRN.js → chunk-GJ3P7RJF.js} +5 -5
- package/dist/bundle/{chunk-IGXIPABG.js → chunk-GU3MRYK2.js} +1 -1
- package/dist/bundle/{chunk-LRQD4RJN.js → chunk-GUWRR7F2.js} +2 -2
- package/dist/bundle/{chunk-637JEJOC.js → chunk-HUPZ6XYH.js} +2 -2
- package/dist/bundle/{chunk-CRRBBPJK.js → chunk-IKZBO7NV.js} +1486 -1148
- package/dist/bundle/{chunk-P2MMAW3A.js → chunk-JEKIBI7P.js} +5 -5
- package/dist/bundle/{chunk-GO73V5BC.js → chunk-JG7EDH7K.js} +1 -1
- package/dist/bundle/{chunk-4U2IONIS.js → chunk-LJCT7YG6.js} +1 -1
- package/dist/bundle/{chunk-HB7WN6MX.js → chunk-MCA265JM.js} +7 -1
- package/dist/bundle/{chunk-LEL6NYM5.js → chunk-MLF5FLAP.js} +4 -4
- package/dist/bundle/{chunk-EI5IEOXD.js → chunk-NNUJWCEJ.js} +1 -1
- package/dist/bundle/{chunk-LDPNN4ED.js → chunk-ORKWFXWV.js} +11 -11
- package/dist/bundle/{chunk-IDBN5CTG.js → chunk-OU4PN7PF.js} +7 -7
- package/dist/bundle/{chunk-WDVYPHNV.js → chunk-OUSLPKWY.js} +1 -1
- package/dist/bundle/{chunk-DMC3NDG7.js → chunk-PBOVHHYG.js} +8 -8
- package/dist/bundle/{chunk-B3ZXE2IH.js → chunk-Q4JYHQ47.js} +10870 -10866
- package/dist/bundle/{chunk-MEPRCROV.js → chunk-QCWA3JUT.js} +2 -2
- package/dist/bundle/{chunk-XMGUKW6Y.js → chunk-QFSMJTEA.js} +2 -2
- package/dist/bundle/{chunk-HUJ666OW.js → chunk-QMTCYKAA.js} +7 -6
- package/dist/bundle/{chunk-I4EUGFS7.js → chunk-R4H5HSQZ.js} +4 -4
- package/dist/bundle/{chunk-XAEDDKM4.js → chunk-SKBDI7LU.js} +28 -28
- package/dist/bundle/{chunk-KV35JTWA.js → chunk-SUCG5HBF.js} +1 -1
- package/dist/bundle/{chunk-2LAJDBWZ.js → chunk-TFAUB6JO.js} +1538 -596
- package/dist/bundle/{chunk-ZAOFHRBL.js → chunk-TNHFKR6P.js} +22 -22
- package/dist/bundle/{chunk-C74WKN57.js → chunk-TPYXULNG.js} +7 -7
- package/dist/bundle/{chunk-VBXQAIRI.js → chunk-TQXXOUOX.js} +1 -1
- package/dist/bundle/{chunk-HPUTLOQU.js → chunk-TWTAWPC7.js} +13 -13
- package/dist/bundle/{chunk-7NV2IUIC.js → chunk-TXWVZVDK.js} +3 -3
- package/dist/bundle/{chunk-OZBL624P.js → chunk-UUBV5ATQ.js} +2 -0
- package/dist/bundle/{chunk-DH6PT65U.js → chunk-VUCD4DAQ.js} +4 -4
- package/dist/bundle/{chunk-4Y33E3U3.js → chunk-VVTC2YAX.js} +4 -4
- package/dist/bundle/{chunk-HHDZIBBO.js → chunk-W7FYMZOW.js} +7 -7
- package/dist/bundle/{chunk-XZBVXJWY.js → chunk-WJ2OYD2D.js} +5 -5
- package/dist/bundle/{chunk-2OEQH7HY.js → chunk-XI5UABKO.js} +1 -1
- package/dist/bundle/{chunk-M643YQVP.js → chunk-XK4VVGMH.js} +2 -2
- package/dist/bundle/{chunk-RKLCY7YU.js → chunk-XVPMSMSP.js} +3 -3
- package/dist/bundle/{chunk-LW5G7PAR.js → chunk-XYL7GDCX.js} +5 -5
- package/dist/bundle/{chunk-WCRWS2W7.js → chunk-YAFSD345.js} +12 -12
- package/dist/bundle/{chunk-DAA52TDI.js → chunk-ZNBLWLCD.js} +193 -154
- package/dist/bundle/{chunk-LWX2PCM6.js → chunk-ZOIW2YEU.js} +8 -8
- package/dist/bundle/{chunk-DVVS2API.js → chunk-ZU6HZLZP.js} +43 -43
- package/dist/bundle/{chunk-XFZESHD3.js → chunk-ZVXXJYNW.js} +2 -2
- package/dist/bundle/{command-contract-N554VPBZ.js → command-contract-46BU5YKL.js} +12 -12
- package/dist/bundle/{decode-ZCMHC5JI.js → decode-KRVQZPSB.js} +3 -3
- package/dist/bundle/{echarts-SJNM7DNA.js → echarts-O6QQRVZE.js} +2 -2
- package/dist/bundle/{embed-JO3CVYBK.js → embed-DA4H2F4F.js} +4 -4
- package/dist/bundle/{embedder-QAEGU7TZ.js → embedder-HWAFLIYM.js} +7 -7
- package/dist/bundle/{entry-KMFOJYWF.js → entry-DE7GJOIZ.js} +5 -5
- package/dist/bundle/failure-U3VNIQNX.js +65 -0
- package/dist/bundle/{first-run-5X2NRJL2.js → first-run-GOBPIKQF.js} +7 -7
- package/dist/bundle/{first-screen-2LMAVNBU.js → first-screen-3V3HWSQM.js} +13 -13
- package/dist/bundle/{instructions-GLZE4RPY.js → instructions-GYYMBSZW.js} +1 -1
- package/dist/bundle/mcp-6RDHWRXG.js +90 -0
- package/dist/bundle/memo.js +7 -7
- package/dist/bundle/{node-BNMBIM5C.js → node-R3OFASC5.js} +2 -2
- package/dist/bundle/{node-sqlite-BSRYEMOR.js → node-sqlite-DYHDZJ5A.js} +4 -4
- package/dist/bundle/{oauth-HYAEWGBV.js → oauth-SMCDSCXQ.js} +5 -5
- package/dist/bundle/{open-X7J4Q3I6.js → open-GX7RPGQW.js} +3 -3
- package/dist/bundle/{openai-ZACXNPZS.js → openai-WM4TRXCC.js} +8 -8
- package/dist/bundle/{process-5I6233QY.js → process-NT5OZH2V.js} +1 -1
- package/dist/bundle/{program-RQIADAES.js → program-YQ3UT2LI.js} +5737 -4697
- package/dist/bundle/{prompt-DVKTWZHJ.js → prompt-5XJNSXCW.js} +3 -3
- package/dist/bundle/{recognize-VXK4L74H.js → recognize-DQNGZLRX.js} +2 -2
- package/dist/bundle/{remote-IJLJQRQN.js → remote-RMRYJZSZ.js} +5 -5
- package/dist/bundle/{rerank-553ZMBYJ.js → rerank-5J6JM43S.js} +5 -5
- package/dist/bundle/{serve-76AFHLTI.js → serve-4RVWOQVC.js} +7 -7
- package/dist/bundle/server-HH2X6G7V.js +61 -0
- package/dist/bundle/server-MS3JKMGF.js +48 -0
- package/dist/bundle/{server-B3F54YWL.js → server-NKCRFK26.js} +94 -61
- package/dist/bundle/{state-WYFGGGAG.js → state-MGVPOLPZ.js} +4 -4
- package/dist/bundle/{store-S6QR47NT.js → store-IEK4PPOE.js} +16 -10
- package/dist/bundle/store-maintenance-command-GSS2AY4J.js +47 -0
- package/dist/bundle/update-S5XRRWTH.js +68 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +2 -1
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest.d.ts +2 -2
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +36 -2
- package/dist/digest/digest.js.map +1 -1
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +3 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +29 -0
- package/dist/examples.js.map +1 -1
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +7 -4
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -0
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +1 -0
- package/dist/facts/fact.js.map +1 -1
- package/dist/knowledge/project-context.d.ts +1 -0
- package/dist/knowledge/project-context.d.ts.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +47 -13
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +9 -5
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memories.d.ts +6 -3
- package/dist/memories/memories.d.ts.map +1 -1
- package/dist/memories/memories.js +15 -20
- package/dist/memories/memories.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -0
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +1 -0
- package/dist/memories/memory.js.map +1 -1
- package/dist/memories/sources.d.ts +27 -0
- package/dist/memories/sources.d.ts.map +1 -0
- package/dist/memories/sources.js +111 -0
- package/dist/memories/sources.js.map +1 -0
- package/dist/notes/embed.d.ts +2 -0
- package/dist/notes/embed.d.ts.map +1 -1
- package/dist/notes/embed.js +13 -0
- package/dist/notes/embed.js.map +1 -1
- package/dist/notes/files.d.ts.map +1 -1
- package/dist/notes/files.js +2 -0
- package/dist/notes/files.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +44 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/command.d.ts +2 -0
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +18 -3
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +2 -1
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.d.ts +64 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +45 -0
- package/dist/review/review.js.map +1 -1
- package/dist/run/import.d.ts +9 -0
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +20 -0
- package/dist/run/import.js.map +1 -1
- package/dist/sources/command.d.ts +7 -0
- package/dist/sources/command.d.ts.map +1 -0
- package/dist/sources/command.js +246 -0
- package/dist/sources/command.js.map +1 -0
- package/dist/sources/copy.d.ts +13 -0
- package/dist/sources/copy.d.ts.map +1 -0
- package/dist/sources/copy.js +32 -0
- package/dist/sources/copy.js.map +1 -0
- package/dist/sources/mentions.d.ts +21 -0
- package/dist/sources/mentions.d.ts.map +1 -0
- package/dist/sources/mentions.js +78 -0
- package/dist/sources/mentions.js.map +1 -0
- package/dist/sources/read.d.ts +30 -0
- package/dist/sources/read.d.ts.map +1 -0
- package/dist/sources/read.js +181 -0
- package/dist/sources/read.js.map +1 -0
- package/dist/templates/command.d.ts +5 -0
- package/dist/templates/command.d.ts.map +1 -0
- package/dist/templates/command.js +18 -0
- package/dist/templates/command.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/SKILL.md +9 -0
- package/skills/cli-memo/topics/proposals.md +13 -2
- package/skills/cli-memo/topics/search.md +7 -0
- package/dist/bundle/auto-HRPCC4FE.js +0 -85
- package/dist/bundle/failure-2FQL5SHA.js +0 -65
- package/dist/bundle/mcp-QXTOJORS.js +0 -90
- package/dist/bundle/server-PSEKWXKK.js +0 -48
- package/dist/bundle/server-QDPYZZT5.js +0 -61
- package/dist/bundle/store-maintenance-command-O4TXIWSL.js +0 -47
- package/dist/bundle/update-Z4LDMYC5.js +0 -68
- /package/dist/bundle/{chunk-IJPRQERM.js → chunk-DS7NXKAN.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-W7FYMZOW.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TXWVZVDK.js";
|
|
16
16
|
import {
|
|
17
17
|
envName,
|
|
18
18
|
readOnlyLockOf,
|
|
19
19
|
readOnlyRefusal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NNUJWCEJ.js";
|
|
21
21
|
import {
|
|
22
22
|
carries
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4JTCNMW6.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
DEAL_ROLES,
|
|
@@ -72,26 +72,27 @@ import {
|
|
|
72
72
|
project,
|
|
73
73
|
providerMetadata,
|
|
74
74
|
reminder,
|
|
75
|
+
sourceReview,
|
|
75
76
|
text,
|
|
76
77
|
time,
|
|
77
78
|
untrusted
|
|
78
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-BOOEDDVY.js";
|
|
79
80
|
import {
|
|
80
81
|
isCliFailure,
|
|
81
82
|
storeDamaged
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-ECMYCWG2.js";
|
|
83
84
|
import {
|
|
84
85
|
readSharedSection,
|
|
85
86
|
sharedConfigPath,
|
|
86
87
|
writeSharedSection
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-WJ2OYD2D.js";
|
|
88
89
|
import {
|
|
89
90
|
filesPresent,
|
|
90
91
|
sharedModelsDirectory
|
|
91
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-DNS2QWK3.js";
|
|
92
93
|
import {
|
|
93
94
|
storePath
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-QFSMJTEA.js";
|
|
95
96
|
import {
|
|
96
97
|
configFilePath,
|
|
97
98
|
createRecordLog,
|
|
@@ -104,7 +105,7 @@ import {
|
|
|
104
105
|
saveConfigFile,
|
|
105
106
|
traceIdOf,
|
|
106
107
|
writeSecurely
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-UUBV5ATQ.js";
|
|
108
109
|
import {
|
|
109
110
|
COMPACT_FLAG,
|
|
110
111
|
EXIT_CODES,
|
|
@@ -3957,7 +3958,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3957
3958
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3958
3959
|
}), "commandsDocument");
|
|
3959
3960
|
|
|
3960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3961
3962
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3962
3963
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3963
3964
|
messageId: message2.id,
|
|
@@ -4063,7 +4064,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4063
4064
|
}, "guardedWrite");
|
|
4064
4065
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4065
4066
|
|
|
4066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4067
4068
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4068
4069
|
try {
|
|
4069
4070
|
return work();
|
|
@@ -4090,7 +4091,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4090
4091
|
return projectFields(value, fields);
|
|
4091
4092
|
}), "projectFields");
|
|
4092
4093
|
|
|
4093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4094
4095
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4095
4096
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4096
4097
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4112,7 +4113,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4112
4113
|
}
|
|
4113
4114
|
}, "withAbort");
|
|
4114
4115
|
|
|
4115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4116
4117
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4117
4118
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4118
4119
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4512,7 +4513,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4512
4513
|
}
|
|
4513
4514
|
}, "assertRetentionEvidenceRead");
|
|
4514
4515
|
|
|
4515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4516
4517
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4517
4518
|
import { join } from "node:path";
|
|
4518
4519
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4534,12 +4535,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4534
4535
|
}, "profilesWithAccounts");
|
|
4535
4536
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4536
4537
|
|
|
4537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4538
4539
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4539
4540
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4540
4541
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4541
4542
|
|
|
4542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4543
4544
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4544
4545
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4545
4546
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4575,7 +4576,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4575
4576
|
return value;
|
|
4576
4577
|
}, "atDetail");
|
|
4577
4578
|
|
|
4578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/output.js
|
|
4579
4580
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4580
4581
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4581
4582
|
if (other)
|
|
@@ -4639,7 +4640,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4639
4640
|
}, "warn")
|
|
4640
4641
|
}), "silence");
|
|
4641
4642
|
|
|
4642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4643
4644
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4644
4645
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4645
4646
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4673,7 +4674,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4673
4674
|
cache: "cache.answered"
|
|
4674
4675
|
};
|
|
4675
4676
|
|
|
4676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4677
4678
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4678
4679
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4679
4680
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4686,13 +4687,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4686
4687
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4687
4688
|
}), "snakeLogger");
|
|
4688
4689
|
|
|
4689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4690
4691
|
import { randomUUID } from "node:crypto";
|
|
4691
4692
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4692
4693
|
import { userInfo } from "node:os";
|
|
4693
4694
|
import { join as join2, sep } from "node:path";
|
|
4694
4695
|
|
|
4695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4696
4697
|
var diagnostic = {
|
|
4697
4698
|
event: true,
|
|
4698
4699
|
operation: true,
|
|
@@ -4762,7 +4763,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4762
4763
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4763
4764
|
].sort();
|
|
4764
4765
|
|
|
4765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4766
4767
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4767
4768
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4768
4769
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5115,7 +5116,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5115
5116
|
};
|
|
5116
5117
|
}, "metadataOf");
|
|
5117
5118
|
|
|
5118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5119
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5119
5120
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5120
5121
|
import { randomBytes } from "node:crypto";
|
|
5121
5122
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5150,7 +5151,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5150
5151
|
var attempts = new AsyncLocalStorage2();
|
|
5151
5152
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5152
5153
|
|
|
5153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5154
5155
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5155
5156
|
const recording = startRecording(options);
|
|
5156
5157
|
try {
|
|
@@ -5342,7 +5343,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5342
5343
|
return void 0;
|
|
5343
5344
|
}, "partialOutcome");
|
|
5344
5345
|
|
|
5345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5346
5347
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5347
5348
|
if (ms2 === void 0)
|
|
5348
5349
|
return body();
|
|
@@ -5368,7 +5369,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5368
5369
|
}
|
|
5369
5370
|
}, "withDeadline");
|
|
5370
5371
|
|
|
5371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5372
5373
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5373
5374
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5374
5375
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5410,10 +5411,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5410
5411
|
return root;
|
|
5411
5412
|
}, "rootOf");
|
|
5412
5413
|
|
|
5413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5414
5415
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5415
5416
|
|
|
5416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5417
5418
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5418
5419
|
try {
|
|
5419
5420
|
const url3 = new URL(value);
|
|
@@ -5423,7 +5424,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5423
5424
|
}
|
|
5424
5425
|
}, "endpoint");
|
|
5425
5426
|
|
|
5426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5427
5428
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5428
5429
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5429
5430
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5492,7 +5493,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5492
5493
|
};
|
|
5493
5494
|
}, "modelTarget");
|
|
5494
5495
|
|
|
5495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5496
5497
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5497
5498
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5498
5499
|
var AI_FIELDS = {
|
|
@@ -5536,7 +5537,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5536
5537
|
};
|
|
5537
5538
|
}, "resolveAISettings");
|
|
5538
5539
|
|
|
5539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5540
5541
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5541
5542
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5542
5543
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5550,7 +5551,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5550
5551
|
return ms2;
|
|
5551
5552
|
}, "parseDuration");
|
|
5552
5553
|
|
|
5553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5554
5555
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5555
5556
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5556
5557
|
var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
|
|
@@ -5812,7 +5813,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5812
5813
|
}, "vectorModelKey");
|
|
5813
5814
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5814
5815
|
|
|
5815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5816
5817
|
var HISTORY_MAX_DAYS = 1095;
|
|
5817
5818
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5818
5819
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5859,7 +5860,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5859
5860
|
return { batch: { ...batch, messages }, skipped };
|
|
5860
5861
|
}, "limitBatch");
|
|
5861
5862
|
|
|
5862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5863
5864
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5864
5865
|
import { join as join3 } from "node:path";
|
|
5865
5866
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5948,10 +5949,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5948
5949
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5949
5950
|
}, "registryProfiles");
|
|
5950
5951
|
|
|
5951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5952
5953
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5953
5954
|
|
|
5954
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5955
5956
|
var REPAIR_WORDS = {
|
|
5956
5957
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5957
5958
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6192,7 +6193,7 @@ ${parts.join(",\n")}
|
|
|
6192
6193
|
${indent}${close}`;
|
|
6193
6194
|
}, "serialise");
|
|
6194
6195
|
|
|
6195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6196
6197
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6197
6198
|
var SECTIONS = ["personal", "bot"];
|
|
6198
6199
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6487,7 +6488,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6487
6488
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6488
6489
|
}, "readConfigFile");
|
|
6489
6490
|
|
|
6490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6491
6492
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6492
6493
|
import { dirname, join as join4 } from "node:path";
|
|
6493
6494
|
var DEFAULT_CONFIG = {
|
|
@@ -6516,7 +6517,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6516
6517
|
}
|
|
6517
6518
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6518
6519
|
|
|
6519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6520
6521
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6521
6522
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6522
6523
|
const path2 = key.split(".");
|
|
@@ -6549,7 +6550,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6549
6550
|
};
|
|
6550
6551
|
}), "settingRows");
|
|
6551
6552
|
|
|
6552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6553
6554
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6554
6555
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6555
6556
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -7059,7 +7060,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
7059
7060
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
7060
7061
|
}, "given");
|
|
7061
7062
|
|
|
7062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
7063
7064
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
7064
7065
|
const slot = environmentOf(command).exit;
|
|
7065
7066
|
if (slot)
|
|
@@ -7181,7 +7182,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7181
7182
|
return words2.join(" ");
|
|
7182
7183
|
}, "commandPath");
|
|
7183
7184
|
|
|
7184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7185
7186
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7186
7187
|
var FETCH = { remote: "read", local: "write" };
|
|
7187
7188
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7200,6 +7201,11 @@ var changesAuthorityAt = /* @__PURE__ */ __name((root) => (path2) => {
|
|
|
7200
7201
|
at2 = at2?.commands.find((one) => one.name() === word);
|
|
7201
7202
|
return at2 !== void 0 && changesAuthority(at2);
|
|
7202
7203
|
}, "changesAuthorityAt");
|
|
7204
|
+
var LOGIN = /* @__PURE__ */ new WeakSet();
|
|
7205
|
+
var logsInOrOut = /* @__PURE__ */ __name((command) => {
|
|
7206
|
+
LOGIN.add(command);
|
|
7207
|
+
return command;
|
|
7208
|
+
}, "logsInOrOut");
|
|
7203
7209
|
var KEPT_UNDER_LOCK = /* @__PURE__ */ new WeakSet();
|
|
7204
7210
|
var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
7205
7211
|
KEPT_UNDER_LOCK.add(command);
|
|
@@ -7296,7 +7302,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7296
7302
|
throw readOnlyRefusal(lock, what);
|
|
7297
7303
|
}, "refuseUnderReadOnly");
|
|
7298
7304
|
|
|
7299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7305
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7300
7306
|
var account = strictObject({
|
|
7301
7307
|
provider: text,
|
|
7302
7308
|
id,
|
|
@@ -7306,7 +7312,7 @@ var account = strictObject({
|
|
|
7306
7312
|
scope: optional(picklist(["personal", "work"]))
|
|
7307
7313
|
});
|
|
7308
7314
|
|
|
7309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7310
7316
|
var accountSession = strictObject({
|
|
7311
7317
|
current: boolean(),
|
|
7312
7318
|
client: nullable(text),
|
|
@@ -7316,7 +7322,7 @@ var accountSession = strictObject({
|
|
|
7316
7322
|
created_at: optional(nullable(time))
|
|
7317
7323
|
});
|
|
7318
7324
|
|
|
7319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7320
7326
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7321
7327
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7322
7328
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7333,8 +7339,19 @@ var accountPrivacy = strictObject({
|
|
|
7333
7339
|
last_seen: optional(shownAudience)
|
|
7334
7340
|
});
|
|
7335
7341
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7342
|
+
var removalKind = picklist(["sign_in", "keyring", "config", "file", "store", "unit", "schedule"]);
|
|
7343
|
+
var accountRemoval = strictObject({
|
|
7344
|
+
profile: text,
|
|
7345
|
+
data: picklist(["kept", "deleted"]),
|
|
7346
|
+
dry_run: boolean(),
|
|
7347
|
+
account: nullable(strictObject({ provider: text, account: text })),
|
|
7348
|
+
revoked: nullable(boolean()),
|
|
7349
|
+
config_file: text,
|
|
7350
|
+
removed: array(strictObject({ kind: removalKind, target: text })),
|
|
7351
|
+
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
7352
|
+
});
|
|
7336
7353
|
|
|
7337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7338
7355
|
var accountProfile = strictObject({
|
|
7339
7356
|
profile: id,
|
|
7340
7357
|
current: boolean(),
|
|
@@ -7346,7 +7363,7 @@ var accountProfile = strictObject({
|
|
|
7346
7363
|
bot: optional(literal(true))
|
|
7347
7364
|
});
|
|
7348
7365
|
|
|
7349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7350
7367
|
var milliseconds = pipe(number(), minValue(0));
|
|
7351
7368
|
var counterReading = strictObject({
|
|
7352
7369
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7358,7 +7375,7 @@ var counterReading = strictObject({
|
|
|
7358
7375
|
});
|
|
7359
7376
|
var selection = record(string(), unknown());
|
|
7360
7377
|
|
|
7361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7362
7379
|
var adminRow = strictObject({
|
|
7363
7380
|
ref: reference,
|
|
7364
7381
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7411,7 +7428,7 @@ var adminReport = strictObject({
|
|
|
7411
7428
|
rows: array(adminRow)
|
|
7412
7429
|
});
|
|
7413
7430
|
|
|
7414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7415
7432
|
var closeSuggestion = strictObject({
|
|
7416
7433
|
as: picklist(["done", "dismissed"]),
|
|
7417
7434
|
/** The agent's name. */
|
|
@@ -7473,7 +7490,7 @@ var task = strictObject({
|
|
|
7473
7490
|
updated_at: optional(time)
|
|
7474
7491
|
});
|
|
7475
7492
|
|
|
7476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7477
7494
|
var agendaChat = strictObject({
|
|
7478
7495
|
chat: reference,
|
|
7479
7496
|
title: nullable(text),
|
|
@@ -7543,11 +7560,11 @@ var agenda = strictObject({
|
|
|
7543
7560
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7544
7561
|
});
|
|
7545
7562
|
|
|
7546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7547
7564
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7548
7565
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7549
7566
|
|
|
7550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7551
7568
|
var attachment = strictObject({
|
|
7552
7569
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7553
7570
|
message: optional(reference),
|
|
@@ -7585,7 +7602,7 @@ var attachment = strictObject({
|
|
|
7585
7602
|
});
|
|
7586
7603
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7587
7604
|
|
|
7588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7589
7606
|
var actionableError = objectWithRest({
|
|
7590
7607
|
code: text,
|
|
7591
7608
|
message: text,
|
|
@@ -7602,7 +7619,7 @@ var batchResult = strictObject({
|
|
|
7602
7619
|
max_error_percent: count
|
|
7603
7620
|
});
|
|
7604
7621
|
|
|
7605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7606
7623
|
var extractionItem = strictObject({
|
|
7607
7624
|
ref: reference,
|
|
7608
7625
|
attachment: count,
|
|
@@ -7635,7 +7652,7 @@ var extractionReport = strictObject({
|
|
|
7635
7652
|
cursor: optional(text)
|
|
7636
7653
|
});
|
|
7637
7654
|
|
|
7638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7639
7656
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7640
7657
|
var attachmentBytes = strictObject({
|
|
7641
7658
|
ref: reference,
|
|
@@ -7663,7 +7680,7 @@ var attachmentTextChange = strictObject({
|
|
|
7663
7680
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7664
7681
|
});
|
|
7665
7682
|
|
|
7666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7667
7684
|
var chart = strictObject({
|
|
7668
7685
|
version: literal(1),
|
|
7669
7686
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7678,7 +7695,7 @@ var chart = strictObject({
|
|
|
7678
7695
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7679
7696
|
});
|
|
7680
7697
|
|
|
7681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7682
7699
|
var member = strictObject({
|
|
7683
7700
|
id,
|
|
7684
7701
|
name: nullable(text),
|
|
@@ -7701,7 +7718,7 @@ var member = strictObject({
|
|
|
7701
7718
|
check: optional(record(string(), unknown()))
|
|
7702
7719
|
});
|
|
7703
7720
|
|
|
7704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7721
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7705
7722
|
var setting = optional(nullable(boolean()));
|
|
7706
7723
|
var chat = strictObject({
|
|
7707
7724
|
ref: reference,
|
|
@@ -7742,7 +7759,7 @@ var chat = strictObject({
|
|
|
7742
7759
|
members: optional(array(member))
|
|
7743
7760
|
});
|
|
7744
7761
|
|
|
7745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7746
7763
|
var named2 = strictObject({
|
|
7747
7764
|
id,
|
|
7748
7765
|
title: nullable(text),
|
|
@@ -7765,7 +7782,7 @@ var folder = strictObject({
|
|
|
7765
7782
|
excluded_chats: optional(array(named2))
|
|
7766
7783
|
});
|
|
7767
7784
|
|
|
7768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7769
7786
|
var inviteLink = strictObject({
|
|
7770
7787
|
link: text,
|
|
7771
7788
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7781,7 +7798,7 @@ var inviteLink = strictObject({
|
|
|
7781
7798
|
joined_count: optional(count)
|
|
7782
7799
|
});
|
|
7783
7800
|
|
|
7784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7785
7802
|
var operated = { operation_id: id, chat_id: id };
|
|
7786
7803
|
var group = strictObject({
|
|
7787
7804
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7861,7 +7878,7 @@ var chatFolderOrder = strictObject({
|
|
|
7861
7878
|
folders: array(strictObject({ id, title: text }))
|
|
7862
7879
|
});
|
|
7863
7880
|
|
|
7864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7865
7882
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7866
7883
|
var chatRemoval = strictObject(operated2);
|
|
7867
7884
|
var chatMuting = strictObject({
|
|
@@ -7872,7 +7889,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7872
7889
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7873
7890
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7874
7891
|
|
|
7875
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7876
7893
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7877
7894
|
var chatEvent = strictObject({
|
|
7878
7895
|
chat_id: id,
|
|
@@ -7889,7 +7906,7 @@ var chatEvent = strictObject({
|
|
|
7889
7906
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7890
7907
|
});
|
|
7891
7908
|
|
|
7892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7893
7910
|
var chatMetadata = strictObject({
|
|
7894
7911
|
chat_id: id,
|
|
7895
7912
|
title: nullable(text),
|
|
@@ -7904,7 +7921,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7904
7921
|
has_more: boolean()
|
|
7905
7922
|
});
|
|
7906
7923
|
|
|
7907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7908
7925
|
var action = picklist(["report", "delete", "remove"]);
|
|
7909
7926
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7910
7927
|
var chatRules = strictObject({
|
|
@@ -7941,7 +7958,7 @@ var chatModeration = strictObject({
|
|
|
7941
7958
|
}))
|
|
7942
7959
|
});
|
|
7943
7960
|
|
|
7944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7945
7962
|
var optionalCount = optional(count);
|
|
7946
7963
|
var minutes = nullable(number());
|
|
7947
7964
|
var chatStats = strictObject({
|
|
@@ -8015,7 +8032,7 @@ var taskStats = strictObject({
|
|
|
8015
8032
|
}))
|
|
8016
8033
|
});
|
|
8017
8034
|
|
|
8018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8019
8036
|
var memberCount = strictObject({
|
|
8020
8037
|
day: pipe(text, isoDate()),
|
|
8021
8038
|
participants: nullable(count),
|
|
@@ -8038,7 +8055,7 @@ var chatTracking = strictObject({
|
|
|
8038
8055
|
tracked: boolean()
|
|
8039
8056
|
});
|
|
8040
8057
|
|
|
8041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8042
8059
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8043
8060
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8044
8061
|
var profileFields = {
|
|
@@ -8076,7 +8093,7 @@ var profileFields = {
|
|
|
8076
8093
|
}))
|
|
8077
8094
|
};
|
|
8078
8095
|
|
|
8079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8080
8097
|
var contact = strictObject({
|
|
8081
8098
|
ref: reference,
|
|
8082
8099
|
id,
|
|
@@ -8107,7 +8124,7 @@ var contact = strictObject({
|
|
|
8107
8124
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8108
8125
|
});
|
|
8109
8126
|
|
|
8110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
8111
8128
|
var WEIGHTS = {
|
|
8112
8129
|
bot: 3,
|
|
8113
8130
|
scam: 3,
|
|
@@ -8132,7 +8149,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8132
8149
|
var DIGITS = /\d{5,}/;
|
|
8133
8150
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8134
8151
|
|
|
8135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8136
8153
|
var linkedIdentity = strictObject({
|
|
8137
8154
|
provider: text,
|
|
8138
8155
|
id,
|
|
@@ -8174,7 +8191,7 @@ var contactCheck = strictObject({
|
|
|
8174
8191
|
checked_at: time
|
|
8175
8192
|
});
|
|
8176
8193
|
|
|
8177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8178
8195
|
var quoted = strictObject({
|
|
8179
8196
|
id,
|
|
8180
8197
|
sender_id: nullable(id),
|
|
@@ -8293,7 +8310,7 @@ var message = strictObject({
|
|
|
8293
8310
|
provider_metadata: providerMetadata
|
|
8294
8311
|
});
|
|
8295
8312
|
|
|
8296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8297
8314
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8298
8315
|
var contextMessage = strictObject({
|
|
8299
8316
|
locator: reference,
|
|
@@ -8493,7 +8510,7 @@ var contactPreparation = strictObject({
|
|
|
8493
8510
|
})
|
|
8494
8511
|
});
|
|
8495
8512
|
|
|
8496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8497
8514
|
var contactNote = strictObject({
|
|
8498
8515
|
id,
|
|
8499
8516
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8505,13 +8522,13 @@ var contactNote = strictObject({
|
|
|
8505
8522
|
updated_at: time
|
|
8506
8523
|
});
|
|
8507
8524
|
|
|
8508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8509
8526
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8510
8527
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8511
8528
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8512
8529
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8513
8530
|
|
|
8514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8515
8532
|
var conversation = strictObject({
|
|
8516
8533
|
id,
|
|
8517
8534
|
chat: reference,
|
|
@@ -8526,7 +8543,7 @@ var conversation = strictObject({
|
|
|
8526
8543
|
rules_version: count
|
|
8527
8544
|
});
|
|
8528
8545
|
|
|
8529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8530
8547
|
var conversationBuild = strictObject({
|
|
8531
8548
|
chat: id,
|
|
8532
8549
|
messages: count,
|
|
@@ -8551,7 +8568,7 @@ var catchUpPreparation = strictObject({
|
|
|
8551
8568
|
prepared: optional(conversationPreparation)
|
|
8552
8569
|
});
|
|
8553
8570
|
|
|
8554
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8555
8572
|
var conversationDetails = union([
|
|
8556
8573
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8557
8574
|
message
|
|
@@ -8641,7 +8658,7 @@ var conversationHit = strictObject({
|
|
|
8641
8658
|
stale: boolean()
|
|
8642
8659
|
});
|
|
8643
8660
|
|
|
8644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8645
8662
|
var counters = strictObject({
|
|
8646
8663
|
cutoff: time,
|
|
8647
8664
|
max_age_ms: milliseconds,
|
|
@@ -8671,7 +8688,7 @@ var counterRefresh = strictObject({
|
|
|
8671
8688
|
complete: optional(boolean())
|
|
8672
8689
|
});
|
|
8673
8690
|
|
|
8674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8675
8692
|
var nullableText = nullable(text);
|
|
8676
8693
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8677
8694
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8761,7 +8778,7 @@ var stage = strictObject({
|
|
|
8761
8778
|
untrusted
|
|
8762
8779
|
});
|
|
8763
8780
|
|
|
8764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8765
8782
|
var document = strictObject({
|
|
8766
8783
|
ref: reference,
|
|
8767
8784
|
id,
|
|
@@ -8776,7 +8793,7 @@ var document = strictObject({
|
|
|
8776
8793
|
owners: optional(array(text))
|
|
8777
8794
|
});
|
|
8778
8795
|
|
|
8779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8780
8797
|
var documentLink = strictObject({
|
|
8781
8798
|
ref: reference,
|
|
8782
8799
|
url: text,
|
|
@@ -8787,7 +8804,7 @@ var documentLink = strictObject({
|
|
|
8787
8804
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8788
8805
|
});
|
|
8789
8806
|
|
|
8790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8791
8808
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8792
8809
|
var contribution = strictObject({
|
|
8793
8810
|
message: evidenceMessage,
|
|
@@ -8817,7 +8834,7 @@ var retentionStay = strictObject({
|
|
|
8817
8834
|
});
|
|
8818
8835
|
var evidence = union([contribution, retentionStay]);
|
|
8819
8836
|
|
|
8820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8821
8838
|
var fact = strictObject({
|
|
8822
8839
|
ref: reference,
|
|
8823
8840
|
id,
|
|
@@ -8843,11 +8860,12 @@ var fact = strictObject({
|
|
|
8843
8860
|
evidence: array(reference),
|
|
8844
8861
|
/** With `--sources`: each piece of evidence read back. */
|
|
8845
8862
|
sources: optional(array(evidenceSource)),
|
|
8863
|
+
source_review: optional(sourceReview),
|
|
8846
8864
|
created_at: time,
|
|
8847
8865
|
updated_at: time
|
|
8848
8866
|
});
|
|
8849
8867
|
|
|
8850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8851
8869
|
var hit = strictObject({
|
|
8852
8870
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8853
8871
|
ref: reference,
|
|
@@ -8889,7 +8907,7 @@ var hit = strictObject({
|
|
|
8889
8907
|
untrusted
|
|
8890
8908
|
});
|
|
8891
8909
|
|
|
8892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8893
8911
|
var identity = strictObject({
|
|
8894
8912
|
ref: reference,
|
|
8895
8913
|
provider: text,
|
|
@@ -8902,7 +8920,7 @@ var identity = strictObject({
|
|
|
8902
8920
|
person: optional(nullable(reference))
|
|
8903
8921
|
});
|
|
8904
8922
|
|
|
8905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8906
8924
|
var imageEmbedding = strictObject({
|
|
8907
8925
|
model: text,
|
|
8908
8926
|
embedded: count,
|
|
@@ -8911,13 +8929,13 @@ var imageEmbedding = strictObject({
|
|
|
8911
8929
|
more: boolean()
|
|
8912
8930
|
});
|
|
8913
8931
|
|
|
8914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8915
8933
|
import { spawn } from "node:child_process";
|
|
8916
8934
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8917
8935
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8918
8936
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8919
8937
|
|
|
8920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8921
8939
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8922
8940
|
const total = input.total ?? null;
|
|
8923
8941
|
const updated = input.updatedAt ?? null;
|
|
@@ -8948,7 +8966,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8948
8966
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8949
8967
|
}, "progressLine");
|
|
8950
8968
|
|
|
8951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8952
8970
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8953
8971
|
const run = currentRun();
|
|
8954
8972
|
const trace = traceId ?? run.traceId;
|
|
@@ -8962,7 +8980,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8962
8980
|
}));
|
|
8963
8981
|
}, "recordLogFor");
|
|
8964
8982
|
|
|
8965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8966
8984
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8967
8985
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8968
8986
|
const out = openSync(log, "a", 384);
|
|
@@ -9117,7 +9135,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
9117
9135
|
return { job: id6, pid, chat: input.chat, log };
|
|
9118
9136
|
}, "startArchiveJob");
|
|
9119
9137
|
|
|
9120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
9121
9139
|
var problem = strictObject({ code: text, message: text });
|
|
9122
9140
|
var job = strictObject({
|
|
9123
9141
|
id,
|
|
@@ -9140,7 +9158,7 @@ var job = strictObject({
|
|
|
9140
9158
|
error: optional(problem)
|
|
9141
9159
|
});
|
|
9142
9160
|
|
|
9143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
9144
9162
|
var joinRequest = strictObject({
|
|
9145
9163
|
person_id: id,
|
|
9146
9164
|
name: nullable(text),
|
|
@@ -9151,7 +9169,7 @@ var joinRequest = strictObject({
|
|
|
9151
9169
|
about: optional(text)
|
|
9152
9170
|
});
|
|
9153
9171
|
|
|
9154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
9155
9173
|
var botProfile = strictObject({
|
|
9156
9174
|
name: text,
|
|
9157
9175
|
token: text,
|
|
@@ -9196,11 +9214,13 @@ var scheduledJob = strictObject({
|
|
|
9196
9214
|
failing_since: optional(time),
|
|
9197
9215
|
failures: optional(number()),
|
|
9198
9216
|
cost_usd: optional(number()),
|
|
9199
|
-
|
|
9217
|
+
input_hash: optional(text),
|
|
9218
|
+
/** The last time a run did not start, and why: the day's cost cap, too little new mail, or the same input. */
|
|
9200
9219
|
skipped: optional(strictObject({
|
|
9201
9220
|
at: time,
|
|
9202
9221
|
why: text,
|
|
9203
|
-
/** A dotted id for `why`, so a client can translate it: `cost.day-cap`, `mail.none-new`, `mail.below-threshold
|
|
9222
|
+
/** A dotted id for `why`, so a client can translate it: `cost.day-cap`, `mail.none-new`, `mail.below-threshold`,
|
|
9223
|
+
* `mail.same-input`. */
|
|
9204
9224
|
reason: optional(pipe(text, regex(/^[a-z][a-z0-9-]*(\.[a-z][a-z0-9-]*)+$/)))
|
|
9205
9225
|
})),
|
|
9206
9226
|
/** How the run's result went along each route; `reason` a dotted id, `error` the sending CLI's code and reason id. */
|
|
@@ -9244,7 +9264,7 @@ var stickerInventory = strictObject({
|
|
|
9244
9264
|
url: optional(nullable(text))
|
|
9245
9265
|
});
|
|
9246
9266
|
|
|
9247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9248
9268
|
var pollVote = strictObject({
|
|
9249
9269
|
person_id: id,
|
|
9250
9270
|
name: nullable(text),
|
|
@@ -9254,7 +9274,7 @@ var pollVote = strictObject({
|
|
|
9254
9274
|
voted_at: time
|
|
9255
9275
|
});
|
|
9256
9276
|
|
|
9257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9258
9278
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9259
9279
|
var observation = strictObject({
|
|
9260
9280
|
value: pipe(number(), minValue(0)),
|
|
@@ -9296,7 +9316,7 @@ var serveSummary = strictObject({
|
|
|
9296
9316
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9297
9317
|
});
|
|
9298
9318
|
|
|
9299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9300
9320
|
var mailCounts = strictObject({
|
|
9301
9321
|
by: picklist(["day", "week", "sender"]),
|
|
9302
9322
|
received: count,
|
|
@@ -9311,7 +9331,7 @@ var mailCounts = strictObject({
|
|
|
9311
9331
|
}))
|
|
9312
9332
|
});
|
|
9313
9333
|
|
|
9314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9315
9335
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9316
9336
|
var base = { id, evidence: array(evidence2) };
|
|
9317
9337
|
var finding = variant("kind", [
|
|
@@ -9455,7 +9475,7 @@ var mailFindings = strictObject({
|
|
|
9455
9475
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9456
9476
|
});
|
|
9457
9477
|
|
|
9458
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9478
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9459
9479
|
var mediaArchive = strictObject({
|
|
9460
9480
|
directory: text,
|
|
9461
9481
|
chats: count,
|
|
@@ -9487,7 +9507,7 @@ var mediaArchiveTimer = union([
|
|
|
9487
9507
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9488
9508
|
]);
|
|
9489
9509
|
|
|
9490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9491
9511
|
var preparationId = pipe(string(), minLength(1));
|
|
9492
9512
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9493
9513
|
var preparationTime = nullable(isoTime);
|
|
@@ -9579,7 +9599,7 @@ var preparationMeeting = strictObject({
|
|
|
9579
9599
|
updated_at: isoTime
|
|
9580
9600
|
});
|
|
9581
9601
|
|
|
9582
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9602
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9583
9603
|
var meetingEvidence = preparationEvidence;
|
|
9584
9604
|
var meetingPersonContext = strictObject({
|
|
9585
9605
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9601,7 +9621,7 @@ var meetingPersonContext = strictObject({
|
|
|
9601
9621
|
})
|
|
9602
9622
|
});
|
|
9603
9623
|
|
|
9604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9605
9625
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9606
9626
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9607
9627
|
var finding2 = variant("kind", [
|
|
@@ -9639,7 +9659,7 @@ var meetingFindings = strictObject({
|
|
|
9639
9659
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9640
9660
|
});
|
|
9641
9661
|
|
|
9642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9643
9663
|
var communicationCoverage = strictObject({
|
|
9644
9664
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9645
9665
|
query: string(),
|
|
@@ -9684,7 +9704,7 @@ var preparationCommunications = strictObject({
|
|
|
9684
9704
|
}))
|
|
9685
9705
|
});
|
|
9686
9706
|
|
|
9687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9688
9708
|
var meetingPreparation = strictObject({
|
|
9689
9709
|
communications: optional(preparationCommunications),
|
|
9690
9710
|
schema_version: literal(1),
|
|
@@ -9797,7 +9817,7 @@ var meetingPreparation = strictObject({
|
|
|
9797
9817
|
})
|
|
9798
9818
|
});
|
|
9799
9819
|
|
|
9800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9801
9821
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9802
9822
|
var id3 = pipe(string(), minLength(1));
|
|
9803
9823
|
var text3 = string();
|
|
@@ -9861,7 +9881,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9861
9881
|
})
|
|
9862
9882
|
});
|
|
9863
9883
|
|
|
9864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9865
9885
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9866
9886
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9867
9887
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9891,7 +9911,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9891
9911
|
})
|
|
9892
9912
|
});
|
|
9893
9913
|
|
|
9894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9895
9915
|
var text4 = string();
|
|
9896
9916
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9897
9917
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9908,7 +9928,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9908
9928
|
persistence: literal("proposal-only")
|
|
9909
9929
|
});
|
|
9910
9930
|
|
|
9911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9912
9932
|
var memory = strictObject({
|
|
9913
9933
|
ref: reference,
|
|
9914
9934
|
id,
|
|
@@ -9931,11 +9951,12 @@ var memory = strictObject({
|
|
|
9931
9951
|
/** With `--sources`: each piece of evidence read back. */
|
|
9932
9952
|
sources: optional(array(evidenceSource)),
|
|
9933
9953
|
last_verified_at: nullable(time),
|
|
9954
|
+
source_review: optional(sourceReview),
|
|
9934
9955
|
created_at: time,
|
|
9935
9956
|
updated_at: time
|
|
9936
9957
|
});
|
|
9937
9958
|
|
|
9938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9939
9960
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9940
9961
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9941
9962
|
var mention = strictObject({
|
|
@@ -9978,13 +9999,13 @@ var mentionRebuild = strictObject({
|
|
|
9978
9999
|
mentions: count
|
|
9979
10000
|
});
|
|
9980
10001
|
|
|
9981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9982
10003
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9983
10004
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9984
10005
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9985
10006
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9986
10007
|
|
|
9987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9988
10009
|
var messageTranscript = strictObject({
|
|
9989
10010
|
message_id: id,
|
|
9990
10011
|
text,
|
|
@@ -10042,7 +10063,7 @@ var evidencePacket = strictObject({
|
|
|
10042
10063
|
}))
|
|
10043
10064
|
});
|
|
10044
10065
|
|
|
10045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10066
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
10046
10067
|
var messageThread = strictObject({
|
|
10047
10068
|
ref: reference,
|
|
10048
10069
|
chat: id,
|
|
@@ -10059,7 +10080,7 @@ var messageThread = strictObject({
|
|
|
10059
10080
|
});
|
|
10060
10081
|
var messageContext = union([message, messageThread]);
|
|
10061
10082
|
|
|
10062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
10063
10084
|
var messageCounts = strictObject({
|
|
10064
10085
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
10065
10086
|
total: count,
|
|
@@ -10072,7 +10093,7 @@ var messageCounts = strictObject({
|
|
|
10072
10093
|
}))
|
|
10073
10094
|
});
|
|
10074
10095
|
|
|
10075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
10076
10097
|
var messageLink = strictObject({
|
|
10077
10098
|
ref: reference,
|
|
10078
10099
|
url: nullable(text),
|
|
@@ -10089,7 +10110,7 @@ var messageLink = strictObject({
|
|
|
10089
10110
|
})))
|
|
10090
10111
|
});
|
|
10091
10112
|
|
|
10092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
10093
10114
|
var savedMessageFile = strictObject({
|
|
10094
10115
|
kind: text,
|
|
10095
10116
|
path: text,
|
|
@@ -10176,7 +10197,7 @@ var messageSyncAll = strictObject({
|
|
|
10176
10197
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10177
10198
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10178
10199
|
|
|
10179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10180
10201
|
var messageWrite = strictObject({
|
|
10181
10202
|
operation_id: id,
|
|
10182
10203
|
message,
|
|
@@ -10191,7 +10212,7 @@ var draftWrite = strictObject({
|
|
|
10191
10212
|
});
|
|
10192
10213
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10193
10214
|
|
|
10194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10195
10216
|
var model2 = strictObject({
|
|
10196
10217
|
id,
|
|
10197
10218
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10226,7 +10247,7 @@ var chosenModel = strictObject({
|
|
|
10226
10247
|
estimate_seconds: nullable(count)
|
|
10227
10248
|
});
|
|
10228
10249
|
|
|
10229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10230
10251
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10231
10252
|
var modelKey = strictObject({
|
|
10232
10253
|
provider: text,
|
|
@@ -10236,7 +10257,7 @@ var modelKey = strictObject({
|
|
|
10236
10257
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10237
10258
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10238
10259
|
|
|
10239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
10240
10261
|
var link = {
|
|
10241
10262
|
target_text: nullable(text),
|
|
10242
10263
|
kind: text,
|
|
@@ -10277,7 +10298,7 @@ var note = strictObject({
|
|
|
10277
10298
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10278
10299
|
});
|
|
10279
10300
|
|
|
10280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10281
10302
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10282
10303
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10283
10304
|
var graph = strictObject({
|
|
@@ -10311,14 +10332,14 @@ var officialStats = strictObject({
|
|
|
10311
10332
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10312
10333
|
});
|
|
10313
10334
|
|
|
10314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10315
10336
|
var person2 = strictObject({
|
|
10316
10337
|
ref: reference,
|
|
10317
10338
|
name: nullable(text),
|
|
10318
10339
|
identities: optional(array(identity))
|
|
10319
10340
|
});
|
|
10320
10341
|
|
|
10321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10322
10343
|
var poll = strictObject({
|
|
10323
10344
|
chat_id: id,
|
|
10324
10345
|
message_id: id,
|
|
@@ -10334,11 +10355,11 @@ var poll = strictObject({
|
|
|
10334
10355
|
});
|
|
10335
10356
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10336
10357
|
|
|
10337
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10338
10359
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10339
10360
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10340
10361
|
|
|
10341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10342
10363
|
var figures = record(string(), number());
|
|
10343
10364
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10344
10365
|
var rankingRow = strictObject({
|
|
@@ -10385,7 +10406,7 @@ var ranking = strictObject({
|
|
|
10385
10406
|
rows: array(rankingRow)
|
|
10386
10407
|
});
|
|
10387
10408
|
|
|
10388
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10389
10410
|
var reaction = strictObject({
|
|
10390
10411
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10391
10412
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10393,7 +10414,7 @@ var reaction = strictObject({
|
|
|
10393
10414
|
reacted_at: time
|
|
10394
10415
|
});
|
|
10395
10416
|
|
|
10396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10397
10418
|
var reactionChange = strictObject({
|
|
10398
10419
|
operation_id: id,
|
|
10399
10420
|
chat_id: id,
|
|
@@ -10401,7 +10422,7 @@ var reactionChange = strictObject({
|
|
|
10401
10422
|
reaction: nullable(text)
|
|
10402
10423
|
});
|
|
10403
10424
|
|
|
10404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10405
10426
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10406
10427
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10407
10428
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10412,7 +10433,7 @@ var recipientChange = strictObject({
|
|
|
10412
10433
|
...partial(recipientOff).entries
|
|
10413
10434
|
});
|
|
10414
10435
|
|
|
10415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10416
10437
|
var events = array(record(string(), unknown()));
|
|
10417
10438
|
var recordedRun = strictObject({
|
|
10418
10439
|
run_id: id,
|
|
@@ -10484,7 +10505,7 @@ var runHit = strictObject({
|
|
|
10484
10505
|
});
|
|
10485
10506
|
var runLocation = strictObject({ path: text });
|
|
10486
10507
|
|
|
10487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10488
10509
|
var relationship = strictObject({
|
|
10489
10510
|
id,
|
|
10490
10511
|
from: reference,
|
|
@@ -10507,7 +10528,7 @@ var relationship = strictObject({
|
|
|
10507
10528
|
created_at: time
|
|
10508
10529
|
});
|
|
10509
10530
|
|
|
10510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10511
10532
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10512
10533
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10513
10534
|
var responseTimes = strictObject({
|
|
@@ -10524,7 +10545,7 @@ var waitingChats = strictObject({
|
|
|
10524
10545
|
by_kind: strictObject({ private: count, group: count })
|
|
10525
10546
|
});
|
|
10526
10547
|
|
|
10527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10528
10549
|
var retentionCohort = strictObject({
|
|
10529
10550
|
/** The first day of the joining day or week. */
|
|
10530
10551
|
cohort: text,
|
|
@@ -10572,7 +10593,7 @@ var retention = strictObject({
|
|
|
10572
10593
|
rows: array(retentionCohort)
|
|
10573
10594
|
});
|
|
10574
10595
|
|
|
10575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10576
10597
|
var savedSearch = strictObject({
|
|
10577
10598
|
id,
|
|
10578
10599
|
/** `null` for a run in the history. */
|
|
@@ -10589,7 +10610,7 @@ var savedSearch = strictObject({
|
|
|
10589
10610
|
});
|
|
10590
10611
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10591
10612
|
|
|
10592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10593
10614
|
var sendAttempt = strictObject({
|
|
10594
10615
|
at: time,
|
|
10595
10616
|
profile: text,
|
|
@@ -10617,7 +10638,7 @@ var sendAttempt = strictObject({
|
|
|
10617
10638
|
error_code: optional(text)
|
|
10618
10639
|
});
|
|
10619
10640
|
|
|
10620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10621
10642
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10622
10643
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10623
10644
|
var infoSchema = strictObject({
|
|
@@ -10838,7 +10859,7 @@ var storeRepair = union([
|
|
|
10838
10859
|
]);
|
|
10839
10860
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10840
10861
|
|
|
10841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10842
10863
|
var range = strictObject({ from: number(), to: number() });
|
|
10843
10864
|
var storeChatStatus = strictObject({
|
|
10844
10865
|
chat_id: id,
|
|
@@ -10936,7 +10957,7 @@ var storeJobRetry = union([
|
|
|
10936
10957
|
]);
|
|
10937
10958
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10938
10959
|
|
|
10939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10940
10961
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10941
10962
|
var storeTable = strictObject({
|
|
10942
10963
|
name: text,
|
|
@@ -10945,7 +10966,7 @@ var storeTable = strictObject({
|
|
|
10945
10966
|
bytes: optional(nullable(count))
|
|
10946
10967
|
});
|
|
10947
10968
|
|
|
10948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10949
10970
|
var tagTarget = variant("type", [
|
|
10950
10971
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10951
10972
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10976,7 +10997,7 @@ var automaticTags = strictObject({
|
|
|
10976
10997
|
dry_run: boolean()
|
|
10977
10998
|
});
|
|
10978
10999
|
|
|
10979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10980
11001
|
var tagging = strictObject({
|
|
10981
11002
|
tag: text,
|
|
10982
11003
|
type: picklist(TAG_TYPES),
|
|
@@ -10989,7 +11010,7 @@ var tagging = strictObject({
|
|
|
10989
11010
|
created_at: time
|
|
10990
11011
|
});
|
|
10991
11012
|
|
|
10992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10993
11014
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10994
11015
|
var taskPair = strictObject({
|
|
10995
11016
|
task: nullable(side),
|
|
@@ -11012,7 +11033,7 @@ var taskPair = strictObject({
|
|
|
11012
11033
|
created_at: time
|
|
11013
11034
|
});
|
|
11014
11035
|
|
|
11015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
11016
11037
|
var nullableTime = nullable(time);
|
|
11017
11038
|
var link2 = strictObject({
|
|
11018
11039
|
id,
|
|
@@ -11186,7 +11207,19 @@ var taskReview = strictObject({
|
|
|
11186
11207
|
untrusted
|
|
11187
11208
|
});
|
|
11188
11209
|
|
|
11189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
11211
|
+
var template = strictObject({
|
|
11212
|
+
key: text,
|
|
11213
|
+
channel: picklist(["telegram", "email", "text"]),
|
|
11214
|
+
language: text,
|
|
11215
|
+
about: text,
|
|
11216
|
+
renders: boolean(),
|
|
11217
|
+
source: picklist(["stored", "default"]),
|
|
11218
|
+
updated_at: nullable(time),
|
|
11219
|
+
updated_by: nullable(text)
|
|
11220
|
+
});
|
|
11221
|
+
|
|
11222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11190
11223
|
var topic = strictObject({
|
|
11191
11224
|
id,
|
|
11192
11225
|
title: text,
|
|
@@ -11200,7 +11233,7 @@ var topic = strictObject({
|
|
|
11200
11233
|
untrusted
|
|
11201
11234
|
});
|
|
11202
11235
|
|
|
11203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11204
11237
|
var ENTITIES = {
|
|
11205
11238
|
sync_progress: progress,
|
|
11206
11239
|
deal,
|
|
@@ -11288,6 +11321,7 @@ var ENTITIES = {
|
|
|
11288
11321
|
account_session: accountSession,
|
|
11289
11322
|
account_change: accountChange,
|
|
11290
11323
|
ended_account_sessions: endedAccountSessions,
|
|
11324
|
+
account_removal: accountRemoval,
|
|
11291
11325
|
account_privacy: accountPrivacy,
|
|
11292
11326
|
account_privacy_change: accountPrivacyChange,
|
|
11293
11327
|
account_profile: accountProfile,
|
|
@@ -11480,14 +11514,15 @@ var ENTITIES = {
|
|
|
11480
11514
|
tracked_chat: trackedChat,
|
|
11481
11515
|
tracked_chat_history: trackedChatHistory,
|
|
11482
11516
|
chat_tracking: chatTracking,
|
|
11483
|
-
task_stats: taskStats
|
|
11517
|
+
task_stats: taskStats,
|
|
11518
|
+
template
|
|
11484
11519
|
};
|
|
11485
11520
|
var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.entries(ENTITIES).map(([name, schema2]) => {
|
|
11486
11521
|
const { $schema: _, ...definition } = jsonSchemaOf(schema2);
|
|
11487
11522
|
return [name, definition];
|
|
11488
11523
|
})), "entityDefinitions");
|
|
11489
11524
|
|
|
11490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11491
11526
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11492
11527
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11493
11528
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11521,7 +11556,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11521
11556
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11522
11557
|
}, "answerRow");
|
|
11523
11558
|
|
|
11524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11525
11560
|
import { join as join6 } from "node:path";
|
|
11526
11561
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11527
11562
|
var IMAGE_MODELS = [
|
|
@@ -11575,7 +11610,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11575
11610
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11576
11611
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11577
11612
|
|
|
11578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11579
11614
|
var STEPS2 = defineSteps([
|
|
11580
11615
|
...STEPS,
|
|
11581
11616
|
{
|
|
@@ -11853,7 +11888,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11853
11888
|
].join(" ");
|
|
11854
11889
|
}, "stepLine");
|
|
11855
11890
|
|
|
11856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11857
11892
|
var where = [{ field: "ref" }];
|
|
11858
11893
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11859
11894
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11945,7 +11980,7 @@ var STATUS_ROWS = {
|
|
|
11945
11980
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11946
11981
|
};
|
|
11947
11982
|
|
|
11948
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11949
11984
|
var TEXT_CHARS = 400;
|
|
11950
11985
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11951
11986
|
var messageRow = {
|
|
@@ -12311,7 +12346,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12311
12346
|
return lines.concat(footerOf(body)).join("\n");
|
|
12312
12347
|
}, "compactText");
|
|
12313
12348
|
|
|
12314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12315
12350
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12316
12351
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12317
12352
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12358,7 +12393,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12358
12393
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12359
12394
|
}, "largeAnswerSteps");
|
|
12360
12395
|
|
|
12361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12362
12397
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12363
12398
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12364
12399
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12372,7 +12407,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12372
12407
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12373
12408
|
}, "strip");
|
|
12374
12409
|
|
|
12375
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12376
12411
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12377
12412
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12378
12413
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12623,6 +12658,7 @@ export {
|
|
|
12623
12658
|
repairConfigText,
|
|
12624
12659
|
permissionIssues,
|
|
12625
12660
|
settingPathOf,
|
|
12661
|
+
withoutPath,
|
|
12626
12662
|
withoutSetting,
|
|
12627
12663
|
publicIssue,
|
|
12628
12664
|
fixVerb,
|
|
@@ -12630,6 +12666,7 @@ export {
|
|
|
12630
12666
|
checkConfigText,
|
|
12631
12667
|
readConfigText,
|
|
12632
12668
|
readConfigFile,
|
|
12669
|
+
accountFileFor,
|
|
12633
12670
|
rememberAccount,
|
|
12634
12671
|
recalledAccount,
|
|
12635
12672
|
withSettingDefaults,
|
|
@@ -12656,6 +12693,7 @@ export {
|
|
|
12656
12693
|
grantsAuthority,
|
|
12657
12694
|
changesAuthority,
|
|
12658
12695
|
changesAuthorityAt,
|
|
12696
|
+
logsInOrOut,
|
|
12659
12697
|
destroysNothing,
|
|
12660
12698
|
proposesOnly,
|
|
12661
12699
|
changesStore,
|
|
@@ -12730,6 +12768,7 @@ export {
|
|
|
12730
12768
|
sendAttempt,
|
|
12731
12769
|
storeTable,
|
|
12732
12770
|
tagging,
|
|
12771
|
+
template,
|
|
12733
12772
|
topic,
|
|
12734
12773
|
ENTITIES,
|
|
12735
12774
|
entityDefinitions,
|