@clawtrial/courtroom 2.0.0 → 2.0.2

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.
@@ -0,0 +1,35 @@
1
+ {
2
+ "id": "courtroom",
3
+ "name": "ClawTrial Courtroom",
4
+ "description": "Autonomous behavioral oversight plugin for OpenClaw",
5
+ "version": "2.0.2",
6
+ "author": "ClawTrial",
7
+ "main": "src/plugin.js",
8
+ "engines": {
9
+ "openclaw": ">=2026.1.0"
10
+ },
11
+ "configSchema": {
12
+ "type": "object",
13
+ "additionalProperties": false,
14
+ "properties": {
15
+ "enabled": {
16
+ "type": "boolean",
17
+ "default": true
18
+ },
19
+ "config": {
20
+ "type": "object",
21
+ "properties": {
22
+ "detection": {
23
+ "type": "object"
24
+ },
25
+ "punishment": {
26
+ "type": "object"
27
+ },
28
+ "api": {
29
+ "type": "object"
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawtrial/courtroom",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "AI Courtroom - Autonomous behavioral oversight plugin for OpenClaw",
5
5
  "main": "src/plugin.js",
6
6
  "openclaw": {
@@ -36,6 +36,7 @@
36
36
  "src/",
37
37
  "skills/",
38
38
  "scripts/postinstall.js",
39
+ "openclaw.plugin.json",
39
40
  "README.md",
40
41
  "LICENSE"
41
42
  ]
@@ -1,39 +1,11 @@
1
- /**
2
- * Post-install script for @clawtrial/courtroom
3
- *
4
- * Detects OpenClaw and prints install instructions.
5
- * No side effects — OpenClaw handles plugin installation via its CLI.
6
- */
7
-
8
- const path = require('path');
9
- const fs = require('fs');
10
-
11
- const isOpenClaw = () => {
12
- try {
13
- const home = process.env.HOME || process.env.USERPROFILE || '';
14
- return fs.existsSync(path.join(home, '.openclaw'));
15
- } catch { return false; }
16
- };
17
-
18
1
  console.log('');
19
- console.log('đŸ›ī¸ ClawTrial Courtroom v2.0.0');
2
+ console.log('đŸ›ī¸ ClawTrial Courtroom v2.0.1');
20
3
  console.log(' Autonomous behavioral oversight for OpenClaw agents');
21
4
  console.log('');
22
-
23
- if (isOpenClaw()) {
24
- console.log('✅ OpenClaw detected!');
25
- console.log('');
26
- console.log(' To install as an OpenClaw plugin:');
27
- console.log(' $ openclaw plugins install @clawtrial/courtroom');
28
- console.log('');
29
- console.log(' Then restart the gateway.');
30
- } else {
31
- console.log('â„šī¸ OpenClaw not detected on this machine.');
32
- console.log('');
33
- console.log(' Install OpenClaw first, then run:');
34
- console.log(' $ openclaw plugins install @clawtrial/courtroom');
35
- }
36
-
5
+ console.log(' To use this plugin, you must install it via OpenClaw:');
6
+ console.log(' $ openclaw plugins install @clawtrial/courtroom');
7
+ console.log('');
8
+ console.log(' Then restart your gateway.');
37
9
  console.log('');
38
10
  console.log(' 📖 Docs: https://clawtrial.app');
39
11
  console.log('');