Skip to content

DISCO-69: Add SDK Download Command - #439

Merged
Patrick Tamunjoh (patricktamunjoh) merged 2 commits into
mainfrom
feature/DISCO-69-add-sdk-download-command
Oct 22, 2026
Merged

Patrick Tamunjoh (patricktamunjoh) merged 2 commits into
mainfrom
feature/DISCO-69-add-sdk-download-command

Conversation

@patricktamunjoh

Copy link
Copy Markdown
Contributor

Description

Adds content-cli sdk download --appId <appId> (beta). It downloads the latest Celonis SDK generated for a Codespace asset from pro-code-app-manager and stores it as an npm tarball at .celonis-sdk/<appId>.tgz, ready for npm install ./.celonis-sdk/<appId>.tgz. This is an interim step until the npm registry is available.

  • New sdk command group (src/commands/sdk/) that will hold further Celonis SDK commands for Codespace custom apps.
  • sdk download calls GET /pro-code-app-manager/api/npm/@celonis-sdk/<appId>/-/<appId>-latest.tgz. The versioned file name is required by the policy-guard rule for this endpoint.
  • Each download replaces the existing .celonis-sdk folder. A failed download leaves it untouched.
  • OAuth profiles now request the pro-code-app-manager.sdk:read and pro-code-app-manager.publish scopes first, and fall back to the previous scope sets on environments where these scopes aren't available yet.
  • Added the user guide page, the command graph entry and @celonis/discovery ownership in CODEOWNERS.

Relevant links

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

@sonarqubecloud

Copy link
Copy Markdown

@patricktamunjoh
Patrick Tamunjoh (patricktamunjoh) merged commit c9e7d3e into main Oct 22, 2026
5 checks passed
@patricktamunjoh
Patrick Tamunjoh (patricktamunjoh) deleted the feature/DISCO-69-add-sdk-download-command branch October 22, 2026 07:31
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.

3 participants