Repository navigation
feat: reference CLI, generated UI API client, mock and conformance suite - #1
Merged
Merged
Conversation
…ev IdP - @qrun-io/qqq-ui-api-client: typed client generated (openapi-typescript + openapi-fetch) from the merged UI API document; device-flow sign-in, refresh, UiApiError (BasicErrorResponseV1), SSE reader - @qrun-io/qqq-cli: qqq login/whoami/apps/tables/query/get/run/jobs/tail, only through /qqq/v1 with Authorization: Bearer - @qrun-io/qqq-ui-api-conformance: black-box suite + qqq-dev-idp - scripts/merge-spec.mjs, Prism mock, CI and GitHub Packages publish workflows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sb, health and eight qbit extensions) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Reference CLI, generated client, mock and conformance suite for the QQQ UI API
The first contents of this repo. They prove the QQQ UI API (
/qqq/v1, 1.6.0: QRun-IO/qqq#1229) for CLI and TUI clients. Fixes QRun-IO/qqq#1039 (client-neutral contract suite).@qrun-io/qqq-ui-api-client1.6.0-rc.1:UiApiError(BasicErrorResponseV1, with a fallback for pre-1.6.0 servers), and an SSE reader that sends a bearer token.@qrun-io/qqq-cli0.1.0-rc.1 (qqq):login(device code),logout,whoami,apps,tables [--app],query(criteria,--or, order, limit, fields),get,run(init/step/status loop),jobs,tail(realtimeuser:meplus channels). It talks only to/qqq/v1, withAuthorization: BearerandX-QQQ-Client: cli/....@qrun-io/qqq-ui-api-conformance:traceIdecho;qqq-dev-idp, a local OIDC provider (device grant, refresh, per-client issuers) for testing native clients.scripts/merge-spec.mjsmerges a core and extension documents (it fails on duplicate operations or ids and on conflicting schemas).npm run mockserves the merged document with Prism.v*tag publishes the three packages to GitHub Packages.Proven locally against the QQQ sample app built from #1229, with OAuth2 against
qqq-dev-idp. login, whoami, apps, tables, filtered queries, get, an interactive process and tail all worked over Bearer JWTs. Against admin.kof22.com (UI API 1.5.0) the conformance suite already found real document bugs, which #1229 and the qbit updates fix: dangling collaboration refs,$ref: null, and theoneOfin the authentication values.🤖 Generated with Claude Code