fastgrc-openclaw 1.0.14 → 1.0.15
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/dist/plugin.d.mts +6 -1
- package/dist/plugin.d.ts +6 -1
- package/dist/plugin.js +1 -16
- package/dist/plugin.mjs +1 -17
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/plugin.d.mts
CHANGED
package/dist/plugin.d.ts
CHANGED
package/dist/plugin.js
CHANGED
|
@@ -33,7 +33,6 @@ __export(plugin_exports, {
|
|
|
33
33
|
default: () => plugin_default
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(plugin_exports);
|
|
36
|
-
var import_node_module = require("module");
|
|
37
36
|
|
|
38
37
|
// src/index.ts
|
|
39
38
|
var fs = __toESM(require("fs"));
|
|
@@ -100,10 +99,9 @@ args: ${JSON.stringify(args)}`;
|
|
|
100
99
|
}
|
|
101
100
|
|
|
102
101
|
// src/plugin.ts
|
|
103
|
-
var import_meta = {};
|
|
104
102
|
var DEFAULT_BASE_URL2 = "https://app.fastgrc.ai";
|
|
105
103
|
var DEFAULT_TIMEOUT_MS2 = 3e3;
|
|
106
|
-
var
|
|
104
|
+
var plugin_default = {
|
|
107
105
|
id: "fastgrc",
|
|
108
106
|
name: "FastGRC Policy Router",
|
|
109
107
|
description: "Evaluate every tool call against your FastGRC compliance policy before it executes. Blocks violations, flags drift, builds an audit trail.",
|
|
@@ -147,16 +145,3 @@ var pluginEntry = {
|
|
|
147
145
|
});
|
|
148
146
|
}
|
|
149
147
|
};
|
|
150
|
-
function tryLoadDefinePluginEntry(specifier) {
|
|
151
|
-
try {
|
|
152
|
-
const req = (0, import_node_module.createRequire)(import_meta.url);
|
|
153
|
-
const mod = req(specifier);
|
|
154
|
-
if (typeof mod.definePluginEntry === "function") {
|
|
155
|
-
return mod.definePluginEntry;
|
|
156
|
-
}
|
|
157
|
-
} catch {
|
|
158
|
-
}
|
|
159
|
-
return null;
|
|
160
|
-
}
|
|
161
|
-
var definePluginEntry = tryLoadDefinePluginEntry("openclaw/plugin-sdk/plugin-entry") ?? tryLoadDefinePluginEntry("openclaw/plugin-sdk/core");
|
|
162
|
-
var plugin_default = definePluginEntry ? definePluginEntry(pluginEntry) : pluginEntry;
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
// src/plugin.ts
|
|
2
|
-
import { createRequire } from "module";
|
|
3
|
-
|
|
4
1
|
// src/index.ts
|
|
5
2
|
import * as fs from "fs";
|
|
6
3
|
import * as os from "os";
|
|
@@ -68,7 +65,7 @@ args: ${JSON.stringify(args)}`;
|
|
|
68
65
|
// src/plugin.ts
|
|
69
66
|
var DEFAULT_BASE_URL2 = "https://app.fastgrc.ai";
|
|
70
67
|
var DEFAULT_TIMEOUT_MS2 = 3e3;
|
|
71
|
-
var
|
|
68
|
+
var plugin_default = {
|
|
72
69
|
id: "fastgrc",
|
|
73
70
|
name: "FastGRC Policy Router",
|
|
74
71
|
description: "Evaluate every tool call against your FastGRC compliance policy before it executes. Blocks violations, flags drift, builds an audit trail.",
|
|
@@ -112,19 +109,6 @@ var pluginEntry = {
|
|
|
112
109
|
});
|
|
113
110
|
}
|
|
114
111
|
};
|
|
115
|
-
function tryLoadDefinePluginEntry(specifier) {
|
|
116
|
-
try {
|
|
117
|
-
const req = createRequire(import.meta.url);
|
|
118
|
-
const mod = req(specifier);
|
|
119
|
-
if (typeof mod.definePluginEntry === "function") {
|
|
120
|
-
return mod.definePluginEntry;
|
|
121
|
-
}
|
|
122
|
-
} catch {
|
|
123
|
-
}
|
|
124
|
-
return null;
|
|
125
|
-
}
|
|
126
|
-
var definePluginEntry = tryLoadDefinePluginEntry("openclaw/plugin-sdk/plugin-entry") ?? tryLoadDefinePluginEntry("openclaw/plugin-sdk/core");
|
|
127
|
-
var plugin_default = definePluginEntry ? definePluginEntry(pluginEntry) : pluginEntry;
|
|
128
112
|
export {
|
|
129
113
|
plugin_default as default
|
|
130
114
|
};
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "fastgrc",
|
|
3
3
|
"name": "FastGRC Policy Router",
|
|
4
4
|
"description": "Evaluate every tool call against your FastGRC compliance policy before it executes. Blocks violations, flags drift, builds an audit trail.",
|
|
5
|
-
"extensions": ["./dist/plugin.
|
|
5
|
+
"extensions": ["./dist/plugin.js"],
|
|
6
6
|
"configSchema": {
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fastgrc-openclaw",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "FastGRC agent compliance plugin for OpenClaw — evaluates every tool call against your policy before it executes",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|