osuite 2.8.0 → 2.8.1
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/cli.js +9 -9
- package/package.json +2 -4
package/cli.js
CHANGED
|
@@ -14,12 +14,12 @@ Usage:
|
|
|
14
14
|
osuite deny <actionId> [--reason "Outside change window"]
|
|
15
15
|
|
|
16
16
|
Environment:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
OSUITE_BASE_URL Required, your OSuite base URL
|
|
18
|
+
OSUITE_API_KEY Required, admin API key for approval operations
|
|
19
|
+
OSUITE_AGENT_ID Optional, defaults to "osuite-cli"
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
Legacy compatibility:
|
|
22
|
+
DASHCLAW_BASE_URL, DASHCLAW_API_KEY, and DASHCLAW_AGENT_ID are still accepted.
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -47,12 +47,12 @@ function parseArgs(argv) {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
function getClient() {
|
|
50
|
-
const baseUrl = process.env.DASHCLAW_BASE_URL;
|
|
51
|
-
const apiKey = process.env.DASHCLAW_API_KEY;
|
|
52
|
-
const agentId = process.env.DASHCLAW_AGENT_ID || 'osuite-cli';
|
|
50
|
+
const baseUrl = process.env.OSUITE_BASE_URL || process.env.DASHCLAW_BASE_URL;
|
|
51
|
+
const apiKey = process.env.OSUITE_API_KEY || process.env.DASHCLAW_API_KEY;
|
|
52
|
+
const agentId = process.env.OSUITE_AGENT_ID || process.env.DASHCLAW_AGENT_ID || 'osuite-cli';
|
|
53
53
|
|
|
54
54
|
if (!baseUrl || !apiKey) {
|
|
55
|
-
process.stderr.write('Missing
|
|
55
|
+
process.stderr.write('Missing OSUITE_BASE_URL or OSUITE_API_KEY.\n');
|
|
56
56
|
process.exit(1);
|
|
57
57
|
}
|
|
58
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "osuite",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "OSuite governance runtime for AI agents. Intercept, govern, and verify agent actions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
"main": "./index.cjs",
|
|
10
10
|
"module": "./osuite.js",
|
|
11
11
|
"bin": {
|
|
12
|
-
"osuite": "cli.js"
|
|
13
|
-
"dashclaw": "cli.js"
|
|
12
|
+
"osuite": "cli.js"
|
|
14
13
|
},
|
|
15
14
|
"exports": {
|
|
16
15
|
".": {
|
|
@@ -50,7 +49,6 @@
|
|
|
50
49
|
"node": ">=18.0.0"
|
|
51
50
|
},
|
|
52
51
|
"dependencies": {},
|
|
53
|
-
"devDependencies": {},
|
|
54
52
|
"scripts": {},
|
|
55
53
|
"sideEffects": false
|
|
56
54
|
}
|