Add one-click "Open in Claude Code" button to continue-session page#77377
Add one-click "Open in Claude Code" button to continue-session page#77377stbenjam wants to merge 1 commit intoopenshift:mainfrom
Conversation
Uses claude-cli:// deep link to open Claude Code directly with the continue-session command pre-populated, in a temp directory to avoid loading $HOME context. Keeps the click-to-copy fallback for manual use. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stbenjam The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@stbenjam: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/hold |
|
It works but the tmp directory creates a billion permission prompts, otherwise the default is $HOME for |
Summary
claude-cli://open?q=...deep link button ("Open in Claude Code") to the continue-session HTML artifact pagecd $(mktemp -d)) to avoid loading$HOMEcontextTest plan
claude-cli://link opens Claude Code with the command pre-populated🤖 Generated with Claude Code