rulesync 8.31.0 → 9.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.d.cts CHANGED
@@ -1,13 +1,26 @@
1
1
  import { z } from 'zod/mini';
2
2
 
3
- declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "cursor", "geminicli", "goose", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "roo", "devin", "vibe", "zed"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "opencode", "qwencode", "roo", "rovodev", "vibe", "warp", "devin", "zed"], readonly ["agentsmd", "antigravity", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "roo", "takt", "devin"], readonly ["kilo", "agentsmd", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "geminicli", "goose", "grokcli", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "roo", "rovodev", "takt", "vibe"], readonly ["agentsmd", "agentsskills", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "grokcli", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["antigravity-cli", "antigravity-ide", "kilo", "cursor", "claudecode", "codexcli", "copilot", "copilotcli", "opencode", "factorydroid", "geminicli", "goose", "deepagents", "kiro", "kiro-cli", "devin", "augmentcode", "junie", "vibe", "qwencode"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "cursor", "factorydroid", "geminicli", "goose", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "rovodev", "vibe", "warp", "zed"]];
3
+ declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions"];
4
+ declare const FeatureSchema: z.ZodMiniEnum<{
5
+ rules: "rules";
6
+ ignore: "ignore";
7
+ mcp: "mcp";
8
+ subagents: "subagents";
9
+ commands: "commands";
10
+ skills: "skills";
11
+ hooks: "hooks";
12
+ permissions: "permissions";
13
+ }>;
14
+ type Feature = z.infer<typeof FeatureSchema>;
15
+
16
+ declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "cursor", "goose", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "roo", "devin", "vibe", "warp", "zed"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "opencode", "qwencode", "reasonix", "roo", "rovodev", "vibe", "warp", "devin", "zed"], readonly ["agentsmd", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "goose", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "roo", "takt", "devin"], readonly ["kilo", "agentsmd", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "roo", "rovodev", "takt", "vibe"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["antigravity-cli", "antigravity-ide", "kilo", "cursor", "claudecode", "codexcli", "copilot", "copilotcli", "opencode", "factorydroid", "goose", "hermesagent", "deepagents", "kiro", "kiro-cli", "devin", "augmentcode", "junie", "vibe", "qwencode"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "cursor", "factorydroid", "goose", "grokcli", "hermesagent", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "rovodev", "takt", "vibe", "warp", "zed"]];
4
17
 
5
18
  type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
6
19
  declare const ALL_TOOL_TARGETS: readonly [AllToolTarget, ...AllToolTarget[]];
7
20
  declare const ToolTargetSchema: z.ZodMiniEnum<{
8
21
  agentsmd: "agentsmd";
22
+ aiassistant: "aiassistant";
9
23
  amp: "amp";
10
- antigravity: "antigravity";
11
24
  "antigravity-cli": "antigravity-cli";
12
25
  "antigravity-ide": "antigravity-ide";
13
26
  augmentcode: "augmentcode";
@@ -21,9 +34,9 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
21
34
  cursor: "cursor";
22
35
  deepagents: "deepagents";
23
36
  factorydroid: "factorydroid";
24
- geminicli: "geminicli";
25
37
  goose: "goose";
26
38
  grokcli: "grokcli";
39
+ hermesagent: "hermesagent";
27
40
  junie: "junie";
28
41
  kilo: "kilo";
29
42
  kiro: "kiro";
@@ -40,23 +53,11 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
40
53
  warp: "warp";
41
54
  devin: "devin";
42
55
  zed: "zed";
56
+ reasonix: "reasonix";
43
57
  agentsskills: "agentsskills";
44
58
  }>;
45
59
  type ToolTarget = z.infer<typeof ToolTargetSchema>;
46
60
 
47
- declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions"];
48
- declare const FeatureSchema: z.ZodMiniEnum<{
49
- rules: "rules";
50
- ignore: "ignore";
51
- mcp: "mcp";
52
- subagents: "subagents";
53
- commands: "commands";
54
- skills: "skills";
55
- hooks: "hooks";
56
- permissions: "permissions";
57
- }>;
58
- type Feature = z.infer<typeof FeatureSchema>;
59
-
60
61
  type ConvertResult = {
61
62
  rulesCount: number;
62
63
  ignoreCount: number;
@@ -158,8 +159,8 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
158
159
  description: z.ZodMiniString<string>;
159
160
  targets: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniEnum<{
160
161
  agentsmd: "agentsmd";
162
+ aiassistant: "aiassistant";
161
163
  amp: "amp";
162
- antigravity: "antigravity";
163
164
  "antigravity-cli": "antigravity-cli";
164
165
  "antigravity-ide": "antigravity-ide";
165
166
  augmentcode: "augmentcode";
@@ -173,9 +174,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
173
174
  cursor: "cursor";
174
175
  deepagents: "deepagents";
175
176
  factorydroid: "factorydroid";
176
- geminicli: "geminicli";
177
177
  goose: "goose";
178
178
  grokcli: "grokcli";
179
+ hermesagent: "hermesagent";
179
180
  junie: "junie";
180
181
  kilo: "kilo";
181
182
  kiro: "kiro";
@@ -192,15 +193,24 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
192
193
  warp: "warp";
193
194
  devin: "devin";
194
195
  zed: "zed";
196
+ reasonix: "reasonix";
195
197
  agentsskills: "agentsskills";
196
198
  "*": "*";
197
199
  }>>>;
198
200
  "disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
199
201
  "user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
200
202
  claudecode: z.ZodMiniOptional<z.ZodMiniObject<{
201
- "allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
203
+ when_to_use: z.ZodMiniOptional<z.ZodMiniString<string>>;
204
+ "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
202
205
  "disallowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
203
206
  model: z.ZodMiniOptional<z.ZodMiniString<string>>;
207
+ effort: z.ZodMiniOptional<z.ZodMiniString<string>>;
208
+ "argument-hint": z.ZodMiniOptional<z.ZodMiniString<string>>;
209
+ arguments: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
210
+ context: z.ZodMiniOptional<z.ZodMiniString<string>>;
211
+ agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
212
+ hooks: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
213
+ shell: z.ZodMiniOptional<z.ZodMiniString<string>>;
204
214
  "disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
205
215
  "user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
206
216
  "scheduled-task": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -276,6 +286,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
276
286
  rovodev: z.ZodMiniOptional<z.ZodMiniObject<{
277
287
  "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
278
288
  license: z.ZodMiniOptional<z.ZodMiniString<string>>;
289
+ compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
279
290
  metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
280
291
  }, z.core.$loose>>;
281
292
  cursor: z.ZodMiniOptional<z.ZodMiniObject<{
@@ -312,9 +323,17 @@ type RulesyncSkillFrontmatterInput = {
312
323
  "disable-model-invocation"?: boolean;
313
324
  "user-invocable"?: boolean;
314
325
  claudecode?: {
315
- "allowed-tools"?: string[];
326
+ when_to_use?: string;
327
+ "allowed-tools"?: string | string[];
316
328
  "disallowed-tools"?: string | string[];
317
329
  model?: string;
330
+ effort?: string;
331
+ "argument-hint"?: string;
332
+ arguments?: string | string[];
333
+ context?: string;
334
+ agent?: string;
335
+ hooks?: Record<string, unknown>;
336
+ shell?: string;
318
337
  "disable-model-invocation"?: boolean;
319
338
  "user-invocable"?: boolean;
320
339
  "scheduled-task"?: boolean;
@@ -387,6 +406,7 @@ type RulesyncSkillFrontmatterInput = {
387
406
  rovodev?: {
388
407
  "allowed-tools"?: string | string[];
389
408
  license?: string;
409
+ compatibility?: string | Record<string, unknown>;
390
410
  metadata?: Record<string, unknown>;
391
411
  };
392
412
  cursor?: {
@@ -491,13 +511,6 @@ type GenerateOptions = BaseOptions & {
491
511
  targets?: ToolTarget[];
492
512
  features?: Feature[];
493
513
  outputRoots?: string[];
494
- /**
495
- * @deprecated Use `outputRoots` instead. Accepted as a backward-compatible
496
- * alias for the programmatic API; emits a one-shot deprecation warning when
497
- * provided. When both `outputRoots` and `baseDirs` are supplied,
498
- * `outputRoots` wins. Will be removed in a future major release.
499
- */
500
- baseDirs?: string[];
501
514
  /**
502
515
  * Directory containing the `.rulesync/` source files. Defaults to the
503
516
  * current working directory at config-construction time. When set, output
package/dist/index.d.ts CHANGED
@@ -1,13 +1,26 @@
1
1
  import { z } from 'zod/mini';
2
2
 
3
- declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "cursor", "geminicli", "goose", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "roo", "devin", "vibe", "zed"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "grokcli", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "opencode", "qwencode", "roo", "rovodev", "vibe", "warp", "devin", "zed"], readonly ["agentsmd", "antigravity", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "roo", "takt", "devin"], readonly ["kilo", "agentsmd", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "geminicli", "goose", "grokcli", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "roo", "rovodev", "takt", "vibe"], readonly ["agentsmd", "agentsskills", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "grokcli", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["antigravity-cli", "antigravity-ide", "kilo", "cursor", "claudecode", "codexcli", "copilot", "copilotcli", "opencode", "factorydroid", "geminicli", "goose", "deepagents", "kiro", "kiro-cli", "devin", "augmentcode", "junie", "vibe", "qwencode"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "cursor", "factorydroid", "geminicli", "goose", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "rovodev", "vibe", "warp", "zed"]];
3
+ declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions"];
4
+ declare const FeatureSchema: z.ZodMiniEnum<{
5
+ rules: "rules";
6
+ ignore: "ignore";
7
+ mcp: "mcp";
8
+ subagents: "subagents";
9
+ commands: "commands";
10
+ skills: "skills";
11
+ hooks: "hooks";
12
+ permissions: "permissions";
13
+ }>;
14
+ type Feature = z.infer<typeof FeatureSchema>;
15
+
16
+ declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "claudecode", "claudecode-legacy", "cline", "cursor", "goose", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "qwencode", "roo", "devin", "vibe", "warp", "zed"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "opencode", "qwencode", "reasonix", "roo", "rovodev", "vibe", "warp", "devin", "zed"], readonly ["agentsmd", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "cursor", "factorydroid", "goose", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "roo", "takt", "devin"], readonly ["kilo", "agentsmd", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "roo", "rovodev", "takt", "vibe"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "vibe", "warp", "devin", "zed"], readonly ["antigravity-cli", "antigravity-ide", "kilo", "cursor", "claudecode", "codexcli", "copilot", "copilotcli", "opencode", "factorydroid", "goose", "hermesagent", "deepagents", "kiro", "kiro-cli", "devin", "augmentcode", "junie", "vibe", "qwencode"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "claudecode", "cline", "codexcli", "cursor", "factorydroid", "goose", "grokcli", "hermesagent", "kilo", "kiro", "kiro-cli", "kiro-ide", "opencode", "qwencode", "rovodev", "takt", "vibe", "warp", "zed"]];
4
17
 
5
18
  type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
6
19
  declare const ALL_TOOL_TARGETS: readonly [AllToolTarget, ...AllToolTarget[]];
7
20
  declare const ToolTargetSchema: z.ZodMiniEnum<{
8
21
  agentsmd: "agentsmd";
22
+ aiassistant: "aiassistant";
9
23
  amp: "amp";
10
- antigravity: "antigravity";
11
24
  "antigravity-cli": "antigravity-cli";
12
25
  "antigravity-ide": "antigravity-ide";
13
26
  augmentcode: "augmentcode";
@@ -21,9 +34,9 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
21
34
  cursor: "cursor";
22
35
  deepagents: "deepagents";
23
36
  factorydroid: "factorydroid";
24
- geminicli: "geminicli";
25
37
  goose: "goose";
26
38
  grokcli: "grokcli";
39
+ hermesagent: "hermesagent";
27
40
  junie: "junie";
28
41
  kilo: "kilo";
29
42
  kiro: "kiro";
@@ -40,23 +53,11 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
40
53
  warp: "warp";
41
54
  devin: "devin";
42
55
  zed: "zed";
56
+ reasonix: "reasonix";
43
57
  agentsskills: "agentsskills";
44
58
  }>;
45
59
  type ToolTarget = z.infer<typeof ToolTargetSchema>;
46
60
 
47
- declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions"];
48
- declare const FeatureSchema: z.ZodMiniEnum<{
49
- rules: "rules";
50
- ignore: "ignore";
51
- mcp: "mcp";
52
- subagents: "subagents";
53
- commands: "commands";
54
- skills: "skills";
55
- hooks: "hooks";
56
- permissions: "permissions";
57
- }>;
58
- type Feature = z.infer<typeof FeatureSchema>;
59
-
60
61
  type ConvertResult = {
61
62
  rulesCount: number;
62
63
  ignoreCount: number;
@@ -158,8 +159,8 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
158
159
  description: z.ZodMiniString<string>;
159
160
  targets: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniEnum<{
160
161
  agentsmd: "agentsmd";
162
+ aiassistant: "aiassistant";
161
163
  amp: "amp";
162
- antigravity: "antigravity";
163
164
  "antigravity-cli": "antigravity-cli";
164
165
  "antigravity-ide": "antigravity-ide";
165
166
  augmentcode: "augmentcode";
@@ -173,9 +174,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
173
174
  cursor: "cursor";
174
175
  deepagents: "deepagents";
175
176
  factorydroid: "factorydroid";
176
- geminicli: "geminicli";
177
177
  goose: "goose";
178
178
  grokcli: "grokcli";
179
+ hermesagent: "hermesagent";
179
180
  junie: "junie";
180
181
  kilo: "kilo";
181
182
  kiro: "kiro";
@@ -192,15 +193,24 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
192
193
  warp: "warp";
193
194
  devin: "devin";
194
195
  zed: "zed";
196
+ reasonix: "reasonix";
195
197
  agentsskills: "agentsskills";
196
198
  "*": "*";
197
199
  }>>>;
198
200
  "disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
199
201
  "user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
200
202
  claudecode: z.ZodMiniOptional<z.ZodMiniObject<{
201
- "allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
203
+ when_to_use: z.ZodMiniOptional<z.ZodMiniString<string>>;
204
+ "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
202
205
  "disallowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
203
206
  model: z.ZodMiniOptional<z.ZodMiniString<string>>;
207
+ effort: z.ZodMiniOptional<z.ZodMiniString<string>>;
208
+ "argument-hint": z.ZodMiniOptional<z.ZodMiniString<string>>;
209
+ arguments: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
210
+ context: z.ZodMiniOptional<z.ZodMiniString<string>>;
211
+ agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
212
+ hooks: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
213
+ shell: z.ZodMiniOptional<z.ZodMiniString<string>>;
204
214
  "disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
205
215
  "user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
206
216
  "scheduled-task": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -276,6 +286,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
276
286
  rovodev: z.ZodMiniOptional<z.ZodMiniObject<{
277
287
  "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
278
288
  license: z.ZodMiniOptional<z.ZodMiniString<string>>;
289
+ compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
279
290
  metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
280
291
  }, z.core.$loose>>;
281
292
  cursor: z.ZodMiniOptional<z.ZodMiniObject<{
@@ -312,9 +323,17 @@ type RulesyncSkillFrontmatterInput = {
312
323
  "disable-model-invocation"?: boolean;
313
324
  "user-invocable"?: boolean;
314
325
  claudecode?: {
315
- "allowed-tools"?: string[];
326
+ when_to_use?: string;
327
+ "allowed-tools"?: string | string[];
316
328
  "disallowed-tools"?: string | string[];
317
329
  model?: string;
330
+ effort?: string;
331
+ "argument-hint"?: string;
332
+ arguments?: string | string[];
333
+ context?: string;
334
+ agent?: string;
335
+ hooks?: Record<string, unknown>;
336
+ shell?: string;
318
337
  "disable-model-invocation"?: boolean;
319
338
  "user-invocable"?: boolean;
320
339
  "scheduled-task"?: boolean;
@@ -387,6 +406,7 @@ type RulesyncSkillFrontmatterInput = {
387
406
  rovodev?: {
388
407
  "allowed-tools"?: string | string[];
389
408
  license?: string;
409
+ compatibility?: string | Record<string, unknown>;
390
410
  metadata?: Record<string, unknown>;
391
411
  };
392
412
  cursor?: {
@@ -491,13 +511,6 @@ type GenerateOptions = BaseOptions & {
491
511
  targets?: ToolTarget[];
492
512
  features?: Feature[];
493
513
  outputRoots?: string[];
494
- /**
495
- * @deprecated Use `outputRoots` instead. Accepted as a backward-compatible
496
- * alias for the programmatic API; emits a one-shot deprecation warning when
497
- * provided. When both `outputRoots` and `baseDirs` are supplied,
498
- * `outputRoots` wins. Will be removed in a future major release.
499
- */
500
- baseDirs?: string[];
501
514
  /**
502
515
  * Directory containing the `.rulesync/` source files. Defaults to the
503
516
  * current working directory at config-construction time. When set, output
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  convertFromTool,
8
8
  generate,
9
9
  importFromTool
10
- } from "./chunk-NAO27T2K.js";
10
+ } from "./chunk-JT4BB5RE.js";
11
11
 
12
12
  // src/index.ts
13
13
  async function generate2(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "8.31.0",
3
+ "version": "9.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",