mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
476bfc6c84aa7f2cf1767786a0407ae0dec01708
368 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
722c6bcc18 |
fix(storybook): make font load in Stories (#10081)
### Changes 🏗️ #### Before <img width="800" alt="Screenshot 2025-06-03 at 16 54 36" src="https://github.com/user-attachments/assets/2a69b69d-2b01-436e-aab3-8206485a001c" /> #### After <img width="800" alt="Screenshot 2025-06-03 at 16 58 38" src="https://github.com/user-attachments/assets/4daf41d4-42ce-4119-8e9f-b2b10b524cba" /> ### 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: - [ ] checkout this branch ( _we should have PR previews for the app and Storybook_ ) - [ ] `cd autogpt_platform/frontend` - [ ] `yarn storybook` - [ ] the stories road with the right font ( Poppins ) not a serif one 😄 #### 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**)~~ |
||
|
|
73a3d980ca |
chore(frontend): move from yarn1 to pnpm (#10072)
## 🧢 Overview This PR migrates the AutoGPT Platform frontend from [yarn 1](https://classic.yarnpkg.com/lang/en/) to [pnpm](https://pnpm.io/) using **corepack** for automatic package manager management. **yarn1** is not longer maintained and a bit old, moving to **pnpm** we get: - ⚡ Significantly faster install times, - 💾 Better disk space efficiency, - 🛠️ Better community support and maintenance, - 💆🏽♂️ Config swap very easy ## 🏗️ Changes ### Package Management Migration - updated [corepack](https://github.com/nodejs/corepack) to use [pnpm](https://pnpm.io/) - Deleted `yarn.lock` and generated new `pnpm-lock.yaml` - Updated `.gitignore` ### Documentation Updates - `frontend/README.md`: - added comprehensive tech stack overview with links - updated all commands to use pnpm - added corepack setup instructions - and included migration disclaimer for yarn users - `backend/README.md`: - Updated installation instructions to use pnpm with corepack - `AGENTS.md`: - Updated testing commands from yarn to pnpm ### CI/CD & Infrastructure - **GitHub Workflows** : - updated all jobs to use pnpm with corepack enable - cleaned FE Playwright test workflow to avoid Sentry noise - **Dockerfile**: - updated to use pnpm with corepack, changed lock file reference, and updated cache mount path ### 📋 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: **Test Plan:** > assuming you are on the `frontend` folder - [x] Clean installation works: `rm -rf node_modules && corepack enable && pnpm install` - [x] Development server starts correctly: `pnpm dev` - [x] Build process works: `pnpm build` - [x] Linting and formatting work: `pnpm lint` and `pnpm format` - [x] Type checking works: `pnpm type-check` - [x] Tests run successfully: `pnpm test` - [x] Storybook starts correctly: `pnpm storybook` - [x] Docker build succeeds with new pnpm configuration - [x] GitHub Actions workflow passes with pnpm commands #### For configuration changes: - [x] `.env.example` is updated or already compatible with my changes - [x] `docker-compose.yml` is updated or already compatible with my changes - [x] I have included a list of my configuration changes in the PR description (under **Changes**) |
||
|
|
0f558876e2 |
feat(blocks;frontend): Add file multipart upload support for SendWebRequestBlock & Improve key-value input UI rendering (#10058)
Now, SendWebRequestBlock can upload files. To make this work, we also need to improve the UI rendering on the key-value pair input so that it can also render media/file upload. ### Changes 🏗️ * Add file multipart upload support for SendWebRequestBlock * Improve key-value input UI rendering to allow rendering any types as a normal input block (it was only string & number). <img width="381" alt="image" src="https://github.com/user-attachments/assets/b41d778d-8f9d-4aec-95b6-0b32bef50e89" /> ### 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 running http request block, othe key-value pair input block |
||
|
|
85e108a37a |
feat(frontend): require passwrods to be min length 12 (#10061)
<!-- Clearly explain the need for these changes: --> We're doing CASA and this is a requirement ### Changes 🏗️ - Requires new passwords to be min length 12 <!-- 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 |
||
|
|
692f32a350 |
fix(platform): Turnstile CAPTCHA reset after failed login attempts (#10056)
Users were unable to retry login attempts after a failed authentication because the Turnstile CAPTCHA widget was not properly resetting. This forced users to refresh the entire page to attempt login again, creating a terrible user experience. Root Cause: The useTurnstile hook had several critical issues: - The reset() function only cleared state when shouldRender was true and widget existed - Widget ID tracking was unreliable due to intercepting window.turnstile.render - Token wasn't being cleared on verification failures - State wasn't being reset consistently across error scenarios Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Fixed useTurnstile hook reset logic: Modified the reset() function to always clear all state (token, verified, verifying, error) regardless of shouldRender condition - Improved widget ID synchronization: Added setWidgetId prop to the Turnstile component interface and hook for reliable widget tracking between component and hook - Enhanced error handling: Updated handleVerify, handleExpire, and handleError to properly reset tokens on failures - Updated all auth components: Added setWidgetId prop to all Turnstile component usages in login, signup, and password reset pages - Removed unreliable widget tracking: Eliminated the window.turnstile.render interception approach in favor of explicit prop-based communication 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 failed login attempt - CAPTCHA resets properly without page refresh - [x] Test failed signup attempt - CAPTCHA resets properly without page refresh - [x] Test successful login flow - CAPTCHA works normally - [x] Test CAPTCHA expiration - State resets correctly - [x] Test CAPTCHA error scenarios - Error handling works properly |
||
|
|
9f2b9d08c9 |
feat(platform): Add Run 10 agents wallet task (#9937)
### Changes 🏗️ This PR adds `Run 10 agents` step to wallet tasks that can be done by running any agents 10 times either from Library or Builder (onboarding agent run also counts). - Merge `Finish onboarding` and `See results` steps into one in the wallet - User is redirected directly to onboarding agent runs in Library after congrats screen - Add `RUN_AGENTS` step and `agentRuns` integer to schema and related migration - Running agent from Library and Builder increments `agentRuns` - Open NPS survey popup when 10 agents are run - Fix resuming onboarding on login when unfinished - Remove no longer needed `get-results.mp4` tutorial video ### 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 and proper reward is awarded - [x] `Run 10 agents` can be completed and reward is awarded - [x] When unning different agents and the same agent - [x] Running from library and builder counts - [x] Onboarding is resumed to last finished step on login |
||
|
|
3471781b98 |
fix(frontend/marketplace): require category selection (#10031)
## Summary - require categories to be selected in PublishAgent popout ### Changes 🏗️ Makes it require the categories to be set before allowing an agent to be uploaded added popup notification to say its missing categories ### 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] Try to upload a agent with out setting categories and it will error and show message saying "Missing Required Fields, Please fill in: Categories" - [x] Now try to upload a agent with the categories set and it will work Co-authored-by: Bently <Github@bentlybro.com> |
||
|
|
45578136e3 |
feat(frontend): Page-specific titles (#9995)
- Resolves #8656 Instead of "NextGen AutoGPT", make page titles like "My Test Agent - Library - AutoGPT Platform", "Settings - AutoGPT Platform", "Builder - AutoGPT Platform". ### Changes 🏗️ - Add specific page titles to `/library`, `/library/agents/[id]`, `/build`, `/profile`, `/profile/api_keys` - Fix page titles on `/marketplace`, `/profile/settings` ### 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] Go to `/marketplace` and check the page title - [x] Go to `/library` and check the page title - [x] Go to `/library/agents/[id]` and check the page title - [x] Go to `/build` and check the page title - [x] Go to `/profile` and check the page title - [x] Go to `/profile/settings` and check the page title - [x] Go to `/profile/api_keys` and check the page title - [ ] ~~Go to `/profile/dashboard` and check the page title~~ - [ ] ~~Go to `/profile/integrations` and check the page title~~ - [ ] ~~Go to `/profile/credits` and check the page title~~ |
||
|
|
5518c2e9a2 |
fix(frontend): Fix global <body> styling and base fonts (#9574)
Base styling currently being fragmented between `layout.tsx` and `globals.css` is causing some styling (e.g. application background color) to be incorrectly overridden. ### Changes 🏗️ - Remove background color override from `<body>` - Move `<body>` classes from `layout.tsx` to `globals.css` - Remove background color from elements that shouldn't have their own background color - Remove `font-neue`, `font-inter`; replace by Geist (`font-sans`) where necessary ### 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] Effective background color of application is `#FAFAFA` like before - [x] Default font is Geist - [x] Everything looks okay |
||
|
|
61643e6a47 |
fix(frontend): Top Agents header spacing (#10002)
Changed the section header for "Top Agents" to include a 24px margin. I have not tested this, an eng needs to test / look at this ## Summary - set `margin` default to 24px in `AgentsSection` - apply the bottom margin via an inline style ## Testing - `npm test` *(fails: playwright not found)* - `npm run lint` *(fails: next not found)* ### 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 via deployment to the dev branch and verify by designer --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
21b4d272ce |
feat(frontend/library): Replace "Loading..." by loading spinners (#9993)
- Resolves #9992 ### Changes 🏗️ - Use `<LoadingBox>` instead of "Loading..." on `/library/agents/[id]`  ### 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] Designer approves based on screencapture |
||
|
|
f8965e530f |
ref(frontend/admin): fix location of spending page (#9991)
### Changes 🏗️ Moves the route path for spending drops min <!-- 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 locally --------- Co-authored-by: Bently <Github@bentlybro.com> |
||
|
|
cf9cf4e7dd |
refactor(frontend): Move OttoChatWidget out of root layout (#9951)
- Resolves #9950 ### Changes 🏗️ - Move `<OttoChatWidget>` from root layout into `FlowEditor` - Pass graph info directly into `OttoChatWidget` instead of using `useAgentGraph` - Rearrange z-indices of elements in the builder ### 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 `/build` - [x] -> chat widget should show up in the bottom right corner - Open the widget and ask Otto something - [x] -> should work normally - Add a few blocks and save the graph - [x] -> "Include graph data" should show up - Click "Include graph data" and ask Otto something about your graph - [x] -> Otto should be aware of the graph structure and metadata |
||
|
|
0a79e1c5fd |
feat(frontend/library): Show toast on WebSocket (dis|re)connect (#9949)
- Resolves #9941 - Follow-up to #9935 ### Changes 🏗️ - Show toast when WS connection (dis|re)connects (on `/library/agents/[id]`) - Implement `BackendAPI.onWebSocketDisconnect` Related improvements: - Clean up WebSocket state management & logging in `BackendAPI` - Clean up & split loading spinner implementation: `Spinner` -> `LoadingBox` + `LoadingSpinner` Also, unrelated: - fix(frontend/library): Add 2 second debounce to page refresh logic This eliminates 3 triple API calls (so 9 -> 3 total) on page load: `GET /library/agents/{agent_id}`, `GET /graphs/{graph_id}/executions`, and `GET /graphs/{graph_id}/executions/{exec_id}` ### 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: - Start the frontend and backend applications (locally) - Navigate to `/library/agents/[id]` - Kill the backend - [x] -> a toast should appear "Connection to server was lost" - [x] -> this toast should be shown as long as the server is down - Re-start the backend - [x] -> toast should change to show "Connection re-established" - [x] -> toast should now disappear after 2 seconds --- Co-authored-by: Krzysztof Czerwinski <kpczerwinski@gmail.com> |
||
|
|
ac532ca4b9 |
fix(backend): Graph execution update on terminate (#9952)
Resolves #9947 ### Changes 🏗️ Backend: - Send a graph execution update after terminating a run - Don't wipe the graph execution stats when not passed in to `update_graph_execution_stats` Frontend: - Don't hide the output of stopped runs ### 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 an agent that takes a while (long enough to click stop and see the effect) - Hit stop after it has executed a few nodes - [x] -> run status should change to "Stopped" - [x] -> run stats (steps, duration, cost) should stay the same or increase only one last time - [x] -> output so far should be visible - [x] -> shown information should stay the same after refreshing the page --- Co-authored-by: Krzysztof Czerwinski <34861343+kcze@users.noreply.github.com> |
||
|
|
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> |
||
|
|
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 |
||
|
|
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 |
||
|
|
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> |
||
|
|
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. |
||
|
|
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: - [ ] ... |
||
|
|
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 |
||
|
|
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  |
||
|
|
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" /> |
||
|
|
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.  |