Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
hack
|
|
|
gen-cli-docs
command
Package main renders the CLI reference in docs/reference/cli from the Cobra command tree, so the reference cannot drift from the commands themselves.
|
Package main renders the CLI reference in docs/reference/cli from the Cobra command tree, so the reference cannot drift from the commands themselves. |
|
internal
|
|
|
admin
Package admin provides a read-only web UI for inspecting and managing muster sessions.
|
Package admin provides a read-only web UI for inspecting and managing muster sessions. |
|
agent
Package agent provides comprehensive MCP (Model Context Protocol) client and server implementations for debugging, testing, and integrating with the muster aggregator.
|
Package agent provides comprehensive MCP (Model Context Protocol) client and server implementations for debugging, testing, and integrating with the muster aggregator. |
|
agent/commands
Package commands provides a shared interface for REPL command implementations.
|
Package commands provides a shared interface for REPL command implementations. |
|
agent/oauth
Package oauth implements OAuth 2.1 client authentication for the Muster Agent.
|
Package oauth implements OAuth 2.1 client authentication for the Muster Agent. |
|
aggregator
Package aggregator provides the MCP aggregator server implementation.
|
Package aggregator provides the MCP aggregator server implementation. |
|
api
Package api provides the central API layer for muster's Service Locator Pattern.
|
Package api provides the central API layer for muster's Service Locator Pattern. |
|
api/tagstest
Package tagstest builds tag lists for the tests of api's tag rules and of the MCPServer and Workflow tools that apply them.
|
Package tagstest builds tag lists for the tests of api's tag rules and of the MCPServer and Workflow tools that apply them. |
|
app
Package app provides application bootstrap, lifecycle management, and configuration management for muster.
|
Package app provides application bootstrap, lifecycle management, and configuration management for muster. |
|
callerwrite
Package callerwrite implements the shared caller-identity write gate for session-initiated CR mutations (issues #1056, #1069).
|
Package callerwrite implements the shared caller-identity write gate for session-initiated CR mutations (issues #1056, #1069). |
|
chatgptlogin
Package chatgptlogin is OpenAI's device-code sign-in to ChatGPT, the one the Codex CLI runs with `codex login --device-auth`: muster asks for a user code, the person enters it at OpenAI's device page, muster polls until the sign-in is authorized and exchanges the authorization code it is handed, with its PKCE verifier, for the person's tokens.
|
Package chatgptlogin is OpenAI's device-code sign-in to ChatGPT, the one the Codex CLI runs with `codex login --device-auth`: muster asks for a user code, the person enters it at OpenAI's device page, muster polls until the sign-in is authorized and exchanges the authorization code it is handed, with its PKCE verifier, for the person's tokens. |
|
chatgptlogin/chatgptlogintest
Package chatgptlogintest is a fake of OpenAI's authorization server for the device-code sign-in to ChatGPT: the user code, the poll, the code exchange and the refresh, with a refresh token that rotates on every use as OpenAI's does.
|
Package chatgptlogintest is a fake of OpenAI's authorization server for the device-code sign-in to ChatGPT: the user code, the poll, the code exchange and the refresh, with a refresh token that rotates on every use as OpenAI's does. |
|
cli
Package cli provides sophisticated command-line interface utilities for the muster application.
|
Package cli provides sophisticated command-line interface utilities for the muster application. |
|
client
Package client provides a unified client abstraction for accessing muster resources both locally (filesystem) and in-cluster (Kubernetes API).
|
Package client provides a unified client abstraction for accessing muster resources both locally (filesystem) and in-cluster (Kubernetes API). |
|
client/filesystem
Package filesystem is the filesystem-backed implementation of the unified muster client interface defined in the parent client package.
|
Package filesystem is the filesystem-backed implementation of the unified muster client interface defined in the parent client package. |
|
clock
Package clock is the source of the current time for muster's timers that measure elapsed time: the reconnect backoff of a remote MCPServer, the orchestrator's retry and health-probe ticks, the aggregator's capability poll and the age of its core catalogue.
|
Package clock is the source of the current time for muster's timers that measure elapsed time: the reconnect backoff of a remote MCPServer, the orchestrator's retry and health-probe ticks, the aggregator's capability poll and the age of its core catalogue. |
|
config
Package config provides configuration management for muster.
|
Package config provides configuration management for muster. |
|
context
Package context provides kubectl-style context management for muster CLI.
|
Package context provides kubectl-style context management for muster CLI. |
|
credprovider
Package credprovider makes muster a credential provider of Substrate's egress gateway, so a workspace Session's git and gh act as the person who started it without the person's token ever reaching the sandbox.
|
Package credprovider makes muster a credential provider of Substrate's egress gateway, so a workspace Session's git and gh act as the person who started it without the person's token ever reaching the sandbox. |
|
events
Package events provides core infrastructure for generating Kubernetes Events for muster CRD lifecycle operations.
|
Package events provides core infrastructure for generating Kubernetes Events for muster CRD lifecycle operations. |
|
jq
Package jq compiles and runs the jq programs a workflow step reshapes its result with (the step's `jq` field), on gojq, a pure-Go jq.
|
Package jq compiles and runs the jq programs a workflow step reshapes its result with (the step's `jq` field), on gojq, a pure-Go jq. |
|
listenfds
Package listenfds hands listening sockets from a parent process to a child as inherited file descriptors, in the systemd socket-activation protocol: descriptors from 3 on, counted by LISTEN_FDS and named by LISTEN_FDNAMES.
|
Package listenfds hands listening sockets from a parent process to a child as inherited file descriptors, in the systemd socket-activation protocol: descriptors from 3 on, counted by LISTEN_FDS and named by LISTEN_FDNAMES. |
|
mcpserver
Package mcpserver provides MCP (Model Context Protocol) server management functionality.
|
Package mcpserver provides MCP (Model Context Protocol) server management functionality. |
|
metatools
Package metatools provides server-side meta-tool handlers for the MCP aggregator.
|
Package metatools provides server-side meta-tool handlers for the MCP aggregator. |
|
musterlogo
Package musterlogo holds the muster logo and advertises it as the MCP icon (serverInfo.icons) of muster's own MCP servers: the aggregator and `muster agent --mcp-server`.
|
Package musterlogo holds the muster logo and advertises it as the MCP icon (serverInfo.icons) of muster's own MCP servers: the aggregator and `muster agent --mcp-server`. |
|
netdiag
Package netdiag names the processes behind a network failure, so an error such as "address already in use" says who holds the port.
|
Package netdiag names the processes behind a network failure, so an error such as "address already in use" says who holds the port. |
|
oauth
Package oauth implements OAuth 2.1 proxy functionality for remote MCP server authentication.
|
Package oauth implements OAuth 2.1 proxy functionality for remote MCP server authentication. |
|
oauth/store
Package store provides per-session authentication and capability stores for the token broker layer.
|
Package store provides per-session authentication and capability stores for the token broker layer. |
|
orchestrator
Package orchestrator manages the lifecycle of services registered in the shared service registry.
|
Package orchestrator manages the lifecycle of services registered in the shared service registry. |
|
reconciler
Package reconciler provides a unified reconciliation system for muster resources.
|
Package reconciler provides a unified reconciliation system for muster resources. |
|
server
Package server provides OAuth 2.1 protection for the Muster Server.
|
Package server provides OAuth 2.1 protection for the Muster Server. |
|
servericon
Package servericon keeps the icon each MCP server declares in its initialize result, as a data: URI the MCPServer status carries (status.icon).
|
Package servericon keeps the icon each MCP server declares in its initialize result, as a data: URI the MCPServer status carries (status.icon). |
|
services
Package services provides the service abstraction layer for muster.
|
Package services provides the service abstraction layer for muster. |
|
signinpage
Package signinpage builds the pages a browser shows at the end of a sign-in to muster or through muster, so the server and the CLI word them alike.
|
Package signinpage builds the pages a browser shows at the end of a sign-in to muster or through muster, so the server and the CLI word them alike. |
|
ssetest
Package ssetest serves the frame that held an MCP call on a reused HTTP/1 connection for the idle connection's 90s under go1.27.1's net/http (Go issue 81404): an SSE body closed while its reader is blocked in Read, with the stream ending inside the transport's post-close drain.
|
Package ssetest serves the frame that held an MCP call on a reused HTTP/1 connection for the idle connection's 90s under go1.27.1's net/http (Go issue 81404): an SSE body closed while its reader is blocked in Read, with the stream ending inside the transport's post-close drain. |
|
template
Package template implements the variable substitution and templating engine used by workflow steps.
|
Package template implements the variable substitution and templating engine used by workflow steps. |
|
testing
## Service Testing - **Lifecycle Management**: Test service creation, management, and deletion - **Dependency Management**: Validate service dependency resolution - **State Transitions**: Test service state changes and event handling - **Integration**: Test service interaction with other system components
|
## Service Testing - **Lifecycle Management**: Test service creation, management, and deletion - **Dependency Management**: Validate service dependency resolution - **State Transitions**: Test service state changes and event handling - **Integration**: Test service interaction with other system components |
|
testing/fixtures/oauth
Package oauth contains test fixtures for OAuth authentication testing.
|
Package oauth contains test fixtures for OAuth authentication testing. |
|
testing/fixtures/scale
Package scale is the installation-shaped fixture the scale budgets run on: 87 MCPServers (84 of them session-authenticated, in five families with an instanceArg, on 28 installations; three in-house servers without authentication), 18 distinct capability documents shared by the family members, 282 workflows referencing their tools, and 450 sessions each authenticated to every session-authenticated server -- the shape of a production installation, with every name invented.
|
Package scale is the installation-shaped fixture the scale budgets run on: 87 MCPServers (84 of them session-authenticated, in five families with an instanceArg, on 28 installations; three in-house servers without authentication), 18 distinct capability documents shared by the family members, 282 workflows referencing their tools, and 450 sessions each authenticated to every session-authenticated server -- the shape of a production installation, with every name invented. |
|
testing/fixtures/scale/gen
command
Command gen rewrites the scale fixture's YAML files from the generator, so `go generate ./internal/testing/fixtures/scale/` is the one way to change the committed fixture.
|
Command gen rewrites the scale fixture's YAML files from the generator, so `go generate ./internal/testing/fixtures/scale/` is the one way to change the committed fixture. |
|
testing/mock
Package mock provides mock MCP server functionality for testing muster components.
|
Package mock provides mock MCP server functionality for testing muster components. |
|
toolset
Package toolset implements declared toolsets: the selector list an agent sends in the X-Muster-Toolset header (or passes to filter_tools) that bounds which of the gateway's tools its meta-tools can see and call.
|
Package toolset implements declared toolsets: the selector list an agent sends in the X-Muster-Toolset header (or passes to filter_tools) that bounds which of the gateway's tools its meta-tools can see and call. |
|
update
Package update keeps the muster binary current.
|
Package update keeps the muster binary current. |
|
valkeyclient
Package valkeyclient builds the Valkey clients muster's stores share: the aggregator's session auth and capability stores and the OAuth server's DPoP replay cache.
|
Package valkeyclient builds the Valkey clients muster's stores share: the aggregator's session auth and capability stores and the OAuth server's DPoP replay cache. |
|
workflow
Package workflow provides workflow management and execution capabilities for muster.
|
Package workflow provides workflow management and execution capabilities for muster. |
|
pkg
|
|
|
apis/muster/v1alpha1
Package v1alpha1 contains API Schema definitions for the muster v1alpha1 API group.
|
Package v1alpha1 contains API Schema definitions for the muster v1alpha1 API group. |
|
logging
Package logging provides a structured logging system for muster with unified log handling and flexible output formatting.
|
Package logging provides a structured logging system for muster with unified log handling and flexible output formatting. |
|
oauth
Package oauth provides shared OAuth 2.1 types and utilities used by both the Muster Agent and Server.
|
Package oauth provides shared OAuth 2.1 types and utilities used by both the Muster Agent and Server. |
|
observability
Package observability holds the shared OpenTelemetry identifiers that every muster package emits under, so a single TracerProvider / MeterProvider scope joins spans, metrics, and logs across the codebase.
|
Package observability holds the shared OpenTelemetry identifiers that every muster package emits under, so a single TracerProvider / MeterProvider scope joins spans, metrics, and logs across the codebase. |
|
project
Package project carries the build identity of the muster binary: its version, git commit and build time, and the names that identify the project in messages.
|
Package project carries the build identity of the muster binary: its version, git commit and build time, and the names that identify the project in messages. |
|
proto/credproviderpb
Package credproviderpb is Substrate's CredentialProvider gRPC API (credprovider.proto, Apache-2.0, from github.com/agent-substrate/substrate pkg/proto/credproviderpb), vendored so muster can serve FetchSecret to Substrate's egress gateway without depending on the Substrate module.
|
Package credproviderpb is Substrate's CredentialProvider gRPC API (credprovider.proto, Apache-2.0, from github.com/agent-substrate/substrate pkg/proto/credproviderpb), vendored so muster can serve FetchSecret to Substrate's egress gateway without depending on the Substrate module. |
|
strings
Package strings provides string utility functions for the muster project.
|
Package strings provides string utility functions for the muster project. |
|
tlsutil
Package tlsutil provides small helpers for building outbound TLS trust from operator-provided CA files.
|
Package tlsutil provides small helpers for building outbound TLS trust from operator-provided CA files. |
Click to show internal directories.
Click to hide internal directories.