feat(profiles): Add profile management tools and session support#6
Merged
AHarmlessPyro merged 5 commits intohyperbrowserai:mainfrom Apr 13, 2025
Merged
Conversation
- Added create_hyperbrowser_profile tool - Added delete_hyperbrowser_profile tool - Added list_hyperbrowser_profiles tool - Updated existing tools to accept optional profileId in sessionOptions - Refactored session option preparation into src/utils.ts#prepareSessionOptions - Utilized CreateSessionParams type from @hyperbrowser/sdk
Contributor
Author
Contributor
Author
Collaborator
|
Hey, thanks for the PR @monotykamary , we'll review this and merge it soon : ) Can you update the PR description though ? Doesn't seem like the refactoring changes mentioned were kept in the PR. |
Contributor
Author
|
Ah my bad my bad, just updated. |
Collaborator
|
Thanks @monotykamary, the PR is merged |
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.




This PR introduces profile management capabilities to the Hyperbrowser MCP server.
Changes:
create_profile: Creates a new persistent profile (src/tools/create-profile.ts).delete_profile: Deletes a profile by ID (src/tools/delete-profile.ts).list_profiles: Lists existing profiles with optional pagination (src/tools/list-profiles.ts).src/tools/tool-types.ts: Addedprofileoptions tosessionOptionsSchemafor all relevant tools to allow running tasks within a specific profile context. Added schemas fordelete_profileandlist_profiles.src/transports/setup_server.ts: Imported and registered the new profile management tools.README.md: Updated the tool list to include the new profile management tools.Resolves #5