Skip to content

v3.20.0: one agent plugin for Claude Code, VS Code and the Copilot CLI

Choose a tag to compare

@kitfunso kitfunso released this 29 Nov 21:39
· 32 commits to master since this release
970d199

Added

  • One hippo agent plugin for Claude Code, VS Code and the Copilot CLI. extensions/claude-code-plugin is now also an Agent Plugins 1.0 plugin. A root plugin.json, mcp.json and com.github.copilot/hooks/hooks.json (the hooks hippo hook install copilot writes) sit beside the Claude Code files. Claude Code's hooks and .mcp.json do not change. VS Code and the Copilot CLI load it from .claude-plugin/marketplace.json. GitHub's documentation for enterprise managed settings says an admin lists a marketplace in extraKnownMarketplaces and requires a plugin in enabledPlugins. The plugin is now at 0.8.0. integrations/copilot.md has the install steps, the managed-settings block, and the double run when ~/.copilot/hooks/hippo.json is also present, with its two fixes.
  • The shared memory skill names the hippo MCP tools and the Copilot recall step. In Claude Code, the skill tells the agent to call hippo_recall when hippo added no memories to the session. In Copilot, where hippo adds only pinned and recent memories at session start, it tells the agent to run hippo recall from the project folder for each new task, because the Copilot CLI starts the plugin's MCP server outside the project.
  • A Hermes Agent memory provider ships in the package, and hippo init, hippo setup and hippo hook install hermes install it. extensions/hermes-memory-provider/hippo/ is a Hermes plugin. Before each local turn it gives Hermes the pinned rules and the memories that match the prompt, it gives the agent hippo_recall, hippo_remember and hippo_outcome, and it captures each local session into the global store. Gateway chats, cron jobs and Kanban workers get none of this unless memory.hippo.platforms in the Hermes config.yaml lists them. When a Hermes home exists, hippo init, hippo setup and hippo hook install hermes copy the plugin and launcher.json into the active profile's plugins/hippo/ folder and print hermes config set memory.provider hippo (with -p <profile> for a named profile) without editing config.yaml; hippo hook uninstall hermes removes only what hippo wrote.
  • hippo recall, hippo outcome and hippo context take --global. With the switch each verb reads or writes the global store ($HIPPO_HOME or ~/.hippo/) alone, whatever folder it runs in, as hippo sleep --global already does. Without it nothing changes. A caller with no project folder, such as a chat host, can now recall, mark outcomes and build hook context from the one store it writes to.
  • hippo outcome --id <id> can be given more than once. One call marks every id and prints the total applied. An id outside the caller's tenant is skipped, as before.
  • collectSessionTurns reads plain {"role", "content"} lines. A JSONL line with no type key, a role of user or assistant and a non-blank string content now gives one turn, so a chat host can hand hippo capture --transcript its messages as they are. Lines with a type (Claude Code, Codex, Copilot) read as before. collectSessionTurns is exported from hippo-memory/session-text, so an integrator's transcript with such lines now gets turns where it got none.
  • hippo import --agents reads Hermes Agent memories. It imports the entries of the active profile's memories/MEMORY.md and memories/USER.md; hermes is the tool id for HIPPO_AGENT_MEMORY_TOOLS and agentMemories.tools.
  • hippo init, hippo setup and hippo hook install add the hippo MCP server for Junie, Antigravity, Grok Build and Muse Code. Init and setup write it when the host's folder exists on the machine: ~/.junie, ~/.gemini/antigravity or ~/.gemini/antigravity-cli, $GROK_HOME (else ~/.grok), or $XDG_CONFIG_HOME/muse (else ~/.config/muse). hippo hook install junie|antigravity|grok-build|muse-code writes one host, and hippo hook uninstall removes only a default hippo entry, leaving hand-edited entries untouched. hippo setup --all writes every host and --dry-run names the files.
  • A setup page for Grok Bot and the Muse app. integrations/grok-bot-and-muse.md gives the steps: hippo serve, a key from hippo auth create, a Cloudflare tunnel, and the connector settings in each app. The README lists the four MCP hosts and the page.
  • POST /v1/outcome and hippo_outcome say how many ids the gate refused. The reply gains refused only when the gate refused an id. Those ids are skipped and the rest still apply, so the call never fails on them. A server with no gate answers as before.

Changed

  • hippo mcp finds the project store through the client's roots. When the folder it starts in has no store and the client declares roots, it asks for them with roots/list and looks for a .hippo folder in or above each root. Roots that lead to one store use it, and paths that reach one store through a symlink or junction count once. The git folder is the root that holds the store, or else the first root that leads to it; a root that names a file counts as the folder that holds it. The call reads that folder's git history, for hippo_learn and the automatic hippo_context query. Roots that lead to two or more stores get a tool error that names each project and asks for one project per window. It waits up to 2 seconds for the answer, then uses the global store. An error answer is not kept, so the next call asks again. A client that declares no roots behaves as before.
  • hippo mcp no longer answers a JSON-RPC response frame with Invalid Request. A frame with an id and a result or an error answers a request hippo sent, or is dropped when hippo sent none. A frame with an id and a method that is not a string still gets Invalid Request.
  • Copilot now shares its MCP config code with the four new hosts. The files hippo writes for Copilot and VS Code stay the same.
  • A member or viewer reads its own audit rows. GET /v1/audit now answers a member key, the local key, and a viewer or member signed in through an auth resolver with 200 and only the rows that caller wrote in its own tenant, paged by limit and cursor. A member's or viewer's rows carry no id, and its cursor is opaque: pass it back unchanged. A cursor from an earlier server process is refused with 400, and the walk starts again from the first page. An admin still reads every row of its tenant, and ?tenant= for another tenant still needs a host admin. Other rows stay hidden because they name other people and can hold free text. A store built on hippo-memory/store-kit must honour the new actor field of auditLog.listAuditEvents; the store conformance suite checks it, and a store that ignores it fails the read with a 500.
  • A resolver subject equal to a built-in actor is now refused. dashboard, batch, sleep-batch, conformance, quality-repair, buildDag and buildEntityProfiles, or any of them followed by :..., in any case, join cli, sleep and the other reserved names. A signed-in person can no longer read rows that hippo writes under those names.
  • Schema v65 adds two audit indexes. They keep a member's read fast at any audit size, with or without ?op=. They build once, on the first open after the upgrade. min_compatible_binary does not move, so an older binary still opens the store.
  • Failure and compaction capture rows name the caller's subject. From this release on, the audit rows that captureFailureForCaller and saveCompactionItemsForCaller write carry the caller's subject as the actor (for a key, api_key:<id>), as every other request-path writer does, and not the key's owner. An owned key reads those rows on GET /v1/audit. Rows written before this release keep the owner as their actor.
  • runStoreConformance checks a resume from a position that names no row the read can see. The suite resumes from positions before and after every row, with the id of a row and with an id above and an id below every id, from the newest row's ts with an id above and an id below every id, and from a position another tenant's page returned. It also resumes from a position whose row a prune deleted. In each, the store must read exactly the rows below the position by (ts, id), because an admin cursor can carry any ts and any integer id. A store without auditMaintenance runs the first case only, since no port method of its deletes an audit row.

Fixed

  • --x= with an empty value on a repeatable flag now counts as given with no value, as --x does. hippo outcome --good --id= fails with "--id requires a value" again, where it marked the last recall's memories. A missing global store now says No global hippo store at <root>. Run \hippo init --global` first.`
  • A capture into the global store with no project no longer pins the rules it finds. This holds for hippo capture --global, and for a Claude Code or Codex session end in a folder with no project and no store of its own. Those rules used to reach every project's prompts. They are now stored as plain captured items, so recall still finds them. A capture that names a project, and a capture into a project's own store, pin as before. Rows pinned before this release stay pinned. To remove one, run hippo forget <id> in your home folder, where the global store is ~/.hippo. If HIPPO_HOME names a folder called .hippo, run it in the folder that holds that store. A HIPPO_HOME store with another name has no removal command yet; ROADMAP item SI4a covers it.
  • An empty or blank HIPPO_V1_RPS now reads as unset, so the per-address limit stays at 20 requests a second. Before, a HIPPO_V1_RPS set to an empty string turned that limit off. Only HIPPO_V1_RPS=0 turns it off now, as only HIPPO_CALLER_RPS=0 turns off the per-caller limit.

Security

  • The project write gate now judges a write to an existing memory by that memory's project. Supersede, forget, raw archive, outcome and conflict resolve ask projectWriteGate with the row's own origin project, or null when it has none. A conflict resolve with rejectLoser also asks with null, because it removes every memory in the tenant that holds the same text. A row the caller cannot read answers 404 first, or is skipped by outcome, and the gate is not asked; a personal row is never asked. Outcome sends the store only the ids the gate admitted, and an outcome past the request deadline starts no more gate calls and no store write. Before, only a new memory asked the gate. ProjectWriteCall.project is now also a stored origin for supersede, forget, raw archive, outcome and resolve.

Documentation

  • Try a shared memory in Claude Code, Codex and Cursor. The shared-memory guide shows how to save a project convention in one agent and look it up in the other two.