Skip to content

Update vps-explorer extension - #22863

Merged
raycastbot merged 4 commits into
raycast:mainfrom
Abdullah-Dev115:ext/vps-explorer
Nov 15, 2025
Merged

raycastbot merged 4 commits into
raycast:mainfrom
Abdullah-Dev115:ext/vps-explorer

Conversation

@Abdullah-Dev115

@Abdullah-Dev115 Abdullah-Dev115 commented Nov 13, 2025 •

Copy link
Copy Markdown
Contributor

Description

Screencast

Checklist

- Update CHANGELOG
- Pull contributions
- fix file upload/download issues
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: vps-explorer Issues related to the vps-explorer extension platform: macOS OP is author The OP of the PR is the author of the extension labels Nov 13, 2025
@raycastbot

ghost commented Nov 13, 2025 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @Abdullah-Dev115 you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

Due to our current reduced availability, the initial review may take up to 10 business days.

@Abdullah-Dev115
Abdullah-Dev115 marked this pull request as ready for review November 13, 2025 13:08
@greptile-apps

ghost commented Nov 13, 2025 •

Copy link
Copy Markdown
Contributor

Greptile Overview

Greptile Summary

This PR updates the VPS Explorer extension with improvements to SSH command execution and authentication options. The primary changes include enhanced SSH command handling by wrapping commands with sh -c for better shell compatibility, proper quote escaping to prevent injection vulnerabilities, and improved exit code handling in the expect script. A new optional SSH private key path preference has been added to support key-based authentication alongside the existing password authentication. The VPS service operations now more reliably execute complex shell commands and properly propagate exit codes for better error reporting. The changes also include a dependency update for @raycast/api from version 1.102.6 to 1.103.6.

PR Description Notes:

  • The PR description lacks details about what specific changes were made and why they were necessary

Important Files Changed

Filename Score Overview
extensions/vps-explorer/services/vpsOperations.ts 4/5 Enhanced SSH command execution with shell wrapping, quote escaping, and improved exit code handling
extensions/vps-explorer/package.json 3/5 Added optional SSH private key path preference but with authentication configuration inconsistency
extensions/vps-explorer/CHANGELOG.md 2/5 Updated with new version entry but uses incorrect date format instead of required template string

Confidence score: 3/5

  • This PR requires careful review due to authentication configuration issues and changelog format violations
  • Score lowered due to: inconsistent authentication setup requiring both SSH key AND password fields, changelog date format not following Raycast guidelines using specific date instead of {PR_MERGE_DATE} template, and potential security concerns with mixed authentication approaches
  • Pay close attention to package.json authentication preferences and CHANGELOG.md date format

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment thread extensions/vps-explorer/CHANGELOG.md Resolved
Comment thread extensions/vps-explorer/CHANGELOG.md Resolved
Comment thread extensions/vps-explorer/CHANGELOG.md Resolved
@pernielsentikaer

ghost commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

Hi @Abdullah-Dev115👋

Thanks for your contribution 🔥

It look like you have merge conflicts, could you please resolve them?

@pernielsentikaer
pernielsentikaer marked this pull request as draft November 13, 2025 19:51
@Abdullah-Dev115
Abdullah-Dev115 marked this pull request as ready for review November 13, 2025 20:00

ghost left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Comments (1)

  1. extensions/vps-explorer/package.json, line 52-58 (link)

    logic: Since SSH private key authentication is now supported, the password should be optional when a key path is provided. Consider making the password field required: false and handling authentication preference logic in the code. Should users be able to authenticate with SSH keys only, or is the intention to always require both key and password as fallback authentication methods?

3 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit c7d85c7 into raycast:main Nov 15, 2025
@github-actions

ghost commented Nov 15, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 15, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@Abdullah-Dev115

ghost commented Nov 15, 2025

Copy link
Copy Markdown
Contributor Author

Additional Comments (1)

  1. extensions/vps-explorer/package.json, line 52-58 (link)
    logic: Since SSH private key authentication is now supported, the password should be optional when a key path is provided. Consider making the password field required: false and handling authentication preference logic in the code. Should users be able to authenticate with SSH keys only, or is the intention to always require both key and password as fallback authentication methods?

3 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

it is indeed an intention, because most VPSs require a password. when i put a field as "required: false". I don't know but it does not show in the UI at all! I would like really to make the private key authentication is available and make the password not required for the VPSs that does not need password (very uncommon) but I have the UI issue, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: vps-explorer Issues related to the vps-explorer extension OP is author The OP of the PR is the author of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants