Directories
¶
| Path | Synopsis |
|---|---|
|
Package api defines the declarative document types that external library consumers use to address sbsh objects: TerminalDoc, TerminalSpec, TerminalProfileDoc, ClientDoc, ConfigurationDoc, and the request/response payloads exchanged over the JSON-RPC control channel.
|
Package api defines the declarative document types that external library consumers use to address sbsh objects: TerminalDoc, TerminalSpec, TerminalProfileDoc, ClientDoc, ConfigurationDoc, and the request/response payloads exchanged over the JSON-RPC control channel. |
|
Package attach exposes an in-process façade for sbsh's interactive "sb attach" loop, so external Go programs can drive an attach session against a running terminal control socket without spawning the sb binary as a subprocess.
|
Package attach exposes an in-process façade for sbsh's interactive "sb attach" loop, so external Go programs can drive an attach session against a running terminal control socket without spawning the sb binary as a subprocess. |
|
Package builder exposes library-level helpers for constructing TerminalSpec and ClientDoc values from a profile name or inline fields, without importing internal/ packages or round-tripping through YAML.
|
Package builder exposes library-level helpers for constructing TerminalSpec and ClientDoc values from a profile name or inline fields, without importing internal/ packages or round-tripping through YAML. |
|
Package discovery is the public surface for locating sbsh terminals, clients and profiles persisted under a state root.
|
Package discovery is the public surface for locating sbsh terminals, clients and profiles persisted under a state root. |
|
Package errors exposes the curated set of error sentinels that external sbsh library consumers are expected to branch on with errors.Is.
|
Package errors exposes the curated set of error sentinels that external sbsh library consumers are expected to branch on with errors.Is. |
|
Package logging exposes the file-backed slog.Logger setup used by the sbsh CLI so out-of-tree callers can pre-create the per-terminal log file with the same permissions the runner expects.
|
Package logging exposes the file-backed slog.Logger setup used by the sbsh CLI so out-of-tree callers can pre-create the per-terminal log file with the same permissions the runner expects. |
|
rpcclient
|
|
|
Package spawn exposes library-level helpers for launching sbsh Terminal and Client subprocesses and driving their lifecycle from external Go callers.
|
Package spawn exposes library-level helpers for launching sbsh Terminal and Client subprocesses and driving their lifecycle from external Go callers. |
|
terminal
|
|
|
server
Package server exposes the sbsh terminal RPC server as a reusable facade so out-of-tree binaries can serve the same wire protocol pkg/attach consumes.
|
Package server exposes the sbsh terminal RPC server as a reusable facade so out-of-tree binaries can serve the same wire protocol pkg/attach consumes. |
Click to show internal directories.
Click to hide internal directories.