codeterrain-typescript
TypeScript and JavaScript for codeterrain: the HTTP
calls of a front end, read with tree-sitter, in terrain calls and
terrain callers.
uv tool install "<path-to-the-codeterrain-checkout>[typescript]"
terrain calls orders # GET /v1/orders src/api/orders.ts:12 client
terrain callers POST /v1/orders # the front-end calls that reach a route
Not published yet: install from a checkout of the codeterrain repository, where this pack lives under
packages/. Once published, pip install "codeterrain[typescript]" will do the same.
terrain doctor lists the installed packs (language packs: typescript 0.1.0). Without the pack,
terrain calls reads the same files with the core's own tokenizer.
Why install it: it is both more accurate and faster than the tokenizer. It parses the full syntax and resolves names through scopes, and a cold read takes about 0.6 to 0.7 times the tokenizer's time, since a tree-sitter query hands the reader only the nodes it needs. tree-sitter loads on the first front-end file read, so commands that read none barely notice the pack.
The facts are the core's: <receiver>.<verb>(path, ...), fetch(path, {method}) and object literals
with a url: path. The syntax tree makes strings, templates, comments, type arguments and assertions,
spreads and computed keys exact, and names resolve through scopes: a name is read from the declaration
it refers to, so a const url inside a function is that function's, and a parameter hides a module
constant of the same name only inside its function. A file tree-sitter cannot parse whole is reported
with the lines of its syntax errors, and a call inside one counts as unresolved.
It depends on tree-sitter and the TypeScript and JavaScript grammars, which ship prebuilt wheels
for Linux, macOS and Windows; the versions are pinned exactly, since grammars rename nodes between
releases. The pack only parses the text it is given: it reads no other file and runs nothing.
Metadata
Release files for codeterrain-typescript 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| codeterrain_typescript-0.1.0.tar.gz | 14.1 kB | With provenance | Details for codeterrain_typescript-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codeterrain_typescript-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for codeterrain_typescript-0.1.0-py3-none-any.whl |
Total release size: 25.5 kB
Release files / codeterrain_typescript-0.1.0.tar.gz
| Download URL | codeterrain_typescript-0.1.0.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23b7155c95d5b254b47da893f98a101b3b69a46346de4b71fc1e8cd75fe0ff69
|
|
BLAKE2b-256 checksum How to use checksums |
2450f4d99720f816404a2387e68e6c68bf1ace52cf9f0e88771fe9781b2843c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logRelease files / codeterrain_typescript-0.1.0-py3-none-any.whl
| Download URL | codeterrain_typescript-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8969de70bb2092662891e6b94482beb3dfc313b32ae30dfdecaa400505e246a2
|
|
BLAKE2b-256 checksum How to use checksums |
208c99494f04152c41ea3bdb6ee8d315fb2e3e36400dcf50aba6d9bd12b8f23c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logSecurity for codeterrain-typescript 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for codeterrain_typescript-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.