LibreChat/client
Marco Beretta 9d55dde46a
💬 feat: Conversation Starters in Agent Builder (#16523)
* 💬 feat: Conversation Starters in Agent Builder

* fix: Preserve untouched agent starters and scope drafts to their agent

An unrelated builder save no longer rewrites stored starters: the field is
sent only when the list changed, so API-set lists past the builder cap or
with padding survive. The draft input is keyed by agent id so unsent text
does not follow the user to a new or different agent, and each delete
control now sits on its starter's row. Adds Playwright scenarios for the
builder-to-landing flow, preservation, clearing and draft scoping.

* fix: Keep starter drafts in form state and show saved starters after save

The unsent starter draft moves into react-hook-form as a builder-only
field, so it survives switching to the Model or Advanced panel and is
still cleared by the reset that loads another agent. Enter no longer adds
a starter while an IME composition is being committed. After create or
update, the starters field is reset to the stored list, so trimmed or
dropped rows do not linger and keep the add input disabled.

* fix: Keep starter edits made during a save and drop the UI-only length cap

Sync the stored starters back into the form only when the rows still hold what the save sent for the same agent, so edits typed while the request was in flight, or another agent selected meanwhile, are not overwritten. Remove the 64-character maxLength: the agent API and schema accept any length and the landing page already clamps display.

* fix: Merge a finished agent save only into the agent it was for

* test: Switch agents in place while the first save is held
2026-10-01 13:54:48 -04:00
..
public 🔤 fix: Ship the Theme Font Faces With the Package (#16485) 2026-10-01 03:46:18 +00:00
src 💬 feat: Conversation Starters in Agent Builder (#16523) 2026-10-01 13:54:48 -04:00
sw
test
babel.config.cjs
check_updates.sh
index.html 🌅 fix: Paint the Cached Deployment Theme on the First Frame (#16590) 2026-10-01 11:50:53 +00:00
jest.config.cjs 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
jest.resolver.cjs
nginx.conf
package.json 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
postcss.config.cjs 🌊 refactor: Upgrade the Client to Tailwind v4 (#15996) 2026-10-01 03:46:16 +00:00
tailwind.config.cjs 📐 feat: Radius and Font Scales Follow the Theme (#16340) 2026-10-01 03:46:17 +00:00
tsconfig.json
vite.config.ts 🔤 fix: Ship the Theme Font Faces With the Package (#16485) 2026-10-01 03:46:18 +00:00