@wirecat/zoom-cli 0.68.0 → 0.69.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-R66UM3HM.js → all-profiles-ZQWPCJEK.js} +7 -7
- package/dist/bundle/{answer-policy-UCGUO53A.js → answer-policy-VBDYLUXI.js} +52 -52
- package/dist/bundle/{anthropic-4ZI2BPLG.js → anthropic-7FUQ2HYJ.js} +3 -3
- package/dist/bundle/{app-server-64O5IQI5.js → app-server-DNPE2EQB.js} +46 -46
- package/dist/bundle/{bun-HUHQD76Z.js → bun-ZVQFCFCC.js} +2 -2
- package/dist/bundle/{bun-sqlite-VOVHPTIF.js → bun-sqlite-EB2UMUPJ.js} +2 -2
- package/dist/bundle/{chunk-EZRPSZJS.js → chunk-2SYWVIQJ.js} +1 -1
- package/dist/bundle/chunk-37B7A4RP.js +66 -0
- package/dist/bundle/{chunk-YJY3W2ZT.js → chunk-3TPRYZUW.js} +18 -15
- package/dist/bundle/{chunk-K67V24AT.js → chunk-4APZQYCH.js} +3 -3
- package/dist/bundle/{chunk-7QNJICKZ.js → chunk-52DCABMU.js} +23 -23
- package/dist/bundle/{chunk-KUB2U5NT.js → chunk-5GOE6PQK.js} +5 -5
- package/dist/bundle/{chunk-77KFLU5F.js → chunk-5H6VTEEC.js} +2 -2
- package/dist/bundle/{chunk-PIHBD3YS.js → chunk-5ZF6QVMC.js} +4 -4
- package/dist/bundle/{chunk-FMQS7HCC.js → chunk-5ZJXKASF.js} +249 -8
- package/dist/bundle/chunk-6AMMTXEA.js +12473 -0
- package/dist/bundle/{chunk-SRP6SFFD.js → chunk-6KMTQX3D.js} +1 -1
- package/dist/bundle/{chunk-2T6XHWDX.js → chunk-6N2D6JGX.js} +1 -1
- package/dist/bundle/{chunk-R7LFGEDE.js → chunk-6TICX3MN.js} +2 -2
- package/dist/bundle/{chunk-W42BJ65M.js → chunk-B5D7NZI7.js} +1 -1
- package/dist/bundle/{chunk-EWIBLDQQ.js → chunk-C6TEYKXV.js} +6 -6
- package/dist/bundle/{chunk-32FPA7P2.js → chunk-CKK6JOC4.js} +1 -1
- package/dist/bundle/{chunk-JRCYFCPL.js → chunk-CUZHKYC2.js} +19 -19
- package/dist/bundle/{chunk-355PHJYX.js → chunk-DHD25JII.js} +1 -1
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-EPPSMCEV.js} +1 -1
- package/dist/bundle/{chunk-AYEVBAGO.js → chunk-F5DYBWH7.js} +143 -22
- package/dist/bundle/{chunk-AJ7CMUGD.js → chunk-G6IX2MD2.js} +172 -143
- package/dist/bundle/{chunk-VLD7Y4SY.js → chunk-GR3QDHBU.js} +4 -4
- package/dist/bundle/{chunk-DGNPJGD3.js → chunk-GXDOTUUO.js} +8 -14
- package/dist/bundle/{chunk-5JAYUG3X.js → chunk-H3MFBYTQ.js} +2 -2
- package/dist/bundle/{chunk-TDGZMC6K.js → chunk-HC56J5LB.js} +57 -53
- package/dist/bundle/{chunk-4YFJYSSK.js → chunk-HSI7YOYK.js} +45 -29
- package/dist/bundle/{chunk-LYWUG43B.js → chunk-HW5QTRFF.js} +31 -31
- package/dist/bundle/{chunk-65T3PU75.js → chunk-IEC4E65G.js} +1 -1
- package/dist/bundle/{chunk-L4WVLRXM.js → chunk-IPBZKUC3.js} +3 -3
- package/dist/bundle/{chunk-TN3FH2GQ.js → chunk-JHFP3Z5S.js} +7 -7
- package/dist/bundle/{chunk-3BRV2YU2.js → chunk-JX5JJZC3.js} +2 -2
- package/dist/bundle/{chunk-YTF2WPV4.js → chunk-JZ4YOAHA.js} +679 -496
- package/dist/bundle/{chunk-474WF55M.js → chunk-KX5MZVPX.js} +38 -25
- package/dist/bundle/{chunk-TUNQ6NE2.js → chunk-L62EJDNZ.js} +2 -2
- package/dist/bundle/{chunk-6TJ62LZQ.js → chunk-LDRQ5NAP.js} +3 -3
- package/dist/bundle/{chunk-7DUYFITC.js → chunk-LEA4BGK7.js} +9 -9
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-LQX74VKG.js} +1 -1
- package/dist/bundle/{chunk-RP3U3J53.js → chunk-MJMVIFSC.js} +6 -6
- package/dist/bundle/{chunk-A63ZFOQJ.js → chunk-MNOVYS43.js} +3 -3
- package/dist/bundle/{chunk-YQRNFG2E.js → chunk-MOTKS7XG.js} +7176 -13499
- package/dist/bundle/{chunk-6T3P226D.js → chunk-MSDCZ6GT.js} +4 -4
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-MVDPZRFE.js} +1 -1
- package/dist/bundle/{chunk-LBOSTBAY.js → chunk-O7L44JK2.js} +2031 -1900
- package/dist/bundle/{chunk-Y5LP5SHV.js → chunk-OSBHEM2A.js} +9 -9
- package/dist/bundle/{chunk-RRYUD2EF.js → chunk-QLGG7S6F.js} +2 -2
- package/dist/bundle/{chunk-ZRD3NDOX.js → chunk-QW5VPZEH.js} +1 -1
- package/dist/bundle/{chunk-LV7QRR5S.js → chunk-QXM7S3Y3.js} +5 -5
- package/dist/bundle/{chunk-US5C3WAY.js → chunk-R2ULMWB4.js} +27 -27
- package/dist/bundle/{chunk-QXTREL2M.js → chunk-R3JYPY3J.js} +2 -2
- package/dist/bundle/{chunk-JO4YADNV.js → chunk-RPQ3JOD3.js} +3 -3
- package/dist/bundle/{chunk-4TLPOY22.js → chunk-S2EAGDS7.js} +10 -10
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-SQT47CFW.js} +1 -1
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-SZ3Z4ZNO.js} +1 -1
- package/dist/bundle/{chunk-DWSUSWAX.js → chunk-T5X4LGXE.js} +130 -11
- package/dist/bundle/{chunk-2OSBCYJT.js → chunk-TFFEFEG2.js} +16 -16
- package/dist/bundle/{chunk-EH5QGQFR.js → chunk-TKXLWFM2.js} +2 -2
- package/dist/bundle/{chunk-AVEIQMHZ.js → chunk-TN77LX6W.js} +1 -1
- package/dist/bundle/{chunk-77I67HWF.js → chunk-TWIC6JJG.js} +7 -7
- package/dist/bundle/{chunk-TZUKDM72.js → chunk-UEZ6URJR.js} +10 -10
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-V4MM6GST.js} +1 -1
- package/dist/bundle/{chunk-BSM43OMN.js → chunk-V74QFMSL.js} +1 -1
- package/dist/bundle/{chunk-6CJ7NHIP.js → chunk-WY4NYPPS.js} +12 -12
- package/dist/bundle/{chunk-FNQASORM.js → chunk-XITUFTON.js} +1 -1
- package/dist/bundle/{chunk-GOXDBCDM.js → chunk-XJBYGMZ4.js} +107 -63
- package/dist/bundle/{chunk-UU5PLDRA.js → chunk-XRZDYWF6.js} +2 -2
- package/dist/bundle/{chunk-6XO7RTJY.js → chunk-Z6TTGTMU.js} +92 -5
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-ZRHMB3LQ.js} +1 -1
- package/dist/bundle/{cli-VQJ7ZRYR.js → cli-P3BZUE6S.js} +67 -53
- package/dist/bundle/command-contract-TOLB32NJ.js +41 -0
- package/dist/bundle/config-4KLLIADY.js +90 -0
- package/dist/bundle/{decode-L3ENO2XH.js → decode-QWOQXM7M.js} +2 -2
- package/dist/bundle/{dist-WQLS7U23.js → dist-OUE4MF37.js} +79 -19
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-65IMPY43.js} +2 -2
- package/dist/bundle/{embed-37MYTCU7.js → embed-4IULBCKL.js} +3 -3
- package/dist/bundle/{embedder-GNGHVJAO.js → embedder-JW4W6IZI.js} +6 -6
- package/dist/bundle/{first-run-NR5JKYP3.js → first-run-CH6C674R.js} +5 -5
- package/dist/bundle/first-screen-OCAW5ZN6.js +39 -0
- package/dist/bundle/{instructions-P72XX4AK.js → instructions-G5QIH2TM.js} +1 -1
- package/dist/bundle/{main-QYFCYSTW.js → main-O4ZJIEWP.js} +12 -12
- package/dist/bundle/{meetings-66UQINKI.js → meetings-77CCAVYD.js} +1 -1
- package/dist/bundle/{node-ZB4RNICS.js → node-E6VQHU4Y.js} +2 -2
- package/dist/bundle/{node-sqlite-XPRKBDF3.js → node-sqlite-RJZ4PGLD.js} +3 -3
- package/dist/bundle/{oauth-WJRDUU5J.js → oauth-F4JKNRW4.js} +4 -4
- package/dist/bundle/{open-S2YSIEOW.js → open-NYOGMIAA.js} +2 -2
- package/dist/bundle/{openai-CRNZFNZD.js → openai-5U6EQTFQ.js} +8 -8
- package/dist/bundle/{process-XNN4WG6N.js → process-OBWUKBMX.js} +1 -1
- package/dist/bundle/{program-BRPJKRCX.js → program-MU7DEJTO.js} +61 -61
- package/dist/bundle/{prompt-7RQOL25I.js → prompt-2QWQTHWT.js} +2 -2
- package/dist/bundle/{recognize-N5WADGQB.js → recognize-SNUNTUC3.js} +1 -1
- package/dist/bundle/{remote-WHYV35IF.js → remote-2CTCIQGF.js} +4 -4
- package/dist/bundle/{rerank-FBMZVWSH.js → rerank-XDA7NJNH.js} +4 -4
- package/dist/bundle/{run-log-TOCHREH2.js → run-log-NSG3DJVX.js} +50 -50
- package/dist/bundle/{serve-4BABX4WS.js → serve-TWQFHOV2.js} +6 -6
- package/dist/bundle/{server-CDVI6LOB.js → server-RIQ6HMH2.js} +38 -38
- package/dist/bundle/server-XO6XQQTJ.js +72 -0
- package/dist/bundle/{services-PIY33I7R.js → services-NKZQJQIV.js} +30 -24
- package/dist/bundle/{speech-LS5Q4FL2.js → speech-ZOB76SXA.js} +10 -10
- package/dist/bundle/{state-YUX5R2R7.js → state-7YYEIXQ5.js} +3 -3
- package/dist/bundle/{store-BD7HAXAA.js → store-E6RTSSNR.js} +21 -12
- package/dist/bundle/{store-ERMGBF2B.js → store-OX4HRBLO.js} +45 -14
- package/dist/bundle/store-connection-55QPNUDS.js +83 -0
- package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +62 -0
- package/dist/bundle/zm.js +2 -2
- package/dist/bundle/{zoom-app-XJXZ4ZBX.js → zoom-app-TSI2MGVK.js} +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-NUJMJQXV.js +0 -787
- package/dist/bundle/chunk-YOAEZSDG.js +0 -22
- package/dist/bundle/command-contract-JPUWWYIV.js +0 -41
- package/dist/bundle/config-YGLLR77A.js +0 -90
- package/dist/bundle/first-screen-RCR7ATO2.js +0 -39
- package/dist/bundle/server-XOFQKFVO.js +0 -72
- package/dist/bundle/store-connection-JBR6CMTJ.js +0 -83
- package/dist/bundle/store-maintenance-command-I5DUSO2C.js +0 -62
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
isCliFailure,
|
|
5
|
+
isStoreDamage
|
|
6
|
+
} from "./chunk-37B7A4RP.js";
|
|
7
|
+
import {
|
|
8
|
+
refuseOwnerStoreInTests
|
|
9
|
+
} from "./chunk-CKK6JOC4.js";
|
|
3
10
|
import {
|
|
4
11
|
array,
|
|
5
12
|
boolean,
|
|
@@ -26,7 +33,7 @@ import {
|
|
|
26
33
|
__name
|
|
27
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
35
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
30
37
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
31
38
|
var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
|
|
32
39
|
var CLOSED_STATES = ["done", "dismissed"];
|
|
@@ -41,7 +48,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
41
48
|
}
|
|
42
49
|
__name(closeTask, "closeTask");
|
|
43
50
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/tasks/priority.js
|
|
45
52
|
var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
|
|
46
53
|
var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
|
|
47
54
|
var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
|
|
@@ -70,7 +77,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
|
|
|
70
77
|
}, "priorityOf");
|
|
71
78
|
var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
|
|
72
79
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
80
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
74
81
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
75
82
|
async function find(id2) {
|
|
76
83
|
const task = await store.get(id2);
|
|
@@ -130,13 +137,13 @@ function median(values) {
|
|
|
130
137
|
}
|
|
131
138
|
__name(median, "median");
|
|
132
139
|
|
|
133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
134
141
|
function matches(task, filter) {
|
|
135
142
|
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);
|
|
136
143
|
}
|
|
137
144
|
__name(matches, "matches");
|
|
138
145
|
|
|
139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
140
147
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
141
148
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
142
149
|
var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
|
|
@@ -144,7 +151,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
144
151
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
145
152
|
var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
146
153
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
148
155
|
var text = string();
|
|
149
156
|
var id = pipe(string(), minLength(1));
|
|
150
157
|
var time = isoTime;
|
|
@@ -168,7 +175,7 @@ var author = strictObject({
|
|
|
168
175
|
name: nullable(text)
|
|
169
176
|
});
|
|
170
177
|
|
|
171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
172
179
|
var organization = strictObject({
|
|
173
180
|
id,
|
|
174
181
|
ref: reference,
|
|
@@ -198,7 +205,108 @@ var reminder = strictObject({
|
|
|
198
205
|
receipt: nullable(text)
|
|
199
206
|
});
|
|
200
207
|
|
|
201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/store/marks.js
|
|
209
|
+
import { readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
210
|
+
var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
|
|
211
|
+
var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
|
|
212
|
+
var inodeOf = /* @__PURE__ */ __name((store) => statSync(store, { throwIfNoEntry: false })?.ino, "inodeOf");
|
|
213
|
+
var readJson = /* @__PURE__ */ __name((path) => {
|
|
214
|
+
try {
|
|
215
|
+
return JSON.parse(readFileSync(path, "utf8"));
|
|
216
|
+
} catch (error) {
|
|
217
|
+
if (error.code === "ENOENT")
|
|
218
|
+
return null;
|
|
219
|
+
throw error;
|
|
220
|
+
}
|
|
221
|
+
}, "readJson");
|
|
222
|
+
var ownerStoreInTests = /* @__PURE__ */ __name((store) => {
|
|
223
|
+
try {
|
|
224
|
+
refuseOwnerStoreInTests(store);
|
|
225
|
+
return false;
|
|
226
|
+
} catch {
|
|
227
|
+
return true;
|
|
228
|
+
}
|
|
229
|
+
}, "ownerStoreInTests");
|
|
230
|
+
var sqliteFailure = /* @__PURE__ */ __name((error) => isCliFailure(error) && error.details?.reason === "store.damaged" ? error.cause : error, "sqliteFailure");
|
|
231
|
+
var markStoreDamaged = /* @__PURE__ */ __name((error, { store, command, version, runId, now = Date.now }) => {
|
|
232
|
+
const failure = sqliteFailure(error);
|
|
233
|
+
if (!isStoreDamage(failure) || ownerStoreInTests(store))
|
|
234
|
+
return false;
|
|
235
|
+
const inode = inodeOf(store);
|
|
236
|
+
if (inode === void 0)
|
|
237
|
+
return false;
|
|
238
|
+
const mark = {
|
|
239
|
+
at: new Date(now()).toISOString(),
|
|
240
|
+
command,
|
|
241
|
+
...version ? { cli_version: version } : {},
|
|
242
|
+
...runId ? { run_id: runId } : {},
|
|
243
|
+
error: failure.message.slice(0, 500),
|
|
244
|
+
inode
|
|
245
|
+
};
|
|
246
|
+
try {
|
|
247
|
+
writeFileSync(damageMarkPath(store), `${JSON.stringify(mark, null, 2)}
|
|
248
|
+
`, { flag: "wx", mode: 384 });
|
|
249
|
+
return true;
|
|
250
|
+
} catch {
|
|
251
|
+
return false;
|
|
252
|
+
}
|
|
253
|
+
}, "markStoreDamaged");
|
|
254
|
+
var readDamageMark = /* @__PURE__ */ __name((store) => {
|
|
255
|
+
const path = damageMarkPath(store);
|
|
256
|
+
let mark;
|
|
257
|
+
try {
|
|
258
|
+
mark = readJson(path);
|
|
259
|
+
} catch {
|
|
260
|
+
return { at: "unknown", command: "unknown", error: `${path} cannot be read`, inode: inodeOf(store) ?? 0 };
|
|
261
|
+
}
|
|
262
|
+
if (mark === null)
|
|
263
|
+
return null;
|
|
264
|
+
if (mark.inode !== inodeOf(store)) {
|
|
265
|
+
clearDamageMark(store);
|
|
266
|
+
return null;
|
|
267
|
+
}
|
|
268
|
+
return mark;
|
|
269
|
+
}, "readDamageMark");
|
|
270
|
+
var clearDamageMark = /* @__PURE__ */ __name((store) => rmSync(damageMarkPath(store), { force: true }), "clearDamageMark");
|
|
271
|
+
var refuseDamagedStore = /* @__PURE__ */ __name((store, cli) => {
|
|
272
|
+
const mark = readDamageMark(store);
|
|
273
|
+
if (!mark)
|
|
274
|
+
return;
|
|
275
|
+
throw new CliError("configuration_error", `the store was found damaged at ${mark.at} by \`${mark.command}\` (${mark.error}), so nothing writes to it until it is recovered; \`${cli ?? "<cli>"} store recover\` says what is damaged and what to do`, { reason: "store.damaged" });
|
|
276
|
+
}, "refuseDamagedStore");
|
|
277
|
+
var readHealthMark = /* @__PURE__ */ __name((store) => {
|
|
278
|
+
try {
|
|
279
|
+
return readJson(healthMarkPath(store));
|
|
280
|
+
} catch {
|
|
281
|
+
return null;
|
|
282
|
+
}
|
|
283
|
+
}, "readHealthMark");
|
|
284
|
+
var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, schema, now = Date.now }) => {
|
|
285
|
+
const previous = readHealthMark(store);
|
|
286
|
+
if (ownerStoreInTests(store))
|
|
287
|
+
return { previous, cleared: null };
|
|
288
|
+
const checkedAt = new Date(now()).toISOString();
|
|
289
|
+
const mark = {
|
|
290
|
+
checked_at: checkedAt,
|
|
291
|
+
ok: health.ok,
|
|
292
|
+
problems: health.problems ?? 0,
|
|
293
|
+
schema,
|
|
294
|
+
cli,
|
|
295
|
+
...version ? { cli_version: version } : {},
|
|
296
|
+
last_ok_at: health.ok ? checkedAt : previous?.last_ok_at ?? null
|
|
297
|
+
};
|
|
298
|
+
const cleared = health.ok ? readDamageMark(store) : null;
|
|
299
|
+
try {
|
|
300
|
+
writeFileSync(healthMarkPath(store), `${JSON.stringify(mark, null, 2)}
|
|
301
|
+
`, { mode: 384 });
|
|
302
|
+
} catch {
|
|
303
|
+
}
|
|
304
|
+
if (cleared)
|
|
305
|
+
clearDamageMark(store);
|
|
306
|
+
return { previous, cleared };
|
|
307
|
+
}, "recordDeepCheck");
|
|
308
|
+
|
|
309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
202
310
|
var LINK_KINDS = [
|
|
203
311
|
"links-to",
|
|
204
312
|
"blocked-by",
|
|
@@ -211,20 +319,23 @@ var LINK_KINDS = [
|
|
|
211
319
|
"created-from",
|
|
212
320
|
"duplicate-of",
|
|
213
321
|
"related-to",
|
|
322
|
+
"reports-to",
|
|
323
|
+
"customer-of",
|
|
324
|
+
"partner-of",
|
|
214
325
|
"assigned-to",
|
|
215
326
|
"attached"
|
|
216
327
|
];
|
|
217
328
|
var LINK_ORIGINS = ["file", "owner", "suggested", "message"];
|
|
218
329
|
var LINK_SOURCES = [...LINK_ORIGINS, "calendar"];
|
|
219
|
-
var RELATION_KINDS = ["member-of", "related-to"];
|
|
220
330
|
var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
|
|
331
|
+
var COUNTERPART_ROLE = "counterpart";
|
|
221
332
|
|
|
222
333
|
export {
|
|
223
334
|
LINK_KINDS,
|
|
224
335
|
LINK_ORIGINS,
|
|
225
336
|
LINK_SOURCES,
|
|
226
|
-
RELATION_KINDS,
|
|
227
337
|
linkKind,
|
|
338
|
+
COUNTERPART_ROLE,
|
|
228
339
|
TASK_KINDS,
|
|
229
340
|
TASK_STATES,
|
|
230
341
|
CLOSED_STATES,
|
|
@@ -257,5 +368,13 @@ export {
|
|
|
257
368
|
author,
|
|
258
369
|
organization,
|
|
259
370
|
project,
|
|
260
|
-
reminder
|
|
371
|
+
reminder,
|
|
372
|
+
damageMarkPath,
|
|
373
|
+
healthMarkPath,
|
|
374
|
+
markStoreDamaged,
|
|
375
|
+
readDamageMark,
|
|
376
|
+
clearDamageMark,
|
|
377
|
+
refuseDamagedStore,
|
|
378
|
+
readHealthMark,
|
|
379
|
+
recordDeepCheck
|
|
261
380
|
};
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
AUDIT_MIN_SCORE,
|
|
5
5
|
throughWrapper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JZ4YOAHA.js";
|
|
7
7
|
import {
|
|
8
8
|
Command,
|
|
9
9
|
InvalidArgumentError,
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
renderAnswer,
|
|
18
18
|
sharedCommand,
|
|
19
19
|
snakeKeys
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-G6IX2MD2.js";
|
|
21
21
|
import {
|
|
22
22
|
readOnlyLockOf
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TN77LX6W.js";
|
|
24
24
|
import {
|
|
25
25
|
formatReference
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6AMMTXEA.js";
|
|
27
27
|
import {
|
|
28
28
|
EVENT_QUERY,
|
|
29
29
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
readMeetingProjectEvidence,
|
|
47
47
|
validateMeetingHitSearch,
|
|
48
48
|
validateMeetingPassage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-HC56J5LB.js";
|
|
50
50
|
import {
|
|
51
51
|
OPERATORS_BY_TYPE,
|
|
52
52
|
QUERY_LIMITS,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
__name
|
|
83
83
|
} from "./chunk-ZVVMGPBJ.js";
|
|
84
84
|
|
|
85
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
85
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
86
86
|
var COMMAND_NEEDS = {
|
|
87
87
|
"account update": ["updateProfile", "change the profile"],
|
|
88
88
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -132,7 +132,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
132
132
|
return group;
|
|
133
133
|
}, "hideNever");
|
|
134
134
|
|
|
135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
136
136
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
137
137
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
138
138
|
const zone = timezoneOf();
|
|
@@ -218,7 +218,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
218
218
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
219
219
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
222
222
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
223
223
|
command.allowUnknownOption();
|
|
224
224
|
const parse = command.parseOptions.bind(command);
|
|
@@ -238,7 +238,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
238
238
|
return command;
|
|
239
239
|
}, "queryWordsAfterOptions");
|
|
240
240
|
|
|
241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
242
242
|
var count = /* @__PURE__ */ __name((value) => {
|
|
243
243
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
244
244
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -280,7 +280,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
280
280
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
281
281
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
282
282
|
|
|
283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
284
284
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
285
285
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
286
286
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -303,7 +303,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
303
303
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
304
304
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
305
305
|
|
|
306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
307
307
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
308
308
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
309
309
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -447,7 +447,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
447
447
|
}, "addMeetingCommandsDefinition");
|
|
448
448
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
449
449
|
|
|
450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
451
451
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
452
452
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
453
453
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -588,7 +588,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
588
588
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
589
589
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
590
590
|
|
|
591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
592
592
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
593
593
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
594
594
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -597,7 +597,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
597
597
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
598
598
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
599
599
|
|
|
600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
601
601
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
602
602
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
603
603
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -859,7 +859,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
859
859
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
860
860
|
}), "sessionAnswer");
|
|
861
861
|
|
|
862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
863
863
|
import { createHash } from "node:crypto";
|
|
864
864
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
865
865
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1080,7 +1080,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1080
1080
|
}, () => finish({ error: stopped() }));
|
|
1081
1081
|
}), "relayCommand");
|
|
1082
1082
|
|
|
1083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1084
1084
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1085
1085
|
close: /* @__PURE__ */ __name(async () => {
|
|
1086
1086
|
}, "close"),
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MVDPZRFE.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
12
12
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
13
13
|
const name = envName(app, "READ_ONLY");
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
meetingResultItem,
|
|
7
7
|
runsCommand,
|
|
8
8
|
suggest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O7L44JK2.js";
|
|
10
10
|
import {
|
|
11
11
|
checkedClientId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-H3MFBYTQ.js";
|
|
13
13
|
import {
|
|
14
14
|
sharedStoreCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XJBYGMZ4.js";
|
|
16
16
|
import {
|
|
17
17
|
NO_EFFECTS,
|
|
18
18
|
REMOTE_READ,
|
|
@@ -37,32 +37,32 @@ import {
|
|
|
37
37
|
snakeKeys,
|
|
38
38
|
usableProfileName,
|
|
39
39
|
withSettingDefaults
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-G6IX2MD2.js";
|
|
41
41
|
import {
|
|
42
42
|
readOnlyLockOf,
|
|
43
43
|
readOnlyRefusal
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TN77LX6W.js";
|
|
45
45
|
import {
|
|
46
46
|
setupPermissionCeiling
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-IPBZKUC3.js";
|
|
48
48
|
import {
|
|
49
49
|
KEEP_RUNS_FOR_DAYS,
|
|
50
50
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
51
51
|
RUNS_SIZE_LIMIT_MB
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-CUZHKYC2.js";
|
|
53
53
|
import {
|
|
54
54
|
CEILING_KEY,
|
|
55
55
|
DEFAULT_PERMISSIONS,
|
|
56
56
|
LEVELS,
|
|
57
57
|
keyForCommand,
|
|
58
58
|
levelFor
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-IEC4E65G.js";
|
|
60
60
|
import {
|
|
61
61
|
ZM
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-V74QFMSL.js";
|
|
63
63
|
import {
|
|
64
64
|
MEETING_RESULT_ENTITIES
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-HC56J5LB.js";
|
|
66
66
|
import {
|
|
67
67
|
createRenderer,
|
|
68
68
|
projectFields,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import { link, open, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
45
45
|
}
|
|
46
46
|
}, "writeFileAtomic");
|
|
47
47
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
48
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
49
49
|
import { constants as constants2 } from "node:fs";
|
|
50
50
|
import { lstat, open as open2 } from "node:fs/promises";
|
|
51
51
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -111,7 +111,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
111
111
|
}
|
|
112
112
|
}, "syncDirectory");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
115
115
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
116
116
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
117
117
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
140
140
|
}
|
|
141
141
|
}, "readBoundedUtf8File");
|
|
142
142
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
144
144
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
145
145
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
148
148
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
149
149
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
150
150
|
import { hostname as hostname2 } from "node:os";
|
|
151
151
|
import { join as join3 } from "node:path";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
154
154
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
155
155
|
import { join as join2 } from "node:path";
|
|
156
156
|
|
|
157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
158
158
|
import { hostname } from "node:os";
|
|
159
159
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
160
160
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "leaseOwnerStatus");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
203
203
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
204
204
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
205
205
|
options.signal?.throwIfAborted();
|
|
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
258
258
|
return { inspect, recover };
|
|
259
259
|
}, "leaseInspection");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
262
262
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
263
263
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
264
264
|
let releasing;
|
|
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
283
283
|
};
|
|
284
284
|
}, "ownedNativeLease");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
287
287
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
288
288
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
289
289
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
354
354
|
};
|
|
355
355
|
}, "nativeWriterLeaseStore");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
358
358
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
359
359
|
const folder = dirname2(path);
|
|
360
360
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
369
369
|
});
|
|
370
370
|
}, "acquireLock");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/files/safe-name.js
|
|
373
373
|
import { basename as basename3 } from "node:path";
|
|
374
374
|
var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
|
|
375
375
|
let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}---]/gu, "").replace(/^\.+/, "");
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|