@wirecat/cli-memo 0.131.58 → 0.131.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-XWRUFNP2.js → all-profiles-LHATPBN3.js} +5 -5
- package/dist/bundle/{anthropic-266QJJGV.js → anthropic-ZCFY7X3V.js} +3 -3
- package/dist/bundle/{app-server-YV3D7PPC.js → app-server-LMNKI46N.js} +35 -35
- package/dist/bundle/auto-MWAOY7KC.js +86 -0
- package/dist/bundle/{bun-22MM6T54.js → bun-Z5XDW2UR.js} +2 -2
- package/dist/bundle/{bun-sqlite-V73FFF2C.js → bun-sqlite-GC55XSRP.js} +2 -2
- package/dist/bundle/{chunk-FU3XDL34.js → chunk-2ALNQ3ZG.js} +5 -5
- package/dist/bundle/{chunk-4XKHXETB.js → chunk-3HX5I5KX.js} +726 -517
- package/dist/bundle/{chunk-TB4IRRAC.js → chunk-3L6SQL6I.js} +1 -1
- package/dist/bundle/{chunk-2LPPNYOZ.js → chunk-4JBR277T.js} +1 -1
- package/dist/bundle/{chunk-RTROEIYE.js → chunk-5QRRSPCL.js} +2 -2
- package/dist/bundle/{chunk-V4BKQWDS.js → chunk-775KV34P.js} +227 -187
- package/dist/bundle/{chunk-NSYTJAL6.js → chunk-7FAFZQYC.js} +4 -4
- package/dist/bundle/{chunk-NEWKSMXP.js → chunk-7FY7DHFV.js} +2 -2
- package/dist/bundle/{chunk-5T7BFCDJ.js → chunk-7H45WVOV.js} +5 -5
- package/dist/bundle/{chunk-PBVG3KJR.js → chunk-7IMLRFCG.js} +3 -3
- package/dist/bundle/{chunk-F5DOQOCK.js → chunk-A6HTI2EV.js} +12 -12
- package/dist/bundle/{chunk-PHWJBFZ6.js → chunk-ABLNLLM6.js} +31 -31
- package/dist/bundle/{chunk-XC6OYACL.js → chunk-AQ44SSA2.js} +13 -9
- package/dist/bundle/{chunk-3R6YNDPC.js → chunk-BFDN7ZRX.js} +5 -5
- package/dist/bundle/{chunk-RYDNM3K2.js → chunk-BIKOHAZH.js} +1 -1
- package/dist/bundle/{chunk-2CF2R7SA.js → chunk-CBNN7VP2.js} +6 -6
- package/dist/bundle/{chunk-CQPMBTB6.js → chunk-CQ7NDIKS.js} +1 -1
- package/dist/bundle/{chunk-DQWHLOKG.js → chunk-ENVEZQ2F.js} +4 -4
- package/dist/bundle/{chunk-XLYMVYMU.js → chunk-EXIFPE4R.js} +22 -4
- package/dist/bundle/{chunk-MV6ZSBA3.js → chunk-FHTIB66O.js} +256 -256
- package/dist/bundle/{chunk-N2TGYTKE.js → chunk-FYG52VXO.js} +1 -1
- package/dist/bundle/{chunk-OROO3KYQ.js → chunk-GKRSFUAN.js} +1 -1
- package/dist/bundle/{chunk-72ZEEKOJ.js → chunk-HBY2VTP6.js} +3 -3
- package/dist/bundle/{chunk-GBOES7QS.js → chunk-HPMEODWD.js} +2 -2
- package/dist/bundle/{chunk-FG7ZGEZ6.js → chunk-IKMCUKAE.js} +4 -4
- package/dist/bundle/{chunk-6FABO4WB.js → chunk-IRFXP5R5.js} +1 -1
- package/dist/bundle/{chunk-BRT6M2TW.js → chunk-JCHC5EEV.js} +4 -4
- package/dist/bundle/{chunk-IY7GB2SJ.js → chunk-KG6HO3XP.js} +2 -2
- package/dist/bundle/{chunk-PE7RYCI4.js → chunk-LWVCZPQF.js} +12 -12
- package/dist/bundle/{chunk-HVHUHYNF.js → chunk-M36WYT62.js} +1 -1
- package/dist/bundle/{chunk-ONJNZ2RJ.js → chunk-M4C4PD6O.js} +1 -1
- package/dist/bundle/{chunk-XXOWA66S.js → chunk-MF3B3UAK.js} +32 -21
- package/dist/bundle/{chunk-EUE76Q4D.js → chunk-MIJKJNIA.js} +3 -3
- package/dist/bundle/{chunk-RJWL3NEL.js → chunk-MTIAWKHJ.js} +1 -1
- package/dist/bundle/{chunk-BLCYVRW3.js → chunk-N57QFHPJ.js} +7 -7
- package/dist/bundle/{chunk-WKMLLL2F.js → chunk-NQBV7NNO.js} +49 -49
- package/dist/bundle/{chunk-EQQIUVLP.js → chunk-OD5IBWOB.js} +4 -4
- package/dist/bundle/{chunk-KZDKFYIF.js → chunk-PPJXTU54.js} +156 -151
- package/dist/bundle/{chunk-Z6RSOFHK.js → chunk-PPZCQ6DC.js} +2 -2
- package/dist/bundle/{chunk-L3GFAQFP.js → chunk-PQEJBESM.js} +21 -21
- package/dist/bundle/{chunk-NDCURVJS.js → chunk-ROYHEBF4.js} +4 -4
- package/dist/bundle/{chunk-VEDOHZEU.js → chunk-SB44NDKV.js} +7 -7
- package/dist/bundle/{chunk-YTAQKOAW.js → chunk-SJAX32ZF.js} +1 -1
- package/dist/bundle/{chunk-4K2ECEHT.js → chunk-SK3GNZFF.js} +10 -10
- package/dist/bundle/{chunk-D7FZIH5H.js → chunk-TWHA3OB2.js} +9 -9
- package/dist/bundle/{chunk-XEQPZBIH.js → chunk-UQWLLRYP.js} +1 -1
- package/dist/bundle/{chunk-XIZPMFEC.js → chunk-UTCOTLJP.js} +4 -4
- package/dist/bundle/{chunk-6WWF4RST.js → chunk-UTLAFKFU.js} +412 -355
- package/dist/bundle/{chunk-5FYDQEM7.js → chunk-V5E55COY.js} +5 -5
- package/dist/bundle/{chunk-G3QR3IYN.js → chunk-W6HT56DV.js} +8 -8
- package/dist/bundle/{chunk-JYUNAC6P.js → chunk-WFF7X6LI.js} +6 -6
- package/dist/bundle/{chunk-ATEHG5O6.js → chunk-WJ3VJYM4.js} +2 -2
- package/dist/bundle/{chunk-QLCPRKFK.js → chunk-XGR7ND66.js} +28 -28
- package/dist/bundle/{chunk-3BWYMNWP.js → chunk-YA7YYH3E.js} +1 -1
- package/dist/bundle/{chunk-3N7LEJRT.js → chunk-YO4PT3MD.js} +1 -1
- package/dist/bundle/{chunk-HJWWZXVG.js → chunk-Z2R4SK5Q.js} +1 -1
- package/dist/bundle/{chunk-DUBGCFRO.js → chunk-ZELDY6H4.js} +2 -2
- package/dist/bundle/{command-contract-DKK56GZX.js → command-contract-XKSGEPXG.js} +11 -11
- package/dist/bundle/{decode-JHVAOF3N.js → decode-6PPIALX2.js} +2 -2
- package/dist/bundle/{echarts-KCOXA225.js → echarts-XQ7T6SKK.js} +2 -2
- package/dist/bundle/{embed-4NYYOVNS.js → embed-W56IWO4I.js} +3 -3
- package/dist/bundle/{embedder-SHPWEDIQ.js → embedder-IWJHHYLE.js} +6 -6
- package/dist/bundle/{entry-VZE4CVPX.js → entry-OZSQA6IT.js} +4 -4
- package/dist/bundle/failure-2V4YXERK.js +66 -0
- package/dist/bundle/{first-run-EKXME7UK.js → first-run-LT5QD4MA.js} +5 -5
- package/dist/bundle/{first-screen-QS5PVWDZ.js → first-screen-IMWQP24U.js} +12 -12
- package/dist/bundle/{instructions-ER3ONEOR.js → instructions-DHUIJMK4.js} +1 -1
- package/dist/bundle/{mcp-3ABYEJI3.js → mcp-3X7LMJSZ.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-DBZKVPDA.js → node-BSK32EM3.js} +2 -2
- package/dist/bundle/{node-sqlite-UZVU7EXS.js → node-sqlite-SYF7X36U.js} +3 -3
- package/dist/bundle/{oauth-VEFHKRWG.js → oauth-ZEWUPRPD.js} +4 -4
- package/dist/bundle/{open-XNRAMLOK.js → open-4EKQE47K.js} +2 -2
- package/dist/bundle/{openai-4XIX5RN2.js → openai-UGNJPON6.js} +7 -7
- package/dist/bundle/{process-EIGF77RB.js → process-KQ5PLFEX.js} +1 -1
- package/dist/bundle/{program-OM6GO5X2.js → program-WSVJK4LB.js} +82 -60
- package/dist/bundle/{prompt-V7RFTWTA.js → prompt-KA6BE6HG.js} +4 -2
- package/dist/bundle/{recognize-7PWWI67V.js → recognize-ZM75USNS.js} +1 -1
- package/dist/bundle/{remote-NOKKQ2U5.js → remote-I5MIVEGH.js} +4 -4
- package/dist/bundle/{rerank-X7UWX2ZF.js → rerank-46KI3363.js} +4 -4
- package/dist/bundle/{serve-Z6YCLXXP.js → serve-QE4CSBAB.js} +6 -6
- package/dist/bundle/{server-KHFBSBCY.js → server-EFNICTJC.js} +50 -50
- package/dist/bundle/server-J3VKU7NQ.js +48 -0
- package/dist/bundle/server-MLOQ4RS7.js +61 -0
- package/dist/bundle/{state-K5D3BMKT.js → state-2W2BFTG7.js} +3 -3
- package/dist/bundle/{store-6SZBCSUF.js → store-M4Q4BIDW.js} +14 -9
- package/dist/bundle/store-maintenance-command-KYCDTJQ2.js +48 -0
- package/dist/bundle/update-JEYA6GXL.js +69 -0
- package/dist/examples.js +1 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/relationships-scan.d.ts.map +1 -1
- package/dist/knowledge/relationships-scan.js +23 -2
- package/dist/knowledge/relationships-scan.js.map +1 -1
- package/dist/review/review.d.ts +1 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +5 -0
- package/dist/review/review.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/projects.md +1 -1
- package/dist/bundle/auto-3TXQDVO6.js +0 -86
- package/dist/bundle/failure-HKKLVEZA.js +0 -66
- package/dist/bundle/server-AXMJBL6J.js +0 -61
- package/dist/bundle/server-KABSY3RL.js +0 -48
- package/dist/bundle/store-maintenance-command-GTMZOLMZ.js +0 -48
- package/dist/bundle/update-DT4DCRXS.js +0 -69
- /package/dist/bundle/{chunk-SO2HNIPX.js → chunk-DZ2GIEEY.js} +0 -0
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IKMCUKAE.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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/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";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refuseLacking,
|
|
14
14
|
servicesFor,
|
|
15
15
|
throughWrapper
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UTLAFKFU.js";
|
|
17
17
|
import {
|
|
18
18
|
CEILING_KEY,
|
|
19
19
|
LOG_ATTRIBUTES,
|
|
@@ -38,23 +38,23 @@ import {
|
|
|
38
38
|
rememberAccount,
|
|
39
39
|
rootOf2 as rootOf,
|
|
40
40
|
skipFlagFor
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-PPJXTU54.js";
|
|
42
42
|
import {
|
|
43
43
|
providerErrorKey
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CBNN7VP2.js";
|
|
45
45
|
import {
|
|
46
46
|
MESSENGER_CHANGE_REFUSAL,
|
|
47
47
|
readOnlyRefusal
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-YA7YYH3E.js";
|
|
49
49
|
import {
|
|
50
50
|
servingProfiles
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZELDY6H4.js";
|
|
52
52
|
import {
|
|
53
53
|
openStore
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-3HX5I5KX.js";
|
|
55
55
|
import {
|
|
56
56
|
isCliFailure
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KG6HO3XP.js";
|
|
58
58
|
import {
|
|
59
59
|
logRecordOf,
|
|
60
60
|
realSleep,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
__name
|
|
69
69
|
} from "./chunk-ZVVMGPBJ.js";
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
72
72
|
import { openSync } from "node:fs";
|
|
73
73
|
import { createInterface } from "node:readline";
|
|
74
74
|
import { ReadStream } from "node:tty";
|
|
@@ -123,10 +123,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
123
123
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
124
124
|
}, "terminalAsker");
|
|
125
125
|
|
|
126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
127
127
|
import { randomUUID } from "node:crypto";
|
|
128
128
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
130
130
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
131
131
|
import { dirname, join } from "node:path";
|
|
132
132
|
var MOST_DEADLINES = 50;
|
|
@@ -210,11 +210,11 @@ var FloodMemory = class {
|
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
214
214
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
215
215
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
218
218
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
219
219
|
import { dirname as dirname2 } from "node:path";
|
|
220
220
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -281,7 +281,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
281
281
|
}
|
|
282
282
|
}, "lockTime");
|
|
283
283
|
|
|
284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
285
285
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
286
286
|
var SendJournal = class {
|
|
287
287
|
static {
|
|
@@ -358,7 +358,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
358
358
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
359
359
|
}, "withSendId");
|
|
360
360
|
|
|
361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
362
362
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
363
363
|
import { join as join3 } from "node:path";
|
|
364
364
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -470,7 +470,7 @@ var RecipientList = class {
|
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
472
|
|
|
473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
474
474
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
475
475
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
476
476
|
"attachments.extract",
|
|
@@ -663,7 +663,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
663
663
|
}), "guardFor");
|
|
664
664
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
665
665
|
|
|
666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
667
667
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
668
668
|
import { join as join4 } from "node:path";
|
|
669
669
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -753,7 +753,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
|
|
|
753
753
|
await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
|
|
754
754
|
}, "waitForTurn");
|
|
755
755
|
|
|
756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
757
757
|
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
758
758
|
const words = [];
|
|
759
759
|
for (let at = command; at?.parent; at = at.parent)
|
|
@@ -813,7 +813,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
813
813
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
814
814
|
}, "refuseUnknownPermissionKeys");
|
|
815
815
|
|
|
816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
817
817
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
818
818
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
819
819
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -910,7 +910,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
910
910
|
});
|
|
911
911
|
}, "flooded");
|
|
912
912
|
|
|
913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
914
914
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
915
915
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
916
916
|
const write = currentOperation();
|
|
@@ -1009,7 +1009,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1009
1009
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1010
1010
|
}, "byPart");
|
|
1011
1011
|
|
|
1012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
1013
1013
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
1014
1014
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
1015
1015
|
let warned = false;
|
|
@@ -1585,7 +1585,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1585
1585
|
}
|
|
1586
1586
|
}, "keep");
|
|
1587
1587
|
|
|
1588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1589
1589
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1590
1590
|
let opened;
|
|
1591
1591
|
return {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GKRSFUAN.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
8
|
} from "./chunk-EMNQPMZO.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/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"];
|
|
@@ -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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MIJKJNIA.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SB44NDKV.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ROYHEBF4.js";
|
|
19
19
|
import {
|
|
20
20
|
storePath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GKRSFUAN.js";
|
|
22
22
|
import {
|
|
23
23
|
installerOf
|
|
24
24
|
} from "./chunk-IK6KH3RE.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-M4Q4BIDW.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-4EKQE47K.js"),
|
|
117
|
+
import("./store-maintenance-command-KYCDTJQ2.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-IMWQP24U.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-KA6BE6HG.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
envName,
|
|
5
5
|
readOnlyLockOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YA7YYH3E.js";
|
|
7
7
|
import {
|
|
8
8
|
CAPABILITY_STATEMENTS,
|
|
9
9
|
storeCapable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V5E55COY.js";
|
|
11
11
|
import {
|
|
12
12
|
catchCrashes
|
|
13
13
|
} from "./chunk-RCGFSWZE.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
25
25
|
import { spawn as spawn2 } from "node:child_process";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
28
28
|
import { spawn, spawnSync } from "node:child_process";
|
|
29
29
|
import { readFileSync } from "node:fs";
|
|
30
30
|
import { dirname } from "node:path";
|
|
@@ -112,14 +112,14 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
|
|
|
112
112
|
});
|
|
113
113
|
}), "relay");
|
|
114
114
|
|
|
115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
116
116
|
import { appendFileSync } from "node:fs";
|
|
117
117
|
var logVersion = /* @__PURE__ */ __name((file) => {
|
|
118
118
|
appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
|
|
119
119
|
`);
|
|
120
120
|
}, "logVersion");
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
123
123
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
124
124
|
argv: process.argv,
|
|
125
125
|
env: process.env,
|
|
@@ -173,8 +173,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
173
173
|
if (command.optsWithGlobals().dryRun === true)
|
|
174
174
|
return;
|
|
175
175
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
176
|
-
import("./first-run-
|
|
177
|
-
import("./command-contract-
|
|
176
|
+
import("./first-run-LT5QD4MA.js"),
|
|
177
|
+
import("./command-contract-XKSGEPXG.js")
|
|
178
178
|
]);
|
|
179
179
|
await setupAtStart({
|
|
180
180
|
command: entry.app.command,
|
|
@@ -189,7 +189,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
189
189
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
190
190
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
191
191
|
return false;
|
|
192
|
-
const { readSecret } = await import("./prompt-
|
|
192
|
+
const { readSecret } = await import("./prompt-KA6BE6HG.js");
|
|
193
193
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
194
194
|
input: io.stdin,
|
|
195
195
|
output: io.stderr,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
agentResult,
|
|
5
5
|
failureContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AQ44SSA2.js";
|
|
7
7
|
import {
|
|
8
8
|
CommanderError,
|
|
9
9
|
judgedEffects,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PPJXTU54.js";
|
|
12
12
|
import {
|
|
13
13
|
storeDamaged
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KG6HO3XP.js";
|
|
15
15
|
import {
|
|
16
16
|
interactiveOf,
|
|
17
17
|
optionsOf
|
|
18
18
|
} from "./chunk-BPGYTJNB.js";
|
|
19
19
|
import {
|
|
20
20
|
APP
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Z2R4SK5Q.js";
|
|
22
22
|
import {
|
|
23
23
|
ValiError,
|
|
24
24
|
errorObjectOf,
|