Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
mash
command
Command mash is a messaging mesh for agents: a Claude Code channel server (mash serve), a CLI for people and scripts, and admin tooling.
|
Command mash is a messaging mesh for agents: a Claude Code channel server (mash serve), a CLI for people and scripts, and admin tooling. |
|
internal
|
|
|
admin
Package admin provisions mash endpoints: the permission template a NATS user needs, and the streams, consumer and directory record behind it.
|
Package admin provisions mash endpoints: the permission template a NATS user needs, and the streams, consumer and directory record behind it. |
|
claudesettings
Package claudesettings reads Claude Code's managed settings, read-only, to say whether mash is on the channel allowlist.
|
Package claudesettings reads Claude Code's managed settings, read-only, to say whether mash is on the channel allowlist. |
|
config
Package config loads mash's settings: ~/.config/mash/config.json, then the environment, which wins.
|
Package config loads mash's settings: ~/.config/mash/config.json, then the environment, which wins. |
|
endpoint
Package endpoint is one mash endpoint: its NATS connection, identity, lease, inbox and view of the directory.
|
Package endpoint is one mash endpoint: its NATS connection, identity, lease, inbox and view of the directory. |
|
host
Package host isolates what is specific to the agent host a mash session runs in (Claude Code today), so other hosts (Hermes, Pi) can plug in later.
|
Package host isolates what is specific to the agent host a mash session runs in (Claude Code today), so other hosts (Hermes, Pi) can plug in later. |
|
kind
Package kind is a message's kind: what the sender wants of the recipient, which decides whether it wakes an idle session.
|
Package kind is a message's kind: what the sender wants of the recipient, which decides whether it wakes an idle session. |
|
mcp
Package mcp is a minimal Model Context Protocol server over stdio, enough to be a Claude Code channel: initialize (declaring claude/channel), tools, ping, and notifications/claude/channel.
|
Package mcp is a minimal Model Context Protocol server over stdio, enough to be a Claude Code channel: initialize (declaring claude/channel), tools, ping, and notifications/claude/channel. |
|
natsauth
Package natsauth connects to NATS with a user creds file without turning the client into a signing oracle.
|
Package natsauth connects to NATS with a user creds file without turning the client into a signing oracle. |
|
render
Package render turns mail into the text a Claude session sees: a small batch in full, a large one as a digest of one line per message.
|
Package render turns mail into the text a Claude session sees: a small batch in full, a large one as a digest of one line per message. |
|
sap
Package sap implements the parts of the Synadia Agent Protocol 0.3 that mash uses: subjects (§2), and sender identity (§13).
|
Package sap implements the parts of the Synadia Agent Protocol 0.3 that mash uses: subjects (§2), and sender identity (§13). |
|
spool
Package spool is the hand-over between serve and a Claude Code session's hooks (hook delivery, mash v0.2.0).
|
Package spool is the hand-over between serve and a Claude Code session's hooks (hook delivery, mash v0.2.0). |
|
store
Package store holds mash's JetStream layout: per-endpoint inbox streams, their consumer, and the directory and lease KV buckets (spec section 5).
|
Package store holds mash's JetStream layout: per-endpoint inbox streams, their consumer, and the directory and lease KV buckets (spec section 5). |
|
testenv
Package testenv runs an in-process nats-server in operator mode for integration tests.
|
Package testenv runs an in-process nats-server in operator mode for integration tests. |
|
Package plugin embeds the Claude Code plugin (the files beside this one) so `mash plugin export` can write the exact plugin of this build.
|
Package plugin embeds the Claude Code plugin (the files beside this one) so `mash plugin export` can write the exact plugin of this build. |
|
scripts
|
|
|
buildrelease
command
Command buildrelease builds mash exactly as a release does and prints "<sha256> <path>".
|
Command buildrelease builds mash exactly as a release does and prints "<sha256> <path>". |
|
publishcheck
command
Command publishcheck is publish-check.yml's checker: "publishing must be deterministic".
|
Command publishcheck is publish-check.yml's checker: "publishing must be deterministic". |
|
releasecheck
command
Command release-check is mash's release gate.
|
Command release-check is mash's release gate. |
Click to show internal directories.
Click to hide internal directories.