Repository navigation
cortex-agent server v2026.10.27
·
223 commits
to main
since this release
Highlights
- Clean mode: run a session or subagent in its own workspace, without Cortex rules, hooks or project context
- The npm server package now ships as smoke-tested, code-split bundles, and local source rebuilds install the same bundled layout
- Rewind now cuts the backend transcript back to a recorded anchor instead of restoring full transcript copies
- Agent-sent files show up as cards in the transcript
- Added Opus 5.5, Sonnet 5.5 and Haiku 5.5 to the shipped Anthropic model list
Clean mode
- Added clean mode for sessions: a clean session gets its own folder under
workspaces/(with aninputs/subfolder) as its working directory, runs without Cortex rules, agent hooks or project context files, and receives turn attachments ininputs/. - Added clean subagents: the
agenttool takescleanandfilesper task; listed files are copied into a fresh workspace'sinputs/, and children of a clean session are clean and share its workspace. - Added a clean-mode toggle and workspace chip to the desktop composer and the mobile chat screen, and marked clean subagents in the transcript.
- Fixed clean runs so user-authorized external paths are allowed and git status is kept out of clean Claude runs.
Server packaging & rebuilds
- Switched the published npm server package to code-split JavaScript bundles with the PI runtime, Web SPA, client bundle, defaults and offline third-party license notices included; CI installs and smoke-tests the exact tarball before publishing.
- Made daemon source rebuilds stage and validate a bundle with the release layout, then install it as a whole directory; set
CORTEX_REBUILD_BUNDLE=0inconfig/.envto fall back to the unbundled build. - Added opt-in JavaScript source maps for local rebuilds.
- Made bundle updates restart even when debug cleanup fails, prevented fast source installs over bundled packages, and suppressed postinstall restart triggers on daemon-managed installs.
- Made the gateway port and state home configurable per instance, for isolated local gateways.
Sessions & rewind
- Switched rewind to recorded transcript anchors: each turn records where it starts in the backend transcript, and a turn that cannot be restored is refused instead of continuing in an empty backend session.
- Added a startup migration that converts existing turn backups to anchors and deletes the legacy copies once converted.
- Raised the default session retention to 90 days.
Web & desktop
- Added file cards for files sent by the agent, lined up at one width per message.
- Added Stop server to the Daemon sheet and Settings for local desktop installs.
- Added cache keep-warm and cold-resume clearing controls to Settings → Advanced.
- Added the server version to the About dialog.
- Fixed the agent browser tab viewport at 1280×800 per session and drew stream frames without distortion.
- Fixed the pinned mobile agent header layout.
Providers & auth
- Added Opus 5.5, Sonnet 5.5 and Haiku 5.5 to the shipped Anthropic model list.
- Made Anthropic model discovery read the macOS keychain login.
- Listed OpenAI Codex (legacy) among popular setup providers.
- Fixed PI's Sign in with ChatGPT by passing a stable per-install device ID.
- Fixed subscription usage still showing after signing out.
Reliability & internals
- Fixed chunked-stream fallback logs to include the update error.