@plexus-ms/cli 0.10.0 → 0.100.0-rc.3
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/plx.js +24 -24
- package/package.json +3 -3
package/dist/plx.js
CHANGED
|
@@ -9264,7 +9264,7 @@ async function planBookkeeping(ctx, train, repos2, next, today2) {
|
|
|
9264
9264
|
// src/program.ts
|
|
9265
9265
|
import { createRequire } from "node:module";
|
|
9266
9266
|
|
|
9267
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9267
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/key.js
|
|
9268
9268
|
var keybindings = ["emacs", "vim"];
|
|
9269
9269
|
var keybindingLookup = new Set(keybindings);
|
|
9270
9270
|
function isKeybinding(value) {
|
|
@@ -9279,7 +9279,7 @@ function getDefaultKeybindings() {
|
|
|
9279
9279
|
var isTabKey = (key) => key.name === "tab";
|
|
9280
9280
|
var isEnterKey = (key) => key.name === "enter" || key.name === "return";
|
|
9281
9281
|
|
|
9282
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9282
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/errors.js
|
|
9283
9283
|
var AbortPromptError = class extends Error {
|
|
9284
9284
|
name = "AbortPromptError";
|
|
9285
9285
|
message = "Prompt was aborted";
|
|
@@ -9302,10 +9302,10 @@ var ValidationError = class extends Error {
|
|
|
9302
9302
|
name = "ValidationError";
|
|
9303
9303
|
};
|
|
9304
9304
|
|
|
9305
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9305
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/use-state.js
|
|
9306
9306
|
import { AsyncResource as AsyncResource2 } from "node:async_hooks";
|
|
9307
9307
|
|
|
9308
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9308
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/hook-engine.js
|
|
9309
9309
|
import { AsyncLocalStorage, AsyncResource } from "node:async_hooks";
|
|
9310
9310
|
var hookStorage = new AsyncLocalStorage();
|
|
9311
9311
|
function createStore(rl) {
|
|
@@ -9409,7 +9409,7 @@ var effectScheduler = {
|
|
|
9409
9409
|
}
|
|
9410
9410
|
};
|
|
9411
9411
|
|
|
9412
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9412
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/use-state.js
|
|
9413
9413
|
function isFactory(value) {
|
|
9414
9414
|
return typeof value === "function";
|
|
9415
9415
|
}
|
|
@@ -9435,7 +9435,7 @@ function useState(defaultValue) {
|
|
|
9435
9435
|
});
|
|
9436
9436
|
}
|
|
9437
9437
|
|
|
9438
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9438
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/use-effect.js
|
|
9439
9439
|
function useEffect(cb, depArray) {
|
|
9440
9440
|
withPointer((pointer) => {
|
|
9441
9441
|
const oldDeps = pointer.get();
|
|
@@ -9447,10 +9447,10 @@ function useEffect(cb, depArray) {
|
|
|
9447
9447
|
});
|
|
9448
9448
|
}
|
|
9449
9449
|
|
|
9450
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9450
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/theme.js
|
|
9451
9451
|
import { styleText } from "node:util";
|
|
9452
9452
|
|
|
9453
|
-
// ../../node_modules/.pnpm/@inquirer+figures@2.0.
|
|
9453
|
+
// ../../node_modules/.pnpm/@inquirer+figures@2.0.10/node_modules/@inquirer/figures/dist/index.js
|
|
9454
9454
|
import process2 from "node:process";
|
|
9455
9455
|
function isUnicodeSupported() {
|
|
9456
9456
|
if (!process2.platform.startsWith("win")) {
|
|
@@ -9743,7 +9743,7 @@ var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
|
9743
9743
|
var dist_default = figures;
|
|
9744
9744
|
var replacements = Object.entries(specialMainSymbols);
|
|
9745
9745
|
|
|
9746
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9746
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/theme.js
|
|
9747
9747
|
var defaultTheme = {
|
|
9748
9748
|
prefix: {
|
|
9749
9749
|
idle: styleText("blue", "?"),
|
|
@@ -9771,7 +9771,7 @@ function getDefaultTheme() {
|
|
|
9771
9771
|
};
|
|
9772
9772
|
}
|
|
9773
9773
|
|
|
9774
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9774
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/make-theme.js
|
|
9775
9775
|
function isPlainObject(value) {
|
|
9776
9776
|
if (typeof value !== "object" || value === null)
|
|
9777
9777
|
return false;
|
|
@@ -9799,7 +9799,7 @@ function makeTheme(...themes) {
|
|
|
9799
9799
|
return deepMerge(...themesToMerge);
|
|
9800
9800
|
}
|
|
9801
9801
|
|
|
9802
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9802
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/use-prefix.js
|
|
9803
9803
|
function usePrefix({ status = "idle", theme }) {
|
|
9804
9804
|
const [showLoader, setShowLoader] = useState(false);
|
|
9805
9805
|
const [tick, setTick] = useState(0);
|
|
@@ -9830,12 +9830,12 @@ function usePrefix({ status = "idle", theme }) {
|
|
|
9830
9830
|
return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
|
|
9831
9831
|
}
|
|
9832
9832
|
|
|
9833
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9833
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/use-ref.js
|
|
9834
9834
|
function useRef(val) {
|
|
9835
9835
|
return useState({ current: val })[0];
|
|
9836
9836
|
}
|
|
9837
9837
|
|
|
9838
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9838
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/use-keypress.js
|
|
9839
9839
|
function useKeypress(userHandler) {
|
|
9840
9840
|
const signal = useRef(userHandler);
|
|
9841
9841
|
signal.current = userHandler;
|
|
@@ -9854,7 +9854,7 @@ function useKeypress(userHandler) {
|
|
|
9854
9854
|
}, []);
|
|
9855
9855
|
}
|
|
9856
9856
|
|
|
9857
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
9857
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/utils.js
|
|
9858
9858
|
var import_cli_width = __toESM(require_cli_width(), 1);
|
|
9859
9859
|
|
|
9860
9860
|
// ../../node_modules/.pnpm/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/utils.js
|
|
@@ -10193,7 +10193,7 @@ function wrapAnsi(string, columns, options) {
|
|
|
10193
10193
|
return String(string).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join("\n");
|
|
10194
10194
|
}
|
|
10195
10195
|
|
|
10196
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
10196
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/utils.js
|
|
10197
10197
|
function breakLines(content, width) {
|
|
10198
10198
|
return content.split("\n").flatMap((line) => wrapAnsi(line, width, { trim: false, wordWrap: false }).split("\n").map((str) => str.trimEnd())).join("\n");
|
|
10199
10199
|
}
|
|
@@ -10201,11 +10201,11 @@ function readlineWidth() {
|
|
|
10201
10201
|
return (0, import_cli_width.default)({ defaultWidth: 80, output: readline().output });
|
|
10202
10202
|
}
|
|
10203
10203
|
|
|
10204
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
10204
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
10205
10205
|
import * as readline2 from "node:readline";
|
|
10206
10206
|
import { AsyncResource as AsyncResource3 } from "node:async_hooks";
|
|
10207
10207
|
|
|
10208
|
-
// ../../node_modules/.pnpm/@inquirer+type@4.2.
|
|
10208
|
+
// ../../node_modules/.pnpm/@inquirer+type@4.2.1_@types+node@26.6.5/node_modules/@inquirer/type/dist/utils.js
|
|
10209
10209
|
function withResolver() {
|
|
10210
10210
|
let resolve10;
|
|
10211
10211
|
let reject;
|
|
@@ -10216,7 +10216,7 @@ function withResolver() {
|
|
|
10216
10216
|
return { promise, resolve: resolve10, reject };
|
|
10217
10217
|
}
|
|
10218
10218
|
|
|
10219
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
10219
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
10220
10220
|
var import_mute_stream = __toESM(require_lib(), 1);
|
|
10221
10221
|
|
|
10222
10222
|
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
@@ -10470,10 +10470,10 @@ var {
|
|
|
10470
10470
|
unload
|
|
10471
10471
|
} = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback());
|
|
10472
10472
|
|
|
10473
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
10473
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/screen-manager.js
|
|
10474
10474
|
import { stripVTControlCharacters } from "node:util";
|
|
10475
10475
|
|
|
10476
|
-
// ../../node_modules/.pnpm/@inquirer+ansi@2.0.
|
|
10476
|
+
// ../../node_modules/.pnpm/@inquirer+ansi@2.0.10/node_modules/@inquirer/ansi/dist/index.js
|
|
10477
10477
|
var ESC2 = "\x1B[";
|
|
10478
10478
|
var cursorLeft = ESC2 + "G";
|
|
10479
10479
|
var cursorHide = ESC2 + "?25l";
|
|
@@ -10489,7 +10489,7 @@ var cursorTo = (x, y) => {
|
|
|
10489
10489
|
var eraseLine = ESC2 + "2K";
|
|
10490
10490
|
var eraseLines = (lines) => lines > 0 ? (eraseLine + cursorUp(1)).repeat(lines - 1) + eraseLine + cursorLeft : "";
|
|
10491
10491
|
|
|
10492
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
10492
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/screen-manager.js
|
|
10493
10493
|
var height = (content) => content.split("\n").length;
|
|
10494
10494
|
var lastLine = (content) => content.split("\n").pop() ?? "";
|
|
10495
10495
|
var ScreenManager = class {
|
|
@@ -10550,7 +10550,7 @@ var ScreenManager = class {
|
|
|
10550
10550
|
}
|
|
10551
10551
|
};
|
|
10552
10552
|
|
|
10553
|
-
// ../../node_modules/.pnpm/@inquirer+core@12.0.
|
|
10553
|
+
// ../../node_modules/.pnpm/@inquirer+core@12.0.6_@types+node@26.6.5/node_modules/@inquirer/core/dist/lib/create-prompt.js
|
|
10554
10554
|
import path from "node:path";
|
|
10555
10555
|
var nativeSetImmediate = globalThis.setImmediate;
|
|
10556
10556
|
var nativeClearImmediate = globalThis.clearImmediate;
|
|
@@ -10658,7 +10658,7 @@ function createPrompt(view) {
|
|
|
10658
10658
|
}
|
|
10659
10659
|
});
|
|
10660
10660
|
};
|
|
10661
|
-
if ("readableFlowing" in input) {
|
|
10661
|
+
if ("readableFlowing" in input && input.isTTY) {
|
|
10662
10662
|
const immediate = nativeSetImmediate(startCycle);
|
|
10663
10663
|
cleanups.add(() => nativeClearImmediate(immediate));
|
|
10664
10664
|
} else {
|
|
@@ -10670,7 +10670,7 @@ function createPrompt(view) {
|
|
|
10670
10670
|
return prompt;
|
|
10671
10671
|
}
|
|
10672
10672
|
|
|
10673
|
-
// ../../node_modules/.pnpm/@inquirer+confirm@6.3.
|
|
10673
|
+
// ../../node_modules/.pnpm/@inquirer+confirm@6.3.5_@types+node@26.6.5/node_modules/@inquirer/confirm/dist/index.js
|
|
10674
10674
|
import { styleText as styleText2 } from "node:util";
|
|
10675
10675
|
var confirmTheme = {
|
|
10676
10676
|
keywords: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plexus-ms/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.100.0-rc.3",
|
|
4
4
|
"description": "plx, the Plexus command-line tool: a single-script adapter over @plexus-ms/lib",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/plexus-ms/
|
|
15
|
+
"url": "git+https://github.com/plexus-ms/primitives.git",
|
|
16
16
|
"directory": "packages/cli"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@inquirer/prompts": "^8.7.4",
|
|
27
|
-
"@plexus-ms/lib": "0.
|
|
27
|
+
"@plexus-ms/lib": "0.100.0-rc.3",
|
|
28
28
|
"commander": "^15.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|