Skip to content

fix(core): avoid misdetecting cursor terminal as agent#994

Merged
fi3ework merged 3 commits intomainfrom
codex/fix-cursor-agent-detection
Mar 3, 2026
Merged

fix(core): avoid misdetecting cursor terminal as agent#994
fi3ework merged 3 commits intomainfrom
codex/fix-cursor-agent-detection

Conversation

@fi3ework
Copy link
Copy Markdown
Member

@fi3ework fi3ework commented Mar 3, 2026

Summary

  • remove CURSOR_TRACE_ID from agent detection to avoid treating normal Cursor terminal sessions as AI agents
  • keep CURSOR_AGENT based detection for Cursor agent runs
  • add regression tests for Cursor env detection behavior in determineAgent

Testing

  • not run locally in this workspace (dependencies and built artifacts are missing, so lint/test commands are unavailable)

@fi3ework fi3ework merged commit be5ed45 into main Mar 3, 2026
21 of 25 checks passed
@fi3ework fi3ework deleted the codex/fix-cursor-agent-detection branch March 3, 2026 08:45
@fi3ework fi3ework mentioned this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant