Versions in this module Expand all Collapse all v0 v0.2.0 Nov 1, 2026 Changes in this version + func BuildCLIHandler(handler func(context.Context, *AppArgs) error) func(*cobra.Command, []string) error + func GetConfigFlags(flags *pflag.FlagSet) ([]string, error) + func GetWebUIURL(runtimeURL, token string) (string, error) + func NewCLI(opt *CLIOpt) *cobra.Command + type AppArgs struct + AppServerListen string + CodexArguments []string + CodexRootArguments []string + Config *config.Config + ConfigFlags []string + ConfigOpt *config.LoadConfigOpt + ConfigPath string + Executable string + IdleTimeout time.Duration + IgnoredCodexFlags []string + IsAppServerStdio bool + PrintAppServerStartupConfig bool + RuntimeURL string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + UnsupportedWebSocketFlags []string + Version string + type CLIFlags struct + AgentName string + AgentsDirectory string + ConfigFilePath string + ModelsDirectory string + type CLIOpt struct + Stderr io.Writer + Stdout io.Writer + Version string + type RuntimeServerConnection struct + Executable string + ExecutableModifiedAt time.Time + ServerID string + Token string + URL string + func EnsureRuntimeServer(ctx context.Context, opt *RuntimeServerStartOpt) (connection RuntimeServerConnection, err error) + type RuntimeServerStartOpt struct + ConfigFlags []string + Executable string + IdleTimeout time.Duration + LogFile string