mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-07 06:52:28 +00:00
feat(web): copy session reference from context menu (#1144)
* feat(web): add Copy reference to session context menu Refs tiann/hapi#950 Adds a More actions item that copies a cross-session citation (see session "title" (/sessions/id) for context) instead of a bare share URL. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(web): sanitize session titles in copy-reference text JSON-escape titles and collapse whitespace so arbitrary session names cannot inject prompt text into cross-session citations. Addresses Codex review on tiann/hapi#951. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -176,6 +176,7 @@ export default {
|
||||
'session.action.reopenCursorCheckFailed': 'Could not verify Cursor chat data on the recorded machine.',
|
||||
'session.action.delete': 'Delete',
|
||||
'session.action.copy': 'Copy',
|
||||
'session.action.copyReference': 'Copy reference',
|
||||
|
||||
// Dialogs
|
||||
'dialog.uri.title': 'Open this link?',
|
||||
|
||||
Reference in New Issue
Block a user