Add Cloud Agent development environment setup - #97
Open
allwefantasy wants to merge 1 commit into
Open
Conversation
- Add .cursor/environment.json and .cursor/install.sh (venv-based idempotent install that exposes CLI entry points on PATH) - Pin setuptools<81 (newer versions drop pkg_resources, which autocoder still imports) and add missing runtime deps: pandas, sqlmodel, psutil - Allow the two .cursor env files through .gitignore Co-authored-by: WilliamZhu <allwefantasy@gmail.com>
allwefantasy
marked this pull request as ready for review
August 22, 2026 05:34
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
Sets up a reproducible Cloud Agent development environment for
auto-coderand makes the package importable/runnable out of the box.What's added
.cursor/environment.json— declares the environment and runsbash .cursor/install.shas the install step..cursor/install.sh— an idempotent install script that:libcairo2,poppler-utils,ffmpeg,python3.12-venv);$HOME/autocoder-venv(avoids conflicts with Debian-managed system Python packages such asPyJWT);requirements.txt+ the package in editable mode, pluspytestfor the repo's test scripts;auto-coder,auto-coder.chat,auto-coder.run,auto-coder.serve, …) into/usr/local/binso they're onPATHwith no shell-profile mutation.Dependency fixes (required for the package to import at all)
setuptools<81: newer setuptools removed thepkg_resourcesAPI thatautocoder.common.buildin_tokenizerstill imports.requirements.txtdidn't list:pandas(viapyjava),sqlmodel(autocoder.db.store),psutil(autocoder.common.run_cmd)..gitignore.cursor/contents but track the two environment files.Validation (local VM)
auto-coder install complete: 1.0.0)auto-coder/auto-coder.chat/auto-coder.run/auto-coder.serveloadauto-coder.serveHTTP server/docsand/openapi.json→ 200;/list_files→{"files":[]},/conf/list→{"config":{}}BuildinTokenizer)file_checkpoint/test_utils.py)Notes
auto-coder.rag) with the byzer-storage backend requiresray, which upstream intentionally commented out inrequirements.txtand which is incompatible with currentbyzerllmon the latest release. It's left as an optional extra; the core CLI, chat/run agent, and server modes all work.