rulesync 43.5.0 → 43.6.1

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.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_import = require("./import-CAePeHTT.cjs");
2
+ const require_import = require("./import-BzVkMPd5.cjs");
3
3
  // src/index.ts
4
4
  async function generate(options = {}) {
5
5
  const { silent = true, verbose = false, ...rest } = options;
package/dist/index.d.cts CHANGED
@@ -11,7 +11,7 @@ declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
11
11
  subagents: "subagents";
12
12
  }>, z.ZodMiniLiteral<"ignore">]>;
13
13
  type Feature = z.infer<typeof FeatureSchema>;
14
- declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "augmentcode-plugin", "bob", "claudecode", "claudecode-legacy", "cline", "codebuddy", "codebuff", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "firebender", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "opencodev1", "openclaw", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "warp", "xum", "devin", "devin-plugin", "zcode", "zed", "zoocode", "dsh"], readonly ["aiassistant", "androidstudio", "antigravity-cli", "augmentcode", "bob", "claudecode", "claudecode-legacy", "cline", "codebuff", "continue", "crush", "cursor", "firebender", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "qoder", "qwencode", "reasonix", "roo", "tabnine", "trae", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codebuff", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "dsh", "factorydroid", "firebender", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "mimocode", "omp", "openclaw", "opencode", "opencodev1", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "warpcli", "xum", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "cursor", "factorydroid", "firebender", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "opencodev1", "pi", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "trae", "devin", "warp", "zcode", "zcode-plugin"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "copilot", "copilotcli", "cortexcode", "cursor", "deepagents", "devin", "devin-plugin", "factorydroid", "firebender", "goose", "grokcli", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "opencodev1", "pool", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "vibe", "vibe-plugin", "xum", "zcode", "zcode-plugin"], readonly ["agentsmd", "agentsskills", "aiassistant", "androidstudio", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "firebender", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "opencodev1", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "xum", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode", "dsh", "lettacode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "mimocode", "omp", "opencode", "opencodev1", "pi", "pool", "factorydroid", "firebender", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "devin-plugin", "augmentcode", "augmentcode-plugin", "bob", "junie", "vibe", "vibe-plugin", "qoder", "qwencode", "reasonix", "tabnine", "grokcli", "gitlabduo", "lettacode", "zcode", "zcode-plugin"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "bob", "claudecode", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "crush", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "opencodev1", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "warp", "warpcli", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "gitlabduo", "goose", "hermesagent", "kilo", "qwencode", "rovodev", "takt"]];
14
+ declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "augmentcode-plugin", "bob", "claudecode", "claudecode-legacy", "cline", "codebuddy", "codebuff", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "firebender", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "opencodev1", "openclaw", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "warp", "xum", "devin", "devin-plugin", "zcode", "zed", "zoocode", "dsh"], readonly ["aiassistant", "androidstudio", "antigravity-cli", "augmentcode", "bob", "claudecode", "claudecode-legacy", "cline", "codebuff", "continue", "crush", "cursor", "firebender", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "qoder", "qwencode", "reasonix", "roo", "tabnine", "trae", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codebuff", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "dsh", "factorydroid", "firebender", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "mimocode", "omp", "openclaw", "opencode", "opencodev1", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "warpcli", "xum", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "cursor", "factorydroid", "firebender", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "opencodev1", "pi", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "trae", "devin", "warp", "zcode", "zcode-plugin"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "copilot", "copilotcli", "cortexcode", "cursor", "deepagents", "devin", "devin-plugin", "factorydroid", "firebender", "goose", "grokcli", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "opencodev1", "pool", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "vibe", "vibe-plugin", "xum", "zcode", "zcode-plugin"], readonly ["agentsmd", "agentsskills", "aiassistant", "androidstudio", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "firebender", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "opencodev1", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "xum", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode", "dsh", "lettacode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "mimocode", "omp", "opencode", "opencodev1", "pi", "pool", "factorydroid", "firebender", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "devin-plugin", "augmentcode", "augmentcode-plugin", "bob", "junie", "vibe", "vibe-plugin", "qoder", "qwencode", "reasonix", "tabnine", "trae", "grokcli", "gitlabduo", "lettacode", "zcode", "zcode-plugin"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "bob", "claudecode", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "crush", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "opencodev1", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "warp", "warpcli", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "gitlabduo", "goose", "hermesagent", "kilo", "qwencode", "rovodev", "takt"]];
15
15
  type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
16
16
  export declare const ALL_TOOL_TARGETS: readonly [AllToolTarget, ...AllToolTarget[]];
17
17
  declare const ToolTargetSchema: z.ZodMiniEnum<{
@@ -329,7 +329,7 @@ declare abstract class AiDir {
329
329
  protected static collectOtherFiles(outputRoot: string, relativeDirPath: string, dirName: string, excludeFileName: string): Promise<AiDirFile[]>;
330
330
  abstract validate(): ValidationResult;
331
331
  }
332
- declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
332
+ declare const RulesyncSkillFrontmatterSchema: z.ZodMiniObject<{
333
333
  name: z.ZodMiniString<string>;
334
334
  description: z.ZodMiniString<string>;
335
335
  targets: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniEnum<{
@@ -697,288 +697,8 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
697
697
  metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
698
698
  }, z.core.$loose>>;
699
699
  }, z.core.$loose>;
700
- type RulesyncSkillFrontmatterInput = {
701
- name: string;
702
- description: string;
703
- targets?: ("*" | string)[];
704
- "disable-model-invocation"?: boolean;
705
- "user-invocable"?: boolean;
706
- license?: string;
707
- compatibility?: string | Record<string, unknown>;
708
- metadata?: Record<string, unknown>;
709
- claudecode?: {
710
- when_to_use?: string;
711
- "allowed-tools"?: string | string[];
712
- "disallowed-tools"?: string | string[];
713
- model?: string;
714
- effort?: string;
715
- "argument-hint"?: string;
716
- arguments?: string | string[];
717
- context?: string;
718
- agent?: string;
719
- background?: boolean;
720
- hooks?: Record<string, unknown>;
721
- shell?: string;
722
- "disable-model-invocation"?: boolean;
723
- "user-invocable"?: boolean;
724
- "scheduled-task"?: boolean;
725
- paths?: string | string[];
726
- license?: string;
727
- compatibility?: string | Record<string, unknown>;
728
- metadata?: Record<string, unknown>;
729
- };
730
- grokcli?: {
731
- "disable-model-invocation"?: boolean;
732
- "user-invocable"?: boolean;
733
- paths?: string | string[];
734
- "when-to-use"?: string;
735
- when_to_use?: string;
736
- "allowed-tools"?: string | string[];
737
- "argument-hint"?: string;
738
- model?: string;
739
- effort?: string;
740
- license?: string;
741
- compatibility?: string | Record<string, unknown>;
742
- metadata?: Record<string, unknown>;
743
- };
744
- dsh?: {
745
- whenToUse?: string;
746
- metadata?: Record<string, unknown>;
747
- "disable-model-invocation"?: boolean;
748
- "user-invocable"?: boolean;
749
- };
750
- reasonix?: {
751
- invocation?: string;
752
- "disable-model-invocation"?: boolean;
753
- "user-invocable"?: boolean;
754
- };
755
- codexcli?: {
756
- "short-description"?: string;
757
- interface?: {
758
- display_name?: string;
759
- short_description?: string;
760
- icon_small?: string;
761
- icon_large?: string;
762
- brand_color?: string;
763
- default_prompt?: string;
764
- };
765
- policy?: {
766
- allow_implicit_invocation?: boolean;
767
- };
768
- dependencies?: {
769
- tools?: Array<{
770
- type?: string;
771
- value?: string;
772
- description?: string;
773
- transport?: string;
774
- url?: string;
775
- }>;
776
- };
777
- };
778
- opencode?: {
779
- "allowed-tools"?: string[];
780
- license?: unknown;
781
- compatibility?: unknown;
782
- metadata?: unknown;
783
- "disable-model-invocation"?: boolean;
784
- };
785
- opencodev1?: {
786
- "allowed-tools"?: string[];
787
- license?: unknown;
788
- compatibility?: unknown;
789
- metadata?: unknown;
790
- "disable-model-invocation"?: boolean;
791
- };
792
- mimocode?: {
793
- "allowed-tools"?: string[];
794
- license?: unknown;
795
- compatibility?: unknown;
796
- metadata?: unknown;
797
- "disable-model-invocation"?: boolean;
798
- };
799
- kilo?: {
800
- "allowed-tools"?: string[];
801
- license?: unknown;
802
- compatibility?: unknown;
803
- metadata?: unknown;
804
- };
805
- kiro?: {
806
- license?: string;
807
- compatibility?: string | Record<string, unknown>;
808
- metadata?: Record<string, unknown>;
809
- };
810
- deepagents?: {
811
- "allowed-tools"?: string[];
812
- license?: unknown;
813
- compatibility?: unknown;
814
- metadata?: unknown;
815
- };
816
- copilot?: {
817
- license?: string;
818
- "allowed-tools"?: string | string[];
819
- "argument-hint"?: string;
820
- "user-invocable"?: boolean;
821
- "disable-model-invocation"?: boolean;
822
- context?: string;
823
- };
824
- copilotcli?: {
825
- license?: string;
826
- "allowed-tools"?: string | string[];
827
- "argument-hint"?: string;
828
- "user-invocable"?: boolean;
829
- "disable-model-invocation"?: boolean;
830
- };
831
- pi?: {
832
- "allowed-tools"?: string | string[];
833
- "disable-model-invocation"?: boolean;
834
- license?: string;
835
- compatibility?: string | Record<string, unknown>;
836
- metadata?: Record<string, unknown>;
837
- };
838
- omp?: {
839
- "allowed-tools"?: string | string[];
840
- "disable-model-invocation"?: boolean;
841
- license?: string;
842
- compatibility?: string | Record<string, unknown>;
843
- metadata?: Record<string, unknown>;
844
- };
845
- zed?: {
846
- "disable-model-invocation"?: boolean;
847
- };
848
- replit?: {
849
- "allowed-tools"?: string | string[];
850
- license?: string;
851
- compatibility?: string | Record<string, unknown>;
852
- metadata?: Record<string, unknown>;
853
- };
854
- roo?: Record<string, unknown>;
855
- bob?: Record<string, unknown>;
856
- cline?: Record<string, unknown>;
857
- amp?: Record<string, unknown>;
858
- devin?: {
859
- "argument-hint"?: string;
860
- model?: string;
861
- subagent?: string | boolean;
862
- agent?: string;
863
- "allowed-tools"?: string | string[];
864
- permissions?: Record<string, unknown>;
865
- triggers?: ("user" | "model")[];
866
- };
867
- qwencode?: {
868
- priority?: number;
869
- paths?: string | string[];
870
- "user-invocable"?: boolean;
871
- "disable-model-invocation"?: boolean;
872
- allowedTools?: string[];
873
- model?: string;
874
- hooks?: Record<string, unknown>;
875
- when_to_use?: string;
876
- "argument-hint"?: string;
877
- };
878
- rovodev?: {
879
- "allowed-tools"?: string | string[];
880
- license?: string;
881
- compatibility?: string | Record<string, unknown>;
882
- metadata?: Record<string, unknown>;
883
- };
884
- cursor?: {
885
- paths?: string | string[];
886
- "disable-model-invocation"?: boolean;
887
- "user-invocable"?: boolean;
888
- icon?: string;
889
- color?: string;
890
- metadata?: Record<string, unknown>;
891
- };
892
- factorydroid?: {
893
- "disable-model-invocation"?: boolean;
894
- "user-invocable"?: boolean;
895
- enabled?: boolean;
896
- "allowed-tools"?: string | string[];
897
- license?: unknown;
898
- compatibility?: unknown;
899
- metadata?: unknown;
900
- version?: unknown;
901
- };
902
- "kimi-code"?: {
903
- type?: "prompt" | "inline" | "flow";
904
- whenToUse?: string;
905
- disableModelInvocation?: boolean;
906
- arguments?: string | string[];
907
- };
908
- agentsskills?: {
909
- license?: string;
910
- compatibility?: string | Record<string, unknown>;
911
- metadata?: Record<string, unknown>;
912
- "allowed-tools"?: string | string[];
913
- "disable-model-invocation"?: boolean;
914
- };
915
- hermesagent?: Record<string, unknown>;
916
- vibe?: {
917
- license?: string;
918
- compatibility?: string | Record<string, unknown>;
919
- metadata?: Record<string, unknown>;
920
- "user-invocable"?: boolean;
921
- "disable-model-invocation"?: boolean;
922
- "allowed-tools"?: string | string[];
923
- };
924
- commandcode?: Record<string, unknown>;
925
- lettacode?: {
926
- when_to_use?: string;
927
- "argument-hint"?: string;
928
- category?: string;
929
- tags?: string | string[];
930
- "disable-model-invocation"?: boolean;
931
- "user-invocable"?: boolean;
932
- };
933
- cortexcode?: Record<string, unknown>;
934
- codebuddy?: Record<string, unknown> & {
935
- "disable-model-invocation"?: boolean;
936
- "user-invocable"?: boolean;
937
- };
938
- codewhale?: Record<string, unknown>;
939
- continue?: Record<string, unknown>;
940
- tabnine?: Record<string, unknown>;
941
- takt?: {
942
- name?: string;
943
- extends?: string;
944
- };
945
- crush?: {
946
- "disable-model-invocation"?: boolean;
947
- "user-invocable"?: boolean;
948
- license?: string;
949
- compatibility?: string | Record<string, unknown>;
950
- metadata?: Record<string, unknown>;
951
- };
952
- musecode?: {
953
- license?: string;
954
- compatibility?: string | Record<string, unknown>;
955
- metadata?: Record<string, unknown>;
956
- };
957
- xum?: {
958
- "disable-model-invocation"?: boolean;
959
- advertise?: boolean;
960
- "user-invocable"?: boolean;
961
- "argument-hint"?: string;
962
- when_to_use?: string;
963
- "when-to-use"?: string;
964
- paths?: string | string[];
965
- [key: string]: unknown;
966
- };
967
- zcode?: {
968
- when_to_use?: string;
969
- license?: string;
970
- metadata?: Record<string, unknown>;
971
- };
972
- "antigravity-ide"?: AntigravitySkillSectionInput;
973
- "antigravity-cli"?: AntigravitySkillSectionInput;
974
- };
975
- type AntigravitySkillSectionInput = {
976
- "disable-slash-command"?: boolean;
977
- "disable-model-invocation"?: boolean;
978
- metadata?: Record<string, unknown>;
979
- [key: string]: unknown;
980
- };
981
- type RulesyncSkillFrontmatter = z.infer<typeof RulesyncSkillFrontmatterSchemaInternal>;
700
+ type RulesyncSkillFrontmatterInput = z.input<typeof RulesyncSkillFrontmatterSchema>;
701
+ type RulesyncSkillFrontmatter = z.infer<typeof RulesyncSkillFrontmatterSchema>;
982
702
  type RulesyncSkillParams = {
983
703
  outputRoot?: string;
984
704
  relativeDirPath?: string;
@@ -1009,6 +729,7 @@ declare class RulesyncSkill extends AiDir {
1009
729
  getBody(): string;
1010
730
  validate(): ValidationResult;
1011
731
  static fromDir({ outputRoot, relativeDirPath, dirName, global }: RulesyncSkillFromDirParams): Promise<RulesyncSkill>;
732
+ private static loadSkillDir;
1012
733
  }
1013
734
  type GenerateResult = {
1014
735
  rulesCount: number;
@@ -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/orphan-sweep.ts","../src/utils/result.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":";qBAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;cC2axB;KC/cR,wBAAwB;qBAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;KCb5B;EAAgB;EAAc;;;;;;;KAO9B;EAAiB;EAA4B;EAAc;;;;;;KCmB3D;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KCxBU,gBAAgB;KCmBhB;EAEN;EACA;;EAGA;EACA,OAAO;;KAqBD;EACV;EACA,YAAY;;;;;;;;EAQZ;;;;;;;EAOA;;KAmnBU;EACV;EACA;EACA;EACA;IACE;IACA;IACA,cAAc;;EAEhB,aAAa;EACb;;K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IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA,WAAW;IACX;IACA;;EAEF;IACE;IACA;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;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;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;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,MAAM;EACN,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;IACA;IACA,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;IACA;;EAEF,cAAc;EACd;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;IACA;IACA;;EAEF,cAAc;EACd;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF,aAAa;EACb,YAAY;IACV;IACA;;EAEF,YAAY;EACZ,WAAW;EACX,UAAU;EACV;IACE;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;KACC;;EAEH;IACE;IACA;IACA,WAAW;;EAEb,oBAAoB;EACpB,oBAAoB;;KAGjB;EACH;EACA;EACA,WAAW;GACV;;KAIS,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;;KC11B9B;EACV;EACA;EACA;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;;;;;;;EAO1B,uBAAuB,QAAQ,OAAO,2BAA2B;;;;;;;EAOjE,wBAAwB,QAAQ,OAAO,2BAA2B;;KAyd/D;KC1gBO,eAAe;KC9CtB;EACH;EACA;EACA;EACA;;YAGU,kBAAkB;EAC5B,UAAU;EACV,WAAW;EACX;;;;;;;;;;;;;EAaA;;;;;;;;EAQA;EACA;EACA;EACA;EACA;EACA;EACA;;YAGU,gBAAgB;EAC1B,QAAQ;EACR,WAAW;;YAGD,iBAAiB;EAC3B,MAAM;EACN,IAAI;EACJ,WAAW;EACX;;wBAGoB,SAAS,UAAS,kBAAuB,QAAQ;wBAyBjD,eAAe,SAAS,gBAAgB,QAAQ;wBAehD,gBAAgB,SAAS,iBAAiB,QAAQ"}
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/orphan-sweep.ts","../src/utils/result.ts","../src/lib/convert.ts","../src/types/ai-file.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";qBAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;cC4axB;KChdR,wBAAwB;qBAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;KCb5B;EAAgB;EAAc;;;;;;;KAO9B;EAAiB;EAA4B;EAAc;;;;;;KCmB3D;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KCxBU,gBAAgB;KCbhB;EAEN;EACA;;EAGA;EACA,OAAO;;KC8CD;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;WA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