This repository is the curated package registry for AiLang.
The registry does not host package source. Each package record points to a git repository, package root, and approved immutable versions.
This is the public curated registry used by ailang package restore.
Registry records are intentionally small and point at immutable source commits.
This repository uses main as its public default branch. Registry changes are
curated through pull requests and become visible to package restore after they
land on main.
Public roadmap:
Package records may declare item types:
library: importable AiLang source.tool: executable command or project tool.template: project, file, or agent template content.target: platform target metadata, tools, and host integration.
A single package may contain multiple types. For example, AiVectra can expose libraries, tools, and templates from one package.
packages/
<package-name>.toml
Validate registry metadata with the AiLang package tooling from an installed SDK:
./scripts/validate-registry.sh
ailang package listschema = "ailang.package.v1"
name = "example"
repo = "https://github.com/AiLangCore/example.git"
packageRoot = "."
license = "MIT"
types = ["library"]
[versions."0.0.1-alpha.1"]
ref = "v0.0.1-alpha.1"
commit = "exact-git-commit"- One package per TOML file.
- Package files use lowercase names with hyphens when needed.
- Versions must resolve to immutable git commits.
- Tags may be used as readable refs, but the exact commit is required.
- Registry changes should be made by pull request.
defaultVersion, when present, must point at an existing version table.typesmust match the source package contents.repomust point to an AiLangCore GitHub repository.commitvalues must be exact 40-character lowercase git SHAs.
Package publishing is currently a curated pull-request workflow:
- Release or tag the package source repository.
- Resolve that ref to the exact git commit.
- Add or update
packages/<package-name>.toml. - Include the readable
refand immutablecommit. - Validate restore/build/run with an example project before requesting review.
Example validation:
ailang package restore examples/package-demo
ailang package list examples/package-demo
ailang build examples/package-demo
ailang run examples/package-demoDo not point registry entries at moving branches without recording the exact commit that users should restore.
Package source for official optional libraries lives in AiLangCore/ailang-core-packages.
Official platform target packages live in dedicated target repositories once created:
AiLangCore/ailang-target-windows
AiLangCore/ailang-target-macos
AiLangCore/ailang-target-linux
AiLangCore/ailang-target-wasm
AiLangCore/ailang-target-aios
Registry records for target packages must point at the target repository, not
the core language, VM, or UI repositories. Existing records that point at
ailang-core-packages are migration staging until the matching target
repository exists and publishes an immutable package commit.