Skip to content

Commit 04c768c

Browse files
committed
chore(release): 1.12.3
Fixes #157: get_parser() returned an ABI-broken vendored Parser on Python 3.14 (nodes exposed no type/children; parse(bytes) raised TypeError). It now builds tree_sitter.Parser(get_language(name)), returning the installed tree_sitter.Parser and working across Python versions. Also upgrades dependencies to their latest versions across every language binding (refreshing grammar revisions and GitHub Actions pins; getrandom moves to 0.4 with the wasm_js feature on wasm32), and regenerates all bindings with alef 0.30.10 — which corrects the generated Python get_parser return annotation that previously broke import on Python < 3.14.
1 parent c867c21 commit 04c768c

619 files changed

Lines changed: 40659 additions & 4840 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/api/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

@@ -8,6 +8,7 @@
88
Use this skill when working with tree-sitter-language-pack generated language APIs, data types, configuration, or error surfaces.
99

1010
Generated reference pages:
11+
1112
- docs/reference/api-python.md
1213
- docs/reference/api-typescript.md
1314
- docs/reference/api-ruby.md

.agents/skills/cli/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

.agents/skills/mcp/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

@@ -11,7 +11,7 @@ Use this skill when integrating tree-sitter-language-pack through Model Context
1111
- `clean_cache`: Delete all cached parser libraries from the cache directory.
1212
- `detect_language`: Detect the language for a file path or source content. Returns the detected language name.
1313
- `download`: Download parser libraries from the remote registry. Pass languages list, groups, or all=true. \
14-
Set fresh=true to clean the cache first.
14+
Set fresh=true to clean the cache first.
1515
- `info`: Show whether a language is known, downloaded, and its cache path.
1616
- `list_languages`: List languages. source: 'available' (default), 'downloaded', or 'manifest'. Optional substring filter.
1717
- `parse`: Parse source code with a tree-sitter grammar. Returns the syntax tree as sexp or JSON.

.cargo/config.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is auto-generated by alef. DO NOT EDIT.
2-
# alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c
2+
# alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8
33
# Re-generate with: alef scaffold
44

55
[build]
@@ -31,4 +31,11 @@ linker = "aarch64-linux-gnu-gcc"
3131
linker = "musl-gcc"
3232

3333
[target.wasm32-unknown-unknown]
34-
rustflags = ["-C", "target-feature=+bulk-memory", "--cfg", "getrandom_backend=\"wasm_js\""]
34+
rustflags = [
35+
"-C",
36+
"target-feature=+bulk-memory",
37+
"--cfg",
38+
"getrandom_backend=\"wasm_js\"",
39+
"-C",
40+
"link-arg=--allow-multiple-definition",
41+
]

.claude/skills/api/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

@@ -8,6 +8,7 @@
88
Use this skill when working with tree-sitter-language-pack generated language APIs, data types, configuration, or error surfaces.
99

1010
Generated reference pages:
11+
1112
- docs/reference/api-python.md
1213
- docs/reference/api-typescript.md
1314
- docs/reference/api-ruby.md

.claude/skills/cli/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

.claude/skills/mcp/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

@@ -11,7 +11,7 @@ Use this skill when integrating tree-sitter-language-pack through Model Context
1111
- `clean_cache`: Delete all cached parser libraries from the cache directory.
1212
- `detect_language`: Detect the language for a file path or source content. Returns the detected language name.
1313
- `download`: Download parser libraries from the remote registry. Pass languages list, groups, or all=true. \
14-
Set fresh=true to clean the cache first.
14+
Set fresh=true to clean the cache first.
1515
- `info`: Show whether a language is known, downloaded, and its cache path.
1616
- `list_languages`: List languages. source: 'available' (default), 'downloaded', or 'manifest'. Optional substring filter.
1717
- `parse`: Parse source code with a tree-sitter grammar. Returns the syntax tree as sexp or JSON.

.codex/skills/api/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

@@ -8,6 +8,7 @@
88
Use this skill when working with tree-sitter-language-pack generated language APIs, data types, configuration, or error surfaces.
99

1010
Generated reference pages:
11+
1112
- docs/reference/api-python.md
1213
- docs/reference/api-typescript.md
1314
- docs/reference/api-ruby.md

.codex/skills/cli/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

.codex/skills/mcp/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
2-
<!-- alef:hash:d52ce7c026fac10e1f63c1823f2d7e68872bab43e264e5db5c29124d912a5c7c -->
2+
<!-- alef:hash:cc70bccd55a79b31123ff09b1263d75f22d3ead3831b5b3004dfb564ca7a68a8 -->
33
<!-- To regenerate: alef docs -->
44
<!-- To verify freshness: alef verify --exit-code -->
55

@@ -11,7 +11,7 @@ Use this skill when integrating tree-sitter-language-pack through Model Context
1111
- `clean_cache`: Delete all cached parser libraries from the cache directory.
1212
- `detect_language`: Detect the language for a file path or source content. Returns the detected language name.
1313
- `download`: Download parser libraries from the remote registry. Pass languages list, groups, or all=true. \
14-
Set fresh=true to clean the cache first.
14+
Set fresh=true to clean the cache first.
1515
- `info`: Show whether a language is known, downloaded, and its cache path.
1616
- `list_languages`: List languages. source: 'available' (default), 'downloaded', or 'manifest'. Optional substring filter.
1717
- `parse`: Parse source code with a tree-sitter grammar. Returns the syntax tree as sexp or JSON.

0 commit comments

Comments
 (0)