enh: frontmatter version

This commit is contained in:
Timothy J. Baek 2024-06-23 21:07:22 -07:00
parent 9788633ce1
commit 51adb1c04a
2 changed files with 16 additions and 0 deletions

View File

@ -162,6 +162,14 @@
{func.type} {func.type}
</div> </div>
{#if func?.meta?.manifest?.version}
<div
class="text-xs font-black px-1 rounded line-clamp-1 bg-gray-500/20 text-gray-700 dark:text-gray-200"
>
v{func?.meta?.manifest?.version ?? ''}
</div>
{/if}
<div class=" line-clamp-1"> <div class=" line-clamp-1">
{func.name} {func.name}
</div> </div>

View File

@ -156,6 +156,14 @@
TOOL TOOL
</div> </div>
{#if tool?.meta?.manifest?.version}
<div
class="text-xs font-black px-1 rounded line-clamp-1 bg-gray-500/20 text-gray-700 dark:text-gray-200"
>
v{tool?.meta?.manifest?.version ?? ''}
</div>
{/if}
<div class="line-clamp-1"> <div class="line-clamp-1">
{tool.name} {tool.name}
</div> </div>