feat: add Perplexity Comet browser support#370
Open
Hilo-Hilo wants to merge 1 commit intosteipete:mainfrom
Open
feat: add Perplexity Comet browser support#370Hilo-Hilo wants to merge 1 commit intosteipete:mainfrom
Hilo-Hilo wants to merge 1 commit intosteipete:mainfrom
Conversation
Comet is a Chromium-based browser by Perplexity AI. This adds it to all browser cookie import lists, keychain decryption handling, and local storage scanning (MiniMax, Factory, Augment providers). Requires steipete/SweetCookieKit#6 for the Browser.comet enum case. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.cometto keychain decryption handling (usesKeychainForCookieDecryption)cometRequiresProfileData()test toBrowserDetectionTestsDetails
Comet is an AI-powered Chromium-based browser by Perplexity AI. On macOS it stores:
~/Library/Application Support/Comet/withDefault/profile dirDefault/Network/CookiesDependencies
Requires steipete/SweetCookieKit#6 to add the
Browser.cometenum case.Package.swifttemporarily points at the fork branch; once the SweetCookieKit PR is merged and released, this should be reverted to a version-based dependency.Files changed
Package.swift/Package.resolved— temp fork reference for.cometcaseBrowserCookieImportOrder.swift— add.comettousesKeychainForCookieDecryptionAugmentProviderDescriptor.swift— add.cometto browser orderMiniMaxLocalStorageImporter.swift— add.cometto 3 Chromium browser arraysFactoryLocalStorageImporter.swift— add.cometto Chromium browser arrayBrowserDetectionTests.swift— addcometRequiresProfileData()testTest plan
swift buildsucceedsBrowserDetectionTestsall pass (7/7), including newcometRequiresProfileDataBrowserCookieOrderStatusStringTestspass (2/2)ProviderSettingsDescriptorTestspass (4/4)ProviderToggleStoreTestspass (4/4)MenuCardModelTestspassMade with Cursor