@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
package/dist/bin/memo.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.131.
|
|
12
|
+
process.stdout.write("0.131.28\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-5T23TSLS.js","../bundle/anthropic-AKD5CPO6.js","../bundle/app-server-NE7EMWAU.js","../bundle/auto-UI3T442Q.js","../bundle/bun-MWSCIVYY.js","../bundle/bun-sqlite-K2OK3SS6.js","../bundle/command-contract-YR55Y4J2.js","../bundle/decode-KGZGT6YR.js","../bundle/dispatch-CU5KGRQL.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-ZVR7COJR.js","../bundle/embed-E3SYH7BI.js","../bundle/embedder-2OGNW5GQ.js","../bundle/entry-ZVAL5NC5.js","../bundle/failure-62K4QAPV.js","../bundle/failure-TUXXI6JT.js","../bundle/first-run-IH2OAKCU.js","../bundle/first-screen-HLMFDOCL.js","../bundle/instructions-BQO5IVUS.js","../bundle/mcp-JQ6WGHBL.js","../bundle/mcp-PPVOM4SE.js","../bundle/node-P4E63KXA.js","../bundle/node-SESRJP6V.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-E6WGF6VQ.js","../bundle/oauth-5XEPM7P2.js","../bundle/open-ORDS45GQ.js","../bundle/openai-IWEPM3B7.js","../bundle/process-EVTLTA56.js","../bundle/program-QJOC2VHS.js","../bundle/prompt-GSBAQBKX.js","../bundle/recognize-D5ZG7KRK.js","../bundle/remote-Q5KOZYAA.js","../bundle/rerank-BDBJYOQV.js","../bundle/serve-JR7XMZ4X.js","../bundle/server-EWORQZZB.js","../bundle/server-HHTRVQYX.js","../bundle/server-RWZYJVLZ.js","../bundle/state-WTKI4AQ7.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-XMGQNBP3.js","../bundle/store-maintenance-command-EY5EIO2H.js","../bundle/update-CUBOZISO.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
serveAllProfilesOverHttp,
|
|
7
7
|
serveAllProfilesOverStdio,
|
|
8
8
|
withProfile
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-HMZLIJZI.js";
|
|
10
|
+
import "./chunk-3NCXHUGK.js";
|
|
11
|
+
import "./chunk-4BUJ4P4V.js";
|
|
12
12
|
import "./chunk-MM5NVP7F.js";
|
|
13
13
|
import "./chunk-3X4JM3ZR.js";
|
|
14
14
|
import "./chunk-H3ZN4YLB.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-BRYOBI2N.js";
|
|
16
|
+
import "./chunk-5FTTDKHU.js";
|
|
17
17
|
import "./chunk-LU3WKZBA.js";
|
|
18
18
|
import "./chunk-TZ7WDQPD.js";
|
|
19
19
|
import "./chunk-G2BB5WY5.js";
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkedOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BWHPJFJQ.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7VIPLKQY.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// 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/anthropic.js
|
|
27
27
|
var options = strictObject({
|
|
28
28
|
stop_sequences: optional(array(string()))
|
|
29
29
|
});
|
|
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SUWRZHLN.js";
|
|
7
7
|
import {
|
|
8
8
|
answered,
|
|
9
9
|
failed,
|
|
10
10
|
registerCommands,
|
|
11
11
|
runCommandForAgent,
|
|
12
12
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-JVJSEZRZ.js";
|
|
14
|
+
import "./chunk-NSU2QZ2Y.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpUrlOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GR4Z3X3R.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HG2ZICMV.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CUUQ5SGZ.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-3NCXHUGK.js";
|
|
28
|
+
import "./chunk-4BUJ4P4V.js";
|
|
29
29
|
import {
|
|
30
30
|
StdioServerTransport,
|
|
31
31
|
serveStdio
|
|
@@ -34,10 +34,10 @@ import "./chunk-3X4JM3ZR.js";
|
|
|
34
34
|
import {
|
|
35
35
|
McpServer
|
|
36
36
|
} from "./chunk-H3ZN4YLB.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-7XJX6KV7.js";
|
|
38
|
+
import "./chunk-ZAHUDQE4.js";
|
|
39
|
+
import "./chunk-L32UNV6A.js";
|
|
40
|
+
import "./chunk-3NERKJCL.js";
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_OUTPUT_BYTES,
|
|
43
43
|
changesAuthorityAt,
|
|
@@ -46,35 +46,35 @@ import {
|
|
|
46
46
|
judgedTargets,
|
|
47
47
|
readsOverMcpAt,
|
|
48
48
|
rootOf2 as rootOf
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-RQ37GH4Q.js";
|
|
50
|
+
import "./chunk-BRYOBI2N.js";
|
|
51
51
|
import "./chunk-I7PL5WX2.js";
|
|
52
52
|
import "./chunk-YPF6OS37.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-WXMIDNA5.js";
|
|
54
54
|
import {
|
|
55
55
|
readOnlyLockOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-7UZF7FFF.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-6GF5XTEK.js";
|
|
60
|
+
import "./chunk-52DNGWWV.js";
|
|
61
|
+
import "./chunk-N3YOSX2R.js";
|
|
62
|
+
import "./chunk-P6KGH4HJ.js";
|
|
63
|
+
import "./chunk-ZLTARJG7.js";
|
|
64
|
+
import "./chunk-5FTTDKHU.js";
|
|
65
|
+
import "./chunk-4ETZKMSQ.js";
|
|
66
|
+
import "./chunk-FXUDATZI.js";
|
|
67
|
+
import "./chunk-GYQQZAPM.js";
|
|
68
|
+
import "./chunk-7VIPLKQY.js";
|
|
69
|
+
import "./chunk-UQVZIZ3X.js";
|
|
70
|
+
import "./chunk-TPRGT6QU.js";
|
|
71
|
+
import "./chunk-JXPSZJRX.js";
|
|
72
|
+
import "./chunk-LCU6HHIT.js";
|
|
73
73
|
import "./chunk-KV4267S4.js";
|
|
74
74
|
import "./chunk-LU3WKZBA.js";
|
|
75
75
|
import "./chunk-D72URWJE.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-GOZXK5ZB.js";
|
|
77
|
+
import "./chunk-R2YCDWZB.js";
|
|
78
78
|
import "./chunk-TZ7WDQPD.js";
|
|
79
79
|
import {
|
|
80
80
|
mcpErrorResult
|
|
@@ -83,12 +83,12 @@ import "./chunk-Y5E2WNWB.js";
|
|
|
83
83
|
import {
|
|
84
84
|
CliError
|
|
85
85
|
} from "./chunk-EB2IULWB.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-SS6NIBT3.js";
|
|
87
87
|
import {
|
|
88
88
|
__name
|
|
89
89
|
} from "./chunk-ZVVMGPBJ.js";
|
|
90
90
|
|
|
91
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
91
|
+
// 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/app-server.js
|
|
92
92
|
var EXCLUDED = [["mcp"]];
|
|
93
93
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
94
94
|
const { app } = options;
|
|
@@ -203,7 +203,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
203
203
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
204
204
|
const { app } = options;
|
|
205
205
|
const { build } = createAppServer(command, context, options);
|
|
206
|
-
const { serveOverHttp } = await import("./serve-
|
|
206
|
+
const { serveOverHttp } = await import("./serve-JR7XMZ4X.js");
|
|
207
207
|
const listening = await serveOverHttp(build, {
|
|
208
208
|
...http,
|
|
209
209
|
appName: app.command,
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
DEFAULT_EVERY,
|
|
5
|
+
PLACE_VARIABLES,
|
|
6
|
+
applyAuto,
|
|
7
|
+
autoCommand,
|
|
8
|
+
autoNotice,
|
|
9
|
+
autoState,
|
|
10
|
+
followInstall,
|
|
11
|
+
globalRoots,
|
|
12
|
+
interval,
|
|
13
|
+
lastAutoRun,
|
|
14
|
+
placesOf,
|
|
15
|
+
recordAutoRun,
|
|
16
|
+
serviceUnit,
|
|
17
|
+
timerUnit
|
|
18
|
+
} from "./chunk-DFSJNUV3.js";
|
|
19
|
+
import "./chunk-ZJO43QQG.js";
|
|
20
|
+
import "./chunk-L2AJTH4B.js";
|
|
21
|
+
import "./chunk-QP3KNC5D.js";
|
|
22
|
+
import "./chunk-EDGK35LX.js";
|
|
23
|
+
import "./chunk-MMQ3PNY2.js";
|
|
24
|
+
import "./chunk-2JM3HWSF.js";
|
|
25
|
+
import "./chunk-NSU2QZ2Y.js";
|
|
26
|
+
import "./chunk-GR4Z3X3R.js";
|
|
27
|
+
import "./chunk-HG2ZICMV.js";
|
|
28
|
+
import "./chunk-IPVYKIDQ.js";
|
|
29
|
+
import "./chunk-7XJX6KV7.js";
|
|
30
|
+
import "./chunk-ZAHUDQE4.js";
|
|
31
|
+
import "./chunk-L32UNV6A.js";
|
|
32
|
+
import "./chunk-WF5E3GTN.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-3NERKJCL.js";
|
|
35
|
+
import "./chunk-RQ37GH4Q.js";
|
|
36
|
+
import "./chunk-BRYOBI2N.js";
|
|
37
|
+
import "./chunk-7STRA63S.js";
|
|
38
|
+
import "./chunk-I7PL5WX2.js";
|
|
39
|
+
import "./chunk-YPF6OS37.js";
|
|
40
|
+
import "./chunk-WXMIDNA5.js";
|
|
41
|
+
import "./chunk-EKSAED2S.js";
|
|
42
|
+
import "./chunk-7UZF7FFF.js";
|
|
43
|
+
import "./chunk-6GF5XTEK.js";
|
|
44
|
+
import "./chunk-52DNGWWV.js";
|
|
45
|
+
import "./chunk-N3YOSX2R.js";
|
|
46
|
+
import "./chunk-P6KGH4HJ.js";
|
|
47
|
+
import "./chunk-ZLTARJG7.js";
|
|
48
|
+
import "./chunk-5FTTDKHU.js";
|
|
49
|
+
import "./chunk-4ETZKMSQ.js";
|
|
50
|
+
import "./chunk-FXUDATZI.js";
|
|
51
|
+
import "./chunk-5VD4BWQ5.js";
|
|
52
|
+
import "./chunk-GYQQZAPM.js";
|
|
53
|
+
import "./chunk-BWHPJFJQ.js";
|
|
54
|
+
import "./chunk-7VIPLKQY.js";
|
|
55
|
+
import "./chunk-UQVZIZ3X.js";
|
|
56
|
+
import "./chunk-TPRGT6QU.js";
|
|
57
|
+
import "./chunk-JXPSZJRX.js";
|
|
58
|
+
import "./chunk-LCU6HHIT.js";
|
|
59
|
+
import "./chunk-2O34ULVN.js";
|
|
60
|
+
import "./chunk-KV4267S4.js";
|
|
61
|
+
import "./chunk-LU3WKZBA.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-GOZXK5ZB.js";
|
|
64
|
+
import "./chunk-R2YCDWZB.js";
|
|
65
|
+
import "./chunk-TZ7WDQPD.js";
|
|
66
|
+
import "./chunk-G2BB5WY5.js";
|
|
67
|
+
import "./chunk-Y5E2WNWB.js";
|
|
68
|
+
import "./chunk-EB2IULWB.js";
|
|
69
|
+
import "./chunk-SS6NIBT3.js";
|
|
70
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
71
|
+
export {
|
|
72
|
+
DEFAULT_EVERY,
|
|
73
|
+
PLACE_VARIABLES,
|
|
74
|
+
applyAuto,
|
|
75
|
+
autoCommand,
|
|
76
|
+
autoNotice,
|
|
77
|
+
autoState,
|
|
78
|
+
followInstall,
|
|
79
|
+
globalRoots,
|
|
80
|
+
interval,
|
|
81
|
+
lastAutoRun,
|
|
82
|
+
placesOf,
|
|
83
|
+
recordAutoRun,
|
|
84
|
+
serviceUnit,
|
|
85
|
+
timerUnit
|
|
86
|
+
};
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SS6NIBT3.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// 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/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-25IIXY5K.js";
|
|
7
7
|
import "./chunk-TZ7WDQPD.js";
|
|
8
8
|
import "./chunk-G2BB5WY5.js";
|
|
9
9
|
import {
|
|
@@ -14,7 +14,7 @@ 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/store/drivers/bun-sqlite.js
|
|
18
18
|
var customised = false;
|
|
19
19
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
20
20
|
try {
|
|
@@ -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/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -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/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -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/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RQ37GH4Q.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
13
|
} from "./chunk-G2BB5WY5.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.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/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);
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
agentOf,
|
|
8
8
|
clientHash,
|
|
9
9
|
currentCaller
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BRYOBI2N.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// 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/caller.js
|
|
16
16
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
17
17
|
const client = caller?.agent?.client?.name;
|
|
18
18
|
if (client && client !== "unknown")
|
|
@@ -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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.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/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-N3YOSX2R.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// 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/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -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/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GYQQZAPM.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-EB2IULWB.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// 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/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-52DNGWWV.js";
|
|
9
9
|
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/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
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/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// 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/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WXMIDNA5.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4ETZKMSQ.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FXUDATZI.js";
|
|
19
19
|
import {
|
|
20
20
|
storePath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LCU6HHIT.js";
|
|
22
22
|
import {
|
|
23
23
|
installerOf
|
|
24
24
|
} from "./chunk-KV4267S4.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.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/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-XMGQNBP3.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-ORDS45GQ.js"),
|
|
117
|
+
import("./store-maintenance-command-EY5EIO2H.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-HLMFDOCL.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-GSBAQBKX.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -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.572.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ed77a8fcc4bb89e891ff55f6d86f2f53/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
12
12
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
13
13
|
const name = envName(app, "READ_ONLY");
|
|
@@ -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.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/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)
|