pyre-cli 10.3.0 → 10.5.0
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/README.md +41 -0
- package/dist/{alertChannels-TPSQIJ7S.js → alertChannels-MNX4XH6J.js} +1 -0
- package/dist/{anomaliesCmd-25OFKYPK.js → anomaliesCmd-HHTY5LYL.js} +2 -0
- package/dist/benchGitCmd-HIXUC5EK.js +87 -0
- package/dist/{benchmarkCmd-A3ETK6VY.js → benchmarkCmd-B7DLP2VC.js} +2 -0
- package/dist/{blender-FGH3ASEQ.js → blender-6ZX5SPYC.js} +3 -1
- package/dist/{brewHealth-P2GW5Y5C.js → brewHealth-VFW33QB3.js} +1 -0
- package/dist/budgetCmd-TGO3RYLN.js +11 -0
- package/dist/{buildCmd-CDPZ2ZFA.js → buildCmd-E7KUCFYG.js} +3 -1
- package/dist/{checkCmd-WQAHAUWO.js → checkCmd-QLYTP77Y.js} +5 -3
- package/dist/chunk-3RG5ZIWI.js +10 -0
- package/dist/{chunk-VIACN2RU.js → chunk-FYCBGUTW.js} +41 -19
- package/dist/chunk-JH7P6KLN.js +143 -0
- package/dist/{chunk-QM5L43EK.js → chunk-LDJB5V4N.js} +5 -1
- package/dist/chunk-NMGQVRCA.js +111 -0
- package/dist/chunk-OCL7P7N7.js +936 -0
- package/dist/{chunk-23YWCI3O.js → chunk-QEH4LR6P.js} +28 -686
- package/dist/{chunk-KVUMOA6C.js → chunk-RKPGPVTO.js} +77 -4
- package/dist/chunk-UF3XQ3R3.js +3800 -0
- package/dist/{collectors-JDN5Y7EV.js → collectors-V7SCIIDH.js} +5 -3
- package/dist/{completions-ZVTNE52B.js → completions-FTPXDSR2.js} +44 -3
- package/dist/{config-J4YMADEF.js → config-5WW5M63G.js} +2 -1
- package/dist/containersCmd-FSMYOBG2.js +84 -0
- package/dist/{doctor-LHFW4UJP.js → doctor-O4DIAMHK.js} +3 -2
- package/dist/{explainCmd-MF6PIMLW.js → explainCmd-7PBPA7O5.js} +1 -0
- package/dist/{extensions-XJGHG7X3.js → extensions-QQEV7U3D.js} +1 -0
- package/dist/{firebaseSync-ON3RZ6KX.js → firebaseSync-LRN67UTV.js} +2 -0
- package/dist/flightRecorder-GJIAQOXC.js +162 -0
- package/dist/index.js +736 -4125
- package/dist/inspectCmd-5FXJBJTK.js +137 -0
- package/dist/menu-AJFGDLBP.js +1233 -0
- package/dist/monitors/platform/windows-ui.ps1 +31 -29
- package/dist/{netUsageCmd-67IBZZYN.js → netUsageCmd-JP6YKBPF.js} +7 -5
- package/dist/optimizeCmd-WZKLFYZU.js +1110 -0
- package/dist/{pipeCmd-2N4JPKYE.js → pipeCmd-CPK6FVKB.js} +5 -3
- package/dist/playbookCmd-FRROIEXR.js +145 -0
- package/dist/{profileProcCmd-N4H6MCBT.js → profileProcCmd-5Y3733E7.js} +64 -13
- package/dist/{prometheus-5BL5PVLC.js → prometheus-CYNUR3QT.js} +1 -0
- package/dist/{prometheusCmd-LEUM5WCZ.js → prometheusCmd-G2CSEZRQ.js} +5 -3
- package/dist/{replayCmd-Z3PYXY7V.js → replayCmd-ODB5SPOQ.js} +25 -6
- package/dist/{run-HOGQDDTA.js → run-UJQYT2TO.js} +1 -0
- package/dist/{serveCmd-L7LVJOZN.js → serveCmd-KDPWLVQI.js} +5 -3
- package/dist/{service-7GIX3YNC.js → service-LIYYR3UI.js} +1 -0
- package/dist/{smartCmd-ODWKSFNG.js → smartCmd-2BJJ37GV.js} +130 -5
- package/dist/statuslineCmd-EUKYRR2G.js +75 -0
- package/dist/{stressCmd-MFXMFXYX.js → stressCmd-GKHGY26X.js} +2 -0
- package/dist/{syncCmd-42IRF633.js → syncCmd-MIBFKX24.js} +16 -5
- package/dist/topoCmd-RTXQJ6XA.js +189 -0
- package/dist/{updateCheck-52X6LJG5.js → updateCheck-LJHEMG3G.js} +2 -0
- package/dist/{watchdogCmd-6GR4UN6B.js → watchdogCmd-XM6OPTKM.js} +41 -6
- package/dist/{wizard-JQMQWFAW.js → wizard-PRDOJROQ.js} +2 -1
- package/package.json +2 -2
- package/src/benchGitCmd.ts +110 -0
- package/src/budgetCmd.ts +199 -0
- package/src/completions.ts +42 -3
- package/src/containersCmd.ts +106 -0
- package/src/doctor.ts +86 -6
- package/src/easy_features.test.ts +83 -0
- package/src/flightRecorder.ts +214 -0
- package/src/index.ts +181 -8
- package/src/inspectCmd.ts +165 -0
- package/src/live/input.ts +70 -3
- package/src/live/render.ts +1 -1
- package/src/live/state.ts +2 -1
- package/src/menu/commands.ts +754 -0
- package/src/menu/index.ts +358 -0
- package/src/menu/render.ts +272 -0
- package/src/menu/types.ts +63 -0
- package/src/menu.test.ts +110 -0
- package/src/monitors/blender.ts +49 -19
- package/src/monitors/buildTracker.ts +72 -54
- package/src/monitors/platform/windows-ui.ps1 +31 -29
- package/src/monitors/platform/windows.ts +636 -280
- package/src/optimizeCmd.ts +1248 -0
- package/src/platform.test.ts +146 -0
- package/src/playbookCmd.ts +156 -0
- package/src/power_features.test.ts +251 -0
- package/src/profileProcCmd.ts +68 -21
- package/src/replayCmd.ts +15 -6
- package/src/smartCmd.ts +149 -10
- package/src/state/config.ts +13 -0
- package/src/statuslineCmd.ts +87 -0
- package/src/syncCmd.ts +12 -0
- package/src/topoCmd.ts +83 -50
- package/src/watchdogCmd.ts +40 -3
- package/src/xbar.ts +195 -17
- package/dist/chunk-M73HCQD2.js +0 -95
- package/dist/topoCmd-DZ3YS5IL.js +0 -148
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
CONFIG_FILE,
|
|
6
6
|
readConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LDJB5V4N.js";
|
|
8
8
|
|
|
9
9
|
// src/doctor.ts
|
|
10
10
|
import fs from "fs";
|
|
@@ -301,12 +301,13 @@ async function runWindowsDoctor() {
|
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
try {
|
|
304
|
-
const
|
|
304
|
+
const { runPowerShell } = await import("./run-UJQYT2TO.js");
|
|
305
|
+
const wmiCheck = await runPowerShell("(Get-CimInstance Win32_OperatingSystem -ErrorAction SilentlyContinue).Caption", "");
|
|
305
306
|
if (wmiCheck.toLowerCase().includes("windows")) {
|
|
306
307
|
checks.push({
|
|
307
308
|
name: "WMI / CIM Subsystem",
|
|
308
309
|
status: "ok",
|
|
309
|
-
message:
|
|
310
|
+
message: `WMI/CIM management queries responsive (${wmiCheck}).`
|
|
310
311
|
});
|
|
311
312
|
} else {
|
|
312
313
|
checks.push({
|
|
@@ -320,7 +321,79 @@ async function runWindowsDoctor() {
|
|
|
320
321
|
checks.push({
|
|
321
322
|
name: "WMI / CIM Subsystem",
|
|
322
323
|
status: "warn",
|
|
323
|
-
message: "Could not execute WMI query."
|
|
324
|
+
message: "Could not execute WMI/CIM query."
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
try {
|
|
328
|
+
const { runPowerShell } = await import("./run-UJQYT2TO.js");
|
|
329
|
+
const avRaw = await runPowerShell(
|
|
330
|
+
`$av = Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntiVirusProduct -ErrorAction SilentlyContinue; if ($av) { ($av | Select-Object -ExpandProperty displayName) -join ', ' } else { '' }`,
|
|
331
|
+
""
|
|
332
|
+
);
|
|
333
|
+
if (avRaw.trim()) {
|
|
334
|
+
checks.push({
|
|
335
|
+
name: "Antivirus Protection",
|
|
336
|
+
status: "ok",
|
|
337
|
+
message: `Antivirus active (${avRaw.trim()}).`
|
|
338
|
+
});
|
|
339
|
+
} else {
|
|
340
|
+
checks.push({
|
|
341
|
+
name: "Antivirus Protection",
|
|
342
|
+
status: "warn",
|
|
343
|
+
message: "No third-party Antivirus reported via SecurityCenter2; Windows Defender active."
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
} catch {
|
|
347
|
+
checks.push({
|
|
348
|
+
name: "Antivirus Protection",
|
|
349
|
+
status: "warn",
|
|
350
|
+
message: "Could not query SecurityCenter2 status."
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
try {
|
|
354
|
+
const { runPowerShell } = await import("./run-UJQYT2TO.js");
|
|
355
|
+
const uacRaw = await runPowerShell(
|
|
356
|
+
`(Get-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System' -Name EnableLUA -ErrorAction SilentlyContinue).EnableLUA`,
|
|
357
|
+
""
|
|
358
|
+
);
|
|
359
|
+
if (uacRaw.trim() === "1") {
|
|
360
|
+
checks.push({
|
|
361
|
+
name: "User Account Control",
|
|
362
|
+
status: "ok",
|
|
363
|
+
message: "UAC is enabled."
|
|
364
|
+
});
|
|
365
|
+
} else {
|
|
366
|
+
checks.push({
|
|
367
|
+
name: "User Account Control",
|
|
368
|
+
status: "warn",
|
|
369
|
+
message: "UAC is disabled or restricted.",
|
|
370
|
+
details: "Running with UAC disabled allows processes elevated privileges without prompts."
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
} catch {
|
|
374
|
+
checks.push({
|
|
375
|
+
name: "User Account Control",
|
|
376
|
+
status: "warn",
|
|
377
|
+
message: "Could not query UAC registry status."
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
try {
|
|
381
|
+
const { runPowerShell } = await import("./run-UJQYT2TO.js");
|
|
382
|
+
const cpuName = await runPowerShell("(Get-CimInstance Win32_Processor -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty Name)", "");
|
|
383
|
+
const gpuName = await runPowerShell("(Get-CimInstance Win32_VideoController -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty Name)", "");
|
|
384
|
+
const cpuVendor = cpuName.toLowerCase().includes("amd") ? "AMD" : cpuName.toLowerCase().includes("intel") ? "Intel" : "x86/x64";
|
|
385
|
+
const gpuVendor = gpuName.toLowerCase().includes("nvidia") ? "NVIDIA" : gpuName.toLowerCase().includes("amd") || gpuName.toLowerCase().includes("radeon") ? "AMD" : gpuName.toLowerCase().includes("intel") ? "Intel" : "Standard";
|
|
386
|
+
checks.push({
|
|
387
|
+
name: "Hardware Telemetry",
|
|
388
|
+
status: "ok",
|
|
389
|
+
message: `${cpuVendor} CPU & ${gpuVendor} GPU recognized.`,
|
|
390
|
+
details: `CPU: ${cpuName.trim() || "Generic"} | GPU: ${gpuName.trim() || "Generic"}`
|
|
391
|
+
});
|
|
392
|
+
} catch {
|
|
393
|
+
checks.push({
|
|
394
|
+
name: "Hardware Telemetry",
|
|
395
|
+
status: "warn",
|
|
396
|
+
message: "Hardware inspection incomplete."
|
|
324
397
|
});
|
|
325
398
|
}
|
|
326
399
|
try {
|