docs: enrich module docs with binary analysis cross-references

This commit is contained in:
Nikketryhard
2026-02-14 04:20:57 -06:00
parent 932214fd95
commit 7f5a0f51d3
3 changed files with 21 additions and 0 deletions

View File

@@ -1,4 +1,10 @@
//! Model definitions and lookup.
//!
//! Maps our user-friendly model names to internal Antigravity identifiers.
//! The `model_enum` values are protobuf enum numbers extracted from extension.js:
//! placeholder models use 1000+N (e.g. M26→1026), while named models like
//! `MODEL_CLAUDE_4_OPUS` have their own enum values (e.g. 290).
//! See `docs/ls-binary-analysis.md` for the full enum mapping.
/// Model definition: friendly name → (antigravity_id, protobuf_enum, label).
pub(crate) struct ModelDef {