Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added login logout p2p call #254

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Added login logout p2p call #254

merged 1 commit into from
Jan 31, 2025

Conversation

nang-dev
Copy link

@nang-dev nang-dev commented Jan 31, 2025

Description ✏️

Closes #xxx

What changed? Feel free to be brief.

  • Bullet points are helpful.
  • Screenshots are helpful (if applicable).

Checklist ✅

  • I have added screenshots (if UI changes are present).
  • I have done a self-review of my code.
  • I have manually tested my code (if applicable).

Important

Added login and logout command executions for PearAI in VSCode extension, handling authentication updates and URI events.

  • Behavior:
    • Added pearai-roo-cline.pearaiLogout command execution in pearai.logout in commands.ts.
    • Added pearai-roo-cline.pearaiLogin command execution in URI handler in VsCodeExtension.ts.
  • Commands:
    • pearai.logout now deletes tokens and executes a logout command.
    • pearai.updateUserAuth updates tokens and executes a login command.
  • Misc:
    • Minor changes to handle login/logout in commands.ts and VsCodeExtension.ts.

This description was created by Ellipsis for bc963e1. It will automatically update as commits are pushed.

@nang-dev nang-dev requested review from Fryingpannn and a team as code owners January 31, 2025 01:39
@nang-dev nang-dev merged commit cdbe20e into main Jan 31, 2025
2 checks passed
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to bc963e1 in 18 seconds

More details
  • Looked at 24 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. extensions/vscode/src/commands.ts:873
  • Draft comment:
    The command 'pearai-roo-cline.pearaiLogout' is invoked but not defined in the provided code. Ensure this command is registered to avoid runtime errors.
  • Reason this comment was not posted:
    Comment did not seem useful.
2. extensions/vscode/src/extension/VsCodeExtension.ts:158
  • Draft comment:
    The command 'pearai-roo-cline.pearaiLogin' is invoked but not defined in the provided code. Ensure this command is registered to avoid runtime errors.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_O4F6o1WORwBDyg9V


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

nang-dev added a commit that referenced this pull request Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant