securegate-cli-tool 2.0.0 → 2.0.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/package.json +2 -2
- package/src/index.js +18 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "securegate-cli-tool",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "SecureGate CLI — Secure your AI agent API keys from the terminal",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"chalk": "^4.1.2",
|
|
33
33
|
"ora": "^5.4.1"
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|
package/src/index.js
CHANGED
|
@@ -113,6 +113,24 @@ program
|
|
|
113
113
|
await statusCmd();
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
+
// ── agent connections (skills) ───────────────────────────────────────────────
|
|
117
|
+
|
|
118
|
+
program
|
|
119
|
+
.command('openclaw')
|
|
120
|
+
.alias('agentconnect')
|
|
121
|
+
.description('Output the SecureGate SKILL.md for agent configuration')
|
|
122
|
+
.action(() => {
|
|
123
|
+
const fs = require('fs');
|
|
124
|
+
const path = require('path');
|
|
125
|
+
const skillPath = path.join(__dirname, '..', 'templates', 'SKILL.md');
|
|
126
|
+
try {
|
|
127
|
+
const content = fs.readFileSync(skillPath, 'utf8');
|
|
128
|
+
console.log(content);
|
|
129
|
+
} catch (e) {
|
|
130
|
+
console.error(chalk.red('Error reading SKILL.md template:'), e.message);
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
|
|
116
134
|
// ── logout ───────────────────────────────────────────────────────────────────
|
|
117
135
|
|
|
118
136
|
program
|