claude

package
v1.73.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package claude provides commands for integrating with Claude Code through GitLab Duo.

Index

Constants

View Source
const (
	// Standard claude environment variables defined [here](https://docs.anthropic.com/en/docs/claude-code/settings#environment-variables)
	EnvAnthropicCustomHeaders = "ANTHROPIC_CUSTOM_HEADERS"
	EnvAnthropicBaseURL       = "ANTHROPIC_BASE_URL"
	EnvAnthropicModel         = "ANTHROPIC_MODEL"
	EnvAnthropicAuthToken     = "ANTHROPIC_AUTH_TOKEN"

	// Default model: This needs to be configured as we don't support
	// all models
	DefaultClaudeModel = "claude-sonnet-4-20250514"

	// Settings configuration
	ClaudeSettingsDir = ".claude"
	SettingsFileName  = "settings.json"
	APIKeyHelperKey   = "apiKeyHelper"

	CloudConnectorUrl = "https://cloud.gitlab.com/ai/v1/proxy/anthropic"
)
View Source
const ClaudeExecutable = "claude"

Variables

This section is empty.

Functions

func NewCmdClaude

func NewCmdClaude(f cmdutils.Factory) *cobra.Command

func NewCmdToken

func NewCmdToken(f cmdutils.Factory) *cobra.Command

NewCmdToken creates a new cobra command for generating GitLab Duo access tokens.

Types

This section is empty.

Jump to

Keyboard shortcuts

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