Skip to content

chore(openapi): add the AI analysis endpoints and scopes to the clients - #2054

Open
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 3 commits into
feat/recording-ai-analysisfrom
feat/ai-analysis-openapi
Open

irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 3 commits into
feat/recording-ai-analysisfrom
feat/ai-analysis-openapi

Conversation

@irvingoujAtDevolution

@irvingoujAtDevolution irvingouj@Devolutions (irvingoujAtDevolution) commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

The OpenAPI side of the AI analysis endpoints (#2044): the regenerated gateway-api.yaml, .NET client and TS Angular client, plus the two new scopes in Devolutions.Gateway.Utils.

  • AccessScope gains gateway.tasks.recording-ai-analysis.start and gateway.tasks.recording-ai-analysis.read, with serialization tests.
  • gateway-api.yaml and both clients gain POST /jet/jrec/{session_id}/ai-analysis, GET /jet/jrec/{session_id}/ai-analysis/{task_id} (both in JrecApi / JrecService) and their models (AiAnalysisRequest, AiProvider, TaskInfo, TaskState, the running/succeeded/failed payloads, AiAnalysisUsage, AiAnalysisConflict, AiAnalysisConflictCode), plus doc/index.adoc.

Everything under openapi/ comes from openapi-generator 7.9.0 run on the Rust annotations in #2044 (devolutions-gateway/src/openapi.rs), then trimmed by hand to the AI analysis parts: the generator also rewrites unrelated parts that master never regenerated (the pullRecordingFile content types, the spec version).

Where to look: utils/dotnet/Devolutions.Gateway.Utils/src/AccessScope.cs and gateway-api.yaml; the client code is generated.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Let maintainers know that an action is required on their side

  • Add the label release-required Please cut a new release (Devolutions Gateway, Devolutions Agent, Jetsocat, PowerShell module) when you request a maintainer to cut a new release (Devolutions Gateway, Devolutions Agent, Jetsocat, PowerShell module)

  • Add the label release-blocker Follow-up is required before cutting a new release if a follow-up is required before cutting a new release

  • Add the label publish-required Please publish libraries (`Devolutions.Gateway.Utils`, OpenAPI clients, etc) when you request a maintainer to publish libraries (Devolutions.Gateway.Utils, OpenAPI clients, etc.)

  • Add the label publish-blocker Follow-up is required before publishing libraries if a follow-up is required before publishing libraries

@irvingoujAtDevolution irvingouj@Devolutions (irvingoujAtDevolution) changed the title feat/ai analysis openapi chore(openapi): add the AI analysis and task endpoints to the clients Oct 8, 2026
@irvingoujAtDevolution
irvingouj@Devolutions (irvingoujAtDevolution) force-pushed the feat/ai-analysis-openapi branch 2 times, most recently from d01b043 to 581df74 Compare October 8, 2026 19:15
@irvingoujAtDevolution
irvingouj@Devolutions (irvingoujAtDevolution) removed this pull request from stack #2052 October 8, 2026 19:35
@irvingoujAtDevolution
irvingouj@Devolutions (irvingoujAtDevolution) force-pushed the feat/ai-analysis-openapi branch 2 times, most recently from 12613a4 to 6f3941d Compare October 8, 2026 20:16
@irvingoujAtDevolution
irvingouj@Devolutions (irvingoujAtDevolution) force-pushed the feat/ai-analysis-openapi branch 6 times, most recently from 8a01978 to 038abb6 Compare October 8, 2026 22:57
@irvingoujAtDevolution
irvingouj@Devolutions (irvingoujAtDevolution) marked this pull request as ready for review October 8, 2026 23:35
Copilot AI balanced review requested due to automatic review settings October 8, 2026 23:35
@irvingoujAtDevolution
irvingouj@Devolutions (irvingoujAtDevolution) removed this pull request from stack #2073 October 19, 2026 18:06
@irvingoujAtDevolution
irvingouj@Devolutions (irvingoujAtDevolution) force-pushed the feat/ai-analysis-openapi branch 3 times, most recently from ebe8bd3 to b13f615 Compare October 19, 2026 20:55
DVLS can now sign scope tokens for
`gateway.tasks.recording-ai-analysis.start`, to start an AI analysis of
a recorded session, and `gateway.tasks.recording-ai-analysis.read`, to
read its Task.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Adds `POST /jet/jrec/{session_id}/ai-analysis`,
`GET /jet/jrec/{session_id}/ai-analysis/{task_id}`,
their schemas and the `gateway.tasks.recording-ai-analysis.start` and
`gateway.tasks.recording-ai-analysis.read` scopes to gateway-api.yaml,
and regenerates the dotnet and TypeScript clients and the docs. Only
the AI analysis output is kept; the existing version and content-type
drift of the committed clients is left as is.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…es up

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@irvingoujAtDevolution irvingouj@Devolutions (irvingoujAtDevolution) changed the title chore(openapi): add the AI analysis and task endpoints to the clients chore(openapi): add the AI analysis endpoints and scopes to the clients Oct 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants