Repository navigation
Releases
Releases · MiscomLab/codechart
v1.2.0
Changed
.codechart.yamlmap rules acceptlang: prismaandlang: tsx. A pattern'slangnames the grammar it runs with:typescriptis.ts,.mtsand.ctsonly,tsxis.tsx, andjavascriptincludes.jsx. (Configuration)@codechart/core0.9.0 reads Prisma schemas (models, enums, views, composite types, and relations with the side that holds the foreign key) and runs tree-sitter patterns such asmap.rulespatterns, each set with its own 500 ms limit per file, for the coming desktop app's map. The CLI doesn't use it yet. The package is 1.68 MB to download.
v1.1.0
New
.codechart.yamltakes amap:section for the coming desktop app's map:rulesthat turn globs or tree-sitter patterns into an entity kind (table,model,service,endpoint,component,config), a box, or nothing (ignore); plain-textguidancefor the model that names boxes; andpinnednames for boxes (a rule's box, or a folder asfolder: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/core0.7.0 defines it, withwritePinned, 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/core0.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
.tplfile passes when the template calls one of its named templates withinclude "name"ortemplate "name", as_helpers.tplis normally used. (#95)
v1.0.2
New
.codechart.yamltakes anignorelist of paths, such asgenerated/**, for the coming codechart desktop app's live map to leave out. Add it to your repo now and the app will use it.
Changed
- codechart's engine is now its own open-source package,
@codechart/core(MIT), shared with the desktop app. Maps, flows and checks work as before.
v1.0.1
Changed
- codechart moved to github.com/MiscomLab/codechart. Old links redirect. With the skills CLI, use
npx skills add MiscomLab/codechart.
v1.0.0
1.0: stable. Change maps, flows, explain maps, business pages, release maps and PR maps, all checked against your code.
New
- Explain map: ask your agent how an existing area works ("explain how billing works", "onboard me on checkout") and get a map of the code as it is, each box checked against your code.
- Explain maps have a Flows tab: up to five main behaviours of the area, step by step, each step on its line of code and linked to the box it happens in.
- Side by side on an explain map puts the components next to a flow: click a step and its box lights up, click a box and its steps light up. See Explain map.
- Business page of how something works today, for a product owner, QA or support: who does what, every yes and no branch, rules, odd cases and saved data. Built from the area's explain map; read-only.
- Each kind of map box has its own outline and icon: an endpoint is a pill (⇄), a table has column ticks (▤), config is a tag (⚑), a file has a folded corner (≡). Colour still means only the status.
- Every map box and explain node has a short summary of what it does, at the top of its panel and inside the box.
- A Not on map entry that names paths and says why they are left out is drawn as a dashed omitted box in its area; its panel lists the changed files it covers.
Changed
- For a repo host other than github.com or gitlab.com,
ghandglabget no token variables (GH_TOKEN,GITLAB_TOKEN…): log in once withgh auth login --hostnameorglab auth login --hostname. - Usage errors exit with code 2, other failures with 1: a bad flag value (unknown commit or agent), a flag on the wrong kind of map (
--giton an explain map,--pron a business map). - Conflicting flags are refused with exit 2:
doctor --fix --last,update --check --skills-only,comment --sidewithout a line,feedback --import --copywithout--take. install-skilloutside a terminal without--agentinstalls only the skill and prints the flags that add the reminder line, Claude Code hook and OpenCode plugin; it used to add them all.setup-pr-maps --prasks before it goes online or runs your git transport config. The GitHub workflow it writes pinsactions/checkoutandactions/setup-nodeto exact commits.- The map check compares each new, changed and removed box with git's added, modified, deleted or renamed status, and warns, without failing, when a listed field or arrow isn't in the code.
- The check line in the terminal, the page header and PR or MR descriptions says how many boxes could not be checked:
✓ 10 nodes checked against the code · 2 not checkable. - Release maps say Before and Now with New and Changed badges; a feature of up to three cards moves to the next page whole; file names start with the version, like
v2-0-0--<title>.
Fixed
- On Windows, the
gh,glab,powershellandopencodecommands codechart runs are looked up on PATH first, so a file inside your repo can't stand in for one of them. setup-pr-mapswon't write through a symlinked.githubor.github/workflowsor use a remote URL with escape characters; it anddoctor --laststrip control characters from repo text.- Flow steps and map boxes that point at a secret-looking file (like
.env) show "not shown: looks like a secret" instead of the line. - The map section in a PR or MR description handles file names with blank lines or escape characters safely.
--mdoutput for business and release maps keeps the page title inside the code block, so image Markdown or HTML in a title no longer shows up in chat.- A note of several lines keeps all of them after
codechart review; a later line that looked like a diff row could move the note to another line. - Saving a map no longer loses a note added with
codechart commentat the same moment. - Two hook runs at the same moment no longer lose a turn's snapshot, and the hook no longer hangs when the transcript path is a pipe.
- Importing page notes: a note on an item with a colon in its text keeps its own words, a line starting with
>keeps its>, and a note on a long flow gap no longer marks the review damaged. - The map check no longer warns about Terraform nested blocks, references like
module.vpcorvar.x, Go packages,indexfiles or two boxes in one file, and accepts the other box's name. - Plan vs built no longer says "built in another file" when only the path is spelled differently (
src\db.ts,./src/db.ts, or relative to where you ran it). - The "did you mean" hint for a flow step's missing file also offers files not yet added to git, and works for an anchor written Windows-style (
src\b.py:2). - The page's check line keeps each claim's colour: a green ✓ next to a red ✗, amber warnings, a muted
diff not checked. A box whose path is outside the repo is labelled "outside the repo". --gitsees renames even when your git config turns rename detection off.- A path rule's
context: shortwins overdefaults.context: fullwhen it is the only rule that fired. render --techno longer accepts an explain map for a business page of a change; it says a change map is needed.- The map image in a PR or MR description no longer shows the page's review tick boxes.
setup-pr-maps --prrun again before the setup request is merged links that request; on GitLab, astages:list withouttestputs the job in your first stage, so the file stays valid.release-contextkeeps the PR text it read when a(#N)isn't a PR; after a timeout it stops and says which PRs were not read. On Windows a missingghorglabis reported as not installed.release-contextwith no tag before the release commit lists every commit, for a first release. Tags not starting withvor a shallow clone get a message saying what to do.- Clearer errors: a damaged review file says what to do; an unwritable output folder names the setting;
install-skill --dirsays why it can't create the folder; a failed push or fetch gives git's reason. - Clearer input errors: a missing spec file says "no such file", an empty stdin says to pipe the spec in,
check --since/--headsay "is not a commit", a missingrelease.browserpath is named. feedback --importreads the clipboard when stdin is an empty file or/dev/null, instead of failing with "No codechart review found".uninstallalso removes copies installed withinstall-skill --dir; withXDG_CONFIG_HOMEset, OpenCode's skill, reminder line and plugin stay together under$XDG_CONFIG_HOME/opencode.- A stalled network connection no longer keeps codechart running for 10 seconds or more after the update check times out.
v0.9.0
New
- Release map: ask your agent for a PDF of what's new in a release, a plain-words section per feature for sales and stakeholders, with only facts checked in the code.
- The PDF is printed with the Chrome, Chromium, Edge or Brave you already have; without one you get the page to Save as PDF yourself.
- On a release branch (
v1.2.0,release-1.2.0,release/1.2) the agent offers a release map. Setrelease.auto: drawto have it made once per version. - Your product name and logo on the cover:
release.productandrelease.logoin the config. codechart release-contextlists what was merged since the lastv*tag, with each PR's text and map, for the agent writing the release map.
v0.8.0
New
- Business map: ask your agent for a plain-words page of a change for a product owner with no repo access: journeys today and after, rules before and after, saved data, questions.
- The owner answers, says Yes or No to the agent's guesses, adds notes and presses Send back to developer, even days later; paste the text to your agent.
- Review on the page: comment on any node, diff line or arrow, ask a question or ask for a deletion. Finish review copies your notes; paste them into your agent chat.
- Review in the terminal:
codechart reviewopens the map in your editor as a diff. Write notes under any line, save, and tell your agent "review done". - Plan vs built: when the work is done, the summary is compared with the saved plan. What was dropped, added or built differently is marked, each with the agent's reason.
codechart render --tech <spec.json>names the technical map a business map links to;codechart schema --businessprints the business map format.
Fixed
- Plan vs built no longer compares an old plan with later, unrelated summaries on the same branch.
Changed
- README is shorter, with a features table; details moved to pages under docs.
v0.7.0
New
- HTML: Focus button (◎, or
f) zooms in on the node you are reviewing and centres it; that node now has a soft blue glow so you can tell it from its lit neighbours. - HTML diffs: long runs of unchanged lines fold into "⋯ N unchanged lines" (click to open), and "⋯ N lines not in the diff" marks code between hunks.
Changed
- HTML diffs look like GitHub's: full-row red/green tints, line numbers, a quiet header per hunk. Every hunk starts collapsed.
- HTML: the Light/Full switch from 0.6.0 is gone; every page shows the full diff.
- HTML panel: the review tickbox sits left of the node title, the file path shows once, and relations are two columns (← Used by, Uses →).
- HTML header: the build time reads like
6 Nov 2026, 19:44.
v0.6.0
New
- HTML: Light/Full switch in the header, remembered per browser. Light keeps the short diff preview; Full shows every change of a node so you can review without going back to your IDE.
- HTML Full: hunks are foldable per file, with a
‹ 4 / 7 ›stepper,+ all/− all; keysn/phunk,]/[unreviewed node,rreviewed,o/Ofold,?help. - HTML: review ticks, the
Reviewedbox and thex/y reviewedbar now live in Full mode.
Changed
- Lockfiles, minified bundles,
dist/and files markedlinguist-generatedshow "generated file, not shown" instead of their diff. Full mode shows up to 1000 lines per file. - HTML diffs: the
+/−sign has its own column and long lines wrap under the code, keeping their indent.
v0.5.0
New
codechart doctorchecks your setup for each agent (skill, reminder line, Stop hook, OpenCode plugin, CLI version);--fixrepairs what's broken,--lastexplains why the last turn got no diagram.- OpenCode plugin: OpenCode 2 now gets the same "3+ files changed and no map" nudge as Claude Code.
install-skilladds it,--no-pluginskips it. - HTML: selecting a node lights up its neighbours and dims the rest; the side panel lists its relations, each one a link.
- HTML: status chips under the header are the legend and a filter; click one to fade that status,
Δ changes onlyfades unchanged nodes. - HTML: tick nodes as reviewed, with an
x/y reviewedcount andNext ▸; ticks are kept per browser and reset when a node's diff changes.