• v0.1.2 dda9569b80

    coreci-bot released this 2026-09-11 15:40:30 +00:00 | 69 commits to main since this release

    Nextcraft v0.1.2 — v0.2 Phase 1

    apps/ai-service stands up: a Python FastAPI application hosting the AI tutor agents behind a provider-agnostic LLM layer.

    Delivered (REQ-2-001, REQ-2-002, REQ-2-003)

    • FastAPI app — lifespan-managed httpx pool (10s connect / 300s read for cloud TTFT), localhost-only CORS, /health
    • Provider-agnostic LLM layerLLMProvider protocol; OpenAICompatProvider (ollama-cloud + local endpoints, raw httpx, no SDK); deterministic MockProvider (failure injection, abort recording); factory selection
    • SSE chat streamingPOST /v1/chat/stream with the D-016 envelope: meta event → content deltas → done[DONE]; in-band error events on failure
    • Monorepo integration — zero-dep package shim, turbo passthrough tasks, root pnpm ai:dev/ai:test/ai:lint/ai:bootstrap
    • Quality gates — ruff clean, 20/20 pytest green (mock provider only, mechanically enforced cloud-free guard), live smoke verified meta→delta→done→[DONE]

    Next

    Phase 2: agent framework (BaseAgent, session store, registry, structured outputs).

    Downloads