Repository navigation
feat: add leteo plugin to the marketplace - #28
asanabrial wants to merge 5 commits into
Conversation
Leteo is local-first persistent memory for coding agents: one Rust binary over one SQLite database, no service to sign up to. Sessions, prompts and decisions survive a compaction and a restart. The bundle registers the three lifecycle events this client fires — two on SessionStart (startup|clear and compact) and one on UserPromptSubmit — plus the MCP server on the agent tool profile and a skill carrying the memory protocol. Three rather than five: SubagentStop and SessionEnd are not among the seven events supported, so the hooks named for those have nowhere to land, and session-stop is deliberately not moved onto Stop, which fires at the end of every reply rather than at the end of a session. The plugin carries configuration, not the binary; leteo is installed separately and every hook here invokes it from PATH.
…have `zcode plugins` lists and enables installed plugins; it does not add marketplaces. Checked against zcode 0.16.5. Adding one is Settings -> Plugins -> Create -> Add marketplace.
|
Pushed a correction to the plugin README: it told people to run One thing that came out of the same check, in case it is useful here: the ZCode client resolves a marketplace given as Still happy to switch the entry to a |
This marketplace is for Claude Code -- its prerequisites say so, its install commands are `claude plugin marketplace add`, and its manifest carries the Claude Code marketplace schema. The bundle submitted was the ZCode variant, which registers three lifecycle events rather than five. Claude Code fires all five. Installed from here, the ZCode bundle would have left SubagentStop and SessionEnd unregistered and said nothing about it: no sub-agent findings captured before their context is discarded, and no session ever closed. The bundle is now byte-identical to the Claude Code one upstream, and the README carries this client's install commands.
The vendored bundle was the 0.1.2 one. It lacked mem_consolidate, which 0.3.0 serves to agents, and its manifest named a version two releases old. The four bundle files are now byte-identical to plugin/claude-code at the v0.3.0 tag, which is what the released binary is written against; the README's language count follows the release from twelve to thirteen.
|
Synced the bundle to the current release, 0.3.0. The copy here was the 0.1.2 one: its manifest named a version two releases old, and its skill did not mention This is the drift a vendored copy picks up with every release, so the offer stands: I can point the entry at the upstream repository instead, and the version bumps stop landing here. |
plugin.json named 0.3.0, and the skill still described the 0.3.0 opening block (pinned memories with a preview) and lacked mem_update's find/replace edit, which the 0.4.x server offers. Both files are now byte-identical to plugin/claude-code at the v0.4.2 tag; .mcp.json and hooks/hooks.json were already identical.
|
Synced the bundle to the current release, 0.4.2. |
Description
Adds Leteo to the marketplace: local-first persistent memory for coding agents — one Rust binary over one SQLite database, no service to sign up to. Sessions, prompts and decisions survive a compaction and a restart.
The plugin carries configuration, not the binary.
leteois installed separately and every hook here invokes it fromPATH; the plugin README says so up front.What it registers
SessionStart(startup|clear)leteo hook session-startSessionStart(compact)leteo hook post-compactionUserPromptSubmitleteo hook user-prompt-submitSubagentStopleteo hook subagent-stopSessionEndleteo hook session-stopPlus the MCP server on the
agenttool profile in.mcp.json, and a skill underskills/memorycarrying the protocol that tells the agent when to reach for those tools.Every hook is best-effort and bounded: Leteo gives up before Claude Code does, and a hook that could not do its work says so rather than failing silently.
Notes for review
node .github/scripts/build-skills.mjspasses locally against this branch; the skill ships valid frontmatter and references no scripts.plugins/leteo/to matchglm-plan-usageandglm-plan-bug, with the manifest at.claude-plugin/plugin.json. Happy to switch the entry to agithubsource pointing at the upstream repo instead if you would rather not carry a copy — that would also keep version bumps off your plate.NOTICE.I maintain the project and will keep the entry current — tell me the cadence you want for version bumps.
Two corrections since this was opened
Both mine, both pushed to this branch:
SubagentStopandSessionEndunregistered and said nothing: no sub-agent findings captured, and no session ever closed. It is now byte-identical to the Claude Code bundle upstream.zcode plugins marketplace add/install). It now carries this marketplace's ownclaude plugin marketplace add/claude plugin install.Checklist