@agentgazer/cli 0.2.0 → 0.2.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/dist/cli.js +2 -2
- package/dist/secret-store.js +1 -1
- package/package.json +4 -4
package/dist/cli.js
CHANGED
|
@@ -702,10 +702,10 @@ async function cmdStats(flags) {
|
|
|
702
702
|
// Uninstall
|
|
703
703
|
// ---------------------------------------------------------------------------
|
|
704
704
|
async function cmdUninstall(flags) {
|
|
705
|
-
const home = process.env.
|
|
705
|
+
const home = process.env.AGENTGAZER_HOME || path.join(require("os").homedir(), ".agentgazer");
|
|
706
706
|
const libDir = path.join(home, "lib");
|
|
707
707
|
const nodeDir = path.join(home, "node");
|
|
708
|
-
const wrapperPath = path.join(process.env.
|
|
708
|
+
const wrapperPath = path.join(process.env.AGENTGAZER_BIN || "/usr/local/bin", "agentgazer");
|
|
709
709
|
// Detect install method
|
|
710
710
|
if (!fs.existsSync(libDir)) {
|
|
711
711
|
console.log('AgentGazer was not installed via the install script.');
|
package/dist/secret-store.js
CHANGED
|
@@ -322,7 +322,7 @@ exports.LibsecretStore = LibsecretStore;
|
|
|
322
322
|
// ---------------------------------------------------------------------------
|
|
323
323
|
async function detectSecretStore(configDir) {
|
|
324
324
|
// 1. Environment variable override
|
|
325
|
-
const override = process.env.
|
|
325
|
+
const override = process.env.AGENTGAZER_SECRET_BACKEND;
|
|
326
326
|
if (override) {
|
|
327
327
|
return createBackend(override, configDir);
|
|
328
328
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentgazer/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "AgentGazer — AI Agent observability. One command to monitor your agents locally.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"prepublishOnly": "npm run build"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@agentgazer/proxy": "^0.
|
|
52
|
-
"@agentgazer/server": "^0.
|
|
53
|
-
"@agentgazer/shared": "^0.
|
|
51
|
+
"@agentgazer/proxy": "^0.2.0",
|
|
52
|
+
"@agentgazer/server": "^0.2.0",
|
|
53
|
+
"@agentgazer/shared": "^0.2.0",
|
|
54
54
|
"open": "^10.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|