serve

command
v0.2026322.2210 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 2 Imported by: 0 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

Command serve is the OUT-OF-PROCESS entrypoint for plugin-lobster — the one plugin that EXECUTES a charly workflow.

A new plugin's default placement is EXTERNAL: charly connects it by word at runtime, host-building ./cmd/serve and speaking go-plugin gRPC over it, with zero charly-module changes. That build is why this file must exist: without a main package here there is no binary for the host to launch, so neither `workflow:lobster` (InvokeProvider) nor `command:lobster` (`charly lobster …`) could ever be reached — the capabilities would be declared and dead.

sdk.Main serves the provider and its meta over gRPC, and passes CliMain as the in-process CLI so the same binary answers `charly lobster import|export|doctor` when invoked directly. The SAME provider compiles INTO charly when listed in compiled_plugins; placement is invisible above the registry.

Jump to

Keyboard shortcuts

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