openpencil/apps/web/src/services
Fini cf00c7c590 fix(ai): drop image from icon resolver noise list — it's a real lucide key
Why: my prior C3 resolver fix added `image` to ICON_NOISE_WORDS so
"Image Placeholder Path" (a non-icon container name) wouldn't collapse
to a circle. That was overcorrecting — `image` is also the canonical
Lucide icon key for the picture/photo glyph, and the model frequently
emits "Image Icon" meaning exactly that. With image stripped, "Image
Icon" tokenised to [] and the resolver returned without writing the
matched lucide:image path.

What: remove `image` from ICON_NOISE_WORDS, with an inline note that
the multi-word "Image Placeholder Path" pattern still resolves through
the prefix fallback (`image` covers >= 50% of `imageplaceholder` so
findPrefixFallback picks it up). Add a regression test for "Image Icon"
→ /image/.

1070 / 1070 AI tests pass (was 1069; +1).
2026-05-09 20:59:31 +08:00
..
__tests__ V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
ai fix(ai): drop image from icon resolver noise list — it's a real lucide key 2026-05-09 20:59:31 +08:00
figma V0.7.2-bugfix (#109) 2026-04-14 21:42:56 +08:00
git-client.ts V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
git-error.ts V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
git-types.ts V0.7.0 (#95) 2026-04-11 23:25:13 +08:00