textutil

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StripIDEContextTags

func StripIDEContextTags(text string) string

StripIDEContextTags removes IDE-injected context tags from prompt text. The VSCode extension injects tags like:

  • <ide_opened_file>...</ide_opened_file> - currently open file
  • <ide_selection>...</ide_selection> - selected code in editor

Also removes system-injected tags like:

  • <local-command-caveat>...</local-command-caveat>
  • <system-reminder>...</system-reminder>
  • <command-name>...</command-name>

These shouldn't appear in commit messages or session descriptions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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