Cortex v1.7.1
Cortex 1.7.1 adds completion feedback for managed bash background processes. Long-running commands started with bash spawn now return their final result to the agent instead of requiring manual polling.
Highlights
- Captures runtime invocation context when a managed bash process is spawned.
- Watches spawned bash processes until exit and drains stdout/stderr before emitting completion.
- Routes completion output through a daemon queue.
- Injects completion context into an active turn when the session can still accept input.
- Starts a background turn for the originating session when no active turn is available, allowing the agent to continue or notify subscribed clients.
- Updates workspace, SDK examples, generated scaffolds, and documentation to 1.7.1.
Operational Notes
- Background bash processes still have no default timeout. They complete when the command exits, the daemon exits, or they are stopped.
- Completion output is capped by the existing managed process output buffers and includes cursor/truncation metadata.
- The release archive contains the
cortexbinary at the archive root.
Verification
./scripts/build.shdocker compose run --rm dev cargo build --release --locked -p cortex-app./target/release/cortex --version