loclaude 0.0.1-alpha.1 → 0.0.1-alpha.2
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/CHANGELOG.md +9 -3
- package/libs/cli/LICENSE +31 -0
- package/libs/cli/README.md +5 -0
- package/libs/cli/dist/index.bun.js +41 -59
- package/libs/cli/dist/index.bun.js.map +3 -5
- package/libs/cli/dist/index.js +41 -59
- package/libs/cli/dist/index.js.map +3 -5
- package/libs/cli/package.json +38 -3
- package/package.json +16 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [0.0.1-
|
|
10
|
+
## [0.0.1-alpha.2] - 2025-01-20
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Changes `@loclaude-internal/cli` dependency reference from `workspace:*` to pinned version `v0.0.1-alpha.1`
|
|
15
|
+
|
|
16
|
+
## [0.0.1-alpha.1] - 2025-01-19
|
|
11
17
|
|
|
12
18
|
### Added
|
|
13
19
|
|
|
@@ -43,7 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
43
49
|
|
|
44
50
|
### Notes
|
|
45
51
|
|
|
46
|
-
This is
|
|
52
|
+
This is an alpha release. The API and command structure may change before 1.0.
|
|
47
53
|
|
|
48
54
|
[Unreleased]: https://github.com/nicholasgalante1997/docker-ollama/compare/v0.0.1-rc.1...HEAD
|
|
49
|
-
[0.0.1-
|
|
55
|
+
[0.0.1-alpha.1]: https://github.com/nicholasgalante1997/docker-ollama/releases/tag/v0.0.1-alpha.1
|
package/libs/cli/LICENSE
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mega Blastoise
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
Addendum, January 19, 2026
|
|
26
|
+
|
|
27
|
+
This package leverages the [Bun](bun.sh) shell to run shell commands on behalf of the end user.
|
|
28
|
+
|
|
29
|
+
In an ideal world, I don't have to write this addendum. In this world, I do.
|
|
30
|
+
|
|
31
|
+
If you pass unsanitized input into this command line tool, all bets are off. I'll make no guarantees on your behalf about behavior or safety. I'll personally never talk to you in real life. May god have mercy on your soul.
|
|
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
18
18
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
19
19
|
var __require = import.meta.require;
|
|
20
20
|
|
|
21
|
-
// ../../node_modules/cli-width/index.js
|
|
21
|
+
// ../../node_modules/.bun/cli-width@4.1.0/node_modules/cli-width/index.js
|
|
22
22
|
var require_cli_width = __commonJS((exports, module) => {
|
|
23
23
|
module.exports = cliWidth;
|
|
24
24
|
function normalizeOpts(options) {
|
|
@@ -58,7 +58,7 @@ var require_cli_width = __commonJS((exports, module) => {
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
// ../../node_modules/mute-stream/lib/index.js
|
|
61
|
+
// ../../node_modules/.bun/mute-stream@3.0.0/node_modules/mute-stream/lib/index.js
|
|
62
62
|
var require_lib = __commonJS((exports, module) => {
|
|
63
63
|
var Stream = __require("stream");
|
|
64
64
|
|
|
@@ -178,7 +178,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
178
178
|
module.exports = MuteStream;
|
|
179
179
|
});
|
|
180
180
|
|
|
181
|
-
// ../../node_modules/bytes/index.js
|
|
181
|
+
// ../../node_modules/.bun/bytes@3.1.2/node_modules/bytes/index.js
|
|
182
182
|
var require_bytes = __commonJS((exports, module) => {
|
|
183
183
|
/*!
|
|
184
184
|
* bytes
|
|
@@ -270,7 +270,7 @@ var require_bytes = __commonJS((exports, module) => {
|
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
// ../../node_modules/cac/dist/index.mjs
|
|
273
|
+
// ../../node_modules/.bun/cac@6.7.14/node_modules/cac/dist/index.mjs
|
|
274
274
|
import { EventEmitter } from "events";
|
|
275
275
|
function toArr(any) {
|
|
276
276
|
return any == null ? [] : Array.isArray(any) ? any : [any];
|
|
@@ -1012,13 +1012,13 @@ function getClaudeExtraArgs() {
|
|
|
1012
1012
|
var OLLAMA_URL = getOllamaUrl();
|
|
1013
1013
|
var DEFAULT_MODEL = getDefaultModel();
|
|
1014
1014
|
|
|
1015
|
-
// ../../node_modules/@inquirer/core/dist/lib/key.js
|
|
1015
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/key.js
|
|
1016
1016
|
var isUpKey = (key, keybindings = []) => key.name === "up" || keybindings.includes("vim") && key.name === "k" || keybindings.includes("emacs") && key.ctrl && key.name === "p";
|
|
1017
1017
|
var isDownKey = (key, keybindings = []) => key.name === "down" || keybindings.includes("vim") && key.name === "j" || keybindings.includes("emacs") && key.ctrl && key.name === "n";
|
|
1018
1018
|
var isBackspaceKey = (key) => key.name === "backspace";
|
|
1019
1019
|
var isNumberKey = (key) => "1234567890".includes(key.name);
|
|
1020
1020
|
var isEnterKey = (key) => key.name === "enter" || key.name === "return";
|
|
1021
|
-
// ../../node_modules/@inquirer/core/dist/lib/errors.js
|
|
1021
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/errors.js
|
|
1022
1022
|
class AbortPromptError extends Error {
|
|
1023
1023
|
name = "AbortPromptError";
|
|
1024
1024
|
message = "Prompt was aborted";
|
|
@@ -1044,10 +1044,10 @@ class HookError extends Error {
|
|
|
1044
1044
|
class ValidationError extends Error {
|
|
1045
1045
|
name = "ValidationError";
|
|
1046
1046
|
}
|
|
1047
|
-
// ../../node_modules/@inquirer/core/dist/lib/use-state.js
|
|
1047
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/use-state.js
|
|
1048
1048
|
import { AsyncResource as AsyncResource2 } from "async_hooks";
|
|
1049
1049
|
|
|
1050
|
-
// ../../node_modules/@inquirer/core/dist/lib/hook-engine.js
|
|
1050
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/hook-engine.js
|
|
1051
1051
|
import { AsyncLocalStorage, AsyncResource } from "async_hooks";
|
|
1052
1052
|
var hookStorage = new AsyncLocalStorage;
|
|
1053
1053
|
function createStore(rl) {
|
|
@@ -1152,7 +1152,7 @@ var effectScheduler = {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
};
|
|
1154
1154
|
|
|
1155
|
-
// ../../node_modules/@inquirer/core/dist/lib/use-state.js
|
|
1155
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/use-state.js
|
|
1156
1156
|
function useState(defaultValue) {
|
|
1157
1157
|
return withPointer((pointer) => {
|
|
1158
1158
|
const setState = AsyncResource2.bind(function setState(newValue) {
|
|
@@ -1170,7 +1170,7 @@ function useState(defaultValue) {
|
|
|
1170
1170
|
});
|
|
1171
1171
|
}
|
|
1172
1172
|
|
|
1173
|
-
// ../../node_modules/@inquirer/core/dist/lib/use-effect.js
|
|
1173
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/use-effect.js
|
|
1174
1174
|
function useEffect(cb, depArray) {
|
|
1175
1175
|
withPointer((pointer) => {
|
|
1176
1176
|
const oldDeps = pointer.get();
|
|
@@ -1182,10 +1182,10 @@ function useEffect(cb, depArray) {
|
|
|
1182
1182
|
});
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
-
// ../../node_modules/@inquirer/core/dist/lib/theme.js
|
|
1185
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/theme.js
|
|
1186
1186
|
import { styleText } from "util";
|
|
1187
1187
|
|
|
1188
|
-
// ../../node_modules/@inquirer/figures/dist/index.js
|
|
1188
|
+
// ../../node_modules/.bun/@inquirer+figures@2.0.3/node_modules/@inquirer/figures/dist/index.js
|
|
1189
1189
|
import process2 from "process";
|
|
1190
1190
|
function isUnicodeSupported() {
|
|
1191
1191
|
if (process2.platform !== "win32") {
|
|
@@ -1474,7 +1474,7 @@ var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
|
1474
1474
|
var dist_default2 = figures;
|
|
1475
1475
|
var replacements = Object.entries(specialMainSymbols);
|
|
1476
1476
|
|
|
1477
|
-
// ../../node_modules/@inquirer/core/dist/lib/theme.js
|
|
1477
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/theme.js
|
|
1478
1478
|
var defaultTheme = {
|
|
1479
1479
|
prefix: {
|
|
1480
1480
|
idle: styleText("blue", "?"),
|
|
@@ -1495,7 +1495,7 @@ var defaultTheme = {
|
|
|
1495
1495
|
}
|
|
1496
1496
|
};
|
|
1497
1497
|
|
|
1498
|
-
// ../../node_modules/@inquirer/core/dist/lib/make-theme.js
|
|
1498
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/make-theme.js
|
|
1499
1499
|
function isPlainObject(value) {
|
|
1500
1500
|
if (typeof value !== "object" || value === null)
|
|
1501
1501
|
return false;
|
|
@@ -1523,7 +1523,7 @@ function makeTheme(...themes) {
|
|
|
1523
1523
|
return deepMerge2(...themesToMerge);
|
|
1524
1524
|
}
|
|
1525
1525
|
|
|
1526
|
-
// ../../node_modules/@inquirer/core/dist/lib/use-prefix.js
|
|
1526
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/use-prefix.js
|
|
1527
1527
|
function usePrefix({ status = "idle", theme }) {
|
|
1528
1528
|
const [showLoader, setShowLoader] = useState(false);
|
|
1529
1529
|
const [tick, setTick] = useState(0);
|
|
@@ -1553,7 +1553,7 @@ function usePrefix({ status = "idle", theme }) {
|
|
|
1553
1553
|
const iconName = status === "loading" ? "idle" : status;
|
|
1554
1554
|
return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
|
|
1555
1555
|
}
|
|
1556
|
-
// ../../node_modules/@inquirer/core/dist/lib/use-memo.js
|
|
1556
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/use-memo.js
|
|
1557
1557
|
function useMemo(fn, dependencies) {
|
|
1558
1558
|
return withPointer((pointer) => {
|
|
1559
1559
|
const prev = pointer.get();
|
|
@@ -1565,11 +1565,11 @@ function useMemo(fn, dependencies) {
|
|
|
1565
1565
|
return prev.value;
|
|
1566
1566
|
});
|
|
1567
1567
|
}
|
|
1568
|
-
// ../../node_modules/@inquirer/core/dist/lib/use-ref.js
|
|
1568
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/use-ref.js
|
|
1569
1569
|
function useRef(val) {
|
|
1570
1570
|
return useState({ current: val })[0];
|
|
1571
1571
|
}
|
|
1572
|
-
// ../../node_modules/@inquirer/core/dist/lib/use-keypress.js
|
|
1572
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/use-keypress.js
|
|
1573
1573
|
function useKeypress(userHandler) {
|
|
1574
1574
|
const signal = useRef(userHandler);
|
|
1575
1575
|
signal.current = userHandler;
|
|
@@ -1587,10 +1587,10 @@ function useKeypress(userHandler) {
|
|
|
1587
1587
|
};
|
|
1588
1588
|
}, []);
|
|
1589
1589
|
}
|
|
1590
|
-
// ../../node_modules/@inquirer/core/dist/lib/utils.js
|
|
1590
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/utils.js
|
|
1591
1591
|
var import_cli_width = __toESM(require_cli_width(), 1);
|
|
1592
1592
|
|
|
1593
|
-
// ../../node_modules/
|
|
1593
|
+
// ../../node_modules/.bun/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
|
|
1594
1594
|
function ansiRegex({ onlyFirst = false } = {}) {
|
|
1595
1595
|
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
1596
1596
|
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
@@ -1599,7 +1599,7 @@ function ansiRegex({ onlyFirst = false } = {}) {
|
|
|
1599
1599
|
return new RegExp(pattern, onlyFirst ? undefined : "g");
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
1602
|
-
// ../../node_modules/
|
|
1602
|
+
// ../../node_modules/.bun/strip-ansi@7.1.2/node_modules/strip-ansi/index.js
|
|
1603
1603
|
var regex = ansiRegex();
|
|
1604
1604
|
function stripAnsi(string) {
|
|
1605
1605
|
if (typeof string !== "string") {
|
|
@@ -1608,7 +1608,7 @@ function stripAnsi(string) {
|
|
|
1608
1608
|
return string.replace(regex, "");
|
|
1609
1609
|
}
|
|
1610
1610
|
|
|
1611
|
-
// ../../node_modules/get-east-asian-width/lookup.js
|
|
1611
|
+
// ../../node_modules/.bun/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/lookup.js
|
|
1612
1612
|
function isAmbiguous(x) {
|
|
1613
1613
|
return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
|
|
1614
1614
|
}
|
|
@@ -1619,7 +1619,7 @@ function isWide(x) {
|
|
|
1619
1619
|
return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x >= 94192 && x <= 94198 || x >= 94208 && x <= 101589 || x >= 101631 && x <= 101662 || x >= 101760 && x <= 101874 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128728 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129674 || x >= 129678 && x <= 129734 || x === 129736 || x >= 129741 && x <= 129756 || x >= 129759 && x <= 129770 || x >= 129775 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
1620
1620
|
}
|
|
1621
1621
|
|
|
1622
|
-
// ../../node_modules/get-east-asian-width/index.js
|
|
1622
|
+
// ../../node_modules/.bun/get-east-asian-width@1.4.0/node_modules/get-east-asian-width/index.js
|
|
1623
1623
|
function validate(codePoint) {
|
|
1624
1624
|
if (!Number.isSafeInteger(codePoint)) {
|
|
1625
1625
|
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
@@ -1633,12 +1633,12 @@ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
|
1633
1633
|
return 1;
|
|
1634
1634
|
}
|
|
1635
1635
|
|
|
1636
|
-
// ../../node_modules/emoji-regex/index.mjs
|
|
1636
|
+
// ../../node_modules/.bun/emoji-regex@10.6.0/node_modules/emoji-regex/index.mjs
|
|
1637
1637
|
var emoji_regex_default = () => {
|
|
1638
1638
|
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB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uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
1639
1639
|
};
|
|
1640
1640
|
|
|
1641
|
-
// ../../node_modules/string-width/index.js
|
|
1641
|
+
// ../../node_modules/.bun/string-width@7.2.0/node_modules/string-width/index.js
|
|
1642
1642
|
var segmenter = new Intl.Segmenter;
|
|
1643
1643
|
var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
|
|
1644
1644
|
function stringWidth(string, options = {}) {
|
|
@@ -1686,25 +1686,7 @@ function stringWidth(string, options = {}) {
|
|
|
1686
1686
|
return width;
|
|
1687
1687
|
}
|
|
1688
1688
|
|
|
1689
|
-
// ../../node_modules/
|
|
1690
|
-
function ansiRegex2({ onlyFirst = false } = {}) {
|
|
1691
|
-
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
1692
|
-
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
1693
|
-
const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
|
|
1694
|
-
const pattern = `${osc}|${csi}`;
|
|
1695
|
-
return new RegExp(pattern, onlyFirst ? undefined : "g");
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
// ../../node_modules/wrap-ansi/node_modules/strip-ansi/index.js
|
|
1699
|
-
var regex2 = ansiRegex2();
|
|
1700
|
-
function stripAnsi2(string) {
|
|
1701
|
-
if (typeof string !== "string") {
|
|
1702
|
-
throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
|
|
1703
|
-
}
|
|
1704
|
-
return string.replace(regex2, "");
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
// ../../node_modules/wrap-ansi/node_modules/ansi-styles/index.js
|
|
1689
|
+
// ../../node_modules/.bun/ansi-styles@6.2.3/node_modules/ansi-styles/index.js
|
|
1708
1690
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
1709
1691
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
1710
1692
|
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
@@ -1881,7 +1863,7 @@ function assembleStyles() {
|
|
|
1881
1863
|
var ansiStyles = assembleStyles();
|
|
1882
1864
|
var ansi_styles_default = ansiStyles;
|
|
1883
1865
|
|
|
1884
|
-
// ../../node_modules/wrap-ansi/index.js
|
|
1866
|
+
// ../../node_modules/.bun/wrap-ansi@9.0.2/node_modules/wrap-ansi/index.js
|
|
1885
1867
|
var ESCAPES = new Set([
|
|
1886
1868
|
"\x1B",
|
|
1887
1869
|
"\x9B"
|
|
@@ -1899,7 +1881,7 @@ var wrapWord = (rows, word, columns) => {
|
|
|
1899
1881
|
const characters = [...word];
|
|
1900
1882
|
let isInsideEscape = false;
|
|
1901
1883
|
let isInsideLinkEscape = false;
|
|
1902
|
-
let visible = stringWidth(
|
|
1884
|
+
let visible = stringWidth(stripAnsi(rows.at(-1)));
|
|
1903
1885
|
for (const [index, character] of characters.entries()) {
|
|
1904
1886
|
const characterLength = stringWidth(character);
|
|
1905
1887
|
if (visible + characterLength <= columns) {
|
|
@@ -2043,7 +2025,7 @@ function wrapAnsi(string, columns, options) {
|
|
|
2043
2025
|
`);
|
|
2044
2026
|
}
|
|
2045
2027
|
|
|
2046
|
-
// ../../node_modules/@inquirer/core/dist/lib/utils.js
|
|
2028
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/utils.js
|
|
2047
2029
|
function breakLines(content, width) {
|
|
2048
2030
|
return content.split(`
|
|
2049
2031
|
`).flatMap((line) => wrapAnsi(line, width, { trim: false, hard: true }).split(`
|
|
@@ -2054,7 +2036,7 @@ function readlineWidth() {
|
|
|
2054
2036
|
return import_cli_width.default({ defaultWidth: 80, output: readline().output });
|
|
2055
2037
|
}
|
|
2056
2038
|
|
|
2057
|
-
// ../../node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js
|
|
2039
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js
|
|
2058
2040
|
function usePointerPosition({ active, renderedItems, pageSize, loop }) {
|
|
2059
2041
|
const state = useRef({
|
|
2060
2042
|
lastPointer: active,
|
|
@@ -2120,12 +2102,12 @@ function usePagination({ items, active, renderItem, pageSize, loop = true }) {
|
|
|
2120
2102
|
return pageBuffer.filter((line) => typeof line === "string").join(`
|
|
2121
2103
|
`);
|
|
2122
2104
|
}
|
|
2123
|
-
// ../../node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
2105
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
2124
2106
|
var import_mute_stream = __toESM(require_lib(), 1);
|
|
2125
2107
|
import * as readline2 from "readline";
|
|
2126
2108
|
import { AsyncResource as AsyncResource3 } from "async_hooks";
|
|
2127
2109
|
|
|
2128
|
-
// ../../node_modules/signal-exit/dist/mjs/signals.js
|
|
2110
|
+
// ../../node_modules/.bun/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
2129
2111
|
var signals = [];
|
|
2130
2112
|
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
2131
2113
|
if (process.platform !== "win32") {
|
|
@@ -2135,7 +2117,7 @@ if (process.platform === "linux") {
|
|
|
2135
2117
|
signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
2136
2118
|
}
|
|
2137
2119
|
|
|
2138
|
-
// ../../node_modules/signal-exit/dist/mjs/index.js
|
|
2120
|
+
// ../../node_modules/.bun/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
|
|
2139
2121
|
var processOk = (process3) => !!process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
|
|
2140
2122
|
var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
2141
2123
|
var global = globalThis;
|
|
@@ -2333,10 +2315,10 @@ var {
|
|
|
2333
2315
|
unload
|
|
2334
2316
|
} = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback);
|
|
2335
2317
|
|
|
2336
|
-
// ../../node_modules/@inquirer/core/dist/lib/screen-manager.js
|
|
2318
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/screen-manager.js
|
|
2337
2319
|
import { stripVTControlCharacters } from "util";
|
|
2338
2320
|
|
|
2339
|
-
// ../../node_modules/@inquirer/ansi/dist/index.js
|
|
2321
|
+
// ../../node_modules/.bun/@inquirer+ansi@2.0.3/node_modules/@inquirer/ansi/dist/index.js
|
|
2340
2322
|
var ESC = "\x1B[";
|
|
2341
2323
|
var cursorLeft = ESC + "G";
|
|
2342
2324
|
var cursorHide = ESC + "?25l";
|
|
@@ -2352,7 +2334,7 @@ var cursorTo = (x, y) => {
|
|
|
2352
2334
|
var eraseLine = ESC + "2K";
|
|
2353
2335
|
var eraseLines = (lines) => lines > 0 ? (eraseLine + cursorUp(1)).repeat(lines - 1) + eraseLine + cursorLeft : "";
|
|
2354
2336
|
|
|
2355
|
-
// ../../node_modules/@inquirer/core/dist/lib/screen-manager.js
|
|
2337
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/screen-manager.js
|
|
2356
2338
|
var height = (content) => content.split(`
|
|
2357
2339
|
`).length;
|
|
2358
2340
|
var lastLine = (content) => content.split(`
|
|
@@ -2417,7 +2399,7 @@ class ScreenManager {
|
|
|
2417
2399
|
}
|
|
2418
2400
|
}
|
|
2419
2401
|
|
|
2420
|
-
// ../../node_modules/@inquirer/core/dist/lib/promise-polyfill.js
|
|
2402
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/promise-polyfill.js
|
|
2421
2403
|
class PromisePolyfill extends Promise {
|
|
2422
2404
|
static withResolver() {
|
|
2423
2405
|
let resolve;
|
|
@@ -2430,7 +2412,7 @@ class PromisePolyfill extends Promise {
|
|
|
2430
2412
|
}
|
|
2431
2413
|
}
|
|
2432
2414
|
|
|
2433
|
-
// ../../node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
2415
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
2434
2416
|
function getCallSites() {
|
|
2435
2417
|
const _prepareStackTrace = Error.prepareStackTrace;
|
|
2436
2418
|
let result = [];
|
|
@@ -2516,7 +2498,7 @@ function createPrompt(view) {
|
|
|
2516
2498
|
};
|
|
2517
2499
|
return prompt;
|
|
2518
2500
|
}
|
|
2519
|
-
// ../../node_modules/@inquirer/core/dist/lib/Separator.js
|
|
2501
|
+
// ../../node_modules/.bun/@inquirer+core@11.1.1+c195ea72dffa657e/node_modules/@inquirer/core/dist/lib/Separator.js
|
|
2520
2502
|
import { styleText as styleText2 } from "util";
|
|
2521
2503
|
class Separator {
|
|
2522
2504
|
separator = styleText2("dim", Array.from({ length: 15 }).join(dist_default2.line));
|
|
@@ -2530,7 +2512,7 @@ class Separator {
|
|
|
2530
2512
|
return Boolean(choice && typeof choice === "object" && "type" in choice && choice.type === "separator");
|
|
2531
2513
|
}
|
|
2532
2514
|
}
|
|
2533
|
-
// ../../node_modules/@inquirer/select/dist/index.js
|
|
2515
|
+
// ../../node_modules/.bun/@inquirer+select@5.0.4+c195ea72dffa657e/node_modules/@inquirer/select/dist/index.js
|
|
2534
2516
|
import { styleText as styleText3 } from "util";
|
|
2535
2517
|
var selectTheme = {
|
|
2536
2518
|
icon: { cursor: dist_default2.pointer },
|
|
@@ -3738,5 +3720,5 @@ export {
|
|
|
3738
3720
|
cli
|
|
3739
3721
|
};
|
|
3740
3722
|
|
|
3741
|
-
//# debugId=
|
|
3723
|
+
//# debugId=44B75412CB54A27464756E2164756E21
|
|
3742
3724
|
//# sourceMappingURL=index.bun.js.map
|