Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerCmd = &cobra.Command{ Use: "server [agent]", Short: "Run the server", Long: fmt.Sprintf("Run the server with the specified agent (one of: %s)", strings.Join(agentNames, ", ")), Args: cobra.MinimumNArgs(1), Run: func(cmd *cobra.Command, args []string) { logger := slog.New(slog.NewTextHandler(os.Stdout, nil)) ctx := logctx.WithLogger(context.Background(), logger) if err := runServer(ctx, logger, cmd.Flags().Args()); err != nil { fmt.Fprintf(os.Stderr, "%+v\n", err) os.Exit(1) } }, }
Functions ¶
This section is empty.
Types ¶
type AgentType ¶
const ( AgentTypeClaude AgentType = msgfmt.AgentTypeClaude AgentTypeGoose AgentType = msgfmt.AgentTypeGoose AgentTypeAider AgentType = msgfmt.AgentTypeAider AgentTypeCodex AgentType = msgfmt.AgentTypeCodex AgentTypeGemini AgentType = msgfmt.AgentTypeGemini AgentTypeCustom AgentType = msgfmt.AgentTypeCustom )
Click to show internal directories.
Click to hide internal directories.