rulesync 8.25.0 → 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/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,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>>>;
@@ -224,8 +246,25 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
224
246
  }, z.core.$loose>>;
225
247
  cline: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
226
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>>;
227
265
  takt: z.ZodMiniOptional<z.ZodMiniObject<{
228
266
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
267
+ extends: z.ZodMiniOptional<z.ZodMiniString<string>>;
229
268
  }, z.core.$loose>>;
230
269
  }, z.core.$loose>;
231
270
  type RulesyncSkillFrontmatterInput = {
@@ -234,6 +273,7 @@ type RulesyncSkillFrontmatterInput = {
234
273
  targets?: ("*" | string)[];
235
274
  claudecode?: {
236
275
  "allowed-tools"?: string[];
276
+ "disallowed-tools"?: string | string[];
237
277
  model?: string;
238
278
  "disable-model-invocation"?: boolean;
239
279
  "scheduled-task"?: boolean;
@@ -241,6 +281,26 @@ type RulesyncSkillFrontmatterInput = {
241
281
  };
242
282
  codexcli?: {
243
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
+ };
244
304
  };
245
305
  opencode?: {
246
306
  "allowed-tools"?: string[];
@@ -253,6 +313,7 @@ type RulesyncSkillFrontmatterInput = {
253
313
  };
254
314
  copilot?: {
255
315
  license?: string;
316
+ "allowed-tools"?: string | string[];
256
317
  };
257
318
  pi?: {
258
319
  "allowed-tools"?: string[];
@@ -272,8 +333,25 @@ type RulesyncSkillFrontmatterInput = {
272
333
  };
273
334
  roo?: Record<string, unknown>;
274
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
+ };
275
352
  takt?: {
276
353
  name?: string;
354
+ extends?: string;
277
355
  };
278
356
  };
279
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", "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,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>>>;
@@ -224,8 +246,25 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
224
246
  }, z.core.$loose>>;
225
247
  cline: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
226
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>>;
227
265
  takt: z.ZodMiniOptional<z.ZodMiniObject<{
228
266
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
267
+ extends: z.ZodMiniOptional<z.ZodMiniString<string>>;
229
268
  }, z.core.$loose>>;
230
269
  }, z.core.$loose>;
231
270
  type RulesyncSkillFrontmatterInput = {
@@ -234,6 +273,7 @@ type RulesyncSkillFrontmatterInput = {
234
273
  targets?: ("*" | string)[];
235
274
  claudecode?: {
236
275
  "allowed-tools"?: string[];
276
+ "disallowed-tools"?: string | string[];
237
277
  model?: string;
238
278
  "disable-model-invocation"?: boolean;
239
279
  "scheduled-task"?: boolean;
@@ -241,6 +281,26 @@ type RulesyncSkillFrontmatterInput = {
241
281
  };
242
282
  codexcli?: {
243
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
+ };
244
304
  };
245
305
  opencode?: {
246
306
  "allowed-tools"?: string[];
@@ -253,6 +313,7 @@ type RulesyncSkillFrontmatterInput = {
253
313
  };
254
314
  copilot?: {
255
315
  license?: string;
316
+ "allowed-tools"?: string | string[];
256
317
  };
257
318
  pi?: {
258
319
  "allowed-tools"?: string[];
@@ -272,8 +333,25 @@ type RulesyncSkillFrontmatterInput = {
272
333
  };
273
334
  roo?: Record<string, unknown>;
274
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
+ };
275
352
  takt?: {
276
353
  name?: string;
354
+ extends?: string;
277
355
  };
278
356
  };
279
357
  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-XKXN32Q2.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.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,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",