diff --git a/.github/workflows/pinable-desktop-runtime.yml b/.github/workflows/pinable-desktop-runtime.yml index 3c1cdf787f..b5397946bc 100644 --- a/.github/workflows/pinable-desktop-runtime.yml +++ b/.github/workflows/pinable-desktop-runtime.yml @@ -1,6 +1,10 @@ name: Pinable desktop runtimes on: + push: + branches: [main] + pull_request: + branches: [main] workflow_dispatch: {} permissions: @@ -32,7 +36,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v6 with: - node-version: '24.21.0' + node-version: '24.23.0' cache: npm - uses: actions/setup-python@v6 with: @@ -195,8 +199,8 @@ jobs: publish: needs: collect - # Opt back in only after Desktop can migrate from the legacy 1.6.5 release. - if: ${{ false }} + # Publish only after the full release set is verified on the fork's main branch. + if: ${{ github.repository == 'PinableAgents/codegraph' && github.ref == 'refs/heads/main' && github.event_name == 'push' }} runs-on: ubuntu-22.04 timeout-minutes: 15 permissions: diff --git a/.pinable/runtime.json b/.pinable/runtime.json index 020c2e5578..262717a69a 100644 --- a/.pinable/runtime.json +++ b/.pinable/runtime.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, - "nodeVersion": "v24.21.0", + "nodeVersion": "v24.23.0", "releasePrefix": "pinable-runtime-v", "targets": ["darwin-arm64", "darwin-x64", "linux-x64", "linux-arm64", "win32-x64", "win32-arm64"] } diff --git a/AGENTS.md b/AGENTS.md index 3185f27718..eb102b1e62 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -155,6 +155,9 @@ Two functions in `src/mcp/tools.ts` scale explore with indexed file count. This - `getExploreBudget(fileCount)` → **call** budget: `<500→1, <5000→2, <15000→3, <25000→4, ≥25000→5` (max 5). - `getExploreOutputBudget(fileCount)` → **per-call** output (chars / files / per-file). **Invariant: a larger tier must never get a smaller `maxCharsPerFile` than a smaller tier.** (Regression that motivated this doc: the `<5000` tier's 2500 was *below* the `<500` tier's 3800, so on a god-file repo — excalidraw's 415 KB `App.tsx` — one explore returned <1% of the file and forced a Read.) - Explore output must **never tell the agent to "use Read"** — steer to another `codegraph_explore` and "treat returned source as already Read." +- **A query anchored on named symbols is sized to the code it names, not to the tier** (`sizedToNamedSymbols` in `tools.ts`, `namedSymbolAnchors` in `explore-one-symbol.ts`). Anchors are the query's tokens written like code (a capital, digit, underscore or qualifier) that the index defines once to three times; two to eight of them make the query anchored, whatever else it holds (words for what is wanted of them, a name the index lacks, an overloaded name). The budget is the answer's frame (2,500 characters once it is framed lean), the anchors' own source, and as much again for the code around them, never less than 4,000; the tier's budget is the ceiling, so it stays monotonic with repo size. The same queries have their words matched as exact names and no other way (`exactNamesOnly`): no stems, no text search, no camelCase parts, which is what brought a C++ `Call` into an answer about `goValueIsCall`. Measured on agents fixing issues here: four helpers of 58 lines came back as 483 lines, and of 57 questions those agents asked, 43 named two or more symbols and almost every answer was the tier's 25,000 characters; they asked explore two or three times a run and made the other lookups with grep. Everything else keeps the tier's budget and the word search: one name (its own answer, #3407), one name among other words, no name written like code, a pinned file or line. Two traps met while building it: sized without the frame, two ten-line functions were left 500 characters for their own file; and searching by the anchors alone, instead of matching every word as an exact name, dropped the overloaded names a flow runs through. A test of the allocator at the tier's ceiling that queries with names sets `CODEGRAPH_EXPLORE_NAMED_SIZING=0`, as `explore-allocation-e2e.test.ts` and `explore-displacement-guard.test.ts` do. **What the sizing must never cost is a definition the query named**, and before the first release it did: over a project for each language, framework, router and bridge in the README and three real codebases (484 sets of questions, 1,033 of them naming two to eight of a project's own symbols) the sized answer had lost a definition the unsized one showed in 173, and 92 came back as "No relevant code found". Five causes, each now closed and each a shape in `explore-named-sizing.test.ts`: (1) the patterns that read names out of a query (`extractSymbolsFromQuery`) do not read a capitalised name with a digit in it (`Thing0`, `MEMBER_191`, `sha256Hex`), and with the word search off nothing else looked one up, so every token written like code is handed to the search as an exact name (`exactNames`) and the anchors' definitions are put in the answer whether or not the search reached them; (2) a container that is more than half its file is dropped from the ranges like any envelope, so a named one keeps its opening three lines (`NAMED_ENVELOPE_OPENING_LINES`); (3) a Scala `object`, a Pascal unit and a COBOL program are `module` nodes, which a one-symbol answer leaves to the general path, so an anchored query takes `module` and `namespace` for names too (`ANCHOR_KINDS`); (4) a lowercase word the index defines is a name once the query is anchored by two written like code (`parseToken expire_token validate`), unless it is a question's own word (`QUESTION_WORDS`: a function named `use` is not asked for by "how does A use B"); (5) a file a named symbol is defined in is part of the answer whatever its rank (`anchorFiles`: kept past the score floor and the relevance gate, sorted ahead of all but a pinned file, never cliffed, and the default file count raised to hold them), because eight names in eight files had three left out by the tier's five-file default, in the general answer as well. **Never the file of a config key** (`isConfigLeafNode`, #383): a key in a properties or YAML file is a symbol a query can name, and its line is `key = `. The first version of (5) kept every anchor's file and printed a password for a query that named its key; the engine's own `config-secret-redaction.test.ts` caught it, on a full run of the suite and not on the tests of the files touched. The render loop now refuses any file that holds a config key, whatever brought it there. Run the whole suite on every round of a change to explore, not once at the end. Behind all five is one check made on the finished answer (`namedSymbolsShown`): if the first line of a named definition is neither in it nor already held by the session, the query is answered again with the sizing off, and that answer is returned when it shows a named definition the sized one does not. Where it shows no more of what was named, the smaller answer stands: a longer answer missing the same definitions is worse, and returning it whenever anything was missing sent a quarter of the questions about real code back to the tier's ceiling for nothing. So the sizing can make an answer smaller and cannot lose a named definition the general path shows. Measured after all five: of the 1,033 questions none lost a definition, none came back empty, 4,080 of 4,184 names were shown where the release showed 3,622, answers averaged 25% shorter than the release's (35% on the three real codebases), the second pass ran for 49 and its answer was returned for 7. When you change what an anchored query gathers or how its file budget is spent, run the sweep again rather than trusting the unit tests: every one of these losses was in a shape nobody had thought to write a test for, and two of the five were found only on real code. +- **A host can cap explore's answer: `CODEGRAPH_EXPLORE_MAX_CHARS`** (`cappedExploreBudget`). The tiers are sized for an agent that answers a question from one or two explore calls and reads nothing else. An agent that edits code asks about three times a run and pays for each answer again on every later turn: measured on such agents, their answers at the tier's ceiling brought in four times the text they saved in file reads, and of 57 questions they asked only the ones naming short symbols came back smaller under the rule above. Held to 8,000, the same 57 answers are 57% less text. The cap is the budget an answer is built to, not the longest its text can be: the hard ceiling is half again above any budget, and at a cap of 8,000 over three real projects 85% of 579 answers were past 8,000 characters and none past 12,000. Say so wherever the cap is described; a host that needs a hard limit sets two thirds of it. The default is unchanged, because the README benchmarks were measured with it; a host that pays by the token of context sets the cap. Never below 6,000, never above the tier. +- **An answer under 18,000 characters is framed as the small tiers frame theirs** (`LEAN_FRAME_BELOW_CHARS`): no relationships section, no list of further files, no advisory note on call counts, which together are a third of a 9,000-character answer. The completeness note stays at every size; `explore-completeness-note.test.ts` fails if it is dropped. ### Dynamic-dispatch coverage — the flow must EXIST in the graph end-to-end @@ -190,6 +193,17 @@ Every engine test file runs in a throwaway home dir (`__tests__/setup-home-sandb Behavior that differs by platform (path resolution, drive letters, `SENSITIVE_PATHS`, `%APPDATA%` config dirs, CRLF) must be gated, not assumed. Use `it.runIf(process.platform === 'win32')(...)` for Windows-only assertions and `it.runIf(process.platform !== 'win32')(...)` for POSIX-only ones — e.g. `/etc` is sensitive on POSIX but resolves to `C:\etc` (non-existent) on Windows, so an ungated `/etc` assertion fails on Windows. Validate the Windows side for real (see below); don't merge a Windows-gated test you haven't seen run. +## Indexing cost grows with the file's size (do not regress) + +**Indexing a file costs in proportion to its size: about a second a megabyte.** Nothing done for one symbol, reference, route or match may read the whole file, all of the file's nodes, all of its imports, or everything before it. That one shape, in about forty places across the kernel, the wasm extractor, the resolver and the framework passes, made a megabyte take from half a minute to several minutes and left large files with no symbols. Each instance looks like ordinary code and is fine at 300 lines. + +**Before changing or reviewing a loop in `src/extraction/`, `src/resolution/` or `codegraph-kernel/`, and before answering an issue about slow indexing, a hang, or a file with no symbols, read `docs/design/large-file-performance.md`.** It lists what to look for in a diff and what to write instead, how to measure, and how to prove a fix. In short: + +- **Use the lookups, not a pass over the file:** `lineAt` / `linesOf` / `firstIndexOfEach` (`resolution/synth-utils.ts`), `nodesAroundLine` / `nodesNamed` (`resolution/nodes-around.ts`), `importsBoundTo` and its siblings (`resolution/import-lookup.ts`), `childrenOf` / `namedChildrenOf` or `node.namedChildren` in place of `node.child(i)` in a loop, `pushAll` / `maxOf` in place of spreading a file-sized list. +- **Measure** with `scripts/benchmarks/large-files/` at 0.3, 1.2 and 3.9 MB, with the kernel and with `CODEGRAPH_KERNEL=0`: four times the size must cost about four times the time. Start from the README's language, framework and bridge tables, not from the list of parsers; a new one gets a case. +- **A speed fix leaves the graph identical:** `scripts/benchmarks/large-files/compare-graphs.mjs `, with both parsers. A change in what is read goes in its own pull request. +- **Tests:** `__tests__/large-file-{indexing,frameworks,lookups}.test.ts` and `kernel-large-file-parity.test.ts`. Each case bounds the time and asserts something the faster path could get wrong. + ## Cross-platform validation The dev machine — and the default `npm test` target — is **macOS**, so local runs cover the macOS path. The other two platforms aren't here; when a change is platform-sensitive (file watching, sockets / named pipes, path & symlink handling, process lifecycle, inotify budget) validate them for real rather than guessing. @@ -290,5 +304,6 @@ publish actions on shared state. Write the files, hand the user the commands. - The **last released version** — `grep -m1 '^## \[' CHANGELOG.md` shows the top-of-file version (older releases follow). A comment dated before the latest `## [X.Y.Z] - YYYY-MM-DD` is reacting to *released* state — work that's only on `main` or on an unmerged branch doesn't apply. - The **last main commit** — `git log --first-parent main -1 --format='%ai %h %s'`. A comment after the last release but before a fix on main may already be addressed there but unreleased. - The **current branch's tip** — your own unmerged work obviously can't be what the comment is reacting to. - Always disambiguate "released," "merged-but-unreleased," and "in-progress" before agreeing that a user-reported problem is unfixed (or that a fix is incomplete). A user saying "your fix only covers X" about a recent PR is usually pointing at the *released* shortcomings — your in-flight branch may already address them but they have no way to know that. + Always disambiguate "released," "merged-but-unreleased," and "in-progress" before agreeing that a user-reported problem is unfixed (or that a fix is incomplete). **And before saying a report is fixed, run what it reports.** A release that fixed the same kind of fault has not fixed this one until the reporter's own file, command or query says so: #3501 (a minified bundle that hung indexing) was answered "patched in 1.6.5" from that release's notes, and the bundle took 36 seconds on 1.6.5 where it had taken 39. A user saying "your fix only covers X" about a recent PR is usually pointing at the *released* shortcomings — your in-flight branch may already address them but they have no way to know that. +- **Run the regression gate (`npm run gate`, `scripts/regression/`) before you open a pull request, before you say someone else's is safe to merge, and before a release. Nothing runs it for you:** the maintainer chose not to have it run on every pull request (2026-11-29), so it is run by hand, by him or by the agent doing the work, and the pull request says that it was run and what it said. It exists because a suite someone runs by hand passed two regressions in a month: #3362 was a fix to which event reaches which listener, validated for accuracy on six real projects and for speed on two, all hand-written, and it made a minified bundle take 37 seconds (#3501, shipped in 1.6.4); #3514 sized an answer to the symbols a query names and lost them in 173 of 1,033 questions (caught before release, by hand). Neither was a careless change. Each was validated on the inputs its author thought of, and the fault was in an input nobody thought of. So: (1) a change is checked against a fixed set of projects it did not choose, every time, with one command; (2) every report that names a public file adds that file to the gate's `REAL_FILES`, because a reported file has the shape nobody generated; (3) `expected.json` is updated only when the new result is the one wanted and the pull request says why, never to make a failure go away; (4) a change described as a speed fix or a refactor that moves the GRAPH check is wrong until shown otherwise. The gate says a graph changed, not that it is right: `npm test` holds what is right, and the explore-answer sweep and the agent comparison are still run by hand before a release. - **Version-tag every image referenced in `README.md`.** GitHub caches README images (`raw.githubusercontent.com` with a 5-minute TTL; third-party hosts sit behind the long-lived camo proxy), so updating an asset in place can keep showing the stale version. Give each README image URL a `?v=N` query tag and **bump `N` in the same commit whenever the asset bytes change** — e.g. `assets/waitlist.svg?v=2`. The changed URL sidesteps every cache so the new image shows immediately instead of waiting on a TTL to expire. diff --git a/CHANGELOG.md b/CHANGELOG.md index adcc3f8dbc..b21284a9aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,112 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [1.6.7] - 2026-11-30 + +### Highlights + +- **Codex CLI gets CodeGraph context on your prompt.** `codegraph install` now offers Codex the prompt hook Claude Code has: ask how something works or what a change affects, and Codex is handed the relevant code before it picks a tool. Open Codex and type `/hooks` once after installing to review it. +- **Settings and translation keys can be found.** In JavaScript and TypeScript, a field of an object is found by its name, by a word of its name, or by the comment above it, and `codegraph_explore` answers with the lines around it. This holds for a `const`, a default export, `module.exports`, an object handed to a call such as `defineConfig({…})`, and a class property. These used to answer "No relevant code found" for code that was there. +- **A setting is shown beside the code that uses it.** Ask `session idle` and you get the function and the `sessionIdleMinutes` setting, where you used to get the function alone. +- **Quicker answers about very large classes and objects.** A question that lands on a class of 10,000 methods is answered in about a third of the time. +- **A slow tool call says what it was doing.** A "busy" answer now tells you whether the call was waiting for a free worker or had been running the whole time, and the server's log records where a slow call's time went. +- **Upgrading:** re-index your projects with `codegraph index` after this release. Fields become findable when a project's files are indexed again. + +### New Features + +- Codex CLI can get CodeGraph context on your prompt, as Claude Code does. With Codex chosen, `codegraph install` offers a prompt hook: when you ask how something works, where it is or what a change affects, Codex is given the relevant code from your index before it picks its first tool. Codex runs a new hook only after you have reviewed it, so open Codex and type `/hooks` once after installing. Your other Codex hooks are kept, and `codegraph uninstall` removes only this one. Thanks @flipcyde101 for the request and a first implementation. (#3335) + +### Fixes + +- In JavaScript and TypeScript, a field of a settings-style object can now be found: by its name, by a word of its name, and by the comment above it. CodeGraph kept only the first 100 characters of such an object for search, so asking for a field written further down, or for a word of its comment, answered "No relevant code found" for code that was there. `codegraph_explore` now answers with the lines around the field, nested objects included, through `as const` and `satisfies`. The object can be a `const`, a default export (`export default {…}`, as a file of messages is written), `module.exports = {…}`, an object handed to a call (`export default defineConfig({…})`, `defineStore('cart', {…})`), or a property of a class. It also shows the field beside a function your question matches when the question names the field or says two words of its name, where it used to show the function alone, and does the same for a class property or an interface member the question names (`BATCH_SIZES`). `codegraph_search` and `codegraph query` list the field with its file and line, and `codegraph_node` shows it. A field with a comment is a symbol in the index (`SETTINGS.sessionIdleMinutes`). One without is found from a list of names kept with its object, which costs about 25 bytes a field where a symbol costs a thousand. `codegraph_explore` also finds an interface member or a class field by a word of its comment when nothing else matches. Run `codegraph index` to pick this up in a project indexed earlier. Thanks @easonlao for the report and @danusha2345 for a first implementation. (#3408) +- `codegraph_explore` no longer reads every member of a very large class or object to answer a question that lands on it. Walking out from a match, it read all of a declaration's members and kept a handful: the lookup behind a question that landed on a class of 10,000 methods took 59 ms and now takes 21. The answers are the same. (#3408) +- A long value cut short for display no longer ends in half a character. A constant shows the first 100 characters of its value. When the cut fell in the middle of an emoji, one of CodeGraph's two extractors kept half of it, which is stored as a replacement mark, and the other dropped it and left out the `...` that says the value goes on, so the same file could be indexed two ways. Both now stop before the character and mark the cut. This holds for every length-limited value in every language. (#3408) +- The CodeGraph server's query workers now open the index read-only. They opened it for writing, so a worker that started while an index was being built or rebuilt could "repair" it part way through: rebuild the search table and put back indexes the build had set aside for speed. Repairs are the writer's job, and stay with it. (#3286) +- When a tool call such as `codegraph_explore` is answered "busy" after 45 seconds, the message now says which it was: the call was still waiting for a free worker, or a worker had been running it all that time. It used to say "waited in the queue" for both, which sent people looking for traffic when the query itself was slow. The server's log (`.codegraph/daemon.log`) also gets one line for any call slower than 10 seconds, with how long it waited and how long it ran, and one when a call finishes after its caller stopped waiting. A tool's name is logged, never its arguments. Thanks @shenyiheyi for the report and the measurements. (#3286) + +## [1.6.6] - 2026-11-30 + +### Highlights + +- **Indexing no longer stops on ordinary code.** A common Kotlin pattern ended the whole index build with "Maximum call stack size exceeded", and a minified JavaScript file that registers event listeners could stall it for minutes. +- **`codegraph upgrade` works from PowerShell 7 on Windows.** It downloaded the new version and then failed to unpack it. If you are on 1.6.5 or older, run this one upgrade from Windows PowerShell or `cmd`: the fix is in the version you are upgrading to. +- **Answers stay on what you asked for.** `codegraph_explore` asked about two or more symbols answers with those symbols and the code around them, and a question about one symbol no longer lists lines that only read a field of the same name. +- **Express apps get their routes whatever the router is called.** Routes were found only on a variable named `app` or `router`. +- **Preact, Solid and Vue JSX components are no longer missing.** An element with `class="…"` or `for="…"` made the component around it disappear from the graph without a warning. +- **Objective-C++ is read as two languages.** The C++ in a `.mm` file is read as C++, so its classes, methods and callers are there. +- **More accurate links in TypeScript, Python, Rust and Go.** Calls reach the method they mean in more cases, and fewer land on an unrelated symbol that only shares a name. +- **Safer in shared and scripted setups.** Starting a second build while one is running no longer damages the index, a git worktree beside its repository is no longer indexed twice, and tests link to Python code in the folders a project declares for pytest or Pyright. +- **Telemetry tells people from machines.** One new true/false field says whether CodeGraph is running inside a container, more CI systems are recognised as CI, and a build run from a source checkout sends nothing at all. `TELEMETRY.md` lists the new field, and turning telemetry off works as before. +- **Upgrading:** re-index your projects with `codegraph index` after this release. Most of these fixes are written while indexing. + +### New Features + +- `CODEGRAPH_EXPLORE_MAX_CHARS` sets a smaller size for a `codegraph_explore` answer, for a host whose agents ask often and pay for every answer on each later turn. It is the size an answer is built to: the finished text can be up to one and a half times that number (12,000 characters for 8,000). The default answer size is unchanged. + +### Fixes + +#### Setup and the CLI + +- A development build no longer sends telemetry. CodeGraph run from a source checkout (a clone of this repository) recorded and sent usage like a release, and each run in a fresh home folder, such as a test sandbox or an agent's scratch directory, was counted as a machine never seen before. `codegraph telemetry status` says "development build" there, and `CODEGRAPH_TELEMETRY=1` switches one on to test telemetry itself. The npm package and the release bundles are unchanged. +- Telemetry now says whether CodeGraph is running inside a container or a cloud workspace (Docker, Podman, Kubernetes, Codespaces, Gitpod, a dev container), as one true/false field named `container`, and recognises CI systems that do not set `CI` (Jenkins, TeamCity, Azure Pipelines and others). A fresh container starts with an empty home folder and so a new anonymous machine id, and the usage numbers counted each one as a machine never seen before. Nothing about the container is read or sent beyond whether there is one. `TELEMETRY.md` lists the field, and turning telemetry off works as before. +- The prompt hook reaches the project's running daemon again under a umask of `0002`, the default on Ubuntu. `.codegraph/` is group-writable there, the hook refuses a socket in such a folder, and the daemon kept binding one in it; it now binds the temp-directory socket, which the hook accepts. Thanks @inth3shadows for the report. (#3417) +- On Windows, `codegraph upgrade` works again when CodeGraph was started from a PowerShell 7 window, or by an agent running in one. It downloaded the new version and then failed to unpack it, leaving the old version in place, with the real error buried under megabytes of progress output. `install.ps1` started that way is fixed too. Thanks @lifei6671 and @satorkain for the reports. (#3436, #3502) + +#### Answers from `codegraph_explore` + +- `codegraph_explore` asked for a dotted name such as `res.send` no longer answers with only a test's mock of it when the project defines that function itself. Thanks @inth3shadows for the report. (#3428) +- `codegraph_explore` asked about one function, class or constant no longer lists a line that only reads an attribute or a field spelled the same (`self.prompt` for a function `prompt`, `box.MAX_ITEMS` for a constant `MAX_ITEMS`) under "Used by", or counts it in "N sites depend on it". Thanks @inth3shadows for the report. (#3431) +- `codegraph_explore` and `codegraph explore` answer a query that names two or more symbols with those symbols and the code around them, sized to what was named, instead of filling the whole answer with code that only shares a word with the names. Words beside the names no longer widen the search. A symbol the query names is never left out to make the answer smaller: every file one is defined in has a place in the answer, and where the smaller answer still cannot show one that the full-size answer does, you get the full-size answer. `CODEGRAPH_EXPLORE_NAMED_SIZING=0` restores the old answer for every query. + +#### Indexing and sync + +- Indexing no longer stalls on a minified JavaScript file that registers event listeners, such as a vendored build of echarts. A project with a folder of such bundles could spend minutes on each one, or be stopped as unresponsive. Thanks @jerryskyr for the report. (#3501) +- `codegraph init` and `codegraph sync` no longer hang on a named pipe (FIFO) that has the name of a file CodeGraph reads, such as `package.json`, `.gitignore`, `go.mod`, `tsconfig.json` or `codegraph.json`. It is skipped like a file that can't be read and is never written to; a link to a regular file is still read. Thanks @inth3shadows for the report. (#3308) +- Running `codegraph index` while `codegraph init` is still building that project's index no longer breaks the first build: `index` reports the lock and stops before it touches the database, so `init` finishes with a complete index instead of failing and leaving an empty one. Thanks @jonjomckay for the report and the fix. (#3494) +- A linked git worktree is no longer indexed as duplicate code when the indexed folder is not itself a git repository, such as a folder holding several repos with `git worktree add ../-` beside them. The watcher and scoped syncs also skip a worktree made while the daemon runs. Worktree files an earlier version indexed leave the index at the next full sync. Thanks @mrobst for the report. (#3495) + +#### JavaScript, TypeScript, Vue, Svelte and Astro + +- TypeScript's variance annotations on a type parameter (`interface Effect`, `class Box`) are read without a parse error, so a file that uses them is parsed by the native kernel like any other. Thanks @inth3shadows for the report. (#3276) +- TypeScript and JavaScript: a method call on a value that is only named like a class (`ky.create()` beside `class Ky`) is no longer linked to that class's static method, which an instance can't reach. Thanks @inth3shadows for the report. (#3429) +- TypeScript: a local filled in by a method call (`const s = m.make()`) takes the type that method declares it returns, on a class, an interface or a type alias, so a call on it links to that type's method even when another class has a method of the same name. Thanks @inth3shadows for the report. (#3422) +- TypeScript and JavaScript: a call on a browser value held in a local, reached through a chain, another local or a project function that returns a DOM type (`const canvas = createCanvas(); const ctx = canvas.getContext('2d')!; ctx.translate(…)`), is no longer linked to the project's only method of that name. Thanks @inth3shadows for the report. (#3444) +- TypeScript: a callback's parameter typed only by the function type its function is declared with (`const onChange: OnChange = ({ scene }) => …`) takes that type, and a `.tsx` file's by-name fallback also considers methods declared in `.ts` files, so `scene.mutateElement()` links to `Scene` and not to another class with a method of that name. Thanks @inth3shadows for the report. (#3443) +- JavaScript, JSX and Vue: an element that writes a reserved word as an attribute or in its name (`
`, `