@skillkit/cli 1.7.11 → 1.8.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 +318 -1
- package/dist/index.js +3409 -774
- package/dist/index.js.map +1 -1
- package/package.json +8 -4
package/dist/index.d.ts
CHANGED
|
@@ -322,6 +322,22 @@ declare class WorkflowCreateCommand extends Command {
|
|
|
322
322
|
execute(): Promise<number>;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
+
declare class WorkflowPipelineCommand extends Command {
|
|
326
|
+
static paths: string[][];
|
|
327
|
+
static usage: clipanion.Usage;
|
|
328
|
+
pipeline: string | undefined;
|
|
329
|
+
dryRun: boolean;
|
|
330
|
+
execute(): Promise<number>;
|
|
331
|
+
private showPipeline;
|
|
332
|
+
private runPipeline;
|
|
333
|
+
}
|
|
334
|
+
declare class WorkflowPipelineListCommand extends Command {
|
|
335
|
+
static paths: string[][];
|
|
336
|
+
static usage: clipanion.Usage;
|
|
337
|
+
json: boolean;
|
|
338
|
+
execute(): Promise<number>;
|
|
339
|
+
}
|
|
340
|
+
|
|
325
341
|
/**
|
|
326
342
|
* Run command - execute a skill
|
|
327
343
|
*/
|
|
@@ -595,6 +611,25 @@ declare class HookCommand extends Command {
|
|
|
595
611
|
private generateHooks;
|
|
596
612
|
private showHookInfo;
|
|
597
613
|
}
|
|
614
|
+
declare class HookTemplateListCommand extends Command {
|
|
615
|
+
static paths: string[][];
|
|
616
|
+
static usage: clipanion.Usage;
|
|
617
|
+
category: string | undefined;
|
|
618
|
+
json: boolean;
|
|
619
|
+
execute(): Promise<number>;
|
|
620
|
+
}
|
|
621
|
+
declare class HookTemplateApplyCommand extends Command {
|
|
622
|
+
static paths: string[][];
|
|
623
|
+
static usage: clipanion.Usage;
|
|
624
|
+
id: string;
|
|
625
|
+
execute(): Promise<number>;
|
|
626
|
+
}
|
|
627
|
+
declare class HookTemplateShowCommand extends Command {
|
|
628
|
+
static paths: string[][];
|
|
629
|
+
static usage: clipanion.Usage;
|
|
630
|
+
id: string;
|
|
631
|
+
execute(): Promise<number>;
|
|
632
|
+
}
|
|
598
633
|
|
|
599
634
|
declare class PlanCommand extends Command {
|
|
600
635
|
static paths: string[][];
|
|
@@ -645,6 +680,19 @@ declare class CommandCmd extends Command {
|
|
|
645
680
|
private showInfo;
|
|
646
681
|
private loadCommandsFromConfig;
|
|
647
682
|
}
|
|
683
|
+
declare class CommandAvailableCommand extends Command {
|
|
684
|
+
static paths: string[][];
|
|
685
|
+
static usage: clipanion.Usage;
|
|
686
|
+
category: string | undefined;
|
|
687
|
+
json: boolean;
|
|
688
|
+
execute(): Promise<number>;
|
|
689
|
+
}
|
|
690
|
+
declare class CommandInstallCommand extends Command {
|
|
691
|
+
static paths: string[][];
|
|
692
|
+
static usage: clipanion.Usage;
|
|
693
|
+
id: string;
|
|
694
|
+
execute(): Promise<number>;
|
|
695
|
+
}
|
|
648
696
|
|
|
649
697
|
declare class AICommand extends Command {
|
|
650
698
|
static paths: string[][];
|
|
@@ -762,6 +810,24 @@ declare class AgentValidateCommand extends Command {
|
|
|
762
810
|
all: boolean;
|
|
763
811
|
execute(): Promise<number>;
|
|
764
812
|
}
|
|
813
|
+
declare class AgentInstallCommand extends Command {
|
|
814
|
+
static paths: string[][];
|
|
815
|
+
static usage: clipanion.Usage;
|
|
816
|
+
name: string | undefined;
|
|
817
|
+
global: boolean;
|
|
818
|
+
force: boolean;
|
|
819
|
+
all: boolean;
|
|
820
|
+
execute(): Promise<number>;
|
|
821
|
+
private installAll;
|
|
822
|
+
}
|
|
823
|
+
declare class AgentAvailableCommand extends Command {
|
|
824
|
+
static paths: string[][];
|
|
825
|
+
static usage: clipanion.Usage;
|
|
826
|
+
json: boolean;
|
|
827
|
+
category: string | undefined;
|
|
828
|
+
installed: boolean;
|
|
829
|
+
execute(): Promise<number>;
|
|
830
|
+
}
|
|
765
831
|
|
|
766
832
|
declare class CheckCommand extends Command {
|
|
767
833
|
static paths: string[][];
|
|
@@ -833,13 +899,264 @@ declare class PrimerCommand extends Command {
|
|
|
833
899
|
includeExamples: boolean;
|
|
834
900
|
json: boolean;
|
|
835
901
|
directory: string | undefined;
|
|
902
|
+
learn: boolean;
|
|
903
|
+
commits: string | undefined;
|
|
836
904
|
execute(): Promise<number>;
|
|
905
|
+
private runLearn;
|
|
837
906
|
private runAnalysis;
|
|
838
907
|
private runGenerate;
|
|
839
908
|
private parseAgents;
|
|
840
909
|
private printAnalysis;
|
|
841
910
|
}
|
|
842
911
|
|
|
912
|
+
declare class MeshCommand extends Command {
|
|
913
|
+
static paths: string[][];
|
|
914
|
+
static usage: clipanion.Usage;
|
|
915
|
+
action: string | undefined;
|
|
916
|
+
arg: string | undefined;
|
|
917
|
+
subArg: string | undefined;
|
|
918
|
+
name: string | undefined;
|
|
919
|
+
port: string | undefined;
|
|
920
|
+
tailscale: boolean;
|
|
921
|
+
timeout: string | undefined;
|
|
922
|
+
json: boolean;
|
|
923
|
+
verbose: boolean;
|
|
924
|
+
trusted: boolean;
|
|
925
|
+
securityLevel: string | undefined;
|
|
926
|
+
execute(): Promise<number>;
|
|
927
|
+
private initMesh;
|
|
928
|
+
private addHost;
|
|
929
|
+
private removeHost;
|
|
930
|
+
private listHosts;
|
|
931
|
+
private checkHealth;
|
|
932
|
+
private discoverHosts;
|
|
933
|
+
private showStatus;
|
|
934
|
+
private handleSecurity;
|
|
935
|
+
private initSecurity;
|
|
936
|
+
private showSecurityStatus;
|
|
937
|
+
private handlePeer;
|
|
938
|
+
private trustPeer;
|
|
939
|
+
private revokePeer;
|
|
940
|
+
private listPeers;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
declare class MessageCommand extends Command {
|
|
944
|
+
static paths: string[][];
|
|
945
|
+
static usage: clipanion.Usage;
|
|
946
|
+
action: string | undefined;
|
|
947
|
+
arg: string | undefined;
|
|
948
|
+
arg2: string | undefined;
|
|
949
|
+
body: string | undefined;
|
|
950
|
+
subject: string | undefined;
|
|
951
|
+
priority: string | undefined;
|
|
952
|
+
type: string | undefined;
|
|
953
|
+
unread: boolean;
|
|
954
|
+
limit: string | undefined;
|
|
955
|
+
agent: string | undefined;
|
|
956
|
+
json: boolean;
|
|
957
|
+
verbose: boolean;
|
|
958
|
+
execute(): Promise<number>;
|
|
959
|
+
private getAgentId;
|
|
960
|
+
private sendMessage;
|
|
961
|
+
private showInbox;
|
|
962
|
+
private readMessage;
|
|
963
|
+
private displayMessage;
|
|
964
|
+
private replyMessage;
|
|
965
|
+
private archiveMessage;
|
|
966
|
+
private forwardMessage;
|
|
967
|
+
private showSent;
|
|
968
|
+
private showStatus;
|
|
969
|
+
private getPriorityIcon;
|
|
970
|
+
private formatDate;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare class LearnCommand extends Command {
|
|
974
|
+
static paths: string[][];
|
|
975
|
+
static usage: clipanion.Usage;
|
|
976
|
+
commits: string | undefined;
|
|
977
|
+
since: string | undefined;
|
|
978
|
+
approve: boolean;
|
|
979
|
+
show: boolean;
|
|
980
|
+
json: boolean;
|
|
981
|
+
directory: string | undefined;
|
|
982
|
+
execute(): Promise<number>;
|
|
983
|
+
private printAnalysisResult;
|
|
984
|
+
private showPatterns;
|
|
985
|
+
private printPattern;
|
|
986
|
+
}
|
|
987
|
+
declare class PatternStatusCommand extends Command {
|
|
988
|
+
static paths: string[][];
|
|
989
|
+
static usage: clipanion.Usage;
|
|
990
|
+
category: string | undefined;
|
|
991
|
+
json: boolean;
|
|
992
|
+
execute(): Promise<number>;
|
|
993
|
+
}
|
|
994
|
+
declare class PatternFeedbackCommand extends Command {
|
|
995
|
+
static paths: string[][];
|
|
996
|
+
static usage: clipanion.Usage;
|
|
997
|
+
id: string;
|
|
998
|
+
success: boolean;
|
|
999
|
+
failure: boolean;
|
|
1000
|
+
execute(): Promise<number>;
|
|
1001
|
+
}
|
|
1002
|
+
declare class PatternApproveCommand extends Command {
|
|
1003
|
+
static paths: string[][];
|
|
1004
|
+
static usage: clipanion.Usage;
|
|
1005
|
+
id: string;
|
|
1006
|
+
execute(): Promise<number>;
|
|
1007
|
+
}
|
|
1008
|
+
declare class PatternRejectCommand extends Command {
|
|
1009
|
+
static paths: string[][];
|
|
1010
|
+
static usage: clipanion.Usage;
|
|
1011
|
+
id: string;
|
|
1012
|
+
execute(): Promise<number>;
|
|
1013
|
+
}
|
|
1014
|
+
declare class PatternExportCommand extends Command {
|
|
1015
|
+
static paths: string[][];
|
|
1016
|
+
static usage: clipanion.Usage;
|
|
1017
|
+
output: string | undefined;
|
|
1018
|
+
format: string | undefined;
|
|
1019
|
+
approvedOnly: boolean;
|
|
1020
|
+
execute(): Promise<number>;
|
|
1021
|
+
}
|
|
1022
|
+
declare class PatternImportCommand extends Command {
|
|
1023
|
+
static paths: string[][];
|
|
1024
|
+
static usage: clipanion.Usage;
|
|
1025
|
+
file: string;
|
|
1026
|
+
execute(): Promise<number>;
|
|
1027
|
+
}
|
|
1028
|
+
declare class PatternClusterCommand extends Command {
|
|
1029
|
+
static paths: string[][];
|
|
1030
|
+
static usage: clipanion.Usage;
|
|
1031
|
+
generate: boolean;
|
|
1032
|
+
minConfidence: string | undefined;
|
|
1033
|
+
execute(): Promise<number>;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
declare class SessionCommand extends Command {
|
|
1037
|
+
static paths: string[][];
|
|
1038
|
+
static usage: clipanion.Usage;
|
|
1039
|
+
execute(): Promise<number>;
|
|
1040
|
+
}
|
|
1041
|
+
declare class SessionStatusCommand extends Command {
|
|
1042
|
+
static paths: string[][];
|
|
1043
|
+
static usage: clipanion.Usage;
|
|
1044
|
+
json: boolean;
|
|
1045
|
+
execute(): Promise<number>;
|
|
1046
|
+
private printSession;
|
|
1047
|
+
}
|
|
1048
|
+
declare class SessionStartCommand extends Command {
|
|
1049
|
+
static paths: string[][];
|
|
1050
|
+
static usage: clipanion.Usage;
|
|
1051
|
+
agent: string | undefined;
|
|
1052
|
+
execute(): Promise<number>;
|
|
1053
|
+
}
|
|
1054
|
+
declare class SessionLoadCommand extends Command {
|
|
1055
|
+
static paths: string[][];
|
|
1056
|
+
static usage: clipanion.Usage;
|
|
1057
|
+
date: string | undefined;
|
|
1058
|
+
execute(): Promise<number>;
|
|
1059
|
+
}
|
|
1060
|
+
declare class SessionListCommand extends Command {
|
|
1061
|
+
static paths: string[][];
|
|
1062
|
+
static usage: clipanion.Usage;
|
|
1063
|
+
limit: string | undefined;
|
|
1064
|
+
json: boolean;
|
|
1065
|
+
execute(): Promise<number>;
|
|
1066
|
+
}
|
|
1067
|
+
declare class SessionNoteCommand extends Command {
|
|
1068
|
+
static paths: string[][];
|
|
1069
|
+
static usage: clipanion.Usage;
|
|
1070
|
+
note: string;
|
|
1071
|
+
execute(): Promise<number>;
|
|
1072
|
+
}
|
|
1073
|
+
declare class SessionCompleteCommand extends Command {
|
|
1074
|
+
static paths: string[][];
|
|
1075
|
+
static usage: clipanion.Usage;
|
|
1076
|
+
task: string;
|
|
1077
|
+
execute(): Promise<number>;
|
|
1078
|
+
}
|
|
1079
|
+
declare class SessionInProgressCommand extends Command {
|
|
1080
|
+
static paths: string[][];
|
|
1081
|
+
static usage: clipanion.Usage;
|
|
1082
|
+
task: string;
|
|
1083
|
+
execute(): Promise<number>;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
declare class ProfileCommand extends Command {
|
|
1087
|
+
static paths: string[][];
|
|
1088
|
+
static usage: clipanion.Usage;
|
|
1089
|
+
name: string | undefined;
|
|
1090
|
+
execute(): Promise<number>;
|
|
1091
|
+
}
|
|
1092
|
+
declare class ProfileListCommand extends Command {
|
|
1093
|
+
static paths: string[][];
|
|
1094
|
+
static usage: clipanion.Usage;
|
|
1095
|
+
json: boolean;
|
|
1096
|
+
execute(): Promise<number>;
|
|
1097
|
+
}
|
|
1098
|
+
declare class ProfileCreateCommand extends Command {
|
|
1099
|
+
static paths: string[][];
|
|
1100
|
+
static usage: clipanion.Usage;
|
|
1101
|
+
name: string;
|
|
1102
|
+
description: string;
|
|
1103
|
+
focus: string | undefined;
|
|
1104
|
+
execute(): Promise<number>;
|
|
1105
|
+
}
|
|
1106
|
+
declare class ProfileRemoveCommand extends Command {
|
|
1107
|
+
static paths: string[][];
|
|
1108
|
+
static usage: clipanion.Usage;
|
|
1109
|
+
name: string;
|
|
1110
|
+
execute(): Promise<number>;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
declare class GuidelineCommand extends Command {
|
|
1114
|
+
static paths: string[][];
|
|
1115
|
+
static usage: clipanion.Usage;
|
|
1116
|
+
execute(): Promise<number>;
|
|
1117
|
+
}
|
|
1118
|
+
declare class GuidelineListCommand extends Command {
|
|
1119
|
+
static paths: string[][];
|
|
1120
|
+
static usage: clipanion.Usage;
|
|
1121
|
+
enabled: boolean;
|
|
1122
|
+
json: boolean;
|
|
1123
|
+
execute(): Promise<number>;
|
|
1124
|
+
}
|
|
1125
|
+
declare class GuidelineShowCommand extends Command {
|
|
1126
|
+
static paths: string[][];
|
|
1127
|
+
static usage: clipanion.Usage;
|
|
1128
|
+
id: string;
|
|
1129
|
+
execute(): Promise<number>;
|
|
1130
|
+
}
|
|
1131
|
+
declare class GuidelineEnableCommand extends Command {
|
|
1132
|
+
static paths: string[][];
|
|
1133
|
+
static usage: clipanion.Usage;
|
|
1134
|
+
id: string;
|
|
1135
|
+
execute(): Promise<number>;
|
|
1136
|
+
}
|
|
1137
|
+
declare class GuidelineDisableCommand extends Command {
|
|
1138
|
+
static paths: string[][];
|
|
1139
|
+
static usage: clipanion.Usage;
|
|
1140
|
+
id: string;
|
|
1141
|
+
execute(): Promise<number>;
|
|
1142
|
+
}
|
|
1143
|
+
declare class GuidelineCreateCommand extends Command {
|
|
1144
|
+
static paths: string[][];
|
|
1145
|
+
static usage: clipanion.Usage;
|
|
1146
|
+
id: string;
|
|
1147
|
+
name: string;
|
|
1148
|
+
description: string | undefined;
|
|
1149
|
+
category: string | undefined;
|
|
1150
|
+
priority: string | undefined;
|
|
1151
|
+
execute(): Promise<number>;
|
|
1152
|
+
}
|
|
1153
|
+
declare class GuidelineRemoveCommand extends Command {
|
|
1154
|
+
static paths: string[][];
|
|
1155
|
+
static usage: clipanion.Usage;
|
|
1156
|
+
id: string;
|
|
1157
|
+
execute(): Promise<number>;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
843
1160
|
declare const loadSkillMetadata: typeof loadSkillMetadata$1;
|
|
844
1161
|
declare const saveSkillMetadata: typeof saveSkillMetadata$1;
|
|
845
1162
|
declare function getSearchDirs(agentType?: AgentType): string[];
|
|
@@ -847,4 +1164,4 @@ declare function getInstallDir(global?: boolean, agentType?: AgentType): string;
|
|
|
847
1164
|
declare function getAgentConfigPath(agentType?: AgentType): string;
|
|
848
1165
|
declare function initProject(agentType?: AgentType): Promise<void>;
|
|
849
1166
|
|
|
850
|
-
export { AICommand, AgentCommand, AgentCreateCommand, AgentListCommand, AgentShowCommand, AgentSyncCommand, AgentTranslateCommand, AgentValidateCommand, AuditCommand, CICDCommand, CheckCommand, CommandCmd, ContextCommand, CreateCommand, DisableCommand, EnableCommand, FindCommand, FixCommand, HookCommand, InitCommand, InstallCommand, ListCommand, ManifestAddCommand, ManifestCommand, ManifestGenerateCommand, ManifestInitCommand, ManifestInstallCommand, ManifestRemoveCommand, MarketplaceCommand, MemoryCommand, MethodologyCommand, PauseCommand, PlanCommand, PluginCommand, PrimerCommand, PublishCommand, ReadCommand, RecommendCommand, RemoveCommand, ResumeCommand, RunCommand, SettingsCommand, StatusCommand, SyncCommand, TeamCommand, TestCommand, TranslateCommand, UICommand, UpdateCommand, ValidateCommand, WorkflowCreateCommand, WorkflowListCommand, WorkflowRunCommand, getAgentConfigPath, getInstallDir, getSearchDirs, initProject, loadSkillMetadata, saveSkillMetadata };
|
|
1167
|
+
export { AICommand, AgentAvailableCommand, AgentCommand, AgentCreateCommand, AgentInstallCommand, AgentListCommand, AgentShowCommand, AgentSyncCommand, AgentTranslateCommand, AgentValidateCommand, AuditCommand, CICDCommand, CheckCommand, CommandAvailableCommand, CommandCmd, CommandInstallCommand, ContextCommand, CreateCommand, DisableCommand, EnableCommand, FindCommand, FixCommand, GuidelineCommand, GuidelineCreateCommand, GuidelineDisableCommand, GuidelineEnableCommand, GuidelineListCommand, GuidelineRemoveCommand, GuidelineShowCommand, HookCommand, HookTemplateApplyCommand, HookTemplateListCommand, HookTemplateShowCommand, InitCommand, InstallCommand, LearnCommand, ListCommand, ManifestAddCommand, ManifestCommand, ManifestGenerateCommand, ManifestInitCommand, ManifestInstallCommand, ManifestRemoveCommand, MarketplaceCommand, MemoryCommand, MeshCommand, MessageCommand, MethodologyCommand, PatternApproveCommand, PatternClusterCommand, PatternExportCommand, PatternFeedbackCommand, PatternImportCommand, PatternRejectCommand, PatternStatusCommand, PauseCommand, PlanCommand, PluginCommand, PrimerCommand, ProfileCommand, ProfileCreateCommand, ProfileListCommand, ProfileRemoveCommand, PublishCommand, ReadCommand, RecommendCommand, RemoveCommand, ResumeCommand, RunCommand, SessionCommand, SessionCompleteCommand, SessionInProgressCommand, SessionListCommand, SessionLoadCommand, SessionNoteCommand, SessionStartCommand, SessionStatusCommand, SettingsCommand, StatusCommand, SyncCommand, TeamCommand, TestCommand, TranslateCommand, UICommand, UpdateCommand, ValidateCommand, WorkflowCreateCommand, WorkflowListCommand, WorkflowPipelineCommand, WorkflowPipelineListCommand, WorkflowRunCommand, getAgentConfigPath, getInstallDir, getSearchDirs, initProject, loadSkillMetadata, saveSkillMetadata };
|