-
Notifications
You must be signed in to change notification settings - Fork 1.5k
add /session show #4176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add /session show #4176
Conversation
🦋 Changeset detectedLatest commit: fa410a5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new /session show command that allows users to view and copy their current session ID to the clipboard. This provides a lighter-weight alternative to the existing /session share command when users only need to see the session ID without sharing it.
- Adds
/session showcommand handler in ChatTextArea - Implements
sessionShowmessage type and handler - Displays session ID and copies it to clipboard with user feedback
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| webview-ui/src/components/chat/ChatTextArea.tsx | Adds /session show command handling that posts a sessionShow message to the backend |
| src/shared/WebviewMessage.ts | Adds sessionShow message type to the WebviewMessage interface |
| src/core/webview/webviewMessageHandler.ts | Implements the sessionShow handler that retrieves and copies the session ID to clipboard with appropriate error handling |
Context
Adds the
/session showcommand - useful for users who might want to fork their own sessions.