@amirtechai/xclaude 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +38 -39
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -1695,7 +1695,7 @@ import { createInterface } from "readline";
1695
1695
  import { existsSync as existsSync4 } from "fs";
1696
1696
  import { homedir as homedir4 } from "os";
1697
1697
  import { join as join4 } from "path";
1698
- function needsFirstRunSetup(env = process.env) {
1698
+ function needsFirstRunSetup(env = process.env, globalProfilePath = GLOBAL_PROFILE_PATH) {
1699
1699
  if (env.CLAUDE_CODE_USE_OPENAI || env.CLAUDE_CODE_USE_GEMINI || env.CLAUDE_CODE_USE_GITHUB || env.CLAUDE_CODE_USE_BEDROCK || env.CLAUDE_CODE_USE_VERTEX || env.CLAUDE_CODE_USE_FOUNDRY) {
1700
1700
  return false;
1701
1701
  }
@@ -1705,7 +1705,7 @@ function needsFirstRunSetup(env = process.env) {
1705
1705
  if (existsSync4(join4(process.cwd(), PROFILE_FILE_NAME))) {
1706
1706
  return false;
1707
1707
  }
1708
- if (existsSync4(GLOBAL_PROFILE_PATH)) {
1708
+ if (existsSync4(globalProfilePath)) {
1709
1709
  return false;
1710
1710
  }
1711
1711
  return true;
@@ -120306,9 +120306,8 @@ function detectProvider() {
120306
120306
  if (alias in codexAliases) {
120307
120307
  const resolved = codexAliases[alias];
120308
120308
  displayModel = resolved.model;
120309
- if (resolved.reasoningEffort) {
120309
+ if (resolved.reasoningEffort)
120310
120310
  displayModel = `${displayModel} (${resolved.reasoningEffort})`;
120311
- }
120312
120311
  }
120313
120312
  return { name, model: displayModel, baseUrl, isLocal };
120314
120313
  }
@@ -120326,14 +120325,14 @@ function printStartupScreen() {
120326
120325
  const W2 = 62;
120327
120326
  const out = [];
120328
120327
  out.push("");
120329
- const allLogo = [...LOGO_OPEN, "", ...LOGO_CLAUDE];
120328
+ const allLogo = [...LOGO_X, "", ...LOGO_CLAUDE];
120330
120329
  const total = allLogo.length;
120331
120330
  for (let i2 = 0;i2 < total; i2++) {
120332
120331
  const t = total > 1 ? i2 / (total - 1) : 0;
120333
120332
  if (allLogo[i2] === "") {
120334
120333
  out.push("");
120335
120334
  } else {
120336
- out.push(paintLine(allLogo[i2], SUNSET_GRAD, t));
120335
+ out.push(paintLine(allLogo[i2], BLUE_GRAD, t));
120337
120336
  }
120338
120337
  }
120339
120338
  out.push("");
@@ -120344,7 +120343,7 @@ function printStartupScreen() {
120344
120343
  const padK = k.padEnd(9);
120345
120344
  return [` ${DIM}${rgb(...DIMCOL)}${padK}${RESET} ${rgb(...c5)}${v}${RESET}`, ` ${padK} ${v}`.length];
120346
120345
  };
120347
- const provC = p.isLocal ? [130, 175, 130] : ACCENT;
120346
+ const provC = p.isLocal ? [80, 200, 120] : ACCENT;
120348
120347
  let [r, l] = lbl("Provider", p.name, provC);
120349
120348
  out.push(boxRow(r, W2, l));
120350
120349
  [r, l] = lbl("Model", p.model);
@@ -120353,41 +120352,41 @@ function printStartupScreen() {
120353
120352
  [r, l] = lbl("Endpoint", ep);
120354
120353
  out.push(boxRow(r, W2, l));
120355
120354
  out.push(`${rgb(...BORDER)}╠${"═".repeat(W2 - 2)}╣${RESET}`);
120356
- const sC = p.isLocal ? [130, 175, 130] : ACCENT;
120355
+ const sC = p.isLocal ? [80, 200, 120] : ACCENT;
120357
120356
  const sL = p.isLocal ? "local" : "cloud";
120358
120357
  const sRow = ` ${rgb(...sC)}●${RESET} ${DIM}${rgb(...DIMCOL)}${sL}${RESET} ${DIM}${rgb(...DIMCOL)}Ready — type ${RESET}${rgb(...ACCENT)}/help${RESET}${DIM}${rgb(...DIMCOL)} to begin${RESET}`;
120359
120358
  const sLen = ` ● ${sL} Ready — type /help to begin`.length;
120360
120359
  out.push(boxRow(sRow, W2, sLen));
120361
120360
  out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
120362
- out.push(` ${DIM}${rgb(...DIMCOL)}xclaude ${RESET}${rgb(...ACCENT)}v${"0.2.0"}${RESET}`);
120361
+ out.push(` ${DIM}${rgb(...DIMCOL)}xclaude ${RESET}${rgb(...ACCENT)}v${"0.2.1"}${RESET}`);
120363
120362
  out.push("");
120364
120363
  process.stdout.write(out.join(`
120365
120364
  `) + `
120366
120365
  `);
120367
120366
  }
120368
- var ESC = "\x1B[", RESET, DIM, rgb = (r, g, b) => `${ESC}38;2;${r};${g};${b}m`, SUNSET_GRAD, ACCENT, CREAM, DIMCOL, BORDER, LOGO_OPEN, LOGO_CLAUDE;
120367
+ var ESC = "\x1B[", RESET, DIM, rgb = (r, g, b) => `${ESC}38;2;${r};${g};${b}m`, BLUE_GRAD, ACCENT, CREAM, DIMCOL, BORDER, LOGO_X, LOGO_CLAUDE;
120369
120368
  var init_StartupScreen = __esm(() => {
120370
120369
  RESET = `${ESC}0m`;
120371
120370
  DIM = `${ESC}2m`;
120372
- SUNSET_GRAD = [
120373
- [255, 180, 100],
120374
- [240, 140, 80],
120375
- [217, 119, 87],
120376
- [193, 95, 60],
120377
- [160, 75, 55],
120378
- [130, 60, 50]
120371
+ BLUE_GRAD = [
120372
+ [0, 40, 160],
120373
+ [0, 80, 210],
120374
+ [0, 127, 255],
120375
+ [30, 160, 255],
120376
+ [70, 195, 255],
120377
+ [110, 225, 255]
120379
120378
  ];
120380
- ACCENT = [240, 148, 100];
120381
- CREAM = [220, 195, 170];
120382
- DIMCOL = [120, 100, 82];
120383
- BORDER = [100, 80, 65];
120384
- LOGO_OPEN = [
120385
- ` ████████╗ ████████╗ ████████╗ ██╗ ██╗`,
120386
- ` ██╔═══██║ ██╔═══██║ ██╔═════╝ ███╗ ██║`,
120387
- ` ██║ ██║ ████████║ ██████╗ ████╗██║`,
120388
- ` ██║ ██║ ██╔═════╝ ██╔═══╝ ██╔████║`,
120389
- ` ████████║ ██║ ████████╗ ██║ ╚███║`,
120390
- ` ╚═══════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚══╝`
120379
+ ACCENT = [0, 127, 255];
120380
+ CREAM = [200, 225, 255];
120381
+ DIMCOL = [70, 110, 175];
120382
+ BORDER = [30, 75, 150];
120383
+ LOGO_X = [
120384
+ ` ██╗ ██╗`,
120385
+ ` ╚██╗ ██╔╝`,
120386
+ ` ╚███╔╝ `,
120387
+ ` ██╔██╗ `,
120388
+ ` ██╔╝ ╚██╗`,
120389
+ ` ╚═╝ ╚═╝`
120391
120390
  ];
120392
120391
  LOGO_CLAUDE = [
120393
120392
  ` ████████╗ ██╗ ████████╗ ██╗ ██╗ ████████╗ ████████╗`,
@@ -144545,7 +144544,7 @@ var init_App = __esm(() => {
144545
144544
  internal_eventEmitter = new EventEmitter3;
144546
144545
  keyParseState = INITIAL_STATE;
144547
144546
  incompleteEscapeTimer = null;
144548
- stdinMode = process.env.XCLAUDE_USE_READABLE_STDIN === "1" ? "readable" : "data";
144547
+ stdinMode = process.env.XCLAUDE_STDIN_DATA_MODE === "1" ? "data" : "readable";
144549
144548
  NORMAL_TIMEOUT = 50;
144550
144549
  PASTE_TIMEOUT = 500;
144551
144550
  querier = new TerminalQuerier(this.props.stdout);
@@ -370546,7 +370545,7 @@ function getAnthropicEnvMetadata() {
370546
370545
  function getBuildAgeMinutes() {
370547
370546
  if (false)
370548
370547
  ;
370549
- const buildTime = new Date("2026-04-07T07:25:48.437Z").getTime();
370548
+ const buildTime = new Date("2026-04-11T15:51:13.293Z").getTime();
370550
370549
  if (isNaN(buildTime))
370551
370550
  return;
370552
370551
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -397304,7 +397303,7 @@ function buildPrimarySection() {
397304
397303
  }, undefined, false, undefined, this);
397305
397304
  return [{
397306
397305
  label: "Version",
397307
- value: "0.2.0"
397306
+ value: "0.2.1"
397308
397307
  }, {
397309
397308
  label: "Session name",
397310
397309
  value: nameValue
@@ -462411,7 +462410,7 @@ var init_bridge_kick = __esm(() => {
462411
462410
  var call58 = async () => {
462412
462411
  return {
462413
462412
  type: "text",
462414
- value: `${"99.0.0"} (built ${"2026-04-07T07:25:48.437Z"})`
462413
+ value: `${"99.0.0"} (built ${"2026-04-11T15:51:13.293Z"})`
462415
462414
  };
462416
462415
  }, version2, version_default;
462417
462416
  var init_version = __esm(() => {
@@ -535357,7 +535356,7 @@ function WelcomeV2() {
535357
535356
  dimColor: true,
535358
535357
  children: [
535359
535358
  "v",
535360
- "0.2.0",
535359
+ "0.2.1",
535361
535360
  " "
535362
535361
  ]
535363
535362
  }, undefined, true, undefined, this)
@@ -535557,7 +535556,7 @@ function WelcomeV2() {
535557
535556
  dimColor: true,
535558
535557
  children: [
535559
535558
  "v",
535560
- "0.2.0",
535559
+ "0.2.1",
535561
535560
  " "
535562
535561
  ]
535563
535562
  }, undefined, true, undefined, this)
@@ -535783,7 +535782,7 @@ function AppleTerminalWelcomeV2(t0) {
535783
535782
  dimColor: true,
535784
535783
  children: [
535785
535784
  "v",
535786
- "0.2.0",
535785
+ "0.2.1",
535787
535786
  " "
535788
535787
  ]
535789
535788
  }, undefined, true, undefined, this);
@@ -536037,7 +536036,7 @@ function AppleTerminalWelcomeV2(t0) {
536037
536036
  dimColor: true,
536038
536037
  children: [
536039
536038
  "v",
536040
- "0.2.0",
536039
+ "0.2.1",
536041
536040
  " "
536042
536041
  ]
536043
536042
  }, undefined, true, undefined, this);
@@ -556604,7 +556603,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
556604
556603
  pendingHookMessages
556605
556604
  }, renderAndRun);
556606
556605
  }
556607
- }).version("0.2.0 (Xclaude)", "-v, --version", "Output the version number");
556606
+ }).version("0.2.1 (Xclaude)", "-v, --version", "Output the version number");
556608
556607
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
556609
556608
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
556610
556609
  if (canUserConfigureAdvisor()) {
@@ -557174,7 +557173,7 @@ function validateProviderEnvOrExit() {
557174
557173
  async function main2() {
557175
557174
  const args = process.argv.slice(2);
557176
557175
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
557177
- console.log(`${"0.2.0"} (Xclaude)`);
557176
+ console.log(`${"0.2.1"} (Xclaude)`);
557178
557177
  return;
557179
557178
  }
557180
557179
  if (args.includes("--setup") || args[0] === "setup") {
@@ -557306,4 +557305,4 @@ async function main2() {
557306
557305
  }
557307
557306
  main2();
557308
557307
 
557309
- //# debugId=420B7507C9CF1C6E64756E2164756E21
557308
+ //# debugId=F510F7C33599CC0D64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amirtechai/xclaude",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Groq, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {