@wirecat/cli-memo 0.131.32 → 0.131.34
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-PFCNICOF.js → all-profiles-GPFKMOBB.js} +5 -5
- package/dist/bundle/{anthropic-QLGMYWVZ.js → anthropic-ASHT7U76.js} +3 -3
- package/dist/bundle/{app-server-QD67I7V2.js → app-server-D3IL4M6V.js} +35 -35
- package/dist/bundle/auto-BL5FF576.js +86 -0
- package/dist/bundle/{bun-JRTUGKIJ.js → bun-EIOFQKTA.js} +2 -2
- package/dist/bundle/{bun-sqlite-HCZP2CNO.js → bun-sqlite-YIX2BVSZ.js} +2 -2
- package/dist/bundle/{chunk-CWHGN6HC.js → chunk-26I6JRFH.js} +4 -4
- package/dist/bundle/{chunk-REUXOW2O.js → chunk-2RDJLWOY.js} +2 -2
- package/dist/bundle/{chunk-TFEXCHMC.js → chunk-3W4HD6ZQ.js} +5 -5
- package/dist/bundle/{chunk-QUQOKNAX.js → chunk-47KEZ3AX.js} +12 -12
- package/dist/bundle/{chunk-X3GQJTTF.js → chunk-4VJJEIVC.js} +5 -5
- package/dist/bundle/{chunk-42I4XE3O.js → chunk-5HVQTBDA.js} +20 -20
- package/dist/bundle/{chunk-GNY5YLNY.js → chunk-5OCV4UG5.js} +2 -2
- package/dist/bundle/{chunk-FGJKBQCP.js → chunk-6PTJTITL.js} +3 -3
- package/dist/bundle/{chunk-GKZ65EOY.js → chunk-7PQZBIBH.js} +54 -54
- package/dist/bundle/{chunk-K3TUIQZ4.js → chunk-7YECAMPV.js} +43 -43
- package/dist/bundle/{chunk-L34KLQIU.js → chunk-AQQSOZ57.js} +9 -9
- package/dist/bundle/{chunk-7AMJFTJM.js → chunk-BN5H2M75.js} +1 -1
- package/dist/bundle/{chunk-5OYZNBE7.js → chunk-BRG5MJLL.js} +7 -1
- package/dist/bundle/{chunk-WP3J2FNH.js → chunk-BWVE7V4A.js} +10 -10
- package/dist/bundle/{chunk-7MKROF5R.js → chunk-C7AXGHGM.js} +1 -1
- package/dist/bundle/{chunk-FE2SLKUO.js → chunk-CL6MHRXX.js} +2 -2
- package/dist/bundle/{chunk-QWA3MTHH.js → chunk-D22HTXOR.js} +7 -7
- package/dist/bundle/{chunk-USMKR34T.js → chunk-D5LDALYF.js} +11 -11
- package/dist/bundle/{chunk-WGX6AEUP.js → chunk-DOXKMSML.js} +3 -3
- package/dist/bundle/{chunk-5JTW3LNF.js → chunk-DU6LCIHP.js} +1 -1
- package/dist/bundle/{chunk-NDJUEFV2.js → chunk-E7NEGYRF.js} +1 -1
- package/dist/bundle/{chunk-PG4KORTB.js → chunk-EGB2R53R.js} +1 -1
- package/dist/bundle/{chunk-S3FQQRUM.js → chunk-EQR2QVP3.js} +4 -4
- package/dist/bundle/{chunk-ZHDOELM7.js → chunk-EVD3X6HS.js} +7 -7
- package/dist/bundle/{chunk-X6HXGL5E.js → chunk-G7TQ5W5Z.js} +7 -7
- package/dist/bundle/{chunk-K6ZWFP2X.js → chunk-GWMA7EU5.js} +1 -1
- package/dist/bundle/{chunk-2N74ZVI6.js → chunk-GY27B6XK.js} +1 -1
- package/dist/bundle/{chunk-W4GV42D5.js → chunk-H7N5JMQN.js} +2 -2
- package/dist/bundle/{chunk-3G44GDIZ.js → chunk-I4SJXEDS.js} +5 -5
- package/dist/bundle/{chunk-MG2JNBUV.js → chunk-IAFUPD2G.js} +6 -5
- package/dist/bundle/{chunk-XUMYVRBZ.js → chunk-JD4EEKNA.js} +1 -1
- package/dist/bundle/{chunk-5BVGJBZX.js → chunk-KG7APWFM.js} +1 -1
- package/dist/bundle/{chunk-URPBRYVA.js → chunk-L43BXXBS.js} +4 -4
- package/dist/bundle/{chunk-H24AL555.js → chunk-LC5SAWVM.js} +27 -27
- package/dist/bundle/{chunk-ARVXP2UJ.js → chunk-MQ7IHK4Z.js} +257 -280
- package/dist/bundle/{chunk-NG26I3JV.js → chunk-NDEA2YAQ.js} +1 -1
- package/dist/bundle/{chunk-7JWW4YEK.js → chunk-NECGI52P.js} +8 -8
- package/dist/bundle/{chunk-RRDXT63A.js → chunk-NPLZ67KU.js} +1 -1
- package/dist/bundle/{chunk-HGXTDMKN.js → chunk-ONEW2BND.js} +85 -32
- package/dist/bundle/{chunk-Q3ZB4JGL.js → chunk-RQVC4ETN.js} +2 -2
- package/dist/bundle/{chunk-HLJ6IUVF.js → chunk-RTPTCTH6.js} +2 -2
- package/dist/bundle/{chunk-4D6BG353.js → chunk-S62WXHPD.js} +6 -6
- package/dist/bundle/{chunk-2XBDA3XF.js → chunk-SMAODNHO.js} +1 -1
- package/dist/bundle/{chunk-CV5EXF7J.js → chunk-TVHCOWJD.js} +4 -4
- package/dist/bundle/{chunk-XWIRWBB5.js → chunk-UBUKFDMN.js} +1 -1
- package/dist/bundle/{chunk-Q2ZIIXA2.js → chunk-UW2FRDLZ.js} +2 -2
- package/dist/bundle/{chunk-CUT72KGN.js → chunk-VE2NDXFO.js} +3 -3
- package/dist/bundle/{chunk-UXA37BVT.js → chunk-WROCO6RJ.js} +4 -4
- package/dist/bundle/{chunk-A56GDMFH.js → chunk-XV4E2XGC.js} +3 -3
- package/dist/bundle/{chunk-AZGQ7ABE.js → chunk-XZ3XUN4R.js} +177 -179
- package/dist/bundle/{chunk-K3CJHSLS.js → chunk-Y3NJODLW.js} +1 -1
- package/dist/bundle/{chunk-RTFU72GD.js → chunk-Y3XTA24Z.js} +4 -4
- package/dist/bundle/{chunk-CGI5EIIA.js → chunk-YJMQBJWU.js} +20 -20
- package/dist/bundle/{chunk-JTSYAO5V.js → chunk-YZU5HNYY.js} +350 -280
- package/dist/bundle/{chunk-54DA525P.js → chunk-ZE5HUZJV.js} +14 -9
- package/dist/bundle/{chunk-RO4YPDGF.js → chunk-ZV2K5I2G.js} +1 -1
- package/dist/bundle/{chunk-63JF4E76.js → chunk-ZWBLSTFE.js} +446 -312
- package/dist/bundle/{command-contract-DFXPO5Q7.js → command-contract-X3I3J4AF.js} +11 -11
- package/dist/bundle/{decode-7NGILAKQ.js → decode-BF5RUGSR.js} +2 -2
- package/dist/bundle/{echarts-JERQI2HW.js → echarts-ADL7T3Q3.js} +2 -2
- package/dist/bundle/{embed-3AO7KZXC.js → embed-DOTUACTV.js} +3 -3
- package/dist/bundle/{embedder-WRQ7TDDB.js → embedder-TMR4UP7L.js} +6 -6
- package/dist/bundle/{entry-IBRPU7NO.js → entry-RPG5J5UQ.js} +4 -4
- package/dist/bundle/failure-4CTYFX6P.js +66 -0
- package/dist/bundle/{first-run-IJOREEQM.js → first-run-ONCIVD42.js} +5 -5
- package/dist/bundle/{first-screen-KYNY6ELY.js → first-screen-4LRYED7X.js} +12 -12
- package/dist/bundle/{instructions-BET2PLGV.js → instructions-QVBHRTPG.js} +1 -1
- package/dist/bundle/{mcp-NUBFFPGF.js → mcp-4AFVFHYE.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-NCSG7QX5.js → node-6OXRSWHH.js} +2 -2
- package/dist/bundle/{node-sqlite-QL4M5RIK.js → node-sqlite-TG4H4T3L.js} +3 -3
- package/dist/bundle/{oauth-BGMMED35.js → oauth-OXKNZOKZ.js} +4 -4
- package/dist/bundle/{open-YN3KJMMQ.js → open-WW3W42QS.js} +2 -2
- package/dist/bundle/{openai-CTZUSKUS.js → openai-MNHTZHBT.js} +7 -7
- package/dist/bundle/{process-DW237TK4.js → process-TCXURVHD.js} +1 -1
- package/dist/bundle/{program-RAUHPTRG.js → program-GYW7IHWQ.js} +98 -85
- package/dist/bundle/{prompt-EZCCUYCS.js → prompt-TGGJDYAS.js} +2 -2
- package/dist/bundle/{recognize-XP3LHQD6.js → recognize-WV4MK35T.js} +1 -1
- package/dist/bundle/{remote-RLR5ZKKT.js → remote-RQVV5MFO.js} +4 -4
- package/dist/bundle/{rerank-P7LE52AC.js → rerank-OJPVJGX5.js} +4 -4
- package/dist/bundle/{serve-UA7RQDNK.js → serve-KG7HPG5B.js} +6 -6
- package/dist/bundle/{server-XM4LNODP.js → server-ESYNVVQC.js} +50 -50
- package/dist/bundle/server-TQVOXRHP.js +48 -0
- package/dist/bundle/server-YKMBFXQ4.js +61 -0
- package/dist/bundle/{state-72Y55LBR.js → state-G7KN3S6X.js} +3 -3
- package/dist/bundle/{store-PED4JCBB.js → store-GI2FLGUI.js} +9 -9
- package/dist/bundle/store-maintenance-command-CQ3KI7LW.js +48 -0
- package/dist/bundle/update-NP3I4GCG.js +69 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +6 -0
- package/dist/examples.js.map +1 -1
- package/dist/findings-input.d.ts.map +1 -1
- package/dist/findings-input.js +13 -3
- package/dist/findings-input.js.map +1 -1
- package/dist/knowledge/project-actions.d.ts +2 -0
- package/dist/knowledge/project-actions.d.ts.map +1 -1
- package/dist/knowledge/project-status-command.d.ts.map +1 -1
- package/dist/knowledge/project-status-command.js +12 -19
- package/dist/knowledge/project-status-command.js.map +1 -1
- package/dist/mail/review-command.d.ts +4 -3
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +9 -5
- package/dist/mail/review-command.js.map +1 -1
- package/dist/mcp/permissions.d.ts +1 -1
- package/dist/mcp/permissions.d.ts.map +1 -1
- package/dist/mcp/permissions.js +1 -0
- package/dist/mcp/permissions.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/tasks/command.d.ts.map +1 -1
- package/dist/tasks/command.js +2 -0
- package/dist/tasks/command.js.map +1 -1
- package/dist/tasks/list.d.ts.map +1 -1
- package/dist/tasks/list.js +2 -0
- package/dist/tasks/list.js.map +1 -1
- package/dist/tasks/tasks.d.ts +4 -0
- package/dist/tasks/tasks.d.ts.map +1 -1
- package/dist/tasks/tasks.js +2 -0
- package/dist/tasks/tasks.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/topics/mail.md +2 -1
- package/skills/mail-triage/SKILL.md +24 -3
- package/dist/bundle/auto-PZKJQ3FL.js +0 -86
- package/dist/bundle/failure-46JTICYP.js +0 -66
- package/dist/bundle/server-N6L3LGQO.js +0 -48
- package/dist/bundle/server-XU362INX.js +0 -61
- package/dist/bundle/store-maintenance-command-B364Q2O4.js +0 -48
- package/dist/bundle/update-IWJYYYRI.js +0 -69
- /package/dist/bundle/{chunk-QPPNLE7G.js → chunk-3RFXKBZA.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.34\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-GPFKMOBB.js","../bundle/anthropic-ASHT7U76.js","../bundle/app-server-D3IL4M6V.js","../bundle/auto-BL5FF576.js","../bundle/bun-EIOFQKTA.js","../bundle/bun-sqlite-YIX2BVSZ.js","../bundle/command-contract-X3I3J4AF.js","../bundle/decode-BF5RUGSR.js","../bundle/dispatch-CU5KGRQL.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-ADL7T3Q3.js","../bundle/embed-DOTUACTV.js","../bundle/embedder-TMR4UP7L.js","../bundle/entry-RPG5J5UQ.js","../bundle/failure-4CTYFX6P.js","../bundle/failure-TUXXI6JT.js","../bundle/first-run-ONCIVD42.js","../bundle/first-screen-4LRYED7X.js","../bundle/instructions-QVBHRTPG.js","../bundle/mcp-4AFVFHYE.js","../bundle/mcp-PPVOM4SE.js","../bundle/node-6OXRSWHH.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-TG4H4T3L.js","../bundle/oauth-OXKNZOKZ.js","../bundle/open-WW3W42QS.js","../bundle/openai-MNHTZHBT.js","../bundle/process-TCXURVHD.js","../bundle/program-GYW7IHWQ.js","../bundle/prompt-TGGJDYAS.js","../bundle/recognize-WV4MK35T.js","../bundle/remote-RQVV5MFO.js","../bundle/rerank-OJPVJGX5.js","../bundle/serve-KG7HPG5B.js","../bundle/server-ESYNVVQC.js","../bundle/server-TQVOXRHP.js","../bundle/server-YKMBFXQ4.js","../bundle/state-G7KN3S6X.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-GI2FLGUI.js","../bundle/store-maintenance-command-CQ3KI7LW.js","../bundle/update-NP3I4GCG.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-WROCO6RJ.js";
|
|
10
|
+
import "./chunk-C7AXGHGM.js";
|
|
11
|
+
import "./chunk-CL6MHRXX.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-G7TQ5W5Z.js";
|
|
16
|
+
import "./chunk-SMAODNHO.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-GY27B6XK.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BN5H2M75.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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-LC5SAWVM.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-D5LDALYF.js";
|
|
14
|
+
import "./chunk-YJMQBJWU.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpUrlOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JD4EEKNA.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZE5HUZJV.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UBUKFDMN.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-C7AXGHGM.js";
|
|
28
|
+
import "./chunk-CL6MHRXX.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-5HVQTBDA.js";
|
|
38
|
+
import "./chunk-MQ7IHK4Z.js";
|
|
39
|
+
import "./chunk-47KEZ3AX.js";
|
|
40
|
+
import "./chunk-RTPTCTH6.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-XZ3XUN4R.js";
|
|
50
|
+
import "./chunk-G7TQ5W5Z.js";
|
|
51
51
|
import "./chunk-I7PL5WX2.js";
|
|
52
52
|
import "./chunk-YPF6OS37.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-XV4E2XGC.js";
|
|
54
54
|
import {
|
|
55
55
|
readOnlyLockOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-E7NEGYRF.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-26I6JRFH.js";
|
|
60
|
+
import "./chunk-2RDJLWOY.js";
|
|
61
|
+
import "./chunk-ZV2K5I2G.js";
|
|
62
|
+
import "./chunk-YZU5HNYY.js";
|
|
63
|
+
import "./chunk-7PQZBIBH.js";
|
|
64
|
+
import "./chunk-SMAODNHO.js";
|
|
65
|
+
import "./chunk-EVD3X6HS.js";
|
|
66
|
+
import "./chunk-L43BXXBS.js";
|
|
67
|
+
import "./chunk-Y3NJODLW.js";
|
|
68
|
+
import "./chunk-BN5H2M75.js";
|
|
69
|
+
import "./chunk-RQVC4ETN.js";
|
|
70
|
+
import "./chunk-3W4HD6ZQ.js";
|
|
71
|
+
import "./chunk-6PTJTITL.js";
|
|
72
|
+
import "./chunk-NPLZ67KU.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-I4SJXEDS.js";
|
|
77
|
+
import "./chunk-NDEA2YAQ.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-GWMA7EU5.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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-KG7HPG5B.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-Y3XTA24Z.js";
|
|
19
|
+
import "./chunk-TVHCOWJD.js";
|
|
20
|
+
import "./chunk-ONEW2BND.js";
|
|
21
|
+
import "./chunk-QP3KNC5D.js";
|
|
22
|
+
import "./chunk-ZWBLSTFE.js";
|
|
23
|
+
import "./chunk-KG7APWFM.js";
|
|
24
|
+
import "./chunk-DU6LCIHP.js";
|
|
25
|
+
import "./chunk-YJMQBJWU.js";
|
|
26
|
+
import "./chunk-JD4EEKNA.js";
|
|
27
|
+
import "./chunk-ZE5HUZJV.js";
|
|
28
|
+
import "./chunk-7YECAMPV.js";
|
|
29
|
+
import "./chunk-5HVQTBDA.js";
|
|
30
|
+
import "./chunk-MQ7IHK4Z.js";
|
|
31
|
+
import "./chunk-47KEZ3AX.js";
|
|
32
|
+
import "./chunk-S62WXHPD.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-RTPTCTH6.js";
|
|
35
|
+
import "./chunk-XZ3XUN4R.js";
|
|
36
|
+
import "./chunk-G7TQ5W5Z.js";
|
|
37
|
+
import "./chunk-BWVE7V4A.js";
|
|
38
|
+
import "./chunk-I7PL5WX2.js";
|
|
39
|
+
import "./chunk-YPF6OS37.js";
|
|
40
|
+
import "./chunk-XV4E2XGC.js";
|
|
41
|
+
import "./chunk-AQQSOZ57.js";
|
|
42
|
+
import "./chunk-E7NEGYRF.js";
|
|
43
|
+
import "./chunk-26I6JRFH.js";
|
|
44
|
+
import "./chunk-2RDJLWOY.js";
|
|
45
|
+
import "./chunk-ZV2K5I2G.js";
|
|
46
|
+
import "./chunk-YZU5HNYY.js";
|
|
47
|
+
import "./chunk-7PQZBIBH.js";
|
|
48
|
+
import "./chunk-SMAODNHO.js";
|
|
49
|
+
import "./chunk-EVD3X6HS.js";
|
|
50
|
+
import "./chunk-L43BXXBS.js";
|
|
51
|
+
import "./chunk-UW2FRDLZ.js";
|
|
52
|
+
import "./chunk-Y3NJODLW.js";
|
|
53
|
+
import "./chunk-GY27B6XK.js";
|
|
54
|
+
import "./chunk-BN5H2M75.js";
|
|
55
|
+
import "./chunk-RQVC4ETN.js";
|
|
56
|
+
import "./chunk-3W4HD6ZQ.js";
|
|
57
|
+
import "./chunk-6PTJTITL.js";
|
|
58
|
+
import "./chunk-NPLZ67KU.js";
|
|
59
|
+
import "./chunk-BRG5MJLL.js";
|
|
60
|
+
import "./chunk-KV4267S4.js";
|
|
61
|
+
import "./chunk-LU3WKZBA.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-I4SJXEDS.js";
|
|
64
|
+
import "./chunk-NDEA2YAQ.js";
|
|
65
|
+
import "./chunk-TZ7WDQPD.js";
|
|
66
|
+
import "./chunk-G2BB5WY5.js";
|
|
67
|
+
import "./chunk-Y5E2WNWB.js";
|
|
68
|
+
import "./chunk-EB2IULWB.js";
|
|
69
|
+
import "./chunk-GWMA7EU5.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-GWMA7EU5.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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-EGB2R53R.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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 {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2RDJLWOY.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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");
|
|
@@ -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-ZV2K5I2G.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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");
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6PTJTITL.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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");
|
|
@@ -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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import { lstat, open } from "node:fs/promises";
|
|
13
13
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
73
73
|
}
|
|
74
74
|
}, "syncDirectory");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
77
77
|
import { randomUUID } from "node:crypto";
|
|
78
78
|
import { constants as constants2 } from "node:fs";
|
|
79
79
|
import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
111
111
|
}
|
|
112
112
|
}, "writeFileAtomic");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
115
115
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
116
116
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
117
117
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
140
140
|
}
|
|
141
141
|
}, "readBoundedUtf8File");
|
|
142
142
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
144
144
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
145
145
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
148
148
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
149
149
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
150
150
|
import { hostname as hostname2 } from "node:os";
|
|
151
151
|
import { join as join3 } from "node:path";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
154
154
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
155
155
|
import { join as join2 } from "node:path";
|
|
156
156
|
|
|
157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
158
158
|
import { hostname } from "node:os";
|
|
159
159
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
160
160
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "leaseOwnerStatus");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
203
203
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
204
204
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
205
205
|
options.signal?.throwIfAborted();
|
|
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
258
258
|
return { inspect, recover };
|
|
259
259
|
}, "leaseInspection");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
262
262
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
263
263
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
264
264
|
let releasing;
|
|
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
283
283
|
};
|
|
284
284
|
}, "ownedNativeLease");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
287
287
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
288
288
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
289
289
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
354
354
|
};
|
|
355
355
|
}, "nativeWriterLeaseStore");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
358
358
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
359
359
|
const folder = dirname2(path);
|
|
360
360
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
369
369
|
});
|
|
370
370
|
}, "acquireLock");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/files/safe-name.js
|
|
373
373
|
import { basename as basename3 } from "node:path";
|
|
374
374
|
var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
|
|
375
375
|
let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}---]/gu, "").replace(/^\.+/, "");
|
|
@@ -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-ONEW2BND.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZWBLSTFE.js";
|
|
9
9
|
import {
|
|
10
10
|
FETCH,
|
|
11
11
|
annotate,
|
|
12
12
|
overrideSharedContract
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XZ3XUN4R.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-BRG5MJLL.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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 = [
|