@gokulvenkatareddy/cortex 0.1.16 → 0.1.18
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/README.md +1 -1
- package/dist/cli.mjs +15 -11
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -362854,7 +362854,7 @@ function getCORTEXEnvMetadata() {
|
|
|
362854
362854
|
function getBuildAgeMinutes() {
|
|
362855
362855
|
if (false)
|
|
362856
362856
|
;
|
|
362857
|
-
const buildTime = new Date("2026-05-
|
|
362857
|
+
const buildTime = new Date("2026-05-07T13:21:32.127Z").getTime();
|
|
362858
362858
|
if (isNaN(buildTime))
|
|
362859
362859
|
return;
|
|
362860
362860
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -375666,6 +375666,10 @@ function extractTag(html2, tagName) {
|
|
|
375666
375666
|
return null;
|
|
375667
375667
|
}
|
|
375668
375668
|
function isNotEmptyMessage(message) {
|
|
375669
|
+
if (!message)
|
|
375670
|
+
return false;
|
|
375671
|
+
if (!message.type)
|
|
375672
|
+
return false;
|
|
375669
375673
|
if (message.type === "progress" || message.type === "attachment" || message.type === "system") {
|
|
375670
375674
|
return true;
|
|
375671
375675
|
}
|
|
@@ -392537,7 +392541,7 @@ function buildPrimarySection() {
|
|
|
392537
392541
|
}, undefined, false, undefined, this);
|
|
392538
392542
|
return [{
|
|
392539
392543
|
label: "Version",
|
|
392540
|
-
value: "0.1.
|
|
392544
|
+
value: "0.1.18"
|
|
392541
392545
|
}, {
|
|
392542
392546
|
label: "Session name",
|
|
392543
392547
|
value: nameValue
|
|
@@ -430418,7 +430422,7 @@ var import_react_compiler_runtime199, React86, import_react151, jsx_dev_runtime2
|
|
|
430418
430422
|
columns
|
|
430419
430423
|
} = useTerminalSize();
|
|
430420
430424
|
const toggleShowAllShortcut = useShortcutDisplay("transcript:toggleShowAll", "Transcript", "Ctrl+E");
|
|
430421
|
-
const normalizedMessages = import_react151.useMemo(() => normalizeMessages(messages).filter(isNotEmptyMessage), [messages]);
|
|
430425
|
+
const normalizedMessages = import_react151.useMemo(() => normalizeMessages(messages.filter(Boolean)).filter(isNotEmptyMessage), [messages]);
|
|
430422
430426
|
const isStreamingThinkingVisible = import_react151.useMemo(() => {
|
|
430423
430427
|
if (!streamingThinking)
|
|
430424
430428
|
return false;
|
|
@@ -459228,7 +459232,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
459228
459232
|
var call60 = async () => {
|
|
459229
459233
|
return {
|
|
459230
459234
|
type: "text",
|
|
459231
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
459235
|
+
value: `${"99.0.0"} (built ${"2026-05-07T13:21:32.127Z"})`
|
|
459232
459236
|
};
|
|
459233
459237
|
}, version2, version_default;
|
|
459234
459238
|
var init_version = __esm(() => {
|
|
@@ -549937,7 +549941,7 @@ function WelcomeV2() {
|
|
|
549937
549941
|
dimColor: true,
|
|
549938
549942
|
children: [
|
|
549939
549943
|
"v",
|
|
549940
|
-
"0.1.
|
|
549944
|
+
"0.1.18",
|
|
549941
549945
|
" "
|
|
549942
549946
|
]
|
|
549943
549947
|
}, undefined, true, undefined, this)
|
|
@@ -550137,7 +550141,7 @@ function WelcomeV2() {
|
|
|
550137
550141
|
dimColor: true,
|
|
550138
550142
|
children: [
|
|
550139
550143
|
"v",
|
|
550140
|
-
"0.1.
|
|
550144
|
+
"0.1.18",
|
|
550141
550145
|
" "
|
|
550142
550146
|
]
|
|
550143
550147
|
}, undefined, true, undefined, this)
|
|
@@ -550363,7 +550367,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
550363
550367
|
dimColor: true,
|
|
550364
550368
|
children: [
|
|
550365
550369
|
"v",
|
|
550366
|
-
"0.1.
|
|
550370
|
+
"0.1.18",
|
|
550367
550371
|
" "
|
|
550368
550372
|
]
|
|
550369
550373
|
}, undefined, true, undefined, this);
|
|
@@ -550617,7 +550621,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
550617
550621
|
dimColor: true,
|
|
550618
550622
|
children: [
|
|
550619
550623
|
"v",
|
|
550620
|
-
"0.1.
|
|
550624
|
+
"0.1.18",
|
|
550621
550625
|
" "
|
|
550622
550626
|
]
|
|
550623
550627
|
}, undefined, true, undefined, this);
|
|
@@ -553742,7 +553746,7 @@ Usage: cortex --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
553742
553746
|
pendingHookMessages
|
|
553743
553747
|
}, renderAndRun);
|
|
553744
553748
|
}
|
|
553745
|
-
}).version("0.1.
|
|
553749
|
+
}).version("0.1.18 (CORTEX)", "-v, --version", "Output the version number");
|
|
553746
553750
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
553747
553751
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
553748
553752
|
if (canUserConfigureAdvisor()) {
|
|
@@ -554330,7 +554334,7 @@ if (false) {}
|
|
|
554330
554334
|
async function main2() {
|
|
554331
554335
|
const args = process.argv.slice(2);
|
|
554332
554336
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
554333
|
-
const v = typeof MACRO !== "undefined" ? "0.1.
|
|
554337
|
+
const v = typeof MACRO !== "undefined" ? "0.1.18" : "99.0.0-dev";
|
|
554334
554338
|
console.log(`${v} (CORTEX)`);
|
|
554335
554339
|
return;
|
|
554336
554340
|
}
|
|
@@ -554514,4 +554518,4 @@ ${DIM4} session id:${RESET4} ${BOLD2}${handle.sessionId}${RESET4} ${DIM4}(rotat
|
|
|
554514
554518
|
}
|
|
554515
554519
|
main2();
|
|
554516
554520
|
|
|
554517
|
-
//# debugId=
|
|
554521
|
+
//# debugId=C7C90AA53DD081DD64756E2164756E21
|
package/package.json
CHANGED