Repository navigation
v0.3.0 #10
johanneslatzel
announced in
Announcements
v0.3.0
#10
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Breaking
memoryDirinstead ofmemoryDir/memories/; theMemoryConfiguration.memoriesDirgetter is removed.linksfield; the separatelinks.jsonfile is no longer read or written.MemoryService.save()is removed; links persist eagerly on every link/unlink/isolate/sync mutation.Memoryfields are native get/set accessors now (mem.score,mem.summary,mem.content,mem.tags,mem.embedding,mem.links,mem.cachedAt,mem.changedAt,mem.recalledAt) instead of method calls;id()andcreatedAt()remain methods.LinkPoolis constructed with just the pool:new LinkPool(pool); the config argument is removed.Features
linksfield, flushed eagerly whenever the graph changes; the graph rebuilds from the memory files on init.MemoryPoolis backed by anObjectStore<MemoryJSON>from@johannes.latzel/json-file-store; the default is an in-memoryMemoryStore, andMemoryServiceuses aJsonFileStoreoverconfig.memoryDirfor durable storage.Fixes
MemoryToolPackagetutorial no longer claims semantic similarity links are computed automaticallyInternal
LinkPoolto a nestedMap<from, Map<to, MemoryLink>>working graph, so persisting a source only rewrites its own outgoing links (O(outgoing)).prepackandcheck:linesscripts with@johannes.latzel/check-line-limits;verifynow runscheck:lines.@johannes.latzel/json-file-store ^0.1.0dependency.@types/nodeto 26.4.0,@typescript-eslint/*to 8.68.0,vitest/@vitest/coverage-v8to 4.1.11,eslintto 10.9.1,lint-stagedto 17.4.1.Migrating data from v0.2.0
v0.2.0 stored memory files in
memoryDir/memories/and the directed link graph in a separatelinks.json. v0.3.0 stores each memory file directly inmemoryDirand embeds its outgoing links in the file'slinksfield.Full Changelog: v0.2.0...v0.3.0
This discussion was created from the release v0.3.0.
All reactions