@tylerl0706/ahpx 0.2.9 → 0.2.12
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.js +2 -2
- package/dist/{chunk-TCJ6NC7B.js → chunk-7ZLDLPTX.js} +401 -51
- package/dist/index.d.ts +814 -14
- package/dist/index.js +35 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createLogger,
|
|
12
12
|
ensureFileUri,
|
|
13
13
|
setVerbose
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7ZLDLPTX.js";
|
|
15
15
|
|
|
16
16
|
// src/bin.ts
|
|
17
17
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
@@ -2453,7 +2453,7 @@ session.command("active").description("Show all active sessions on the server (l
|
|
|
2453
2453
|
console.log(pc6.bold(`Active sessions on ${serverInfo.name}`), pc6.dim(`(${result.items.length})`));
|
|
2454
2454
|
console.log();
|
|
2455
2455
|
for (const s of result.items) {
|
|
2456
|
-
const status = s.status === "
|
|
2456
|
+
const status = s.status === 2 /* Error */ ? pc6.red("\u25CF error") : s.status === 24 /* InputNeeded */ ? pc6.yellow("\u25CF input-needed") : s.status === 8 /* InProgress */ ? pc6.yellow("\u25CF in-progress") : pc6.green("\u25CF idle");
|
|
2457
2457
|
console.log(` ${pc6.bold(pc6.cyan(s.resource))}`);
|
|
2458
2458
|
console.log(` ${pc6.bold("Provider:")} ${s.provider}`);
|
|
2459
2459
|
if (s.model) console.log(` ${pc6.bold("Model:")} ${s.model}`);
|