@clawtrial/courtroom 2.0.6 → 2.0.7
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/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/plugin.js +6 -0
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/plugin.js
CHANGED
|
@@ -175,7 +175,13 @@ class CourtroomRuntime {
|
|
|
175
175
|
|
|
176
176
|
// Run detection
|
|
177
177
|
try {
|
|
178
|
+
logger.info('PLUGIN', `Starting evaluation with messageBuffer length: ${this.messageBuffer.length}`);
|
|
179
|
+
if (this.messageBuffer.length > 0) {
|
|
180
|
+
logger.info('PLUGIN', `Sample buffered message: ${JSON.stringify(this.messageBuffer[this.messageBuffer.length - 1])}`);
|
|
181
|
+
}
|
|
182
|
+
|
|
178
183
|
const detection = await this.detector.evaluate(this.messageBuffer, null);
|
|
184
|
+
logger.info('PLUGIN', `Evaluation result: ${JSON.stringify(detection)}`);
|
|
179
185
|
|
|
180
186
|
if (detection.triggered) {
|
|
181
187
|
this.lastEvaluation = now;
|