Documentation
¶
Index ¶
Constants ¶
View Source
const Logo = `` /* 1372-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func ExtractToolHint ¶
ExtractToolHint pulls a short display hint out of a tool's JSON args. Prefers a "description" field; otherwise falls back to a priority list of common keys. For fs tools, paths are normalized to workspace-rooted form ("pkg/code" → "/pkg/code", "." → "/"). toolName may be empty if unknown.
func FormatTokens ¶
FormatTokens renders a token count as a short human-readable string: "1.5M" / "1.5K" / "42".
func NormalizeWorkspacePath ¶
NormalizeWorkspacePath rewrites a workspace-relative path so that it always starts with "/". The cwd literals "." and "./" become "/". Already-absolute paths (starting with "/" or "~") pass through unchanged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.