plugin

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package plugin implements Ring 2: the exec plugin protocol.

Any executable named kno-pool-<name>, kno-agent-<name>, or kno-tuner-<name> on $PATH is a plugin, following the pattern git, kubectl, and Docker credential helpers proved. It speaks newline-delimited JSON matching the proto schemas and opens with a versioned handshake.

The plugin boundary is hostile: plugins are untrusted input. Every frame is schema-validated, I/O carries timeouts and output-size caps, stderr is logged but never parsed, and plugins receive no ambient credentials — only what config explicitly grants them.

Lands in v0.3, deliberately after Ring-0 has survived contact with real users. Experimental until 1.0.

Jump to

Keyboard shortcuts

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