@wirecat/cli-memo 0.131.36 → 0.131.38
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-AVDSOFZL.js → all-profiles-W26PFZ2J.js} +5 -5
- package/dist/bundle/{anthropic-CRPI5XLD.js → anthropic-SY6QPTQW.js} +3 -3
- package/dist/bundle/{app-server-PIXX4CXT.js → app-server-WUXDTYU4.js} +35 -35
- package/dist/bundle/auto-2TNLCAEM.js +86 -0
- package/dist/bundle/{bun-JOD7BLWG.js → bun-O3KE32D7.js} +2 -2
- package/dist/bundle/{bun-sqlite-IW42RA6B.js → bun-sqlite-5X2NBSLA.js} +2 -2
- package/dist/bundle/{chunk-4BWAVNRU.js → chunk-2EDP7PDR.js} +258 -258
- package/dist/bundle/{chunk-BRMII52T.js → chunk-2IST54UV.js} +9 -9
- package/dist/bundle/{chunk-XSS6U6VL.js → chunk-2Q4DYGNU.js} +2 -2
- package/dist/bundle/{chunk-EUZGV5UK.js → chunk-32WLB6I3.js} +1 -1
- package/dist/bundle/{chunk-G4N6CIFO.js → chunk-374FSLTB.js} +5 -5
- package/dist/bundle/{chunk-JPVAIMPJ.js → chunk-3G63U4VK.js} +9 -9
- package/dist/bundle/{chunk-PWKO36K4.js → chunk-43CMY3YD.js} +1 -1
- package/dist/bundle/{chunk-ZFIBNKLW.js → chunk-4AXSD77N.js} +1 -1
- package/dist/bundle/{chunk-D57K44OV.js → chunk-4CADISNA.js} +1 -1
- package/dist/bundle/{chunk-TW5YX26Q.js → chunk-4CD37FZU.js} +5 -5
- package/dist/bundle/{chunk-7U7U2UZV.js → chunk-4NJQJZRO.js} +1 -1
- package/dist/bundle/{chunk-CC2EUMMM.js → chunk-4OF64T67.js} +1 -1
- package/dist/bundle/{chunk-X3WEAVIH.js → chunk-5EBYGKZB.js} +1 -1
- package/dist/bundle/{chunk-HQJBQWFQ.js → chunk-5J5RTJUJ.js} +1 -1
- package/dist/bundle/{chunk-QRYSVOUH.js → chunk-5ZKNRR6O.js} +48 -33
- package/dist/bundle/{chunk-XCO6NBTE.js → chunk-75QQ7MLH.js} +8 -8
- package/dist/bundle/{chunk-RZLEQP2H.js → chunk-7P3PM3OL.js} +7 -7
- package/dist/bundle/{chunk-EW2T73CA.js → chunk-AJ4SVCBD.js} +259 -251
- package/dist/bundle/{chunk-T5IRZA25.js → chunk-AOFYLQK2.js} +2 -2
- package/dist/bundle/{chunk-6Z5SDRME.js → chunk-B4LT2DHH.js} +4 -4
- package/dist/bundle/{chunk-YVYOZY5K.js → chunk-CEENCS5P.js} +6 -6
- package/dist/bundle/{chunk-T676QOXT.js → chunk-CEOXSWU3.js} +2 -2
- package/dist/bundle/{chunk-EFF5JJRJ.js → chunk-CVCL77DZ.js} +4 -4
- package/dist/bundle/{chunk-CBFO5NLX.js → chunk-CXWKBOKQ.js} +3 -3
- package/dist/bundle/{chunk-QIRO6B6C.js → chunk-DVHDIQBI.js} +4 -4
- package/dist/bundle/{chunk-UKSL7QZD.js → chunk-F4BXYTIW.js} +7 -7
- package/dist/bundle/{chunk-LTP2EEXM.js → chunk-FOQBIEL5.js} +1 -1
- package/dist/bundle/{chunk-VR6FNEFZ.js → chunk-GSVNF5TX.js} +4 -4
- package/dist/bundle/{chunk-WVJFUHQS.js → chunk-GXCXOITM.js} +20 -20
- package/dist/bundle/{chunk-RPZQ3DSX.js → chunk-HJTDA7AE.js} +5 -5
- package/dist/bundle/{chunk-BFKNZMRN.js → chunk-J7FP7PRV.js} +150 -150
- package/dist/bundle/{chunk-AOZMZXFQ.js → chunk-JT36R23P.js} +7 -7
- package/dist/bundle/{chunk-4AMCA6VQ.js → chunk-K3GMQLFM.js} +2 -2
- package/dist/bundle/{chunk-2JZKVNFL.js → chunk-L2CXODLV.js} +7 -1
- package/dist/bundle/{chunk-ZLFFEGX6.js → chunk-L2M3LTQQ.js} +1 -1
- package/dist/bundle/{chunk-CIWU756L.js → chunk-LV6FBPUQ.js} +11 -11
- package/dist/bundle/{chunk-VWWUJKLO.js → chunk-M3TUIVRK.js} +5 -5
- package/dist/bundle/{chunk-JBMSXV2A.js → chunk-O762IE2F.js} +1 -1
- package/dist/bundle/{chunk-VIWOYM4L.js → chunk-QM5CNTGT.js} +20 -20
- package/dist/bundle/{chunk-KAODXBUF.js → chunk-QP7BTVMT.js} +2 -2
- package/dist/bundle/{chunk-6J6OO4BJ.js → chunk-QTLYWZXB.js} +3 -3
- package/dist/bundle/{chunk-34BMGIFI.js → chunk-RS5WAI7D.js} +3 -3
- package/dist/bundle/{chunk-E7IJTHAC.js → chunk-S2K3FWLA.js} +12 -12
- package/dist/bundle/{chunk-GZZQDHUT.js → chunk-S5KSC4B3.js} +27 -27
- package/dist/bundle/{chunk-UKIZBDD3.js → chunk-SDIKN2OR.js} +10 -10
- package/dist/bundle/{chunk-JU5Q3AZD.js → chunk-SSQDA7X6.js} +4 -4
- package/dist/bundle/{chunk-G7N3ID6S.js → chunk-TJNW4L7P.js} +43 -43
- package/dist/bundle/{chunk-GAC4FF6K.js → chunk-TJXVMLK4.js} +1 -1
- package/dist/bundle/{chunk-YCLV7AAF.js → chunk-TXJYVD5U.js} +1 -1
- package/dist/bundle/{chunk-HPUUJVTP.js → chunk-UUD4QHAN.js} +4 -4
- package/dist/bundle/{chunk-WORCFDZN.js → chunk-UWJ3RJF4.js} +2 -2
- package/dist/bundle/{chunk-FKRD3KGN.js → chunk-WRZP6DJT.js} +54 -54
- package/dist/bundle/{chunk-PXOZGHXR.js → chunk-WVXTZWH3.js} +1 -1
- package/dist/bundle/{chunk-RDXN52I6.js → chunk-XCAGVFRC.js} +278 -278
- package/dist/bundle/{chunk-VBAAW3FK.js → chunk-XLUOKHFN.js} +3 -3
- package/dist/bundle/{chunk-WGLE4R45.js → chunk-ZMZVRVCK.js} +2 -2
- package/dist/bundle/{chunk-WUF3P4DX.js → chunk-ZP7F76D3.js} +1 -1
- package/dist/bundle/{command-contract-BAHAQIPW.js → command-contract-FRRW2Z4S.js} +11 -11
- package/dist/bundle/{decode-ANYCY5PK.js → decode-RVPTVZ3W.js} +2 -2
- package/dist/bundle/{echarts-NH42736V.js → echarts-CW6DTALT.js} +2 -2
- package/dist/bundle/{embed-34XKENNN.js → embed-VXWYSZ7X.js} +3 -3
- package/dist/bundle/{embedder-GMTQ6CUJ.js → embedder-QX3GSPBN.js} +6 -6
- package/dist/bundle/{entry-W2JUZTXL.js → entry-LBDVYMDG.js} +4 -4
- package/dist/bundle/failure-NBJBRA6G.js +66 -0
- package/dist/bundle/{first-run-MAHEEKHT.js → first-run-VPR5YFMD.js} +5 -5
- package/dist/bundle/{first-screen-X4SVIRMT.js → first-screen-WRKQ4GAM.js} +12 -12
- package/dist/bundle/{instructions-YOSNFLTK.js → instructions-2XLUHPQH.js} +1 -1
- package/dist/bundle/{mcp-CAMU2OWN.js → mcp-RD54TNKO.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-O3XV2354.js → node-AQ7O3PGH.js} +2 -2
- package/dist/bundle/{node-sqlite-MJDZN4PN.js → node-sqlite-RKDBK624.js} +3 -3
- package/dist/bundle/{oauth-KEGXZT2C.js → oauth-ZQCL2HPA.js} +4 -4
- package/dist/bundle/{open-I3I57V2N.js → open-ME6M3BWL.js} +2 -2
- package/dist/bundle/{openai-VCEX4PW3.js → openai-PHW5QKNC.js} +7 -7
- package/dist/bundle/{process-BAT3Q3LY.js → process-4HJLMEHS.js} +1 -1
- package/dist/bundle/{program-IH6EXRJR.js → program-EVPU3PMC.js} +83 -61
- package/dist/bundle/{prompt-3AD7X52P.js → prompt-U5JMQJPC.js} +2 -2
- package/dist/bundle/{recognize-AMFTP45O.js → recognize-OYKFXOLL.js} +1 -1
- package/dist/bundle/{remote-Z5V5EKS4.js → remote-IXABNXVH.js} +4 -4
- package/dist/bundle/{rerank-PUDPLKON.js → rerank-6ASLHI5I.js} +4 -4
- package/dist/bundle/{serve-ZRBPK4GW.js → serve-ZYQO2Z23.js} +6 -6
- package/dist/bundle/{server-CJ5CMNEO.js → server-5XHYKDVY.js} +50 -50
- package/dist/bundle/server-BMXFJO2T.js +61 -0
- package/dist/bundle/server-V7JU6YLA.js +48 -0
- package/dist/bundle/{state-BVVIF6M3.js → state-5W7BQVQO.js} +3 -3
- package/dist/bundle/{store-2U3EY4N5.js → store-6WW7XV2O.js} +9 -9
- package/dist/bundle/store-maintenance-command-YPNP663U.js +48 -0
- package/dist/bundle/update-CVHXLX72.js +69 -0
- package/dist/examples.js +1 -1
- package/dist/examples.js.map +1 -1
- package/dist/mail/findings-command.d.ts +1 -1
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +29 -4
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +1 -0
- package/dist/mail/review-command.js.map +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/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/mail.md +2 -1
- package/skills/mail-triage/SKILL.md +21 -19
- package/dist/bundle/auto-QK6SSRWW.js +0 -86
- package/dist/bundle/failure-UOGNX3CX.js +0 -66
- package/dist/bundle/server-423F624R.js +0 -48
- package/dist/bundle/server-GHZF2UHL.js +0 -61
- package/dist/bundle/store-maintenance-command-MSYIPYY3.js +0 -48
- package/dist/bundle/update-NQNVV57J.js +0 -69
- /package/dist/bundle/{chunk-2HSW646W.js → chunk-FEJOKQPV.js} +0 -0
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-O762IE2F.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UWJ3RJF4.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
calledTools,
|
|
23
23
|
httpActivityFile,
|
|
24
24
|
httpLock
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SSQDA7X6.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError
|
|
28
28
|
} from "./chunk-RZ54DSVU.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
__name
|
|
31
31
|
} from "./chunk-ZVVMGPBJ.js";
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
34
34
|
import { randomUUID } from "node:crypto";
|
|
35
35
|
var MCP_PATH = "/mcp";
|
|
36
36
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SSQDA7X6.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -856,7 +856,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
856
856
|
}, "matches");
|
|
857
857
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
858
858
|
|
|
859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
860
860
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
861
861
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
862
862
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -893,7 +893,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text5) => {
|
|
|
893
893
|
}, "parseMeetingReference");
|
|
894
894
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text5) => formatMeetingReference(parseMeetingReference(text5)), "canonicalMeetingReference");
|
|
895
895
|
|
|
896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
897
897
|
var text = string();
|
|
898
898
|
var count = pipe(number(), integer(), minValue(0));
|
|
899
899
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -958,7 +958,7 @@ var MEETING_QUERY = {
|
|
|
958
958
|
})
|
|
959
959
|
};
|
|
960
960
|
|
|
961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
962
962
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
963
963
|
const parsed = urlOf(url);
|
|
964
964
|
if (!parsed)
|
|
@@ -992,7 +992,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
992
992
|
}
|
|
993
993
|
}, "urlOf");
|
|
994
994
|
|
|
995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
996
996
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
997
997
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
998
998
|
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");
|
|
@@ -1025,7 +1025,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1025
1025
|
return kept;
|
|
1026
1026
|
}, "entryMetadata");
|
|
1027
1027
|
|
|
1028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1029
1029
|
import { createHash } from "node:crypto";
|
|
1030
1030
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1031
1031
|
reference: cue2.reference,
|
|
@@ -1039,7 +1039,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1039
1039
|
text: cue2.text
|
|
1040
1040
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1041
1041
|
|
|
1042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1042
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1043
1043
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1044
1044
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1045
1045
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1062,7 +1062,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1062
1062
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1063
1063
|
}, "entryInWindow");
|
|
1064
1064
|
|
|
1065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1066
1066
|
var text2 = string();
|
|
1067
1067
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1068
1068
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1297,7 +1297,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1297
1297
|
};
|
|
1298
1298
|
}, "meetingHitsList");
|
|
1299
1299
|
|
|
1300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1301
1301
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text5) => text5.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1302
1302
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1303
1303
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1321,7 +1321,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1321
1321
|
};
|
|
1322
1322
|
}, "validateMeetingParticipantSearch");
|
|
1323
1323
|
|
|
1324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1325
1325
|
var MeetingError = class extends CliError {
|
|
1326
1326
|
static {
|
|
1327
1327
|
__name(this, "MeetingError");
|
|
@@ -1453,7 +1453,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1453
1453
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1454
1454
|
}, "meetingSummaryAnswer");
|
|
1455
1455
|
|
|
1456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1457
1457
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1458
1458
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1459
1459
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1549,7 +1549,7 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1549
1549
|
};
|
|
1550
1550
|
}, "exportMeeting");
|
|
1551
1551
|
|
|
1552
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
1553
1553
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1554
1554
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
1555
1555
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -1643,10 +1643,10 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
1643
1643
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
1644
1644
|
}, "paymentTitle");
|
|
1645
1645
|
|
|
1646
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1646
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1647
1647
|
import { createHash as createHash2 } from "node:crypto";
|
|
1648
1648
|
|
|
1649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1650
1650
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1651
1651
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1652
1652
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone`);
|
|
@@ -1657,7 +1657,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1657
1657
|
return new Date(value).toISOString();
|
|
1658
1658
|
}, "meetingTimestamp");
|
|
1659
1659
|
|
|
1660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1661
1661
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1662
1662
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1663
1663
|
throw new CliError("validation_error", message);
|
|
@@ -1816,7 +1816,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1816
1816
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1817
1817
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1818
1818
|
|
|
1819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1820
1820
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1821
1821
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1822
1822
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1827,7 +1827,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1827
1827
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1828
1828
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1829
1829
|
|
|
1830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1831
1831
|
var text3 = string();
|
|
1832
1832
|
var identifier = pipe(text3, minLength(1));
|
|
1833
1833
|
var nullableText = nullable(text3);
|
|
@@ -1960,7 +1960,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
1960
1960
|
meeting_repair: repair
|
|
1961
1961
|
};
|
|
1962
1962
|
|
|
1963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1963
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1964
1964
|
var EVENT_QUERY = defineQuery({
|
|
1965
1965
|
entity: "event",
|
|
1966
1966
|
backend: "sql",
|
|
@@ -1976,7 +1976,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1976
1976
|
]
|
|
1977
1977
|
});
|
|
1978
1978
|
|
|
1979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1980
1980
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1981
1981
|
const current = await store.meeting(details.meeting.id);
|
|
1982
1982
|
if (!current)
|
|
@@ -2019,7 +2019,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
2019
2019
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
2020
2020
|
}, "linkEvent");
|
|
2021
2021
|
|
|
2022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
2023
2023
|
var context = {
|
|
2024
2024
|
command: "search meetings",
|
|
2025
2025
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -2138,7 +2138,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text5) => {
|
|
|
2138
2138
|
return { version: 1, language: "lucene-v1", root };
|
|
2139
2139
|
}, "meetingWordsQuery");
|
|
2140
2140
|
|
|
2141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2142
2142
|
var LATIN_WORDS = {
|
|
2143
2143
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2144
2144
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2187,7 +2187,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2187
2187
|
return null;
|
|
2188
2188
|
}, "transcriptLanguage");
|
|
2189
2189
|
|
|
2190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2191
2191
|
var contentHash = /* @__PURE__ */ __name(async (text5) => {
|
|
2192
2192
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text5));
|
|
2193
2193
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2224,7 +2224,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2224
2224
|
return time;
|
|
2225
2225
|
}, "timestamp");
|
|
2226
2226
|
|
|
2227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2228
2228
|
var TranscriptTextError = class extends Error {
|
|
2229
2229
|
static {
|
|
2230
2230
|
__name(this, "TranscriptTextError");
|
|
@@ -2279,7 +2279,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2279
2279
|
return { header, lines };
|
|
2280
2280
|
}, "parseTranscriptText");
|
|
2281
2281
|
|
|
2282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2283
2283
|
var VttError = class extends Error {
|
|
2284
2284
|
static {
|
|
2285
2285
|
__name(this, "VttError");
|
|
@@ -2331,7 +2331,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2331
2331
|
return cues;
|
|
2332
2332
|
}, "parseVtt");
|
|
2333
2333
|
|
|
2334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2335
2335
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2336
2336
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2337
2337
|
for (const file of files) {
|
|
@@ -2364,10 +2364,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2364
2364
|
return report;
|
|
2365
2365
|
}, "importFiles");
|
|
2366
2366
|
|
|
2367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2368
2368
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2369
2369
|
|
|
2370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2370
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2371
2371
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2372
2372
|
const provider = scope2?.provider;
|
|
2373
2373
|
const account = scope2?.account;
|
|
@@ -2376,7 +2376,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2376
2376
|
return Object.freeze({ provider, account });
|
|
2377
2377
|
}, "snapshotMeetingScope");
|
|
2378
2378
|
|
|
2379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2380
2380
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2381
2381
|
if (typeof value !== "string" || !value.trim())
|
|
2382
2382
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2427,7 +2427,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2427
2427
|
return Object.freeze(result);
|
|
2428
2428
|
}, "validateMeetingChange");
|
|
2429
2429
|
|
|
2430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2431
2431
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2432
2432
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2433
2433
|
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)))
|
|
@@ -2440,7 +2440,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2440
2440
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2441
2441
|
}, "validateMeetingPassage");
|
|
2442
2442
|
|
|
2443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2444
2444
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2445
2445
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2446
2446
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2465,7 +2465,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2465
2465
|
return { ...input, limit, maxReadBytes };
|
|
2466
2466
|
}, "validateMeetingPreparationContext");
|
|
2467
2467
|
|
|
2468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2469
2469
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2470
2470
|
var id = pipe(string(), minLength(1));
|
|
2471
2471
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2586,7 +2586,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2586
2586
|
};
|
|
2587
2587
|
}, "meetingProjectEvidenceAnswer");
|
|
2588
2588
|
|
|
2589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2590
2590
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2591
2591
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2592
2592
|
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) || [
|
|
@@ -2606,7 +2606,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2606
2606
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2607
2607
|
}, "validateMeetingHitSearch");
|
|
2608
2608
|
|
|
2609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2610
2610
|
var ids = {
|
|
2611
2611
|
meeting_id: "meetingId",
|
|
2612
2612
|
identity_id: "participantIdentityId",
|
|
@@ -2697,7 +2697,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2697
2697
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2698
2698
|
}, "prepareMeetingProjectEvidence");
|
|
2699
2699
|
|
|
2700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2701
2701
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2702
2702
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2703
2703
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2705,7 +2705,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2705
2705
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2706
2706
|
}, "readMeetingProjectEvidence");
|
|
2707
2707
|
|
|
2708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2709
2709
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2710
2710
|
const { identityExternalId, ...fields } = p;
|
|
2711
2711
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2844,7 +2844,7 @@ unlinked`, format)],
|
|
|
2844
2844
|
return report;
|
|
2845
2845
|
}, "pull");
|
|
2846
2846
|
|
|
2847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2848
2848
|
var text4 = string();
|
|
2849
2849
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2850
2850
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -3038,10 +3038,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3038
3038
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3039
3039
|
}), "eventItem");
|
|
3040
3040
|
|
|
3041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3042
3042
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3043
3043
|
|
|
3044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3045
3045
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3046
3046
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3047
3047
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3071,14 +3071,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3071
3071
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3072
3072
|
}, "validateMeetingRelatedHistory");
|
|
3073
3073
|
|
|
3074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3075
3075
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3076
3076
|
|
|
3077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3077
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3078
3078
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3079
3079
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3080
3080
|
|
|
3081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3081
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3082
3082
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3083
3083
|
input.signal?.throwIfAborted();
|
|
3084
3084
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3099,7 +3099,7 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3099
3099
|
return { ...input, limit, maxReadBytes };
|
|
3100
3100
|
}, "validateMeetingSeriesHistory");
|
|
3101
3101
|
|
|
3102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3103
3103
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3104
3104
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3105
3105
|
}, "invalid");
|
|
@@ -3168,7 +3168,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3168
3168
|
return result;
|
|
3169
3169
|
}, "readOccurrenceSchedule");
|
|
3170
3170
|
|
|
3171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3172
3172
|
function invalid5(field, response = false) {
|
|
3173
3173
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3174
3174
|
}
|
|
@@ -3197,7 +3197,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3197
3197
|
cursorDetails(value);
|
|
3198
3198
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3199
3199
|
|
|
3200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3201
3201
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3202
3202
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3203
3203
|
const zone = timeZone ?? "UTC";
|
|
@@ -3332,7 +3332,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3332
3332
|
};
|
|
3333
3333
|
}, "aggregateMeetingStats");
|
|
3334
3334
|
|
|
3335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3336
3336
|
var cancelled = /* @__PURE__ */ __name((signal) => {
|
|
3337
3337
|
if (!signal?.aborted)
|
|
3338
3338
|
return;
|
|
@@ -3402,7 +3402,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope2, port) => {
|
|
|
3402
3402
|
};
|
|
3403
3403
|
}, "createUpcomingMeetingReader");
|
|
3404
3404
|
|
|
3405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
3406
3406
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
3407
3407
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
3408
3408
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -3416,7 +3416,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
3416
3416
|
return tag;
|
|
3417
3417
|
}, "normalizeTag");
|
|
3418
3418
|
|
|
3419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
3420
3420
|
var LINK_KINDS = [
|
|
3421
3421
|
"links-to",
|
|
3422
3422
|
"blocked-by",
|
|
@@ -3437,7 +3437,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
3437
3437
|
var RELATION_KINDS = ["member-of", "related-to"];
|
|
3438
3438
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
3439
3439
|
|
|
3440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
3441
3441
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
3442
3442
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
3443
3443
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -3452,7 +3452,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
3452
3452
|
}
|
|
3453
3453
|
__name(closeTask, "closeTask");
|
|
3454
3454
|
|
|
3455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
3456
3456
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
3457
3457
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
3458
3458
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -3481,13 +3481,13 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
3481
3481
|
}, "priorityOf");
|
|
3482
3482
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
3483
3483
|
|
|
3484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
3485
3485
|
function matches2(task, filter) {
|
|
3486
3486
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
3487
3487
|
}
|
|
3488
3488
|
__name(matches2, "matches");
|
|
3489
3489
|
|
|
3490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
3491
3491
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
3492
3492
|
async function find(id3) {
|
|
3493
3493
|
const task = await store.get(id3);
|
|
@@ -3547,7 +3547,7 @@ function median(values) {
|
|
|
3547
3547
|
}
|
|
3548
3548
|
__name(median, "median");
|
|
3549
3549
|
|
|
3550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
3551
3551
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
3552
3552
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
3553
3553
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -3555,7 +3555,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
3555
3555
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
3556
3556
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
3557
3557
|
|
|
3558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
3559
3559
|
var CURRENCY_SCALES = {
|
|
3560
3560
|
AED: 2,
|
|
3561
3561
|
AMD: 2,
|
|
@@ -3640,7 +3640,7 @@ var quantityOf = /* @__PURE__ */ __name((text5) => {
|
|
|
3640
3640
|
}, "quantityOf");
|
|
3641
3641
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
3642
3642
|
|
|
3643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
3644
3644
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
3645
3645
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
3646
3646
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -3669,7 +3669,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
3669
3669
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
3670
3670
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
3671
3671
|
|
|
3672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
3673
3673
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
3674
3674
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
3675
3675
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|