@skillkit/agents 1.6.2 → 1.6.4
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 +35 -37
- package/dist/index.js +235 -196
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ declare function escapeXml(text: string | undefined): string;
|
|
|
16
16
|
declare class ClaudeCodeAdapter implements AgentAdapter {
|
|
17
17
|
readonly type: AgentType;
|
|
18
18
|
readonly name = "Claude Code";
|
|
19
|
-
readonly skillsDir
|
|
20
|
-
readonly configFile
|
|
19
|
+
readonly skillsDir: string;
|
|
20
|
+
readonly configFile: string;
|
|
21
21
|
generateConfig(skills: Skill[]): string;
|
|
22
22
|
parseConfig(content: string): string[];
|
|
23
23
|
getInvokeCommand(skillName: string): string;
|
|
@@ -27,8 +27,8 @@ declare class ClaudeCodeAdapter implements AgentAdapter {
|
|
|
27
27
|
declare class CursorAdapter implements AgentAdapter {
|
|
28
28
|
readonly type: AgentType;
|
|
29
29
|
readonly name = "Cursor";
|
|
30
|
-
readonly skillsDir
|
|
31
|
-
readonly configFile
|
|
30
|
+
readonly skillsDir: string;
|
|
31
|
+
readonly configFile: string;
|
|
32
32
|
generateConfig(skills: Skill[]): string;
|
|
33
33
|
parseConfig(content: string): string[];
|
|
34
34
|
getInvokeCommand(skillName: string): string;
|
|
@@ -38,8 +38,8 @@ declare class CursorAdapter implements AgentAdapter {
|
|
|
38
38
|
declare class CodexAdapter implements AgentAdapter {
|
|
39
39
|
readonly type: AgentType;
|
|
40
40
|
readonly name = "OpenAI Codex CLI";
|
|
41
|
-
readonly skillsDir
|
|
42
|
-
readonly configFile
|
|
41
|
+
readonly skillsDir: string;
|
|
42
|
+
readonly configFile: string;
|
|
43
43
|
generateConfig(skills: Skill[]): string;
|
|
44
44
|
parseConfig(content: string): string[];
|
|
45
45
|
getInvokeCommand(skillName: string): string;
|
|
@@ -49,8 +49,8 @@ declare class CodexAdapter implements AgentAdapter {
|
|
|
49
49
|
declare class GeminiCliAdapter implements AgentAdapter {
|
|
50
50
|
readonly type: AgentType;
|
|
51
51
|
readonly name = "Gemini CLI";
|
|
52
|
-
readonly skillsDir
|
|
53
|
-
readonly configFile
|
|
52
|
+
readonly skillsDir: string;
|
|
53
|
+
readonly configFile: string;
|
|
54
54
|
generateConfig(skills: Skill[]): string;
|
|
55
55
|
parseConfig(content: string): string[];
|
|
56
56
|
getInvokeCommand(skillName: string): string;
|
|
@@ -60,8 +60,8 @@ declare class GeminiCliAdapter implements AgentAdapter {
|
|
|
60
60
|
declare class OpenCodeAdapter implements AgentAdapter {
|
|
61
61
|
readonly type: AgentType;
|
|
62
62
|
readonly name = "OpenCode";
|
|
63
|
-
readonly skillsDir
|
|
64
|
-
readonly configFile
|
|
63
|
+
readonly skillsDir: string;
|
|
64
|
+
readonly configFile: string;
|
|
65
65
|
generateConfig(skills: Skill[]): string;
|
|
66
66
|
parseConfig(content: string): string[];
|
|
67
67
|
getInvokeCommand(skillName: string): string;
|
|
@@ -71,8 +71,8 @@ declare class OpenCodeAdapter implements AgentAdapter {
|
|
|
71
71
|
declare class AntigravityAdapter implements AgentAdapter {
|
|
72
72
|
readonly type: AgentType;
|
|
73
73
|
readonly name = "Antigravity";
|
|
74
|
-
readonly skillsDir
|
|
75
|
-
readonly configFile
|
|
74
|
+
readonly skillsDir: string;
|
|
75
|
+
readonly configFile: string;
|
|
76
76
|
generateConfig(skills: Skill[]): string;
|
|
77
77
|
parseConfig(content: string): string[];
|
|
78
78
|
getInvokeCommand(skillName: string): string;
|
|
@@ -82,8 +82,8 @@ declare class AntigravityAdapter implements AgentAdapter {
|
|
|
82
82
|
declare class AmpAdapter implements AgentAdapter {
|
|
83
83
|
readonly type: AgentType;
|
|
84
84
|
readonly name = "Amp";
|
|
85
|
-
readonly skillsDir
|
|
86
|
-
readonly configFile
|
|
85
|
+
readonly skillsDir: string;
|
|
86
|
+
readonly configFile: string;
|
|
87
87
|
generateConfig(skills: Skill[]): string;
|
|
88
88
|
parseConfig(content: string): string[];
|
|
89
89
|
getInvokeCommand(skillName: string): string;
|
|
@@ -93,8 +93,8 @@ declare class AmpAdapter implements AgentAdapter {
|
|
|
93
93
|
declare class ClawdbotAdapter implements AgentAdapter {
|
|
94
94
|
readonly type: AgentType;
|
|
95
95
|
readonly name = "Clawdbot";
|
|
96
|
-
readonly skillsDir
|
|
97
|
-
readonly configFile
|
|
96
|
+
readonly skillsDir: string;
|
|
97
|
+
readonly configFile: string;
|
|
98
98
|
generateConfig(skills: Skill[]): string;
|
|
99
99
|
parseConfig(content: string): string[];
|
|
100
100
|
getInvokeCommand(skillName: string): string;
|
|
@@ -104,8 +104,8 @@ declare class ClawdbotAdapter implements AgentAdapter {
|
|
|
104
104
|
declare class DroidAdapter implements AgentAdapter {
|
|
105
105
|
readonly type: AgentType;
|
|
106
106
|
readonly name = "Droid (Factory)";
|
|
107
|
-
readonly skillsDir
|
|
108
|
-
readonly configFile
|
|
107
|
+
readonly skillsDir: string;
|
|
108
|
+
readonly configFile: string;
|
|
109
109
|
generateConfig(skills: Skill[]): string;
|
|
110
110
|
parseConfig(content: string): string[];
|
|
111
111
|
getInvokeCommand(skillName: string): string;
|
|
@@ -115,8 +115,8 @@ declare class DroidAdapter implements AgentAdapter {
|
|
|
115
115
|
declare class GitHubCopilotAdapter implements AgentAdapter {
|
|
116
116
|
readonly type: AgentType;
|
|
117
117
|
readonly name = "GitHub Copilot";
|
|
118
|
-
readonly skillsDir
|
|
119
|
-
readonly configFile
|
|
118
|
+
readonly skillsDir: string;
|
|
119
|
+
readonly configFile: string;
|
|
120
120
|
generateConfig(skills: Skill[]): string;
|
|
121
121
|
parseConfig(content: string): string[];
|
|
122
122
|
getInvokeCommand(skillName: string): string;
|
|
@@ -126,8 +126,8 @@ declare class GitHubCopilotAdapter implements AgentAdapter {
|
|
|
126
126
|
declare class GooseAdapter implements AgentAdapter {
|
|
127
127
|
readonly type: AgentType;
|
|
128
128
|
readonly name = "Goose";
|
|
129
|
-
readonly skillsDir
|
|
130
|
-
readonly configFile
|
|
129
|
+
readonly skillsDir: string;
|
|
130
|
+
readonly configFile: string;
|
|
131
131
|
generateConfig(skills: Skill[]): string;
|
|
132
132
|
parseConfig(content: string): string[];
|
|
133
133
|
getInvokeCommand(skillName: string): string;
|
|
@@ -137,8 +137,8 @@ declare class GooseAdapter implements AgentAdapter {
|
|
|
137
137
|
declare class KiloAdapter implements AgentAdapter {
|
|
138
138
|
readonly type: AgentType;
|
|
139
139
|
readonly name = "Kilo Code";
|
|
140
|
-
readonly skillsDir
|
|
141
|
-
readonly configFile
|
|
140
|
+
readonly skillsDir: string;
|
|
141
|
+
readonly configFile: string;
|
|
142
142
|
generateConfig(skills: Skill[]): string;
|
|
143
143
|
parseConfig(content: string): string[];
|
|
144
144
|
getInvokeCommand(skillName: string): string;
|
|
@@ -148,8 +148,8 @@ declare class KiloAdapter implements AgentAdapter {
|
|
|
148
148
|
declare class KiroCliAdapter implements AgentAdapter {
|
|
149
149
|
readonly type: AgentType;
|
|
150
150
|
readonly name = "Kiro CLI";
|
|
151
|
-
readonly skillsDir
|
|
152
|
-
readonly configFile
|
|
151
|
+
readonly skillsDir: string;
|
|
152
|
+
readonly configFile: string;
|
|
153
153
|
generateConfig(skills: Skill[]): string;
|
|
154
154
|
parseConfig(content: string): string[];
|
|
155
155
|
getInvokeCommand(skillName: string): string;
|
|
@@ -159,8 +159,8 @@ declare class KiroCliAdapter implements AgentAdapter {
|
|
|
159
159
|
declare class RooAdapter implements AgentAdapter {
|
|
160
160
|
readonly type: AgentType;
|
|
161
161
|
readonly name = "Roo Code";
|
|
162
|
-
readonly skillsDir
|
|
163
|
-
readonly configFile
|
|
162
|
+
readonly skillsDir: string;
|
|
163
|
+
readonly configFile: string;
|
|
164
164
|
generateConfig(skills: Skill[]): string;
|
|
165
165
|
parseConfig(content: string): string[];
|
|
166
166
|
getInvokeCommand(skillName: string): string;
|
|
@@ -170,8 +170,8 @@ declare class RooAdapter implements AgentAdapter {
|
|
|
170
170
|
declare class TraeAdapter implements AgentAdapter {
|
|
171
171
|
readonly type: AgentType;
|
|
172
172
|
readonly name = "Trae";
|
|
173
|
-
readonly skillsDir
|
|
174
|
-
readonly configFile
|
|
173
|
+
readonly skillsDir: string;
|
|
174
|
+
readonly configFile: string;
|
|
175
175
|
generateConfig(skills: Skill[]): string;
|
|
176
176
|
parseConfig(content: string): string[];
|
|
177
177
|
getInvokeCommand(skillName: string): string;
|
|
@@ -181,8 +181,8 @@ declare class TraeAdapter implements AgentAdapter {
|
|
|
181
181
|
declare class WindsurfAdapter implements AgentAdapter {
|
|
182
182
|
readonly type: AgentType;
|
|
183
183
|
readonly name = "Windsurf";
|
|
184
|
-
readonly skillsDir
|
|
185
|
-
readonly configFile
|
|
184
|
+
readonly skillsDir: string;
|
|
185
|
+
readonly configFile: string;
|
|
186
186
|
generateConfig(skills: Skill[]): string;
|
|
187
187
|
parseConfig(content: string): string[];
|
|
188
188
|
getInvokeCommand(skillName: string): string;
|
|
@@ -192,8 +192,8 @@ declare class WindsurfAdapter implements AgentAdapter {
|
|
|
192
192
|
declare class UniversalAdapter implements AgentAdapter {
|
|
193
193
|
readonly type: AgentType;
|
|
194
194
|
readonly name = "Universal (Any Agent)";
|
|
195
|
-
readonly skillsDir
|
|
196
|
-
readonly configFile
|
|
195
|
+
readonly skillsDir: string;
|
|
196
|
+
readonly configFile: string;
|
|
197
197
|
generateConfig(skills: Skill[]): string;
|
|
198
198
|
parseConfig(content: string): string[];
|
|
199
199
|
getInvokeCommand(skillName: string): string;
|
|
@@ -801,7 +801,5 @@ declare const ALL_MODES: AgentMode[];
|
|
|
801
801
|
declare function getAdapter(type: AgentType): AgentAdapter;
|
|
802
802
|
declare function getAllAdapters(): AgentAdapter[];
|
|
803
803
|
declare function detectAgent(): Promise<AgentType>;
|
|
804
|
-
declare function getSkillsDir(type: AgentType): string;
|
|
805
|
-
declare function getConfigFile(type: AgentType): string;
|
|
806
804
|
|
|
807
|
-
export { ALL_MODES, type AgentAdapter, type AgentCapabilities, type AgentDefinition, type AgentFeatures, type AgentMode, AmpAdapter, AntigravityAdapter, type BootstrapFile, type BootstrapFileType, BootstrapManager, COMMON_PATTERNS, ClaudeCodeAdapter, ClawdbotAdapter, CodexAdapter, type ContextDefinition, CursorAdapter, DroidAdapter, type FeatureGenerationOptions, type FeatureValidationResult, GeminiCliAdapter, GitHubCopilotAdapter, type GlobConfig, GlobMatcher, GooseAdapter, type IdentityDefinition, KiloAdapter, KiroCliAdapter, type ModeChangeListener, type ModeConfig, ModeManager, OpenCodeAdapter, type PermissionConfig, type PermissionLevel, PermissionManager, type PermissionPattern, RooAdapter, type SkillPackageConfig, type SoulDefinition, type ToolDefinition, type ToolWhitelistConfig, TraeAdapter, UniversalAdapter, WindsurfAdapter, createBootstrapManager, createBootstrapSet, createDefaultModeManager, createGlobMatcher, createModeManager, createPermissionManager, createSkillXml, detectAgent, escapeXml, fromCommonPatterns, getAdapter, getAllAdapters,
|
|
805
|
+
export { ALL_MODES, type AgentAdapter, type AgentCapabilities, type AgentDefinition, type AgentFeatures, type AgentMode, AmpAdapter, AntigravityAdapter, type BootstrapFile, type BootstrapFileType, BootstrapManager, COMMON_PATTERNS, ClaudeCodeAdapter, ClawdbotAdapter, CodexAdapter, type ContextDefinition, CursorAdapter, DroidAdapter, type FeatureGenerationOptions, type FeatureValidationResult, GeminiCliAdapter, GitHubCopilotAdapter, type GlobConfig, GlobMatcher, GooseAdapter, type IdentityDefinition, KiloAdapter, KiroCliAdapter, type ModeChangeListener, type ModeConfig, ModeManager, OpenCodeAdapter, type PermissionConfig, type PermissionLevel, PermissionManager, type PermissionPattern, RooAdapter, type SkillPackageConfig, type SoulDefinition, type ToolDefinition, type ToolWhitelistConfig, TraeAdapter, UniversalAdapter, WindsurfAdapter, createBootstrapManager, createBootstrapSet, createDefaultModeManager, createGlobMatcher, createModeManager, createPermissionManager, createSkillXml, detectAgent, escapeXml, fromCommonPatterns, getAdapter, getAllAdapters, getDefaultModeConfig, isAllowed, isDenied, matchPattern, needsConfirmation, parseGlobsFromMDC };
|