shellx-cli 0.0.8 → 0.0.9

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.
Binary file
@@ -1 +1 @@
1
- 8137af038ce082a1ac85825ed9bce6cdcf96e7735bafc7e9c0b79a5cc9903cf6 *shellx.apk
1
+ 7306e895435f5ee2758e92d34a4d82a581a854eebaa1448378c7437a2a79d3b8 *shellx.apk
package/bundle/shellx.js CHANGED
@@ -138007,7 +138007,7 @@ var init_git_commit = __esm({
138007
138007
  "packages/core/dist/src/generated/git-commit.js"() {
138008
138008
  "use strict";
138009
138009
  GIT_COMMIT_INFO = "979a427a";
138010
- CLI_VERSION = "0.0.8";
138010
+ CLI_VERSION = "0.0.9";
138011
138011
  }
138012
138012
  });
138013
138013
 
@@ -150655,7 +150655,7 @@ function createContentGeneratorConfig(config, authType) {
150655
150655
  return contentGeneratorConfig;
150656
150656
  }
150657
150657
  async function createContentGenerator(config, gcConfig, sessionId2) {
150658
- const version2 = "0.0.8";
150658
+ const version2 = "0.0.9";
150659
150659
  const userAgent2 = `GeminiCLI/${version2} (${process.platform}; ${process.arch})`;
150660
150660
  const baseHeaders = {
150661
150661
  "User-Agent": userAgent2
@@ -236957,11 +236957,11 @@ function getShellXExecutableInfo() {
236957
236957
  }
236958
236958
  async function launchShellXIfInstalled() {
236959
236959
  if (isShellXInstalled()) {
236960
- return await launchShellX();
236960
+ return await launchShellX(true);
236961
236961
  }
236962
236962
  return false;
236963
236963
  }
236964
- async function ensureShellXAndLaunch(justStart = false) {
236964
+ async function ensureShellXAndLaunch(justStart = true) {
236965
236965
  try {
236966
236966
  console.log("Checking ShellX installation...");
236967
236967
  const assetPath = getAssetPath();
@@ -386432,19 +386432,21 @@ var init_config2 = __esm({
386432
386432
  console.log("\u2705 ShellX connected successfully!");
386433
386433
  } catch (error) {
386434
386434
  console.warn(`\u274C ShellX connection failed: ${error instanceof Error ? error.message : String(error)}`);
386435
- console.log("");
386436
- console.log("\u{1F4E6} Checking ShellX installation...");
386437
- const shellxResult = await ensureShellXAndLaunch();
386438
- if (shellxResult.success) {
386439
- console.log(`\u2705 ${shellxResult.message}`);
386440
- } else {
386441
- console.error(`\u274C ${shellxResult.message}`);
386435
+ if (retryCount === 0) {
386442
386436
  console.log("");
386443
- console.log("Please ensure:");
386444
- console.log(" 1. ShellX app is installed on your Android device");
386445
- console.log(" 2. Device is connected via ADB");
386446
- console.log(" 3. USB debugging is enabled");
386447
- console.log(' 4. Run "adb devices" to verify device connection');
386437
+ console.log("\u{1F4E6} Checking ShellX installation...");
386438
+ const shellxResult = await ensureShellXAndLaunch(true);
386439
+ if (shellxResult.success) {
386440
+ console.log(`\u2705 ${shellxResult.message}`);
386441
+ } else {
386442
+ console.error(`\u274C ${shellxResult.message}`);
386443
+ console.log("");
386444
+ console.log("Please ensure:");
386445
+ console.log(" 1. ShellX app is installed on your Android device");
386446
+ console.log(" 2. Device is connected via ADB");
386447
+ console.log(" 3. USB debugging is enabled");
386448
+ console.log(' 4. Run "adb devices" to verify device connection');
386449
+ }
386448
386450
  }
386449
386451
  const retryDelay = Math.min(5e3 + retryCount * 2e3, 3e4);
386450
386452
  console.log("");
@@ -434684,7 +434686,7 @@ async function getPackageJson() {
434684
434686
  // packages/cli/src/utils/version.ts
434685
434687
  async function getCliVersion() {
434686
434688
  const pkgJson = await getPackageJson();
434687
- return "0.0.8";
434689
+ return "0.0.9";
434688
434690
  }
434689
434691
 
434690
434692
  // packages/cli/src/ui/commands/aboutCommand.ts
@@ -435022,7 +435024,7 @@ init_open();
435022
435024
  import process31 from "node:process";
435023
435025
 
435024
435026
  // packages/cli/src/generated/git-commit.ts
435025
- var GIT_COMMIT_INFO2 = "979a427a";
435027
+ var GIT_COMMIT_INFO2 = "fecca9c3";
435026
435028
 
435027
435029
  // packages/cli/src/ui/commands/bugCommand.ts
435028
435030
  init_dist5();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shellx-cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },
@@ -1,5 +0,0 @@
1
- # ShellX Binary Assets
2
-
3
- This directory contains the platform-specific ShellX binaries.
4
-
5
- Current platform: linux-x64