Skip to content

lsp: Make capabilities consistent with client#1880

Merged
charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom
charlieegan3:experimental-capabilities-again
Feb 17, 2026
Merged

lsp: Make capabilities consistent with client#1880
charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom
charlieegan3:experimental-capabilities-again

Conversation

@charlieegan3
Copy link
Contributor

@charlieegan3 charlieegan3 commented Feb 17, 2026

This PR follows #1867, and is related to open-policy-agent/vscode-opa#406

To make better support mismatched server and client versions.

example.mp4


// set enabled commands based on server feature flags
enabledCommands := []string{
"regal.eval",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

eval command is always on, just diff behaviour

@charlieegan3 charlieegan3 force-pushed the experimental-capabilities-again branch from 1148d40 to 6652e18 Compare February 17, 2026 13:41
@charlieegan3 charlieegan3 force-pushed the experimental-capabilities-again branch from 6652e18 to e1a2c6e Compare February 17, 2026 14:01
This PR follows
open-policy-agent#1867

To make better support mismatched server and client versions.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
@charlieegan3 charlieegan3 force-pushed the experimental-capabilities-again branch from e1a2c6e to d79f9f5 Compare February 17, 2026 15:52
@charlieegan3 charlieegan3 enabled auto-merge (squash) February 17, 2026 15:52
@charlieegan3 charlieegan3 merged commit 0de9225 into open-policy-agent:main Feb 17, 2026
8 checks passed
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.

2 participants