diff --git a/.env b/.env index e69de29..520896c 100644 --- a/.env +++ b/.env @@ -0,0 +1,3 @@ +DOTENV_PUBLIC_KEY="029d61f20a8eaea8408a13bbf839e49070c068250188f082812aacb5cc7ea3446f" + +OPENAI_API_KEY=encrypted:BAa/9uNsQHuHSnB+O1ETT4NmqJLrDSgVZZuI4el3qU8my5J1FTWRHD+fp+jn+vR4RzOq3QroOIv8NAhJLZao2HPgLFtlEKjPCLt/o0jtwvGAI/bBCLSuQzQDLPQpIReUxWJ+AqHmbnU7wP887dT8jCJ+73+EHPRlgS6df2hzoRGfSyhMKNQNIYSYBKVAUfWei3sFX8o4/b3QvNZ0LKL0aYFztzFyNoBVpkOCXXEbS2V62PuhiYyLQl9FtRglbGu6UDMnr2X6hCd690kKxEg8sDawGgEMDBhSLxH3B9rk9hSAttmGojIw7BtQs0XLa3AFRuoEDCfT1bcl3tIOp5nJGCxjpJtP9bIi diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1bf349d..0fd2b83 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ - Have [`git`](https://git-scm.com/) installed. - Have [`docker`](https://docker.com/) installed. - Have [`node`](https://nodejs.org/) & [`pnpm`](https://pnpm.io/) installed. -- Have a [manual](https://docs.automa.app/agents/types#manual) bot in either [Automa](https://automa.app) (Cloud or Self-hosted) or in [automa/monorepo](https://github.com/automa/monorepo) local setup. +- Have a [manual](https://docs.automa.app/bots/types#manual) bot in either [Automa](https://automa.app) (Cloud or Self-hosted) or in [automa/monorepo](https://github.com/automa/monorepo) local setup. ## Setup environment variables diff --git a/README.md b/README.md index dafe707..9370b4a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # codex -This is an [AI](https://docs.automa.app/agents/types#ai) & [manual](https://docs.automa.app/agents/types#manual) bot for [**Automa**](https://automa.app) that uses [OpenAI's Codex](https://github.com/openai/codex) tool to work on tasks. +This is an [AI](https://docs.automa.app/bots/types#ai) & [manual](https://docs.automa.app/bots/types#manual) [agent](https://docs.automa.app/bots/types#agent) for [**Automa**](https://automa.app) that uses [OpenAI's Codex](https://github.com/openai/codex) tool to work on tasks. #### Features @@ -13,7 +13,7 @@ This is an [AI](https://docs.automa.app/agents/types#ai) & [manual](https://docs ### Self-Hosting -This bot can be self-hosted. You can either follow our more detailed [guide](https://docs.automa.app/self-hosting/agents/codex) or follow these steps to get it running. +This agent can be self-hosted. You can either follow our more detailed [guide](https://docs.automa.app/self-hosting/agents/codex) or follow these steps to get it running. #### Prerequisites @@ -23,9 +23,9 @@ This bot can be self-hosted. You can either follow our more detailed [guide](htt - Have [`redis`](https://github.com/redis/redis) or any redis compatible memory store running. -#### Automa agent +#### Automa bot -[Create an agent](https://docs.automa.app/agent-development/create-agent) of [manual](https://docs.automa.app/agents/types#manual) type on [Automa](https://automa.app) (Cloud or Self-hosted) and point its webhook to your planned server (e.g., `http://your-server-ip:8000/hooks/automa`). Copy the **webhook secret** after it is created. +[Create a bot](https://docs.automa.app/bot-development/create-bot) of [manual](https://docs.automa.app/bots/types#manual) type on [Automa](https://automa.app) (Cloud or Self-hosted) and point its webhook to your planned server (e.g., `http://your-server-ip:8000/hooks/automa`). Copy the **webhook secret** after it is created. #### Starting the server diff --git a/package.json b/package.json index ea1b7c4..bbeb076 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "main": "build/index.js", "dependencies": { - "@automa/bot": "~0.2.8", + "@automa/bot": "~0.3.0", "@fastify/autoload": "~5.7.1", "@fastify/helmet": "~11.1.1", "@fastify/sensible": "~5.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0f019b7..cafb64f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@automa/bot': - specifier: ~0.2.8 - version: 0.2.8 + specifier: ~0.3.0 + version: 0.3.0 '@fastify/autoload': specifier: ~5.7.1 version: 5.7.2 @@ -176,8 +176,8 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@automa/bot@0.2.8': - resolution: {integrity: sha512-C6SZdHbJ539qbziETIUt6FusJIfY0/Not4pABTbdxOl9ovvF1IaF0IEp1iP/qqJ886k3dzDdpffI2JLSZmXbXw==} + '@automa/bot@0.3.0': + resolution: {integrity: sha512-COl1wwTavMxxzsPNztvnYbxx4t16kVdzCeC9OZVsNYGgB9VAbINQ2FI9PxguWqSMPA78WcPl2ONCfm675ruN7g==} engines: {node: '>=20.17.0'} '@babel/code-frame@7.27.1': @@ -3892,7 +3892,7 @@ snapshots: '@jridgewell/gen-mapping': 0.3.8 '@jridgewell/trace-mapping': 0.3.25 - '@automa/bot@0.2.8': + '@automa/bot@0.3.0': dependencies: axios: 1.9.0 json-stable-stringify: 1.3.0