@feigi/fleet-ctl 3.18.5 → 3.18.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.18.5",
3
+ "version": "3.18.7",
4
4
  "description": "Agent fleet: run-team controller, merge bot, PR reviewer, and the ticket pipeline they share",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -279,6 +279,11 @@ export function checkRoutes({ agentsDir, agentsSource = `--agents ${agentsDir}`,
279
279
  const overrideKeys = Object.keys(overrides ?? {});
280
280
  const fleetKeys = overrideKeys.filter((k) => k.startsWith(FLEET_NAME_PREFIX)).sort();
281
281
  if (fleetKeys.length > 0) {
282
+ // The remedy writes the operator's non-fleet entries back in full because
283
+ // `omp config set` replaces the whole `task.agentModelOverrides` record
284
+ // rather than merging into it, and `omp config reset` empties it. Measured
285
+ // on omp 18.4.10: setting {"other":"y"} over {"fleet-a":"x","other":"y"}
286
+ // left exactly {"other":"y"}, and `reset` left {}.
282
287
  const nonFleet = Object.fromEntries(
283
288
  overrideKeys.filter((k) => !k.startsWith(FLEET_NAME_PREFIX)).map((k) => [k, overrides[k]]),
284
289
  );