Changelog
A record of API and SDK changes, new features, and breaking changes.
v1.3 — Streaming & Events
- Added: Streaming endpoint
POST /api/v1/sdk/chat/{persona_id}/message/stream— Server-Sent Events for progressive NPC responses - Added: Event system in all SDKs —
state_change,score_change,machine_completed,machines_unlocked,session_ended - Added: Request hooks for custom logging and analytics in Python and TypeScript SDKs
- Added: Unity SDK streaming support —
SendMessageStreamAsync(async) andSendMessageStream(coroutine)
v1.2 — Multi-Machine Progression
- Added: Multi-machine progression — link scenarios with unlock conditions
- Added: Cross-machine variables — pass data between scenarios
- Added:
GET /api/v1/sdk/chat/{persona_id}/machinesendpoint - Added:
machine_idparameter to chat endpoints for targeting specific scenarios - Added:
machine_completedandunlocked_machinesfields in ChatResponse
v1.1 — BYOK & SDK Launch
- Added: Game SDK with API key authentication
- Added: Python SDK (
foilengineon PyPI) - Added: TypeScript SDK (
@foilengine/sdkon npm) - Added: Unity SDK (UPM package)
- Added: Bring Your Own Key (BYOK) — use any LLM provider via
X-LLM-API-Key - Added: Per-step model overrides (eval, response, summarization)
- Added: LLM key validation endpoint
v1.0 — Initial Release
- Launched: Foil Engine web platform with NPC editor
- Launched: Chat API — init-session, message, history, reset
- Launched: Persona management API — CRUD, publish, share
- Launched: AI generation pipeline — create full NPCs from a prompt
- Launched: State machine conversation system with scoring