chore(_example): add in-memory executor scripts and improve onboarding docs#1605
Open
Scra3 wants to merge 2 commits into
Open
chore(_example): add in-memory executor scripts and improve onboarding docs#1605Scra3 wants to merge 2 commits into
Scra3 wants to merge 2 commits into
Conversation
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|
…l onboarding Add `start` and `start:in-memory` yarn scripts that auto-load `.env` via Node's `--env-file` flag, so contributors only need to copy `.env.example`, fill in 3 values, and run `yarn start:in-memory` to get the executor running locally against an existing Forest Admin agent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…g docs Add `start:with-executor:with-openai:in-memory` and `:with-anthropic:in-memory` scripts that skip the Postgres requirement, making it the recommended first-time onboarding path. Update README to lead with the in-memory quick start and move the persistent (database) mode to a secondary section. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
037f28b to
221548f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
yarn startandyarn start:in-memoryscripts to@forestadmin/workflow-executorusing Node's--env-file=.envflag for automatic env loading.env.examplewith the 3 required variables (AGENT_URL,FOREST_ENV_SECRET,FOREST_AUTH_SECRET)Onboarding flow
For someone who already has a Forest Admin agent running:
🤖 Generated with Claude Code
Note
Add in-memory executor npm scripts and update onboarding docs for Quick Start mode
start:with-executor:with-openai:in-memoryandstart:with-executor:with-anthropic:in-memoryscripts to package.json, each concurrently launching the agent and the workflow executor in-memory mode with provider-specific AI env vars.curlbefore startingtsx watch ../workflow-executor/src/cli.ts --pretty --in-memory.startandstart:in-memoryscripts to workflow-executor/package.json for standalone executor startup using.env.AGENT_URL,FOREST_ENV_SECRET, andFOREST_AUTH_SECRETplaceholders.Macroscope summarized 221548f.