Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 16:55
· 60 commits to main since this release

Second release of Thalamus, a thin governance layer over CortexDB. It adds the entities across brains and moves to CortexDB v2.139.0.

Work in progress. The interfaces can change between versions before 1.0.

What is new in 0.2.0

  • Entities across brains. th_entity {entity, brains, skip_brains, max_depth, limit} finds one entity in each brain that the user may read, with the user's own key for that brain. It merges the neighbors by node id, and each neighbor names the brains that serve it. known_in lists the brains that know the entity. A key serves only its part of the graph. A neighbor is an entity, never a passage. Depth 1 by default, 3 at most. Each brain walks 20 nodes by default, 100 at most.
  • Audit of refused keys. A brain that refuses the caller's key during th_recall or th_entity now leaves a named audit line, as any refused read does.
  • One choice of brains. th_recall and th_entity choose their brains in one place. A brain named twice in brains is asked once.
  • CortexDB v2.139.0. The gateway imports v2.139.0, and the benches run against a server built from it. This version opens the graph tools to a key confined to one collection, which th_entity needs.

A brain filled through th_add has no entities: a confined key may not declare them, and the gateway has no extractor. The entities come from the producer of the brain.

Upgrade

Each CortexDB server behind the gateway must run v2.139.0 for th_entity. On v2.138.0, a confined key is refused the graph tools, and th_entity lists the brain in skipped. th_recall and the other tools work on both versions.

Install

File Content
thalamus_v0.2.0_<os>_<arch>.tar.gz th-gateway and th-hook, for macOS and Linux, amd64 and arm64
thalamus-plugin_v0.2.0_<os>_<arch>.tar.gz The Claude Code plugin, with th-hook in bin/
thalamus-extension_v0.2.0.zip The Chrome extension, to load unpacked
checksums.txt The SHA-256 of each file
go install github.com/lfoletti/thalamus/gateway/cmd/th-gateway@v0.2.0
docker run -p 8787:8787 -v /srv/thalamus:/etc/thalamus ghcr.io/lfoletti/thalamus:0.2.0

Changes in the repository

  • CortexDB v2.139.0 (#7).
  • A weekly watch of the GitHub topics, and the tests of tools/ in the CI and in the pre-push hook (#8).
  • th_entity (#9).

Full changelog: v0.1.0...v0.2.0