f20b19a71ec26708d4de8d1b2f4580f09d0bc633
- Wrangler project setup (TypeScript + Vitest)
- SigilBackend interface + WorkerPool implementation
- KV store with layered key schema (code/meta/lru/route/auth/stats)
- LRU scheduler with eviction priority (ephemeral_expired > ephemeral > normal > persistent)
- AuthModule: Bearer token validation, agent isolation, deploy cooldown
- Router: /_health, /_api/deploy, /_api/remove, /_api/list, /_api/inspect, /{agent}/{capability}
- 13 test scenarios, all passing (38 tests)
- MockKV + MockCfApi for isolated testing
Tests: 38/38 ✅ | Build: 22KB gzip:5KB ✅
小橘 🍊(NEKO Team)
Sigil 🔮
Capability registry for Uncaged — LRU-managed Cloudflare Workers with abstract backend.
What is Sigil?
Sigil is the capability virtualization layer for Uncaged. It lets AI Agents deploy, invoke, and manage serverless capabilities (Cloudflare Workers) through a unified gateway, with LRU eviction to stay within platform quotas.
Architecture
- One dispatch Worker (
sigil.shazhou.workers.dev) as the unified entry point - KV-backed LRU for scheduling capabilities within CF Worker quota (~400 slots)
- Abstract backend interface:
WorkerPool($5/mo) orPlatform($25/mo, Workers for Platforms) - Agent isolation via naming convention (
{agent}--{capability}) + per-agent tokens
Docs
License
MIT
Built by 小橘 🍊 (NEKO Team) | Part of the oc-forge ecosystem
Description
Languages
TypeScript
100%