@devness/useai-cli 0.5.35 → 0.5.37

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -7
  2. 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.35";
33
+ var VERSION = "0.5.37";
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(...tools.map((t) => t.name.length));
5871
+ const nameWidth = Math.max(...detected.map((t) => t.name.length));
5866
5872
  const statusWidth = 16;
5867
- for (const tool of tools) {
5868
- const detected = tool.detect();
5873
+ for (const tool of detected) {
5869
5874
  const name = tool.name.padEnd(nameWidth);
5870
- if (!detected) {
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
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devness/useai-cli",
3
- "version": "0.5.35",
3
+ "version": "0.5.37",
4
4
  "description": "CLI tool for useai.dev — stats, sync, publish your AI development workflow",
5
5
  "author": "nabeelkausari",
6
6
  "license": "MIT",