mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-10 06:45:28 -05:00
aa2c2c1ad276037c0ce4e95be628fdee6e76149e
381 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
bd425331f1 |
chore(frontend/deps): Update 35 dependencies to latest minor versions (#9953)
Bumps the production-dependencies group with 35 updates in the /autogpt_platform/frontend directory: | Package | From | To | | --- | --- | --- | | [@faker-js/faker](https://github.com/faker-js/faker) | `9.6.0` | `9.8.0` | | [@next/third-parties](https://github.com/vercel/next.js/tree/HEAD/packages/third-parties) | `15.2.1` | `15.3.2` | | [@radix-ui/react-alert-dialog](https://github.com/radix-ui/primitives) | `1.1.6` | `1.1.13` | | [@radix-ui/react-avatar](https://github.com/radix-ui/primitives) | `1.1.3` | `1.1.9` | | [@radix-ui/react-checkbox](https://github.com/radix-ui/primitives) | `1.1.4` | `1.3.1` | | [@radix-ui/react-collapsible](https://github.com/radix-ui/primitives) | `1.1.3` | `1.1.10` | | [@radix-ui/react-context-menu](https://github.com/radix-ui/primitives) | `2.2.6` | `2.2.14` | | [@radix-ui/react-dropdown-menu](https://github.com/radix-ui/primitives) | `2.1.6` | `2.1.14` | | [@radix-ui/react-label](https://github.com/radix-ui/primitives) | `2.1.2` | `2.1.6` | | [@radix-ui/react-popover](https://github.com/radix-ui/primitives) | `1.1.6` | `1.1.13` | | [@radix-ui/react-radio-group](https://github.com/radix-ui/primitives) | `1.2.3` | `1.3.6` | | [@radix-ui/react-scroll-area](https://github.com/radix-ui/primitives) | `1.2.3` | `1.2.8` | | [@radix-ui/react-select](https://github.com/radix-ui/primitives) | `2.1.6` | `2.2.4` | | [@radix-ui/react-separator](https://github.com/radix-ui/primitives) | `1.1.2` | `1.1.6` | | [@radix-ui/react-switch](https://github.com/radix-ui/primitives) | `1.1.3` | `1.2.4` | | [@radix-ui/react-tabs](https://github.com/radix-ui/primitives) | `1.1.4` | `1.1.11` | | [@radix-ui/react-toast](https://github.com/radix-ui/primitives) | `1.2.6` | `1.2.13` | | [@radix-ui/react-tooltip](https://github.com/radix-ui/primitives) | `1.1.8` | `1.2.6` | | [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `9.10.1` | `9.19.0` | | [@supabase/ssr](https://github.com/supabase/ssr) | `0.5.2` | `0.6.1` | | [@supabase/supabase-js](https://github.com/supabase/supabase-js) | `2.49.1` | `2.49.4` | | [@tanstack/react-table](https://github.com/TanStack/table/tree/HEAD/packages/react-table) | `8.21.2` | `8.21.3` | | [@xyflow/react](https://github.com/xyflow/xyflow/tree/HEAD/packages/react) | `12.4.2` | `12.6.4` | | [cmdk](https://github.com/pacocoursey/cmdk/tree/HEAD/cmdk) | `1.0.4` | `1.1.1` | | [dotenv](https://github.com/motdotla/dotenv) | `16.4.7` | `16.5.0` | | [embla-carousel-react](https://github.com/davidjerleke/embla-carousel) | `8.5.2` | `8.6.0` | | [framer-motion](https://github.com/motiondivision/motion) | `12.4.11` | `12.12.1` | | [geist](https://github.com/vercel/geist-font/tree/HEAD/packages/next) | `1.3.1` | `1.4.2` | | [launchdarkly-react-client-sdk](https://github.com/launchdarkly/react-client-sdk) | `3.6.1` | `3.7.0` | | [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `0.479.0` | `0.510.0` | | [next-themes](https://github.com/pacocoursey/next-themes) | `0.4.5` | `0.4.6` | | [react-day-picker](https://github.com/gpbl/react-day-picker) | `9.6.1` | `9.7.0` | | [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.54.2` | `7.56.3` | | [recharts](https://github.com/recharts/recharts) | `2.15.1` | `2.15.3` | | [zod](https://github.com/colinhacks/zod) | `3.24.2` | `3.24.4` | Updates `@faker-js/faker` from 9.6.0 to 9.8.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.8.0</h2> <h2>What's Changed</h2> <ul> <li>feat(locale): add country code for en_CA & fr_CA by <a href="https://github.com/alixlahuec"><code>@alixlahuec</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3476">faker-js/faker#3476</a></li> <li>test: use validator@13.15.0 with isULID, isISO31661Numeric, isISO15924 by <a href="https://github.com/matthewmayer"><code>@matthewmayer</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3482">faker-js/faker#3482</a></li> <li>feat(locale): add zh_CN food by <a href="https://github.com/yyz945947732"><code>@yyz945947732</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3479">faker-js/faker#3479</a></li> <li>docs: more than 70 locales by <a href="https://github.com/matthewmayer"><code>@matthewmayer</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3483">faker-js/faker#3483</a></li> <li>feat(locale): update zh_CN location by <a href="https://github.com/yyz945947732"><code>@yyz945947732</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3481">faker-js/faker#3481</a></li> <li>feat(locale): update zh_CN animal by <a href="https://github.com/yyz945947732"><code>@yyz945947732</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3480">faker-js/faker#3480</a></li> <li>refactor(locale): ko state data update by <a href="https://github.com/seoahan"><code>@seoahan</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3487">faker-js/faker#3487</a></li> <li>feat(locale): add zh_CN book by <a href="https://github.com/yyz945947732"><code>@yyz945947732</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3477">faker-js/faker#3477</a></li> <li>feat(locale): add Japanese date and month definitions by <a href="https://github.com/matsueushi"><code>@matsueushi</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3492">faker-js/faker#3492</a></li> <li>feat(locale): add vehicle locale data for Japanese by <a href="https://github.com/noritaka1166"><code>@noritaka1166</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3490">faker-js/faker#3490</a></li> <li>feat(locale): update Japanese company categories by <a href="https://github.com/noritaka1166"><code>@noritaka1166</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3489">faker-js/faker#3489</a></li> <li>feat(locale): add Japanese science locale data including elements and units by <a href="https://github.com/noritaka1166"><code>@noritaka1166</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3491">faker-js/faker#3491</a></li> <li>feat(locale): add Japanese sex definitions for person locale by <a href="https://github.com/noritaka1166"><code>@noritaka1166</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3495">faker-js/faker#3495</a></li> <li>refactor(locale): rename pt-BR streetSuffix to streetPrefix by <a href="https://github.com/glmchalita"><code>@glmchalita</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3493">faker-js/faker#3493</a></li> <li>feat(locale): update zh_CN word by <a href="https://github.com/yyz945947732"><code>@yyz945947732</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3478">faker-js/faker#3478</a></li> <li>refactor(locale): normalize internet data by <a href="https://github.com/xDivisionByZerox"><code>@xDivisionByZerox</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3502">faker-js/faker#3502</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/3500">faker-js/faker#3500</a></li> <li>chore(deps): update dependency eslint-plugin-unicorn to v59 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3501">faker-js/faker#3501</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/3497">faker-js/faker#3497</a></li> <li>chore(deps): update cypress/browsers docker tag to v24 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3507">faker-js/faker#3507</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/3498">faker-js/faker#3498</a></li> <li>chore(deps): update mcr.microsoft.com/devcontainers/typescript-node:22 docker digest to fb211a0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3508">faker-js/faker#3508</a></li> <li>feat(locale): Add additional Japanese last names to the locale data by <a href="https://github.com/noritaka1166"><code>@noritaka1166</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3484">faker-js/faker#3484</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/3511">faker-js/faker#3511</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/3486">faker-js/faker#3486</a></li> <li>fix(locale): ko modified street_name to street_name_part by <a href="https://github.com/seoahan"><code>@seoahan</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3485">faker-js/faker#3485</a></li> <li>fix(locale): correct Japanese country names by <a href="https://github.com/matsueushi"><code>@matsueushi</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3510">faker-js/faker#3510</a></li> <li>chore(release): 9.8.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/3515">faker-js/faker#3515</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/alixlahuec"><code>@alixlahuec</code></a> made their first contribution in <a href="https://redirect.github.com/faker-js/faker/pull/3476">faker-js/faker#3476</a></li> <li><a href="https://github.com/yyz945947732"><code>@yyz945947732</code></a> made their first contribution in <a href="https://redirect.github.com/faker-js/faker/pull/3479">faker-js/faker#3479</a></li> <li><a href="https://github.com/seoahan"><code>@seoahan</code></a> made their first contribution in <a href="https://redirect.github.com/faker-js/faker/pull/3487">faker-js/faker#3487</a></li> <li><a href="https://github.com/noritaka1166"><code>@noritaka1166</code></a> made their first contribution in <a href="https://redirect.github.com/faker-js/faker/pull/3490">faker-js/faker#3490</a></li> <li><a href="https://github.com/glmchalita"><code>@glmchalita</code></a> made their first contribution in <a href="https://redirect.github.com/faker-js/faker/pull/3493">faker-js/faker#3493</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/faker-js/faker/compare/v9.7.0...v9.8.0">https://github.com/faker-js/faker/compare/v9.7.0...v9.8.0</a></p> <h2>v9.7.0</h2> <h2>What's Changed</h2> <ul> <li>feat(locale): Add bn_BD locale by <a href="https://github.com/AbrarShahriar"><code>@AbrarShahriar</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3439">faker-js/faker#3439</a></li> <li>fix(airline): Air France and KLM Royal Dutch Airlines by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3440">faker-js/faker#3440</a></li> <li>infra(comment-issue): fix display of thumbs up emoji by <a href="https://github.com/xDivisionByZerox"><code>@xDivisionByZerox</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3444">faker-js/faker#3444</a></li> <li>feat(locale): add localize sex support for zh_CN & zh_TW by <a href="https://github.com/sd44"><code>@sd44</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3450">faker-js/faker#3450</a></li> <li>fix(iban): more strict pattern for IE and PS by <a href="https://github.com/xDivisionByZerox"><code>@xDivisionByZerox</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3464">faker-js/faker#3464</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/3456">faker-js/faker#3456</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/3457">faker-js/faker#3457</a></li> <li>chore(deps): update dependency prettier to v3.5.3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3455">faker-js/faker#3455</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.7.0...v9.8.0">9.8.0</a> (2025-05-13)</h2> <h3>New Locales</h3> <ul> <li><strong>locale:</strong> Add additional Japanese last names to the locale data (<a href="https://redirect.github.com/faker-js/faker/issues/3484">#3484</a>) (<a href=" |
||
|
|
2dc038b6c0 |
Add Llama API Support (#9899)
The changes in this PR are to add Llama API support. ### Changes 🏗️ We add both backend and frontend support. **Backend**: - Add llama_api provider - Include models supported by Llama API along with configs - llm_call - credential store and llama_api_key field in Settings **Frontend**: - Llama API as a type - Credentials input and provider for Llama API ### Checklist 📋 #### For code changes: - [X] I have clearly listed my changes in the PR description - [X] I have tested my changes according to the test plan: **Test Plan**: <details> <summary>AI Text Generator</summary> - [X] Start-up backend and frontend: - Start backend with Docker services: `docker compose up -d --build` - Start frontend: `npm install && npm run dev` - By visiting http://localhost:3000/, test inference and structured outputs - [X] Create from scratch - [X] Request for Llama API Credentials <img width="2015" alt="image" src="https://github.com/user-attachments/assets/3dede402-3718-4441-9327-ecab25c63ebf" /> - [X] Execute an agent with at least 3 blocks <img width="2026" alt="image" src="https://github.com/user-attachments/assets/59d6d56b-2ccc-4af5-b511-4af312c3f7f8" /> - [X] Confirm it executes correctly </details> <details> <summary>Structured Response Generator</summary> - [X] Start-up backend and frontend: - Start backend with Docker services: `docker compose up -d --build` - Start frontend: `npm install && npm run dev` - By visiting http://localhost:3000/, test inference and structured outputs - [X] Create from scratch - [X] Execute an agent <img width="2023" alt="image" src="https://github.com/user-attachments/assets/d1107638-bf1b-45b1-a296-1e0fac29525b" /> - [X] Confirm it executes correctly </details> --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
cd6deb87c3 |
fix(frontend): Revert congrats onboarding screen action (#9943)
Revert congrats onboarding screen action of #9916 |
||
|
|
e8fa996c2f |
refactor(frontend): Move from remote loaded GTM to local (#9933)
<!-- Clearly explain the need for these changes: --> As part of a small security review, we found that google won't let you load with integrity. That seems insane but the general workaround is to load a static copy of your own ### Changes 🏗️ Moves all the google analytics scripts in house instead of loading via cdn <!-- 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] tested it in a new isolated environment to confirm events still work as expected everywhere they are used --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> |
||
|
|
e22d2c848a |
feat(frontend): Onboarding Updates 3 (#9916)
A collection of UX update and bug fixes for onboarding and wallet. ### Changes 🏗️ - Show spinner loading indicator when onboarding button is clicked - Use `getLibraryAgentByStoreListingVersionID` instead of `addMarketplaceAgentToLibrary` on congrats screen - Fix `Not enough segments` issue: don't fetch onboarding when user is logged out - Minor updates - Fill some missing deps in deps arrays - `Spinner` component, styles updates - Use `useMemo`/`useCallback` - Show error toast when onboarding agent fails to run: <img width="405" alt="Screenshot 2025-05-06 at 5 09 01 PM" src="https://github.com/user-attachments/assets/dd1272da-326a-448d-995d-98ac773b3ee4" /> ### 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] Onboarding can be completed - [x] Failing agent shows toast - [x] Wallet can be opened and works properly (tasks, confetti) - [x] Dependency arrays don't cause infinite loops |
||
|
|
9471fd6b58 |
fix(frontend): Re-subscribe on WebSocket re-connect (#9935)
- Resolves #9929 ### Changes 🏗️ - Implement `BackendAPI.onWebSocketConnect(..)` - Improve reliability and reactivity of `/library/agents/[id]`: - Refresh page data and (re)subscribe and on WebSocket (re)connect - Break up multi-action hooks into smaller parts to reduce unnecessary re-renders and requests - Reduce duplicate requests - Use `onWebSocketConnect` in `useAgentGraph` as well - Tidy up `autogpt-server-api/client.ts` a bit ### 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 `/library/agents/[id]` - Run the agent - [x] -> UI should update normally with execution updates - Suspend your computer, or restart the backend (or WS server) to break the connection - DO NOT REFRESH THE TAB ITSELF - [x] -> On reconnect, page data should be refreshed (check in network tab of dev tools) - Run the agent again - [x] -> UI should update normally with execution updates |
||
|
|
c4bbfd5050 |
feat(frontend): Update login and signup feedback (#9917)
Currently both login and signup page show the same feedback on error on cloud (join the waitlist). ### Changes 🏗️ Update login&signup feedback for cloud. - Use cards for login and signup feedback instead of html list - Make login page show prompt to redirect user to signup <img width="474" alt="Screenshot 2025-05-07 at 4 01 07 PM" src="https://github.com/user-attachments/assets/45f189ea-5fea-45bb-89f9-7323418d69ea" /> <img width="476" alt="Screenshot 2025-05-07 at 4 03 29 PM" src="https://github.com/user-attachments/assets/96f4cd7f-f3e6-44b2-b647-96ee98063572" /> ### 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] Signup&login works with correct credentials - [x] Signup&login shows correct error message on wrong credentials - [x] Links work correctly |
||
|
|
8de88395f1 |
fix(backend): Continue stats accounting on aborted or broken executions (#9921)
This is a follow-up to https://github.com/Significant-Gravitas/AutoGPT/pull/9903 The continued graph execution restarted all the execution stats from zero, making the execution stats misleading. ### Changes 🏗️ Continue the execution stats when continuing the graph execution. ### 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 tests, manual graph run with the graph execution aborted midway. |
||
|
|
089e7aae88 |
fix(frontend): Catch exception on agent listing page (#9923)
Listing page throws exception on deployment because of supabase auth issue. ### Changes 🏗️ Catch the exception when getting library agent. This reverts the behavior of listing page and it'll always show "Add to Library" when user is logged in. ### 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: - [ ] ... |
||
|
|
74e6a6a43a |
fix(frontend/library): Quick Patch for Rendering Agent Outputs (#9922)
<!-- Clearly explain the need for these changes: --> The goal of this change is a quick and temporary tweak to improve the displaying of output text in the Agent Runs screen. This change is made anticipating that these outputs will be properly improved in the near future, and is thus just a temporary change in order to display text in a human readable format. ### Changes 🏗️ There is one change in this PR: - The class of the Agent Output textbox is changed to properly display text without impacting the design. Below is a before and after of this change: **Before**  **After**  ### 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: <!-- Put your test plan here: --> - [ ] ... --------- Co-authored-by: Bentlybro <Github@bentlybro.com> |
||
|
|
1ad6c76f9c |
feat(backend): Require discriminator value on graph save (#9858)
If a node has a multi-credentials input (e.g. AI Text Generator block) but the discriminator value (e.g. model choice) is missing, the input can't be discriminated into a single-provider input. Discrimination into a single-provider input is necessary to make a graph-level credentials input for use in the Library. ### Changes 🏗️ - feat(backend): Require discriminator fields to always have a value - dx(frontend): Improve typing of discriminator stuff - dx(frontend): Fix typing in `NodeOneOfDiscriminatorField` component ### 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] Saving & running graphs with and without credentials works normally - Note: We don't have any blocks with a discriminator that doesn't have a default value, so currently I don't think it's possible to produce a case where this mechanism would be triggered. |
||
|
|
104928c614 |
feat(platform): Add captcha to login, signup and password reset pages (#9847)
This PR adds Cloudflare's Turnstile CAPTCHA to the login, signup, and password reset pages. it is setup to only show and work when behave as is set to CLOUD so it will not show for local hosted users. ### Changes 🏗️ #### Backend Changes - **[backend/server/v2/turnstile/routes.py](https://github.com/Significant-Gravitas/AutoGPT/compare/dev...bently/secrt-1169-implement-captcha-on-sign-up?expand=1#diff-2c5c2cb13346370fc48bdde8691a0d3bbfc030f7718288101b67b641c7948c10)**: Created API endpoint at `/api/turnstile/verify` to proxy verification requests to Cloudflare - **[backend/server/v2/turnstile/service.py](https://github.com/Significant-Gravitas/AutoGPT/compare/dev...bently/secrt-1169-implement-captcha-on-sign-up?expand=1#diff-296991fdc3ea821ae5a568ca96bb89789f2fc7dda7b62f59ef6bcadfaea16e56)**: Implements service to verify CAPTCHA tokens with Cloudflare using server-side secret key #### Frontend Changes - **[frontend/src/lib/turnstile.ts](https://github.com/Significant-Gravitas/AutoGPT/compare/dev...bently/secrt-1169-implement-captcha-on-sign-up?expand=1#diff-a698e2718e0f6b0afe1d0c7fda571a7bfcbec6aeacc963c2b3620cc683dc4448)**: Client-side function to call the backend verification endpoint - **[frontend/src/components/auth/Turnstile.tsx](https://github.com/Significant-Gravitas/AutoGPT/compare/dev...bently/secrt-1169-implement-captcha-on-sign-up?expand=1#diff-71a73d58d0ba5e46e5702f2f2599284e72a8fcf6c5d0b5c72e7358570d631aa7)**: Reusable Turnstile component that renders and manages the CAPTCHA widget - **[frontend/src/hooks/useTurnstile.ts](https://github.com/Significant-Gravitas/AutoGPT/compare/dev...bently/secrt-1169-implement-captcha-on-sign-up?expand=1#diff-4a6a9363243ab2a88dbfb498917f464896ada059617bd8b0fb51df532c73827d)**: Custom hook that manages Turnstile state and conditionally activates based on environment #### Auth Flow Integration - Modified server actions in `login`, `signup`, and `reset_password` to accept and verify Turnstile tokens - Updated auth page components to integrate the CAPTCHA widget with form submissions ### Configuration Changes - Added two new environment variables: - `NEXT_PUBLIC_CLOUDFLARE_TURNSTILE_SITE_KEY`: Public site key for frontend - `CLOUDFLARE_TURNSTILE_SECRET_KEY`: Secret key for backend verification ### Test Plan 📋 - Ask Bently for the keys to test locally! - [x] Test login, signup and password reset with Turnstile enabled (BEHAVE_AS=CLOUD) - [x] Verify CAPTCHA appears and must be completed before form submission - [x] Verify error message appears if CAPTCHA is not completed - [x] Verify form submission works after completing CAPTCHA - [x] Test login, signup and password reset with Turnstile disabled (BEHAVE_AS=LOCAL) - [x] Verify CAPTCHA does not appear - [x] Verify form submission works without CAPTCHA - [x] Test with invalid site key to ensure proper error handling --------- Co-authored-by: Krzysztof Czerwinski <34861343+kcze@users.noreply.github.com> |
||
|
|
6f1578239a |
feat(platform): Update Marketplace Agent listing buttons (#9843)
Currently agent listing on Marketplace have bad UX. ### Changes 🏗️ - Add function and endpoint to check if user has `LibraryAgent` by given `storeListingVersionId` - Redesign listing buttons - `Add to library` shown when user is logged in and doesn't have an agent in library - `See runs` shown when user logged in as has the agent in the library - `Download agent` always shown - Disabled buttons during processing (adding/downloading) - Stop raising when owner is trying to add own agent. Now it'll simply redirect to Library. - Remove button appearing/flickering after a delay on listing page - logged in status is now checked in server component. - Show error toast on adding/redirecting to library and downloading error - Update breadcrumbs and page title to say `Marketplace` instead of `Store` - `font-geist` -> `font-sans` (`font-geist` var doesn't exist) ### 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] Button on a listing is `Add to library` (no library agent) - [x] Agent can be added and user is redirected - [x] Button on the listing is `See runs` and clicking it redirects to the library agent - [x] Remove agent from library - [x] Buttons shows `Add to library` again - [x] Agent can be re-added - [x] Agent can be downloaded - [x] `Add to library` Button is hidden when user is logged out --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
59ec61ef98 |
feat(platform): Onboarding design&UX update (#9905)
A collection of updates regarding onboarding and wallet. ### Changes 🏗️ - `try-except` instead of `if` when rewarding (skip unnecessary db call) - Make external services question onboarding step optional - Add `SmartImage` component to lazy load images with pulse animation and use it throughout onboarding - Use store agent name instead of graph graph name (run page) - Fix some images breaking layout on the agent card (run page) - Center agent card vertically and horizontally (center on the left half of page) (run page) - Delay and tweak confetti when opening wallet and when task finished (wallet) - Flash wallet when credits change value - Make tutorial video grayscale on completed steps (wallet) - Fix confetti triggering on page refresh (wallet) - Redirect to agent run page instead of Library after onboarding - Expand task groups by default (wallet) - this means tutorial videos are visible by default ### 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] Services step is optional and skipping it doesn't break onboarding - [x] `SmartImage` works properly - [x] Agent card is aligned properly, including on page scroll - [x] Wallet flash when credits value change - [x] User is redirected to the agent runs page after onboarding |
||
|
|
602f887623 |
feat(frontend): fix admin add dollars (#9898)
Fixes the admin add dollars, in the ``add-money-button.tsx`` file, in
the handleApproveSubmit action it was trying to use formatCredits for
the value which is wrong, this fix changes it
```diff
<form action={handleApproveSubmit}>
<input type="hidden" name="id" value={userId} />
<input
type="hidden"
name="amount"
- value={formatCredits(Number(dollarAmount))}
+ value={Math.round(parseFloat(dollarAmount) * 100)}
/>
```
i was able to add $1, $0.10 and $0.01

|
||
|
|
04c4340ee3 |
feat(frontend,backend): user spending admin dashboard (#9751)
<!-- Clearly explain the need for these changes: --> We need a way to refund people who spend money on agents wihout making manual db actions ### Changes 🏗️ - Adds a bunch for refunding users - Adds reasons and admin id for actions - Add admin to db manager - Add UI for this for the admin panel - Clean up pagination controls <!-- 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 by importing dev db as baseline - [x] Add transactions on top for "refund", and make sure all existing transactions work --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
a1f17ca797 |
fix: use subheading for agent info not description (#9891)
<!-- Clearly explain the need for these changes: --> we oopsed and used the wrong attribute for short desc ### Changes 🏗️ Uses sub heading instead now <!-- 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] check the expected text shows |
||
|
|
8fdfd75cc4 |
feat: allow admins to download agents for review (#9881)
<!-- Clearly explain the need for these changes: --> for admins to approve agents for the marketplace, we need to be able to run them. this is a quick workaround for downloading them so you can put them in your marketplace to check ### Changes 🏗️ - clones various endpoints related to downloading into an admin side with logging, and admin checks - adds download button and removes open in builder action <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] Test downloading agents from local marketplace |
||
|
|
5b5b2043e8 |
fix(frontend): Add support to optional multiselect (#9885)
- fix #9882 we’re currently using optional multi select, and it’s working great. We’re able to correctly determine the data type for it. However, there’s a small issue. We’re not using the correct subSchema that is inside anyOf on the multi select input. This is why we’re getting the problem on the Twitter block. It’s the only one that’s using this type of input, so it’s the only one that’s affected.  --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|
|
4ddb206f86 |
feat(frontend): Add billing page toggle (#9877)
### Changes 🏗️ Provide a system toggle for disabling the billing page: NEXT_PUBLIC_SHOW_BILLING_PAGE ### 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] Toggle `NEXT_PUBLIC_SHOW_BILLING_PAGE` value. |
||
|
|
91f34966c8 |
fix(block): Fix Smart Decision Block missing input beads & incompability with input in special characters (#9875)
Smart Decision Block was not able to work with sub agent with custom name input & the bead were not properly propagated in the execution UI. The scope of this PR is fixing it. ### Changes 🏗️ * Introduce an easy to parse format of tool edge: `{tool}_^_{func}_~_{arg}`. Graph using SmartDecisionBlock needs to be re-saved before execution to work. * Reduce cluttering on a smart decision block logic. * Fix beads not being shown for a smart decision block tool calling. ### 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 an SDM with some special character input as a tool <img width="672" alt="image" src="https://github.com/user-attachments/assets/873556b3-c16a-4dd1-ad84-bc86c636c406" /> |
||
|
|
11a69170b5 |
feat(frontend): Update "Edit a copy" modal and buttons (#9876)
Update "Edit a copy" modal text when copying marketplace agent in Library. Update agent action buttons to reflect the design accurately. ### Changes 🏗️ - Update modal text - Disable copying owned agents (only marketplace allowed) - `Open in Builder` -> `Customize agent` - Disabled `Customize agent` instead of hiding - Change `Delete agent` to non-destructive design ### 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: - [ ] ... |
||
|
|
160a622ba4 |
feat(platform): Forking agent in Library (#9870)
This PR introduces copying agents feature in the Library. Users can copy and download their library agents but they can edit only the ones they own (included copied ones). ### Changes 🏗️ - DB migration: add relation in `AgentGraph`: `forked_from_id` and `forked_from_version` - Add `fork_graph` function that makes a hardcopy of agent graph and its nodes (all with new ids) - Add `fork_library_agent` that copies library agent and its graph for a user - Add endpoint `/library/agents/{libraryAgentId}/fork` - Add UI to `library/agents/[id]/page.tsx`: `Edit a copy` button with dialog confirmation ### 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] Agent can be copied, edited and runs |
||
|
|
5047e99fd1 |
fix(frontend): Hide Google Maps Key ID filter (#9861)
### Changes 🏗️  Hide Google Maps system id key on the frontend UI. ### 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 |
||
|
|
c80d357149 |
feat(frontend): Use route groups (#9855)
Navbar sometimes disappears outside `/onboarding`. ### Changes 🏗️ This PR solves the problem of disappearing Navbar outside `/onboarding` by introducing `app/(platform)` route group. - Move all routes requiring Navbar to `app/(platform)` - Move `<Navbar>` to `app/(platform)/layout.tsx` - Move `/onboarding` to `app/(no-navbar/` - Remove pathname injection to header from middleware and stop relying on it to hide the navbar ### 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] Common routes work properly |
||
|
|
69b8d96516 |
fix(library/run): Replace credits to cents (#9845)
Replacing credits with cents (100 credits = 1$). I haven’t touched anything internally, just changed the UI. Everything is working great. On the frontend, there’s no other place where we use credits instead of dollars.  <img width="1503" alt="Screenshot 2025-04-19 at 11 33 24 AM" src="https://github.com/user-attachments/assets/87d7e218-f8f5-4e2e-92ef-70c81735db6b" /> |
||
|
|
2a92970a5f |
fix(marketplace/library): Removing white borders from Avatar (#9818)
There are some white borders around the avatar in the store card, but they are not present in the design, so I'm removing them.  |
||
|
|
417d7732af |
feat(platform/library): Add credentials UX on /library/agents/[id] (#9789)
- Resolves #9771 - ... in a non-persistent way, so it won't work for webhook-triggered agents For webhooks: #9541 ### Changes 🏗️ Frontend: - Add credentials inputs in Library "New run" screen (based on `graph.credentials_input_schema`) - Refactor `CredentialsInput` and `useCredentials` to not rely on XYFlow context - Unsplit lists of saved credentials in `CredentialsProvider` state - Move logic that was being executed at component render to `useEffect` hooks in `CredentialsInput` Backend: - Implement logic to aggregate credentials input requirements to one per provider per graph - Add `BaseGraph.credentials_input_schema` (JSON schema) computed field Underlying added logic: - `BaseGraph._credentials_input_schema` - makes a `BlockSchema` from a graph's aggregated credentials inputs - `BaseGraph.aggregate_credentials_inputs()` - aggregates a graph's nodes' credentials inputs using `CredentialsFieldInfo.combine(..)` - `BlockSchema.get_credentials_fields_info() -> dict[str, CredentialsFieldInfo]` - `CredentialsFieldInfo` model (created from `_CredentialsFieldSchemaExtra`) - Implement logic to inject explicitly passed credentials into graph execution - Add `credentials_inputs` parameter to `execute_graph` endpoint - Add `graph_credentials_input` parameter to `.executor.utils.add_graph_execution(..)` - Implement `.executor.utils.make_node_credentials_input_map(..)` - Amend `.executor.utils.construct_node_execution_input` - Add `GraphExecutionEntry.node_credentials_input_map` attribute - Amend validation to allow injecting credentials - Amend `GraphModel._validate_graph(..)` - Amend `.executor.utils._validate_node_input_credentials` - Add `node_credentials_map` parameter to `ExecutionManager.add_execution(..)` - Amend execution validation to handle side-loaded credentials - Add `GraphExecutionEntry.node_execution_map` attribute - Add mechanism to inject passed credentials into node execution data - Add credentials injection mechanism to node execution queueing logic in `Executor._on_graph_execution(..)` - Replace boilerplate logic in `v1.execute_graph` endpoint with call to existing `.executor.utils.add_graph_execution(..)` - Replace calls to `.server.routers.v1.execute_graph` with `add_graph_execution` Also: - Address tech debt in `GraphModel._validate_gaph(..)` - Fix type checking in `BaseGraph._generate_schema(..)` #### TODO - [ ] ~~Make "Run again" work with credentials in `AgentRunDetailsView`~~ - [ ] Prohibit saving a graph if it has nodes with missing discriminator value for discriminated credentials inputs ### 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: --> - [ ] ... |
||
|
|
f16a398a8e |
feat(frontend): Update completed task group design in Wallet (#9820)
This redesigns how the task group is displayed when finished for both expanded and folded state. ### Changes 🏗️ - Folded state now displays `Done` badge and hides tasks - Expanded state shows only task names and hides details and video Screenshot: 1. Expanded unfinished group 2. Expanded finished group 3. Folded finished group <img width="463" alt="Screenshot 2025-04-15 at 2 05 31 PM" src="https://github.com/user-attachments/assets/40152073-fc0e-47c2-9fd4-a6b0161280e6" /> ### 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] Finished group displays correctly - [x] Unfinished group displays correctly |
||
|
|
e8bbd945f2 |
feat(frontend): Wallet top-up and auto-refill (#9819)
### Changes 🏗️ - Add top-up and auto-refill tabs in the Wallet - Add shadcn `tabs` component - Disable increase/decrease spinner buttons on number inputs across Platform (moved css from `customnode.css` to `globals.css` ### 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] Incorrect values are detected properly - [x] Top-up works - [x] Setting auto-refill works |
||
|
|
d1730d7b1d |
fix(frontend): Fix onboarding agent execution (#9822)
Onboarding executes original agent graph directly without waiting for marketplace agent to be added to user library. ### Changes 🏗️ - Execute library agent after it's already added to library ### 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] Onboarding agent executes properly |
||
|
|
05c670eef9 |
fix(frontend/library): Prevent execution updates mixing between library agents (#9835)
If the websocket doesn't disconnect when the user switches to viewing a different agent, they aren't unsubscribed. If execution updates *from a different agent* are adopted into the page state, that can cause crashes. ### Changes 🏗️ - Filter incoming execution updates by `graph_id` ### 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: - Go to an agent and initiate a run that will take a while (long enough to navigate to a different agent) - Navigate: Library -> [another agent] - [ ] Runs from the first agent don't show up in the runs list of the other agent |
||
|
|
c0ee71fb27 |
fix(frontend/builder): Fix key-value pair input for any non-string types (#9826)
- Resolves #9823 The key-value pairs input, like those used in CreateDictionaryBlock, are assumed to be either a numeric or a string type. When it has `any` type, it was randomly assumed to be a numeric type. ### Changes 🏗️ Only convert to number when it's explicitly defined to do so on key-value pair input. ### 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] Tried two different key-value pair input: AiTextGenerator & CreateDictionary |
||
|
|
dc9348ec26 |
fix(frontend): Fix Input value mixup on Library page (#9821)
### Changes 🏗️ Fix this broken behaviors: Input data mix-up caused by running two different executions of the same agent with the same input. ### 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 agent with old user - [x] Running two different executions of the same agent with the same input. |
||
|
|
3ccbc31705 | Revert: fix(frontend): Fix Input value mixup on Library page & broken marketplace on no onboarding data | ||
|
|
7cf0c6fe46 | fix(frontend): Fix Input value mixup on Library page & broken marketplace on no onboarding data | ||
|
|
c69faa2a94 | fix(frontend): Fix Input value mixup on Library page & broken marketplace on no onboarding data | ||
|
|
d791cdea76 |
feat(platform): Onboarding Phase 2 (#9736)
### Changes 🏗️ - Update onboarding to give user rewards for completing steps - Remove `canvas-confetti` lib and add `party-js` instead; the former didn't allow to play confetti from a component - Add onboarding videos in `frontend/public/onboarding/` - Remove Balance (`CreditsCard.tsx`) and add openable `Wallet.tsx` (and accompanying `WalletTaskGroup.tsx`) instead that displays grouped onboarding tasks with descriptions and short instructional videos - Further relevant updates to `useOnboarding`, `types.ts` - Implement onboarding rewards - Add `onboarding_reward` function in `credit.py` that is used to reward user for finished onboarding tasks safely - transaction key is deterministic, so the same user won't be rewarded twice for the same step. - Add `reward_user` in `onboarding.py` - Update `UserOnboarding` model and add a migration <img width="464" alt="Screenshot 2025-04-05 at 6 06 29 PM" src="https://github.com/user-attachments/assets/fca8d09e-0139-466b-b679-d24117ad01f0" /> ### 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] Onboarding works - [x] Tasks can be completed - [x] Rewards are added correctly for all completed tasks |
||
|
|
4621a95bf3 |
fix(marketplace): Fix small UI bugs (#9800)
Resolving the bugs listed below - #9796 - #9797 - #9798 - #8998 - #9799 ### Changes I have made - Removed border and set border-radius to `24px` in FeaturedCard - Removed `white` background from breadcrumbs - Changed distance between featured section arrow from `28px` to `12px` - Added `1.5rem` spacing and changed color to `gray-200` on the creator’s page separator - Removed focus ring from the Search Library input - And some small UI changes on marketplace ### Screenshots <img width="658" alt="Screenshot 2025-04-10 at 3 26 56 PM" src="https://github.com/user-attachments/assets/22bef6f0-19b9-42a6-8227-fedca33141ba" /> <img width="505" alt="Screenshot 2025-04-10 at 3 27 07 PM" src="https://github.com/user-attachments/assets/2a5409a1-94c6-4d15-a35d-e4ed9b075055" /> <img width="1373" alt="Screenshot 2025-04-10 at 3 28 39 PM" src="https://github.com/user-attachments/assets/046ea726-2a98-4000-abc8-9139fffe80dc" /> <img width="368" alt="Screenshot 2025-04-10 at 3 29 07 PM" src="https://github.com/user-attachments/assets/4e0510ad-f535-4760-a703-651766ff522b" /> |
||
|
|
8d8a6e450f |
fix(marketplace): Render newline in marketplace description text (#9808)
- fix #9177 Add `whitespace-pre-line` tailwind property to allow newline rendering in marketplace description text ### Before  ### After  |
||
|
|
2ca18d77a4 |
feat(frontend, backend): track sentry environment on frontend + sentry init in app services (#9773)
<!-- Clearly explain the need for these changes: --> We want to be able to filter errors according to where they occur in sentry so we need to track and include that data. We also are not logging everything from app services correctly so fix that up ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Adds env tracking for frontend - adds sentry init in app service spawn ### 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] Tested by running and making sure all events + logs are inserted into sentry correctly |
||
|
|
3e6d9bf963 |
fix(marketplace): Fixing margins between headers, divider and content (#9757)
- fix #9003 - fix - #8969 - fix #8970 Adding correct margins in between headers, divider and content. ### Changes made - Remove any vertical padding or margin from the section. - Add top and bottom margins to the separator, so the spacing between sections is handled only by the separator. - Also, add a size prop in AvatarFallback because its size is currently broken. It’s not able to extract the size properly from the className. |
||
|
|
353396110c |
refactor(backend): Clean up Library & Store DB schema (#9774)
Distilled from #9541 to reduce the scope of that PR. - Part of #9307 - ❗ Blocks #9786 - ❗ Blocks #9541 ### Changes 🏗️ - Fix `LibraryAgent` schema (for #9786) - Fix relationships between `LibraryAgent`, `AgentGraph`, and `AgentPreset` - Impose uniqueness constraint on `LibraryAgent` - Rename things that are called `agent` that actually refer to a `graph`/`agentGraph` - Fix singular/plural forms in DB schema - Simplify reference names of closely related objects (e.g. `AgentGraph.AgentGraphExecutions` -> `AgentGraph.Executions`) - Eliminate use of `# type: ignore` in DB statements - Add `typed` and `typed_cast` utilities to `backend.util.type` ### 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] CI static type checking (with all risky `# type: ignore` removed) - [x] Check that column references in views are updated |
||
|
|
70890dee43 |
fix(marketplace): Fix store card style (#9769)
- fix #9222 - fix #9221 - fix #8966 ### Changes made - Standardized the height of store cards. - Corrected spacing and responsiveness behavior. - Removed horizontal margin and max-width from the featured section. - Fixed the aspect ratio of the agent image in the store card. - Now, a normal desktop screen displays 3 columns of agents instead of 4. <img width="1512" alt="Screenshot 2025-04-07 at 7 09 40 AM" src="https://github.com/user-attachments/assets/50d3b5c9-4e7c-456e-b5f1-7c0093509bd3" /> |
||
|
|
d316ed23d4 |
[Snyk] Security upgrade next from 14.2.25 to 14.2.26 (#9767)
 ### 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 | :-------------------------:|:-------------------------|:-------------------------  | Information Exposure <br/>[SNYK-JS-NEXT-9634163](https://snyk.io/vuln/SNYK-JS-NEXT-9634163) | **601** --- > [!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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5MzYyNGJiZC1jMTE3LTQ3NDYtOGFlOC1hYjIyMGE4OGI4M2UiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjkzNjI0YmJkLWMxMTctNDc0Ni04YWU4LWFiMjIwYTg4YjgzZSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/significant-gravitas/project/3d924968-0cf3-4767-9609-501fa4962856?utm_source=github&utm_medium=referral&page=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=github&utm_medium=referral&page=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:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"next","from":"14.2.25","to":"14.2.26"}],"env":"prod","issuesToFix":["SNYK-JS-NEXT-9634163"],"prId":"93624bbd-c117-4746-8ae8-ab220a88b83e","prPublicId":"93624bbd-c117-4746-8ae8-ab220a88b83e","packageManager":"yarn","priorityScoreList":[601],"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-9634163"],"vulns":["SNYK-JS-NEXT-9634163"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
0aeaaa7801 |
fix(frontend): Fill defaults from schema to hardcodedValues in CustomNode.tsx (#9772)
Fix https://github.com/Significant-Gravitas/AutoGPT/pull/9632 ### Changes 🏗️ - Set default values from input schema to `hardcodedValues` in `CustomNode.tsx` ### 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] Default values are correctly applied to newly created node |
||
|
|
2e5a770f35 |
fix(marketplace): Fix typography of heading in marketplace (#9737)
- fix #8956 ### Changes: - Updated line height from 28px to 36px for improved readability. - Ensured that all section headings (“Featured agents”, “Top agents”, “Featured creators”, and “Become a creator”) now have a uniform style. - Verified that font-poppins is correctly set in the Tailwind config file and layout.tsx. - Color changed from #282828 to #262626 ### Scope: - This PR only includes typography-related adjustments.  |
||
|
|
8b2265c996 |
feat(frontend): Add advanced block search with relevance ranking (#9711)
- fix #9425 - Enhancing the functionality of searching blocks on the build page Currently, it only performs exact matching on the block name and description. I added a scoring mechanism for searching. - The scoring algorithm works as follows: - Returns 1 if no query (all blocks match equally) - Normalized query for case-insensitive matching - Returns 3 for exact substring matches in block name (highest priority) - Returns 2 when all query words appear in the block name (regardless of order) - Returns 1.X for blocks with names similar to query using Jaro-Winkler distance (X is similarity score) - Returns 0.5 when all query words appear in the block description (lowest priority) - Returns 0 for no match Higher scores will appear first in search results. > I have used an external library for Jaro-Winkler distance - [link](https://www.npmjs.com/package/jaro-winkler) Before  After  |
||
|
|
73d43312d1 |
feat(frontend): Use TypeBasedInput for onboarding agent input (#9762)
### Changes 🏗️ - Use the same code as in Library to display inputs for onboarding agent - Fixes bug that crashes frontend when showing onboarding inputs - Remove no longer needed `OnboardingAgentInput` component ### 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] All input types display correctly - [x] Onboarding agent runs Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
2e871b0761 |
fix(frontend): bad handling on error prompts (#9754)
<!-- Clearly explain the need for these changes: --> I oopsed and had an extra unneeded parameter (as @majdyz pointed out) and wasn't respected everywhere it was used. ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Remove parameter - update all the places AuthFeedback is called ### 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: --> - [ ] Test all pages with authfeedback on it Co-authored-by: Bently <tomnoon9@gmail.com> |