feat(style_tool): allow update_style by style_id#129
Conversation
Add optional style_id to update_style; make style_name optional when style_id is set. Require at least one via zod refine so agents can target base utilities without combo name resolution. Evidence: goboon site 67357e5b3470f7b3ed6b8017 — name-based update hits isComboClass: true shells for base utility IDs from query_styles. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Autonomous repro (Boon internal runbook — no secrets) 20-minute autonomous watcher ( Evidence on
After merge: wire patched or upstream server in Cursor MCP ( |
|
Production blocker for Boon (goboon.co): we need |
Problem
query_stylesreturns base utilitystyle_idvalues (isComboClass: false).update_stylerequiresstyle_nameand resolves combo shells when names collide — agents cannot cleartext-wrapon six goboon base utility IDs.Evidence site:
67357e5b3470f7b3ed6b8017(goboon)update_styleidisComboClassda317553-de32-cbab-b54f-45d9e7ce308ed46038f7-…8a893afb-5285-9a83-26aa-19bc009eee6059e46359-…Re-audit after six name-based clears: 6/6 base IDs still have
text-wrap.Changes
style_idtoupdate_stylezod object insrc/tools/deStyle.tsstyle_nameoptional whenstyle_idis set.refine: requirestyle_idorstyle_namePatch verified with
git applyonmain@ c4fa339.Verify before merge
style_idonupdate_styleand updates the base style, not a combostyle_idin publishedstyle_toolJSON schema if maintained separatelyRelated
Boon internal patch kit:
tools/webflow-mcp-style-id-patch/(not in this PR — upstream only).Made with Cursor