@gokulvenkatareddy/cortex 0.1.19 → 0.1.21

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 +14 -22
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -110154,16 +110154,8 @@ ${rgb(...NEON_CYAN)} ═══════════════════
110154
110154
  process.env.OPENAI_BASE_URL = choice.baseUrl;
110155
110155
  process.env.OPENAI_API_KEY = choice.apiKey;
110156
110156
  process.env.OPENAI_MODEL = choice.model;
110157
- if (choice.apiKey) {
110158
- process.env.ANTHROPIC_BASE_URL = choice.baseUrl;
110159
- process.env.ANTHROPIC_API_KEY = choice.apiKey;
110160
- if (originalAntKey && originalAntKey !== choice.apiKey) {
110161
- process.env.MOCK_MCP_HINT_ANT_KEY = originalAntKey;
110162
- }
110163
- } else {
110164
- delete process.env.ANTHROPIC_API_KEY;
110165
- delete process.env.ANTHROPIC_BASE_URL;
110166
- }
110157
+ delete process.env.ANTHROPIC_API_KEY;
110158
+ delete process.env.ANTHROPIC_BASE_URL;
110167
110159
  } else if (choice.provider === "nvidia") {
110168
110160
  process.env.CORTEX_USE_OPENAI = "1";
110169
110161
  process.env.CORTEX_NVIDIA_ONLY = "1";
@@ -365796,7 +365788,7 @@ function getCORTEXEnvMetadata() {
365796
365788
  function getBuildAgeMinutes() {
365797
365789
  if (false)
365798
365790
  ;
365799
- const buildTime = new Date("2026-05-15T12:07:33.016Z").getTime();
365791
+ const buildTime = new Date("2026-05-16T06:12:25.737Z").getTime();
365800
365792
  if (isNaN(buildTime))
365801
365793
  return;
365802
365794
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -391299,7 +391291,7 @@ Use /model to change models.`, { display: "system" });
391299
391291
  label: c6.label,
391300
391292
  description: c6.description
391301
391293
  })),
391302
- onSelect: handleCategorySelect
391294
+ onChange: handleCategorySelect
391303
391295
  }, undefined, false, undefined, this)
391304
391296
  ]
391305
391297
  }, undefined, true, undefined, this)
@@ -391320,7 +391312,7 @@ Use /model to change models.`, { display: "system" });
391320
391312
  }, undefined, false, undefined, this),
391321
391313
  /* @__PURE__ */ jsx_dev_runtime168.jsxDEV(Select, {
391322
391314
  options: providers.map(providerToOption),
391323
- onSelect: handleProviderSelect
391315
+ onChange: handleProviderSelect
391324
391316
  }, undefined, false, undefined, this)
391325
391317
  ]
391326
391318
  }, undefined, true, undefined, this)
@@ -395829,7 +395821,7 @@ function buildPrimarySection() {
395829
395821
  }, undefined, false, undefined, this);
395830
395822
  return [{
395831
395823
  label: "Version",
395832
- value: "0.1.19"
395824
+ value: "0.1.21"
395833
395825
  }, {
395834
395826
  label: "Session name",
395835
395827
  value: nameValue
@@ -462829,7 +462821,7 @@ var init_bridge_kick = __esm(() => {
462829
462821
  var call65 = async () => {
462830
462822
  return {
462831
462823
  type: "text",
462832
- value: `${"99.0.0"} (built ${"2026-05-15T12:07:33.016Z"})`
462824
+ value: `${"99.0.0"} (built ${"2026-05-16T06:12:25.737Z"})`
462833
462825
  };
462834
462826
  }, version2, version_default;
462835
462827
  var init_version = __esm(() => {
@@ -553660,7 +553652,7 @@ function WelcomeV2() {
553660
553652
  dimColor: true,
553661
553653
  children: [
553662
553654
  "v",
553663
- "0.1.19",
553655
+ "0.1.21",
553664
553656
  " "
553665
553657
  ]
553666
553658
  }, undefined, true, undefined, this)
@@ -553860,7 +553852,7 @@ function WelcomeV2() {
553860
553852
  dimColor: true,
553861
553853
  children: [
553862
553854
  "v",
553863
- "0.1.19",
553855
+ "0.1.21",
553864
553856
  " "
553865
553857
  ]
553866
553858
  }, undefined, true, undefined, this)
@@ -554086,7 +554078,7 @@ function AppleTerminalWelcomeV2(t0) {
554086
554078
  dimColor: true,
554087
554079
  children: [
554088
554080
  "v",
554089
- "0.1.19",
554081
+ "0.1.21",
554090
554082
  " "
554091
554083
  ]
554092
554084
  }, undefined, true, undefined, this);
@@ -554340,7 +554332,7 @@ function AppleTerminalWelcomeV2(t0) {
554340
554332
  dimColor: true,
554341
554333
  children: [
554342
554334
  "v",
554343
- "0.1.19",
554335
+ "0.1.21",
554344
554336
  " "
554345
554337
  ]
554346
554338
  }, undefined, true, undefined, this);
@@ -557465,7 +557457,7 @@ Usage: cortex --remote "your task description"`, () => gracefulShutdown(1));
557465
557457
  pendingHookMessages
557466
557458
  }, renderAndRun);
557467
557459
  }
557468
- }).version("0.1.19 (CORTEX)", "-v, --version", "Output the version number");
557460
+ }).version("0.1.21 (CORTEX)", "-v, --version", "Output the version number");
557469
557461
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
557470
557462
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
557471
557463
  if (canUserConfigureAdvisor()) {
@@ -558053,7 +558045,7 @@ if (false) {}
558053
558045
  async function main2() {
558054
558046
  const args = process.argv.slice(2);
558055
558047
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
558056
- const v = typeof MACRO !== "undefined" ? "0.1.19" : "99.0.0-dev";
558048
+ const v = typeof MACRO !== "undefined" ? "0.1.21" : "99.0.0-dev";
558057
558049
  console.log(`${v} (CORTEX)`);
558058
558050
  return;
558059
558051
  }
@@ -558265,4 +558257,4 @@ ${DIM4} session id:${RESET4} ${BOLD2}${handle.sessionId}${RESET4} ${DIM4}(rotat
558265
558257
  }
558266
558258
  main2();
558267
558259
 
558268
- //# debugId=2CC53B91A58B5E9C64756E2164756E21
558260
+ //# debugId=74104FEE585719CB64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gokulvenkatareddy/cortex",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "CORTEX — Autonomous AGI Terminal. Any LLM, one command. NVIDIA, OpenAI, Gemini, Groq, Ollama and more.",
5
5
  "type": "module",
6
6
  "bin": {