mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-02-05 00:13:07 +00:00
Add a Node.js CLI wrapper that allows installing AutoForge globally via `npm install -g autoforge-ai` and running it with a single `autoforge` command. The CLI handles Python detection, venv management, config loading, and uvicorn server lifecycle automatically. New files: - package.json: npm package config with bin entry, files whitelist, and prepublishOnly script that builds the UI - bin/autoforge.js: thin entry point that imports lib/cli.js - lib/cli.js: main CLI module (~790 lines) with cross-platform Python 3.11+ detection, composite venv marker for smart invalidation (requirements hash + Python version + path), .env config management at ~/.autoforge/.env, server startup with PID file and port detection, and signal handling with process tree cleanup - requirements-prod.txt: runtime-only deps (excludes ruff, mypy, pytest) - .npmignore: excludes dev files, tests, __pycache__, UI source Modified files: - ui/package.json: rename to autoforge-ui to avoid confusion with root - .gitignore: add *.tgz for npm pack output - README.md: add npm install as primary quick start method, document CLI commands, add Ollama/Vertex AI config sections, new troubleshooting entries for Python/venv issues - GettingStarted.tsx: add Installation, Quick Start, and CLI Commands sections to in-app documentation with command reference table - docsData.ts: add installation and cli-commands sidebar entries Published as autoforge-ai@0.1.0 on npm. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
160 lines
1.9 KiB
Plaintext
160 lines
1.9 KiB
Plaintext
# Agent-generated output directories
|
|
generations/
|
|
automaker/
|
|
temp/
|
|
|
|
nul
|
|
issues/
|
|
|
|
# Browser profiles for parallel agent execution
|
|
.browser-profiles/
|
|
|
|
# Log files
|
|
logs/
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# ===================
|
|
# Node.js
|
|
# ===================
|
|
node_modules/
|
|
.npm
|
|
.yarn-integrity
|
|
.node_repl_history
|
|
|
|
# ===================
|
|
# Python
|
|
# ===================
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
*.egg
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
eggs/
|
|
.eggs/
|
|
*.manifest
|
|
*.spec
|
|
pip-log.txt
|
|
pip-delete-this-directory.txt
|
|
|
|
# Virtual environments
|
|
venv/
|
|
.venv/
|
|
ENV/
|
|
env/
|
|
.env.bak/
|
|
|
|
# PyInstaller
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Installer logs
|
|
pip-log.txt
|
|
|
|
# Unit test / coverage
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
.coverage
|
|
.coverage.*
|
|
coverage/
|
|
coverage.xml
|
|
*.cover
|
|
*.py,cover
|
|
.hypothesis/
|
|
.pytest_cache/
|
|
nosetests.xml
|
|
ui/playwright-report/
|
|
|
|
# mypy
|
|
.mypy_cache/
|
|
.dmypy.json
|
|
dmypy.json
|
|
|
|
.ruff_cache/
|
|
|
|
# ===================
|
|
# Claude Code
|
|
# ===================
|
|
.claude/settings.local.json
|
|
|
|
# ===================
|
|
# IDE / Editors
|
|
# ===================
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*.sublime-workspace
|
|
*.sublime-project
|
|
.spyderproject
|
|
.spyproject
|
|
.ropeproject
|
|
|
|
# ===================
|
|
# OS generated files
|
|
# ===================
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
Desktop.ini
|
|
|
|
# ===================
|
|
# Build outputs
|
|
# ===================
|
|
ui/dist/
|
|
ui/.vite/
|
|
.vite/
|
|
*.tgz
|
|
|
|
# ===================
|
|
# Environment files
|
|
# ===================
|
|
.env
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
.env.*.local
|
|
|
|
# ===================
|
|
# Cache directories
|
|
# ===================
|
|
.cache/
|
|
.parcel-cache/
|
|
.eslintcache
|
|
.stylelintcache
|
|
|
|
# ===================
|
|
# Lock files (except package-lock.json)
|
|
# ===================
|
|
yarn.lock
|
|
pnpm-lock.yaml
|
|
poetry.lock
|
|
Pipfile.lock
|
|
|
|
# ===================
|
|
# TypeScript
|
|
# ===================
|
|
*.tsbuildinfo
|
|
|
|
# ===================
|
|
# Misc
|
|
# ===================
|
|
*.bak
|
|
*.tmp
|
|
*.temp
|
|
.tmp/
|
|
.temp/
|
|
tmpclaude-*-cwd
|
|
ui/test-results/
|