Index
Path:
loom-sprint-scaffold/loom/src/memory/index.tsRelative: loom/src/memory/index.tsSubproject: loom-sprint-scaffoldCategory: otherLines: 259Bytes: 8,844Imports: 11Exports: 5
Content Preview
- /**
- * Loop 4 — Memory Service: thin worker shell.
- *
- * Factory: pick VectorizeIndex when env.SEMANTIC binding present,
- * else Fts5Index (H4.6 fallback).
- *
- * Route handlers (matching src/index.ts routing style):
- * POST /memory/assemble — assemble context (H4.1)
- * POST /memory/expand — expand episodic_ref (H4.4)
- * POST /memory/records — validated write
- *
- * Wiring entry: wireMemoryRoutes(router, env) is called from src/index.ts.
- */
- import { createLogger } from "../lib/log