@devness/useai-cli 0.5.36 → 0.5.38
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/index.js +11 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var SYSTEMD_SERVICE_PATH = join(homedir(), ".config", "systemd", "user", "useai-
|
|
|
30
30
|
var WINDOWS_STARTUP_SCRIPT_PATH = join(process.env["APPDATA"] ?? join(homedir(), "AppData", "Roaming"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "useai-daemon.vbs");
|
|
31
31
|
|
|
32
32
|
// ../shared/dist/constants/version.js
|
|
33
|
-
var VERSION = "0.5.
|
|
33
|
+
var VERSION = "0.5.38";
|
|
34
34
|
|
|
35
35
|
// ../shared/dist/constants/defaults.js
|
|
36
36
|
var DEFAULT_CONFIG = {
|
|
@@ -5861,15 +5861,18 @@ function showManualHints(installedTools) {
|
|
|
5861
5861
|
}
|
|
5862
5862
|
function showStatus(tools) {
|
|
5863
5863
|
console.log(header("AI Tool MCP Status"));
|
|
5864
|
+
const detected = tools.filter((t) => t.detect());
|
|
5865
|
+
if (detected.length === 0) {
|
|
5866
|
+
console.log(chalk6.dim(" No supported AI tools detected on this system."));
|
|
5867
|
+
console.log();
|
|
5868
|
+
return;
|
|
5869
|
+
}
|
|
5864
5870
|
const rows = [];
|
|
5865
|
-
const nameWidth = Math.max(...
|
|
5871
|
+
const nameWidth = Math.max(...detected.map((t) => t.name.length));
|
|
5866
5872
|
const statusWidth = 16;
|
|
5867
|
-
for (const tool of
|
|
5868
|
-
const detected = tool.detect();
|
|
5873
|
+
for (const tool of detected) {
|
|
5869
5874
|
const name = tool.name.padEnd(nameWidth);
|
|
5870
|
-
if (
|
|
5871
|
-
rows.push(` ${chalk6.dim(name)} ${chalk6.dim("\u2014 Not found".padEnd(statusWidth))}`);
|
|
5872
|
-
} else if (tool.isConfigured()) {
|
|
5875
|
+
if (tool.isConfigured()) {
|
|
5873
5876
|
rows.push(
|
|
5874
5877
|
` ${name} ${chalk6.green("\u2713 Configured".padEnd(statusWidth))} ${chalk6.dim(shortenPath(tool.getConfigPath()))}`
|
|
5875
5878
|
);
|
|
@@ -6511,7 +6514,7 @@ program.addCommand(milestonesCommand);
|
|
|
6511
6514
|
program.addCommand(configCommand);
|
|
6512
6515
|
program.addCommand(exportCommand);
|
|
6513
6516
|
program.addCommand(purgeCommand);
|
|
6514
|
-
program.addCommand(mcpCommand);
|
|
6517
|
+
program.addCommand(mcpCommand, { isDefault: true });
|
|
6515
6518
|
program.addCommand(daemonCommand);
|
|
6516
6519
|
program.addCommand(serveCommand);
|
|
6517
6520
|
program.addCommand(loginCommand);
|