mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-08 21:14:47 +09:00
Deploy templates were a hardcoded frontend constant (AgentSite, with a hand-fabricated manifest and an EXAMPLE badge). They now live in the backend catalog as `kind: repo` YAML entries that blend with the 105 compose templates. - template schema gains `kind: compose | repo` (absent = compose, so every existing template is untouched); repo templates carry a `repo` block with a `url` instead of a compose stack - backend/templates/agentsite.yaml (kind: repo) replaces the JS constant - list + detail payloads serve `kind`/`repo`; category derivation picks up repo templates automatically - GET /api/v1/templates/<id>/manifest inspects a PUBLIC repo via RepositoryManifestService.analyze_public_repo (raw host, no clone, no OAuth) and falls back to the template's declared hints, labeled `template-hints` - index.json + catalog-cert test recognize repo-kind; ratchet floor 2475->2498 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>