@wirecat/cli-memo 0.131.25 → 0.131.26
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/actions/actions.d.ts +1 -1
- package/dist/actions/actions.d.ts.map +1 -1
- package/dist/actions/actions.js +27 -8
- package/dist/actions/actions.js.map +1 -1
- package/dist/actions/command.d.ts +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +1 -12
- package/dist/actions/command.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-L2T7PQ7S.js → all-profiles-VULFSNYE.js} +5 -5
- package/dist/bundle/{anthropic-KWI2B4O2.js → anthropic-VXQ6ST2U.js} +3 -3
- package/dist/bundle/{app-server-GLDIS3HE.js → app-server-HQPELIPY.js} +35 -35
- package/dist/bundle/auto-3R4RFJGK.js +86 -0
- package/dist/bundle/{bun-SMKYTOGI.js → bun-2NMWL5YB.js} +2 -2
- package/dist/bundle/{bun-sqlite-PKY3JXMR.js → bun-sqlite-CT544OXO.js} +2 -2
- package/dist/bundle/{chunk-T3R6QHD2.js → chunk-254TXVLA.js} +1 -1
- package/dist/bundle/{chunk-VZ3K7IYC.js → chunk-2ND2XYME.js} +12 -9
- package/dist/bundle/{chunk-JVNSHN2J.js → chunk-3CVDHJER.js} +1 -1
- package/dist/bundle/{chunk-6OP743NB.js → chunk-3ZJE5TIG.js} +1 -1
- package/dist/bundle/{chunk-MZS3LIMW.js → chunk-4ENVJFRM.js} +27 -27
- package/dist/bundle/{chunk-KFZGI7BU.js → chunk-5FPQGUJA.js} +1 -1
- package/dist/bundle/{chunk-ENU2556X.js → chunk-6PRRZC7Z.js} +1 -1
- package/dist/bundle/{chunk-I5LIEFQR.js → chunk-6TJCRDNZ.js} +3 -3
- package/dist/bundle/{chunk-FS3ABWVX.js → chunk-7ISENDNK.js} +10 -10
- package/dist/bundle/{chunk-5ANNUWNM.js → chunk-7LMTWOTP.js} +1 -1
- package/dist/bundle/{chunk-XFDE6AL4.js → chunk-A4NZ2XOG.js} +7 -7
- package/dist/bundle/{chunk-WHVH72AD.js → chunk-A6PITALJ.js} +3 -1
- package/dist/bundle/{chunk-JLBKAIVT.js → chunk-AGMYCYSG.js} +150 -150
- package/dist/bundle/{chunk-ERQHZZNF.js → chunk-ARDUJR5Z.js} +1 -1
- package/dist/bundle/{chunk-NFTWNCEL.js → chunk-BELLQAWL.js} +7 -7
- package/dist/bundle/{chunk-D5ZV7PRP.js → chunk-BO4FN4UB.js} +2 -2
- package/dist/bundle/{chunk-UQS6Y2A7.js → chunk-CRC3AW6N.js} +2 -2
- package/dist/bundle/{chunk-EFTJ4RTT.js → chunk-CUWI6JIX.js} +5 -5
- package/dist/bundle/{chunk-ZVEGLXYB.js → chunk-CW3NJ764.js} +4 -4
- package/dist/bundle/{chunk-EEVUVWHW.js → chunk-DKKWZMR7.js} +1 -1
- package/dist/bundle/{chunk-QOWGFGG3.js → chunk-DUHXWFCB.js} +4 -4
- package/dist/bundle/{chunk-OGMTUMB7.js → chunk-FHY664YS.js} +3 -3
- package/dist/bundle/{chunk-MAUKGKRA.js → chunk-GJBK3M6X.js} +28 -4
- package/dist/bundle/{chunk-MWX7UJCL.js → chunk-GOEHJK2R.js} +4 -4
- package/dist/bundle/{chunk-5SKYUS4U.js → chunk-GPYGMETC.js} +284 -279
- package/dist/bundle/{chunk-PCT2CIYR.js → chunk-H6O6IQND.js} +3 -3
- package/dist/bundle/{chunk-UWUP3A5H.js → chunk-HN3EDDVX.js} +12 -12
- package/dist/bundle/{chunk-POXCMAM7.js → chunk-HVVBSM2C.js} +601 -396
- package/dist/bundle/{chunk-4AONXXP2.js → chunk-IJ34FAES.js} +11 -11
- package/dist/bundle/{chunk-LFNJ6CG6.js → chunk-IUM5XZWV.js} +5 -5
- package/dist/bundle/{chunk-QA674BMY.js → chunk-J57DDKF4.js} +1 -1
- package/dist/bundle/{chunk-RKLZQVKL.js → chunk-KFDPW2AR.js} +2 -2
- package/dist/bundle/{chunk-ILUTSRU3.js → chunk-KMZRXGTF.js} +1 -1
- package/dist/bundle/{chunk-ZUV337F2.js → chunk-KTDNFSXC.js} +20 -20
- package/dist/bundle/{chunk-7Y6O4UQB.js → chunk-LJZFMXDC.js} +20 -20
- package/dist/bundle/{chunk-E2WPSRCI.js → chunk-LMN7SYX4.js} +1 -1
- package/dist/bundle/{chunk-J7T6RSR5.js → chunk-M4QN77GH.js} +3 -3
- package/dist/bundle/{chunk-SBMBBVXF.js → chunk-M6O4DH5F.js} +1 -1
- package/dist/bundle/{chunk-INA5WGY7.js → chunk-MQAHMAJB.js} +1 -1
- package/dist/bundle/{chunk-RTII6JWI.js → chunk-NAM2Y63Z.js} +2 -2
- package/dist/bundle/{chunk-ZLB2CM7Z.js → chunk-NH2JSH24.js} +4 -4
- package/dist/bundle/{chunk-5GMOYTJQ.js → chunk-OYB3FUYQ.js} +1 -1
- package/dist/bundle/{chunk-YMAS7U5X.js → chunk-PWA3RNXN.js} +256 -257
- package/dist/bundle/{chunk-VGYXKQJE.js → chunk-QFW4MJIH.js} +219 -221
- package/dist/bundle/{chunk-ON5SHKHB.js → chunk-QKQ7A4L7.js} +43 -43
- package/dist/bundle/{chunk-QYDCVWD4.js → chunk-S3RBWUUA.js} +5 -5
- package/dist/bundle/{chunk-BNF2ZUNS.js → chunk-SY7M2DLJ.js} +8 -8
- package/dist/bundle/{chunk-5JYB6QKS.js → chunk-TKVRZZE3.js} +1 -13
- package/dist/bundle/{chunk-SW5YJCHC.js → chunk-TPFWNOPG.js} +4 -4
- package/dist/bundle/{chunk-JDDLDKC7.js → chunk-TXANQZEG.js} +2 -2
- package/dist/bundle/{chunk-BX7DVBWD.js → chunk-UZXCBBDC.js} +9 -9
- package/dist/bundle/{chunk-ZKZT6PCF.js → chunk-VL3YCTZD.js} +6 -6
- package/dist/bundle/{chunk-H5QHU5LZ.js → chunk-WRZ7JDA2.js} +5 -5
- package/dist/bundle/{chunk-IE27DJP3.js → chunk-XKGXVVYV.js} +4 -4
- package/dist/bundle/{chunk-QJJSMLBR.js → chunk-YFBKS5BW.js} +2 -2
- package/dist/bundle/{chunk-47EZNSMD.js → chunk-Z3YGDBBS.js} +2 -2
- package/dist/bundle/{chunk-WGHQXJHL.js → chunk-ZR3BPBS6.js} +7 -7
- package/dist/bundle/{command-contract-47EKA67S.js → command-contract-RQMIQKBS.js} +11 -11
- package/dist/bundle/{decode-EEDEXCHR.js → decode-7VB3CHK2.js} +2 -2
- package/dist/bundle/{echarts-36MD3UZF.js → echarts-45D6USAX.js} +2 -2
- package/dist/bundle/{embed-R6JZ4CDW.js → embed-KU2RGB24.js} +3 -3
- package/dist/bundle/{embedder-XUIOKCH6.js → embedder-E7YZDZ5Y.js} +6 -6
- package/dist/bundle/{entry-WOAZRQ5F.js → entry-N42HJMIN.js} +4 -4
- package/dist/bundle/failure-R355OCVE.js +66 -0
- package/dist/bundle/{first-run-3ZUSIFQJ.js → first-run-Y5YNAAO3.js} +5 -5
- package/dist/bundle/{first-screen-WQ2IDXDP.js → first-screen-SNPGBQFZ.js} +12 -12
- package/dist/bundle/{instructions-7VMPJMUM.js → instructions-6EFSPC7C.js} +1 -1
- package/dist/bundle/{mcp-I7LL7AJG.js → mcp-6Z7UKX7E.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-SBHCG4ZC.js → node-OXC26QXO.js} +2 -2
- package/dist/bundle/{node-sqlite-EMKROM5U.js → node-sqlite-FNTICDEN.js} +3 -3
- package/dist/bundle/{oauth-OJPTUA5K.js → oauth-4JFOFCBB.js} +4 -4
- package/dist/bundle/{open-XI2AVS5B.js → open-WXFCCY7S.js} +2 -2
- package/dist/bundle/{openai-NCYTRZB6.js → openai-TPQKQNM7.js} +7 -7
- package/dist/bundle/{process-373B2EBA.js → process-YWPAOI6G.js} +1 -1
- package/dist/bundle/{program-VW7IJ755.js → program-WFUPN7XO.js} +560 -660
- package/dist/bundle/{prompt-L3KQBPNH.js → prompt-HJUH4EP4.js} +2 -2
- package/dist/bundle/{recognize-GFWZX4F6.js → recognize-DAIRHALM.js} +1 -1
- package/dist/bundle/{remote-5IGAYQBB.js → remote-MJLWTLAX.js} +4 -4
- package/dist/bundle/{rerank-6HWHGDFX.js → rerank-VAK5HSJE.js} +4 -4
- package/dist/bundle/{serve-AA7RKEOM.js → serve-M2A66WOW.js} +6 -6
- package/dist/bundle/server-33FB7QXW.js +48 -0
- package/dist/bundle/server-AIPDQO57.js +61 -0
- package/dist/bundle/{server-Z6L4U6HO.js → server-NN2CBVSX.js} +50 -50
- package/dist/bundle/{state-3WTPOBXR.js → state-6TBUXJOX.js} +3 -3
- package/dist/bundle/{store-LNP5BXUL.js → store-TJCL3QBY.js} +9 -9
- package/dist/bundle/store-maintenance-command-NKJV5A3G.js +48 -0
- package/dist/bundle/update-OXR3SNM2.js +69 -0
- package/dist/config.d.ts +13 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +21 -1
- package/dist/config.js.map +1 -1
- package/dist/context/command.d.ts.map +1 -1
- package/dist/context/command.js +6 -2
- package/dist/context/command.js.map +1 -1
- package/dist/context/context.d.ts +2 -0
- package/dist/context/context.d.ts.map +1 -1
- package/dist/context/context.js +15 -0
- package/dist/context/context.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +2 -1
- package/dist/examples.js.map +1 -1
- package/dist/mail/messages-command.d.ts.map +1 -1
- package/dist/mail/messages-command.js +9 -2
- package/dist/mail/messages-command.js.map +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +5 -8
- package/dist/mail/review-command.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -12
- package/dist/reasons.js.map +1 -1
- package/dist/review/command.d.ts +0 -1
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +2 -10
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +4 -21
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +13 -174
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.js +2 -2
- package/dist/review/review.js.map +1 -1
- package/dist/review/status.js +2 -2
- package/dist/review/status.js.map +1 -1
- package/dist/schedule/command.d.ts +2 -2
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +9 -4
- package/dist/schedule/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/mail-triage/SKILL.md +19 -11
- package/dist/bundle/auto-QFG57LR6.js +0 -86
- package/dist/bundle/failure-BHRE5S75.js +0 -66
- package/dist/bundle/server-MWUCYBJF.js +0 -61
- package/dist/bundle/server-XEY5AKKG.js +0 -48
- package/dist/bundle/store-maintenance-command-6HEGTKPL.js +0 -48
- package/dist/bundle/update-6GWVILUX.js +0 -69
- /package/dist/bundle/{chunk-MNDLWYNQ.js → chunk-DF7NE4ZG.js} +0 -0
|
@@ -3,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
agentResult,
|
|
5
5
|
failureContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2ND2XYME.js";
|
|
7
7
|
import {
|
|
8
8
|
CommanderError,
|
|
9
9
|
judgedEffects,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AGMYCYSG.js";
|
|
12
12
|
import {
|
|
13
13
|
interactiveOf,
|
|
14
14
|
optionsOf
|
|
15
15
|
} from "./chunk-BPGYTJNB.js";
|
|
16
16
|
import {
|
|
17
17
|
APP
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TKVRZZE3.js";
|
|
19
19
|
import {
|
|
20
20
|
ValiError,
|
|
21
21
|
errorObjectOf,
|
|
@@ -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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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(/^\.+/, "");
|