@wirecat/cli-memo 0.131.27 → 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-647KYOE7.js → all-profiles-5T23TSLS.js} +5 -5
- package/dist/bundle/{anthropic-NOWJG7LX.js → anthropic-AKD5CPO6.js} +3 -3
- package/dist/bundle/{app-server-4TSS6HOH.js → app-server-NE7EMWAU.js} +35 -35
- package/dist/bundle/auto-UI3T442Q.js +86 -0
- package/dist/bundle/{bun-SWGUWWHN.js → bun-MWSCIVYY.js} +2 -2
- package/dist/bundle/{bun-sqlite-KUF25XNM.js → bun-sqlite-K2OK3SS6.js} +2 -2
- package/dist/bundle/{chunk-L57US5PR.js → chunk-25IIXY5K.js} +1 -1
- package/dist/bundle/{chunk-FTT5JNPN.js → chunk-2JM3HWSF.js} +1 -1
- package/dist/bundle/{chunk-YMER5NPZ.js → chunk-2O34ULVN.js} +1 -1
- package/dist/bundle/{chunk-JRQUM4HZ.js → chunk-3NCXHUGK.js} +1 -1
- package/dist/bundle/{chunk-NA3MERUP.js → chunk-3NERKJCL.js} +2 -2
- package/dist/bundle/{chunk-4PTLLGIF.js → chunk-4BUJ4P4V.js} +2 -2
- package/dist/bundle/{chunk-LAWSSPON.js → chunk-4ETZKMSQ.js} +7 -7
- package/dist/bundle/{chunk-IVYNJMBN.js → chunk-52DNGWWV.js} +2 -2
- package/dist/bundle/{chunk-XA3WEWYH.js → chunk-5FTTDKHU.js} +1 -1
- package/dist/bundle/{chunk-WYUAAPPV.js → chunk-5VD4BWQ5.js} +2 -2
- package/dist/bundle/{chunk-JLYGDM36.js → chunk-6GF5XTEK.js} +4 -4
- package/dist/bundle/{chunk-7PP2OPRA.js → chunk-7STRA63S.js} +10 -10
- package/dist/bundle/{chunk-OQA75YT2.js → chunk-7UZF7FFF.js} +1 -1
- package/dist/bundle/{chunk-JQTPWAJM.js → chunk-7VIPLKQY.js} +1 -1
- package/dist/bundle/{chunk-T5FFN7L2.js → chunk-7XJX6KV7.js} +20 -20
- package/dist/bundle/{chunk-RCGI5XSZ.js → chunk-BRYOBI2N.js} +7 -7
- package/dist/bundle/{chunk-UM5T2ENH.js → chunk-BWH7HBVK.js} +5 -5
- package/dist/bundle/{chunk-ZAEDCOUL.js → chunk-BWHPJFJQ.js} +1 -1
- package/dist/bundle/{chunk-OGWZPUAJ.js → chunk-C6A2FRMX.js} +3 -3
- package/dist/bundle/{chunk-QALA4JZO.js → chunk-CUUQ5SGZ.js} +1 -1
- package/dist/bundle/{chunk-VTNQI5LA.js → chunk-DFSJNUV3.js} +4 -4
- package/dist/bundle/{chunk-QDXZCKBH.js → chunk-EDGK35LX.js} +245 -245
- package/dist/bundle/{chunk-PNMBUOAD.js → chunk-EKSAED2S.js} +9 -9
- package/dist/bundle/{chunk-4GTDOWNP.js → chunk-FAMGHE4L.js} +3 -3
- package/dist/bundle/{chunk-NBHAXVJA.js → chunk-FXUDATZI.js} +4 -4
- package/dist/bundle/{chunk-YEO3ZQ5M.js → chunk-GOZXK5ZB.js} +5 -5
- package/dist/bundle/{chunk-KDIDLXLG.js → chunk-GR4Z3X3R.js} +1 -1
- package/dist/bundle/{chunk-RO44PMBO.js → chunk-GYQQZAPM.js} +1 -1
- package/dist/bundle/{chunk-NANQLIUH.js → chunk-HG2ZICMV.js} +12 -12
- package/dist/bundle/{chunk-7HXD23I5.js → chunk-HMZLIJZI.js} +4 -4
- package/dist/bundle/{chunk-6PO6LLZN.js → chunk-IPVYKIDQ.js} +43 -43
- package/dist/bundle/{chunk-4XVTVA5Z.js → chunk-JVJSEZRZ.js} +11 -11
- package/dist/bundle/{chunk-Z3GKXASH.js → chunk-JXPSZJRX.js} +3 -3
- package/dist/bundle/{chunk-277JL5QO.js → chunk-KNAXSFFK.js} +2 -2
- package/dist/bundle/{chunk-3RTD2FXB.js → chunk-L2AJTH4B.js} +4 -4
- package/dist/bundle/{chunk-NKS7MU3Z.js → chunk-L32UNV6A.js} +12 -12
- package/dist/bundle/{chunk-AQXN7AWH.js → chunk-LCU6HHIT.js} +1 -1
- package/dist/bundle/{chunk-2HRV2SUN.js → chunk-LYBA6YTS.js} +2 -2
- package/dist/bundle/{chunk-X3JNTSNP.js → chunk-MMQ3PNY2.js} +1 -1
- package/dist/bundle/{chunk-SASHDBYJ.js → chunk-N3YOSX2R.js} +1 -1
- package/dist/bundle/{chunk-2KFZT2MK.js → chunk-NSU2QZ2Y.js} +20 -20
- package/dist/bundle/{chunk-XPVDHJTX.js → chunk-P6KGH4HJ.js} +281 -281
- package/dist/bundle/{chunk-RXRKPXFI.js → chunk-QM7JJICP.js} +8 -8
- package/dist/bundle/{chunk-FVBTAXCS.js → chunk-R2YCDWZB.js} +1 -1
- package/dist/bundle/{chunk-T3T4LL6R.js → chunk-RQ37GH4Q.js} +150 -150
- package/dist/bundle/{chunk-ZQKHD3GK.js → chunk-SS6NIBT3.js} +1 -1
- package/dist/bundle/{chunk-K2ZWI2KJ.js → chunk-SUWRZHLN.js} +27 -27
- package/dist/bundle/{chunk-VUEIWP2Z.js → chunk-TOCIBRXE.js} +7 -7
- package/dist/bundle/{chunk-3H63BAA7.js → chunk-TPRGT6QU.js} +5 -5
- package/dist/bundle/{chunk-7ABYQEQY.js → chunk-TZQBS2W6.js} +5 -5
- package/dist/bundle/{chunk-D7UEU66D.js → chunk-UQVZIZ3X.js} +2 -2
- package/dist/bundle/{chunk-INCTLKHJ.js → chunk-WF5E3GTN.js} +6 -6
- package/dist/bundle/{chunk-QTKL3E4W.js → chunk-WXMIDNA5.js} +3 -3
- package/dist/bundle/{chunk-GZ2HIVBB.js → chunk-YS26XHBU.js} +4 -4
- package/dist/bundle/{chunk-ALCQJ2D6.js → chunk-ZAHUDQE4.js} +256 -256
- package/dist/bundle/{chunk-AVYITNNS.js → chunk-ZJO43QQG.js} +4 -4
- package/dist/bundle/{chunk-WQ7A4VOG.js → chunk-ZLTARJG7.js} +51 -51
- package/dist/bundle/{command-contract-YC6GN4LE.js → command-contract-YR55Y4J2.js} +11 -11
- package/dist/bundle/{decode-JK4V5ELR.js → decode-KGZGT6YR.js} +2 -2
- package/dist/bundle/{echarts-6ATB3IFR.js → echarts-ZVR7COJR.js} +2 -2
- package/dist/bundle/{embed-ILN7JTHX.js → embed-E3SYH7BI.js} +3 -3
- package/dist/bundle/{embedder-AJTL34NF.js → embedder-2OGNW5GQ.js} +6 -6
- package/dist/bundle/{entry-L4LM4I5G.js → entry-ZVAL5NC5.js} +4 -4
- package/dist/bundle/failure-62K4QAPV.js +66 -0
- package/dist/bundle/{first-run-TRHR3KN2.js → first-run-IH2OAKCU.js} +5 -5
- package/dist/bundle/{first-screen-NMXBV2SG.js → first-screen-HLMFDOCL.js} +12 -12
- package/dist/bundle/{instructions-UMFMBSXN.js → instructions-BQO5IVUS.js} +1 -1
- package/dist/bundle/{mcp-I6LDWXA6.js → mcp-JQ6WGHBL.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-MFZOUE2C.js → node-SESRJP6V.js} +2 -2
- package/dist/bundle/{node-sqlite-DRRK6O26.js → node-sqlite-E6WGF6VQ.js} +3 -3
- package/dist/bundle/{oauth-FZNU6S32.js → oauth-5XEPM7P2.js} +4 -4
- package/dist/bundle/{open-GZGUXW5N.js → open-ORDS45GQ.js} +2 -2
- package/dist/bundle/{openai-KGGTVDRL.js → openai-IWEPM3B7.js} +7 -7
- package/dist/bundle/{process-VDZ2QZQD.js → process-EVTLTA56.js} +1 -1
- package/dist/bundle/{program-VEY6JNB2.js → program-QJOC2VHS.js} +95 -79
- package/dist/bundle/{prompt-TQ6WRJWG.js → prompt-GSBAQBKX.js} +2 -2
- package/dist/bundle/{recognize-ZVSPBMV2.js → recognize-D5ZG7KRK.js} +1 -1
- package/dist/bundle/{remote-XYRV66J3.js → remote-Q5KOZYAA.js} +4 -4
- package/dist/bundle/{rerank-C3OK7FEJ.js → rerank-BDBJYOQV.js} +4 -4
- package/dist/bundle/{serve-DUV2FO4T.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-E5YAVN5F.js → server-RWZYJVLZ.js} +50 -50
- package/dist/bundle/{state-NLAZ7OYD.js → state-WTKI4AQ7.js} +3 -3
- package/dist/bundle/{store-Y4BME65D.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-SMKS3KCQ.js +0 -86
- package/dist/bundle/failure-D2CAKLEH.js +0 -66
- package/dist/bundle/server-5NDIMIA5.js +0 -48
- package/dist/bundle/server-VZ7LFLS6.js +0 -61
- package/dist/bundle/store-maintenance-command-BOITCFBL.js +0 -48
- package/dist/bundle/update-ZUYIFRFD.js +0 -69
- /package/dist/bundle/{chunk-DDUSDQJ6.js → chunk-3HNCLKYR.js} +0 -0
|
@@ -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/store/sqlite/drizzle/shared-55XJMTPA.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JVJSEZRZ.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -33,24 +33,24 @@ import {
|
|
|
33
33
|
registerPrompts,
|
|
34
34
|
stdinFieldOf,
|
|
35
35
|
syncsFirst
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-NSU2QZ2Y.js";
|
|
37
37
|
import {
|
|
38
38
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GR4Z3X3R.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HG2ZICMV.js";
|
|
44
44
|
import {
|
|
45
45
|
instructions
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-CUUQ5SGZ.js";
|
|
47
47
|
import {
|
|
48
48
|
answeredWire
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3NCXHUGK.js";
|
|
50
50
|
import {
|
|
51
51
|
callerOf,
|
|
52
52
|
callingAgent
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4BUJ4P4V.js";
|
|
54
54
|
import {
|
|
55
55
|
StdioServerTransport,
|
|
56
56
|
serveStdio
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
connectedFor,
|
|
64
64
|
guardFor
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-7XJX6KV7.js";
|
|
66
66
|
import {
|
|
67
67
|
capability,
|
|
68
68
|
dateWindow,
|
|
@@ -71,10 +71,10 @@ import {
|
|
|
71
71
|
servicesFor,
|
|
72
72
|
storedDeps,
|
|
73
73
|
wholeList
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-ZAHUDQE4.js";
|
|
75
75
|
import {
|
|
76
76
|
findCommand
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-3NERKJCL.js";
|
|
78
78
|
import {
|
|
79
79
|
DEFAULT_OUTPUT_BYTES,
|
|
80
80
|
changesAuthorityAt,
|
|
@@ -90,27 +90,27 @@ import {
|
|
|
90
90
|
sealed,
|
|
91
91
|
snakeKeys,
|
|
92
92
|
typedCommand
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-RQ37GH4Q.js";
|
|
94
94
|
import {
|
|
95
95
|
isCliFailure,
|
|
96
96
|
withCaller
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-BRYOBI2N.js";
|
|
98
98
|
import {
|
|
99
99
|
readOnlyLockOf
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-7UZF7FFF.js";
|
|
101
101
|
import {
|
|
102
102
|
mcpHttpMarker
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-6GF5XTEK.js";
|
|
104
104
|
import {
|
|
105
105
|
openStore,
|
|
106
106
|
pdfPreviewLimits
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-P6KGH4HJ.js";
|
|
108
108
|
import {
|
|
109
109
|
timezoneOf
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-ZLTARJG7.js";
|
|
111
111
|
import {
|
|
112
112
|
warmEmbedders
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-TPRGT6QU.js";
|
|
114
114
|
import {
|
|
115
115
|
description,
|
|
116
116
|
integer,
|
|
@@ -135,10 +135,10 @@ import {
|
|
|
135
135
|
__name
|
|
136
136
|
} from "./chunk-ZVVMGPBJ.js";
|
|
137
137
|
|
|
138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
138
|
+
// 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/server.js
|
|
139
139
|
import { randomUUID } from "node:crypto";
|
|
140
140
|
|
|
141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
141
|
+
// 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/agent-log.js
|
|
142
142
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
143
143
|
let held;
|
|
144
144
|
return {
|
|
@@ -157,7 +157,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
157
157
|
};
|
|
158
158
|
}, "agentLog");
|
|
159
159
|
|
|
160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
160
|
+
// 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/resources.js
|
|
161
161
|
var LISTED = 100;
|
|
162
162
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
163
163
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -195,7 +195,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
195
195
|
});
|
|
196
196
|
}, "registerResources");
|
|
197
197
|
|
|
198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
198
|
+
// 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/session.js
|
|
199
199
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
200
200
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
201
201
|
var MessengerSession = class {
|
|
@@ -270,7 +270,7 @@ var MessengerSession = class {
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
|
|
273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
273
|
+
// 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/tools/attachments.js
|
|
274
274
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
275
275
|
const _command = messenger.app.command;
|
|
276
276
|
return {
|
|
@@ -324,7 +324,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
324
324
|
};
|
|
325
325
|
}, "attachmentsTools");
|
|
326
326
|
|
|
327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
327
|
+
// 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/tools/messages-photo.js
|
|
328
328
|
var PHOTO_LIMIT = 512 * 1024;
|
|
329
329
|
var IMAGE_TYPES = [
|
|
330
330
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -378,7 +378,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
378
378
|
return new Uint8Array(Buffer.concat(chunks));
|
|
379
379
|
}, "readUpTo");
|
|
380
380
|
|
|
381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
381
|
+
// 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/tools/stats.js
|
|
382
382
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
383
383
|
stats_charts: tool({
|
|
384
384
|
title: "A chart from a chat's statistics",
|
|
@@ -415,14 +415,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
415
415
|
})
|
|
416
416
|
}), "statsTools");
|
|
417
417
|
|
|
418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
418
|
+
// 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/tools.js
|
|
419
419
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
420
420
|
...messagesPhotoTools(messenger),
|
|
421
421
|
...attachmentsTools(messenger),
|
|
422
422
|
...statsTools(messenger)
|
|
423
423
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
424
424
|
|
|
425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
425
|
+
// 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/server.js
|
|
426
426
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
427
427
|
"streams",
|
|
428
428
|
"stdin",
|
|
@@ -746,7 +746,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
746
746
|
}, "serveOverStdio");
|
|
747
747
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
748
748
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
749
|
-
const { serveOverHttp } = await import("./serve-
|
|
749
|
+
const { serveOverHttp } = await import("./serve-JR7XMZ4X.js");
|
|
750
750
|
const appName = messenger.app.command;
|
|
751
751
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
752
752
|
const listening = await serveOverHttp(build, {
|
|
@@ -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-C6A2FRMX.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UQVZIZ3X.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-JXPSZJRX.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.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/openai.js
|
|
29
29
|
import { setTimeout as wait } from "node:timers/promises";
|
|
30
30
|
|
|
31
31
|
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_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.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/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.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/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-D5ZG7KRK.js");
|
|
199
199
|
return openSpeechCutter(vadModel);
|
|
200
200
|
}, "openCutter");
|
|
201
201
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JXPSZJRX.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// 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/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
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/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// 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/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// 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/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -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-L2AJTH4B.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EDGK35LX.js";
|
|
9
9
|
import {
|
|
10
10
|
FETCH,
|
|
11
11
|
annotate,
|
|
12
12
|
overrideSharedContract
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RQ37GH4Q.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-2O34ULVN.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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TPRGT6QU.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-EB2IULWB.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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/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 = {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3NERKJCL.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-RQ37GH4Q.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
24
|
} from "./chunk-G2BB5WY5.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.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/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.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/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.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/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.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/help/first-screen.js
|
|
329
329
|
var WIRECAT_TOOLS = [
|
|
330
330
|
{
|
|
331
331
|
command: "tg",
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FXUDATZI.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LCU6HHIT.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
13
|
} from "./chunk-EB2IULWB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// 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/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2JM3HWSF.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KNAXSFFK.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
calledTools,
|
|
23
23
|
httpActivityFile,
|
|
24
24
|
httpLock
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6GF5XTEK.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError
|
|
28
28
|
} from "./chunk-EB2IULWB.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
__name
|
|
31
31
|
} from "./chunk-ZVVMGPBJ.js";
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// 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/http/serve.js
|
|
34
34
|
import { randomUUID } from "node:crypto";
|
|
35
35
|
var MCP_PATH = "/mcp";
|
|
36
36
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|