Conversation
Adds Flutter-critical languages (Kotlin, Swift, Objective-C) plus common gaps (C++ variants, C#, Ruby, PHP, Lua, Vue, Svelte, HTML, Protobuf, GraphQL, Terraform, shell variants) to both extension sets. Also brings src/tracker/token-estimator.ts CODE_EXTS back in sync with src/scanner/anatomy-scanner.ts CODE_EXTENSIONS — the two sets had drifted apart since only CODE_EXTENSIONS gets the .dart addition from cytostack#10. Adds a one-line "Keep in sync with ..." comment above each so future additions hit both places. These sets control the chars-per-token ratio (3.5 for code vs 3.75 fallback) used by estimateTokens; the net effect is ~7% more accurate token accounting in anatomy.md and detectContentType() consumers for projects written in these languages.
|
Hey @levnikmyskin — thanks for catching this, the Dart omission genuinely bugged me too (I work in Flutter, so my anatomy scans were quietly under-counting my whole Heads up that I just opened a stacked follow-up on top of your commit that pulls in the rest of the Flutter toolchain ( One thing I noticed while writing it: there's actually a second near-identical extension set at If you'd rather fold that fix into #10 directly and keep ownership of the full change, happy to close my follow-up — just let me know. Otherwise I'll leave it stacked so both commits land together. |
Hi!
I'm simply adding support for the dart language