@wirecat/cli-memo 0.131.26 → 0.131.28
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-VULFSNYE.js → all-profiles-5T23TSLS.js} +5 -5
- package/dist/bundle/{anthropic-VXQ6ST2U.js → anthropic-AKD5CPO6.js} +3 -3
- package/dist/bundle/{app-server-HQPELIPY.js → app-server-NE7EMWAU.js} +35 -35
- package/dist/bundle/auto-UI3T442Q.js +86 -0
- package/dist/bundle/{bun-2NMWL5YB.js → bun-MWSCIVYY.js} +2 -2
- package/dist/bundle/{bun-sqlite-CT544OXO.js → bun-sqlite-K2OK3SS6.js} +2 -2
- package/dist/bundle/{chunk-7LMTWOTP.js → chunk-25IIXY5K.js} +1 -1
- package/dist/bundle/{chunk-OYB3FUYQ.js → chunk-2JM3HWSF.js} +1 -1
- package/dist/bundle/{chunk-TKVRZZE3.js → chunk-2O34ULVN.js} +1 -1
- package/dist/bundle/{chunk-ARDUJR5Z.js → chunk-3NCXHUGK.js} +1 -1
- package/dist/bundle/{chunk-CRC3AW6N.js → chunk-3NERKJCL.js} +2 -2
- package/dist/bundle/{chunk-KFDPW2AR.js → chunk-4BUJ4P4V.js} +2 -2
- package/dist/bundle/{chunk-A4NZ2XOG.js → chunk-4ETZKMSQ.js} +7 -7
- package/dist/bundle/{chunk-BO4FN4UB.js → chunk-52DNGWWV.js} +2 -2
- package/dist/bundle/{chunk-J57DDKF4.js → chunk-5FTTDKHU.js} +1 -1
- package/dist/bundle/{chunk-NAM2Y63Z.js → chunk-5VD4BWQ5.js} +2 -2
- package/dist/bundle/{chunk-CW3NJ764.js → chunk-6GF5XTEK.js} +4 -4
- package/dist/bundle/{chunk-7ISENDNK.js → chunk-7STRA63S.js} +10 -10
- package/dist/bundle/{chunk-A6PITALJ.js → chunk-7UZF7FFF.js} +1 -1
- package/dist/bundle/{chunk-3ZJE5TIG.js → chunk-7VIPLKQY.js} +1 -1
- package/dist/bundle/{chunk-LJZFMXDC.js → chunk-7XJX6KV7.js} +20 -20
- package/dist/bundle/{chunk-BELLQAWL.js → chunk-BRYOBI2N.js} +7 -7
- package/dist/bundle/{chunk-S3RBWUUA.js → chunk-BWH7HBVK.js} +5 -5
- package/dist/bundle/{chunk-6PRRZC7Z.js → chunk-BWHPJFJQ.js} +1 -1
- package/dist/bundle/{chunk-FHY664YS.js → chunk-C6A2FRMX.js} +3 -3
- package/dist/bundle/{chunk-5FPQGUJA.js → chunk-CUUQ5SGZ.js} +1 -1
- package/dist/bundle/{chunk-XKGXVVYV.js → chunk-DFSJNUV3.js} +4 -4
- package/dist/bundle/{chunk-HVVBSM2C.js → chunk-EDGK35LX.js} +245 -245
- package/dist/bundle/{chunk-UZXCBBDC.js → chunk-EKSAED2S.js} +9 -9
- package/dist/bundle/{chunk-H6O6IQND.js → chunk-FAMGHE4L.js} +3 -3
- package/dist/bundle/{chunk-NH2JSH24.js → chunk-FXUDATZI.js} +4 -4
- package/dist/bundle/{chunk-CUWI6JIX.js → chunk-GOZXK5ZB.js} +5 -5
- package/dist/bundle/{chunk-254TXVLA.js → chunk-GR4Z3X3R.js} +1 -1
- package/dist/bundle/{chunk-DKKWZMR7.js → chunk-GYQQZAPM.js} +1 -1
- package/dist/bundle/{chunk-2ND2XYME.js → chunk-HG2ZICMV.js} +24 -16
- package/dist/bundle/{chunk-TPFWNOPG.js → chunk-HMZLIJZI.js} +4 -4
- package/dist/bundle/{chunk-QKQ7A4L7.js → chunk-IPVYKIDQ.js} +43 -43
- package/dist/bundle/{chunk-IJ34FAES.js → chunk-JVJSEZRZ.js} +11 -11
- package/dist/bundle/{chunk-M4QN77GH.js → chunk-JXPSZJRX.js} +3 -3
- package/dist/bundle/{chunk-Z3YGDBBS.js → chunk-KNAXSFFK.js} +2 -2
- package/dist/bundle/{chunk-GJBK3M6X.js → chunk-L2AJTH4B.js} +4 -4
- package/dist/bundle/{chunk-HN3EDDVX.js → chunk-L32UNV6A.js} +12 -12
- package/dist/bundle/{chunk-MQAHMAJB.js → chunk-LCU6HHIT.js} +1 -1
- package/dist/bundle/{chunk-TXANQZEG.js → chunk-LYBA6YTS.js} +2 -2
- package/dist/bundle/{chunk-M6O4DH5F.js → chunk-MMQ3PNY2.js} +1 -1
- package/dist/bundle/{chunk-3CVDHJER.js → chunk-N3YOSX2R.js} +1 -1
- package/dist/bundle/{chunk-KTDNFSXC.js → chunk-NSU2QZ2Y.js} +20 -20
- package/dist/bundle/{chunk-GPYGMETC.js → chunk-P6KGH4HJ.js} +445 -300
- package/dist/bundle/{chunk-SY7M2DLJ.js → chunk-QM7JJICP.js} +8 -8
- package/dist/bundle/{chunk-KMZRXGTF.js → chunk-R2YCDWZB.js} +1 -1
- package/dist/bundle/{chunk-AGMYCYSG.js → chunk-RQ37GH4Q.js} +150 -150
- package/dist/bundle/{chunk-LMN7SYX4.js → chunk-SS6NIBT3.js} +1 -1
- package/dist/bundle/{chunk-4ENVJFRM.js → chunk-SUWRZHLN.js} +27 -27
- package/dist/bundle/{chunk-ZR3BPBS6.js → chunk-TOCIBRXE.js} +7 -7
- package/dist/bundle/{chunk-IUM5XZWV.js → chunk-TPRGT6QU.js} +5 -5
- package/dist/bundle/{chunk-WRZ7JDA2.js → chunk-TZQBS2W6.js} +5 -5
- package/dist/bundle/{chunk-YFBKS5BW.js → chunk-UQVZIZ3X.js} +2 -2
- package/dist/bundle/{chunk-VL3YCTZD.js → chunk-WF5E3GTN.js} +6 -6
- package/dist/bundle/{chunk-6TJCRDNZ.js → chunk-WXMIDNA5.js} +3 -3
- package/dist/bundle/{chunk-DUHXWFCB.js → chunk-YS26XHBU.js} +4 -4
- package/dist/bundle/{chunk-PWA3RNXN.js → chunk-ZAHUDQE4.js} +256 -256
- package/dist/bundle/{chunk-GOEHJK2R.js → chunk-ZJO43QQG.js} +4 -4
- package/dist/bundle/{chunk-QFW4MJIH.js → chunk-ZLTARJG7.js} +51 -51
- package/dist/bundle/{command-contract-RQMIQKBS.js → command-contract-YR55Y4J2.js} +11 -11
- package/dist/bundle/{decode-7VB3CHK2.js → decode-KGZGT6YR.js} +2 -2
- package/dist/bundle/{echarts-45D6USAX.js → echarts-ZVR7COJR.js} +2 -2
- package/dist/bundle/{embed-KU2RGB24.js → embed-E3SYH7BI.js} +3 -3
- package/dist/bundle/{embedder-E7YZDZ5Y.js → embedder-2OGNW5GQ.js} +6 -6
- package/dist/bundle/{entry-N42HJMIN.js → entry-ZVAL5NC5.js} +4 -4
- package/dist/bundle/failure-62K4QAPV.js +66 -0
- package/dist/bundle/{first-run-Y5YNAAO3.js → first-run-IH2OAKCU.js} +5 -5
- package/dist/bundle/{first-screen-SNPGBQFZ.js → first-screen-HLMFDOCL.js} +12 -12
- package/dist/bundle/{instructions-6EFSPC7C.js → instructions-BQO5IVUS.js} +1 -1
- package/dist/bundle/{mcp-6Z7UKX7E.js → mcp-JQ6WGHBL.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-OXC26QXO.js → node-SESRJP6V.js} +2 -2
- package/dist/bundle/{node-sqlite-FNTICDEN.js → node-sqlite-E6WGF6VQ.js} +3 -3
- package/dist/bundle/{oauth-4JFOFCBB.js → oauth-5XEPM7P2.js} +4 -4
- package/dist/bundle/{open-WXFCCY7S.js → open-ORDS45GQ.js} +2 -2
- package/dist/bundle/{openai-TPQKQNM7.js → openai-IWEPM3B7.js} +7 -7
- package/dist/bundle/{process-YWPAOI6G.js → process-EVTLTA56.js} +1 -1
- package/dist/bundle/{program-WFUPN7XO.js → program-QJOC2VHS.js} +95 -79
- package/dist/bundle/{prompt-HJUH4EP4.js → prompt-GSBAQBKX.js} +2 -2
- package/dist/bundle/{recognize-DAIRHALM.js → recognize-D5ZG7KRK.js} +1 -1
- package/dist/bundle/{remote-MJLWTLAX.js → remote-Q5KOZYAA.js} +4 -4
- package/dist/bundle/{rerank-VAK5HSJE.js → rerank-BDBJYOQV.js} +4 -4
- package/dist/bundle/{serve-M2A66WOW.js → serve-JR7XMZ4X.js} +6 -6
- package/dist/bundle/server-EWORQZZB.js +48 -0
- package/dist/bundle/server-HHTRVQYX.js +61 -0
- package/dist/bundle/{server-NN2CBVSX.js → server-RWZYJVLZ.js} +50 -50
- package/dist/bundle/{state-6TBUXJOX.js → state-WTKI4AQ7.js} +3 -3
- package/dist/bundle/{store-TJCL3QBY.js → store-XMGQNBP3.js} +9 -9
- package/dist/bundle/store-maintenance-command-EY5EIO2H.js +48 -0
- package/dist/bundle/update-CUBOZISO.js +69 -0
- package/dist/contract-overrides/skill.d.ts.map +1 -1
- package/dist/contract-overrides/skill.js +1 -1
- package/dist/contract-overrides/skill.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +1 -0
- package/dist/examples.js.map +1 -1
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +1 -0
- package/dist/facts/command.js.map +1 -1
- package/dist/program.d.ts +2 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +15 -1
- package/dist/program.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/SKILL.md +28 -204
- package/skills/cli-memo/topics/mail.md +31 -0
- package/skills/cli-memo/topics/mcp.md +13 -0
- package/skills/cli-memo/topics/meetings.md +36 -0
- package/skills/cli-memo/topics/money.md +14 -0
- package/skills/cli-memo/topics/projects.md +44 -0
- package/skills/cli-memo/topics/proposals.md +19 -0
- package/skills/cli-memo/topics/search.md +60 -0
- package/skills/cli-memo/topics/vocabulary.md +8 -0
- package/dist/bundle/auto-3R4RFJGK.js +0 -86
- package/dist/bundle/failure-R355OCVE.js +0 -66
- package/dist/bundle/server-33FB7QXW.js +0 -48
- package/dist/bundle/server-AIPDQO57.js +0 -61
- package/dist/bundle/store-maintenance-command-NKJV5A3G.js +0 -48
- package/dist/bundle/update-OXR3SNM2.js +0 -69
- /package/dist/bundle/{chunk-DF7NE4ZG.js → chunk-3HNCLKYR.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refuseLacking,
|
|
14
14
|
servicesFor,
|
|
15
15
|
throughWrapper
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZAHUDQE4.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-RQ37GH4Q.js";
|
|
42
42
|
import {
|
|
43
43
|
isCliFailure,
|
|
44
44
|
providerErrorKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-BRYOBI2N.js";
|
|
46
46
|
import {
|
|
47
47
|
MESSENGER_CHANGE_REFUSAL,
|
|
48
48
|
readOnlyRefusal
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-7UZF7FFF.js";
|
|
50
50
|
import {
|
|
51
51
|
servingProfiles
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-52DNGWWV.js";
|
|
53
53
|
import {
|
|
54
54
|
openStore
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-P6KGH4HJ.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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
secretNamed,
|
|
5
5
|
withoutSecrets
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5FTTDKHU.js";
|
|
7
7
|
import {
|
|
8
8
|
isContentKey
|
|
9
9
|
} from "./chunk-TZ7WDQPD.js";
|
|
@@ -14,18 +14,18 @@ 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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
18
18
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
22
22
|
import { homedir } from "node:os";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
25
25
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
26
26
|
var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
29
29
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
30
30
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
31
31
|
if (event.event === "warning") {
|
|
@@ -73,7 +73,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
73
73
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
74
74
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
77
77
|
var MESSAGE_AT_MOST = 500;
|
|
78
78
|
var CAUSES_AT_MOST = 5;
|
|
79
79
|
var FRAMES_AT_MOST = 15;
|
|
@@ -182,7 +182,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
182
182
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
183
183
|
}, "redactText");
|
|
184
184
|
|
|
185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
186
186
|
var REDACTED = "[redacted]";
|
|
187
187
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
188
188
|
if (!record)
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
inspectConfig,
|
|
5
5
|
loadConfig,
|
|
6
6
|
memoPermissionKeys
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L2AJTH4B.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-RQ37GH4Q.js";
|
|
17
17
|
import {
|
|
18
18
|
setupPermissionCeiling
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WXMIDNA5.js";
|
|
20
20
|
import {
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7UZF7FFF.js";
|
|
24
24
|
import {
|
|
25
25
|
APP
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2O34ULVN.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
29
|
} from "./chunk-EB2IULWB.js";
|
|
@@ -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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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) {
|
|
@@ -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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -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-ZJO43QQG.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig,
|
|
9
9
|
updateConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L2AJTH4B.js";
|
|
11
11
|
import {
|
|
12
12
|
failingNotice,
|
|
13
13
|
recordRun
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EDGK35LX.js";
|
|
15
15
|
import {
|
|
16
16
|
InvalidArgumentError,
|
|
17
17
|
LOCAL_READ,
|
|
18
18
|
LOCAL_WRITE,
|
|
19
19
|
annotate
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RQ37GH4Q.js";
|
|
21
21
|
import {
|
|
22
22
|
installerOf
|
|
23
23
|
} from "./chunk-KV4267S4.js";
|