Introduce AutoMetabuilder core components and workflow packages:

- Implement core components: CLI argument parsing, environment loading, GitHub service creation, and logging configuration.
- Add support for OpenAI client setup and model resolution.
- Develop SDLC context loader from GitHub and repository files.
- Implement workflow context and engine builders.
- Introduce major workflow packages: `game_tick_loop` and `contextual_iterative_loop`.
- Update localization files with new package descriptions and labels.
- Streamline web navigation by loading items from a dedicated JSON file.
This commit is contained in:
2026-01-10 01:21:19 +00:00
parent b79dbbe14e
commit b3bd57964f
14 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@@ -159,3 +159,4 @@ frontend/node_modules/
frontend/.env.local
frontend/.env.development.local
frontend/.env.production.local
frontend/autometabuilder/.next/

View File

@@ -34,10 +34,10 @@ poetry run autometabuilder # starts the CLI or the web server when `--web` is
```bash
cd frontend
npm install
npm run dev --webpack # uses the Webpack bundler for compatibility with restricted hosts
npm run dev --webpack # runs the Material UI-based Next.js app located inside frontend/autometabuilder
```
The UI pushes translations, workflow content, and navigation data via the Flask-powered `/api/*` surface. Set `NEXT_PUBLIC_API_BASE` if the backend is hosted on another URL (default: `http://localhost:8000`).
The Next.js app now lives under `frontend/autometabuilder` and uses Material UI panels + webhook helpers to react to workflow runs; it still reads translations, workflows, and metadata from the Flask `/api/*` surface. Override `NEXT_PUBLIC_API_BASE` to point to a remote backend if needed.
## Testing & linting

View File

@@ -65,3 +65,4 @@
- [x] **Atomic Next sections**: Compose dashboard, workflow builder, prompt editor, settings, and translation editor into dedicated components powered by localized strings.
- [x] **Workflow templates & navigation JSON**: Serve workflow packages, nav items, and translation mappings from metadata-backed JSON endpoints.
- [ ] **Document build constraints**: Record that `next build --webpack` fails in this sandbox because bundlers attempt to bind new ports, and continue iterating locally.
- [x] **Material UI + webhooks**: Drive the dashboard with Material UI surfaces and a lightweight webhook emitter/listener so downstream components can react to run events without prop drilling.

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -1,8 +1,10 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
reactCompiler: true,
experimental: {
appDir: "autometabuilder/app",
},
};
export default nextConfig;