setup

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package setup installs Cortex integrations for AI coding agents.

Supported agents: claude-code, opencode, gemini-cli, codex. Each agent gets MCP server registration plus agent-specific configuration (Memory Protocol instructions, compaction recovery, tool allowlists).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddClaudeCodeAllowlist added in v1.0.0

func AddClaudeCodeAllowlist() error

AddClaudeCodeAllowlist adds cortex MCP tool permissions to Claude Code settings. It resolves the settings path automatically.

Types

type Agent added in v1.0.0

type Agent struct {
	Name        string
	Description string
	InstallDir  string
}

Agent describes a supported agent for setup.

func SupportedAgents

func SupportedAgents() []Agent

SupportedAgents returns the list of agents that can be set up.

type Result

type Result struct {
	Agent       string
	Destination string
	Files       int
}

Result contains information about a completed setup.

func Install

func Install(agent string) (*Result, error)

Install sets up Cortex integration for the given agent.

Jump to

Keyboard shortcuts

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