@amirtechai/xclaude 0.2.1 → 0.2.3

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 +36 -31
  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.3"}${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-12T10:32:18.586Z").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.3"
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-12T10:32:18.586Z"})`
462414
462412
  };
462415
462413
  }, version2, version_default;
462416
462414
  var init_version = __esm(() => {
@@ -531052,11 +531050,6 @@ function REPL({
531052
531050
  enabled: !isRemoteSession
531053
531051
  });
531054
531052
  const tasksV2 = useTasksV2WithCollapseEffect();
531055
- import_react314.useEffect(() => {
531056
- if (isRemoteSession)
531057
- return;
531058
- performStartupChecks(setAppState);
531059
- }, [setAppState, isRemoteSession]);
531060
531053
  usePromptsFromClaudeInChrome(isRemoteSession ? EMPTY_MCP_CLIENTS2 : mcpClients, toolPermissionContext.mode);
531061
531054
  useSwarmInitialization(setAppState, initialMessages, {
531062
531055
  enabled: !isRemoteSession
@@ -531368,6 +531361,18 @@ function REPL({
531368
531361
  const activeRemote = sshRemote.isRemoteMode ? sshRemote : directConnect.isRemoteMode ? directConnect : remoteSession;
531369
531362
  const [pastedContents, setPastedContents] = import_react314.useState({});
531370
531363
  const [submitCount, setSubmitCount] = import_react314.useState(0);
531364
+ const startupChecksStartedRef = import_react314.useRef(false);
531365
+ const hasHadFirstSubmission = (submitCount ?? 0) > 0;
531366
+ import_react314.useEffect(() => {
531367
+ if (isRemoteSession)
531368
+ return;
531369
+ if (startupChecksStartedRef.current)
531370
+ return;
531371
+ if (!hasHadFirstSubmission)
531372
+ return;
531373
+ startupChecksStartedRef.current = true;
531374
+ performStartupChecks(setAppState);
531375
+ }, [setAppState, isRemoteSession, hasHadFirstSubmission]);
531371
531376
  const responseLengthRef = import_react314.useRef(0);
531372
531377
  const apiMetricsRef2 = import_react314.useRef([]);
531373
531378
  const setResponseLength = import_react314.useCallback((f) => {
@@ -531713,11 +531718,11 @@ function REPL({
531713
531718
  return "effort-callout";
531714
531719
  if (allowDialogsWithAnimation && showRemoteCallout)
531715
531720
  return "remote-callout";
531716
- if (allowDialogsWithAnimation && lspRecommendation)
531721
+ if (allowDialogsWithAnimation && lspRecommendation && startupChecksStartedRef.current)
531717
531722
  return "lsp-recommendation";
531718
- if (allowDialogsWithAnimation && hintRecommendation)
531723
+ if (allowDialogsWithAnimation && hintRecommendation && startupChecksStartedRef.current)
531719
531724
  return "plugin-hint";
531720
- if (allowDialogsWithAnimation && showDesktopUpsellStartup)
531725
+ if (allowDialogsWithAnimation && showDesktopUpsellStartup && startupChecksStartedRef.current)
531721
531726
  return "desktop-upsell";
531722
531727
  return;
531723
531728
  }
@@ -535356,7 +535361,7 @@ function WelcomeV2() {
535356
535361
  dimColor: true,
535357
535362
  children: [
535358
535363
  "v",
535359
- "0.2.1",
535364
+ "0.2.3",
535360
535365
  " "
535361
535366
  ]
535362
535367
  }, undefined, true, undefined, this)
@@ -535556,7 +535561,7 @@ function WelcomeV2() {
535556
535561
  dimColor: true,
535557
535562
  children: [
535558
535563
  "v",
535559
- "0.2.1",
535564
+ "0.2.3",
535560
535565
  " "
535561
535566
  ]
535562
535567
  }, undefined, true, undefined, this)
@@ -535782,7 +535787,7 @@ function AppleTerminalWelcomeV2(t0) {
535782
535787
  dimColor: true,
535783
535788
  children: [
535784
535789
  "v",
535785
- "0.2.1",
535790
+ "0.2.3",
535786
535791
  " "
535787
535792
  ]
535788
535793
  }, undefined, true, undefined, this);
@@ -536036,7 +536041,7 @@ function AppleTerminalWelcomeV2(t0) {
536036
536041
  dimColor: true,
536037
536042
  children: [
536038
536043
  "v",
536039
- "0.2.1",
536044
+ "0.2.3",
536040
536045
  " "
536041
536046
  ]
536042
536047
  }, undefined, true, undefined, this);
@@ -556603,7 +556608,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
556603
556608
  pendingHookMessages
556604
556609
  }, renderAndRun);
556605
556610
  }
556606
- }).version("0.2.1 (Xclaude)", "-v, --version", "Output the version number");
556611
+ }).version("0.2.3 (Xclaude)", "-v, --version", "Output the version number");
556607
556612
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
556608
556613
  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
556614
  if (canUserConfigureAdvisor()) {
@@ -557173,7 +557178,7 @@ function validateProviderEnvOrExit() {
557173
557178
  async function main2() {
557174
557179
  const args = process.argv.slice(2);
557175
557180
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
557176
- console.log(`${"0.2.1"} (Xclaude)`);
557181
+ console.log(`${"0.2.3"} (Xclaude)`);
557177
557182
  return;
557178
557183
  }
557179
557184
  if (args.includes("--setup") || args[0] === "setup") {
@@ -557305,4 +557310,4 @@ async function main2() {
557305
557310
  }
557306
557311
  main2();
557307
557312
 
557308
- //# debugId=F510F7C33599CC0D64756E2164756E21
557313
+ //# debugId=EA0AD9D6E2112D4664756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amirtechai/xclaude",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Groq, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {