Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/just-cameron/tangled-cli. Automation-first CLI for Tangled.org
Something went wrong. Try again.
tangled-cli lexicons
1 folder · 1 file
README.md
Vendored Lexicons #
This directory contains vendored copies of AT Protocol lexicon definitions for the Tangled.org service.
Source #
These lexicons are downloaded from the tangled.org core repository:
- Source:
https://tangled.org/tangled.org/core/raw/master/lexicons/ - Repository:
https://tangled.org/tangled.org/core - Last Updated: 2026-02-09
Structure #
sh/tangled/- Tangled-specific lexiconsissue/- Issue record typespulls/- Pull request record typesrepo/- Repository record typeslabel/- Label/tag record typespipeline/- CI/CD pipeline typesactor/,feed/,graph/,git/,knot/,spindle/,string/- Other types
Updating Lexicons #
When Tangled.org updates their lexicon schemas, run the update script:
npm run update-lexicons
This script:
- Downloads the latest lexicon files from tangled.org over HTTPS
- Saves them to the
lexicons/directory - Preserves the directory structure
After updating lexicons:
- Update the "Last Updated" date in this README
- Regenerate client code:
npm run codegen - Run tests to ensure compatibility:
npm test - Commit both lexicon updates and generated code changes
Manual Update (if script fails):
- Lexicons can be manually downloaded from:
https://tangled.org/tangled.org/core/raw/master/lexicons/<path> - Example:
https://tangled.org/tangled.org/core/raw/master/lexicons/issue/issue.json
Code Generation #
Client TypeScript code is generated from these lexicons using @atproto/lex-cli:
npm run codegen
This generates type-safe client code in src/lexicon/ which is committed to version control.