{"name":"SESSIONNAME","slug":"sessionname","family":"env","title":"Environment variables","noun":"environment variable","description":"When `SESSIONNAME` is set and `TERM` is `cygwin`, Claude Code's terminal detection returns `cygwin`; that check comes after the Terminator, kitty, Alacritty, Tilix and Windows Terminal markers. Whether it is set is also recorded as `hasSessionName` in an environment report.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"claude-apps-gateway-config","title":"Claude apps gateway configuration","documented":false}],"docs_total":2,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/sessionname","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}