Commit Graph

5 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
82621bd2f6 follow-up to #1308: one command-id generator, and not from Math.random
`crypto.getRandomValues` is not gated on a secure context — only
`randomUUID` is — so it is the right fallback on a plain-HTTP deployment,
and the `Math.random` tail is left only for a runtime with no Web Crypto.

The bare `globalThis.crypto.randomUUID()` this fixes had a twin at
`contracts/parse/turn-command.ts`, which throws in exactly the same
deployment. Both now call one exported `newCommandId`, living beside the
`command_id` field it fills rather than in the transport that happened to
notice first.

(cherry picked from commit 70333c900034d383500ca92e294b23445394068f)
2026-09-10 23:55:18 +08:00
Bingxi Zhao (Frank)
6e6e56aedb release: v1.6.3
Ship the breaking front- and back-end runtime and route refactor,
learner and guardian flows, grounded reading, knowledge and parser
updates, and recoverable long-running streams.

Release notes: assets/releases/ver1-6-3.md
2026-09-02 04:09:11 +08:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
Bingxi Zhao (Frank)
0282d85bd6 fix(web): make turn state server authoritative 2026-09-01 17:30:39 +08:00
Bingxi Zhao (Frank)
8bf74b9748 feat(web): validate turn protocol boundaries 2026-09-01 17:18:20 +08:00