@soralabs/cli features a Universal Addressing Engine.
When you pass a component specifier to add, the CLI automatically analyzes its format and resolves it via one of the following schemes:
1. Bare Component Names
- First, the CLI looks up
text-effectinside the active Sora UI registry (ui.soralabs.studio). - If not found, it automatically checks whether the name corresponds to a standard base primitive (e.g.
button,dialog,input) and falls back toui.shadcn.comusing the style configured in yourcomponents.json.
2. Direct HTTP / HTTPS URLs
Install any component schema served over the web:registryDependencies and dependencies, and reconciles all imports automatically.
3. GitHub Specifiers
Directly reference component files located in any public GitHub repository:#ref syntax:
4. Scoped Namespaces (@scope/item)
If your project’s components.json defines custom registries:
components.json