-
Notifications
You must be signed in to change notification settings - Fork 7
Calculated Column Expression Assistant #7665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
labkey-nicka
wants to merge
31
commits into
develop
Choose a base branch
from
fb_mcp_calc_cols
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0066420
LABKEY.mcpReady
labkey-nicka 4680b76
ai_stars_icon.svg
labkey-nicka e5dd452
Introduce query-expressionAssistantAgent.api
labkey-nicka 58b13ed
Validate generated query
labkey-nicka 5dd6d4f
Remove check
labkey-nicka 377aa7c
conversationId
labkey-nicka ec4c72a
QueryMcp.validateCalculatedColumnExpression tool
labkey-nicka 4d46dce
McpInternal
labkey-nicka 27768fd
Use segments
labkey-nicka a05c9b3
nits
labkey-nicka 8b604c2
ExpressionAssistantAgentAction.java
labkey-nicka 1a212c7
Bump @labkey/components
labkey-nicka e24fd83
Array documentation, useful for text choice columns
labkey-matthewb 143bf50
Bump @labkey/components
labkey-nicka 7a9dc59
Use <AppContexts/> for designers
labkey-nicka 7ed2e91
nits
labkey-nicka 3ebc323
Compose prompt on server
labkey-nicka e4a84f0
Bump @labkey/components
labkey-nicka c4e898a
service prompt
labkey-nicka 3f2db87
Review feedback
labkey-nicka b1a7403
McpInternalTools listResources, readResource
labkey-nicka 5919218
More tests
labkey-nicka 3db6ce4
Review feedback
labkey-nicka 85f2d50
Bump @labkey/components
labkey-nicka 426088b
fix markdown nit
labkey-matthewb 8c6807d
Add CAST to LabKeySql.md
labkey-matthewb 8f29555
Merge branch 'develop' into fb_mcp_calc_cols
labkey-nicka dc68875
Bump @labkey/components
labkey-nicka c00986a
More AppContexts usage
labkey-nicka 687236e
Merge branch 'fb_mcp_calc_cols' of github.com:LabKey/platform into fb…
labkey-nicka b40c6df
validateHtml
labkey-nicka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| package org.labkey.api.mcp; | ||
|
|
||
| import java.lang.annotation.ElementType; | ||
| import java.lang.annotation.Retention; | ||
| import java.lang.annotation.RetentionPolicy; | ||
| import java.lang.annotation.Target; | ||
|
|
||
| /** | ||
| * Marks an MCP tool as internal-only. Internal tools are available to in-process callers (e.g., | ||
| * {@link AbstractAgentAction}-backed agents that supply tool-specific context via {@link McpContext}) | ||
| * but are filtered out of the externally exposed MCP server: they do not appear in {@code listTools} | ||
| * and direct {@code callTool} requests for them are rejected. | ||
| * <p> | ||
| * Use this for tools that require request-scoped context the LLM cannot reasonably supply on its own. | ||
| */ | ||
| @Retention(RetentionPolicy.RUNTIME) | ||
| @Target(ElementType.METHOD) | ||
| public @interface McpInternal | ||
| { | ||
| /** Optional reason surfaced in startup logs. */ | ||
| String value() default ""; | ||
| } |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.