{{ message }}
Repository navigation
dbeaver/pro#11120 Add shared AI function service API - #17
Open
labanovichttps wants to merge 2 commits into
Open
labanovichttps wants to merge 2 commits into
labanovichttps wants to merge 2 commits into
Conversation
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.

Desktop AI functions need a shared service contract so DataDam MCP can call them without coupling desktop implementations to WebSocket messages or JSON-RPC envelopes.
Adds the
com.dbeaver.datadam.ai.apiOSGi/Maven module with synchronousDDAiFunctionService.getFunctions()andcallFunction(call), function descriptor/call/result DTOs, and service error codes. Function metadata includes the callable ID, display name, description and full argument JSON Schema. JSON values preserve numeric precision and explicit nulls with the documented serializer configuration.The README describes desktop eligibility checks, execution failures versus rejected calls, MCP field mappings, and transport responsibilities. Connection identity, request/response correlation and remote cancellation remain outside the shared service interface. The production External DAM proxy is separate work under dbeaver/pro#11108.
Related to https://github.com/dbeaver/pro/issues/11120.
Consumed by the standalone MCP service in https://github.com/dbeaver/datadam/pull/156; merge and publish this API before integrating the server dependency.
Validation:
CI integration: the same API commit is also published as
dbeaver/pro#11120-mcp-service, because the server workflow resolves sibling dependencies by its own branch name. Keep that branch synchronized with this PR until the API is merged.