rulesync 8.24.1 → 8.26.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 +7 -7
- package/dist/{chunk-YM6XKTQO.js → chunk-XKXN32Q2.js} +4173 -1714
- package/dist/cli/index.cjs +4522 -2053
- package/dist/cli/index.js +36 -26
- package/dist/index.cjs +4194 -1735
- package/dist/index.d.cts +87 -3
- package/dist/index.d.ts +87 -3
- package/dist/index.js +1 -1
- package/package.json +3 -14
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", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "warp", "
|
|
3
|
+
declare const ALL_TOOL_TARGETS: readonly ["agentsmd", "agentsskills", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "warp", "devin", "zed"];
|
|
4
4
|
declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
5
5
|
agentsmd: "agentsmd";
|
|
6
6
|
agentsskills: "agentsskills";
|
|
@@ -32,7 +32,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
32
32
|
rovodev: "rovodev";
|
|
33
33
|
takt: "takt";
|
|
34
34
|
warp: "warp";
|
|
35
|
-
|
|
35
|
+
devin: "devin";
|
|
36
36
|
zed: "zed";
|
|
37
37
|
}>;
|
|
38
38
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
@@ -180,12 +180,13 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
180
180
|
rovodev: "rovodev";
|
|
181
181
|
takt: "takt";
|
|
182
182
|
warp: "warp";
|
|
183
|
-
|
|
183
|
+
devin: "devin";
|
|
184
184
|
zed: "zed";
|
|
185
185
|
"*": "*";
|
|
186
186
|
}>>>;
|
|
187
187
|
claudecode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
188
188
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
189
|
+
"disallowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
189
190
|
model: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
190
191
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
191
192
|
"scheduled-task": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
@@ -193,6 +194,26 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
193
194
|
}, z.core.$loose>>;
|
|
194
195
|
codexcli: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
195
196
|
"short-description": z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
197
|
+
interface: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
198
|
+
display_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
|
+
short_description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
200
|
+
icon_small: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
201
|
+
icon_large: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
202
|
+
brand_color: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
203
|
+
default_prompt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
204
|
+
}, z.core.$loose>>;
|
|
205
|
+
policy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
206
|
+
allow_implicit_invocation: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
207
|
+
}, z.core.$loose>>;
|
|
208
|
+
dependencies: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
209
|
+
tools: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
210
|
+
type: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
211
|
+
value: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
212
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
213
|
+
transport: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
214
|
+
url: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
215
|
+
}, z.core.$loose>>>;
|
|
216
|
+
}, z.core.$loose>>;
|
|
196
217
|
}, z.core.$loose>>;
|
|
197
218
|
opencode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
198
219
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -205,6 +226,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
205
226
|
}, z.core.$loose>>;
|
|
206
227
|
copilot: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
207
228
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
229
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
208
230
|
}, z.core.$loose>>;
|
|
209
231
|
pi: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
210
232
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -213,6 +235,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
213
235
|
compatibility: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
214
236
|
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
215
237
|
}, z.core.$loose>>;
|
|
238
|
+
zed: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
239
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
240
|
+
}, z.core.$loose>>;
|
|
216
241
|
replit: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
217
242
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
218
243
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -221,8 +246,25 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
221
246
|
}, z.core.$loose>>;
|
|
222
247
|
cline: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
223
248
|
roo: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
249
|
+
rovodev: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
250
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
251
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
252
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
253
|
+
}, z.core.$loose>>;
|
|
254
|
+
cursor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
255
|
+
paths: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
256
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
257
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
258
|
+
}, z.core.$loose>>;
|
|
259
|
+
agentsskills: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
260
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
261
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
262
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
263
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
264
|
+
}, z.core.$loose>>;
|
|
224
265
|
takt: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
225
266
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
267
|
+
extends: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
226
268
|
}, z.core.$loose>>;
|
|
227
269
|
}, z.core.$loose>;
|
|
228
270
|
type RulesyncSkillFrontmatterInput = {
|
|
@@ -231,6 +273,7 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
231
273
|
targets?: ("*" | string)[];
|
|
232
274
|
claudecode?: {
|
|
233
275
|
"allowed-tools"?: string[];
|
|
276
|
+
"disallowed-tools"?: string | string[];
|
|
234
277
|
model?: string;
|
|
235
278
|
"disable-model-invocation"?: boolean;
|
|
236
279
|
"scheduled-task"?: boolean;
|
|
@@ -238,6 +281,26 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
238
281
|
};
|
|
239
282
|
codexcli?: {
|
|
240
283
|
"short-description"?: string;
|
|
284
|
+
interface?: {
|
|
285
|
+
display_name?: string;
|
|
286
|
+
short_description?: string;
|
|
287
|
+
icon_small?: string;
|
|
288
|
+
icon_large?: string;
|
|
289
|
+
brand_color?: string;
|
|
290
|
+
default_prompt?: string;
|
|
291
|
+
};
|
|
292
|
+
policy?: {
|
|
293
|
+
allow_implicit_invocation?: boolean;
|
|
294
|
+
};
|
|
295
|
+
dependencies?: {
|
|
296
|
+
tools?: Array<{
|
|
297
|
+
type?: string;
|
|
298
|
+
value?: string;
|
|
299
|
+
description?: string;
|
|
300
|
+
transport?: string;
|
|
301
|
+
url?: string;
|
|
302
|
+
}>;
|
|
303
|
+
};
|
|
241
304
|
};
|
|
242
305
|
opencode?: {
|
|
243
306
|
"allowed-tools"?: string[];
|
|
@@ -250,6 +313,7 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
250
313
|
};
|
|
251
314
|
copilot?: {
|
|
252
315
|
license?: string;
|
|
316
|
+
"allowed-tools"?: string | string[];
|
|
253
317
|
};
|
|
254
318
|
pi?: {
|
|
255
319
|
"allowed-tools"?: string[];
|
|
@@ -258,6 +322,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
258
322
|
compatibility?: Record<string, unknown>;
|
|
259
323
|
metadata?: Record<string, unknown>;
|
|
260
324
|
};
|
|
325
|
+
zed?: {
|
|
326
|
+
"disable-model-invocation"?: boolean;
|
|
327
|
+
};
|
|
261
328
|
replit?: {
|
|
262
329
|
"allowed-tools"?: string[];
|
|
263
330
|
license?: string;
|
|
@@ -266,8 +333,25 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
266
333
|
};
|
|
267
334
|
roo?: Record<string, unknown>;
|
|
268
335
|
cline?: Record<string, unknown>;
|
|
336
|
+
rovodev?: {
|
|
337
|
+
"allowed-tools"?: string | string[];
|
|
338
|
+
license?: string;
|
|
339
|
+
metadata?: Record<string, unknown>;
|
|
340
|
+
};
|
|
341
|
+
cursor?: {
|
|
342
|
+
paths?: string | string[];
|
|
343
|
+
"disable-model-invocation"?: boolean;
|
|
344
|
+
metadata?: Record<string, unknown>;
|
|
345
|
+
};
|
|
346
|
+
agentsskills?: {
|
|
347
|
+
license?: string;
|
|
348
|
+
compatibility?: string | Record<string, unknown>;
|
|
349
|
+
metadata?: Record<string, unknown>;
|
|
350
|
+
"allowed-tools"?: string | string[];
|
|
351
|
+
};
|
|
269
352
|
takt?: {
|
|
270
353
|
name?: string;
|
|
354
|
+
extends?: string;
|
|
271
355
|
};
|
|
272
356
|
};
|
|
273
357
|
type RulesyncSkillFrontmatter = z.infer<typeof RulesyncSkillFrontmatterSchemaInternal>;
|
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", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "warp", "
|
|
3
|
+
declare const ALL_TOOL_TARGETS: readonly ["agentsmd", "agentsskills", "amp", "antigravity", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "copilotcli", "cursor", "deepagents", "factorydroid", "geminicli", "goose", "junie", "kilo", "kiro", "opencode", "pi", "qwencode", "replit", "roo", "rovodev", "takt", "warp", "devin", "zed"];
|
|
4
4
|
declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
5
5
|
agentsmd: "agentsmd";
|
|
6
6
|
agentsskills: "agentsskills";
|
|
@@ -32,7 +32,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
|
|
|
32
32
|
rovodev: "rovodev";
|
|
33
33
|
takt: "takt";
|
|
34
34
|
warp: "warp";
|
|
35
|
-
|
|
35
|
+
devin: "devin";
|
|
36
36
|
zed: "zed";
|
|
37
37
|
}>;
|
|
38
38
|
type ToolTarget = z.infer<typeof ToolTargetSchema>;
|
|
@@ -180,12 +180,13 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
180
180
|
rovodev: "rovodev";
|
|
181
181
|
takt: "takt";
|
|
182
182
|
warp: "warp";
|
|
183
|
-
|
|
183
|
+
devin: "devin";
|
|
184
184
|
zed: "zed";
|
|
185
185
|
"*": "*";
|
|
186
186
|
}>>>;
|
|
187
187
|
claudecode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
188
188
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
189
|
+
"disallowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
189
190
|
model: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
190
191
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
191
192
|
"scheduled-task": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
@@ -193,6 +194,26 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
193
194
|
}, z.core.$loose>>;
|
|
194
195
|
codexcli: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
195
196
|
"short-description": z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
197
|
+
interface: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
198
|
+
display_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
|
+
short_description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
200
|
+
icon_small: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
201
|
+
icon_large: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
202
|
+
brand_color: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
203
|
+
default_prompt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
204
|
+
}, z.core.$loose>>;
|
|
205
|
+
policy: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
206
|
+
allow_implicit_invocation: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
207
|
+
}, z.core.$loose>>;
|
|
208
|
+
dependencies: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
209
|
+
tools: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
210
|
+
type: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
211
|
+
value: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
212
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
213
|
+
transport: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
214
|
+
url: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
215
|
+
}, z.core.$loose>>>;
|
|
216
|
+
}, z.core.$loose>>;
|
|
196
217
|
}, z.core.$loose>>;
|
|
197
218
|
opencode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
198
219
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -205,6 +226,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
205
226
|
}, z.core.$loose>>;
|
|
206
227
|
copilot: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
207
228
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
229
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
208
230
|
}, z.core.$loose>>;
|
|
209
231
|
pi: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
210
232
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -213,6 +235,9 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
213
235
|
compatibility: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
214
236
|
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
215
237
|
}, z.core.$loose>>;
|
|
238
|
+
zed: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
239
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
240
|
+
}, z.core.$loose>>;
|
|
216
241
|
replit: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
217
242
|
"allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
218
243
|
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -221,8 +246,25 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
221
246
|
}, z.core.$loose>>;
|
|
222
247
|
cline: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
223
248
|
roo: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
249
|
+
rovodev: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
250
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
251
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
252
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
253
|
+
}, z.core.$loose>>;
|
|
254
|
+
cursor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
255
|
+
paths: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
256
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
257
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
258
|
+
}, z.core.$loose>>;
|
|
259
|
+
agentsskills: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
260
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
261
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
262
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
263
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
264
|
+
}, z.core.$loose>>;
|
|
224
265
|
takt: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
225
266
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
267
|
+
extends: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
226
268
|
}, z.core.$loose>>;
|
|
227
269
|
}, z.core.$loose>;
|
|
228
270
|
type RulesyncSkillFrontmatterInput = {
|
|
@@ -231,6 +273,7 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
231
273
|
targets?: ("*" | string)[];
|
|
232
274
|
claudecode?: {
|
|
233
275
|
"allowed-tools"?: string[];
|
|
276
|
+
"disallowed-tools"?: string | string[];
|
|
234
277
|
model?: string;
|
|
235
278
|
"disable-model-invocation"?: boolean;
|
|
236
279
|
"scheduled-task"?: boolean;
|
|
@@ -238,6 +281,26 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
238
281
|
};
|
|
239
282
|
codexcli?: {
|
|
240
283
|
"short-description"?: string;
|
|
284
|
+
interface?: {
|
|
285
|
+
display_name?: string;
|
|
286
|
+
short_description?: string;
|
|
287
|
+
icon_small?: string;
|
|
288
|
+
icon_large?: string;
|
|
289
|
+
brand_color?: string;
|
|
290
|
+
default_prompt?: string;
|
|
291
|
+
};
|
|
292
|
+
policy?: {
|
|
293
|
+
allow_implicit_invocation?: boolean;
|
|
294
|
+
};
|
|
295
|
+
dependencies?: {
|
|
296
|
+
tools?: Array<{
|
|
297
|
+
type?: string;
|
|
298
|
+
value?: string;
|
|
299
|
+
description?: string;
|
|
300
|
+
transport?: string;
|
|
301
|
+
url?: string;
|
|
302
|
+
}>;
|
|
303
|
+
};
|
|
241
304
|
};
|
|
242
305
|
opencode?: {
|
|
243
306
|
"allowed-tools"?: string[];
|
|
@@ -250,6 +313,7 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
250
313
|
};
|
|
251
314
|
copilot?: {
|
|
252
315
|
license?: string;
|
|
316
|
+
"allowed-tools"?: string | string[];
|
|
253
317
|
};
|
|
254
318
|
pi?: {
|
|
255
319
|
"allowed-tools"?: string[];
|
|
@@ -258,6 +322,9 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
258
322
|
compatibility?: Record<string, unknown>;
|
|
259
323
|
metadata?: Record<string, unknown>;
|
|
260
324
|
};
|
|
325
|
+
zed?: {
|
|
326
|
+
"disable-model-invocation"?: boolean;
|
|
327
|
+
};
|
|
261
328
|
replit?: {
|
|
262
329
|
"allowed-tools"?: string[];
|
|
263
330
|
license?: string;
|
|
@@ -266,8 +333,25 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
266
333
|
};
|
|
267
334
|
roo?: Record<string, unknown>;
|
|
268
335
|
cline?: Record<string, unknown>;
|
|
336
|
+
rovodev?: {
|
|
337
|
+
"allowed-tools"?: string | string[];
|
|
338
|
+
license?: string;
|
|
339
|
+
metadata?: Record<string, unknown>;
|
|
340
|
+
};
|
|
341
|
+
cursor?: {
|
|
342
|
+
paths?: string | string[];
|
|
343
|
+
"disable-model-invocation"?: boolean;
|
|
344
|
+
metadata?: Record<string, unknown>;
|
|
345
|
+
};
|
|
346
|
+
agentsskills?: {
|
|
347
|
+
license?: string;
|
|
348
|
+
compatibility?: string | Record<string, unknown>;
|
|
349
|
+
metadata?: Record<string, unknown>;
|
|
350
|
+
"allowed-tools"?: string | string[];
|
|
351
|
+
};
|
|
269
352
|
takt?: {
|
|
270
353
|
name?: string;
|
|
354
|
+
extends?: string;
|
|
271
355
|
};
|
|
272
356
|
};
|
|
273
357
|
type RulesyncSkillFrontmatter = z.infer<typeof RulesyncSkillFrontmatterSchemaInternal>;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rulesync",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.26.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",
|
|
@@ -67,8 +67,6 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@anthropic-ai/claude-agent-sdk": "0.2.79",
|
|
70
|
-
"@eslint/js": "9.39.4",
|
|
71
|
-
"@opencode-ai/sdk": "1.2.27",
|
|
72
70
|
"@openrouter/sdk": "0.9.11",
|
|
73
71
|
"@secretlint/secretlint-rule-preset-recommend": "11.3.1",
|
|
74
72
|
"@tsconfig/node24": "24.0.4",
|
|
@@ -77,12 +75,6 @@
|
|
|
77
75
|
"@typescript/native-preview": "7.0.0-dev.20260318.1",
|
|
78
76
|
"@vitest/coverage-v8": "4.1.0",
|
|
79
77
|
"cspell": "9.7.0",
|
|
80
|
-
"eslint": "9.39.4",
|
|
81
|
-
"eslint-plugin-import": "2.32.0",
|
|
82
|
-
"eslint-plugin-no-type-assertion": "1.3.0",
|
|
83
|
-
"eslint-plugin-oxlint": "1.56.0",
|
|
84
|
-
"eslint-plugin-strict-dependencies": "1.3.32",
|
|
85
|
-
"eslint-plugin-zod-import": "0.3.0",
|
|
86
78
|
"knip": "5.88.0",
|
|
87
79
|
"lint-staged": "16.4.0",
|
|
88
80
|
"oxfmt": "0.41.0",
|
|
@@ -96,7 +88,6 @@
|
|
|
96
88
|
"tsup": "8.5.1",
|
|
97
89
|
"tsx": "4.21.0",
|
|
98
90
|
"typescript": "5.9.3",
|
|
99
|
-
"typescript-eslint": "8.57.1",
|
|
100
91
|
"vite": "7.3.1",
|
|
101
92
|
"vitepress": "1.6.4",
|
|
102
93
|
"vitest": "4.1.0"
|
|
@@ -110,7 +101,7 @@
|
|
|
110
101
|
},
|
|
111
102
|
"scripts": {
|
|
112
103
|
"build": "tsup src/cli/index.ts src/index.ts --format cjs,esm --dts --clean",
|
|
113
|
-
"check": "pnpm run fmt:check && pnpm run oxlint && pnpm run
|
|
104
|
+
"check": "pnpm run fmt:check && pnpm run oxlint && pnpm run typecheck",
|
|
114
105
|
"check:sync-skill-docs": "tsx scripts/check-skill-docs-sync.ts",
|
|
115
106
|
"cicheck": "pnpm run cicheck:code && pnpm run cicheck:content",
|
|
116
107
|
"cicheck:code": "pnpm run check && pnpm run test",
|
|
@@ -120,9 +111,7 @@
|
|
|
120
111
|
"docs:build": "vitepress build docs",
|
|
121
112
|
"docs:dev": "vitepress dev docs",
|
|
122
113
|
"docs:preview": "vitepress preview docs",
|
|
123
|
-
"
|
|
124
|
-
"eslint:fix": "eslint . --fix --max-warnings 0 --cache",
|
|
125
|
-
"fix": "pnpm run fmt && pnpm run oxlint:fix && pnpm run eslint:fix",
|
|
114
|
+
"fix": "pnpm run fmt && pnpm run oxlint:fix",
|
|
126
115
|
"fmt": "oxfmt .",
|
|
127
116
|
"fmt:check": "oxfmt --check .",
|
|
128
117
|
"generate": "pnpm run dev generate",
|