mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
* feat: add get_shape_library tool for AI icon discovery - Add server-side tool that returns shape library documentation - AI can fetch icon/shape names on-demand before generating diagrams - Includes path traversal protection and input sanitization - Library index embedded in tool description for discoverability - Supports 33 libraries: AWS, Azure, GCP, Kubernetes, Cisco, etc. * fix: improve get_shape_library error handling and imports - Move fs/path imports to top of file (avoid dynamic imports per call) - Distinguish file-not-found vs other errors in catch block - Include invalid input in validation error message - Log unexpected errors for debugging * docs: add get_shape_library to system prompt tool list - Add Tool4 (get_shape_library) to available tools section - Add usage guidance in 'Choose the right tool' section - Update AWS icons note to reference get_shape_library for icon discovery * fix: display get_shape_library tool output in chat UI * fix: correct state check for get_shape_library output display * fix: make get_shape_library output respect fold state * style: auto-format with Biome --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3.0 KiB
3.0 KiB
fluidpower
Type: mxgraph shapes
Prefix: mxgraph.fluid_power
Usage
<mxCell value="label" style="shape=mxgraph.fluid_power.{shape};fillColor=strokeColor;" vertex="1" parent="1">
<mxGeometry x="0" y="0" width="60" height="60" as="geometry" />
</mxCell>
Shapes are named like x10010, x10020, etc.
Shapes (247)
mxgraph.fluid_powerx10010x10020x10030x10040x10050x10060x10070x10080x10090x10100x10110x10120x10130x10140x10150x10160x10170x10180x10190x10200x10210x10220x10230x10240x10250x10260x10270x10280x10290x10300x10310x10320x10330x10340x10350x10360x10370x10380x10390x10400x10410x10420x10430x10440x10441x10442x10450x10460x10470x10480x10490x10500x10510x10520x10530x10540x10550x10560x10570x10580x10590x10600x10610x10620x10630x10640x10650x10660x10670x10680x10690x10700x10710x10720x10730x10740x10750x10760x10770x10780x10790x10800x10810x10820x10830x10840x10850x10860x10870x10880x10890x10900x10910x10920x10930x10940x10950x10960x10970x10980x10990x11000x11010x11020x11030x11040x11050x11060x11070x11080x11090x11100x11110x11120x11130x11140x11150x11160x11170x11180x11190x11200x11210x11220x11230x11240x11250x11260x11270x11280x11290x11300x11310x11320x11330x11340x11350x11360x11370x11380x11390x11400x11410x11420x11430x11440x11450x11460x11470x11480x11490x11500x11510x11520x11530x11540x11550x11560x11570x11580x11590x11600x11610x11620x11630x11640x11650x11660x11670x11680x11690x11700x11710x11720x11730x11740x11750x11760x11770x11780x11790x11800x11810x11820x11830x11840x11850x11860x11870x11880x11890x11900x11910x11920x11930x11940x11950x11960x11970x11980x11990x12000x12010x12020x12030x12040x12050x12060x12070x12080x12090x12100x12110x12120x12130x12140x12150x12160_detailedx12160_simplifiedx12170x12180x12190x12200x12210x12220x12230x12240x12250x12260x12270x12280x12290x12300x12310x12320x12330x12340x12350x12360x12370x12380x12390x12400x12410x12420x12430