rulesync 7.21.0 → 7.23.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 +3 -2
- package/dist/{chunk-UYWCICY6.js → chunk-GAWAOFCL.js} +1352 -629
- package/dist/cli/index.cjs +1622 -892
- package/dist/cli/index.js +12 -3
- package/dist/index.cjs +1374 -653
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +1 -1
- package/package.json +21 -17
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/mini';
|
|
2
2
|
|
|
3
|
-
declare const ALL_TOOL_TARGETS: readonly ["agentsmd", "agentsskills", "antigravity", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "opencode", "qwencode", "replit", "roo", "warp", "windsurf", "zed"];
|
|
3
|
+
declare const ALL_TOOL_TARGETS: readonly ["agentsmd", "agentsskills", "antigravity", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "opencode", "qwencode", "replit", "roo", "warp", "windsurf", "zed"];
|
|
4
4
|
declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
5
5
|
agentsmd: "agentsmd";
|
|
6
6
|
agentsskills: "agentsskills";
|
|
@@ -14,6 +14,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
14
14
|
copilot: "copilot";
|
|
15
15
|
copilotcli: "copilotcli";
|
|
16
16
|
cursor: "cursor";
|
|
17
|
+
deepagents: "deepagents";
|
|
17
18
|
factorydroid: "factorydroid";
|
|
18
19
|
geminicli: "geminicli";
|
|
19
20
|
goose: "goose";
|
|
@@ -30,7 +31,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
30
31
|
}>;
|
|
31
32
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
32
33
|
|
|
33
|
-
declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks"];
|
|
34
|
+
declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions"];
|
|
34
35
|
declare const FeatureSchema: z.ZodMiniEnum<{
|
|
35
36
|
rules: "rules";
|
|
36
37
|
ignore: "ignore";
|
|
@@ -39,6 +40,7 @@ declare const FeatureSchema: z.ZodMiniEnum<{
|
|
|
39
40
|
commands: "commands";
|
|
40
41
|
skills: "skills";
|
|
41
42
|
hooks: "hooks";
|
|
43
|
+
permissions: "permissions";
|
|
42
44
|
}>;
|
|
43
45
|
type Feature = z.infer<typeof FeatureSchema>;
|
|
44
46
|
|
|
@@ -150,6 +152,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
150
152
|
copilot: "copilot";
|
|
151
153
|
copilotcli: "copilotcli";
|
|
152
154
|
cursor: "cursor";
|
|
155
|
+
deepagents: "deepagents";
|
|
153
156
|
factorydroid: "factorydroid";
|
|
154
157
|
geminicli: "geminicli";
|
|
155
158
|
goose: "goose";
|
|
@@ -176,6 +179,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
176
179
|
opencode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
177
180
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
178
181
|
}, z.core.$loose>>;
|
|
182
|
+
deepagents: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
183
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
184
|
+
}, z.core.$loose>>;
|
|
179
185
|
copilot: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
180
186
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
181
187
|
}, z.core.$loose>>;
|
|
@@ -197,6 +203,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
197
203
|
opencode?: {
|
|
198
204
|
"allowed-tools"?: string[];
|
|
199
205
|
};
|
|
206
|
+
deepagents?: {
|
|
207
|
+
"allowed-tools"?: string[];
|
|
208
|
+
};
|
|
200
209
|
copilot?: {
|
|
201
210
|
license?: string;
|
|
202
211
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/mini';
|
|
2
2
|
|
|
3
|
-
declare const ALL_TOOL_TARGETS: readonly ["agentsmd", "agentsskills", "antigravity", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "opencode", "qwencode", "replit", "roo", "warp", "windsurf", "zed"];
|
|
3
|
+
declare const ALL_TOOL_TARGETS: readonly ["agentsmd", "agentsskills", "antigravity", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "opencode", "qwencode", "replit", "roo", "warp", "windsurf", "zed"];
|
|
4
4
|
declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
5
5
|
agentsmd: "agentsmd";
|
|
6
6
|
agentsskills: "agentsskills";
|
|
@@ -14,6 +14,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
14
14
|
copilot: "copilot";
|
|
15
15
|
copilotcli: "copilotcli";
|
|
16
16
|
cursor: "cursor";
|
|
17
|
+
deepagents: "deepagents";
|
|
17
18
|
factorydroid: "factorydroid";
|
|
18
19
|
geminicli: "geminicli";
|
|
19
20
|
goose: "goose";
|
|
@@ -30,7 +31,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
30
31
|
}>;
|
|
31
32
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
32
33
|
|
|
33
|
-
declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks"];
|
|
34
|
+
declare const ALL_FEATURES: readonly ["rules", "ignore", "mcp", "subagents", "commands", "skills", "hooks", "permissions"];
|
|
34
35
|
declare const FeatureSchema: z.ZodMiniEnum<{
|
|
35
36
|
rules: "rules";
|
|
36
37
|
ignore: "ignore";
|
|
@@ -39,6 +40,7 @@ declare const FeatureSchema: z.ZodMiniEnum<{
|
|
|
39
40
|
commands: "commands";
|
|
40
41
|
skills: "skills";
|
|
41
42
|
hooks: "hooks";
|
|
43
|
+
permissions: "permissions";
|
|
42
44
|
}>;
|
|
43
45
|
type Feature = z.infer<typeof FeatureSchema>;
|
|
44
46
|
|
|
@@ -150,6 +152,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
150
152
|
copilot: "copilot";
|
|
151
153
|
copilotcli: "copilotcli";
|
|
152
154
|
cursor: "cursor";
|
|
155
|
+
deepagents: "deepagents";
|
|
153
156
|
factorydroid: "factorydroid";
|
|
154
157
|
geminicli: "geminicli";
|
|
155
158
|
goose: "goose";
|
|
@@ -176,6 +179,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
176
179
|
opencode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
177
180
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
178
181
|
}, z.core.$loose>>;
|
|
182
|
+
deepagents: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
183
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
184
|
+
}, z.core.$loose>>;
|
|
179
185
|
copilot: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
180
186
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
181
187
|
}, z.core.$loose>>;
|
|
@@ -197,6 +203,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
197
203
|
opencode?: {
|
|
198
204
|
"allowed-tools"?: string[];
|
|
199
205
|
};
|
|
206
|
+
deepagents?: {
|
|
207
|
+
"allowed-tools"?: string[];
|
|
208
|
+
};
|
|
200
209
|
copilot?: {
|
|
201
210
|
license?: string;
|
|
202
211
|
};
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rulesync",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.23.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",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@octokit/request-error": "7.1.0",
|
|
53
53
|
"@octokit/rest": "22.0.1",
|
|
54
54
|
"@toon-format/toon": "2.1.0",
|
|
55
|
-
"@valibot/to-json-schema": "1.
|
|
55
|
+
"@valibot/to-json-schema": "1.6.0",
|
|
56
56
|
"commander": "14.0.3",
|
|
57
|
-
"effect": "3.
|
|
57
|
+
"effect": "3.20.0",
|
|
58
58
|
"es-toolkit": "1.45.1",
|
|
59
59
|
"fastmcp": "3.34.0",
|
|
60
60
|
"globby": "16.1.1",
|
|
@@ -66,40 +66,42 @@
|
|
|
66
66
|
"zod": "4.3.6"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk": "0.2.
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk": "0.2.79",
|
|
70
70
|
"@eslint/js": "9.39.4",
|
|
71
|
+
"@opencode-ai/sdk": "1.2.27",
|
|
71
72
|
"@openrouter/sdk": "0.9.11",
|
|
72
73
|
"@secretlint/secretlint-rule-preset-recommend": "11.3.1",
|
|
73
74
|
"@tsconfig/node24": "24.0.4",
|
|
74
75
|
"@types/js-yaml": "4.0.9",
|
|
75
|
-
"@types/node": "25.
|
|
76
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
77
|
-
"@vitest/coverage-v8": "4.0
|
|
76
|
+
"@types/node": "25.5.0",
|
|
77
|
+
"@typescript/native-preview": "7.0.0-dev.20260318.1",
|
|
78
|
+
"@vitest/coverage-v8": "4.1.0",
|
|
78
79
|
"cspell": "9.7.0",
|
|
79
80
|
"eslint": "9.39.4",
|
|
80
81
|
"eslint-plugin-import": "2.32.0",
|
|
81
82
|
"eslint-plugin-no-type-assertion": "1.3.0",
|
|
82
|
-
"eslint-plugin-oxlint": "1.
|
|
83
|
-
"eslint-plugin-strict-dependencies": "1.3.
|
|
83
|
+
"eslint-plugin-oxlint": "1.56.0",
|
|
84
|
+
"eslint-plugin-strict-dependencies": "1.3.32",
|
|
84
85
|
"eslint-plugin-zod-import": "0.3.0",
|
|
85
|
-
"knip": "5.
|
|
86
|
-
"lint-staged": "16.
|
|
87
|
-
"oxfmt": "0.
|
|
88
|
-
"oxlint": "1.
|
|
86
|
+
"knip": "5.88.0",
|
|
87
|
+
"lint-staged": "16.4.0",
|
|
88
|
+
"oxfmt": "0.41.0",
|
|
89
|
+
"oxlint": "1.56.0",
|
|
89
90
|
"repomix": "1.12.0",
|
|
90
|
-
"resend": "6.9.
|
|
91
|
+
"resend": "6.9.4",
|
|
91
92
|
"secretlint": "11.3.1",
|
|
92
93
|
"simple-git-hooks": "2.13.1",
|
|
93
94
|
"sort-package-json": "3.6.1",
|
|
94
95
|
"tsup": "8.5.1",
|
|
95
96
|
"tsx": "4.21.0",
|
|
96
97
|
"typescript": "5.9.3",
|
|
97
|
-
"typescript-eslint": "8.57.
|
|
98
|
+
"typescript-eslint": "8.57.1",
|
|
98
99
|
"vitepress": "1.6.4",
|
|
99
|
-
"vitest": "4.0
|
|
100
|
+
"vitest": "4.1.0"
|
|
100
101
|
},
|
|
101
102
|
"engines": {
|
|
102
|
-
"node": ">=22.0.0"
|
|
103
|
+
"node": ">=22.0.0",
|
|
104
|
+
"pnpm": ">=10"
|
|
103
105
|
},
|
|
104
106
|
"publishConfig": {
|
|
105
107
|
"access": "public"
|
|
@@ -122,9 +124,11 @@
|
|
|
122
124
|
"fmt:check": "oxfmt --check .",
|
|
123
125
|
"generate": "pnpm run dev generate",
|
|
124
126
|
"generate:schema": "tsx scripts/generate-json-schema.ts",
|
|
127
|
+
"implement-loop": "tsx scripts/implement-loop.ts",
|
|
125
128
|
"knip": "knip",
|
|
126
129
|
"oxlint": "oxlint . --max-warnings 0",
|
|
127
130
|
"oxlint:fix": "oxlint . --fix --max-warnings 0",
|
|
131
|
+
"review-loop": "tsx scripts/review-loop.ts",
|
|
128
132
|
"secretlint": "secretlint --secretlintignore .gitignore \"**/*\"",
|
|
129
133
|
"sort": "sort-package-json",
|
|
130
134
|
"task": "tsx scripts/run-tasks.ts",
|