[Agent Builder] Expose read-only conversations on plugin start contract#260435
Merged
flash1293 merged 3 commits intoelastic:mainfrom Mar 31, 2026
Merged
[Agent Builder] Expose read-only conversations on plugin start contract#260435flash1293 merged 3 commits intoelastic:mainfrom
flash1293 merged 3 commits intoelastic:mainfrom
Conversation
Allow other plugins to read conversations programmatically via
AgentBuilderPluginStart.conversations.getScopedClient({ request }),
returning a ReadOnlyConversationClient with get and list methods.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Verifies that the public conversations contract delegates get/list to the internal client and does not expose mutating methods. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pgayvallet
approved these changes
Mar 31, 2026
Contributor
💛 Build succeeded, but was flaky
Failed CI Steps
Test Failures
Metrics [docs]Public APIs missing comments
|
mbondyra
added a commit
to mbondyra/kibana
that referenced
this pull request
Mar 31, 2026
…hanges * commit 'd0e62a657916e84694a93983e513ce9e34e0b635': (27 commits) [Agent Builder] Agent overview page design updates (elastic#260468) [Inference UI] Add model detail flyout with endpoint management (elastic#260307) [Fleet] Update doc links in agent policy settings (elastic#260245) [Security Solution] show risk score in new flyout header (elastic#260187) Replace deprecated EUI icons in files owned by @elastic/kibana-security (elastic#255636) [Cases][Templates] Add DATE_PICKER field control type (elastic#260209) [SharedUX] Get spaces callout on each solution nav (elastic#259723) [SharedUX] Preserve feature visibility on solution change (elastic#259316) [CI] Increase investigations cypress disks to 110G (elastic#260423) [Agent Builder] Expose read-only conversations on plugin start contract (elastic#260435) [dasboards as code] drop panels with server errors (elastic#260073) [One Workflow] Add force-delete (hard delete) option for workflows (elastic#260391) [Agent Builder] Fix sidebar error handling error (elastic#260446) [Agent Builder] Add attachment origin to Converse API (elastic#259043) [Alerting v2] Fix rule results preview chart responsiveness (elastic#260444) [Streams] Processing error panel UI improvements (elastic#260028) fix flaky test: alert details error page timeout (elastic#260302) [Agent Builder] Add attachment origin to Converse API (elastic#259043) [One Workflow] Add more unit tests to workflows_extensions plugin (elastic#260384) [ResponseOps] Split alerting security_and_spaces group8 FTR config to fix CI timeout (elastic#260029) ...
jeramysoucy
pushed a commit
to jeramysoucy/kibana
that referenced
this pull request
Apr 1, 2026
…ct (elastic#260435) ## Summary - Adds `conversations` property to `AgentBuilderPluginStart` so other plugins can read conversations programmatically without going through the REST API - Exposes a `getScopedClient({ request })` factory returning a `ReadOnlyConversationClient` with only `get` and `list` methods (no create/update/delete) - Follows the same pattern as `agents.getRegistry`, `tools.getRegistry`, etc. ## Test plan - [ ] Type check passes (`node scripts/type_check --project x-pack/platform/plugins/shared/agent_builder/tsconfig.json`) - [ ] All 1989 existing jest tests pass - [ ] Consumer plugin can import `ConversationsStart` and `ReadOnlyConversationClient` types 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
paulinashakirova
pushed a commit
to paulinashakirova/kibana
that referenced
this pull request
Apr 2, 2026
…ct (elastic#260435) ## Summary - Adds `conversations` property to `AgentBuilderPluginStart` so other plugins can read conversations programmatically without going through the REST API - Exposes a `getScopedClient({ request })` factory returning a `ReadOnlyConversationClient` with only `get` and `list` methods (no create/update/delete) - Follows the same pattern as `agents.getRegistry`, `tools.getRegistry`, etc. ## Test plan - [ ] Type check passes (`node scripts/type_check --project x-pack/platform/plugins/shared/agent_builder/tsconfig.json`) - [ ] All 1989 existing jest tests pass - [ ] Consumer plugin can import `ConversationsStart` and `ReadOnlyConversationClient` types 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
conversationsproperty toAgentBuilderPluginStartso other plugins can read conversations programmatically without going through the REST APIgetScopedClient({ request })factory returning aReadOnlyConversationClientwith onlygetandlistmethods (no create/update/delete)agents.getRegistry,tools.getRegistry, etc.Test plan
node scripts/type_check --project x-pack/platform/plugins/shared/agent_builder/tsconfig.json)ConversationsStartandReadOnlyConversationClienttypes🤖 Generated with Claude Code