orbit-code-ai 0.1.27 → 0.1.28
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 +37 -12
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -55597,7 +55597,7 @@ var init_configs = __esm(() => {
|
|
|
55597
55597
|
vertex: "claude-3-5-haiku@20241022",
|
|
55598
55598
|
foundry: "claude-3-5-haiku",
|
|
55599
55599
|
openai: "gpt-4o-mini",
|
|
55600
|
-
gemini: "gemini-3.1-
|
|
55600
|
+
gemini: "gemini-3.1-flash-lite",
|
|
55601
55601
|
github: "github:copilot",
|
|
55602
55602
|
codex: "gpt-5.4"
|
|
55603
55603
|
};
|
|
@@ -55607,7 +55607,7 @@ var init_configs = __esm(() => {
|
|
|
55607
55607
|
vertex: "claude-haiku-4-5@20251001",
|
|
55608
55608
|
foundry: "claude-haiku-4-5",
|
|
55609
55609
|
openai: "gpt-4o-mini",
|
|
55610
|
-
gemini: "gemini-3.1-
|
|
55610
|
+
gemini: "gemini-3.1-flash-lite",
|
|
55611
55611
|
github: "github:copilot",
|
|
55612
55612
|
codex: "gpt-5.4"
|
|
55613
55613
|
};
|
|
@@ -83759,7 +83759,7 @@ async function printStartupScreen() {
|
|
|
83759
83759
|
const sLen = ` ● ${sL} Ready — type /help to begin`.length;
|
|
83760
83760
|
out.push(boxRow(sRow, W2, sLen));
|
|
83761
83761
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
83762
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}orbit-code ${RESET}${rgb(...ACCENT)}v${"0.1.
|
|
83762
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}orbit-code ${RESET}${rgb(...ACCENT)}v${"0.1.28"}${RESET}`);
|
|
83763
83763
|
out.push("");
|
|
83764
83764
|
process.stdout.write(out.join(`
|
|
83765
83765
|
`) + `
|
|
@@ -319889,10 +319889,35 @@ function getCodexModelOptions() {
|
|
|
319889
319889
|
function getCopilotModelOptions() {
|
|
319890
319890
|
return [];
|
|
319891
319891
|
}
|
|
319892
|
+
function getGeminiModelOptions() {
|
|
319893
|
+
return [
|
|
319894
|
+
{
|
|
319895
|
+
value: "gemini-3.1-pro-preview",
|
|
319896
|
+
label: "Gemini 3.1 Pro",
|
|
319897
|
+
description: "Gemini 3.1 Pro · Most capable — for complex ESQL/flow work",
|
|
319898
|
+
descriptionForModel: "Gemini 3.1 Pro - most capable, for complex generative work"
|
|
319899
|
+
},
|
|
319900
|
+
{
|
|
319901
|
+
value: "gemini-3.5-flash",
|
|
319902
|
+
label: "Gemini 3.5 Flash",
|
|
319903
|
+
description: "Gemini 3.5 Flash · Balanced for everyday tasks",
|
|
319904
|
+
descriptionForModel: "Gemini 3.5 Flash - balanced, for everyday tasks"
|
|
319905
|
+
},
|
|
319906
|
+
{
|
|
319907
|
+
value: "gemini-3.1-flash-lite",
|
|
319908
|
+
label: "Gemini 3.1 Flash-Lite",
|
|
319909
|
+
description: "Gemini 3.1 Flash-Lite · Fastest & lowest cost (default)",
|
|
319910
|
+
descriptionForModel: "Gemini 3.1 Flash-Lite - fastest and cheapest, for reading/planning"
|
|
319911
|
+
}
|
|
319912
|
+
];
|
|
319913
|
+
}
|
|
319892
319914
|
function getModelOptionsBase(fastMode = false) {
|
|
319893
319915
|
if (getAPIProvider() === "github") {
|
|
319894
319916
|
return [getDefaultOptionForUser(fastMode), ...getCopilotModelOptions()];
|
|
319895
319917
|
}
|
|
319918
|
+
if (getAPIProvider() === "gemini") {
|
|
319919
|
+
return [getDefaultOptionForUser(fastMode), ...getGeminiModelOptions()];
|
|
319920
|
+
}
|
|
319896
319921
|
if (process.env.USER_TYPE === "ant") {
|
|
319897
319922
|
const antModelOptions = getAntModels().map((m) => ({
|
|
319898
319923
|
value: m.alias,
|
|
@@ -334241,7 +334266,7 @@ function getAnthropicEnvMetadata() {
|
|
|
334241
334266
|
function getBuildAgeMinutes() {
|
|
334242
334267
|
if (false)
|
|
334243
334268
|
;
|
|
334244
|
-
const buildTime = new Date("2026-06-
|
|
334269
|
+
const buildTime = new Date("2026-06-29T07:24:50.683Z").getTime();
|
|
334245
334270
|
if (isNaN(buildTime))
|
|
334246
334271
|
return;
|
|
334247
334272
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -358658,7 +358683,7 @@ function buildPrimarySection() {
|
|
|
358658
358683
|
}, undefined, false, undefined, this);
|
|
358659
358684
|
return [{
|
|
358660
358685
|
label: "Version",
|
|
358661
|
-
value: "0.1.
|
|
358686
|
+
value: "0.1.28"
|
|
358662
358687
|
}, {
|
|
358663
358688
|
label: "Session name",
|
|
358664
358689
|
value: nameValue
|
|
@@ -470738,7 +470763,7 @@ function WelcomeV2() {
|
|
|
470738
470763
|
dimColor: true,
|
|
470739
470764
|
children: [
|
|
470740
470765
|
"v",
|
|
470741
|
-
"0.1.
|
|
470766
|
+
"0.1.28",
|
|
470742
470767
|
" "
|
|
470743
470768
|
]
|
|
470744
470769
|
}, undefined, true, undefined, this)
|
|
@@ -470938,7 +470963,7 @@ function WelcomeV2() {
|
|
|
470938
470963
|
dimColor: true,
|
|
470939
470964
|
children: [
|
|
470940
470965
|
"v",
|
|
470941
|
-
"0.1.
|
|
470966
|
+
"0.1.28",
|
|
470942
470967
|
" "
|
|
470943
470968
|
]
|
|
470944
470969
|
}, undefined, true, undefined, this)
|
|
@@ -471164,7 +471189,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471164
471189
|
dimColor: true,
|
|
471165
471190
|
children: [
|
|
471166
471191
|
"v",
|
|
471167
|
-
"0.1.
|
|
471192
|
+
"0.1.28",
|
|
471168
471193
|
" "
|
|
471169
471194
|
]
|
|
471170
471195
|
}, undefined, true, undefined, this);
|
|
@@ -471418,7 +471443,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471418
471443
|
dimColor: true,
|
|
471419
471444
|
children: [
|
|
471420
471445
|
"v",
|
|
471421
|
-
"0.1.
|
|
471446
|
+
"0.1.28",
|
|
471422
471447
|
" "
|
|
471423
471448
|
]
|
|
471424
471449
|
}, undefined, true, undefined, this);
|
|
@@ -492055,7 +492080,7 @@ Usage: orbit --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492055
492080
|
pendingHookMessages
|
|
492056
492081
|
}, renderAndRun);
|
|
492057
492082
|
}
|
|
492058
|
-
}).version("0.1.
|
|
492083
|
+
}).version("0.1.28 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492059
492084
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492060
492085
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
492061
492086
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492577,7 +492602,7 @@ if (false) {}
|
|
|
492577
492602
|
async function main2() {
|
|
492578
492603
|
const args = process.argv.slice(2);
|
|
492579
492604
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492580
|
-
console.log(`${"0.1.
|
|
492605
|
+
console.log(`${"0.1.28"} (Orbit AI)`);
|
|
492581
492606
|
return;
|
|
492582
492607
|
}
|
|
492583
492608
|
if (args.includes("--provider")) {
|
|
@@ -492681,4 +492706,4 @@ async function main2() {
|
|
|
492681
492706
|
}
|
|
492682
492707
|
main2();
|
|
492683
492708
|
|
|
492684
|
-
//# debugId=
|
|
492709
|
+
//# debugId=A639DFAC369C68EC64756E2164756E21
|