Documentation
¶
Overview ¶
Package claude defines constants for Claude API content types, roles, and integration files.
Index ¶
Constants ¶
View Source
const ( // BlockText is a text content block. BlockText = "text" // BlockThinking is an extended thinking content block. BlockThinking = "thinking" // BlockToolUse is a tool invocation block. BlockToolUse = "tool_use" // BlockToolResult is a tool execution result block. BlockToolResult = "tool_result" )
Claude API content block types.
View Source
const ( // RoleUser is a user message. RoleUser = "user" // RoleAssistant is an assistant message. RoleAssistant = "assistant" )
Claude API message roles.
View Source
const ( // Md is the Claude Code configuration file in the project root. Md = "CLAUDE.md" // Settings is the Claude Code local settings file. Settings = ".claude/settings.local.json" // SettingsGolden is the golden image of the Claude Code settings. SettingsGolden = ".claude/settings.golden.json" // GlobalSettings is the Claude Code global settings file. // Located at ~/.claude/settings.json (not the project-local one). GlobalSettings = "settings.json" // InstalledPlugins is the Claude Code installed plugins registry. // Located at ~/.claude/plugins/installed_plugins.json. InstalledPlugins = "plugins/installed_plugins.json" // PluginID is the ctx plugin identifier in Claude Code. PluginID = "ctx@activememory-ctx" // KeyEnabledPlugins is the JSON key for enabled plugins in Claude Code settings. KeyEnabledPlugins = "enabledPlugins" // PluginScope is the permission scope prefix for plugin-scoped skills. PluginScope = "ctx:" // PluginScopeWildcard is the wildcard suffix for plugin-scoped permissions. PluginScopeWildcard = ":*" // PermSkillPrefix is the opening token of a Claude Code skill permission. PermSkillPrefix = "Skill(" // PermSkillSuffix is the closing token of a Claude Code skill permission. PermSkillSuffix = ")" )
Claude Code integration file names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.