rulesync 8.25.0 → 8.27.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,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", "windsurf", "zed"];
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
- windsurf: "windsurf";
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
- windsurf: "windsurf";
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,9 +194,32 @@ 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>>>;
220
+ license: z.ZodMiniOptional<z.ZodMiniString<string>>;
221
+ compatibility: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
222
+ metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
199
223
  }, z.core.$loose>>;
200
224
  kilo: z.ZodMiniOptional<z.ZodMiniObject<{
201
225
  "allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -205,6 +229,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
205
229
  }, z.core.$loose>>;
206
230
  copilot: z.ZodMiniOptional<z.ZodMiniObject<{
207
231
  license: z.ZodMiniOptional<z.ZodMiniString<string>>;
232
+ "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
208
233
  }, z.core.$loose>>;
209
234
  pi: z.ZodMiniOptional<z.ZodMiniObject<{
210
235
  "allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -224,8 +249,25 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
224
249
  }, z.core.$loose>>;
225
250
  cline: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
226
251
  roo: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
252
+ rovodev: z.ZodMiniOptional<z.ZodMiniObject<{
253
+ "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
254
+ license: z.ZodMiniOptional<z.ZodMiniString<string>>;
255
+ metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
256
+ }, z.core.$loose>>;
257
+ cursor: z.ZodMiniOptional<z.ZodMiniObject<{
258
+ paths: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
259
+ "disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
260
+ metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
261
+ }, z.core.$loose>>;
262
+ agentsskills: z.ZodMiniOptional<z.ZodMiniObject<{
263
+ license: z.ZodMiniOptional<z.ZodMiniString<string>>;
264
+ compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
265
+ metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
266
+ "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
267
+ }, z.core.$loose>>;
227
268
  takt: z.ZodMiniOptional<z.ZodMiniObject<{
228
269
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
270
+ extends: z.ZodMiniOptional<z.ZodMiniString<string>>;
229
271
  }, z.core.$loose>>;
230
272
  }, z.core.$loose>;
231
273
  type RulesyncSkillFrontmatterInput = {
@@ -234,6 +276,7 @@ type RulesyncSkillFrontmatterInput = {
234
276
  targets?: ("*" | string)[];
235
277
  claudecode?: {
236
278
  "allowed-tools"?: string[];
279
+ "disallowed-tools"?: string | string[];
237
280
  model?: string;
238
281
  "disable-model-invocation"?: boolean;
239
282
  "scheduled-task"?: boolean;
@@ -241,9 +284,32 @@ type RulesyncSkillFrontmatterInput = {
241
284
  };
242
285
  codexcli?: {
243
286
  "short-description"?: string;
287
+ interface?: {
288
+ display_name?: string;
289
+ short_description?: string;
290
+ icon_small?: string;
291
+ icon_large?: string;
292
+ brand_color?: string;
293
+ default_prompt?: string;
294
+ };
295
+ policy?: {
296
+ allow_implicit_invocation?: boolean;
297
+ };
298
+ dependencies?: {
299
+ tools?: Array<{
300
+ type?: string;
301
+ value?: string;
302
+ description?: string;
303
+ transport?: string;
304
+ url?: string;
305
+ }>;
306
+ };
244
307
  };
245
308
  opencode?: {
246
309
  "allowed-tools"?: string[];
310
+ license?: string;
311
+ compatibility?: Record<string, unknown>;
312
+ metadata?: Record<string, unknown>;
247
313
  };
248
314
  kilo?: {
249
315
  "allowed-tools"?: string[];
@@ -253,6 +319,7 @@ type RulesyncSkillFrontmatterInput = {
253
319
  };
254
320
  copilot?: {
255
321
  license?: string;
322
+ "allowed-tools"?: string | string[];
256
323
  };
257
324
  pi?: {
258
325
  "allowed-tools"?: string[];
@@ -272,8 +339,25 @@ type RulesyncSkillFrontmatterInput = {
272
339
  };
273
340
  roo?: Record<string, unknown>;
274
341
  cline?: Record<string, unknown>;
342
+ rovodev?: {
343
+ "allowed-tools"?: string | string[];
344
+ license?: string;
345
+ metadata?: Record<string, unknown>;
346
+ };
347
+ cursor?: {
348
+ paths?: string | string[];
349
+ "disable-model-invocation"?: boolean;
350
+ metadata?: Record<string, unknown>;
351
+ };
352
+ agentsskills?: {
353
+ license?: string;
354
+ compatibility?: string | Record<string, unknown>;
355
+ metadata?: Record<string, unknown>;
356
+ "allowed-tools"?: string | string[];
357
+ };
275
358
  takt?: {
276
359
  name?: string;
360
+ extends?: string;
277
361
  };
278
362
  };
279
363
  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", "windsurf", "zed"];
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
- windsurf: "windsurf";
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
- windsurf: "windsurf";
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,9 +194,32 @@ 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>>>;
220
+ license: z.ZodMiniOptional<z.ZodMiniString<string>>;
221
+ compatibility: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
222
+ metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
199
223
  }, z.core.$loose>>;
200
224
  kilo: z.ZodMiniOptional<z.ZodMiniObject<{
201
225
  "allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -205,6 +229,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
205
229
  }, z.core.$loose>>;
206
230
  copilot: z.ZodMiniOptional<z.ZodMiniObject<{
207
231
  license: z.ZodMiniOptional<z.ZodMiniString<string>>;
232
+ "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
208
233
  }, z.core.$loose>>;
209
234
  pi: z.ZodMiniOptional<z.ZodMiniObject<{
210
235
  "allowed-tools": z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -224,8 +249,25 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
224
249
  }, z.core.$loose>>;
225
250
  cline: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
226
251
  roo: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
252
+ rovodev: z.ZodMiniOptional<z.ZodMiniObject<{
253
+ "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
254
+ license: z.ZodMiniOptional<z.ZodMiniString<string>>;
255
+ metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
256
+ }, z.core.$loose>>;
257
+ cursor: z.ZodMiniOptional<z.ZodMiniObject<{
258
+ paths: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
259
+ "disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
260
+ metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
261
+ }, z.core.$loose>>;
262
+ agentsskills: z.ZodMiniOptional<z.ZodMiniObject<{
263
+ license: z.ZodMiniOptional<z.ZodMiniString<string>>;
264
+ compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
265
+ metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
266
+ "allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
267
+ }, z.core.$loose>>;
227
268
  takt: z.ZodMiniOptional<z.ZodMiniObject<{
228
269
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
270
+ extends: z.ZodMiniOptional<z.ZodMiniString<string>>;
229
271
  }, z.core.$loose>>;
230
272
  }, z.core.$loose>;
231
273
  type RulesyncSkillFrontmatterInput = {
@@ -234,6 +276,7 @@ type RulesyncSkillFrontmatterInput = {
234
276
  targets?: ("*" | string)[];
235
277
  claudecode?: {
236
278
  "allowed-tools"?: string[];
279
+ "disallowed-tools"?: string | string[];
237
280
  model?: string;
238
281
  "disable-model-invocation"?: boolean;
239
282
  "scheduled-task"?: boolean;
@@ -241,9 +284,32 @@ type RulesyncSkillFrontmatterInput = {
241
284
  };
242
285
  codexcli?: {
243
286
  "short-description"?: string;
287
+ interface?: {
288
+ display_name?: string;
289
+ short_description?: string;
290
+ icon_small?: string;
291
+ icon_large?: string;
292
+ brand_color?: string;
293
+ default_prompt?: string;
294
+ };
295
+ policy?: {
296
+ allow_implicit_invocation?: boolean;
297
+ };
298
+ dependencies?: {
299
+ tools?: Array<{
300
+ type?: string;
301
+ value?: string;
302
+ description?: string;
303
+ transport?: string;
304
+ url?: string;
305
+ }>;
306
+ };
244
307
  };
245
308
  opencode?: {
246
309
  "allowed-tools"?: string[];
310
+ license?: string;
311
+ compatibility?: Record<string, unknown>;
312
+ metadata?: Record<string, unknown>;
247
313
  };
248
314
  kilo?: {
249
315
  "allowed-tools"?: string[];
@@ -253,6 +319,7 @@ type RulesyncSkillFrontmatterInput = {
253
319
  };
254
320
  copilot?: {
255
321
  license?: string;
322
+ "allowed-tools"?: string | string[];
256
323
  };
257
324
  pi?: {
258
325
  "allowed-tools"?: string[];
@@ -272,8 +339,25 @@ type RulesyncSkillFrontmatterInput = {
272
339
  };
273
340
  roo?: Record<string, unknown>;
274
341
  cline?: Record<string, unknown>;
342
+ rovodev?: {
343
+ "allowed-tools"?: string | string[];
344
+ license?: string;
345
+ metadata?: Record<string, unknown>;
346
+ };
347
+ cursor?: {
348
+ paths?: string | string[];
349
+ "disable-model-invocation"?: boolean;
350
+ metadata?: Record<string, unknown>;
351
+ };
352
+ agentsskills?: {
353
+ license?: string;
354
+ compatibility?: string | Record<string, unknown>;
355
+ metadata?: Record<string, unknown>;
356
+ "allowed-tools"?: string | string[];
357
+ };
275
358
  takt?: {
276
359
  name?: string;
360
+ extends?: string;
277
361
  };
278
362
  };
279
363
  type RulesyncSkillFrontmatter = z.infer<typeof RulesyncSkillFrontmatterSchemaInternal>;
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  convertFromTool,
8
8
  generate,
9
9
  importFromTool
10
- } from "./chunk-YJH5W5OM.js";
10
+ } from "./chunk-4YKAF3LH.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.25.0",
3
+ "version": "8.27.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,7 +67,6 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@anthropic-ai/claude-agent-sdk": "0.2.79",
70
- "@opencode-ai/sdk": "1.2.27",
71
70
  "@openrouter/sdk": "0.9.11",
72
71
  "@secretlint/secretlint-rule-preset-recommend": "11.3.1",
73
72
  "@tsconfig/node24": "24.0.4",