Skip to content

Add new features to extensions commands#10257

Closed
inlined wants to merge 2 commits intomainfrom
inlined.ext-tools
Closed

Add new features to extensions commands#10257
inlined wants to merge 2 commits intomainfrom
inlined.ext-tools

Conversation

@inlined
Copy link
Copy Markdown
Member

@inlined inlined commented Apr 3, 2026

To facilitate forking extensions into a functions codebase we've added two additional features:

  1. ext:info now includes the source URL in its output
  2. ext:list --json now includes parameters used in the instance

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the ext:info command to include the source download URL in its output and enhances the listExtensions function to return extension parameters and system parameters. It also introduces a ListedExtension interface to provide better typing for the list results. Feedback was provided to move the ListedExtension interface to a centralized types file to improve maintainability and reusability.

Comment on lines +15 to +24
export interface ListedExtension {
extension: string;
publisher: string;
instanceId: string;
state: string;
version?: string;
updateTime: string;
params: Record<string, string>;
systemParams: Record<string, string>;
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

While defining the ListedExtension interface here is functional, it would be better for maintainability to move it to src/extensions/types.ts alongside other extension-related types. This keeps the codebase organized and makes the interface easily reusable by other commands or utilities that might need to process the output of listExtensions.

@inlined inlined requested review from shettyvarun268 and removed request for shettyvarun268 April 8, 2026 03:56
@inlined inlined closed this Apr 8, 2026
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.

2 participants