agent-valley 4.8.4 → 4.8.5

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "av",
4
- "version": "4.8.4",
4
+ "version": "4.8.5",
5
5
  "description": "Delegate repository goals to Agent Valley and inspect mission progress and verification evidence.",
6
6
  "author": {
7
7
  "name": "Agent Valley"
package/dist/index.js CHANGED
@@ -16339,11 +16339,12 @@ function buildDarwinSandboxCommand(req, sandboxExecPath = "/usr/bin/sandbox-exec
16339
16339
  };
16340
16340
  }
16341
16341
  function buildSeatbeltProfile(req, home) {
16342
+ const workspacePaths = pathAliases(req.workspacePath);
16342
16343
  const tmpPaths = pathAliases(tmpdir());
16343
16344
  const git = linkedWorktreeGitPaths(req.workspacePath);
16344
16345
  const agentPaths = agentHomeAccess(req.agentType, home, req.env);
16345
16346
  const writablePaths = [
16346
- req.workspacePath,
16347
+ ...workspacePaths,
16347
16348
  ...tmpPaths,
16348
16349
  ...agentPaths.active,
16349
16350
  `${home}/.cache`,
@@ -16351,6 +16352,8 @@ function buildSeatbeltProfile(req, home) {
16351
16352
  `${home}/.bun`
16352
16353
  ];
16353
16354
  const writeRules = writablePaths.map((p) => `(allow file-write* (subpath ${seatbeltString(p)}))`).join(`
16355
+ `);
16356
+ const unixListenerRules = [...new Set([...workspacePaths, ...tmpPaths])].flatMap((path) => ["network-bind", "network-inbound"].map((operation) => `(allow ${operation} (local unix-socket (subpath ${seatbeltString(path)})))`)).join(`
16354
16357
  `);
16355
16358
  const gitWriteRules = git ? [git.gitDir, git.objectsDir].map((p) => `(allow file-write* (subpath ${seatbeltString(p)}))`).concat([
16356
16359
  git.branchRef,
@@ -16417,6 +16420,9 @@ ${denyWriteRules}
16417
16420
  ; why per-domain scoping is not possible via sandbox-exec on this OS).
16418
16421
  (deny network-outbound)
16419
16422
  (allow network-outbound (remote unix-socket))
16423
+ ; Local named Unix servers are needed by workspace IPC tests and resident tools.
16424
+ ; This does not permit TCP listeners or Unix binds in caches/vendor homes.
16425
+ ${unixListenerRules}
16420
16426
  (allow mach-lookup (global-name "com.apple.mDNSResponder"))
16421
16427
  (allow network-outbound (remote udp "*:53"))
16422
16428
  (allow network-outbound (remote tcp "*:443"))
@@ -72181,8 +72187,6 @@ function applyResumeOptions(mission, goal, options) {
72181
72187
  if (changed) {
72182
72188
  const state = executionState(mission);
72183
72189
  state.interventionAt = new Date().toISOString();
72184
- state.retries = 0;
72185
- state.crashRestarts = 0;
72186
72190
  delete state.pauseReason;
72187
72191
  delete state.nextRunAt;
72188
72192
  delete state.failureKind;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-valley",
3
- "version": "4.8.4",
3
+ "version": "4.8.5",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=26.10.0",