import { registerToolRenderer } from '$lib/tool-renderers'
import EntityTable from './EntityTable.svelte'

export function init() {
  registerToolRenderer({
    match: (t) => t.name === 'list_entities' || t.result?.__renderer === 'entity_table',
    component: EntityTable,
  })
}
