/** * Agent 管理页面 * Agent 增删改查 + 身份编辑 */ import { api, invalidate } from '../lib/tauri-api.js' import { toast } from '../components/toast.js' import { humanizeError } from '../lib/humanize-error.js' import { showModal, showConfirm } from '../components/modal.js' import { CHANNEL_LABELS } from '../lib/channel-labels.js' import { t } from '../lib/i18n.js' import { listAgentsCompat } from '../lib/api-compat.js' import { hasFeature } from '../lib/kernel.js' export async function render() { const page = document.createElement('div') page.className = 'page' page.innerHTML = `
${t('agents.desc')}
${t('agents.detailHint')}