@wirecat/cli-memo 0.131.29 → 0.131.30
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-HXT2KPB6.js → all-profiles-4XCG2A54.js} +5 -5
- package/dist/bundle/{anthropic-C6H35WZP.js → anthropic-MAVIW4DJ.js} +3 -3
- package/dist/bundle/{app-server-Y6JGICRB.js → app-server-LGSYLIB3.js} +35 -35
- package/dist/bundle/auto-72Y6UJWK.js +86 -0
- package/dist/bundle/{bun-K5H33WQK.js → bun-XWUEHWDW.js} +2 -2
- package/dist/bundle/{bun-sqlite-2NGQT7HH.js → bun-sqlite-OSAC45TI.js} +2 -2
- package/dist/bundle/{chunk-7OYQFT5N.js → chunk-2NEXX3EI.js} +1 -1
- package/dist/bundle/{chunk-WI7KTIMF.js → chunk-3DXTHN5C.js} +7 -7
- package/dist/bundle/{chunk-P5FETWRW.js → chunk-3V5JXPGK.js} +1 -1
- package/dist/bundle/{chunk-WFQPCCM2.js → chunk-5CKE7LAP.js} +1 -1
- package/dist/bundle/{chunk-ERRC42BB.js → chunk-5R3OXHIN.js} +1 -1
- package/dist/bundle/{chunk-H6JNEHUC.js → chunk-6SE6ZDBF.js} +1 -1
- package/dist/bundle/{chunk-7PH33JE4.js → chunk-6ZVN4S36.js} +2 -2
- package/dist/bundle/{chunk-RGPCN63U.js → chunk-76MMXZ3W.js} +4 -4
- package/dist/bundle/{chunk-PUQYCAEP.js → chunk-7VJZKUN3.js} +9 -9
- package/dist/bundle/{chunk-HBKYPSX3.js → chunk-B6S42B6J.js} +11 -11
- package/dist/bundle/{chunk-XNV2JTJ4.js → chunk-CNAOMV43.js} +1 -1
- package/dist/bundle/{chunk-MJF6VGW4.js → chunk-CYUP7HQG.js} +421 -360
- package/dist/bundle/{chunk-BWQMZNDC.js → chunk-D6BK3H4D.js} +4 -4
- package/dist/bundle/{chunk-R7XIZMM5.js → chunk-DIQAOLWH.js} +1 -1
- package/dist/bundle/{chunk-5ZWRS2JY.js → chunk-DIT5NA73.js} +5 -5
- package/dist/bundle/{chunk-SQ6OFUHW.js → chunk-DYNSZDXG.js} +20 -20
- package/dist/bundle/{chunk-2O2RWKUT.js → chunk-EEKOBGQ7.js} +1 -1
- package/dist/bundle/{chunk-QVFB2MVU.js → chunk-EJZKYJKO.js} +2 -2
- package/dist/bundle/{chunk-KFSZAV5L.js → chunk-GACW4GZZ.js} +4 -4
- package/dist/bundle/{chunk-DXCBZT4T.js → chunk-GN3U74DV.js} +12 -12
- package/dist/bundle/{chunk-MPNDEGMC.js → chunk-GSCFCNGO.js} +7 -7
- package/dist/bundle/{chunk-46ACMQUU.js → chunk-GW2KCP4G.js} +27 -27
- package/dist/bundle/{chunk-65YDJ3Z4.js → chunk-H52RNBPU.js} +2 -2
- package/dist/bundle/{chunk-FUMGREBO.js → chunk-HWJHWNBW.js} +3 -3
- package/dist/bundle/{chunk-XHHSQ4FN.js → chunk-IIXZMACE.js} +14 -9
- package/dist/bundle/{chunk-G62DN6QY.js → chunk-JHLGFPMK.js} +2 -2
- package/dist/bundle/{chunk-XUHVJGIL.js → chunk-K6Z6B2CW.js} +10 -10
- package/dist/bundle/{chunk-H3NMOWPB.js → chunk-KJE2KFYH.js} +198 -52
- package/dist/bundle/{chunk-UZUNSDGN.js → chunk-M3REIIOH.js} +1 -1
- package/dist/bundle/{chunk-HVD2CTPH.js → chunk-MHHLYRRD.js} +1 -1
- package/dist/bundle/{chunk-2WGR73KL.js → chunk-MLDBSKW6.js} +8 -8
- package/dist/bundle/{chunk-GVYOICNB.js → chunk-N4AWIP4D.js} +5 -5
- package/dist/bundle/{chunk-6YDPWVDH.js → chunk-NUEIRBKY.js} +1 -1
- package/dist/bundle/{chunk-M3VBB37S.js → chunk-PJM4QQBT.js} +2 -2
- package/dist/bundle/{chunk-NIEWG4OY.js → chunk-Q3XFJOAY.js} +1 -1
- package/dist/bundle/{chunk-IQEEOXBV.js → chunk-QQBRNKHQ.js} +51 -50
- package/dist/bundle/{chunk-IIM3FF5L.js → chunk-RCPP2Q5O.js} +6 -6
- package/dist/bundle/{chunk-6IJ7XNK5.js → chunk-RUWY43XR.js} +252 -246
- package/dist/bundle/{chunk-KJEJOWJY.js → chunk-S34FLB7K.js} +2 -2
- package/dist/bundle/{chunk-6BS3FHTC.js → chunk-SIY75R4D.js} +5 -5
- package/dist/bundle/{chunk-FJXFU7NN.js → chunk-SQHIXN2N.js} +2 -2
- package/dist/bundle/{chunk-KIJ7UJHD.js → chunk-TIQUMRSO.js} +215 -151
- package/dist/bundle/{chunk-SZUYOU6U.js → chunk-TIU2N2SP.js} +20 -20
- package/dist/bundle/{chunk-YZKHWANJ.js → chunk-U5PEYBQT.js} +4 -4
- package/dist/bundle/{chunk-YLVSSQJP.js → chunk-U6NL7SAX.js} +5 -5
- package/dist/bundle/{chunk-7ACGYEGV.js → chunk-UBYCWQSV.js} +4 -4
- package/dist/bundle/{chunk-S67KFN67.js → chunk-UGV57SZH.js} +1 -1
- package/dist/bundle/{chunk-5FEJKSQJ.js → chunk-USLIHXWA.js} +3 -3
- package/dist/bundle/{chunk-KCAELZXB.js → chunk-UVO7UNYH.js} +1 -1
- package/dist/bundle/{chunk-Q63L5WS2.js → chunk-UXGQXP5U.js} +3 -3
- package/dist/bundle/{chunk-ERZLVE54.js → chunk-VDGKBAS2.js} +1038 -670
- package/dist/bundle/{chunk-6NGLATFQ.js → chunk-WUV5O5HN.js} +4 -4
- package/dist/bundle/{chunk-W7T2JSKY.js → chunk-XDQIJSJE.js} +1 -1
- package/dist/bundle/{chunk-KCQPEY6C.js → chunk-XV7YW65Y.js} +4 -4
- package/dist/bundle/{chunk-ZW44VJNY.js → chunk-YJSCSLAT.js} +3 -3
- package/dist/bundle/{chunk-HAC3CWPB.js → chunk-YUEAM6ZP.js} +7 -7
- package/dist/bundle/{chunk-FBSY3DVN.js → chunk-Z7J7SVZJ.js} +1 -1
- package/dist/bundle/{command-contract-AFUDV7JM.js → command-contract-ZLDRM6DG.js} +11 -11
- package/dist/bundle/{decode-P5SEK56D.js → decode-Y2DWOSOW.js} +2 -2
- package/dist/bundle/{echarts-CLHJYMDK.js → echarts-2ZHQHZ4R.js} +2 -2
- package/dist/bundle/{embed-X6H74LGP.js → embed-JEER47U6.js} +3 -3
- package/dist/bundle/{embedder-H5SWOSEL.js → embedder-BJQEGCE5.js} +6 -6
- package/dist/bundle/{entry-66SEZMKI.js → entry-YKH7GAX7.js} +4 -4
- package/dist/bundle/failure-JE2JCLGO.js +66 -0
- package/dist/bundle/{first-run-S7EW77F6.js → first-run-ESH5B55J.js} +5 -5
- package/dist/bundle/{first-screen-6GA36WQT.js → first-screen-RTATNK4S.js} +12 -12
- package/dist/bundle/{instructions-IUUSY6DO.js → instructions-NJYYRMYK.js} +1 -1
- package/dist/bundle/{mcp-7SDVTKCE.js → mcp-ZRKYZLNM.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-6T5LUBAE.js → node-DBNZMTJO.js} +2 -2
- package/dist/bundle/{node-sqlite-ZTDWPRJU.js → node-sqlite-CCNVCZSG.js} +3 -3
- package/dist/bundle/{oauth-G4TCULLQ.js → oauth-UV7KBQFP.js} +4 -4
- package/dist/bundle/{open-DRJ24C7U.js → open-VTOLLLS4.js} +2 -2
- package/dist/bundle/{openai-3DSR7Z4Z.js → openai-RTJNHBCG.js} +7 -7
- package/dist/bundle/{process-IPM3OJDN.js → process-TAFRBB53.js} +1 -1
- package/dist/bundle/{program-6E2SWPCU.js → program-4UU6HJQM.js} +215 -110
- package/dist/bundle/{prompt-XKR6EQAT.js → prompt-ESMCTEJI.js} +2 -2
- package/dist/bundle/{recognize-GZXAXTEH.js → recognize-V53GEY6R.js} +1 -1
- package/dist/bundle/{remote-Y5ML6KR4.js → remote-KGKRAGA6.js} +4 -4
- package/dist/bundle/{rerank-FNNXUTMN.js → rerank-DTD24I7Y.js} +4 -4
- package/dist/bundle/{serve-BGU5ERNX.js → serve-2DVSIKM7.js} +6 -6
- package/dist/bundle/server-ODWZJIRX.js +48 -0
- package/dist/bundle/{server-3L4FHYFM.js → server-UBMV5OI7.js} +50 -50
- package/dist/bundle/server-V5YRZZID.js +61 -0
- package/dist/bundle/{state-WAMVO34N.js → state-ONT6T6PY.js} +3 -3
- package/dist/bundle/{store-PVY4UTTR.js → store-TOYBDMML.js} +9 -9
- package/dist/bundle/store-maintenance-command-HIMIMWFU.js +48 -0
- package/dist/bundle/update-AO5UWEBY.js +69 -0
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +1 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +6 -0
- package/dist/examples.js.map +1 -1
- package/dist/finance/orders-command.d.ts +12 -0
- package/dist/finance/orders-command.d.ts.map +1 -0
- package/dist/finance/orders-command.js +92 -0
- package/dist/finance/orders-command.js.map +1 -0
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +7 -2
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +30 -0
- package/dist/program.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +1 -0
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +1 -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/mail-triage/SKILL.md +30 -4
- package/dist/bundle/auto-A2Y225YZ.js +0 -86
- package/dist/bundle/failure-PNTFMNKK.js +0 -66
- package/dist/bundle/server-5F3GJPG3.js +0 -48
- package/dist/bundle/server-JX5TWAAW.js +0 -61
- package/dist/bundle/store-maintenance-command-RGZJWNE2.js +0 -48
- package/dist/bundle/update-VJLZT6ER.js +0 -69
- /package/dist/bundle/{chunk-XGTIABPY.js → chunk-G6I5A2N3.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refuseLacking,
|
|
14
14
|
servicesFor,
|
|
15
15
|
throughWrapper
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CYUP7HQG.js";
|
|
17
17
|
import {
|
|
18
18
|
CEILING_KEY,
|
|
19
19
|
LOG_ATTRIBUTES,
|
|
@@ -38,21 +38,21 @@ import {
|
|
|
38
38
|
rememberAccount,
|
|
39
39
|
rootOf2 as rootOf,
|
|
40
40
|
skipFlagFor
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TIQUMRSO.js";
|
|
42
42
|
import {
|
|
43
43
|
isCliFailure,
|
|
44
44
|
providerErrorKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3DXTHN5C.js";
|
|
46
46
|
import {
|
|
47
47
|
MESSENGER_CHANGE_REFUSAL,
|
|
48
48
|
readOnlyRefusal
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-CNAOMV43.js";
|
|
50
50
|
import {
|
|
51
51
|
servingProfiles
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-S34FLB7K.js";
|
|
53
53
|
import {
|
|
54
54
|
openStore
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-VDGKBAS2.js";
|
|
56
56
|
import {
|
|
57
57
|
logRecordOf,
|
|
58
58
|
realSleep,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
__name
|
|
67
67
|
} from "./chunk-ZVVMGPBJ.js";
|
|
68
68
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
69
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
70
70
|
import { openSync } from "node:fs";
|
|
71
71
|
import { createInterface } from "node:readline";
|
|
72
72
|
import { ReadStream } from "node:tty";
|
|
@@ -121,10 +121,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
121
121
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
122
122
|
}, "terminalAsker");
|
|
123
123
|
|
|
124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
125
125
|
import { randomUUID } from "node:crypto";
|
|
126
126
|
|
|
127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
128
128
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
129
129
|
import { dirname, join } from "node:path";
|
|
130
130
|
var MOST_DEADLINES = 50;
|
|
@@ -208,11 +208,11 @@ var FloodMemory = class {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
212
212
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
213
213
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
214
214
|
|
|
215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
216
216
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
217
217
|
import { dirname as dirname2 } from "node:path";
|
|
218
218
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -279,7 +279,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
279
279
|
}
|
|
280
280
|
}, "lockTime");
|
|
281
281
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
283
283
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
284
284
|
var SendJournal = class {
|
|
285
285
|
static {
|
|
@@ -356,7 +356,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
356
356
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
357
357
|
}, "withSendId");
|
|
358
358
|
|
|
359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
360
360
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
361
361
|
import { join as join3 } from "node:path";
|
|
362
362
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -468,7 +468,7 @@ var RecipientList = class {
|
|
|
468
468
|
}
|
|
469
469
|
};
|
|
470
470
|
|
|
471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
472
472
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
473
473
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
474
474
|
"attachments.extract",
|
|
@@ -661,7 +661,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
661
661
|
}), "guardFor");
|
|
662
662
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
663
663
|
|
|
664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
665
665
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
666
666
|
import { join as join4 } from "node:path";
|
|
667
667
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -720,7 +720,7 @@ var Pacer = class {
|
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
|
|
723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
724
724
|
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
725
725
|
const words = [];
|
|
726
726
|
for (let at = command; at?.parent; at = at.parent)
|
|
@@ -780,7 +780,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
780
780
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
781
781
|
}, "refuseUnknownPermissionKeys");
|
|
782
782
|
|
|
783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
784
784
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
785
785
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
786
786
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -899,7 +899,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
899
899
|
});
|
|
900
900
|
}, "flooded");
|
|
901
901
|
|
|
902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
903
903
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
904
904
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
905
905
|
const write = currentOperation();
|
|
@@ -998,7 +998,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
998
998
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
999
999
|
}, "byPart");
|
|
1000
1000
|
|
|
1001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
1002
1002
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
1003
1003
|
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" }) => {
|
|
1004
1004
|
let warned = false;
|
|
@@ -1574,7 +1574,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1574
1574
|
}
|
|
1575
1575
|
}, "keep");
|
|
1576
1576
|
|
|
1577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1578
1578
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1579
1579
|
let opened;
|
|
1580
1580
|
return {
|
|
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answers,
|
|
5
5
|
itemAnswer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XV7YW65Y.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig,
|
|
9
9
|
updateConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GACW4GZZ.js";
|
|
11
11
|
import {
|
|
12
12
|
failingNotice,
|
|
13
13
|
recordRun
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RUWY43XR.js";
|
|
15
15
|
import {
|
|
16
16
|
InvalidArgumentError,
|
|
17
17
|
LOCAL_READ,
|
|
18
18
|
LOCAL_WRITE,
|
|
19
19
|
annotate
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TIQUMRSO.js";
|
|
21
21
|
import {
|
|
22
22
|
installerOf
|
|
23
23
|
} from "./chunk-KV4267S4.js";
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GACW4GZZ.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RUWY43XR.js";
|
|
9
9
|
import {
|
|
10
10
|
FETCH,
|
|
11
11
|
annotate,
|
|
12
12
|
overrideSharedContract
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TIQUMRSO.js";
|
|
14
14
|
import {
|
|
15
15
|
latestVersion,
|
|
16
16
|
runUpdate,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
APP,
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XDQIJSJE.js";
|
|
23
23
|
import {
|
|
24
24
|
installerOf
|
|
25
25
|
} from "./chunk-KV4267S4.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
// dist/update.js
|
|
35
35
|
import { join } from "node:path";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
38
38
|
import { realpathSync } from "node:fs";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
var QUIET_WORDS = [
|
|
@@ -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-DIQAOLWH.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
8
|
} from "./chunk-TZ7WDQPD.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.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/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.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/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.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/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.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|
|
@@ -10,10 +10,10 @@ 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.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -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.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|
|
@@ -3,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
agentResult,
|
|
5
5
|
failureContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IIXZMACE.js";
|
|
7
7
|
import {
|
|
8
8
|
CommanderError,
|
|
9
9
|
judgedEffects,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TIQUMRSO.js";
|
|
12
12
|
import {
|
|
13
13
|
interactiveOf,
|
|
14
14
|
optionsOf
|
|
15
15
|
} from "./chunk-BPGYTJNB.js";
|
|
16
16
|
import {
|
|
17
17
|
APP
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XDQIJSJE.js";
|
|
19
19
|
import {
|
|
20
20
|
ValiError,
|
|
21
21
|
errorObjectOf,
|