feat: add batch-export and batch-update commands#367
Open
qxo wants to merge 1 commit intovercel-labs:mainfrom
Open
feat: add batch-export and batch-update commands#367qxo wants to merge 1 commit intovercel-labs:mainfrom
qxo wants to merge 1 commit intovercel-labs:mainfrom
Conversation
Add new commands for batch skill management: - Add `batch-export` command to export installed skills to YAML config - Add `batch-update` command to batch update skills from YAML config - Support skill configuration with disabled field - Add --dry-run flag to preview changes without applying - Add --with flag to export extra fields (tags, triggers) - Improve Windows symlink handling for user directories - Update CLI help and banner with new commands - Add comprehensive tests for batch operations This feature enables users to: - Export their installed skills to a YAML configuration file - Batch update all skills from a single config file - Share skill configurations across different machines - Enable/disable specific skills without reinstalling - Preview changes before applying them Files modified: - src/cli.ts: Add command routing and help text - src/installer.ts: Improve Windows symlink handling - src/skill-manager.ts: Implement batch-export and batch-update - src/telemetry.ts: Track batch command usage - tests/skill-manager.test.ts: Add comprehensive tests
|
@qxo is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
| detectInstalled: () => Promise<boolean>; | ||
| /** Whether to show this agent in the universal agents list. Defaults to true. */ | ||
| showInUniversalList?: boolean; | ||
| detectInstalled: (homeDir?: string) => Promise<boolean>; |
|
|
||
| if (hasDotDirectories) { | ||
| // Switch to copy mode for Windows user directories | ||
| installMode = 'copy'; |
| if (trimmed.startsWith('- ') && indent === 2) { | ||
| // Save previous item | ||
| if (currentItem?.name) { | ||
| skillList.push(currentItem); |
| skillCount: String(skills.length), | ||
| enabledCount: String(enabledSkills.length), | ||
| disabledCount: String(disabledSkills.length), | ||
| global: String(options.global ?? false), |
f5a3fe7 to
9ca6dbc
Compare
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.
Add new commands for batch skill management:
batch-exportcommand to export installed skills to YAML configbatch-updatecommand to batch update skills from YAML configThis feature enables users to:
Files modified: