You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New
.codechart.yaml takes a map: section for the coming desktop app's map: rules that turn globs or tree-sitter patterns into an entity kind (table, model, service, endpoint, component, config), a box, or nothing (ignore); plain-text guidance for the model that names boxes; and pinned names for boxes (a rule's box, or a folder as folder:src/payments) and nodes. It is read only from the repo's file; in the global config it is ignored with a warning. The CLI doesn't use it yet. @codechart/core 0.7.0 defines it, with writePinned, which writes the pinned names sorted by id and leaves the rest of the file as it was. (Configuration)
Changed
A config or spec error about a key that holds control or invisible characters (a line break, a bidi override) shows that key quoted and escaped ("a\u202eb"), so the error stays on one line and reads as written.
@codechart/core 0.7.0 reads a repo's code for the coming desktop app's live map: TypeScript, JavaScript and Python symbols, imports and calls, plus SQL tables, GitHub Actions jobs, docker-compose services, npm scripts, Bash functions and the files HTML, CSS, workflows and scripts reference. Anything it can't prove stays unknown. The CLI doesn't use it yet. It ships its language grammars, so the package is now 1.66 MB to download (19 MB unpacked).
Fixed
A map arrow's check no longer counts a comment as a mention of the other box: a file name or label that appears only in a comment (or a Python docstring) now gets the "no mention" warning, in the languages codechart knows; other files are read as before. Field checks are unchanged. (#95)
An arrow from a Helm template to a .tpl file passes when the template calls one of its named templates with include "name" or template "name", as _helpers.tpl is normally used. (#95)