From 5a2b53f9a612d1759e5b09c207a06890fe7c752a Mon Sep 17 00:00:00 2001 From: cookerpapa Date: Mon, 9 Nov 2026 19:52:46 +0530 Subject: [PATCH] feat(graph): index Bash scripts with the bundled grammar (#354) Re-landed from #354 with the conflicts against main resolved; the contributor's fork couldn't take the merge commit. Co-Authored-By: Shrish Dwivedi Co-Authored-By: Claude Opus 5.5 --- README.md | 2 ++ src/graph/generic.ts | 1 + test/graph-bash.test.ts | 60 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 test/graph-bash.test.ts diff --git a/README.md b/README.md index 7f314cf35..6a08f6384 100644 --- a/README.md +++ b/README.md @@ -490,6 +490,8 @@ compiler-grade layer, all `$0` and deterministic (no model, no key): call edges via a generic tree-sitter extractor, one grammar per language: **Rust, C, C++, C#, Ruby, Scala, Elixir, Solidity, Dart, Clojure, Nix, Lua, Gleam, Julia**, and **OCaml, Zig, GLSL** (symbols only for now, no call edges). + **Bash** (`.sh`, `.bash`) also uses this tier for function symbols; + Bash call edges and extensionless shell scripts are not yet supported. - **Single-file components**: **Vue** (`.vue`), **Svelte** (`.svelte`) and **Astro** (`.astro`). The wrapper grammar only locates the `