Skip to content

Update cloudflare-warp extension - #22765

Merged
raycastbot merged 3 commits into
raycast:mainfrom
anandubajith:ext/cloudflare-warp
Nov 9, 2025
Merged

raycastbot merged 3 commits into
raycast:mainfrom
anandubajith:ext/cloudflare-warp

Conversation

@anandubajith

@anandubajith anandubajith commented Nov 9, 2025 •

Copy link
Copy Markdown
Contributor

Description

Add a new command to support switching MDM Profiles

Screencast

Checklist

- Merge branch \'contributions/merge-1762663273306\'
- Pull contributions
- update readme
- feat: add ability to switch between MDM profiles
- Merge branch \'contributions/merge-1730224381793868000\'
- Pull contributions
- chore: update to support new warp-cli 2024
- add metadata image
- Merge branch \'contributions/merge-1702302851409558000\'
- Pull contributions
- add metadata image
- remove closewindow
- empty commit to retrigger CI
- fix: logic for getting vnet data
- fix switching error message
- fix missing function call
- use HUD instead of toast
- fix package-lock
- update changelog
- fix lint error
- fix incorrect call
- first commit
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: cloudflare-warp Issues related to the cloudflare-warp extension platform: macOS labels Nov 9, 2025
@raycastbot

ghost commented Nov 9, 2025 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @anandubajith 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.

You can expect an initial review within five business days.

@raycastbot raycastbot added the OP is author The OP of the PR is the author of the extension label Nov 9, 2025
@anandubajith
anandubajith marked this pull request as ready for review November 9, 2025 04:44

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.

Greptile Overview

Greptile Summary

This PR adds MDM (Mobile Device Management) profile switching capability to the Cloudflare WARP extension. The changes introduce a new command switch-mdm-profile that allows users to view and switch between available MDM profiles, which is useful for enterprise environments where different organizational configurations need to be managed.

The implementation follows the existing pattern established by the virtual network switching feature. It includes two new functions in lib.ts (getMDMProfiles() and setMDMProfile()), a new React component switch-mdm-profile.tsx that provides a list interface showing available profiles, and updates to the package.json manifest to register the new command. The solution integrates well with the existing codebase architecture and maintains consistency with Raycast extension patterns.

Important Files Changed

Filename Score Overview
extensions/cloudflare-warp/package.json 5/5 Added new 'switch-mdm-profile' command registration with proper configuration
extensions/cloudflare-warp/README.md 5/5 Updated documentation to include new MDM profile switching feature
extensions/cloudflare-warp/src/lib.ts 4/5 Added getMDMProfiles() and setMDMProfile() functions but contains pre-existing error message bug
extensions/cloudflare-warp/src/switch-mdm-profile.tsx 4/5 New React component implementing MDM profile switching with proper patterns and error handling
extensions/cloudflare-warp/CHANGELOG.md 3/5 Added changelog entry but uses actual date instead of required {PR_MERGE_DATE} template

Confidence score: 4/5

  • This PR is safe to merge with low risk as it adds a new feature without modifying existing functionality
  • Score reflects well-structured implementation following established patterns, but points deducted for changelog date format issue and pre-existing error message bug in lib.ts
  • Pay close attention to extensions/cloudflare-warp/CHANGELOG.md which needs the date format corrected

Additional Comments (1)

  1. extensions/cloudflare-warp/src/lib.ts, line 34 (link)

    logic: Error message says 'Failed to connect' but should be 'Failed to disconnect' since this is the disconnect function

5 files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

Comment thread extensions/cloudflare-warp/CHANGELOG.md Resolved
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 bae6327 into raycast:main Nov 9, 2025
@github-actions

ghost commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 9, 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.

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

Labels

extension: cloudflare-warp Issues related to the cloudflare-warp extension extension fix / improvement Label for PRs with extension's fix improvements 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