@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.
- package/.rigstate/daemon.pid +1 -1
- package/.rigstate/daemon.state.json +4 -4
- package/.rigstate/rules-cache.json +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/daemon/core.ts +6 -0
package/.rigstate/daemon.pid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
32037
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isRunning": true,
|
|
3
|
-
"startedAt": "2026-01-
|
|
4
|
-
"filesChecked":
|
|
5
|
-
"violationsFound":
|
|
3
|
+
"startedAt": "2026-01-26T13:11:14.337Z",
|
|
4
|
+
"filesChecked": 2,
|
|
5
|
+
"violationsFound": 50,
|
|
6
6
|
"tasksProcessed": 0,
|
|
7
|
-
"lastActivity": "2026-01-
|
|
7
|
+
"lastActivity": "2026-01-26T13:38:04.412Z"
|
|
8
8
|
}
|
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.
|
|
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();
|