surface

package
v0.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package surface holds the parts of the processmodule-demo's surface that the module and its host both need byte-for-byte: the MCP tool the module lists, whose digest the host pins in the descriptor. The module (examples/processmodule-demo) serves it and the host (examples/processmodule-demo/host) pins framework.ModuleToolDigest of it, so the two can never drift. It depends only on core/moduleproto, the same as the module itself.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PingTool

func PingTool() moduleproto.Tool

PingTool is the one MCP tool the demo exposes. Its canonical digest is what the host byte-compares against the descriptor at handshake (framework.ModuleToolDigest).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL