Skip to content

feat: SDK update for version 15.5.0 - #106

Merged
ChiragAgg5k merged 3 commits into
mainfrom
dev
Jul 23, 2026
Merged

feat: SDK update for version 15.5.0#106
ChiragAgg5k merged 3 commits into
mainfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Jul 23, 2026

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 15.5.0.

What's Changed

  • Updated: Removed projects.createDevKey() method
  • Added: apps key management methods listKeys, createKey, getKey, deleteKey, and listInstallationScopes
  • Added: installationScopes and installationRedirectUrl parameters to apps.update()
  • Added: app installation management methods to organization and teams services
  • Added: installationAccessTokenDuration parameter to project.updateOAuth2Server()
  • Added: vectorsDB.createQuery() for querying documents via POST request body
  • Added: organization installation key scopes

@ChiragAgg5k ChiragAgg5k changed the title feat: Console SDK update for version 15.5.0 feat: SDK update for version 15.5.0 Jul 23, 2026
@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown

Greptile Summary

Updates the Console SDK to version 15.5.0.

  • Adds application key and installation-scope APIs.
  • Adds organization and team application-installation management APIs and corresponding models.
  • Adds POST-based VectorsDB document querying and OAuth2 installation-token configuration.
  • Removes project development-key creation and updates generated documentation, package metadata, enums, and publishing actions.

Confidence Score: 3/5

The PR should not merge until the retained updateOAuth2Server positional overload preserves the existing argument positions.

Inserting the new duration argument before confidentialPkce shifts every trailing positional setting, causing compile failures for typed consumers and incorrectly constructed payloads for JavaScript consumers.

src/services/project.ts

Important Files Changed

Filename Overview
src/services/project.ts Adds installationAccessTokenDuration, but inserting it into the retained positional overload breaks existing positional callers.
src/services/apps.ts Adds installation configuration and app-key management methods with consistent request construction.
src/services/organization.ts Adds organization-scoped installation list, create, read, update, and delete methods.
src/services/teams.ts Adds equivalent team-scoped installation management methods with encoded route identifiers.
src/services/vectors-db.ts Adds a POST document-query endpoint carrying queries and related options in the JSON body.
src/models.ts Adds application installation and key models and extends application and project response types.

Fix All in Claude Code Fix All in Codex

Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
src/services/project.ts:1011
**Positional OAuth settings shift**

When existing consumers use the retained positional `updateOAuth2Server` overload, the new duration parameter takes the former `confidentialPkce` position and shifts every later argument, causing TypeScript compilation failures or JavaScript requests that send OAuth2 settings under the wrong payload fields.

Reviews (1): Last reviewed commit: "Merge main into dev for 15.5.0 release" | Re-trigger Greptile

Comment thread src/services/project.ts
* @deprecated Use the object parameter style method for a better developer experience.
*/
updateOAuth2Server(enabled: boolean, authorizationUrl: string, scopes?: string[], authorizationDetailsTypes?: string[], accessTokenDuration?: number, refreshTokenDuration?: number, publicAccessTokenDuration?: number, publicRefreshTokenDuration?: number, confidentialPkce?: boolean, verificationUrl?: string, userCodeLength?: number, userCodeFormat?: string, deviceCodeDuration?: number, defaultScopes?: string[]): Promise<Models.Project>;
updateOAuth2Server(enabled: boolean, authorizationUrl: string, scopes?: string[], authorizationDetailsTypes?: string[], accessTokenDuration?: number, refreshTokenDuration?: number, publicAccessTokenDuration?: number, publicRefreshTokenDuration?: number, installationAccessTokenDuration?: number, confidentialPkce?: boolean, verificationUrl?: string, userCodeLength?: number, userCodeFormat?: string, deviceCodeDuration?: number, defaultScopes?: string[]): Promise<Models.Project>;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Positional OAuth settings shift

When existing consumers use the retained positional updateOAuth2Server overload, the new duration parameter takes the former confidentialPkce position and shifts every later argument, causing TypeScript compilation failures or JavaScript requests that send OAuth2 settings under the wrong payload fields.

Prompt To Fix With AI
This is a comment left during a code review.
Path: src/services/project.ts
Line: 1011

Comment:
**Positional OAuth settings shift**

When existing consumers use the retained positional `updateOAuth2Server` overload, the new duration parameter takes the former `confidentialPkce` position and shifts every later argument, causing TypeScript compilation failures or JavaScript requests that send OAuth2 settings under the wrong payload fields.

How can I resolve this? If you propose a fix, please make it concise.

Fix in Claude Code Fix in Codex

@ChiragAgg5k
ChiragAgg5k merged commit 5506d81 into main Jul 23, 2026
1 check 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.

1 participant