Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 8.54.0 to 9.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/releases"><code>@sentry/nextjs</code>'s releases</a>.</em></p> <blockquote> <h2>9.6.0</h2> <h3>Important Changes</h3> <ul> <li> <p><strong>feat(tanstackstart): Add <code>@sentry/tanstackstart-react</code> package and make <code>@sentry/tanstackstart</code> package a utility package (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15629">#15629</a>)</strong></p> <p>Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the <code>@sentry/tanstackstart</code> SDK package was renamed to <code>@sentry/tanstackstart-react</code> to reflect that the SDK is specifically intended to be used for React TanStack Start applications. Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.</p> </li> </ul> <h3>Other Changes</h3> <ul> <li>feat(astro): Accept all vite-plugin options (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15638">#15638</a>)</li> <li>feat(deps): bump <code>@sentry/webpack-plugin</code> from 3.2.1 to 3.2.2 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15627">#15627</a>)</li> <li>feat(tanstackstart): Refine initial API (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15574">#15574</a>)</li> <li>fix(core): Ensure <code>fill</code> only patches functions (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15632">#15632</a>)</li> <li>fix(nextjs): Consider <code>pageExtensions</code> when looking for instrumentation file (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15701">#15701</a>)</li> <li>fix(remix): Null-check <code>options</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15610">#15610</a>)</li> <li>fix(sveltekit): Correctly parse angle bracket type assertions for auto instrumentation (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15578">#15578</a>)</li> <li>fix(sveltekit): Guard process variable (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15605">#15605</a>)</li> </ul> <p>Work in this release was contributed by <a href="https://github.com/angelikatyborska"><code>@angelikatyborska</code></a> and <a href="https://github.com/nwalters512"><code>@nwalters512</code></a>. Thank you for your contributions!</p> <h2>Bundle size 📦</h2> <table> <thead> <tr> <th>Path</th> <th>Size</th> </tr> </thead> <tbody> <tr> <td><code>@sentry/browser</code></td> <td>23.15 KB</td> </tr> <tr> <td><code>@sentry/browser</code> - with treeshaking flags</td> <td>22.94 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing)</td> <td>36.21 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing, Replay)</td> <td>73.39 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing, Replay) - with treeshaking flags</td> <td>66.8 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing, Replay with Canvas)</td> <td>78.01 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing, Replay, Feedback)</td> <td>90.57 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Feedback)</td> <td>40.3 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. sendFeedback)</td> <td>27.79 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. FeedbackAsync)</td> <td>32.58 KB</td> </tr> <tr> <td><code>@sentry/react</code></td> <td>24.97 KB</td> </tr> <tr> <td><code>@sentry/react</code> (incl. Tracing)</td> <td>38.1 KB</td> </tr> <tr> <td><code>@sentry/vue</code></td> <td>27.4 KB</td> </tr> <tr> <td><code>@sentry/vue</code> (incl. Tracing)</td> <td>37.9 KB</td> </tr> <tr> <td><code>@sentry/svelte</code></td> <td>23.18 KB</td> </tr> <tr> <td>CDN Bundle</td> <td>24.36 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing)</td> <td>36.26 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay)</td> <td>71.27 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay, Feedback)</td> <td>76.45 KB</td> </tr> <tr> <td>CDN Bundle - uncompressed</td> <td>71.19 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing) - uncompressed</td> <td>107.57 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td> <td>218.84 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td> <td>231.4 KB</td> </tr> <tr> <td><code>@sentry/nextjs</code> (client)</td> <td>39.27 KB</td> </tr> <tr> <td><code>@sentry/sveltekit</code> (client)</td> <td>36.63 KB</td> </tr> </tbody> </table> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/blob/9.6.0/CHANGELOG.md"><code>@sentry/nextjs</code>'s changelog</a>.</em></p> <blockquote> <h2>9.6.0</h2> <h3>Important Changes</h3> <ul> <li> <p><strong>feat(tanstackstart): Add <code>@sentry/tanstackstart-react</code> package and make <code>@sentry/tanstackstart</code> package a utility package (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15629">#15629</a>)</strong></p> <p>Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the <code>@sentry/tanstackstart</code> SDK package was renamed to <code>@sentry/tanstackstart-react</code> to reflect that the SDK is specifically intended to be used for React TanStack Start applications. Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.</p> </li> </ul> <h3>Other Changes</h3> <ul> <li>feat(astro): Accept all vite-plugin options (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15638">#15638</a>)</li> <li>feat(deps): bump <code>@sentry/webpack-plugin</code> from 3.2.1 to 3.2.2 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15627">#15627</a>)</li> <li>feat(tanstackstart): Refine initial API (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15574">#15574</a>)</li> <li>fix(core): Ensure <code>fill</code> only patches functions (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15632">#15632</a>)</li> <li>fix(nextjs): Consider <code>pageExtensions</code> when looking for instrumentation file (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15701">#15701</a>)</li> <li>fix(remix): Null-check <code>options</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15610">#15610</a>)</li> <li>fix(sveltekit): Correctly parse angle bracket type assertions for auto instrumentation (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15578">#15578</a>)</li> <li>fix(sveltekit): Guard process variable (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15605">#15605</a>)</li> </ul> <p>Work in this release was contributed by <a href="https://github.com/angelikatyborska"><code>@angelikatyborska</code></a> and <a href="https://github.com/nwalters512"><code>@nwalters512</code></a>. Thank you for your contributions!</p> <h2>9.5.0</h2> <h3>Important Changes</h3> <p>We found some issues with the new feedback screenshot annotation where screenshots are not being generated properly. Due to this issue, we are reverting the feature.</p> <ul> <li>Revert "feat(feedback) Allowing annotation via highlighting & masking (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15484">#15484</a>)" (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/15609">#15609</a>)</li> </ul> <h3>Other Changes</h3> <ul> <li>Add cloudflare adapter detection and path generation (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15603">#15603</a>)</li> <li>deps(nextjs): Bump rollup to <code>4.34.9</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15589">#15589</a>)</li> <li>feat(bun): Automatically add performance integrations (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15586">#15586</a>)</li> <li>feat(replay): Bump rrweb to 2.34.0 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15580">#15580</a>)</li> <li>fix(browser): Call original function on early return from patched history API (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15576">#15576</a>)</li> <li>fix(nestjs): Copy metadata in custom decorators (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15598">#15598</a>)</li> <li>fix(react-router): Fix config type import (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15583">#15583</a>)</li> <li>fix(remix): Use correct types export for <code>@sentry/remix/cloudflare</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15599">#15599</a>)</li> <li>fix(vue): Attach Pinia state only once per event (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15588">#15588</a>)</li> </ul> <p>Work in this release was contributed by <a href="https://github.com/msurdi-a8c"><code>@msurdi-a8c</code></a>, <a href="https://github.com/namoscato"><code>@namoscato</code></a>, and <a href="https://github.com/rileyg98"><code>@rileyg98</code></a>. Thank you for your contributions!</p> <h2>9.4.0</h2> <ul> <li>feat(core): Add types for logs protocol and envelope (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15530">#15530</a>)</li> <li>feat(deps): Bump <code>@sentry/cli</code> from 2.41.1 to 2.42.2 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15510">#15510</a>)</li> <li>feat(deps): Bump <code>@sentry/webpack-plugin</code> from 3.1.2 to 3.2.1 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15512">#15512</a>)</li> <li>feat(feedback) Allowing annotation via highlighting & masking (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15484">#15484</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="6ec4602781"><code>6ec4602</code></a> release: 9.6.0</li> <li><a href="5ba80bc5fd"><code>5ba80bc</code></a> Merge pull request <a href="https://redirect.github.com/getsentry/sentry-javascript/issues/15703">#15703</a> from getsentry/prepare-release/9.6.0</li> <li><a href="8dc6e50597"><code>8dc6e50</code></a> Remove unnecessary changelog item</li> <li><a href="7889768035"><code>7889768</code></a> meta(changelog): Update changelog for 9.6.0</li> <li><a href="2b5526565c"><code>2b55265</code></a> fix(nextjs): Consider <code>pageExtensions</code> when looking for instrumentation file ...</li> <li><a href="7d88266a6e"><code>7d88266</code></a> chore(ci): Remove <code>type</code> from canary failure template (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/15698">#15698</a>)</li> <li><a href="48ed271b6d"><code>48ed271</code></a> chore(deps): bump esbuild from 0.20.0 to 0.25.0 in /dev-packages/e2e-tests/te...</li> <li><a href="e15988c2ad"><code>e15988c</code></a> chore: Add external contributor to CHANGELOG.md (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/15642">#15642</a>)</li> <li><a href="5c4cab7b34"><code>5c4cab7</code></a> chore(deps): Deduplicate <code>@babel</code> dependencies (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/15639">#15639</a>)</li> <li><a href="ce1ced8172"><code>ce1ced8</code></a> chore: Add external contributor to CHANGELOG.md (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/15640">#15640</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-javascript/compare/8.54.0...9.6.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AutoGPT Platform
Welcome to the AutoGPT Platform - a powerful system for creating and running AI agents to solve business problems. This platform enables you to harness the power of artificial intelligence to automate tasks, analyze data, and generate insights for your organization.
Getting Started
Prerequisites
- Docker
- Docker Compose V2 (comes with Docker Desktop, or can be installed separately)
- Node.js & NPM (for running the frontend application)
Running the System
To run the AutoGPT Platform, follow these steps:
-
Clone this repository to your local machine and navigate to the
autogpt_platformdirectory within the repository:git clone <https://github.com/Significant-Gravitas/AutoGPT.git | git@github.com:Significant-Gravitas/AutoGPT.git> cd AutoGPT/autogpt_platform -
Run the following command:
cp .env.example .envThis command will copy the
.env.examplefile to.env. You can modify the.envfile to add your own environment variables. -
Run the following command:
docker compose up -dThis command will start all the necessary backend services defined in the
docker-compose.ymlfile in detached mode. -
Navigate to
frontendwithin theautogpt_platformdirectory:cd frontendYou will need to run your frontend application separately on your local machine.
-
Run the following command:
cp .env.example .env.localThis command will copy the
.env.examplefile to.env.localin thefrontenddirectory. You can modify the.env.localwithin this folder to add your own environment variables for the frontend application. -
Run the following command:
npm install npm run devThis command will install the necessary dependencies and start the frontend application in development mode. If you are using Yarn, you can run the following commands instead:
yarn install && yarn dev -
Open your browser and navigate to
http://localhost:3000to access the AutoGPT Platform frontend.
Docker Compose Commands
Here are some useful Docker Compose commands for managing your AutoGPT Platform:
docker compose up -d: Start the services in detached mode.docker compose stop: Stop the running services without removing them.docker compose rm: Remove stopped service containers.docker compose build: Build or rebuild services.docker compose down: Stop and remove containers, networks, and volumes.docker compose watch: Watch for changes in your services and automatically update them.
Sample Scenarios
Here are some common scenarios where you might use multiple Docker Compose commands:
-
Updating and restarting a specific service:
docker compose build api_srv docker compose up -d --no-deps api_srvThis rebuilds the
api_srvservice and restarts it without affecting other services. -
Viewing logs for troubleshooting:
docker compose logs -f api_srv ws_srvThis shows and follows the logs for both
api_srvandws_srvservices. -
Scaling a service for increased load:
docker compose up -d --scale executor=3This scales the
executorservice to 3 instances to handle increased load. -
Stopping the entire system for maintenance:
docker compose stop docker compose rm -f docker compose pull docker compose up -dThis stops all services, removes containers, pulls the latest images, and restarts the system.
-
Developing with live updates:
docker compose watchThis watches for changes in your code and automatically updates the relevant services.
-
Checking the status of services:
docker compose psThis shows the current status of all services defined in your docker-compose.yml file.
These scenarios demonstrate how to use Docker Compose commands in combination to manage your AutoGPT Platform effectively.
Persisting Data
To persist data for PostgreSQL and Redis, you can modify the docker-compose.yml file to add volumes. Here's how:
-
Open the
docker-compose.ymlfile in a text editor. -
Add volume configurations for PostgreSQL and Redis services:
services: postgres: # ... other configurations ... volumes: - postgres_data:/var/lib/postgresql/data redis: # ... other configurations ... volumes: - redis_data:/data volumes: postgres_data: redis_data: -
Save the file and run
docker compose up -dto apply the changes.
This configuration will create named volumes for PostgreSQL and Redis, ensuring that your data persists across container restarts.