agent

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAgent

func IsAgent() bool

IsAgent checks environment variables to detect if the CLI is being invoked by an AI coding agent. Based on the detection logic from Vercel's @vercel/functions/ai package.

func IsClaudeCode

func IsClaudeCode() bool

IsClaudeCode reports whether the CLI is running inside Claude Code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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