codexuse-cli 3.9.1 → 3.9.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.
@@ -2,8 +2,8 @@
2
2
 
3
3
  import childProcess, { execFile } from "node:child_process";
4
4
  import fs from "node:fs";
5
- import os from "node:os";
6
- import path from "node:path";
5
+ import nodeOs from "node:os";
6
+ import nodePath from "node:path";
7
7
  import { fileURLToPath } from "node:url";
8
8
  import fs$1, { constants as constants$1 } from "node:fs/promises";
9
9
  import { promisify } from "node:util";
@@ -49,7 +49,7 @@ function isInsideContainer() {
49
49
  //#region ../../node_modules/.bun/is-wsl@3.1.1/node_modules/is-wsl/index.js
50
50
  const isWsl = () => {
51
51
  if (process.platform !== "linux") return false;
52
- if (os.release().toLowerCase().includes("microsoft")) {
52
+ if (nodeOs.release().toLowerCase().includes("microsoft")) {
53
53
  if (isInsideContainer()) return false;
54
54
  return true;
55
55
  }
@@ -323,8 +323,8 @@ const isInSsh = Boolean(process.env.SSH_CONNECTION || process.env.SSH_CLIENT ||
323
323
  //#endregion
324
324
  //#region ../../node_modules/.bun/open@11.0.0/node_modules/open/index.js
325
325
  const fallbackAttemptSymbol = Symbol("fallbackAttempt");
326
- const __dirname = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
327
- const localXdgOpenPath = path.join(__dirname, "xdg-open");
326
+ const __dirname = import.meta.url ? nodePath.dirname(fileURLToPath(import.meta.url)) : "";
327
+ const localXdgOpenPath = nodePath.join(__dirname, "xdg-open");
328
328
  const { platform, arch } = process;
329
329
  const tryEachApp = async (apps, opener) => {
330
330
  if (apps.length === 0) return;
@@ -551,4 +551,4 @@ defineLazyProperty(apps, "safari", () => detectPlatformBinary({ darwin: "Safari"
551
551
  //#endregion
552
552
  export { apps, open as default, openApp };
553
553
 
554
- //# sourceMappingURL=open-DX6_a9Ta.mjs.map
554
+ //# sourceMappingURL=open-BWXrZXJl.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codexuse-cli",
3
- "version": "3.9.1",
3
+ "version": "3.9.7",
4
4
  "description": "CodexUse CLI for profiles, Accounts Pool, daemon mode, licenses, and sync.",
5
5
  "author": {
6
6
  "name": "Hoang",