@piceofpentogramm/alterclaude 0.1.6 → 0.1.7
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 +20 -20
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -53202,9 +53202,9 @@ async function buildLaunchEnv(options) {
|
|
|
53202
53202
|
};
|
|
53203
53203
|
delete env4.CLAUDE_CODE_USE_OPENAI;
|
|
53204
53204
|
delete env4.CLAUDE_CODE_USE_GITHUB;
|
|
53205
|
-
env4.GEMINI_MODEL =
|
|
53206
|
-
env4.GEMINI_BASE_URL =
|
|
53207
|
-
const geminiKey =
|
|
53205
|
+
env4.GEMINI_MODEL = persistedGeminiModel || shellGeminiModel || DEFAULT_GEMINI_MODEL;
|
|
53206
|
+
env4.GEMINI_BASE_URL = persistedGeminiBaseUrl || shellGeminiBaseUrl || DEFAULT_GEMINI_BASE_URL;
|
|
53207
|
+
const geminiKey = persistedGeminiKey || shellGeminiKey;
|
|
53208
53208
|
if (geminiKey) {
|
|
53209
53209
|
env4.GEMINI_API_KEY = geminiKey;
|
|
53210
53210
|
} else {
|
|
@@ -53231,9 +53231,9 @@ async function buildLaunchEnv(options) {
|
|
|
53231
53231
|
const shellOpenRouterModel = sanitizeProviderConfigValue(processEnv.OPENROUTER_MODEL, processEnv);
|
|
53232
53232
|
const persistedOpenRouterBaseUrl = sanitizeProviderConfigValue(persistedEnv.OPENROUTER_BASE_URL, persistedEnv);
|
|
53233
53233
|
const shellOpenRouterBaseUrl = sanitizeProviderConfigValue(processEnv.OPENROUTER_BASE_URL, processEnv);
|
|
53234
|
-
env4.OPENROUTER_MODEL =
|
|
53235
|
-
env4.OPENROUTER_BASE_URL =
|
|
53236
|
-
const openRouterKey = sanitizeApiKey(
|
|
53234
|
+
env4.OPENROUTER_MODEL = persistedOpenRouterModel || shellOpenRouterModel || DEFAULT_OPENROUTER_MODEL;
|
|
53235
|
+
env4.OPENROUTER_BASE_URL = persistedOpenRouterBaseUrl || shellOpenRouterBaseUrl || DEFAULT_OPENROUTER_BASE_URL;
|
|
53236
|
+
const openRouterKey = sanitizeApiKey(persistedEnv.OPENROUTER_API_KEY) || sanitizeApiKey(processEnv.OPENROUTER_API_KEY);
|
|
53237
53237
|
if (openRouterKey) {
|
|
53238
53238
|
env4.OPENROUTER_API_KEY = openRouterKey;
|
|
53239
53239
|
} else {
|
|
@@ -53295,7 +53295,7 @@ async function buildLaunchEnv(options) {
|
|
|
53295
53295
|
env3.OPENAI_BASE_URL = persistedOpenAIBaseUrl && isCodexBaseUrl(persistedOpenAIBaseUrl) ? persistedOpenAIBaseUrl : DEFAULT_CODEX_BASE_URL;
|
|
53296
53296
|
env3.OPENAI_MODEL = persistedOpenAIModel || "codexplan";
|
|
53297
53297
|
delete env3.OPENAI_API_KEY;
|
|
53298
|
-
const codexKey = sanitizeApiKey(
|
|
53298
|
+
const codexKey = sanitizeApiKey(persistedEnv.CODEX_API_KEY) || sanitizeApiKey(processEnv.CODEX_API_KEY);
|
|
53299
53299
|
const liveCodexCredentials = resolveCodexApiCredentials(processEnv);
|
|
53300
53300
|
const codexAccountId = processEnv.CHATGPT_ACCOUNT_ID || processEnv.CODEX_ACCOUNT_ID || liveCodexCredentials.accountId || persistedEnv.CHATGPT_ACCOUNT_ID || persistedEnv.CODEX_ACCOUNT_ID;
|
|
53301
53301
|
if (codexKey) {
|
|
@@ -53324,9 +53324,9 @@ async function buildLaunchEnv(options) {
|
|
|
53324
53324
|
});
|
|
53325
53325
|
const useShellOpenAIConfig = shellOpenAIRequest.transport === "chat_completions";
|
|
53326
53326
|
const usePersistedOpenAIConfig = !persistedOpenAIModel && !persistedOpenAIBaseUrl || persistedOpenAIRequest.transport === "chat_completions";
|
|
53327
|
-
env3.OPENAI_BASE_URL = (
|
|
53328
|
-
env3.OPENAI_MODEL = (
|
|
53329
|
-
env3.OPENAI_API_KEY =
|
|
53327
|
+
env3.OPENAI_BASE_URL = (usePersistedOpenAIConfig ? persistedOpenAIBaseUrl : undefined) || (useShellOpenAIConfig ? shellOpenAIBaseUrl : undefined) || DEFAULT_OPENAI_BASE_URL;
|
|
53328
|
+
env3.OPENAI_MODEL = (usePersistedOpenAIConfig ? persistedOpenAIModel : undefined) || (useShellOpenAIConfig ? shellOpenAIModel : undefined) || defaultOpenAIModel;
|
|
53329
|
+
env3.OPENAI_API_KEY = persistedEnv.OPENAI_API_KEY || processEnv.OPENAI_API_KEY;
|
|
53330
53330
|
delete env3.CODEX_API_KEY;
|
|
53331
53331
|
delete env3.CHATGPT_ACCOUNT_ID;
|
|
53332
53332
|
delete env3.CODEX_ACCOUNT_ID;
|
|
@@ -120201,7 +120201,7 @@ function printStartupScreen() {
|
|
|
120201
120201
|
const sLen = ` ● ${sL} Ready — type /help to begin`.length;
|
|
120202
120202
|
out.push(boxRow(sRow, W2, sLen));
|
|
120203
120203
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
120204
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}alterclaude ${RESET}${rgb(...ACCENT)}v${"0.1.
|
|
120204
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}alterclaude ${RESET}${rgb(...ACCENT)}v${"0.1.7"}${RESET}`);
|
|
120205
120205
|
out.push("");
|
|
120206
120206
|
process.stdout.write(out.join(`
|
|
120207
120207
|
`) + `
|
|
@@ -358955,7 +358955,7 @@ function getAnthropicEnvMetadata() {
|
|
|
358955
358955
|
function getBuildAgeMinutes() {
|
|
358956
358956
|
if (false)
|
|
358957
358957
|
;
|
|
358958
|
-
const buildTime = new Date("2026-05-29T16:
|
|
358958
|
+
const buildTime = new Date("2026-05-29T16:53:03.131Z").getTime();
|
|
358959
358959
|
if (isNaN(buildTime))
|
|
358960
358960
|
return;
|
|
358961
358961
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -451547,7 +451547,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
451547
451547
|
var call58 = async () => {
|
|
451548
451548
|
return {
|
|
451549
451549
|
type: "text",
|
|
451550
|
-
value: `${"99.0.0"} (built ${"2026-05-29T16:
|
|
451550
|
+
value: `${"99.0.0"} (built ${"2026-05-29T16:53:03.131Z"})`
|
|
451551
451551
|
};
|
|
451552
451552
|
}, version2, version_default;
|
|
451553
451553
|
var init_version = __esm(() => {
|
|
@@ -524688,7 +524688,7 @@ function WelcomeV2() {
|
|
|
524688
524688
|
dimColor: true,
|
|
524689
524689
|
children: [
|
|
524690
524690
|
"v",
|
|
524691
|
-
"0.1.
|
|
524691
|
+
"0.1.7",
|
|
524692
524692
|
" "
|
|
524693
524693
|
]
|
|
524694
524694
|
}, undefined, true, undefined, this)
|
|
@@ -524888,7 +524888,7 @@ function WelcomeV2() {
|
|
|
524888
524888
|
dimColor: true,
|
|
524889
524889
|
children: [
|
|
524890
524890
|
"v",
|
|
524891
|
-
"0.1.
|
|
524891
|
+
"0.1.7",
|
|
524892
524892
|
" "
|
|
524893
524893
|
]
|
|
524894
524894
|
}, undefined, true, undefined, this)
|
|
@@ -525114,7 +525114,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
525114
525114
|
dimColor: true,
|
|
525115
525115
|
children: [
|
|
525116
525116
|
"v",
|
|
525117
|
-
"0.1.
|
|
525117
|
+
"0.1.7",
|
|
525118
525118
|
" "
|
|
525119
525119
|
]
|
|
525120
525120
|
}, undefined, true, undefined, this);
|
|
@@ -525368,7 +525368,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
525368
525368
|
dimColor: true,
|
|
525369
525369
|
children: [
|
|
525370
525370
|
"v",
|
|
525371
|
-
"0.1.
|
|
525371
|
+
"0.1.7",
|
|
525372
525372
|
" "
|
|
525373
525373
|
]
|
|
525374
525374
|
}, undefined, true, undefined, this);
|
|
@@ -545916,7 +545916,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
545916
545916
|
pendingHookMessages
|
|
545917
545917
|
}, renderAndRun);
|
|
545918
545918
|
}
|
|
545919
|
-
}).version("0.1.
|
|
545919
|
+
}).version("0.1.7 (Alter Claude)", "-v, --version", "Output the version number");
|
|
545920
545920
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
545921
545921
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
545922
545922
|
if (canUserConfigureAdvisor()) {
|
|
@@ -546496,7 +546496,7 @@ function validateProviderEnvOrExit() {
|
|
|
546496
546496
|
async function main2() {
|
|
546497
546497
|
const args = process.argv.slice(2);
|
|
546498
546498
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
546499
|
-
console.log(`${"0.1.
|
|
546499
|
+
console.log(`${"0.1.7"} (Alter Claude)`);
|
|
546500
546500
|
return;
|
|
546501
546501
|
}
|
|
546502
546502
|
{
|
|
@@ -546608,4 +546608,4 @@ async function main2() {
|
|
|
546608
546608
|
}
|
|
546609
546609
|
main2();
|
|
546610
546610
|
|
|
546611
|
-
//# debugId=
|
|
546611
|
+
//# debugId=4DD517C37DA804A664756E2164756E21
|