@skillkit/cli 1.7.0 → 1.7.3
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 +23 -29
- package/dist/index.js +2130 -1259
- package/dist/index.js.map +1 -1
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ declare class SyncCommand extends Command {
|
|
|
27
27
|
agent: string | undefined;
|
|
28
28
|
enabledOnly: boolean;
|
|
29
29
|
yes: boolean;
|
|
30
|
+
quiet: boolean;
|
|
30
31
|
execute(): Promise<number>;
|
|
31
32
|
}
|
|
32
33
|
|
|
@@ -35,7 +36,9 @@ declare class InitCommand extends Command {
|
|
|
35
36
|
static usage: clipanion.Usage;
|
|
36
37
|
agent: string | undefined;
|
|
37
38
|
list: boolean;
|
|
39
|
+
quiet: boolean;
|
|
38
40
|
execute(): Promise<number>;
|
|
41
|
+
private checkAndPromptPublish;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
declare class EnableCommand extends Command {
|
|
@@ -71,6 +74,7 @@ declare class InstallCommand extends Command {
|
|
|
71
74
|
provider: string | undefined;
|
|
72
75
|
list: boolean;
|
|
73
76
|
agent: string[] | undefined;
|
|
77
|
+
quiet: boolean;
|
|
74
78
|
execute(): Promise<number>;
|
|
75
79
|
}
|
|
76
80
|
|
|
@@ -197,9 +201,6 @@ declare class ContextCommand extends Command {
|
|
|
197
201
|
private printContextSummary;
|
|
198
202
|
}
|
|
199
203
|
|
|
200
|
-
/**
|
|
201
|
-
* Recommend command - get smart skill recommendations based on project analysis
|
|
202
|
-
*/
|
|
203
204
|
declare class RecommendCommand extends Command {
|
|
204
205
|
static paths: string[][];
|
|
205
206
|
static usage: clipanion.Usage;
|
|
@@ -213,34 +214,13 @@ declare class RecommendCommand extends Command {
|
|
|
213
214
|
includeInstalled: boolean;
|
|
214
215
|
json: boolean;
|
|
215
216
|
projectPath: string | undefined;
|
|
217
|
+
quiet: boolean;
|
|
216
218
|
execute(): Promise<number>;
|
|
217
|
-
/**
|
|
218
|
-
* Get project profile from context or by analyzing project
|
|
219
|
-
*/
|
|
220
219
|
private getProjectProfile;
|
|
221
|
-
/**
|
|
222
|
-
* Show project profile summary
|
|
223
|
-
*/
|
|
224
220
|
private showProjectProfile;
|
|
225
|
-
/**
|
|
226
|
-
* Display recommendations
|
|
227
|
-
*/
|
|
228
221
|
private displayRecommendations;
|
|
229
|
-
/**
|
|
230
|
-
* Generate a visual score bar
|
|
231
|
-
*/
|
|
232
|
-
private getScoreBar;
|
|
233
|
-
/**
|
|
234
|
-
* Handle search mode
|
|
235
|
-
*/
|
|
236
222
|
private handleSearch;
|
|
237
|
-
/**
|
|
238
|
-
* Load skill index from cache
|
|
239
|
-
*/
|
|
240
223
|
private loadIndex;
|
|
241
|
-
/**
|
|
242
|
-
* Update skill index from sources
|
|
243
|
-
*/
|
|
244
224
|
private updateIndex;
|
|
245
225
|
}
|
|
246
226
|
|
|
@@ -374,9 +354,6 @@ declare class TestCommand extends Command {
|
|
|
374
354
|
private parseSkillTests;
|
|
375
355
|
}
|
|
376
356
|
|
|
377
|
-
/**
|
|
378
|
-
* Marketplace command - browse and install skills from the marketplace
|
|
379
|
-
*/
|
|
380
357
|
declare class MarketplaceCommand extends Command {
|
|
381
358
|
static paths: string[][];
|
|
382
359
|
static usage: clipanion.Usage;
|
|
@@ -386,6 +363,7 @@ declare class MarketplaceCommand extends Command {
|
|
|
386
363
|
tags: string | undefined;
|
|
387
364
|
source: string | undefined;
|
|
388
365
|
json: boolean;
|
|
366
|
+
quiet: boolean;
|
|
389
367
|
execute(): Promise<number>;
|
|
390
368
|
private browseMarketplace;
|
|
391
369
|
private searchSkills;
|
|
@@ -697,6 +675,22 @@ declare class AuditCommand extends Command {
|
|
|
697
675
|
private buildQuery;
|
|
698
676
|
}
|
|
699
677
|
|
|
678
|
+
declare class PublishCommand extends Command {
|
|
679
|
+
static paths: string[][];
|
|
680
|
+
static usage: clipanion.Usage;
|
|
681
|
+
skillPath: string | undefined;
|
|
682
|
+
name: string | undefined;
|
|
683
|
+
dryRun: boolean;
|
|
684
|
+
execute(): Promise<number>;
|
|
685
|
+
private findSkillMd;
|
|
686
|
+
private parseFrontmatter;
|
|
687
|
+
private slugify;
|
|
688
|
+
private getRepoInfo;
|
|
689
|
+
private formatName;
|
|
690
|
+
private inferTags;
|
|
691
|
+
private createIssueBody;
|
|
692
|
+
}
|
|
693
|
+
|
|
700
694
|
declare class AgentCommand extends Command {
|
|
701
695
|
static paths: string[][];
|
|
702
696
|
static usage: clipanion.Usage;
|
|
@@ -758,4 +752,4 @@ declare function getInstallDir(global?: boolean, agentType?: AgentType): string;
|
|
|
758
752
|
declare function getAgentConfigPath(agentType?: AgentType): string;
|
|
759
753
|
declare function initProject(agentType?: AgentType): Promise<void>;
|
|
760
754
|
|
|
761
|
-
export { AICommand, AgentCommand, AgentCreateCommand, AgentListCommand, AgentShowCommand, AgentSyncCommand, AgentTranslateCommand, AgentValidateCommand, AuditCommand, CICDCommand, CommandCmd, ContextCommand, CreateCommand, DisableCommand, EnableCommand, HookCommand, InitCommand, InstallCommand, ListCommand, MarketplaceCommand, MemoryCommand, MethodologyCommand, PauseCommand, PlanCommand, PluginCommand, ReadCommand, RecommendCommand, RemoveCommand, ResumeCommand, RunCommand, SettingsCommand, StatusCommand, SyncCommand, TeamCommand, TestCommand, TranslateCommand, UICommand, UpdateCommand, ValidateCommand, WorkflowCreateCommand, WorkflowListCommand, WorkflowRunCommand, getAgentConfigPath, getInstallDir, getSearchDirs, initProject, loadSkillMetadata, saveSkillMetadata };
|
|
755
|
+
export { AICommand, AgentCommand, AgentCreateCommand, AgentListCommand, AgentShowCommand, AgentSyncCommand, AgentTranslateCommand, AgentValidateCommand, AuditCommand, CICDCommand, CommandCmd, ContextCommand, CreateCommand, DisableCommand, EnableCommand, HookCommand, InitCommand, InstallCommand, ListCommand, MarketplaceCommand, MemoryCommand, MethodologyCommand, PauseCommand, PlanCommand, PluginCommand, PublishCommand, ReadCommand, RecommendCommand, RemoveCommand, ResumeCommand, RunCommand, SettingsCommand, StatusCommand, SyncCommand, TeamCommand, TestCommand, TranslateCommand, UICommand, UpdateCommand, ValidateCommand, WorkflowCreateCommand, WorkflowListCommand, WorkflowRunCommand, getAgentConfigPath, getInstallDir, getSearchDirs, initProject, loadSkillMetadata, saveSkillMetadata };
|