sdk

package module
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package sdk is the entry point an out-of-tree ShellCN plugin imports: declare the contract with sdk/plugin, then call Serve from main.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(p plugin.Plugin)

Serve runs a plugin as a go-plugin gRPC subprocess. It blocks until the host disconnects, and is the last call in a plugin's main.

Types

This section is empty.

Directories

Path Synopsis
gen
Package grpcplugin holds the go-plugin wire wiring shared by the core host adapter and the plugin SDK: the handshake and the dispense key.
Package grpcplugin holds the go-plugin wire wiring shared by the core host adapter and the plugin SDK: the handshake and the dispense key.
Package plugin defines the plugin contract, registry, and projection.
Package plugin defines the plugin contract, registry, and projection.
canvas
Package canvas provides helpers for the plugin canvas stream protocol.
Package canvas provides helpers for the plugin canvas stream protocol.
webproxy
Package webproxy reverse-proxies a browser to an upstream web app and rewrites the response so the app works under a gateway sub-path.
Package webproxy reverse-proxies a browser to an upstream web app and rewrites the response so the app works under a gateway sub-path.
Package plugintest provides test helpers for exercising a plugin's Connect/Session against a real target, without depending on the core.
Package plugintest provides test helpers for exercising a plugin's Connect/Session against a real target, without depending on the core.
Package pluginux checks plugin manifests against generic renderer UX rules.
Package pluginux checks plugin manifests against generic renderer UX rules.

Jump to

Keyboard shortcuts

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