@serviceme/devtools-core 0.4.12 → 1.0.0

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/index.js CHANGED
@@ -2768,7 +2768,8 @@ var TOOL_CHECK_TIMEOUT_MS = {
2768
2768
  npm: 15e3,
2769
2769
  pnpm: 15e3,
2770
2770
  nrm: 15e3,
2771
- codegraph: 15e3
2771
+ codegraph: 15e3,
2772
+ ocx: 15e3
2772
2773
  };
2773
2774
  var POSIX_LOGIN_SHELL_FALLBACK_TOOLS = /* @__PURE__ */ new Set([
2774
2775
  "npm",
@@ -2777,7 +2778,8 @@ var POSIX_LOGIN_SHELL_FALLBACK_TOOLS = /* @__PURE__ */ new Set([
2777
2778
  "node",
2778
2779
  "dotnet",
2779
2780
  "rtk",
2780
- "codegraph"
2781
+ "codegraph",
2782
+ "ocx"
2781
2783
  ]);
2782
2784
  var ERROR_CODE_NOT_FOUND = 127;
2783
2785
  var ERROR_CODE_TIMEOUT = "ETIMEDOUT";
@@ -3023,7 +3025,7 @@ var EnvironmentInspector = class {
3023
3025
  }
3024
3026
  async getVersionInvocation(toolName) {
3025
3027
  const isWindows = this.platform === "win32";
3026
- if (isWindows && ["npm", "pnpm", "nrm", "codegraph"].includes(toolName)) {
3028
+ if (isWindows && ["npm", "pnpm", "nrm", "codegraph", "ocx"].includes(toolName)) {
3027
3029
  const shim = await this.getToolShimPath(toolName);
3028
3030
  if (shim) {
3029
3031
  return {
@@ -3045,6 +3047,7 @@ var EnvironmentInspector = class {
3045
3047
  nrm: { command: "nrm", args: ["--version"] },
3046
3048
  rtk: { command: "rtk", args: ["--version"] },
3047
3049
  codegraph: { command: "codegraph", args: ["--version"] },
3050
+ ocx: { command: "ocx", args: ["--version"] },
3048
3051
  dotnet: { command: "dotnet", args: ["--version"] }
3049
3052
  };
3050
3053
  return commands[toolName] || { command: toolName, args: ["--version"] };