rulesync 7.20.0 → 7.21.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", "antigravity", "augmentcode", "augmentcode-legacy", "claudecode", "claudecode-legacy", "cline", "codexcli", "copilot", "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", "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";
@@ -12,6 +12,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
12
12
  cline: "cline";
13
13
  codexcli: "codexcli";
14
14
  copilot: "copilot";
15
+ copilotcli: "copilotcli";
15
16
  cursor: "cursor";
16
17
  factorydroid: "factorydroid";
17
18
  geminicli: "geminicli";
@@ -147,6 +148,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
147
148
  cline: "cline";
148
149
  codexcli: "codexcli";
149
150
  copilot: "copilot";
151
+ copilotcli: "copilotcli";
150
152
  cursor: "cursor";
151
153
  factorydroid: "factorydroid";
152
154
  geminicli: "geminicli";
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", "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", "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";
@@ -12,6 +12,7 @@ declare const ToolTargetSchema: z.ZodMiniEnum<{
12
12
  cline: "cline";
13
13
  codexcli: "codexcli";
14
14
  copilot: "copilot";
15
+ copilotcli: "copilotcli";
15
16
  cursor: "cursor";
16
17
  factorydroid: "factorydroid";
17
18
  geminicli: "geminicli";
@@ -147,6 +148,7 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
147
148
  cline: "cline";
148
149
  codexcli: "codexcli";
149
150
  copilot: "copilot";
151
+ copilotcli: "copilotcli";
150
152
  cursor: "cursor";
151
153
  factorydroid: "factorydroid";
152
154
  geminicli: "geminicli";
package/dist/index.js CHANGED
@@ -2,16 +2,16 @@ import {
2
2
  ALL_FEATURES,
3
3
  ALL_TOOL_TARGETS,
4
4
  ConfigResolver,
5
+ ConsoleLogger,
5
6
  checkRulesyncDirExists,
6
7
  generate,
7
- importFromTool,
8
- logger
9
- } from "./chunk-5OPNV62F.js";
8
+ importFromTool
9
+ } from "./chunk-UYWCICY6.js";
10
10
 
11
11
  // src/index.ts
12
12
  async function generate2(options = {}) {
13
13
  const { silent = true, verbose = false, ...rest } = options;
14
- logger.configure({ verbose, silent });
14
+ const logger = new ConsoleLogger({ verbose, silent });
15
15
  const config = await ConfigResolver.resolve({
16
16
  ...rest,
17
17
  verbose,
@@ -22,18 +22,18 @@ async function generate2(options = {}) {
22
22
  throw new Error(".rulesync directory not found. Run 'rulesync init' first.");
23
23
  }
24
24
  }
25
- return generate({ config });
25
+ return generate({ config, logger });
26
26
  }
27
27
  async function importFromTool2(options) {
28
28
  const { target, silent = true, verbose = false, ...rest } = options;
29
- logger.configure({ verbose, silent });
29
+ const logger = new ConsoleLogger({ verbose, silent });
30
30
  const config = await ConfigResolver.resolve({
31
31
  ...rest,
32
32
  targets: [target],
33
33
  verbose,
34
34
  silent
35
35
  });
36
- return importFromTool({ config, tool: target });
36
+ return importFromTool({ config, tool: target, logger });
37
37
  }
38
38
  export {
39
39
  ALL_FEATURES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "7.20.0",
3
+ "version": "7.21.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",