client sdk

This commit is contained in:
valenti
2026-10-21 17:56:04 +01:00
parent 1cafe3dd3c
commit d6bc2437c9
237 changed files with 5227 additions and 1019 deletions
+9
View File
@@ -343,3 +343,12 @@ LLM_TOOL_RESULT_MAX_CHARS=2000
# Then open https://localhost:8787/ and accept the certificate warning.
TLS_CERT=certs/cert.pem
TLS_KEY=certs/key.pem
# --- CORS (optional) ---
# Comma-separated browser origins allowed to call the REST surface cross-origin
# (single `*` = any origin). Empty = no CORS layer (default behaviour: the
# engine answers cross-origin fetch requests without CORS headers). Needed when
# the JavaScript client SDK (see sdk/) is served from another origin. It does
# NOT affect /ws: a WebSocket handshake is not a CORS request, so the realtime
# session works cross-origin regardless.
# CORS_ALLOW_ORIGIN=https://your-app.example,http://localhost:3000