Skip to content

Response types

1. Why they are append-only

Append-only, like ERROR_CODES. A discriminator’s meaning is fixed once shipped; a new payload shape gets a new discriminator rather than reusing one.

2. The types

Each row is one value of type and the commands that declare it. A command declares every type it can emit, so a row with several commands means those commands share one payload shape.

Type Emitted by
cli.manifest memhtml manifest, memhtml help
memory.written memhtml write
memory.detail memhtml read
memory.hits memhtml search
recall.pack memhtml recall
index.report memhtml index rebuild, memhtml index update, memhtml index embed, memhtml index status
trace.sessions memhtml trace search
sleep.report memhtml sleep run, memhtml sleep resume, memhtml sleep status
sleep.review memhtml sleep review
eval.discrimination memhtml eval discriminate
doctor.report memhtml doctor
status.health memhtml status
repo.init memhtml init
memory.corrected memhtml correct
memory.linked memhtml link
memory.neighbors memhtml neighbors
memory.archived memhtml archive
memory.reinforced memhtml reinforce
memory.list memhtml list
trace.report memhtml trace index
trace.links memhtml trace links
sleep.merge memhtml sleep merge
agents.doc memhtml agents-doc
serve.exit memhtml serve mcp
publish.report memhtml publish
state.export memhtml state export
state.import memhtml state import
task.written memhtml task add
task.updated memhtml task status
task.list memhtml task list
batch.applied memhtml apply
exec.report memhtml exec
entity.activity memhtml entity activity
memory.resolved memhtml resolve
sleep.plan memhtml sleep plan
cli.help memhtml help
integrations.report memhtml integrations install, memhtml integrations uninstall
integrations.list memhtml integrations list
integrations.doctor memhtml integrations doctor
integrations.shell memhtml integrations shell
hook.output memhtml hook

Every one of the 41 types is declared by at least one command.

3. Provenance

A loader generates this page from apps/cli/src/envelope.ts while the site builds, so no file in the repository holds it: the second column is read from each command’s own responseTypes, so this table is a join across the two registries. Change the registry and this page changes with it.