Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs(i18n): document i18n:prune and why it does not go through mergeOrdered
nirholas975b116384f3
diff --git a/docs/i18n.md b/docs/i18n.mdindex e0a1615b5..8dc2418d2 100644--- a/docs/i18n.md+++ b/docs/i18n.md@@ -186,6 +186,30 @@ have kept. It deliberately stays quiet on cosmetic entities: `&`, `—`and `'` decode to the same glyph the reader sees either way, so flagging themwould bury the failures that actually break a page.+### Prune (drop keys the source retired)++```bash+npm run i18n:prune -- --dry-run # report what would go, write nothing+npm run i18n:prune # every locale+npm run i18n:prune -- --locale=de # one locale+```++Renaming or deleting a source key leaves its old translation behind in all 84+catalogs, and lint counts every copy, so one renamed key reads as 84 failures+(`stale key (not in source)`). A full `i18n:translate` run clears them as a side+effect, because `persist()` rebuilds each catalog from the source. That is the+wrong dependency for a purely subtractive fix: it puts a deletion behind a+working backend, so an exhausted quota or an expired credential leaves lint red+with no way forward. `i18n:prune` is that deletion on its own. No API key, no+network, and it only ever removes: a key the source no longer defines goes, a+namespace left empty goes with it, and everything else stays byte-identical.++It deliberately does **not** reuse `mergeOrdered`. That helper rebuilds the+catalog from the source, so it would materialize an empty string for every key+the locale has not been translated for yet. Those keys would stop reporting as+`missing` and start reporting as `empty`, and because `writeManifest` counts+empty values, every affected language would drop straight out of the picker.+### Repair (fix lint failures in place)```bash