@clarify-labs/cli 0.11.10 → 0.11.11

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/output/cli.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_engine = require("./engine-BuYsLjJN.cjs");
2
+ const require_engine = require("./engine-BzxBO-E9.cjs");
3
3
  let node_path = require("node:path");
4
4
  let node_fs_promises = require("node:fs/promises");
5
5
  let node_child_process = require("node:child_process");
package/output/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as createClarifyTempDir, c as cliPackageVersion, i as findRouteConflicts, l as cliPackageVersionWithCaret, n as createClarifyEngine, o as deserializeSearchIndex, r as createClarifyRuntimeAliases, s as searchMcpIndex, u as createViteAdapter } from "./engine-DisWfZp-.js";
2
+ import { a as createClarifyTempDir, c as cliPackageVersion, i as findRouteConflicts, l as cliPackageVersionWithCaret, n as createClarifyEngine, o as deserializeSearchIndex, r as createClarifyRuntimeAliases, s as searchMcpIndex, u as createViteAdapter } from "./engine-DJ8vzo23.js";
3
3
  import { dirname, extname, isAbsolute, join, normalize, relative, resolve } from "node:path";
4
4
  import { lstat, mkdir, readFile, stat, writeFile } from "node:fs/promises";
5
5
  import { spawnSync } from "node:child_process";
@@ -1804,7 +1804,7 @@ function createViteAdapter(engine) {
1804
1804
  }
1805
1805
  var cliPackageVersion = {
1806
1806
  name: "@clarify-labs/cli",
1807
- version: "0.11.10",
1807
+ version: "0.11.11",
1808
1808
  license: "AGPL-3.0-only",
1809
1809
  type: "module",
1810
1810
  repository: {
@@ -2828,7 +2828,7 @@ function sourceSpecIdFromPath(filePath, projectRoot) {
2828
2828
  }
2829
2829
  function routeSpecModuleIdFromSourceSpecId(sourceSpecId, tagFilter) {
2830
2830
  if (!tagFilter?.length) return sourceSpecId;
2831
- return `${sourceSpecId}_tags_${tagFilter.map((tag) => tag.replace(/[^a-zA-Z0-9_-]/g, "_").replace(/_+/g, "_").replace(/^_|_$/g, "") || "tag").join("_")}`;
2831
+ return `${sourceSpecId}_tags_${(0, node_crypto.createHash)("sha256").update(JSON.stringify(tagFilter)).digest("hex").slice(0, 12)}`;
2832
2832
  }
2833
2833
  function openAPIRegistryKeys(route) {
2834
2834
  const keys = /* @__PURE__ */ new Set();
@@ -4219,4 +4219,4 @@ Object.defineProperty(exports, "searchMcpIndex", {
4219
4219
  }
4220
4220
  });
4221
4221
 
4222
- //# sourceMappingURL=engine-BuYsLjJN.cjs.map
4222
+ //# sourceMappingURL=engine-BzxBO-E9.cjs.map