Skip to main content

Module api

Module api 

Source
Expand description

Public startup command-registration API.

Structs§

CommandArgument
An argument parser accepted by a public command node.
CommandContext
A parsed command invocation exposed to an extension executor.
CommandError
A command parsing or execution error with vanilla-style feedback.
CommandNode
One literal or argument node in a server command declaration.
CommandParserSource
Read-only source facts available while a custom argument is parsed.
CommandReader
Cursor-aware input available to custom argument parsers.
CommandReaderCursor
Cursor checkpoint for a public custom argument reader.
CommandRegistration
A command declaration collected before the server constructs its dispatcher atomically.
CommandRegistrationError
A command registration failed validation or collided by stable owner ID.
CommandRegistry
Additional command declarations supplied before server startup.
CommandSource
Read-only execution source and feedback operations available to extension commands.
CommandSuggestionContext
Prior parsed values and source facts available to custom suggestions.
CommandSuggestions
Completion builder available to custom argument parsers.
ExternalCommandSuspension 🔒

Enums§

SuspendedCommandPoll
Poll result for a public command whose result is produced across ticks.

Traits§

CommandArgumentParser
Typed, deterministically keyed parser contract for extension arguments.
SuspendedCommand
Cross-tick command work owned and cancelled by Steel’s command scheduler.

Functions§

argument
Creates a typed argument command node.
literal
Creates a literal command node.