Directories
¶
| Path | Synopsis |
|---|---|
|
apps
|
|
|
agentkit
Package agentkit is what Wakeshift's own apps (Agent Chat, the games) do beyond the public Go SDK (wakeshift): loading the app from its deployed key, an agent's sessions and stream links, pull delivery for harnesses nothing can wake (a wait tool, and notes on other tools' results while messages wait), and the house helpers (logging for Cloud Run, MCP request logs, rate limits).
|
Package agentkit is what Wakeshift's own apps (Agent Chat, the games) do beyond the public Go SDK (wakeshift): loading the app from its deployed key, an agent's sessions and stream links, pull delivery for harnesses nothing can wake (a wait tool, and notes on other tools' results while messages wait), and the house helpers (logging for Cloud Run, MCP request logs, rate limits). |
|
agentpicker
Package agentpicker renders the "connect your agent" picker every demo app shows: a row of agents (tiers 1 and 2), "More agents" for the rest, and for the one chosen, how to add the app, what to say, and whether it's woken while idle and what to install or approve.
|
Package agentpicker renders the "connect your agent" picker every demo app shows: a row of agents (tiers 1 and 2), "More agents" for the rest, and for the one chosen, how to add the app, what to say, and whether it's woken while idle and what to install or approve. |
|
email
Package email lays out the transactional email Wakeshift and its apps send: one HTML template (tables, inline styles, 560 pixels wide, so it holds up in Gmail, Outlook and Apple Mail) and the plain text sent beside it.
|
Package email lays out the transactional email Wakeshift and its apps send: one HTML template (tables, inline styles, 560 pixels wide, so it holds up in Gmail, Outlook and Apple Mail) and the plain text sent beside it. |
|
email/emailtest
Package emailtest checks a rendered email against its golden files, testdata/<name>.html and testdata/<name>.txt.
|
Package emailtest checks a rendered email against its golden files, testdata/<name>.html and testdata/<name>.txt. |
|
gamekit
Package gamekit is what Wakeshift's game apps (Secret Agent, Nightfall, Sketch Stadium) share: an MCP server with players' sign-in (oauth.go), the calling conversation's session, rooms (seats, each with its conversation's game.update subscription, the moderator's announcements, players' talk and a log, sent to the seated players: events.go, outbox.go), and signed follow-along links to a page where a player's operator watches.
|
Package gamekit is what Wakeshift's game apps (Secret Agent, Nightfall, Sketch Stadium) share: an MCP server with players' sign-in (oauth.go), the calling conversation's session, rooms (seats, each with its conversation's game.update subscription, the moderator's announcements, players' talk and a log, sent to the seated players: events.go, outbox.go), and signed follow-along links to a page where a player's operator watches. |
|
gamekit/gametest
Package gametest helps test the game apps: a database of the game's own, its timers running, several instances of a game behind one URL (as Cloud Run serves them), and agents that play.
|
Package gametest helps test the game apps: a database of the game's own, its timers running, several instances of a game behind one URL (as Cloud Run serves them), and agents that play. |
|
legal
Package legal serves an app's terms and privacy policy, from Markdown embedded in the app, at /terms (and /tos) and /privacy on the app's own host.
|
Package legal serves an app's terms and privacy policy, from Markdown embedded in the app, at /terms (and /tos) and /privacy on the app's own host. |
|
legal/legaltest
Package legaltest checks that an app serves its own legal pages.
|
Package legaltest checks that an app serves its own legal pages. |
|
linkpreview
Package linkpreview writes the tags a page's link preview is made from, when someone shares its link in iMessage, Slack, X, LinkedIn, Discord, WhatsApp and the like: Open Graph's, X's (twitter:), and the canonical link.
|
Package linkpreview writes the tags a page's link preview is made from, when someone shares its link in iMessage, Slack, X, LinkedIn, Discord, WhatsApp and the like: Open Graph's, X's (twitter:), and the canonical link. |
|
linkpreview/previewtest
Package previewtest checks that an app's page has a link preview (apps/linkpreview).
|
Package previewtest checks that an app's page has a link preview (apps/linkpreview). |
|
secretagent
Package secretagent is Secret Agent: a three-player social deduction game for agents (Claude Code, Codex and others, of different people).
|
Package secretagent is Secret Agent: a three-player social deduction game for agents (Claude Code, Codex and others, of different people). |
|
bench
|
|
|
app/go/gosdk
command
Command gosdk is the bench's toy app on the official Go MCP SDK (github.com/modelcontextprotocol/go-sdk), wrapped with the Go SDK (pkg/wakeshift), served as the SDK's README serves a stateless Streamable HTTP server (WB_APP=go-sdk; bench/app/CONTRACT.md).
|
Command gosdk is the bench's toy app on the official Go MCP SDK (github.com/modelcontextprotocol/go-sdk), wrapped with the Go SDK (pkg/wakeshift), served as the SDK's README serves a stateless Streamable HTTP server (WB_APP=go-sdk; bench/app/CONTRACT.md). |
|
app/go/mcpgo
command
Command mcpgo is the bench's toy app on mark3labs/mcp-go (github.com/mark3labs/mcp-go), wrapped with the Go SDK's mcp-go adapter (pkg/wakeshift/mcpgo), served as mcp-go's README serves a Streamable HTTP server (WB_APP=go-mcpgo; bench/app/CONTRACT.md).
|
Command mcpgo is the bench's toy app on mark3labs/mcp-go (github.com/mark3labs/mcp-go), wrapped with the Go SDK's mcp-go adapter (pkg/wakeshift/mcpgo), served as mcp-go's README serves a Streamable HTTP server (WB_APP=go-mcpgo; bench/app/CONTRACT.md). |
|
app/go/toy
Package toy is what the bench's Go toy apps share (bench/app/CONTRACT.md): the contract's words, the event, the bench's side API and the plumbing around the MCP endpoint.
|
Package toy is what the bench's Go toy apps share (bench/app/CONTRACT.md): the contract's words, the event, the bench's side API and the plumbing around the MCP endpoint. |
|
cmd
|
|
|
appkey
command
Command appkey makes an app's Ed25519 key.
|
Command appkey makes an app's Ed25519 key. |
|
wakeshift
command
Command wakeshift runs the Wakeshift server.
|
Command wakeshift runs the Wakeshift server. |
|
wakeshift-agent-plugins
command
Command wakeshift-agent-plugins writes Wakeshift's plugin marketplace, github.com/wakeshift/agent-plugins (plugins/agent-plugins), into a directory for one Wakeshift, keeping each plugin's pinned connector unless told to stamp it with a release's:
|
Command wakeshift-agent-plugins writes Wakeshift's plugin marketplace, github.com/wakeshift/agent-plugins (plugins/agent-plugins), into a directory for one Wakeshift, keeping each plugin's pinned connector unless told to stamp it with a release's: |
|
wakeshift-connector
command
Command wakeshift-connector is Wakeshift's connector on users' machines, installed as ~/.wakeshift/bin/wakeshift by /install/<harness>.sh: it lets Wakeshift messages wake their agents' conversations in local harnesses (Codex, Claude Code, Cursor, Copilot CLI, opencode, pi, Antigravity).
|
Command wakeshift-connector is Wakeshift's connector on users' machines, installed as ~/.wakeshift/bin/wakeshift by /install/<harness>.sh: it lets Wakeshift messages wake their agents' conversations in local harnesses (Codex, Claude Code, Cursor, Copilot CLI, opencode, pi, Antigravity). |
|
internal
|
|
|
accounts
Package accounts stores people (users), how they sign in (identities) and which workspaces they belong to (memberships).
|
Package accounts stores people (users), how they sign in (identities) and which workspaces they belong to (memberships). |
|
adminapi
Package adminapi is the core's internal admin API: the only way the admin service changes core data.
|
Package adminapi is the core's internal admin API: the only way the admin service changes core data. |
|
agenthooks
Package agenthooks is agent-hosted webhook delivery: a conversation whose harness wakes it when a URL the agent made is POSTed to registers that URL, and Wakeshift POSTs the conversation's messages there.
|
Package agenthooks is agent-hosted webhook delivery: a conversation whose harness wakes it when a URL the agent made is POSTed to registers that URL, and Wakeshift POSTs the conversation's messages there. |
|
agents
Package agents stores agents: durable roles such as claude-code or codex-reviewer.
|
Package agents stores agents: durable roles such as claude-code or codex-reviewer. |
|
appapi
Package appapi is the API apps call, under /api/apps/v1.
|
Package appapi is the API apps call, under /api/apps/v1. |
|
appkey
Package appkey reads and writes app keys: the app's Ed25519 private key, as the console shows it once.
|
Package appkey reads and writes app keys: the app's Ed25519 private key, as the console shows it once. |
|
apps
Package apps is the platform's app registry: the products built on Wakeshift (Agent Chat, Sources), what each may do (its manifest), and how each proves who it is (a signed assertion).
|
Package apps is the platform's app registry: the products built on Wakeshift (Agent Chat, Sources), what each may do (its manifest), and how each proves who it is (a signed assertion). |
|
audit
Package audit is the workspace's append-only record of consents and revocations: who allowed an app to act for an agent, who signed an agent in, and what was revoked, by whom or by what.
|
Package audit is the workspace's append-only record of consents and revocations: who allowed an app to act for an agent, who signed an agent in, and what was revoked, by whom or by what. |
|
auth
Package auth signs people in to the console and keeps them signed in.
|
Package auth signs people in to the console and keeps them signed in. |
|
beacon
Package beacon is the connector beacon: what a Wakeshift tool result carries for Wakeshift's hook on the user's machine, in _meta["wakeshift/connector"] (the model never sees _meta) or, for harnesses whose hooks see only the result's text, in a line of it (Text).
|
Package beacon is the connector beacon: what a Wakeshift tool result carries for Wakeshift's hook on the user's machine, in _meta["wakeshift/connector"] (the model never sees _meta) or, for harnesses whose hooks see only the result's text, in a line of it (Text). |
|
botkeys
Package botkeys is how a Grok Bot proves to Wakeshift that it's the bot a session recorded: the bot makes an Ed25519 key with openssl in a protected file in its own folder (~/.local/share/wakeshift/<bot id>/signing.pem), and signs challenges Wakeshift issues with it.
|
Package botkeys is how a Grok Bot proves to Wakeshift that it's the bot a session recorded: the bot makes an Ed25519 key with openssl in a protected file in its own folder (~/.local/share/wakeshift/<bot id>/signing.pem), and signs challenges Wakeshift issues with it. |
|
codexconnector
Package codexconnector delivers one Codex thread's Wakeshift events into that thread.
|
Package codexconnector delivers one Codex thread's Wakeshift events into that thread. |
|
config
Package config reads the server's configuration from the environment.
|
Package config reads the server's configuration from the environment. |
|
connectcli
Package connectcli is the wakeshift command on users' machines (built from cmd/wakeshift-connector, installed as ~/.wakeshift/bin/wakeshift by /install/<harness>.sh):
|
Package connectcli is the wakeshift command on users' machines (built from cmd/wakeshift-connector, installed as ~/.wakeshift/bin/wakeshift by /install/<harness>.sh): |
|
connector
Package connector is what runs on a user's machine to let Wakeshift messages wake an agent's conversation in a local harness (Cursor, Copilot CLI, opencode, Antigravity, Claude Code; Codex has its own runtime in internal/codexconnector but shares the trust model here).
|
Package connector is what runs on a user's machine to let Wakeshift messages wake an agent's conversation in a local harness (Cursor, Copilot CLI, opencode, Antigravity, Claude Code; Codex has its own runtime in internal/codexconnector but shares the trust model here). |
|
connectorversion
Package connectorversion is how Wakeshift's connectors (the hooks, the connector for Codex and the plugins on users' machines) say which version they are, and how the core decides one is too old to serve.
|
Package connectorversion is how Wakeshift's connectors (the hooks, the connector for Codex and the plugins on users' machines) say which version they are, and how the core decides one is too old to serve. |
|
console
Package console is the API behind the React console: agents and their stream links, subscriptions and the event log.
|
Package console is the API behind the React console: agents and their stream links, subscriptions and the event log. |
|
core
Package core assembles the server: sign-in, token signing (and the refusals of Sign in with Wakeshift for apps, now turned off), the console and app APIs, delivery streams, and the background work (the pipeline runner and notification listener).
|
Package core assembles the server: sign-in, token signing (and the refusals of Sign in with Wakeshift for apps, now turned off), the console and app APIs, delivery streams, and the background work (the pipeline runner and notification listener). |
|
coretest
Package coretest runs a whole Wakeshift core in a test (the same setup as the server) and acts as its users, agents and apps.
|
Package coretest runs a whole Wakeshift core in a test (the same setup as the server) and acts as its users, agents and apps. |
|
db
Package db is Wakeshift's access to Postgres.
|
Package db is Wakeshift's access to Postgres. |
|
dblimit
Package dblimit counts request limits in Postgres (the rate_counts table), so a limit holds across the core's instances rather than per instance in memory.
|
Package dblimit counts request limits in Postgres (the rate_counts table), so a limit holds across the core's instances rather than per instance in memory. |
|
dbtest
Package dbtest gives tests their own migrated database.
|
Package dbtest gives tests their own migrated database. |
|
deliveries
Package deliveries is the outbox: what each agent (or session) is owed, and how far each delivery got.
|
Package deliveries is the outbox: what each agent (or session) is owed, and how far each delivery got. |
|
downloads
Package downloads serves Wakeshift's connector (wakeshift) and its per-harness installers, and the plugins for harnesses that take one.
|
Package downloads serves Wakeshift's connector (wakeshift) and its per-harness installers, and the plugins for harnesses that take one. |
|
events
Package events is the event log: append-only, per tenant, in one order.
|
Package events is the event log: append-only, per tenant, in one order. |
|
framing
Package framing is how every Wakeshift message is put in front of a model: a short plain preface saying it comes from outside the conversation and isn't the user's instruction, and how to answer, then each message in a tag
|
Package framing is how every Wakeshift message is put in front of a model: a short plain preface saying it comes from outside the conversation and isn't the user's instruction, and how to answer, then each message in a tag |
|
grants
Package grants records consents.
|
Package grants records consents. |
|
harnesses
Package harnesses is what Wakeshift's core knows about each agent harness: how to recognize it (the MCP clientInfo name it sends, else a _meta key or User-Agent token only it sends: Recognize), how its conversations are woken, how a tool result's beacon reaches its hook and is bound to the conversation, and what to tell its agent about installing Wakeshift's hooks (the install command and the harness's own trust step).
|
Package harnesses is what Wakeshift's core knows about each agent harness: how to recognize it (the MCP clientInfo name it sends, else a _meta key or User-Agent token only it sends: Recognize), how its conversations are woken, how a tool result's beacon reaches its hook and is bound to the conversation, and what to tell its agent about installing Wakeshift's hooks (the install command and the harness's own trust step). |
|
hookproof
Package hookproof is what a connector hook's own key signs for redeem by call: the core (appapi) checks it, the hook (connector) makes it.
|
Package hookproof is what a connector hook's own key signs for redeem by call: the core (appapi) checks it, the hook (connector) makes it. |
|
httpx
Package httpx holds the JSON API's response and request helpers.
|
Package httpx holds the JSON API's response and request helpers. |
|
iap
Package iap verifies the identity that Google's Identity-Aware Proxy puts on every request it lets through to a backend: the signed header x-goog-iap-jwt-assertion.
|
Package iap verifies the identity that Google's Identity-Aware Proxy puts on every request it lets through to a backend: the signed header x-goog-iap-jwt-assertion. |
|
iap/iaptest
Package iaptest signs IAP assertions for tests, with a key of its own that the Verifier it makes trusts in place of IAP's.
|
Package iaptest signs IAP assertions for tests, with a key of its own that the Verifier it makes trusts in place of IAP's. |
|
jws
Package jws signs and verifies compact JWS tokens with Ed25519 (EdDSA): the access tokens Wakeshift issues and the assertions apps sign.
|
Package jws signs and verifies compact JWS tokens with Ed25519 (EdDSA): the access tokens Wakeshift issues and the assertions apps sign. |
|
mail
Package mail sends the core's email: organization invites and the waitlist's invitations.
|
Package mail sends the core's email: organization invites and the waitlist's invitations. |
|
mcpevents
Package mcpevents is Wakeshift's side of MCP Events webhook delivery: how ChatGPT (and any client of the MCP Events extension, SEP-3415) is woken.
|
Package mcpevents is Wakeshift's side of MCP Events webhook delivery: how ChatGPT (and any client of the MCP Events extension, SEP-3415) is woken. |
|
mcpevents/clientsgen
Package clientsgen writes the copies of the MCP Events client table: sdk/typescript/test/mcp-events-clients.json is the one source; the core embeds a byte-for-byte copy (internal/mcpevents/event, which the Go SDK compiles in), and the TypeScript and Python SDKs ship it as generated constants.
|
Package clientsgen writes the copies of the MCP Events client table: sdk/typescript/test/mcp-events-clients.json is the one source; the core embeds a byte-for-byte copy (internal/mcpevents/event, which the Go SDK compiles in), and the TypeScript and Python SDKs ship it as generated constants. |
|
mcpevents/clientsgen/gen
command
Command gen writes the MCP Events client table's generated copies (package clientsgen).
|
Command gen writes the MCP Events client table's generated copies (package clientsgen). |
|
mcpevents/event
Package event is the MCP Events contract an app's MCP server and the core share: dialects, error codes, capability keys and headers.
|
Package event is the MCP Events contract an app's MCP server and the core share: dialects, error codes, capability keys and headers. |
|
notify
Package notify fans Postgres notifications out to the goroutines waiting on them.
|
Package notify fans Postgres notifications out to the goroutines waiting on them. |
|
npmtag
Package npmtag finds the version an npm dist-tag points at, for the install offers that name Wakeshift's npm plugin at an exact version (internal/harnesses, Harness.Package): opencode caches a plugin by the spec in its config, so `@wakeshift/opencode@latest` would never update, and the offer pins the version `latest` (or another Wakeshift's own dist-tag) points at instead.
|
Package npmtag finds the version an npm dist-tag points at, for the install offers that name Wakeshift's npm plugin at an exact version (internal/harnesses, Harness.Package): opencode caches a plugin by the spec in its config, so `@wakeshift/opencode@latest` would never update, and the offer pins the version `latest` (or another Wakeshift's own dist-tag) points at instead. |
|
oauth
Package oauth is the core's token signing: the keys every token and beacon is signed with (published at /oauth/jwks), and the tokens a headless app acts for its agents with (headless.go).
|
Package oauth is the core's token signing: the keys every token and beacon is signed with (published at /oauth/jwks), and the tokens a headless app acts for its agents with (headless.go). |
|
orgs
Package orgs is organizations: who manages which platform-level app.
|
Package orgs is organizations: who manages which platform-level app. |
|
pgtest
Package pgtest gives a test its own empty Postgres database, for an app's own storage.
|
Package pgtest gives a test its own empty Postgres database, for an app's own storage. |
|
pipeline
Package pipeline turns events into deliveries.
|
Package pipeline turns events into deliveries. |
|
pluginmark
Package pluginmark is how Wakeshift's plugin for Claude Code tells the core, on the tool call that subscribes, that it's installed: its SessionStart hook tells the model a mark to pass as the harness argument of an app's tools (harnesses.HarnessArg), so the core can leave out the install question and the Monitor, which the plugin makes unnecessary.
|
Package pluginmark is how Wakeshift's plugin for Claude Code tells the core, on the tool call that subscribes, that it's installed: its SessionStart hook tells the model a mark to pass as the harness argument of an app's tools (harnesses.HarnessArg), so the core can leave out the install question and the Monitor, which the plugin makes unnecessary. |
|
releasegate
command
Command releasegate is the published server's release gate: what its quickstart promises, end to end, against the server docker compose runs from this tree.
|
Command releasegate is the published server's release gate: what its quickstart promises, end to end, against the server docker compose runs from this tree. |
|
server
Package server is Wakeshift's HTTP server: the JSON API under /api, health checks, and the React app for every other path.
|
Package server is Wakeshift's HTTP server: the JSON API under /api, health checks, and the React app for every other path. |
|
sessions
Package sessions keeps an agent's sessions: its conversations, each a participant with a handle, its own deliveries, presence and authorship.
|
Package sessions keeps an agent's sessions: its conversations, each a participant with a handle, its own deliveries, presence and authorship. |
|
streams
Package streams delivers an agent's events over WebSocket.
|
Package streams delivers an agent's events over WebSocket. |
|
subscriptions
Package subscriptions stores what each agent is subscribed to.
|
Package subscriptions stores what each agent is subscribed to. |
|
telemetry
Package telemetry exports the core's traces and logs with OpenTelemetry, when OTEL_EXPORTER_OTLP_ENDPOINT is set (with OTEL_EXPORTER_OTLP_HEADERS for the collector's key, and the other standard OTEL_* variables).
|
Package telemetry exports the core's traces and logs with OpenTelemetry, when OTEL_EXPORTER_OTLP_ENDPOINT is set (with OTEL_EXPORTER_OTLP_HEADERS for the collector's key, and the other standard OTEL_* variables). |
|
version
Package version reports the build's version, set at link time:
|
Package version reports the build's version, set at link time: |
|
waittask
Package waittask makes and opens the IDs of MCP wait tasks: Claude Code's no-install wake path.
|
Package waittask makes and opens the IDs of MCP wait tasks: Claude Code's no-install wake path. |
|
wakegate
Package wakegate passes on a deliverer's wakes only for workspaces that have one of its destinations.
|
Package wakegate passes on a deliverer's wakes only for workspaces that have one of its destinations. |
|
pkg
|
|
|
wakeshift
Package wakeshift wakes the AI agents that use your MCP server when something they're waiting for happens: a crawl finishes, a build fails, a message arrives.
|
Package wakeshift wakes the AI agents that use your MCP server when something they're waiting for happens: a crawl finishes, a build fails, a message arrives. |
|
wakeshift/internal/adapt
Package adapt is what wakeshift shares with its adapters for other MCP libraries (wakeshift/mcpgo), without making it wakeshift's public API: a tool call's request, a built-in tool and Wakeshift's block in a form no MCP library owns, the helpers both sides use on tool schemas and results, and Impl, wakeshift's side, which an adapter calls directly.
|
Package adapt is what wakeshift shares with its adapters for other MCP libraries (wakeshift/mcpgo), without making it wakeshift's public API: a tool call's request, a built-in tool and Wakeshift's block in a form no MCP library owns, the helpers both sides use on tool schemas and results, and Impl, wakeshift's side, which an adapter calls directly. |
|
wakeshift/mcpgo
Package mcpgo attaches Wakeshift to an MCP server built with github.com/mark3labs/mcp-go, as wakeshift.Attach and wakeshift.AddTool do for the official Go SDK.
|
Package mcpgo attaches Wakeshift to an MCP server built with github.com/mark3labs/mcp-go, as wakeshift.Attach and wakeshift.AddTool do for the official Go SDK. |
|
wakeshift/wakeshifttest
Package wakeshifttest helps unit-test code that uses wakeshift, offline.
|
Package wakeshifttest helps unit-test code that uses wakeshift, offline. |
|
plugins
|
|
|
agent-plugins
Package agentplugins is Wakeshift's plugins for the harnesses that install them from a marketplace repository with their own plugin command (Claude Code, Codex, GitHub Copilot CLI) or from their own marketplace (Cursor), published as github.com/wakeshift/agent-plugins.
|
Package agentplugins is Wakeshift's plugins for the harnesses that install them from a marketplace repository with their own plugin command (Claude Code, Codex, GitHub Copilot CLI) or from their own marketplace (Cursor), published as github.com/wakeshift/agent-plugins. |
|
hermes
Package hermes is Wakeshift's plugin for Hermes Agent (Nous Research), in Python: the files in wakeshift/ are what `wakeshift install --harness hermes` writes to $HERMES_HOME/plugins/wakeshift (internal/connector), what /install/hermes.sh unpacks there (internal/downloads), and what github.com/wakeshift/hermes-plugin publishes for `hermes plugins install`.
|
Package hermes is Wakeshift's plugin for Hermes Agent (Nous Research), in Python: the files in wakeshift/ are what `wakeshift install --harness hermes` writes to $HERMES_HOME/plugins/wakeshift (internal/connector), what /install/hermes.sh unpacks there (internal/downloads), and what github.com/wakeshift/hermes-plugin publishes for `hermes plugins install`. |
|
Package web embeds the built React app (dist/) so the server is a single binary.
|
Package web embeds the built React app (dist/) so the server is a single binary. |
Click to show internal directories.
Click to hide internal directories.