@cleocode/caamp 1.7.0 → 1.7.1

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/README.md CHANGED
File without changes
@@ -494,7 +494,7 @@ function _resetPlatformPathsCache() {
494
494
  // src/core/paths/standard.ts
495
495
  import { existsSync as existsSync5 } from "fs";
496
496
  import { homedir as homedir2 } from "os";
497
- import { dirname as dirname2, isAbsolute as isAbsolute2, join as join3, resolve as resolve2 } from "path";
497
+ import { dirname as dirname2, join as join3 } from "path";
498
498
  function getPlatformLocations() {
499
499
  const home = homedir2();
500
500
  const platform2 = process.platform;
@@ -1828,7 +1828,7 @@ async function configureProviderGlobalAndProject(provider, options) {
1828
1828
  import { execFileSync as execFileSync2 } from "child_process";
1829
1829
  import { existsSync as existsSync10 } from "fs";
1830
1830
  import { homedir as homedir3 } from "os";
1831
- import { isAbsolute as isAbsolute3, resolve as resolve4 } from "path";
1831
+ import { isAbsolute as isAbsolute2, resolve as resolve3 } from "path";
1832
1832
  var CLEO_SERVER_NAMES = {
1833
1833
  stable: "cleo",
1834
1834
  beta: "cleo-beta",
@@ -1911,7 +1911,7 @@ function buildCleoProfile(options) {
1911
1911
  function expandHome(pathValue) {
1912
1912
  if (pathValue === "~") return homedir3();
1913
1913
  if (pathValue.startsWith("~/")) {
1914
- return resolve4(homedir3(), pathValue.slice(2));
1914
+ return resolve3(homedir3(), pathValue.slice(2));
1915
1915
  }
1916
1916
  return pathValue;
1917
1917
  }
@@ -1919,7 +1919,7 @@ function checkCommandReachability(command) {
1919
1919
  const hasPathSeparator = command.includes("/") || command.includes("\\");
1920
1920
  if (hasPathSeparator || command.startsWith("~")) {
1921
1921
  const expanded = expandHome(command);
1922
- const candidate = isAbsolute3(expanded) ? expanded : resolve4(process.cwd(), expanded);
1922
+ const candidate = isAbsolute2(expanded) ? expanded : resolve3(process.cwd(), expanded);
1923
1923
  if (existsSync10(candidate)) {
1924
1924
  return { reachable: true, method: "path", detail: candidate };
1925
1925
  }
@@ -1965,7 +1965,7 @@ import { existsSync as existsSync11 } from "fs";
1965
1965
  var LOCK_GUARD_PATH = `${LOCK_FILE_PATH}.lock`;
1966
1966
  var STALE_LOCK_MS = 5e3;
1967
1967
  function sleep(ms) {
1968
- return new Promise((resolve5) => setTimeout(resolve5, ms));
1968
+ return new Promise((resolve4) => setTimeout(resolve4, ms));
1969
1969
  }
1970
1970
  async function removeStaleLock() {
1971
1971
  try {
@@ -4245,4 +4245,4 @@ export {
4245
4245
  toSarif,
4246
4246
  validateSkill
4247
4247
  };
4248
- //# sourceMappingURL=chunk-M6KHYT2D.js.map
4248
+ //# sourceMappingURL=chunk-6T3TJQFF.js.map