undef-engine 2026-01-02
Cloudflare Workers integration and massive legacy cleanup
792 files · 17,418+ · 139,131-

Cloudflare Workers compute layer

6 files changed
  • asgi.py Created ASGI adapter for Cloudflare Workers environment
  • ai_provider.py Added Workers AI binding provider
  • __init__.py Refactored Durable Object into modular directory
  • core.py Core Durable Object logic
  • alarm.py Durable Object alarm handling
  • websocket_handlers.py WebSocket handler for Durable Objects
  • Created ASGI adapter for running in Cloudflare Workers environment instantiate behavioral
    1 file
    • asgi.py
  • Added Workers AI binding provider for NPC intelligence instantiate internal
    1 file
    • ai_provider.py
  • Refactored Durable Object into modular directory with alarm, core, initialization, and websocket handlers decouple internal
    3 files
    • core.py
    • alarm.py
    • websocket_handlers.py

NPC system updates

2 files changed
  • NpcManager.tsx Updated NPC manager component
  • store.py Updated chat store for NPC compatibility
  • Updated NPC personas with extended personality data for Pyodide compatibility decouple internal
    1 file
    • NpcManager.tsx

Content simplification and legacy removal

5 files changed
  • loader.py Simplified content loader, reduced line count
  • exceptions.py Updated content exception handling
  • __init__.py Updated chat module initialization
  • store.py Updated auth store
  • store.py Updated OAuth store
  • Simplified content loader, reducing line count substantially decouple internal
    1 file
    • loader.py
  • Updated chat module, auth stores, and dictionary spellcheck service decouple internal
    3 files
    • store.py
    • store.py
    • store.py
  • Removed 139,131 lines of deprecated and generated content from earlier branch merges deprecate internal