Repository navigation
chore(openapi): add the AI analysis endpoints and scopes to the clients - #2054
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 3 commits into
Conversation
Let maintainers know that an action is required on their side
|
c527662 to
b1bce5c
Compare
b1bce5c to
737bf61
Compare
d01b043 to
581df74
Compare
581df74 to
76d5c6b
Compare
12613a4 to
6f3941d
Compare
8a01978 to
038abb6
Compare
6ca21ff to
a4b5f05
Compare
a4b5f05 to
dd4f2fb
Compare
dd4f2fb to
aabfcf8
Compare
aabfcf8 to
fa24a52
Compare
fa24a52 to
6b334c4
Compare
6b334c4 to
a11f099
Compare
a11f099 to
6a8138c
Compare
ebe8bd3 to
b13f615
Compare
b13f615 to
b04db63
Compare
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>
b04db63 to
a87d547
Compare
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 inDevolutions.Gateway.Utils.AccessScopegainsgateway.tasks.recording-ai-analysis.startandgateway.tasks.recording-ai-analysis.read, with serialization tests.gateway-api.yamland both clients gainPOST /jet/jrec/{session_id}/ai-analysis,GET /jet/jrec/{session_id}/ai-analysis/{task_id}(both inJrecApi/JrecService) and their models (AiAnalysisRequest,AiProvider,TaskInfo,TaskState, the running/succeeded/failed payloads,AiAnalysisUsage,AiAnalysisConflict,AiAnalysisConflictCode), plusdoc/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 (thepullRecordingFilecontent types, the spec version).Where to look:
utils/dotnet/Devolutions.Gateway.Utils/src/AccessScope.csandgateway-api.yaml; the client code is generated.🤖 Generated with Claude Code