You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Node.js: local mode that runs the embedded engine #73
Use the embedded engine from Node.js with the same API as remote mode.
Criterios de aceptación
await SqlGuard.local({ policy | policyPath, role }) next to the existing new SqlGuard({ url }); check, enforce and explain and their result types are the same in both modes
Child-process lifecycle: lazy start, hello version check, concurrent calls multiplexed by request id, per-call timeout, close() and Symbol.asyncDispose, the engine is killed when the process exits
If the engine crashes, pending and new calls fail closed (allowed: false) and it restarts with backoff
TypeScript types for policies, results and protocol messages generated from schema/; CI fails when they are stale
ESM and CommonJS; Node 18, 20 and 22; Bun best effort; Deno, browsers and edge runtimes documented as remote mode only
CI matrix Linux, macOS and Windows runs the unit tests and the whole conformance corpus (plus fuzz and red-team regressions) in local mode
Activity
npm install sqlguardllm, no Python, no server #85sqlguardllm engine --stdio#68jmmana commentedon Nov 27, 2026
/warcodex proveedor=claude cuenta="Warlock"
jmmana commentedon Nov 27, 2026
WarCodex: esperará a que terminen #68, #72 antes de empezar.
jmmana commentedon Nov 27, 2026
WarCodex no puede empezar todavía: falta información en el issue.
- [ ] ..., cada una verificable con un comando o una prueba.Edita el issue (usa la plantilla de WarCodex) y lo reviso de nuevo automáticamente.
8 remaining items
jmmana commentedon Nov 27, 2026
WarCodex: PR abierto: #117
jmmana commentedon Nov 27, 2026
WarCodex: empezó a trabajar en este issue (intento 2).
test: Node.js: local mode that runs the embedded engine (#73)
jmmana commentedon Nov 27, 2026
WarCodex actualizó el PR #117 con los cambios pedidos (intento #2, vuelta de revisión 1): pendiente de revisión.
Base:
main· rama:warcodex/issue-73jmmana commentedon Nov 27, 2026
WarCodex: PR abierto: #117
Node.js: local mode that runs the embedded engine (#73) (#117)
jmmana commentedon Nov 27, 2026
WarCodex: listo, PR fusionado: #117