rulesync 8.32.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/README.md +1 -4
- package/dist/{chunk-3SMTK3M3.js → chunk-JT4BB5RE.js} +1974 -4053
- package/dist/cli/index.cjs +2454 -4603
- package/dist/cli/index.js +12 -86
- package/dist/index.cjs +2000 -4077
- package/dist/index.d.cts +14 -25
- package/dist/index.d.ts +14 -25
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod/mini';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
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[]];
|
|
@@ -8,7 +21,6 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
8
21
|
agentsmd: "agentsmd";
|
|
9
22
|
aiassistant: "aiassistant";
|
|
10
23
|
amp: "amp";
|
|
11
|
-
antigravity: "antigravity";
|
|
12
24
|
"antigravity-cli": "antigravity-cli";
|
|
13
25
|
"antigravity-ide": "antigravity-ide";
|
|
14
26
|
augmentcode: "augmentcode";
|
|
@@ -22,7 +34,6 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
22
34
|
cursor: "cursor";
|
|
23
35
|
deepagents: "deepagents";
|
|
24
36
|
factorydroid: "factorydroid";
|
|
25
|
-
geminicli: "geminicli";
|
|
26
37
|
goose: "goose";
|
|
27
38
|
grokcli: "grokcli";
|
|
28
39
|
hermesagent: "hermesagent";
|
|
@@ -47,19 +58,6 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
47
58
|
}>;
|
|
48
59
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
49
60
|
|
|
50
|
-
declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions"];
|
|
51
|
-
declare const FeatureSchema: z.ZodMiniEnum<{
|
|
52
|
-
rules: "rules";
|
|
53
|
-
ignore: "ignore";
|
|
54
|
-
mcp: "mcp";
|
|
55
|
-
subagents: "subagents";
|
|
56
|
-
commands: "commands";
|
|
57
|
-
skills: "skills";
|
|
58
|
-
hooks: "hooks";
|
|
59
|
-
permissions: "permissions";
|
|
60
|
-
}>;
|
|
61
|
-
type Feature = z.infer<typeof FeatureSchema>;
|
|
62
|
-
|
|
63
61
|
type ConvertResult = {
|
|
64
62
|
rulesCount: number;
|
|
65
63
|
ignoreCount: number;
|
|
@@ -163,7 +161,6 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
163
161
|
agentsmd: "agentsmd";
|
|
164
162
|
aiassistant: "aiassistant";
|
|
165
163
|
amp: "amp";
|
|
166
|
-
antigravity: "antigravity";
|
|
167
164
|
"antigravity-cli": "antigravity-cli";
|
|
168
165
|
"antigravity-ide": "antigravity-ide";
|
|
169
166
|
augmentcode: "augmentcode";
|
|
@@ -177,7 +174,6 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
177
174
|
cursor: "cursor";
|
|
178
175
|
deepagents: "deepagents";
|
|
179
176
|
factorydroid: "factorydroid";
|
|
180
|
-
geminicli: "geminicli";
|
|
181
177
|
goose: "goose";
|
|
182
178
|
grokcli: "grokcli";
|
|
183
179
|
hermesagent: "hermesagent";
|
|
@@ -515,13 +511,6 @@ type GenerateOptions = BaseOptions & {
|
|
|
515
511
|
targets?: ToolTarget[];
|
|
516
512
|
features?: Feature[];
|
|
517
513
|
outputRoots?: string[];
|
|
518
|
-
/**
|
|
519
|
-
* @deprecated Use `outputRoots` instead. Accepted as a backward-compatible
|
|
520
|
-
* alias for the programmatic API; emits a one-shot deprecation warning when
|
|
521
|
-
* provided. When both `outputRoots` and `baseDirs` are supplied,
|
|
522
|
-
* `outputRoots` wins. Will be removed in a future major release.
|
|
523
|
-
*/
|
|
524
|
-
baseDirs?: string[];
|
|
525
514
|
/**
|
|
526
515
|
* Directory containing the `.rulesync/` source files. Defaults to the
|
|
527
516
|
* current working directory at config-construction time. When set, output
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod/mini';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
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[]];
|
|
@@ -8,7 +21,6 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
8
21
|
agentsmd: "agentsmd";
|
|
9
22
|
aiassistant: "aiassistant";
|
|
10
23
|
amp: "amp";
|
|
11
|
-
antigravity: "antigravity";
|
|
12
24
|
"antigravity-cli": "antigravity-cli";
|
|
13
25
|
"antigravity-ide": "antigravity-ide";
|
|
14
26
|
augmentcode: "augmentcode";
|
|
@@ -22,7 +34,6 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
22
34
|
cursor: "cursor";
|
|
23
35
|
deepagents: "deepagents";
|
|
24
36
|
factorydroid: "factorydroid";
|
|
25
|
-
geminicli: "geminicli";
|
|
26
37
|
goose: "goose";
|
|
27
38
|
grokcli: "grokcli";
|
|
28
39
|
hermesagent: "hermesagent";
|
|
@@ -47,19 +58,6 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
47
58
|
}>;
|
|
48
59
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
49
60
|
|
|
50
|
-
declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions"];
|
|
51
|
-
declare const FeatureSchema: z.ZodMiniEnum<{
|
|
52
|
-
rules: "rules";
|
|
53
|
-
ignore: "ignore";
|
|
54
|
-
mcp: "mcp";
|
|
55
|
-
subagents: "subagents";
|
|
56
|
-
commands: "commands";
|
|
57
|
-
skills: "skills";
|
|
58
|
-
hooks: "hooks";
|
|
59
|
-
permissions: "permissions";
|
|
60
|
-
}>;
|
|
61
|
-
type Feature = z.infer<typeof FeatureSchema>;
|
|
62
|
-
|
|
63
61
|
type ConvertResult = {
|
|
64
62
|
rulesCount: number;
|
|
65
63
|
ignoreCount: number;
|
|
@@ -163,7 +161,6 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
163
161
|
agentsmd: "agentsmd";
|
|
164
162
|
aiassistant: "aiassistant";
|
|
165
163
|
amp: "amp";
|
|
166
|
-
antigravity: "antigravity";
|
|
167
164
|
"antigravity-cli": "antigravity-cli";
|
|
168
165
|
"antigravity-ide": "antigravity-ide";
|
|
169
166
|
augmentcode: "augmentcode";
|
|
@@ -177,7 +174,6 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
177
174
|
cursor: "cursor";
|
|
178
175
|
deepagents: "deepagents";
|
|
179
176
|
factorydroid: "factorydroid";
|
|
180
|
-
geminicli: "geminicli";
|
|
181
177
|
goose: "goose";
|
|
182
178
|
grokcli: "grokcli";
|
|
183
179
|
hermesagent: "hermesagent";
|
|
@@ -515,13 +511,6 @@ type GenerateOptions = BaseOptions & {
|
|
|
515
511
|
targets?: ToolTarget[];
|
|
516
512
|
features?: Feature[];
|
|
517
513
|
outputRoots?: string[];
|
|
518
|
-
/**
|
|
519
|
-
* @deprecated Use `outputRoots` instead. Accepted as a backward-compatible
|
|
520
|
-
* alias for the programmatic API; emits a one-shot deprecation warning when
|
|
521
|
-
* provided. When both `outputRoots` and `baseDirs` are supplied,
|
|
522
|
-
* `outputRoots` wins. Will be removed in a future major release.
|
|
523
|
-
*/
|
|
524
|
-
baseDirs?: string[];
|
|
525
514
|
/**
|
|
526
515
|
* Directory containing the `.rulesync/` source files. Defaults to the
|
|
527
516
|
* current working directory at config-construction time. When set, output
|
package/dist/index.js
CHANGED