chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-26 08:06:37 +00:00
commit f8ceb30b43
3 changed files with 7 additions and 3 deletions

View file

@ -7,7 +7,9 @@ export function inlineCodeKind(text: string): "path" | "url" | undefined {
if (
/[/\\]/.test(text) ||
/^\.\.?[/\\]/.test(text) ||
/\.(tsx?|jsx?|json|py|go|rs|rb|php|css|html|md|sh|ya?ml|toml|sql|c|cpp|h|java|kt|swift|scala|xml|png|jpe?g|gif|svg|ico)$/i.test(text)
/\.(tsx?|jsx?|json|py|go|rs|rb|php|css|html|md|sh|ya?ml|toml|sql|c|cpp|h|java|kt|swift|scala|xml|png|jpe?g|gif|svg|ico)$/i.test(
text,
)
)
return "path"
}