Directories
¶
| Path | Synopsis |
|---|---|
|
adapter
|
|
|
acpprofile
Package acpprofile adapts the ACP runtime profile registry to the stable turn contract consumed by Channel.
|
Package acpprofile adapts the ACP runtime profile registry to the stable turn contract consumed by Channel. |
|
agentsession
Package agentsession adapts Chat thread metadata to the minimal descriptor consumed by the ACP runtime.
|
Package agentsession adapts Chat thread metadata to the minimal descriptor consumed by the ACP runtime. |
|
channelcontact
Package channelcontact adapts Channel routes to Agent messaging contacts.
|
Package channelcontact adapts Channel routes to Agent messaging contacts. |
|
channelidentity
Package channelidentity adapts Channel configuration data to the neutral platform identity projection consumed by Agent application orchestration.
|
Package channelidentity adapts Channel configuration data to the neutral platform identity projection consumed by Agent application orchestration. |
|
channelmessaging
Package channelmessaging adapts Agent-owned messaging ports to the Channel delivery runtime.
|
Package channelmessaging adapts Agent-owned messaging ports to the Channel delivery runtime. |
|
channelqueue
Package channelqueue adapts channel queue controls to the application service without exposing queue storage types to channels or RPC.
|
Package channelqueue adapts channel queue controls to the application service without exposing queue storage types to channels or RPC. |
|
Package application orchestrates agent turns, including context assembly, persistence, memory, compaction, approvals, and runtime invocation.
|
Package application orchestrates agent turns, including context assembly, persistence, memory, compaction, approvals, and runtime invocation. |
|
Package background implements a background task manager for long-running commands and subagent work.
|
Package background implements a background task manager for long-running commands and subagent work. |
|
context
|
|
|
fragment
Package contextfrag defines the typed intermediate representation used to describe context before it is rendered into provider-specific SDK inputs.
|
Package contextfrag defines the typed intermediate representation used to describe context before it is rendered into provider-specific SDK inputs. |
|
Package decision holds app-layer decision DTOs and shared waiting primitives.
|
Package decision holds app-layer decision DTOs and shared waiting primitives. |
|
input
Package-shared MCP form-elicitation core: translates an MCP elicitation requestedSchema into the strict ask_user question payload and maps the submitted answers back into schema-conformant content.
|
Package-shared MCP form-elicitation core: translates an MCP elicitation requestedSchema into the strict ask_user question payload and maps the submitted answers back into schema-conformant content. |
|
Package event defines the stream events shared by agent runtimes and the conversation layer.
|
Package event defines the stream events shared by agent runtimes and the conversation layer. |
|
payload
Package payload defines the on-wire shapes for agent-emitted events published to the chat event hub.
|
Package payload defines the on-wire shapes for agent-emitted events published to the chat event hub. |
|
Package partmeta is Memoh's own namespace on sdk.ProviderMetadata.
|
Package partmeta is Memoh's own namespace on sdk.ProviderMetadata. |
|
runtime
|
|
|
agentstate
Package agentstate defines the configuration-epoch and runtime-sync guards used by process-local external runtimes.
|
Package agentstate defines the configuration-epoch and runtime-sync guards used by process-local external runtimes. |
|
external
Package external defines the neutral port between the agent application layer and out-of-process runtimes: Codex, Claude Code, and ACP agents.
|
Package external defines the neutral port between the agent application layer and out-of-process runtimes: Codex, Claude Code, and ACP agents. |
|
external/acp
Package acp is Memoh's ACP core and its custom agents.
|
Package acp is Memoh's ACP core and its custom agents. |
|
external/acp/client
Package client manages Agent Control Protocol processes, sessions, and events.
|
Package client manages Agent Control Protocol processes, sessions, and events. |
|
external/agentproc
Package agentproc owns the lifecycle of the long-lived agent CLI processes that external agent runtimes keep in a bot's workspace.
|
Package agentproc owns the lifecycle of the long-lived agent CLI processes that external agent runtimes keep in a bot's workspace. |
|
external/claudecode
Package claudecode implements the direct Claude Code runtime driver: it drives a Claude Code CLI inside the bot workspace over the stream-json wire protocol (NDJSON stdio plus the bidirectional control channel), with no ACP adapter and no Node sidecar in between.
|
Package claudecode implements the direct Claude Code runtime driver: it drives a Claude Code CLI inside the bot workspace over the stream-json wire protocol (NDJSON stdio plus the bidirectional control channel), with no ACP adapter and no Node sidecar in between. |
|
external/claudecode/claudecfg
Package claudecfg holds the Bot Agent configuration contract for the direct Claude Code runtime.
|
Package claudecfg holds the Bot Agent configuration contract for the direct Claude Code runtime. |
|
external/codex
Package codex implements the direct codex app-server runtime driver: it speaks the v2 protocol (internal/agent/runtime/external/codex/protocol) to a pinned codex CLI running inside the bot workspace, with no ACP adapter in between.
|
Package codex implements the direct codex app-server runtime driver: it speaks the v2 protocol (internal/agent/runtime/external/codex/protocol) to a pinned codex CLI running inside the bot workspace, with no ACP adapter in between. |
|
external/codex/codexcfg
Package codexcfg holds the Bot Agent configuration contract for the direct codex runtime.
|
Package codexcfg holds the Bot Agent configuration contract for the direct codex runtime. |
|
external/codex/protocol
Package protocol implements the wire contract Memoh speaks with the codex app-server: JSON-RPC 2.0 semantics over newline-delimited JSON on stdio, with the `jsonrpc` version field omitted, as the app-server does.
|
Package protocol implements the wire contract Memoh speaks with the codex app-server: JSON-RPC 2.0 semantics over newline-delimited JSON on stdio, with the `jsonrpc` version field omitted, as the app-server does. |
|
external/codex/protocolgen
Package protocolgen generates the Go types for the codex app-server v2 protocol from the JSON Schema a codex CLI exports (`codex app-server generate-json-schema --experimental`).
|
Package protocolgen generates the Go types for the codex app-server v2 protocol from the JSON Schema a codex CLI exports (`codex app-server generate-json-schema --experimental`). |
|
external/grok
Package grok implements the direct Grok Build runtime driver.
|
Package grok implements the direct Grok Build runtime driver. |
|
external/grok/grokcfg
Package grokcfg holds the Bot Agent configuration contract for the direct Grok Build runtime.
|
Package grokcfg holds the Bot Agent configuration contract for the direct Grok Build runtime. |
|
external/toolmount
Package toolmount serves the Memoh tool gateway (HTTP MCP) into a bot workspace over the bridge's reverse-HTTP stream, so an external agent runtime inside the container reaches Memoh tools at the workspace-local proxy URL.
|
Package toolmount serves the Memoh tool gateway (HTTP MCP) into a bot workspace over the bridge's reverse-HTTP stream, so an external agent runtime inside the container reaches Memoh tools at the workspace-local proxy URL. |
|
session/ledger
Package ledger is the durable half of the session runtime: the record of which runs were admitted, who owns them, and how they ended.
|
Package ledger is the durable half of the session runtime: the record of which runs were admitted, who owns them, and how they ended. |
|
Package step defines the record of one model step as the runtime keeps it.
|
Package step defines the record of one model step as the runtime keeps it. |
|
Package toolexec runs the tool calls a model makes and assembles the step messages that carry them.
|
Package toolexec runs the tool calls a model makes and assembles the step messages that carry them. |
|
Package turn defines the application-level contract for starting and observing agent turns.
|
Package turn defines the application-level contract for starting and observing agent turns. |
Click to show internal directories.
Click to hide internal directories.