@sashabogi/argus-mcp 2.0.13 → 2.0.15

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
@@ -2139,7 +2139,7 @@ function listProviderTypes() {
2139
2139
  // src/cli.ts
2140
2140
  init_onboarding();
2141
2141
  var program = new Command();
2142
- program.name("argus").description("Codebase Intelligence Beyond Context Limits").version("2.0.13");
2142
+ program.name("argus").description("Codebase Intelligence Beyond Context Limits").version("2.0.15");
2143
2143
  program.command("init").description("Interactive setup wizard").action(async () => {
2144
2144
  console.log("\n\u{1F52E} Argus Setup Wizard\n");
2145
2145
  console.log("This will configure your AI provider and create ~/.argus/config.json\n");
@@ -3011,7 +3011,13 @@ program.command("ui").description("Open the Argus web UI for codebase visualizat
3011
3011
  const ext = path2.extname(filePath);
3012
3012
  const contentType = mimeTypes[ext] || "application/octet-stream";
3013
3013
  const content = readFileSync5(filePath);
3014
- res.writeHead(200, { "Content-Type": contentType });
3014
+ const isHtml = ext === ".html";
3015
+ const isHashedAsset = filePath.includes("/assets/") && (ext === ".js" || ext === ".css");
3016
+ const cacheControl = isHtml ? "no-cache, no-store, must-revalidate" : isHashedAsset ? "public, max-age=31536000, immutable" : "public, max-age=3600";
3017
+ res.writeHead(200, {
3018
+ "Content-Type": contentType,
3019
+ "Cache-Control": cacheControl
3020
+ });
3015
3021
  res.end(content);
3016
3022
  } else {
3017
3023
  res.writeHead(404);