@gokulvenkatareddy/cortex 0.1.21 → 0.1.22

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 +28 -29
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -109976,14 +109976,16 @@ ${rgb(...NEON_CYAN)} ═══════════════════
109976
109976
  let choice = isNvidiaOnly && nvMission?.apiKey ? nvMission : hfMission ?? missions[missions.length - 1];
109977
109977
  if (!choice || !choice.apiKey) {
109978
109978
  const savedProfile = getActiveProviderProfile();
109979
- if (savedProfile?.apiKey) {
109980
- choice = {
109981
- name: savedProfile.name,
109982
- model: savedProfile.model,
109983
- baseUrl: savedProfile.baseUrl,
109984
- apiKey: savedProfile.apiKey,
109985
- provider: savedProfile.provider === "anthropic" ? "cortex" : "openai"
109986
- };
109979
+ if (savedProfile) {
109980
+ if (savedProfile.apiKey || !savedProfile.baseUrl.includes("localhost")) {
109981
+ choice = {
109982
+ name: savedProfile.name,
109983
+ model: savedProfile.model,
109984
+ baseUrl: savedProfile.baseUrl,
109985
+ apiKey: savedProfile.apiKey ?? "",
109986
+ provider: savedProfile.provider === "anthropic" ? "cortex" : "openai"
109987
+ };
109988
+ }
109987
109989
  }
109988
109990
  }
109989
109991
  if (!choice || !choice.apiKey) {
@@ -350253,7 +350255,7 @@ var init_providerRegistry = __esm(() => {
350253
350255
  {
350254
350256
  id: "openrouter",
350255
350257
  name: "OpenRouter",
350256
- description: "Multi-provider router with free models like MiniMax M2.5",
350258
+ description: "Multi-provider router with 25+ free models",
350257
350259
  category: "free",
350258
350260
  baseUrl: "https://openrouter.ai/api/v1",
350259
350261
  defaultModel: "minimax/minimax-m2.5:free",
@@ -350262,36 +350264,31 @@ var init_providerRegistry = __esm(() => {
350262
350264
  docsUrl: "https://openrouter.ai/docs",
350263
350265
  knownModels: [
350264
350266
  "nvidia/nemotron-3-super:free",
350265
- "inclusionai/ring-2.6-1t:free",
350266
350267
  "poolside/laguna-m1:free",
350267
350268
  "openai/gpt-oss-120b:free",
350268
350269
  "z-ai/glm-4-5-air:free",
350269
350270
  "minimax/minimax-m2.5:free",
350270
- "nvidia/nemotron-3-nano-30b-a3b:free",
350271
350271
  "poolside/laguna-xs2:free",
350272
+ "nvidia/nemotron-3-nano-30b-a3b:free",
350272
350273
  "openai/gpt-oss-20b:free",
350274
+ "deepseek/deepseek-v4-flash:free",
350273
350275
  "baidu-qianfan/cobuddy:free",
350274
350276
  "arcee-ai/trinity-large-thinking:free",
350275
350277
  "nvidia/nemotron-3-nano-omni:free",
350276
- "deepseek/deepseek-v4-flash:free",
350277
350278
  "google/gemma-4-31b:free",
350278
350279
  "nvidia/nemotron-nano-12b-2-vl:free",
350279
350280
  "nvidia/nemotron-nano-9b-v2:free",
350280
350281
  "google/gemma-4-26b-a4b:free",
350281
350282
  "nvidia/llama-nemotron-embed-vl-1b-v2:free",
350282
350283
  "qwen/qwen3-coder-480b-a35b:free",
350283
- "qwen/qwen3-next-80b-a3b-instruct:free",
350284
350284
  "meta-llama/llama-3.3-70b-instruct:free",
350285
+ "qwen/qwen3-next-80b-a3b-instruct:free",
350285
350286
  "liquid/lfm-2.5-1.2b-thinking:free",
350286
350287
  "liquid/lfm-2.5-1.2b-instruct:free",
350287
350288
  "venice/uncensored:free",
350288
350289
  "nousresearch/hermes-3-405b-instruct:free",
350289
350290
  "meta-llama/llama-3.2-3b-instruct:free",
350290
- "openai/gpt-4o:free",
350291
- "google/gemini-2.0-flash:free",
350292
- "deepseek/deepseek-chat:free",
350293
- "cohere/command-r-plus:free",
350294
- "microsoft/phi-3-mini-128k-instruct:free"
350291
+ "openrouter/free"
350295
350292
  ],
350296
350293
  isOpenAICompatible: true
350297
350294
  },
@@ -350335,9 +350332,11 @@ var init_providerRegistry = __esm(() => {
350335
350332
  "mixtral-8x7b-32768",
350336
350333
  "gemma2-9b-it",
350337
350334
  "deepseek-r1-distill-llama-70b",
350335
+ "qwen-2.5-32b",
350338
350336
  "whisper-large-v3",
350339
350337
  "whisper-large-v3-turbo",
350340
- "orpheus-english"
350338
+ "orpheus-english",
350339
+ "safety-gpt-oss-20b"
350341
350340
  ],
350342
350341
  isOpenAICompatible: true
350343
350342
  },
@@ -365788,7 +365787,7 @@ function getCORTEXEnvMetadata() {
365788
365787
  function getBuildAgeMinutes() {
365789
365788
  if (false)
365790
365789
  ;
365791
- const buildTime = new Date("2026-05-16T06:12:25.737Z").getTime();
365790
+ const buildTime = new Date("2026-05-16T06:23:17.960Z").getTime();
365792
365791
  if (isNaN(buildTime))
365793
365792
  return;
365794
365793
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -395821,7 +395820,7 @@ function buildPrimarySection() {
395821
395820
  }, undefined, false, undefined, this);
395822
395821
  return [{
395823
395822
  label: "Version",
395824
- value: "0.1.21"
395823
+ value: "0.1.22"
395825
395824
  }, {
395826
395825
  label: "Session name",
395827
395826
  value: nameValue
@@ -462821,7 +462820,7 @@ var init_bridge_kick = __esm(() => {
462821
462820
  var call65 = async () => {
462822
462821
  return {
462823
462822
  type: "text",
462824
- value: `${"99.0.0"} (built ${"2026-05-16T06:12:25.737Z"})`
462823
+ value: `${"99.0.0"} (built ${"2026-05-16T06:23:17.960Z"})`
462825
462824
  };
462826
462825
  }, version2, version_default;
462827
462826
  var init_version = __esm(() => {
@@ -553652,7 +553651,7 @@ function WelcomeV2() {
553652
553651
  dimColor: true,
553653
553652
  children: [
553654
553653
  "v",
553655
- "0.1.21",
553654
+ "0.1.22",
553656
553655
  " "
553657
553656
  ]
553658
553657
  }, undefined, true, undefined, this)
@@ -553852,7 +553851,7 @@ function WelcomeV2() {
553852
553851
  dimColor: true,
553853
553852
  children: [
553854
553853
  "v",
553855
- "0.1.21",
553854
+ "0.1.22",
553856
553855
  " "
553857
553856
  ]
553858
553857
  }, undefined, true, undefined, this)
@@ -554078,7 +554077,7 @@ function AppleTerminalWelcomeV2(t0) {
554078
554077
  dimColor: true,
554079
554078
  children: [
554080
554079
  "v",
554081
- "0.1.21",
554080
+ "0.1.22",
554082
554081
  " "
554083
554082
  ]
554084
554083
  }, undefined, true, undefined, this);
@@ -554332,7 +554331,7 @@ function AppleTerminalWelcomeV2(t0) {
554332
554331
  dimColor: true,
554333
554332
  children: [
554334
554333
  "v",
554335
- "0.1.21",
554334
+ "0.1.22",
554336
554335
  " "
554337
554336
  ]
554338
554337
  }, undefined, true, undefined, this);
@@ -557457,7 +557456,7 @@ Usage: cortex --remote "your task description"`, () => gracefulShutdown(1));
557457
557456
  pendingHookMessages
557458
557457
  }, renderAndRun);
557459
557458
  }
557460
- }).version("0.1.21 (CORTEX)", "-v, --version", "Output the version number");
557459
+ }).version("0.1.22 (CORTEX)", "-v, --version", "Output the version number");
557461
557460
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
557462
557461
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
557463
557462
  if (canUserConfigureAdvisor()) {
@@ -558045,7 +558044,7 @@ if (false) {}
558045
558044
  async function main2() {
558046
558045
  const args = process.argv.slice(2);
558047
558046
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
558048
- const v = typeof MACRO !== "undefined" ? "0.1.21" : "99.0.0-dev";
558047
+ const v = typeof MACRO !== "undefined" ? "0.1.22" : "99.0.0-dev";
558049
558048
  console.log(`${v} (CORTEX)`);
558050
558049
  return;
558051
558050
  }
@@ -558257,4 +558256,4 @@ ${DIM4} session id:${RESET4} ${BOLD2}${handle.sessionId}${RESET4} ${DIM4}(rotat
558257
558256
  }
558258
558257
  main2();
558259
558258
 
558260
- //# debugId=74104FEE585719CB64756E2164756E21
558259
+ //# debugId=42629F74DED672A164756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gokulvenkatareddy/cortex",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
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": {