Help us shape the future of Go! Take the 2026 Go Developer Survey

internal

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Manifest = sdk.PluginManifest{
	Name:        "workflow-plugin-mcp",
	Version:     "0.1.0",
	Description: "MCP (Model Context Protocol) plugin for the workflow engine",
	Author:      "GoCodeAlone",
}

Manifest is the plugin metadata used by the workflow engine for discovery and capability negotiation.

View Source
var Version = "0.0.0"

Version is the plugin build version. Defaults to the sentinel "0.0.0"; goreleaser ldflag injects the real release tag at build time per workflow#762 plugin-version contract.

Functions

func NewPlugin

func NewPlugin() sdk.PluginProvider

NewPlugin creates a new plugin instance with a modular.Application pre-seeded for the gRPC subprocess context.

Two services are registered in the shared app at construction time:

  • A default ToolRegistry (keyed as "mcp.tool-registry") so that ToolTrigger.Configure can resolve the registry without the host.
  • A no-op PipelineExecutor so that Configure can resolve the executor. Actual pipeline dispatch is not available in gRPC mode (v0.1.0 limitation).

Types

This section is empty.

Jump to

Keyboard shortcuts

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