-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Problem
The /sessions command only works inside the interactive REPL. Users cannot list saved sessions from the command line without entering interactive mode first.
Proposed Solution
Add a kbot sessions CLI command that lists all saved sessions (similar to how /sessions works in REPL mode).
Example Usage
# List all saved sessions from command line
kbot sessions
# Could also support JSON output for scripting
kbot sessions --jsonAlternatives Considered
Currently, users must start the REPL with kbot and then type /sessions to see saved sessions. This is fine for interactive use but inconvenient for quick checks or scripting.
Additional Context
The sessions.ts module already has listSessions() and formatSessionList() functions that the REPL uses. This would expose the same functionality as a top-level CLI command, following the pattern of other CLI commands like kbot vitals, kbot status, etc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels