@wirecat/zoom-cli 0.73.0 → 0.74.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/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-V47CUJFK.js → all-profiles-SDOAABLC.js} +7 -7
- package/dist/bundle/answer-policy-RHS74QYY.js +110 -0
- package/dist/bundle/{anthropic-SID7Z3QN.js → anthropic-HCVY2PIN.js} +2 -2
- package/dist/bundle/{app-server-KCMUSY4A.js → app-server-V64VS6KN.js} +48 -50
- package/dist/bundle/{bun-PWMM6L45.js → bun-EBQHHLKR.js} +2 -2
- package/dist/bundle/{bun-sqlite-3TLKUN5A.js → bun-sqlite-PVMXO2JB.js} +3 -3
- package/dist/bundle/chunk-2PNG76LV.js +707 -0
- package/dist/bundle/{chunk-OU5OXA6Q.js → chunk-3ROL6MBJ.js} +1535 -649
- package/dist/bundle/{chunk-MOKEB656.js → chunk-3TYNBHBK.js} +1 -1
- package/dist/bundle/{chunk-NBA2V6LB.js → chunk-4ELLWJT4.js} +7 -7
- package/dist/bundle/{chunk-KK2IVZUQ.js → chunk-4EZKR6Q4.js} +5 -5
- package/dist/bundle/{chunk-XLY7V2LB.js → chunk-5KDBLEUF.js} +10 -10
- package/dist/bundle/{chunk-PKON63JH.js → chunk-5R6EBM5Z.js} +1 -1
- package/dist/bundle/{chunk-44YVZIA4.js → chunk-6EMOZGSN.js} +2 -2
- package/dist/bundle/{chunk-4LFFDUUW.js → chunk-6GPBDVQ2.js} +3 -3
- package/dist/bundle/{chunk-IE7YBRUO.js → chunk-7NE3LB7A.js} +1 -1
- package/dist/bundle/{chunk-QS6DWXDB.js → chunk-7R4UU65O.js} +12 -12
- package/dist/bundle/{chunk-HAMDPWEZ.js → chunk-7W23N2YW.js} +5 -5
- package/dist/bundle/{chunk-N3SOTKXC.js → chunk-AFUHT7F7.js} +5 -5
- package/dist/bundle/{chunk-3ADFJ3UP.js → chunk-APLV37JA.js} +2 -2
- package/dist/bundle/{chunk-OFA22L4G.js → chunk-BKMC4ETU.js} +4 -4
- package/dist/bundle/{chunk-UIKVP23D.js → chunk-BOGGQOVO.js} +1 -1
- package/dist/bundle/{chunk-DPSTOVKC.js → chunk-DSRG5NRF.js} +2 -2
- package/dist/bundle/{chunk-35CYSRGJ.js → chunk-DXZN3DU6.js} +2 -2
- package/dist/bundle/{chunk-Y3IH7EZC.js → chunk-F6PUM6ZK.js} +16 -16
- package/dist/bundle/{chunk-AIEMFRBU.js → chunk-FL2TKSZY.js} +1 -1
- package/dist/bundle/{chunk-ZAIE3G5I.js → chunk-FY2X6U6O.js} +2 -2
- package/dist/bundle/{chunk-JIS34MLC.js → chunk-GPGIU3OG.js} +7 -7
- package/dist/bundle/{chunk-VPPNYUQM.js → chunk-HGUYJUNO.js} +322 -11
- package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-HZUUVNWC.js} +1 -1
- package/dist/bundle/{chunk-G3SIY4MQ.js → chunk-I2D4ZZOD.js} +19 -21
- package/dist/bundle/{chunk-R5FTCNLJ.js → chunk-IJONJTST.js} +1 -1
- package/dist/bundle/{chunk-LQYMN36C.js → chunk-IS6FUZCP.js} +1 -1
- package/dist/bundle/{chunk-G2TSDMTA.js → chunk-IZUOL4Q6.js} +3 -3
- package/dist/bundle/{chunk-ETQNHS3A.js → chunk-KBRIMLVN.js} +6 -6
- package/dist/bundle/{chunk-CQBLPBZU.js → chunk-KCPRTZBZ.js} +2 -2
- package/dist/bundle/{chunk-2VYEGKQ3.js → chunk-KYL5FYOW.js} +1 -1
- package/dist/bundle/{chunk-V5Q2QKYM.js → chunk-LHPYSVGP.js} +23 -25
- package/dist/bundle/{chunk-EXWZCI5G.js → chunk-LN2LWPN2.js} +1 -1
- package/dist/bundle/{chunk-LVDTSCIN.js → chunk-LQR4V5EY.js} +10 -10
- package/dist/bundle/{chunk-CIUJEQH4.js → chunk-LUBG5GKK.js} +9 -9
- package/dist/bundle/{chunk-ERQRY6WZ.js → chunk-LZ4AVHBS.js} +1 -1
- package/dist/bundle/{chunk-KUL7S5Y3.js → chunk-N7KCNMKL.js} +10 -10
- package/dist/bundle/{chunk-IKNOTHG2.js → chunk-NKBMLSWK.js} +53 -53
- package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-NV2REPY6.js} +1 -1
- package/dist/bundle/{chunk-PGPHEC2X.js → chunk-OP6HK2QL.js} +1 -1
- package/dist/bundle/{chunk-VJVYGTPM.js → chunk-OPUGV7VW.js} +1 -1
- package/dist/bundle/{chunk-PACLT6IW.js → chunk-P53CLAXD.js} +64 -66
- package/dist/bundle/{chunk-2NQPB6MT.js → chunk-PKM2UKAZ.js} +5 -1
- package/dist/bundle/{chunk-Z5XCU4S7.js → chunk-PMHMKZEJ.js} +32 -32
- package/dist/bundle/{chunk-Q43KX56Z.js → chunk-QAGSAOYS.js} +2 -2
- package/dist/bundle/{chunk-L6YSKCC3.js → chunk-QLKCKTM4.js} +1 -1
- package/dist/bundle/{chunk-DYLYH7VE.js → chunk-QSWR7VDA.js} +3 -3
- package/dist/bundle/{chunk-OMLVWOEF.js → chunk-R35YGFKQ.js} +158 -15
- package/dist/bundle/{chunk-6AO2RSYH.js → chunk-R4J4DLJV.js} +1167 -839
- package/dist/bundle/{chunk-6WUTUCKH.js → chunk-RJJ4OYNH.js} +2 -2
- package/dist/bundle/{chunk-ZX4QWTMQ.js → chunk-RQJ2RXFO.js} +25 -27
- package/dist/bundle/{chunk-KSNJK4QM.js → chunk-RRW54FK6.js} +12 -12
- package/dist/bundle/{chunk-JQF4LM3V.js → chunk-SKDQNYKA.js} +16 -16
- package/dist/bundle/{chunk-KHBZ4OEP.js → chunk-SPWKGRTO.js} +1 -1
- package/dist/bundle/{chunk-CMWFYZ45.js → chunk-SY4MIIWF.js} +1 -1
- package/dist/bundle/{chunk-K5JFX5TK.js → chunk-TKPIDOW5.js} +18 -18
- package/dist/bundle/{chunk-K7EMVFJ7.js → chunk-TLNZUPGU.js} +13 -13
- package/dist/bundle/{chunk-UYBLNGZ2.js → chunk-TMCXUWTY.js} +1 -1
- package/dist/bundle/{chunk-FJMRDRPN.js → chunk-TN2YUZBF.js} +1147 -482
- package/dist/bundle/{chunk-SYIOT45G.js → chunk-UGLNVUFX.js} +4 -4
- package/dist/bundle/{chunk-SO52EJ2W.js → chunk-UVWNUY3W.js} +2 -2
- package/dist/bundle/{chunk-LSVQCI6V.js → chunk-UW3BB2XW.js} +22 -22
- package/dist/bundle/{chunk-HO3GBTIT.js → chunk-UXSTXFZQ.js} +1526 -912
- package/dist/bundle/{chunk-QWGEOQHA.js → chunk-WRRGO246.js} +1 -1
- package/dist/bundle/{chunk-ILDGZBZD.js → chunk-WYV5IITK.js} +6 -6
- package/dist/bundle/{chunk-MG2CCAVG.js → chunk-XCC7R47Z.js} +2 -2
- package/dist/bundle/{chunk-6NI4FE5G.js → chunk-XFT3YIHU.js} +3 -3
- package/dist/bundle/{chunk-QVJMFZFW.js → chunk-XGEPAJBY.js} +1 -1
- package/dist/bundle/{chunk-OKOJEBHK.js → chunk-Y4KWWPIO.js} +2 -2
- package/dist/bundle/{chunk-P4FU6R3Z.js → chunk-YFLTHGB3.js} +7 -7
- package/dist/bundle/{chunk-FZLJ2G7A.js → chunk-YM6ZATEK.js} +4 -4
- package/dist/bundle/{chunk-TI2OANJZ.js → chunk-YNI57LTZ.js} +1 -1
- package/dist/bundle/{chunk-GCZMYDKU.js → chunk-ZYMTS3CI.js} +2 -2
- package/dist/bundle/{cli-4ZYJ6OZE.js → cli-5ALOQCAC.js} +103 -82
- package/dist/bundle/command-contract-WO5QJVLZ.js +41 -0
- package/dist/bundle/{command-server-entry-CASONRIJ.js → command-server-entry-ICOMIJIH.js} +24 -26
- package/dist/bundle/config-YQA5TJ7Y.js +97 -0
- package/dist/bundle/{decode-KEFCVGEB.js → decode-7LFOROWF.js} +2 -2
- package/dist/bundle/{dist-GCQ7KCKN.js → dist-KJOOYNCP.js} +13 -14
- package/dist/bundle/{echarts-SDZA2SWG.js → echarts-EJXBKCJT.js} +2 -2
- package/dist/bundle/{embed-43VJEPM6.js → embed-TOZCKRRO.js} +3 -3
- package/dist/bundle/{embedder-Q4ZHAGRP.js → embedder-QKEKUCS5.js} +6 -6
- package/dist/bundle/{first-run-CPOLQVNA.js → first-run-S7CQVGK6.js} +6 -6
- package/dist/bundle/first-screen-6GW6FD6S.js +39 -0
- package/dist/bundle/{instructions-7T6JJIFS.js → instructions-Z7GVGWXS.js} +1 -1
- package/dist/bundle/{main-NA3QVPXS.js → main-RL3GC4OX.js} +15 -15
- package/dist/bundle/{meetings-7CVIQJTA.js → meetings-JCMLE5AO.js} +1 -1
- package/dist/bundle/{node-BZDMUFTW.js → node-L2PVEW3N.js} +2 -2
- package/dist/bundle/{node-sqlite-QHGB23B4.js → node-sqlite-4YW3W4XI.js} +4 -4
- package/dist/bundle/{oauth-BMEMCM2I.js → oauth-NNHWAT6A.js} +4 -4
- package/dist/bundle/{open-JGU2NRJP.js → open-PF2JHJIY.js} +2 -2
- package/dist/bundle/{openai-VTXXFNCS.js → openai-C72ADYMD.js} +10 -10
- package/dist/bundle/{process-756VBE7E.js → process-MNZTQ2DA.js} +1 -1
- package/dist/bundle/{program-XM6CDIJ2.js → program-FOCBZZZS.js} +81 -85
- package/dist/bundle/{prompt-2IPFXJ4B.js → prompt-RBSUKMV7.js} +2 -2
- package/dist/bundle/{recognize-672E2RIB.js → recognize-RM6TQKK3.js} +1 -1
- package/dist/bundle/{remote-YLHRVPDS.js → remote-UKHTU3YR.js} +6 -6
- package/dist/bundle/{rerank-NBXQG3OS.js → rerank-3LBRVESU.js} +4 -4
- package/dist/bundle/{run-log-3WITBT2F.js → run-log-UXINNGKA.js} +55 -57
- package/dist/bundle/{serve-FNLOUMYP.js → serve-OOZFTW3W.js} +6 -6
- package/dist/bundle/server-DM5ZPFZB.js +75 -0
- package/dist/bundle/{server-7ZB5AK5H.js → server-YNQPNIJD.js} +39 -41
- package/dist/bundle/{services-Z4UWN64R.js → services-SLEOMN4B.js} +43 -28
- package/dist/bundle/{speech-XSYVCKR3.js → speech-FZZ6QVGU.js} +12 -12
- package/dist/bundle/{sqlite-runtime-GAPXJNWU.js → sqlite-runtime-WUR4PWYB.js} +3 -3
- package/dist/bundle/{state-QSA53EF5.js → state-ET36L4TY.js} +3 -3
- package/dist/bundle/{store-EKI4OAJH.js → store-DI6OUBXA.js} +14 -14
- package/dist/bundle/{store-NOF5EYUC.js → store-SQB2DOVJ.js} +20 -16
- package/dist/bundle/store-connection-M6LVRAZ5.js +90 -0
- package/dist/bundle/store-maintenance-command-B66KWG6K.js +65 -0
- package/dist/bundle/{tokens-WJQYQ3FK.js → tokens-SUHRRQ25.js} +4 -4
- package/dist/bundle/zm.js +2 -2
- package/dist/bundle/{zoom-app-Y7RMWLVU.js → zoom-app-GE4SSHOP.js} +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/answer-policy-W6H72X2R.js +0 -112
- package/dist/bundle/chunk-2BAZRRJP.js +0 -1239
- package/dist/bundle/chunk-KQD4ZVNC.js +0 -153
- package/dist/bundle/chunk-USIMMGWS.js +0 -997
- package/dist/bundle/command-contract-FJDDCHYP.js +0 -43
- package/dist/bundle/config-4DZHX2WX.js +0 -99
- package/dist/bundle/first-screen-XYESRGWW.js +0 -41
- package/dist/bundle/server-GGRGD4SH.js +0 -77
- package/dist/bundle/store-connection-2OZQGEIO.js +0 -92
- package/dist/bundle/store-maintenance-command-GNX3SOZ6.js +0 -67
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
modelsDirectory,
|
|
8
8
|
speechModel,
|
|
9
9
|
vadPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6GPBDVQ2.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
13
|
} from "./chunk-EA2OB75T.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/local.js
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
import { isAbsolute } from "node:path";
|
|
21
21
|
import { setImmediate } from "node:timers/promises";
|
|
@@ -50,7 +50,7 @@ var recognizeLocalPieces = /* @__PURE__ */ __name(async (id, audio, options = {}
|
|
|
50
50
|
const directory = options.directory ?? modelsDirectory(options.env);
|
|
51
51
|
if (!isInstalled(model, directory))
|
|
52
52
|
throw notInstalled(model.id);
|
|
53
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
53
|
+
const { openRecognizer, toModelRate } = await import("./recognize-RM6TQKK3.js");
|
|
54
54
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
55
55
|
try {
|
|
56
56
|
if (!engine.pieces)
|
|
@@ -81,7 +81,7 @@ var openLocalSpeechRecognizer = /* @__PURE__ */ __name(async (id, input = {}) =>
|
|
|
81
81
|
cancelled(options.signal);
|
|
82
82
|
if (!isInstalled(model, directory))
|
|
83
83
|
throw notInstalled(description.model);
|
|
84
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
84
|
+
const { openRecognizer, toModelRate } = await import("./recognize-RM6TQKK3.js");
|
|
85
85
|
cancelled(options.signal);
|
|
86
86
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
87
87
|
let closing = false;
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BKMC4ETU.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure,
|
|
5
5
|
isStoreDamage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TMCXUWTY.js";
|
|
7
7
|
import {
|
|
8
8
|
ADDED_PROVIDER,
|
|
9
9
|
INTERNAL_NOTES,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
kindsIn,
|
|
18
18
|
providerNamed,
|
|
19
19
|
providers
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7R4UU65O.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerStoreInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LZ4AVHBS.js";
|
|
24
24
|
import {
|
|
25
25
|
createRecordLog,
|
|
26
26
|
resolvePaths,
|
|
@@ -53,13 +53,13 @@ import {
|
|
|
53
53
|
__name
|
|
54
54
|
} from "./chunk-ZVVMGPBJ.js";
|
|
55
55
|
|
|
56
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
56
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
57
57
|
import { randomUUID } from "node:crypto";
|
|
58
58
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
59
59
|
import { userInfo } from "node:os";
|
|
60
60
|
import { join, sep } from "node:path";
|
|
61
61
|
|
|
62
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
62
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
63
63
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
64
64
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
65
65
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -72,7 +72,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
72
72
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
73
73
|
}), "snakeLogger");
|
|
74
74
|
|
|
75
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
75
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
76
76
|
var diagnostic = {
|
|
77
77
|
event: true,
|
|
78
78
|
operation: true,
|
|
@@ -146,7 +146,7 @@ var LOG_ATTRIBUTES = [
|
|
|
146
146
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
147
147
|
].sort();
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
150
150
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
151
151
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
152
152
|
var KEEP_STORE_RUNS_FOR_DAYS = 3;
|
|
@@ -513,7 +513,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
513
513
|
};
|
|
514
514
|
}, "metadataOf");
|
|
515
515
|
|
|
516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
517
517
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
518
518
|
import { randomBytes } from "node:crypto";
|
|
519
519
|
var scopes = new AsyncLocalStorage();
|
|
@@ -566,14 +566,14 @@ var attempts = new AsyncLocalStorage();
|
|
|
566
566
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
567
567
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
568
568
|
|
|
569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/source-review.js
|
|
570
570
|
var SOURCE_REVIEW_KIND = "memory_source_review";
|
|
571
571
|
var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
|
|
572
572
|
var ERASED_TEXT = "[source erased]";
|
|
573
573
|
var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
|
|
574
574
|
var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
|
|
575
575
|
|
|
576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
577
577
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
578
578
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
579
579
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -588,7 +588,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
588
588
|
}
|
|
589
589
|
__name(closeTask, "closeTask");
|
|
590
590
|
|
|
591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
592
592
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
593
593
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
594
594
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -617,7 +617,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
617
617
|
}, "priorityOf");
|
|
618
618
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
619
619
|
|
|
620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
621
621
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
622
622
|
async function find(id2) {
|
|
623
623
|
const task = await store.get(id2);
|
|
@@ -677,13 +677,13 @@ function median(values) {
|
|
|
677
677
|
}
|
|
678
678
|
__name(median, "median");
|
|
679
679
|
|
|
680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
681
681
|
function matches(task, filter) {
|
|
682
682
|
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);
|
|
683
683
|
}
|
|
684
684
|
__name(matches, "matches");
|
|
685
685
|
|
|
686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
687
687
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
688
688
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
689
689
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -691,10 +691,10 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
691
691
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
692
692
|
var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
693
693
|
|
|
694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/domain/categories.js
|
|
695
695
|
var CATEGORIES = ["client", "supplier", "partner", "employer"];
|
|
696
696
|
|
|
697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
698
698
|
var text = string();
|
|
699
699
|
var id = pipe(string(), minLength(1));
|
|
700
700
|
var time = isoTime;
|
|
@@ -719,7 +719,7 @@ var author = strictObject({
|
|
|
719
719
|
name: nullable(text)
|
|
720
720
|
});
|
|
721
721
|
|
|
722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
723
723
|
var organization = strictObject({
|
|
724
724
|
id,
|
|
725
725
|
ref: reference,
|
|
@@ -749,7 +749,7 @@ var reminder = strictObject({
|
|
|
749
749
|
receipt: nullable(text)
|
|
750
750
|
});
|
|
751
751
|
|
|
752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
753
753
|
import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
754
754
|
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
755
755
|
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
@@ -870,7 +870,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
|
|
|
870
870
|
return { previous, cleared };
|
|
871
871
|
}, "recordDeepCheck");
|
|
872
872
|
|
|
873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
873
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
874
874
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
875
875
|
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");
|
|
876
876
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -893,7 +893,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
893
893
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
894
894
|
}, "sourceOf");
|
|
895
895
|
|
|
896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
897
897
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
898
898
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
899
899
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|
|
@@ -1103,7 +1103,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind) =>
|
|
|
1103
1103
|
return { accounts: [...chosen.values()], skipped };
|
|
1104
1104
|
}, "fitting");
|
|
1105
1105
|
|
|
1106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
|
|
1107
1107
|
var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
|
|
1108
1108
|
var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
1109
1109
|
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;
|
|
@@ -1113,7 +1113,7 @@ var sourceOf3 = /* @__PURE__ */ __name((database, row, metadata) => {
|
|
|
1113
1113
|
};
|
|
1114
1114
|
}, "sourceOf");
|
|
1115
1115
|
|
|
1116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
1117
1117
|
var LINK_KINDS = [
|
|
1118
1118
|
"links-to",
|
|
1119
1119
|
"blocked-by",
|