| 1224 | // ─────────────────────────────────────────── 10. PUBLISH CARD ─────────── |
| 1225 | |
| 1226 | function initPublish(host) { |
| 1227 | if (!host) return; |
| 1228 | host.innerHTML = ""; |
| 1229 | host.classList.add("lc-publish"); |
| 1230 | |
| 1231 | host.appendChild(htmlEl("p", { class: "lc-mono lc-publish__eyebrow" }, "GEMINI ENTERPRISE · agent catalog")); |
| 1232 | host.appendChild(htmlEl("h4", { class: "lc-publish__name" }, "outage-recovery-bot")); |
| 1233 | host.appendChild(htmlEl("p", { class: "lc-publish__sub" }, |
| 1234 | "SRE-facing assistant. Investigates incidents using logs, metrics, and runbook RAG. Cites every recommendation.")); |
| 1235 | const facts = htmlEl("ul", { class: "lc-publish__facts lc-mono" }); |
| 1236 | [ |
| 1237 | "mode = ADK", |
| 1238 | "runtime = Agent Runtime", |
| 1239 | "region = us-east1", |
| 1240 | "tools = 3", |
| 1241 | ].forEach((f) => facts.appendChild(htmlEl("li", null, "· " + f))); |
| 1242 | host.appendChild(facts); |
| 1243 | |
| 1244 | const status = htmlEl("div", { class: "lc-publish__status" }); |
| 1245 | status.appendChild(htmlEl("span", { class: "lc-publish__pulse" })); |
| 1246 | status.appendChild(htmlEl("span", { class: "lc-mono lc-publish__statusLabel" }, "READY · receiving traffic")); |
| 1247 | host.appendChild(status); |
| 1248 | |
| 1249 | const cmd = htmlEl("pre", { class: "lc-publish__cmd" }, htmlEl("code", null, |
| 1250 | "$ agents-cli publish gemini-enterprise --registration-type adk\n✅ Successfully registered agent to Gemini Enterprise!")); |
| 1251 | host.appendChild(cmd); |
| 1252 | } |
| 1253 | |
| 1254 | // ─────────────────────────────────────────── 11. ROLLING EVAL ─────────── |
| 1255 | |