Skip to main content
Glama
DiffPanel.vue645 B
<template> <ul class="p-xs flex flex-col gap-xs"> <CodeViewer v-if="diff" :code="diff" codeLanguage="diff" copyTooltip="Copy diff to clipboard" /> <EmptyState v-else icon="diff" text="No changes" /> </ul> </template> <script lang="ts" setup> import { computed } from "vue"; import CodeViewer from "@/components/CodeViewer.vue"; import { BifrostComponent } from "@/workers/types/entity_kind_types"; import EmptyState from "./EmptyState.vue"; const component = defineProps<{ component: BifrostComponent; }>(); const diff = computed(() => { return component.component.resourceDiff.diff; }); </script>

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server