@amirtechai/xclaude 0.1.7 → 0.1.8
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/README.md +1 -1
- package/dist/cli.mjs +23 -19
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ file for details.
|
|
|
34
34
|
### Install
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
npm install -g @
|
|
37
|
+
npm install -g @amirtechai/xclaude
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
If the npm install path later reports `ripgrep not found`, install ripgrep system-wide and confirm `rg --version` works in the same terminal before starting Xclaude.
|
package/dist/cli.mjs
CHANGED
|
@@ -110635,6 +110635,8 @@ async function* openaiStreamToAnthropic(response, model) {
|
|
|
110635
110635
|
type: "content_block_stop",
|
|
110636
110636
|
index: contentBlockIndex
|
|
110637
110637
|
};
|
|
110638
|
+
contentBlockIndex++;
|
|
110639
|
+
hasEmittedContentStart = false;
|
|
110638
110640
|
}
|
|
110639
110641
|
for (const [, tc] of activeToolCalls) {
|
|
110640
110642
|
let suffixToAdd = "";
|
|
@@ -110678,14 +110680,11 @@ async function* openaiStreamToAnthropic(response, model) {
|
|
|
110678
110680
|
}
|
|
110679
110681
|
const stopReason = choice.finish_reason === "tool_calls" ? "tool_use" : choice.finish_reason === "length" ? "max_tokens" : "end_turn";
|
|
110680
110682
|
if (choice.finish_reason === "content_filter" || choice.finish_reason === "safety") {
|
|
110681
|
-
|
|
110682
|
-
|
|
110683
|
-
|
|
110684
|
-
|
|
110685
|
-
|
|
110686
|
-
};
|
|
110687
|
-
hasEmittedContentStart = true;
|
|
110688
|
-
}
|
|
110683
|
+
yield {
|
|
110684
|
+
type: "content_block_start",
|
|
110685
|
+
index: contentBlockIndex,
|
|
110686
|
+
content_block: { type: "text", text: "" }
|
|
110687
|
+
};
|
|
110689
110688
|
yield {
|
|
110690
110689
|
type: "content_block_delta",
|
|
110691
110690
|
index: contentBlockIndex,
|
|
@@ -110693,6 +110692,7 @@ async function* openaiStreamToAnthropic(response, model) {
|
|
|
110693
110692
|
|
|
110694
110693
|
[Content blocked by provider safety filter]` }
|
|
110695
110694
|
};
|
|
110695
|
+
yield { type: "content_block_stop", index: contentBlockIndex };
|
|
110696
110696
|
}
|
|
110697
110697
|
lastStopReason = stopReason;
|
|
110698
110698
|
yield {
|
|
@@ -110828,6 +110828,10 @@ class OpenAIShimMessages {
|
|
|
110828
110828
|
}
|
|
110829
110829
|
}
|
|
110830
110830
|
}
|
|
110831
|
+
const reasoningEffort = request.reasoning?.effort ?? this.reasoningEffort;
|
|
110832
|
+
if (reasoningEffort) {
|
|
110833
|
+
body.reasoning_effort = reasoningEffort;
|
|
110834
|
+
}
|
|
110831
110835
|
const headers = {
|
|
110832
110836
|
"Content-Type": "application/json",
|
|
110833
110837
|
...this.defaultHeaders,
|
|
@@ -120071,7 +120075,7 @@ function printStartupScreen() {
|
|
|
120071
120075
|
const sLen = ` ● ${sL} Ready — type /help to begin`.length;
|
|
120072
120076
|
out.push(boxRow(sRow, W2, sLen));
|
|
120073
120077
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
120074
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}xclaude ${RESET}${rgb(...ACCENT)}v${"0.1.
|
|
120078
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}xclaude ${RESET}${rgb(...ACCENT)}v${"0.1.8"}${RESET}`);
|
|
120075
120079
|
out.push("");
|
|
120076
120080
|
process.stdout.write(out.join(`
|
|
120077
120081
|
`) + `
|
|
@@ -370254,7 +370258,7 @@ function getAnthropicEnvMetadata() {
|
|
|
370254
370258
|
function getBuildAgeMinutes() {
|
|
370255
370259
|
if (false)
|
|
370256
370260
|
;
|
|
370257
|
-
const buildTime = new Date("2026-04-06T17:
|
|
370261
|
+
const buildTime = new Date("2026-04-06T17:42:21.676Z").getTime();
|
|
370258
370262
|
if (isNaN(buildTime))
|
|
370259
370263
|
return;
|
|
370260
370264
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -397012,7 +397016,7 @@ function buildPrimarySection() {
|
|
|
397012
397016
|
}, undefined, false, undefined, this);
|
|
397013
397017
|
return [{
|
|
397014
397018
|
label: "Version",
|
|
397015
|
-
value: "0.1.
|
|
397019
|
+
value: "0.1.8"
|
|
397016
397020
|
}, {
|
|
397017
397021
|
label: "Session name",
|
|
397018
397022
|
value: nameValue
|
|
@@ -462119,7 +462123,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
462119
462123
|
var call58 = async () => {
|
|
462120
462124
|
return {
|
|
462121
462125
|
type: "text",
|
|
462122
|
-
value: `${"99.0.0"} (built ${"2026-04-06T17:
|
|
462126
|
+
value: `${"99.0.0"} (built ${"2026-04-06T17:42:21.676Z"})`
|
|
462123
462127
|
};
|
|
462124
462128
|
}, version2, version_default;
|
|
462125
462129
|
var init_version = __esm(() => {
|
|
@@ -535065,7 +535069,7 @@ function WelcomeV2() {
|
|
|
535065
535069
|
dimColor: true,
|
|
535066
535070
|
children: [
|
|
535067
535071
|
"v",
|
|
535068
|
-
"0.1.
|
|
535072
|
+
"0.1.8",
|
|
535069
535073
|
" "
|
|
535070
535074
|
]
|
|
535071
535075
|
}, undefined, true, undefined, this)
|
|
@@ -535265,7 +535269,7 @@ function WelcomeV2() {
|
|
|
535265
535269
|
dimColor: true,
|
|
535266
535270
|
children: [
|
|
535267
535271
|
"v",
|
|
535268
|
-
"0.1.
|
|
535272
|
+
"0.1.8",
|
|
535269
535273
|
" "
|
|
535270
535274
|
]
|
|
535271
535275
|
}, undefined, true, undefined, this)
|
|
@@ -535491,7 +535495,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
535491
535495
|
dimColor: true,
|
|
535492
535496
|
children: [
|
|
535493
535497
|
"v",
|
|
535494
|
-
"0.1.
|
|
535498
|
+
"0.1.8",
|
|
535495
535499
|
" "
|
|
535496
535500
|
]
|
|
535497
535501
|
}, undefined, true, undefined, this);
|
|
@@ -535745,7 +535749,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
535745
535749
|
dimColor: true,
|
|
535746
535750
|
children: [
|
|
535747
535751
|
"v",
|
|
535748
|
-
"0.1.
|
|
535752
|
+
"0.1.8",
|
|
535749
535753
|
" "
|
|
535750
535754
|
]
|
|
535751
535755
|
}, undefined, true, undefined, this);
|
|
@@ -556312,7 +556316,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
556312
556316
|
pendingHookMessages
|
|
556313
556317
|
}, renderAndRun);
|
|
556314
556318
|
}
|
|
556315
|
-
}).version("0.1.
|
|
556319
|
+
}).version("0.1.8 (Xclaude)", "-v, --version", "Output the version number");
|
|
556316
556320
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
556317
556321
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
556318
556322
|
if (canUserConfigureAdvisor()) {
|
|
@@ -556882,7 +556886,7 @@ function validateProviderEnvOrExit() {
|
|
|
556882
556886
|
async function main2() {
|
|
556883
556887
|
const args = process.argv.slice(2);
|
|
556884
556888
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
556885
|
-
console.log(`${"0.1.
|
|
556889
|
+
console.log(`${"0.1.8"} (Xclaude)`);
|
|
556886
556890
|
return;
|
|
556887
556891
|
}
|
|
556888
556892
|
if (args.includes("--provider")) {
|
|
@@ -556998,4 +557002,4 @@ async function main2() {
|
|
|
556998
557002
|
}
|
|
556999
557003
|
main2();
|
|
557000
557004
|
|
|
557001
|
-
//# debugId=
|
|
557005
|
+
//# debugId=B4FF6725FC2D2F3E64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amirtechai/xclaude",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Claude Code opened to any LLM
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"description": "Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Groq, Ollama, and 200+ models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"xclaude": "./bin/xclaude"
|