@amirtechai/xclaude 0.2.2 → 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.
- package/dist/cli.mjs +26 -19
- 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.
|
|
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
|
`) + `
|
|
@@ -370543,7 +370543,7 @@ function getAnthropicEnvMetadata() {
|
|
|
370543
370543
|
function getBuildAgeMinutes() {
|
|
370544
370544
|
if (false)
|
|
370545
370545
|
;
|
|
370546
|
-
const buildTime = new Date("2026-04-
|
|
370546
|
+
const buildTime = new Date("2026-04-12T10:32:18.586Z").getTime();
|
|
370547
370547
|
if (isNaN(buildTime))
|
|
370548
370548
|
return;
|
|
370549
370549
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -397301,7 +397301,7 @@ function buildPrimarySection() {
|
|
|
397301
397301
|
}, undefined, false, undefined, this);
|
|
397302
397302
|
return [{
|
|
397303
397303
|
label: "Version",
|
|
397304
|
-
value: "0.2.
|
|
397304
|
+
value: "0.2.3"
|
|
397305
397305
|
}, {
|
|
397306
397306
|
label: "Session name",
|
|
397307
397307
|
value: nameValue
|
|
@@ -462408,7 +462408,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
462408
462408
|
var call58 = async () => {
|
|
462409
462409
|
return {
|
|
462410
462410
|
type: "text",
|
|
462411
|
-
value: `${"99.0.0"} (built ${"2026-04-
|
|
462411
|
+
value: `${"99.0.0"} (built ${"2026-04-12T10:32:18.586Z"})`
|
|
462412
462412
|
};
|
|
462413
462413
|
}, version2, version_default;
|
|
462414
462414
|
var init_version = __esm(() => {
|
|
@@ -531050,11 +531050,6 @@ function REPL({
|
|
|
531050
531050
|
enabled: !isRemoteSession
|
|
531051
531051
|
});
|
|
531052
531052
|
const tasksV2 = useTasksV2WithCollapseEffect();
|
|
531053
|
-
import_react314.useEffect(() => {
|
|
531054
|
-
if (isRemoteSession)
|
|
531055
|
-
return;
|
|
531056
|
-
performStartupChecks(setAppState);
|
|
531057
|
-
}, [setAppState, isRemoteSession]);
|
|
531058
531053
|
usePromptsFromClaudeInChrome(isRemoteSession ? EMPTY_MCP_CLIENTS2 : mcpClients, toolPermissionContext.mode);
|
|
531059
531054
|
useSwarmInitialization(setAppState, initialMessages, {
|
|
531060
531055
|
enabled: !isRemoteSession
|
|
@@ -531366,6 +531361,18 @@ function REPL({
|
|
|
531366
531361
|
const activeRemote = sshRemote.isRemoteMode ? sshRemote : directConnect.isRemoteMode ? directConnect : remoteSession;
|
|
531367
531362
|
const [pastedContents, setPastedContents] = import_react314.useState({});
|
|
531368
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]);
|
|
531369
531376
|
const responseLengthRef = import_react314.useRef(0);
|
|
531370
531377
|
const apiMetricsRef2 = import_react314.useRef([]);
|
|
531371
531378
|
const setResponseLength = import_react314.useCallback((f) => {
|
|
@@ -531711,11 +531718,11 @@ function REPL({
|
|
|
531711
531718
|
return "effort-callout";
|
|
531712
531719
|
if (allowDialogsWithAnimation && showRemoteCallout)
|
|
531713
531720
|
return "remote-callout";
|
|
531714
|
-
if (allowDialogsWithAnimation && lspRecommendation)
|
|
531721
|
+
if (allowDialogsWithAnimation && lspRecommendation && startupChecksStartedRef.current)
|
|
531715
531722
|
return "lsp-recommendation";
|
|
531716
|
-
if (allowDialogsWithAnimation && hintRecommendation)
|
|
531723
|
+
if (allowDialogsWithAnimation && hintRecommendation && startupChecksStartedRef.current)
|
|
531717
531724
|
return "plugin-hint";
|
|
531718
|
-
if (allowDialogsWithAnimation && showDesktopUpsellStartup)
|
|
531725
|
+
if (allowDialogsWithAnimation && showDesktopUpsellStartup && startupChecksStartedRef.current)
|
|
531719
531726
|
return "desktop-upsell";
|
|
531720
531727
|
return;
|
|
531721
531728
|
}
|
|
@@ -535354,7 +535361,7 @@ function WelcomeV2() {
|
|
|
535354
535361
|
dimColor: true,
|
|
535355
535362
|
children: [
|
|
535356
535363
|
"v",
|
|
535357
|
-
"0.2.
|
|
535364
|
+
"0.2.3",
|
|
535358
535365
|
" "
|
|
535359
535366
|
]
|
|
535360
535367
|
}, undefined, true, undefined, this)
|
|
@@ -535554,7 +535561,7 @@ function WelcomeV2() {
|
|
|
535554
535561
|
dimColor: true,
|
|
535555
535562
|
children: [
|
|
535556
535563
|
"v",
|
|
535557
|
-
"0.2.
|
|
535564
|
+
"0.2.3",
|
|
535558
535565
|
" "
|
|
535559
535566
|
]
|
|
535560
535567
|
}, undefined, true, undefined, this)
|
|
@@ -535780,7 +535787,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
535780
535787
|
dimColor: true,
|
|
535781
535788
|
children: [
|
|
535782
535789
|
"v",
|
|
535783
|
-
"0.2.
|
|
535790
|
+
"0.2.3",
|
|
535784
535791
|
" "
|
|
535785
535792
|
]
|
|
535786
535793
|
}, undefined, true, undefined, this);
|
|
@@ -536034,7 +536041,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
536034
536041
|
dimColor: true,
|
|
536035
536042
|
children: [
|
|
536036
536043
|
"v",
|
|
536037
|
-
"0.2.
|
|
536044
|
+
"0.2.3",
|
|
536038
536045
|
" "
|
|
536039
536046
|
]
|
|
536040
536047
|
}, undefined, true, undefined, this);
|
|
@@ -556601,7 +556608,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
556601
556608
|
pendingHookMessages
|
|
556602
556609
|
}, renderAndRun);
|
|
556603
556610
|
}
|
|
556604
|
-
}).version("0.2.
|
|
556611
|
+
}).version("0.2.3 (Xclaude)", "-v, --version", "Output the version number");
|
|
556605
556612
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
556606
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.");
|
|
556607
556614
|
if (canUserConfigureAdvisor()) {
|
|
@@ -557171,7 +557178,7 @@ function validateProviderEnvOrExit() {
|
|
|
557171
557178
|
async function main2() {
|
|
557172
557179
|
const args = process.argv.slice(2);
|
|
557173
557180
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
557174
|
-
console.log(`${"0.2.
|
|
557181
|
+
console.log(`${"0.2.3"} (Xclaude)`);
|
|
557175
557182
|
return;
|
|
557176
557183
|
}
|
|
557177
557184
|
if (args.includes("--setup") || args[0] === "setup") {
|
|
@@ -557303,4 +557310,4 @@ async function main2() {
|
|
|
557303
557310
|
}
|
|
557304
557311
|
main2();
|
|
557305
557312
|
|
|
557306
|
-
//# debugId=
|
|
557313
|
+
//# debugId=EA0AD9D6E2112D4664756E2164756E21
|