Help us shape the future of Go! Take the 2026 Go Developer Survey

consts

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSessionTitle    = "New Chat"
	DefaultJobTitle        = "New Job"
	ScheduleJobTitlePrefix = "⏰ "
)

Default values

View Source
const (
	DefaultWorkspaceID    = "ws-1"
	DefaultWorkspaceTitle = "Default Workspace"
)

Default workspace. Exactly one workspace with this fixed ID is guaranteed to exist per installation: it is auto-created on first boot with workdir defaulting to $HOME, and the delete handler refuses requests for it so the system always has a fallback target (e.g. scheduled tasks with no explicit workspace, or new users who haven't created one yet).

View Source
const (
	EnvKeyListenAddr              = "QUARTET_LISTEN_ADDR"        // override default listen addr; always wins over the cert-based default (443 vs 8090)
	EnvKeyLogHTTPBody             = "QUARTET_LOG_HTTP_BODY"      // opt-in to log request/response bodies (noisy, may leak secrets; disabled by default)
	EnvKeyLogLevel                = "QUARTET_LOG_LEVEL"          // initial log level: debug|info|warn|error (default info)
	EnvKeyCORSOrigins             = "QUARTET_CORS_ORIGINS"       // comma-separated CORS allowlist; defaults to same-origin if unset
	EnvKeyTrustedProxies          = "QUARTET_TRUSTED_PROXIES"    // comma-separated trusted reverse-proxy IPs/CIDRs; defaults to loopback only
	EnvKeyStaticDir               = "QUARTET_STATIC_DIR"         // dir served as the web UI static root; default "static" (relative to cwd)
	EnvKeyCertsDir                = "QUARTET_CERTS_DIR"          // dir holding cert.pem/key.pem; presence enables HTTPS; default "certs" (relative to cwd)
	EnvKeyCodexPath               = "CODEX_PATH"                 // Codex executable selected by codex-acp
	EnvKeyCodexHome               = "CODEX_HOME"                 // Codex credential, configuration and session directory
	EnvKeyCodexAPIKey             = "CODEX_API_KEY"              // Codex API-key override
	EnvKeyOpenAIIdentityTokenFile = "OPENAI_IDENTITY_TOKEN_FILE" // Workload identity token used instead of a stored Codex login
	EnvKeyOpenAIAuthProvider      = "OPENAI_AUTH_PROVIDER"       // Workload identity authentication provider
	EnvKeyClaudeCodeExecutable    = "CLAUDE_CODE_EXECUTABLE"     // Claude Code executable selected by claude-agent-acp
	EnvKeyNoBrowser               = "NO_BROWSER"                 // disable automatic browser login in ACP probes and web authentication
	EnvKeyBrowser                 = "BROWSER"                    // browser command used by agents; probes replace it with a no-op
	EnvKeyGeminiAPIKey            = "GEMINI_API_KEY"             // Gemini API-key authentication
	EnvKeyOpenAIAPIKey            = "OPENAI_API_KEY"             // OpenAI API-key authentication
)

Environment variable keys

View Source
const (
	ErrorCodeInit  = "INIT_ERROR"
	ErrorCodeAgent = "AGENT_ERROR"
)

Error codes

View Source
const (
	KeyGroupChatPrompt = "group_chat_prompt"
)
View Source
const (
	// VarCurrentTime is injected per loop iteration by graph loopvars.
	VarCurrentTime = "_current_time"
)

Builtin variable keys shared with the graph workflow engine.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL