diff --git a/.claude/sessions/.gitattributes b/.claude/sessions/.gitattributes new file mode 100644 index 0000000..90991eb --- /dev/null +++ b/.claude/sessions/.gitattributes @@ -0,0 +1 @@ +*.md merge=union \ No newline at end of file diff --git a/.claude/sessions/2026-03-27.md b/.claude/sessions/2026-03-27.md index 24a9c5f..960387a 100644 --- a/.claude/sessions/2026-03-27.md +++ b/.claude/sessions/2026-03-27.md @@ -1,3 +1,13 @@ +### 14:39 - fix/command-mode-session-exit (#90) + +- Did: + - Verified fix was already applied: removed `this.commandMode.exit()` from `session-clear` and `session-new` handlers in `src/ClaudeCli.ts` + - Ran type-check, build (105 tests), biome CI. All passed. + - Committed, pushed, and created PR #125 with auto-merge enabled +- Files: `src/ClaudeCli.ts` (2 deletions) +- Decisions: + - CI is blocked by pre-existing audit failures (GHSA-c2c7-rcm5-vvqj, GHSA-48c2-rrv3-qjmp, GHSA-v3rj-xjv7-4jmq, GHSA-3v7f-55p6-f55p) in transitive dev deps (knip, @shellicar/build-clean). Not introduced by this PR. Requires separate security/maintenance PR. +- Next: Fix pre-existing audit failures on main (separate maintenance-release PR) to unblock PR #125 auto-merge # Session Log: 2026-03-27 ### 07:36 - fix/slash-command-attachments (Stage 1 of #89) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4da0101..6293b44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed [CVE-2026-33532](https://github.com/advisories/GHSA-48c2-rrv3-qjmp) (stack overflow) in yaml - Fixed [GHSA-v3rj-xjv7-4jmq](https://github.com/advisories/GHSA-v3rj-xjv7-4jmq) (DoS) in smol-toml +### Fixed + +- `session-clear` and `session-new` commands no longer exit command mode + ### Changed - Updated `@shellicar/mcp-exec` to 1.0.0-preview.6 diff --git a/src/ClaudeCli.ts b/src/ClaudeCli.ts index c58cc2c..9e51f59 100644 --- a/src/ClaudeCli.ts +++ b/src/ClaudeCli.ts @@ -565,7 +565,6 @@ export class ClaudeCli { this.term.log('Session cleared'); this.printContext(); this.printSessionCost(); - this.commandMode.exit(); this.scheduleRedraw(); break; case 'session-new': { @@ -582,7 +581,6 @@ export class ClaudeCli { } this.printContext(); this.printSessionCost(); - this.commandMode.exit(); this.scheduleRedraw(); break; }