@amirtechai/xclaude 0.2.4 → 0.2.5
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 +28 -18
- 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.5"}${RESET}`);
|
|
120362
120362
|
out.push("");
|
|
120363
120363
|
process.stdout.write(out.join(`
|
|
120364
120364
|
`) + `
|
|
@@ -140024,11 +140024,13 @@ $ npm install --save-dev react-devtools-core
|
|
|
140024
140024
|
cleanupYogaNode(removeNode);
|
|
140025
140025
|
getFocusManager(node).handleNodeRemoved(removeNode, node);
|
|
140026
140026
|
},
|
|
140027
|
-
commitUpdate(node,
|
|
140028
|
-
|
|
140027
|
+
commitUpdate(node, _type, oldProps, newProps) {
|
|
140028
|
+
const props = diff(oldProps, newProps);
|
|
140029
|
+
const style = diff(oldProps["style"], newProps["style"]);
|
|
140030
|
+
const nextStyle = newProps["style"];
|
|
140031
|
+
if (!props && !style) {
|
|
140029
140032
|
return;
|
|
140030
140033
|
}
|
|
140031
|
-
const { props, style, nextStyle } = updatePayload;
|
|
140032
140034
|
if (props) {
|
|
140033
140035
|
for (const [key, value] of Object.entries(props)) {
|
|
140034
140036
|
if (key === "style") {
|
|
@@ -370552,7 +370554,7 @@ function getAnthropicEnvMetadata() {
|
|
|
370552
370554
|
function getBuildAgeMinutes() {
|
|
370553
370555
|
if (false)
|
|
370554
370556
|
;
|
|
370555
|
-
const buildTime = new Date("2026-04-12T10:
|
|
370557
|
+
const buildTime = new Date("2026-04-12T10:55:35.876Z").getTime();
|
|
370556
370558
|
if (isNaN(buildTime))
|
|
370557
370559
|
return;
|
|
370558
370560
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -397310,7 +397312,7 @@ function buildPrimarySection() {
|
|
|
397310
397312
|
}, undefined, false, undefined, this);
|
|
397311
397313
|
return [{
|
|
397312
397314
|
label: "Version",
|
|
397313
|
-
value: "0.2.
|
|
397315
|
+
value: "0.2.5"
|
|
397314
397316
|
}, {
|
|
397315
397317
|
label: "Session name",
|
|
397316
397318
|
value: nameValue
|
|
@@ -462417,7 +462419,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
462417
462419
|
var call58 = async () => {
|
|
462418
462420
|
return {
|
|
462419
462421
|
type: "text",
|
|
462420
|
-
value: `${"99.0.0"} (built ${"2026-04-12T10:
|
|
462422
|
+
value: `${"99.0.0"} (built ${"2026-04-12T10:55:35.876Z"})`
|
|
462421
462423
|
};
|
|
462422
462424
|
}, version2, version_default;
|
|
462423
462425
|
var init_version = __esm(() => {
|
|
@@ -514288,10 +514290,18 @@ function PromptInput({
|
|
|
514288
514290
|
});
|
|
514289
514291
|
const [cursorOffset, setCursorOffset] = import_react256.useState(input.length);
|
|
514290
514292
|
const lastInternalInputRef = React144.useRef(input);
|
|
514291
|
-
|
|
514292
|
-
|
|
514293
|
+
const lastPropInputRef = React144.useRef(input);
|
|
514294
|
+
React144.useLayoutEffect(() => {
|
|
514295
|
+
if (input === lastPropInputRef.current) {
|
|
514296
|
+
return;
|
|
514297
|
+
}
|
|
514298
|
+
lastPropInputRef.current = input;
|
|
514299
|
+
if (input === lastInternalInputRef.current) {
|
|
514300
|
+
return;
|
|
514301
|
+
}
|
|
514293
514302
|
lastInternalInputRef.current = input;
|
|
514294
|
-
|
|
514303
|
+
setCursorOffset((prev) => prev === input.length ? prev : input.length);
|
|
514304
|
+
}, [input]);
|
|
514295
514305
|
const trackAndSetInput = React144.useCallback((value) => {
|
|
514296
514306
|
lastInternalInputRef.current = value;
|
|
514297
514307
|
onInputChange(value);
|
|
@@ -515710,7 +515720,7 @@ function PromptInput({
|
|
|
515710
515720
|
multiline: true,
|
|
515711
515721
|
onSubmit,
|
|
515712
515722
|
onChange,
|
|
515713
|
-
value: historyMatch ? getValueFromInput(typeof historyMatch === "string" ? historyMatch : historyMatch.display) : input,
|
|
515723
|
+
value: isSearchingHistory && historyMatch ? getValueFromInput(typeof historyMatch === "string" ? historyMatch : historyMatch.display) : input,
|
|
515714
515724
|
onHistoryUp: handleHistoryUp,
|
|
515715
515725
|
onHistoryDown: handleHistoryDown,
|
|
515716
515726
|
onHistoryReset: resetHistory,
|
|
@@ -535370,7 +535380,7 @@ function WelcomeV2() {
|
|
|
535370
535380
|
dimColor: true,
|
|
535371
535381
|
children: [
|
|
535372
535382
|
"v",
|
|
535373
|
-
"0.2.
|
|
535383
|
+
"0.2.5",
|
|
535374
535384
|
" "
|
|
535375
535385
|
]
|
|
535376
535386
|
}, undefined, true, undefined, this)
|
|
@@ -535570,7 +535580,7 @@ function WelcomeV2() {
|
|
|
535570
535580
|
dimColor: true,
|
|
535571
535581
|
children: [
|
|
535572
535582
|
"v",
|
|
535573
|
-
"0.2.
|
|
535583
|
+
"0.2.5",
|
|
535574
535584
|
" "
|
|
535575
535585
|
]
|
|
535576
535586
|
}, undefined, true, undefined, this)
|
|
@@ -535796,7 +535806,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
535796
535806
|
dimColor: true,
|
|
535797
535807
|
children: [
|
|
535798
535808
|
"v",
|
|
535799
|
-
"0.2.
|
|
535809
|
+
"0.2.5",
|
|
535800
535810
|
" "
|
|
535801
535811
|
]
|
|
535802
535812
|
}, undefined, true, undefined, this);
|
|
@@ -536050,7 +536060,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
536050
536060
|
dimColor: true,
|
|
536051
536061
|
children: [
|
|
536052
536062
|
"v",
|
|
536053
|
-
"0.2.
|
|
536063
|
+
"0.2.5",
|
|
536054
536064
|
" "
|
|
536055
536065
|
]
|
|
536056
536066
|
}, undefined, true, undefined, this);
|
|
@@ -556630,7 +556640,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
556630
556640
|
pendingHookMessages
|
|
556631
556641
|
}, renderAndRun);
|
|
556632
556642
|
}
|
|
556633
|
-
}).version("0.2.
|
|
556643
|
+
}).version("0.2.5 (Xclaude)", "-v, --version", "Output the version number");
|
|
556634
556644
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
556635
556645
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
556636
556646
|
if (canUserConfigureAdvisor()) {
|
|
@@ -557200,7 +557210,7 @@ function validateProviderEnvOrExit() {
|
|
|
557200
557210
|
async function main2() {
|
|
557201
557211
|
const args = process.argv.slice(2);
|
|
557202
557212
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
557203
|
-
console.log(`${"0.2.
|
|
557213
|
+
console.log(`${"0.2.5"} (Xclaude)`);
|
|
557204
557214
|
return;
|
|
557205
557215
|
}
|
|
557206
557216
|
if (args.includes("--setup") || args[0] === "setup") {
|
|
@@ -557332,4 +557342,4 @@ async function main2() {
|
|
|
557332
557342
|
}
|
|
557333
557343
|
main2();
|
|
557334
557344
|
|
|
557335
|
-
//# debugId=
|
|
557345
|
+
//# debugId=80E4DAACD8D70EAA64756E2164756E21
|