@wirecat/cli-memo 0.131.36 → 0.131.37
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-AVDSOFZL.js → all-profiles-W26PFZ2J.js} +5 -5
- package/dist/bundle/{anthropic-CRPI5XLD.js → anthropic-SY6QPTQW.js} +3 -3
- package/dist/bundle/{app-server-PIXX4CXT.js → app-server-WUXDTYU4.js} +35 -35
- package/dist/bundle/auto-U76QA2DW.js +86 -0
- package/dist/bundle/{bun-JOD7BLWG.js → bun-O3KE32D7.js} +2 -2
- package/dist/bundle/{bun-sqlite-IW42RA6B.js → bun-sqlite-5X2NBSLA.js} +2 -2
- package/dist/bundle/{chunk-4BWAVNRU.js → chunk-2EDP7PDR.js} +258 -258
- package/dist/bundle/{chunk-BRMII52T.js → chunk-2IST54UV.js} +9 -9
- package/dist/bundle/{chunk-XSS6U6VL.js → chunk-2Q4DYGNU.js} +2 -2
- package/dist/bundle/{chunk-EUZGV5UK.js → chunk-32WLB6I3.js} +1 -1
- package/dist/bundle/{chunk-G4N6CIFO.js → chunk-374FSLTB.js} +5 -5
- package/dist/bundle/{chunk-JPVAIMPJ.js → chunk-3G63U4VK.js} +9 -9
- package/dist/bundle/{chunk-PWKO36K4.js → chunk-43CMY3YD.js} +1 -1
- package/dist/bundle/{chunk-ZFIBNKLW.js → chunk-4AXSD77N.js} +1 -1
- package/dist/bundle/{chunk-D57K44OV.js → chunk-4CADISNA.js} +1 -1
- package/dist/bundle/{chunk-TW5YX26Q.js → chunk-4CD37FZU.js} +5 -5
- package/dist/bundle/{chunk-7U7U2UZV.js → chunk-4NJQJZRO.js} +1 -1
- package/dist/bundle/{chunk-CC2EUMMM.js → chunk-4OF64T67.js} +1 -1
- package/dist/bundle/{chunk-X3WEAVIH.js → chunk-5EBYGKZB.js} +1 -1
- package/dist/bundle/{chunk-HQJBQWFQ.js → chunk-5J5RTJUJ.js} +1 -1
- package/dist/bundle/{chunk-QRYSVOUH.js → chunk-5ZKNRR6O.js} +48 -33
- package/dist/bundle/{chunk-XCO6NBTE.js → chunk-75QQ7MLH.js} +8 -8
- package/dist/bundle/{chunk-RZLEQP2H.js → chunk-7P3PM3OL.js} +7 -7
- package/dist/bundle/{chunk-EW2T73CA.js → chunk-AJ4SVCBD.js} +259 -251
- package/dist/bundle/{chunk-T5IRZA25.js → chunk-AOFYLQK2.js} +2 -2
- package/dist/bundle/{chunk-6Z5SDRME.js → chunk-B4LT2DHH.js} +4 -4
- package/dist/bundle/{chunk-YVYOZY5K.js → chunk-CEENCS5P.js} +6 -6
- package/dist/bundle/{chunk-T676QOXT.js → chunk-CEOXSWU3.js} +2 -2
- package/dist/bundle/{chunk-EFF5JJRJ.js → chunk-CVCL77DZ.js} +4 -4
- package/dist/bundle/{chunk-CBFO5NLX.js → chunk-CXWKBOKQ.js} +3 -3
- package/dist/bundle/{chunk-QIRO6B6C.js → chunk-DHGQTARJ.js} +4 -4
- package/dist/bundle/{chunk-RPZQ3DSX.js → chunk-DZA5OWKD.js} +5 -5
- package/dist/bundle/{chunk-UKSL7QZD.js → chunk-F4BXYTIW.js} +7 -7
- package/dist/bundle/{chunk-LTP2EEXM.js → chunk-FOQBIEL5.js} +1 -1
- package/dist/bundle/{chunk-WVJFUHQS.js → chunk-GXCXOITM.js} +20 -20
- package/dist/bundle/{chunk-BFKNZMRN.js → chunk-J7FP7PRV.js} +150 -150
- package/dist/bundle/{chunk-AOZMZXFQ.js → chunk-JT36R23P.js} +7 -7
- package/dist/bundle/{chunk-4AMCA6VQ.js → chunk-K3GMQLFM.js} +2 -2
- package/dist/bundle/{chunk-ZLFFEGX6.js → chunk-L2M3LTQQ.js} +1 -1
- package/dist/bundle/{chunk-CIWU756L.js → chunk-LV6FBPUQ.js} +11 -11
- package/dist/bundle/{chunk-JBMSXV2A.js → chunk-O762IE2F.js} +1 -1
- package/dist/bundle/{chunk-VIWOYM4L.js → chunk-QM5CNTGT.js} +20 -20
- package/dist/bundle/{chunk-VWWUJKLO.js → chunk-QMY4EZ6B.js} +5 -5
- package/dist/bundle/{chunk-KAODXBUF.js → chunk-QP7BTVMT.js} +2 -2
- package/dist/bundle/{chunk-6J6OO4BJ.js → chunk-QTLYWZXB.js} +3 -3
- package/dist/bundle/{chunk-34BMGIFI.js → chunk-RBCI432I.js} +3 -3
- package/dist/bundle/{chunk-E7IJTHAC.js → chunk-S2K3FWLA.js} +12 -12
- package/dist/bundle/{chunk-GZZQDHUT.js → chunk-S5KSC4B3.js} +27 -27
- package/dist/bundle/{chunk-UKIZBDD3.js → chunk-SDIKN2OR.js} +10 -10
- package/dist/bundle/{chunk-JU5Q3AZD.js → chunk-SSQDA7X6.js} +4 -4
- package/dist/bundle/{chunk-G7N3ID6S.js → chunk-TJNW4L7P.js} +43 -43
- package/dist/bundle/{chunk-GAC4FF6K.js → chunk-TJXVMLK4.js} +1 -1
- package/dist/bundle/{chunk-YCLV7AAF.js → chunk-TXJYVD5U.js} +1 -1
- package/dist/bundle/{chunk-2JZKVNFL.js → chunk-UOJWRYVD.js} +7 -1
- package/dist/bundle/{chunk-HPUUJVTP.js → chunk-UUD4QHAN.js} +4 -4
- package/dist/bundle/{chunk-WORCFDZN.js → chunk-UWJ3RJF4.js} +2 -2
- package/dist/bundle/{chunk-VR6FNEFZ.js → chunk-VHYJIRK7.js} +4 -4
- package/dist/bundle/{chunk-FKRD3KGN.js → chunk-WRZP6DJT.js} +54 -54
- package/dist/bundle/{chunk-PXOZGHXR.js → chunk-WVXTZWH3.js} +1 -1
- package/dist/bundle/{chunk-RDXN52I6.js → chunk-XCAGVFRC.js} +278 -278
- package/dist/bundle/{chunk-VBAAW3FK.js → chunk-XLUOKHFN.js} +3 -3
- package/dist/bundle/{chunk-WGLE4R45.js → chunk-ZMZVRVCK.js} +2 -2
- package/dist/bundle/{chunk-WUF3P4DX.js → chunk-ZP7F76D3.js} +1 -1
- package/dist/bundle/{command-contract-BAHAQIPW.js → command-contract-FRRW2Z4S.js} +11 -11
- package/dist/bundle/{decode-ANYCY5PK.js → decode-RVPTVZ3W.js} +2 -2
- package/dist/bundle/{echarts-NH42736V.js → echarts-CW6DTALT.js} +2 -2
- package/dist/bundle/{embed-34XKENNN.js → embed-VXWYSZ7X.js} +3 -3
- package/dist/bundle/{embedder-GMTQ6CUJ.js → embedder-QX3GSPBN.js} +6 -6
- package/dist/bundle/{entry-W2JUZTXL.js → entry-LBDVYMDG.js} +4 -4
- package/dist/bundle/failure-NMC4BQ2P.js +66 -0
- package/dist/bundle/{first-run-MAHEEKHT.js → first-run-VPR5YFMD.js} +5 -5
- package/dist/bundle/{first-screen-X4SVIRMT.js → first-screen-WRKQ4GAM.js} +12 -12
- package/dist/bundle/{instructions-YOSNFLTK.js → instructions-2XLUHPQH.js} +1 -1
- package/dist/bundle/{mcp-CAMU2OWN.js → mcp-RD54TNKO.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-O3XV2354.js → node-AQ7O3PGH.js} +2 -2
- package/dist/bundle/{node-sqlite-MJDZN4PN.js → node-sqlite-RKDBK624.js} +3 -3
- package/dist/bundle/{oauth-KEGXZT2C.js → oauth-ZQCL2HPA.js} +4 -4
- package/dist/bundle/{open-I3I57V2N.js → open-ME6M3BWL.js} +2 -2
- package/dist/bundle/{openai-VCEX4PW3.js → openai-PHW5QKNC.js} +7 -7
- package/dist/bundle/{process-BAT3Q3LY.js → process-4HJLMEHS.js} +1 -1
- package/dist/bundle/{program-IH6EXRJR.js → program-GVEBIXZL.js} +83 -61
- package/dist/bundle/{prompt-3AD7X52P.js → prompt-U5JMQJPC.js} +2 -2
- package/dist/bundle/{recognize-AMFTP45O.js → recognize-OYKFXOLL.js} +1 -1
- package/dist/bundle/{remote-Z5V5EKS4.js → remote-IXABNXVH.js} +4 -4
- package/dist/bundle/{rerank-PUDPLKON.js → rerank-6ASLHI5I.js} +4 -4
- package/dist/bundle/{serve-ZRBPK4GW.js → serve-ZYQO2Z23.js} +6 -6
- package/dist/bundle/server-BMXFJO2T.js +61 -0
- package/dist/bundle/{server-CJ5CMNEO.js → server-DMU7GDV2.js} +50 -50
- package/dist/bundle/server-V7JU6YLA.js +48 -0
- package/dist/bundle/{state-BVVIF6M3.js → state-5W7BQVQO.js} +3 -3
- package/dist/bundle/{store-2U3EY4N5.js → store-6WW7XV2O.js} +9 -9
- package/dist/bundle/store-maintenance-command-YPNP663U.js +48 -0
- package/dist/bundle/update-GLX3YE67.js +69 -0
- package/dist/examples.js +1 -1
- package/dist/examples.js.map +1 -1
- package/dist/mail/findings-command.d.ts +1 -1
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +29 -4
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +1 -0
- package/dist/mail/review-command.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.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/mail.md +2 -1
- package/skills/mail-triage/SKILL.md +34 -11
- package/dist/bundle/auto-QK6SSRWW.js +0 -86
- package/dist/bundle/failure-UOGNX3CX.js +0 -66
- package/dist/bundle/server-423F624R.js +0 -48
- package/dist/bundle/server-GHZF2UHL.js +0 -61
- package/dist/bundle/store-maintenance-command-MSYIPYY3.js +0 -48
- package/dist/bundle/update-NQNVV57J.js +0 -69
- /package/dist/bundle/{chunk-2HSW646W.js → chunk-FEJOKQPV.js} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J7FP7PRV.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
13
|
} from "./chunk-SN63VOE6.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -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-4CADISNA.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
8
|
} from "./chunk-2R2Z2VWL.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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AOFYLQK2.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-J7FP7PRV.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
24
|
} from "./chunk-SN63VOE6.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
|
|
|
94
94
|
upgrade: "setup"
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
98
98
|
var DESCRIPTION = 90;
|
|
99
99
|
var COLUMN = 52;
|
|
100
100
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
133
133
|
`;
|
|
134
134
|
}, "commandsText");
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
137
137
|
var ARGUMENT_KINDS = {
|
|
138
138
|
chat: "chat",
|
|
139
139
|
chats: "chat",
|
|
@@ -325,7 +325,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
325
325
|
command.addHelpText("after", () => commandHelpText(command));
|
|
326
326
|
}, "installCommandHelp");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
329
329
|
var WIRECAT_TOOLS = [
|
|
330
330
|
{
|
|
331
331
|
command: "tg",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4CD37FZU.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-RZ54DSVU.js";
|
|
@@ -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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WVXTZWH3.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
callerOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2Q4DYGNU.js";
|
|
11
11
|
import {
|
|
12
12
|
StdioServerTransport,
|
|
13
13
|
serveStdio
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
var PROTOCOL = "2025-06-18";
|
|
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
253
253
|
}, "serveAllProfilesOverStdio");
|
|
254
254
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
255
255
|
const { build, close } = allProfilesServer(options);
|
|
256
|
-
const { serveOverHttp } = await import("./serve-
|
|
256
|
+
const { serveOverHttp } = await import("./serve-ZYQO2Z23.js");
|
|
257
257
|
const listening = await serveOverHttp(build, {
|
|
258
258
|
...http,
|
|
259
259
|
appName: options.command,
|
|
@@ -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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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) => {
|
|
@@ -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-VHYJIRK7.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig,
|
|
9
9
|
updateConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5ZKNRR6O.js";
|
|
11
11
|
import {
|
|
12
12
|
failingNotice,
|
|
13
13
|
recordRun
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AJ4SVCBD.js";
|
|
15
15
|
import {
|
|
16
16
|
InvalidArgumentError,
|
|
17
17
|
LOCAL_READ,
|
|
18
18
|
LOCAL_WRITE,
|
|
19
19
|
annotate
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-J7FP7PRV.js";
|
|
21
21
|
import {
|
|
22
22
|
installerOf
|
|
23
23
|
} from "./chunk-CID4MNRQ.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
inspectConfig,
|
|
5
5
|
loadConfig,
|
|
6
6
|
memoPermissionKeys
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5ZKNRR6O.js";
|
|
8
8
|
import {
|
|
9
9
|
CEILING_KEY,
|
|
10
10
|
changesAuthority,
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
layerPermissions,
|
|
14
14
|
levelFor,
|
|
15
15
|
metaOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J7FP7PRV.js";
|
|
17
17
|
import {
|
|
18
18
|
setupPermissionCeiling
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XLUOKHFN.js";
|
|
20
20
|
import {
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4NJQJZRO.js";
|
|
24
24
|
import {
|
|
25
25
|
APP
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UOJWRYVD.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
29
|
} from "./chunk-RZ54DSVU.js";
|
|
@@ -3,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CXWKBOKQ.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CEOXSWU3.js";
|
|
10
10
|
import {
|
|
11
11
|
OPENAI_TRANSCRIBE_MODEL,
|
|
12
12
|
VAD,
|
|
13
13
|
filesPresent,
|
|
14
14
|
modelsDirectory,
|
|
15
15
|
vadPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QTLYWZXB.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_RETRY,
|
|
19
19
|
backoffMs
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
29
29
|
import { setTimeout as wait } from "node:timers/promises";
|
|
30
30
|
|
|
31
31
|
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
|
|
@@ -52,7 +52,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
|
|
|
52
52
|
}, "parseRateLimitReset");
|
|
53
53
|
var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
|
|
54
54
|
|
|
55
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
55
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
56
56
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
57
57
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
58
58
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -73,7 +73,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
73
73
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
74
74
|
}, "encodeWav");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
77
77
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
78
78
|
var JOINED_SECONDS = 0.2;
|
|
79
79
|
var PAD_SECONDS = 0.2;
|
|
@@ -195,7 +195,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
195
195
|
return pieces;
|
|
196
196
|
}, "piecesOf");
|
|
197
197
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
198
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
198
|
+
const { openSpeechCutter } = await import("./recognize-OYKFXOLL.js");
|
|
199
199
|
return openSpeechCutter(vadModel);
|
|
200
200
|
}, "openCutter");
|
|
201
201
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refuseLacking,
|
|
14
14
|
servicesFor,
|
|
15
15
|
throughWrapper
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2EDP7PDR.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-J7FP7PRV.js";
|
|
42
42
|
import {
|
|
43
43
|
isCliFailure,
|
|
44
44
|
providerErrorKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JT36R23P.js";
|
|
46
46
|
import {
|
|
47
47
|
MESSENGER_CHANGE_REFUSAL,
|
|
48
48
|
readOnlyRefusal
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-4NJQJZRO.js";
|
|
50
50
|
import {
|
|
51
51
|
servingProfiles
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ZMZVRVCK.js";
|
|
53
53
|
import {
|
|
54
54
|
openStore
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-XCAGVFRC.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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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.581.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_36341de5bb3d58122cbf3036ff7c0d66/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 {
|