mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-04 20:05:11 -05:00
ea01c8038bbdb9a672d112ecee0f5e505eca3825
420 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ea01c8038b |
fix(frontend): Fix broken block UI layout (#9132)
https://github.com/Significant-Gravitas/AutoGPT/pull/9097/files#diff-ef176e50a6a65af5df2182626ea868ce77b76de447c816fb4f80fb4d376c3049R7-R41 introduced styling changes to block UI layout which causes the block layout broken:  This PR minimally reverts the styling change. ### Changes 🏗️ Minimal CSS revert to make the block UI layout back to normal. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
a646e60d2f |
fix(backend): Added locking status check before releasing to avoid releasing timing out lock (#9135)
Exception:
```
nid:ce829f66-14b0-4bd3-b748-791e46666cb6|-] Failed node execution ce829f66-14b0-4bd3-b748-791e46666cb6: Cannot release an unlocked lock {}\u001b[0m",
Traceback (most recent call last):\n File \"/app/autogpt_platform/backend/backend/integrations/creds_manager.py\", line 145, in _locked\n yield\n File \"/app/autogpt_platform/backend/backend/integrations/creds_manager.py\", line 115, in acquire\n lock = self._acquire_lock(user_id, credentials_id)",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
File \"/app/autogpt_platform/backend/backend/integrations/creds_manager.py\", line 139, in _acquire_lock",
return self._locks.acquire(key)",
^^^^^^^^^^^^^^^^^^^^^^^^",
File \"/app/autogpt_platform/autogpt_libs/autogpt_libs/utils/synchronize.py\", line 44, in acquire",
lock.acquire()",
File \"/usr/local/lib/python3.11/site-packages/redis/lock.py\", line 218, in acquire",
mod_time.sleep(sleep)",
File \"/app/autogpt_platform/backend/backend/executor/manager.py\", line 471, in <lambda>",
signal.SIGTERM, lambda _, __: cls.on_node_executor_sigterm()",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
File \"/app/autogpt_platform/backend/backend/executor/manager.py\", line 498, in on_node_executor_sigterm",
sys.exit(0)",
SystemExit: 0",
During handling of the above exception, another exception occurred:",
Traceback (most recent call last):\n File \"/app/autogpt_platform/backend/backend/executor/manager.py\", line 539, in _on_node_execution\n for execution in execute_node(\n File \"/app/autogpt_platform/backend/backend/executor/manager.py\", line 175, in execute_node\n credentials, creds_lock = creds_manager.acquire(user_id, credentials_meta.id)",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",
File \"/app/autogpt_platform/backend/backend/integrations/creds_manager.py\", line 114, in acquire",
with self._locked(user_id, credentials_id, \"!time_sensitive\"):",
File \"/usr/local/lib/python3.11/contextlib.py\", line 158, in __exit__",
self.gen.throw(typ, value, traceback)",
File \"/app/autogpt_platform/backend/backend/integrations/creds_manager.py\", line 147, in _locked",
lock.release()",
File \"/usr/local/lib/python3.11/site-packages/redis/lock.py\", line 254, in release",
raise LockError(\"Cannot release an unlocked lock\", lock_name=self.name)",
redis.exceptions.LockError: Cannot release an unlocked lock",
```
### Changes 🏗️
```
try:
lock.acquire()
...
finally:
lock.release()
```
pattern can cause an error where the lock is already released due to
timeout.
The scope of the change is to manually check the lock status before
releasing.
### Checklist 📋
#### For code changes:
- [ ] I have clearly listed my changes in the PR description
- [ ] I have made a test plan
- [ ] I have tested my changes according to the test plan:
<!-- Put your test plan here: -->
- [ ] ...
<details>
<summary>Example test plan</summary>
- [ ] Create from scratch and execute an agent with at least 3 blocks
- [ ] Import an agent from file upload, and confirm it executes
correctly
- [ ] Upload agent to marketplace
- [ ] Import an agent from marketplace and confirm it executes correctly
- [ ] Edit an agent from monitor, and confirm it executes correctly
</details>
#### For configuration changes:
- [ ] `.env.example` is updated or already compatible with my changes
- [ ] `docker-compose.yml` is updated or already compatible with my
changes
- [ ] I have included a list of my configuration changes in the PR
description (under **Changes**)
<details>
<summary>Examples of configuration changes</summary>
- Changing ports
- Adding new services that need to communicate with each other
- Secrets or environment variable changes
- New or infrastructure changes such as databases
</details>
|
||
|
|
15af2f410b |
refactor(frontend): Auth pages update (#9124)
There are UX and design issues with current auth pages; `login`, `signup` and `reset_password` (including change password). ### Changes 🏗️  *Missing `s` on the login's password error is fixed. Important changes in bold. #### All auth pages - **Split `/login` into `/signup`** - UI Redesign that adheres to Figma designs - General code cleanup and improvements - Fix feedback: it's now shown when needed and clear (e.g. "~~String~~ Password must be...") - All action functions use `Sentry.withServerActionInstrumentation` - `PasswordInput` "eye button" shows password only when mouse button is hold and doesn't capture tab #### Login page - **Removed agree to terms checkbox** (it's only on signup now) - Move provider login function to `actions.ts` #### Signup page - **Requires to type password twice** - Shows waitlist information on *any* database error #### Reset password page - **Password update requires to type password twice** - **When request to send email is processed then the feedback is: Password reset email sent if user exists. Please check your email.** - Email sent feedback is black, error is red - Move send email and update password functions to `actions.ts` - Disable button when email is sent #### Other - Update zod schema objects and move them to `types/auth` - Move `components/PasswordInput.tsx` to `/components/auth` - Make common UI elements separate components in `components/auth` - Update `yarn.lock` (supabase packages) - Remove redundant letter in `client.ts` - Don't log error when user auth is missing in `useSupabase`; user is simply not logged in ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Form feedback: - [x] Login works - [x] Signup works - [x] Reset email works - [x] Change password works - [x] Login works - [x] Signup works - [x] Reset email is sent - [x] Reset email logs user in and redirects to `/reset_password` - [x] Change password works - [x] Logout works - [x] All links across auth pages work Note: OAuth login providers are disabled and so untested. <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
763284e3a3 |
fix(platform): minor fixes (#9147)
### Changes 🏗️ - Redirect to the marketplace. - Ensure that the store agent uses agent graph data instead of store listing data. - Don’t export agent input values. - URL sanitization: We can’t open an agent if it has a colon in its name. - Show all top agents. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> |
||
|
|
10865cd736 |
[Platform] Creator profile description no longer ignores new lines (#9114)
Fixes #9086 ### Changes 🏗️ Added styling to the div that encapsulates the description that takes white space into account ### Checklist 📋 #### Code changes: - [ x] I have clearly listed my changes in the PR description - [ x] I have made a test plan - [ x] I have tested my changes according to the test plan: <summary>The test plan was to just make changes to profile bio and check the creator page to see if new lines were generated properly</summary> Below is what the new change looks like: <img width="882" alt="Screenshot 2024-12-20 at 12 21 09 pm" src="https://github.com/user-attachments/assets/6d396ec7-96f8-4c9c-9d1f-a5bd75c6dc86" /> becomes... <img width="468" alt="Screenshot 2024-12-20 at 12 21 15 pm" src="https://github.com/user-attachments/assets/9dbe256b-5800-4f17-91c2-4ecffcffbc0b" /> |
||
|
|
1663d4273b |
fix(store): username not lowered when its updated (#9112)
fix(store): username not lowered when its updated breaking access to any of there users pages in the store |
||
|
|
658493559d |
fix(store): Fixing add agent to library (#9098)
Do a deep copy of the store agent so the new agent is under the current
users id
⚠️ Hacky fix!!
|
||
|
|
6025506cae |
feat(store) : add new model and prompt in image generation (#9099)
Update Marketplace Image generation Prompt and Model
**Changes:**
- Updated the image generation prompt for Marketplace to better
highlight agent functionality:
```
Create a visually engaging app store thumbnail for the AI agent that
highlights what it does in a clear and captivating way:
- **Name**: {agent.name}
- **Description**: {agent.description}
Focus on showcasing its core functionality with an appealing design.
```
- Changed the model to `black-forest-labs/flux-1.1-pro` for improved
results.
|
||
|
|
54f8d3b4dd |
blocks(exa): Add more Exa blocks (#9097)
Revamp the Exa search block and add two more for Content and Similarity search. ### Changes 🏗️ - Updated the exa search block input names to be snakecase not camel case - Added Advanced to non required fields - Pulled Content settings into helpers for reuse across blocks - Updated customnode.css to handle long inputs, especially in the case of the date input ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... |
||
|
|
a8339d0748 |
fix(store): Sanitize username and Agent Name in URLs (#9096)
[fix(store): Sanitize username and Agent Name in
URLs](
|
||
|
|
4cc8616c02 |
feat(store) : Small UI changes on marketplace (#9094)
Add small ui changes on marketplace Fix - #9035 - #9034 - #9033 - #9031 - #9029 - #9028 - #9027 - #9026 - #9025 - #9021 - #9020 - #9004 - #9003 - #9002 - #9001 - #8999 - #8998 - #8997 - #8996 - #8995 - #8994 - #8993 - #8991 - #8990 - #8989 --------- Co-authored-by: Swifty <craigswift13@gmail.com> |
||
|
|
44722c4b39 |
fix(store): remove debug logging of requests (#9093)
[fix(store): remove debug logging of
requests](
|
||
|
|
e33864f5ed | fix(store): fmt | ||
|
|
d3e1319eb3 |
fix(store): Increase the margin below featured section (#9092)
I've increased the margin, to the requested 60px Before: <img width="1522" alt="91e02ace-920a-4e69-9a12-2c55d9a63ff0" src="https://github.com/user-attachments/assets/d1163b04-7e80-4ac9-81d5-98f3a7f8a8b9" /> Requested:  |
||
|
|
ddac69e0f1 |
feat: swap context menu for dropdown to fix three dots doing nothing (#9091)
<!-- Clearly explain the need for these changes: --> ### Changes 🏗️ swaps context menu for dropdown menu <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
1fb9c8c37f |
fix(store): Display error toast messaging on creator popup (#9078)
When the agent submission was filled out incorrectly, there was no error pop up. It just did nothing. ### Changes 🏗️ Created an array to track which fields are missing If this array is not empty, a toast is displayed to show which fields are missing. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> --------- Co-authored-by: Swifty <craigswift13@gmail.com> |
||
|
|
71310a1b49 |
fix(frontend): Make clickable area bigger (#9080)
The clickable area on the navbar was very small and the icons were not clickable ### Changes 🏗️ Wrap the icons as well in Link ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
8e634d7bc3 |
feat(store): Generate AI images for store submissions (#9090)
Allow generating ai images for store submissions |
||
|
|
d028f5bd39 |
fix(store): "Publish an Agent" flow has a missing default image (#9089)
Introduced when making sure initialData was inferred from the agent object. This has been fixed now |
||
|
|
ca91754bc6 |
fix(store): Make username case insensitive (#9088)
Username was case sensitive, made username case insensitive |
||
|
|
8ca80e05a9 |
fix(frontend): Disable agent save button when saving or running (#9077)
Now agent can be saved multiple times. ### Changes 🏗️ Disable agent save button when saving or running. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
4f15da99f9 |
feat(frontend) Remove "credentials" from export & import of agents (#9081)
### Changes 🏗️ This is for [Credential ID Exports into Agent JSON #8919 ](https://github.com/Significant-Gravitas/AutoGPT/issues/8919) I have added a new function ``removeCredentials`` into [``utils.ts``](https://github.com/Significant-Gravitas/AutoGPT/compare/dev...bently/open-2153-credential-id-exports-into-agent-json?expand=1#diff-db26a69e6fb7546dc621634f3c8ee6efa3639e72e02837f753af18b2fdddf7be) which will go through and look for any "credentials" that are in the JSON during a agent export, this will then remove them and let the user download the file. I have also added the same function to the importing of agents for old agents that where exported that still contain the credentials, this means that old agents can be imported with out breaking/causing issues. When I say it looks for credentials I dont mean actual credentials like api keys them self, in the JSON that is exported it contains the following, this needs removing ``` "credentials": { "id": "6767232a-3407-4c34-85a3-6887d4969f0c", "title": "Anthropic Toran", "provider": "anthropic", "type": "api_key" }, ``` If there is a better way to go about this let me know! |
||
|
|
54dddbf488 |
feat(store): Auto-populate the agent submission form (#9074)
### Changes 🏗️ - added description to my agents response - auto populate the publish agent info form https://github.com/user-attachments/assets/68cd5d33-0f67-4875-80e9-5a7115b847e7 |
||
|
|
356aee1b72 |
fix(store): Marketplace - "Integrations" link in Settings is a 404 (#9073)
I copied the original integrations page into ``/store/(users)/integrations`` and did some slight tweaks and I updated the url path from ``/integrations`` to ``/store/integrations`` in ``Sidebar.tsx`` so the button to the integrations page works now This also replaces https://github.com/Significant-Gravitas/AutoGPT/pull/9072 https://github.com/user-attachments/assets/e1ff6fd6-e47a-49b6-82d5-e6fc55eb07b5 |
||
|
|
ed7c9378eb |
fix(store): Marketplace - Navbar should say "Marketplace" rather than "Agent Store" (#9069)
Fixes #9067 ### Changes 🏗️ - Renamed elements from Agent Store to Marketplace |
||
|
|
aaf4ee524d |
fix(store): Youtube link not showing video on agent page (#9068)
Fixes #9054 ## Changes - add the video link to the start of the images array |
||
|
|
234e4a35c4 | fix(store): Profile updating is handled in an insecure and potentially broken way | ||
|
|
4646de463a |
fix(store): Uploading to store selects two agents (#9065)
Fixes #9059 ### Changes 🏗️ - Changed agent selection from keying on agent name to keying on agent id |
||
|
|
b1d869aad2 |
feat(frontend): Disable theme toggle (#9062)
### Changes 🏗️
This disables the theme toggle for now, I did not remove it incase we
plan to properly add it back in the future
|
||
|
|
bb8a37911c |
feat: default for is featured (#9061)
<!-- Clearly explain the need for these changes: --> defaults is_featured to false |
||
|
|
746f3d4e41 |
feat(platform): Support manually setting up webhooks (#8750)
- Resolves #8748 The webhooks system as is works really well for full blown enterprise webhooks managed via a UI. It does not work for more "chill guy" webhook tools that just send notifications sometimes. ## Changes 🏗️ - feat(blocks): Add Compass transcription trigger block - feat(backend): Amend webhooks system to support manual-set-up webhooks - Make event filter input optional on webhook-triggered nodes - Make credentials optional on webhook-triggered nodes - Add code path to re-use existing manual webhook on graph update - Add `ManualWebhookManagerBase` - feat(frontend): Add UI to pass webhook URL to user on manual-set-up webhook blocks  - fix(backend): Strip webhook info from node objects for graph export - refactor(backend): Rename `backend.integrations.webhooks.base` to `._base` --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
89a9354acb | fix(store): isFeatured used instead of is_featured | ||
|
|
aa883d8465 |
feat(platform): updated schema to allow featuring of specific creators (#9048)
updated schema to allow featuring of specific creators |
||
|
|
e8dd0a297e |
feat(frontend): Updates to navbar (#9047)
### Changes 🏗️ Updates to navbar and button sizes, added autogpt icon The navbar now matches the design and resolves [Markeplace - Reduce the size of the top menu bar, change the font size & the height of the bar to 64px #8953](https://github.com/Significant-Gravitas/AutoGPT/issues/8953)    |
||
|
|
9d93704264 |
feat(platform): Add basic library functionality (#9043)
Add functionality to allow users to add agents to their library from the store page. |
||
|
|
6ec2bacb72 |
refactor(frontend): Update Supabase and backend API management (#9036)
Currently there are random issues (logout, auth desync) and inconveniences with how Supabase and backend API works. Resolves: - https://github.com/Significant-Gravitas/AutoGPT/issues/9006 - https://github.com/Significant-Gravitas/AutoGPT/issues/8912 ### Changes 🏗️ This PR streamlines how the Supabase and backend API is used to fix current errors with auth, remove unnecessary code and make it easier to use Supabase and backend API. - Add `getServerSupabase` for server side that returns `SupabaseClient`. - Add `Spinner` component that is used for loading animation. - Remove redundant `useUser`, user is fetched in `useSupabase` already. - Replace most Supabase `create*Client` to `getSupabaseServer` and `useSupabase`. - Remove redundant `AutoGPTServerAPI` class and rename `BaseAutoGPTServerAPI` to `BackendAPI` and use it instead. - Remove `SupabaseProvider` context; supabase caches internally what's possible already. - Move `useSupabase` hook to its own file and update it. ### Helpful table | Next.js usage | Server | Client | |---|---|---| | API | `new BackendAPI();` | `new BackendAPI();`* or `useBackendAPI()` | | Supabase | `getServerSupabase();` | `useSupabase();` | | user, user.role | `getServerUser();`** | `useSupabase();` | \* `BackendAPI` automatically chooses correct Supabase client, so while it's recommended to use `useBackendAPI()`, it's ok to use `new BackendAPI();` in client components and even memoize it: `useMemo(() => new BackendAPI(), [])`. ** The reason user isn't returned in `getServerSupabase` is because it forces async fetch but creating supabase doesn't, so it'd force `getServerSupabase` to be async or return `{ supabase: SupabaseClient, user: Promise<User> | null }`. For the same reason `useSupabase` provides access to `supabase` immediately but `user` *may* be loading, so there's `isUserLoading` provided as well. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> --------- Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
95bd268de8 |
feat(frontend): search results updates (#9024)
This PR covers all of these issues below related to the search bar section - [Marketplace - search results - change margins between chips and section title #8980](https://github.com/Significant-Gravitas/AutoGPT/issues/8980) - [Marketplace - search results - #8981 ](https://github.com/Significant-Gravitas/AutoGPT/issues/8981) - [Marketplace - search results - search box reduce height to 60px #8977](https://github.com/Significant-Gravitas/AutoGPT/issues/8977) - [Marketplace - search results - increase margins between filter chips and search box #8978](https://github.com/Significant-Gravitas/AutoGPT/issues/8978) - [Marketplace - search results - change line height #8979](https://github.com/Significant-Gravitas/AutoGPT/issues/8979) --------- Co-authored-by: Swifty <craigswift13@gmail.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
0e10e62bfa |
feat(frontend): Reset password page (#8987)
Currently, users have no way to reset their password. ### Changes 🏗️ Add `reset_password` page that displays either form to send reset password email or lets logged in user change their password. Login page now shows clickable "Forgot your password?" link. After updating password user is logged out and redirected to login page. Note: Link provided in the email just logs user in and redirects to reset password form but password update isn't enforced. <img width="279" alt="Screenshot 2024-12-14 at 1 28 39 PM" src="https://github.com/user-attachments/assets/c7ada10c-74e5-4be3-8033-0912eb5b38f2" /> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Email is sent - [x] Link in the email logs user in and redirects to reset password form - [x] Reset password form works <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
e27d7a2efb | revert upgrade of crypto lib | ||
|
|
41be88f0bf | Update dependencies | ||
|
|
53eda98737 |
build(deps-dev): bump the development-dependencies group across 1 directory with 3 updates (#9017)
Bumps the development-dependencies group with 3 updates in the /autogpt_platform/frontend directory: [@storybook/test-runner](https://github.com/storybookjs/test-runner), [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) and [msw](https://github.com/mswjs/msw). Updates `@storybook/test-runner` from 0.19.1 to 0.20.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/storybookjs/test-runner/releases"><code>@storybook/test-runner</code>'s releases</a>.</em></p> <blockquote> <h2>v0.20.1</h2> <h4>🐛 Bug Fix</h4> <ul> <li>Release 0.20.1 <a href="https://redirect.github.com/storybookjs/test-runner/pull/520">#520</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> <li>Fix postVisit hook issue <a href="https://redirect.github.com/storybookjs/test-runner/pull/519">#519</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h2>v0.20.0</h2> <h3>Release Notes</h3> <h4>Refactor: Align with Storybook 8.2 core package layout</h4> <p>This is a structural change that shouldn't really affect you. As long as you have the <code>storybook</code> dependency in your app (which you should), you're good! This change makes it so that the test-runner deduplicates Storybook dependencies, and therefore, slims down your node_modules size.</p> <h4>Feature: Run postVisit on failures (<a href="https://redirect.github.com/storybookjs/test-runner/pull/494">#494</a>)</h4> <p>The test-runner's postVisit hook now runs even if there are failures. This allows you to, for instance, take snapshots on component failures. You can check whether the test has failed via the <code>hasFailure</code> property in the context passed to the hook:</p> <pre lang="ts"><code>const config: TestRunnerConfig = { async postVisit(_page, context) { if(context.hasFailure) { console.log('problems!') // do a snapshot, write a log, or anything you like } }, } </code></pre> <hr /> <h4>🚀 Enhancement</h4> <ul> <li>Feature: Run postVisit on failures <a href="https://redirect.github.com/storybookjs/test-runner/pull/494">#494</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> <li>Align with Storybook 8.2 core package layout <a href="https://redirect.github.com/storybookjs/test-runner/pull/512">#512</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>📝 Documentation</h4> <ul> <li>Fix tags docs <a href="https://redirect.github.com/storybookjs/test-runner/pull/497">#497</a> (<a href="https://github.com/shilman"><code>@shilman</code></a> <a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 6</h4> <ul> <li>Michael Shilman (<a href="https://github.com/shilman"><code>@shilman</code></a>)</li> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h2>v0.20.0-next.2</h2> <h3>Release Notes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/storybookjs/test-runner/blob/v0.20.1/CHANGELOG.md"><code>@storybook/test-runner</code>'s changelog</a>.</em></p> <blockquote> <h1>v0.20.1 (Mon Dec 02 2024)</h1> <h4>🐛 Bug Fix</h4> <ul> <li>Release 0.20.1 <a href="https://redirect.github.com/storybookjs/test-runner/pull/520">#520</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> <li>Fix postVisit hook issue <a href="https://redirect.github.com/storybookjs/test-runner/pull/519">#519</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <hr /> <h1>v0.20.0 (Thu Nov 28 2024)</h1> <h3>Release Notes</h3> <h4>Feature: Run postVisit on failures (<a href="https://redirect.github.com/storybookjs/test-runner/pull/494">#494</a>)</h4> <p>The test-runner's postVisit hook now runs even if there are failures. This allows you to, for instance, take snapshots on component failures. You can check whether the test has failed via the <code>hasFailure</code> property in the context passed to the hook:</p> <pre lang="ts"><code>const config: TestRunnerConfig = { async postVisit(_page, context) { if(context.hasFailure) { console.log('problems!') // do a snapshot, write a log, or anything you like } }, } </code></pre> <hr /> <h4>🚀 Enhancement</h4> <ul> <li>Release 0.20.0 <a href="https://redirect.github.com/storybookjs/test-runner/pull/518">#518</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a> <a href="https://github.com/shilman"><code>@shilman</code></a>)</li> <li>Feature: Run postVisit on failures <a href="https://redirect.github.com/storybookjs/test-runner/pull/494">#494</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> <li>Release 0.20.0 <a href="https://redirect.github.com/storybookjs/test-runner/pull/514">#514</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a> <a href="mailto:runner@fv-az773-358.an51pne1gm2ejjnmkprpigk40g.dx.internal.cloudapp.net">runner@fv-az773-358.an51pne1gm2ejjnmkprpigk40g.dx.internal.cloudapp.net</a>)</li> <li>Align with Storybook 8.2 core package layout <a href="https://redirect.github.com/storybookjs/test-runner/pull/512">#512</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>📝 Documentation</h4> <ul> <li>Fix tags docs <a href="https://redirect.github.com/storybookjs/test-runner/pull/497">#497</a> (<a href="https://github.com/shilman"><code>@shilman</code></a> <a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 6</h4> <ul> <li>Michael Shilman (<a href="https://github.com/shilman"><code>@shilman</code></a>)</li> <li>shilman (<a href="mailto:runner@fv-az1567-4.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net">runner@fv-az1567-4.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net</a>)</li> <li>shilman (<a href="mailto:runner@fv-az2031-358.rag0t2s20xiu3oejmeweyzhkrf.bx.internal.cloudapp.net">runner@fv-az2031-358.rag0t2s20xiu3oejmeweyzhkrf.bx.internal.cloudapp.net</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
abd245cb2b |
test(frontend): additional build page automation tooling (#8951)
The tutorial was a bit harder than we expected to completely automate. Along the way though, we made these functions so lets keep em in for future use <!-- Clearly explain the need for these changes: --> ### Changes 🏗️ - Adds a few more functions for the build automation pages <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [ ] I have tested my changes according to the test plan: Writing tests |
||
|
|
9e0c296aef |
build(deps): bump uvicorn from 0.32.1 to 0.34.0 in /autogpt_platform/market in the production-dependencies group (#9012)
Bumps the production-dependencies group in /autogpt_platform/market with 1 update: [uvicorn](https://github.com/encode/uvicorn). Updates `uvicorn` from 0.32.1 to 0.34.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/encode/uvicorn/releases">uvicorn's releases</a>.</em></p> <blockquote> <h2>Version 0.34.0</h2> <h2>What's Changed</h2> <ul> <li>Add <code>content-length</code> to 500 response in wsproto by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/encode/uvicorn/pull/2542">encode/uvicorn#2542</a></li> <li>Drop Python 3.8 by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/encode/uvicorn/pull/2543">encode/uvicorn#2543</a></li> </ul> <hr /> <p><strong>Full Changelog</strong>: <a href="https://github.com/encode/uvicorn/compare/0.33.0...0.34.0">https://github.com/encode/uvicorn/compare/0.33.0...0.34.0</a></p> <h2>Version 0.33.0</h2> <h2>What's Changed</h2> <ul> <li>Remove WatchGod by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/encode/uvicorn/pull/2536">encode/uvicorn#2536</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/bwells"><code>@bwells</code></a> made their first contribution in <a href="https://redirect.github.com/encode/uvicorn/pull/2491">encode/uvicorn#2491</a></li> <li><a href="https://github.com/tback"><code>@tback</code></a> made their first contribution in <a href="https://redirect.github.com/encode/uvicorn/pull/2528">encode/uvicorn#2528</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/encode/uvicorn/compare/0.32.1...0.33.0">https://github.com/encode/uvicorn/compare/0.32.1...0.33.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's changelog</a>.</em></p> <blockquote> <h2>0.34.0 (2024-12-15)</h2> <h3>Added</h3> <ul> <li>Add <code>content-length</code> to 500 response in <code>wsproto</code> implementation (<a href="https://redirect.github.com/encode/uvicorn/issues/2542">#2542</a>)</li> </ul> <h3>Removed</h3> <ul> <li>Drop support for Python 3.8 (<a href="https://redirect.github.com/encode/uvicorn/issues/2543">#2543</a>)</li> </ul> <h2>0.33.0 (2024-12-14)</h2> <h3>Removed</h3> <ul> <li>Remove <code>WatchGod</code> support for <code>--reload</code> (<a href="https://redirect.github.com/encode/uvicorn/issues/2536">#2536</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
59f52fb656 |
build(deps-dev): bump ruff from 0.8.2 to 0.8.3 in /autogpt_platform/autogpt_libs in the development-dependencies group (#9008)
Bumps the development-dependencies group in /autogpt_platform/autogpt_libs with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.8.2 to 0.8.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.8.3</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Fix fstring formatting removing overlong implicit concatenated string in expression part (<a href="https://redirect.github.com/astral-sh/ruff/pull/14811">#14811</a>)</li> <li>[<code>airflow</code>] Add fix to remove deprecated keyword arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14887">#14887</a>)</li> <li>[<code>airflow</code>]: Extend rule to include deprecated names for Airflow 3.0 (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14765">#14765</a> and <a href="https://redirect.github.com/astral-sh/ruff/pull/14804">#14804</a>)</li> <li>[<code>flake8-bugbear</code>] Improve error messages for <code>except*</code> (<code>B025</code>, <code>B029</code>, <code>B030</code>, <code>B904</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14815">#14815</a>)</li> <li>[<code>flake8-bugbear</code>] <code>itertools.batched()</code> without explicit <code>strict</code> (<code>B911</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14408">#14408</a>)</li> <li>[<code>flake8-use-pathlib</code>] Dotless suffix passed to <code>Path.with_suffix()</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14779">#14779</a>)</li> <li>[<code>pylint</code>] Include parentheses and multiple comparators in check for <code>boolean-chained-comparison</code> (<code>PLR1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14781">#14781</a>)</li> <li>[<code>ruff</code>] Do not simplify <code>round()</code> calls (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14832">#14832</a>)</li> <li>[<code>ruff</code>] Don't emit <code>used-dummy-variable</code> on function parameters (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14818">#14818</a>)</li> <li>[<code>ruff</code>] Implement <code>if-key-in-dict-del</code> (<code>RUF051</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14553">#14553</a>)</li> <li>[<code>ruff</code>] Mark autofix for <code>RUF052</code> as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/14824">#14824</a>)</li> <li>[<code>ruff</code>] Teach autofix for <code>used-dummy-variable</code> about TypeVars etc. (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14819">#14819</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Offer unsafe autofix for <code>no-explicit-stacklevel</code> (<code>B028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14829">#14829</a>)</li> <li>[<code>flake8-pyi</code>] Skip all type definitions in <code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14797">#14797</a>)</li> <li>[<code>pyupgrade</code>] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (<code>UP009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14728">#14728</a>)</li> <li>[<code>pyupgrade</code>] Mark fixes for <code>convert-typed-dict-functional-to-class</code> and <code>convert-named-tuple-functional-to-class</code> as unsafe if they will remove comments (<code>UP013</code>, <code>UP014</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14842">#14842</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Raise syntax error for mixing <code>except</code> and <code>except*</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14895">#14895</a>)</li> <li>[<code>flake8-bugbear</code>] Fix <code>B028</code> to allow <code>stacklevel</code> to be explicitly assigned as a positional argument (<a href="https://redirect.github.com/astral-sh/ruff/pull/14868">#14868</a>)</li> <li>[<code>flake8-bugbear</code>] Skip <code>B028</code> if <code>warnings.warn</code> is called with <code>*args</code> or <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14870">#14870</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip iterables with named expressions in <code>unnecessary-map</code> (<code>C417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14827">#14827</a>)</li> <li>[<code>flake8-pyi</code>] Also remove <code>self</code> and <code>cls</code>'s annotation (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14801">#14801</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest-parametrize-names-wrong-type</code> (<code>PT006</code>) to edit both <code>argnames</code> and <code>argvalues</code> if both of them are single-element tuples/lists (<a href="https://redirect.github.com/astral-sh/ruff/pull/14699">#14699</a>)</li> <li>[<code>perflint</code>] Improve autofix for <code>PERF401</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14369">#14369</a>)</li> <li>[<code>pylint</code>] Fix <code>PLW1508</code> false positive for default string created via a mult operation (<a href="https://redirect.github.com/astral-sh/ruff/pull/14841">#14841</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/BurntSushi"><code>@BurntSushi</code></a></li> <li><a href="https://github.com/DimitriPapadopoulos"><code>@DimitriPapadopoulos</code></a></li> <li><a href="https://github.com/Glyphack"><code>@Glyphack</code></a></li> <li><a href="https://github.com/InSyncWithFoo"><code>@InSyncWithFoo</code></a></li> <li><a href="https://github.com/Lee-W"><code>@Lee-W</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/UnknownPlatypus"><code>@UnknownPlatypus</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/cclauss"><code>@cclauss</code></a></li> <li><a href="https://github.com/dcreager"><code>@dcreager</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.8.3</h2> <h3>Preview features</h3> <ul> <li>Fix fstring formatting removing overlong implicit concatenated string in expression part (<a href="https://redirect.github.com/astral-sh/ruff/pull/14811">#14811</a>)</li> <li>[<code>airflow</code>] Add fix to remove deprecated keyword arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14887">#14887</a>)</li> <li>[<code>airflow</code>]: Extend rule to include deprecated names for Airflow 3.0 (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14765">#14765</a> and <a href="https://redirect.github.com/astral-sh/ruff/pull/14804">#14804</a>)</li> <li>[<code>flake8-bugbear</code>] Improve error messages for <code>except*</code> (<code>B025</code>, <code>B029</code>, <code>B030</code>, <code>B904</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14815">#14815</a>)</li> <li>[<code>flake8-bugbear</code>] <code>itertools.batched()</code> without explicit <code>strict</code> (<code>B911</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14408">#14408</a>)</li> <li>[<code>flake8-use-pathlib</code>] Dotless suffix passed to <code>Path.with_suffix()</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14779">#14779</a>)</li> <li>[<code>pylint</code>] Include parentheses and multiple comparators in check for <code>boolean-chained-comparison</code> (<code>PLR1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14781">#14781</a>)</li> <li>[<code>ruff</code>] Do not simplify <code>round()</code> calls (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14832">#14832</a>)</li> <li>[<code>ruff</code>] Don't emit <code>used-dummy-variable</code> on function parameters (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14818">#14818</a>)</li> <li>[<code>ruff</code>] Implement <code>if-key-in-dict-del</code> (<code>RUF051</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14553">#14553</a>)</li> <li>[<code>ruff</code>] Mark autofix for <code>RUF052</code> as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/14824">#14824</a>)</li> <li>[<code>ruff</code>] Teach autofix for <code>used-dummy-variable</code> about TypeVars etc. (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14819">#14819</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Offer unsafe autofix for <code>no-explicit-stacklevel</code> (<code>B028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14829">#14829</a>)</li> <li>[<code>flake8-pyi</code>] Skip all type definitions in <code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14797">#14797</a>)</li> <li>[<code>pyupgrade</code>] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (<code>UP009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14728">#14728</a>)</li> <li>[<code>pyupgrade</code>] Mark fixes for <code>convert-typed-dict-functional-to-class</code> and <code>convert-named-tuple-functional-to-class</code> as unsafe if they will remove comments (<code>UP013</code>, <code>UP014</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14842">#14842</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Raise syntax error for mixing <code>except</code> and <code>except*</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14895">#14895</a>)</li> <li>[<code>flake8-bugbear</code>] Fix <code>B028</code> to allow <code>stacklevel</code> to be explicitly assigned as a positional argument (<a href="https://redirect.github.com/astral-sh/ruff/pull/14868">#14868</a>)</li> <li>[<code>flake8-bugbear</code>] Skip <code>B028</code> if <code>warnings.warn</code> is called with <code>*args</code> or <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14870">#14870</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip iterables with named expressions in <code>unnecessary-map</code> (<code>C417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14827">#14827</a>)</li> <li>[<code>flake8-pyi</code>] Also remove <code>self</code> and <code>cls</code>'s annotation (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14801">#14801</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest-parametrize-names-wrong-type</code> (<code>PT006</code>) to edit both <code>argnames</code> and <code>argvalues</code> if both of them are single-element tuples/lists (<a href="https://redirect.github.com/astral-sh/ruff/pull/14699">#14699</a>)</li> <li>[<code>perflint</code>] Improve autofix for <code>PERF401</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14369">#14369</a>)</li> <li>[<code>pylint</code>] Fix <code>PLW1508</code> false positive for default string created via a mult operation (<a href="https://redirect.github.com/astral-sh/ruff/pull/14841">#14841</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
9f9097c62f |
chore(backend/deps): Update cryptography from 43.0.3 to 44.0.0 (#8870)
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.3 to 44.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>44.0.0 - 2024-11-27</p> <pre><code> * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL < 3.9. * Deprecated Python 3.7 support. Python 3.7 is no longer supported by the Python core team. Support for Python 3.7 will be removed in a future ``cryptography`` release. * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.4.0. * macOS wheels are now built against the macOS 10.13 SDK. Users on older versions of macOS should upgrade, or they will need to build ``cryptography`` themselves. * Enforce the :rfc:`5280` requirement that extended key usage extensions must not be empty. * Added support for timestamp extraction to the :class:`~cryptography.fernet.MultiFernet` class. * Relax the Authority Key Identifier requirements on root CA certificates during X.509 verification to allow fields permitted by :rfc:`5280` but forbidden by the CA/Browser BRs. * Added support for :class:`~cryptography.hazmat.primitives.kdf.argon2.Argon2id` when using OpenSSL 3.2.0+. * Added support for the :class:`~cryptography.x509.Admissions` certificate extension. * Added basic support for PKCS7 decryption (including S/MIME 3.2) via :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_der`, :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_pem`, and :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_smime`. <p>.. _v43-0-3:<br /> </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
cd339b0ffc |
feat(frontend) : Add optional input support for object, array, multi-select, and select as well. (#8982)
- Resolve #8976 > Once you have checked whether this is working or not, then I will remove the optional field block. ### Changes - Updated `NodeGenericInputField` to handle additional input types: - Added support for `array` and `object` optional types. - Enhanced schema definitions for `string` optional type to include enumerations ### Testing 🔍 - Verified that the new input types function correctly within the frontend component. <img width="517" alt="Screenshot 2024-12-13 at 7 08 22 PM" src="https://github.com/user-attachments/assets/1e4b7c58-2ddc-4082-8a9e-2e11b91495e2" /> --------- Co-authored-by: Swifty <craigswift13@gmail.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
569222e9cd |
feat(blocks): Add depends_on support for input fields (#8852)
- Resolves part of #8731 ### Changes - Added `depends_on` parameter to SchemaField in `model.py` to specify field dependencies. - Updated `useAgentGraph` hook to validate input fields based on their dependencies, ensuring required fields are set when dependent fields are filled. - Modified `BlockIOSubSchemaMeta` to include `depends_on` as an optional property. https://github.com/user-attachments/assets/64fd47b3-34dc-48fa-ad90-1c9c5cd4c4a3 --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
2fe6eb1df1 |
feat(blocks): Add support for mutually exclusive input fields (#8856)
- resolves part of #8731 ### Changes - Introduced `mutually_exclusive` parameter in `SchemaField` to manage input exclusivity. - Implemented logic in `NodeGenericInputField` to disable inputs based on mutual exclusivity. - Updated related components to support the new `disabled` state for inputs. - Enhanced `BlockIOSubSchemaMeta` to include `mutually_exclusive` property. > Currently, I’m disabling the input from the same group (I haven’t added any frontend validation to prevent users from bypassing it). https://github.com/user-attachments/assets/71fb9fe4-943b-4724-8acb-6aed2232ed6b --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
f588b69484 |
fix: merge issues from store -> dev (#9016)
<!-- Clearly explain the need for these changes: --> Monitor page is broken for me ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Updates monitor page to what was in dev before store pr went in - Updates graph getting endpoint to handle invalid graphs a bit more graceful ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Test to make sure I can start and view my monitor page |
||
|
|
be6d8cbd18 |
fix(platform): Restored monitor page and monitor spec code. (#8992)
## Changes 🏗️
• Restored monitor page and monitor spec functionality.
• Disabled failing tests to allow for smoother CI/CD processes.
|