@sashabogi/argus-mcp 2.0.5 → 2.0.7

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/cli.mjs CHANGED
@@ -2136,7 +2136,7 @@ function listProviderTypes() {
2136
2136
  // src/cli.ts
2137
2137
  init_onboarding();
2138
2138
  var program = new Command();
2139
- program.name("argus").description("Codebase Intelligence Beyond Context Limits").version("2.0.5");
2139
+ program.name("argus").description("Codebase Intelligence Beyond Context Limits").version("2.0.7");
2140
2140
  program.command("init").description("Interactive setup wizard").action(async () => {
2141
2141
  console.log("\n\u{1F52E} Argus Setup Wizard\n");
2142
2142
  console.log("This will configure your AI provider and create ~/.argus/config.json\n");
@@ -2959,14 +2959,16 @@ ${CLAUDE_MD_ARGUS_SECTION}`;
2959
2959
  });
2960
2960
  program.command("ui").description("Open the Argus web UI for codebase visualization").option("-p, --port <port>", "Port to serve on", "3333").option("--no-open", "Do not open browser automatically").action(async (opts) => {
2961
2961
  const uiPath = join4(__dirname, "..", "packages", "ui");
2962
- if (!existsSync4(join4(uiPath, "package.json"))) {
2963
- console.error("Argus UI package not found.");
2964
- console.error("\nThe UI package needs to be installed separately:");
2962
+ const distPath = join4(uiPath, "dist");
2963
+ if (!existsSync4(distPath) || !existsSync4(join4(distPath, "index.html"))) {
2964
+ console.error("Argus UI not found.");
2965
+ console.error("\nIf installed from npm, try reinstalling:");
2966
+ console.error(" npm install -g @sashabogi/argus-mcp@latest");
2967
+ console.error("\nIf building from source:");
2965
2968
  console.error(" cd packages/ui && npm install && npm run build");
2966
2969
  process.exit(1);
2967
2970
  }
2968
- const distPath = join4(uiPath, "dist");
2969
- const hasBuiltUI = existsSync4(distPath);
2971
+ const hasBuiltUI = true;
2970
2972
  console.log("Starting Argus UI...\n");
2971
2973
  try {
2972
2974
  if (hasBuiltUI) {