@wirecat/drive-cli 0.66.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/wirecat.json +29 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-WCQLIHUG.js → all-profiles-BU6XUFUP.js} +14 -14
- package/dist/bundle/{anthropic-5RJMB6O7.js → anthropic-ZP5B7S2Z.js} +8 -8
- package/dist/bundle/{app-server-3RGYXPKG.js → app-server-EB4DH6T7.js} +60 -56
- package/dist/bundle/{bun-L34VEKGG.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-H6IAXQXI.js → bun-sqlite-6VPR2SVC.js} +9 -9
- package/dist/bundle/{chunk-HPKE2GDP.js → chunk-2UHQVRH2.js} +18 -18
- package/dist/bundle/{chunk-2AF77WMH.js → chunk-2VYEGKQ3.js} +1 -1
- package/dist/bundle/{chunk-TAHISPDE.js → chunk-43NEDPXB.js} +39 -35
- package/dist/bundle/{chunk-OT7SQQJK.js → chunk-5G2BY4B6.js} +17 -17
- package/dist/bundle/{chunk-NYZS2LKF.js → chunk-5TK2YQCO.js} +2 -2
- package/dist/bundle/{chunk-5XLU4NN6.js → chunk-5W65QTYS.js} +4 -4
- package/dist/bundle/{chunk-YTIPTHEE.js → chunk-6HFZZ2PW.js} +2 -2
- package/dist/bundle/{chunk-GY4DAJSK.js → chunk-6QR7NKMG.js} +35 -6
- package/dist/bundle/{chunk-BIJW6AYA.js → chunk-6WAC2LOS.js} +3698 -3594
- package/dist/bundle/{chunk-VR3YKXHL.js → chunk-74NCZKRW.js} +33 -20
- package/dist/bundle/{chunk-5HVJK3ZJ.js → chunk-7A77GYCE.js} +4 -4
- package/dist/bundle/{chunk-7ZGJRVBH.js → chunk-7BXVI7XF.js} +4 -4
- package/dist/bundle/{chunk-UNTIVT47.js → chunk-7JKECODO.js} +1 -1
- package/dist/bundle/{chunk-FKKPVPZR.js → chunk-7TNQZKRD.js} +57 -57
- package/dist/bundle/{chunk-3SDJIMZB.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-QJ57PV55.js → chunk-AXYG2DDY.js} +136 -90
- package/dist/bundle/{chunk-T3ULDA7C.js → chunk-BXHFJTU5.js} +3 -3
- package/dist/bundle/{chunk-HPSHQVJU.js → chunk-CK2SQ2CE.js} +28 -22
- package/dist/bundle/{chunk-KRG5X5PH.js → chunk-CMWFYZ45.js} +2 -2
- package/dist/bundle/{chunk-3QFUDXMQ.js → chunk-CRIEW4FP.js} +3 -2
- package/dist/bundle/{chunk-V2WXTILT.js → chunk-CVAJMRRD.js} +6 -6
- package/dist/bundle/{chunk-JCHF7LZT.js → chunk-D4MVEOU2.js} +4 -4
- package/dist/bundle/{chunk-FHBTQPA3.js → chunk-DIZBJLPM.js} +41 -37
- package/dist/bundle/{chunk-VUUPFDRU.js → chunk-DU23ET2O.js} +113 -39
- package/dist/bundle/{chunk-IRNDYNQX.js → chunk-DYLYH7VE.js} +4 -4
- package/dist/bundle/{chunk-IIHZTV6V.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/{chunk-AP4MX247.js → chunk-EEE4H2PA.js} +12 -12
- package/dist/bundle/{chunk-UAKX6DP4.js → chunk-EOC7RHJ2.js} +5 -5
- package/dist/bundle/{chunk-HHRJPLFO.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-KOY5HUBY.js → chunk-F7KAMSXA.js} +4 -4
- package/dist/bundle/{chunk-D4MIMH2N.js → chunk-FAMXUI2X.js} +5 -5
- package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-XVZNFA2P.js → chunk-GTLXBAJV.js} +309 -278
- package/dist/bundle/{chunk-JQXK3M5M.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-NK4GVFJH.js → chunk-IJCUAKR5.js} +4 -4
- package/dist/bundle/{chunk-MZWXTJ4O.js → chunk-IVOG6T6P.js} +3 -3
- package/dist/bundle/{chunk-PKM55ZRR.js → chunk-J5LXL435.js} +20 -20
- package/dist/bundle/{chunk-G4TNKBDX.js → chunk-JMZQBRRZ.js} +7 -7
- package/dist/bundle/{chunk-VQKNKJYL.js → chunk-JRFKCYMW.js} +6 -6
- package/dist/bundle/{chunk-XLGDNI4S.js → chunk-JZ3MT7IE.js} +5 -40
- package/dist/bundle/{chunk-UG3GHFGY.js → chunk-KPKIHJIT.js} +6 -8
- package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-5PLINHEY.js → chunk-MLSXHTUB.js} +153 -149
- package/dist/bundle/{chunk-Y5U4HIZS.js → chunk-MOKEB656.js} +2 -2
- package/dist/bundle/{chunk-6X3KUFRQ.js → chunk-MW46BLWH.js} +20 -20
- package/dist/bundle/{chunk-I5R5CMQR.js → chunk-MWCPKUU4.js} +5 -5
- package/dist/bundle/{chunk-6UJCCOZC.js → chunk-NV75QPML.js} +4 -4
- package/dist/bundle/{chunk-OZOQLAWK.js → chunk-O7T3WGCV.js} +6 -6
- package/dist/bundle/{chunk-H7XL6WTW.js → chunk-PGPHEC2X.js} +2 -2
- package/dist/bundle/{chunk-UQPW42HF.js → chunk-PJ3FKBXG.js} +1 -1
- package/dist/bundle/{chunk-ALE67WRR.js → chunk-PV3AWPHR.js} +5 -5
- package/dist/bundle/{chunk-HQBLJLYH.js → chunk-PWIEOATY.js} +8 -8
- package/dist/bundle/{chunk-WYTYHUFH.js → chunk-Q6BD6RUH.js} +43 -43
- package/dist/bundle/{chunk-BQXSE645.js → chunk-QKY24RWV.js} +12 -12
- package/dist/bundle/{chunk-2S3E2HVV.js → chunk-QRSPFCRY.js} +17 -17
- package/dist/bundle/{chunk-3NYH756U.js → chunk-QTRYJZL7.js} +11 -6
- package/dist/bundle/{chunk-QF7VL4C3.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-ULXEW6FT.js → chunk-QWGEOQHA.js} +1 -1
- package/dist/bundle/{chunk-JLCR24UM.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-M7543RUJ.js → chunk-RT5NT62B.js} +220 -15
- package/dist/bundle/{chunk-SZ6JFOL4.js → chunk-SOS4U2RF.js} +62 -41
- package/dist/bundle/{chunk-PUMDOCAF.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-COGWKO2T.js → chunk-U52QE4QV.js} +3 -3
- package/dist/bundle/{chunk-LVAPSAHF.js → chunk-UFPRP7MG.js} +8 -8
- package/dist/bundle/{chunk-5VDVGDOC.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-7LT2G5BC.js → chunk-ULNN3LCY.js} +29 -27
- package/dist/bundle/{chunk-GVA3KTCD.js → chunk-UPCEHSIZ.js} +10 -10
- package/dist/bundle/{chunk-4UHBJSMI.js → chunk-UUQJVKPB.js} +516 -458
- package/dist/bundle/{chunk-O53WLYX3.js → chunk-UYBLNGZ2.js} +2 -2
- package/dist/bundle/{chunk-D7KOAPG6.js → chunk-WCNTDETD.js} +2 -2
- package/dist/bundle/{chunk-JHMEETXI.js → chunk-WGX4DZPW.js} +2 -2
- package/dist/bundle/{chunk-P7HQFII6.js → chunk-WUFZGPXX.js} +7 -7
- package/dist/bundle/{chunk-5K54RZBK.js → chunk-Y2QVNVHK.js} +1 -1
- package/dist/bundle/{chunk-7EP4AU6A.js → chunk-YUGTJBV3.js} +3 -3
- package/dist/bundle/{chunk-QSELSDWE.js → chunk-YYIWPH53.js} +13 -13
- package/dist/bundle/{chunk-E2F2XIX6.js → chunk-Z5BMYI2V.js} +8 -8
- package/dist/bundle/{chunk-TYLEICTX.js → chunk-ZAIE3G5I.js} +3 -3
- package/dist/bundle/{chunk-SOOU5WO6.js → chunk-ZSVMZH5O.js} +2 -2
- package/dist/bundle/{chunk-FA2TNA5X.js → chunk-ZVQDOKDY.js} +1 -1
- package/dist/bundle/{cli-KW6QQVS5.js → cli-L7P36YUH.js} +61 -61
- package/dist/bundle/command-contract-EYFGMKIG.js +41 -0
- package/dist/bundle/{command-server-entry-OC4E4DED.js → command-server-entry-H3VGPOLJ.js} +31 -31
- package/dist/bundle/{decode-AH5ZLLDK.js → decode-JEU6JWCV.js} +8 -8
- package/dist/bundle/{dispatch-CDWZZ54Q.js → dispatch-WBEOHZDV.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-VC7MTXWY.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-EPSQY6QG.js → embed-WUKOASQG.js} +9 -9
- package/dist/bundle/{embedder-TK4U4TJR.js → embedder-UBRAXRDZ.js} +12 -12
- package/dist/bundle/entry-C4NUQFTF.js +25 -0
- package/dist/bundle/{failure-WSVZOPFE.js → failure-X6PSLVSO.js} +4 -4
- package/dist/bundle/first-run-PKHBS7B4.js +30 -0
- package/dist/bundle/first-screen-QOVOM4BF.js +39 -0
- package/dist/bundle/google-XXHSMTVK.js +45 -0
- package/dist/bundle/{google-api-AV4X2JH3.js → google-api-SQQ4BSNR.js} +63 -63
- package/dist/bundle/grants-2U4JVT6O.js +111 -0
- package/dist/bundle/{identity-CGHHF7AK.js → identity-SRL6RSU2.js} +6 -6
- package/dist/bundle/{instructions-24PHDBBE.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/{login-XHFESAFM.js → login-N243GGEE.js} +69 -69
- package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-GIDULTV5.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-sqlite-LINBOAWK.js → node-sqlite-SZQCCMV2.js} +10 -10
- package/dist/bundle/oauth-CMAFXX6A.js +22 -0
- package/dist/bundle/{open-RYFKPNCJ.js → open-RVTPKDA3.js} +8 -8
- package/dist/bundle/{openai-Q7YYUHJF.js → openai-6NN63BMH.js} +19 -19
- package/dist/bundle/{process-VPIZTIJR.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-IUXFRBZA.js → program-B4QBJYB5.js} +187 -228
- package/dist/bundle/{prompt-LF4KX3XL.js → prompt-HGP2DSRW.js} +8 -8
- package/dist/bundle/{reasons-JPYOU5GV.js → reasons-KSYP5VDJ.js} +5 -5
- package/dist/bundle/{recognize-KEWTJXFH.js → recognize-26SHB7HI.js} +7 -7
- package/dist/bundle/{remote-HGGLB76S.js → remote-Z4PWHZ5N.js} +13 -13
- package/dist/bundle/{rerank-TDUKETFT.js → rerank-QHJZJK3Q.js} +10 -10
- package/dist/bundle/{serve-XFYMKW5W.js → serve-MYJW5IEM.js} +12 -12
- package/dist/bundle/server-HBZPIHDX.js +74 -0
- package/dist/bundle/{server-PXIPSGFP.js → server-XFW3V7CR.js} +49 -47
- package/dist/bundle/{services-2BOCGMJU.js → services-IQG2RVTO.js} +36 -36
- package/dist/bundle/{sqlite-runtime-R7M5XUMW.js → sqlite-runtime-X4GB5PBV.js} +9 -9
- package/dist/bundle/{start-YRLT4MQZ.js → start-C6EXYXAL.js} +7 -7
- package/dist/bundle/{state-NZ7WRJWH.js → state-ATQK2X3W.js} +9 -9
- package/dist/bundle/{store-ICDGPSEN.js → store-MEHEUOJH.js} +19 -19
- package/dist/bundle/{store-7LCVDO7G.js → store-QUBUPK6F.js} +21 -21
- package/dist/bundle/store-maintenance-command-33ULVDWY.js +65 -0
- package/dist/bundle/tokens-A2GP4F34.js +111 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -3
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/search.js +4 -4
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +2 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/transcripts.d.ts +4 -0
- package/dist/commands/transcripts.d.ts.map +1 -0
- package/dist/commands/transcripts.js +42 -0
- package/dist/commands/transcripts.js.map +1 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +14 -1
- package/dist/config.js.map +1 -1
- package/dist/google.d.ts.map +1 -1
- package/dist/google.js +31 -28
- package/dist/google.js.map +1 -1
- package/dist/list-queries.d.ts +10 -0
- package/dist/list-queries.d.ts.map +1 -1
- package/dist/list-queries.js +12 -1
- package/dist/list-queries.js.map +1 -1
- package/dist/model.d.ts +4 -1
- package/dist/model.d.ts.map +1 -1
- package/dist/policy.d.ts +2 -0
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +3 -2
- package/dist/policy.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +5 -2
- package/dist/program.js.map +1 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +2 -0
- package/dist/state.js.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +5 -1
- package/dist/sync.js.map +1 -1
- package/dist/transcripts.d.ts +21 -0
- package/dist/transcripts.d.ts.map +1 -0
- package/dist/transcripts.js +48 -0
- package/dist/transcripts.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-CE543JBN.js +0 -41
- package/dist/bundle/entry-3VN23M7M.js +0 -25
- package/dist/bundle/first-run-7ZYJ7EB3.js +0 -30
- package/dist/bundle/first-screen-CZDH7QY3.js +0 -39
- package/dist/bundle/google-OBZMWA7J.js +0 -45
- package/dist/bundle/grants-WTRLN4ZI.js +0 -111
- package/dist/bundle/oauth-JHUX3KE3.js +0 -22
- package/dist/bundle/server-BDEV3CZJ.js +0 -74
- package/dist/bundle/store-maintenance-command-SJPLY6IH.js +0 -65
- package/dist/bundle/tokens-FGTBE7VW.js +0 -111
- /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -8,26 +8,26 @@ import {
|
|
|
8
8
|
queryFieldsOf,
|
|
9
9
|
timezoneOf,
|
|
10
10
|
validateQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UPCEHSIZ.js";
|
|
12
12
|
import {
|
|
13
13
|
isCliFailure,
|
|
14
14
|
isStoreDamage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UYBLNGZ2.js";
|
|
16
16
|
import {
|
|
17
17
|
refuseOwnerStoreInTests
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CRIEW4FP.js";
|
|
19
19
|
import {
|
|
20
20
|
createRecordLog,
|
|
21
21
|
resolvePaths,
|
|
22
22
|
writeSecurely
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MW46BLWH.js";
|
|
24
24
|
import {
|
|
25
25
|
singleLine,
|
|
26
26
|
visibleControls
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HCZYJMBP.js";
|
|
28
28
|
import {
|
|
29
29
|
traceIdOf
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5TK2YQCO.js";
|
|
31
31
|
import {
|
|
32
32
|
STEPS,
|
|
33
33
|
array,
|
|
@@ -54,21 +54,21 @@ import {
|
|
|
54
54
|
string,
|
|
55
55
|
union,
|
|
56
56
|
unknown
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-JRFKCYMW.js";
|
|
58
58
|
import {
|
|
59
59
|
CliError
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-EA2OB75T.js";
|
|
61
61
|
import {
|
|
62
62
|
__name
|
|
63
63
|
} from "./chunk-ZVVMGPBJ.js";
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
66
66
|
import { randomUUID } from "node:crypto";
|
|
67
67
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
68
68
|
import { userInfo } from "node:os";
|
|
69
69
|
import { join, sep } from "node:path";
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
72
72
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
73
73
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
74
74
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -81,7 +81,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
81
81
|
error: /* @__PURE__ */ __name((event2, message) => logger.error(logAttributes(event2), message), "error")
|
|
82
82
|
}), "snakeLogger");
|
|
83
83
|
|
|
84
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
84
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
85
85
|
var diagnostic = {
|
|
86
86
|
event: true,
|
|
87
87
|
operation: true,
|
|
@@ -155,7 +155,7 @@ var LOG_ATTRIBUTES = [
|
|
|
155
155
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
156
156
|
].sort();
|
|
157
157
|
|
|
158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
159
159
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
160
160
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
161
161
|
var KEEP_STORE_RUNS_FOR_DAYS = 3;
|
|
@@ -522,7 +522,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
522
522
|
};
|
|
523
523
|
}, "metadataOf");
|
|
524
524
|
|
|
525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
526
526
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
527
527
|
import { randomBytes } from "node:crypto";
|
|
528
528
|
var scopes = new AsyncLocalStorage();
|
|
@@ -575,7 +575,7 @@ var attempts = new AsyncLocalStorage();
|
|
|
575
575
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
576
576
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
577
577
|
|
|
578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
579
579
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
580
580
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
581
581
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -669,7 +669,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
669
669
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
670
670
|
}, "paymentTitle");
|
|
671
671
|
|
|
672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
673
673
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
674
674
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
675
675
|
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)))
|
|
@@ -682,7 +682,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
682
682
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
683
683
|
}, "validateMeetingPassage");
|
|
684
684
|
|
|
685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
686
686
|
var text = string();
|
|
687
687
|
var identifier = pipe(text, minLength(1));
|
|
688
688
|
var nullableText = nullable(text);
|
|
@@ -816,7 +816,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
816
816
|
meeting_repair: repair
|
|
817
817
|
};
|
|
818
818
|
|
|
819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
820
820
|
var invalid2 = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
821
821
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
822
822
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -853,7 +853,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text7) => {
|
|
|
853
853
|
}, "parseMeetingReference");
|
|
854
854
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text7) => formatMeetingReference(parseMeetingReference(text7)), "canonicalMeetingReference");
|
|
855
855
|
|
|
856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
857
857
|
var text2 = string();
|
|
858
858
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
859
859
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -918,7 +918,11 @@ var MEETING_QUERY = {
|
|
|
918
918
|
})
|
|
919
919
|
};
|
|
920
920
|
|
|
921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
922
|
+
var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
|
|
923
|
+
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
924
|
+
|
|
925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
922
926
|
var text3 = string();
|
|
923
927
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
924
928
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1005,6 +1009,16 @@ var meetingDetails = strictObject({
|
|
|
1005
1009
|
mime: nullable(text3),
|
|
1006
1010
|
size: nullable(count3),
|
|
1007
1011
|
url: nullable(text3)
|
|
1012
|
+
})),
|
|
1013
|
+
/**
|
|
1014
|
+
* The Drive files the meeting service saved for it, by role. `document` is the stored document (`document:<id>`) once
|
|
1015
|
+
* a Drive profile has imported the file, else `null`: then `drive` can fetch it by `file_id`.
|
|
1016
|
+
*/
|
|
1017
|
+
documents: array(strictObject({
|
|
1018
|
+
file_id: text3,
|
|
1019
|
+
role: picklist(MEETING_DOCUMENT_ROLES),
|
|
1020
|
+
title: nullable(text3),
|
|
1021
|
+
document: nullable(reference)
|
|
1008
1022
|
}))
|
|
1009
1023
|
});
|
|
1010
1024
|
var meetingRef = /* @__PURE__ */ __name((accountId, meetingId) => formatMeetingReference({ type: "meeting", accountId, meetingId }), "meetingRef");
|
|
@@ -1082,6 +1096,12 @@ var meetingDetailsItem = /* @__PURE__ */ __name((details, owner) => {
|
|
|
1082
1096
|
mime: one.mime,
|
|
1083
1097
|
size: one.size,
|
|
1084
1098
|
url: one.url
|
|
1099
|
+
})),
|
|
1100
|
+
documents: (details.documents ?? []).map((one) => ({
|
|
1101
|
+
file_id: one.fileId,
|
|
1102
|
+
role: one.role,
|
|
1103
|
+
title: one.title,
|
|
1104
|
+
document: one.documentId === null ? null : `document:${one.documentId}`
|
|
1085
1105
|
}))
|
|
1086
1106
|
};
|
|
1087
1107
|
}, "meetingDetailsItem");
|
|
@@ -1156,7 +1176,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1156
1176
|
};
|
|
1157
1177
|
}, "meetingHitsList");
|
|
1158
1178
|
|
|
1159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1160
1180
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1161
1181
|
const parsed = urlOf(url);
|
|
1162
1182
|
if (!parsed)
|
|
@@ -1190,7 +1210,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1190
1210
|
}
|
|
1191
1211
|
}, "urlOf");
|
|
1192
1212
|
|
|
1193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1194
1214
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1195
1215
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1196
1216
|
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");
|
|
@@ -1227,7 +1247,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1227
1247
|
return kept;
|
|
1228
1248
|
}, "entryMetadata");
|
|
1229
1249
|
|
|
1230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1231
1251
|
import { createHash } from "node:crypto";
|
|
1232
1252
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1233
1253
|
reference: cue2.reference,
|
|
@@ -1241,7 +1261,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1241
1261
|
text: cue2.text
|
|
1242
1262
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1243
1263
|
|
|
1244
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
1245
1265
|
var EVENT_QUERY = defineQuery({
|
|
1246
1266
|
entity: "event",
|
|
1247
1267
|
backend: "sql",
|
|
@@ -1257,7 +1277,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
1257
1277
|
]
|
|
1258
1278
|
});
|
|
1259
1279
|
|
|
1260
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1261
1281
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1262
1282
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1263
1283
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1280,8 +1300,8 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1280
1300
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1281
1301
|
}, "entryInWindow");
|
|
1282
1302
|
|
|
1283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1284
|
-
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
1303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
1304
|
+
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
|
|
1285
1305
|
const current = await store.meeting(details.meeting.id);
|
|
1286
1306
|
if (!current)
|
|
1287
1307
|
return null;
|
|
@@ -1299,6 +1319,8 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1299
1319
|
return null;
|
|
1300
1320
|
}
|
|
1301
1321
|
let event2 = candidates[0];
|
|
1322
|
+
if (!event2 && !create)
|
|
1323
|
+
return null;
|
|
1302
1324
|
if (!event2) {
|
|
1303
1325
|
let eventSeriesId = series?.eventSeriesId ?? null;
|
|
1304
1326
|
if (series?.kind === "recurring" && eventSeriesId === null) {
|
|
@@ -1323,7 +1345,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
1323
1345
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
1324
1346
|
}, "linkEvent");
|
|
1325
1347
|
|
|
1326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1327
1349
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text7) => text7.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1328
1350
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1329
1351
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1347,7 +1369,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1347
1369
|
};
|
|
1348
1370
|
}, "validateMeetingParticipantSearch");
|
|
1349
1371
|
|
|
1350
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1351
1373
|
var MeetingError = class extends CliError {
|
|
1352
1374
|
static {
|
|
1353
1375
|
__name(this, "MeetingError");
|
|
@@ -1479,7 +1501,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id5, accountId)
|
|
|
1479
1501
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1480
1502
|
}, "meetingSummaryAnswer");
|
|
1481
1503
|
|
|
1482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1483
1505
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1484
1506
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1485
1507
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1575,10 +1597,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id5, options) => {
|
|
|
1575
1597
|
};
|
|
1576
1598
|
}, "exportMeeting");
|
|
1577
1599
|
|
|
1578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1579
1601
|
import { createHash as createHash2 } from "node:crypto";
|
|
1580
1602
|
|
|
1581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1582
1604
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1583
1605
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1584
1606
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1589,7 +1611,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1589
1611
|
return new Date(value).toISOString();
|
|
1590
1612
|
}, "meetingTimestamp");
|
|
1591
1613
|
|
|
1592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1593
1615
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1594
1616
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1595
1617
|
throw new CliError("validation_error", message);
|
|
@@ -1764,7 +1786,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1764
1786
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1765
1787
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1766
1788
|
|
|
1767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1768
1790
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1769
1791
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1770
1792
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1775,7 +1797,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1775
1797
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1776
1798
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1777
1799
|
|
|
1778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1779
1801
|
var context = {
|
|
1780
1802
|
command: "search meetings",
|
|
1781
1803
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1895,7 +1917,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text7) => {
|
|
|
1895
1917
|
return { version: 1, language: "lucene-v1", root };
|
|
1896
1918
|
}, "meetingWordsQuery");
|
|
1897
1919
|
|
|
1898
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
1899
1921
|
var LATIN_WORDS = {
|
|
1900
1922
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
1901
1923
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -1944,7 +1966,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
1944
1966
|
return null;
|
|
1945
1967
|
}, "transcriptLanguage");
|
|
1946
1968
|
|
|
1947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
1948
1970
|
var contentHash = /* @__PURE__ */ __name(async (text7) => {
|
|
1949
1971
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text7));
|
|
1950
1972
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -1981,7 +2003,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
1981
2003
|
return time2;
|
|
1982
2004
|
}, "timestamp");
|
|
1983
2005
|
|
|
1984
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
1985
2007
|
var TranscriptTextError = class extends Error {
|
|
1986
2008
|
static {
|
|
1987
2009
|
__name(this, "TranscriptTextError");
|
|
@@ -2036,7 +2058,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2036
2058
|
return { header, lines };
|
|
2037
2059
|
}, "parseTranscriptText");
|
|
2038
2060
|
|
|
2039
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2040
2062
|
var VttError = class extends Error {
|
|
2041
2063
|
static {
|
|
2042
2064
|
__name(this, "VttError");
|
|
@@ -2088,7 +2110,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2088
2110
|
return cues;
|
|
2089
2111
|
}, "parseVtt");
|
|
2090
2112
|
|
|
2091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2092
2114
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2093
2115
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2094
2116
|
for (const file of files) {
|
|
@@ -2121,10 +2143,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2121
2143
|
return report;
|
|
2122
2144
|
}, "importFiles");
|
|
2123
2145
|
|
|
2124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2125
2147
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2126
2148
|
|
|
2127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2128
2150
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2129
2151
|
const provider = scope2?.provider;
|
|
2130
2152
|
const account = scope2?.account;
|
|
@@ -2133,7 +2155,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2133
2155
|
return Object.freeze({ provider, account });
|
|
2134
2156
|
}, "snapshotMeetingScope");
|
|
2135
2157
|
|
|
2136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2137
2159
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2138
2160
|
if (typeof value !== "string" || !value.trim())
|
|
2139
2161
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2199,7 +2221,7 @@ var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) =
|
|
|
2199
2221
|
return { applied: true, value: await dispatch(signal) };
|
|
2200
2222
|
}, "dispatchMeetingMutation");
|
|
2201
2223
|
|
|
2202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
2203
2225
|
var id = /* @__PURE__ */ __name((value) => {
|
|
2204
2226
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
2205
2227
|
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
@@ -2321,7 +2343,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope2, accountId, ports) =>
|
|
|
2321
2343
|
};
|
|
2322
2344
|
}, "createMeetingContext");
|
|
2323
2345
|
|
|
2324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2325
2347
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2326
2348
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2327
2349
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2346,7 +2368,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2346
2368
|
return { ...input, limit, maxReadBytes };
|
|
2347
2369
|
}, "validateMeetingPreparationContext");
|
|
2348
2370
|
|
|
2349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2350
2372
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2351
2373
|
var id2 = pipe(string(), minLength(1));
|
|
2352
2374
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2467,7 +2489,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2467
2489
|
};
|
|
2468
2490
|
}, "meetingProjectEvidenceAnswer");
|
|
2469
2491
|
|
|
2470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2471
2493
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2472
2494
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2473
2495
|
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) || [
|
|
@@ -2487,7 +2509,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2487
2509
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2488
2510
|
}, "validateMeetingHitSearch");
|
|
2489
2511
|
|
|
2490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2491
2513
|
var ids = {
|
|
2492
2514
|
meeting_id: "meetingId",
|
|
2493
2515
|
identity_id: "participantIdentityId",
|
|
@@ -2578,7 +2600,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project2, request =
|
|
|
2578
2600
|
return { project: project2.trim(), options, query: frozen.join(" AND ") };
|
|
2579
2601
|
}, "prepareMeetingProjectEvidence");
|
|
2580
2602
|
|
|
2581
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2582
2604
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, request = {}, now = Date.now()) => {
|
|
2583
2605
|
const prepared = prepareMeetingProjectEvidence(project2, request, now);
|
|
2584
2606
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2586,7 +2608,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project2, r
|
|
|
2586
2608
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2587
2609
|
}, "readMeetingProjectEvidence");
|
|
2588
2610
|
|
|
2589
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2590
2612
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2591
2613
|
const { identityExternalId, phone, ...fields2 } = p;
|
|
2592
2614
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2621,6 +2643,19 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
2621
2643
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2622
2644
|
let failed = false;
|
|
2623
2645
|
let firstFailed;
|
|
2646
|
+
const callers = /* @__PURE__ */ new Set();
|
|
2647
|
+
const linkCallers = /* @__PURE__ */ __name(async () => {
|
|
2648
|
+
if (callers.size === 0 || !store.linkCallers)
|
|
2649
|
+
return;
|
|
2650
|
+
try {
|
|
2651
|
+
await store.linkCallers(source.provider, [...callers]);
|
|
2652
|
+
} catch (error) {
|
|
2653
|
+
report.warnings.push({
|
|
2654
|
+
externalId: source.provider,
|
|
2655
|
+
message: `callers not linked to people: ${error instanceof Error ? error.message : "failed"}`
|
|
2656
|
+
});
|
|
2657
|
+
}
|
|
2658
|
+
}, "linkCallers");
|
|
2624
2659
|
const from = timestamp2(since) - lookbackMs;
|
|
2625
2660
|
const meetings = (await source.meetings(lookbackMs === 0 ? since : new Date(from).toISOString())).toSorted((a, b) => startOf(a) - startOf(b));
|
|
2626
2661
|
for (const [index, m] of meetings.entries()) {
|
|
@@ -2631,6 +2666,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
2631
2666
|
const reached = Math.min(startOf(m), firstFailed ?? Number.POSITIVE_INFINITY);
|
|
2632
2667
|
if (Number.isFinite(reached) && reached > timestamp2(since))
|
|
2633
2668
|
await store.setCursor(options.accountId, new Date(reached).toISOString(), now);
|
|
2669
|
+
await linkCallers();
|
|
2634
2670
|
return report;
|
|
2635
2671
|
}
|
|
2636
2672
|
const id5 = m.occurrence.id;
|
|
@@ -2664,6 +2700,8 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
2664
2700
|
const chat = await read("chat", () => source.chat(id5));
|
|
2665
2701
|
const summary = await read("summary", () => source.summary(id5));
|
|
2666
2702
|
const attachments = await read("files", () => source.files(id5));
|
|
2703
|
+
const listDocuments = source.documents?.bind(source);
|
|
2704
|
+
const documents = listDocuments ? await read("documents", () => listDocuments(id5)) : void 0;
|
|
2667
2705
|
const startedAt = timestamp2(m.occurrence.startedAt);
|
|
2668
2706
|
const endedAt = m.occurrence.endedAt === null ? null : timestamp2(m.occurrence.endedAt);
|
|
2669
2707
|
if (endedAt !== null && endedAt < startedAt)
|
|
@@ -2725,6 +2763,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
2725
2763
|
}
|
|
2726
2764
|
] : void 0,
|
|
2727
2765
|
attachments: attachments ?? void 0,
|
|
2766
|
+
documents: documents ?? void 0,
|
|
2728
2767
|
now
|
|
2729
2768
|
});
|
|
2730
2769
|
if (lines && !linked && !details.transcripts.some((t) => t.transcript.source === source.name && t.transcript.supersededAt === null))
|
|
@@ -2734,7 +2773,10 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
2734
2773
|
unlinked`, format)],
|
|
2735
2774
|
now
|
|
2736
2775
|
});
|
|
2737
|
-
await linkEvent(store, details, now);
|
|
2776
|
+
await linkEvent(store, details, now, { create: source.createsEvents !== false });
|
|
2777
|
+
for (const p of participants)
|
|
2778
|
+
if (p.identity.phone)
|
|
2779
|
+
callers.add(p.identity.externalId);
|
|
2738
2780
|
report.meetings++;
|
|
2739
2781
|
report.participants += participants.length;
|
|
2740
2782
|
report.transcriptRows += lines?.length ?? 0;
|
|
@@ -2744,12 +2786,13 @@ unlinked`, format)],
|
|
|
2744
2786
|
report.warnings.push({ externalId: id5, message: error instanceof Error ? error.message : "Meeting pull failed" });
|
|
2745
2787
|
}
|
|
2746
2788
|
}
|
|
2789
|
+
await linkCallers();
|
|
2747
2790
|
if (!failed)
|
|
2748
2791
|
await store.setCursor(options.accountId, new Date(now).toISOString(), now);
|
|
2749
2792
|
return report;
|
|
2750
2793
|
}, "pull");
|
|
2751
2794
|
|
|
2752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2795
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2753
2796
|
var text5 = string();
|
|
2754
2797
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2755
2798
|
var id3 = pipe(number(), integer(), minValue(1));
|
|
@@ -2944,10 +2987,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
2944
2987
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
2945
2988
|
}), "eventItem");
|
|
2946
2989
|
|
|
2947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
2948
2991
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
2949
2992
|
|
|
2950
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
2951
2994
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
2952
2995
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2953
2996
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -2977,14 +3020,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
2977
3020
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
2978
3021
|
}, "validateMeetingRelatedHistory");
|
|
2979
3022
|
|
|
2980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
2981
3024
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
2982
3025
|
|
|
2983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
2984
3027
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
2985
3028
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
2986
3029
|
|
|
2987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
2988
3031
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
2989
3032
|
input.signal?.throwIfAborted();
|
|
2990
3033
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3005,10 +3048,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3005
3048
|
return { ...input, limit, maxReadBytes };
|
|
3006
3049
|
}, "validateMeetingSeriesHistory");
|
|
3007
3050
|
|
|
3008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3009
3052
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3010
3053
|
|
|
3011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3012
3055
|
function invalid4(field, response = false) {
|
|
3013
3056
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3014
3057
|
}
|
|
@@ -3037,7 +3080,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3037
3080
|
cursorDetails(value);
|
|
3038
3081
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3039
3082
|
|
|
3040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3041
3084
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3042
3085
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3043
3086
|
const zone = timeZone ?? "UTC";
|
|
@@ -3172,17 +3215,14 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3172
3215
|
};
|
|
3173
3216
|
}, "aggregateMeetingStats");
|
|
3174
3217
|
|
|
3175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3176
|
-
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
3177
|
-
|
|
3178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
3218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
3179
3219
|
var SOURCE_REVIEW_KIND = "memory_source_review";
|
|
3180
3220
|
var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
|
|
3181
3221
|
var ERASED_TEXT = "[source erased]";
|
|
3182
3222
|
var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
|
|
3183
3223
|
var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
|
|
3184
3224
|
|
|
3185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
3186
3226
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
3187
3227
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
3188
3228
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -3197,7 +3237,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
3197
3237
|
}
|
|
3198
3238
|
__name(closeTask, "closeTask");
|
|
3199
3239
|
|
|
3200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
3201
3241
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
3202
3242
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
3203
3243
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -3226,7 +3266,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
3226
3266
|
}, "priorityOf");
|
|
3227
3267
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
3228
3268
|
|
|
3229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
3230
3270
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
3231
3271
|
async function find(id5) {
|
|
3232
3272
|
const task = await store.get(id5);
|
|
@@ -3286,13 +3326,13 @@ function median(values) {
|
|
|
3286
3326
|
}
|
|
3287
3327
|
__name(median, "median");
|
|
3288
3328
|
|
|
3289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
3290
3330
|
function matches(task, filter) {
|
|
3291
3331
|
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);
|
|
3292
3332
|
}
|
|
3293
3333
|
__name(matches, "matches");
|
|
3294
3334
|
|
|
3295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
3296
3336
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
3297
3337
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
3298
3338
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -3300,10 +3340,10 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
3300
3340
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
3301
3341
|
var TASK_TYPES2 = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
3302
3342
|
|
|
3303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/categories.js
|
|
3304
3344
|
var CATEGORIES = ["client", "supplier", "partner", "employer"];
|
|
3305
3345
|
|
|
3306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
3307
3347
|
var text6 = string();
|
|
3308
3348
|
var id4 = pipe(string(), minLength(1));
|
|
3309
3349
|
var time = isoTime;
|
|
@@ -3328,7 +3368,7 @@ var author = strictObject({
|
|
|
3328
3368
|
name: nullable(text6)
|
|
3329
3369
|
});
|
|
3330
3370
|
|
|
3331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3371
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
3332
3372
|
var organization = strictObject({
|
|
3333
3373
|
id: id4,
|
|
3334
3374
|
ref: reference,
|
|
@@ -3358,7 +3398,7 @@ var reminder = strictObject({
|
|
|
3358
3398
|
receipt: nullable(text6)
|
|
3359
3399
|
});
|
|
3360
3400
|
|
|
3361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
3362
3402
|
var CURRENCY_SCALES = {
|
|
3363
3403
|
AED: 2,
|
|
3364
3404
|
AMD: 2,
|
|
@@ -3452,7 +3492,7 @@ var quantityOf = /* @__PURE__ */ __name((text7) => {
|
|
|
3452
3492
|
}, "quantityOf");
|
|
3453
3493
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
3454
3494
|
|
|
3455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
3456
3496
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
3457
3497
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
3458
3498
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -3481,7 +3521,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
3481
3521
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
3482
3522
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
3483
3523
|
|
|
3484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/business.js
|
|
3485
3525
|
var CATALOG_KINDS = ["product", "service"];
|
|
3486
3526
|
var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
|
|
3487
3527
|
var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
|
|
@@ -3509,7 +3549,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
|
|
|
3509
3549
|
var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
|
|
3510
3550
|
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");
|
|
3511
3551
|
|
|
3512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
3513
3553
|
import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
3514
3554
|
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
3515
3555
|
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
@@ -3630,7 +3670,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
|
|
|
3630
3670
|
return { previous, cleared };
|
|
3631
3671
|
}, "recordDeepCheck");
|
|
3632
3672
|
|
|
3633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/locator.js
|
|
3634
3674
|
var SCHEME = "msg:";
|
|
3635
3675
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
3636
3676
|
var isLocator = /* @__PURE__ */ __name((reference2) => reference2.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -3644,7 +3684,7 @@ var parseLocator = /* @__PURE__ */ __name((reference2) => {
|
|
|
3644
3684
|
return { provider, account, chat, message };
|
|
3645
3685
|
}, "parseLocator");
|
|
3646
3686
|
|
|
3647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/references.js
|
|
3648
3688
|
var SIMPLE_REFERENCES = [
|
|
3649
3689
|
"note",
|
|
3650
3690
|
"document",
|
|
@@ -3800,7 +3840,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text7) => {
|
|
|
3800
3840
|
return match !== null && byPrefix.has(match[1]);
|
|
3801
3841
|
}, "looksLikeReference");
|
|
3802
3842
|
|
|
3803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
3804
3844
|
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
|
|
3805
3845
|
var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
|
|
3806
3846
|
var PROVIDERS = [
|
|
@@ -3816,6 +3856,9 @@ var PROVIDERS = [
|
|
|
3816
3856
|
{ name: "obsidian", kind: "notes", aliases: [] },
|
|
3817
3857
|
{ name: "added", kind: "notes", aliases: [] },
|
|
3818
3858
|
{ name: "zoom", kind: "meetings", aliases: [] },
|
|
3859
|
+
{ name: "google-meet", kind: "meetings", aliases: [], command: "meet" },
|
|
3860
|
+
// Its meetings come from the notes Telemost mails (`keeper@telemost.yandex.ru`), read by a mail rule.
|
|
3861
|
+
{ name: "telemost", kind: "meetings", aliases: [] },
|
|
3819
3862
|
// A phone export's records: its SMS and its calls in the one account the import names.
|
|
3820
3863
|
{ name: "phone", kind: "messages", kinds: ["messages", "events"], aliases: [], imported: true },
|
|
3821
3864
|
// Any other import: a folder of notes, a CRM's export, a script's records, under `import:<what it is>`.
|
|
@@ -3829,8 +3872,10 @@ var LABELS = {
|
|
|
3829
3872
|
whatsapp: "WhatsApp",
|
|
3830
3873
|
"whatsapp-bot": "WhatsApp bot",
|
|
3831
3874
|
"google-drive": "Google Drive",
|
|
3875
|
+
"google-meet": "Google Meet",
|
|
3832
3876
|
added: "added by hand",
|
|
3833
|
-
email: "mail"
|
|
3877
|
+
email: "mail",
|
|
3878
|
+
telemost: "Telemost"
|
|
3834
3879
|
};
|
|
3835
3880
|
var providerLabel = /* @__PURE__ */ __name((provider) => LABELS[provider] ?? provider, "providerLabel");
|
|
3836
3881
|
var FOLDER_PROVIDERS = ["local", "obsidian", "folder"];
|
|
@@ -3967,7 +4012,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).in
|
|
|
3967
4012
|
var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
|
|
3968
4013
|
var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
|
|
3969
4014
|
|
|
3970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
3971
4016
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
3972
4017
|
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");
|
|
3973
4018
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -3990,7 +4035,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
3990
4035
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
3991
4036
|
}, "sourceOf");
|
|
3992
4037
|
|
|
3993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
3994
4039
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
3995
4040
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
3996
4041
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|
|
@@ -4200,7 +4245,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind2) =
|
|
|
4200
4245
|
return { accounts: [...chosen.values()], skipped };
|
|
4201
4246
|
}, "fitting");
|
|
4202
4247
|
|
|
4203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/deals.js
|
|
4204
4249
|
var DEAL_KINDS = ["deal", "lead"];
|
|
4205
4250
|
var DEAL_STATUSES = ["open", "won", "lost"];
|
|
4206
4251
|
var STAGE_OUTCOMES = DEAL_STATUSES;
|
|
@@ -4210,7 +4255,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
|
|
|
4210
4255
|
return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
|
|
4211
4256
|
}, "dealLine");
|
|
4212
4257
|
|
|
4213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
4214
4259
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
4215
4260
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
4216
4261
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -4221,7 +4266,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
4221
4266
|
}, "orderLine");
|
|
4222
4267
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
4223
4268
|
|
|
4224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/relations.js
|
|
4225
4270
|
var ORGANIZATION_ROLES = [
|
|
4226
4271
|
"employee",
|
|
4227
4272
|
"contractor",
|
|
@@ -4324,7 +4369,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
|
|
|
4324
4369
|
var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND 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");
|
|
4325
4370
|
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");
|
|
4326
4371
|
|
|
4327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/crm.js
|
|
4328
4373
|
var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
|
|
4329
4374
|
var isCrmUserId = /* @__PURE__ */ __name((id5) => /^\d{1,20}$/.test(id5), "isCrmUserId");
|
|
4330
4375
|
var normalCrmUserId = /* @__PURE__ */ __name((id5) => {
|
|
@@ -4333,7 +4378,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id5) => {
|
|
|
4333
4378
|
}, "normalCrmUserId");
|
|
4334
4379
|
var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
|
|
4335
4380
|
|
|
4336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
4337
4382
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
4338
4383
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
4339
4384
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -4347,7 +4392,7 @@ var normalizeTag = /* @__PURE__ */ __name((value) => {
|
|
|
4347
4392
|
return tag;
|
|
4348
4393
|
}, "normalizeTag");
|
|
4349
4394
|
|
|
4350
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
|
|
4351
4396
|
var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
|
|
4352
4397
|
var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
4353
4398
|
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;
|
|
@@ -4357,7 +4402,7 @@ var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
|
4357
4402
|
};
|
|
4358
4403
|
}, "sourceOf");
|
|
4359
4404
|
|
|
4360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
4361
4406
|
var LINK_KINDS = [
|
|
4362
4407
|
"links-to",
|
|
4363
4408
|
"blocked-by",
|
|
@@ -4377,7 +4422,7 @@ var LINK_KINDS = [
|
|
|
4377
4422
|
"attached"
|
|
4378
4423
|
];
|
|
4379
4424
|
var LINK_ORIGINS = ["file", "owner", "suggested", "message"];
|
|
4380
|
-
var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
4425
|
+
var LINK_SOURCES = [...LINK_ORIGINS, "calendar", "meeting"];
|
|
4381
4426
|
var linkKind = /* @__PURE__ */ __name((kind2) => `'${kind2}'`, "linkKind");
|
|
4382
4427
|
var COUNTERPART_ROLE = "counterpart";
|
|
4383
4428
|
|
|
@@ -4415,6 +4460,8 @@ export {
|
|
|
4415
4460
|
canonicalMeetingReference,
|
|
4416
4461
|
meeting,
|
|
4417
4462
|
MEETING_QUERY,
|
|
4463
|
+
MEETING_DOCUMENT_ROLES,
|
|
4464
|
+
READ_BUDGET_EXCEEDED,
|
|
4418
4465
|
meetingHit,
|
|
4419
4466
|
meetingTranscript,
|
|
4420
4467
|
meetingSummary,
|
|
@@ -4498,7 +4545,6 @@ export {
|
|
|
4498
4545
|
validateMeetingSeriesInventoryCursor,
|
|
4499
4546
|
aggregateMeetingCounts,
|
|
4500
4547
|
aggregateMeetingStats,
|
|
4501
|
-
READ_BUDGET_EXCEEDED,
|
|
4502
4548
|
SOURCE_REVIEW_KIND,
|
|
4503
4549
|
SOURCE_REVIEW_CAUSES,
|
|
4504
4550
|
ERASED_TEXT,
|