Synced from monorepo Changes: - Add memory rollout telemetry - Preserve agent message anchors - Preserve typed input provenance - Add typed input queue policy - Block sessions behind a consent notice until it is accepted - Carry a consent notice in remote settings and record the answer locally - Fix TTS decode window span export under concurrent decode - Add automatic worktree garbage collection with a fail-closed safety gate - Restrict login to a team via GROK_FORCE_LOGIN_TEAM_ID environment override - Add optional model_family to the model catalog schema - Cap parallel media-generation tool calls (image ≤8, video ≤4) - Deny unwrap/expect/panic on session resource-release paths - Revert authentication straddle hardening - Refresh session auto title early and show recap/last-turn on resume - Fix still-streaming replies freezing when thinking interleaves Source-Revision: 84ae1223e57a5048afb570d74d45c051fa604982
Third-party vendored crates
This directory holds upstream source vendored into the repository. It is not first-party application code.
Why vendor
This directory holds in-tree third-party Rust (and similar) sources: the
mermaid layout stack that renders untrusted model output, and the
grove-on-NFS userspace server (nfsserve). Vendoring gives a full audit
surface, pins exact source, and avoids crates.io yanks. Local patches and
upgrade checklists live in each crate’s Cargo.toml header comments — treat
those as the source of truth when re-vendoring.
Mermaid layout stack
| Crate | Version | License | Upstream | Full license text |
|---|---|---|---|---|
mermaid-to-svg |
(path) | MIT | warpdotdev/mermaid-to-svg | LICENSE |
dagre_rust |
0.0.5 | Apache-2.0 | r3alst/dagre-rust / Warp re-vendor | LICENCE |
graphlib_rust |
0.0.2 | Apache-2.0 | r3alst/graphlib-rust | LICENCE |
ordered_hashmap |
0.0.3 | Apache-2.0 | r3alst/ordered-hashmap | LICENCE |
nfsserve |
0.11.0 | BSD-3-Clause | huggingface/nfsserve via Turso agentfs | LICENSE |
Dependency shape:
xai-grok-mermaid
└── mermaid-to-svg (MIT)
├── dagre_rust (Apache-2.0)
│ ├── graphlib_rust
│ └── ordered_hashmap
└── graphlib_rust (Apache-2.0)
└── ordered_hashmap
Notices and ancestry
NOTICE— short index of the crates above (names, licenses, upstream links, paths to full text). Prefer that file for a one-page overview.mermaid-to-svg/THIRD_PARTY_NOTICES— additional ancestry for the SVG engine (e.g. mermaid.js, dagre.js MIT notices).
British spelling LICENCE is intentional on the Apache crates (as upstream
vendored); grepping only for LICENSE will miss them.
crates.io dependencies
Normal Cargo dependencies (tokio, serde, …) are not under third_party/.
They resolve via Cargo.lock / crates.io. Full attribution and license texts
for the Grok CLI dependency closure are maintained in
THIRD-PARTY-NOTICES.
This directory is only for in-tree vendored sources.
Upgrading
- Read the
VENDORING NOTESblock at the top of the crate’sCargo.toml. - Re-apply listed local patches (fmt, hermetic env, unsafe fixes, dropped bins/tests).
- Confirm the license file still matches the declared
license =field. - Refresh
NOTICEif versions or upstream URLs change.