initial agent-mgr: app builder platform MVP

Go API server + Preact UI + Claude Code adapter.
- App-centric model (ideas, not repos)
- AgentProvider interface for multi-agent support
- K8s pod lifecycle for sandboxed agent sessions
- Gitea integration (create repos, push branches)
- WebSocket streaming for live session output
- Woodpecker CI/CD pipelines (kaniko build + kubectl deploy)
This commit is contained in:
Steven Hooker
2026-02-18 15:56:32 +01:00
commit e5b07cc1d8
39 changed files with 3120 additions and 0 deletions

38
.woodpecker/build.yaml Normal file
View File

@@ -0,0 +1,38 @@
variables:
- &kaniko_settings
registry: git.asp.now
username:
from_secret: gitea_user
password:
from_secret: gitea_token
when:
- event: [push, tag]
branch: main
steps:
- name: build-agent-mgr
image: woodpeckerci/plugin-kaniko
settings:
<<: *kaniko_settings
repo: git.asp.now/platform/agent-mgr
tags:
- latest
- ${CI_COMMIT_SHA:0:8}
dockerfile: docker/Dockerfile
context: .
cache: true
cache_repo: git.asp.now/platform/agent-mgr/cache
- name: build-claude-runner
image: woodpeckerci/plugin-kaniko
settings:
<<: *kaniko_settings
repo: git.asp.now/platform/claude-code-runner
tags:
- latest
- ${CI_COMMIT_SHA:0:8}
dockerfile: docker/Dockerfile.claude-runner
context: docker/
cache: true
cache_repo: git.asp.now/platform/claude-code-runner/cache

16
.woodpecker/deploy.yaml Normal file
View File

@@ -0,0 +1,16 @@
depends_on:
- build
when:
- event: [push, tag]
branch: main
steps:
- name: deploy
image: bitnami/kubectl:latest
commands:
- kubectl -n agent-mgr set image deployment/agent-mgr agent-mgr=git.asp.now/platform/agent-mgr:${CI_COMMIT_SHA:0:8}
- kubectl -n agent-mgr rollout status deployment/agent-mgr --timeout=120s
backend_options:
kubernetes:
serviceAccountName: woodpecker-deployer