@integrity-labs/agt-cli 0.28.357 → 0.28.358

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.
@@ -20,7 +20,7 @@ import {
20
20
  resolveConnectivityProbe,
21
21
  worseConnectivityOutcome,
22
22
  wrapScheduledTaskPrompt
23
- } from "./chunk-LDIKBFDR.js";
23
+ } from "./chunk-HTBXOXPI.js";
24
24
  import {
25
25
  parsePsRows
26
26
  } from "./chunk-XWVM4KPK.js";
@@ -6308,9 +6308,9 @@ function parseOpencodeModelRef(opencodeModel) {
6308
6308
  return { providerID: opencodeModel.slice(0, slash), id: opencodeModel.slice(slash + 1) };
6309
6309
  }
6310
6310
  function buildOpencodePermission(tools) {
6311
- const denyByDefault = tools?.global_controls?.default_network_policy !== "allow";
6311
+ const denyNetwork = tools?.global_controls?.default_network_policy !== "allow";
6312
6312
  const bash = {
6313
- "*": denyByDefault ? "ask" : "allow",
6313
+ "*": "allow",
6314
6314
  "cat *.env*": "deny",
6315
6315
  "cat *.pem": "deny",
6316
6316
  "cat *.key": "deny",
@@ -6324,7 +6324,7 @@ function buildOpencodePermission(tools) {
6324
6324
  // Agents edit their own workspace freely; cross-dir isolation is enforced
6325
6325
  // by the manager spawning each agent in its own project dir.
6326
6326
  edit: "allow",
6327
- webfetch: denyByDefault ? "ask" : "allow",
6327
+ webfetch: denyNetwork ? "deny" : "allow",
6328
6328
  bash
6329
6329
  };
6330
6330
  }
@@ -7153,7 +7153,7 @@ function requireHost() {
7153
7153
  }
7154
7154
 
7155
7155
  // src/lib/api-client.ts
7156
- var agtCliVersion = true ? "0.28.357" : "dev";
7156
+ var agtCliVersion = true ? "0.28.358" : "dev";
7157
7157
  var lastConfigHash = null;
7158
7158
  function setConfigHash(hash) {
7159
7159
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -9604,4 +9604,4 @@ export {
9604
9604
  managerInstallSystemUnitCommand,
9605
9605
  managerUninstallSystemUnitCommand
9606
9606
  };
9607
- //# sourceMappingURL=chunk-GAWEPU6C.js.map
9607
+ //# sourceMappingURL=chunk-OUHANHOH.js.map