Documentation
¶
Overview ¶
Package server exposes the Antares HTTP API and serves the built dashboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomProviderID ¶ added in v0.4.0
CustomProviderID mints a unique config id for a user-named provider. A name that slugs to nothing (or to "custom" itself) becomes "custom-provider" — never the legacy "custom" slot, which no longer renders on the providers page, so a nameless setup still lands on a visible, manageable provider. The id avoids every built-in catalogue id and any provider already in the config; it is the single minter shared by the web API and both wizards.
func EmbeddedDist ¶
EmbeddedDist returns the compiled dashboard, or nil when the binary was built without one (the dev flow).
func NeedsSetup ¶
NeedsSetup reports whether Antares can answer at all yet.
Types ¶
type Options ¶
type Options struct {
Config *config.Config
Agent *agent.Agent
Store store.Store
// Dist is the built dashboard to serve at "/". May be nil in dev, where
// Vite serves the UI and proxies /api here.
Dist fs.FS
// Reload re-reads configuration from disk and rebuilds dependent services.
Reload func() error
// Skills, Cron, and Gateway are optional; their endpoints report
// unavailability when nil.
Skills *skills.Manager
Cron *cron.Runner
Gateway *gateway.Manager
MCP *mcp.Manager
Social *socialbrowser.Manager
}
Options configures a Server.
Source Files
¶
- channels.go
- handlers_approval.go
- handlers_ask.go
- handlers_auth.go
- handlers_autopilot.go
- handlers_bindings.go
- handlers_board.go
- handlers_chat.go
- handlers_commands.go
- handlers_config.go
- handlers_creator.go
- handlers_engagement.go
- handlers_hub.go
- handlers_intercept.go
- handlers_mcp.go
- handlers_misc.go
- handlers_osint.go
- handlers_plugins.go
- handlers_project.go
- handlers_project_env.go
- handlers_project_tools.go
- handlers_providers.go
- handlers_proxies.go
- handlers_roles.go
- handlers_setup.go
- handlers_social.go
- handlers_subagent.go
- handlers_subsystems.go
- handlers_update.go
- handlers_upload.go
- handlers_vps.go
- livechat.go
- routes.go
- security.go
- server.go
- skills_helper.go
- wake.go