@piceofpentogramm/alterclaude 0.1.1 → 0.1.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 +18 -11
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -53385,7 +53385,7 @@ async function resolveProviderApiKeyHelpers(targetEnv) {
|
|
|
53385
53385
|
}
|
|
53386
53386
|
}
|
|
53387
53387
|
function applyProfileEnvToProcessEnv(targetEnv, nextEnv) {
|
|
53388
|
-
if (nextEnv.CLAUDE_CODE_USE_OPENROUTER &&
|
|
53388
|
+
if (nextEnv.CLAUDE_CODE_USE_OPENROUTER && nextEnv.OPENROUTER_API_KEY) {
|
|
53389
53389
|
nextEnv.OPENAI_API_KEY = nextEnv.OPENROUTER_API_KEY;
|
|
53390
53390
|
nextEnv.OPENAI_BASE_URL = nextEnv.OPENAI_BASE_URL || nextEnv.OPENROUTER_BASE_URL;
|
|
53391
53391
|
nextEnv.OPENAI_MODEL = nextEnv.OPENAI_MODEL || nextEnv.OPENROUTER_MODEL;
|
|
@@ -120164,7 +120164,7 @@ function printStartupScreen() {
|
|
|
120164
120164
|
const sLen = ` ● ${sL} Ready — type /help to begin`.length;
|
|
120165
120165
|
out.push(boxRow(sRow, W2, sLen));
|
|
120166
120166
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
120167
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}alterclaude ${RESET}${rgb(...ACCENT)}v${"0.1.
|
|
120167
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}alterclaude ${RESET}${rgb(...ACCENT)}v${"0.1.3"}${RESET}`);
|
|
120168
120168
|
out.push("");
|
|
120169
120169
|
process.stdout.write(out.join(`
|
|
120170
120170
|
`) + `
|
|
@@ -358918,7 +358918,7 @@ function getAnthropicEnvMetadata() {
|
|
|
358918
358918
|
function getBuildAgeMinutes() {
|
|
358919
358919
|
if (false)
|
|
358920
358920
|
;
|
|
358921
|
-
const buildTime = new Date("2026-05-29T15:
|
|
358921
|
+
const buildTime = new Date("2026-05-29T15:40:04.535Z").getTime();
|
|
358922
358922
|
if (isNaN(buildTime))
|
|
358923
358923
|
return;
|
|
358924
358924
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -441481,6 +441481,13 @@ function buildSavedProfileSummary(profile, env4) {
|
|
|
441481
441481
|
modelLabel: getSafeDisplayValue(env4.OPENAI_MODEL, process.env, env4),
|
|
441482
441482
|
endpointLabel: getSafeDisplayValue(env4.OPENAI_BASE_URL, process.env, env4)
|
|
441483
441483
|
};
|
|
441484
|
+
case "openrouter":
|
|
441485
|
+
return {
|
|
441486
|
+
providerLabel: "OpenRouter",
|
|
441487
|
+
modelLabel: getSafeDisplayValue(env4.OPENROUTER_MODEL ?? DEFAULT_OPENROUTER_MODEL, process.env, env4),
|
|
441488
|
+
endpointLabel: getSafeDisplayValue(env4.OPENROUTER_BASE_URL ?? OPENROUTER_BASE_URL, process.env, env4),
|
|
441489
|
+
credentialLabel: maskSecretForDisplay(env4.OPENROUTER_API_KEY) !== undefined ? "configured" : undefined
|
|
441490
|
+
};
|
|
441484
441491
|
case "openai":
|
|
441485
441492
|
default:
|
|
441486
441493
|
return {
|
|
@@ -451503,7 +451510,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
451503
451510
|
var call58 = async () => {
|
|
451504
451511
|
return {
|
|
451505
451512
|
type: "text",
|
|
451506
|
-
value: `${"99.0.0"} (built ${"2026-05-29T15:
|
|
451513
|
+
value: `${"99.0.0"} (built ${"2026-05-29T15:40:04.535Z"})`
|
|
451507
451514
|
};
|
|
451508
451515
|
}, version2, version_default;
|
|
451509
451516
|
var init_version = __esm(() => {
|
|
@@ -524644,7 +524651,7 @@ function WelcomeV2() {
|
|
|
524644
524651
|
dimColor: true,
|
|
524645
524652
|
children: [
|
|
524646
524653
|
"v",
|
|
524647
|
-
"0.1.
|
|
524654
|
+
"0.1.3",
|
|
524648
524655
|
" "
|
|
524649
524656
|
]
|
|
524650
524657
|
}, undefined, true, undefined, this)
|
|
@@ -524844,7 +524851,7 @@ function WelcomeV2() {
|
|
|
524844
524851
|
dimColor: true,
|
|
524845
524852
|
children: [
|
|
524846
524853
|
"v",
|
|
524847
|
-
"0.1.
|
|
524854
|
+
"0.1.3",
|
|
524848
524855
|
" "
|
|
524849
524856
|
]
|
|
524850
524857
|
}, undefined, true, undefined, this)
|
|
@@ -525070,7 +525077,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
525070
525077
|
dimColor: true,
|
|
525071
525078
|
children: [
|
|
525072
525079
|
"v",
|
|
525073
|
-
"0.1.
|
|
525080
|
+
"0.1.3",
|
|
525074
525081
|
" "
|
|
525075
525082
|
]
|
|
525076
525083
|
}, undefined, true, undefined, this);
|
|
@@ -525324,7 +525331,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
525324
525331
|
dimColor: true,
|
|
525325
525332
|
children: [
|
|
525326
525333
|
"v",
|
|
525327
|
-
"0.1.
|
|
525334
|
+
"0.1.3",
|
|
525328
525335
|
" "
|
|
525329
525336
|
]
|
|
525330
525337
|
}, undefined, true, undefined, this);
|
|
@@ -545872,7 +545879,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
545872
545879
|
pendingHookMessages
|
|
545873
545880
|
}, renderAndRun);
|
|
545874
545881
|
}
|
|
545875
|
-
}).version("0.1.
|
|
545882
|
+
}).version("0.1.3 (Alter Claude)", "-v, --version", "Output the version number");
|
|
545876
545883
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
545877
545884
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
545878
545885
|
if (canUserConfigureAdvisor()) {
|
|
@@ -546452,7 +546459,7 @@ function validateProviderEnvOrExit() {
|
|
|
546452
546459
|
async function main2() {
|
|
546453
546460
|
const args = process.argv.slice(2);
|
|
546454
546461
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
546455
|
-
console.log(`${"0.1.
|
|
546462
|
+
console.log(`${"0.1.3"} (Alter Claude)`);
|
|
546456
546463
|
return;
|
|
546457
546464
|
}
|
|
546458
546465
|
{
|
|
@@ -546564,4 +546571,4 @@ async function main2() {
|
|
|
546564
546571
|
}
|
|
546565
546572
|
main2();
|
|
546566
546573
|
|
|
546567
|
-
//# debugId=
|
|
546574
|
+
//# debugId=15FD4D043F364B2764756E2164756E21
|