/** * Read-only probe for the 「Business line」parsing in meego.ts: fetches real Meego * tickets and prints the 一级/二级/三级业务线 cascade the parser extracted. * Touches nothing but Meego's read API. * * Nothing routes on this field any more — the Messaging → im-sg cluster override * was dropped on 2026-10-15 (see importer.ts) — so this is purely a parser check. * * bun scripts/test_biz_line_cluster.ts [ ...] */ import { fetchMeegoIssue, parseMeegoLink } from "../control-server/src/meego"; const links = process.argv.slice(2).length ? process.argv.slice(2) : ["https://meego.larkoffice.com/tiktok/issue/detail/7362008168"]; for (const link of links) { const parsed = parseMeegoLink(link); if (!parsed) { console.log(`${link} → unparseable`); continue; } const issue = await fetchMeegoIssue(parsed.id, parsed.url); console.log(`${parsed.id} ${issue.title}`); console.log(` stack : ${issue.stack}`); console.log(` bizLine : ${issue.bizLine}`); }