Commit Graph

6638 Commits (master)

Author SHA1 Message Date
Reinier van der Leer 87f87500cb
refactor(backend): Improve error message on unmatched webhook ingress (#9694)
- Resolves #9693

### Changes 🏗️

- Catch the DB error and log a descriptive error message
- Add `NotFoundError` to `backend.util.exceptions`

### 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:~~
- Low-stakes change, high effort to test: we'll see if it works from the
production logs
2025-03-25 13:36:37 +00:00
Reinier van der Leer 1162ec1474
refactor(backend): Reorganize & clean up execution update system (#9663)
- Prep work for #8782
- Prep work for #8779

### Changes 🏗️

- refactor(platform): Differentiate graph/node execution events
- fix(platform): Subscribe to execution updates by `graph_exec_id`
instead of `graph_id`+`graph_version`
- refactor(backend): Move all execution related models and functions
from `.data.graph` to `.data.execution`
- refactor(backend): Reorganize & refactor `.data.execution`

- fix(libs): Remove `load_dotenv` in `.auth.config` to fix test config
issues
- dx: Bump version of `black` in pre-commit config to v24.10.0 to match
poetry.lock

- Other minor refactoring in both frontend and backend

### 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:
  - Run an agent in the builder
    - [x] -> works normally, node I/O is updated in real time
  - Run an agent in the library
    - [x] -> works normally

---------

Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
2025-03-25 13:14:04 +01:00
Krzysztof Czerwinski 37f212e950 Stop migrating models 2025-03-25 11:46:00 +00:00
Krzysztof Czerwinski 58bb4f92b7
feat(platform): Onboarding updates (#9636)
This is a follow up to
https://github.com/Significant-Gravitas/AutoGPT/pull/9511 fixing some
issues and updating onboarding.

### Changes 🏗️

- Update `UserOnboarding` data
  - Update schema and add migration
- Change `step` in `UserOnboarding` to `completedSteps` array with
`OnboardingStep` enum
- Remove `isCompleted`: this is now inferred from `completedSteps`
values
- Don't onboard if <2 marketplace agents; that prevents self-host
onboarding
- Add endpoints:
- `is_onboarding_enabled`: to check if users should be onboarded (not if
they finished onboarding); now check if there are at least 2 marketplace
agents
- `get_store_agent`: returns `StoreAgentDetails` for given
`store_listing_version_id`
  - `get_graph_meta_by_store_listing_version_id`: returns `GraphMeta`
- Add agent to Library just before running it and not when chosen and
remove code that was responsible for removing agent that wasn't run
- Move onboarding to `OnboardingProvider` (it'll be needed globally for
Phase 2)
- Multiple fixes, renames for clarity

### Checklist 📋

- [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] Don't onboard if less than 2 marketplace agents
  - [x] Avoid non-input and credentials agents
  - [x] Onboarding works and can be finished
  - [x] Onboarding resumes
  - [x] Onboarding agent runs correctly

---------

Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2025-03-25 10:40:40 +00:00
Krzysztof Czerwinski b7ca8d9c30
feat(backend): Migrate old models in existing agents (#9452)
Some existing nodes use models that no longer exist as values on
`LlmModel` enum.

### Changes 🏗️

- Update models for all blocks with `LlmModel` fields that do not exist
in `LlmModel` enum to `gpt-4o`, directly in `AgentNode->constantInput`
db column, on server startup

### 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] Updates wrong models to `gpt-4o` for all affected `AgentNode`s
  - [x] Doesn't update correct models
  - [x] Doesn't insert model when unnecessary
  - [x] Doesn't break other values in jsonb
2025-03-25 09:38:11 +00:00
Zamil Majdy 66ebe4376e fix(backend): Increase block request security; Prevent DNS rebinding & open redirect attack (#9688)
The current block web requests utility has a logic to avoid the system
firing into blocklisted IPs.
However, the current logic is still prone to a few security issues:

* DNS rebinding attack: due to the lack of guarantee on the used IP not
being changed during the IP checking and firing step.
* Open redirect: due to the request sensitive request headers are still
being propagated throughout the web redirect.

### Changes 🏗️

* Uses IP pinning to request the web.
* Strip `Authorization`, `Proxy-Authorization`, `Cookie` upon web
redirects.

### 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] Test the web request block, add more tests with different
validation scenarios.

(cherry picked from commit f0df4c9174)
2025-03-25 13:51:20 +07:00
Zamil Majdy f0df4c9174
fix(backend): Increase block request security; Prevent DNS rebinding & open redirect attack (#9688)
The current block web requests utility has a logic to avoid the system
firing into blocklisted IPs.
However, the current logic is still prone to a few security issues:

* DNS rebinding attack: due to the lack of guarantee on the used IP not
being changed during the IP checking and firing step.
* Open redirect: due to the request sensitive request headers are still
being propagated throughout the web redirect.

### Changes 🏗️

* Uses IP pinning to request the web.
* Strip `Authorization`, `Proxy-Authorization`, `Cookie` upon web
redirects.


### 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] Test the web request block, add more tests with different
validation scenarios.
2025-03-25 13:09:47 +07:00
Toran Bruce Richards 2e9ca70ce2
Update CONTRIBUTING.md 2025-03-24 18:11:56 +00:00
Reinier van der Leer 4ca1a453c9
refactor(backend): Defer loading of `.blocks` and `.integrations.webhooks` on module init (#9664)
Currently, an import statement like `from backend.blocks.basic import
AgentInputBlock` will initialize `backend.blocks` and thereby load all
other blocks. This has quite high potential to cause circular import
issues, and it's bad for performance in cases where we don't want to
load all blocks (yet).
The same goes for `backend.integrations.webhooks`.

### Changes 🏗️

- Change `__init__.py` of `backend.blocks` and
`backend.integrations.webhooks` to cached loader functions rather than
init-time code
- Change type of `BlockWebhookConfig.provider` to `ProviderName`

<!-- test edit to check that this doesn't break anything -->

### 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] Set up and use an agent with a webhook-triggered block

---------

Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
2025-03-24 15:44:45 +00:00
Zamil Majdy 6f48515863
fix(blocks): Disable and provide toggle for Agent Input Block subtypes (#9677)
Agent Input Block subtypes do not have a proper input UI yet on the
library & run input page.

### Changes 🏗️

Provide a toggle to enable these blocks and set it to False by default.

### 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>
2025-03-24 12:33:54 +00:00
Nicholas Tindle 7ba566e768
feat(frontend/backend): admin agent review table (#9634)
<!-- Clearly explain the need for these changes: -->
We need an admin agent approval UI for handling the submissions to the
marketplace

### Changes 🏗️
- Adds routes to the admin routes list
- Fixes the db query for submitting new versions of existing agents
- Add models for responses that include version details
- add the admin pages for agent
- Adds the Admin Agent Data Table
- Add all the new endpoints to the client.ts
Models changes
- convert the Submission status to an enum
- remove is_approved from models which was left incorrectly
- Add StoreListingWithVersions
<!-- 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
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
  - [x] Test the admin dashboard for
    - [x] Reject
    - [x] Accept
    - [x] Updating listing
    - [x] More version submissions

---------

Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
2025-03-24 07:52:35 +00:00
Zamil Majdy 26984a7338
feat(backend): Add capability to charge based on block execution count (#9661)
Blocks that are not defined in the block cost are pretty much free. The
lack of cost control makes it hard to control its quota. The scope of
this change is providing a way to charge any executions based on the
number of block being executed in real-time.

### Changes 🏗️

* Add execution charge logic based on the number of blocks executed,
controlled by these two configurations:
* `execution_cost_count_threshold`: We will charge the execution based
on the multiple of this number.
* `execution_cost_per_threshold`: The amount we are charging on its
threshold multiple.
* Make charging logic on the graph execution logic (as opposed to node
level) so it's being done serially and insufficient fund error is
guaranteed to stop the graph execution.
* Moved cost calculation logic into backend/executor/util.py

### 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] Execute graph with configured threshold & cost and test the
balance being deducted on that.
  - [x] Existing cost calculation is still being done without any issue.
  - [x] Low balance stop the whole graph execution.
2025-03-24 07:26:33 +00:00
Zamil Majdy 5b118fc939 fix(blocks): Fix failing block test AgentToggleInputBlock 2025-03-24 12:31:16 +07:00
Zamil Majdy ed48d1c04f fix(blocks): Change title of placeholder_values on AgentDropdownInputBlock 2025-03-24 12:21:20 +07:00
Zamil Majdy 8d87c08b8c fix(blocks): Set AgentInputBlocks default value to None and make it a non-advance field 2025-03-24 12:15:59 +07:00
Zamil Majdy e49cb43b49
feat(block): Add agent input block subtypes (#9657)
### Changes 🏗️

Added these types of input blocks:
* TextShort
* TextLong
* Number
* Date
* Time
* FileUpload
* Dropdown
* Toggle

### 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] Test in respective block codes.
2025-03-24 02:57:10 +00:00
Nicholas Tindle 56663c5fe9
feat(backend): add backend support for store listings submissions (#9628)
<!-- Clearly explain the need for these changes: -->
The store listing and submissions were previously just a best guess
without much implementation. This updates the database models and
queries and such to be based on discussion around what the process
should look like. It also adds and update the relevant routers for this
change

### Changes 🏗️
Store Listing
- change isApproved to hasApprovedVersion
- Move slug into store listing
- mark an active version in store listing

Store Version
- Move submissions into version
- make name optional
- have state transition timestamps for submitted and approved/rejected
- added a changes field
- added internal comments and clarified review comments field

SubmissionStatus
- Fixed DAFT to DRAFT

StoreListingSubmission
- Dropped table

Graph
- Used more modern format for the params for prisma -- no other changes

Added migrations for all the model movements

<!-- 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
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
- [x] Use the store codepaths from the release testplan doc as the test
plan (claude I can't publish the testplan but I am a maintainer lol,
trust me here my guy, you're supposed to be lenient)
  - [x] Check the db is used as appropriate following the rules

---------

Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
2025-03-23 23:30:54 +00:00
Nicholas Tindle a537fd0891
[Snyk] Security upgrade next from 14.2.23 to 14.2.25 (#9672)
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

### Snyk has created this PR to fix 1 vulnerabilities in the yarn
dependencies of this project.

#### Snyk changed the following file(s):

- `autogpt_platform/frontend/package.json`
- `autogpt_platform/frontend/yarn.lock`


#### Note for
[zero-installs](https://yarnpkg.com/features/zero-installs) users

If you are using the Yarn feature
[zero-installs](https://yarnpkg.com/features/zero-installs) that was
introduced in Yarn V2, note that this PR does not update the
`.yarn/cache/` directory meaning this code cannot be pulled and
immediately developed on as one would expect for a zero-install project
- you will need to run `yarn` to update the contents of the
`./yarn/cache` directory.
If you are not using zero-install you can ignore this as your flow
should likely be unchanged.




#### Vulnerabilities that will be fixed with an upgrade:

|  | Issue | Score | 

:-------------------------:|:-------------------------|:-------------------------
![critical
severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png
'critical severity') | Improper Authorization
<br/>[SNYK-JS-NEXT-9508709](https://snyk.io/vuln/SNYK-JS-NEXT-9508709) |
&nbsp;&nbsp;**751**&nbsp;&nbsp;




---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - Max score is 1000. Note that the real score may have changed since
the PR was raised.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open fix PRs._

For more information: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5NGUwNmYxNy0yY2NkLTQ3NzEtOTk2NC1kN2JmYzhiNTI2NTgiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6Ijk0ZTA2ZjE3LTJjY2QtNDc3MS05OTY0LWQ3YmZjOGI1MjY1OCJ9fQ=="
width="0" height="0"/>
🧐 [View latest project
report](https://app.snyk.io/org/significant-gravitas/project/3d924968-0cf3-4767-9609-501fa4962856?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr)
📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=github&utm_content=fix-pr-template)
🛠 [Adjust project
settings](https://app.snyk.io/org/significant-gravitas/project/3d924968-0cf3-4767-9609-501fa4962856?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings)
📚 [Read about Snyk's upgrade
logic](https://docs.snyk.io/scan-with-snyk/snyk-open-source/manage-vulnerabilities/upgrade-package-versions-to-fix-vulnerabilities?utm_source=github&utm_content=fix-pr-template)

---

**Learn how to fix vulnerabilities with free interactive lessons:**

🦉 [Improper
Authorization](https://learn.snyk.io/lesson/broken-function-level-authorization/?loc&#x3D;fix-pr)

[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"next","from":"14.2.23","to":"14.2.25"}],"env":"prod","issuesToFix":["SNYK-JS-NEXT-9508709"],"prId":"94e06f17-2ccd-4771-9964-d7bfc8b52658","prPublicId":"94e06f17-2ccd-4771-9964-d7bfc8b52658","packageManager":"yarn","priorityScoreList":[751],"projectPublicId":"3d924968-0cf3-4767-9609-501fa4962856","projectUrl":"https://app.snyk.io/org/significant-gravitas/project/3d924968-0cf3-4767-9609-501fa4962856?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-JS-NEXT-9508709"],"vulns":["SNYK-JS-NEXT-9508709"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2025-03-23 23:09:47 +00:00
Krzysztof Czerwinski d694ccd50f
fix(frontend): Fill defaults from schema to `hardcodedValues` at node creation (#9632)
Defaults need to be handled as special cases every time there's no
`hardcodedValues` in node data. This causes multiple issues such as
`useCredentials` not taking into account default model and requiring
user to manually switch model back and forth.

### Changes 🏗️

- Set default values from `inputSchema` to `hardcodedValues` when new
node is placed.

### 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] Newly placed node has defaults set as `hardcodedValues`
- [x] AI Blocks: Model is recognised, node shows price and credentials
work correctly without the need to switch

---------

Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
2025-03-23 22:48:28 +00:00
Zamil Majdy f01b31873f
feat(backend): Avoid loading all node executions on large continuos agent (#9667)
A graph that processes tens of thousands of nodes will cripple the
system since the API tries to load all of them and dump them into the
browser. The scope of this change is to avoid such an issue by only
returning the last 1000 node executions.

### Changes 🏗️

* Return only 1000 node executions from `AgentNodeExecutions` reference.
* Unify the include clause for fetching `AgentNodeExecutions` in one
place and its format.
* Fix & optimize `cancel_execution` logic to always set both the graph &
node execution status in batch.

### 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] Execute a graph in a loop that executes 10000 nodes, it should
only display the last 1000 nodes when refreshed. Cancelling the graph
should also not cripple the server.
2025-03-21 12:48:35 +00:00
Zamil Majdy 5411e18bd0
feat(backend): Mark starting nodes as QUEUED instead of INCOMPLETE during the initial execution (#9665)
Having the starting nodes of the execution marked as incomplete misled
the users.

### Changes 🏗️

Mark the starting nodes during the executions as QUEUED instead of
INCOMPLETE.

### 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] Executed the graph, the incomplete initial starting node is no
more.
2025-03-21 11:59:27 +00:00
Zamil Majdy b85f6196aa
fix(frontend): Fix unreliable websocket connection for node execution update (#9666)
The current execution update is unreliable, once you lose WebSocket
connection, you will receive no updates.

### Changes 🏗️

Fix web socket re-connection logic.

### 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] Run the app and execute an agent, then restart the API server, and
re-execute the app without refreshing the page.
2025-03-21 11:50:20 +00:00
Zamil Majdy a1ac7b18f9
feat(backend): Avoid connecting the same host and falling-back to defined api_host (#9668)
### Changes 🏗️

Avoid connecting the same host and falling-back to defined api_host.

### 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:
- [ ] Define a custom DBMANAGER_HOST, RestService should access the
`db_manager` service using localhost.
2025-03-21 11:41:01 +00:00
Zamil Majdy 42232f55e8
feat(platform): Use a single DB manager across the system (#9662)
DB Manager uses DB connections, and multiple instances of it hog the
very limited Database connection quota. We need this service to be a
unified place to control the limited db connection.

### Changes 🏗️

Connect all the database manager usage in a single place, currently
running on the rest service.

### 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>
2025-03-21 09:24:08 +00:00
Reinier van der Leer 9a661b5101
fix(backend/ws): Add `user_id` to websocket event subscription key (#9660)
- Add `user_id` to WS subscription key
- Add error catching to WS message handler
2025-03-20 17:54:04 +01:00
Zamil Majdy 90b147ff51 Merge branch 'dev' of github.com:Significant-Gravitas/AutoGPT into dev 2025-03-19 23:39:51 +07:00
Reinier van der Leer 6e4fbb0cb5 fix(frontend/library): Truncate agent card title and description (#9658)
- Resolves #9631

### Changes 🏗️

- Truncate library agent card title (2 lines) and description (3 lines)
- Make "See runs" and "Open in builder" stick to bottom of card
regardless of other content
- Reduce number of grid columns (4 -> 3) in `lg` layout on `/library` to
give items more horizontal space

![screenshot of library agent grid with the applied
changes](https://github.com/user-attachments/assets/b27d5c97-33b8-4708-9f8c-fc67aad899c9)


### 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] Visually test the changes made on different screen sizes
2025-03-19 23:39:09 +07:00
Reinier van der Leer df6203343d fix(frontend/library): Improve agent I/O rendering (#9656)
- Related to #8784

### Changes 🏗️

- feat(frontend/library): Improve agent output styling & fix content
overflow issue
- fix(frontend/library): Fix overlap between content and inset button of
expandable input fields (#9650)
- fix(backend): Unbreak loading graph executions with missing inputs

![screenshot of restyled Output
section](https://github.com/user-attachments/assets/97836158-5735-4d01-94dd-16e3fb6999c6)

### 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:
- Run an agent with at least one input *not* filled out; view this run
in the Library
    - [x] -> page should load normally
    - [x] -> agent inputs should load and show normally
- Run an agent that generates long output; view this run in the Library
- [x] -> output should not overflow its container or stretch the page
layout
    - [x] -> visually check that the output section looks slick
2025-03-19 23:39:09 +07:00
Toran Bruce Richards 93238dc78c fix(blocks): SendWebRequestBlock to properly handle HTTP error responses (#9655)
### Issue
The SendWebRequestBlock currently fails to properly route HTTP error
responses (4xx, 5xx) to their designated output pins (`client_error` and
`server_error`). Instead, these errors are being sent to the default
"Error" pin, breaking expected workflows that depend on proper error
handling.

### Root Cause
The underlying issue is that our custom `requests` module from
`backend.util.request` appears to automatically raise exceptions for
error status codes (similar to how `raise_for_status()` works in the
standard requests library). When these exceptions are thrown, the
block's conditional logic for handling different status codes is
bypassed entirely.

### Changes
This PR adds proper exception handling to catch HTTP errors raised by
the requests module and routes them to the appropriate output pins:
- Added a try-except block to capture `requests.exceptions.HTTPError`
- Extract status code and response data from the caught exception
- Yield to the proper pin based on the status code (4xx → client_error,
5xx → server_error)
- Maintain consistent behavior with the original design intent

### Additional Context
This change maintains backward compatibility while ensuring the block
behaves according to its documented functionality. Users can now
properly handle 4xx and 5xx errors in their workflows as originally
intended.

<!-- Clearly explain the need for these changes: -->
### 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 the block with new changes and old and ensure expected
behavior

---------

Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
2025-03-19 23:39:09 +07:00
Nicholas Tindle b6260b5ce9 fix(backend): drastically increase batching time for the agent run (#9654)
<!-- Clearly explain the need for these changes: -->

We accidently send several emails within 10 mins and we're gonna get
blocked for spam if we keep it up

### Changes 🏗️
- moves 1 min to 60 min timer
<!-- 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
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
  - [x] Test via batching a series of notiications over an hour
2025-03-19 23:39:09 +07:00
Reinier van der Leer 9c31c79898 feat(frontend/library): Make agent input fields expandable (#9650)
- Resolves #9622

### Changes 🏗️

- Add pop-out button + modal to input fields in Agent Run Draft view on
`/library/agents/[id]`
- Fix `icon`-variant button styling

![the expand button on the input
fields](https://github.com/user-attachments/assets/00be33fe-44d1-490a-9cab-9696df8f6e6f)
![the expanded input modal that
appears](https://github.com/user-attachments/assets/787f33b9-d884-467b-b99b-dcbec8a1d059)

### 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:
  - Go to an agent's page -> click "+ New run"
    - [x] -> pop-out button should show on all input fields
- Enter a value in one of the inputs; click the pop-out button on that
input
    - [x] -> input modal with large text field should open
- [x] -> the value you just entered should be present in the modal's
text field
  - Edit the value & click "Save"
    - [x] -> the modal should close
- [x] -> the value in the corresponding input field should be updated
2025-03-19 23:39:09 +07:00
Zamil Majdy f8a6c9e67f fix(block): Revert custom get_missing_links method on AddToListBlock 2025-03-19 23:39:09 +07:00
Zamil Majdy ff9a5cc638 fix(block): Avoid infinite loop execution on AddToListBlock self-loop (#9629)
### Changes 🏗️

<img width="757" alt="image"
src="https://github.com/user-attachments/assets/909aab58-24c7-42ec-9580-ac3e9f32057e"
/>

Since a self-loop is now allowed for AddToListBlock, providing an entry
pin using a static output will cause infinite execution.
This PR change avoid such scenario to be allowed.

### 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] Described above
2025-03-19 23:39:09 +07:00
Zamil Majdy 4e6144803b fix(platform): Fix possible db-config permission denied when running two different Supabase versions (#9652)
The change in https://github.com/Significant-Gravitas/AutoGPT/pull/9620
introduces a breaking change in the database volume content; however,
the database's volume location does not change, making switching between
two versions clash.

### Changes 🏗️

Renamed db-config named volume to supabase-config.

### 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] CI
2025-03-19 23:39:09 +07:00
Reinier van der Leer 2c92122721 feat(platform/library): Add icons to primary agent run action buttons (#9651)
- Resolves #9612

### Changes 🏗️

- Add icon to "Run" button in run draft view
- Add icons "Stop run" and "Run again" buttons in run view

!["Run"
button](https://github.com/user-attachments/assets/da863753-6cb2-4cea-aa00-c313b606d198)
!["Run again"
button](https://github.com/user-attachments/assets/79958187-05dd-494e-a3a1-e9745db0d2d4)
!["Stop run"
button](https://github.com/user-attachments/assets/ad37ec3a-3c0b-493b-b548-e6b902eb8bda)


### 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:
  - Purely visual changes, no functional test needed.
    Technical changes are covered by the type checker.
2025-03-19 23:39:09 +07:00
Nicholas Tindle 9b19d1959e feat(frontend): break out the sidebar into a reusable component + use it for admin page (#9618)
<!-- Clearly explain the need for these changes: -->
We need a sidebar for the admin page, might as well reuse the reusable
component to do so!

### Changes 🏗️
- Extracts the agptui sidebar to a more reusable component
- Update the usage of that sidebar in the settings page
- Use that same sidebar for the admin page

<!-- 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
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
  - [x] Test the old sidebar
  - [x] Test the new sidebar for admin
2025-03-19 23:39:09 +07:00
Zamil Majdy 17f3a19bc3 feat(backend): Support sub-agent on export/import agent feature (#9640)
Agents using Agent blocks should be seamlessly downloaded from the
marketplace to a file and imported from a file.

Requirements:
* A recursive export process that exports all the required agents to a
single file, no matter how many layers deep (taking care of potential
loops).
* An import process that expects and extracts several agents from a
single file into your library at once.

Considerations:
We need to ensure the reference IDs in the Agent Blocks match/are
updated to match the imported sub-agent ids to prevent broken
references.

### Changes 🏗️

* Add sub_graphs field on Graph model 
* Improve graph creation query to support inserting graph + subgraphs in
batch
* Deprecate graph template & remove its column
* Update on marketplace download agent (unified the used method, with
more secure cleanup & proper ownership check).
* Fix failing test cases

### 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] Export graph with sub agents.
  - [x] Import the exported graph with sub agents.
2025-03-19 23:39:09 +07:00
Reinier van der Leer 596b29f53a feat(platform/library): Add "Export agent to file" action (#9627)
- Resolves #9609

### Changes 🏗️

- feat(frontend/library): Add "Export agent to file" button
- fix(frontend/library): Put "Open in builder" button behind access
check

- feat(backend): Improve & move graph export stripping logic
  - Add logic to strip `SecretField` values
  - Move node stripping logic to `NodeModel` from `GraphModel`
    - Add `NodeModel.stripped_for_export()` method
  - Add `NodeModel.block` property

### 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:
- Create and configure an agent with the Publish To Medium block and a
block that uses credentials
  - Go to `/library/agents/[id]` for the agent you just created
    - [x] -> "Open in builder" button should show
    - [x] -> "Open in builder" button should work
    - [x] -> "Export agent to file" button should show
    - [x] -> "Export agent to file" button should work
      - [x] -> Exported file contains no credentials or secrets
      - [ ] -> ~~Exported file contains no user IDs~~
  - Go to `/library/agents/[id]` for an agent from the marketplace
    - [x] -> "Open in builder" button should not show
    - [x] -> "Export agent to file" button should not show
2025-03-19 23:39:09 +07:00
dependabot[bot] e0300f3d13 chore(libs/deps-dev): bump ruff from 0.9.6 to 0.9.9 in /autogpt_platform/autogpt_libs in the development-dependencies group (#9559)
Bumps the development-dependencies group in
/autogpt_platform/autogpt_libs with 1 update:
[ruff](https://github.com/astral-sh/ruff).

Updates `ruff` from 0.9.6 to 0.9.9
<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.9.9</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Fix caching of unsupported-syntax errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16425">#16425</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Only show unsupported-syntax errors in editors when preview mode is
enabled (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16429">#16429</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/InSyncWithFoo"><code>@​InSyncWithFoo</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li>
<li><a href="https://github.com/ntBre"><code>@​ntBre</code></a></li>
</ul>
<h2>Install ruff 0.9.9</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c &quot;irm
https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-installer.ps1
| iex&quot;
</code></pre>
<h2>Download ruff 0.9.9</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-aarch64-apple-darwin.tar.gz">ruff-aarch64-apple-darwin.tar.gz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-x86_64-apple-darwin.tar.gz">ruff-x86_64-apple-darwin.tar.gz</a></td>
<td>Intel macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-aarch64-pc-windows-msvc.zip">ruff-aarch64-pc-windows-msvc.zip</a></td>
<td>ARM64 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-i686-pc-windows-msvc.zip">ruff-i686-pc-windows-msvc.zip</a></td>
<td>x86 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-i686-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-x86_64-pc-windows-msvc.zip">ruff-x86_64-pc-windows-msvc.zip</a></td>
<td>x64 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-x86_64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-aarch64-unknown-linux-gnu.tar.gz">ruff-aarch64-unknown-linux-gnu.tar.gz</a></td>
<td>ARM64 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-aarch64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-i686-unknown-linux-gnu.tar.gz">ruff-i686-unknown-linux-gnu.tar.gz</a></td>
<td>x86 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-i686-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-powerpc64-unknown-linux-gnu.tar.gz">ruff-powerpc64-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-powerpc64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-powerpc64le-unknown-linux-gnu.tar.gz">ruff-powerpc64le-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64LE Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-powerpc64le-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-s390x-unknown-linux-gnu.tar.gz">ruff-s390x-unknown-linux-gnu.tar.gz</a></td>
<td>S390x Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-s390x-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-x86_64-unknown-linux-gnu.tar.gz">ruff-x86_64-unknown-linux-gnu.tar.gz</a></td>
<td>x64 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-x86_64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-armv7-unknown-linux-gnueabihf.tar.gz">ruff-armv7-unknown-linux-gnueabihf.tar.gz</a></td>
<td>ARMv7 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-armv7-unknown-linux-gnueabihf.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-aarch64-unknown-linux-musl.tar.gz">ruff-aarch64-unknown-linux-musl.tar.gz</a></td>
<td>ARM64 MUSL Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.9.9/ruff-aarch64-unknown-linux-musl.tar.gz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- 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.9.9</h2>
<h3>Preview features</h3>
<ul>
<li>Fix caching of unsupported-syntax errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16425">#16425</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Only show unsupported-syntax errors in editors when preview mode is
enabled (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16429">#16429</a>)</li>
</ul>
<h2>0.9.8</h2>
<h3>Preview features</h3>
<ul>
<li>Start detecting version-related syntax errors in the parser (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16090">#16090</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pylint</code>] Mark fix unsafe (<code>PLW1507</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16343">#16343</a>)</li>
<li>[<code>pylint</code>] Catch <code>case np.nan</code>/<code>case
math.nan</code> in <code>match</code> statements (<code>PLW0177</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/16378">#16378</a>)</li>
<li>[<code>ruff</code>] Add more Pydantic models variants to the list of
default copy semantics (<code>RUF012</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16291">#16291</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Avoid indexing the project if <code>configurationPreference</code>
is <code>editorOnly</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16381">#16381</a>)</li>
<li>Avoid unnecessary info at non-trace server log level (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16389">#16389</a>)</li>
<li>Expand <code>ruff.configuration</code> to allow inline config (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16296">#16296</a>)</li>
<li>Notify users for invalid client settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16361">#16361</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Add <code>per-file-target-version</code> option (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16257">#16257</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>refurb</code>] Do not consider docstring(s)
(<code>FURB156</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16391">#16391</a>)</li>
<li>[<code>flake8-self</code>] Ignore attribute accesses on
instance-like variables (<code>SLF001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16149">#16149</a>)</li>
<li>[<code>pylint</code>] Fix false positives, add missing methods, and
support positional-only parameters (<code>PLE0302</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16263">#16263</a>)</li>
<li>[<code>flake8-pyi</code>] Mark <code>PYI030</code> fix unsafe when
comments are deleted (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16322">#16322</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix example for <code>S611</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16316">#16316</a>)</li>
<li>Normalize inconsistent markdown headings in docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16364">#16364</a>)</li>
<li>Document MSRV policy (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16384">#16384</a>)</li>
</ul>
<h2>0.9.7</h2>
<h3>Preview features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="091d0af2ab"><code>091d0af</code></a>
Bump version to Ruff 0.9.9 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16434">#16434</a>)</li>
<li><a
href="3d72138740"><code>3d72138</code></a>
Check <code>LinterSettings::preview</code> for version-related syntax
errors (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16429">#16429</a>)</li>
<li><a
href="4a23756024"><code>4a23756</code></a>
Avoid caching files with unsupported syntax errors (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16425">#16425</a>)</li>
<li><a
href="af62f7932b"><code>af62f79</code></a>
Prioritize &quot;bug&quot; label for changelog sections (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16433">#16433</a>)</li>
<li><a
href="0ced8d053c"><code>0ced8d0</code></a>
[<code>flake8-copyright</code>] Add links to applicable options
(<code>CPY001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16421">#16421</a>)</li>
<li><a
href="a8e171f82c"><code>a8e171f</code></a>
Fix string-length limit in documentation for PYI054 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16432">#16432</a>)</li>
<li><a
href="cf83584abb"><code>cf83584</code></a>
Show version-related syntax errors in the playground (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16419">#16419</a>)</li>
<li><a
href="764aa0e6a1"><code>764aa0e</code></a>
Allow passing <code>ParseOptions</code> to inline tests (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16357">#16357</a>)</li>
<li><a
href="568cf88c6c"><code>568cf88</code></a>
Bump version to 0.9.8 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16414">#16414</a>)</li>
<li><a
href="040071bbc5"><code>040071b</code></a>
[red-knot] Ignore surrounding whitespace when looking for `&lt;!--
snapshot-diag...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.9.6...0.9.9">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.9.6&new-version=0.9.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-19 23:39:09 +07:00
Zamil Majdy 780fddc2a0 feat(platform)!: Lock Supabase docker-compose code (#9620)
We have been submoduling Supabase for provisioning local Supabase
instances using docker-compose. Aside from the huge size of unrelated
code being pulled, there is also the risk of pulling unintentional
breaking change from the upstream to the platform.

The latest Supabase changes hide the 5432 port from the supabase-db
container and shift it to the supavisor, the instance that we are
currently not using. This causes an error in the existing setup.

## BREAKING CHANGES

This change will introduce different volume locations for the database
content, pulling this change will make the data content fresh from the
start. To keep your old data with this change, execute this command:
```
cp -r supabase/docker/volumes/db/data db/docker/volumes/db/data
```


### Changes 🏗️

The scope of this PR is snapshotting the current docker-compose code
obtained from the Supabase repository and embedding it into our
repository. This will eliminate the need for submodule / recursive
cloning and bringing the entire Supabase repository into the platform.

### 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] Existing CI
2025-03-19 23:39:09 +07:00
Nicholas Tindle 52b4351961 fix: backend admin page logic was broken (#9616)
<!-- Clearly explain the need for these changes: -->

We're building out admin utilities so we need to bring back the `/admin`
route with RBAC. This PR goes through re-enabling that to work with the
latest changes

### Changes 🏗️
- Adds back removed logic
- Refactors the role checks to fix minor bug for admin page and more
importantly clarify
- Updates routes to the latest 
<!-- 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
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
  - [x] Test with admin and authenticated user roles
  - [x] Test with logged out user role
- [x] For the above check the all the existing routes + new ones in the
`middleware.ts`
2025-03-19 23:39:09 +07:00
Zamil Majdy 8757439192 fix(platform): Fallback front-end-url to platform-url for billing page 2025-03-19 23:39:09 +07:00
dependabot[bot] e124ee6a9e chore(frontend/deps): bump the production-dependencies group across 1 directory with 13 updates (#9611)
Bumps the production-dependencies group with 13 updates in the
/autogpt_platform/frontend directory:

| Package | From | To |
| --- | --- | --- |
| [@faker-js/faker](https://github.com/faker-js/faker) | `9.4.0` |
`9.6.0` |
|
[@next/third-parties](https://github.com/vercel/next.js/tree/HEAD/packages/third-parties)
| `15.1.6` | `15.2.1` |
| [@supabase/supabase-js](https://github.com/supabase/supabase-js) |
`2.48.1` | `2.49.1` |
|
[@tanstack/react-table](https://github.com/TanStack/table/tree/HEAD/packages/react-table)
| `8.20.6` | `8.21.2` |
|
[@xyflow/react](https://github.com/xyflow/xyflow/tree/HEAD/packages/react)
| `12.4.2` | `12.4.4` |
| [framer-motion](https://github.com/motiondivision/motion) | `12.3.1` |
`12.4.11` |
|
[lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react)
| `0.474.0` | `0.479.0` |
| [next-themes](https://github.com/pacocoursey/next-themes) | `0.4.4` |
`0.4.5` |
| [react-day-picker](https://github.com/gpbl/react-day-picker) | `9.5.1`
| `9.6.1` |
| [react-icons](https://github.com/react-icons/react-icons) | `5.4.0` |
`5.5.0` |
| [react-shepherd](https://github.com/shepherd-pro/shepherd) | `6.1.7` |
`6.1.8` |
| [uuid](https://github.com/uuidjs/uuid) | `11.0.5` | `11.1.0` |
| [zod](https://github.com/colinhacks/zod) | `3.24.1` | `3.24.2` |


Updates `@faker-js/faker` from 9.4.0 to 9.6.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/faker-js/faker/releases"><code>@​faker-js/faker</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v9.6.0</h2>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): update dependency typescript to v5.8.2 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3424">faker-js/faker#3424</a></li>
<li>chore(deps): update dependency ts-morph to v25.0.1 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3418">faker-js/faker#3418</a></li>
<li>chore(deps): update devdependencies by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3419">faker-js/faker#3419</a></li>
<li>chore(deps): update eslint by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3420">faker-js/faker#3420</a></li>
<li>chore(deps): update vitest by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3421">faker-js/faker#3421</a></li>
<li>chore(deps): update all non-major dependencies by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3422">faker-js/faker#3422</a></li>
<li>chore(deps): remove obsolete dependency
<code>@​types/eslint</code>__js by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3425">faker-js/faker#3425</a></li>
<li>chore(deps): update dependency prettier to v3.5.2 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3423">faker-js/faker#3423</a></li>
<li>chore(deps): update pnpm to v10 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3427">faker-js/faker#3427</a></li>
<li>chore(deps): update eslint (major) by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3426">faker-js/faker#3426</a></li>
<li>chore(deps): update devdependencies by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3428">faker-js/faker#3428</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3431">faker-js/faker#3431</a></li>
<li>docs: revert npm download badge by <a
href="https://github.com/LitoMore"><code>@​LitoMore</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3433">faker-js/faker#3433</a></li>
<li>feat(finance): add ISO 4217 numerical codes to Currency object by <a
href="https://github.com/Nfloc"><code>@​Nfloc</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3404">faker-js/faker#3404</a></li>
<li>feat(number): bigint multipleOf by <a
href="https://github.com/soc221b"><code>@​soc221b</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3402">faker-js/faker#3402</a></li>
<li>refactor(internet): deprecate color method for removal by <a
href="https://github.com/ST-DDT"><code>@​ST-DDT</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3401">faker-js/faker#3401</a></li>
<li>test: add snapshot test for all locales' character sets by <a
href="https://github.com/ST-DDT"><code>@​ST-DDT</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3276">faker-js/faker#3276</a></li>
<li>chore(release): 9.6.0 by <a
href="https://github.com/fakerjs-bot"><code>@​fakerjs-bot</code></a> in
<a
href="https://redirect.github.com/faker-js/faker/pull/3435">faker-js/faker#3435</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/LitoMore"><code>@​LitoMore</code></a>
made their first contribution in <a
href="https://redirect.github.com/faker-js/faker/pull/3433">faker-js/faker#3433</a></li>
<li><a href="https://github.com/Nfloc"><code>@​Nfloc</code></a> made
their first contribution in <a
href="https://redirect.github.com/faker-js/faker/pull/3404">faker-js/faker#3404</a></li>
<li><a href="https://github.com/soc221b"><code>@​soc221b</code></a> made
their first contribution in <a
href="https://redirect.github.com/faker-js/faker/pull/3402">faker-js/faker#3402</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/faker-js/faker/compare/v9.5.1...v9.6.0">https://github.com/faker-js/faker/compare/v9.5.1...v9.6.0</a></p>
<h2>v9.5.1</h2>
<h2>What's Changed</h2>
<ul>
<li>test: retry verify tag 3 times by <a
href="https://github.com/Shinigami92"><code>@​Shinigami92</code></a> in
<a
href="https://redirect.github.com/faker-js/faker/pull/3395">faker-js/faker#3395</a></li>
<li>test: disable summary for local by <a
href="https://github.com/Shinigami92"><code>@​Shinigami92</code></a> in
<a
href="https://redirect.github.com/faker-js/faker/pull/3394">faker-js/faker#3394</a></li>
<li>chore: add usage trend by <a
href="https://github.com/cwtuan"><code>@​cwtuan</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3374">faker-js/faker#3374</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3403">faker-js/faker#3403</a></li>
<li>fix: test before using Buffers by <a
href="https://github.com/ST-DDT"><code>@​ST-DDT</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3400">faker-js/faker#3400</a></li>
<li>revert(chore): update LICENSE file (<a
href="https://redirect.github.com/faker-js/faker/issues/3350">#3350</a>)
by <a
href="https://github.com/Shinigami92"><code>@​Shinigami92</code></a> in
<a
href="https://redirect.github.com/faker-js/faker/pull/3410">faker-js/faker#3410</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3411">faker-js/faker#3411</a></li>
<li>docs: change ejcheng by <a
href="https://github.com/Shinigami92"><code>@​Shinigami92</code></a> in
<a
href="https://redirect.github.com/faker-js/faker/pull/3408">faker-js/faker#3408</a></li>
<li>docs: improve missing data error by <a
href="https://github.com/ST-DDT"><code>@​ST-DDT</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3406">faker-js/faker#3406</a></li>
<li>chore(release): 9.5.1 by <a
href="https://github.com/fakerjs-bot"><code>@​fakerjs-bot</code></a> in
<a
href="https://redirect.github.com/faker-js/faker/pull/3415">faker-js/faker#3415</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/cwtuan"><code>@​cwtuan</code></a> made
their first contribution in <a
href="https://redirect.github.com/faker-js/faker/pull/3374">faker-js/faker#3374</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/faker-js/faker/compare/v9.5.0...v9.5.1">https://github.com/faker-js/faker/compare/v9.5.0...v9.5.1</a></p>
<h2>v9.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/faker-js/faker/pull/3377">faker-js/faker#3377</a></li>
<li>docs: faker.seed examples are not consistent after refresh by <a
href="https://github.com/matthewmayer"><code>@​matthewmayer</code></a>
in <a
href="https://redirect.github.com/faker-js/faker/pull/3378">faker-js/faker#3378</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/faker-js/faker/blob/next/CHANGELOG.md"><code>@​faker-js/faker</code>'s
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/faker-js/faker/compare/v9.5.1...v9.6.0">9.6.0</a>
(2025-03-06)</h2>
<h3>Features</h3>
<ul>
<li><strong>finance:</strong> add ISO 4217 numerical codes to Currency
(<a
href="https://redirect.github.com/faker-js/faker/issues/3404">#3404</a>)
(<a
href="ae9aec67b1">ae9aec6</a>)</li>
<li><strong>number:</strong> bigint multipleOf (<a
href="https://redirect.github.com/faker-js/faker/issues/3402">#3402</a>)
(<a
href="7b4f85a2c0">7b4f85a</a>)</li>
</ul>
<h2><a
href="https://github.com/faker-js/faker/compare/v9.5.0...v9.5.1">9.5.1</a>
(2025-02-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>test before using Buffers (<a
href="https://redirect.github.com/faker-js/faker/issues/3400">#3400</a>)
(<a
href="ec7c9a8e60">ec7c9a8</a>)</li>
</ul>
<h2><a
href="https://github.com/faker-js/faker/compare/v9.4.0...v9.5.0">9.5.0</a>
(2025-02-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>image:</strong> add AI-generated avatars (<a
href="https://redirect.github.com/faker-js/faker/issues/3126">#3126</a>)
(<a
href="9e1395380c">9e13953</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="50b3241629"><code>50b3241</code></a>
chore(release): 9.6.0 (<a
href="https://redirect.github.com/faker-js/faker/issues/3435">#3435</a>)</li>
<li><a
href="62486af20c"><code>62486af</code></a>
test: add snapshot test for all locales' character sets (<a
href="https://redirect.github.com/faker-js/faker/issues/3276">#3276</a>)</li>
<li><a
href="1982431fd0"><code>1982431</code></a>
refactor(internet): deprecate color method for removal (<a
href="https://redirect.github.com/faker-js/faker/issues/3401">#3401</a>)</li>
<li><a
href="7b4f85a2c0"><code>7b4f85a</code></a>
feat(number): bigint multipleOf (<a
href="https://redirect.github.com/faker-js/faker/issues/3402">#3402</a>)</li>
<li><a
href="ae9aec67b1"><code>ae9aec6</code></a>
feat(finance): add ISO 4217 numerical codes to Currency (<a
href="https://redirect.github.com/faker-js/faker/issues/3404">#3404</a>)</li>
<li><a
href="57d39d7442"><code>57d39d7</code></a>
docs: revert npm download badge (<a
href="https://redirect.github.com/faker-js/faker/issues/3433">#3433</a>)</li>
<li><a
href="bf3aa8b064"><code>bf3aa8b</code></a>
chore(deps): lock file maintenance (<a
href="https://redirect.github.com/faker-js/faker/issues/3431">#3431</a>)</li>
<li><a
href="f591459aff"><code>f591459</code></a>
chore(deps): update devdependencies (<a
href="https://redirect.github.com/faker-js/faker/issues/3428">#3428</a>)</li>
<li><a
href="1db428ab97"><code>1db428a</code></a>
chore(deps): update eslint (major) (<a
href="https://redirect.github.com/faker-js/faker/issues/3426">#3426</a>)</li>
<li><a
href="b7e7714b8b"><code>b7e7714</code></a>
chore(deps): update pnpm to v10 (<a
href="https://redirect.github.com/faker-js/faker/issues/3427">#3427</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/faker-js/faker/compare/v9.4.0...v9.6.0">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~st-ddt">st-ddt</a>, a new releaser for
<code>@​faker-js/faker</code> since your current version.</p>
</details>
<br />

Updates `@next/third-parties` from 15.1.6 to 15.2.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases"><code>@​next/third-parties</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.2.1</h2>
<h3>Core Changes</h3>
<ul>
<li>Unify Link and Form prefetching: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76184">#76184</a></li>
<li>Turbopack: Ensure server actions sourcemaps tests pass: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76157">#76157</a></li>
<li>[dev-overlay] control dark theme in one place: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76528">#76528</a></li>
<li>[dev-overlay] change css var for terminal: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76590">#76590</a></li>
<li>[dev-overlay] Discriminate stack frame settled typed: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76517">#76517</a></li>
<li>Remove obsolete <code>sourcePackage</code> references: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76550">#76550</a></li>
<li>refactor: remove unused variable in externals handling: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76599">#76599</a></li>
<li>fix: Add popular embedding libraries to serverExternalPackages: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76574">#76574</a></li>
<li>[Segment Cache] Implement hash-only navigations: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76179">#76179</a></li>
<li>Webpack: abstract away getting compilation spans: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76579">#76579</a></li>
<li>report compiler duration for webpack and improve numbers: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76665">#76665</a></li>
<li>[dev-overlay] fix dark theme missing close bracket: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76672">#76672</a></li>
<li>Remove <code>revalidate</code> property from incremental cache
<code>ctx</code> for <code>FETCH</code> kind: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76500">#76500</a></li>
<li>[dev-overlay] fix: env name label style was out of sync with error
type label: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76668">#76668</a></li>
<li>Turbopack: avoid celling source maps before minify: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76626">#76626</a></li>
<li>refactor(CI): Merge all four bundler test manifest scripts into one:
<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76652">#76652</a></li>
<li>[metadata] fix duplicate metadata for parallel routes: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76669">#76669</a></li>
<li>[Segment Cache] Omit from bundle if flag disabled: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76622">#76622</a></li>
<li>[Segment Cache] Support output: &quot;export&quot; mode: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/75671">#75671</a></li>
<li>[Segment Cache] Refresh on same-page navigation: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76223">#76223</a></li>
<li>[metadata] re-enable streaming metadata with PPR: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76119">#76119</a></li>
<li>[Segment Cache] Search param fallback handling: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/75990">#75990</a></li>
<li>[Segment Cache] Fix: canonicalURL omits origin: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76444">#76444</a></li>
<li>fix metadata basePath for manifest: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76681">#76681</a></li>
<li>Propagate expire time to <code>cache-control</code> header and
prerender manifest: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76207">#76207</a></li>
<li>Show revalidate/expire columns in build output: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76343">#76343</a></li>
<li>Gate alternate bundler behind canary only: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76634">#76634</a></li>
<li>[dynamicIO] routes with dynamic segments should be able to be static
in dev: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76691">#76691</a></li>
<li>[repo] upgrade ts <code>5.8.2</code>: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76709">#76709</a></li>
<li>[metadata]: ensure metadata boundary is only rendered once on client
nav: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76692">#76692</a></li>
<li>[metadata] clean up redudant options: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76712">#76712</a></li>
<li>Fix uniqueness detection for <code>generateStaticParams</code>: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76713">#76713</a></li>
<li>Upgrade React from <code>22e39ea7-20250225</code> to
<code>d55cc79b-20250228</code>: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76680">#76680</a></li>
<li>[Turbopack] Compute module batches and use them for chunking: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76133">#76133</a></li>
<li>[Dev Tools] Improve keyboard interactions for menu &amp; overlays:
<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76754">#76754</a></li>
<li>Keep server code out of browser chunks: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76660">#76660</a></li>
<li>Turbopack: inline minify into code generation and make it a plain
function instead of a turbo tasks function: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76628">#76628</a></li>
<li>fix edge runtime asset fetch in pages api: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76750">#76750</a></li>
<li>Update use-cache-unknown-cache-kind.test.ts snapshot for alternate
bundler: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76682">#76682</a></li>
</ul>
<h3>Example Changes</h3>
<ul>
<li>docs: fix reading <code>params</code> code blocks: <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76705">#76705</a></li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li>fix(rustdoc): Fix rustdoc warnings, block on rustdoc failures in CI:
<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76448">#76448</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="633878112e"><code>6338781</code></a>
v15.2.1</li>
<li><a
href="197b4bb709"><code>197b4bb</code></a>
v15.2.1-canary.6</li>
<li><a
href="0b699b1c8d"><code>0b699b1</code></a>
v15.2.1-canary.5</li>
<li><a
href="4bf1ee117d"><code>4bf1ee1</code></a>
[repo] upgrade ts <code>5.8.2</code> (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/76709">#76709</a>)</li>
<li><a
href="6f6001a87a"><code>6f6001a</code></a>
v15.2.1-canary.4</li>
<li><a
href="5f1df89fdc"><code>5f1df89</code></a>
v15.2.1-canary.3</li>
<li><a
href="f06a72e11e"><code>f06a72e</code></a>
v15.2.1-canary.2</li>
<li><a
href="2497f81d1b"><code>2497f81</code></a>
v15.2.1-canary.1</li>
<li><a
href="83610c6a84"><code>83610c6</code></a>
v15.2.1-canary.0</li>
<li><a
href="b0416fbb44"><code>b0416fb</code></a>
v15.2.0</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/next.js/commits/v15.2.1/packages/third-parties">compare
view</a></li>
</ul>
</details>
<br />

Updates `@supabase/supabase-js` from 2.48.1 to 2.49.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/supabase/supabase-js/releases"><code>@​supabase/supabase-js</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v2.49.1</h2>
<h2><a
href="https://github.com/supabase/supabase-js/compare/v2.49.0...v2.49.1">2.49.1</a>
(2025-02-24)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> upgrade postgrest-js 1.19.2 (<a
href="3f01c3fbc4">3f01c3f</a>)</li>
</ul>
<h2>v2.49.0</h2>
<h1><a
href="https://github.com/supabase/supabase-js/compare/v2.48.1...v2.49.0">2.49.0</a>
(2025-02-24)</h1>
<h3>Features</h3>
<ul>
<li>bump <code>@supabase/auth-js</code> to 2.68.0 (<a
href="https://redirect.github.com/supabase/supabase-js/issues/1359">#1359</a>)
(<a
href="a9ece9a4ae">a9ece9a</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fceca48c37"><code>fceca48</code></a>
Merge pull request <a
href="https://redirect.github.com/supabase/supabase-js/issues/1369">#1369</a>
from supabase/avallete/chore-bump-postgrest-js-1-19-2</li>
<li><a
href="a9ece9a4ae"><code>a9ece9a</code></a>
feat: bump <code>@supabase/auth-js</code> to 2.68.0 (<a
href="https://redirect.github.com/supabase/supabase-js/issues/1359">#1359</a>)</li>
<li><a
href="3f01c3fbc4"><code>3f01c3f</code></a>
fix(deps): upgrade postgrest-js 1.19.2</li>
<li>See full diff in <a
href="https://github.com/supabase/supabase-js/compare/v2.48.1...v2.49.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `@tanstack/react-table` from 8.20.6 to 8.21.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/TanStack/table/releases"><code>@​tanstack/react-table</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v8.21.2</h2>
<p>Version 8.21.2 - 2/11/25, 8:59 PM</p>
<h2>Changes</h2>
<h3>Fix</h3>
<ul>
<li>arrIncludes autoremove filterFn (<a
href="https://github.com/TanStack/table/tree/HEAD/packages/react-table/issues/5623">#5623</a>)
(2efaf57) by lukebui</li>
<li>lit-table: spread table options in lit adapter (<a
href="https://github.com/TanStack/table/tree/HEAD/packages/react-table/issues/5904">#5904</a>)
(36dede1) by <a
href="https://github.com/kadoshms"><code>@​kadoshms</code></a></li>
</ul>
<h3>Docs</h3>
<ul>
<li>row accessor bug in example code block (<a
href="https://github.com/TanStack/table/tree/HEAD/packages/react-table/issues/5893">#5893</a>)
(b1506a7) by Valerii Petryniak</li>
<li>virtualizer tbody from onchange (827b098) by Kevin Van Cott</li>
<li>exp virtual - remeasure when table state changes (9e6987d) by Kevin
Van Cott</li>
<li>angular: add expanding and sub components examples (<a
href="https://github.com/TanStack/table/tree/HEAD/packages/react-table/issues/5898">#5898</a>)
(099e1a4) by <a
href="https://github.com/riccardoperra"><code>@​riccardoperra</code></a></li>
<li>example name (57703a4) by Kevin Van Cott</li>
</ul>
<h2>Packages</h2>
<ul>
<li><code>@​tanstack/table-core</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
<li><code>@​tanstack/lit-table</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
<li><code>@​tanstack/angular-table</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
<li><code>@​tanstack/qwik-table</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
<li><code>@​tanstack/react-table</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
<li><code>@​tanstack/solid-table</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
<li><code>@​tanstack/svelte-table</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
<li><code>@​tanstack/vue-table</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
<li><code>@​tanstack/react-table-devtools</code><a
href="https://github.com/8"><code>@​8</code></a>.21.2</li>
</ul>
<h2>v8.21.1</h2>
<p>Version 8.21.1 - 2/3/25, 5:37 AM</p>
<h2>Changes</h2>
<h3>Fix</h3>
<ul>
<li>lit-table: dynamic data updates in the Lit Table Adapter (<a
href="https://github.com/TanStack/table/tree/HEAD/packages/react-table/issues/5884">#5884</a>)
(9763877) by Luke Schierer</li>
</ul>
<h3>Docs</h3>
<ul>
<li>add experimental virtualization example (<a
href="https://github.com/TanStack/table/tree/HEAD/packages/react-table/issues/5895">#5895</a>)
(8d6e19f) by Kevin Van Cott</li>
<li>angular: add missing faker-js deps (<a
href="https://github.com/TanStack/table/tree/HEAD/packages/react-table/issues/5883">#5883</a>)
(190c669) by <a
href="https://github.com/riccardoperra"><code>@​riccardoperra</code></a></li>
<li>angular: add editable, row-dnd and performant column resizing
example (<a
href="https://github.com/TanStack/table/tree/HEAD/packages/react-table/issues/5881">#5881</a>)
(0baabdd) by <a
href="https://github.com/riccardoperra"><code>@​riccardoperra</code></a></li>
</ul>
<h2>Packages</h2>
<ul>
<li><code>@​tanstack/lit-table</code><a
href="https://github.com/8"><code>@​8</code></a>.21.1</li>
</ul>
<h2>v8.21.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="db745afdb8"><code>db745af</code></a>
release: v8.21.2</li>
<li>See full diff in <a
href="https://github.com/TanStack/table/commits/v8.21.2/packages/react-table">compare
view</a></li>
</ul>
</details>
<br />

Updates `@xyflow/react` from 12.4.2 to 12.4.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/xyflow/xyflow/releases"><code>@​xyflow/react</code>'s
releases</a>.</em></p>
<blockquote>
<h2><code>@​xyflow/react</code><a
href="https://github.com/12"><code>@​12</code></a>.4.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5052">#5052</a> <a
href="99dd7d3549"><code>99dd7d35</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Show an error if user drags uninitialized node</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5042">#5042</a> <a
href="2fe0e850a8"><code>2fe0e850</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Allow click connections when target sets
<code>isConnectableStart</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5047">#5047</a> <a
href="b3bf5693c6"><code>b3bf5693</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Pass generics to OnSelectionChangeFunc so that users can type it
correctly</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5053">#5053</a> <a
href="25fb45b5e9"><code>25fb45b5</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Remove incorrect deprecation warning</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5033">#5033</a> <a
href="7b4a81fb6b"><code>7b4a81fb</code></a>
Thanks <a
href="https://github.com/dimaMachina"><code>@​dimaMachina</code></a>! -
lint: use <code>React.JSX</code> type instead of the deprecated global
<code>JSX</code> namespace</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5043">#5043</a> <a
href="0292ad2010"><code>0292ad20</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Use current expandParent value on drag to be able to update it while
dragging</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5032">#5032</a> <a
href="5867bba805"><code>5867bba8</code></a>
Thanks <a
href="https://github.com/dimaMachina"><code>@​dimaMachina</code></a>! -
lint: remove unnecessary type assertions</p>
</li>
<li>
<p>Updated dependencies [<a
href="99dd7d3549"><code>99dd7d35</code></a>]:</p>
<ul>
<li><code>@​xyflow/system</code><a
href="https://github.com/0"><code>@​0</code></a>.0.52</li>
</ul>
</li>
</ul>
<h2><code>@​xyflow/react</code><a
href="https://github.com/12"><code>@​12</code></a>.4.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5010">#5010</a> <a
href="6c121d427f"><code>6c121d42</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Add more TSDocs to components, hooks, utils funcs and types</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/4991">#4991</a> <a
href="ea54d9bcb1"><code>ea54d9bc</code></a>
Thanks <a
href="https://github.com/waynetee"><code>@​waynetee</code></a>! - Fix
viewport shifting on node focus</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5013">#5013</a> <a
href="cde899c5be"><code>cde899c5</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Pass <code>NodeType</code> type argument from
<code>ReactFlowProps</code> to <code>connectionLineComponent</code>
property.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5008">#5008</a> <a
href="12d859fe29"><code>12d859fe</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Add package.json to exports</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5012">#5012</a> <a
href="4d3f19e88b"><code>4d3f19e8</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Add snapGrid option to screenToFlowPosition and set snapToGrid to
false</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5003">#5003</a> <a
href="e8e0d68495"><code>e8e0d684</code></a>
Thanks <a
href="https://github.com/dimaMachina"><code>@​dimaMachina</code></a>! -
repair lint command</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/4991">#4991</a> <a
href="4c62f19b3a"><code>4c62f19b</code></a>
Thanks <a
href="https://github.com/waynetee"><code>@​waynetee</code></a>! -
Prevent viewport shift after using Tab</p>
</li>
<li>
<p>Updated dependencies [<a
href="6c121d427f"><code>6c121d42</code></a>,
<a
href="4947029cd6"><code>4947029c</code></a>,
<a
href="e8e0d68495"><code>e8e0d684</code></a>]:</p>
<ul>
<li><code>@​xyflow/system</code><a
href="https://github.com/0"><code>@​0</code></a>.0.51</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/xyflow/xyflow/blob/main/packages/react/CHANGELOG.md"><code>@​xyflow/react</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>12.4.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5052">#5052</a> <a
href="99dd7d3549"><code>99dd7d35</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Show an error if user drags uninitialized node</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5042">#5042</a> <a
href="2fe0e850a8"><code>2fe0e850</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Allow click connections when target sets
<code>isConnectableStart</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5047">#5047</a> <a
href="b3bf5693c6"><code>b3bf5693</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Pass generics to OnSelectionChangeFunc so that users can type it
correctly</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5053">#5053</a> <a
href="25fb45b5e9"><code>25fb45b5</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Remove incorrect deprecation warning</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5033">#5033</a> <a
href="7b4a81fb6b"><code>7b4a81fb</code></a>
Thanks <a
href="https://github.com/dimaMachina"><code>@​dimaMachina</code></a>! -
lint: use <code>React.JSX</code> type instead of the deprecated global
<code>JSX</code> namespace</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5043">#5043</a> <a
href="0292ad2010"><code>0292ad20</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Use current expandParent value on drag to be able to update it while
dragging</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5032">#5032</a> <a
href="5867bba805"><code>5867bba8</code></a>
Thanks <a
href="https://github.com/dimaMachina"><code>@​dimaMachina</code></a>! -
lint: remove unnecessary type assertions</p>
</li>
<li>
<p>Updated dependencies [<a
href="99dd7d3549"><code>99dd7d35</code></a>]:</p>
<ul>
<li><code>@​xyflow/system</code><a
href="https://github.com/0"><code>@​0</code></a>.0.52</li>
</ul>
</li>
</ul>
<h2>12.4.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5010">#5010</a> <a
href="6c121d427f"><code>6c121d42</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Add more TSDocs to components, hooks, utils funcs and types</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/4991">#4991</a> <a
href="ea54d9bcb1"><code>ea54d9bc</code></a>
Thanks <a
href="https://github.com/waynetee"><code>@​waynetee</code></a>! - Fix
viewport shifting on node focus</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5013">#5013</a> <a
href="cde899c5be"><code>cde899c5</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Pass <code>NodeType</code> type argument from
<code>ReactFlowProps</code> to <code>connectionLineComponent</code>
property.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5008">#5008</a> <a
href="12d859fe29"><code>12d859fe</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Add package.json to exports</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5012">#5012</a> <a
href="4d3f19e88b"><code>4d3f19e8</code></a>
Thanks <a href="https://github.com/moklick"><code>@​moklick</code></a>!
- Add snapGrid option to screenToFlowPosition and set snapToGrid to
false</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/5003">#5003</a> <a
href="e8e0d68495"><code>e8e0d684</code></a>
Thanks <a
href="https://github.com/dimaMachina"><code>@​dimaMachina</code></a>! -
repair lint command</p>
</li>
<li>
<p><a
href="https://redirect.github.com/xyflow/xyflow/pull/4991">#4991</a> <a
href="4c62f19b3a"><code>4c62f19b</code></a>
Thanks <a
href="https://github.com/waynetee"><code>@​waynetee</code></a>! -
Prevent viewport shift after using Tab</p>
</li>
<li>
<p>Updated dependencies [<a
href="6c121d427f"><code>6c121d42</code></a>,
<a
href="4947029cd6"><code>4947029c</code></a>,
<a
href="e8e0d68495"><code>e8e0d684</code></a>]:</p>
<ul>
<li><code>@​xyflow/system</code><a
href="https://github.com/0"><code>@​0</code></a>.0.51</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d045503667"><code>d045503</code></a>
chore(packages): bump</li>
<li><a
href="7a00fe3520"><code>7a00fe3</code></a>
chore(getNodeConnections): remove deprecation <a
href="https://github.com/xyflow/xyflow/tree/HEAD/packages/react/issues/5051">#5051</a></li>
<li><a
href="08b99e8719"><code>08b99e8</code></a>
Merge pull request <a
href="https://github.com/xyflow/xyflow/tree/HEAD/packages/react/issues/5043">#5043</a>
from xyflow/refactor/dynamic-expand-parent</li>
<li><a
href="8dd2b4f9e2"><code>8dd2b4f</code></a>
chore(updateNodePositions): cleanup</li>
<li><a
href="0b67a6c303"><code>0b67a6c</code></a>
refactor(errors): show error when user drags uninitialized node <a
href="https://github.com/xyflow/xyflow/tree/HEAD/packages/react/issues/5014">#5014</a></li>
<li><a
href="27df80b6a6"><code>27df80b</code></a>
fix(selection-listener): pass generics</li>
<li><a
href="d094ef0581"><code>d094ef0</code></a>
fix(OnSelectionChangeFunc): pass node and edge type generics <a
href="https://github.com/xyflow/xyflow/tree/HEAD/packages/react/issues/5023">#5023</a></li>
<li><a
href="3969758af2"><code>3969758</code></a>
refactor(expandParent): use current value on drag <a
href="https://github.com/xyflow/xyflow/tree/HEAD/packages/react/issues/5039">#5039</a></li>
<li><a
href="43f188d3b1"><code>43f188d</code></a>
fix(click-connections): handle isConnectableStart correctly <a
href="https://github.com/xyflow/xyflow/tree/HEAD/packages/react/issues/5041">#5041</a></li>
<li><a
href="68591a8bf1"><code>68591a8</code></a>
Merge branch 'main' into no-deprecated</li>
<li>Additional commits viewable in <a
href="https://github.com/xyflow/xyflow/commits/@xyflow/react@12.4.4/packages/react">compare
view</a></li>
</ul>
</details>
<br />

Updates `framer-motion` from 12.3.1 to 12.4.11
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/motiondivision/motion/blob/main/CHANGELOG.md">framer-motion's
changelog</a>.</em></p>
<blockquote>
<h2>[12.4.11] 2025-03-10</h2>
<h3>Fixed</h3>
<ul>
<li>Preventing flattening of scroll animations when <code>type</code> or
<code>ease</code> are explicitly set.</li>
</ul>
<h2>[12.4.10] 2025-03-03</h2>
<h3>Fixed</h3>
<ul>
<li>Adding UMD bundles for <code>motion-dom</code> and
<code>motion-utils</code>.</li>
</ul>
<h2>[12.4.9] 2025-03-03</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed <code>Reorder.Item</code> reordering causing
<code>lostpointercapture</code> event to fire.</li>
</ul>
<h2>[12.4.8] 2025-02-26</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed exiting children with <code>layoutDependency</code> not
animating layout changes because of a stale layout dependency.</li>
</ul>
<h2>[12.4.7] 2025-02-20</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed <code>AnimatePresence</code> not triggering exit animations
when a child with <code>layout</code> or <code>drag</code> is
removed.</li>
</ul>
<h2>[12.4.6] 2025-02-20</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed drag gesture on child elements.</li>
</ul>
<h2>[12.4.5] 2025-02-19</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed <code>onClick</code> handlers not working inside
<code>press</code> events.</li>
</ul>
<h2>[12.4.4] 2025-02-18</h2>
<h3>Fixed</h3>
<ul>
<li>Changed press, drag and pan gestures to use pointer capturing for
better usage within <code>iframe</code> embeds.</li>
</ul>
<h2>[12.4.3] 2025-02-12</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9316ca8202"><code>9316ca8</code></a>
v12.4.11</li>
<li><a
href="c291a09ff2"><code>c291a09</code></a>
Updating changelog</li>
<li><a
href="9e2923c5e4"><code>9e2923c</code></a>
Fix scroll easing (<a
href="https://redirect.github.com/motiondivision/motion/issues/3106">#3106</a>)</li>
<li><a
href="18b71d1395"><code>18b71d1</code></a>
v12.4.10</li>
<li><a
href="e89a0c20c9"><code>e89a0c2</code></a>
Latest</li>
<li><a
href="d84031e1cd"><code>d84031e</code></a>
Latest</li>
<li><a
href="63e7597969"><code>63e7597</code></a>
Updating rollup</li>
<li><a
href="3fcf837c1f"><code>3fcf837</code></a>
v12.4.9</li>
<li><a
href="c58920f6f2"><code>c58920f</code></a>
Updating changelog</li>
<li><a
href="c889431567"><code>c889431</code></a>
Fixing pointer capture and Reorder item (<a
href="https://redirect.github.com/motiondivision/motion/issues/3097">#3097</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/motiondivision/motion/compare/v12.3.1...v12.4.11">compare
view</a></li>
</ul>
</details>
<br />

Updates `lucide-react` from 0.474.0 to 0.479.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/lucide-icons/lucide/releases">lucide-react's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.479.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat(<code>@​lucide/svelte</code>): Lucide svelte 5 package by <a
href="https://github.com/ericfennis"><code>@​ericfennis</code></a> in <a
href="https://redirect.github.com/lucide-icons/lucide/pull/2753">lucide-icons/lucide#2753</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/lucide-icons/lucide/compare/0.478.0...0.479.0">https://github.com/lucide-icons/lucide/compare/0.478.0...0.479.0</a></p>
<h2>Version 0.478.0</h2>
<h2>What's Changed</h2>
<ul>
<li>ci(pr-comment): Fix icon preview comment on PRs by <a
href="https://github.com/ericfennis"><code>@​ericfennis</code></a> in <a
href="https://redirect.github.com/lucide-icons/lucide/pull/2854">lucide-icons/lucide#2854</a></li>
<li>fix(ci): run lint pr title on title change by <a
href="https://github.com/jguddas"><code>@​jguddas</code></a> in <a
href="https://redirect.github.com/lucide-icons/lucide/pull/2872">lucide-icons/lucide#2872</a></li>
<li>fix(metadata): name change reflected in contributions by <a
href="https://github.com/AnnaSasDev"><code>@​AnnaSasDev</code></a> in <a
href="https://redirect.github.com/lucide-icons/lucide/pull/2866">lucide-icons/lucide#2866</a></li>
<li>fix(icons): changed <code>brackets</code> icon by <a
href="https://github.com/jguddas"><code>@​jguddas</code></a> in <a
href="https://redirect.github.com/lucide-icons/lucide/pull/2863">lucide-icons/lucide#2863</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/lucide-icons/lucide/compare/0.477.0...0.478.0">https://github.com/lucide-icons/lucide/compare/0.477.0...0.478.0</a></p>
<h2>New icons 0.477.0</h2>
<h2>New icons 🎨</h2>
<ul>
<li><code>square-round-corner</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2323">#2323</a>)
by <a href="https://github.com/liamb13"><code>@​liamb13</code></a></li>
</ul>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>circle-slash-2</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2837">#2837</a>)
by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<h2>Fixes and new icons 0.476.0</h2>
<h2>Fixes</h2>
<ul>
<li>fix(lucide-react): Revert exports property package.json, fixing edge
worker environments. by <a
href="https://github.com/ericfennis"><code>@​ericfennis</code></a> in <a
href="https://redirect.github.com/lucide-icons/lucide/pull/2814">lucide-icons/lucide#2814</a></li>
<li>fix(lucide): Lucide create element function returning SVG Element by
<a href="https://github.com/ericfennis"><code>@​ericfennis</code></a> in
<a
href="https://redirect.github.com/lucide-icons/lucide/pull/2816">lucide-icons/lucide#2816</a></li>
</ul>
<h2>New icons 🎨</h2>
<ul>
<li><code>shield-user</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2608">#2608</a>)
by <a
href="https://github.com/sebinemeth"><code>@​sebinemeth</code></a></li>
</ul>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>beef</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2832">#2832</a>)
by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<h2>New icons 0.475.0</h2>
<h2>New icons 🎨</h2>
<ul>
<li><code>circle-small</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2607">#2607</a>)
by <a
href="https://github.com/jamiemlaw"><code>@​jamiemlaw</code></a></li>
<li><code>mars-stroke</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2607">#2607</a>)
by <a
href="https://github.com/jamiemlaw"><code>@​jamiemlaw</code></a></li>
<li><code>mars</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2607">#2607</a>)
by <a
href="https://github.com/jamiemlaw"><code>@​jamiemlaw</code></a></li>
<li><code>non-binary</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2607">#2607</a>)
by <a
href="https://github.com/jamiemlaw"><code>@​jamiemlaw</code></a></li>
<li><code>transgender</code> (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2607">#2607</a>)
by <a
href="https://github.com/jamiemlaw"><code>@​jamiemlaw</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1787b82cfe"><code>1787b82</code></a>
build(deps-dev): bump vite from 5.4.13 to 5.4.14 in /packages/lucide (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2804">#2804</a>)</li>
<li><a
href="b46927e510"><code>b46927e</code></a>
fix(lucide-react): Revert exports property package.json, fixing edge
worker e...</li>
<li><a
href="3ab6c373a0"><code>3ab6c37</code></a>
build(deps-dev): bump vite from 5.4.12 to 5.4.13 (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2798">#2798</a>)</li>
<li><a
href="ba2c4b526f"><code>ba2c4b5</code></a>
build(deps-dev): bump vite from 5.1.8 to 5.4.12 (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2786">#2786</a>)</li>
<li><a
href="50630b3aaf"><code>50630b3</code></a>
ci: Improve build speeds (<a
href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2778">#2778</a>)</li>
<li>See full diff in <a
href="https://github.com/lucide-icons/lucide/commits/0.479.0/packages/lucide-react">compare
view</a></li>
</ul>
</details>
<br />

Updates `next-themes` from 0.4.4 to 0.4.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pacocoursey/next-themes/releases">next-themes's
releases</a>.</em></p>
<blockquote>
<h2>v0.4.5</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: map theme to class using ValueObject in injected script by <a
href="https://github.com/danielgavrilov"><code>@​danielgavrilov</code></a>
in <a
href="https://redirect.github.com/pacocoursey/next-themes/pull/330">pacocoursey/next-themes#330</a></li>
<li>Reduce number of renders by pre-setting resolvedTheme by <a
href="https://github.com/wahba-openai"><code>@​wahba-openai</code></a>
in <a
href="https://redirect.github.com/pacocoursey/next-themes/pull/338">pacocoursey/next-themes#338</a></li>
<li>Bump next from 14.2.10 to 14.2.15 in the npm_and_yarn group across 1
directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/pacocoursey/next-themes/pull/331">pacocoursey/next-themes#331</a></li>
<li>Bump the npm_and_yarn group across 1 directory with 7 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/pacocoursey/next-themes/pull/341">pacocoursey/next-themes#341</a></li>
<li>chore: Fix corepack errors in CI by <a
href="https://github.com/pacocoursey"><code>@​pacocoursey</code></a> in
<a
href="https://redirect.github.com/pacocoursey/next-themes/pull/342">pacocoursey/next-themes#342</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/danielgavrilov"><code>@​danielgavrilov</code></a>
made their first contribution in <a
href="https://redirect.github.com/pacocoursey/next-themes/pull/330">pacocoursey/next-themes#330</a></li>
<li><a
href="https://github.com/wahba-openai"><code>@​wahba-openai</code></a>
made their first contribution in <a
href="https://redirect.github.com/pacocoursey/next-themes/pull/338">pacocoursey/next-themes#338</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pacocoursey/next-themes/compare/v0.4.4...v0.4.5">https://github.com/pacocoursey/next-themes/compare/v0.4.4...v0.4.5</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d12996b4e8"><code>d12996b</code></a>
chore: Fix corepack errors in CI (<a
href="https://redirect.github.com/pacocoursey/next-themes/issues/342">#342</a>)</li>
<li><a
href="b77db23e9f"><code>b77db23</code></a>
Bump the npm_and_yarn group across 1 directory with 7 updates (<a
href="https://redirect.github.com/pacocoursey/next-themes/issues/341">#341</a>)</li>
<li><a
href="d3fa4ee9ad"><code>d3fa4ee</code></a>
Bump next from 14.2.10 to 14.2.15 in the npm_and_yarn group across 1
director...</li>
<li><a
href="ad83567b11"><code>ad83567</code></a>
Reduce number of renders by pre-setting resolvedTheme (<a
href="https://redirect.github.com/pacocoursey/next-themes/issues/338">#338</a>)</li>
<li><a
href="1b510445a3"><code>1b51044</code></a>
fix: map theme to class using ValueObject in injected script (<a
href="https://redirect.github.com/pacocoursey/next-themes/issues/330">#330</a>)</li>
<li>See full diff in <a
href="https://github.com/pacocoursey/next-themes/compare/v0.4.4...v0.4.5">compare
view</a></li>
</ul>
</details>
<br />

Updates `react-day-picker` from 9.5.1 to 9.6.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gpbl/react-day-picker/releases">react-day-picker's
releases</a>.</em></p>
<blockquote>
<h2>v9.6.1</h2>
<p>This release addresses an accessibility issue, adds a new
<code>animate</code> prop and fixes other minor bugs.</p>
<h3>Possible Breaking Change in Custom Styles</h3>
<p>To address a <a
href="https://redirect.github.com/gpbl/react-day-picker/issues/2630">focus
lost bug</a> affecting navigation buttons, we <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2685">updated</a>
the buttons to use <code>aria-disabled</code> instead of the
<code>disabled</code> attribute.</p>
<p>This change may cause custom styles for those disabled buttons to
break. To fix it in your code, update the CSS selector to target
<code>[aria-disabled=&quot;true&quot;]</code>:</p>
<pre lang="diff"><code>- .rdp-button_next:disabled,
+ .rdp-button_next[aria-disabled=&quot;true&quot;] {
  /* your custom CSS */
}
- .rdp-button_previous:disabled,
+ .rdp-button_previous[aria-disabled=&quot;true&quot;] {
  /* your custom CSS */
}
</code></pre>
<h3>Animating Month Transitions</h3>
<p>Thanks to the work by <a
href="https://github.com/rodgobbi"><code>@​rodgobbi</code></a>, we have
added animations to DayPicker. The new <a
href="http://daypicker.dev/docs/navigation#animate"><code>animate</code>
prop</a> enables CSS transitions for captions and weeks when navigating
between months:</p>
<!-- raw HTML omitted -->
<pre lang="tsx"><code>&lt;DayPicker animate /&gt;
</code></pre>
<p>Customizing the animation style can be challenging due to the HTML
table structure of the grid. We may address this in the future. Please
leave your feedback in <a
href="https://github.com/gpbl/react-day-picker/discussions">DayPicker
Discussions</a>.</p>
<h2>What's Changed</h2>
<ul>
<li>feat: new <code>animate</code> prop by <a
href="https://github.com/rodgobbi"><code>@​rodgobbi</code></a> in <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2684">gpbl/react-day-picker#2684</a></li>
<li>feat(performance): add <code>sideEffects</code> property to
package.json by <a
href="https://github.com/rodgobbi"><code>@​rodgobbi</code></a> in <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2673">gpbl/react-day-picker#2673</a></li>
<li>fix(accessibility): focus lost when navigation button is disabled by
<a href="https://github.com/gpbl"><code>@​gpbl</code></a> in <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2685">gpbl/react-day-picker#2685</a></li>
<li>fix: render selected days with <code>selected</code> modifier when
disabled by <a
href="https://github.com/rodgobbi"><code>@​rodgobbi</code></a> in <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2700">gpbl/react-day-picker#2700</a></li>
<li>fix(build): remove extra files from package.json by <a
href="https://github.com/gpbl"><code>@​gpbl</code></a> in <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2692">gpbl/react-day-picker#2692</a></li>
<li>chore(types): fix deprecation of select event handler types by <a
href="https://github.com/timothyis"><code>@​timothyis</code></a> in <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2680">gpbl/react-day-picker#2680</a></li>
</ul>
<h3>v9.6.1</h3>
<ul>
<li>fix(build): add missing .css entries in package.json files by <a
href="https://github.com/gpbl"><code>@​gpbl</code></a> in <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2703">gpbl/react-day-picker#2703</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/timothyis"><code>@​timothyis</code></a>
made their first contribution in <a
href="https://redirect.github.com/gpbl/react-day-picker/pull/2680">gpbl/react-day-picker#2680</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/gpbl/react-day-picker/compare/v9.5.1...v9.6.1">https://github.com/gpbl/react-day-picker/compare/v9.5.1...v9.6.1</a></p>
<h2>v9.6.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c37983b8e5"><code>c37983b</code></a>
build: bump v9.6.1</li>
<li><a
href="3d382fe18d"><code>3d382fe</code></a>
build: add missing .css entries in package.json files (<a
href="https://redirect.github.com/gpbl/react-day-picker/issues/2703">#2703</a>)</li>
<li><a
href="ca71182076"><code>ca71182</code></a>
build: bump v9.6.0</li>
<li><a
href="37f759a718"><code>37f759a</code></a>
chore: animate prop, remove <a
href="https://github.com/experimental"><code>@​experimental</code></a>
tag</li>
<li><a
href="9aa3d35062"><code>9aa3d35</code></a>
docs: update for new <code>animate</code> prop (<a
href="https://redirect.github.com/gpbl/react-day-picker/issues/2694">#2694</a>)</li>
<li><a
href="d7d0a8ad13"><code>d7d0a8a</code></a>
fix: render selected days with selected modifier when disabled (<a
href="https://redirect.github.com/gpbl/react-day-picker/issues/2700">#2700</a>)</li>
<li><a
href="48f00dc20f"><code>48f00dc</code></a>
fix: focus lost when navigation button is disabled (<a
href="https://redirect.github.com/gpbl/react-day-picker/issues/2685">#2685</a>)</li>
<li><a
href="6617c9bf81"><code>6617c9b</code></a>
chore: update keyframes names (<a
href="https://redirect.github.com/gpbl/react-day-picker/issues/2695">#2695</a>)</li>
<li><a
href="13e0a4acc9"><code>13e0a4a</code></a>
test: fix test related to first of month (<a
href="https://redirect.github.com/gpbl/react-day-picker/issues/2693">#2693</a>)</li>
<li><a
href="ebde52dd02"><code>ebde52d</code></a>
docs: fix no-wrap-table style for paragraphs</li>
<li>Additional commits viewable in <a
href="https://github.com/gpbl/react-day-picker/compare/v9.5.1...v9.6.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `react-icons` from 5.4.0 to 5.5.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/react-icons/react-icons/releases">react-icons's
releases</a>.</em></p>
<blockquote>
<h2>v5.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>[React 19] Update IconType type to return React.ReactNode by <a
href="https://github.com/diaz-hfc"><code>@​diaz-hfc</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/1004">react-icons/react-icons#1004</a></li>
<li>Bump vite from 5.2.10 to 5.4.11 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/996">react-icons/react-icons#996</a></li>
<li>Bump nanoid from 3.3.7 to 3.3.8 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/1005">react-icons/react-icons#1005</a></li>
<li>Bump vite from 5.4.11 to 5.4.14 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/1021">react-icons/react-icons#1021</a></li>
<li>Bump esbuild from 0.20.2 to 0.25.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/1027">react-icons/react-icons#1027</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/diaz-hfc"><code>@​diaz-hfc</code></a>
made their first contribution in <a
href="https://redirect.github.com/react-icons/react-icons/pull/1004">react-icons/react-icons#1004</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/react-icons/react-icons/compare/v5.4.0...v5.5.0">https://github.com/react-icons/react-icons/compare/v5.4.0...v5.5.0</a></p>
<table>
<thead>
<tr>
<th>Icon Library</th>
<th>License</th>
<th>Version</th>
<th align="right">Count</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://circumicons.com/">Circum Icons</a></td>
<td><a
href="https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE">MPL-2.0
license</a></td>
<td>1.0.0</td>
<td align="right">288</td>
</tr>
<tr>
<td><a href="https://fontawesome.com/">Font Awesome 5</a></td>
<td><a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0
License</a></td>
<td>5.15.4-3-gafecf2a</td>
<td align="right">1612</td>
</tr>
<tr>
<td><a href="https://fontawesome.com/">Font Awesome 6</a></td>
<td><a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0
License</a></td>
<td>6.6.0</td>
<td align="right">2050</td...

_Description has been truncated_

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
2025-03-19 23:39:09 +07:00
Reinier van der Leer 7854b999f3
fix(frontend/library): Truncate agent card title and description (#9658)
- Resolves #9631

### Changes 🏗️

- Truncate library agent card title (2 lines) and description (3 lines)
- Make "See runs" and "Open in builder" stick to bottom of card
regardless of other content
- Reduce number of grid columns (4 -> 3) in `lg` layout on `/library` to
give items more horizontal space

![screenshot of library agent grid with the applied
changes](https://github.com/user-attachments/assets/b27d5c97-33b8-4708-9f8c-fc67aad899c9)


### 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] Visually test the changes made on different screen sizes
2025-03-19 15:56:57 +00:00
Reinier van der Leer ca5fb1618e
fix(frontend/library): Improve agent I/O rendering (#9656)
- Related to #8784

### Changes 🏗️

- feat(frontend/library): Improve agent output styling & fix content
overflow issue
- fix(frontend/library): Fix overlap between content and inset button of
expandable input fields (#9650)
- fix(backend): Unbreak loading graph executions with missing inputs

![screenshot of restyled Output
section](https://github.com/user-attachments/assets/97836158-5735-4d01-94dd-16e3fb6999c6)

### 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:
- Run an agent with at least one input *not* filled out; view this run
in the Library
    - [x] -> page should load normally
    - [x] -> agent inputs should load and show normally
- Run an agent that generates long output; view this run in the Library
- [x] -> output should not overflow its container or stretch the page
layout
    - [x] -> visually check that the output section looks slick
2025-03-19 15:19:52 +00:00
Toran Bruce Richards 6d36be6f86
fix(blocks): SendWebRequestBlock to properly handle HTTP error responses (#9655)
### Issue
The SendWebRequestBlock currently fails to properly route HTTP error
responses (4xx, 5xx) to their designated output pins (`client_error` and
`server_error`). Instead, these errors are being sent to the default
"Error" pin, breaking expected workflows that depend on proper error
handling.

### Root Cause
The underlying issue is that our custom `requests` module from
`backend.util.request` appears to automatically raise exceptions for
error status codes (similar to how `raise_for_status()` works in the
standard requests library). When these exceptions are thrown, the
block's conditional logic for handling different status codes is
bypassed entirely.

### Changes
This PR adds proper exception handling to catch HTTP errors raised by
the requests module and routes them to the appropriate output pins:
- Added a try-except block to capture `requests.exceptions.HTTPError`
- Extract status code and response data from the caught exception
- Yield to the proper pin based on the status code (4xx → client_error,
5xx → server_error)
- Maintain consistent behavior with the original design intent

### Additional Context
This change maintains backward compatibility while ensuring the block
behaves according to its documented functionality. Users can now
properly handle 4xx and 5xx errors in their workflows as originally
intended.

<!-- Clearly explain the need for these changes: -->
### 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 the block with new changes and old and ensure expected
behavior

---------

Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
2025-03-19 13:05:07 +00:00
Nicholas Tindle dc1d5faa5d
fix(backend): drastically increase batching time for the agent run (#9654)
<!-- Clearly explain the need for these changes: -->

We accidently send several emails within 10 mins and we're gonna get
blocked for spam if we keep it up

### Changes 🏗️
- moves 1 min to 60 min timer
<!-- 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
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
  - [x] Test via batching a series of notiications over an hour
2025-03-18 19:39:16 +00:00
Reinier van der Leer a187e87741
feat(frontend/library): Make agent input fields expandable (#9650)
- Resolves #9622

### Changes 🏗️

- Add pop-out button + modal to input fields in Agent Run Draft view on
`/library/agents/[id]`
- Fix `icon`-variant button styling

![the expand button on the input
fields](https://github.com/user-attachments/assets/00be33fe-44d1-490a-9cab-9696df8f6e6f)
![the expanded input modal that
appears](https://github.com/user-attachments/assets/787f33b9-d884-467b-b99b-dcbec8a1d059)

### 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:
  - Go to an agent's page -> click "+ New run"
    - [x] -> pop-out button should show on all input fields
- Enter a value in one of the inputs; click the pop-out button on that
input
    - [x] -> input modal with large text field should open
- [x] -> the value you just entered should be present in the modal's
text field
  - Edit the value & click "Save"
    - [x] -> the modal should close
- [x] -> the value in the corresponding input field should be updated
2025-03-18 14:52:30 +00:00
Zamil Majdy 067983eb80 fix(block): Revert custom get_missing_links method on AddToListBlock 2025-03-18 22:12:19 +07:00
Zamil Majdy e6de8b98f7
fix(block): Avoid infinite loop execution on AddToListBlock self-loop (#9629)
### Changes 🏗️

<img width="757" alt="image"
src="https://github.com/user-attachments/assets/909aab58-24c7-42ec-9580-ac3e9f32057e"
/>

Since a self-loop is now allowed for AddToListBlock, providing an entry
pin using a static output will cause infinite execution.
This PR change avoid such scenario to be allowed.

### 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] Described above
2025-03-18 14:44:34 +00:00