templateinfo

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package templateinfo holds the application's identity constants.

It is the single source of truth for the application name and title: the CLI command name, the MCP server implementation name reported to clients, and the environment-variable prefix all derive from Name.

Index

Constants

View Source
const (
	// Name is the application and binary name. It is used as the root command
	// name, the MCP server implementation name, and the base of the
	// environment-variable prefix (see [EnvPrefix]).
	Name = "agentcompute"
	// Title is the human-readable server title shown to MCP clients.
	Title = "agentcompute CodeMode MCP server"
)

Variables

This section is empty.

Functions

func EnvPrefix

func EnvPrefix() string

EnvPrefix returns the prefix for the application's environment variables, for example AGENTCOMPUTE_ADDR. It is derived from Name so a rename keeps the command name and the environment variables in sync.

Types

This section is empty.

Jump to

Keyboard shortcuts

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