rulesync 41.0.0 → 43.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_import = require("./import-BkHnvubU.cjs");
3
- //#region src/index.ts
2
+ const require_import = require("./import-CCmW1p35.cjs");
3
+ // src/index.ts
4
4
  async function generate(options = {}) {
5
5
  const { silent = true, verbose = false, ...rest } = options;
6
6
  const logger = new require_import.ConsoleLogger({
@@ -63,7 +63,6 @@ async function convertFromTool(options) {
63
63
  logger
64
64
  });
65
65
  }
66
- //#endregion
67
66
  exports.ALL_FEATURES = require_import.ALL_FEATURES;
68
67
  exports.ALL_TOOL_TARGETS = require_import.ALL_TOOL_TARGETS;
69
68
  exports.convertFromTool = convertFromTool;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/mini";
2
- //#region src/types/features.d.ts
3
2
  export declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions", "checks"];
4
3
  declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
5
4
  checks: "checks";
@@ -12,11 +11,7 @@ declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
12
11
  subagents: "subagents";
13
12
  }>, z.ZodMiniLiteral<"ignore">]>;
14
13
  type Feature = z.infer<typeof FeatureSchema>;
15
- //#endregion
16
- //#region src/types/tool-target-tuples.d.ts
17
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"]];
18
- //#endregion
19
- //#region src/types/tool-targets.d.ts
20
15
  type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
21
16
  export declare const ALL_TOOL_TARGETS: readonly [AllToolTarget, ...AllToolTarget[]];
22
17
  declare const ToolTargetSchema: z.ZodMiniEnum<{
@@ -93,9 +88,26 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
93
88
  zoocode: "zoocode";
94
89
  }>;
95
90
  type ToolTarget = z.infer<typeof ToolTargetSchema>;
96
- //#endregion
97
- //#region src/lib/convert.d.ts
98
- type ConvertResult = {
91
+ /** A path an orphan sweep deleted, or would delete under `--dry-run`/`--check`. */
92
+ type DeletedPath = {
93
+ path: string;
94
+ kind: "file" | "directory";
95
+ };
96
+ /**
97
+ * A top-level key a write of a shared config file adds, changes or removes,
98
+ * among the keys Rulesync owns outright there; `path` is relative to the
99
+ * output root like {@link DeletedPath.path}.
100
+ */
101
+ type KeyOperation = {
102
+ action: "write" | "delete";
103
+ path: string;
104
+ key: string;
105
+ };
106
+ /**
107
+ * The number of files each feature touched: the whole result of an import or
108
+ * a convert, and the count fields of a generate.
109
+ */
110
+ type FeatureCounts = {
99
111
  rulesCount: number;
100
112
  ignoreCount: number;
101
113
  mcpCount: number;
@@ -106,8 +118,7 @@ type ConvertResult = {
106
118
  permissionsCount: number;
107
119
  checksCount: number;
108
120
  };
109
- //#endregion
110
- //#region src/types/ai-dir.d.ts
121
+ type ConvertResult = FeatureCounts;
111
122
  type ValidationResult = {
112
123
  success: true;
113
124
  error: undefined | null;
@@ -318,8 +329,6 @@ declare abstract class AiDir {
318
329
  protected static collectOtherFiles(outputRoot: string, relativeDirPath: string, dirName: string, excludeFileName: string): Promise<AiDirFile[]>;
319
330
  abstract validate(): ValidationResult;
320
331
  }
321
- //#endregion
322
- //#region src/features/skills/rulesync-skill.d.ts
323
332
  declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
324
333
  name: z.ZodMiniString<string>;
325
334
  description: z.ZodMiniString<string>;
@@ -996,25 +1005,6 @@ declare class RulesyncSkill extends AiDir {
996
1005
  validate(): ValidationResult;
997
1006
  static fromDir({ outputRoot, relativeDirPath, dirName, global }: RulesyncSkillFromDirParams): Promise<RulesyncSkill>;
998
1007
  }
999
- //#endregion
1000
- //#region src/lib/orphan-sweep.d.ts
1001
- /** A path an orphan sweep deleted, or would delete under `--dry-run`/`--check`. */
1002
- type DeletedPath = {
1003
- path: string;
1004
- kind: "file" | "directory";
1005
- };
1006
- /**
1007
- * A top-level key a write of a shared config file adds, changes or removes,
1008
- * among the keys Rulesync owns outright there; `path` is relative to the
1009
- * output root like {@link DeletedPath.path}.
1010
- */
1011
- type KeyOperation = {
1012
- action: "write" | "delete";
1013
- path: string;
1014
- key: string;
1015
- };
1016
- //#endregion
1017
- //#region src/lib/generate.d.ts
1018
1008
  type GenerateResult = {
1019
1009
  rulesCount: number;
1020
1010
  rulesPaths: string[];
@@ -1067,21 +1057,7 @@ type GenerateResult = {
1067
1057
  keyOperationsByFeature: Partial<Record<GenerationStepId, readonly KeyOperation[]>>;
1068
1058
  };
1069
1059
  type GenerationStepId = "ignore" | "mcp" | "commands" | "subagents" | "skills" | "hooks" | "permissions" | "checks" | "rules";
1070
- //#endregion
1071
- //#region src/lib/import.d.ts
1072
- type ImportResult = {
1073
- rulesCount: number;
1074
- ignoreCount: number;
1075
- mcpCount: number;
1076
- commandsCount: number;
1077
- subagentsCount: number;
1078
- skillsCount: number;
1079
- hooksCount: number;
1080
- permissionsCount: number;
1081
- checksCount: number;
1082
- };
1083
- //#endregion
1084
- //#region src/index.d.ts
1060
+ type ImportResult = FeatureCounts;
1085
1061
  type BaseOptions = {
1086
1062
  configPath?: string;
1087
1063
  verbose?: boolean;
@@ -1133,6 +1109,5 @@ export type ConvertOptions = BaseOptions & {
1133
1109
  export declare function generate(options?: GenerateOptions): Promise<GenerateResult>;
1134
1110
  export declare function importFromTool(options: ImportOptions): Promise<ImportResult>;
1135
1111
  export declare function convertFromTool(options: ConvertOptions): Promise<ConvertResult>;
1136
- //#endregion
1137
1112
  export type { ConvertResult, Feature, GenerateResult, ImportResult, ToolTarget };
1138
1113
  //# sourceMappingURL=index.d.cts.map
@@ -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/orphan-sweep.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;;;KCH5B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;K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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;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;;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,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;;;;;KC74B9B;EAAgB;EAAc;;;;;;;KAO9B;EAAiB;EAA4B;EAAc;;;;KCoD3D;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;;KAydxD;;;KC3gBA;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCtDG;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-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;;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;;;;EAOj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;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;;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,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;;KCl1B9B;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"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/mini";
2
- //#region src/types/features.d.ts
3
2
  export declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions", "checks"];
4
3
  declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
5
4
  checks: "checks";
@@ -12,11 +11,7 @@ declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
12
11
  subagents: "subagents";
13
12
  }>, z.ZodMiniLiteral<"ignore">]>;
14
13
  type Feature = z.infer<typeof FeatureSchema>;
15
- //#endregion
16
- //#region src/types/tool-target-tuples.d.ts
17
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"]];
18
- //#endregion
19
- //#region src/types/tool-targets.d.ts
20
15
  type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
21
16
  export declare const ALL_TOOL_TARGETS: readonly [AllToolTarget, ...AllToolTarget[]];
22
17
  declare const ToolTargetSchema: z.ZodMiniEnum<{
@@ -93,9 +88,26 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
93
88
  zoocode: "zoocode";
94
89
  }>;
95
90
  type ToolTarget = z.infer<typeof ToolTargetSchema>;
96
- //#endregion
97
- //#region src/lib/convert.d.ts
98
- type ConvertResult = {
91
+ /** A path an orphan sweep deleted, or would delete under `--dry-run`/`--check`. */
92
+ type DeletedPath = {
93
+ path: string;
94
+ kind: "file" | "directory";
95
+ };
96
+ /**
97
+ * A top-level key a write of a shared config file adds, changes or removes,
98
+ * among the keys Rulesync owns outright there; `path` is relative to the
99
+ * output root like {@link DeletedPath.path}.
100
+ */
101
+ type KeyOperation = {
102
+ action: "write" | "delete";
103
+ path: string;
104
+ key: string;
105
+ };
106
+ /**
107
+ * The number of files each feature touched: the whole result of an import or
108
+ * a convert, and the count fields of a generate.
109
+ */
110
+ type FeatureCounts = {
99
111
  rulesCount: number;
100
112
  ignoreCount: number;
101
113
  mcpCount: number;
@@ -106,8 +118,7 @@ type ConvertResult = {
106
118
  permissionsCount: number;
107
119
  checksCount: number;
108
120
  };
109
- //#endregion
110
- //#region src/types/ai-dir.d.ts
121
+ type ConvertResult = FeatureCounts;
111
122
  type ValidationResult = {
112
123
  success: true;
113
124
  error: undefined | null;
@@ -318,8 +329,6 @@ declare abstract class AiDir {
318
329
  protected static collectOtherFiles(outputRoot: string, relativeDirPath: string, dirName: string, excludeFileName: string): Promise<AiDirFile[]>;
319
330
  abstract validate(): ValidationResult;
320
331
  }
321
- //#endregion
322
- //#region src/features/skills/rulesync-skill.d.ts
323
332
  declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
324
333
  name: z.ZodMiniString<string>;
325
334
  description: z.ZodMiniString<string>;
@@ -996,25 +1005,6 @@ declare class RulesyncSkill extends AiDir {
996
1005
  validate(): ValidationResult;
997
1006
  static fromDir({ outputRoot, relativeDirPath, dirName, global }: RulesyncSkillFromDirParams): Promise<RulesyncSkill>;
998
1007
  }
999
- //#endregion
1000
- //#region src/lib/orphan-sweep.d.ts
1001
- /** A path an orphan sweep deleted, or would delete under `--dry-run`/`--check`. */
1002
- type DeletedPath = {
1003
- path: string;
1004
- kind: "file" | "directory";
1005
- };
1006
- /**
1007
- * A top-level key a write of a shared config file adds, changes or removes,
1008
- * among the keys Rulesync owns outright there; `path` is relative to the
1009
- * output root like {@link DeletedPath.path}.
1010
- */
1011
- type KeyOperation = {
1012
- action: "write" | "delete";
1013
- path: string;
1014
- key: string;
1015
- };
1016
- //#endregion
1017
- //#region src/lib/generate.d.ts
1018
1008
  type GenerateResult = {
1019
1009
  rulesCount: number;
1020
1010
  rulesPaths: string[];
@@ -1067,21 +1057,7 @@ type GenerateResult = {
1067
1057
  keyOperationsByFeature: Partial<Record<GenerationStepId, readonly KeyOperation[]>>;
1068
1058
  };
1069
1059
  type GenerationStepId = "ignore" | "mcp" | "commands" | "subagents" | "skills" | "hooks" | "permissions" | "checks" | "rules";
1070
- //#endregion
1071
- //#region src/lib/import.d.ts
1072
- type ImportResult = {
1073
- rulesCount: number;
1074
- ignoreCount: number;
1075
- mcpCount: number;
1076
- commandsCount: number;
1077
- subagentsCount: number;
1078
- skillsCount: number;
1079
- hooksCount: number;
1080
- permissionsCount: number;
1081
- checksCount: number;
1082
- };
1083
- //#endregion
1084
- //#region src/index.d.ts
1060
+ type ImportResult = FeatureCounts;
1085
1061
  type BaseOptions = {
1086
1062
  configPath?: string;
1087
1063
  verbose?: boolean;
@@ -1133,6 +1109,5 @@ export type ConvertOptions = BaseOptions & {
1133
1109
  export declare function generate(options?: GenerateOptions): Promise<GenerateResult>;
1134
1110
  export declare function importFromTool(options: ImportOptions): Promise<ImportResult>;
1135
1111
  export declare function convertFromTool(options: ConvertOptions): Promise<ConvertResult>;
1136
- //#endregion
1137
1112
  export type { ConvertResult, Feature, GenerateResult, ImportResult, ToolTarget };
1138
1113
  //# sourceMappingURL=index.d.ts.map
@@ -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/orphan-sweep.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,4BA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqd1C,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;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;;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,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;;;;;KC74B9B;EAAgB;EAAc;;;;;;;KAO9B;EAAiB;EAA4B;EAAc;;;;KCoD3D;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;;KAydxD;;;KC3gBA;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCtDG;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.ts","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;;KAGU,qBAAqB,KAC/B;uBAIoB;;;;qBAID;;;;qBAKA;;;;qBAKA;;;;YAKT;IACR;IACA;IACA,cAAc;;;;;YAMN,YAAY;;;;qBAKH;EAEnB,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EF;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;;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,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;;KCl1B9B;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"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Cn as ALL_FEATURES, Ct as ConsoleLogger, a as convertFromTool$1, i as inspectInputRoots, mt as ConfigResolver, r as generate$1, t as importFromTool$1, yn as ALL_TOOL_TARGETS } from "./import-Dbtm2Et1.js";
2
- //#region src/index.ts
1
+ import { Tn as ALL_FEATURES, Tt as ConsoleLogger, a as convertFromTool$1, ht as ConfigResolver, i as inspectInputRoots, r as generate$1, t as importFromTool$1, xn as ALL_TOOL_TARGETS } from "./import-DdmJUW78.js";
2
+ // src/index.ts
3
3
  async function generate(options = {}) {
4
4
  const { silent = true, verbose = false, ...rest } = options;
5
5
  const logger = new ConsoleLogger({
@@ -62,7 +62,6 @@ async function convertFromTool(options) {
62
62
  logger
63
63
  });
64
64
  }
65
- //#endregion
66
65
  export { ALL_FEATURES, ALL_TOOL_TARGETS, convertFromTool, generate, importFromTool };
67
66
 
68
67
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "41.0.0",
3
+ "version": "43.0.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,12 +48,12 @@
48
48
  "pre-commit": "pnpm exec lint-staged"
49
49
  },
50
50
  "dependencies": {
51
- "@inquirer/checkbox": "5.2.6",
51
+ "@inquirer/checkbox": "5.2.7",
52
52
  "@modelcontextprotocol/sdk": "1.32.1",
53
53
  "@octokit/request-error": "7.1.2",
54
54
  "@octokit/rest": "22.0.1",
55
55
  "@toon-format/toon": "4.4.0",
56
- "chokidar": "5.0.0",
56
+ "chokidar": "6.0.0",
57
57
  "commander": "15.0.0",
58
58
  "es-toolkit": "1.52.0",
59
59
  "globby": "16.2.4",
@@ -65,8 +65,8 @@
65
65
  "zod": "4.6.7"
66
66
  },
67
67
  "devDependencies": {
68
- "@anthropic-ai/claude-agent-sdk": "0.3.302",
69
- "@openrouter/sdk": "1.4.25",
68
+ "@anthropic-ai/claude-agent-sdk": "0.3.307",
69
+ "@openrouter/sdk": "1.5.3",
70
70
  "@secretlint/secretlint-rule-preset-recommend": "13.0.7",
71
71
  "@tsconfig/node24": "24.0.5",
72
72
  "@types/node": "26.6.5",
@@ -74,10 +74,10 @@
74
74
  "@vitest/coverage-v8": "5.0.5",
75
75
  "cspell": "10.4.0",
76
76
  "get-east-asian-width": "1.7.0",
77
- "knip": "6.41.0",
77
+ "knip": "6.42.1",
78
78
  "lint-staged": "17.6.0",
79
- "oxfmt": "0.73.0",
80
- "oxlint": "1.88.0",
79
+ "oxfmt": "0.74.0",
80
+ "oxlint": "1.89.0",
81
81
  "repomix": "1.18.1",
82
82
  "resend": "6.34.1",
83
83
  "secretlint": "13.0.7",
@@ -87,12 +87,12 @@
87
87
  "tsdown": "0.23.1",
88
88
  "tsx": "4.23.15",
89
89
  "typescript": "7.0.2",
90
- "vite": "8.3.4",
90
+ "vite": "8.3.5",
91
91
  "vitepress": "1.6.4",
92
92
  "vitest": "5.0.5"
93
93
  },
94
94
  "engines": {
95
- "node": ">=22.0.0",
95
+ "node": ">=22.22.0",
96
96
  "pnpm": ">=10"
97
97
  },
98
98
  "publishConfig": {