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:
Cody Seibert
2025-12-08 21:11:00 -05:00
parent 3c8e786f29
commit 9392422d35
67 changed files with 16275 additions and 696 deletions

View File

@@ -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

View File

@@ -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!")

View File

@@ -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>

View File

@@ -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"]');

View File

@@ -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",