@iliasalmerekov/aegis 0.5.6 → 0.5.8
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/README.md +9 -2
- package/checksums.json +6 -6
- package/package.json +43 -43
- package/scripts/install.js +18 -0
package/README.md
CHANGED
|
@@ -12,7 +12,14 @@ the `aegis` command.
|
|
|
12
12
|
|
|
13
13
|
NPM installs the binary only. It does not edit `.bashrc`, `.zshrc`, Codex
|
|
14
14
|
configuration, or Claude configuration. After installation, run
|
|
15
|
-
`aegis install-hooks --all` if you want supported agent hooks, or
|
|
16
|
-
`
|
|
15
|
+
`aegis install-hooks --all` if you want supported agent hooks, or run
|
|
16
|
+
`aegis setup-shell` to opt in to shell-proxy mode for tools that launch commands
|
|
17
|
+
through `$SHELL -c`.
|
|
18
|
+
|
|
19
|
+
To undo shell-proxy setup later:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
aegis setup-shell --remove
|
|
23
|
+
```
|
|
17
24
|
|
|
18
25
|
Native Windows shells are not supported; use Aegis from WSL2 on Windows.
|
package/checksums.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release": "v0.5.
|
|
2
|
+
"release": "v0.5.8",
|
|
3
3
|
"repo": "IliasAlmerekov/aegis",
|
|
4
4
|
"assets": {
|
|
5
|
-
"aegis-linux-x86_64": "
|
|
6
|
-
"aegis-linux-aarch64": "
|
|
7
|
-
"aegis-macos-x86_64": "
|
|
8
|
-
"aegis-macos-aarch64": "
|
|
5
|
+
"aegis-linux-x86_64": "74128d3c210deddd0f28611f8ecd8aa0846f8d8d0d1651236458ccc4b1379abe",
|
|
6
|
+
"aegis-linux-aarch64": "40c9e31e7c3378594128d88dbbfb6ee9670e16421e8814b0c387be765b511835",
|
|
7
|
+
"aegis-macos-x86_64": "f1ae66b27530eac1a4cf92d5faa6e41f49ba22354864ec65636e1cf74a92c7a3",
|
|
8
|
+
"aegis-macos-aarch64": "1438f71229df288d8108465a1ca5871a77fa7b872158f7fea41a3abf0ade4546"
|
|
9
9
|
}
|
|
10
|
-
}
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@iliasalmerekov/aegis",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "Terminal proxy that intercepts AI agent shell commands and requires human confirmation before destructive operations",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"homepage": "https://github.com/IliasAlmerekov/aegis",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/IliasAlmerekov/aegis.git"
|
|
10
|
-
},
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/IliasAlmerekov/aegis/issues"
|
|
13
|
-
},
|
|
14
|
-
"bin": {
|
|
15
|
-
"aegis": "bin/aegis.js"
|
|
16
|
-
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"postinstall": "node scripts/install.js",
|
|
19
|
-
"smoke": "node scripts/smoke.js"
|
|
20
|
-
},
|
|
21
|
-
"os": [
|
|
22
|
-
"darwin",
|
|
23
|
-
"linux"
|
|
24
|
-
],
|
|
25
|
-
"cpu": [
|
|
26
|
-
"x64",
|
|
27
|
-
"arm64"
|
|
28
|
-
],
|
|
29
|
-
"files": [
|
|
30
|
-
"bin/",
|
|
31
|
-
"scripts/",
|
|
32
|
-
"checksums.json",
|
|
33
|
-
"README.md"
|
|
34
|
-
],
|
|
35
|
-
"keywords": [
|
|
36
|
-
"aegis",
|
|
37
|
-
"security",
|
|
38
|
-
"ai",
|
|
39
|
-
"shell",
|
|
40
|
-
"cli",
|
|
41
|
-
"safety"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@iliasalmerekov/aegis",
|
|
3
|
+
"version": "0.5.8",
|
|
4
|
+
"description": "Terminal proxy that intercepts AI agent shell commands and requires human confirmation before destructive operations",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://github.com/IliasAlmerekov/aegis",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/IliasAlmerekov/aegis.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/IliasAlmerekov/aegis/issues"
|
|
13
|
+
},
|
|
14
|
+
"bin": {
|
|
15
|
+
"aegis": "bin/aegis.js"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"postinstall": "node scripts/install.js",
|
|
19
|
+
"smoke": "node scripts/smoke.js"
|
|
20
|
+
},
|
|
21
|
+
"os": [
|
|
22
|
+
"darwin",
|
|
23
|
+
"linux"
|
|
24
|
+
],
|
|
25
|
+
"cpu": [
|
|
26
|
+
"x64",
|
|
27
|
+
"arm64"
|
|
28
|
+
],
|
|
29
|
+
"files": [
|
|
30
|
+
"bin/",
|
|
31
|
+
"scripts/",
|
|
32
|
+
"checksums.json",
|
|
33
|
+
"README.md"
|
|
34
|
+
],
|
|
35
|
+
"keywords": [
|
|
36
|
+
"aegis",
|
|
37
|
+
"security",
|
|
38
|
+
"ai",
|
|
39
|
+
"shell",
|
|
40
|
+
"cli",
|
|
41
|
+
"safety"
|
|
42
|
+
]
|
|
43
|
+
}
|
package/scripts/install.js
CHANGED
|
@@ -25,6 +25,22 @@ function fail(message) {
|
|
|
25
25
|
process.exit(1);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
// Binary-only install: never edit shell startup files here. Point users at the
|
|
29
|
+
// explicit opt-in `aegis setup-shell` command so enabling the shell proxy is a
|
|
30
|
+
// deliberate user action, not a side effect of `npm i -g`.
|
|
31
|
+
function printNextSteps() {
|
|
32
|
+
console.log("Aegis installed.");
|
|
33
|
+
console.log("");
|
|
34
|
+
console.log("Test:");
|
|
35
|
+
console.log(" aegis -c 'echo hello'");
|
|
36
|
+
console.log("");
|
|
37
|
+
console.log("Enable shell-proxy mode for tools that launch commands via $SHELL -c:");
|
|
38
|
+
console.log(" aegis setup-shell");
|
|
39
|
+
console.log("");
|
|
40
|
+
console.log("Undo shell-proxy setup:");
|
|
41
|
+
console.log(" aegis setup-shell --remove");
|
|
42
|
+
}
|
|
43
|
+
|
|
28
44
|
function readChecksums() {
|
|
29
45
|
const raw = fs.readFileSync(checksumsPath, "utf8");
|
|
30
46
|
return JSON.parse(raw);
|
|
@@ -111,6 +127,7 @@ async function main() {
|
|
|
111
127
|
|
|
112
128
|
if (process.env.AEGIS_NPM_SKIP_DOWNLOAD === "1") {
|
|
113
129
|
fs.writeFileSync(binaryPath, "#!/bin/sh\nprintf 'aegis test binary\\n'\n", { mode: 0o755 });
|
|
130
|
+
printNextSteps();
|
|
114
131
|
return;
|
|
115
132
|
}
|
|
116
133
|
|
|
@@ -125,6 +142,7 @@ async function main() {
|
|
|
125
142
|
|
|
126
143
|
fs.renameSync(tmpPath, binaryPath);
|
|
127
144
|
fs.chmodSync(binaryPath, 0o755);
|
|
145
|
+
printNextSteps();
|
|
128
146
|
}
|
|
129
147
|
|
|
130
148
|
main().catch(error => {
|