Documentation
¶
Overview ¶
Package server exposes the store over MCP: three stdio tools, no state of its own. The tool descriptions are agent-facing product surface — they are what makes an agent reach for a channel without being told — so they say when to use each verb, not just what it does.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListResult ¶
ListResult is the output of channel.list.
type PostArgs ¶
type PostArgs struct {
Channel string `json:"channel" jsonschema:"channel name; created on first post"`
From string `json:"from" jsonschema:"your identity as shown to readers, e.g. an agent or session name"`
Body string `json:"body" jsonschema:"the message"`
}
PostArgs are the inputs to channel.post.
type PostResult ¶
PostResult is the output of channel.post.
type ReadArgs ¶
type ReadArgs struct {
Channel string `json:"channel" jsonschema:"channel name"`
Since string `json:"since,omitempty" jsonschema:"opaque cursor from a prior read; omit to read from the start"`
Limit int `json:"limit,omitempty" jsonschema:"max messages to return; 0 or omitted = all"`
}
ReadArgs are the inputs to channel.read.
type ReadResult ¶
ReadResult is the output of channel.read.
Click to show internal directories.
Click to hide internal directories.