@rigstate/cli 0.7.20 → 0.7.21

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.
@@ -1 +1 @@
1
- 36637
1
+ 32037
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "isRunning": true,
3
- "startedAt": "2026-01-25T19:54:24.755Z",
4
- "filesChecked": 5,
5
- "violationsFound": 909,
3
+ "startedAt": "2026-01-26T13:11:14.337Z",
4
+ "filesChecked": 2,
5
+ "violationsFound": 50,
6
6
  "tasksProcessed": 0,
7
- "lastActivity": "2026-01-25T20:20:14.355Z"
7
+ "lastActivity": "2026-01-26T13:38:04.412Z"
8
8
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-01-25T20:16:38.778Z",
2
+ "timestamp": "2026-01-26T13:37:37.499Z",
3
3
  "projectId": "bb9f8445-39fd-438c-8ab6-8057f5514395",
4
4
  "rules": [
5
5
  {
package/dist/index.cjs CHANGED
@@ -1757,7 +1757,7 @@ var require_package = __commonJS({
1757
1757
  "package.json"(exports2, module2) {
1758
1758
  module2.exports = {
1759
1759
  name: "@rigstate/cli",
1760
- version: "0.7.20",
1760
+ version: "0.7.21",
1761
1761
  description: "Rigstate CLI - Code audit, sync and supervision tool",
1762
1762
  type: "module",
1763
1763
  main: "./dist/index.js",
@@ -3809,6 +3809,7 @@ async function trackSkillUsage(apiUrl, apiKey, projectId, skillId) {
3809
3809
 
3810
3810
  // src/daemon/core.ts
3811
3811
  init_skills_provisioner();
3812
+ init_sync_rules();
3812
3813
  var GuardianDaemon = class extends import_events3.EventEmitter {
3813
3814
  config;
3814
3815
  state;
@@ -3842,6 +3843,8 @@ var GuardianDaemon = class extends import_events3.EventEmitter {
3842
3843
  this.guardianMonitor = createGuardianMonitor(this.config.projectId, this.config.apiUrl, this.config.apiKey);
3843
3844
  await this.guardianMonitor.loadRules();
3844
3845
  console.log(import_chalk18.default.green(` \u2713 Loaded ${this.guardianMonitor.getRuleCount()} rules`));
3846
+ console.log(import_chalk18.default.dim("\u{1F9E0} Syncing Brain to IDE (.cursor/rules)..."));
3847
+ await syncProjectRules(this.config.projectId, this.config.apiKey, this.config.apiUrl);
3845
3848
  await this.syncHeuristics();
3846
3849
  if (this.config.checkOnChange) {
3847
3850
  this.setupFileWatcher();