@amirtechai/xclaude 0.2.1 → 0.2.2

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 +21 -23
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -120358,7 +120358,7 @@ function printStartupScreen() {
120358
120358
  const sLen = ` ● ${sL} Ready — type /help to begin`.length;
120359
120359
  out.push(boxRow(sRow, W2, sLen));
120360
120360
  out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
120361
- out.push(` ${DIM}${rgb(...DIMCOL)}xclaude ${RESET}${rgb(...ACCENT)}v${"0.2.1"}${RESET}`);
120361
+ out.push(` ${DIM}${rgb(...DIMCOL)}xclaude ${RESET}${rgb(...ACCENT)}v${"0.2.2"}${RESET}`);
120362
120362
  out.push("");
120363
120363
  process.stdout.write(out.join(`
120364
120364
  `) + `
@@ -125726,16 +125726,13 @@ function startCapturingEarlyInput() {
125726
125726
  process.stdin.setEncoding("utf8");
125727
125727
  process.stdin.setRawMode(true);
125728
125728
  process.stdin.ref();
125729
- readableHandler = () => {
125730
- let chunk = process.stdin.read();
125731
- while (chunk !== null) {
125732
- if (typeof chunk === "string") {
125733
- processChunk(chunk);
125734
- }
125735
- chunk = process.stdin.read();
125729
+ dataHandler = (chunk) => {
125730
+ if (typeof chunk === "string") {
125731
+ processChunk(chunk);
125736
125732
  }
125737
125733
  };
125738
- process.stdin.on("readable", readableHandler);
125734
+ process.stdin.on("data", dataHandler);
125735
+ process.stdin.resume();
125739
125736
  } catch {
125740
125737
  isCapturing = false;
125741
125738
  }
@@ -125790,10 +125787,11 @@ function stopCapturingEarlyInput() {
125790
125787
  return;
125791
125788
  }
125792
125789
  isCapturing = false;
125793
- if (readableHandler) {
125794
- process.stdin.removeListener("readable", readableHandler);
125795
- readableHandler = null;
125790
+ if (dataHandler) {
125791
+ process.stdin.removeListener("data", dataHandler);
125792
+ dataHandler = null;
125796
125793
  }
125794
+ process.stdin.pause();
125797
125795
  }
125798
125796
  function consumeEarlyInput() {
125799
125797
  stopCapturingEarlyInput();
@@ -125810,7 +125808,7 @@ function seedEarlyInput(text) {
125810
125808
  function isCapturingEarlyInput() {
125811
125809
  return isCapturing;
125812
125810
  }
125813
- var earlyInputBuffer = "", isCapturing = false, readableHandler = null;
125811
+ var earlyInputBuffer = "", isCapturing = false, dataHandler = null;
125814
125812
  var init_earlyInput = __esm(() => {
125815
125813
  init_intl();
125816
125814
  });
@@ -370545,7 +370543,7 @@ function getAnthropicEnvMetadata() {
370545
370543
  function getBuildAgeMinutes() {
370546
370544
  if (false)
370547
370545
  ;
370548
- const buildTime = new Date("2026-04-11T15:51:13.293Z").getTime();
370546
+ const buildTime = new Date("2026-04-11T20:58:44.280Z").getTime();
370549
370547
  if (isNaN(buildTime))
370550
370548
  return;
370551
370549
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -397303,7 +397301,7 @@ function buildPrimarySection() {
397303
397301
  }, undefined, false, undefined, this);
397304
397302
  return [{
397305
397303
  label: "Version",
397306
- value: "0.2.1"
397304
+ value: "0.2.2"
397307
397305
  }, {
397308
397306
  label: "Session name",
397309
397307
  value: nameValue
@@ -462410,7 +462408,7 @@ var init_bridge_kick = __esm(() => {
462410
462408
  var call58 = async () => {
462411
462409
  return {
462412
462410
  type: "text",
462413
- value: `${"99.0.0"} (built ${"2026-04-11T15:51:13.293Z"})`
462411
+ value: `${"99.0.0"} (built ${"2026-04-11T20:58:44.280Z"})`
462414
462412
  };
462415
462413
  }, version2, version_default;
462416
462414
  var init_version = __esm(() => {
@@ -535356,7 +535354,7 @@ function WelcomeV2() {
535356
535354
  dimColor: true,
535357
535355
  children: [
535358
535356
  "v",
535359
- "0.2.1",
535357
+ "0.2.2",
535360
535358
  " "
535361
535359
  ]
535362
535360
  }, undefined, true, undefined, this)
@@ -535556,7 +535554,7 @@ function WelcomeV2() {
535556
535554
  dimColor: true,
535557
535555
  children: [
535558
535556
  "v",
535559
- "0.2.1",
535557
+ "0.2.2",
535560
535558
  " "
535561
535559
  ]
535562
535560
  }, undefined, true, undefined, this)
@@ -535782,7 +535780,7 @@ function AppleTerminalWelcomeV2(t0) {
535782
535780
  dimColor: true,
535783
535781
  children: [
535784
535782
  "v",
535785
- "0.2.1",
535783
+ "0.2.2",
535786
535784
  " "
535787
535785
  ]
535788
535786
  }, undefined, true, undefined, this);
@@ -536036,7 +536034,7 @@ function AppleTerminalWelcomeV2(t0) {
536036
536034
  dimColor: true,
536037
536035
  children: [
536038
536036
  "v",
536039
- "0.2.1",
536037
+ "0.2.2",
536040
536038
  " "
536041
536039
  ]
536042
536040
  }, undefined, true, undefined, this);
@@ -556603,7 +556601,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
556603
556601
  pendingHookMessages
556604
556602
  }, renderAndRun);
556605
556603
  }
556606
- }).version("0.2.1 (Xclaude)", "-v, --version", "Output the version number");
556604
+ }).version("0.2.2 (Xclaude)", "-v, --version", "Output the version number");
556607
556605
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
556608
556606
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
556609
556607
  if (canUserConfigureAdvisor()) {
@@ -557173,7 +557171,7 @@ function validateProviderEnvOrExit() {
557173
557171
  async function main2() {
557174
557172
  const args = process.argv.slice(2);
557175
557173
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
557176
- console.log(`${"0.2.1"} (Xclaude)`);
557174
+ console.log(`${"0.2.2"} (Xclaude)`);
557177
557175
  return;
557178
557176
  }
557179
557177
  if (args.includes("--setup") || args[0] === "setup") {
@@ -557305,4 +557303,4 @@ async function main2() {
557305
557303
  }
557306
557304
  main2();
557307
557305
 
557308
- //# debugId=F510F7C33599CC0D64756E2164756E21
557306
+ //# debugId=9754835AC65C039F64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amirtechai/xclaude",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Groq, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {