@wirecat/mail-cli 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +10 -7
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-52LCOKSL.js → all-profiles-55XPXQHY.js} +5 -5
- package/dist/bundle/{anthropic-HPW7PLTT.js → anthropic-K5B6I4LB.js} +3 -3
- package/dist/bundle/{app-server-Y7XSPVHJ.js → app-server-VWWLQLTZ.js} +39 -39
- package/dist/bundle/{bun-B7YXDIMT.js → bun-EO7AI6YP.js} +2 -2
- package/dist/bundle/{bun-sqlite-TTTKY7H2.js → bun-sqlite-F24A4IOP.js} +2 -2
- package/dist/bundle/{chunk-C6E3VFUX.js → chunk-2ADB5DSG.js} +2 -2
- package/dist/bundle/{chunk-LJDOPCPW.js → chunk-2LP46EUH.js} +91 -91
- package/dist/bundle/{chunk-FX77WAQL.js → chunk-2NZGUKYK.js} +6 -6
- package/dist/bundle/{chunk-PYIJCWCH.js → chunk-4KLJN3LK.js} +11 -11
- package/dist/bundle/{chunk-FGNTGLWA.js → chunk-5RUTHKXZ.js} +3 -3
- package/dist/bundle/{chunk-KALDYMKJ.js → chunk-6BNMEOVS.js} +3 -3
- package/dist/bundle/{chunk-RVIMMCHF.js → chunk-6BR6JMCR.js} +9 -9
- package/dist/bundle/{chunk-MXUUQXMA.js → chunk-7IYDIU4P.js} +5 -5
- package/dist/bundle/{chunk-IXHLMSHV.js → chunk-7QQ4EMYF.js} +2 -2
- package/dist/bundle/{chunk-O2F54PUO.js → chunk-7X64JS6S.js} +1 -1
- package/dist/bundle/{chunk-V7NZTJKU.js → chunk-ANRI6EZY.js} +7 -7
- package/dist/bundle/{chunk-X7TFD5SX.js → chunk-BHKI5OCD.js} +1 -1
- package/dist/bundle/{chunk-I2ARI6FI.js → chunk-CADRRSQK.js} +1 -1
- package/dist/bundle/{chunk-KXVZ373I.js → chunk-CCNHVZ3G.js} +299 -266
- package/dist/bundle/{chunk-TL7PE6JU.js → chunk-CSI73XJ5.js} +6 -6
- package/dist/bundle/{chunk-5LY3OS7U.js → chunk-EDKV6D6T.js} +1 -1
- package/dist/bundle/{chunk-VTJDEWMB.js → chunk-EOEYP7CJ.js} +2 -2
- package/dist/bundle/{chunk-5SSFYIFF.js → chunk-F6JTOQIK.js} +5 -4
- package/dist/bundle/{chunk-JXYFIUVX.js → chunk-F7KAJNNK.js} +4 -4
- package/dist/bundle/{chunk-N5WIUNOT.js → chunk-FFKNUVVD.js} +1 -1
- package/dist/bundle/{chunk-RMYYKBFW.js → chunk-H7K2DN3R.js} +7 -7
- package/dist/bundle/{chunk-ZIJJNH47.js → chunk-HJEMHZRU.js} +1 -1
- package/dist/bundle/{chunk-XD3TL4BK.js → chunk-HORM6VRV.js} +1 -1
- package/dist/bundle/{chunk-FUXSKWWJ.js → chunk-HUB42T2Z.js} +46 -46
- package/dist/bundle/{chunk-DKKCQMDM.js → chunk-ID24SLH3.js} +16 -16
- package/dist/bundle/{chunk-JDOOPGKW.js → chunk-IIO6NXCA.js} +2 -2
- package/dist/bundle/{chunk-Y2HGQK7A.js → chunk-JKHI3PH7.js} +1 -1
- package/dist/bundle/{chunk-QTWIZKUI.js → chunk-JZFIHVRB.js} +26 -26
- package/dist/bundle/{chunk-JHNLU42I.js → chunk-LKDK5YMI.js} +1 -1
- package/dist/bundle/{chunk-732GKOLO.js → chunk-M4NTQ247.js} +10 -10
- package/dist/bundle/{chunk-GX2M3AOO.js → chunk-MGBGE2Y4.js} +2 -2
- package/dist/bundle/{chunk-TNQOKGJS.js → chunk-NL5LNYGX.js} +21 -21
- package/dist/bundle/{chunk-MHNEMDH3.js → chunk-OM4ZBLT7.js} +13 -13
- package/dist/bundle/{chunk-H2JVXO5V.js → chunk-ORYYYM5Y.js} +21 -21
- package/dist/bundle/{chunk-LCA5KC34.js → chunk-QYWDC7NP.js} +43 -43
- package/dist/bundle/{chunk-4UOEUEZZ.js → chunk-RLSGMMGC.js} +4 -4
- package/dist/bundle/{chunk-HS25KDT3.js → chunk-SWRNMYDL.js} +1 -1
- package/dist/bundle/{chunk-TLZWUADZ.js → chunk-SY3SP7EI.js} +5 -5
- package/dist/bundle/{chunk-4PXWXI2U.js → chunk-UJYCKCFR.js} +2 -2
- package/dist/bundle/{chunk-K6SIGXRS.js → chunk-UO7X2VW4.js} +5 -5
- package/dist/bundle/{chunk-PL6UPJIL.js → chunk-UZDHK26H.js} +1 -1
- package/dist/bundle/{chunk-YVIX7FHL.js → chunk-VP5GCMHM.js} +5 -5
- package/dist/bundle/{chunk-RORC2FW7.js → chunk-VWHRIGYJ.js} +2 -2
- package/dist/bundle/{chunk-XQVGIW4R.js → chunk-VWXCEEUH.js} +2 -2
- package/dist/bundle/{chunk-3RDTVH3H.js → chunk-WFBTPZK3.js} +3 -3
- package/dist/bundle/{chunk-RZCFEASJ.js → chunk-X7AXH2IC.js} +195 -195
- package/dist/bundle/{chunk-37MSU5O6.js → chunk-XJ5TBPCK.js} +2 -2
- package/dist/bundle/{chunk-O3DRPTWF.js → chunk-YSSMDVT3.js} +1 -1
- package/dist/bundle/{chunk-C2THROZU.js → chunk-YYTWV5GU.js} +42 -42
- package/dist/bundle/{chunk-SRMJ6LLC.js → chunk-ZAR67WKR.js} +5 -5
- package/dist/bundle/{command-contract-3HA7CZEQ.js → command-contract-L65UZ7AF.js} +13 -13
- package/dist/bundle/{decode-VLI3MAXE.js → decode-ON4KBMEX.js} +2 -2
- package/dist/bundle/{dist-C7LAAMNF.js → dist-FMN7UZ7R.js} +14 -14
- package/dist/bundle/{echarts-POTU3SHN.js → echarts-XPA226QR.js} +2 -2
- package/dist/bundle/{embed-J2DEEEUF.js → embed-QERDAB73.js} +3 -3
- package/dist/bundle/{embedder-5N56V7YJ.js → embedder-I76YT3E5.js} +6 -6
- package/dist/bundle/{first-run-XILZE4PI.js → first-run-KZJFR55N.js} +5 -5
- package/dist/bundle/{first-screen-43VLEDWZ.js → first-screen-EORANEAK.js} +14 -14
- package/dist/bundle/{instructions-B7AUZXPL.js → instructions-NN3BCFIM.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-SZAO6HTA.js → node-2S75QJ6B.js} +2 -2
- package/dist/bundle/{node-sqlite-O34FFLRV.js → node-sqlite-RC7WM3EG.js} +2 -2
- package/dist/bundle/{oauth-YYTLIPJT.js → oauth-FUHLZCKV.js} +4 -4
- package/dist/bundle/{open-SWJGI6H4.js → open-JOKT7LKY.js} +1 -1
- package/dist/bundle/{openai-GYXWCQOV.js → openai-U3IMQ6UI.js} +10 -10
- package/dist/bundle/{process-GLVWCUMK.js → process-LKODK722.js} +1 -1
- package/dist/bundle/{program-HW73TGIF.js → program-RMLIQXCA.js} +918 -604
- package/dist/bundle/{prompt-OZLHHGCD.js → prompt-23VYMNNB.js} +2 -2
- package/dist/bundle/{recognize-RDQSGHC5.js → recognize-TXO3462R.js} +1 -1
- package/dist/bundle/{remote-BKU5P3GK.js → remote-5F4ZOASM.js} +4 -4
- package/dist/bundle/{rerank-EQIXYHKB.js → rerank-TXSDPEFE.js} +4 -4
- package/dist/bundle/{serve-S6K5HKWG.js → serve-TWYECYWM.js} +6 -6
- package/dist/bundle/server-2GEAXKX2.js +63 -0
- package/dist/bundle/{server-4VRVHPQC.js → server-3S3BKE6D.js} +31 -31
- package/dist/bundle/{sqlite-runtime-OOE455YM.js → sqlite-runtime-BEOBGC6K.js} +2 -2
- package/dist/bundle/{state-OLPOJ2TY.js → state-ERWIUTQQ.js} +3 -3
- package/dist/bundle/{store-6AVCPLH4.js → store-2JO4JGQL.js} +11 -9
- package/dist/bundle/{store-WFV26CWY.js → store-4RY5UMOP.js} +11 -11
- package/dist/bundle/store-maintenance-command-T7D4OTN7.js +52 -0
- package/dist/commands/read.d.ts +3 -0
- package/dist/commands/read.d.ts.map +1 -0
- package/dist/commands/read.js +33 -0
- package/dist/commands/read.js.map +1 -0
- package/dist/identity.js +1 -1
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/mail-cli/SKILL.md +6 -2
- package/dist/bundle/server-WK6DRJX2.js +0 -63
- package/dist/bundle/store-maintenance-command-S6235I3W.js +0 -52
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
|
|
4
4
|
// dist/version.js
|
|
5
|
-
var VERSION = "0.
|
|
5
|
+
var VERSION = "0.4.0";
|
|
6
6
|
|
|
7
7
|
// dist/identity.js
|
|
8
8
|
var PACKAGE = "@wirecat/mail-cli";
|
|
@@ -10,7 +10,7 @@ var IDENTITY = {
|
|
|
10
10
|
command: "mail",
|
|
11
11
|
appName: "mail-cli",
|
|
12
12
|
envPrefix: "MAIL",
|
|
13
|
-
description: "read mail over IMAP into the shared store, with app passwords kept in the OS keyring",
|
|
13
|
+
description: "read mail over IMAP into the shared store and search it, with app passwords kept in the OS keyring",
|
|
14
14
|
version: VERSION,
|
|
15
15
|
issues: "https://github.com/WireCatLabs/mail-cli/issues/new",
|
|
16
16
|
messenger: false,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
45
45
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
46
46
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
47
47
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -866,7 +866,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
866
866
|
details: [...SPAN, ...details]
|
|
867
867
|
})));
|
|
868
868
|
|
|
869
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
869
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
870
870
|
var text = string();
|
|
871
871
|
var count = pipe(number(), integer(), minValue(0));
|
|
872
872
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -931,7 +931,7 @@ var MEETING_QUERY = {
|
|
|
931
931
|
})
|
|
932
932
|
};
|
|
933
933
|
|
|
934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
935
935
|
var text2 = string();
|
|
936
936
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
937
937
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1158,7 +1158,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1158
1158
|
};
|
|
1159
1159
|
}, "meetingHitsList");
|
|
1160
1160
|
|
|
1161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1162
1162
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1163
1163
|
const parsed = urlOf(url);
|
|
1164
1164
|
if (!parsed)
|
|
@@ -1192,7 +1192,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
}, "urlOf");
|
|
1194
1194
|
|
|
1195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1196
1196
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1197
1197
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1198
1198
|
var htmlToText = /* @__PURE__ */ __name((html) => html.replace(/<\s*br\s*\/?>/giu, "\n").replace(/<\/\s*(p|div|li|tr|h[1-6])\s*>/giu, "\n").replace(/<a\s[^>]*href\s*=\s*"([^"]*)"[^>]*>/giu, " $1 ").replace(/<[^>]+>/gu, "").replace(/&(amp|lt|gt|quot|#39|apos|nbsp);/gu, (_, name) => ENTITIES[name] ?? ""), "htmlToText");
|
|
@@ -1225,7 +1225,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1225
1225
|
return kept;
|
|
1226
1226
|
}, "entryMetadata");
|
|
1227
1227
|
|
|
1228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1229
1229
|
import { createHash } from "node:crypto";
|
|
1230
1230
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1231
1231
|
reference: cue2.reference,
|
|
@@ -1239,7 +1239,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1239
1239
|
text: cue2.text
|
|
1240
1240
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1241
1241
|
|
|
1242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1243
1243
|
var EVENT_QUERY = defineQuery({
|
|
1244
1244
|
entity: "event",
|
|
1245
1245
|
backend: "sql",
|
|
@@ -1255,7 +1255,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1255
1255
|
]
|
|
1256
1256
|
});
|
|
1257
1257
|
|
|
1258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1259
1259
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1260
1260
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1261
1261
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1278,7 +1278,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1278
1278
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1279
1279
|
}, "entryInWindow");
|
|
1280
1280
|
|
|
1281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1282
1282
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1283
1283
|
const current = await store.meeting(details.meeting.id);
|
|
1284
1284
|
if (!current)
|
|
@@ -1321,7 +1321,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1321
1321
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1322
1322
|
}, "linkEvent");
|
|
1323
1323
|
|
|
1324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1325
1325
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1326
1326
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1327
1327
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1345,7 +1345,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1345
1345
|
};
|
|
1346
1346
|
}, "validateMeetingParticipantSearch");
|
|
1347
1347
|
|
|
1348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1349
1349
|
var MeetingError = class extends CliError {
|
|
1350
1350
|
static {
|
|
1351
1351
|
__name(this, "MeetingError");
|
|
@@ -1477,7 +1477,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1477
1477
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1478
1478
|
}, "meetingSummaryAnswer");
|
|
1479
1479
|
|
|
1480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1481
1481
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1482
1482
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1483
1483
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1573,10 +1573,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1573
1573
|
};
|
|
1574
1574
|
}, "exportMeeting");
|
|
1575
1575
|
|
|
1576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1577
1577
|
import { createHash as createHash2 } from "node:crypto";
|
|
1578
1578
|
|
|
1579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1580
1580
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1581
1581
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1582
1582
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -1587,7 +1587,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1587
1587
|
return new Date(value).toISOString();
|
|
1588
1588
|
}, "meetingTimestamp");
|
|
1589
1589
|
|
|
1590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
1591
1591
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
1592
1592
|
if (typeof value !== "string" || !value.trim())
|
|
1593
1593
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -1638,10 +1638,10 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
1638
1638
|
return Object.freeze(result);
|
|
1639
1639
|
}, "validateMeetingChange");
|
|
1640
1640
|
|
|
1641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
1642
1642
|
var MEETING_FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1643
1643
|
|
|
1644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1645
1645
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1646
1646
|
var invalid2 = /* @__PURE__ */ __name((message) => {
|
|
1647
1647
|
throw new CliError("validation_error", message);
|
|
@@ -1742,7 +1742,7 @@ var validateFindings = /* @__PURE__ */ __name((input, rules) => {
|
|
|
1742
1742
|
}, "validateFindings");
|
|
1743
1743
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1744
1744
|
|
|
1745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1746
1746
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1747
1747
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1748
1748
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1753,7 +1753,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1753
1753
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1754
1754
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1755
1755
|
|
|
1756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1757
1757
|
var context = {
|
|
1758
1758
|
command: "search meetings",
|
|
1759
1759
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1816,7 +1816,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
1816
1816
|
});
|
|
1817
1817
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
1818
1818
|
|
|
1819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1820
1820
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
1821
1821
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
1822
1822
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1853,7 +1853,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1853
1853
|
return time;
|
|
1854
1854
|
}, "timestamp");
|
|
1855
1855
|
|
|
1856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1857
1857
|
var TranscriptTextError = class extends Error {
|
|
1858
1858
|
static {
|
|
1859
1859
|
__name(this, "TranscriptTextError");
|
|
@@ -1908,7 +1908,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
1908
1908
|
return { header, lines };
|
|
1909
1909
|
}, "parseTranscriptText");
|
|
1910
1910
|
|
|
1911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
1912
1912
|
var VttError = class extends Error {
|
|
1913
1913
|
static {
|
|
1914
1914
|
__name(this, "VttError");
|
|
@@ -1960,7 +1960,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
1960
1960
|
return cues;
|
|
1961
1961
|
}, "parseVtt");
|
|
1962
1962
|
|
|
1963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
1964
1964
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
1965
1965
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
1966
1966
|
for (const file of files) {
|
|
@@ -1993,10 +1993,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
1993
1993
|
return report;
|
|
1994
1994
|
}, "importFiles");
|
|
1995
1995
|
|
|
1996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
1997
1997
|
var CHAT_MESSAGES_READ = 1e5;
|
|
1998
1998
|
|
|
1999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2000
2000
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2001
2001
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2002
2002
|
if (![before, after].every((value) => Number.isSafeInteger(value) && value >= 0) || before + after > 999 || !Number.isSafeInteger(bytes) || bytes < 2 || bytes > 4194304 || !Number.isSafeInteger(max_read_bytes) || max_read_bytes < 1 || max_read_bytes > 67108864 || expected_fingerprint !== void 0 && (typeof expected_fingerprint !== "string" || !/^[a-f0-9]{64}$/.test(expected_fingerprint)))
|
|
@@ -2009,7 +2009,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2009
2009
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2010
2010
|
}, "validateMeetingPassage");
|
|
2011
2011
|
|
|
2012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2013
2013
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2014
2014
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2015
2015
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2034,7 +2034,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2034
2034
|
return { ...input, limit, maxReadBytes };
|
|
2035
2035
|
}, "validateMeetingPreparationContext");
|
|
2036
2036
|
|
|
2037
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2038
2038
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2039
2039
|
var id = pipe(string(), minLength(1));
|
|
2040
2040
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2155,7 +2155,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2155
2155
|
};
|
|
2156
2156
|
}, "meetingProjectEvidenceAnswer");
|
|
2157
2157
|
|
|
2158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2159
2159
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2160
2160
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2161
2161
|
if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer3(options.limit ?? 100, 1, 1e3) || !integer3(options.maxReadBytes ?? 4194304, 1, 67108864) || [
|
|
@@ -2175,7 +2175,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2175
2175
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2176
2176
|
}, "validateMeetingHitSearch");
|
|
2177
2177
|
|
|
2178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2179
2179
|
var ids = {
|
|
2180
2180
|
meeting_id: "meetingId",
|
|
2181
2181
|
identity_id: "participantIdentityId",
|
|
@@ -2266,7 +2266,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2266
2266
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2267
2267
|
}, "prepareMeetingProjectEvidence");
|
|
2268
2268
|
|
|
2269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2270
2270
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2271
2271
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2272
2272
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2274,7 +2274,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2274
2274
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2275
2275
|
}, "readMeetingProjectEvidence");
|
|
2276
2276
|
|
|
2277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2278
2278
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2279
2279
|
const { identityExternalId, ...fields2 } = p;
|
|
2280
2280
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2413,7 +2413,7 @@ unlinked`, format)],
|
|
|
2413
2413
|
return report;
|
|
2414
2414
|
}, "pull");
|
|
2415
2415
|
|
|
2416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2417
2417
|
var text4 = string();
|
|
2418
2418
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2419
2419
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2585,10 +2585,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2585
2585
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2586
2586
|
}), "eventItem");
|
|
2587
2587
|
|
|
2588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2589
2589
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2590
2590
|
|
|
2591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2592
2592
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2593
2593
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2594
2594
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2618,7 +2618,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2618
2618
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2619
2619
|
}, "validateMeetingRelatedHistory");
|
|
2620
2620
|
|
|
2621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
2622
2622
|
var text5 = string();
|
|
2623
2623
|
var identifier = pipe(text5, minLength(1));
|
|
2624
2624
|
var nullableText = nullable(text5);
|
|
@@ -2744,14 +2744,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
2744
2744
|
meeting_embedding: embedding
|
|
2745
2745
|
};
|
|
2746
2746
|
|
|
2747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2748
2748
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2749
2749
|
|
|
2750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2751
2751
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2752
2752
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2753
2753
|
|
|
2754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2755
2755
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2756
2756
|
input.signal?.throwIfAborted();
|
|
2757
2757
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -2772,10 +2772,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
2772
2772
|
return { ...input, limit, maxReadBytes };
|
|
2773
2773
|
}, "validateMeetingSeriesHistory");
|
|
2774
2774
|
|
|
2775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2775
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
2776
2776
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
2777
2777
|
|
|
2778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
2779
2779
|
function invalid3(field, response = false) {
|
|
2780
2780
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
2781
2781
|
}
|
|
@@ -2804,7 +2804,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
2804
2804
|
cursorDetails(value);
|
|
2805
2805
|
}, "validateMeetingSeriesInventoryCursor");
|
|
2806
2806
|
|
|
2807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
2808
2808
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
2809
2809
|
const zone = timeZone ?? "UTC";
|
|
2810
2810
|
try {
|
|
@@ -2883,7 +2883,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
2883
2883
|
};
|
|
2884
2884
|
}, "aggregateMeetingStats");
|
|
2885
2885
|
|
|
2886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
2887
2887
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
2888
2888
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
2889
2889
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WFBTPZK3.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
commandPathOf,
|
|
7
7
|
findCommand,
|
|
8
8
|
outputOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-7IYDIU4P.js";
|
|
10
|
+
import "./chunk-2LP46EUH.js";
|
|
11
|
+
import "./chunk-HUB42T2Z.js";
|
|
12
|
+
import "./chunk-F6JTOQIK.js";
|
|
13
|
+
import "./chunk-H7K2DN3R.js";
|
|
14
|
+
import "./chunk-VWXCEEUH.js";
|
|
15
|
+
import "./chunk-CADRRSQK.js";
|
|
16
|
+
import "./chunk-5RUTHKXZ.js";
|
|
17
|
+
import "./chunk-2NZGUKYK.js";
|
|
18
|
+
import "./chunk-YYTWV5GU.js";
|
|
19
19
|
import "./chunk-NPGVOZVK.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-F7KAJNNK.js";
|
|
21
|
+
import "./chunk-WFBTPZK3.js";
|
|
22
|
+
import "./chunk-UZDHK26H.js";
|
|
23
23
|
import "./chunk-J3QXTBD2.js";
|
|
24
24
|
import "./chunk-LQ37ALDJ.js";
|
|
25
25
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6BNMEOVS.js";
|
|
7
7
|
import "./chunk-J3QXTBD2.js";
|
|
8
8
|
import "./chunk-LQ37ALDJ.js";
|
|
9
9
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
22
22
|
import { createRequire } from "node:module";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
DETAILS,
|
|
5
5
|
REASONS,
|
|
6
6
|
failureContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VWHRIGYJ.js";
|
|
8
8
|
import {
|
|
9
9
|
pollLines,
|
|
10
10
|
renderMessage,
|
|
11
11
|
renderMessages
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LKDK5YMI.js";
|
|
13
13
|
import {
|
|
14
14
|
ModerationRules,
|
|
15
15
|
act,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
pickChat,
|
|
21
21
|
pickPerson,
|
|
22
22
|
validateFormattedText
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VP5GCMHM.js";
|
|
24
24
|
import {
|
|
25
25
|
readSecret
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2ADB5DSG.js";
|
|
27
27
|
import {
|
|
28
28
|
inputPolicy
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HJEMHZRU.js";
|
|
30
30
|
import "./chunk-HTQTIKWP.js";
|
|
31
31
|
import {
|
|
32
32
|
resolveOutput
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-F6JTOQIK.js";
|
|
34
34
|
import {
|
|
35
35
|
COUNTER_FIELDS,
|
|
36
36
|
FOLDER_PROVIDERS,
|
|
@@ -53,14 +53,14 @@ import {
|
|
|
53
53
|
providers,
|
|
54
54
|
rankingOptions,
|
|
55
55
|
useProviders
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-SY3SP7EI.js";
|
|
57
57
|
import {
|
|
58
58
|
TAG_TYPES,
|
|
59
59
|
canonicalMeetingReference,
|
|
60
60
|
formatMeetingReference,
|
|
61
61
|
normalizeTag,
|
|
62
62
|
parseMeetingReference
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-YYTWV5GU.js";
|
|
64
64
|
import "./chunk-NPGVOZVK.js";
|
|
65
65
|
import {
|
|
66
66
|
indent
|
|
@@ -74,12 +74,12 @@ import {
|
|
|
74
74
|
__name
|
|
75
75
|
} from "./chunk-ZVVMGPBJ.js";
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
78
78
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
79
79
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
80
80
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
81
81
|
|
|
82
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
82
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
83
83
|
var MARKERS = [
|
|
84
84
|
["**", "bold"],
|
|
85
85
|
["~~", "strike"],
|
|
@@ -125,7 +125,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
125
125
|
return end;
|
|
126
126
|
}, "closing");
|
|
127
127
|
|
|
128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
129
129
|
var STYLES = [
|
|
130
130
|
["**", "bold"],
|
|
131
131
|
["__", "underline"],
|
|
@@ -285,7 +285,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
285
285
|
return validateFormattedText(result);
|
|
286
286
|
}, "parseMarkdownSpans");
|
|
287
287
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
289
289
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
290
290
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
291
291
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -1934,7 +1934,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
1934
1934
|
var qrcode_default = qrcode;
|
|
1935
1935
|
var stringToBytes = qrcode.stringToBytes;
|
|
1936
1936
|
|
|
1937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
1938
1938
|
var QUIET_ZONE = 4;
|
|
1939
1939
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
1940
1940
|
var RESET = "\x1B[0m";
|
|
@@ -1981,7 +1981,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
1981
1981
|
return lines.join("\n");
|
|
1982
1982
|
}, "plainQr");
|
|
1983
1983
|
|
|
1984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
1985
1985
|
var MARGIN = 2;
|
|
1986
1986
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
1987
1987
|
var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-ZAR67WKR.js";
|
|
17
|
+
import "./chunk-WFBTPZK3.js";
|
|
18
|
+
import "./chunk-UZDHK26H.js";
|
|
19
19
|
import "./chunk-J3QXTBD2.js";
|
|
20
20
|
import "./chunk-LQ37ALDJ.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|