rulesync 16.20.0 → 16.22.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 +2 -0
- package/dist/cli/index.cjs +346 -82
- package/dist/cli/index.js +346 -82
- package/dist/cli/index.js.map +1 -1
- package/dist/{import-1-jjDDAm.js → import-BKqbq4Ut.js} +3917 -1147
- package/dist/import-BKqbq4Ut.js.map +1 -0
- package/dist/{import-BlhbArzI.cjs → import-CUyeYGxZ.cjs} +3976 -1170
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +50 -16
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +50 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +14 -14
- package/dist/import-1-jjDDAm.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_import = require("./import-
|
|
2
|
+
const require_import = require("./import-CUyeYGxZ.cjs");
|
|
3
3
|
//#region src/index.ts
|
|
4
4
|
async function generate(options = {}) {
|
|
5
5
|
const { silent = true, verbose = false, ...rest } = options;
|
package/dist/index.d.cts
CHANGED
|
@@ -14,7 +14,7 @@ declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
|
|
|
14
14
|
type Feature = z.infer<typeof FeatureSchema>;
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/types/tool-target-tuples.d.ts
|
|
17
|
-
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kimi-code", "kiro", "kiro-cli", "kiro-ide", "musecode", "opencode", "pi", "qwencode", "reasonix", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "cursor", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "reasonix", "roo", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "opencode", "qwencode", "reasonix", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "takt", "devin", "warp", "zcode"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "takt", "vibe", "zcode"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "opencode", "pi", "qwencode", "reasonix", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codexcli", "copilot", "copilotcli", "opencode", "pi", "factorydroid", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "augmentcode", "junie", "vibe", "qwencode", "reasonix", "grokcli"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "reasonix", "roo", "rovodev", "takt", "vibe", "warp", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "hermesagent", "rovodev", "takt"]];
|
|
17
|
+
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codebuddy", "codexcli", "copilot", "copilotcli", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kimi-code", "kiro", "kiro-cli", "kiro-ide", "musecode", "opencode", "pi", "qwencode", "reasonix", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "crush", "cursor", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "reasonix", "roo", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "opencode", "qwencode", "reasonix", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "takt", "devin", "warp", "zcode"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "takt", "vibe", "zcode"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "opencode", "pi", "qwencode", "reasonix", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codexcli", "copilot", "copilotcli", "opencode", "pi", "factorydroid", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "augmentcode", "junie", "vibe", "qwencode", "reasonix", "grokcli"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "reasonix", "roo", "rovodev", "takt", "vibe", "warp", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "hermesagent", "rovodev", "takt"]];
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/types/tool-targets.d.ts
|
|
20
20
|
type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
|
|
@@ -33,9 +33,11 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
33
33
|
"claudecode-legacy": "claudecode-legacy";
|
|
34
34
|
"claudecode-plugin": "claudecode-plugin";
|
|
35
35
|
cline: "cline";
|
|
36
|
+
codebuddy: "codebuddy";
|
|
36
37
|
codexcli: "codexcli";
|
|
37
38
|
copilot: "copilot";
|
|
38
39
|
copilotcli: "copilotcli";
|
|
40
|
+
crush: "crush";
|
|
39
41
|
cursor: "cursor";
|
|
40
42
|
deepagents: "deepagents";
|
|
41
43
|
devin: "devin";
|
|
@@ -98,6 +100,13 @@ type AiDirFile = {
|
|
|
98
100
|
* always written — byte for byte.
|
|
99
101
|
*/
|
|
100
102
|
composed?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* The source file's permission bits, set only when the source carries an
|
|
105
|
+
* executable bit. A skill's `scripts/*.sh` is copied so that the agent can
|
|
106
|
+
* run it the way the skill says (`./scripts/foo.sh`); a plain data file is
|
|
107
|
+
* left to the platform's default mode, exactly as before.
|
|
108
|
+
*/
|
|
109
|
+
fileMode?: number;
|
|
101
110
|
};
|
|
102
111
|
type AiDirParams = {
|
|
103
112
|
outputRoot?: string;
|
|
@@ -303,9 +312,11 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
303
312
|
"claudecode-legacy": "claudecode-legacy";
|
|
304
313
|
"claudecode-plugin": "claudecode-plugin";
|
|
305
314
|
cline: "cline";
|
|
315
|
+
codebuddy: "codebuddy";
|
|
306
316
|
codexcli: "codexcli";
|
|
307
317
|
copilot: "copilot";
|
|
308
318
|
copilotcli: "copilotcli";
|
|
319
|
+
crush: "crush";
|
|
309
320
|
cursor: "cursor";
|
|
310
321
|
deepagents: "deepagents";
|
|
311
322
|
devin: "devin";
|
|
@@ -336,6 +347,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
336
347
|
}>>>;
|
|
337
348
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
338
349
|
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
350
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
351
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
352
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
339
353
|
claudecode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
340
354
|
when_to_use: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
341
355
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -382,15 +396,15 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
382
396
|
}, z.core.$loose>>;
|
|
383
397
|
opencode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
384
398
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
385
|
-
license: z.ZodMiniOptional<z.
|
|
386
|
-
compatibility: z.ZodMiniOptional<z.
|
|
387
|
-
metadata: z.ZodMiniOptional<z.
|
|
399
|
+
license: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
400
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
401
|
+
metadata: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
388
402
|
}, z.core.$loose>>;
|
|
389
403
|
kilo: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
390
404
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
391
|
-
license: z.ZodMiniOptional<z.
|
|
392
|
-
compatibility: z.ZodMiniOptional<z.
|
|
393
|
-
metadata: z.ZodMiniOptional<z.
|
|
405
|
+
license: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
406
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
407
|
+
metadata: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
394
408
|
}, z.core.$loose>>;
|
|
395
409
|
kiro: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
396
410
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -399,9 +413,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
399
413
|
}, z.core.$loose>>;
|
|
400
414
|
deepagents: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
401
415
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
402
|
-
license: z.ZodMiniOptional<z.
|
|
403
|
-
compatibility: z.ZodMiniOptional<z.
|
|
404
|
-
metadata: z.ZodMiniOptional<z.
|
|
416
|
+
license: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
417
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
418
|
+
metadata: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
405
419
|
}, z.core.$loose>>;
|
|
406
420
|
copilot: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
407
421
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -514,6 +528,13 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
514
528
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
515
529
|
extends: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
516
530
|
}, z.core.$loose>>;
|
|
531
|
+
crush: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
532
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
533
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
534
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
535
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
536
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
537
|
+
}, z.core.$loose>>;
|
|
517
538
|
}, z.core.$loose>;
|
|
518
539
|
type RulesyncSkillFrontmatterInput = {
|
|
519
540
|
name: string;
|
|
@@ -521,6 +542,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
521
542
|
targets?: ("*" | string)[];
|
|
522
543
|
"disable-model-invocation"?: boolean;
|
|
523
544
|
"user-invocable"?: boolean;
|
|
545
|
+
license?: string;
|
|
546
|
+
compatibility?: string | Record<string, unknown>;
|
|
547
|
+
metadata?: Record<string, unknown>;
|
|
524
548
|
claudecode?: {
|
|
525
549
|
when_to_use?: string;
|
|
526
550
|
"allowed-tools"?: string | string[];
|
|
@@ -571,12 +595,15 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
571
595
|
};
|
|
572
596
|
opencode?: {
|
|
573
597
|
"allowed-tools"?: string[];
|
|
574
|
-
license?:
|
|
575
|
-
compatibility?:
|
|
576
|
-
metadata?:
|
|
598
|
+
license?: unknown;
|
|
599
|
+
compatibility?: unknown;
|
|
600
|
+
metadata?: unknown;
|
|
577
601
|
};
|
|
578
602
|
kilo?: {
|
|
579
603
|
"allowed-tools"?: string[];
|
|
604
|
+
license?: unknown;
|
|
605
|
+
compatibility?: unknown;
|
|
606
|
+
metadata?: unknown;
|
|
580
607
|
};
|
|
581
608
|
kiro?: {
|
|
582
609
|
license?: string;
|
|
@@ -585,9 +612,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
585
612
|
};
|
|
586
613
|
deepagents?: {
|
|
587
614
|
"allowed-tools"?: string[];
|
|
588
|
-
license?:
|
|
589
|
-
compatibility?:
|
|
590
|
-
metadata?:
|
|
615
|
+
license?: unknown;
|
|
616
|
+
compatibility?: unknown;
|
|
617
|
+
metadata?: unknown;
|
|
591
618
|
};
|
|
592
619
|
copilot?: {
|
|
593
620
|
license?: string;
|
|
@@ -689,6 +716,13 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
689
716
|
name?: string;
|
|
690
717
|
extends?: string;
|
|
691
718
|
};
|
|
719
|
+
crush?: {
|
|
720
|
+
"disable-model-invocation"?: boolean;
|
|
721
|
+
"user-invocable"?: boolean;
|
|
722
|
+
license?: string;
|
|
723
|
+
compatibility?: string | Record<string, unknown>;
|
|
724
|
+
metadata?: Record<string, unknown>;
|
|
725
|
+
};
|
|
692
726
|
};
|
|
693
727
|
type RulesyncSkillFrontmatter = z.infer<typeof RulesyncSkillFrontmatterSchemaInternal>;
|
|
694
728
|
type RulesyncSkillParams = {
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;cAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;cAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;cC6QxB;;;KCjTR,wBAAwB;cAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;;KCH5B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCWU;EAEN;EACA;;EAGA;EACA,OAAO;;KAqBD;EACV;EACA,YAAY;;;;;;;;EAQZ;;;;;;;EAOA;;KAmnBU;EACV;EACA;EACA;EACA;IACE;IACA;IACA,cAAc;;EAEhB,aAAa;EACb;;KAGU,qBAAqB,KAC/B;uBAIoB;;;;qBAID;;;;qBAKA;;;;qBAKA;;;;YAKT;IACR;IACA;IACA,cAAc;;;;;YAMN,YAAY;;;;qBAKH;EAEnB,cACE,YACA,iBACA,SACA,UACA,YACA,UACC;SAyBU,QAAQ,SAAS,qBAAqB,QAAQ;EAI3D;EAIA;EAIA;;;;;;;;;;;;;;;;;;;;;EAwBA;;;;;;;;;;;;;EAgBA;EAqBA;EAqBA;IAEM;IACA;IACA,cAAc;;EAMpB,iBAAiB;;;;EAOjB;EAIA;EAIA,YAAY,cAAc,cAAc,cAAc;;;;;;;;;;iBAajC;;iBAWN;;;;;;iBASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCA;iBA8CM;;;;;iBA6GN;;;;;;;iBAsDM;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+FE,kBACrB,oBACA,yBACA,iBACA,0BACC,QAAQ;WAwGF,YAAY;;;;cC70CjB,wCAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0U1C,EAAA,KAAA;KAMU;EACV;EACA;EACA;EACA;EACA;EACA;EACA,yBAAyB;EACzB,WAAW;EACX;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;;EAEF;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;;IAEF;MACE;;IAEF;MACE,QAAQ;QACN;QACA;QACA;QACA;QACA;;;;EAIN;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,MAAM;EACN,QAAQ;EACR,MAAM;EACN;IACE;IACA;IACA;IACA;IACA;IACA,cAAc;IACd;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;;EAEF,cAAc;EACd;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;IACA;;EAEF;IACE;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;;KAKH,2BAA2B,EAAE,aAAa;KAO1C;EACV;EACA;EACA;EACA,aAAa;EACb;EACA,aAAa;EACb;EACA;;KAGU;EACV;;KAGU;EACV;EACA;EACA;EACA;;;;;;cAOW,sBAAsB;EACjC,cACE,YACA,iBACA,SACA,aACA,MACA,YACA,UACA,UACC;SAsBI,oBAAoB;EAU3B,kBAAkB;EAQlB;EAIA,YAAY;SAcC,UACX,YACA,iBACA,SACA,UACC,6BAA6B,QAAQ;;;;KCzmB9B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;;;;;;EAMA;;;;;EAKA,0BAA0B;;KAuZhB;;;KCjbA;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KC/CG;EACH;EACA;EACA;EACA;;KAGU,kBAAkB;EAC5B,UAAU;EACV,WAAW;EACX;;;;;;;;;;;;;EAaA;;;;;;;;EAQA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGU,gBAAgB;EAC1B,QAAQ;EACR,WAAW;;KAGD,iBAAiB;EAC3B,MAAM;EACN,IAAI;EACJ,WAAW;EACX;;iBAGoB,SAAS,UAAS,kBAAuB,QAAQ;iBAyBjD,eAAe,SAAS,gBAAgB,QAAQ;iBAehD,gBAAgB,SAAS,iBAAiB,QAAQ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
|
|
|
14
14
|
type Feature = z.infer<typeof FeatureSchema>;
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/types/tool-target-tuples.d.ts
|
|
17
|
-
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kimi-code", "kiro", "kiro-cli", "kiro-ide", "musecode", "opencode", "pi", "qwencode", "reasonix", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "cursor", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "reasonix", "roo", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "opencode", "qwencode", "reasonix", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "takt", "devin", "warp", "zcode"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "takt", "vibe", "zcode"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "opencode", "pi", "qwencode", "reasonix", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codexcli", "copilot", "copilotcli", "opencode", "pi", "factorydroid", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "augmentcode", "junie", "vibe", "qwencode", "reasonix", "grokcli"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "reasonix", "roo", "rovodev", "takt", "vibe", "warp", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "hermesagent", "rovodev", "takt"]];
|
|
17
|
+
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codebuddy", "codexcli", "copilot", "copilotcli", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kimi-code", "kiro", "kiro-cli", "kiro-ide", "musecode", "opencode", "pi", "qwencode", "reasonix", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "crush", "cursor", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "reasonix", "roo", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "opencode", "qwencode", "reasonix", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "takt", "devin", "warp", "zcode"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "takt", "vibe", "zcode"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "opencode", "pi", "qwencode", "reasonix", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zcode", "zed", "zoocode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codexcli", "copilot", "copilotcli", "opencode", "pi", "factorydroid", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "augmentcode", "junie", "vibe", "qwencode", "reasonix", "grokcli"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "reasonix", "roo", "rovodev", "takt", "vibe", "warp", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "hermesagent", "rovodev", "takt"]];
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/types/tool-targets.d.ts
|
|
20
20
|
type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
|
|
@@ -33,9 +33,11 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
33
33
|
"claudecode-legacy": "claudecode-legacy";
|
|
34
34
|
"claudecode-plugin": "claudecode-plugin";
|
|
35
35
|
cline: "cline";
|
|
36
|
+
codebuddy: "codebuddy";
|
|
36
37
|
codexcli: "codexcli";
|
|
37
38
|
copilot: "copilot";
|
|
38
39
|
copilotcli: "copilotcli";
|
|
40
|
+
crush: "crush";
|
|
39
41
|
cursor: "cursor";
|
|
40
42
|
deepagents: "deepagents";
|
|
41
43
|
devin: "devin";
|
|
@@ -98,6 +100,13 @@ type AiDirFile = {
|
|
|
98
100
|
* always written — byte for byte.
|
|
99
101
|
*/
|
|
100
102
|
composed?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* The source file's permission bits, set only when the source carries an
|
|
105
|
+
* executable bit. A skill's `scripts/*.sh` is copied so that the agent can
|
|
106
|
+
* run it the way the skill says (`./scripts/foo.sh`); a plain data file is
|
|
107
|
+
* left to the platform's default mode, exactly as before.
|
|
108
|
+
*/
|
|
109
|
+
fileMode?: number;
|
|
101
110
|
};
|
|
102
111
|
type AiDirParams = {
|
|
103
112
|
outputRoot?: string;
|
|
@@ -303,9 +312,11 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
303
312
|
"claudecode-legacy": "claudecode-legacy";
|
|
304
313
|
"claudecode-plugin": "claudecode-plugin";
|
|
305
314
|
cline: "cline";
|
|
315
|
+
codebuddy: "codebuddy";
|
|
306
316
|
codexcli: "codexcli";
|
|
307
317
|
copilot: "copilot";
|
|
308
318
|
copilotcli: "copilotcli";
|
|
319
|
+
crush: "crush";
|
|
309
320
|
cursor: "cursor";
|
|
310
321
|
deepagents: "deepagents";
|
|
311
322
|
devin: "devin";
|
|
@@ -336,6 +347,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
336
347
|
}>>>;
|
|
337
348
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
338
349
|
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
350
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
351
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
352
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
339
353
|
claudecode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
340
354
|
when_to_use: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
341
355
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -382,15 +396,15 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
382
396
|
}, z.core.$loose>>;
|
|
383
397
|
opencode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
384
398
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
385
|
-
license: z.ZodMiniOptional<z.
|
|
386
|
-
compatibility: z.ZodMiniOptional<z.
|
|
387
|
-
metadata: z.ZodMiniOptional<z.
|
|
399
|
+
license: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
400
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
401
|
+
metadata: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
388
402
|
}, z.core.$loose>>;
|
|
389
403
|
kilo: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
390
404
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
391
|
-
license: z.ZodMiniOptional<z.
|
|
392
|
-
compatibility: z.ZodMiniOptional<z.
|
|
393
|
-
metadata: z.ZodMiniOptional<z.
|
|
405
|
+
license: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
406
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
407
|
+
metadata: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
394
408
|
}, z.core.$loose>>;
|
|
395
409
|
kiro: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
396
410
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -399,9 +413,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
399
413
|
}, z.core.$loose>>;
|
|
400
414
|
deepagents: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
401
415
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
402
|
-
license: z.ZodMiniOptional<z.
|
|
403
|
-
compatibility: z.ZodMiniOptional<z.
|
|
404
|
-
metadata: z.ZodMiniOptional<z.
|
|
416
|
+
license: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
417
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
418
|
+
metadata: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
405
419
|
}, z.core.$loose>>;
|
|
406
420
|
copilot: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
407
421
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -514,6 +528,13 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
514
528
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
515
529
|
extends: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
516
530
|
}, z.core.$loose>>;
|
|
531
|
+
crush: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
532
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
533
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
534
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
535
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
536
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
537
|
+
}, z.core.$loose>>;
|
|
517
538
|
}, z.core.$loose>;
|
|
518
539
|
type RulesyncSkillFrontmatterInput = {
|
|
519
540
|
name: string;
|
|
@@ -521,6 +542,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
521
542
|
targets?: ("*" | string)[];
|
|
522
543
|
"disable-model-invocation"?: boolean;
|
|
523
544
|
"user-invocable"?: boolean;
|
|
545
|
+
license?: string;
|
|
546
|
+
compatibility?: string | Record<string, unknown>;
|
|
547
|
+
metadata?: Record<string, unknown>;
|
|
524
548
|
claudecode?: {
|
|
525
549
|
when_to_use?: string;
|
|
526
550
|
"allowed-tools"?: string | string[];
|
|
@@ -571,12 +595,15 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
571
595
|
};
|
|
572
596
|
opencode?: {
|
|
573
597
|
"allowed-tools"?: string[];
|
|
574
|
-
license?:
|
|
575
|
-
compatibility?:
|
|
576
|
-
metadata?:
|
|
598
|
+
license?: unknown;
|
|
599
|
+
compatibility?: unknown;
|
|
600
|
+
metadata?: unknown;
|
|
577
601
|
};
|
|
578
602
|
kilo?: {
|
|
579
603
|
"allowed-tools"?: string[];
|
|
604
|
+
license?: unknown;
|
|
605
|
+
compatibility?: unknown;
|
|
606
|
+
metadata?: unknown;
|
|
580
607
|
};
|
|
581
608
|
kiro?: {
|
|
582
609
|
license?: string;
|
|
@@ -585,9 +612,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
585
612
|
};
|
|
586
613
|
deepagents?: {
|
|
587
614
|
"allowed-tools"?: string[];
|
|
588
|
-
license?:
|
|
589
|
-
compatibility?:
|
|
590
|
-
metadata?:
|
|
615
|
+
license?: unknown;
|
|
616
|
+
compatibility?: unknown;
|
|
617
|
+
metadata?: unknown;
|
|
591
618
|
};
|
|
592
619
|
copilot?: {
|
|
593
620
|
license?: string;
|
|
@@ -689,6 +716,13 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
689
716
|
name?: string;
|
|
690
717
|
extends?: string;
|
|
691
718
|
};
|
|
719
|
+
crush?: {
|
|
720
|
+
"disable-model-invocation"?: boolean;
|
|
721
|
+
"user-invocable"?: boolean;
|
|
722
|
+
license?: string;
|
|
723
|
+
compatibility?: string | Record<string, unknown>;
|
|
724
|
+
metadata?: Record<string, unknown>;
|
|
725
|
+
};
|
|
692
726
|
};
|
|
693
727
|
type RulesyncSkillFrontmatter = z.infer<typeof RulesyncSkillFrontmatterSchemaInternal>;
|
|
694
728
|
type RulesyncSkillParams = {
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;cAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;cAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;cC6QxB;;;KCjTR,wBAAwB;cAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;;KCH5B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCWU;EAEN;EACA;;EAGA;EACA,OAAO;;KAqBD;EACV;EACA,YAAY;;;;;;;;EAQZ;;;;;;;EAOA;;KAmnBU;EACV;EACA;EACA;EACA;IACE;IACA;IACA,cAAc;;EAEhB,aAAa;EACb;;KAGU,qBAAqB,KAC/B;uBAIoB;;;;qBAID;;;;qBAKA;;;;qBAKA;;;;YAKT;IACR;IACA;IACA,cAAc;;;;;YAMN,YAAY;;;;qBAKH;EAEnB,cACE,YACA,iBACA,SACA,UACA,YACA,UACC;SAyBU,QAAQ,SAAS,qBAAqB,QAAQ;EAI3D;EAIA;EAIA;;;;;;;;;;;;;;;;;;;;;EAwBA;;;;;;;;;;;;;EAgBA;EAqBA;EAqBA;IAEM;IACA;IACA,cAAc;;EAMpB,iBAAiB;;;;EAOjB;EAIA;EAIA,YAAY,cAAc,cAAc,cAAc;;;;;;;;;;iBAajC;;iBAWN;;;;;;iBASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCA;iBA8CM;;;;;iBA6GN;;;;;;;iBAsDM;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+FE,kBACrB,oBACA,yBACA,iBACA,0BACC,QAAQ;WAwGF,YAAY;;;;cC70CjB,wCAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0U1C,EAAA,KAAA;KAMU;EACV;EACA;EACA;EACA;EACA;EACA;EACA,yBAAyB;EACzB,WAAW;EACX;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;;EAEF;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;;IAEF;MACE;;IAEF;MACE,QAAQ;QACN;QACA;QACA;QACA;QACA;;;;EAIN;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,MAAM;EACN,QAAQ;EACR,MAAM;EACN;IACE;IACA;IACA;IACA;IACA;IACA,cAAc;IACd;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;;EAEF,cAAc;EACd;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;IACA;;EAEF;IACE;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;;KAKH,2BAA2B,EAAE,aAAa;KAO1C;EACV;EACA;EACA;EACA,aAAa;EACb;EACA,aAAa;EACb;EACA;;KAGU;EACV;;KAGU;EACV;EACA;EACA;EACA;;;;;;cAOW,sBAAsB;EACjC,cACE,YACA,iBACA,SACA,aACA,MACA,YACA,UACA,UACC;SAsBI,oBAAoB;EAU3B,kBAAkB;EAQlB;EAIA,YAAY;SAcC,UACX,YACA,iBACA,SACA,UACC,6BAA6B,QAAQ;;;;KCzmB9B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;;;;;;EAMA;;;;;EAKA,0BAA0B;;KAuZhB;;;KCjbA;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KC/CG;EACH;EACA;EACA;EACA;;KAGU,kBAAkB;EAC5B,UAAU;EACV,WAAW;EACX;;;;;;;;;;;;;EAaA;;;;;;;;EAQA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGU,gBAAgB;EAC1B,QAAQ;EACR,WAAW;;KAGD,iBAAiB;EAC3B,MAAM;EACN,IAAI;EACJ,WAAW;EACX;;iBAGoB,SAAS,UAAS,kBAAuB,QAAQ;iBAyBjD,eAAe,SAAS,gBAAgB,QAAQ;iBAehD,gBAAgB,SAAS,iBAAiB,QAAQ"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Mn as ALL_FEATURES, Qt as ALL_TOOL_TARGETS, ft as ConsoleLogger, i as inspectInputRoots, it as ConfigResolver, o as convertFromTool$1, r as generate$1, t as importFromTool$1 } from "./import-BKqbq4Ut.js";
|
|
2
2
|
//#region src/index.ts
|
|
3
3
|
async function generate(options = {}) {
|
|
4
4
|
const { silent = true, verbose = false, ...rest } = options;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rulesync",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.22.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",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"pre-commit": "pnpm exec lint-staged"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@inquirer/checkbox": "5.2.
|
|
51
|
+
"@inquirer/checkbox": "5.2.3",
|
|
52
52
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
53
53
|
"@octokit/request-error": "7.1.1",
|
|
54
54
|
"@octokit/rest": "22.0.1",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"commander": "15.0.0",
|
|
58
58
|
"effect": "3.22.1",
|
|
59
59
|
"es-toolkit": "1.51.0",
|
|
60
|
-
"fastmcp": "4.16.
|
|
60
|
+
"fastmcp": "4.16.10",
|
|
61
61
|
"globby": "16.2.4",
|
|
62
62
|
"gray-matter": "4.0.3",
|
|
63
|
-
"js-yaml": "5.
|
|
63
|
+
"js-yaml": "5.4.1",
|
|
64
64
|
"jsonc-parser": "3.3.1",
|
|
65
65
|
"minisearch": "7.2.0",
|
|
66
66
|
"smol-toml": "1.8.0",
|
|
@@ -68,21 +68,21 @@
|
|
|
68
68
|
"zod": "4.4.3"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
72
|
-
"@openrouter/sdk": "1.2.
|
|
73
|
-
"@secretlint/secretlint-rule-preset-recommend": "13.0.
|
|
71
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.247",
|
|
72
|
+
"@openrouter/sdk": "1.2.75",
|
|
73
|
+
"@secretlint/secretlint-rule-preset-recommend": "13.0.5",
|
|
74
74
|
"@tsconfig/node24": "24.0.5",
|
|
75
|
-
"@types/node": "26.
|
|
75
|
+
"@types/node": "26.4.0",
|
|
76
76
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
77
77
|
"@vitest/coverage-v8": "4.1.11",
|
|
78
|
-
"cspell": "10.
|
|
79
|
-
"knip": "6.32.
|
|
78
|
+
"cspell": "10.1.1",
|
|
79
|
+
"knip": "6.32.3",
|
|
80
80
|
"lint-staged": "17.3.0",
|
|
81
|
-
"oxfmt": "0.
|
|
82
|
-
"oxlint": "1.
|
|
81
|
+
"oxfmt": "0.65.0",
|
|
82
|
+
"oxlint": "1.80.0",
|
|
83
83
|
"repomix": "1.18.0",
|
|
84
|
-
"resend": "6.
|
|
85
|
-
"secretlint": "13.0.
|
|
84
|
+
"resend": "6.24.0",
|
|
85
|
+
"secretlint": "13.0.5",
|
|
86
86
|
"simple-git": "3.36.0",
|
|
87
87
|
"simple-git-hooks": "2.13.1",
|
|
88
88
|
"sort-package-json": "4.0.0",
|