Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements a new bot SDK by updating the webhook signature verification to accept payloads as strings, updating tests accordingly, and adding new code resources and client implementations.
- Update verify_webhook and generate_webhook_signature to use string payloads instead of JSON objects
- Add code resource endpoints for download, propose, and cleanup operations
- Update project metadata and add supporting types and client updates
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/bot/tests/test_webhook.py | Updated tests to pass payload as a string |
| packages/bot/src/automa/bot/webhook.py | Modified function signatures to accept payload as strings |
| packages/bot/src/automa/bot/resources/shared/task.py | Added new Task and TaskWithToken definitions |
| packages/bot/src/automa/bot/resources/code.py | New implementations for synchronous and asynchronous code resource methods |
| packages/bot/src/automa/bot/resources/init.py | Updated module exports |
| packages/bot/src/automa/bot/_types.py | Added new type definitions |
| packages/bot/src/automa/bot/_resource.py | New resource base classes |
| packages/bot/src/automa/bot/_client.py | New client implementations |
| packages/bot/src/automa/bot/_base_client.py | Base client implementations for sync/async HTTP operations |
| packages/bot/src/automa/bot/init.py | Updated module attributes for exported symbols |
| packages/bot/pyproject.toml | Updated project name and added dependency constraints |
Comments suppressed due to low confidence (1)
packages/bot/pyproject.toml:2
- Ensure that the updated project name 'automa-bot' is consistent with the repository and package naming conventions throughout the project.
name = "automa-bot"
8aa2854 to
83acc7d
Compare
83acc7d to
19c35f9
Compare
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.
No description provided.