rulesync 3.12.8 → 3.12.9

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 CHANGED
@@ -354,7 +354,7 @@ Simulated commands and subagents allow you to generate simulated commands and su
354
354
  Call your-subagent to achieve something.
355
355
  ```
356
356
 
357
- #### Modular MCP (Experimental)
357
+ ## Modular MCP (Experimental)
358
358
 
359
359
  Rulesync supports compressing tokens consumed by MCP servers [d-kimuson/modular-mcp](https://github.com/d-kimuson/modular-mcp) for context saving. When enabled with `--modular-mcp`, it additionally generates `modular-mcp.json`.
360
360
 
@@ -481,7 +481,7 @@ Focus on the difference of MCP tools usage.
481
481
  |Disabled Modular MCP| 15.7k tokens (7.9%) |
482
482
  |Enabled Modular MCP| 1.3k tokens (0.6%) |
483
483
 
484
- So, in this case, approximately 92% reduction in token usage!
484
+ So, in this case, approximately 92% reduction in MCP tools consumption!
485
485
  </details>
486
486
 
487
487
  ## Contributing
package/dist/index.cjs CHANGED
@@ -42,13 +42,6 @@ var import_consola = require("consola");
42
42
 
43
43
  // src/utils/vitest.ts
44
44
  var isEnvTest = process.env.NODE_ENV === "test";
45
- function getVitestWorkerId() {
46
- const vitestWorkerId = process.env.VITEST_WORKER_ID;
47
- if (!vitestWorkerId) {
48
- throw new Error("VITEST_WORKER_ID is not set");
49
- }
50
- return vitestWorkerId;
51
- }
52
45
 
53
46
  // src/utils/logger.ts
54
47
  var Logger = class {
@@ -172,7 +165,7 @@ async function removeFile(filepath) {
172
165
  }
173
166
  function getHomeDirectory() {
174
167
  if (isEnvTest) {
175
- return (0, import_node_path.join)("./tmp", "tests", "home", getVitestWorkerId());
168
+ throw new Error("getHomeDirectory() must be mocked in test environment");
176
169
  }
177
170
  return import_node_os.default.homedir();
178
171
  }
@@ -7701,7 +7694,7 @@ Attention, again, you are just the planner, so though you can read any files and
7701
7694
  }
7702
7695
 
7703
7696
  // src/cli/index.ts
7704
- var getVersion = () => "3.12.8";
7697
+ var getVersion = () => "3.12.9";
7705
7698
  var main = async () => {
7706
7699
  const program = new import_commander.Command();
7707
7700
  const version = getVersion();
package/dist/index.js CHANGED
@@ -19,13 +19,6 @@ import { consola } from "consola";
19
19
 
20
20
  // src/utils/vitest.ts
21
21
  var isEnvTest = process.env.NODE_ENV === "test";
22
- function getVitestWorkerId() {
23
- const vitestWorkerId = process.env.VITEST_WORKER_ID;
24
- if (!vitestWorkerId) {
25
- throw new Error("VITEST_WORKER_ID is not set");
26
- }
27
- return vitestWorkerId;
28
- }
29
22
 
30
23
  // src/utils/logger.ts
31
24
  var Logger = class {
@@ -149,7 +142,7 @@ async function removeFile(filepath) {
149
142
  }
150
143
  function getHomeDirectory() {
151
144
  if (isEnvTest) {
152
- return join("./tmp", "tests", "home", getVitestWorkerId());
145
+ throw new Error("getHomeDirectory() must be mocked in test environment");
153
146
  }
154
147
  return os.homedir();
155
148
  }
@@ -7678,7 +7671,7 @@ Attention, again, you are just the planner, so though you can read any files and
7678
7671
  }
7679
7672
 
7680
7673
  // src/cli/index.ts
7681
- var getVersion = () => "3.12.8";
7674
+ var getVersion = () => "3.12.9";
7682
7675
  var main = async () => {
7683
7676
  const program = new Command();
7684
7677
  const version = getVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "3.12.8",
3
+ "version": "3.12.9",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "keywords": [
6
6
  "ai",