ridgeline 0.2.21 → 0.2.22
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.
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.greywallProvider = void 0;
|
|
4
4
|
const node_child_process_1 = require("node:child_process");
|
|
5
|
-
const node_fs_1 = require("node:fs");
|
|
6
|
-
const node_path_1 = require("node:path");
|
|
7
|
-
const node_os_1 = require("node:os");
|
|
8
5
|
exports.greywallProvider = {
|
|
9
6
|
name: "greywall",
|
|
10
7
|
command: "greywall",
|
|
@@ -26,20 +23,8 @@ exports.greywallProvider = {
|
|
|
26
23
|
return "greyproxy is not running. Start it with: greywall setup";
|
|
27
24
|
}
|
|
28
25
|
},
|
|
29
|
-
buildArgs(
|
|
30
|
-
|
|
31
|
-
const settings = {
|
|
32
|
-
filesystem: {
|
|
33
|
-
allowWrite: [repoRoot, "/tmp"],
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
if (networkAllowlist.length > 0) {
|
|
37
|
-
settings.network = { allowlist: networkAllowlist };
|
|
38
|
-
}
|
|
39
|
-
const settingsPath = (0, node_path_1.join)((0, node_os_1.tmpdir)(), `ridgeline-greywall-${process.pid}.json`);
|
|
40
|
-
(0, node_fs_1.writeFileSync)(settingsPath, JSON.stringify(settings));
|
|
41
|
-
args.push("--settings", settingsPath, "--");
|
|
42
|
-
return args;
|
|
26
|
+
buildArgs(_repoRoot, _networkAllowlist) {
|
|
27
|
+
return ["--auto-profile", "--no-credential-protection", "--"];
|
|
43
28
|
},
|
|
44
29
|
};
|
|
45
30
|
//# sourceMappingURL=sandbox.greywall.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.greywall.js","sourceRoot":"","sources":["../../../src/engine/claude/sandbox.greywall.ts"],"names":[],"mappings":";;;AAAA,2DAA6C;
|
|
1
|
+
{"version":3,"file":"sandbox.greywall.js","sourceRoot":"","sources":["../../../src/engine/claude/sandbox.greywall.ts"],"names":[],"mappings":";;;AAAA,2DAA6C;AAGhC,QAAA,gBAAgB,GAAoB;IAC/C,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,UAAU;IACnB,UAAU;QACR,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,IAAA,6BAAQ,EAAC,gBAAgB,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAA;YACjG,IAAI,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;gBACzC,OAAO,IAAI,CAAA;YACb,CAAC;YACD,OAAO,yDAAyD,CAAA;QAClE,CAAC;QAAC,OAAO,GAAY,EAAE,CAAC;YACtB,kFAAkF;YAClF,MAAM,MAAM,GAAI,GAA4C,CAAC,MAAM,IAAI,EAAE;kBACrE,CAAE,GAA4C,CAAC,MAAM,IAAI,EAAE,CAAC,CAAA;YAChE,IAAI,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;gBACzC,OAAO,IAAI,CAAA;YACb,CAAC;YACD,OAAO,yDAAyD,CAAA;QAClE,CAAC;IACH,CAAC;IACD,SAAS,CAAC,SAAiB,EAAE,iBAA2B;QACtD,OAAO,CAAC,gBAAgB,EAAE,4BAA4B,EAAE,IAAI,CAAC,CAAA;IAC/D,CAAC;CACF,CAAA"}
|