Dockerfile: multi-stage fat image (golang:1.26 builder → ubuntu:24.04) with Go 1.26, Python 3.12/3.13 via deadsnakes, UV, Node 22, pnpm, TypeScript, esbuild, git, gh, golangci-lint, gofumpt. Container pool (internal/container): manages Docker container lifecycle via moby/moby client. Per-task containers with bind-mounted workspaces. - Acquire: create, start, mount workspace, inject NATS + API key env - Release: stop, remove (AutoRemove as safety net) - Orphan recovery on daemon startup (label: archie-daemon=true) - MaxConcurrency enforcement, MaxUptime config (unused in MVP) - Image pull with "missing"/"always" policy Config: [containers] block (enabled, image, max_concurrency, max_uptime, pull_policy). Validation: requires agent.mode = "nats" and [nats] url. Daemon: acquires container before workflow.Run, releases after. Container environment auto-populated from provider API keys.
62 lines
2.3 KiB
AMPL
62 lines
2.3 KiB
AMPL
module github.com/samcharles93/archie-core
|
|
|
|
go 1.26.2
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.6.0
|
|
github.com/google/go-github/v78 v78.0.0
|
|
modernc.org/sqlite v1.54.0
|
|
)
|
|
|
|
require (
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op // indirect
|
|
github.com/containerd/errdefs v1.0.0 // indirect
|
|
github.com/containerd/errdefs/pkg v0.3.0 // indirect
|
|
github.com/distribution/reference v0.6.0 // indirect
|
|
github.com/docker/go-connections v0.7.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/google/go-tpm v0.9.8 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/klauspost/compress v1.18.6 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/minio/highwayhash v1.0.4 // indirect
|
|
github.com/moby/docker-image-spec v1.3.1 // indirect
|
|
github.com/nats-io/jwt/v2 v2.8.2 // indirect
|
|
github.com/nats-io/nkeys v0.4.16 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.1.1 // indirect
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
|
|
go.opentelemetry.io/otel v1.35.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.35.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.35.0 // indirect
|
|
golang.org/x/crypto v0.53.0 // indirect
|
|
golang.org/x/sys v0.46.0 // indirect
|
|
golang.org/x/time v0.15.0 // indirect
|
|
modernc.org/libc v1.74.1 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/moby/moby/api v1.55.0
|
|
github.com/moby/moby/client v0.5.0
|
|
github.com/nats-io/nats-server/v2 v2.14.3
|
|
github.com/nats-io/nats.go v1.52.0
|
|
github.com/samcharles93/ai-sdk v0.1.17
|
|
github.com/traefik/yaegi v0.16.1
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
replace github.com/samcharles93/ai-sdk => /work/projects/ai-sdk
|