kryptheon-night 0.1.8 → 0.1.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/store.js CHANGED
@@ -14,6 +14,11 @@
14
14
  // history.jsonl was kryptheon-history.jsonl
15
15
  // test-results/ was test-results/ (Playwright's screenshots of a failure)
16
16
  // night-last.json was .kryptheon-last.json (kryptheon-night)
17
+ // code-findings.json the last frontend code read (kryptheon code)
18
+ // config.json which checks are switched on (the dashboard)
19
+ // snapshot.json a hash of each project file, to tell what changed
20
+ // changes.jsonl one line per change Kryptheon noticed, and what it ran
21
+ // fixes.jsonl every re-check of a finding someone tried to fix, and its verdict
17
22
  //
18
23
  // Only tests/ - the recordings the person made - stays in the project.
19
24
  //
@@ -40,6 +45,11 @@ const FILES = {
40
45
  history: 'history.jsonl',
41
46
  testResults: 'test-results',
42
47
  nightLast: 'night-last.json',
48
+ codeFindings: 'code-findings.json',
49
+ config: 'config.json',
50
+ snapshot: 'snapshot.json',
51
+ changes: 'changes.jsonl',
52
+ fixes: 'fixes.jsonl',
43
53
  };
44
54
 
45
55
  // What older versions wrote into the project, and where each one goes now.
@@ -122,6 +132,11 @@ function pathsIn(dir) {
122
132
  history: path.join(dir, FILES.history),
123
133
  testResults: path.join(dir, FILES.testResults),
124
134
  nightLast: path.join(dir, FILES.nightLast),
135
+ codeFindings: path.join(dir, FILES.codeFindings),
136
+ config: path.join(dir, FILES.config),
137
+ snapshot: path.join(dir, FILES.snapshot),
138
+ changes: path.join(dir, FILES.changes),
139
+ fixes: path.join(dir, FILES.fixes),
125
140
  };
126
141
  }
127
142