rulesync 8.30.1 → 8.32.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/README.md +17 -6
- package/dist/{chunk-DF7KWJTN.js → chunk-3SMTK3M3.js} +7318 -3165
- package/dist/cli/index.cjs +9026 -4652
- package/dist/cli/index.js +1337 -1092
- package/dist/index.cjs +7317 -3176
- package/dist/index.d.cts +52 -5
- package/dist/index.d.ts +52 -5
- package/dist/index.js +1 -1
- package/package.json +16 -13
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod/mini';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "cursor", "geminicli", "goose", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "roo", "devin", "vibe", "warp", "zed"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "opencode", "qwencode", "reasonix", "roo", "rovodev", "vibe", "warp", "devin", "zed"], readonly ["agentsmd", "antigravity", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "geminicli", "goose", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "roo", "takt", "devin"], readonly ["kilo", "agentsmd", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "roo", "rovodev", "takt", "vibe"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["antigravity-cli", "antigravity-ide", "kilo", "cursor", "claudecode", "codexcli", "copilot", "copilotcli", "opencode", "factorydroid", "geminicli", "goose", "hermesagent", "deepagents", "kiro", "kiro-cli", "devin", "augmentcode", "junie", "vibe", "qwencode"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "cursor", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "rovodev", "takt", "vibe", "warp", "zed"]];
|
|
4
|
+
|
|
5
|
+
type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
|
|
6
|
+
declare const ALL_TOOL_TARGETS: readonly [AllToolTarget, ...AllToolTarget[]];
|
|
4
7
|
declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
5
8
|
agentsmd: "agentsmd";
|
|
6
|
-
|
|
9
|
+
aiassistant: "aiassistant";
|
|
7
10
|
amp: "amp";
|
|
8
11
|
antigravity: "antigravity";
|
|
9
12
|
"antigravity-cli": "antigravity-cli";
|
|
@@ -22,6 +25,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
22
25
|
geminicli: "geminicli";
|
|
23
26
|
goose: "goose";
|
|
24
27
|
grokcli: "grokcli";
|
|
28
|
+
hermesagent: "hermesagent";
|
|
25
29
|
junie: "junie";
|
|
26
30
|
kilo: "kilo";
|
|
27
31
|
kiro: "kiro";
|
|
@@ -38,6 +42,8 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
38
42
|
warp: "warp";
|
|
39
43
|
devin: "devin";
|
|
40
44
|
zed: "zed";
|
|
45
|
+
reasonix: "reasonix";
|
|
46
|
+
agentsskills: "agentsskills";
|
|
41
47
|
}>;
|
|
42
48
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
43
49
|
|
|
@@ -155,7 +161,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
155
161
|
description: z.ZodMiniString<string>;
|
|
156
162
|
targets: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
157
163
|
agentsmd: "agentsmd";
|
|
158
|
-
|
|
164
|
+
aiassistant: "aiassistant";
|
|
159
165
|
amp: "amp";
|
|
160
166
|
antigravity: "antigravity";
|
|
161
167
|
"antigravity-cli": "antigravity-cli";
|
|
@@ -174,6 +180,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
174
180
|
geminicli: "geminicli";
|
|
175
181
|
goose: "goose";
|
|
176
182
|
grokcli: "grokcli";
|
|
183
|
+
hermesagent: "hermesagent";
|
|
177
184
|
junie: "junie";
|
|
178
185
|
kilo: "kilo";
|
|
179
186
|
kiro: "kiro";
|
|
@@ -190,13 +197,26 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
190
197
|
warp: "warp";
|
|
191
198
|
devin: "devin";
|
|
192
199
|
zed: "zed";
|
|
200
|
+
reasonix: "reasonix";
|
|
201
|
+
agentsskills: "agentsskills";
|
|
193
202
|
"*": "*";
|
|
194
203
|
}>>>;
|
|
204
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
205
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
195
206
|
claudecode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
196
|
-
|
|
207
|
+
when_to_use: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
208
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
197
209
|
"disallowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
198
210
|
model: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
211
|
+
effort: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
212
|
+
"argument-hint": z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
213
|
+
arguments: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
214
|
+
context: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
215
|
+
agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
216
|
+
hooks: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
217
|
+
shell: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
218
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
219
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
200
220
|
"scheduled-task": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
201
221
|
paths: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
202
222
|
}, z.core.$loose>>;
|
|
@@ -237,6 +257,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
237
257
|
}, z.core.$loose>>;
|
|
238
258
|
deepagents: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
239
259
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
260
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
261
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
262
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
240
263
|
}, z.core.$loose>>;
|
|
241
264
|
copilot: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
242
265
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -267,6 +290,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
267
290
|
rovodev: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
268
291
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
269
292
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
293
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
270
294
|
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
271
295
|
}, z.core.$loose>>;
|
|
272
296
|
cursor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -274,6 +298,10 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
274
298
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
275
299
|
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
276
300
|
}, z.core.$loose>>;
|
|
301
|
+
factorydroid: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
302
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
303
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
304
|
+
}, z.core.$loose>>;
|
|
277
305
|
agentsskills: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
278
306
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
279
307
|
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
@@ -296,11 +324,22 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
296
324
|
name: string;
|
|
297
325
|
description: string;
|
|
298
326
|
targets?: ("*" | string)[];
|
|
327
|
+
"disable-model-invocation"?: boolean;
|
|
328
|
+
"user-invocable"?: boolean;
|
|
299
329
|
claudecode?: {
|
|
300
|
-
|
|
330
|
+
when_to_use?: string;
|
|
331
|
+
"allowed-tools"?: string | string[];
|
|
301
332
|
"disallowed-tools"?: string | string[];
|
|
302
333
|
model?: string;
|
|
334
|
+
effort?: string;
|
|
335
|
+
"argument-hint"?: string;
|
|
336
|
+
arguments?: string | string[];
|
|
337
|
+
context?: string;
|
|
338
|
+
agent?: string;
|
|
339
|
+
hooks?: Record<string, unknown>;
|
|
340
|
+
shell?: string;
|
|
303
341
|
"disable-model-invocation"?: boolean;
|
|
342
|
+
"user-invocable"?: boolean;
|
|
304
343
|
"scheduled-task"?: boolean;
|
|
305
344
|
paths?: string | string[];
|
|
306
345
|
};
|
|
@@ -338,6 +377,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
338
377
|
};
|
|
339
378
|
deepagents?: {
|
|
340
379
|
"allowed-tools"?: string[];
|
|
380
|
+
license?: string;
|
|
381
|
+
compatibility?: string | Record<string, unknown>;
|
|
382
|
+
metadata?: Record<string, unknown>;
|
|
341
383
|
};
|
|
342
384
|
copilot?: {
|
|
343
385
|
license?: string;
|
|
@@ -368,6 +410,7 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
368
410
|
rovodev?: {
|
|
369
411
|
"allowed-tools"?: string | string[];
|
|
370
412
|
license?: string;
|
|
413
|
+
compatibility?: string | Record<string, unknown>;
|
|
371
414
|
metadata?: Record<string, unknown>;
|
|
372
415
|
};
|
|
373
416
|
cursor?: {
|
|
@@ -375,6 +418,10 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
375
418
|
"disable-model-invocation"?: boolean;
|
|
376
419
|
metadata?: Record<string, unknown>;
|
|
377
420
|
};
|
|
421
|
+
factorydroid?: {
|
|
422
|
+
"disable-model-invocation"?: boolean;
|
|
423
|
+
"user-invocable"?: boolean;
|
|
424
|
+
};
|
|
378
425
|
agentsskills?: {
|
|
379
426
|
license?: string;
|
|
380
427
|
compatibility?: string | Record<string, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod/mini';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "cursor", "geminicli", "goose", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "roo", "devin", "vibe", "warp", "zed"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "opencode", "qwencode", "reasonix", "roo", "rovodev", "vibe", "warp", "devin", "zed"], readonly ["agentsmd", "antigravity", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "geminicli", "goose", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "roo", "takt", "devin"], readonly ["kilo", "agentsmd", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "roo", "rovodev", "takt", "vibe"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["antigravity-cli", "antigravity-ide", "kilo", "cursor", "claudecode", "codexcli", "copilot", "copilotcli", "opencode", "factorydroid", "geminicli", "goose", "hermesagent", "deepagents", "kiro", "kiro-cli", "devin", "augmentcode", "junie", "vibe", "qwencode"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "cursor", "factorydroid", "geminicli", "goose", "grokcli", "hermesagent", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "rovodev", "takt", "vibe", "warp", "zed"]];
|
|
4
|
+
|
|
5
|
+
type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
|
|
6
|
+
declare const ALL_TOOL_TARGETS: readonly [AllToolTarget, ...AllToolTarget[]];
|
|
4
7
|
declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
5
8
|
agentsmd: "agentsmd";
|
|
6
|
-
|
|
9
|
+
aiassistant: "aiassistant";
|
|
7
10
|
amp: "amp";
|
|
8
11
|
antigravity: "antigravity";
|
|
9
12
|
"antigravity-cli": "antigravity-cli";
|
|
@@ -22,6 +25,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
22
25
|
geminicli: "geminicli";
|
|
23
26
|
goose: "goose";
|
|
24
27
|
grokcli: "grokcli";
|
|
28
|
+
hermesagent: "hermesagent";
|
|
25
29
|
junie: "junie";
|
|
26
30
|
kilo: "kilo";
|
|
27
31
|
kiro: "kiro";
|
|
@@ -38,6 +42,8 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
38
42
|
warp: "warp";
|
|
39
43
|
devin: "devin";
|
|
40
44
|
zed: "zed";
|
|
45
|
+
reasonix: "reasonix";
|
|
46
|
+
agentsskills: "agentsskills";
|
|
41
47
|
}>;
|
|
42
48
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
43
49
|
|
|
@@ -155,7 +161,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
155
161
|
description: z.ZodMiniString<string>;
|
|
156
162
|
targets: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
157
163
|
agentsmd: "agentsmd";
|
|
158
|
-
|
|
164
|
+
aiassistant: "aiassistant";
|
|
159
165
|
amp: "amp";
|
|
160
166
|
antigravity: "antigravity";
|
|
161
167
|
"antigravity-cli": "antigravity-cli";
|
|
@@ -174,6 +180,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
174
180
|
geminicli: "geminicli";
|
|
175
181
|
goose: "goose";
|
|
176
182
|
grokcli: "grokcli";
|
|
183
|
+
hermesagent: "hermesagent";
|
|
177
184
|
junie: "junie";
|
|
178
185
|
kilo: "kilo";
|
|
179
186
|
kiro: "kiro";
|
|
@@ -190,13 +197,26 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
190
197
|
warp: "warp";
|
|
191
198
|
devin: "devin";
|
|
192
199
|
zed: "zed";
|
|
200
|
+
reasonix: "reasonix";
|
|
201
|
+
agentsskills: "agentsskills";
|
|
193
202
|
"*": "*";
|
|
194
203
|
}>>>;
|
|
204
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
205
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
195
206
|
claudecode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
196
|
-
|
|
207
|
+
when_to_use: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
208
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
197
209
|
"disallowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
198
210
|
model: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
211
|
+
effort: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
212
|
+
"argument-hint": z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
213
|
+
arguments: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
214
|
+
context: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
215
|
+
agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
216
|
+
hooks: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
217
|
+
shell: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
218
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
219
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
200
220
|
"scheduled-task": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
201
221
|
paths: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
202
222
|
}, z.core.$loose>>;
|
|
@@ -237,6 +257,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
237
257
|
}, z.core.$loose>>;
|
|
238
258
|
deepagents: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
239
259
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
260
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
261
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
262
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
240
263
|
}, z.core.$loose>>;
|
|
241
264
|
copilot: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
242
265
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -267,6 +290,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
267
290
|
rovodev: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
268
291
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
269
292
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
293
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
270
294
|
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
271
295
|
}, z.core.$loose>>;
|
|
272
296
|
cursor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -274,6 +298,10 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
274
298
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
275
299
|
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
276
300
|
}, z.core.$loose>>;
|
|
301
|
+
factorydroid: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
302
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
303
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
304
|
+
}, z.core.$loose>>;
|
|
277
305
|
agentsskills: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
278
306
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
279
307
|
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
@@ -296,11 +324,22 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
296
324
|
name: string;
|
|
297
325
|
description: string;
|
|
298
326
|
targets?: ("*" | string)[];
|
|
327
|
+
"disable-model-invocation"?: boolean;
|
|
328
|
+
"user-invocable"?: boolean;
|
|
299
329
|
claudecode?: {
|
|
300
|
-
|
|
330
|
+
when_to_use?: string;
|
|
331
|
+
"allowed-tools"?: string | string[];
|
|
301
332
|
"disallowed-tools"?: string | string[];
|
|
302
333
|
model?: string;
|
|
334
|
+
effort?: string;
|
|
335
|
+
"argument-hint"?: string;
|
|
336
|
+
arguments?: string | string[];
|
|
337
|
+
context?: string;
|
|
338
|
+
agent?: string;
|
|
339
|
+
hooks?: Record<string, unknown>;
|
|
340
|
+
shell?: string;
|
|
303
341
|
"disable-model-invocation"?: boolean;
|
|
342
|
+
"user-invocable"?: boolean;
|
|
304
343
|
"scheduled-task"?: boolean;
|
|
305
344
|
paths?: string | string[];
|
|
306
345
|
};
|
|
@@ -338,6 +377,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
338
377
|
};
|
|
339
378
|
deepagents?: {
|
|
340
379
|
"allowed-tools"?: string[];
|
|
380
|
+
license?: string;
|
|
381
|
+
compatibility?: string | Record<string, unknown>;
|
|
382
|
+
metadata?: Record<string, unknown>;
|
|
341
383
|
};
|
|
342
384
|
copilot?: {
|
|
343
385
|
license?: string;
|
|
@@ -368,6 +410,7 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
368
410
|
rovodev?: {
|
|
369
411
|
"allowed-tools"?: string | string[];
|
|
370
412
|
license?: string;
|
|
413
|
+
compatibility?: string | Record<string, unknown>;
|
|
371
414
|
metadata?: Record<string, unknown>;
|
|
372
415
|
};
|
|
373
416
|
cursor?: {
|
|
@@ -375,6 +418,10 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
375
418
|
"disable-model-invocation"?: boolean;
|
|
376
419
|
metadata?: Record<string, unknown>;
|
|
377
420
|
};
|
|
421
|
+
factorydroid?: {
|
|
422
|
+
"disable-model-invocation"?: boolean;
|
|
423
|
+
"user-invocable"?: boolean;
|
|
424
|
+
};
|
|
378
425
|
agentsskills?: {
|
|
379
426
|
license?: string;
|
|
380
427
|
compatibility?: string | Record<string, unknown>;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rulesync",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.32.0",
|
|
4
4
|
"description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@valibot/to-json-schema": "1.7.1",
|
|
56
56
|
"commander": "15.0.0",
|
|
57
57
|
"effect": "3.21.3",
|
|
58
|
-
"es-toolkit": "1.47.
|
|
59
|
-
"fastmcp": "4.
|
|
58
|
+
"es-toolkit": "1.47.1",
|
|
59
|
+
"fastmcp": "4.3.0",
|
|
60
60
|
"globby": "16.2.0",
|
|
61
61
|
"gray-matter": "4.0.3",
|
|
62
62
|
"js-yaml": "4.2.0",
|
|
@@ -66,21 +66,21 @@
|
|
|
66
66
|
"zod": "4.4.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
70
|
-
"@openrouter/sdk": "0.
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.181",
|
|
70
|
+
"@openrouter/sdk": "0.13.7",
|
|
71
71
|
"@secretlint/secretlint-rule-preset-recommend": "13.0.2",
|
|
72
72
|
"@tsconfig/node24": "24.0.4",
|
|
73
73
|
"@types/js-yaml": "4.0.9",
|
|
74
74
|
"@types/node": "25.9.3",
|
|
75
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
76
|
-
"@vitest/coverage-v8": "4.1.
|
|
75
|
+
"@typescript/native-preview": "7.0.0-dev.20260617.2",
|
|
76
|
+
"@vitest/coverage-v8": "4.1.9",
|
|
77
77
|
"cspell": "10.0.1",
|
|
78
|
-
"knip": "6.
|
|
78
|
+
"knip": "6.17.1",
|
|
79
79
|
"lint-staged": "17.0.7",
|
|
80
|
-
"oxfmt": "0.
|
|
81
|
-
"oxlint": "1.
|
|
80
|
+
"oxfmt": "0.55.0",
|
|
81
|
+
"oxlint": "1.70.0",
|
|
82
82
|
"repomix": "1.14.1",
|
|
83
|
-
"resend": "6.
|
|
83
|
+
"resend": "6.14.0",
|
|
84
84
|
"secretlint": "13.0.2",
|
|
85
85
|
"simple-git": "3.36.0",
|
|
86
86
|
"simple-git-hooks": "2.13.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"typescript": "6.0.3",
|
|
91
91
|
"vite": "8.0.16",
|
|
92
92
|
"vitepress": "1.6.4",
|
|
93
|
-
"vitest": "4.1.
|
|
93
|
+
"vitest": "4.1.9"
|
|
94
94
|
},
|
|
95
95
|
"engines": {
|
|
96
96
|
"node": ">=22.0.0",
|
|
@@ -102,10 +102,12 @@
|
|
|
102
102
|
"scripts": {
|
|
103
103
|
"build": "tsup src/cli/index.ts src/index.ts --format cjs,esm --dts --clean",
|
|
104
104
|
"check": "pnpm run fmt:check && pnpm run oxlint && pnpm run typecheck",
|
|
105
|
+
"check:gitignore": "pnpm run dev gitignore && git diff --exit-code .gitignore .gitattributes",
|
|
106
|
+
"check:supported-tools": "tsx scripts/generate-supported-tools-tables.ts && git diff --exit-code README.md docs/reference/supported-tools.md",
|
|
105
107
|
"check:sync-skill-docs": "tsx scripts/check-skill-docs-sync.ts",
|
|
106
108
|
"cicheck": "pnpm run cicheck:code && pnpm run cicheck:content",
|
|
107
109
|
"cicheck:code": "pnpm run check && pnpm run test",
|
|
108
|
-
"cicheck:content": "pnpm run check:sync-skill-docs && pnpm run cspell && pnpm run secretlint",
|
|
110
|
+
"cicheck:content": "pnpm run check:sync-skill-docs && pnpm run check:gitignore && pnpm run check:supported-tools && pnpm run cspell && pnpm run secretlint",
|
|
109
111
|
"cspell": "cspell --no-progress --gitignore .",
|
|
110
112
|
"dev": "tsx src/cli/index.ts",
|
|
111
113
|
"docs:build": "vitepress build docs",
|
|
@@ -116,6 +118,7 @@
|
|
|
116
118
|
"fmt:check": "oxfmt --check .",
|
|
117
119
|
"generate": "pnpm run dev generate",
|
|
118
120
|
"generate:schema": "tsx scripts/generate-json-schema.ts",
|
|
121
|
+
"generate:tables": "tsx scripts/generate-supported-tools-tables.ts",
|
|
119
122
|
"knip": "knip",
|
|
120
123
|
"oxlint": "oxlint . --max-warnings 0",
|
|
121
124
|
"oxlint:fix": "oxlint . --fix --max-warnings 0",
|