mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +00:00
Implement initial project structure and features for Automaker application, including environment setup, auto mode services, and session management. Update port configurations to 3007 and add new UI components for enhanced user interaction.
This commit is contained in:
@@ -15,12 +15,14 @@ pip install -r requirements.txt
|
||||
```
|
||||
|
||||
Verify your installations:
|
||||
|
||||
```bash
|
||||
claude --version # Should be latest version
|
||||
pip show claude-code-sdk # Check SDK is installed
|
||||
```
|
||||
|
||||
**API Key:** Set your Anthropic API key:
|
||||
|
||||
```bash
|
||||
export ANTHROPIC_API_KEY='your-api-key-here'
|
||||
```
|
||||
@@ -32,6 +34,7 @@ python autonomous_agent_demo.py --project-dir ./my_project
|
||||
```
|
||||
|
||||
For testing with limited iterations:
|
||||
|
||||
```bash
|
||||
python autonomous_agent_demo.py --project-dir ./my_project --max-iterations 3
|
||||
```
|
||||
@@ -123,15 +126,15 @@ npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
The application will typically be available at `http://localhost:3000` or similar (check the agent's output or `init.sh` for the exact URL).
|
||||
The application will typically be available at `http://localhost:3007` or similar (check the agent's output or `init.sh` for the exact URL).
|
||||
|
||||
## Command Line Options
|
||||
|
||||
| Option | Description | Default |
|
||||
|--------|-------------|---------|
|
||||
| `--project-dir` | Directory for the project | `./autonomous_demo_project` |
|
||||
| `--max-iterations` | Max agent iterations | Unlimited |
|
||||
| `--model` | Claude model to use | `claude-sonnet-4-5-20250929` |
|
||||
| Option | Description | Default |
|
||||
| ------------------ | ------------------------- | ---------------------------- |
|
||||
| `--project-dir` | Directory for the project | `./autonomous_demo_project` |
|
||||
| `--max-iterations` | Max agent iterations | Unlimited |
|
||||
| `--model` | Claude model to use | `claude-sonnet-4-5-20250929` |
|
||||
|
||||
## Customization
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@ async def run_autonomous_agent(
|
||||
print(" ./init.sh # Run the setup script")
|
||||
print(" # Or manually:")
|
||||
print(" npm install && npm run dev")
|
||||
print("\n Then open http://localhost:3000 (or check init.sh for the URL)")
|
||||
print("\n Then open http://localhost:3007 (or check init.sh for the URL)")
|
||||
print("-" * 70)
|
||||
|
||||
print("\nDone!")
|
||||
|
||||
@@ -951,8 +951,8 @@
|
||||
# S3_SECRET_KEY=
|
||||
|
||||
# URLs
|
||||
APP_URL=http://localhost:3000
|
||||
API_URL=http://localhost:3000/api
|
||||
APP_URL=http://localhost:3007
|
||||
API_URL=http://localhost:3007/api
|
||||
</env_example>
|
||||
|
||||
<scripts>
|
||||
|
||||
@@ -115,7 +115,7 @@ npx playwright test tests/[feature-name].spec.ts --headed
|
||||
import { test, expect } from "@playwright/test";
|
||||
|
||||
test("user can send a message and receive response", async ({ page }) => {
|
||||
await page.goto("http://localhost:3000");
|
||||
await page.goto("http://localhost:3007");
|
||||
|
||||
// Happy path: main user flow
|
||||
await page.fill('[data-testid="message-input"]', "Hello world");
|
||||
@@ -231,7 +231,7 @@ import { test, expect } from "@playwright/test";
|
||||
|
||||
test.describe("Feature Name", () => {
|
||||
test("happy path: user completes main workflow", async ({ page }) => {
|
||||
await page.goto("http://localhost:3000");
|
||||
await page.goto("http://localhost:3007");
|
||||
|
||||
// Interact with UI elements
|
||||
await page.click('button[data-testid="action"]');
|
||||
|
||||
@@ -241,7 +241,7 @@ def main():
|
||||
"git add . && git commit -m 'msg'",
|
||||
# Process management
|
||||
"ps aux",
|
||||
"lsof -i :3000",
|
||||
"lsof -i :3007",
|
||||
"sleep 2",
|
||||
# Allowed pkill patterns for dev servers
|
||||
"pkill node",
|
||||
|
||||
Reference in New Issue
Block a user