agent-relay 4.0.9 → 4.0.10

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/sdk",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -113,7 +113,7 @@
113
113
  "typescript": "^5.7.3"
114
114
  },
115
115
  "dependencies": {
116
- "@agent-relay/config": "4.0.9",
116
+ "@agent-relay/config": "4.0.10",
117
117
  "@relaycast/sdk": "^1.1.0",
118
118
  "@relayfile/sdk": "^0.1.2",
119
119
  "@sinclair/typebox": "^0.34.48",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/telemetry",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "Anonymous telemetry for Agent Relay usage analytics",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/trajectory",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "Trajectory integration utilities (trail/PDERO) for Relay",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "test:watch": "vitest"
23
23
  },
24
24
  "dependencies": {
25
- "@agent-relay/config": "4.0.9"
25
+ "@agent-relay/config": "4.0.10"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.19.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/user-directory",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "User directory service for agent-relay (per-user credential storage)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "test:watch": "vitest"
23
23
  },
24
24
  "dependencies": {
25
- "@agent-relay/utils": "4.0.9"
25
+ "@agent-relay/utils": "4.0.10"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.19.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/utils",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "Shared utilities for agent-relay: logging, name generation, command resolution, update checking",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
@@ -112,7 +112,7 @@
112
112
  "vitest": "^3.2.4"
113
113
  },
114
114
  "dependencies": {
115
- "@agent-relay/config": "4.0.9",
115
+ "@agent-relay/config": "4.0.10",
116
116
  "compare-versions": "^6.1.1"
117
117
  },
118
118
  "publishConfig": {
@@ -308,13 +308,19 @@ function resignBinaryForMacOS(binaryPath) {
308
308
 
309
309
  try {
310
310
  // codesign is always available on macOS as a system utility
311
+ execSync(`codesign --remove-signature "${binaryPath}"`, { stdio: 'pipe' });
312
+ } catch {
313
+ // Unsigned binaries are fine here; malformed signatures are removed when present.
314
+ }
315
+
316
+ try {
311
317
  execSync(`codesign --force --sign - "${binaryPath}"`, { stdio: 'pipe' });
312
318
  return true;
313
319
  } catch (err) {
314
320
  // This shouldn't happen on a normal macOS system, but handle gracefully
315
321
  warn(`Failed to re-sign binary: ${err.message}`);
316
322
  warn('The binary may fail to execute due to code signature issues.');
317
- warn('You can manually fix this by running: codesign --force --sign - ' + binaryPath);
323
+ warn('You can manually fix this by running: codesign --remove-signature ' + binaryPath + ' && codesign --force --sign - ' + binaryPath);
318
324
  return false;
319
325
  }
320
326
  }