Patch Changes
-
#10704
03c0650- Adapters that install@assistant-ui/coredeclare@assistant-ui/storeand@assistant-ui/tapas peers, so strict installers such as Yarn PnP resolve the single copy the app provides.@assistant-ui/react-ag-uialso forwards thezodpeer that@ag-ui/clientdeclares. (@okisdev) -
#10578
9906ce6-set_form_fieldonly sets fields the form currently renders. Names that are not mounted, and fields kept out of the model context (password, one-time-code and card inputs,assistant.sensitiveFieldsand anything under them), now return{ success: false }and leave the form unchanged.items[0].nameanditems.0.nameboth work. (@Yonom) -
#10703
5b49ee3-set_form_fieldaccepts numbers and booleans, so the assistant can check a checkbox and fill a Controller field that holds a number or boolean; fields backed by text inputs, selects, textareas and radio groups still receive strings, which React Hook Form'svalueAs*options convert as they do for typed input.set_form_fieldrender args now typevalueasstring | number | boolean, so a renderer annotated withvalue: stringhas to widen it. (@egg119) -
#10740
99167cd-submit_formreports that it found no form instead of throwing where DOM constructors are absent. (@lhy-dcf) -
Updated dependencies [
74199f8,01d3fd7,974347f,ac873e5,9906ce6,3c1497d,50efa27,c66dab9,aea6e31,ed4e645]:- @assistant-ui/core@0.3.38