gearbox-code 0.1.21 → 0.1.23

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +10 -6
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -147867,7 +147867,7 @@ init_permission();
147867
147867
  var jsx_dev_runtime13 = __toESM(require_jsx_dev_runtime(), 1);
147868
147868
  process.env.LANG = process.env.LANG || "en_US.UTF-8";
147869
147869
  process.env.LC_ALL = process.env.LC_ALL || "en_US.UTF-8";
147870
- var VERSION16 = "0.1.21";
147870
+ var VERSION16 = "0.1.23";
147871
147871
  var args = process.argv.slice(2);
147872
147872
  var supportsAnsi = process.env.FORCE_COLOR === "1" || process.env.TERM !== "dumb" && process.env.NO_COLOR !== "1" && process.stdout.isTTY;
147873
147873
  var ansi = (code) => supportsAnsi ? `\x1B[${code}m` : "";
@@ -147979,12 +147979,14 @@ async function runCliOnboarding() {
147979
147979
  };
147980
147980
  try {
147981
147981
  const termWidth = Math.min(process.stdout.columns || 80, 100);
147982
+ const ruleW = Math.min(32, termWidth - 8);
147982
147983
  console.log("");
147983
147984
  console.log(onboardingBoo(termWidth));
147984
147985
  console.log("");
147985
- console.log(centerStr(bold("gearbox"), termWidth));
147986
- console.log(centerStr("set up one account Gearbox routes from there", termWidth));
147987
- console.log(centerStr(dim("keys stay local, never sent anywhere"), termWidth));
147986
+ console.log(centerStr(bold(accent("gearbox")), termWidth));
147987
+ console.log(centerStr(dim("one terminal · every model you already pay for"), termWidth));
147988
+ console.log("");
147989
+ console.log(centerStr(dim("─".repeat(ruleW)), termWidth));
147988
147990
  console.log("");
147989
147991
  while (!anyProviderAvailable()) {
147990
147992
  const env3 = importableEnvCreds2();
@@ -148090,8 +148092,10 @@ async function runCliOnboarding() {
148090
148092
  console.log(warn("Choose one of the listed options."));
148091
148093
  }
148092
148094
  console.log("");
148093
- console.log(ok("Gearbox is ready."));
148094
- console.log(`Next: ${accent("cd ~/your-project")} and run ${accent("gearbox")}.`);
148095
+ console.log(centerStr(ok("✓ you're all set"), termWidth));
148096
+ console.log("");
148097
+ console.log(centerStr(dim(`cd ~/your-project → ${accent("gearbox")}`), termWidth));
148098
+ console.log("");
148095
148099
  return true;
148096
148100
  } finally {
148097
148101
  rl?.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gearbox-code",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "A beautiful multi-provider coding harness for the terminal. (Intelligent model routing lands on top of this soon.)",
5
5
  "type": "module",
6
6
  "license": "MIT",