Skip to content

Provide a package selection dialog when installing skills#17

Merged
jakemac53 merged 17 commits into
serverpod:mainfrom
jakemac53:choose-install-packages
Jun 2, 2026
Merged

Provide a package selection dialog when installing skills#17
jakemac53 merged 17 commits into
serverpod:mainfrom
jakemac53:choose-install-packages

Conversation

@jakemac53
Copy link
Copy Markdown
Collaborator

@jakemac53 jakemac53 commented May 11, 2026

This provides not only a bit more transparency into what exactly is being installed, but also lets you pick and choose which packages skills you ultimately do install. If packages are explicitly given, the dialog is skipped.

  • Adds support for multiple trailing arguments so that multiple packages can be explicitly specified on the CLI
  • Adds a magic all package name that just means install for all packages.
  • Require either explicit package names or dialog support when installing/removing packages.
  • Updated the DialogSupport.showMultiSelect method to take a set of initially selected indices
    • We use this to select all packages by default.

Closes dart-lang/ai#457

@jakemac53

This comment was marked as resolved.

@jakemac53 jakemac53 force-pushed the choose-install-packages branch from 88bd3a5 to 5ffeba2 Compare May 11, 2026 21:56
@jakemac53 jakemac53 marked this pull request as ready for review May 12, 2026 15:55
@jakemac53
Copy link
Copy Markdown
Collaborator Author

cc @kenzieschmoll can you review this one as well

Comment thread .jetskicli/project.json Outdated
Comment thread lib/src/commands/get_skills.dart
logger.info(' $pkg');
}
logger.info('Rerun with trailing arguments for each package you want '
'to install skills for, or `all` to install all skills.');
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

if there is no dialogSupport, should we just default to all to mimic the previous behavior of skills get?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I don't think so - I want that to be more explicit personally. We do have the all special argument to handle this case.

Primarily this is here for agentic usage and I think this message should help agents in terms of choosing which skills to actually install on the next call. Maybe they will just pass all, or maybe they will be a bit more direct, but it forces a choice.

Comment thread lib/src/commands/get_skills.dart Outdated
Comment thread lib/src/commands/remove_command.dart Outdated
@jakemac53 jakemac53 requested a review from kenzieschmoll May 26, 2026 16:51
Comment thread .jetskicli/project.json Outdated
@jakemac53 jakemac53 merged commit 4536dc6 into serverpod:main Jun 2, 2026
4 checks 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.

Add dialog that allows you to select which packages you want to install skills from

2 participants