@skillkit/cli 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +82 -1
- package/dist/index.js +1213 -14
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -289,6 +289,8 @@ declare class WorkflowRunCommand extends Command {
|
|
|
289
289
|
continueOnError: boolean;
|
|
290
290
|
json: boolean;
|
|
291
291
|
projectPath: string | undefined;
|
|
292
|
+
agent: string | undefined;
|
|
293
|
+
simulate: boolean;
|
|
292
294
|
execute(): Promise<number>;
|
|
293
295
|
private showDryRun;
|
|
294
296
|
}
|
|
@@ -476,6 +478,85 @@ declare class MemoryCommand extends Command {
|
|
|
476
478
|
private generateSkillContent;
|
|
477
479
|
}
|
|
478
480
|
|
|
481
|
+
/**
|
|
482
|
+
* Settings command - view and modify SkillKit configuration
|
|
483
|
+
*/
|
|
484
|
+
declare class SettingsCommand extends Command {
|
|
485
|
+
static paths: string[][];
|
|
486
|
+
static usage: clipanion.Usage;
|
|
487
|
+
set: string | undefined;
|
|
488
|
+
get: string | undefined;
|
|
489
|
+
json: boolean;
|
|
490
|
+
global: boolean;
|
|
491
|
+
reset: boolean;
|
|
492
|
+
execute(): Promise<number>;
|
|
493
|
+
private getConfigValue;
|
|
494
|
+
private setConfigValue;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* CICD command - initialize CI/CD workflows for skill validation and testing
|
|
499
|
+
*/
|
|
500
|
+
declare class CICDCommand extends Command {
|
|
501
|
+
static paths: string[][];
|
|
502
|
+
static usage: clipanion.Usage;
|
|
503
|
+
provider: string;
|
|
504
|
+
all: boolean;
|
|
505
|
+
force: boolean;
|
|
506
|
+
targetPath: string | undefined;
|
|
507
|
+
execute(): Promise<number>;
|
|
508
|
+
private createWorkflow;
|
|
509
|
+
private createGitHubActions;
|
|
510
|
+
private createGitLabCI;
|
|
511
|
+
private createCircleCI;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
declare class TeamCommand extends Command {
|
|
515
|
+
static paths: string[][];
|
|
516
|
+
static usage: clipanion.Usage;
|
|
517
|
+
action: string;
|
|
518
|
+
name: string | undefined;
|
|
519
|
+
registry: string | undefined;
|
|
520
|
+
description: string | undefined;
|
|
521
|
+
tags: string | undefined;
|
|
522
|
+
skills: string | undefined;
|
|
523
|
+
output: string | undefined;
|
|
524
|
+
source: string | undefined;
|
|
525
|
+
overwrite: boolean | undefined;
|
|
526
|
+
dryRun: boolean | undefined;
|
|
527
|
+
execute(): Promise<number>;
|
|
528
|
+
private initTeam;
|
|
529
|
+
private shareSkill;
|
|
530
|
+
private importSkill;
|
|
531
|
+
private listSkills;
|
|
532
|
+
private syncTeam;
|
|
533
|
+
private removeSkill;
|
|
534
|
+
private createBundle;
|
|
535
|
+
private exportSkillBundle;
|
|
536
|
+
private importSkillBundle;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
declare class PluginCommand extends Command {
|
|
540
|
+
static paths: string[][];
|
|
541
|
+
static usage: clipanion.Usage;
|
|
542
|
+
action: string;
|
|
543
|
+
source: string | undefined;
|
|
544
|
+
name: string | undefined;
|
|
545
|
+
global: boolean | undefined;
|
|
546
|
+
execute(): Promise<number>;
|
|
547
|
+
private listPlugins;
|
|
548
|
+
/**
|
|
549
|
+
* Validate plugin name to prevent path traversal attacks
|
|
550
|
+
* Allows scoped npm names like @scope/name (mirrors loader.ts validation)
|
|
551
|
+
*/
|
|
552
|
+
private isValidPluginName;
|
|
553
|
+
private installPlugin;
|
|
554
|
+
private uninstallPlugin;
|
|
555
|
+
private enablePlugin;
|
|
556
|
+
private disablePlugin;
|
|
557
|
+
private pluginInfo;
|
|
558
|
+
}
|
|
559
|
+
|
|
479
560
|
declare const loadSkillMetadata: typeof loadSkillMetadata$1;
|
|
480
561
|
declare const saveSkillMetadata: typeof saveSkillMetadata$1;
|
|
481
562
|
declare function getSearchDirs(agentType?: AgentType): string[];
|
|
@@ -483,4 +564,4 @@ declare function getInstallDir(global?: boolean, agentType?: AgentType): string;
|
|
|
483
564
|
declare function getAgentConfigPath(agentType?: AgentType): string;
|
|
484
565
|
declare function initProject(agentType?: AgentType): Promise<void>;
|
|
485
566
|
|
|
486
|
-
export { ContextCommand, CreateCommand, DisableCommand, EnableCommand, InitCommand, InstallCommand, ListCommand, MarketplaceCommand, MemoryCommand, PauseCommand, ReadCommand, RecommendCommand, RemoveCommand, ResumeCommand, RunCommand, StatusCommand, SyncCommand, TestCommand, TranslateCommand, UICommand, UpdateCommand, ValidateCommand, WorkflowCreateCommand, WorkflowListCommand, WorkflowRunCommand, getAgentConfigPath, getInstallDir, getSearchDirs, initProject, loadSkillMetadata, saveSkillMetadata };
|
|
567
|
+
export { CICDCommand, ContextCommand, CreateCommand, DisableCommand, EnableCommand, InitCommand, InstallCommand, ListCommand, MarketplaceCommand, MemoryCommand, PauseCommand, PluginCommand, ReadCommand, RecommendCommand, RemoveCommand, ResumeCommand, RunCommand, SettingsCommand, StatusCommand, SyncCommand, TeamCommand, TestCommand, TranslateCommand, UICommand, UpdateCommand, ValidateCommand, WorkflowCreateCommand, WorkflowListCommand, WorkflowRunCommand, getAgentConfigPath, getInstallDir, getSearchDirs, initProject, loadSkillMetadata, saveSkillMetadata };
|