How the Open SWE monorepo is configured
apps/
)apps/open-swe
- LangGraph Agent Application
apps/web
- Next.js Web Interface
apps/docs
- Mintlify Documentation
packages/
)packages/shared
- Common Utilities Package
@open-swe/shared
namespace^build
dependency ensures that shared packages are built before dependent packages, maintaining proper build order across the monorepo.
yarn build
- Build all packages in dependency orderyarn lint
- Run linting across all packagesyarn format
- Format code using PrettierInstall dependencies in specific packages
package.json
unless adding a resolution.Use resolutions for shared dependencies
package.json
to ensure version consistency.Build shared packages after changes
yarn build
from the root when making changes to packages/shared
to make them available to other packages.apps/open-swe
package includes a critical postinstall
hook:
@open-swe/shared
which must be compiledyarn build
from the root to ensure all packages are properly built and linked.node-modules
for compatibilityapps/*
and packages/*
packageManager
field in package.json