feat(kimi): new adapter for kimi.com (21 commands)#1804
Conversation
|
Kimi deep-audit summary (3 commits, 26 commands) Same deep-audit pass landed in PR #1801 / #1798 / #1799 / #1800 now applied to Kimi. Final coverage: 26 commands across 4 layers
E2E verified
Known structural limitation (documented)Per-message commands ( Workaround: Manually navigate to the chat URL in your real Chrome tab first, then run per-message commands without What's NOT wrapped (and why)
|
|
Update — render bug FIXED + per-message commands fully functional (commit `46535a10`) Diagnosed via DOM probe + network audit. The previous "known limitation" (per-message commands return empty with Root cause (dual bug):
Fix: Append E2E verified live on kimi.com: Final state: all 26 commands functional, including per-message ones. The "known limitation" in earlier summary can be deleted from PR description. |
ab086b6 to
d9e7877
Compare
Summary
Greenfield web adapter for Kimi (Moonshot AI's web chat at kimi.com). Ships 21 commands across 4 layers, mirroring the Grok adapter's structure.
Coverage
statusnewhistorydetailreadsendaskcopy-messageregeneratereactsharemodesidebar-toggleview-all-historysettingsaccountmodelstorage-keysstorage-getcookiesidb-listSpecial:
modeswitches Kimi's 7 work modesmode ppt|docs|deep-research|websites|sheets|agent-swarm|code— navigatesto Kimi's specialized work surfaces.
E2E verified
status→ logged in as "登月者"history→ 5 chats with proper UUIDsaccount→ "登月者 Allegretto"mode→ all 7 modes listedstorage-keys→ access_token, _tea*, _gcl_lscookies→ 8 JS-visible cookies (httpOnly auth deliberately not shown)idb-list→ AiTopia DBmodel(current) → "K2.6 思考"Selector strategy
Kimi labels its icons via
<svg role="img" name="X">(Copy/Refresh/Like/Dislike/Share_a/Send/LeftBar/Down_b). TheclickBySvgNameScripthelper finds the svg, walks up to the nearest clickable ancestor, and dispatches the full pointer chain.Known limitation
Per-message commands (
copy-message/regenerate/react/share)need the page to be on a chat URL already; follow-up will add
--conv <id>to allow navigation first (mirroring Grok's pattern). Workaround:
opencli browser kimi open <chat-url>first.Test plan
mode <name>navigates correctly without auth issues