Skip to content

Follow-up suggestion pills, context TextValue refactor + embedded agent capabilitiesVersion bump to v66 - #4061

Merged
shilpi1998 merged 10 commits into
developfrom
inline-widget-follow-up-suggestions
Oct 20, 2026
Merged

shilpi1998 merged 10 commits into
developfrom
inline-widget-follow-up-suggestions

Conversation

@shilpi1998

@shilpi1998 shilpi1998 commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Rebuilt inline-agent-widget.umd.js from inline-agent-widget PR #17 and inline-agent-widget PR #18
  • Adds follow-up suggestion pills extracted from agent response suggestions blocks
  • Refactors commerce_agent_context to send as a TextValue JSON string instead of a StructuredValue (PR Close Addtocart modal manually on path change #18)
  • Adds a new DEFAULT_EMBEDDED_AGENT_CAPABILITIES_VERSION constant ('66') for the inline agent widget, separate from the Commerce Client's DEFAULT_COMMERCE_CLIENT_CAPABILITIES_VERSION ('65'). The inline widget requires v66+ for context-variable support.

Test plan

  • Load widget on a PDP, verify static pills appear on mount
  • Ask a question, verify follow-up suggestions replace PDP pills in the shelf
  • Ask another question, verify dismissed pills reset on new answer
  • Verify capabilities-version attribute on the inline widget element is 66
  • Verify the Commerce Client (floating) widget still uses capabilities version 65
  • Verify product context is sent as a TextValue JSON string in the session context
image

…efresh pill button

Built from inline-agent-widget PR #17 (follow-up-suggestions-refresh branch).
Adds follow-up suggestion pills from agent responses and a refresh button to rotate PDP questions.
@shilpi1998
shilpi1998 requested a review from a team as a code owner October 13, 2026 14:03
@git2gus

git2gus Bot commented Oct 13, 2026

Copy link
Copy Markdown

Git2Gus App is installed but the .git2gus/config.json doesn't have right values. You should add the required configuration.

@cc-prodsec

cc-prodsec commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Updated from latest follow-up-suggestions-refresh branch which removed
the refresh button and simplified the pill shelf to follow-ups only.
The inline (embedded) agent widget needs capabilities version 66 for
context-variable support, while the Commerce Client floater stays at 65.
@shilpi1998 shilpi1998 changed the title Update inline-agent-widget UMD with follow-up suggestions + refresh pill Follow-up suggestion pills + embedded agent capabilitiesVersion bump to v66 Oct 14, 2026
@shilpi1998
shilpi1998 enabled auto-merge October 14, 2026 19:25
shethj
shethj previously approved these changes Oct 19, 2026

@shethj shethj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

… PR #18 (context TextValue)

Built from context-textvalue branch which includes merged PR #17.
@shilpi1998 shilpi1998 changed the title Follow-up suggestion pills + embedded agent capabilitiesVersion bump to v66 Follow-up suggestion pills, context TextValue refactor + embedded agent capabilitiesVersion bump to v66 Oct 20, 2026
@shilpi1998
shilpi1998 disabled auto-merge October 20, 2026 18:13
@shilpi1998
shilpi1998 merged commit 0008c7e into develop Oct 20, 2026
41 checks passed
@shilpi1998
shilpi1998 deleted the inline-widget-follow-up-suggestions branch October 20, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants