Skip to content

Agora v2.3.13 — PRoot Sandbox & LiteRT-LM Context Guard Fixes

Latest

Choose a tag to compare

@xnet-admin-1 xnet-admin-1 released this 02 Dec 02:06

What's Changed

On-Device PRoot Sandbox

  • Restored useLegacyPackaging = true so libproot_exec.so, libproot_loader.so, and libtalloc.so extract to nativeLibraryDir (exec-allowed context), fixing error=13, Permission denied on id/whoami and shell commands.
  • Self-healing binary resolver in ProotProcessRunner that re-extracts non-executable binaries and logs resolved path/size/exec state.

LiteRT-LM Local Inference

  • Context & tool overflow guards: conservative prompt-token estimation, history trimming to the model context window, KV engine recycling before accumulated context overflows, generation serialization, and a last-resort tool capacity guard (while keeping full tools governed by Low Context Mode).
  • Max output tokens: clamped LiteRT output tokens to ModelInfo.maxContextTokens(), kept continuous sliders, and scoped maxTokens > nCtx validation to GGUF models.

Verification

  • Verified on Pixel 10 Pro XL (Tensor G5, 16 KB pages): PRoot sandbox execution and local gemma-4-E4B-it-abliterated.litertlm chat both pass.