@wirecat/cli-memo 0.131.72 → 0.131.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-G6S5HOBT.js → all-profiles-L5QBYI3V.js} +5 -5
- package/dist/bundle/{anthropic-LA6PXTPQ.js → anthropic-XXKHNCQS.js} +13 -4
- package/dist/bundle/{app-server-SESNZIAV.js → app-server-FDMP3IBP.js} +35 -35
- package/dist/bundle/auto-YQAECIZA.js +85 -0
- package/dist/bundle/{bun-PZNVNH4G.js → bun-VLN4HBWB.js} +2 -2
- package/dist/bundle/{bun-sqlite-VICDK5FS.js → bun-sqlite-KJCYXNMS.js} +2 -2
- package/dist/bundle/{chunk-FXZ7PQKG.js → chunk-2BH2RNFR.js} +5 -5
- package/dist/bundle/{chunk-RGIS2DRA.js → chunk-2C323QNQ.js} +4 -4
- package/dist/bundle/{chunk-SR7C53CS.js → chunk-3CANRF2G.js} +2 -2
- package/dist/bundle/{chunk-A4UQKFGY.js → chunk-6OPZTBRR.js} +12 -12
- package/dist/bundle/{chunk-I4HWKPQR.js → chunk-6ZRBQTKZ.js} +4 -4
- package/dist/bundle/{chunk-ASDOPGKC.js → chunk-A7QXBRUH.js} +2 -2
- package/dist/bundle/{chunk-IXZWUHSG.js → chunk-B7ATMWVO.js} +7 -7
- package/dist/bundle/{chunk-FOPDWCRG.js → chunk-BBLT77AO.js} +5 -5
- package/dist/bundle/{chunk-NRLXWY4Q.js → chunk-BOZEBD3I.js} +433 -368
- package/dist/bundle/{chunk-FPWF2XLH.js → chunk-BTVND2RV.js} +12 -12
- package/dist/bundle/{chunk-HIHZNBR7.js → chunk-C3UOKLIT.js} +1 -1
- package/dist/bundle/{chunk-UCRR7R6Q.js → chunk-E75LK7GD.js} +2 -2
- package/dist/bundle/{chunk-M2DAITNE.js → chunk-EH7ACKFW.js} +2 -2
- package/dist/bundle/{chunk-MSTWHRLN.js → chunk-EI2P5E4C.js} +1 -1
- package/dist/bundle/{chunk-FHIGY5K6.js → chunk-EQLOQOIB.js} +1 -1
- package/dist/bundle/{chunk-2VETW2QK.js → chunk-FMSXN2N6.js} +482 -369
- package/dist/bundle/{chunk-UX52EWLQ.js → chunk-FSXQLNU4.js} +1 -1
- package/dist/bundle/{chunk-K55WZ67L.js → chunk-H74CWBSY.js} +3 -3
- package/dist/bundle/{chunk-FENNNSCI.js → chunk-HBP7AQXX.js} +5 -5
- package/dist/bundle/{chunk-SVVSGUMU.js → chunk-I6MGDSYH.js} +4 -4
- package/dist/bundle/{chunk-ZM6J47GY.js → chunk-IDCYBSML.js} +2 -2
- package/dist/bundle/{chunk-QUPPO7DB.js → chunk-IKH4RCJO.js} +1 -1
- package/dist/bundle/{chunk-PHL53ERQ.js → chunk-IUEYR3TK.js} +4 -4
- package/dist/bundle/{chunk-MKOQDN3I.js → chunk-J7ESMDVV.js} +1 -1
- package/dist/bundle/{chunk-INQAQ55X.js → chunk-JABLJBXL.js} +80 -76
- package/dist/bundle/{chunk-YBL4QKLV.js → chunk-JLC2RE4Y.js} +46 -46
- package/dist/bundle/{chunk-FDSM2TU6.js → chunk-JPXDDRBD.js} +8 -8
- package/dist/bundle/{chunk-SL2LXOCN.js → chunk-K54MCZWM.js} +2 -2
- package/dist/bundle/{chunk-5XRCF57Z.js → chunk-KK3ZHBMI.js} +1 -1
- package/dist/bundle/{chunk-THPGFRPZ.js → chunk-KQTR6YA4.js} +9 -9
- package/dist/bundle/{chunk-II2SXJEO.js → chunk-LG5SQGNM.js} +28 -28
- package/dist/bundle/{chunk-LIF2HXIQ.js → chunk-LHZ4QBWB.js} +1 -1
- package/dist/bundle/{chunk-6Z62U7NY.js → chunk-LOYI3STE.js} +3 -3
- package/dist/bundle/{chunk-WT2P44YD.js → chunk-MLN4DPXN.js} +10 -10
- package/dist/bundle/{chunk-FVJSDDSV.js → chunk-MM3OMWST.js} +11 -9
- package/dist/bundle/{chunk-G3FQTKHT.js → chunk-NMOWIFH3.js} +7 -7
- package/dist/bundle/{chunk-ESYCZ575.js → chunk-O5KXCQE4.js} +2 -2
- package/dist/bundle/{chunk-CLQXHFKG.js → chunk-OGUXOAOH.js} +5 -5
- package/dist/bundle/{chunk-H3LAORYX.js → chunk-ON7ZROFP.js} +2 -2
- package/dist/bundle/{chunk-KH43CUE2.js → chunk-PAHBDQ5A.js} +5 -5
- package/dist/bundle/{chunk-MAGAWAPG.js → chunk-PF6LXPK5.js} +167 -165
- package/dist/bundle/{chunk-BD7AGXJJ.js → chunk-QHLEMEF3.js} +31 -31
- package/dist/bundle/{chunk-U3P5F57B.js → chunk-R3PK4Y7C.js} +1 -1
- package/dist/bundle/{chunk-G7XOBQB5.js → chunk-RB266FS6.js} +3 -3
- package/dist/bundle/{chunk-IRBYZUI7.js → chunk-SILEPITK.js} +27 -36
- package/dist/bundle/{chunk-STJWETNW.js → chunk-US2HTCJA.js} +4 -4
- package/dist/bundle/{chunk-6B3GQMR6.js → chunk-VPR47AG4.js} +1 -1
- package/dist/bundle/{chunk-3LS76TFB.js → chunk-VQUSPMYO.js} +1 -1
- package/dist/bundle/{chunk-RF6KPQWV.js → chunk-W6JPIP5C.js} +2 -2
- package/dist/bundle/{chunk-XXEHPPNS.js → chunk-WJNLBQSV.js} +1099 -743
- package/dist/bundle/{chunk-XNX3U6GD.js → chunk-X35Q5CHE.js} +6 -6
- package/dist/bundle/{chunk-B7LGXY3S.js → chunk-XGXEWKR7.js} +4 -4
- package/dist/bundle/{chunk-CPUQC7UF.js → chunk-XM6ZAPFW.js} +1 -1
- package/dist/bundle/{chunk-2RNNWFU7.js → chunk-YDGZJK6U.js} +13 -13
- package/dist/bundle/{chunk-3ZSPTUG3.js → chunk-ZI5Y2EUA.js} +6 -6
- package/dist/bundle/{chunk-PGOMGFXA.js → chunk-ZIGVDRSI.js} +1 -1
- package/dist/bundle/{command-contract-7QECBB6M.js → command-contract-6HJ322BP.js} +11 -11
- package/dist/bundle/{decode-WRWXOJML.js → decode-OS6Y6ICA.js} +2 -2
- package/dist/bundle/{echarts-MTCNTCST.js → echarts-JKGDUDYL.js} +2 -2
- package/dist/bundle/{embed-PPPCHSTE.js → embed-UB4LH6MF.js} +3 -3
- package/dist/bundle/{embedder-UJBIX6A2.js → embedder-TUQBG22Y.js} +6 -6
- package/dist/bundle/{entry-W6SHKRBE.js → entry-N4NCIQYH.js} +4 -4
- package/dist/bundle/failure-BJEFFYH3.js +65 -0
- package/dist/bundle/{first-run-7HAWGQ3B.js → first-run-VNJHZYGS.js} +5 -5
- package/dist/bundle/{first-screen-FRRTKWFB.js → first-screen-4XGF2NZ3.js} +12 -12
- package/dist/bundle/{instructions-JKIO4JF7.js → instructions-Q6IZQUU7.js} +1 -1
- package/dist/bundle/{mcp-OL6ZYF2T.js → mcp-REIASUJR.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-3AIXDDDR.js → node-ZSSIVKVC.js} +2 -2
- package/dist/bundle/{node-sqlite-NX722DXD.js → node-sqlite-AUNJSQQL.js} +3 -3
- package/dist/bundle/{oauth-2NPSI7Q3.js → oauth-2MTJFCMI.js} +4 -4
- package/dist/bundle/{open-AFRN6Q36.js → open-U7RC27MJ.js} +2 -2
- package/dist/bundle/{openai-U5CQFLRU.js → openai-2SJCG6XM.js} +7 -7
- package/dist/bundle/{process-J2IBN6X7.js → process-UEQX5STY.js} +1 -1
- package/dist/bundle/{program-MRG4ZQQI.js → program-G3F26HW7.js} +168 -87
- package/dist/bundle/{prompt-6XNKR4VQ.js → prompt-F23FC5PJ.js} +2 -2
- package/dist/bundle/{recognize-G3GI32QS.js → recognize-ZVEGVD56.js} +1 -1
- package/dist/bundle/{remote-DJO255PT.js → remote-CZXQS7PS.js} +4 -4
- package/dist/bundle/{rerank-5SBZRIHF.js → rerank-IRFXSVVO.js} +4 -4
- package/dist/bundle/{serve-BZVBKGU3.js → serve-6CIMU5HP.js} +6 -6
- package/dist/bundle/server-27KXLL4E.js +61 -0
- package/dist/bundle/{server-D5BJDKTJ.js → server-H24MAUT2.js} +50 -50
- package/dist/bundle/server-TWMUWMFM.js +48 -0
- package/dist/bundle/{state-A57F7T5D.js → state-TRWZWXB5.js} +3 -3
- package/dist/bundle/{store-JXD7SGIK.js → store-E4QUOOLX.js} +9 -9
- package/dist/bundle/store-maintenance-command-GLHRB2VZ.js +47 -0
- package/dist/bundle/update-QQEM73O5.js +68 -0
- package/dist/contract-overrides/search.d.ts.map +1 -1
- package/dist/contract-overrides/search.js +9 -3
- package/dist/contract-overrides/search.js.map +1 -1
- package/dist/digest/backfill.d.ts.map +1 -1
- package/dist/digest/backfill.js +7 -7
- package/dist/digest/backfill.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +9 -3
- package/dist/examples.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/search/answers.d.ts +9 -2
- package/dist/search/answers.d.ts.map +1 -1
- package/dist/search/answers.js +59 -5
- package/dist/search/answers.js.map +1 -1
- package/dist/search/command.d.ts.map +1 -1
- package/dist/search/command.js +38 -7
- package/dist/search/command.js.map +1 -1
- package/dist/search/search.d.ts +6 -2
- package/dist/search/search.d.ts.map +1 -1
- package/dist/search/search.js +14 -5
- package/dist/search/search.js.map +1 -1
- package/dist/store/group.d.ts +1 -1
- package/dist/store/group.d.ts.map +1 -1
- package/dist/store/group.js +2 -1
- package/dist/store/group.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/SKILL.md +3 -3
- package/skills/cli-memo/topics/meetings.md +2 -1
- package/skills/cli-memo/topics/search.md +1 -0
- package/dist/bundle/auto-WU47LYXJ.js +0 -85
- package/dist/bundle/failure-NRJ3EPBO.js +0 -65
- package/dist/bundle/server-AEZPZ3ZD.js +0 -48
- package/dist/bundle/server-CIT5B2SV.js +0 -61
- package/dist/bundle/store-maintenance-command-5DG4SEQA.js +0 -47
- package/dist/bundle/update-NI24ED4V.js +0 -68
- /package/dist/bundle/{chunk-YSYFOIW7.js → chunk-ZOWQ5B33.js} +0 -0
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure,
|
|
5
5
|
isStoreDamage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EH7ACKFW.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-R3PK4Y7C.js";
|
|
10
10
|
import {
|
|
11
11
|
createRecordLog,
|
|
12
12
|
resolvePaths,
|
|
@@ -872,7 +872,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
872
872
|
details: [...SPAN, ...details]
|
|
873
873
|
})));
|
|
874
874
|
|
|
875
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
876
876
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
877
877
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
878
878
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -909,7 +909,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text6) => {
|
|
|
909
909
|
}, "parseMeetingReference");
|
|
910
910
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text6) => formatMeetingReference(parseMeetingReference(text6)), "canonicalMeetingReference");
|
|
911
911
|
|
|
912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
913
913
|
var text = string();
|
|
914
914
|
var count = pipe(number(), integer(), minValue(0));
|
|
915
915
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -974,7 +974,7 @@ var MEETING_QUERY = {
|
|
|
974
974
|
})
|
|
975
975
|
};
|
|
976
976
|
|
|
977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
978
978
|
var text2 = string();
|
|
979
979
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
980
980
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1209,7 +1209,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1209
1209
|
};
|
|
1210
1210
|
}, "meetingHitsList");
|
|
1211
1211
|
|
|
1212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1213
1213
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1214
1214
|
const parsed = urlOf(url);
|
|
1215
1215
|
if (!parsed)
|
|
@@ -1243,7 +1243,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
}, "urlOf");
|
|
1245
1245
|
|
|
1246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1246
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1247
1247
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1248
1248
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1249
1249
|
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");
|
|
@@ -1280,7 +1280,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1280
1280
|
return kept;
|
|
1281
1281
|
}, "entryMetadata");
|
|
1282
1282
|
|
|
1283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1284
1284
|
import { createHash } from "node:crypto";
|
|
1285
1285
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1286
1286
|
reference: cue2.reference,
|
|
@@ -1294,7 +1294,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1294
1294
|
text: cue2.text
|
|
1295
1295
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1296
1296
|
|
|
1297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1298
1298
|
var EVENT_QUERY = defineQuery({
|
|
1299
1299
|
entity: "event",
|
|
1300
1300
|
backend: "sql",
|
|
@@ -1310,7 +1310,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1310
1310
|
]
|
|
1311
1311
|
});
|
|
1312
1312
|
|
|
1313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1314
1314
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1315
1315
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1316
1316
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1333,7 +1333,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1333
1333
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1334
1334
|
}, "entryInWindow");
|
|
1335
1335
|
|
|
1336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1337
1337
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1338
1338
|
const current = await store.meeting(details.meeting.id);
|
|
1339
1339
|
if (!current)
|
|
@@ -1376,7 +1376,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1376
1376
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1377
1377
|
}, "linkEvent");
|
|
1378
1378
|
|
|
1379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1380
1380
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text6) => text6.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1381
1381
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1382
1382
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1400,7 +1400,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1400
1400
|
};
|
|
1401
1401
|
}, "validateMeetingParticipantSearch");
|
|
1402
1402
|
|
|
1403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1403
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1404
1404
|
var MeetingError = class extends CliError {
|
|
1405
1405
|
static {
|
|
1406
1406
|
__name(this, "MeetingError");
|
|
@@ -1532,7 +1532,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id4, accountId)
|
|
|
1532
1532
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1533
1533
|
}, "meetingSummaryAnswer");
|
|
1534
1534
|
|
|
1535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1536
1536
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1537
1537
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1538
1538
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1628,10 +1628,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id4, options) => {
|
|
|
1628
1628
|
};
|
|
1629
1629
|
}, "exportMeeting");
|
|
1630
1630
|
|
|
1631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1632
1632
|
import { createHash as createHash2 } from "node:crypto";
|
|
1633
1633
|
|
|
1634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
1635
1635
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1636
1636
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
1637
1637
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -1725,7 +1725,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
1725
1725
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
1726
1726
|
}, "paymentTitle");
|
|
1727
1727
|
|
|
1728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1729
1729
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1730
1730
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1731
1731
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1736,7 +1736,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1736
1736
|
return new Date(value).toISOString();
|
|
1737
1737
|
}, "meetingTimestamp");
|
|
1738
1738
|
|
|
1739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1740
1740
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1741
1741
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1742
1742
|
throw new CliError("validation_error", message);
|
|
@@ -1911,7 +1911,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1911
1911
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1912
1912
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1913
1913
|
|
|
1914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1915
1915
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1916
1916
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1917
1917
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1922,7 +1922,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1922
1922
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1923
1923
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1924
1924
|
|
|
1925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1926
1926
|
var context = {
|
|
1927
1927
|
command: "search meetings",
|
|
1928
1928
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1985,7 +1985,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
1985
1985
|
});
|
|
1986
1986
|
var LIFTED = /* @__PURE__ */ new Set(["date", "project", "tag", "topic"]);
|
|
1987
1987
|
var MEETING_FIELD_NAMES = new Set(MEETING_FIELDS.fields.map(({ name }) => name));
|
|
1988
|
-
var liftMeetingFields = /* @__PURE__ */ __name((query, request, now) => {
|
|
1988
|
+
var liftMeetingFields = /* @__PURE__ */ __name((query, request, now, timezone) => {
|
|
1989
1989
|
let ast;
|
|
1990
1990
|
try {
|
|
1991
1991
|
ast = validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_FIELDS, context);
|
|
@@ -2011,7 +2011,7 @@ var liftMeetingFields = /* @__PURE__ */ __name((query, request, now) => {
|
|
|
2011
2011
|
if (node.field === "date") {
|
|
2012
2012
|
once("since", "--since-time");
|
|
2013
2013
|
once("until", "--until-time");
|
|
2014
|
-
const range = dateRange(node.value, node.operator === "range" ? node.upper ?? "*" : node.value, node.lower_inclusive !== false, node.upper_inclusive !== false, timezoneOf(), node.span, now);
|
|
2014
|
+
const range = dateRange(node.value, node.operator === "range" ? node.upper ?? "*" : node.value, node.lower_inclusive !== false, node.upper_inclusive !== false, timezoneOf(timezone), node.span, now);
|
|
2015
2015
|
if (range.lower !== void 0)
|
|
2016
2016
|
next.since = range.lower + (range.lower_inclusive ? 0 : 1);
|
|
2017
2017
|
if (range.upper !== void 0)
|
|
@@ -2042,7 +2042,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text6) => {
|
|
|
2042
2042
|
return { version: 1, language: "lucene-v1", root };
|
|
2043
2043
|
}, "meetingWordsQuery");
|
|
2044
2044
|
|
|
2045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2046
2046
|
var LATIN_WORDS = {
|
|
2047
2047
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2048
2048
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2091,7 +2091,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2091
2091
|
return null;
|
|
2092
2092
|
}, "transcriptLanguage");
|
|
2093
2093
|
|
|
2094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2095
2095
|
var contentHash = /* @__PURE__ */ __name(async (text6) => {
|
|
2096
2096
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text6));
|
|
2097
2097
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2128,7 +2128,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2128
2128
|
return time2;
|
|
2129
2129
|
}, "timestamp");
|
|
2130
2130
|
|
|
2131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2132
2132
|
var TranscriptTextError = class extends Error {
|
|
2133
2133
|
static {
|
|
2134
2134
|
__name(this, "TranscriptTextError");
|
|
@@ -2183,7 +2183,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2183
2183
|
return { header, lines };
|
|
2184
2184
|
}, "parseTranscriptText");
|
|
2185
2185
|
|
|
2186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2187
2187
|
var VttError = class extends Error {
|
|
2188
2188
|
static {
|
|
2189
2189
|
__name(this, "VttError");
|
|
@@ -2235,7 +2235,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2235
2235
|
return cues;
|
|
2236
2236
|
}, "parseVtt");
|
|
2237
2237
|
|
|
2238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2239
2239
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2240
2240
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2241
2241
|
for (const file of files) {
|
|
@@ -2268,10 +2268,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2268
2268
|
return report;
|
|
2269
2269
|
}, "importFiles");
|
|
2270
2270
|
|
|
2271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2272
2272
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2273
2273
|
|
|
2274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2275
2275
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2276
2276
|
const provider = scope2?.provider;
|
|
2277
2277
|
const account = scope2?.account;
|
|
@@ -2280,7 +2280,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2280
2280
|
return Object.freeze({ provider, account });
|
|
2281
2281
|
}, "snapshotMeetingScope");
|
|
2282
2282
|
|
|
2283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2284
2284
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2285
2285
|
if (typeof value !== "string" || !value.trim())
|
|
2286
2286
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2331,7 +2331,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2331
2331
|
return Object.freeze(result);
|
|
2332
2332
|
}, "validateMeetingChange");
|
|
2333
2333
|
|
|
2334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2335
2335
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2336
2336
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2337
2337
|
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)))
|
|
@@ -2344,7 +2344,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2344
2344
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2345
2345
|
}, "validateMeetingPassage");
|
|
2346
2346
|
|
|
2347
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2348
2348
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2349
2349
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2350
2350
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2369,7 +2369,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2369
2369
|
return { ...input, limit, maxReadBytes };
|
|
2370
2370
|
}, "validateMeetingPreparationContext");
|
|
2371
2371
|
|
|
2372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2373
2373
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2374
2374
|
var id = pipe(string(), minLength(1));
|
|
2375
2375
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2490,7 +2490,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2490
2490
|
};
|
|
2491
2491
|
}, "meetingProjectEvidenceAnswer");
|
|
2492
2492
|
|
|
2493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2494
2494
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2495
2495
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2496
2496
|
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) || [
|
|
@@ -2510,7 +2510,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2510
2510
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2511
2511
|
}, "validateMeetingHitSearch");
|
|
2512
2512
|
|
|
2513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2514
2514
|
var ids = {
|
|
2515
2515
|
meeting_id: "meetingId",
|
|
2516
2516
|
identity_id: "participantIdentityId",
|
|
@@ -2601,7 +2601,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project2, request =
|
|
|
2601
2601
|
return { project: project2.trim(), options, query: frozen.join(" AND ") };
|
|
2602
2602
|
}, "prepareMeetingProjectEvidence");
|
|
2603
2603
|
|
|
2604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2604
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2605
2605
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, request = {}, now = Date.now()) => {
|
|
2606
2606
|
const prepared = prepareMeetingProjectEvidence(project2, request, now);
|
|
2607
2607
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2609,7 +2609,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, r
|
|
|
2609
2609
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2610
2610
|
}, "readMeetingProjectEvidence");
|
|
2611
2611
|
|
|
2612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2613
2613
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2614
2614
|
const { identityExternalId, ...fields } = p;
|
|
2615
2615
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2771,7 +2771,7 @@ unlinked`, format)],
|
|
|
2771
2771
|
return report;
|
|
2772
2772
|
}, "pull");
|
|
2773
2773
|
|
|
2774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2775
2775
|
var text3 = string();
|
|
2776
2776
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2777
2777
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -2965,10 +2965,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2965
2965
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2966
2966
|
}), "eventItem");
|
|
2967
2967
|
|
|
2968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2969
2969
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2970
2970
|
|
|
2971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2972
2972
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2973
2973
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2974
2974
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2998,7 +2998,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2998
2998
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2999
2999
|
}, "validateMeetingRelatedHistory");
|
|
3000
3000
|
|
|
3001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
3002
3002
|
var text4 = string();
|
|
3003
3003
|
var identifier = pipe(text4, minLength(1));
|
|
3004
3004
|
var nullableText = nullable(text4);
|
|
@@ -3132,14 +3132,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
3132
3132
|
meeting_repair: repair
|
|
3133
3133
|
};
|
|
3134
3134
|
|
|
3135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3136
3136
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3137
3137
|
|
|
3138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3139
3139
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3140
3140
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3141
3141
|
|
|
3142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3143
3143
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3144
3144
|
input.signal?.throwIfAborted();
|
|
3145
3145
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3160,7 +3160,7 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3160
3160
|
return { ...input, limit, maxReadBytes };
|
|
3161
3161
|
}, "validateMeetingSeriesHistory");
|
|
3162
3162
|
|
|
3163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3164
3164
|
var invalid4 = /* @__PURE__ */ __name((field) => {
|
|
3165
3165
|
throw new CliError("invalid_response", `meeting occurrence ${field} is invalid`);
|
|
3166
3166
|
}, "invalid");
|
|
@@ -3229,7 +3229,7 @@ var readOccurrenceSchedule = /* @__PURE__ */ __name((input, meetingId, limit, ma
|
|
|
3229
3229
|
return result;
|
|
3230
3230
|
}, "readOccurrenceSchedule");
|
|
3231
3231
|
|
|
3232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3233
3233
|
function invalid5(field, response = false) {
|
|
3234
3234
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3235
3235
|
}
|
|
@@ -3258,7 +3258,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3258
3258
|
cursorDetails(value);
|
|
3259
3259
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3260
3260
|
|
|
3261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3262
3262
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3263
3263
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3264
3264
|
const zone = timeZone ?? "UTC";
|
|
@@ -3393,7 +3393,10 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3393
3393
|
};
|
|
3394
3394
|
}, "aggregateMeetingStats");
|
|
3395
3395
|
|
|
3396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
3397
|
+
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
3398
|
+
|
|
3399
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/meetings/upcoming.js
|
|
3397
3400
|
var cancelled = /* @__PURE__ */ __name((signal) => {
|
|
3398
3401
|
if (!signal?.aborted)
|
|
3399
3402
|
return;
|
|
@@ -3463,7 +3466,7 @@ var createUpcomingMeetingReader = /* @__PURE__ */ __name((scope2, port) => {
|
|
|
3463
3466
|
};
|
|
3464
3467
|
}, "createUpcomingMeetingReader");
|
|
3465
3468
|
|
|
3466
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3469
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/locator.js
|
|
3467
3470
|
var SCHEME = "msg:";
|
|
3468
3471
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
3469
3472
|
var isLocator = /* @__PURE__ */ __name((reference2) => reference2.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -3477,7 +3480,7 @@ var parseLocator = /* @__PURE__ */ __name((reference2) => {
|
|
|
3477
3480
|
return { provider, account, chat, message };
|
|
3478
3481
|
}, "parseLocator");
|
|
3479
3482
|
|
|
3480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/references.js
|
|
3481
3484
|
var SIMPLE_REFERENCES = [
|
|
3482
3485
|
"note",
|
|
3483
3486
|
"document",
|
|
@@ -3633,7 +3636,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text6) => {
|
|
|
3633
3636
|
return match !== null && byPrefix.has(match[1]);
|
|
3634
3637
|
}, "looksLikeReference");
|
|
3635
3638
|
|
|
3636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
3637
3640
|
var CURRENCY_SCALES = {
|
|
3638
3641
|
AED: 2,
|
|
3639
3642
|
AMD: 2,
|
|
@@ -3727,7 +3730,7 @@ var quantityOf = /* @__PURE__ */ __name((text6) => {
|
|
|
3727
3730
|
}, "quantityOf");
|
|
3728
3731
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
3729
3732
|
|
|
3730
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
3731
3734
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
3732
3735
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
3733
3736
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -3756,7 +3759,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
3756
3759
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
3757
3760
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
3758
3761
|
|
|
3759
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3762
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/business.js
|
|
3760
3763
|
var CATALOG_KINDS = ["product", "service"];
|
|
3761
3764
|
var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
|
|
3762
3765
|
var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
|
|
@@ -3784,7 +3787,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
|
|
|
3784
3787
|
var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
|
|
3785
3788
|
var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
|
|
3786
3789
|
|
|
3787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
3788
3791
|
import { readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
3789
3792
|
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
3790
3793
|
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
@@ -3905,7 +3908,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
|
|
|
3905
3908
|
return { previous, cleared };
|
|
3906
3909
|
}, "recordDeepCheck");
|
|
3907
3910
|
|
|
3908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
3909
3912
|
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
|
|
3910
3913
|
var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
|
|
3911
3914
|
var PROVIDERS = [
|
|
@@ -4068,7 +4071,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).in
|
|
|
4068
4071
|
var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
|
|
4069
4072
|
var kindOf2 = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
|
|
4070
4073
|
|
|
4071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
4072
4075
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
4073
4076
|
var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
|
|
4074
4077
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -4091,7 +4094,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
4091
4094
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
4092
4095
|
}, "sourceOf");
|
|
4093
4096
|
|
|
4094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
4095
4098
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
4096
4099
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
4097
4100
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|
|
@@ -4301,7 +4304,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind2) =
|
|
|
4301
4304
|
return { accounts: [...chosen.values()], skipped };
|
|
4302
4305
|
}, "fitting");
|
|
4303
4306
|
|
|
4304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/deals.js
|
|
4305
4308
|
var DEAL_KINDS = ["deal", "lead"];
|
|
4306
4309
|
var DEAL_STATUSES = ["open", "won", "lost"];
|
|
4307
4310
|
var STAGE_OUTCOMES = DEAL_STATUSES;
|
|
@@ -4311,7 +4314,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
|
|
|
4311
4314
|
return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
|
|
4312
4315
|
}, "dealLine");
|
|
4313
4316
|
|
|
4314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
4315
4318
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
4316
4319
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
4317
4320
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -4322,14 +4325,14 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
4322
4325
|
}, "orderLine");
|
|
4323
4326
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
4324
4327
|
|
|
4325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
4326
4329
|
var SOURCE_REVIEW_KIND = "memory_source_review";
|
|
4327
4330
|
var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
|
|
4328
4331
|
var ERASED_TEXT = "[source erased]";
|
|
4329
4332
|
var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
|
|
4330
4333
|
var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
|
|
4331
4334
|
|
|
4332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4333
4336
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4334
4337
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4335
4338
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4342,7 +4345,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4342
4345
|
error: /* @__PURE__ */ __name((event2, message) => logger.error(logAttributes(event2), message), "error")
|
|
4343
4346
|
}), "snakeLogger");
|
|
4344
4347
|
|
|
4345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4346
4349
|
var diagnostic = {
|
|
4347
4350
|
event: true,
|
|
4348
4351
|
operation: true,
|
|
@@ -4416,7 +4419,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4416
4419
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4417
4420
|
].sort();
|
|
4418
4421
|
|
|
4419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4420
4423
|
import { randomUUID } from "node:crypto";
|
|
4421
4424
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
4422
4425
|
import { userInfo } from "node:os";
|
|
@@ -4787,7 +4790,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
4787
4790
|
};
|
|
4788
4791
|
}, "metadataOf");
|
|
4789
4792
|
|
|
4790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
4791
4794
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4792
4795
|
import { randomBytes } from "node:crypto";
|
|
4793
4796
|
var scopes = new AsyncLocalStorage();
|
|
@@ -4823,7 +4826,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
4823
4826
|
var attempts = new AsyncLocalStorage();
|
|
4824
4827
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
4825
4828
|
|
|
4826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/relations.js
|
|
4827
4830
|
var ORGANIZATION_ROLES = [
|
|
4828
4831
|
"employee",
|
|
4829
4832
|
"contractor",
|
|
@@ -4923,7 +4926,7 @@ var isUsable = /* @__PURE__ */ __name((standing) => standing === "confirmed" ||
|
|
|
4923
4926
|
var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
|
|
4924
4927
|
var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
|
|
4925
4928
|
|
|
4926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
4927
4930
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
4928
4931
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
4929
4932
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -4937,7 +4940,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
4937
4940
|
return tag;
|
|
4938
4941
|
}, "normalizeTag");
|
|
4939
4942
|
|
|
4940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
4941
4944
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
4942
4945
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
4943
4946
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -4952,7 +4955,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
4952
4955
|
}
|
|
4953
4956
|
__name(closeTask, "closeTask");
|
|
4954
4957
|
|
|
4955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
4956
4959
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
4957
4960
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
4958
4961
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -4981,13 +4984,13 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
4981
4984
|
}, "priorityOf");
|
|
4982
4985
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
4983
4986
|
|
|
4984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4987
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
4985
4988
|
function matches2(task, filter) {
|
|
4986
4989
|
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);
|
|
4987
4990
|
}
|
|
4988
4991
|
__name(matches2, "matches");
|
|
4989
4992
|
|
|
4990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
4991
4994
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
4992
4995
|
async function find(id4) {
|
|
4993
4996
|
const task = await store.get(id4);
|
|
@@ -5047,7 +5050,7 @@ function median(values) {
|
|
|
5047
5050
|
}
|
|
5048
5051
|
__name(median, "median");
|
|
5049
5052
|
|
|
5050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
5051
5054
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
5052
5055
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
5053
5056
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -5055,7 +5058,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
5055
5058
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
5056
5059
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
5057
5060
|
|
|
5058
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
|
|
5059
5062
|
var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
|
|
5060
5063
|
var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
5061
5064
|
const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
|
|
@@ -5065,7 +5068,7 @@ var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
|
5065
5068
|
};
|
|
5066
5069
|
}, "sourceOf");
|
|
5067
5070
|
|
|
5068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
5069
5072
|
var LINK_KINDS = [
|
|
5070
5073
|
"links-to",
|
|
5071
5074
|
"blocked-by",
|
|
@@ -5089,7 +5092,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
|
5089
5092
|
var linkKind = /* @__PURE__ */ __name((kind2) => `'${kind2}'`, "linkKind");
|
|
5090
5093
|
var COUNTERPART_ROLE = "counterpart";
|
|
5091
5094
|
|
|
5092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5095
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
5093
5096
|
var text5 = string();
|
|
5094
5097
|
var id3 = pipe(string(), minLength(1));
|
|
5095
5098
|
var time = isoTime;
|
|
@@ -5114,7 +5117,7 @@ var author = strictObject({
|
|
|
5114
5117
|
name: nullable(text5)
|
|
5115
5118
|
});
|
|
5116
5119
|
|
|
5117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
5118
5121
|
var organization = strictObject({
|
|
5119
5122
|
id: id3,
|
|
5120
5123
|
ref: reference,
|
|
@@ -5144,7 +5147,7 @@ var reminder = strictObject({
|
|
|
5144
5147
|
receipt: nullable(text5)
|
|
5145
5148
|
});
|
|
5146
5149
|
|
|
5147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/domain/categories.js
|
|
5148
5151
|
var CATEGORIES = ["client", "supplier", "partner", "employer"];
|
|
5149
5152
|
|
|
5150
5153
|
export {
|
|
@@ -5254,6 +5257,7 @@ export {
|
|
|
5254
5257
|
validateMeetingSeriesInventoryCursor,
|
|
5255
5258
|
aggregateMeetingCounts,
|
|
5256
5259
|
aggregateMeetingStats,
|
|
5260
|
+
READ_BUDGET_EXCEEDED,
|
|
5257
5261
|
createUpcomingMeetingReader,
|
|
5258
5262
|
formatLocator,
|
|
5259
5263
|
isLocator,
|