SIGN IN SIGN UP

feat(cli): export and import sessions (#11075)

* add session export slash command

* import session

* Fix slashCommands test: mock path.isAbsolute and history manager

The import of historyManager in slashCommands.ts triggers
core/util/paths.ts which calls path.isAbsolute — not provided by
the existing path mock. Add the missing path exports and mock
core/util/history.js to avoid filesystem operations in tests.

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
A
Aditya Mitra committed
b155702635df673a09d4c53cf24d33ae32f23bb9
Parent: 2874981
Committed by GitHub <noreply@github.com> on 3/24/2026, 9:24:30 PM