Repository navigation
Sema 0.6.0
All 457 bootstrap pattern identities and both aggregate roots are unchanged.
Added
sema login,sema logout, andsema whoamilog the CLI in to a hosted
Sema registry through the OAuth 2.0 device authorization flow (RFC 8628).
The token is stored per registry origin under the Sema configuration
directory and can be revoked from the registry profile page.sema login --keystores a key created on the registry's profile page,
after checking it with the registry.--key -reads the key from standard
input.sema registry import|list|removepublish, list, and remove your libraries
on the registry from the command line or from an agent, with no browser
visit after the one-time approval.--registryandSEMA_REGISTRY_URL
select another registry, andsema installstill needs no account. A successful
login remembers the selected registry, with explicit flags and environment
settings taking precedence. Logging out keeps the registry choice.sema registry search [WORDS...]andsema registry show NAMElist and
describe published libraries without an account, andsema install NAME
installs one by name: exactly the release that the registry verified.
Before it writes anything, Sema checks the manifest's name, version, both
roots, and archive checksum against the listing, and it refuses a different
release, such as a replacement served after an account takeover. The
release is then verified as before.sema updatekeeps that protection for libraries installed by name: it
takes only a release that the original registry has verified, even if the
default registry changes later. A mismatched release or an unavailable
registry leaves the installed and active snapshot unchanged. Libraries
installed from a URL or a file update from their own source as before.- Agents can find, install, and publish libraries from a chat. The MCP tools
sema_library_search,sema_library_install,sema_library_login, and
sema_library_publishsearch the public registry, install a library by name
or from anylibrary.jsonURL, store a key that the user gives the agent,
and publish a GitHub release after the user agrees. - The local view.
sema serveopens a view of the active vocabulary in the
visual design of semahash.org: its name, whether it is writable, its root,
and the patterns in card, list, and JSON views. The 3D graph grows in place
while an agent mints; new patterns light up, and a live panel lists them and
can follow each one. A writable vocabulary's page ends with the optional
steps to publish it on semahash.org.sema serve --openopens the view in a
browser. - The MCP server instructions tell connected agents that they can suggest the
local view while building a vocabulary with the user, and describe the
optional publishing path: package, GitHub release,sema login, and
sema registry import.
Changed
sema serveopens the vocabulary selected withsema use, using the same
database resolution as the CLI and the MCP server, and follows a later
sema useorsema_usefrom another process.SEMA_DB_PATHstill pins it.
Previously the server showed the bundled catalog unlessSEMA_DB_PATHwas
set.- The
sema-uiskill reuses a running server and no longer stops whatever
process listens on its port.
Fixed
- Credential files now use unique temporary files with owner-only permissions
from creation, avoiding exposure before the credentials are atomically saved. - The server tests no longer read the developer's own active vocabulary.