@ai-development-environment/control-agent 0.0.31 → 0.0.33

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.
@@ -3329,11 +3329,11 @@ async function readProfiles(timeoutMs, signal) {
3329
3329
  }
3330
3330
  }
3331
3331
  }
3332
- return dedupe([...profiles.values()]).sort(
3332
+ return dedupeProfiles([...profiles.values()]).sort(
3333
3333
  (left, right) => left.name.localeCompare(right.name)
3334
3334
  );
3335
3335
  }
3336
- function dedupe(profiles) {
3336
+ function dedupeProfiles(profiles) {
3337
3337
  const best = /* @__PURE__ */ new Map();
3338
3338
  for (const profile of profiles) {
3339
3339
  const key = [
@@ -3341,7 +3341,8 @@ function dedupe(profiles) {
3341
3341
  profile.type,
3342
3342
  profile.bundleId,
3343
3343
  profile.teamId ?? "",
3344
- [...profile.platforms].sort().join(",")
3344
+ [...profile.platforms].sort().join(","),
3345
+ [...profile.certificateSha1s].sort().join(",")
3345
3346
  ].join("\0");
3346
3347
  const existing = best.get(key);
3347
3348
  if (!existing || (profile.expiresAt ?? "") > (existing.expiresAt ?? "") || // Stable tie-break so repeated inspections return the same profile.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-development-environment/control-agent",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "description": "Control agent for the AI Development Environment",
5
5
  "license": "MIT",
6
6
  "repository": {